var __webpack_modules__={"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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; cursor: default; 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; user-select: none; cursor: pointer; 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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css":function(e,t,n){"use strict";n.d(t,{A:()=>f});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/menu/panel-router.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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); } `,""]);let l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/normalize.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/panel/dynamic-panel.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/colors.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/dark-theme.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/styles/default-theme.css":function(e,t,n){"use strict";n.d(t,{A:()=>l});var r=n("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/runtime/api.js":function(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;l0?" ".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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/runtime/noSourceMaps.js":function(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":function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r0?" ".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(){!function(e){if(null!==e.parentNode)e.parentNode.removeChild(e)}(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/styleTagTransform.js":function(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":function(e){(()=>{"use strict";var t={211:e=>{var t=function(){function e(e,t){for(var n=0;n]/gm,function(e){return"&"==e?"&":"<"==e?"<":">"==e?">":""})}},{key:"linkify",value:function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return''+e+""})}},{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()),v=parseInt(s.shift());if(h>=0&&h<=255&&m>=0&&m<=255&&v>=0&&v<=255){var g=h+", "+m+", "+v;o?u?(this.fg="ansi-truecolor",this.fg_truecolor=g):(this.bg="ansi-truecolor",this.bg_truecolor=g):u?this.fg=g:this.bg=g}}}}}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)?'"+o.content+"":'"+o.content+""}}]),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":function(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(1K||(e.current=q[K],q[K]=null,K--)}function X(e,t){q[++K]=e.current,e.current=t}var Q=Y(null),J=Y(null),ee=Y(null),et=Y(null);function en(e,t){switch(X(ee,t),X(J,e),X(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ua(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=ui(t=ua(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(Q),X(Q,e)}function er(){G(Q),G(J),G(ee)}function eo(e){null!==e.memoizedState&&X(et,e);var t=Q.current,n=ui(t,e.type);t!==n&&(X(J,e),X(Q,n))}function ea(e){J.current===e&&(G(Q),G(J)),et.current===e&&(G(et),dh._currentValue=W)}function ei(e){if(void 0===tG)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);tG=t&&t[1]||"",tX=-1)":-1o||s[r]!==c[o]){var u="\n"+s[r].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",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,ev=o.unstable_getCurrentPriorityLevel,eg=o.unstable_ImmediatePriority,ey=o.unstable_UserBlockingPriority,eb=o.unstable_NormalPriority,ex=o.unstable_LowPriority,ew=o.unstable_IdlePriority,e_=o.log,ek=o.unstable_setDisableYieldValue,ej=null,eS=null;function eO(e){if("function"==typeof e_&&ek(e),eS&&"function"==typeof eS.setStrictMode)try{eS.setStrictMode(ej,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,eI=262144,eN=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 ez(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 eA(e,t){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function eR(){var e=eN;return 0==(0x3c00000&(eN<<=1))&&(eN=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 eF(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-eC(n),o=1<=nm),ny=!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 nk(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!n_[e.type]:"textarea"===t}function nj(e,t,n,r){tL?tz?tz.push(r):tz=[r]:tL=r,0<(t=c1(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(e3(e)))return e}function nE(e,t){if("change"===e)return t}var nT=!1;if(tZ){if(tZ){var nI="oninput"in document;if(!nI){var nN=document.createElement("div");nN.setAttribute("oninput","return;"),nI="function"==typeof nN.oninput}r=nI}else r=!1;nT=r&&(!document.documentMode||9=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=nU(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,nW=null,nq=null,nK=null,nY=!1;function nG(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;nY||null==nW||nW!==tp(r)||(r="selectionStart"in(r=nW)&&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&&nF(nK,r)||(nK=r,0<(r=c1(nq,"onSelect")).length&&(t=new t2("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=nW)))}function nX(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var nQ={animationend:nX("Animation","AnimationEnd"),animationiteration:nX("Animation","AnimationIteration"),animationstart:nX("Animation","AnimationStart"),transitionrun:nX("Transition","TransitionRun"),transitionstart:nX("Transition","TransitionStart"),transitioncancel:nX("Transition","TransitionCancel"),transitionend:nX("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"),n4=n1("animationiteration"),n3=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=sV.identifierPrefix)+"t_"+(rn++).toString(32)+"_"}function ro(e){if(null==e||"string"==typeof e)return e;var t=null,n=sX;if(null!==n)for(var r=0;r>=i,o-=i,rR=1<<32-eC(t)+o|n<m?(v=d,d=null):v=d.sibling;var g=p(o,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===l.length)return n(o,d),r$&&rM(o,m),c;if(null===d){for(;mv?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),i=a(b,i,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return n(o,m),r$&&rM(o,v),u;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,c))&&(i=a(y,i,v),null===d?u=y:d.sibling=y,d=y);return r$&&rM(o,v),u}for(m=r(m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),i=a(y,i,v),null===d?u=y:d.sibling=y,d=y);return e&&m.forEach(function(e){return t(o,e)}),r$&&rM(o,v),u}(c,u,d=v.call(d),m)}if("function"==typeof d.then)return s(c,u,oA(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=rj(d,c.mode,m)).return=c),i(c=m)):n(c,u)}(s,c,u,d);return oL=null,m}catch(e){if(e===ok||e===oS)throw e;var v=ry(29,e,null,s.mode);return v.lanes=d,v.return=s,v}finally{}}}var oZ=oM(!0),oF=oM(!1),oU=!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&sy)){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 oW(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,eF(e,n)}}function oq(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=ov;if(null!==e)throw e}}function oG(e,t,n,r){oK=!1;var o=e.updateQueue;oU=!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?(sw&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:oU=!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),sE|=i,e.lanes=i,e.memoizedState=d}}function oX(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;ea?a:8;var i=B.T,l={};l.types=null!==i?i.types:null,B.T=l,ib(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 title"))),ue(n,r,o),n[eq]=e,e6(n),r=n;break e;case"link":if(a=de("link","href",t).get(r+(o.href||""))){for(var i=0;il)break;var u=s.transferSize,d=s.initiatorType;u&&ut(d)&&(i+=u*((s=s.responseEnd)dl?50:800)+m);return h.unsuspend=e,function(){h.unsuspend=null,clearTimeout(t),clearTimeout(n)}}:null))){s$=a,e.cancelPendingCommit=v(cd.bind(null,e,t,a,n,r,o,i,l,s,u,d,null,f,p)),s6(e,a,i,!c);return}cd(e,t,a,n,r,o,i,l,s,u,d)}function s6(e,t,n,r){t&=~sI,t&=~sT,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var o=t;0<\/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[eq]=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,ue(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&&la(t)}}return lu(t),t.subtreeFlags&=-0x2000001,li(t,t.type,null===e?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==r&&la(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[eq]=t,(e=!!(e.nodeValue===n||null!==r&&!0===r.suppressHydrationWarning||c9(e.nodeValue,n)))||rY(t,!0)}else(e=uo(e).createTextNode(r))[eq]=t,t.stateNode=e}return lu(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[eq]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lu(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 lu(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[eq]=t}else rJ(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;lu(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),ls(t,t.updateQueue),lu(t),null;case 4:return er(),null===e&&cX(t.stateNode.containerInfo),lu(t),null;case 10:return r6(t.type),lu(t),null;case 19:if(G(at),null===(r=t.memoizedState))return lu(t),null;if(o=0!=(128&t.flags),null===(a=r.rendering))if(o)lc(r,!1);else{if(0!==sP||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(a=an(e))){for(t.flags|=128,lc(r,!1),t.updateQueue=e=a.updateQueue,ls(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)rw(n,e),n=n.sibling;return X(at,1&at.current|2),r$&&rM(t,r.treeForkCount),t.child}e=e.sibling}null!==r.tail&&em()>sZ&&(t.flags|=128,o=!0,lc(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=an(a))){if(t.flags|=128,o=!0,t.updateQueue=e=e.updateQueue,ls(t,e),lc(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!r$)return lu(t),null}else 2*em()-r.renderingStartTime>sZ&&0x20000000!==n&&(t.flags|=128,o=!0,lc(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)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=em(),e.sibling=null,n=at.current,X(at,o?1&n|2:1&n),r$&&rM(t,r.treeForkCount),e;return lu(t),null;case 22:case 23:return ae(t),o4(),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)&&(lu(t),6&t.subtreeFlags&&(t.flags|=8192)):lu(t),null!==(n=t.updateQueue)&&ls(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&&G(ob),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),r6(os),lu(t),null;case 25:return null;case 30:return t.flags|=0x2000000,lu(t),null}throw Error(l(156,t.tag))}(t.alternate,t,sC);if(null!==n){sx=n;return}if(null!==(t=t.sibling)){sx=t;return}sx=t=e}while(null!==t);0===sP&&(sP=5)}function cu(e,t){do{var n=function(e,t){switch(rU(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 G(at),null;case 4:return er(),null;case 10:return r6(t.type),null;case 22:case 23:return ae(t),o4(),null!==e&&G(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,sx=n;return}if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling)){sx=e;return}sx=e=n}while(null!==e);sP=6,sx=null}function cd(e,t,n,r,o,a,i,s,c,u,d){e.cancelPendingCommit=null;do cy();while(0!==sH);if(0!=(6&sy))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;0dl){l.length=i;break}f=new Promise(u_.bind(f)),l.push(f)}}}return 0v&&(i=v,v=m,m=i);var g=nH(l,m),y=nH(l,v);if(g&&y&&(1!==p.rangeCount||p.anchorNode!==g.node||p.anchorOffset!==g.offset||p.focusNode!==y.node||p.focusOffset!==y.offset)){var b=d.createRange();b.setStart(g.node,g.offset),p.removeAllRanges(),m>v?(p.addRange(b),p.extend(y.node,y.offset)):(b.setEnd(y.node,y.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;ln?32:n,B.T=null,n=sq,sq=null;var a=sV,i=s$;if(sH=0,sB=sV=null,s$=0,0!=(6&sy))throw Error(l(331));var s=sy;if(sy|=4,sh(a.current),sl(a,a.current,i,n),sy=s,cz(0,!1),eS&&"function"==typeof eS.onPostCommitFiberRoot)try{eS.onPostCommitFiberRoot(ej,a)}catch(e){}return!0}finally{$.p=o,B.T=r,cg(e,t)}}function cx(e,t,n){t=rP(n,t),t=iD(e.stateNode,t,2),null!==(e=o$(e,t,2))&&(eM(e,2),cL(e))}function cw(e,t,n){if(3===e.tag)cx(e,e,n);else for(;null!==t;){if(3===t.tag){cx(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===sU||!sU.has(r))){e=rP(n,e),null!==(r=o$(t,n=iM(2),2))&&(iZ(n,r,t,e),eM(r,2),cL(r));break}}t=t.return}}function c_(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new sg;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)||(sO=!0,o.add(n),e=ck.bind(null,e,t,n),t.then(e,e))}function ck(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,sb===e&&(sw&n)===n&&(4===sP||3===sP&&(0x3c00000&sw)===sw&&300>em()-sD?0==(2&sy)&&s7(e,0):sI|=n,sL===sw&&(sL=0)),cL(e)}function cj(e,t){0===t&&(t=eR()),null!==(e=rp(e,t))&&(eM(e,t),cL(e))}function cS(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),cj(e,n)}function cO(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),cj(e,n)}var cC=null,cP=null,cE=!1,cT=!1,cI=!1,cN=0;function cL(e){e!==cP&&null===e.next&&(null===cP?cC=cP=e:cP=cP.next=e),cT=!0,cE||(cE=!0,uf(function(){0!=(6&sy)?ed(eg,cA):cR()}))}function cz(e,t){if(!cI&&cT){cI=!0;do for(var n=!1,r=cC;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,cZ(r,a))}else a=sw,0==(3&(a=ez(r,r===sb?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eA(r,a)||(n=!0,cZ(r,a));r=r.next}while(n);cI=!1}}function cA(){cR()}function cR(){cT=cE=!1;var e,t=0;0===cN||((e=window.event)&&"popstate"===e.type?e===us||(us=e,0):(us=null,1))||(t=cN);for(var n=em(),r=null,o=cC;null!==o;){var a=o.next,i=cD(o,n);0===i?(o.next=null,null===r?cC=a:r.next=a,null===a&&(cP=r)):(r=o,(0!==t||0!=(3&i))&&(cT=!0)),o=a}0!==sH&&5!==sH||cz(t,!1),0!==cN&&(cN=0)}function cD(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0 title"):null)}function dn(e,t){return"img"===e&&null!=t.src&&""!==t.src&&null==t.onLoad&&"lazy"!==t.loading}function dr(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}function da(e){return(e.width||100)*(e.height||100)*("number"==typeof devicePixelRatio?devicePixelRatio:1)*.25}function di(e,t){"function"==typeof t.decode&&(e.imgCount++,t.complete||(e.imgBytes+=da(t),e.suspenseyImages.push(t)),e=du.bind(e),t.decode().then(e,e))}var dl=0;function ds(e){if(0===e.count&&(0===e.imgCount||!e.waitingForImages)){if(e.stylesheets)df(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function dc(){this.count--,ds(this)}function du(){this.imgCount--,ds(this)}var dd=null;function df(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,dd=new Map,t.forEach(dp,e),dd=null,dc.call(e))}function dp(e,t){if(!(4&t.state.loading)){var n=dd.get(e);if(n)var r=n.get(null);else{n=new Map,dd.set(e,n);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a>>1,o=e[r];if(0>>1;ra(s,n))ca(u,s)?(e[r]=u,e[c]=n,r=c):(e[r]=s,e[l]=n,r=l);else if(ca(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,v=!1,g=!1,y=!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 k(e){if(g=!1,_(e),!v)if(null!==r(u))v=!0,j||(j=!0,i());else{var t=r(d);null!==t&&N(k,t.startTime-e)}}var j=!1,S=-1,O=5,C=-1;function P(){return!!y||!(t.unstable_now()-Ce&&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&&N(k,c.startTime-e),n=!1}}break e}finally{p=null,h=a,m=!1}}}finally{n?i():j=!1}}}if("function"==typeof w)i=function(){w(E)};else if("undefined"!=typeof MessageChannel){var T=new MessageChannel,I=T.port2;T.port1.onmessage=E,i=function(){I.postMessage(null)}}else i=function(){b(E,0)};function N(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||125l?(e.sortIndex=a,n(d,e),null===r(u)&&e===r(d)&&(g?(x(S),S=-1):g=!0,N(k,a-l))):(e.sortIndex=s,n(u,e),v||m||(v=!0,j||(j=!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":function(e,t,n){"use strict";e.exports=n("./dist/compiled/scheduler/cjs/scheduler.production.js")},"./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js":function(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="",n=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack||\/|[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,v=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 v&&e.push(v),e},[])},e.exports=c})()},"./dist/compiled/strip-ansi/index.js":function(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":function(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":function(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]};let 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(;re.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=N,t.custom=ey;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 q.create([this,e],this._def)}and(e){return G.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 ev.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,v=/^[0-9a-z]+$/,g=/^[0-9A-HJKMNP-TV-Z]{26}$/i,y=/^[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-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,k=/^(?:(?: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])$/,j=/^(?:(?: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])$/,S=/^(([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-fA-F]{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]))$/,O=/^(([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-fA-F]{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 I(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 N(e){let t=`${E}T${I(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.lengthd.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.lengthe.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.valuenew L({checks:[],typeName:r.ZodString,coerce:e?.coerce??!1,...p(e)});class z 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.datar.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 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]})}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"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.valuenew z({checks:[],typeName:r.ZodNumber,coerce:e?.coerce||!1,...p(e)});class A 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.datar.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 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]})}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.valuenew A({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_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.valuenew 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 F 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=F,F.create=e=>new F({typeName:r.ZodNull,...p(e)});class U extends h{constructor(){super(...arguments),this._any=!0}_parse(e){return(0,c.OK)(e.data)}}t.ZodAny=U,U.create=e=>new U({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.lengthr.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 W 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 W({...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 W({...this._def,unknownKeys:"strip"})}passthrough(){return new W({...this._def,unknownKeys:"passthrough"})}extend(e){return new W({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new W({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 W({...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 W({...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 W({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof W){let n={};for(let r in t.shape){let o=t.shape[r];n[r]=ec.create(e(o))}return new W({...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 X)return X.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 W({...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 W({...this._def,shape:()=>t})}keyof(){return eo(u.util.objectKeys(this.shape))}}t.ZodObject=W,W.create=(e,t)=>new W({shape:()=>e,unknownKeys:"strip",catchall:V.create(),typeName:r.ZodObject,...p(t)}),W.strictCreate=(e,t)=>new W({shape:()=>e,unknownKeys:"strict",catchall:V.create(),typeName:r.ZodObject,...p(t)}),W.lazycreate=(e,t)=>new W({shape:e,unknownKeys:"strip",catchall:V.create(),typeName:r.ZodObject,...p(t)});class q 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=q,q.create=(e,t)=>new q({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 F)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 ev)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 G 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;or(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=G,G.create=(e,t,n)=>new G({left:e,right:t,typeName:r.ZodIntersection,...p(n)});class X 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.lengththis._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 X({...this._def,rest:e})}}t.ZodTuple=X,X.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new X({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.sizer.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:X.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||X.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 ev 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 eg(e,t){let n="function"==typeof e?e(t):"string"==typeof e?{message:e}:e;return"string"==typeof n?{message:n}:n}function ey(e,t={},n){return e?U.create().superRefine((r,o)=>{let a=e(r);if(a instanceof Promise)return a.then(e=>{if(!e){let e=eg(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}});if(!a){let e=eg(t,r),a=e.fatal??n??!0;o.addIssue({code:"custom",...e,fatal:a})}}):U.create()}t.ZodReadonly=ev,ev.create=(e,t)=>new ev({innerType:e,typeName:r.ZodReadonly,...p(t)}),t.late={object:W.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}`})=>ey(t=>t instanceof e,t);let eb=L.create;t.string=eb;let ex=z.create;t.number=ex,t.nan=ep.create,t.bigint=A.create;let ew=R.create;t.boolean=ew,t.date=D.create,t.symbol=M.create,t.undefined=Z.create,t.null=F.create,t.any=U.create,t.unknown=H.create,t.never=V.create,t.void=B.create,t.array=$.create,t.object=W.create,t.strictObject=W.strictCreate,t.union=q.create,t.discriminatedUnion=Y.create,t.intersection=G.create,t.tuple=X.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=>z.create({...e,coerce:!0}),boolean:e=>R.create({...e,coerce:!0}),bigint:e=>A.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&&!~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 __webpack_i__ in(()=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{dispatcher:()=>dy,renderAppDevOverlay:()=>dS,DevOverlayContext:()=>dx,renderPagesDevOverlay:()=>dO,getSerializedOverlayState:()=>dm,useDevOverlayContext:()=>dw,getSegmentTrieData:()=>dv});var e,t,n,r,o=__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"),a=__webpack_require__.n(o),i=__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"),l=__webpack_require__.n(i),s=__webpack_require__("./src/build/webpack/loaders/devtool/devtool-style-inject.js"),c=__webpack_require__.n(s),u=__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"),d=__webpack_require__.n(u),f=__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"),p=__webpack_require__.n(f),h=__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"),m=__webpack_require__.n(h),v=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/global.css"),g={};g.styleTagTransform=m(),g.setAttributes=d(),g.insert=c(),g.domAPI=l(),g.insertStyleElement=p(),a()(v.A,g),v.A&&v.A.locals&&v.A.locals;var y=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/toast/style.css"),b={};b.styleTagTransform=m(),b.setAttributes=d(),b.insert=c(),b.domAPI=l(),b.insertStyleElement=p(),a()(y.A,b),y.A&&y.A.locals&&y.A.locals;var x=__webpack_require__("./dist/compiled/react/jsx-runtime.js"),w=__webpack_require__("./dist/compiled/react/compiler-runtime.js"),_=__webpack_require__("./dist/compiled/react/index.js"),k=__webpack_require__.t(_,2),j=__webpack_require__("./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"),S=/\/_next(\/static\/.+)/,O=Symbol.for("next.console.error.digest");function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e){for(var t=1;t1?t-1:0),r=1;r]*)>/g,"").trim()}function ew(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nr){var c=t.substring(r,i);n.push(["raw",c])}try{var u=function(e){var t=e.match(ey);if(!t)return e;for(var n=t[1],r="",o=0,a="",i=0;i0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]"!==e.file&&(null!=e.column1?n+=" (".concat(e.line1,":").concat(e.column1,")"):n+=" (".concat(e.line1,")")),n}function eL(e){var t,n,r=(0,w.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 eA(e){for(var t=1;t? +\d+ +\| [ ]+/.exec(eK()(e))?null:/^>? +\d+ +\| ( *)/.exec(eK()(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 eG(e){for(var t=1;t0&&n.push(r),n})(eY(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=eL({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,x.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,x.jsx)("div",{className:"code-frame-header",children:(0,x.jsxs)("p",{className:"code-frame-link",children:[(0,x.jsx)("span",{className:"code-frame-icon",children:(0,x.jsx)(eZ,{lang:s})}),(0,x.jsxs)("span",{"data-text":!0,children:[eN(o)," @"," ",(0,x.jsx)(ek,{text:o.methodName})]}),(0,x.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:l,children:(0,x.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,x.jsx)(eD,{width:16,height:16})})})]})}),(0,x.jsx)("pre",{className:"code-frame-pre",children:(0,x.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,x.jsx)("div",(n=eG({},s),r=r={children:o.map(function(e,t){return(0,x.jsx)("span",{style:eG({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 eQ=function(e){var t,n,r,o,a,i,l=(0,w.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=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)("div",(t=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)("div",(t=function(e){for(var t=1;t [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 e0=function(){return n},n}var e1=ed(e0());function e2(){for(var e=arguments.length,t=Array(e),n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,g[0]=e,g[1]=t,g[2]=n,g[3]=r,g[4]=o,g[5]=a,g[6]=i,g[7]=l):(t=g[1],n=g[2],r=g[3],o=g[4],a=g[5],i=g[6],l=g[7]),g[8]!==n||g[9]!==o?(s=n||(o?o():""),g[8]=n,g[9]=o,g[10]=s):s=g[10];var y=e6(te(s),4),b=y[0],k=y[1],j=y[2],S=y[3],O="error"===b.state?b.error:null;g[11]!==O?(c=function(){null!==O&&console.warn(O)},u=[O],g[11]=O,g[12]=c,g[13]=u):(c=g[12],u=g[13]),_.useEffect(c,u),g[14]!==b.state||g[15]!==j?(d=function(){if("success"===b.state){var e=setTimeout(function(){j()},2e3);return function(){clearTimeout(e)}}},g[14]=b.state,g[15]=j,g[16]=d):d=g[16],g[17]!==b.state||g[18]!==S||g[19]!==j?(f=[S,b.state,j],g[17]=b.state,g[18]=S,g[19]=j,g[20]=f):f=g[20],_.useEffect(d,f);var C=!navigator.clipboard||S||r||!!O,P="success"===b.state?l:t;g[21]!==b.state||g[22]!==a?(p="success"===b.state?(0,x.jsx)(tr,{}):a||(0,x.jsx)(tn,{width:14,height:14,className:"error-overlay-toolbar-button-icon"}),g[21]=b.state,g[22]=a,g[23]=p):p=g[23];var E=p,T="nextjs-data-copy-button--".concat(b.state);g[24]!==e.className||g[25]!==T?(h=e2(e.className,"nextjs-data-copy-button",T),g[24]=e.className,g[25]=T,g[26]=h):h=g[26],g[27]!==k||g[28]!==C?(m=function(){C||k()},g[27]=k,g[28]=C,g[29]=m):m=g[29];var I="error"===b.state?" ".concat(b.error):null;return g[30]!==C||g[31]!==P||g[32]!==E||g[33]!==i||g[34]!==h||g[35]!==m||g[36]!==I?(v=(0,x.jsxs)("button",e5(e3({},i),{type:"button",title:P,"aria-label":P,"aria-disabled":C,disabled:C,"data-nextjs-copy-button":!0,className:h,onClick:m,children:[E,I]})),g[30]=C,g[31]=P,g[32]=E,g[33]=i,g[34]=h,g[35]=m,g[36]=I,g[37]=v):v=g[37],v}function tn(e){var t,n,r=(0,w.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.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,x.jsx)("svg",e5(e3({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 tr(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:(0,x.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 to(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n\.(.*)\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 tw(e){return tx.some(function(t){return t.test(e)})}var t_=["https://nextjs.org","https://react.dev"];function tk(e){return t_.some(function(t){return e.startsWith(t)})}function tj(e){var t,n,r,o,a=(0,w.c)(6),i=e.errorMessage;a[0]!==i?(t=function(e){var t,n,r,o=(t=e,n=tk,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===ty?tb: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,x.jsx)(tS,{className:"error-overlay-toolbar-button-icon",width:14,height:14}),a[3]=r):r=a[3],a[4]!==l?(o=(0,x.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,x.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:(0,x.jsx)(tS,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}),a[2]=n):n=a[2],n)}function tS(e){var t,n,r,o,a=(0,w.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,x.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,x.jsx)("svg",(t=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]e.length)&&(t=e.length);for(var n=0,r=Array(t);n200)},i[0]=t):t=i[0],i[1]!==l?(n=[l],i[1]=l,i[2]=n):n=i[2],(0,_.useLayoutEffect)(t,n);var v=p&&"Blocking Route"!==s,g="nextjs__container_errors_desc ".concat(v&&!u?"truncated":"");return i[3]!==l||i[4]!==g?(r=(0,x.jsx)("div",{ref:m,id:"nextjs__container_errors_desc",className:g,children:l}),i[3]=l,i[4]=g,i[5]=r):r=i[5],i[6]!==u||i[7]!==v?(o=v&&!u&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),(0,x.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]=v,i[8]=o):o=i[8],i[9]!==r||i[10]!==o?(a=(0,x.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[r,o]}),i[9]=r,i[10]=o,i[11]=a):a=i[11],a}function tM(e){var t,n=(0,w.c)(3),r=e.errorType,o="nextjs__container_errors_label ".concat("Blocking Route"===r?"nextjs__container_errors_label_blocking_page":"");return n[0]!==r||n[1]!==o?(t=(0,x.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 tZ(e){var t,n,r=(0,w.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.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,x.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 tF(e){var t,n,r=(0,w.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.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,x.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 tU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&j(Math.max(0,k-1))})},y[0]=k,y[1]=j,y[2]=r):r=y[2];var S=r;y[3]!==k||y[4]!==j||y[5]!==b.length?(o=function(){return(0,_.startTransition)(function(){k=b.length-1,M=k>=b.length-1;return y[31]===Symbol.for("react.memo_cache_sentinel")?(m=(0,x.jsx)(tF,{title:"next",className:"error-overlay-pagination-button-icon"}),y[31]=m):m=y[31],y[32]!==O||y[33]!==D||y[34]!==M?(v=(0,x.jsx)("button",{ref:P,type:"button",disabled:D,"aria-disabled":M,onClick:O,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:m}),y[32]=O,y[33]=D,y[34]=M,y[35]=v):v=y[35],y[36]!==d||y[37]!==h||y[38]!==v?(g=(0,x.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:N,children:[d,h,v]}),y[36]=d,y[37]=h,y[38]=v,y[39]=g):g=y[39],g}function tV(e){var t,n,r,o,a=(0,w.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,x.jsx)("circle",{cx:"7",cy:"7",r:"5.5",strokeWidth:"3"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,x.jsx)("svg",(t=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","className","onClose","aria-labelledby","aria-describedby"]),p=e.children,h=e.className,m=e.onClose,f=e["aria-labelledby"],d=e["aria-describedby"],C[0]=e,C[1]=d,C[2]=f,C[3]=p,C[4]=h,C[5]=m,C[6]=v):(d=C[1],f=C[2],p=C[3],h=C[4],m=C[5],v=C[6]);var P=_.useRef(null),E=(t=_.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0),n=2,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),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}}(t,2)||function(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)}}(t,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),T=E[0],I=E[1];return(C[7]!==m?(g=function(e){return e.preventDefault(),null==m?void 0:m()},C[7]=m,C[8]=g):g=C[8],r=P,o=tG,a=g,(s=(0,w.c)(5))[0]!==o||s[1]!==r||s[2]!==a?(i=function(){var e=r&&"current"in r?r.current:r;if(null!=e&&null!=a){var t=function(t){!(!e||e.contains(t.target))&&(o.some(function(e){return t.target.closest(e)})||a(t))},n=e.getRootNode();return n.addEventListener("mouseup",t),n.addEventListener("touchend",t,{passive:!1}),function(){n.removeEventListener("mouseup",t),n.removeEventListener("touchend",t)}}},l=[a,r,o],s[0]=o,s[1]=r,s[2]=a,s[3]=i,s[4]=l):(i=s[3],l=s[4]),_.useEffect(i,l),C[9]===Symbol.for("react.memo_cache_sentinel")?(y=function(){if(null!=P.current){var e=function(){I(document.hasFocus()?"dialog":void 0)};return window.addEventListener("focus",e),window.addEventListener("blur",e),function(){window.removeEventListener("focus",e),window.removeEventListener("blur",e)}}},b=[],C[9]=y,C[10]=b):(y=C[9],b=C[10]),_.useEffect(y,b),C[11]===Symbol.for("react.memo_cache_sentinel")?(k=function(){var e,t,n=P.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()}},j=[],C[11]=k,C[12]=j):(k=C[11],j=C[12]),_.useEffect(k,j),C[13]!==m?(S=function(e){"Escape"===e.key&&(null==m||m())},C[13]=m,C[14]=S):S=C[14],C[15]!==d||C[16]!==f||C[17]!==p||C[18]!==h||C[19]!==v||C[20]!==T||C[21]!==S)?(O=(0,x.jsx)("div",(c=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)(tX,(t=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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],_.useEffect(t5,i),s[5]!==r||s[6]!==o||s[7]!==a)?(l=(0,x.jsx)("div",(t=function(e){for(var t=1;t0)){var e=window.innerWidth-document.documentElement.clientWidth;e>0&&(n=document.body.style.paddingRight,document.body.style.paddingRight="".concat(e,"px")),r=document.body.style.overflow,document.body.style.overflow="hidden"}}),t3}function t6(){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 t6=function(){return n},n}function t9(e){var t,n,r,o,a,i=(0,w.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=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)(t4,(t=function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=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,_.useEffect)(a,i)}var no="cubic-bezier(0.175, 0.885, 0.32, 1.1)",na=(0,_.forwardRef)(function(e,t){var n,r,o=(0,w.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;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","measure"]),v=e.children,g=e.measure,S[0]=e,S[1]=v,S[2]=g,S[3]=y):(v=S[1],g=S[2],y=S[3]);var O=nl((0,_.useState)(null),2),C=O[0],P=O[1],E=nl((n=C,r=g,l=(0,w.c)(7),c=(s=nl((0,_.useState)(0),2))[0],u=s[1],f=(d=nl((0,_.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=nl(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,_.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],I=E[1]?"auto":T;return(S[4]!==I?(b={height:I,transition:"height 250ms var(--timing-swift)"},S[4]=I,S[5]=b):b=S[5],S[6]!==v?(k=(0,x.jsx)("div",{ref:P,children:v}),S[6]=v,S[7]=k):k=S[7],S[8]!==y||S[9]!==t||S[10]!==b||S[11]!==k)?(j=(0,x.jsx)("div",(h=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)("div",function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n 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 .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 nv(){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 nv=function(){return n},n}var ng=ed(nv());function ny(e){var t,n,r,o,a,i=(0,w.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=eL(r),f=s?":".concat(s.line,":").concat(s.column):null;return i[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,x.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,x.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,x.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,x.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,x.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 nb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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=nw(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=eK()(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,x.jsx)(nx,{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,x.jsx)(nh,(t=function(e){for(var t=1;t0&&(0,x.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,x.jsx)(nS,{})]}),l[2]=u,l[3]=c,l[4]=d,l[5]=n):n=l[5],l[6]!==t||l[7]!==n?(r=(0,x.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,x.jsx)(nj,{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,x.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 nP=ed(nO());function nE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n"===e[0],l=a||i,s=l?e[0]:"",c=l?e.indexOf(s):-1,u=nL(l?[e.slice(0,c),e.slice(c+1)]:[e,""],2),d=u[0],f=u[1];a?t.push((0,x.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===s?"add":"remove",children:(0,x.jsxs)("span",{children:[d,(0,x.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]})},"comp-diff"+n)):t.push((0,x.jsxs)("span",(r=function(e){for(var t=1;t0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]0&&(0,x.jsx)(nT,{dialogResizerRef:l,frames:s}),a[2]=l,a[3]=s,a[4]=r):r=a[4],a[5]!==n||a[6]!==r?(o=(0,x.jsxs)(x.Fragment,{children:[n,r]}),a[5]=n,a[6]=r,a[7]=o):o=a[7],o}function nB(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}var n$="\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 nW(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=(0,x.jsx)("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."}),n=(0,x.jsx)("h4",{children:"To fix this, you can either:"}),s[0]=e,s[1]=t,s[2]=n):(e=s[0],t=s[1],n=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,x.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,x.jsxs)("strong",{children:["Wrap the component in a ",""," boundary."]})," This allows Next.js to stream its contents to the user as soon as it's ready, without blocking the rest of the app."]}),o=(0,x.jsx)("h4",{className:"nextjs__blocking_page_load_error_fix_option_separator",children:"or"}),s[3]=r,s[4]=o):(r=s[3],o=s[4]),s[5]===Symbol.for("react.memo_cache_sentinel")?(a=(0,x.jsxs)("p",{className:"nextjs__blocking_page_load_error_fix_option",children:[(0,x.jsxs)("strong",{children:["Move the asynchronous await into a Cache Component (",(0,x.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."]}),i=(0,x.jsxs)("p",{children:["Note that request-specific information — such as params, cookies, and headers — is not available during static prerendering, so must be wrapped in ","","."]}),s[5]=a,s[6]=i):(a=s[5],i=s[6]),s[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,x.jsxs)("div",{className:"nextjs__blocking_page_load_error_description",children:[e,t,n,r,o,a,i,(0,x.jsxs)("p",{children:["Learn more:"," ",(0,x.jsx)("a",{href:"https://nextjs.org/docs/messages/blocking-route",children:"https://nextjs.org/docs/messages/blocking-route"})]})]}),s[7]=l):l=s[7],l}var nQ={hydrationWarning:null,notes:null,reactOutputComponentDiff:null};function nJ(e){var t,n,r=e.getSquashedHydrationErrorDetails,o=e.runtimeErrors,a=e.debugInfo,i=e.onClose,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=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["getSquashedHydrationErrorDetails","runtimeErrors","debugInfo","onClose"]),s=(0,_.useRef)(null),c=function(e){var t,n,r,o,a,i,l,s,c,u,d=(0,w.c)(17),f=e.runtimeErrors,p=e.getSquashedHydrationErrorDetails,h=(r=(0,_.useState)(0),o=2,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),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}}(r,2)||function(e,t){if(e){if("string"==typeof e)return nq(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 nq(e,t)}}(r,o)||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],v=h[1],g=0===f.length,y=null!=(i=f[m])?i:null,b=function(e,t){var n=(0,w.c)(12);n:{if(void 0===e){o=nQ;break n}n[0]!==e||n[1]!==t?(s=t(e),n[0]=e,n[1]=t,n[2]=s):s=n[2];var r,o,a,i,l=s;if(null!==l){var s,c,u,d,f=null!=(c=l.warning)?c:null,p=null!=(u=l.reactOutputComponentDiff)?u:null;n[3]!==f||n[4]!==p?(d={hydrationWarning:f,notes:null,reactOutputComponentDiff:p},n[3]=f,n[4]=p,n[5]=d):d=n[5],o=d;break n}if(!(tw((r=e).message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(r.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(r.message))){o=nQ;break n}n[6]!==e?(a=function(e){var t=e.message;if(tw(t)){var n=tm(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=tm(t.split("".concat(ty)),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=tv(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=tv(c.split("\n\n"));return{message:h[0],diff:null,notes:h.slice(1).join("\n\n")}}(e),n[6]=e,n[7]=a):a=n[7];var h=a.message,m=a.notes,v=a.diff;if(null===h){o=nQ;break n}n[8]!==v||n[9]!==h||n[10]!==m?(i={hydrationWarning:h,notes:m,reactOutputComponentDiff:v},n[8]=v,n[9]=h,n[10]=m,n[11]=i):i=n[11],o=i}return o}(null==y?void 0:y.error,p);if(g||!y)return d[0]!==m||d[1]!==g?(l={isLoading:g,activeIdx:m,setActiveIndex:v,activeError:null,errorDetails:null,errorCode:null,errorType:null,notes:null,hydrationWarning:null},d[0]=m,d[1]=g,d[2]=l):l=d[2],l;var x=y.error;d[3]!==x?(s=(void 0===(a=x)?"undefined":nW(a))==="object"&&null!==a&&"__NEXT_ERROR_CODE"in a&&"string"==typeof a.__NEXT_ERROR_CODE?a.__NEXT_ERROR_CODE:(void 0===a?"undefined":nW(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 k=s;d[5]!==y.type||d[6]!==x?(t=x,c="recoverable"===(n=y.type)?"Recoverable ".concat(t.name):"console"===n?t.message.includes("https://nextjs.org/docs/messages/blocking-route")?"Blocking Route":"Console ".concat(t.name):"Runtime ".concat(t.name),d[5]=y.type,d[6]=x,d[7]=c):c=d[7];var j=c,S=b.notes,O=b.hydrationWarning;return d[8]!==y||d[9]!==m||d[10]!==k||d[11]!==b||d[12]!==j||d[13]!==O||d[14]!==g||d[15]!==S?(u={isLoading:g,activeIdx:m,setActiveIndex:v,activeError:y,errorDetails:b,errorCode:k,errorType:j,notes:S,hydrationWarning:O},d[8]=y,d[9]=m,d[10]=k,d[11]=b,d[12]=j,d[13]=O,d[14]=g,d[15]=S,d[16]=u):u=d[16],u}({runtimeErrors:o,getSquashedHydrationErrorDetails:r}),u=c.isLoading,d=c.errorCode,f=c.errorType,p=c.notes,h=c.hydrationWarning,m=c.activeIdx,v=c.errorDetails,g=c.activeError,y=c.setActiveIndex,b=nH(g),k=(0,_.useMemo)(function(){var e,t=b.findIndex(function(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame});return null!=(e=b[t])?e:null},[b]),j=(0,_.useCallback)(function(){if(!g)return"";var e=[];f&&e.push("## Error Type\n".concat(f));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)),b.length>0){var o=b.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==k?void 0:k.originalCodeFrame){var i=eK()(eY(k.originalCodeFrame));e.push("## Code Frame\n".concat(i))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(l.versionInfo.installed," (").concat(process.env.__NEXT_BUNDLER,")\n")},[g,f,k,b,l.versionInfo]);if(u)return(0,x.jsx)(t4,{children:(0,x.jsx)(nc,{})});if(!g)return null;var S=g.error,O=["server","edge-server"].includes(nR(S)||"");return(0,x.jsxs)(nh,(t=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function n3(e){var t,n,r,o,a,i,l=(0,w.c)(10);l[0]!==e?(t=n4(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,x.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",(0,x.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,x.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",(0,x.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,x.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,x.jsxs)("article",n2(n1({className:"dev-tools-info-article"},t),{children:[r,o,a]})),l[7]=t,l[8]=o,l[9]=i):i=l[9],i}function n5(e){var t,n,r,o,a,i,l,s=(0,w.c)(11);return s[0]!==e?(t=n4(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,x.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,x.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,x.jsx)("strong",{children:"request time"}),"."]}),a=(0,x.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,x.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",(0,x.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,x.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",(0,x.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,x.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,x.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,x.jsxs)("article",n2(n1({className:"dev-tools-info-article"},t),{children:[o,a,i]})),s[8]=t,s[9]=i,s[10]=l):l=s[10],l}var n6={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 n9(e){var t,n,r,o,a=(0,w.c)(8);return a[0]!==e?(n=n4(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,x.jsx)(n3,n1({routerType:r},n)):(0,x.jsx)(n5,n1({routerType:r},n)),a[4]=t,a[5]=n,a[6]=r,a[7]=o):o=a[7],o}function n8(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:(0,x.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 n7(){var e,t,n=(0,w.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:(0,x.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,x.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e,(0,x.jsx)("defs",{children:(0,x.jsx)("clipPath",{id:"light_icon_clip_path",children:(0,x.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]}),n[1]=t):t=n[1],t}function re(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,x.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 rt(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:(0,x.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 rn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0;h[2]!==v||h[3]!==y||h[4]!==j?(n=function(e){if(e.target===L.current&&"Tab"!==e.key){N.current&&clearTimeout(N.current),j||S(!0),y&&(P([]),b(!1));var t=function(e){N.current=window.setTimeout(function(){I(!0),v(e.join("+")),N.current=window.setTimeout(function(){S(!1)},1e3)},180)};e.preventDefault(),e.stopPropagation(),P(function(n){if(n.includes(e.code)||n.includes(e.key))return n;if(!rl.includes(e.key)){var r=n.findIndex(rd);if(-1!==r){var o=ro(n);return o[r]=e.code,t(o),o}var a=ro(n).concat([e.code]);return t(a),a}for(var i=ro(n),l=rl.indexOf(e.key),s=0,c=0;c1?"⌘":"Ctrl";return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("span",{style:{minWidth:"1em",display:"inline-block"},children:n}),t[0]=e):e=t[0],e}function rm(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,x.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 rv=ed(ri());function rg(e){return null!=window.navigator?e.test(window.navigator.platform):void 0}function ry(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,x.jsx)("select",(t=function(e){for(var t=1;t 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",n$,"\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 .dev-tools-info-code {\n background: var(--color-gray-400);\n color: var(--color-gray-1000);\n font-family: var(--font-stack-monospace);\n padding: 2px 4px;\n margin: 0;\n font-size: var(--size-13);\n white-space: break-spaces;\n border-radius: var(--rounded-md-2);\n }\n\n .dev-tools-info-code-block-container {\n padding: 6px;\n }\n\n .dev-tools-info-code-block {\n position: relative;\n background: var(--color-background-200);\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-md-2);\n min-width: 326px;\n }\n\n .dev-tools-info-code-block-pre {\n margin: 0;\n font-family: var(--font-stack-monospace);\n font-size: var(--size-12);\n }\n\n .dev-tools-info-copy-button {\n position: absolute;\n\n display: flex;\n justify-content: center;\n align-items: center;\n right: 8px;\n top: 8px;\n padding: 4px;\n height: var(--size-24);\n width: var(--size-24);\n border-radius: var(--rounded-md-2);\n border: 1px solid var(--color-gray-alpha-400);\n background: var(--color-background-100);\n }\n\n .dev-tools-info-code-block-line {\n display: block;\n line-height: 1.5;\n padding: 0 16px;\n }\n\n .dev-tools-info-code-block-line.dev-tools-info-highlight {\n border-left: 2px solid var(--color-blue-900);\n background: var(--color-blue-400);\n }\n\n .dev-tools-info-code-block-json-key {\n color: var(--color-syntax-keyword);\n }\n\n .dev-tools-info-code-block-json-value {\n color: var(--color-syntax-link);\n }\n","",rL,'\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',rv)})}function rD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);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 r8=function(){return n},n}var r7=function(e){return e.None="none",e.Rendering="rendering",e.Compiling="compiling",e.Prerendering="prerendering",e.CacheBypassing="cache-bypassing",e}({});function oe(e){var t,n,r,o,a,i,l,s,c=(0,w.c)(13),u=e.status,d=e.onClick;c[0]===Symbol.for("react.memo_cache_sentinel")?(r9(n={},"none",""),r9(n,"cache-bypassing","Cache disabled"),r9(n,"prerendering","Prerendering"),r9(n,"compiling","Compiling"),r9(n,"rendering","Rendering"),t=n,c[0]=t):t=c[0];var f=t;c[1]===Symbol.for("react.memo_cache_sentinel")?(r9(o={},"none",""),r9(o,"cache-bypassing",""),r9(o,"prerendering","#f5a623"),r9(o,"compiling","#f5a623"),r9(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,x.jsx)("style",{children:ed(r8())}),c[2]=a):a=c[2],c[3]!==u?(i=p[u]&&(0,x.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,x.jsx)(ot,{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,x.jsxs)(x.Fragment,{children:[a,(0,x.jsxs)("button",{"data-indicator-status":!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 ot(e){var t,n,r=(0,w.c)(5),o=e.children,a=e.showEllipsis,i=void 0===a||a;return r[0]!==i?(t=i&&(0,x.jsxs)("span",{"data-status-ellipsis":!0,children:[(0,x.jsx)("span",{children:"."}),(0,x.jsx)("span",{children:"."}),(0,x.jsx)("span",{children:"."})]}),r[0]=i,r[1]=t):t=r[1],r[2]!==t||r[3]!==o?(n=(0,x.jsx)("div",{"data-status-text-animation":!0,children:(0,x.jsxs)("div",{"data-status-text-enter":!0,children:[o,t]})}),r[2]=t,r[3]=o,r[4]=n):n=r[4],n}function on(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oi(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 on(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 on(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 ol(){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 ol=function(){return n},n}function os(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,k,j,S,O,C,P,E,T,I,N,L,z,A,R,D,M,Z=(0,w.c)(54);Z[0]!==e?(O=oa(e,["onTriggerClick"]),C=e.onTriggerClick,Z[0]=e,Z[1]=O,Z[2]=C):(O=Z[1],C=Z[2]);var F=dw(),U=F.state,H=F.dispatch,$=da().totalErrorCount,W=36/U.scale,q=r5(),K=q.panel,Y=q.triggerRef,G=q.setPanel,X="panel-selector"===K,Q=$>0,J=oi((0,_.useState)(Q),2),ee=J[0],et=J[1],en=oi((0,_.useState)(Q),2),er=en[0],eo=en[1];er!==Q&&(eo(Q),et(Q));var ea=oi((0,_.useState)(!1),2),ei=ea[0],el=ea[1],es=(t=$,n=150,a=(0,w.c)(4),i=n,l=(0,_.useRef)(null),d=(s=(0,_.useState)(!1),c=2,u=function(e){if(Array.isArray(e))return e}(s)||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),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}}(s,2)||function(e,t){if(e){if("string"==typeof e)return rJ(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 rJ(e,t)}}(s,c)||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],f=u[1],a[0]!==i||a[1]!==t?(r=function(){if(t>0){var e=l.current?Date.now()-l.current:-1;if(l.current=Date.now(),!(e<=i)){f(!0);var n=window.setTimeout(function(){f(!1)},i);return function(){clearTimeout(n)}}}},o=[t,i],a[0]=i,a[1]=t,a[2]=r,a[3]=o):(r=a[2],o=a[3]),(0,_.useEffect)(r,o),d),ec="filling"===U.cacheIndicator,eu="bypass"===U.cacheIndicator,ef=U.buildingIndicator||U.renderingIndicator||ec;Z[3]===Symbol.for("react.memo_cache_sentinel")?(P={enterDelay:400,exitDelay:500},Z[3]=P):P=Z[3];var ep=rZ(ef,P).rendered,eh=(0,_.useRef)(null),em=(p=eh,v=(0,w.c)(3),y=(g=r1((0,_.useState)(0),2))[0],b=g[1],v[0]!==p?(h=function(){var e=p.current;if(e){var t=new ResizeObserver(function(e){b(r1(e,1)[0].contentRect.width)});return t.observe(e),function(){return t.disconnect()}}},m=[p],v[0]=p,v[1]=h,v[2]=m):(h=v[1],m=v[2]),(0,_.useEffect)(h,m),y);Z[4]!==U.buildingIndicator||Z[5]!==U.cacheIndicator||Z[6]!==U.renderingIndicator?(k=U.buildingIndicator,j=U.renderingIndicator,S=U.cacheIndicator,E=k?"compiling":"filling"===S?"prerendering":j?"rendering":"none",Z[4]=U.buildingIndicator,Z[5]=U.cacheIndicator,Z[6]=U.renderingIndicator,Z[7]=E):E=Z[7];var ev=E,eg=ep?ev:r7.None,ey=ee||eu||ep||U.disableDevIndicator,eb=0===em?"auto":em,ex="".concat(W,"px"),ew=U.disableDevIndicator&&(!Q||ei)?"none":"block";Z[8]!==ex||Z[9]!==ew?(T={"--size":ex,"--duration-short":"".concat(150,"ms"),display:ew},Z[8]=ex,Z[9]=ew,Z[10]=T):T=Z[10];var e_=T;Z[11]===Symbol.for("react.memo_cache_sentinel")?(I=(0,x.jsx)("style",{children:ed(ol())}),Z[11]=I):I=Z[11];var ek=Q||eu?r7.None:ev;return Z[12]!==eb?(N={width:eb},Z[12]=eb,Z[13]=N):N=Z[13],Z[14]!==O||Z[15]!==Q||Z[16]!==eu||Z[17]!==X||Z[18]!==C||Z[19]!==ep||Z[20]!==U.disableDevIndicator||Z[21]!==Y?(L=!U.disableDevIndicator&&(0,x.jsx)("button",oo(or({id:"next-logo",ref:Y,"data-next-mark":!0,onClick:C,disabled:U.disableDevIndicator,"aria-haspopup":"menu","aria-expanded":X,"aria-controls":"nextjs-dev-tools-menu","aria-label":"".concat(X?"Close":"Open"," Next.js Dev Tools"),"data-nextjs-dev-tools-button":!0,style:{display:!ep||Q||eu?"flex":"none"}},O),{children:(0,x.jsx)(od,{})})),Z[14]=O,Z[15]=Q,Z[16]=eu,Z[17]=X,Z[18]=C,Z[19]=ep,Z[20]=U.disableDevIndicator,Z[21]=Y,Z[22]=L):L=Z[22],Z[23]!==H||Z[24]!==eg||Z[25]!==Q||Z[26]!==eu||Z[27]!==ee||Z[28]!==ey||Z[29]!==es||Z[30]!==C||Z[31]!==G||Z[32]!==ep||Z[33]!==U.buildError||Z[34]!==U.disableDevIndicator||Z[35]!==U.isErrorOverlayOpen||Z[36]!==$||Z[37]!==Y?(z=ey&&(0,x.jsxs)(x.Fragment,{children:[(ee||U.disableDevIndicator)&&(0,x.jsxs)("div",{"data-issues":!0,children:[(0,x.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:function(){if(U.isErrorOverlayOpen)return void H({type:B});H({type:V}),G(null)},children:[U.disableDevIndicator&&(0,x.jsx)("div",{"data-disabled-icon":!0,children:(0,x.jsx)(r4,{})}),(0,x.jsx)(oc,{animate:es,"data-issues-count-animation":!0,children:$},$)," ",(0,x.jsxs)("div",{children:["Issue",$>1&&(0,x.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":es&&2===$,children:"s"})]})]}),!U.buildError&&(0,x.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:function(){var e;U.disableDevIndicator?el(!0):et(!1),null==(e=Y.current)||e.focus()},children:(0,x.jsx)(r2,{"data-cross":!0})})]}),eu&&!Q&&!U.disableDevIndicator&&(0,x.jsx)(ou,{onTriggerClick:C,triggerRef:Y}),ep&&!Q&&!eu&&!U.disableDevIndicator&&(0,x.jsx)(oe,{status:eg,onClick:C})]}),Z[23]=H,Z[24]=eg,Z[25]=Q,Z[26]=eu,Z[27]=ee,Z[28]=ey,Z[29]=es,Z[30]=C,Z[31]=G,Z[32]=ep,Z[33]=U.buildError,Z[34]=U.disableDevIndicator,Z[35]=U.isErrorOverlayOpen,Z[36]=$,Z[37]=Y,Z[38]=z):z=Z[38],Z[39]!==L||Z[40]!==z?(A=(0,x.jsxs)("div",{ref:eh,children:[L,z]}),Z[39]=L,Z[40]=z,Z[41]=A):A=Z[41],Z[42]!==Q||Z[43]!==eu||Z[44]!==ey||Z[45]!==es||Z[46]!==A||Z[47]!==ek||Z[48]!==N?(R=(0,x.jsx)("div",{"data-next-badge":!0,"data-error":Q,"data-error-expanded":ey,"data-status":ek,"data-cache-bypassing":eu,"data-animate":es,style:N,children:A}),Z[42]=Q,Z[43]=eu,Z[44]=ey,Z[45]=es,Z[46]=A,Z[47]=ek,Z[48]=N,Z[49]=R):R=Z[49],Z[50]===Symbol.for("react.memo_cache_sentinel")?(D=(0,x.jsx)("div",{"aria-hidden":!0,"data-dot":!0}),Z[50]=D):D=Z[50],Z[51]!==R||Z[52]!==e_?(M=(0,x.jsxs)("div",{"data-next-badge-root":!0,style:e_,children:[I,R,D]}),Z[51]=R,Z[52]=e_,Z[53]=M):M=Z[53],M}function oc(e){var t,n,r,o,a,i,l=(0,w.c)(13);l[0]!==e?(n=oa(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,x.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,x.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,x.jsxs)("div",oo(or({},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 ou(e){var t,n,r,o,a,i=(0,w.c)(10),l=e.onTriggerClick,s=e.triggerRef,c=oi((0,_.useState)(!1),2),u=c[0],d=c[1];return u?null:(i[0]!==l?(t=(0,x.jsx)("button",{"data-issues-open":!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,x.jsx)(r2,{"data-cross":!0}),i[4]=r):r=i[4],i[5]!==n?(o=(0,x.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,x.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 od(){var e,t,n,r,o=(0,w.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsxs)("g",{transform:"translate(8.5, 13)",children:[(0,x.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,x.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,x.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,x.jsx)("stop",{stopColor:"white"}),(0,x.jsx)("stop",{offset:"0.604072",stopColor:"white",stopOpacity:"0"}),(0,x.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[1]=t):t=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,x.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,x.jsx)("stop",{stopColor:"white"}),(0,x.jsx)("stop",{offset:"1",stopColor:"white",stopOpacity:"0"})]}),o[2]=n):n=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,x.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",children:[e,(0,x.jsxs)("defs",{children:[t,n,(0,x.jsxs)("mask",{id:"next_logo_mask0",children:[(0,x.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,x.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]})]})]}),o[3]=r):r=o[3],r}var of=_.forwardRef(function(e,t){var n,r,o,a,i,l,s,c,u,d=(0,w.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=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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=e2("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,x.jsx)("div",(n=function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,_.useRef)(null),h=ov();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,_.useEffect)(l,s);var v=(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]!==v||f[12]!==c?(u=op({cursor:v},c),f[11]=v,f[12]=c,f[13]=u):u=f[13],f[14]!==r||f[15]!==o||f[16]!==m||f[17]!==u)?(d=(0,x.jsx)("div",(t=op({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 oy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function o_(e){return function(e){if(Array.isArray(e))return oy(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ok(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 ok(e,t){if(e){if("string"==typeof e)return oy(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 oy(e,t)}}function oj(e){var t,n,r,o,a,i,l,s,c,u,d,f,p=(0,w.c)(18);p[0]!==e?(s=ow(e,["children","padding","position","setPosition","onDragStart","dragHandleSelector","disableDrag","avoidZone"]),r=e.children,l=e.padding,o=e.position,c=e.setPosition,i=e.onDragStart,a=e.dragHandleSelector,u=e.disableDrag,n=e.avoidZone,p[0]=e,p[1]=n,p[2]=r,p[3]=o,p[4]=a,p[5]=i,p[6]=l,p[7]=s,p[8]=c,p[9]=u):(n=p[1],r=p[2],o=p[3],a=p[4],i=p[5],l=p[6],s=p[7],c=p[8],u=p[9]);var h=function(e){var t=(0,_.useRef)(null),n=(0,_.useRef)({state:"idle"}),r=(0,_.useRef)(null),o=(0,_.useRef)({x:0,y:0}),a=(0,_.useRef)({x:0,y:0}),i=(0,_.useRef)(0),l=(0,_.useRef)([]),s=(0,_.useCallback)(function(){var e,o;"drag"===n.current.state&&(null==(o=t.current)||o.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"),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=r.clientX-o.current.x,h=r.clientY-o.current.y;Math.sqrt(p*p+h*h)>=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"),document.body.style.userSelect="none",document.body.style.webkitUserSelect="none",null==(f=e.onDragStart)||f.call(e))}if("drag"===n.current.state){var m={x:r.clientX,y:r.clientY},v=m.x-o.current.x,g=m.y-o.current.y;o.current=m,c({x:a.current.x+v,y:a.current.y+g});var y=Date.now();y-i.current>=10&&(l.current=o_(l.current.slice(-5)).concat([{position:m,timestamp:y}])),i.current=y,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,_.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!==u&&u,handles:null==(t=ov())?void 0:t.handles,threshold:5,onDragStart:i,onDragEnd:function(e,t){var r,a,i,s,c,u,d,f,p,h,g,y,b,x,w,_,k,j;if(0===Math.sqrt(e.x*e.x+e.y*e.y)){null==(r=m.current)||r.style.removeProperty("translate");return}v((b=(a={x:e.x+oO(t.x),y:e.y+oO(t.y)}).x,x=a.y,_=Object.entries(w=(c=2*l,u=(null==(i=m.current)?void 0:i.offsetWidth)||0,d=(null==(s=m.current)?void 0:s.offsetHeight)||0,f=window.innerWidth-document.documentElement.clientWidth,h=(p=function(e){var t=e.includes("right"),r=e.includes("bottom"),o=t?window.innerWidth-f-c-u:0,a=r?window.innerHeight-c-d:0;if(n&&n.corner===e){var i=n.square+n.padding;r?a-=i:a+=i}return{x:o,y:a}})(o),{"top-left":(g=function(e){return{x:e.x-h.x,y:e.y-h.y}})(p("top-left")),"top-right":g(p("top-right")),"bottom-left":g(p("bottom-left")),"bottom-right":g(p("bottom-right"))})).map(function(e){var t,n,r=(n=2,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),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}}(t,2)||ok(t,n)||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];return{key:o,distance:Math.sqrt(Math.pow(b-a.x,2)+Math.pow(x-a.y,2))}}),k=(y=Math).min.apply(y,o_(_.map(oS))),(j=_.find(function(e){return e.distance===k}))?{translation:w[j.key],corner:j.key}:{corner:o,translation:w[o]}))},onAnimationEnd:function(e){var t=e.corner;setTimeout(function(){var e;null==(e=m.current)||e.style.removeProperty("translate"),c(t)})},dragHandleSelector:a}),m=h.ref,v=h.animate,g=ow(h,["ref","animate"]);return p[10]!==s.style?(d=ob({touchAction:"none",userSelect:"none",WebkitUserSelect:"none"},s.style),p[10]=s.style,p[11]=d):d=p[11],p[12]!==r||p[13]!==g||p[14]!==s||p[15]!==m||p[16]!==d?(f=(0,x.jsx)("div",ox(ob(ox(ob({},s),{ref:m}),g),{style:d,children:r})),p[12]=r,p[13]=g,p[14]=s,p[15]=m,p[16]=d,p[17]=f):f=p[17],f}function oS(e){return e.distance}function oO(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.999;return e/1e3*t/(1-t)}function oC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=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,v=(0,_.useContext)(oM),g=v.closeMenu,y=v.selectedIndex,b=v.setSelectedIndex,k=y===n;h[7]!==g||h[8]!==t||h[9]!==m||h[10]!==o?(l=function(){m&&(null==o||o(),null==g||g(),t&&window.open(t,"_blank","noopener, noreferrer"))},h[7]=g,h[8]=t,h[9]=m,h[10]=o,h[11]=l):l=h[11];var j=l;h[12]!==n||h[13]!==m||h[14]!==y||h[15]!==b?(s=function(){m&&void 0!==n&&y!==n&&b(n)},h[12]=n,h[13]=m,h[14]=y,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]!==j?(u=function(e){("Enter"===e.key||" "===e.key)&&j()},h[19]=j,h[20]=u):u=h[20];var S=m?"menuitem":void 0,O=k?0:-1;return h[21]!==r?(d=(0,x.jsx)("span",{className:"dev-tools-indicator-label",children:r}),h[21]=r,h[22]=d):d=h[22],h[23]!==i?(f=(0,x.jsx)("span",{className:"dev-tools-indicator-value",children:i}),h[23]=i,h[24]=f):f=h[24],h[25]!==j||h[26]!==n||h[27]!==a||h[28]!==k||h[29]!==s||h[30]!==c||h[31]!==u||h[32]!==S||h[33]!==O||h[34]!==d||h[35]!==f?(p=(0,x.jsxs)("div",oR(oA({className:"dev-tools-indicator-item","data-index":n,"data-selected":k,onClick:j,onMouseMove:s,onMouseLeave:c,onKeyDown:u,role:S,tabIndex:O},a),{children:[d,f]})),h[25]=j,h[26]=n,h[27]=a,h[28]=k,h[29]=s,h[30]=c,h[31]=u,h[32]=S,h[33]=O,h[34]=d,h[35]=f,h[36]=p):p=h[36],p}var oF=function(e){var t,n=e.closeOnClickOutside,r=void 0===n||n,o=e.items,a=dw().state,i=r5(),l=i.setPanel,s=i.triggerRef,c=i.setSelectedIndex,u=i.selectedIndex,d=u9().mounted,f=oD(a.devToolsPosition.split("-",2),2),p=f[0],h=f[1],m=(0,_.useRef)(null);nr(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 v=(0,_.useEffectEvent)(function(){oB({index:-1===u?"first":u,menuRef:m,setSelectedIndex:c})});(0,_.useLayoutEffect)(function(){var e;null==(e=m.current)||e.focus(),v()},[]);var g=r6(a),y=oD(a.devToolsPosition.split("-",2),2),b=y[0],w=y[1],k=p===b&&h===w?g:oE,j=(oz(t={},p,"".concat(k,"px")),oz(t,h,"".concat(oE,"px")),oz(t,"top"===p?"bottom":"top","auto"),oz(t,"left"===h?"right":"left","auto"),t),S=o.filter(function(e){return!!e}),O=S.filter(function(e){return!e.footer}),C=S.filter(function(e){return e.footer});return(0,x.jsx)("div",{ref:m,onKeyDown:function(e){e.preventDefault();var t=S.filter(function(e){return e.onClick}).length;switch(e.key){case"ArrowDown":oB({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"ArrowUp":oB({index:u<=0?t-1:u-1,menuRef:m,setSelectedIndex:c});break;case"Home":oB({index:"first",menuRef:m,setSelectedIndex:c});break;case"End":oB({index:"last",menuRef:m,setSelectedIndex:c});break;case"n":e.ctrlKey&&oB({index:u>=t-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"p":e.ctrlKey&&oB({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:oA({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)"},j),children:(0,x.jsxs)(oM,{value:{selectedIndex:u,setSelectedIndex:c},children:[(0,x.jsx)("div",{style:{padding:"6px",width:"100%"},children:O.map(function(e,t){return(0,x.jsx)(oZ,oA({title:e.title,label:e.label,value:e.value,onClick:e.onClick,index:e.onClick?oU(O,t):void 0},e.attributes),e.label)})}),(0,x.jsx)("div",{className:"dev-tools-indicator-footer",children:C.map(function(e,t){var n;return(0,x.jsx)(oZ,oR(oA({title:e.title,label:e.label,value:e.value,onClick:e.onClick},e.attributes),{index:e.onClick?oU(C,t)+(n=O).filter(function(e){return e.onClick}).length:void 0}),e.label)})})]})})};function oU(e,t){for(var n=0,r=0;r<=t&&r0;return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),r[0]=t):t=r[0],r[1]!==o||r[2]!==a?(n=(0,x.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 oV(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,x.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 oB(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&&oB({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&&oB({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 o$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&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 o7(e){var t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,v=e.header,g=e.children,y=e.draggable,b=void 0!==y&&y,k=e.sizeConfig,j=void 0===k?{kind:"resizable",minWidth:400,minHeight:350,maxWidth:1e3,maxHeight:1e3,initialSize:{height:400,width:500}}:k,S=e.closeOnClickOutside,O=void 0!==S&&S,C=e.sharePanelSizeGlobally,P=e.sharePanelPositionGlobally,E=e.containerProps,T=r5().setPanel,I=u9(),N=I.name,L=I.mounted,z=void 0===C||C?en:"".concat(et,"_").concat(N),A=void 0===P||P?er:"".concat(ee,"_").concat(N),R=dw(),D=R.dispatch,M=R.state,Z=null!=(h=M.devToolsPanelPosition[A])?h:M.devToolsPosition,F=o9(Z.split("-",2),2),U=F[0],H=F[1],V=(0,_.useRef)(null);nr(V,r5().triggerRef,L,function(e){switch(e){case"escape":return void T("panel-selector");case"outside":O&&T("panel-selector");return;default:return null}});var B=r6(M),$=o9(M.devToolsPosition.split("-",2),2),W=$[0],q=$[1],K=U===W&&H===q?B:oE,Y=(o5(m={},U,"".concat(K,"px")),o5(m,H,"".concat(oE,"px")),o5(m,"top"===U?"bottom":"top","auto"),o5(m,"left"===H?"right":"left","auto"),m),G="resizable"===j.kind,Q=(t=G?j.minWidth:void 0,n=G?j.minHeight:void 0,r=G?j.maxWidth:void 0,o=G?j.maxHeight:void 0,(s=(0,w.c)(11))[0]!==o||s[1]!==r||s[2]!==n||s[3]!==t?(a=function(){return{minWidth:t?o8(t,"width"):void 0,minHeight:n?o8(n,"height"):void 0,maxWidth:r?o8(r,"width"):void 0,maxHeight:o?o8(o,"height"):void 0}},s[0]=o,s[1]=r,s[2]=n,s[3]=t,s[4]=a):a=s[4],u=(c=o9((0,_.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?o8(t,"width"):void 0,minHeight:n?o8(n,"height"):void 0,maxWidth:r?o8(r,"width"):void 0,maxHeight:o?o8(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,_.useEffect)(i,l),u),J=Q.minWidth,eo=Q.minHeight,ea=Q.maxWidth,ei=Q.maxHeight,el=N?"".concat(et,"_").concat(N):en,es=M.devToolsPanelSize[el];return(0,x.jsx)(oK,{value:{resizeRef:V,initialSize:"resizable"===j.kind?j.initialSize:j,minWidth:J,minHeight:eo,maxWidth:ea,maxHeight:ei,devToolsPosition:M.devToolsPosition,devToolsPanelSize:M.devToolsPanelSize,storageKey:z},children:(0,x.jsx)("div",{tabIndex:-1,ref:V,className:"dynamic-panel-container",style:o6({"--panel-top":Y.top,"--panel-bottom":Y.bottom,"--panel-left":Y.left,"--panel-right":Y.right},G?{"--panel-min-width":J?"".concat(J,"px"):void 0,"--panel-min-height":eo?"".concat(eo,"px"):void 0,"--panel-max-width":ea?"".concat(ea,"px"):void 0,"--panel-max-height":ei?"".concat(ei,"px"):void 0}:{"--panel-height":"".concat(es?es.height:j.height,"px"),"--panel-width":"".concat(es?es.width:j.width,"px")}),children:(0,x.jsx)(om,{disabled:!b,children:(0,x.jsx)(oj,{dragHandleSelector:".resize-container",avoidZone:{corner:M.devToolsPosition,square:25/M.scale,padding:oE},padding:oE,position:Z,setPosition:function(e){D({type:X,devToolsPanelPosition:e,key:A}),"resizable"===j.kind&&rO({devToolsPanelPosition:o5({},A,e)})},style:{overflow:"auto",width:"100%",height:"100%"},disableDrag:!b,children:(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("div",(f=o6({},E),p=p={className:"panel-content-container ".concat((null==E?void 0:E.className)||""),style:o6({},null==E?void 0:E.style),children:[(0,x.jsx)(og,{children:v}),(0,x.jsx)("div",{"data-nextjs-scrollable-content":!0,className:"draggable-content",children:g})]},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)),G&&(0,x.jsxs)(x.Fragment,{children:[(!j.sides||j.sides.includes("vertical"))&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oJ,{position:Z,direction:"top"}),(0,x.jsx)(oJ,{position:Z,direction:"bottom"})]}),(!j.sides||j.sides.includes("horizontal"))&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oJ,{position:Z,direction:"right"}),(0,x.jsx)(oJ,{position:Z,direction:"left"})]}),(!j.sides||j.sides.includes("diagonal"))&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(oJ,{position:Z,direction:"top-left"}),(0,x.jsx)(oJ,{position:Z,direction:"top-right"}),(0,x.jsx)(oJ,{position:Z,direction:"bottom-left"}),(0,x.jsx)(oJ,{position:Z,direction:"bottom-right"})]})]})]})})})})})}o4.styleTagTransform=m(),o4.setAttributes=d(),o4.insert=c(),o4.domAPI=l(),o4.insertStyleElement=p(),a()(o2.A,o4),o2.A&&o2.A.locals&&o2.A.locals;var ae=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"),at={};function an(e){for(var t=1;t=0;m--){var v=l[m],g=r[m];0===Object.keys(v.children[g].children).length&&delete v.children[g]}a=an({},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("/")}}),ac=as.insert,au=as.remove,ad=as.getRoot,af=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"),ap={};ap.styleTagTransform=m(),ap.setAttributes=d(),ap.insert=c(),ap.domAPI=l(),ap.insertStyleElement=p(),a()(af.A,ap),af.A&&af.A.locals&&af.A.locals;let ah={};function am(e,t){let n=_.useRef(ah);return n.current===ah&&(n.current=e(t)),n}let av=[];function ag(e){_.useEffect(e,av)}class ay{static create(){return new ay}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 ab(){let e=am(ay.create).current;return ag(e.disposeEffect),e}let ax=k[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],aw=ax&&ax!==_.useLayoutEffect?ax:e=>e();function a_(e){let t=am(ak).current;return t.next=e,aw(t.effect),t.trampoline}function ak(){let e={next:void 0,callback:aj,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function aj(){}function aS({controlled:e,default:t,name:n,state:r="value"}){let{current:o}=_.useRef(void 0!==e),[a,i]=_.useState(t),l=_.useCallback(e=>{o||i(e)},[]);return[o?e:a,l]}let aO={...k},aC=0,aP=aO.useId;function aE(e,t){if(void 0!==aP){let n=aP();return e??(t?`${t}-${n}`:n)}return function(e,t="mui"){let[n,r]=_.useState(e),o=e||n;return _.useEffect(()=>{null==n&&(aC+=1,r(`${t}-${aC}`))},[n,t]),o}(e,t)}function aT(){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 aI="undefined"!=typeof document?_.useLayoutEffect:()=>{},aN=_.createContext(null),aL=_.createContext(null),az=()=>_.useContext(aN)?.id||null,aA=()=>_.useContext(aL);function aR(e){let{children:t,id:n}=e,r=az();return(0,x.jsx)(aN.Provider,{value:_.useMemo(()=>({id:n,parentId:r}),[n,r]),children:t})}function aD(e){let{children:t}=e,n=_.useRef([]),r=_.useCallback(e=>{n.current=[...n.current,e]},[]),o=_.useCallback(e=>{n.current=n.current.filter(t=>t!==e)},[]),[a]=_.useState(()=>aT());return(0,x.jsx)(aL.Provider,{value:_.useMemo(()=>({nodesRef:n,addNode:r,removeNode:o,events:a}),[r,o,a]),children:t})}function aM(e){let{open:t=!1,onOpenChange:n,elements:r}=e,o=aE(),a=_.useRef({}),[i]=_.useState(()=>aT()),l=null!=az(),[s,c]=_.useState(r.reference),u=a_((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=_.useMemo(()=>({setPositionReference:c}),[]),f=_.useMemo(()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference}),[s,r.reference,r.floating]);return _.useMemo(()=>({dataRef:a,open:t,onOpenChange:u,elements:f,events:i,floatingId:o,refs:d}),[t,u,f,i,o,d])}function aZ(){return"undefined"!=typeof window}function aF(e){return aV(e)?(e.nodeName||"").toLowerCase():"#document"}function aU(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function aH(e){var t;return null==(t=(aV(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function aV(e){return!!aZ()&&(e instanceof Node||e instanceof aU(e).Node)}function aB(e){return!!aZ()&&(e instanceof Element||e instanceof aU(e).Element)}function a$(e){return!!aZ()&&(e instanceof HTMLElement||e instanceof aU(e).HTMLElement)}function aW(e){return!!aZ()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof aU(e).ShadowRoot)}let aq=new Set(["inline","contents"]);function aK(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=a5(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!aq.has(o)}let aY=new Set(["table","td","th"]),aG=[":popover-open",":modal"];function aX(e){return aG.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let aQ=["transform","translate","scale","rotate","perspective"],aJ=["transform","translate","scale","rotate","perspective","filter"],a0=["paint","layout","strict","content"];function a1(e){let t=a2(),n=aB(e)?a5(e):e;return aQ.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||aJ.some(e=>(n.willChange||"").includes(e))||a0.some(e=>(n.contain||"").includes(e))}function a2(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let a4=new Set(["html","body","#document"]);function a3(e){return a4.has(aF(e))}function a5(e){return aU(e).getComputedStyle(e)}function a6(e){return aB(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function a9(e){if("html"===aF(e))return e;let t=e.assignedSlot||e.parentNode||aW(e)&&e.host||aH(e);return aW(t)?t.host:t}function a8(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=a9(t);return a3(n)?t.ownerDocument?t.ownerDocument.body:t.body:a$(n)&&aK(n)?n:e(n)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=aU(o);if(a){let e=a7(i);return t.concat(i,i.visualViewport||[],aK(o)?o:[],e&&n?a8(e):[])}return t.concat(o,a8(o,[],n))}function a7(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ie(e){let t=am(it,e).current;return t.next=e,aI(t.effect),t}function it(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let ir="undefined"!=typeof navigator,io=function(){if(!ir)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),ia=function(){if(!ir)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),ii=function(){if(!ir)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),il="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),is="MacIntel"===io.platform&&io.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(io.platform);ir&&/firefox/i.test(ii);let ic=ir&&/apple/i.test(navigator.vendor),iu=ir&&/android/i.test(ia)||/android/i.test(ii),id=ir&&ia.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,ip=ii.includes("jsdom/");function ih(e){e.preventDefault(),e.stopPropagation()}function im(e){return 0===e.mozInputSource&&!!e.isTrusted||(iu&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function iv(e){return!ip&&(!iu&&0===e.width&&0===e.height||iu&&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 ig(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}let iy="data-base-ui-focusable",ib="active",ix="selected",iw="ArrowLeft",i_="ArrowRight",ik="ArrowUp",ij="ArrowDown";function iS(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function iO(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 iC(e){return"composedPath"in e?e.composedPath()[0]:e.target}function iP(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function iE(e){return e?.ownerDocument||document}function iT(e){return a$(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")&&iT(e)}function iN(e){return e?e.hasAttribute(iy)?e:e.querySelector(`[${iy}]`)||e:null}function iL(e){return`data-base-ui-${e}`}let iz=iL("safe-polygon");function iA(e,t,n){if(n&&!ig(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 iR(e){return"function"==typeof e?e():e}function iD(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=aA(),h=az(),m=ie(c),v=ie(s),g=ie(n),y=ie(d),b=_.useRef(void 0),x=ab(),w=_.useRef(void 0),k=ab(),j=_.useRef(!0),S=_.useRef(!1),O=_.useRef(()=>{}),C=_.useRef(!1),P=a_(()=>{let e=o.current.openEvent?.type;return e?.includes("mouse")&&"mousedown"!==e});_.useEffect(()=>{if(l)return a.on("openchange",e),()=>{a.off("openchange",e)};function e({open:e}){e||(x.clear(),k.clear(),j.current=!0,C.current=!1)}},[l,a,x,k]),_.useEffect(()=>{if(!l||!m.current||!n)return;function e(e){P()&&r(!1,e,"hover")}let t=iE(i.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[i.floating,n,r,l,m,P]);let E=_.useCallback((e,t=!0,n="hover")=>{let o=iA(v.current,"close",b.current);o&&!w.current?x.start(o,()=>r(!1,e,n)):t&&(x.clear(),r(!1,e,n))},[v,r,x]),T=a_(()=>{O.current(),w.current=void 0}),I=a_(()=>{if(S.current){let e=iE(i.floating).body;e.style.pointerEvents="",e.removeAttribute(iz),S.current=!1}}),N=a_(()=>!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type));_.useEffect(()=>{if(l&&aB(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&&!ig(b.current)||iR(y.current)>0&&!iA(v.current,"open"))return;let t=iA(v.current,"open",b.current);t?x.start(t,()=>{g.current||r(!0,e,"hover")}):n||r(!0,e,"hover")}function t(e){if(N())return void I();O.current();let t=iE(i.floating);if(k.clear(),C.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(){I(),T(),N()||E(e,!0,"safe-polygon")}});let r=w.current;t.addEventListener("mousemove",r),O.current=()=>{t.removeEventListener("mousemove",r)};return}"touch"===b.current&&iO(i.floating,e.relatedTarget)||E(e)}function a(e){!N()&&o.current.floatingContext&&m.current?.({...o.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){I(),T(),N()||E(e)}})(e)}function s(){x.clear()}function c(e){N()||E(e,!1)}},[i,l,e,u,f,E,T,I,r,n,g,p,v,m,o,N,y,x,k]),aI(()=>{if(l&&n&&m.current?.__options?.blockPointerEvents&&P()){S.current=!0;let e=i.floating;if(aB(i.domReference)&&e){let t=iE(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]),aI(()=>{n||(b.current=void 0,C.current=!1,T(),I())},[n,T,I]),_.useEffect(()=>()=>{T(),x.clear(),k.clear(),I()},[l,i.domReference,T,I,x,k]);let L=_.useMemo(()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){let{nativeEvent:t}=e;function o(){j.current||g.current||r(!0,t,"hover")}(!u||ig(b.current))&&!n&&0!==iR(y.current)&&(C.current&&e.movementX**2+e.movementY**2<2||(k.clear(),"touch"===b.current?o():(C.current=!0,k.start(iR(y.current),o))))}}},[u,r,n,g,y,k]);return _.useMemo(()=>l?{reference:L}:{},[l,L])}function iM(e,t,n=!0){return e.filter(e=>e.parentId===t&&(!n||e.context?.open)).flatMap(t=>[t,...iM(e,t.id,n)])}function iZ(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=r!=c>=r&&n<=(s-a)*(r-l)/(c-l)+a&&(o=!o)}return o}function iU(e={}){let{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e,o=new ay,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,v;function g(){o.clear(),d()}if(o.clear(),!u.domReference||!u.floating||null==c||null==e||null==n)return;let{clientX:y,clientY:b}=h,x=[y,b],w=iC(h),_="mouseleave"===h.type,k=iO(u.floating,w),j=iO(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,v=S,m[0]>=v.x&&m[0]<=v.x+v.width&&m[1]>=v.y&&m[1]<=v.y+v.height),I=O.width>S.width,N=O.height>S.height,L=(I?S:O).left,z=(I?S:O).right,A=(N?S:O).top,R=(N?S:O).bottom;if(k&&(a=!0,!_))return;if(j&&(a=!1),j&&!_){a=!0;return}if(_&&aB(h.relatedTarget)&&iO(u.floating,h.relatedTarget)||p&&iM(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 g();let D=[];switch(C){case"top":D=[[L,S.top+1],[L,O.bottom-1],[z,O.bottom-1],[z,S.top+1]];break;case"bottom":D=[[L,O.top+1],[L,S.bottom-1],[z,S.bottom-1],[z,O.top+1]];break;case"left":D=[[O.right-1,R],[O.right-1,A],[S.left+1,A],[S.left+1,R]];break;case"right":D=[[S.right-1,R],[S.right-1,A],[O.left+1,A],[O.left+1,R]]}if(!iF([y,b],D)){if(a&&!T)return g();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 g()}iF([y,b],function([e,n]){switch(C){case"top":{let r=[[O.left,P||I?O.bottom-t:O.top],[O.right,P?I?O.bottom-t:O.top:O.bottom-t]];return[[I?e+t/2:P?e+4*t:e-4*t,n+t+1],[I?e-t/2:P?e+4*t:e-4*t,n+t+1],...r]}case"bottom":{let r=[[O.left,P||I?O.top+t:O.bottom],[O.right,P?I?O.top+t:O.bottom:O.top+t]];return[[I?e+t/2:P?e+4*t:e-4*t,n-t],[I?e-t/2:P?e+4*t:e-4*t,n-t],...r]}case"left":return[[E||N?O.right-t:O.left,O.top],[E?N?O.right-t:O.left:O.right-t,O.bottom],[e+t+1,N?n+t/2:E?n+4*t:n-4*t],[e+t+1,N?n-t/2:E?n+4*t:n-4*t]];case"right":{let r=[[E||N?O.left+t:O.right,O.top],[E?N?O.left+t:O.right:O.left+t,O.bottom]];return[[e-t,N?n+t/2:E?n+4*t:n-4*t],[e-t,N?n-t/2:E?n+4*t:n-4*t],...r]}default:return[]}}([e,n]))?!a&&r&&o.start(40,g):g()}};return c.__options={blockPointerEvents:n},c}let iH=id&⁣function iV(e,t={}){let{open:n,onOpenChange:r,events:o,dataRef:a,elements:i}=e,{enabled:l=!0,visibleOnly:s=!0}=t,c=_.useRef(!1),u=ab(),d=_.useRef(!0);_.useEffect(()=>{if(!l)return;let e=aU(i.domReference);function t(){!n&&a$(i.domReference)&&i.domReference===iS(iE(i.domReference))&&(c.current=!0)}function r(){d.current=!0}function o(){d.current=!1}return e.addEventListener("blur",t),iH&&(e.addEventListener("keydown",r,!0),e.addEventListener("pointerdown",o,!0)),()=>{e.removeEventListener("blur",t),iH&&(e.removeEventListener("keydown",r,!0),e.removeEventListener("pointerdown",o,!0))}},[i.domReference,n,l]),_.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=_.useMemo(()=>({onMouseLeave(){c.current=!1},onFocus(e){if(c.current)return;let t=iC(e.nativeEvent);if(s&&aB(t)){if(iH&&!e.relatedTarget){if(!d.current&&!iT(t))return}else if(!function(e){if(!e||ip)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=aB(t)&&t.hasAttribute(iL("focus-guard"))&&"outside"===t.getAttribute("data-type");u.start(0,()=>{let e=iS(i.domReference?i.domReference.ownerDocument:document);(t||e!==i.domReference)&&(iO(a.current.floatingContext?.refs.floating.current,e)||iO(i.domReference,e)||o||r(!1,n,"focus"))})}}),[a,i.domReference,r,s,u]);return _.useMemo(()=>l?{reference:f}:{},[l,f])}globalThis.requestAnimationFrame;let iB=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=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}};class i${static create(){return new i$}static request(e){return iB.request(e)}static cancel(e){return iB.cancel(e)}currentId=null;request(e){this.cancel(),this.currentId=iB.request(()=>{this.currentId=null,e()})}cancel=()=>{null!==this.currentId&&(iB.cancel(this.currentId),this.currentId=null)};disposeEffect=()=>this.cancel}function iW(){let e=am(i$.create).current;return ag(e.disposeEffect),e}let iq={style:{transition:"none"}},iK={},iY=[],iG={fallbackAxisSide:"none"},iX={fallbackAxisSide:"end"},iQ={intentional:"onClick",sloppy:"onPointerDown"};function iJ(e){return{escapeKey:"boolean"==typeof e?e:e?.escapeKey??!1,outsidePress:"boolean"==typeof e?e:e?.outsidePress??!0}}function i0(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=aA(),v=a_("function"==typeof s?s:()=>!1),g="function"==typeof s?v:s,y=_.useRef(!1),{escapeKey:b,outsidePress:x}=iJ(p),{escapeKey:w,outsidePress:k}=iJ(h),j=_.useRef(null),S=ab(),O=ab(),C=_.useRef(!1),P=_.useRef(""),E=a_(e=>{P.current=e.pointerType}),T=a_(()=>{let e=P.current;return"string"==typeof c?c:c["pen"!==e&&e?e:"mouse"]}),I=a_(e=>{if(!n||!i||!l||"Escape"!==e.key||C.current)return;let t=a.current.floatingContext?.nodeId,o=m?iM(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")}),N=a_(e=>{let t=T();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}),L=a_(e=>{let t=()=>{I(e),iC(e)?.removeEventListener("keydown",t)};iC(e)?.addEventListener("keydown",t)}),z=a_(e=>{if(N(e))return;let t=a.current.insideReactTree;a.current.insideReactTree=!1;let n=y.current;if(y.current=!1,"intentional"===T()&&n||t||"function"==typeof g&&!g(e))return;let i=iC(e),l=`[${iL("inert")}]`,s=iE(o.floating).querySelectorAll(l),c=aB(i)?i:null;for(;c&&!a3(c);){let e=a9(c);if(a3(e)||!aB(e))break;c=e}if(s.length&&aB(i)&&!i.matches("html,body")&&!iO(i,o.floating)&&Array.from(s).every(e=>!iO(c,e)))return;if(a$(i)){let t=a3(i),n=a5(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&&iM(m.nodesRef.current,u).some(t=>iP(e,t.context?.elements.floating));if(iP(e,o.floating)||iP(e,o.domReference)||d)return;let f=m?iM(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")}),A=a_(e=>{if(!("sloppy"!==T()||!n||!i||iP(e,o.floating)||iP(e,o.domReference))){if("touch"===e.pointerType){j.current={startTime:Date.now(),startX:e.clientX,startY:e.clientY,dismissOnPointerUp:!1,dismissOnMouseDown:!0},S.start(1e3,()=>{j.current&&(j.current.dismissOnPointerUp=!1,j.current.dismissOnMouseDown=!1)});return}z(e)}}),R=a_(e=>{if(N(e)||(S.clear(),"mousedown"===e.type&&j.current&&!j.current.dismissOnMouseDown))return;let t=()=>{"pointerdown"===e.type?A(e):z(e),iC(e)?.removeEventListener(e.type,t)};iC(e)?.addEventListener(e.type,t)}),D=a_(e=>{if("sloppy"!==T()||"touch"!==e.pointerType||!j.current||iP(e,o.floating)||iP(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&&(z(e),S.clear(),j.current=null)}),M=a_(e=>{"sloppy"!==T()||"touch"!==e.pointerType||!j.current||iP(e,o.floating)||iP(e,o.domReference)||(j.current.dismissOnPointerUp&&z(e),S.clear(),j.current=null)});_.useEffect(()=>{if(!n||!i)return;a.current.__escapeKeyBubbles=b,a.current.__outsidePressBubbles=x;let e=new ay;function t(e){r(!1,e,"ancestor-scroll")}function s(){e.clear(),C.current=!0}function c(){e.start(5*!!a2(),()=>{C.current=!1})}let u=iE(o.floating);u.addEventListener("pointerdown",E,!0),l&&(u.addEventListener("keydown",w?L:I,w),u.addEventListener("compositionstart",s),u.addEventListener("compositionend",c)),g&&(u.addEventListener("click",k?R:z,k),u.addEventListener("pointerdown",k?R:z,k),u.addEventListener("pointermove",D,k),u.addEventListener("pointerup",M,k),u.addEventListener("mousedown",R,k));let d=[];return f&&(aB(o.domReference)&&(d=a8(o.domReference)),aB(o.floating)&&(d=d.concat(a8(o.floating))),!aB(o.reference)&&o.reference&&o.reference.contextElement&&(d=d.concat(a8(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:I,w),u.removeEventListener("compositionstart",s),u.removeEventListener("compositionend",c)),g&&(u.removeEventListener("click",k?R:z,k),u.removeEventListener("pointerdown",k?R:z,k),u.removeEventListener("pointermove",D,k),u.removeEventListener("pointerup",M,k),u.removeEventListener("mousedown",R,k)),d.forEach(e=>{e.removeEventListener("scroll",t)}),e.clear()}},[a,o,l,g,c,n,r,f,i,b,x,I,w,L,z,k,R,A,D,M,E]),_.useEffect(()=>{a.current.insideReactTree=!1},[a,g]);let Z=_.useMemo(()=>({onKeyDown:I,...u&&{[iQ[d]]:e=>{r(!1,e.nativeEvent,"reference-press")},..."intentional"!==d&&{onClick(e){r(!1,e.nativeEvent,"reference-press")}}}}),[I,r,u,d]),F=a_(e=>{let t=iC(e.nativeEvent);iO(o.floating,t)&&(y.current=!0)}),U=a_(()=>{a.current.insideReactTree=!0,O.start(0,()=>{a.current.insideReactTree=!1})}),H=_.useMemo(()=>({onKeyDown:I,onMouseDown:F,onMouseUp:F,onPointerDownCapture:U,onMouseDownCapture:U,onClickCapture:U}),[I,F,U]);return _.useMemo(()=>i?{reference:Z,floating:H}:{},[i,Z,H])}let i1=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]),i2=["top","right","bottom","left"],i4=Math.min,i3=Math.max,i5=Math.round,i6=Math.floor,i9=e=>({x:e,y:e}),i8={left:"right",right:"left",bottom:"top",top:"bottom"},i7={start:"end",end:"start"};function le(e,t){return"function"==typeof e?e(t):e}function lt(e){return e.split("-")[0]}function ln(e){return e.split("-")[1]}function lr(e){return"x"===e?"y":"x"}function lo(e){return"y"===e?"height":"width"}let la=new Set(["top","bottom"]);function li(e){return la.has(lt(e))?"y":"x"}function ll(e){return e.replace(/start|end/g,e=>i7[e])}let ls=["left","right"],lc=["right","left"],lu=["top","bottom"],ld=["bottom","top"];function lf(e){return e.replace(/left|right|bottom|top/g,e=>i8[e])}function lp(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function lh(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 lm(e,t,n){return Math.floor(e/t)!==n}function lv(e,t){return t<0||t>=e.current.length}function lg(e,t){return lb(e,{disabledIndices:t})}function ly(e,t){return lb(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function lb(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&&lx(e,a,r));return a}function lx(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 lw=0;function l_(e,t={}){let{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(lw);let a=()=>e?.focus({preventScroll:n});o?a():lw=requestAnimationFrame(a)}function lk(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function lj(e,t){return lk(t,e===ik||e===ij,e===iw||e===i_)}function lS(e,t,n){return lk(t,e===ij,n?e===iw:e===i_)||"Enter"===e||" "===e||""===e}function lO(e=[]){let t=e.map(e=>e?.reference),n=e.map(e=>e?.floating),r=e.map(e=>e?.item),o=_.useCallback(t=>lC(t,e,"reference"),t),a=_.useCallback(t=>lC(t,e,"floating"),n),i=_.useCallback(t=>lC(t,e,"item"),r);return _.useMemo(()=>({getReferenceProps:o,getFloatingProps:a,getItemProps:i}),[o,a,i])}function lC(e,t,n){let r=new Map,o="item"===n,a={};for(let t in"floating"===n&&(a.tabIndex=-1,a[iy]=""),e)o&&e&&(t===ib||t===ix)||(a[t]=e[t]);for(let i=0;ir.get(o)?.map(t=>t(...e)).find(e=>void 0!==e))):e[o]=a)}}let lE=_.createContext(void 0);function lT(e){let t=_.useContext(lE);if(void 0===t&&!e)throw Error("Base UI: MenuRootContext is missing. Menu parts must be placed within .");return t}let lI=_.createContext(null);function lN(e,t=!1,n=!1){let[r,o]=_.useState(e&&t?"idle":void 0),[a,i]=_.useState(e);return e&&!a&&(i(!0),o("starting")),e||!a||"ending"===r||n||o("ending"),e||a||"ending"!==r||o(void 0),aI(()=>{if(!e&&a&&"ending"!==r&&n){let e=i$.request(()=>{o("ending")});return()=>{i$.cancel(e)}}},[e,a,r,n]),aI(()=>{if(!e||t)return;let n=i$.request(()=>{em.flushSync(()=>{o(void 0)})});return()=>{i$.cancel(n)}},[t,e]),aI(()=>{if(!e||!t)return;e&&a&&"idle"!==r&&o("starting");let n=i$.request(()=>{o("idle")});return()=>{i$.cancel(n)}},[t,e,a,o,r]),_.useMemo(()=>({mounted:a,setMounted:i,transitionStatus:r}),[a,r])}function lL(e){let{enabled:t=!0,open:n,ref:r,onComplete:o}=e,a=ie(n),i=a_(o),l=function(e,t=!1){let n=iW();return a_((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||em.flushSync(r)})}t?n.request(e):e()})}})}(r,n);_.useEffect(()=>{t&&l(()=>{n===a.current&&i()})},[t,n,i,l,a])}let lz=_.createContext(void 0);function lA(e=!0){let t=_.useContext(lz);if(void 0===t&&!e)throw Error("Base UI: DirectionContext is missing.");return t?.direction??"ltr"}function lR(e){return e?.ownerDocument||document}let lD=()=>{},lM={},lZ={},lF="";class lU{lockCount=0;restore=null;timeoutLock=ay.create();timeoutUnlock=ay.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){if(0===this.lockCount||null!==this.restore)return;let t=lR(e).documentElement,n=aU(t).getComputedStyle(t).overflowY;if("hidden"===n||"clip"===n){this.restore=lD;return}let r=is||!function(e){if("undefined"==typeof document)return!1;let t=lR(e);return aU(t).innerWidth-t.documentElement.clientWidth>0}(e);this.restore=r?function(e){let t=lR(e).documentElement,n=t.style.overflow;return t.style.overflow="hidden",()=>{t.style.overflow=n}}(e):function(e){let t=lR(e),n=t.documentElement,r=t.body,o=aU(n),a=0,i=0,l=i$.create();if(il&&(o.visualViewport?.scale??1)!==1)return()=>{};function s(){let e=o.getComputedStyle(n),t=o.getComputedStyle(r);a=n.scrollTop,i=n.scrollLeft,lM={scrollbarGutter:n.style.scrollbarGutter,overflowY:n.style.overflowY,overflowX:n.style.overflowX},lF=n.style.scrollBehavior,lZ={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,lM),Object.assign(r.style,lZ),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 lH=new lU;function lV(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 lB=_.createContext(void 0);function l$(e=!0){let t=_.useContext(lB);if(void 0===t&&!e)throw Error("Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within .");return t}let lW=_.createContext(!1);function lq(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}let lK={};function lY(e,t,n,r,o){let a={...lQ(e,lK)};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 lX(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]=lq(e.style,r);break;case"className":e[n]=l0(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){lJ(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 lX(e){return"function"==typeof e}function lQ(e,t){return lX(e)?e(t):e??lK}function lJ(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function l0(e,t){return t?e?t+" "+e:t:e}let l1=[],l2={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:v=!0}=e,[g,y]=_.useState(null),[b,w]=_.useState(null),[k,j]=_.useState(),[S,O]=_.useState(!0),[C,P]=_.useState(null),[E,T]=_.useState(null),[I,N]=_.useState(!0),[L,z]=_.useState(!1),A=_.useRef(null),R=_.useRef(null),D=_.useRef(null),M=_.useRef([]),Z=_.useRef([]),F=ab(),U=l$(!0),H=_.useContext(lW);{let e=lT(!0),n=function(e){let t=_.useContext(lI);if(null===t&&!e)throw Error("Base UI: MenubarContext is missing. Menubar parts must be placed within .");return t}(!0);t=H&&e?{type:"menu",context:e}:n?{type:"menubar",context:n}:U?{type:"context-menu",context:U}:{type:void 0}}let V=aE();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,W="menu"===t.type?t.context.setAllowMouseEnter:z,q=p??("menu"===t.type||"menubar"===t.type&&t.context.hasSubmenuOpen),[K,Y]=aS({controlled:o,default:l,name:"MenuRoot",state:"open"}),G=_.useRef("context-menu"!==t.type),X=ab();_.useEffect(()=>{if(K||(A.current=null),"context-menu"===t.type){if(!K){X.clear(),G.current=!1;return}X.start(500,()=>{G.current=!0})}},[X,K,t.type]);let Q=_.useCallback(e=>{D.current=e,w(e)},[]),{mounted:J,setMounted:ee,transitionStatus:et}=lN(K),{openMethod:en,triggerProps:er,reset:eo}=function(e){let[t,n]=_.useState(null),r=a_((t,r)=>{e||n(r)}),o=a_(()=>{n(null)}),{onClick:a,onPointerDown:i}=function(e){let t=_.useRef(""),n=_.useCallback(n=>{n.defaultPrevented||(t.current=n.pointerType,e(n,n.pointerType))},[e]);return{onClick:_.useCallback(n=>{if(0===n.detail)return void e(n,"keyboard");"pointerType"in n&&e(n,n.pointerType),e(n,t.current),t.current=""},[e]),onPointerDown:n}}(r);return _.useMemo(()=>({openMethod:t,reset:o,triggerProps:{onClick:a,onPointerDown:i}}),[t,o,a,i])}(K);var ea={enabled:K&&B&&"trigger-hover"!==E&&"touch"!==en,mounted:J,open:K,referenceElement:b};let{enabled:ei=!0,mounted:el,open:es,referenceElement:ec=null}=ea;aI(()=>{if(ei&&il&&el&&!es){let e=lR(ec),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}}},[ei,el,es,ec]),aI(()=>{if(ei)return lH.acquire(ec)},[ei,ec]),K||S||O(!0);let eu=a_(()=>{ee(!1),N(!0),W(!1),i?.(!1),eo()});lL({enabled:!f,open:K,ref:R,onComplete(){K||eu()}});let ed=_.useRef(!0),ef=ab(),ep=a_((e,n,r)=>{if(K===e||!1===e&&n?.type==="click"&&"touch"===n.pointerType&&!ed.current)return;if(!e&&null!==C){let e=M.current[C];queueMicrotask(()=>{e?.setAttribute("tabindex","-1")})}e&&"trigger-focus"===r?(ed.current=!1,ef.start(300,()=>{ed.current=!0})):(ed.current=!0,ef.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),A.current=n??null}"trigger-hover"===r?(N(!0),F.start(500,()=>{N(!1)}),em.flushSync(l)):l(),"menubar"===t.type&&("trigger-focus"===r||"focus-out"===r||"trigger-hover"===r||"list-navigation"===r||"sibling-open"===r)?j("group"):o||i?j(o?"click":"dismiss"):j(void 0)});_.useImperativeHandle(f,()=>({unmount:eu}),[eu]),"context-menu"===t.type&&(n=t.context),_.useImperativeHandle(n?.positionerRef,()=>b,[b]),_.useImperativeHandle(n?.actionsRef,()=>({setOpen:ep}),[ep]),_.useEffect(()=>{K||F.clear()},[F,K]);let eh=aM({elements:{reference:g,floating:b},open:K,onOpenChange(e,t,n){ep(e,t,lV(n))}}),ev=iD(eh,{enabled:S&&q&&!s&&"context-menu"!==t.type&&("menubar"!==t.type||t.context.hasSubmenuOpen&&!K),handleClose:iU({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}}),eg=iV(eh,{enabled:!s&&!K&&"menubar"===t.type&&t.context.hasSubmenuOpen&&!U}),ey=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=_.useRef(void 0),d=iW(),f=_.useMemo(()=>({onPointerDown(e){u.current=e.pointerType},onMouseDown(e){let t=u.current,a=e.nativeEvent;if(0!==e.button||"click"===i||ig(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(ig(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 _.useMemo(()=>a?{reference:f}:iK,[a,f])}(eh,{enabled:!s&&"context-menu"!==t.type,event:K&&"menubar"===t.type?"click":"mousedown",toggle:!q||"menu"!==t.type,ignoreMouse:q&&"menu"===t.type,stickIfOpen:void 0===t.type&&I}),eb=i0(eh,{enabled:!s,bubbles:v&&"menu"===t.type,outsidePress:()=>"context-menu"!==t.type||A.current?.type==="contextmenu"||G.current}),ex=function(e,t={}){let{open:n,elements:r,floatingId:o}=e,{enabled:a=!0,role:i="dialog"}=t,l=aE(),s=r.domReference?.id||l,c=_.useMemo(()=>iN(r.floating)?.id||o,[r.floating,o]),u=i1.get(i)??i,d=null!=az(),f=_.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=_.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=_.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 _.useMemo(()=>a?{reference:f,floating:p,item:h}:{},[a,f,p,h])}(eh,{role:"menu"}),ew=lA(),e_=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:v="auto",focusItemOnHover:g=!0,openOnArrowKeyDown:y=!0,disabledIndices:b,orientation:x="vertical",parentOrientation:w,cols:k=1,scrollItemIntoView:j=!0,virtualItemRef:S,itemSizes:O,dense:C=!1}=t,P=ie(iN(o.floating)),E=az(),T=aA();aI(()=>{e.dataRef.current.orientation=x},[e,x]);let I=iI(o.domReference),N=_.useRef(v),L=_.useRef(u??-1),z=_.useRef(null),A=_.useRef(!0),R=a_(()=>{s(-1===L.current?null:L.current)}),D=_.useRef(R),M=_.useRef(!!o.floating),Z=_.useRef(n),F=_.useRef(!1),U=_.useRef(!1),H=ie(b),V=ie(n),B=ie(j),$=ie(u),[W,q]=_.useState(),K=a_(()=>{function e(e){m?(e.id?.endsWith("-fui-option")&&(e.id=`${a}-${Math.random().toString(16).slice(2,10)}`),q(e.id),T?.events.emit("virtualfocus",e),S&&(S.current=e)):l_(e,{sync:F.current,preventScroll:!0})}let t=i.current[L.current],n=U.current;t&&e(t),(F.current?e=>e():requestAnimationFrame)(()=>{let r=i.current[L.current]||t;if(!r)return;t||e(r);let o=B.current;o&&G&&(n||!A.current)&&r.scrollIntoView?.("boolean"==typeof o?{block:"nearest",inline:"nearest"}:o)})});aI(()=>{c&&(n&&o.floating?N.current&&null!=u&&(U.current=!0,L.current=u,R()):M.current&&(L.current=-1,D.current()))},[c,n,o.floating,u,R]),aI(()=>{if(c&&n&&o.floating)if(null==l){if(F.current=!1,null!=$.current)return;if(M.current&&(L.current=-1,K()),(!Z.current||!M.current)&&N.current&&(null!=z.current||!0===N.current&&null==z.current)){let e=0,t=()=>{null==i.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e+=1):(L.current=null==z.current||lS(z.current,x,h)||p?lg(i,H.current):ly(i,H.current),z.current=null,R())};t()}}else lv(i,l)||(L.current=l,K(),U.current=!1)},[c,n,o.floating,l,$,p,i,x,h,R,K,H]),aI(()=>{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=iS(iE(o.floating)),r=e.some(e=>e.context&&iO(e.context.elements.floating,n));t&&!r&&A.current&&t.focus({preventScroll:!0})},[c,o.floating,T,E,m]),aI(()=>{D.current=R,Z.current=n,M.current=!!o.floating}),aI(()=>{n||(z.current=null,N.current=v)},[n,v]);let Y=null!=l,G=_.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}){F.current=!0,e(t)},onClick:({currentTarget:e})=>e.focus({preventScroll:!0}),onMouseMove({currentTarget:t}){F.current=!0,U.current=!1,g&&e(t)},onPointerLeave({pointerType:e}){A.current&&"touch"!==e&&(F.current=!0,g&&(L.current=-1,R(),m||P.current?.focus({preventScroll:!0})))}}},[V,P,g,i,R,m]),X=_.useCallback(()=>w??T?.nodesRef.current.find(e=>e.id===E)?.context?.dataRef?.current.orientation,[E,T,w]),Q=a_(e=>{var t,a,l,s,c;if(A.current=!1,F.current=!0,229===e.which||!V.current&&e.currentTarget===P.current)return;if(p&&(t=e.key,a=x,l=h,s=k,"both"===a||"horizontal"===a&&s&&s>1?"Escape"===t:lk(a,l?t===i_:t===iw,t===ik))){lj(e.key,X())||ih(e),r(!1,e.nativeEvent,"list-navigation"),a$(o.domReference)&&(m?T?.events.emit("virtualfocus",o.domReference):o.domReference.focus());return}let u=L.current,v=lg(i,b),g=ly(i,b);if(I||("Home"===e.key&&(ih(e),L.current=v,R()),"End"===e.key&&(ih(e),L.current=g,R())),k>1){let t=O||Array.from({length:i.current.length},()=>({width:1,height:1})),n=function(e,t,n){let r=[],o=0;return e.forEach(({width:e,height:a},i)=>{let l=!1;for(n&&(o=0);!l;){let n=[];for(let r=0;rnull==r[e])?(n.forEach(e=>{r[e]=i}),l=!0):o+=1}}),[...r]}(t,k,C),r=n.findIndex(e=>null!=e&&!lx(i,e,b)),o=n.reduce((e,t,n)=>null==t||lx(i,t,b)?e:n,-1),a=n[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&&ih(t),-1===c)d=s;else if(d=lb(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:i}),r&&(c-ae?n:n-a}lv(e,d)&&(d=c)}if(t.key===ij&&(u&&ih(t),-1===c?d=l:(d=lb(e,{startingIndex:c,amount:a,disabledIndices:i}),r&&c+a>s&&(d=lb(e,{startingIndex:c%a-a,amount:a,disabledIndices:i}))),lv(e,d)&&(d=c)),"both"===n){let n=i6(c/a);t.key===(o?iw:i_)&&(u&&ih(t),c%a!=a-1?(d=lb(e,{startingIndex:c,disabledIndices:i}),r&&lm(d,a,n)&&(d=lb(e,{startingIndex:c-c%a-1,disabledIndices:i}))):r&&(d=lb(e,{startingIndex:c-c%a-1,disabledIndices:i})),lm(d,a,n)&&(d=c)),t.key===(o?i_:iw)&&(u&&ih(t),c%a!=0?(d=lb(e,{startingIndex:c,decrement:!0,disabledIndices:i}),r&&lm(d,a,n)&&(d=lb(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i}))):r&&(d=lb(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:i})),lm(d,a,n)&&(d=c));let l=i6(s/a)===n;lv(e,d)&&(d=r&&l?t.key===(o?i_:iw)?s:lb(e,{startingIndex:c-c%a-1,disabledIndices:i}):c)}return d}({current:n.map(e=>null!=e?i.current[e]:null)},{event:e,orientation:x,loop:f,rtl:h,cols:k,disabledIndices:(c=[...("function"!=typeof b?b:null)||i.current.map((e,t)=>lx(i,t,b)?t:void 0),void 0],n.flatMap((e,t)=>c.includes(e)?[t]:[])),minIndex:r,maxIndex:o,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>g?v:L.current,t,n,k,e.key===ij?"bl":e.key===(h?iw:i_)?"tr":"tl"),stopEvent:!0})];if(null!=a&&(L.current=a,R()),"both"===x)return}if(lj(e.key,x)){if(ih(e),n&&!m&&iS(e.currentTarget.ownerDocument)===e.currentTarget){L.current=lS(e.key,x,h)?v:g,R();return}lS(e.key,x,h)?f?L.current=u>=g?d&&u!==i.current.length?-1:v:lb(i,{startingIndex:u,disabledIndices:b}):L.current=Math.min(g,lb(i,{startingIndex:u,disabledIndices:b})):f?L.current=u<=v?d&&-1!==u?i.current.length:g:lb(i,{startingIndex:u,decrement:!0,disabledIndices:b}):L.current=Math.max(v,lb(i,{startingIndex:u,decrement:!0,disabledIndices:b})),lv(i,L.current)&&(L.current=-1),R()}}),J=_.useMemo(()=>m&&n&&Y&&{"aria-activedescendant":W},[m,n,Y,W]),ee=_.useMemo(()=>({"aria-orientation":"both"===x?void 0:x,...!I?J:{},onKeyDown(e){if("Tab"===e.key&&e.shiftKey&&n&&!m){ih(e),r(!1,e.nativeEvent,"list-navigation"),a$(o.domReference)&&o.domReference.focus();return}Q(e)},onPointerMove(){A.current=!0}}),[J,Q,x,I,r,n,m,o.domReference]),et=_.useMemo(()=>{function e(e){"auto"===v&&im(e.nativeEvent)&&(N.current=!0)}function t(e){N.current=v,"auto"===v&&iv(e.nativeEvent)&&(N.current=!0)}return{...J,onKeyDown(e){var t,o;A.current=!1;let a=e.key.startsWith("Arrow"),l=(t=e.key,o=X(),lk(o,h?t===iw:t===i_,t===ij)),s=lj(e.key,x),c=(p?l:s)||"Enter"===e.key||""===e.key.trim();if(m&&n)return Q(e);if(n||y||!a){if(c){let t=lj(e.key,X());z.current=p&&t?null:e.key}if(p){l&&(ih(e),n?(L.current=lg(i,H.current),R()):r(!0,e.nativeEvent,"list-navigation"));return}s&&(null!=u&&(L.current=u),ih(e),!n&&y?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,v,i,p,R,r,n,y,x,X,h,u,m]);return _.useMemo(()=>c?{reference:et,floating:ee,item:G}:{},[c,et,ee,G])}(eh,{enabled:!s,listRef:M,activeIndex:C,nested:void 0!==t.type,loop:u,orientation:d,parentOrientation:"menubar"===t.type?t.context.orientation:void 0,rtl:"rtl"===ew,disabledIndices:l1,onNavigate:P,openOnArrowKeyDown:"context-menu"!==t.type}),ek=_.useRef(!1),ej=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=ab(),h=_.useRef(""),m=_.useRef(f??a??-1),v=_.useRef(null),g=a_(i),y=a_(l),b=ie(c),x=ie(d);aI(()=>{n&&(p.clear(),v.current=null,h.current="")},[n,p]),aI(()=>{n&&""===h.current&&(m.current=f??a??-1)},[n,f,a]);let w=a_(e=>{e?r.current.typing||(r.current.typing=e,y(e)):r.current.typing&&(r.current.typing=e,y(e))}),k=a_(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&&ih(e)),null==r||x.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;n&&" "!==e.key&&(ih(e),w(!0)),r.every(e=>!e||e[0]?.toLocaleLowerCase()!==e[1]?.toLocaleLowerCase())&&h.current===e.key&&(h.current="",m.current=v.current),h.current+=e.key,p.start(u,()=>{h.current="",m.current=v.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?(g(i),v.current=i):" "!==e.key&&(h.current="",w(!1))}),j=_.useMemo(()=>({onKeyDown:k}),[k]),S=_.useMemo(()=>({onKeyDown:k,onKeyUp(e){" "===e.key&&w(!1)}}),[k,w]);return _.useMemo(()=>s?{reference:j,floating:S}:{},[s,j,S])}(eh,{listRef:Z,activeIndex:C,resetMs:500,onMatch:e=>{K&&e!==C&&P(e)},onTypingChange:_.useCallback(e=>{ek.current=e},[])}),{getReferenceProps:eS,getFloatingProps:eO,getItemProps:eC}=lO([ev,ey,eb,eg,ex,e_,ej]),eP=function(e){let{enabled:t=!0,mouseDownAction:n,open:r}=e,o=_.useRef(!1);return _.useMemo(()=>t?{onMouseDown:e=>{("open"===n&&!r||"close"===n&&r)&&(o.current=!0,lR(e.currentTarget).addEventListener("click",()=>{o.current=!1},{once:!0}))},onClick:e=>{o.current&&(o.current=!1,e.preventBaseUIHandler())}}:iK,[t,n,r])}({open:K,enabled:"menubar"===t.type,mouseDownAction:"open"}),eE=_.useMemo(()=>{let e=lY(eS(),{onMouseEnter(){O(!0)},onMouseMove(){W(!0)}},er,eP);return delete e.role,e},[eS,eP,W,er]),eT=_.useMemo(()=>eO({onMouseEnter(){q&&"menu"!==t.type||O(!1)},onMouseMove(){W(!0)},onClick(){q&&O(!1)}}),[eO,q,t.type,W]),eI=_.useMemo(()=>eC(),[eC]),eN=_.useMemo(()=>({activeIndex:C,setActiveIndex:P,allowMouseUpTriggerRef:t.type?t.context.allowMouseUpTriggerRef:l2,floatingRootContext:eh,itemProps:eI,popupProps:eT,triggerProps:eE,itemDomElements:M,itemLabels:Z,mounted:J,open:K,popupRef:R,positionerRef:D,setOpen:ep,setPositionerElement:Q,triggerElement:g,setTriggerElement:y,transitionStatus:et,lastOpenChangeReason:E,instantType:k,onOpenChangeComplete:i,setHoverEnabled:O,typingRef:ek,modal:B,disabled:s,parent:t,rootId:V,allowMouseEnter:$,setAllowMouseEnter:W}),[C,eh,eI,eT,eE,M,Z,J,K,D,ep,et,g,Q,E,k,i,B,s,t,V,$,W]),eL=(0,x.jsx)(lE.Provider,{value:eN,children:r});return void 0===t.type||"context-menu"===t.type?(0,x.jsx)(aD,{children:eL}):eL};function l3(e,t,n,r){var o,a,i,l,s;let c=am(l5).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)&&l6(c,[e,t,n,r]),c.callback}function l5(){return{callback:null,cleanup:null,refs:[]}}function l6(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{for(let e=0;e"starting"===e?l8:"ending"===e?l7:null},st=function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=l9.startingStyle]="startingStyle",e[e.endingStyle=l9.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e}({}),sn=function(e){return e.popupOpen="data-popup-open",e.pressed="data-pressed",e}({}),sr={[sn.popupOpen]:""},so={[sn.popupOpen]:"",[sn.pressed]:""},sa={[st.open]:""},si={[st.closed]:""},sl={[st.anchorHidden]:""},ss={open:e=>e?sr:null},sc={open:e=>e?so:null},su={open:e=>e?sa:si,anchorHidden:e=>e?sl:null},sd=parseInt(_.version,10);function sf(e,t,n={}){let r=t.render,o=function(e,t={}){var n,r;let o,{className:a,render:i}=e,{state:l=iK,ref:s,props:c,disableStyleHooks:u,customStyleHookMapping:d,enabled:f=!0}=t,p=f?(n=a,r=l,"function"==typeof n?n(r):n):void 0;!0!==u&&(o=_.useMemo(()=>f?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}(l,d):iK,[l,d,f]));let h=f?lq(o,Array.isArray(c)?function(e){if(0===e.length)return lK;if(1===e.length)return lQ(e[0],lK);let t={...lQ(e[0],lK)};for(let n=1;ne!==n[t]))&&l6(r,e),r.callback}([h.ref,sp(i),...s]):h.ref=l3(h.ref,sp(i),s):l3(null,null)),f)?(void 0!==p&&(h.className=l0(h.className,p)),h):iK}(t,n);return!1===n.enabled?null:function(e,t,n,r){if(t){if("function"==typeof t)return t(n,r);let e=lY(n,t.props);return e.ref=n.ref,_.cloneElement(t,e)}if(e&&"string"==typeof e){var o,a;return o=e,a=n,"button"===o?(0,x.jsx)("button",{type:"button",...a}):"img"===o?(0,x.jsx)("img",{alt:"",...a}):_.createElement(o,a)}throw Error("Base UI: Render element or function are not defined.")}(e,r,o,n.state??iK)}function sp(e){return e&&"function"!=typeof e?sd>=19?e.props.ref:e.ref:null}let sh=_.createContext(void 0);function sm(e=!1){let t=_.useContext(sh);if(void 0===t&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within .");return t}function sv(e={}){let{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:o=!0}=e,a=_.useRef(null),i=void 0!==sm(!0),l=a_(()=>{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:_.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 aI(()=>{let e=a.current;e instanceof HTMLButtonElement&&i&&t&&void 0===s.disabled&&e.disabled&&(e.disabled=!1)},[t,s.disabled,i]),{getButtonProps:_.useCallback((e={})=>{let{onClick:n,onMouseDown:r,onKeyUp:a,onKeyDown:i,onPointerDown:c,...u}=e;return lY({type:o?"button":void 0,onClick(e){if(t)return void e.preventDefault();n?.(e)},onMouseDown(e){t||r?.(e)},onKeyDown(e){if(t||(lJ(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||(lJ(e),a?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||o||t||" "!==e.key||n?.(e))},onPointerDown(e){if(t)return void e.preventDefault();c?.(e)}},o?void 0:{role:"button"},s,u)},[t,s,o,l]),buttonRef:a}}let sg=_.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}}),sy=function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e}({});function sb(e={}){let{label:t,metadata:n,textRef:r,indexGuessBehavior:o}=e,{register:a,unregister:i,subscribeMapChange:l,elementsRef:s,labelsRef:c,nextIndexRef:u}=_.useContext(sg),d=_.useRef(-1),[f,p]=_.useState(o===sy.GuessFromOrder?()=>{if(-1===d.current){let e=u.current;u.current+=1,d.current=e}return d.current}:-1),h=_.useRef(null),m=_.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 aI(()=>{let e=h.current;if(e)return a(e,n),()=>{i(e)}},[a,i,n]),aI(()=>l(e=>{let t=h.current?e.get(h.current)?.index:null;null!=t&&p(t)}),[l,p]),_.useMemo(()=>({ref:m,index:f}),[f,m])}function sx(e){let{render:t,className:n,state:r=iK,props:o=iY,refs:a=iY,metadata:i,customStyleHookMapping:l,tag:s="div",...c}=e,{compositeProps:u,compositeRef:d}=function(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:r}=sm(),{ref:o,index:a}=sb(e),i=n===a,l=_.useRef(null),s=l3(o,l);return{compositeProps:_.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 sf(s,e,{state:r,ref:[...a,d],props:[u,...o,c],customStyleHookMapping:l})}let sw=_.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}=lT(),v=o||s,g=_.useRef(null),y=ab(),{getButtonProps:b,buttonRef:w}=sv({disabled:v,native:a}),k=l3(w,c),{events:j}=aA();_.useEffect(()=>{u||void 0!==p.type||(d.current=!1)},[d,u,p.type]);let S=a_(e=>{if(!g.current)return;y.clear(),d.current=!1;let t=e.target;if(iO(g.current,t)||iO(f.current,t)||t===g.current||null!=t&&function e(t){return a$(t)&&t.hasAttribute("data-rootownerid")?t.getAttribute("data-rootownerid")??void 0:a3(t)?void 0:e(a9(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}}(g.current);e.clientX>=n.left-2&&e.clientX<=n.right+2&&e.clientY>=n.top-2&&e.clientY<=n.bottom+2||j.emit("close",{domEvent:e,reason:"cancel-open"})});_.useEffect(()=>{u&&"trigger-hover"===h&&lR(g.current).addEventListener("mouseup",S,{once:!0})},[u,S,h]);let O="menubar"===p.type,C=_.useCallback(e=>lY(O?{role:"menuitem"}:{},{"aria-haspopup":"menu",ref:k,onMouseDown:e=>{u||(y.start(200,()=>{d.current=!0}),lR(e.currentTarget).addEventListener("mouseup",S,{once:!0}))}},e,b),[b,k,u,d,y,S,O]),P=_.useMemo(()=>({disabled:v,open:u}),[v,u]),E=[g,t,w],T=[l,i,C],I=sf("button",e,{enabled:!O,customStyleHookMapping:sc,state:P,ref:E,props:T});return O?(0,x.jsx)(sx,{tag:"button",render:n,className:r,state:P,refs:E,props:T,customStyleHookMapping:sc}):I}),s_={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=_.forwardRef(function(e,t){let[n,r]=_.useState();return aI(()=>{ic&&r("button")},[]),(0,x.jsx)("span",{...e,ref:t,tabIndex:0,role:n,"aria-hidden":!n||void 0,style:s_,"data-base-ui-focus-guard":""})});var sj='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])',sS="undefined"==typeof Element,sO=sS?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,sC=!sS&&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},sP=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)},sE=function(e){var t,n=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===n||"true"===n},sT=function(e,t,n){if(sP(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(sj));return t&&sO.call(e,sj)&&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(!sP(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{sO.call(i,sj)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!sP(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},sN=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},sL=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||sE(e))&&!sN(e)?0:e.tabIndex},sz=function(e,t){var n=sL(e);return n<0&&t&&!sN(e)?0:n},sA=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},sR=function(e){return"INPUT"===e.tagName},sD=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(sO.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return sU(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=sC(e);if(i&&!i.shadowRoot&&!0===r(i))return sU(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},sV=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;nsL(t))&&!!sB(e,t)},sW=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},sq=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(sA).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},sK=function(e,t){return sq((t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:s$.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:sW}):sT(e,t.includeContainer,s$.bind(null,t)))},sY=function(e,t){return(t=t||{}).getShadowRoot?sI([e],t.includeContainer,{filter:sB.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):sT(e,t.includeContainer,sB.bind(null,t))},sG=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==sO.call(e,sj)&&s$(t,e)};let sX=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function sQ(e,t){let n=sK(e,sX()),r=n.length;if(0===r)return;let o=iS(iE(e)),a=n.indexOf(o);return n[-1===a?1===t?0:r-1:a+t]}function sJ(e){return sQ(iE(e).body,1)||e}function s0(e){return sQ(iE(e).body,-1)||e}function s1(e,t){let n=t||e.currentTarget,r=e.relatedTarget;return!r||!iO(n,r)}function s2(e){sK(e,sX()).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 s3=_.createContext(null),s5=()=>_.useContext(s3),s6=iL("portal");function s9(e={}){let{id:t,root:n}=e,r=aE(),o=s5(),[a,i]=_.useState(null),l=_.useRef(null);return aI(()=>()=>{a?.remove(),queueMicrotask(()=>{l.current=null})},[a]),aI(()=>{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]),aI(()=>{if(null===n||!r||l.current)return;let e=n||o?.portalNode;e&&!aV(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]=_.useState(null),s=_.useRef(null),c=_.useRef(null),u=_.useRef(null),d=_.useRef(null),f=i?.modal,p=i?.open,h=!!i&&!i.modal&&i.open&&o&&!!(r||a);return _.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&&s1(e)){let t="focusin"===e.type;(t?s4:s2)(a)}}},[a,o,f]),_.useEffect(()=>{a&&(p||s4(a))},[p,a]),(0,x.jsxs)(s3.Provider,{value:_.useMemo(()=>({preserveTabOrder:o,beforeOutsideRef:s,afterOutsideRef:c,beforeInsideRef:u,afterInsideRef:d,portalNode:a,setFocusManagerState:l}),[o,a]),children:[h&&a&&(0,x.jsx)(sk,{"data-type":"outside",ref:s,onFocus:e=>{if(s1(e,a))u.current?.focus();else{let e=s0(i?i.domReference:null);e?.focus()}}}),h&&a&&(0,x.jsx)("span",{"aria-owns":a.id,style:s_}),a&&em.createPortal(t,a),h&&a&&(0,x.jsx)(sk,{"data-type":"outside",ref:c,onFocus:e=>{if(s1(e,a))d.current?.focus();else{let t=sJ(i?i.domReference:null);t?.focus(),i?.closeOnFocusOut&&i?.onOpenChange(!1,e.nativeEvent,"focus-out")}}})]})}let s7=_.createContext(void 0);function ce(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=lT();return o||n?(0,x.jsx)(s7.Provider,{value:n,children:(0,x.jsx)(s8,{root:r,children:t})}):null}let ct=_.createContext(void 0);function cn(e,t,n){let r,{reference:o,floating:a}=e,i=li(t),l=lr(li(t)),s=lo(l),c=lt(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(ln(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;ne[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=lt(n),l=ln(n),s="y"===li(n),c=cl.has(i)?-1:1,u=a&&s?-1:1,d=le(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=a5(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=a$(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=i5(n)!==a||i5(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function cu(e){return aB(e)?e:e.contextElement}function cd(e){let t=cu(e);if(!a$(t))return i9(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:a}=cc(t),i=(a?i5(n.width):n.width)/r,l=(a?i5(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}let cf=i9(0);function cp(e){let t=aU(e);return a2()&&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=i9(1);t&&(r?aB(r)&&(c=cd(r)):c=cd(e));let u=(o=s,void 0===(a=n)&&(a=!1),(i=r)&&(!a||i===aU(o))&&a)?cp(s):i9(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=aU(s),t=r&&aB(r)?aU(r):r,n=e,o=a7(n);for(;o&&r&&t!==n;){let e=cd(o),t=o.getBoundingClientRect(),r=a5(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=a7(n=aU(o))}}return lh({width:p,height:h,x:d,y:f})}function cm(e,t){let n=a6(e).scrollLeft;return t?t.left+n:ch(aH(e)).left+n}function cv(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 cg=new Set(["absolute","fixed"]);function cy(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=aU(e),r=aH(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;let e=a2();(!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)r=function(e){let t=aH(e),n=a6(e),r=e.ownerDocument.body,o=i3(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i3(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),i=-n.scrollLeft+cm(e),l=-n.scrollTop;return"rtl"===a5(r).direction&&(i+=i3(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(aH(e));else if(aB(t))r=function(e,t){let n=ch(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=a$(e)?cd(e):i9(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,s=o*a.x;return{width:i,height:l,x:s,y:r*a.y}}(t,n);else{let n=cp(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return lh(r)}function cb(e){return"static"===a5(e).position}function cx(e,t){if(!a$(e)||"fixed"===a5(e).position)return null;if(t)return t(e);let n=e.offsetParent;return aH(e)===n&&(n=n.ownerDocument.body),n}function cw(e,t){var n;let r=aU(e);if(aX(e))return r;if(!a$(e)){let t=a9(e);for(;t&&!a3(t);){if(aB(t)&&!cb(t))return t;t=a9(t)}return r}let o=cx(e,t);for(;o&&(n=o,aY.has(aF(n)))&&cb(o);)o=cx(o,t);return o&&a3(o)&&cb(o)&&!a1(o)?r:o||function(e){let t=a9(e);for(;a$(t)&&!a3(t);){if(a1(t))return t;if(aX(t))break;t=a9(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=a$(t),o=aH(t),a="fixed"===n,i=ch(e,!0,a,t),l={scrollLeft:0,scrollTop:0},s=i9(0);if(r||!r&&!a)if(("body"!==aF(t)||aK(o))&&(l=a6(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?i9(0):cv(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}}},ck={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,a="fixed"===o,i=aH(r),l=!!t&&aX(t.floating);if(r===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},c=i9(1),u=i9(0),d=a$(r);if((d||!d&&!a)&&(("body"!==aF(r)||aK(i))&&(s=a6(r)),a$(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?i9(0):cv(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:aH,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,a=[..."clippingAncestors"===n?aX(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=a8(e,[],!1).filter(e=>aB(e)&&"body"!==aF(e)),o=null,a="fixed"===a5(e).position,i=a?a9(e):e;for(;aB(i)&&!a3(i);){let t=a5(i),n=a1(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&!!o&&cg.has(o.position)||aK(i)&&!n&&function e(t,n){let r=a9(t);return!(r===n||!aB(r)||a3(r))&&("fixed"===a5(r).position||e(r,n))}(e,i))?r=r.filter(e=>e!==i):o=t,i=a9(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],l=a.reduce((e,n)=>{let r=cy(t,n,o);return e.top=i3(r.top,e.top),e.right=i4(r.right,e.right),e.bottom=i4(r.bottom,e.bottom),e.left=i3(r.left,e.left),e},cy(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:aB,isRTL:function(e){return"rtl"===a5(e).direction}};function cj(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?a8(u):[],...a8(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=aH(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=i6(d),m=i6(o.clientWidth-(u+f)),v=i6(o.clientHeight-(d+p)),g={rootMargin:-h+"px "+-m+"px "+-v+"px "+-i6(u)+"px",threshold:i3(0,i4(1,s))||1},y=!0;function b(t){let r=t[0].intersectionRatio;if(r!==s){if(!y)return i();r?i(!1,r):n=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||cj(c,e.getBoundingClientRect())||i(),y=!1}try{r=new IntersectionObserver(b,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,g)}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&&!cj(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?_.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 cI(e){let t=_.useRef(e);return cC(()=>{t.current=e}),t}function cN(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:cN(t,lt(o),n),align:ln(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function cz(e){var t,n,r,o,a;let i,l,s,c,u,d,f,p,h,m,v,g,y,{anchor:b,positionMethod:x="absolute",side:w="bottom",sideOffset:k=0,align:j="center",alignOffset:S=0,collisionBoundary:O,collisionPadding:C=5,sticky:P=!1,arrowPadding:E=5,trackAnchor:T=!0,keepMounted:I=!1,floatingRootContext:N,mounted:L,collisionAvoidance:z,shiftCrossAxis:A=!1,nodeId:R,adaptiveOrigin:D}=e,M=z.side||"flip",Z=z.align||"flip",F=z.fallbackAxisSide||"end",U="function"==typeof b?b:void 0,H=a_(U),V=U?H:b,B=ie(b),$="rtl"===lA(),W={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":$?"left":"right","inline-start":$?"right":"left"}[w],q="center"===j?W:`${W}-${j}`,K={boundary:"clipping-ancestors"===O?"clippingAncestors":O,padding:C},Y=_.useRef(null),G=ie(k),X=ie(S),Q="function"!=typeof k?k:0,J=[(i=e=>{let t=cL(e,w,$),n="function"==typeof G.current?G.current(t):G.current,r="function"==typeof X.current?X.current(t):X.current;return{mainAxis:n,crossAxis:r,alignmentAxis:r}},l=[Q,"function"!=typeof S?S:0,$,w],{...(void 0===(t=i)&&(t=0),{name:"offset",options:t,async fn(e){var n,r;let{x:o,y:a,placement:i,middlewareData:l}=e,s=await cs(e,t);return i===(null==(n=l.offset)?void 0:n.placement)&&null!=(r=l.arrow)&&r.alignmentOffset?{}:{x:o+s.x,y:a+s.y,data:{...s,placement:i}}}}),options:[i,l]})],ee="none"===Z&&"shift"!==M,et=!ee&&(P||A||"shift"===M),en="none"===M?null:{...{name:"flip",options:n=s={...K,mainAxis:!A&&"flip"===M,crossAxis:"flip"===Z&&"alignment",fallbackAxisSideDirection:F},async fn(e){var t,r,o,a,i;let{placement:l,middlewareData:s,rects:c,initialPlacement:u,platform:d,elements:f}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:y=!0,...b}=le(n,e);if(null!=(t=s.arrow)&&t.alignmentOffset)return{};let x=lt(l),w=li(u),_=lt(u)===u,k=await (null==d.isRTL?void 0:d.isRTL(f.floating)),j=m||(_||!y?[lf(u)]:function(e){let t=lf(e);return[ll(e),t,ll(t)]}(u)),S="none"!==g;!m&&S&&j.push(...function(e,t,n,r){let o=ln(e),a=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?lc:ls;return t?ls:lc;case"left":case"right":return t?lu:ld;default:return[]}}(lt(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(ll)))),a}(u,y,g,k));let O=[u,...j],C=await co(e,b),P=[],E=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&P.push(C[x]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=ln(e),o=lr(li(e)),a=lo(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=lf(i)),[i,lf(i)]}(l,c,k);P.push(C[e[0]],C[e[1]])}if(E=[...E,{placement:l,overflows:P}],!P.every(e=>e<=0)){let e=((null==(o=s.flip)?void 0:o.index)||0)+1,t=O[e];if(t&&("alignment"!==h||w===li(t)||E.every(e=>li(e.placement)!==w||e.overflows[0]>0)))return{data:{index:e,overflows:E},reset:{placement:t}};let n=null==(a=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:a.placement;if(!n)switch(v){case"bestFit":{let e=null==(i=E.filter(e=>{if(S){let t=li(e.placement);return t===w||"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:i[0];e&&(n=e);break}case"initialPlacement":n=u}if(l!==n)return{reset:{placement:n}}}return{}}},options:[s,c]},er=ee?null:(u=e=>{var t;let n,r,o=lR(e.elements.floating).documentElement;return{...K,rootBoundary:A?{x:0,y:0,width:o.clientWidth,height:o.clientHeight}:void 0,mainAxis:"none"!==Z,crossAxis:et,limiter:P||A?void 0:{...(void 0===(t=n=()=>{if(!Y.current)return{};let{height:e}=Y.current.getBoundingClientRect();return{offset:e/2+("number"==typeof C?C:0)}})&&(t={}),{options:t,fn(e){let{x:n,y:r,placement:o,rects:a,middlewareData:i}=e,{offset:l=0,mainAxis:s=!0,crossAxis:c=!0}=le(t,e),u={x:n,y:r},d=li(o),f=lr(d),p=u[f],h=u[d],m=le(l,e),v="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]+v.mainAxis,n=a.reference[f]+a.reference[e]-v.mainAxis;pn&&(p=n)}if(c){var g,y;let e="y"===f?"width":"height",t=cl.has(lt(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(g=i.offset)?void 0:g[d])||0)+(t?0:v.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(y=i.offset)?void 0:y[d])||0)-(t?v.crossAxis:0);hr&&(h=r)}return{[f]:p,[d]:h}}}),options:[n,r]}}},d=[K,P,A,C,Z],{...(void 0===(r=u)&&(r={}),{name:"shift",options:r,async fn(e){let{x:t,y:n,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=le(r,e),c={x:t,y:n},u=await co(e,s),d=li(lt(o)),f=lr(d),p=c[f],h=c[d];if(a){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=p+u[e],r=p-u[t];p=i3(n,i4(p,r))}if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=h+u[e],r=h-u[t];h=i3(n,i4(h,r))}let m=l.fn({...e,[f]:p,[d]:h});return{...m,data:{x:m.x-t,y:m.y-n,enabled:{[f]:a,[d]:i}}}}}),options:[u,d]});"shift"===M||"shift"===Z||"center"===j?J.push(er,en):J.push(en,er),J.push({...{name:"size",options:o=f={...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,a,{placement:i,rects:l,platform:s,elements:c}=e,{apply:u=()=>{},...d}=le(o,e),f=await co(e,d),p=lt(i),h=ln(i),m="y"===li(i),{width:v,height:g}=l.floating;"top"===p||"bottom"===p?(r=p,a=h===(await (null==s.isRTL?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(a=p,r="end"===h?"top":"bottom");let y=g-f.top-f.bottom,b=v-f.left-f.right,x=i4(g-f[r],y),w=i4(v-f[a],b),_=!e.middlewareData.shift,k=x,j=w;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(j=b),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(k=y),_&&!h){let e=i3(f.left,0),t=i3(f.right,0),n=i3(f.top,0),r=i3(f.bottom,0);m?j=v-2*(0!==e||0!==t?e+t:i3(f.left,f.right)):k=g-2*(0!==n||0!==r?n+r:i3(f.top,f.bottom))}await u({...e,availableWidth:j,availableHeight:k});let S=await s.getDimensions(c.floating);return v!==S.width||g!==S.height?{reset:{rects:!0}}:{}}},options:[f,p]},(h=()=>({element:Y.current||document.createElement("div"),padding:E,offsetParent:"floating"}),m=[E],{...{name:"arrow",options:v=h,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"}=le(v,e)||{};if(null==s)return{};let d=lp(c),f={x:t,y:n},p=lr(li(r)),h=lo(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 k=_/2-m[h]/2-1,j=Math.min(d[g?"top":"left"],k),S=Math.min(d[g?"bottom":"right"],k),O=_-m[h]-S,C=_/2-m[h]/2+(b/2-x/2),P=i3(j,i4(C,O)),E=!l.arrow&&null!=ln(r)&&C!==P&&o.reference[h]/2-(C("function"==typeof k?k(cL(e,w,$)):k),y={top:`${p}px calc(100% + ${k}px)`,bottom:`${p}px ${-k}px`,left:`calc(100% + ${k}px) ${h}px`,right:`${-k}px ${h}px`}[i],b=`${p}px ${o.reference.y+v-a}px`;return t.floating.style.setProperty("--transform-origin",et&&"y"===l&&g?b:y),{}}},D);let eo=N;!L&&N&&(eo={...N,elements:{reference:null,floating:null,domReference:null}});let ea=_.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:ev}=function(e={}){let{nodeId:t}=e,n=aM({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,o=r.elements,[a,i]=_.useState(null),[l,s]=_.useState(null),c=o?.domReference||a,u=_.useRef(null),d=aA();aI(()=>{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]=_.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=_.useState(r);cP(f,r)||p(r);let[h,m]=_.useState(null),[v,g]=_.useState(null),y=_.useCallback(e=>{e!==k.current&&(k.current=e,m(e))},[]),b=_.useCallback(e=>{e!==j.current&&(j.current=e,g(e))},[]),x=a||h,w=i||v,k=_.useRef(null),j=_.useRef(null),S=_.useRef(u),O=null!=s,C=cI(s),P=cI(o),E=cI(c),T=_.useCallback(()=>{if(!k.current||!j.current)return;let e={placement:t,strategy:n,middleware:f};P.current&&(e.platform=P.current),((e,t,n)=>{let r=new Map,o={platform:ck,...n},a={...o.platform,_c:r};return cr(e,t,{...o,platform:a})})(k.current,j.current,e).then(e=>{let t={...e,isPositioned:!1!==E.current};I.current&&!cP(S.current,t)&&(S.current=t,em.flushSync(()=>{d(t)}))})},[f,t,n,P,E]);cC(()=>{!1===c&&S.current.isPositioned&&(S.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let I=_.useRef(!1);cC(()=>(I.current=!0,()=>{I.current=!1}),[]),cC(()=>{if(x&&(k.current=x),w&&(j.current=w),x&&w){if(C.current)return C.current(x,w,T);T()}},[x,w,T,C,O]);let N=_.useMemo(()=>({reference:k,floating:j,setReference:y,setFloating:b}),[y,b]),L=_.useMemo(()=>({reference:x,floating:w}),[x,w]),z=_.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 _.useMemo(()=>({...u,update:T,refs:N,elements:L,floatingStyles:z}),[u,T,N,L,z])}({...e,elements:{...o,...l&&{reference:l}}}),p=_.useCallback(e=>{let t=aB(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;s(t),f.refs.setReference(t)},[f.refs]),h=_.useCallback(e=>{(aB(e)||null===e)&&(u.current=e,i(e)),(aB(f.refs.reference.current)||null===f.refs.reference.current||null!==e&&!aB(e))&&f.refs.setReference(e)},[f.refs]),m=_.useMemo(()=>({...f.refs,setReference:h,setPositionReference:p,domReference:u}),[f.refs,h,p]),v=_.useMemo(()=>({...f.elements,domReference:c}),[f.elements,c]),g=_.useMemo(()=>({...f,...r,refs:m,elements:v,nodeId:t}),[f,m,v,t,r]);return aI(()=>{r.dataRef.current.floatingContext=g;let e=d?.nodesRef.current.find(e=>e.id===t);e&&(e.context=g)}),_.useMemo(()=>({...f,context:g,refs:m,elements:v}),[f,m,v,g])}({rootContext:eo,placement:q,middleware:J,strategy:x,whileElementsMounted:I?void 0:(...e)=>cS(...e,ea),nodeId:R}),{sideX:eg,sideY:ey}=eu.adaptiveOrigin||{},eb=_.useMemo(()=>D?{position:x,[eg]:`${es}px`,[ey]:`${ec}px`}:ev,[D,eg,ey,x,es,ec,ev]),ex=_.useRef(null);aI(()=>{if(!L)return;let e=B.current,t="function"==typeof e?e():e,n=(cA(t)?t.current:t)||null;n!==ex.current&&(ei.setPositionReference(n),ex.current=n)},[L,ei,V,B]),_.useEffect(()=>{if(!L)return;let e=B.current;"function"!=typeof e&&cA(e)&&e.current!==ex.current&&(ei.setPositionReference(e.current),ex.current=e.current)},[L,ei,V,B]),_.useEffect(()=>{if(I&&L&&el.domReference&&el.floating)return cS(el.domReference,el.floating,ed,ea)},[I,L,el,ed,ea]);let ew=cN(w,lt(ef),$),e_=ln(ef)||"center",ek=!!eu.hide?.referenceHidden,ej=_.useMemo(()=>({position:"absolute",top:eu.arrow?.y,left:eu.arrow?.x}),[eu.arrow]),eS=eu.arrow?.centerOffset!==0;return _.useMemo(()=>({positionerStyles:eb,arrowStyles:ej,arrowRef:Y,arrowUncentered:eS,side:ew,align:e_,anchorHidden:ek,refs:ei,context:ep,isPositioned:eh,update:ed}),[eb,ej,Y,eS,ew,e_,ek,ei,ep,eh,ed])}function cA(e){return null!=e&&"current"in e}function cR(e){let{children:t,elementsRef:n,labelsRef:r,onMapChange:o}=e,a=_.useRef(0),i=am(cM).current,l=am(cD).current,[s,c]=_.useState(0),u=_.useRef(s),d=a_((e,t)=>{l.set(e,t??null),u.current+=1,c(u.current)}),f=a_(e=>{l.delete(e),u.current+=1,c(u.current)}),p=_.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]);aI(()=>{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=a_(e=>(i.add(e),()=>{i.delete(e)}));aI(()=>{i.forEach(e=>e(p))},[i,p]);let m=_.useMemo(()=>({register:d,unregister:f,subscribeMapChange:h,elementsRef:n,labelsRef:r,nextIndexRef:a}),[d,f,h,n,r,a]);return(0,x.jsx)(sg.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 cF=_.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,x.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...o,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:n}})}),cU=_.forwardRef(function(e,t){var n;let{anchor:r,positionMethod:o="absolute",className:a,render:i,side:l,align:s,sideOffset:c=0,alignOffset:u=0,collisionBoundary:d="clipping-ancestors",collisionPadding:f=5,arrowPadding:p=5,sticky:h=!1,trackAnchor:m=!0,collisionAvoidance:v=iG,...g}=e,{open:y,setOpen:b,floatingRootContext:w,setPositionerElement:k,itemDomElements:j,itemLabels:S,mounted:O,modal:C,lastOpenChangeReason:P,parent:E,setHoverEnabled:T,triggerElement:I}=lT(),N=function(){let e=_.useContext(s7);if(void 0===e)throw Error("Base UI: is missing.");return e}(),L=function(e){let t=aE(),n=aA(),r=az(),o=r;return aI(()=>{if(!t)return;let e={id:t,parentId:o};return n?.addNode(e),()=>{n?.removeNode(e)}},[n,t,o]),t}(),z=az(),A=l$(!0),R=r,D=c,M=u,Z=s;"context-menu"===E.type&&(R=E.context?.anchor??r,Z=e.align??"start",M=e.alignOffset??2,D=e.sideOffset??-5);let F=l,U=Z;"menu"===E.type?(F=F??"inline-end",U=U??"start"):"menubar"===E.type&&(F=F??"bottom",U=U??"start");let H="context-menu"===E.type,V=cz({anchor:R,floatingRootContext:w,positionMethod:A?"fixed":o,mounted:O,side:F,sideOffset:D,align:U,alignOffset:M,arrowPadding:H?0:p,collisionBoundary:d,collisionPadding:f,sticky:h,nodeId:L,keepMounted:N,trackAnchor:m,collisionAvoidance:v,shiftCrossAxis:H}),{events:B}=aA(),$=_.useMemo(()=>{let e={};return y||(e.pointerEvents="none"),{role:"presentation",hidden:!O,style:{...V.positionerStyles,...e}}},[y,O,V.positionerStyles]);_.useEffect(()=>{function e(e){e.open?(e.parentNodeId===L&&T(!1),e.nodeId!==L&&e.parentNodeId===z&&b(!1,void 0,"sibling-open")):e.parentNodeId===L&&T(!0)}return B.on("openchange",e),()=>{B.off("openchange",e)}},[B,L,z,b,T]),_.useEffect(()=>{B.emit("openchange",{open:y,nodeId:L,parentNodeId:z})},[B,y,L,z]);let W=_.useMemo(()=>({open:y,side:V.side,align:V.align,anchorHidden:V.anchorHidden,nested:"menu"===E.type}),[y,V.side,V.align,V.anchorHidden,E.type]),q=_.useMemo(()=>({side:V.side,align:V.align,arrowRef:V.arrowRef,arrowUncentered:V.arrowUncentered,arrowStyles:V.arrowStyles,floatingContext:V.context}),[V.side,V.align,V.arrowRef,V.arrowUncentered,V.arrowStyles,V.context]),K=sf("div",e,{state:W,customStyleHookMapping:su,ref:[t,k],props:{...$,...g}}),Y=O&&"menu"!==E.type&&("menubar"!==E.type&&C&&"trigger-hover"!==P||"menubar"===E.type&&E.context.modal),G=null;return"menubar"===E.type?G=E.context.contentElement:void 0===E.type&&(G=I),(0,x.jsxs)(ct.Provider,{value:q,children:[Y&&(0,x.jsx)(cF,{ref:"context-menu"===E.type||"nested-context-menu"===E.type?E.context.internalBackdropRef:null,inert:(n=!y,sd>=19?n:n?"true":void 0),cutout:G}),(0,x.jsx)(aR,{id:L,children:(0,x.jsx)(cR,{elementsRef:j,labelsRef:S,children:K})})]})}),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$={},cW=0,cq=e=>e&&(e.host||cq(e.parentNode)),cK=[];function cY(){cK=cK.filter(e=>e.isConnected)}function cG(){return cY(),cK[cK.length-1]}function cX(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let n=sX(),r=sY(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:v}}=t,g=a_(()=>h.current.floatingContext?.nodeId),y=a_(u),b="number"==typeof a&&a<0,w=iI(m)&&b,k=ie(o),j=ie(a),S=ie(i),O=aA(),C=s5(),P=_.useRef(null),E=_.useRef(null),T=_.useRef(!1),I=_.useRef(!1),N=_.useRef(-1),L=ab(),z=null!=C,A=iN(v),R=a_((e=A)=>e?sK(e,sX()):[]),D=a_(e=>{let t=R(e);return k.current.map(()=>t).filter(Boolean).flat()});_.useEffect(()=>{if(r||!s)return;function e(e){"Tab"===e.key&&iO(A,iS(iE(A)))&&0===R().length&&!w&&ih(e)}let t=iE(A);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[r,m,A,s,k,w,R,D]),_.useEffect(()=>{if(!r&&v)return v.addEventListener("focusin",e),()=>{v.removeEventListener("focusin",e)};function e(e){let t=iC(e),n=R().indexOf(t);-1!==n&&(N.current=n)}},[r,v,R]),_.useEffect(()=>{if(r||!c)return;function e(){I.current=!0}function t(e){let t=e.relatedTarget,n=e.currentTarget,r=iC(e);queueMicrotask(()=>{let o=g(),a=!(iO(m,t)||iO(v,t)||iO(t,v)||iO(C?.portalNode,t)||t?.hasAttribute(iL("focus-guard"))||O&&(iM(O.nodesRef.current,o).find(e=>iO(e.context?.elements.floating,t)||iO(e.context?.elements.domReference,t))||iZ(O.nodesRef.current,o).find(e=>[e.context?.elements.floating,iN(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(n===m&&A&&cX(A,k),l&&n!==m&&!r?.isConnected&&iS(iE(A))===iE(A).body){a$(A)&&A.focus();let e=N.current,t=R(),n=t[e]||t[t.length-1]||A;a$(n)&&n.focus()}if(h.current.insideReactTree){h.current.insideReactTree=!1;return}if(I.current){I.current=!1;return}(w||!s)&&t&&a&&t!==cG()&&(T.current=!0,f(!1,e,"focus-out"))})}let n=!!(!O&&C);function o(){h.current.insideReactTree=!0,L.start(0,()=>{h.current.insideReactTree=!1})}if(v&&a$(m))return m.addEventListener("focusout",t),m.addEventListener("pointerdown",e),v.addEventListener("focusout",t),n&&v.addEventListener("focusout",o,!0),()=>{m.removeEventListener("focusout",t),m.removeEventListener("pointerdown",e),v.removeEventListener("focusout",t),n&&v.removeEventListener("focusout",o,!0)}},[r,m,v,A,s,O,C,f,c,l,R,w,g,k,h,L]);let M=_.useRef(null),Z=_.useRef(null),F=l3(M,C?.beforeInsideRef),U=l3(Z,C?.afterInsideRef);_.useEffect(()=>{if(r||!v)return;let e=Array.from(C?.portalNode?.querySelectorAll(`[${iL("portal")}]`)||[]),t=O?iZ(O.nodesRef.current,g()):[],n=function(e,t=!1,n=!1){let r=iE(e[0]).body;return function(e,t,n,r){let o,a="data-base-ui-inert",i=r?"inert":n?"aria-hidden":null,l=(o=t,e.map(e=>{if(o.contains(e))return e;let t=cq(e);return o.contains(t)?t:null}).filter(e=>null!=e)),s=new Set,c=new Set(l),u=[];c$[a]||(c$[a]=new WeakMap);let d=c$[a];return l.forEach(function e(t){!(!t||s.has(t))&&(s.add(t),t.parentNode&&e(t.parentNode))}),function e(t){!t||c.has(t)||[].forEach.call(t.children,t=>{if("script"!==aF(t))if(s.has(t))e(t);else{let e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=cV(i),o=(r.get(t)||0)+1,l=(d.get(t)||0)+1;r.set(t,o),d.set(t,l),u.push(t),1===o&&n&&cB.add(t),1===l&&t.setAttribute(a,""),!n&&i&&t.setAttribute(i,"inert"===i?"":"true")}})}(t),s.clear(),cW+=1,()=>{u.forEach(e=>{let t=cV(i),n=(t.get(e)||0)-1,r=(d.get(e)||0)-1;t.set(e,n),d.set(e,r),n||(!cB.has(e)&&i&&e.removeAttribute(i),cB.delete(e)),r||e.removeAttribute(a)}),(cW-=1)||(cH.inert=new WeakMap,cH["aria-hidden"]=new WeakMap,cH.none=new WeakMap,cB=new WeakSet,c$={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}([v,t.find(e=>iI(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...y(),P.current,E.current,M.current,Z.current,C?.beforeOutsideRef.current,C?.afterOutsideRef.current,w?m:null].filter(e=>null!=e),s||w);return()=>{n()}},[r,m,v,s,k,C,w,O,g,y]),aI(()=>{if(r||!a$(A))return;let e=iS(iE(A));queueMicrotask(()=>{let t=D(A),n=j.current,r=("number"==typeof n?t[n]:n.current)||A,o=iO(A,e);b||o||!d||l_(r,{preventScroll:r===A})})},[r,d,A,b,D,j]),aI(()=>{var e;if(r||!A)return;let t=iE(A);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(im(t)||iv(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=iS(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,s_),z&&m&&m.insertAdjacentElement("afterend",o),()=>{p.off("openchange",n);let e=iS(t),r=iO(v,e)||O&&iM(O.nodesRef.current,g(),!1).some(t=>iO(t.context?.elements.floating,e)),a=function(){if("boolean"==typeof S.current){let e=m||cG();return e&&e.isConnected?e:o}return S.current.current||o}();queueMicrotask(()=>{let n=function(e){let t=sX();return sG(e,t)?e:sK(e,t)[0]||e}(a);S.current&&!T.current&&a$(n)&&(n===e||e===t.body||r)&&n.focus({preventScroll:!0}),o.remove()})}},[r,v,A,S,h,p,O,z,m,g]),_.useEffect(()=>{queueMicrotask(()=>{T.current=!1})},[r]),_.useEffect(()=>{if(r||!d)return;function e(e){let t=iC(e);t?.closest("[data-base-ui-click-trigger]")&&(I.current=!0)}let t=iE(A);return t.addEventListener("pointerdown",e,!0),()=>{t.removeEventListener("pointerdown",e,!0)}},[r,d,A]),aI(()=>{if(!r&&C)return C.setFocusManagerState({modal:s,closeOnFocusOut:c,open:d,onOpenChange:f,domReference:m}),()=>{C.setFocusManagerState(null)}},[r,C,s,d,f,c,m]),aI(()=>{if(!r&&A)return cX(A,k),()=>{queueMicrotask(cY)}},[r,A,k]);let H=!r&&(!s||!w)&&(z||s);return(0,x.jsxs)(_.Fragment,{children:[H&&(0,x.jsx)(sk,{"data-type":"inside",ref:F,onFocus:e=>{if(s){let e=D();l_(e[e.length-1])}else if(C?.preserveTabOrder&&C.portalNode)if(T.current=!1,s1(e,C.portalNode)){let e=sJ(m);e?.focus()}else C.beforeOutsideRef.current?.focus()}}),n,H&&(0,x.jsx)(sk,{"data-type":"inside",ref:U,onFocus:e=>{if(s)l_(D()[0]);else if(C?.preserveTabOrder&&C.portalNode)if(c&&(T.current=!0),s1(e,C.portalNode)){let e=s0(m);e?.focus()}else C.afterOutsideRef.current?.focus()}})]})}let cJ={...su,...se},c0=_.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:v}=lT(),{side:g,align:y,floatingContext:b}=function(){let e=_.useContext(ct);if(void 0===e)throw Error("Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within .");return e}();lL({open:i,ref:s,onComplete(){i&&p?.(!0)}});let{events:w}=aA();_.useEffect(()=>{function e(e){l(!1,e.domEvent,e.reason)}return w.on("close",e),()=>{w.off("close",e)}},[w,l]);let k=sf("div",e,{state:_.useMemo(()=>({transitionStatus:c,side:g,align:y,open:i,nested:"menu"===h.type,instant:f}),[c,g,y,i,h.type,f]),ref:[t,s],customStyleHookMapping:cJ,props:[u,"starting"===c?iq:iK,a,{"data-rootownerid":v}]}),j=void 0===h.type||"context-menu"===h.type;return"menubar"===h.type&&"outside-press"!==m&&(j=!0),(0,x.jsx)(cQ,{context:b,modal:!1,disabled:!d,returnFocus:o||j,initialFocus:"menu"===h.type?-1:0,restoreFocus:!0,children:k})}),c1=_.createContext(void 0),c2=_.forwardRef(function(e,t){let{render:n,className:r,...o}=e,[a,i]=_.useState(void 0),l=_.useMemo(()=>({setLabelId:i}),[i]),s=sf("div",e,{ref:t,props:{role:"group","aria-labelledby":a,...o}});return(0,x.jsx)(c1.Provider,{value:l,children:s})});function c4(e){return aE(e,"base-ui")}let c3=_.forwardRef(function(e,t){let{className:n,render:r,id:o,...a}=e,i=c4(o),{setLabelId:l}=function(){let e=_.useContext(c1);if(void 0===e)throw Error("Base UI: MenuGroupRootContext is missing. Menu group parts must be used within .");return e}();return aI(()=>(l(i),()=>{l(void 0)}),[l,i]),sf("div",e,{ref:t,props:{id:i,role:"presentation",...a}})}),c5={type:"regular-item"},c6=_.memo(_.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=_.useRef(null),{getButtonProps:d,buttonRef:f}=sv({disabled:n,focusableWhenDisabled:!0,native:s}),p=_.useCallback(e=>lY({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=l3(u,f);return _.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 sf("div",e,{state:_.useMemo(()=>({disabled:o,highlighted:a}),[o,a]),ref:[m,t],props:[s,p,h]})})),c9=_.forwardRef(function(e,t){let{id:n,label:r,nativeButton:o=!1,...a}=e,i=_.useRef(null),l=sb({label:r}),s=l3(t,l.ref,i),{itemProps:c,activeIndex:u,allowMouseUpTriggerRef:d,typingRef:f}=lT(),p=c4(n),h=l.index===u,{events:m}=aA();return(0,x.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.");return e}let ug=_.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,setTriggerElement:i,triggerProps:l}=uv();return sf("button",e,{state:_.useMemo(()=>({open:a}),[a]),ref:[t,i],props:[l,o],customStyleHookMapping:ss})}),uy=_.createContext(void 0);function ub(){let e=_.useContext(uy);if(void 0===e)throw Error("Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within .");return e}let ux=_.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 sf("div",e,{state:_.useMemo(()=>({open:a,side:l,align:s,uncentered:c}),[a,l,s,c]),ref:[t,i],props:[{style:u,"aria-hidden":!0},o],customStyleHookMapping:su})}),uw={...su,...se},u_=_.forwardRef(function(e,t){let{className:n,render:r,...o}=e,{open:a,instantType:i,transitionStatus:l,popupProps:s,popupRef:c,onOpenChangeComplete:u}=uv(),{side:d,align:f}=ub();return lL({open:a,ref:c,onComplete(){a&&u?.(!0)}}),sf("div",e,{state:_.useMemo(()=>({open:a,side:d,align:f,instant:i,transitionStatus:l}),[a,d,f,i,l]),ref:[t,c],props:[s,"starting"===l?iq:iK,o],customStyleHookMapping:uw})}),uk=_.createContext(void 0),uj=_.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=iX,...v}=e,{open:g,setPositionerElement:y,mounted:b,floatingRootContext:w,trackCursorAxis:k,hoverable:j}=uv(),S=cz({anchor:o,positionMethod:a,floatingRootContext:w,mounted:b,side:i,sideOffset:s,align:l,alignOffset:c,collisionBoundary:u,collisionPadding:d,sticky:p,arrowPadding:f,trackAnchor:h,keepMounted:function(){let e=_.useContext(uk);if(void 0===e)throw Error("Base UI: is missing.");return e}(),collisionAvoidance:m}),O=_.useMemo(()=>{let e={};return g&&"both"!==k&&j||(e.pointerEvents="none"),{role:"presentation",hidden:!b,style:{...S.positionerStyles,...e}}},[g,k,j,b,S.positionerStyles]),C=_.useMemo(()=>({props:O,...S}),[O,S]),P=_.useMemo(()=>({open:g,side:C.side,align:C.align,anchorHidden:C.anchorHidden}),[g,C.side,C.align,C.anchorHidden]),E=_.useMemo(()=>({...P,arrowRef:C.arrowRef,arrowStyles:C.arrowStyles,arrowUncentered:C.arrowUncentered}),[P,C.arrowRef,C.arrowStyles,C.arrowUncentered]),T=sf("div",e,{state:P,props:[C.props,v],ref:[t,y],customStyleHookMapping:su});return(0,x.jsx)(uy.Provider,{value:E,children:T})});function uS(e){let t=s9({root:e.root});return t&&em.createPortal(e.children,t)}function uO(e){let{children:t,keepMounted:n=!1,container:r}=e,{mounted:o}=uv();return o||n?(0,x.jsx)(uk.Provider,{value:n,children:(0,x.jsx)(uS,{root:r,children:t})}):null}let uC=_.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new ay,currentIdRef:{current:null},currentContextRef:{current:null}});function uP(e){let{children:t,delay:n,timeoutMs:r=0}=e,o=_.useRef(n),a=_.useRef(n),i=_.useRef(null),l=_.useRef(null),s=ab();return(0,x.jsx)(uC.Provider,{value:_.useMemo(()=>({hasProvider:!0,delayRef:o,initialDelayRef:a,currentIdRef:i,timeoutMs:r,currentContextRef:l,timeout:s}),[r,s]),children:t})}let uE=_.createContext(void 0),uT=function(e){let{delay:t,closeDelay:n,timeout:r=400}=e,o=_.useMemo(()=>({delay:t,closeDelay:n}),[t,n]),a=_.useMemo(()=>({open:t,close:n}),[t,n]);return(0,x.jsx)(uE.Provider,{value:o,children:(0,x.jsx)(uP,{delay:a,timeoutMs:r,children:e.children})})};function uI(e){return null!=e&&null!=e.clientX}function uN(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]=_.useState(null),[m,v]=_.useState(null),[g,y]=_.useState(),b=_.useRef(null),[w,k]=aS({controlled:o,default:n,name:"Tooltip",state:"open"}),j=!t&&w;function S(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),k(e)}o?em.flushSync(l):l(),a||i?y(a?"focus":"dismiss"):"trigger-hover"===n&&y(void 0)}let O=a_(S);w&&t&&S(!1,void 0,"disabled");let{mounted:C,setMounted:P,transitionStatus:E}=lN(j),T=a_(()=>{P(!1),u?.(!1)});lL({enabled:!c,open:j,ref:b,onComplete(){j||T()}}),_.useImperativeHandle(c,()=>({unmount:T}),[T]);let I=aM({elements:{reference:p,floating:m},open:j,onOpenChange(e,t,n){O(e,t,lV(n))}}),N=_.useContext(uE),{delayRef:L,isInstantPhase:z,hasProvider:A}=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}=_.useContext(uC),[p,h]=_.useState(!1);return aI(()=>{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]),aI(()=>{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:iA(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]),aI(()=>()=>{u.current=null},[u]),_.useMemo(()=>({hasProvider:d,delayRef:l,isInstantPhase:p}),[d,l,p])}(I),R=z?"delay":g,D=iD(I,{enabled:!t,mouseOnly:!0,move:!1,handleClose:l&&"both"!==s?iU():null,restMs(){let e=N?.delay,t="object"==typeof L.current?L.current.open:void 0,n=d;return A&&(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&&A&&(t=e),{close:t}}}),M=iV(I,{enabled:!t}),Z=i0(I,{enabled:!t,referencePress:!0}),{getReferenceProps:F,getFloatingProps:U}=lO([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=_.useRef(!1),f=_.useRef(null),[p,h]=_.useState(),[m,v]=_.useState([]),g=a_((e,t)=>{if(!d.current&&(!r.current.openEvent||uI(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}}}))}}),y=a_(e=>{null==c&&null==u&&(n?f.current||v([]):g(e.clientX,e.clientY))}),b=ig(p)?o:n,x=_.useCallback(()=>{if(!b||!l||null!=c||null!=u)return;let e=aU(o);function t(n){iO(o,iC(n))?(e.removeEventListener("mousemove",t),f.current=null):g(n.clientX,n.clientY)}if(!r.current.openEvent||uI(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,g]);_.useEffect(()=>x(),[x,m]),_.useEffect(()=>{l&&!o&&(d.current=!1)},[l,o]),_.useEffect(()=>{!l&&n&&(d.current=!0)},[l,n]),aI(()=>{l&&(null!=c||null!=u)&&(d.current=!1,g(c,u))},[l,c,u,g]);let w=_.useMemo(()=>{function e(e){h(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:y,onMouseEnter:y}},[y]);return _.useMemo(()=>l?{reference:w}:{},[l,w])}(I,{enabled:!t&&"none"!==s,axis:"none"===s?void 0:s})]),H=_.useMemo(()=>({open:j,setOpen:O,mounted:C,setMounted:P,setTriggerElement:h,positionerElement:m,setPositionerElement:v,popupRef:b,triggerProps:F(),popupProps:U(),floatingRootContext:I,instantType:R,transitionStatus:E,onOpenChangeComplete:u}),[j,O,C,P,h,m,v,b,F,U,I,R,E,u]),V=_.useMemo(()=>({...H,delay:d,closeDelay:f,trackCursorAxis:s,hoverable:l}),[H,d,f,s,l]);return(0,x.jsx)(um.Provider,{value:V,children:e.children})}var uL=__webpack_require__("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"),uz={};uz.styleTagTransform=m(),uz.setAttributes=d(),uz.insert=c(),uz.domAPI=l(),uz.insertStyleElement=p(),a()(uL.A,uz),uL.A&&uL.A.locals&&uL.A.locals;var uA=(0,_.forwardRef)(function(e,t){var n,r,o,a,i,l,s,c,u,d,f,p,h=(0,w.c)(35),m=e.className,v=e.children,g=e.title,y=e.direction,b=e.arrowSize,_=e.offset,k=void 0===y?"top":y,j=void 0===b?6:b,S=dw().shadowRoot;if(!g)return v;h[0]!==v?(n=function(e){var t,n;return(0,x.jsx)("span",(t=function(e){for(var t=1;t0,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,x.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,x.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,x.jsx)("div",{className:"segment-explorer-footer",children:(0,x.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,w.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=e2("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,x.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,x.jsx)(uW,{}):(0,x.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,x.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,w.c)(17),u=e.page,d=(0,_.useSyncExternalStore)(aa,ai,al);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,x.jsx)(uF,{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,x.jsx)("div",{className:"segment-explorer-content","data-nextjs-devtool-segment-explorer":!0,style:a,children:(0,x.jsx)(u$,{node:d,level:0,segment:""})}),c[8]=d,c[9]=i):i=c[9],c[10]!==f||c[11]!==p?(l=(0,x.jsx)(uU,{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,x.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,_.useMemo)(function(){return Object.keys(n.children)},[n.children]),a=(0,_.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},v=m(p),g=m(h);if(v!==g)return v-g;var y=(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 y.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,v=n.children[m];if(v){if(uZ(v)){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 g=c7(c[0]||"").split(".").pop()||"js",y=null,b=i.length-1;b>=0;b--){var w=n.children[i[b]];if(w&&w.value){var k=ut(w.value.type);if(!y&&!k){y=w;break}}}var j=null,S=!0,O=!1,C=void 0;try{for(var P,E=i[Symbol.iterator]();!(S=(P=E.next()).done);S=!0){var T=P.value,I=n.children[T];if(I&&I.value&&ut(I.value.type)){j=I;break}}}catch(e){O=!0,C=e}finally{try{S||null==E.return||E.return()}finally{if(O)throw C}}y=y||j;var N=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,x.jsxs)(x.Fragment,{children:[N&&(0,x.jsx)("div",{className:"segment-explorer-item","data-nextjs-devtool-segment-explorer-segment":t+"-"+r,children:(0,x.jsx)("div",{className:"segment-explorer-item-row",style:uD({},{paddingLeft:"".concat((r+1)*8,"px")}),children:(0,x.jsx)("div",{className:"segment-explorer-item-row-main",children:(0,x.jsxs)("div",{className:"segment-explorer-filename",children:[l&&(0,x.jsxs)("span",{className:"segment-explorer-filename--path",children:[l,(0,x.jsx)("small",{children:"/"})]}),a&&(0,x.jsx)(uR,{possibleExtension:g,missingGlobalError:a}),c.length>0&&(0,x.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,x.jsx)(uA,{className:"segment-explorer-file-label-tooltip--"+(a?"lg":"sm"),direction:a?"right":"top",title:l,offset:12,children:(0,x.jsx)(uH,{type:t.value.type,isBuiltin:a,isOverridden:s,filePath:r,fileName:i})},e)})}),y&&y.value&&(0,x.jsx)(us,{nodeState:y.value,boundaries:L})]})})})}),s.map(function(e){var o=n.children[e];if(!o)return null;var a=N?e:t+" / "+e;return(0,x.jsx)(u$,{segment:a,node:o,level:N?r+1:r},e)})]})}function uW(e){var t,n,r,o=(0,w.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.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,x.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,x.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 uq(){var e,t=(0,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.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,x.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,w.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.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,x.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 uG(e){var t,n,r,o,a,i,l,s,c,u,d,f=(0,w.c)(18),p=e.title,h=e.children,m=e.ref,v=r5().setPanel,g=(0,_.useRef)(null);return f[0]===Symbol.for("react.memo_cache_sentinel")?(t=function(){var e;null==(e=g.current)||e.focus()},n=[],f[0]=t,f[1]=n):(t=f[0],n=f[1]),(0,_.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,x.jsx)("h3",{style:o,children:p}),f[4]=p,f[5]=a):a=f[5],f[6]!==v?(i=function(){v("panel-selector")},f[6]=v,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,x.jsx)(uX,{}),f[8]=l,f[9]=s):(l=f[8],s=f[9]),f[10]!==i?(c=(0,x.jsx)("button",{ref:g,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,x.jsx)("style",{children:ed(uY())}),f[12]=u):u=f[12],f[13]!==h||f[14]!==m||f[15]!==a||f[16]!==c?(d=(0,x.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 uX(e){var t,n,r,o=(0,w.c)(4),a=e.size,i=void 0===a?22:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,x.jsx)("path",{d:"M18 6 6 18"}),n=(0,x.jsx)("path",{d:"m6 6 12 12"}),o[0]=t,o[1]=n):(t=o[0],n=o[1]),o[2]!==i?(r=(0,x.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,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,x.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,w.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.jsx)("svg",{width:"20px",height:"20px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,x.jsx)("circle",{cx:"10",cy:"10",r:"7",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32 12",opacity:"0.8",children:(0,x.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.5.0_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_nkknvnftcypdje4tjvlfsd4zxy/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=m(),u1.setAttributes=d(),u1.insert=c(),u1.domAPI=l(),u1.insertStyleElement=p(),a()(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,w.c)(27),d=r5(),f=d.setPanel,p=d.setSelectedIndex,h=dw(),m=h.state,v=h.dispatch,g=da().totalErrorCount,y="app"===m.routerType;return u[0]!==v||u[1]!==f||u[2]!==p||u[3]!==m.isErrorOverlayOpen||u[4]!==g?(e=g>0&&{title:"".concat(g," ").concat(1===g?"issue":"issues"," found. Click to view details in the dev overlay."),label:"Issues",value:(0,x.jsx)(oH,{children:g}),onClick:function(){if(m.isErrorOverlayOpen){v({type:B}),f(null);return}f(null),p(-1),g>0&&v({type:V})}},u[0]=v,u[1]=f,u[2]=p,u[3]=m.isErrorOverlayOpen,u[4]=g,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,x.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]!==f?(n=process.env.TURBOPACK?{title:"Turbopack is enabled.",label:"Turbopack",value:"Enabled"}:{title:"Learn about Turbopack and how to enable it in your application.",label:"Try Turbopack",value:(0,x.jsx)(oV,{}),onClick:function(){return f("turbo-info")}},u[9]=f,u[10]=n):n=u[10],u[11]===Symbol.for("react.memo_cache_sentinel")?(r=!!process.env.__NEXT_CACHE_COMPONENTS&&{title:"Cache Components is enabled.",label:"Cache Components",value:"Enabled"},u[11]=r):r=u[11],u[12]!==y||u[13]!==f?(o=y&&{label:"Route Info",value:(0,x.jsx)(oV,{}),onClick:function(){return f("segment-explorer")},attributes:{"data-segment-explorer":!0}},u[12]=y,u[13]=f,u[14]=o):o=u[14],u[15]===Symbol.for("react.memo_cache_sentinel")?(a=(0,x.jsx)(uQ,{}),u[15]=a):a=u[15],u[16]!==f?(i=function(){return f("preferences")},u[16]=f,u[17]=i):i=u[17],u[18]===Symbol.for("react.memo_cache_sentinel")?(l={"data-preferences":!0},u[18]=l):l=u[18],u[19]!==i?(s={label:"Preferences",value:a,onClick:i,footer:!0,attributes:l},u[19]=i,u[20]=s):s=u[20],u[21]!==e||u[22]!==t||u[23]!==n||u[24]!==o||u[25]!==s?(c=(0,x.jsx)(oF,{items:[e,t,n,r,o,s]}),u[21]=e,u[22]=t,u[23]=n,u[24]=o,u[25]=s,u[26]=c):c=u[26],c},u4=function(){var e,t=(0,w.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:H,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},u3=function(){var e,t,n,r,o,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,k,j=(0,w.c)(30),S=dw().state,O=r5().triggerRef,C=u4(),P="app"===S.routerType;j[0]!==S.hideShortcut||j[1]!==C?(s=S.hideShortcut?(e={},t=S.hideShortcut,n=C,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e):{},j[0]=S.hideShortcut,j[1]=C,j[2]=s):s=j[2],r=s,o=O,(l=(0,w.c)(4))[0]!==o||l[1]!==r?(a=function(){var e=function(e){if(!((n=nn((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,_.useEffect)(a,i),j[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,x.jsx)(u7,{name:"panel-selector",children:(0,x.jsx)(u2,{})}),j[3]=c):c=j[3];var E=500/S.scale;j[4]!==E?(u={kind:"fixed",height:E,width:512},j[4]=E,j[5]=u):u=j[5],j[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,x.jsx)(uG,{title:"Preferences"}),f=(0,x.jsx)(u6,{}),j[6]=d,j[7]=f):(d=j[6],f=j[7]),j[8]!==u?(p=(0,x.jsx)(u7,{name:"preferences",children:(0,x.jsx)(o7,{sharePanelSizeGlobally:!1,sizeConfig:u,closeOnClickOutside:!0,header:d,children:f})}),j[8]=u,j[9]=p):p=j[9],j[10]!==S.routerType||j[11]!==S.scale||j[12]!==S.staticIndicator?(h="disabled"!==S.staticIndicator&&"pending"!==S.staticIndicator&&(0,x.jsx)(u7,{name:"route-type",children:(0,x.jsx)(o7,{sharePanelSizeGlobally:!1,sizeConfig:{kind:"fixed",height:"static"===S.staticIndicator?300/S.scale:325/S.scale,width:400/S.scale},closeOnClickOutside:!0,header:(0,x.jsx)(uG,{title:"".concat("static"===S.staticIndicator?"Static":"Dynamic"," Route")}),children:(0,x.jsxs)("div",{className:"panel-content",children:[(0,x.jsx)(n9,{routerType:S.routerType,isStaticRoute:"static"===S.staticIndicator}),(0,x.jsx)(u5,{href:n6[S.routerType][S.staticIndicator]})]})},S.staticIndicator)}),j[10]=S.routerType,j[11]=S.scale,j[12]=S.staticIndicator,j[13]=h):h=j[13],j[14]!==P||j[15]!==S.page||j[16]!==S.scale?(m=P&&(0,x.jsx)(u7,{name:"segment-explorer",children:(0,x.jsx)(o7,{sharePanelSizeGlobally:!1,sharePanelPositionGlobally:!1,draggable:!0,sizeConfig:{kind:"resizable",maxHeight:"90vh",maxWidth:"90vw",minHeight:200/S.scale,minWidth:250/S.scale,initialSize:{height:375/S.scale,width:400/S.scale}},header:(0,x.jsx)(uG,{title:"Route Info"}),children:(0,x.jsx)(uV,{page:S.page})})}),j[14]=P,j[15]=S.page,j[16]=S.scale,j[17]=m):m=j[17];var T=470/S.scale,I=400/S.scale;return j[18]!==I||j[19]!==T?(v={kind:"fixed",height:T,width:I},j[18]=I,j[19]=T,j[20]=v):v=j[20],j[21]===Symbol.for("react.memo_cache_sentinel")?(g=(0,x.jsx)(uG,{title:"Try Turbopack"}),j[21]=g):g=j[21],j[22]===Symbol.for("react.memo_cache_sentinel")?(y=(0,x.jsxs)("div",{className:"panel-content",children:[(0,x.jsx)(n0,{}),(0,x.jsx)(u5,{href:"https://nextjs.org/docs/app/api-reference/turbopack"})]}),j[22]=y):y=j[22],j[23]!==v?(b=(0,x.jsx)(u7,{name:"turbo-info",children:(0,x.jsx)(o7,{sharePanelSizeGlobally:!1,sizeConfig:v,closeOnClickOutside:!0,header:g,children:y})}),j[23]=v,j[24]=b):b=j[24],j[25]!==b||j[26]!==p||j[27]!==h||j[28]!==m?(k=(0,x.jsxs)(x.Fragment,{children:[c,p,h,m,b]}),j[25]=b,j[26]=p,j[27]=h,j[28]=m,j[29]=k):k=j[29],k},u5=function(e){var t,n=(0,w.c)(2),r=e.href;return n[0]!==r?(t=(0,x.jsx)("div",{className:"dev-tools-info-button-container",children:(0,x.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,w.c)(17),a=dw(),i=a.dispatch,l=a.state,s=r5(),c=s.setPanel,u=s.setSelectedIndex,d=oI();return o[0]!==i?(e=function(e){i({type:Q,scale:e})},o[0]=i,o[1]=e):e=o[1],o[2]!==i||o[3]!==d?(t=function(e){i({type:G,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:H,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,x.jsx)("div",{className:"user-preferences-wrapper",children:(0,x.jsx)(rE,{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,_.useContext)(u8)},u8=(0,_.createContext)(null);function u7(e){var t,n,r,o,a,i=(0,w.c)(12),l=e.children,s=e.name,c=r5().panel;i[0]===Symbol.for("react.memo_cache_sentinel")?(t={enterDelay:0,exitDelay:200},i[0]=t):t=i[0];var u=rZ(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(no)},i[4]=p,i[5]=r):r=i[5];var h=r;return i[6]!==l||i[7]!==h?(o=(0,x.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,x.jsx)(u8,{value:n,children:o}),i[9]=n,i[10]=o,i[11]=a):a=i[11],a}function de(e){rO({hideShortcut:e})}function dt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&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,j.parse)(e).map(function(e){try{var n=new URL(e.file),r=S.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[O]?"console":"runtime"},c=e.filter(function(e){return""+e.error!=""+s.error||e.error.stack!==s.error.stack&&ei(e.error.stack)!==ei(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 F:return E(P({},e),{debugInfo:t.debugInfo});case I:return E(P({},e),{cacheIndicator:t.cacheIndicator});case N:return E(P({},e),{staticIndicator:t.staticIndicator});case L:return E(P({},e),{buildError:null});case z:return E(P({},e),{buildError:t.message});case A:return E(P({},e),{refreshState:{type:"pending",errors:[]}});case R:return E(P({},e),{buildError:null,errors:"pending"===e.refreshState.type?e.refreshState.errors:[],refreshState:{type:"idle"}});case M:case Z:switch(e.refreshState.type){case"idle":return E(P({},e),{nextId:e.nextId+1,errors:d(e.errors,e.nextId,t.reason)});case"pending":return E(P({},e),{nextId:e.nextId+1,refreshState:E(P({},e.refreshState),{errors:d(e.errors,e.nextId,t.reason)})});default:return e}case D:return E(P({},e),{versionInfo:t.versionInfo});case H:return E(P({},e),{disableDevIndicator:t.disabled});case U:return E(P({},e),{showIndicator:!0,disableDevIndicator:el||!!t.devIndicator.disabledUntil});case V:return E(P({},e),{isErrorOverlayOpen:!0});case B:return E(P({},e),{isErrorOverlayOpen:!1});case $:return E(P({},e),{isErrorOverlayOpen:!e.isErrorOverlayOpen});case W:return E(P({},e),{buildingIndicator:!0});case q:return E(P({},e),{buildingIndicator:!1});case K:return E(P({},e),{renderingIndicator:!0});case Y:return E(P({},e),{renderingIndicator:!1});case G:return E(P({},e),{devToolsPosition:t.devToolsPosition});case X:return E(P({},e),{devToolsPanelPosition:E(P({},e.devToolsPanelPosition),C({},t.key,t.devToolsPanelPosition))});case Q:return E(P({},e),{scale:t.scale});case eo:return E(P({},e),{page:t.page});case J: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 E(P({},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=E(P({},ec),{isErrorOverlayOpen:"pages"===a,routerType:a,cacheIndicator:i?"ready":"disabled"}),u[5]=o,u[6]=t,u[7]=c):c=u[7],f=(0,_.useReducer)(s,c),p=2,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),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}}(f,2)||dd(f,p)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),em=eh[0],ev=eh[1];return en[0]!==ed||en[1]!==em?(h=function(){dh=dc(ds({},em),{routerType:ed})},m=[em,ed],en[0]=ed,en[1]=em,en[2]=h,en[3]=m):(h=en[2],m=en[3]),(0,_.useEffect)(h,m),en[4]!==ef.host||en[5]!==em.theme?(v=function(){var e=ef.host;"dark"===em.theme?(e.classList.add("dark"),e.classList.remove("light")):"light"===em.theme?(e.classList.add("light"),e.classList.remove("dark")):(e.classList.remove("dark"),e.classList.remove("light"))},en[4]=ef.host,en[5]=em.theme,en[6]=v):v=en[6],en[7]!==ef||en[8]!==em.theme?(g=[ef,em.theme],en[7]=ef,en[8]=em.theme,en[9]=g):g=en[9],(0,_.useLayoutEffect)(v,g),en[10]!==ev?(y=function(){df=ev;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}}(ev)});return function(){df=null,clearTimeout(e)}},en[10]=ev,en[11]=y):y=en[11],en[12]===Symbol.for("react.memo_cache_sentinel")?(b=[],en[12]=b):b=en[12],(0,_.useInsertionEffect)(y,b),en[13]===Symbol.for("react.memo_cache_sentinel")?(k=(0,x.jsx)(ep,{}),en[13]=k):k=en[13],en[14]!==ev||en[15]!==es||en[16]!==ef||en[17]!==em?(T={dispatch:ev,getSquashedHydrationErrorDetails:es,shadowRoot:ef,state:em},en[14]=ev,en[15]=es,en[16]=ef,en[17]=em,en[18]=T):T=en[18],en[19]===Symbol.for("react.memo_cache_sentinel")?(ee=(0,x.jsx)(di,{}),en[19]=ee):ee=en[19],en[20]!==T?(et=(0,x.jsxs)(x.Fragment,{children:[k,(0,x.jsx)(dx,{value:T,children:ee})]}),en[20]=T,en[21]=et):et=en[21],et}var dx=(0,_.createContext)(null),dw=function(){return(0,_.useContext)(dx)},d_=!1,dk=!1;function dj(){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(!dk){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,eu.createRoot)(o,{identifierPrefix:"ndt-",onDefaultTransitionIndicator:function(){return function(){}}}),i=o.attachShadow({mode:"open"});(0,_.startTransition)(function(){a.render((0,x.jsx)(db,{enableCacheIndicator:n,getOwnerStack:e,getSquashedHydrationErrorDetails:dj,isRecoverableError:t,routerType:"app",shadowRoot:i}))}),dk=!0}}function dO(e,t,n){if(dk)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,eu.createRoot)(r,{identifierPrefix:"ndt-"}),a=r.attachShadow({mode:"open"});(0,_.startTransition)(function(){o.render((0,x.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(__webpack_i__)&&(exports[__webpack_i__]=__webpack_exports__[__webpack_i__]);Object.defineProperty(exports,"__esModule",{value:!0}); //# sourceMappingURL=index.js.map