(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[607],{72390:(e,n,t)=>{var r=t(91516),o=t(30303),a=t(8799),i=t(20151),l=t(33935),s=t(18143),c=t(55620),u=t(72549),d=t(29955),f=t(76032),p=t(76126),h=t(61989),m=t(98645),v=["onClick","onMouseDown","onKeyUp","onKeyDown","onPointerDown"],g=["render","className","state","props","refs","metadata","customStyleHookMapping","tag"],y=["render","className","disabled","nativeButton"],b=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],A=["mainAxis","crossAxis","limiter"],x=["apply"],w=["strategy"],C=["cutout"],k=["anchor","positionMethod","className","render","side","align","sideOffset","alignOffset","collisionBoundary","collisionPadding","arrowPadding","sticky","trackAnchor","collisionAvoidance"],E=["render","className","finalFocus"],j=["render","className"],_=["className","render","id"],S=["className","closeOnClick","disabled","highlighted","id","menuEvents","itemProps","render","allowMouseUpTriggerRef","typingRef","nativeButton"],O=["id","label","nativeButton"],B=["className","render"],P=["className","render"],I=["className","render"],z=["render","className","anchor","positionMethod","side","align","sideOffset","alignOffset","collisionBoundary","collisionPadding","arrowPadding","sticky","trackAnchor","collisionAvoidance"];function T(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}function D(e){for(var n=1;n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,l=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return i=e.done,e},e:function(e){l=!0,a=e},f:function(){try{i||null==t.return||t.return()}finally{if(l)throw a}}}}function M(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t * {\n pointer-events: none;\n }\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css"],names:[],mappings:"AAAA;EACE;IACE,aAAa;EACf;AACF;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,uBAAuB;EACvB,uCAAuC;EACvC,6CAA6C;EAC7C,4BAA4B;EAC5B,8BAA8B;EAC9B,gCAAgC;EAChC,kBAAkB;EAClB,mCAAmC;EACnC,UAAU;EACV,gBAAgB;EAChB,UAAU;EACV,UAAU;EACV,gBAAgB;EAChB;sCACoC;;EAEpC;IACE,UAAU;IACV,QAAQ;EACV;AACF;;AAEA;EACE,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,sBAAsB;EACtB,kBAAkB;EAClB,gCAAgC;EAChC,iBAAiB;EACjB,mBAAmB;;EAEnB;IACE,qBAAqB;IACrB,sBAAsB;EACxB;;EAEA;IACE,UAAU;EACZ;AACF;;AAEA;EACE,uCAAuC;EACvC,YAAY;EACZ,2CAA2C;EAC3C,WAAW;AACb;;AAEA;EACE,eAAe;EACf,uCAAuC;AACzC;;AAEA;EACE,yBAAyB;EACzB,2BAA2B;EAC3B,6BAA6B;AAC/B;;AAEA;EACE,yBAAyB;EACzB,2BAA2B;EAC3B,4BAA4B;EAC5B,iBAAiB;AACnB;;AAEA;EACE,sCAAsC;EACtC,wCAAwC;EACxC,aAAa;EACb,mBAAmB;EACnB,mBAAmB;EACnB,uBAAuB;EACvB,QAAQ;EACR,yBAAyB;EACzB,sBAAsB;EACtB,uCAAuC;EACvC,6CAA6C;EAC7C,4BAA4B;EAC5B,+BAA+B;EAC/B,YAAY;EACZ,6BAA6B;EAC7B,oBAAoB;EACpB,gBAAgB;EAChB,yBAAyB;EACzB,kCAAkC;;EAElC;IACE,qCAAqC;IACrC,uCAAuC;EACzC;;EAEA;IACE,oBAAoB;IACpB,qBAAqB;IACrB,gCAAgC;IAChC,4CAA4C;IAC5C,kBAAkB;EACpB;AACF;;AAEA;EACE,aAAa;EACb,QAAQ;;EAER;IACE,qBAAqB;IACrB,sBAAsB;IACtB,aAAa;IACb,uBAAuB;IACvB,mBAAmB;IACnB,gCAAgC;IAChC,uCAAuC;IACvC,mCAAmC;IACnC,uCAAuC;IACvC,6BAA6B;IAC7B,kBAAkB;IAClB,yBAAyB;IACzB,2BAA2B;EAC7B;AACF;;AAEA;EACE,gBAAgB;;EAEhB;IACE,oBAAoB;EACtB;AACF",sourcesContent:["[data-nextjs-toast] {\n &[data-hidden='true'] {\n display: none;\n }\n}\n\n.dev-tools-indicator-menu {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-menu);\n border-radius: var(--rounded-xl);\n position: absolute;\n font-family: var(--font-stack-sans);\n z-index: 3;\n overflow: hidden;\n opacity: 0;\n outline: 0;\n min-width: 248px;\n transition: opacity var(--animate-out-duration-ms)\n var(--animate-out-timing-function);\n\n &[data-rendered='true'] {\n opacity: 1;\n scale: 1;\n }\n}\n\n.dev-tools-indicator-inner {\n padding: 6px;\n width: 100%;\n}\n\n.dev-tools-indicator-item {\n display: flex;\n align-items: center;\n padding: 8px 6px;\n height: var(--size-36);\n border-radius: 6px;\n text-decoration: none !important;\n user-select: none;\n white-space: nowrap;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n\n &:focus-visible {\n outline: 0;\n }\n}\n\n.dev-tools-indicator-footer {\n background: var(--color-background-200);\n padding: 6px;\n border-top: 1px solid var(--color-gray-400);\n width: 100%;\n}\n\n.dev-tools-indicator-item[data-selected='true'] {\n cursor: pointer;\n background-color: var(--color-gray-200);\n}\n\n.dev-tools-indicator-label {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-1000);\n}\n\n.dev-tools-indicator-value {\n font-size: var(--size-14);\n line-height: var(--size-20);\n color: var(--color-gray-900);\n margin-left: auto;\n}\n\n.dev-tools-indicator-issue-count {\n --color-primary: var(--color-gray-800);\n --color-secondary: var(--color-gray-100);\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n gap: 8px;\n min-width: var(--size-40);\n height: var(--size-24);\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-alpha-400);\n background-clip: padding-box;\n box-shadow: var(--shadow-small);\n padding: 2px;\n color: var(--color-gray-1000);\n border-radius: 128px;\n font-weight: 500;\n font-size: var(--size-13);\n font-variant-numeric: tabular-nums;\n\n &[data-has-issues='true'] {\n --color-primary: var(--color-red-800);\n --color-secondary: var(--color-red-100);\n }\n\n .dev-tools-indicator-issue-count-indicator {\n width: var(--size-8);\n height: var(--size-8);\n background: var(--color-primary);\n box-shadow: 0 0 0 2px var(--color-secondary);\n border-radius: 50%;\n }\n}\n\n.dev-tools-indicator-shortcut {\n display: flex;\n gap: 4px;\n\n kbd {\n width: var(--size-20);\n height: var(--size-20);\n display: flex;\n justify-content: center;\n align-items: center;\n border-radius: var(--rounded-md);\n border: 1px solid var(--color-gray-400);\n font-family: var(--font-stack-sans);\n background: var(--color-background-100);\n color: var(--color-gray-1000);\n text-align: center;\n font-size: var(--size-12);\n line-height: var(--size-16);\n }\n}\n\n.dev-tools-grabbing {\n cursor: grabbing;\n\n > * {\n pointer-events: none;\n }\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,".resize-container {\n position: absolute;\n /* todo: better z index */\n z-index: 10;\n /* todo: is this needed */\n background: transparent;\n}\n\n.resize-line {\n position: absolute;\n /* todo smarter z index */\n z-index: -1;\n pointer-events: none;\n /* a normal exit animation curve- at this point the exit animation is */\n /* immediately responsive so we don't need a bespoke curve */\n transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n /* todo: better var? */\n border: 1px solid var(--color-gray-400);\n}\n\n/* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */\n.resize-container:hover ~ .resize-line {\n transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9);\n}\n\n.resize-container.right,\n.resize-container.left {\n top: 0;\n height: 100%;\n width: 22px;\n cursor: ew-resize;\n}\n\n/* todo: don't hard code all these values/use vars */\n\n.resize-container.bottom,\n.resize-container.top {\n left: 0;\n width: 100%;\n height: 22px;\n cursor: ns-resize;\n}\n\n.resize-container.top {\n top: -7px;\n}\n.resize-container.bottom {\n bottom: -7px;\n}\n.resize-container.left {\n left: -7px;\n}\n.resize-container.right {\n right: -7px;\n}\n\n.resize-container.top-left,\n.resize-container.top-right,\n.resize-container.bottom-left,\n.resize-container.bottom-right {\n width: 26px;\n height: 26px;\n z-index: 15;\n}\n\n.resize-container.top-left {\n top: -5px;\n left: -5px;\n cursor: nwse-resize;\n}\n.resize-container.top-right {\n top: -5px;\n right: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-left {\n bottom: -5px;\n left: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-right {\n bottom: -5px;\n right: -5px;\n cursor: nwse-resize;\n}\n\n.resize-line.top,\n.resize-line.bottom {\n height: 18px;\n width: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.left,\n.resize-line.right {\n width: 18px;\n height: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.top {\n top: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;\n transform: translateY(18px);\n}\n\n.resize-line.bottom {\n bottom: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: 0 0 var(--rounded-lg) var(--rounded-lg);\n transform: translateY(-18px);\n}\n\n.resize-line.left {\n top: calc(-1 * var(--border-top, 2px));\n left: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: var(--rounded-lg) 0 0 var(--rounded-lg);\n transform: translateX(18px);\n}\n\n.resize-line.right {\n top: calc(-1 * var(--border-top, 2px));\n right: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0;\n transform: translateX(-18px);\n}\n\n.resize-container.right:hover ~ .resize-line.right,\n.resize-container.left:hover ~ .resize-line.left,\n.resize-line.right.dragging,\n.resize-line.left.dragging {\n transform: translateX(0);\n}\n\n.resize-container.bottom:hover ~ .resize-line.bottom,\n.resize-container.top:hover ~ .resize-line.top,\n.resize-line.bottom.dragging,\n.resize-line.top.dragging {\n transform: translateY(0);\n}\n\n/* make sure that we don't show multiple handles at once\n * we should only ever show the currently resizing handle\n * regardless of hover state \n */\n.resize-container.no-hover.right:hover ~ .resize-line.right {\n transform: translateX(-20px);\n}\n.resize-container.no-hover.left:hover ~ .resize-line.left {\n transform: translateX(20px);\n}\n.resize-container.no-hover.bottom:hover ~ .resize-line.bottom {\n transform: translateY(-20px);\n}\n.resize-container.no-hover.top:hover ~ .resize-line.top {\n transform: translateY(20px);\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;EACX,yBAAyB;EACzB,uBAAuB;AACzB;;AAEA;EACE,kBAAkB;EAClB,yBAAyB;EACzB,WAAW;EACX,oBAAoB;EACpB,uEAAuE;EACvE,4DAA4D;EAC5D,uDAAuD;EACvD,sBAAsB;EACtB,uCAAuC;AACzC;;AAEA,mIAAmI;AACnI;EACE,4DAA4D;AAC9D;;AAEA;;EAEE,MAAM;EACN,YAAY;EACZ,WAAW;EACX,iBAAiB;AACnB;;AAEA,oDAAoD;;AAEpD;;EAEE,OAAO;EACP,WAAW;EACX,YAAY;EACZ,iBAAiB;AACnB;;AAEA;EACE,SAAS;AACX;AACA;EACE,YAAY;AACd;AACA;EACE,UAAU;AACZ;AACA;EACE,WAAW;AACb;;AAEA;;;;EAIE,WAAW;EACX,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,SAAS;EACT,UAAU;EACV,mBAAmB;AACrB;AACA;EACE,SAAS;EACT,WAAW;EACX,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,UAAU;EACV,mBAAmB;AACrB;AACA;EACE,YAAY;EACZ,WAAW;EACX,mBAAmB;AACrB;;AAEA;;EAEE,YAAY;EACZ,WAAW;EACX,6CAA6C;AAC/C;;AAEA;;EAEE,WAAW;EACX,YAAY;EACZ,6CAA6C;AAC/C;;AAEA;EACE,SAAS;EACT,wCAAwC;EACxC,iDAAiD;EACjD,sDAAsD;EACtD,2BAA2B;AAC7B;;AAEA;EACE,YAAY;EACZ,wCAAwC;EACxC,iDAAiD;EACjD,sDAAsD;EACtD,4BAA4B;AAC9B;;AAEA;EACE,sCAAsC;EACtC,UAAU;EACV,gDAAgD;EAChD,sDAAsD;EACtD,2BAA2B;AAC7B;;AAEA;EACE,sCAAsC;EACtC,WAAW;EACX,gDAAgD;EAChD,sDAAsD;EACtD,4BAA4B;AAC9B;;AAEA;;;;EAIE,wBAAwB;AAC1B;;AAEA;;;;EAIE,wBAAwB;AAC1B;;AAEA;;;EAGE;AACF;EACE,4BAA4B;AAC9B;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,2BAA2B;AAC7B",sourcesContent:[".resize-container {\n position: absolute;\n /* todo: better z index */\n z-index: 10;\n /* todo: is this needed */\n background: transparent;\n}\n\n.resize-line {\n position: absolute;\n /* todo smarter z index */\n z-index: -1;\n pointer-events: none;\n /* a normal exit animation curve- at this point the exit animation is */\n /* immediately responsive so we don't need a bespoke curve */\n transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n /* todo: better var? */\n border: 1px solid var(--color-gray-400);\n}\n\n/* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */\n.resize-container:hover ~ .resize-line {\n transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9);\n}\n\n.resize-container.right,\n.resize-container.left {\n top: 0;\n height: 100%;\n width: 22px;\n cursor: ew-resize;\n}\n\n/* todo: don't hard code all these values/use vars */\n\n.resize-container.bottom,\n.resize-container.top {\n left: 0;\n width: 100%;\n height: 22px;\n cursor: ns-resize;\n}\n\n.resize-container.top {\n top: -7px;\n}\n.resize-container.bottom {\n bottom: -7px;\n}\n.resize-container.left {\n left: -7px;\n}\n.resize-container.right {\n right: -7px;\n}\n\n.resize-container.top-left,\n.resize-container.top-right,\n.resize-container.bottom-left,\n.resize-container.bottom-right {\n width: 26px;\n height: 26px;\n z-index: 15;\n}\n\n.resize-container.top-left {\n top: -5px;\n left: -5px;\n cursor: nwse-resize;\n}\n.resize-container.top-right {\n top: -5px;\n right: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-left {\n bottom: -5px;\n left: -5px;\n cursor: nesw-resize;\n}\n.resize-container.bottom-right {\n bottom: -5px;\n right: -5px;\n cursor: nwse-resize;\n}\n\n.resize-line.top,\n.resize-line.bottom {\n height: 18px;\n width: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.left,\n.resize-line.right {\n width: 18px;\n height: 100%;\n background-color: var(--color-background-200);\n}\n\n.resize-line.top {\n top: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;\n transform: translateY(18px);\n}\n\n.resize-line.bottom {\n bottom: -7px;\n left: calc(-1 * var(--border-left, 2px));\n width: calc(100% + var(--border-horizontal, 4px));\n border-radius: 0 0 var(--rounded-lg) var(--rounded-lg);\n transform: translateY(-18px);\n}\n\n.resize-line.left {\n top: calc(-1 * var(--border-top, 2px));\n left: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: var(--rounded-lg) 0 0 var(--rounded-lg);\n transform: translateX(18px);\n}\n\n.resize-line.right {\n top: calc(-1 * var(--border-top, 2px));\n right: -7px;\n height: calc(100% + var(--border-vertical, 4px));\n border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0;\n transform: translateX(-18px);\n}\n\n.resize-container.right:hover ~ .resize-line.right,\n.resize-container.left:hover ~ .resize-line.left,\n.resize-line.right.dragging,\n.resize-line.left.dragging {\n transform: translateX(0);\n}\n\n.resize-container.bottom:hover ~ .resize-line.bottom,\n.resize-container.top:hover ~ .resize-line.top,\n.resize-line.bottom.dragging,\n.resize-line.top.dragging {\n transform: translateY(0);\n}\n\n/* make sure that we don't show multiple handles at once\n * we should only ever show the currently resizing handle\n * regardless of hover state \n */\n.resize-container.no-hover.right:hover ~ .resize-line.right {\n transform: translateX(-20px);\n}\n.resize-container.no-hover.left:hover ~ .resize-line.left {\n transform: translateX(20px);\n}\n.resize-container.no-hover.bottom:hover ~ .resize-line.bottom {\n transform: translateY(-20px);\n}\n.resize-container.no-hover.top:hover ~ .resize-line.top {\n transform: translateY(20px);\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,".segment-boundary-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 4px 6px;\n line-height: 16px;\n font-weight: 500;\n color: var(--color-gray-1000);\n border-radius: 999px;\n border: none;\n font-size: var(--size-12);\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-boundary-trigger-text {\n font-size: var(--size-12);\n font-weight: 500;\n user-select: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.segment-boundary-trigger-text .plus-icon {\n transition: transform 0.25s ease;\n}\n\n.segment-boundary-trigger-text:hover .plus-icon {\n color: var(--color-gray-800);\n}\n\n.segment-boundary-trigger svg {\n width: 14px;\n height: 14px;\n flex-shrink: 0;\n vertical-align: middle;\n}\n\n.segment-boundary-trigger:hover svg {\n color: var(--color-gray-700);\n}\n\n.segment-boundary-trigger[disabled] svg,\n.segment-boundary-trigger[disabled]:hover svg {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown {\n padding: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 16px;\n min-width: 120px;\n user-select: none;\n cursor: default;\n box-shadow: 0px 4px 8px -4px color-mix(in srgb, var(--color-gray-900) 4%, transparent);\n}\n\n.segment-boundary-dropdown-positioner {\n z-index: var(--top-z-index);\n}\n\n.segment-boundary-dropdown-item {\n display: flex;\n align-items: center;\n padding: 8px;\n line-height: 20px;\n font-size: 14px;\n border-radius: 6px;\n color: var(--color-gray-1000);\n cursor: pointer;\n min-width: 220px;\n border: none;\n background: none;\n width: 100%;\n}\n\n.segment-boundary-dropdown-item[data-disabled] {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown-item svg {\n margin-right: 12px;\n color: currentColor;\n}\n\n.segment-boundary-dropdown-item:hover {\n background: var(--color-gray-200);\n}\n\n.segment-boundary-dropdown-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n\n.segment-boundary-dropdown-item:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.segment-boundary-group-label {\n padding: 8px;\n font-size: 13px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-gray-900);\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"],names:[],mappings:"AAAA;EACE,aAAa;EACb,mBAAmB;EACnB,QAAQ;EACR,gBAAgB;EAChB,iBAAiB;EACjB,gBAAgB;EAChB,6BAA6B;EAC7B,oBAAoB;EACpB,YAAY;EACZ,yBAAyB;EACzB,eAAe;EACf,uCAAuC;AACzC;;AAEA;EACE,yBAAyB;EACzB,gBAAgB;EAChB,iBAAiB;EACjB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;;AAEA;EACE,gCAAgC;AAClC;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,cAAc;EACd,sBAAsB;AACxB;;AAEA;EACE,4BAA4B;AAC9B;;AAEA;;EAEE,4BAA4B;EAC5B,mBAAmB;AACrB;;AAEA;EACE,YAAY;EACZ,uCAAuC;EACvC,uCAAuC;EACvC,mBAAmB;EACnB,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,sFAAsF;AACxF;;AAEA;EACE,2BAA2B;AAC7B;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,YAAY;EACZ,iBAAiB;EACjB,eAAe;EACf,kBAAkB;EAClB,6BAA6B;EAC7B,eAAe;EACf,gBAAgB;EAChB,YAAY;EACZ,gBAAgB;EAChB,WAAW;AACb;;AAEA;EACE,4BAA4B;EAC5B,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;EAClB,mBAAmB;AACrB;;AAEA;EACE,iCAAiC;AACnC;;AAEA;EACE,2BAA2B;EAC3B,4BAA4B;AAC9B;;AAEA;EACE,8BAA8B;EAC9B,+BAA+B;AACjC;;AAEA;EACE,YAAY;EACZ,eAAe;EACf,iBAAiB;EACjB,gBAAgB;EAChB,4BAA4B;AAC9B",sourcesContent:[".segment-boundary-trigger {\n display: flex;\n align-items: center;\n gap: 4px;\n padding: 4px 6px;\n line-height: 16px;\n font-weight: 500;\n color: var(--color-gray-1000);\n border-radius: 999px;\n border: none;\n font-size: var(--size-12);\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-boundary-trigger-text {\n font-size: var(--size-12);\n font-weight: 500;\n user-select: none;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.segment-boundary-trigger-text .plus-icon {\n transition: transform 0.25s ease;\n}\n\n.segment-boundary-trigger-text:hover .plus-icon {\n color: var(--color-gray-800);\n}\n\n.segment-boundary-trigger svg {\n width: 14px;\n height: 14px;\n flex-shrink: 0;\n vertical-align: middle;\n}\n\n.segment-boundary-trigger:hover svg {\n color: var(--color-gray-700);\n}\n\n.segment-boundary-trigger[disabled] svg,\n.segment-boundary-trigger[disabled]:hover svg {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown {\n padding: 8px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 16px;\n min-width: 120px;\n user-select: none;\n cursor: default;\n box-shadow: 0px 4px 8px -4px color-mix(in srgb, var(--color-gray-900) 4%, transparent);\n}\n\n.segment-boundary-dropdown-positioner {\n z-index: var(--top-z-index);\n}\n\n.segment-boundary-dropdown-item {\n display: flex;\n align-items: center;\n padding: 8px;\n line-height: 20px;\n font-size: 14px;\n border-radius: 6px;\n color: var(--color-gray-1000);\n cursor: pointer;\n min-width: 220px;\n border: none;\n background: none;\n width: 100%;\n}\n\n.segment-boundary-dropdown-item[data-disabled] {\n color: var(--color-gray-400);\n cursor: not-allowed;\n}\n\n.segment-boundary-dropdown-item svg {\n margin-right: 12px;\n color: currentColor;\n}\n\n.segment-boundary-dropdown-item:hover {\n background: var(--color-gray-200);\n}\n\n.segment-boundary-dropdown-item:first-child {\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n}\n\n.segment-boundary-dropdown-item:last-child {\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.segment-boundary-group-label {\n padding: 8px;\n font-size: 13px;\n line-height: 16px;\n font-weight: 400;\n color: var(--color-gray-900);\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,".segment-explorer-content {\n font-size: var(--size-14);\n padding: 0 8px;\n width: 100%;\n height: 100%;\n}\n\n.segment-explorer-page-route-bar {\n display: flex;\n align-items: center;\n padding: 14px 16px;\n background-color: var(--color-background-200);\n gap: 12px;\n}\n\n.segment-explorer-page-route-bar-path {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n font-family: var(--font-mono);\n white-space: nowrap;\n line-height: 20px;\n}\n\n.segment-explorer-item {\n margin: 4px 0;\n border-radius: 6px;\n}\n\n.segment-explorer-item:nth-child(even) {\n background-color: var(--color-background-200);\n}\n.segment-explorer-item-row {\n display: flex;\n flex-direction: column;\n padding-top: 10px;\n padding-bottom: 10px;\n padding-right: 4px;\n}\n.segment-explorer-item-row-main {\n display: flex;\n align-items: center;\n white-space: pre;\n cursor: default;\n color: var(--color-gray-1000);\n}\n\n.segment-explorer-children--intended {\n padding-left: 16px;\n}\n\n.segment-explorer-filename {\n display: inline-flex;\n width: 100%;\n align-items: center;\n}\n\n.segment-explorer-filename select {\n margin-left: auto;\n}\n.segment-explorer-filename--path {\n margin-right: 8px;\n}\n.segment-explorer-filename--path small {\n display: inline-block;\n width: 0;\n opacity: 0;\n}\n.segment-explorer-filename--name {\n color: var(--color-gray-800);\n}\n\n.segment-explorer-files {\n display: inline-flex;\n gap: 8px;\n margin-left: auto;\n}\n\n.segment-explorer-files + .segment-boundary-trigger {\n margin-left: 8px;\n}\n\n.segment-explorer-file-label {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0 6px;\n height: 20px;\n border-radius: 16px;\n line-height: 16px;\n font-size: var(--size-12);\n font-weight: 500;\n user-select: none;\n cursor: pointer;\n background-color: var(--color-gray-300);\n color: var(--color-gray-1000);\n}\n.segment-explorer-file-label-text {\n display: inline-flex;\n align-items: center;\n}\n\n.segment-explorer-file-label--overridden {\n background-color: var(--color-amber-300);\n color: var(--color-amber-900);\n}\n\n.segment-explorer-file-label .code-icon {\n opacity: 0;\n margin-left: 0;\n width: 0;\n transition: all 0.15s ease-in-out;\n}\n.segment-explorer-file-label:hover .code-icon {\n opacity: 1;\n width: 12px;\n margin-left: 4px;\n}\n\n.segment-explorer-file-label:hover {\n filter: brightness(0.95);\n}\n\n.segment-explorer-file-label--builtin {\n background-color: transparent;\n color: var(--color-gray-900);\n border: 1px dashed var(--color-gray-500);\n height: 24px;\n cursor: default;\n}\n.segment-explorer-file-label--builtin svg {\n margin-left: 4px;\n margin-right: -4px;\n}\n\n/* Footer styles */\n.segment-explorer-footer {\n padding: 8px;\n border-top: 1px solid var(--color-gray-400);\n user-select: none;\n}\n\n.segment-explorer-footer-button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n width: 100%;\n padding: 6px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-explorer-footer-button:hover:not(:disabled) {\n background: var(--color-gray-200);\n}\n\n.segment-explorer-footer-button--disabled {\n cursor: not-allowed;\n}\n\n.segment-explorer-footer-text {\n text-align: center;\n}\n\n.segment-explorer-footer-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n height: 20px;\n padding: 0 6px;\n background: var(--color-amber-300);\n color: var(--color-amber-900);\n border-radius: 10px;\n font-size: var(--size-12);\n font-weight: 600;\n line-height: 1;\n}\n\n.segment-explorer-file-label-tooltip--sm {\n white-space: nowrap;\n}\n\n.segment-explorer-file-label-tooltip--lg {\n min-width: 200px;\n}\n\n.segment-explorer-suggestions {\n display: inline-flex;\n gap: 8px;\n}\n\n.segment-explorer-suggestions-tooltip {\n width: 200px;\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"],names:[],mappings:"AAAA;EACE,yBAAyB;EACzB,cAAc;EACd,WAAW;EACX,YAAY;AACd;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,kBAAkB;EAClB,6CAA6C;EAC7C,SAAS;AACX;;AAEA;EACE,yBAAyB;EACzB,gBAAgB;EAChB,6BAA6B;EAC7B,6BAA6B;EAC7B,mBAAmB;EACnB,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,6CAA6C;AAC/C;AACA;EACE,aAAa;EACb,sBAAsB;EACtB,iBAAiB;EACjB,oBAAoB;EACpB,kBAAkB;AACpB;AACA;EACE,aAAa;EACb,mBAAmB;EACnB,gBAAgB;EAChB,eAAe;EACf,6BAA6B;AAC/B;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;EACpB,WAAW;EACX,mBAAmB;AACrB;;AAEA;EACE,iBAAiB;AACnB;AACA;EACE,iBAAiB;AACnB;AACA;EACE,qBAAqB;EACrB,QAAQ;EACR,UAAU;AACZ;AACA;EACE,4BAA4B;AAC9B;;AAEA;EACE,oBAAoB;EACpB,QAAQ;EACR,iBAAiB;AACnB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;EACvB,cAAc;EACd,YAAY;EACZ,mBAAmB;EACnB,iBAAiB;EACjB,yBAAyB;EACzB,gBAAgB;EAChB,iBAAiB;EACjB,eAAe;EACf,uCAAuC;EACvC,6BAA6B;AAC/B;AACA;EACE,oBAAoB;EACpB,mBAAmB;AACrB;;AAEA;EACE,wCAAwC;EACxC,6BAA6B;AAC/B;;AAEA;EACE,UAAU;EACV,cAAc;EACd,QAAQ;EACR,iCAAiC;AACnC;AACA;EACE,UAAU;EACV,WAAW;EACX,gBAAgB;AAClB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,6BAA6B;EAC7B,4BAA4B;EAC5B,wCAAwC;EACxC,YAAY;EACZ,eAAe;AACjB;AACA;EACE,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA,kBAAkB;AAClB;EACE,YAAY;EACZ,2CAA2C;EAC3C,iBAAiB;AACnB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,QAAQ;EACR,WAAW;EACX,YAAY;EACZ,uCAAuC;EACvC,uCAAuC;EACvC,kBAAkB;EAClB,6BAA6B;EAC7B,yBAAyB;EACzB,gBAAgB;EAChB,eAAe;EACf,uCAAuC;AACzC;;AAEA;EACE,iCAAiC;AACnC;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;EACvB,eAAe;EACf,YAAY;EACZ,cAAc;EACd,kCAAkC;EAClC,6BAA6B;EAC7B,mBAAmB;EACnB,yBAAyB;EACzB,gBAAgB;EAChB,cAAc;AAChB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,oBAAoB;EACpB,QAAQ;AACV;;AAEA;EACE,YAAY;AACd",sourcesContent:[".segment-explorer-content {\n font-size: var(--size-14);\n padding: 0 8px;\n width: 100%;\n height: 100%;\n}\n\n.segment-explorer-page-route-bar {\n display: flex;\n align-items: center;\n padding: 14px 16px;\n background-color: var(--color-background-200);\n gap: 12px;\n}\n\n.segment-explorer-page-route-bar-path {\n font-size: var(--size-14);\n font-weight: 500;\n color: var(--color-gray-1000);\n font-family: var(--font-mono);\n white-space: nowrap;\n line-height: 20px;\n}\n\n.segment-explorer-item {\n margin: 4px 0;\n border-radius: 6px;\n}\n\n.segment-explorer-item:nth-child(even) {\n background-color: var(--color-background-200);\n}\n.segment-explorer-item-row {\n display: flex;\n flex-direction: column;\n padding-top: 10px;\n padding-bottom: 10px;\n padding-right: 4px;\n}\n.segment-explorer-item-row-main {\n display: flex;\n align-items: center;\n white-space: pre;\n cursor: default;\n color: var(--color-gray-1000);\n}\n\n.segment-explorer-children--intended {\n padding-left: 16px;\n}\n\n.segment-explorer-filename {\n display: inline-flex;\n width: 100%;\n align-items: center;\n}\n\n.segment-explorer-filename select {\n margin-left: auto;\n}\n.segment-explorer-filename--path {\n margin-right: 8px;\n}\n.segment-explorer-filename--path small {\n display: inline-block;\n width: 0;\n opacity: 0;\n}\n.segment-explorer-filename--name {\n color: var(--color-gray-800);\n}\n\n.segment-explorer-files {\n display: inline-flex;\n gap: 8px;\n margin-left: auto;\n}\n\n.segment-explorer-files + .segment-boundary-trigger {\n margin-left: 8px;\n}\n\n.segment-explorer-file-label {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n padding: 0 6px;\n height: 20px;\n border-radius: 16px;\n line-height: 16px;\n font-size: var(--size-12);\n font-weight: 500;\n user-select: none;\n cursor: pointer;\n background-color: var(--color-gray-300);\n color: var(--color-gray-1000);\n}\n.segment-explorer-file-label-text {\n display: inline-flex;\n align-items: center;\n}\n\n.segment-explorer-file-label--overridden {\n background-color: var(--color-amber-300);\n color: var(--color-amber-900);\n}\n\n.segment-explorer-file-label .code-icon {\n opacity: 0;\n margin-left: 0;\n width: 0;\n transition: all 0.15s ease-in-out;\n}\n.segment-explorer-file-label:hover .code-icon {\n opacity: 1;\n width: 12px;\n margin-left: 4px;\n}\n\n.segment-explorer-file-label:hover {\n filter: brightness(0.95);\n}\n\n.segment-explorer-file-label--builtin {\n background-color: transparent;\n color: var(--color-gray-900);\n border: 1px dashed var(--color-gray-500);\n height: 24px;\n cursor: default;\n}\n.segment-explorer-file-label--builtin svg {\n margin-left: 4px;\n margin-right: -4px;\n}\n\n/* Footer styles */\n.segment-explorer-footer {\n padding: 8px;\n border-top: 1px solid var(--color-gray-400);\n user-select: none;\n}\n\n.segment-explorer-footer-button {\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 8px;\n width: 100%;\n padding: 6px;\n background: var(--color-background-100);\n border: 1px solid var(--color-gray-400);\n border-radius: 6px;\n color: var(--color-gray-1000);\n font-size: var(--size-14);\n font-weight: 500;\n cursor: pointer;\n transition: background-color 0.15s ease;\n}\n\n.segment-explorer-footer-button:hover:not(:disabled) {\n background: var(--color-gray-200);\n}\n\n.segment-explorer-footer-button--disabled {\n cursor: not-allowed;\n}\n\n.segment-explorer-footer-text {\n text-align: center;\n}\n\n.segment-explorer-footer-badge {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-width: 20px;\n height: 20px;\n padding: 0 6px;\n background: var(--color-amber-300);\n color: var(--color-amber-900);\n border-radius: 10px;\n font-size: var(--size-12);\n font-weight: 600;\n line-height: 1;\n}\n\n.segment-explorer-file-label-tooltip--sm {\n white-space: nowrap;\n}\n\n.segment-explorer-file-label-tooltip--lg {\n min-width: 200px;\n}\n\n.segment-explorer-suggestions {\n display: inline-flex;\n gap: 8px;\n}\n\n.segment-explorer-suggestions-tooltip {\n width: 200px;\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/toast/style.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,".nextjs-toast {\n position: fixed;\n z-index: var(--top-z-index);\n max-width: 420px;\n box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25);\n}\n\n.nextjs-toast-errors-parent {\n padding: 16px;\n border-radius: var(--rounded-4xl);\n font-weight: 500;\n color: var(--color-ansi-bright-white);\n background-color: var(--color-ansi-red);\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/toast/style.css"],names:[],mappings:"AAAA;EACE,eAAe;EACf,2BAA2B;EAC3B,gBAAgB;EAChB,6CAA6C;AAC/C;;AAEA;EACE,aAAa;EACb,iCAAiC;EACjC,gBAAgB;EAChB,qCAAqC;EACrC,uCAAuC;AACzC",sourcesContent:[".nextjs-toast {\n position: fixed;\n z-index: var(--top-z-index);\n max-width: 420px;\n box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25);\n}\n\n.nextjs-toast-errors-parent {\n padding: 16px;\n border-radius: var(--rounded-4xl);\n font-weight: 500;\n color: var(--color-ansi-bright-white);\n background-color: var(--color-ansi-red);\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,".tooltip-wrapper {\n position: relative;\n display: inline-block;\n line-height: 1;\n}\n\n.tooltip {\n position: relative;\n padding: 6px 12px;\n border-radius: 8px;\n font-size: 14px;\n line-height: 1.4;\n pointer-events: none;\n color: var(--color-gray-100);\n background-color: var(--color-gray-1000);\n}\n\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: var(--arrow-size, 6px);\n border-color: transparent;\n}\n\n.tooltip-arrow--top {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0\n var(--arrow-size, 6px);\n border-top-color: var(--color-gray-1000);\n bottom: 0;\n transform: translateY(100%);\n}\n\n.tooltip-arrow--bottom {\n border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-bottom-color: var(--color-gray-1000);\n top: 0;\n transform: translateY(-100%);\n}\n\n.tooltip-arrow--left {\n border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-left-color: var(--color-gray-1000);\n right: 0;\n transform: translateX(100%);\n}\n\n.tooltip-arrow--right {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px) 0;\n border-right-color: var(--color-gray-1000);\n left: 0;\n transform: translateX(-100%);\n}\n\n.tooltip-positioner {\n z-index: var(--top-z-index);\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,qBAAqB;EACrB,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,iBAAiB;EACjB,kBAAkB;EAClB,eAAe;EACf,gBAAgB;EAChB,oBAAoB;EACpB,4BAA4B;EAC5B,wCAAwC;AAC1C;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,mBAAmB;EACnB,oCAAoC;EACpC,yBAAyB;AAC3B;;AAEA;EACE;0BACwB;EACxB,wCAAwC;EACxC,SAAS;EACT,2BAA2B;AAC7B;;AAEA;EACE;0BACwB;EACxB,2CAA2C;EAC3C,MAAM;EACN,4BAA4B;AAC9B;;AAEA;EACE;0BACwB;EACxB,yCAAyC;EACzC,QAAQ;EACR,2BAA2B;AAC7B;;AAEA;EACE;4BAC0B;EAC1B,0CAA0C;EAC1C,OAAO;EACP,4BAA4B;AAC9B;;AAEA;EACE,2BAA2B;AAC7B",sourcesContent:[".tooltip-wrapper {\n position: relative;\n display: inline-block;\n line-height: 1;\n}\n\n.tooltip {\n position: relative;\n padding: 6px 12px;\n border-radius: 8px;\n font-size: 14px;\n line-height: 1.4;\n pointer-events: none;\n color: var(--color-gray-100);\n background-color: var(--color-gray-1000);\n}\n\n.tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: var(--arrow-size, 6px);\n border-color: transparent;\n}\n\n.tooltip-arrow--top {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0\n var(--arrow-size, 6px);\n border-top-color: var(--color-gray-1000);\n bottom: 0;\n transform: translateY(100%);\n}\n\n.tooltip-arrow--bottom {\n border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-bottom-color: var(--color-gray-1000);\n top: 0;\n transform: translateY(-100%);\n}\n\n.tooltip-arrow--left {\n border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px)\n var(--arrow-size, 6px);\n border-left-color: var(--color-gray-1000);\n right: 0;\n transform: translateX(100%);\n}\n\n.tooltip-arrow--right {\n border-width: var(--arrow-size, 6px) var(--arrow-size, 6px)\n var(--arrow-size, 6px) 0;\n border-right-color: var(--color-gray-1000);\n left: 0;\n transform: translateX(-100%);\n}\n\n.tooltip-positioner {\n z-index: var(--top-z-index);\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/global.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return f}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a),l=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/normalize.css"),s=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/default-theme.css"),c=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/dark-theme.css"),u=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/colors.css"),d=i()(o());d.i(l.Z),d.i(s.Z),d.i(c.Z),d.i(u.Z),d.push([e.id,"/* devtool global css variables */\n:host {\n /* variables */\n --top-z-index: 2147483647;\n}\n\n/* global styles */\n* {\n -webkit-font-smoothing: antialiased;\n}\n\n/* global reset for draggable content scrollbar styles */\n[data-nextjs-scrollable-content],\n[data-nextjs-scrollable-content] * {\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n\n &::-webkit-scrollbar-button {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n}\n\n/* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n[data-nextjs-scrollable-content] {\n overflow: hidden;\n border-radius: inherit;\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/global.css"],names:[],mappings:"AAKA,iCAAiC;AACjC;EACE,cAAc;EACd,yBAAyB;AAC3B;;AAEA,kBAAkB;AAClB;EACE,mCAAmC;AACrC;;AAEA,wDAAwD;AACxD;;EAEE;IACE,UAAU;IACV,WAAW;IACX,4BAA4B;IAC5B,mBAAmB;EACrB;;EAEA;IACE,aAAa;EACf;;EAEA;IACE,4BAA4B;IAC5B,6CAA6C;EAC/C;;EAEA;IACE,mBAAmB;IACnB,uCAAuC;EACzC;AACF;;AAEA,iFAAiF;AACjF;EACE,gBAAgB;EAChB,sBAAsB;AACxB",sourcesContent:["@import './normalize.css';\n@import './styles/default-theme.css';\n@import './styles/dark-theme.css';\n@import './styles/colors.css';\n\n/* devtool global css variables */\n:host {\n /* variables */\n --top-z-index: 2147483647;\n}\n\n/* global styles */\n* {\n -webkit-font-smoothing: antialiased;\n}\n\n/* global reset for draggable content scrollbar styles */\n[data-nextjs-scrollable-content],\n[data-nextjs-scrollable-content] * {\n &::-webkit-scrollbar {\n width: 6px;\n height: 6px;\n border-radius: 0 0 1rem 1rem;\n margin-bottom: 1rem;\n }\n\n &::-webkit-scrollbar-button {\n display: none;\n }\n\n &::-webkit-scrollbar-track {\n border-radius: 0 0 1rem 1rem;\n background-color: var(--color-background-100);\n }\n\n &::-webkit-scrollbar-thumb {\n border-radius: 1rem;\n background-color: var(--color-gray-500);\n }\n}\n\n/* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n[data-nextjs-scrollable-content] {\n overflow: hidden;\n border-radius: inherit;\n}\n"],sourceRoot:""}]);var f=d},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/menu/panel-router.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,"/* Panel content padding styles */\n.panel-content {\n padding: 16px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* User preferences wrapper styles */\n.user-preferences-wrapper {\n padding: 20px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* Panel route base styles */\n.panel-route {\n opacity: var(--panel-opacity);\n transition: var(--panel-transition);\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/menu/panel-router.css"],names:[],mappings:"AAAA,iCAAiC;AACjC;EACE,aAAa;EACb,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA,oCAAoC;AACpC;EACE,aAAa;EACb,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA,4BAA4B;AAC5B;EACE,6BAA6B;EAC7B,mCAAmC;AACrC",sourcesContent:["/* Panel content padding styles */\n.panel-content {\n padding: 16px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* User preferences wrapper styles */\n.user-preferences-wrapper {\n padding: 20px;\n padding-top: 8px;\n overflow: hidden;\n}\n\n/* Panel route base styles */\n.panel-route {\n opacity: var(--panel-opacity);\n transition: var(--panel-transition);\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/normalize.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,":host {\n all: initial;\n\n /* the direction property is not reset by 'all' */\n direction: ltr;\n}\n\n/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n:host {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\narticle,\naside,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\n:host {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n color: var(--color-font);\n text-align: left;\n}\n\n:host:not(button) {\n background-color: #fff;\n}\n\n[tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 8px;\n}\n\np {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 16px;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 8px;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 16px;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):hover {\n color: inherit;\n text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',\n 'Courier New', monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 16px;\n overflow: auto;\n}\n\nfigure {\n margin: 0 0 16px;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 12px;\n padding-bottom: 12px;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 8px;\n}\n\nbutton {\n border-radius: 0;\n border: 0;\n padding: 0;\n margin: 0;\n background: none;\n appearance: none;\n -webkit-appearance: none;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nbutton:focus:not(:focus-visible) {\n outline: none;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nselect {\n word-wrap: normal;\n}\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n\nbutton:not(:disabled),\n[type='button']:not(:disabled),\n[type='reset']:not(:disabled),\n[type='submit']:not(:disabled) {\n cursor: pointer;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type='radio'],\ninput[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: 8px;\n font-size: 24px;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/normalize.css"],names:[],mappings:"AAAA;EACE,YAAY;;EAEZ,iDAAiD;EACjD,cAAc;AAChB;;AAEA;;;;;;EAME;AACF;;;EAGE,sBAAsB;AACxB;;AAEA;EACE,uBAAuB;EACvB,iBAAiB;EACjB,8BAA8B;EAC9B,6CAA6C;AAC/C;;AAEA;;;;;;;;;;EAUE,cAAc;AAChB;;AAEA;EACE,SAAS;EACT;;2DAEyD;EACzD,eAAe;EACf,gBAAgB;EAChB,gBAAgB;EAChB,wBAAwB;EACxB,gBAAgB;AAClB;;AAEA;EACE,sBAAsB;AACxB;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,uBAAuB;EACvB,SAAS;EACT,iBAAiB;AACnB;;AAEA;;;;;;EAME,aAAa;EACb,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;AACrB;;AAEA;;EAEE,0BAA0B;EAC1B,yCAAyC;EACzC,iCAAiC;EACjC,YAAY;EACZ,gBAAgB;EAChB,sCAAsC;EACtC,8BAA8B;AAChC;;AAEA;EACE,mBAAmB;EACnB,kBAAkB;EAClB,oBAAoB;AACtB;;AAEA;;;EAGE,aAAa;EACb,mBAAmB;AACrB;;AAEA;;;;EAIE,gBAAgB;AAClB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;;EAEE,mBAAmB;AACrB;;AAEA;EACE,cAAc;AAChB;;AAEA;;EAEE,kBAAkB;EAClB,cAAc;EACd,cAAc;EACd,wBAAwB;AAC1B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,WAAW;AACb;;AAEA;EACE,cAAc;EACd,qBAAqB;EACrB,6BAA6B;AAC/B;;AAEA;EACE,cAAc;EACd,0BAA0B;AAC5B;;AAEA;EACE,cAAc;EACd,qBAAqB;AACvB;;AAEA;EACE,cAAc;EACd,qBAAqB;AACvB;;AAEA;;;;EAIE;4BAC0B;EAC1B,cAAc;AAChB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,cAAc;AAChB;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,sBAAsB;AACxB;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,iBAAiB;EACjB,oBAAoB;EACpB,cAAc;EACd,gBAAgB;EAChB,oBAAoB;AACtB;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,qBAAqB;EACrB,kBAAkB;AACpB;;AAEA;EACE,gBAAgB;EAChB,SAAS;EACT,UAAU;EACV,SAAS;EACT,gBAAgB;EAChB,gBAAgB;EAChB,wBAAwB;AAC1B;;AAEA;EACE,mBAAmB;EACnB,0CAA0C;AAC5C;;AAEA;EACE,aAAa;AACf;;AAEA;;;;;EAKE,SAAS;EACT,oBAAoB;EACpB,kBAAkB;EAClB,oBAAoB;AACtB;;AAEA;;EAEE,iBAAiB;AACnB;;AAEA;;EAEE,oBAAoB;AACtB;;AAEA;EACE,iBAAiB;AACnB;;AAEA;;;;EAIE,0BAA0B;AAC5B;;AAEA;;;;EAIE,eAAe;AACjB;;AAEA;;;;EAIE,UAAU;EACV,kBAAkB;AACpB;;AAEA;;EAEE,sBAAsB;EACtB,UAAU;AACZ;;AAEA;;;;EAIE,2BAA2B;AAC7B;;AAEA;EACE,cAAc;EACd,gBAAgB;AAClB;;AAEA;EACE,YAAY;EACZ,UAAU;EACV,SAAS;EACT,SAAS;AACX;;AAEA;EACE,cAAc;EACd,WAAW;EACX,eAAe;EACf,UAAU;EACV,kBAAkB;EAClB,eAAe;EACf,oBAAoB;EACpB,cAAc;EACd,mBAAmB;AACrB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;;EAEE,YAAY;AACd;;AAEA;EACE,oBAAoB;EACpB,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,aAAa;EACb,0BAA0B;AAC5B;;AAEA;EACE,qBAAqB;AACvB;;AAEA;EACE,kBAAkB;EAClB,eAAe;AACjB;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,wBAAwB;AAC1B",sourcesContent:[":host {\n all: initial;\n\n /* the direction property is not reset by 'all' */\n direction: ltr;\n}\n\n/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n box-sizing: border-box;\n}\n\n:host {\n font-family: sans-serif;\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\narticle,\naside,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n display: block;\n}\n\n:host {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,\n 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',\n 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';\n font-size: 16px;\n font-weight: 400;\n line-height: 1.5;\n color: var(--color-font);\n text-align: left;\n}\n\n:host:not(button) {\n background-color: #fff;\n}\n\n[tabindex='-1']:focus:not(:focus-visible) {\n outline: 0 !important;\n}\n\nhr {\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-top: 0;\n margin-bottom: 8px;\n}\n\np {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nabbr[title],\nabbr[data-original-title] {\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n cursor: help;\n border-bottom: 0;\n -webkit-text-decoration-skip-ink: none;\n text-decoration-skip-ink: none;\n}\n\naddress {\n margin-bottom: 16px;\n font-style: normal;\n line-height: inherit;\n}\n\nol,\nul,\ndl {\n margin-top: 0;\n margin-bottom: 16px;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n margin-bottom: 0;\n}\n\ndt {\n font-weight: 700;\n}\n\ndd {\n margin-bottom: 8px;\n margin-left: 0;\n}\n\nblockquote {\n margin: 0 0 16px;\n}\n\nb,\nstrong {\n font-weight: bolder;\n}\n\nsmall {\n font-size: 80%;\n}\n\nsub,\nsup {\n position: relative;\n font-size: 75%;\n line-height: 0;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\na {\n color: #007bff;\n text-decoration: none;\n background-color: transparent;\n}\n\na:hover {\n color: #0056b3;\n text-decoration: underline;\n}\n\na:not([href]) {\n color: inherit;\n text-decoration: none;\n}\n\na:not([href]):hover {\n color: inherit;\n text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',\n 'Courier New', monospace;\n font-size: 1em;\n}\n\npre {\n margin-top: 0;\n margin-bottom: 16px;\n overflow: auto;\n}\n\nfigure {\n margin: 0 0 16px;\n}\n\nimg {\n vertical-align: middle;\n border-style: none;\n}\n\nsvg {\n overflow: hidden;\n vertical-align: middle;\n}\n\ntable {\n border-collapse: collapse;\n}\n\ncaption {\n padding-top: 12px;\n padding-bottom: 12px;\n color: #6c757d;\n text-align: left;\n caption-side: bottom;\n}\n\nth {\n text-align: inherit;\n}\n\nlabel {\n display: inline-block;\n margin-bottom: 8px;\n}\n\nbutton {\n border-radius: 0;\n border: 0;\n padding: 0;\n margin: 0;\n background: none;\n appearance: none;\n -webkit-appearance: none;\n}\n\nbutton:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n}\n\nbutton:focus:not(:focus-visible) {\n outline: none;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n margin: 0;\n font-family: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\nbutton,\ninput {\n overflow: visible;\n}\n\nbutton,\nselect {\n text-transform: none;\n}\n\nselect {\n word-wrap: normal;\n}\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button;\n}\n\nbutton:not(:disabled),\n[type='button']:not(:disabled),\n[type='reset']:not(:disabled),\n[type='submit']:not(:disabled) {\n cursor: pointer;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n padding: 0;\n border-style: none;\n}\n\ninput[type='radio'],\ninput[type='checkbox'] {\n box-sizing: border-box;\n padding: 0;\n}\n\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n -webkit-appearance: listbox;\n}\n\ntextarea {\n overflow: auto;\n resize: vertical;\n}\n\nfieldset {\n min-width: 0;\n padding: 0;\n margin: 0;\n border: 0;\n}\n\nlegend {\n display: block;\n width: 100%;\n max-width: 100%;\n padding: 0;\n margin-bottom: 8px;\n font-size: 24px;\n line-height: inherit;\n color: inherit;\n white-space: normal;\n}\n\nprogress {\n vertical-align: baseline;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n height: auto;\n}\n\n[type='search'] {\n outline-offset: -2px;\n -webkit-appearance: none;\n}\n\n[type='search']::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n font: inherit;\n -webkit-appearance: button;\n}\n\noutput {\n display: inline-block;\n}\n\nsummary {\n display: list-item;\n cursor: pointer;\n}\n\ntemplate {\n display: none;\n}\n\n[hidden] {\n display: none !important;\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/panel/dynamic-panel.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,"/* Panel container base styles with dynamic positioning and sizing */\n.dynamic-panel-container {\n position: fixed;\n z-index: 2147483646;\n outline: none;\n top: var(--panel-top, auto);\n bottom: var(--panel-bottom, auto);\n left: var(--panel-left, auto);\n right: var(--panel-right, auto);\n width: var(--panel-width);\n height: var(--panel-height);\n min-width: var(--panel-min-width);\n min-height: var(--panel-min-height);\n max-width: var(--panel-max-width);\n max-height: var(--panel-max-height);\n}\n\n/* Panel content container styles */\n.panel-content-container {\n position: relative;\n width: 100%;\n height: 100%;\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-100);\n display: flex;\n flex-direction: column;\n}\n\n/* Draggable content area styles */\n.draggable-content {\n flex: 1;\n overflow: auto;\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/panel/dynamic-panel.css"],names:[],mappings:"AAAA,oEAAoE;AACpE;EACE,eAAe;EACf,mBAAmB;EACnB,aAAa;EACb,2BAA2B;EAC3B,iCAAiC;EACjC,6BAA6B;EAC7B,+BAA+B;EAC/B,yBAAyB;EACzB,2BAA2B;EAC3B,iCAAiC;EACjC,mCAAmC;EACnC,iCAAiC;EACjC,mCAAmC;AACrC;;AAEA,mCAAmC;AACnC;EACE,kBAAkB;EAClB,WAAW;EACX,YAAY;EACZ,6CAA6C;EAC7C,gCAAgC;EAChC,uCAAuC;EACvC,aAAa;EACb,sBAAsB;AACxB;;AAEA,kCAAkC;AAClC;EACE,OAAO;EACP,cAAc;AAChB",sourcesContent:["/* Panel container base styles with dynamic positioning and sizing */\n.dynamic-panel-container {\n position: fixed;\n z-index: 2147483646;\n outline: none;\n top: var(--panel-top, auto);\n bottom: var(--panel-bottom, auto);\n left: var(--panel-left, auto);\n right: var(--panel-right, auto);\n width: var(--panel-width);\n height: var(--panel-height);\n min-width: var(--panel-min-width);\n min-height: var(--panel-min-height);\n max-width: var(--panel-max-width);\n max-height: var(--panel-max-height);\n}\n\n/* Panel content container styles */\n.panel-content-container {\n position: relative;\n width: 100%;\n height: 100%;\n border: 1px solid var(--color-gray-alpha-400);\n border-radius: var(--rounded-xl);\n background: var(--color-background-100);\n display: flex;\n flex-direction: column;\n}\n\n/* Draggable content area styles */\n.draggable-content {\n flex: 1;\n overflow: auto;\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/colors.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,':host {\n /* \n * CAUTION: THIS IS A WORKAROUND!\n * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.\n * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54\n * So, we do a workaround mapping to change the color matching the theme.\n *\n * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan".\n * We want the "keyword" to use the "syntax-keyword" color in the theme.\n * So, we map the "cyan" to the "syntax-keyword" in the theme.\n */\n /* cyan: keyword */\n --color-ansi-cyan: var(--color-syntax-keyword);\n /* yellow: capitalized, jsxIdentifier, punctuation */\n --color-ansi-yellow: var(--color-syntax-function);\n /* magenta: number, regex */\n --color-ansi-magenta: var(--color-syntax-keyword);\n /* green: string */\n --color-ansi-green: var(--color-syntax-string);\n /* gray (bright black): comment, gutter */\n --color-ansi-bright-black: var(--color-syntax-comment);\n\n /* Ansi - Temporary */\n --color-ansi-selection: var(--color-gray-alpha-300);\n --color-ansi-bg: var(--color-background-200);\n --color-ansi-fg: var(--color-gray-1000);\n\n --color-ansi-white: var(--color-gray-700);\n --color-ansi-black: var(--color-gray-200);\n --color-ansi-blue: var(--color-blue-700);\n --color-ansi-red: var(--color-red-700);\n --color-ansi-bright-white: var(--color-gray-1000);\n --color-ansi-bright-blue: var(--color-blue-800);\n --color-ansi-bright-cyan: var(--color-blue-800);\n --color-ansi-bright-green: var(--color-green-800);\n --color-ansi-bright-magenta: var(--color-blue-800);\n --color-ansi-bright-red: var(--color-red-800);\n --color-ansi-bright-yellow: var(--color-amber-900);\n\n /* Background Light */\n --color-background-100: #ffffff;\n --color-background-200: #fafafa;\n\n /* Syntax Light */\n --color-syntax-comment: #545454;\n --color-syntax-constant: #171717;\n --color-syntax-function: #0054ad;\n --color-syntax-keyword: #a51850;\n --color-syntax-link: #066056;\n --color-syntax-parameter: #8f3e00;\n --color-syntax-punctuation: #171717;\n --color-syntax-string: #036157;\n --color-syntax-string-expression: #066056;\n\n /* Gray Scale Light */\n --color-gray-100: #f2f2f2;\n --color-gray-200: #ebebeb;\n --color-gray-300: #e6e6e6;\n --color-gray-400: #eaeaea;\n --color-gray-500: #c9c9c9;\n --color-gray-600: #a8a8a8;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #666666;\n --color-gray-1000: #171717;\n\n /* Gray Alpha Scale Light */\n --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n /* Blue Scale Light */\n --color-blue-100: #f0f7ff;\n --color-blue-200: #edf6ff;\n --color-blue-300: #e1f0ff;\n --color-blue-400: #cde7ff;\n --color-blue-500: #99ceff;\n --color-blue-600: #52aeff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #0067d6;\n --color-blue-1000: #0025ad;\n\n /* Red Scale Light */\n --color-red-100: #fff0f0;\n --color-red-200: #ffebeb;\n --color-red-300: #ffe5e5;\n --color-red-400: #fdd8d8;\n --color-red-500: #f8baba;\n --color-red-600: #f87274;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ca2a30;\n --color-red-1000: #381316;\n\n /* Amber Scale Light */\n --color-amber-100: #fff6e5;\n --color-amber-200: #fff4d5;\n --color-amber-300: #fef0cd;\n --color-amber-400: #ffddbf;\n --color-amber-500: #ffc96b;\n --color-amber-600: #f5b047;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #a35200;\n --color-amber-1000: #4e2009;\n\n /* Green Scale Light */\n --color-green-100: #effbef;\n --color-green-200: #eafaea;\n --color-green-300: #dcf6dc;\n --color-green-400: #c8f1c9;\n --color-green-500: #99e59f;\n --color-green-600: #6cda76;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #297c3b;\n --color-green-1000: #18311e;\n\n /* Turbopack Light - Temporary */\n --color-turbopack-text-red: #ff1e56;\n --color-turbopack-text-blue: #0096ff;\n --color-turbopack-border-red: #f0adbe;\n --color-turbopack-border-blue: #adccea;\n --color-turbopack-background-red: #fff7f9;\n --color-turbopack-background-blue: #f6fbff;\n}\n',"",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/styles/colors.css"],names:[],mappings:"AAAA;EACE;;;;;;;;;IASE;EACF,kBAAkB;EAClB,8CAA8C;EAC9C,oDAAoD;EACpD,iDAAiD;EACjD,2BAA2B;EAC3B,iDAAiD;EACjD,kBAAkB;EAClB,8CAA8C;EAC9C,yCAAyC;EACzC,sDAAsD;;EAEtD,qBAAqB;EACrB,mDAAmD;EACnD,4CAA4C;EAC5C,uCAAuC;;EAEvC,yCAAyC;EACzC,yCAAyC;EACzC,wCAAwC;EACxC,sCAAsC;EACtC,iDAAiD;EACjD,+CAA+C;EAC/C,+CAA+C;EAC/C,iDAAiD;EACjD,kDAAkD;EAClD,6CAA6C;EAC7C,kDAAkD;;EAElD,qBAAqB;EACrB,+BAA+B;EAC/B,+BAA+B;;EAE/B,iBAAiB;EACjB,+BAA+B;EAC/B,gCAAgC;EAChC,gCAAgC;EAChC,+BAA+B;EAC/B,4BAA4B;EAC5B,iCAAiC;EACjC,mCAAmC;EACnC,8BAA8B;EAC9B,yCAAyC;;EAEzC,qBAAqB;EACrB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,0BAA0B;;EAE1B,2BAA2B;EAC3B,2CAA2C;EAC3C,4CAA4C;EAC5C,0CAA0C;EAC1C,2CAA2C;EAC3C,2CAA2C;EAC3C,2CAA2C;EAC3C,2CAA2C;EAC3C,2CAA2C;EAC3C,4CAA4C;EAC5C,4CAA4C;;EAE5C,qBAAqB;EACrB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,0BAA0B;;EAE1B,oBAAoB;EACpB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;;EAEzB,sBAAsB;EACtB,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,2BAA2B;;EAE3B,sBAAsB;EACtB,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,2BAA2B;;EAE3B,gCAAgC;EAChC,mCAAmC;EACnC,oCAAoC;EACpC,qCAAqC;EACrC,sCAAsC;EACtC,yCAAyC;EACzC,0CAA0C;AAC5C",sourcesContent:[':host {\n /* \n * CAUTION: THIS IS A WORKAROUND!\n * For now, we use @babel/code-frame to parse the code frame which does not support option to change the color.\n * x-ref: https://github.com/babel/babel/blob/efa52324ff835b794c48080f14877b6caf32cd15/packages/babel-code-frame/src/defs.ts#L40-L54\n * So, we do a workaround mapping to change the color matching the theme.\n *\n * For example, in @babel/code-frame, the "keyword" is mapped to ANSI "cyan".\n * We want the "keyword" to use the "syntax-keyword" color in the theme.\n * So, we map the "cyan" to the "syntax-keyword" in the theme.\n */\n /* cyan: keyword */\n --color-ansi-cyan: var(--color-syntax-keyword);\n /* yellow: capitalized, jsxIdentifier, punctuation */\n --color-ansi-yellow: var(--color-syntax-function);\n /* magenta: number, regex */\n --color-ansi-magenta: var(--color-syntax-keyword);\n /* green: string */\n --color-ansi-green: var(--color-syntax-string);\n /* gray (bright black): comment, gutter */\n --color-ansi-bright-black: var(--color-syntax-comment);\n\n /* Ansi - Temporary */\n --color-ansi-selection: var(--color-gray-alpha-300);\n --color-ansi-bg: var(--color-background-200);\n --color-ansi-fg: var(--color-gray-1000);\n\n --color-ansi-white: var(--color-gray-700);\n --color-ansi-black: var(--color-gray-200);\n --color-ansi-blue: var(--color-blue-700);\n --color-ansi-red: var(--color-red-700);\n --color-ansi-bright-white: var(--color-gray-1000);\n --color-ansi-bright-blue: var(--color-blue-800);\n --color-ansi-bright-cyan: var(--color-blue-800);\n --color-ansi-bright-green: var(--color-green-800);\n --color-ansi-bright-magenta: var(--color-blue-800);\n --color-ansi-bright-red: var(--color-red-800);\n --color-ansi-bright-yellow: var(--color-amber-900);\n\n /* Background Light */\n --color-background-100: #ffffff;\n --color-background-200: #fafafa;\n\n /* Syntax Light */\n --color-syntax-comment: #545454;\n --color-syntax-constant: #171717;\n --color-syntax-function: #0054ad;\n --color-syntax-keyword: #a51850;\n --color-syntax-link: #066056;\n --color-syntax-parameter: #8f3e00;\n --color-syntax-punctuation: #171717;\n --color-syntax-string: #036157;\n --color-syntax-string-expression: #066056;\n\n /* Gray Scale Light */\n --color-gray-100: #f2f2f2;\n --color-gray-200: #ebebeb;\n --color-gray-300: #e6e6e6;\n --color-gray-400: #eaeaea;\n --color-gray-500: #c9c9c9;\n --color-gray-600: #a8a8a8;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #666666;\n --color-gray-1000: #171717;\n\n /* Gray Alpha Scale Light */\n --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n /* Blue Scale Light */\n --color-blue-100: #f0f7ff;\n --color-blue-200: #edf6ff;\n --color-blue-300: #e1f0ff;\n --color-blue-400: #cde7ff;\n --color-blue-500: #99ceff;\n --color-blue-600: #52aeff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #0067d6;\n --color-blue-1000: #0025ad;\n\n /* Red Scale Light */\n --color-red-100: #fff0f0;\n --color-red-200: #ffebeb;\n --color-red-300: #ffe5e5;\n --color-red-400: #fdd8d8;\n --color-red-500: #f8baba;\n --color-red-600: #f87274;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ca2a30;\n --color-red-1000: #381316;\n\n /* Amber Scale Light */\n --color-amber-100: #fff6e5;\n --color-amber-200: #fff4d5;\n --color-amber-300: #fef0cd;\n --color-amber-400: #ffddbf;\n --color-amber-500: #ffc96b;\n --color-amber-600: #f5b047;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #a35200;\n --color-amber-1000: #4e2009;\n\n /* Green Scale Light */\n --color-green-100: #effbef;\n --color-green-200: #eafaea;\n --color-green-300: #dcf6dc;\n --color-green-400: #c8f1c9;\n --color-green-500: #99e59f;\n --color-green-600: #6cda76;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #297c3b;\n --color-green-1000: #18311e;\n\n /* Turbopack Light - Temporary */\n --color-turbopack-text-red: #ff1e56;\n --color-turbopack-text-blue: #0096ff;\n --color-turbopack-border-red: #f0adbe;\n --color-turbopack-border-blue: #adccea;\n --color-turbopack-background-red: #fff7f9;\n --color-turbopack-background-blue: #f6fbff;\n}\n'],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/dark-theme.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,":host(.dark) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n}\n\n@media (prefers-color-scheme: dark) {\n :host(:not(.light)) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n }\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/styles/dark-theme.css"],names:[],mappings:"AAAA;EACE,mBAAmB;EACnB,oCAAoC;EACpC,iDAAiD;;EAEjD,4BAA4B;EAC5B,4BAA4B;;EAE5B,oBAAoB;EACpB,+BAA+B;EAC/B,+BAA+B;;EAE/B,gBAAgB;EAChB,+BAA+B;EAC/B,gCAAgC;EAChC,gCAAgC;EAChC,+BAA+B;EAC/B,4BAA4B;EAC5B,iCAAiC;EACjC,mCAAmC;EACnC,8BAA8B;EAC9B,yCAAyC;;EAEzC,oBAAoB;EACpB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,0BAA0B;;EAE1B,0BAA0B;EAC1B,kDAAkD;EAClD,kDAAkD;EAClD,kDAAkD;EAClD,kDAAkD;EAClD,kDAAkD;EAClD,kDAAkD;EAClD,iDAAiD;EACjD,iDAAiD;EACjD,iDAAiD;EACjD,mDAAmD;;EAEnD,oBAAoB;EACpB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,yBAAyB;EACzB,0BAA0B;;EAE1B,mBAAmB;EACnB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,wBAAwB;EACxB,yBAAyB;;EAEzB,qBAAqB;EACrB,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,2BAA2B;;EAE3B,qBAAqB;EACrB,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;EAC1B,2BAA2B;;EAE3B,+BAA+B;EAC/B,mCAAmC;EACnC,oCAAoC;EACpC,qCAAqC;EACrC,sCAAsC;EACtC,yCAAyC;EACzC,0CAA0C;AAC5C;;AAEA;EACE;IACE,mBAAmB;IACnB,oCAAoC;IACpC,iDAAiD;;IAEjD,4BAA4B;IAC5B,4BAA4B;;IAE5B,oBAAoB;IACpB,+BAA+B;IAC/B,+BAA+B;;IAE/B,gBAAgB;IAChB,+BAA+B;IAC/B,gCAAgC;IAChC,gCAAgC;IAChC,+BAA+B;IAC/B,4BAA4B;IAC5B,iCAAiC;IACjC,mCAAmC;IACnC,8BAA8B;IAC9B,yCAAyC;;IAEzC,oBAAoB;IACpB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,0BAA0B;;IAE1B,0BAA0B;IAC1B,kDAAkD;IAClD,kDAAkD;IAClD,kDAAkD;IAClD,kDAAkD;IAClD,kDAAkD;IAClD,kDAAkD;IAClD,iDAAiD;IACjD,iDAAiD;IACjD,iDAAiD;IACjD,mDAAmD;;IAEnD,oBAAoB;IACpB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,yBAAyB;IACzB,0BAA0B;;IAE1B,mBAAmB;IACnB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,wBAAwB;IACxB,yBAAyB;;IAEzB,qBAAqB;IACrB,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;;IAE3B,qBAAqB;IACrB,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,0BAA0B;IAC1B,2BAA2B;;IAE3B,+BAA+B;IAC/B,mCAAmC;IACnC,oCAAoC;IACpC,qCAAqC;IACrC,sCAAsC;IACtC,yCAAyC;IACzC,0CAA0C;EAC5C;AACF",sourcesContent:[":host(.dark) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n}\n\n@media (prefers-color-scheme: dark) {\n :host(:not(.light)) {\n --color-font: white;\n --color-backdrop: rgba(0, 0, 0, 0.8);\n --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n --color-title-color: #fafafa;\n --color-stack-notes: #a9a9a9;\n\n /* Background Dark */\n --color-background-100: #0a0a0a;\n --color-background-200: #000000;\n\n /* Syntax Dark */\n --color-syntax-comment: #a0a0a0;\n --color-syntax-constant: #ededed;\n --color-syntax-function: #52a9ff;\n --color-syntax-keyword: #f76e99;\n --color-syntax-link: #0ac5b2;\n --color-syntax-parameter: #f1a10d;\n --color-syntax-punctuation: #ededed;\n --color-syntax-string: #0ac5b2;\n --color-syntax-string-expression: #0ac5b2;\n\n /* Gray Scale Dark */\n --color-gray-100: #1a1a1a;\n --color-gray-200: #1f1f1f;\n --color-gray-300: #292929;\n --color-gray-400: #2e2e2e;\n --color-gray-500: #454545;\n --color-gray-600: #878787;\n --color-gray-700: #8f8f8f;\n --color-gray-800: #7d7d7d;\n --color-gray-900: #a0a0a0;\n --color-gray-1000: #ededed;\n\n /* Gray Alpha Scale Dark */\n --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n /* Blue Scale Dark */\n --color-blue-100: #0f1b2d;\n --color-blue-200: #10243e;\n --color-blue-300: #0f3058;\n --color-blue-400: #0d3868;\n --color-blue-500: #0a4481;\n --color-blue-600: #0091ff;\n --color-blue-700: #0070f3;\n --color-blue-800: #0060d1;\n --color-blue-900: #52a9ff;\n --color-blue-1000: #eaf6ff;\n\n /* Red Scale Dark */\n --color-red-100: #2a1314;\n --color-red-200: #3d1719;\n --color-red-300: #551a1e;\n --color-red-400: #671e22;\n --color-red-500: #822025;\n --color-red-600: #e5484d;\n --color-red-700: #e5484d;\n --color-red-800: #da3036;\n --color-red-900: #ff6369;\n --color-red-1000: #ffecee;\n\n /* Amber Scale Dark */\n --color-amber-100: #271700;\n --color-amber-200: #341c00;\n --color-amber-300: #4a2900;\n --color-amber-400: #573300;\n --color-amber-500: #693f05;\n --color-amber-600: #e79c13;\n --color-amber-700: #ffb224;\n --color-amber-800: #ff990a;\n --color-amber-900: #f1a10d;\n --color-amber-1000: #fef3dd;\n\n /* Green Scale Dark */\n --color-green-100: #0b2211;\n --color-green-200: #0f2c17;\n --color-green-300: #11351b;\n --color-green-400: #0c461b;\n --color-green-500: #126427;\n --color-green-600: #1a9338;\n --color-green-700: #46a758;\n --color-green-800: #388e4a;\n --color-green-900: #63c174;\n --color-green-1000: #e5fbeb;\n\n /* Turbopack Dark - Temporary */\n --color-turbopack-text-red: #ff6d92;\n --color-turbopack-text-blue: #45b2ff;\n --color-turbopack-border-red: #6e293b;\n --color-turbopack-border-blue: #284f80;\n --color-turbopack-background-red: #250d12;\n --color-turbopack-background-blue: #0a1723;\n }\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/styles/default-theme.css":function(e,n,t){"use strict";t.d(n,{Z:function(){return l}});var r=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js"),o=t.n(r),a=t("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js"),i=t.n(a)()(o());i.push([e.id,":host {\n /* \n * Although the style applied to the shadow host is isolated,\n * the element that attached the shadow host (i.e. \"nextjs-portal\")\n * is still affected by the parent's style (e.g. \"body\"). This may\n * occur style conflicts like \"display: flex\", with other children\n * elements therefore give the shadow host an absolute position.\n */\n position: absolute;\n\n --color-font: #757575;\n --color-backdrop: rgba(250, 250, 250, 0.8);\n --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n --color-title-color: #1f1f1f;\n --color-stack-notes: #777;\n\n --color-accents-1: #808080;\n --color-accents-2: #222222;\n --color-accents-3: #404040;\n\n --font-stack-monospace: '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular',\n Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n --font-stack-sans: '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro',\n sans-serif;\n\n font-family: var(--font-stack-sans);\n font-variant-ligatures: none;\n\n /* TODO: Remove replaced ones. */\n --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --shadow-none: 0 0 #0000;\n\n --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n --shadow-menu: 0px 1px 1px rgba(0, 0, 0, 0.02),\n 0px 4px 8px -4px rgba(0, 0, 0, 0.04), 0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n /* prettier-ignore */\n --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%);\n\n --rounded-none: 0px;\n --rounded-sm: 2px;\n --rounded-md: 4px;\n --rounded-md-2: 6px;\n --rounded-lg: 8px;\n --rounded-xl: 12px;\n --rounded-2xl: 16px;\n --rounded-3xl: 24px;\n --rounded-4xl: 32px;\n --rounded-full: 9999px;\n\n /* \n This value gets set from the Dev Tools preferences,\n and we use the following --size-* variables to \n scale the relevant elements.\n\n The reason why we don't rely on rem values is because\n if an app sets their root font size to something tiny, \n it feels unexpected to have the app root size leak \n into a Next.js surface.\n\n https://github.com/vercel/next.js/discussions/76812\n */\n --nextjs-dev-tools-scale: 1;\n --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n @media print {\n display: none;\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-bottom: 8px;\n font-weight: 500;\n line-height: 1.5;\n}\n\na {\n color: var(--color-blue-900);\n &:hover {\n color: var(--color-blue-900);\n }\n &:focus-visible {\n outline: var(--focus-ring);\n }\n}\n","",{version:3,sources:["webpack://./src/next-devtools/dev-overlay/styles/default-theme.css"],names:[],mappings:"AAAA;EACE;;;;;;IAME;EACF,kBAAkB;;EAElB,qBAAqB;EACrB,0CAA0C;EAC1C,2CAA2C;;EAE3C,4BAA4B;EAC5B,yBAAyB;;EAEzB,0BAA0B;EAC1B,0BAA0B;EAC1B,0BAA0B;;EAE1B;0DACwD;EACxD;cACY;;EAEZ,mCAAmC;EACnC,4BAA4B;;EAE5B,gCAAgC;EAChC,0CAA0C;EAC1C,uEAAuE;EACvE,6EAA6E;EAC7E;mCACiC;EACjC;oCACkC;EAClC,iDAAiD;EACjD,mDAAmD;EACnD,wBAAwB;;EAExB,+CAA+C;EAC/C;gFAC8E;;EAE9E,oCAAoC;EACpC,0CAA0C;;EAE1C,oDAAoD;EACpD,uDAAuD;EACvD,oBAAoB;EACpB,i3CAAi3C;;EAEj3C,mBAAmB;EACnB,iBAAiB;EACjB,iBAAiB;EACjB,mBAAmB;EACnB,iBAAiB;EACjB,kBAAkB;EAClB,mBAAmB;EACnB,mBAAmB;EACnB,mBAAmB;EACnB,sBAAsB;;EAEtB;;;;;;;;;;;GAWC;EACD,2BAA2B;EAC3B,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,mDAAmD;EACnD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;EACrD,qDAAqD;;EAErD;IACE,aAAa;EACf;AACF;;AAEA;;;;;;EAME,kBAAkB;EAClB,gBAAgB;EAChB,gBAAgB;AAClB;;AAEA;EACE,4BAA4B;EAC5B;IACE,4BAA4B;EAC9B;EACA;IACE,0BAA0B;EAC5B;AACF",sourcesContent:[":host {\n /* \n * Although the style applied to the shadow host is isolated,\n * the element that attached the shadow host (i.e. \"nextjs-portal\")\n * is still affected by the parent's style (e.g. \"body\"). This may\n * occur style conflicts like \"display: flex\", with other children\n * elements therefore give the shadow host an absolute position.\n */\n position: absolute;\n\n --color-font: #757575;\n --color-backdrop: rgba(250, 250, 250, 0.8);\n --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n --color-title-color: #1f1f1f;\n --color-stack-notes: #777;\n\n --color-accents-1: #808080;\n --color-accents-2: #222222;\n --color-accents-3: #404040;\n\n --font-stack-monospace: '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular',\n Consolas, 'Liberation Mono', Menlo, Courier, monospace;\n --font-stack-sans: '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro',\n sans-serif;\n\n font-family: var(--font-stack-sans);\n font-variant-ligatures: none;\n\n /* TODO: Remove replaced ones. */\n --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),\n 0 4px 6px -4px rgb(0 0 0 / 0.1);\n --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n --shadow-none: 0 0 #0000;\n\n --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n --shadow-menu: 0px 1px 1px rgba(0, 0, 0, 0.02),\n 0px 4px 8px -4px rgba(0, 0, 0, 0.04), 0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n --focus-color: var(--color-blue-800);\n --focus-ring: 2px solid var(--focus-color);\n\n --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n /* prettier-ignore */\n --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%);\n\n --rounded-none: 0px;\n --rounded-sm: 2px;\n --rounded-md: 4px;\n --rounded-md-2: 6px;\n --rounded-lg: 8px;\n --rounded-xl: 12px;\n --rounded-2xl: 16px;\n --rounded-3xl: 24px;\n --rounded-4xl: 32px;\n --rounded-full: 9999px;\n\n /* \n This value gets set from the Dev Tools preferences,\n and we use the following --size-* variables to \n scale the relevant elements.\n\n The reason why we don't rely on rem values is because\n if an app sets their root font size to something tiny, \n it feels unexpected to have the app root size leak \n into a Next.js surface.\n\n https://github.com/vercel/next.js/discussions/76812\n */\n --nextjs-dev-tools-scale: 1;\n --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n @media print {\n display: none;\n }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n margin-bottom: 8px;\n font-weight: 500;\n line-height: 1.5;\n}\n\na {\n color: var(--color-blue-900);\n &:hover {\n color: var(--color-blue-900);\n }\n &:focus-visible {\n outline: var(--focus-ring);\n }\n}\n"],sourceRoot:""}]);var l=i},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/api.js":function(e){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t="",r=void 0!==n[5];return n[4]&&(t+="@supports (".concat(n[4],") {")),n[2]&&(t+="@media ".concat(n[2]," {")),r&&(t+="@layer".concat(n[5].length>0?" ".concat(n[5]):""," {")),t+=e(n),r&&(t+="}"),n[2]&&(t+="}"),n[4]&&(t+="}"),t}).join("")},n.i=function(e,t,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),t&&(u[2]&&(u[1]="@media ".concat(u[2]," {").concat(u[1],"}")),u[2]=t),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),n.push(u))}},n}},"../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/runtime/sourceMaps.js":function(e){"use strict";e.exports=function(e){var n=e[1],t=e[3];if(!t)return n;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(t))));return[n].concat(["/*# ".concat("sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r)," */")]).join("\n")}return[n].join("\n")}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":function(e){"use strict";var n=[];function t(e){for(var t=-1,r=0;r0?" ".concat(t.layer):""," {")),r+=t.css,o&&(r+="}"),t.media&&(r+="}"),t.supports&&(r+="}"),(a=t.sourceMap)&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),e.styleTagTransform(r,n,e.options)},remove:function(){null!==n.parentNode&&n.parentNode.removeChild(n)}}}},"../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/styleTagTransform.js":function(e){"use strict";e.exports=function(e,n){if(n.styleSheet)n.styleSheet.cssText=e;else{for(;n.firstChild;)n.removeChild(n.firstChild);n.appendChild(document.createTextNode(e))}}},"./dist/compiled/anser/index.js":function(e){!function(){"use strict";var n={211:function(e){var n=function(){function e(e,n){for(var t=0;t]/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,n){return this.process(e,n,!0)}},{key:"ansiToJson",value:function(e,n){return(n=n||{}).json=!0,n.clearLine=!1,this.process(e,n,!0)}},{key:"ansiToText",value:function(e){return this.process(e,{},!1)}},{key:"process",value:function(e,n,t){var r=this,o=e.split(/\033\[/),a=o.shift();null==n&&(n={}),n.clearLine=/\r/.test(e);var i=o.map(function(e){return r.processChunk(e,n,t)});if(n&&n.json){var l=this.processChunkJson("");return l.content=a,l.clearLine=n.clearLine,i.unshift(l),n.remove_empty&&(i=i.filter(function(e){return!e.isEmpty()})),i}return i.unshift(a),i.join("")}},{key:"processChunkJson",value:function(e,n,r){var o=(n=void 0===n?{}:n).use_classes=void 0!==n.use_classes&&n.use_classes,a=n.key=o?"class":"color",i={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:n.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=t[0][c%10][a];else if(c>=90&&c<98)this.fg=t[1][c%10][a];else if(c>=40&&c<48)this.bg=t[0][c%10][a];else if(c>=100&&c<108)this.bg=t[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:t[+(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,n,t){var r=this;n=n||{};var o=this.processChunkJson(e,n,t);if(n.json)return o;if(o.isEmpty())return"";if(!o.was_processed)return o.content;var a=n.use_classes,i=[],l=[],s={},c=function(e){var n=[],t=void 0;for(t in e)e.hasOwnProperty(t)&&n.push("data-"+t+'="'+r.escapeForHtml(e[t])+'"');return n.length>0?" "+n.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}()}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}},i=!0;try{n[e](a,a.exports,r),i=!1}finally{i&&delete t[e]}return a.exports}r.ab="//",e.exports=r(211)}()},"./dist/compiled/react-dom/cjs/react-dom-client.production.js":function(e,n,t){"use strict";var o,a=t("./dist/compiled/scheduler/index.js"),i=t("./dist/compiled/react/index.js"),l=t("./dist/compiled/react-dom/index.js");function s(e){var n="https://react.dev/errors/"+e;if(1N||(e.current=L[N],L[N]=null,N--)}function Z(e,n){L[++N]=e.current,e.current=n}var U=R(null),F=R(null),H=R(null),q=R(null);function V(e,n){switch(Z(H,n),Z(F,e),Z(U,null),n.nodeType){case 9:case 11:e=(e=n.documentElement)&&(e=e.namespaceURI)?cm(e):0;break;default:if(e=n.tagName,n=n.namespaceURI)e=cv(n=cm(n),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}M(U),Z(U,e)}function W(){M(U),M(F),M(H)}function $(e){null!==e.memoizedState&&Z(q,e);var n=U.current,t=cv(n,e.type);n!==t&&(Z(F,e),Z(U,t))}function Y(e){F.current===e&&(M(U),M(F)),q.current===e&&(M(q),c8._currentValue=D)}function K(e){if(void 0===nN)try{throw Error()}catch(e){var n=e.stack.trim().match(/\n( *(at )?)/);nN=n&&n[1]||"",nR=-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{X=!1,Error.prepareStackTrace=t}return(t=e?e.displayName||e.name:"")?K(t):""}function Q(e){try{var n="",t=null;do n+=function(e,n){switch(e.tag){case 26:case 27:case 5:return K(e.type);case 16:return K("Lazy");case 13:return e.child!==n&&null!==n?K("Suspense Fallback"):K("Suspense");case 19:return K("SuspenseList");case 0:case 15:return G(e.type,!1);case 11:return G(e.type.render,!1);case 1:return G(e.type,!0);case 31:return K("Activity");default:return""}}(e,t),t=e,e=e.return;while(e);return n}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}var J=Object.prototype.hasOwnProperty,ee=a.unstable_scheduleCallback,en=a.unstable_cancelCallback,et=a.unstable_shouldYield,er=a.unstable_requestPaint,eo=a.unstable_now,ea=a.unstable_getCurrentPriorityLevel,ei=a.unstable_ImmediatePriority,el=a.unstable_UserBlockingPriority,es=a.unstable_NormalPriority,ec=a.unstable_LowPriority,eu=a.unstable_IdlePriority,ed=a.log,ef=a.unstable_setDisableYieldValue,ep=null,eh=null;function em(e){if("function"==typeof ed&&ef(e),eh&&"function"==typeof eh.setStrictMode)try{eh.setStrictMode(ep,e)}catch(e){}}var ev=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(eg(e)/ey|0)|0},eg=Math.log,ey=Math.LN2,eb=256,eA=4194304;function ex(e){var n=42&e;if(0!==n)return n;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:case 262144:case 524288:case 1048576:case 2097152:return 4194048&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 ew(e,n,t){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=ex(r):0!=(i&=l)?o=ex(i):t||0!=(t=l&~e)&&(o=ex(t)):0!=(l=r&~a)?o=ex(l):0!==i?o=ex(i):t||0!=(t=r&~e)&&(o=ex(t)),0===o?0:0!==n&&n!==o&&0==(n&a)&&((a=o&-o)>=(t=n&-n)||32===a&&0!=(4194048&t))?n:o}function eC(e,n){return 0==(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&n)}function ek(){var e=eb;return 0==(4194048&(eb<<=1))&&(eb=256),e}function eE(){var e=eA;return 0==(0x3c00000&(eA<<=1))&&(eA=4194304),e}function ej(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function e_(e,n){e.pendingLanes|=n,0x10000000!==n&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function eS(e,n,t){e.pendingLanes|=n,e.suspendedLanes&=~n;var r=31-ev(n);e.entangledLanes|=n,e.entanglements[r]=0x40000000|e.entanglements[r]|4194090&t}function eO(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-ev(t),o=1<=tt),ta=!1;function ti(e,n){switch(e){case"keyup":return -1!==te.indexOf(n.keyCode);case"keydown":return 229!==n.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function tl(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ts=!1,tc={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 tu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===n?!!tc[e.type]:"textarea"===n}function td(e,n,t,r){nA?nx?nx.push(r):nx=[r]:nA=r,0<(n=ct(n,"onChange")).length&&(t=new nH("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var tf=null,tp=null;function th(e){s5(e,0)}function tm(e){if(e7(e$(e)))return e}function tv(e,n){if("change"===e)return n}var tg=!1;if(nj){if(nj){var ty="oninput"in document;if(!ty){var tb=document.createElement("div");tb.setAttribute("oninput","return;"),ty="function"==typeof tb.oninput}o=ty}else o=!1;tg=o&&(!document.documentMode||9=n)return{node:r,offset:n-e};e=t}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=tS(r)}}function tB(e){e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window;for(var n=ne(e.document);n instanceof e.HTMLIFrameElement;){try{var t="string"==typeof n.contentWindow.location.href}catch(e){t=!1}if(t)e=n.contentWindow;else break;n=ne(e.document)}return n}function tP(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&("input"===n&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===n||"true"===e.contentEditable)}var tI=nj&&"documentMode"in document&&11>=document.documentMode,tz=null,tT=null,tD=null,tL=!1;function tN(e,n,t){var r=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;tL||null==tz||tz!==ne(r)||(r="selectionStart"in(r=tz)&&tP(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},tD&&t_(tD,r)||(tD=r,0<(r=ct(tT,"onSelect")).length&&(n=new nH("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=tz)))}function tR(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var tM={animationend:tR("Animation","AnimationEnd"),animationiteration:tR("Animation","AnimationIteration"),animationstart:tR("Animation","AnimationStart"),transitionrun:tR("Transition","TransitionRun"),transitionstart:tR("Transition","TransitionStart"),transitioncancel:tR("Transition","TransitionCancel"),transitionend:tR("Transition","TransitionEnd")},tZ={},tU={};function tF(e){if(tZ[e])return tZ[e];if(!tM[e])return e;var n,t=tM[e];for(n in t)if(t.hasOwnProperty(n)&&n in tU)return tZ[e]=t[n];return e}nj&&(tU=document.createElement("div").style,"AnimationEvent"in window||(delete tM.animationend.animation,delete tM.animationiteration.animation,delete tM.animationstart.animation),"TransitionEvent"in window||delete tM.transitionend.transition);var tH=tF("animationend"),tq=tF("animationiteration"),tV=tF("animationstart"),tW=tF("transitionrun"),t$=tF("transitionstart"),tY=tF("transitioncancel"),tK=tF("transitionend"),tX=new Map,tG="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 tQ(e,n){tX.set(e,n),eQ(n,[e])}tG.push("scrollEnd");var tJ="function"==typeof reportError?reportError:function(e){if("function"==typeof window.ErrorEvent){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(n))return}else if("object"==typeof r&&"function"==typeof r.emit)return void r.emit("uncaughtException",e);console.error(e)},t0=[],t1=0,t2=0;function t4(){for(var e=t1,n=t2=t1=0;n>=i,o-=i,rb=1<<32-ev(n)+o|t<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&&n(o,d),i=a(g,i,m),null===u?c=g:u.sibling=g,u=g,d=v}if(m===l.length)return t(o,d),rS&&rx(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&&n(o,m),i=a(b,i,v),null===d?u=b:d.sibling=b,d=b,m=g}if(y.done)return t(o,m),rS&&rx(o,v),u;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(o,y.value,c))&&(i=a(y,i,v),null===d?u=y:d.sibling=y,d=y);return rS&&rx(o,v),u}for(m=r(m);!y.done;v++,y=l.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 n(o,e)}),rS&&rx(o,v),u}(c,u,d=b.call(d),y)}if("function"==typeof d.then)return l(c,u,ov(d),y);if(d.$$typeof===x)return l(c,u,rX(c,d),y);oy(c,d)}return"string"==typeof d&&""!==d||"number"==typeof d||"bigint"==typeof d?(d=""+d,null!==u&&6===u.tag?(t(c,u.sibling),(y=o(u,d)).return=c):(t(c,u),(y=rl(d,c.mode,y)).return=c),i(c=y)):t(c,u)}(l,c,u,d);return oh=null,y}catch(e){if(e===oo||e===oi)throw e;var b=rn(29,e,null,l.mode);return b.lanes=d,b.return=l,b}finally{}}}var oA=ob(!0),ox=ob(!1),ow=!1;function oC(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ok(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function oE(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function oj(e,n,t){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&lL)){var o=r.pending;return null===o?n.next=n:(n.next=o.next,o.next=n),r.pending=n,n=t8(e),t9(e,null,t),n}return t5(e,r,n,t),t8(e)}function o_(e,n,t){if(null!==(n=n.updateQueue)&&(n=n.shared,0!=(4194048&t))){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,eO(e,t)}}function oS(e,n){var t=e.updateQueue,r=e.alternate;if(null!==r&&t===(r=r.updateQueue)){var o=null,a=null;if(null!==(t=t.firstBaseUpdate)){do{var i={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===a?o=a=i:a=a.next=i,t=t.next}while(null!==t);null===a?o=a=n:a=a.next=n}else o=a=n;t={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=t;return}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}var oO=!1;function oB(){if(oO){var e=r9;if(null!==e)throw e}}function oP(e,n,t,r){oO=!1;var o=e.updateQueue;ow=!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,h=f!==l.lane;if(h?(lM&f)===f:(r&f)===f){0!==f&&f===r6&&(oO=!0),null!==u&&(u=u.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var m=e,v=l;switch(f=n,v.tag){case 1:if("function"==typeof(m=v.payload)){d=m.call(t,d,f);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=v.payload)?m.call(t,d,f):m))break e;d=p({},d,f);break e;case 2:ow=!0}}null!==(f=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=o.callbacks)?o.callbacks=[f]:h.push(f))}else h={lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(c=u=h,s=d):u=u.next=h,i|=f;if(null===(l=l.next))if(null===(l=o.shared.pending))break;else l=(h=l).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}null===u&&(s=d),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null===a&&(o.shared.lanes=0),l$|=i,e.lanes=i,e.memoizedState=d}}function oI(e,n){if("function"!=typeof e)throw Error(s(191,e));e.call(n)}function oz(e,n){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;ea?a:8;var i=z.T,l={};z.T=l,a9(e,!1,n,t);try{var s=o(),c=z.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"))),cd(a,r,t),a[eL]=e,eK(a),r=a;break e;case"link":var i=c0("link","href",o).get(r+(t.href||""));if(i){for(var l=0;l<\/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[eL]=n,a[eN]=r;e:for(i=n.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===n)break;for(;null===i.sibling;){if(null===i.return||i.return===n)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(n.stateNode=a,cd(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&&iK(n)}}return i0(n),iX(n,n.type,null===e?null:e.memoizedProps,n.pendingProps,t),null;case 6:if(e&&null!=n.stateNode)e.memoizedProps!==r&&iK(n);else{if("string"!=typeof r&&null===n.stateNode)throw Error(s(166));if(e=H.current,rD(n)){if(e=n.stateNode,t=n.memoizedProps,r=null,null!==(o=rj))switch(o.tag){case 27:case 5:r=o.memoizedProps}e[eL]=n,(e=!!(e.nodeValue===t||null!==r&&!0===r.suppressHydrationWarning||cs(e.nodeValue,t)))||rI(n,!0)}else(e=ch(e).createTextNode(r))[eL]=n,n.stateNode=e}return i0(n),null;case 31:if(t=n.memoizedState,null===e||null!==e.memoizedState){if(r=rD(n),null!==t){if(null===e){if(!r)throw Error(s(318));if(!(e=null!==(e=n.memoizedState)?e.dehydrated:null))throw Error(s(557));e[eL]=n}else rL(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;i0(n),e=!1}else t=rN(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=t),e=!0;if(!e){if(256&n.flags)return oV(n),n;return oV(n),null}if(0!=(128&n.flags))throw Error(s(558))}return i0(n),null;case 13:if(r=n.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=rD(n),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(s(318));if(!(o=null!==(o=n.memoizedState)?o.dehydrated:null))throw Error(s(317));o[eL]=n}else rL(),0==(128&n.flags)&&(n.memoizedState=null),n.flags|=4;i0(n),o=!1}else o=rN(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o){if(256&n.flags)return oV(n),n;return oV(n),null}}if(oV(n),0!=(128&n.flags))return n.lanes=t,n;return t=null!==r,e=null!==e&&null!==e.memoizedState,t&&(r=n.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)),t!==e&&t&&(n.child.flags|=8192),iQ(n,n.updateQueue),i0(n),null;case 4:return W(),null===e&&s8(n.stateNode.containerInfo),i0(n),null;case 10:return rH(n.type),i0(n),null;case 19:if(M(oW),null===(r=n.memoizedState))return i0(n),null;if(o=0!=(128&n.flags),null===(a=r.rendering))if(o)iJ(r,!1);else{if(0!==lW||null!==e&&0!=(128&e.flags))for(e=n.child;null!==e;){if(null!==(a=o$(e))){for(n.flags|=128,iJ(r,!1),n.updateQueue=e=a.updateQueue,iQ(n,e),n.subtreeFlags=0,e=t,t=n.child;null!==t;)ro(t,e),t=t.sibling;return Z(oW,1&oW.current|2),rS&&rx(n,r.treeForkCount),n.child}e=e.sibling}null!==r.tail&&eo()>l2&&(n.flags|=128,o=!0,iJ(r,!1),n.lanes=4194304)}else{if(!o)if(null!==(e=o$(a))){if(n.flags|=128,o=!0,n.updateQueue=e=e.updateQueue,iQ(n,e),iJ(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!rS)return i0(n),null}else 2*eo()-r.renderingStartTime>l2&&0x20000000!==t&&(n.flags|=128,o=!0,iJ(r,!1),n.lanes=4194304);r.isBackwards?(a.sibling=n.child,n.child=a):(null!==(e=r.last)?e.sibling=a:n.child=a,r.last=a)}if(null!==r.tail)return e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=eo(),e.sibling=null,t=oW.current,Z(oW,o?1&t|2:1&t),rS&&rx(n,r.treeForkCount),e;return i0(n),null;case 22:case 23:return oV(n),oR(),r=null!==n.memoizedState,null!==e?null!==e.memoizedState!==r&&(n.flags|=8192):r&&(n.flags|=8192),r?0!=(0x20000000&t)&&0==(128&n.flags)&&(i0(n),6&n.subtreeFlags&&(n.flags|=8192)):i0(n),null!==(t=n.updateQueue)&&iQ(n,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),r=null,null!==n.memoizedState&&null!==n.memoizedState.cachePool&&(r=n.memoizedState.cachePool.pool),r!==t&&(n.flags|=2048),null!==e&&M(oe),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),n.memoizedState.cache!==t&&(n.flags|=2048),rH(r1),i0(n),null;case 25:case 30:return null}throw Error(s(156,n.tag))}(n.alternate,n,lV);if(null!==t){lR=t;return}if(null!==(n=n.sibling)){lR=n;return}lR=n=e}while(null!==n);0===lW&&(lW=5)}function sC(e,n){do{var t=function(e,n){switch(rk(n),n.tag){case 1:return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 3:return rH(r1),W(),0!=(65536&(e=n.flags))&&0==(128&e)?(n.flags=-65537&e|128,n):null;case 26:case 27:case 5:return Y(n),null;case 31:if(null!==n.memoizedState){if(oV(n),null===n.alternate)throw Error(s(340));rL()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 13:if(oV(n),null!==(e=n.memoizedState)&&null!==e.dehydrated){if(null===n.alternate)throw Error(s(340));rL()}return 65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 19:return M(oW),null;case 4:return W(),null;case 10:return rH(n.type),null;case 22:case 23:return oV(n),oR(),null!==e&&M(oe),65536&(e=n.flags)?(n.flags=-65537&e|128,n):null;case 24:return rH(r1),null;default:return null}}(e.alternate,e);if(null!==t){t.flags&=32767,lR=t;return}if(null!==(t=e.return)&&(t.flags|=32768,t.subtreeFlags=0,t.deletions=null),!n&&null!==(e=e.sibling)){lR=e;return}lR=e=t}while(null!==e);lW=6,lR=null}function sk(e,n,t,r,o,a,i,l,c){e.cancelPendingCommit=null;do sO();while(0!==l3);if(0!=(6&lL))throw Error(s(327));if(null!==n){if(n===e.current)throw Error(s(177));if(!function(e,n,t,r,o,a){var i=e.pendingLanes;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(t=i&~t;0v&&(i=v,v=m,m=i);var g=tO(l,m),y=tO(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;lt?32:t,z.T=null,t=se,se=null;var a=l6,i=l8;if(l3=0,l9=l6=null,l8=0,0!=(6&lL))throw Error(s(331));var l=lL;if(lL|=4,lI(a.current),lE(a,a.current,i,t),lL=l,sV(0,!1),eh&&"function"==typeof eh.onPostCommitFiberRoot)try{eh.onPostCommitFiberRoot(ep,a)}catch(e){}return!0}finally{T.p=o,z.T=r,sS(e,n)}}function sP(e,n,t){n=rd(t,n),n=ig(e.stateNode,n,2),null!==(e=oj(e,n,2))&&(e_(e,2),sq(e))}function sI(e,n,t){if(3===e.tag)sP(e,e,t);else for(;null!==n;){if(3===n.tag){sP(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===l5||!l5.has(r))){e=rd(t,e),null!==(r=oj(n,t=iy(2),2))&&(ib(t,r,n,e),e_(r,2),sq(r));break}}n=n.return}}function sz(e,n,t){var r=e.pingCache;if(null===r){r=e.pingCache=new lD;var o=new Set;r.set(n,o)}else void 0===(o=r.get(n))&&(o=new Set,r.set(n,o));o.has(t)||(lq=!0,o.add(t),e=sT.bind(null,e,n,t),n.then(e,e))}function sT(e,n,t){var r=e.pingCache;null!==r&&r.delete(n),e.pingedLanes|=e.suspendedLanes&t,e.warmLanes&=~t,lN===e&&(lM&t)===t&&(4===lW||3===lW&&(0x3c00000&lM)===lM&&300>eo()-l1?0==(2&lL)&&sf(e,0):lK|=t,lG===lM&&(lG=0)),sq(e)}function sD(e,n){0===n&&(n=eE()),null!==(e=t6(e,n))&&(e_(e,n),sq(e))}function sL(e){var n=e.memoizedState,t=0;null!==n&&(t=n.retryLane),sD(e,t)}function sN(e,n){var t=0;switch(e.tag){case 31:case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(t=o.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(s(314))}null!==r&&r.delete(n),sD(e,t)}var sR=null,sM=null,sZ=!1,sU=!1,sF=!1,sH=0;function sq(e){e!==sM&&null===e.next&&(null===sM?sR=sM=e:sM=sM.next=e),sU=!0,sZ||(sZ=!0,cw(function(){0!=(6&lL)?ee(ei,sW):s$()}))}function sV(e,n){if(!sF&&sU){sF=!0;do for(var t=!1,r=sR;null!==r;){if(!n)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-ev(42|e)+1)-1&(o&~(i&~l)))?0xc000095&a|1:a?2|a:0}0!==a&&(t=!0,sX(r,a))}else a=lM,0==(3&(a=ew(r,r===lN?a:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||eC(r,a)||(t=!0,sX(r,a));r=r.next}while(t);sF=!1}}function sW(){s$()}function s$(){sU=sZ=!1;var e,n=0;0===sH||((e=window.event)&&"popstate"===e.type?e===cy||(cy=e,0):(cy=null,1))||(n=sH);for(var t=eo(),r=null,o=sR;null!==o;){var a=o.next,i=sY(o,t);0===i?(o.next=null,null===r?sR=a:r.next=a,null===a&&(sM=r)):(r=o,(0!==n||0!=(3&i))&&(sU=!0)),o=a}0!==l3&&5!==l3||sV(n,!1),0!==sH&&(sH=0)}function sY(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=-0x3c00001&e.pendingLanes;0 title"):null)}function c2(e){return"stylesheet"!==e.type||0!=(3&e.state.loading)}var c4=null;function c5(){if(this.count--,0===this.count){if(this.stylesheets)c6(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var c3=null;function c6(e,n){e.stylesheets=null,null!==e.unsuspend&&(e.count++,c3=new Map,n.forEach(c9,e),c3=null,c5.call(e))}function c9(e,n){if(!(4&n.state.loading)){var t=c3.get(e);if(t)var r=t.get(null);else{t=new Map,c3.set(e,t);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),a=0;a>>1,o=e[r];if(0>>1;ra(s,t))ca(u,s)?(e[r]=u,e[c]=t,r=c):(e[r]=s,e[l]=t,r=l);else if(ca(u,t))e[r]=u,e[c]=t,r=c;else break}}return n}function a(e,n){var t=e.sortIndex-n.sortIndex;return 0!==t?t:e.id-n.id}if(n.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var i,l=performance;n.unstable_now=function(){return l.now()}}else{var s=Date,c=s.now();n.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,A="function"==typeof clearTimeout?clearTimeout:null,x="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var n=r(d);null!==n;){if(null===n.callback)o(d);else if(n.startTime<=e)o(d),n.sortIndex=n.expirationTime,t(u,n);else break;n=r(d)}}function C(e){if(g=!1,w(e),!v)if(null!==r(u))v=!0,k||(k=!0,i());else{var n=r(d);null!==n&&I(C,n.startTime-e)}}var k=!1,E=-1,j=5,_=-1;function S(){return!!y||!(n.unstable_now()-_e&&S());){var l=p.callback;if("function"==typeof l){p.callback=null,h=p.priorityLevel;var s=l(p.expirationTime<=e);if(e=n.unstable_now(),"function"==typeof s){p.callback=s,w(e),t=!0;break n}p===r(u)&&o(u),w(e)}else o(u);p=r(u)}if(null!==p)t=!0;else{var c=r(d);null!==c&&I(C,c.startTime-e),t=!1}}break e}finally{p=null,h=a,m=!1}}}finally{t?i():k=!1}}}if("function"==typeof x)i=function(){x(O)};else if("undefined"!=typeof MessageChannel){var B=new MessageChannel,P=B.port2;B.port1.onmessage=O,i=function(){P.postMessage(null)}}else i=function(){b(O,0)};function I(e,t){E=b(function(){e(n.unstable_now())},t)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(e){e.callback=null},n.unstable_forceFrameRate=function(e){0>e||125l?(e.sortIndex=a,t(d,e),null===r(u)&&e===r(d)&&(g?(A(E),E=-1):g=!0,I(C,a-l))):(e.sortIndex=s,t(u,e),v||m||(v=!0,k||(k=!0,i()))),e},n.unstable_shouldYield=S,n.unstable_wrapCallback=function(e){var n=h;return function(){var t=h;h=n;try{return e.apply(this,arguments)}finally{h=t}}}},"./dist/compiled/scheduler/index.js":function(e,n,t){"use strict";e.exports=t("./dist/compiled/scheduler/cjs/scheduler.production.js")},"./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js":function(e){!function(){"use strict";"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//");var n,t,r,o,a,i,l,s,c={};Object.defineProperty(c,"__esModule",{value:!0}),n="",t=/^\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=function(e){var o=t.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]||n,arguments:a?[o[2]]:[],lineNumber:o[3]?+o[3]:null,column:o[4]?+o[4]:null}}(c)||((u=o.exec(c))?{file:u[2],methodName:u[1]||n,arguments:[],lineNumber:+u[3],column:u[4]?+u[4]:null}:null)||function(e){var t=a.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,o=i.exec(t[3]);return r&&null!=o&&(t[3]=o[1],t[4]=o[2],t[5]=null),{file:t[3],methodName:t[1]||n,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}(c)||((d=s.exec(c))?{file:d[2],methodName:d[1]||n,arguments:[],lineNumber:+d[3],column:d[4]?+d[4]:null}:null)||((f=l.exec(c))?{file:f[3],methodName:f[1]||n,arguments:[],lineNumber:+f[4],column:f[5]?+f[5]:null}:null);return p&&e.push(p),e},[])},e.exports=c}()},"./dist/compiled/strip-ansi/index.js":function(e){!function(){"use strict";var n={511:function(e){e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onlyFirst;return 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=><~]))",void 0!==n&&n?void 0:"g")}},532:function(e,n,t){var r=t(511);e.exports=function(e){return"string"==typeof e?e.replace(r(),""):e}}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}},i=!0;try{n[e](a,a.exports,r),i=!1}finally{i&&delete t[e]}return a.exports}r.ab="//",e.exports=r(532)}()},"./src/build/webpack/loaders/devtool/devtool-style-inject.js":function(e){function n(){var e=window._nextjsDevtoolsStyleCache;if(e.cachedShadowRoot)return e.cachedShadowRoot;var n=document.querySelector("nextjs-portal"),t=(null==n?void 0:n.shadowRoot)||null;return t&&(e.cachedShadowRoot=t),t}function t(e,n){var t=window._nextjsDevtoolsStyleCache;t.lastInsertedElement?t.lastInsertedElement.nextSibling?n.insertBefore(e,t.lastInsertedElement.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),t.lastInsertedElement=e}function r(){var e=window._nextjsDevtoolsStyleCache,r=n();r&&(e.pendingElements.forEach(function(e){t(e,r)}),e.pendingElements=[])}window._nextjsDevtoolsStyleCache=window._nextjsDevtoolsStyleCache||{pendingElements:[],isObserving:!1,lastInsertedElement:null,cachedShadowRoot:null},e.exports=function(e){e.setAttribute("data-nextjs-dev-tool-style","true");var o=n();o?t(e,o):(window._nextjsDevtoolsStyleCache.pendingElements.push(e),function(){var e=window._nextjsDevtoolsStyleCache;if(!e.isObserving){if(e.isObserving=!0,n())return r();var t=new MutationObserver(function(o){if(0!==o.length){var a,i=R(o);try{for(i.s();!(a=i.n()).done;){var l=a.value;if(0!==l.addedNodes.length){var s,c,u=R(l.addedNodes);try{for(u.s();!(c=u.n()).done;)if(s=function(){var o=c.value;if(o.nodeType!==Node.ELEMENT_NODE)return 0;var a=null;if("SCRIPT"===o.tagName&&o.getAttribute("data-nextjs-dev-overlay")?a=o.firstChild:"NEXTJS-PORTAL"===o.tagName&&(a=o),a){var i=function(){n()?(r(),t.disconnect(),e.isObserving=!1):setTimeout(i,20)};return i(),{v:void 0}}}(),0!==s&&s)return s.v}catch(e){u.e(e)}finally{u.f()}}}}catch(e){i.e(e)}finally{i.f()}}});t.observe(document.body,{childList:!0,subtree:!0})}}())}},"./dist/compiled/zod/index.cjs":function(e){!function(){"use strict";var n={629:function(e,n,t){var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var o=Object.getOwnPropertyDescriptor(n,t);(!o||("get"in o?!n.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,o)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),o=this&&this.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)"default"!==t&&Object.prototype.hasOwnProperty.call(e,t)&&r(n,e,t);return o(n,e),n},i=this&&this.__exportStar||function(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||r(n,e,t)};Object.defineProperty(n,"__esModule",{value:!0}),n.z=void 0;var l=a(t(923));n.z=l,i(t(923),n),n.default=l},348:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.ZodError=n.quotelessJson=n.ZodIssueCode=void 0;var r=t(709);n.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"]),n.quotelessJson=function(e){return JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:")};var o=function(e){function n(e){u(this,n),(t=L(this,n)).issues=[],t.addIssue=function(e){t.issues=[].concat(c(t.issues),[e])},t.addIssues=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.issues=[].concat(c(t.issues),c(e))};var t,r=(this instanceof n?this.constructor:void 0).prototype;return Object.setPrototypeOf?Object.setPrototypeOf(t,r):t.__proto__=r,t.name="ZodError",t.issues=e,t}return h(n,e),d(n,[{key:"errors",get:function(){return this.issues}},{key:"format",value:function(e){var n=e||function(e){return e.message},t={_errors:[]},r=function(e){var o,a=R(e.issues);try{for(a.s();!(o=a.n()).done;){var i=o.value;if("invalid_union"===i.code)i.unionErrors.map(r);else if("invalid_return_type"===i.code)r(i.returnTypeError);else if("invalid_arguments"===i.code)r(i.argumentsError);else if(0===i.path.length)t._errors.push(n(i));else for(var l=t,s=0;s0&&void 0!==arguments[0]?arguments[0]:function(e){return e.message},t={},r=[],o=R(this.issues);try{for(o.s();!(e=o.n()).done;){var a=e.value;if(a.path.length>0){var i=a.path[0];t[i]=t[i]||[],t[i].push(n(a))}else r.push(n(a))}}catch(e){o.e(e)}finally{o.f()}return{formErrors:r,fieldErrors:t}}},{key:"formErrors",get:function(){return this.flatten()}}],[{key:"assert",value:function(e){if(!(e instanceof n))throw Error("Not a ZodError: ".concat(e))}}])}(m(Error));n.ZodError=o,o.create=function(e){return new o(e)}},61:function(e,n,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.defaultErrorMap=void 0,n.setErrorMap=function(e){a=e},n.getErrorMap=function(){return a};var o=r(t(871));n.defaultErrorMap=o.default;var a=o.default},923:function(e,n,t){var r=this&&this.__createBinding||(Object.create?function(e,n,t,r){void 0===r&&(r=t);var o=Object.getOwnPropertyDescriptor(n,t);(!o||("get"in o?!n.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,r,o)}:function(e,n,t,r){void 0===r&&(r=t),e[r]=n[t]}),o=this&&this.__exportStar||function(e,n){for(var t in e)"default"===t||Object.prototype.hasOwnProperty.call(n,t)||r(n,e,t)};Object.defineProperty(n,"__esModule",{value:!0}),o(t(61),n),o(t(818),n),o(t(515),n),o(t(709),n),o(t(155),n),o(t(348),n)},538:function(e,n){var t,r;Object.defineProperty(n,"__esModule",{value:!0}),n.errorUtil=void 0,(r=t||(n.errorUtil=t={})).errToObj=function(e){return"string"==typeof e?{message:e}:e||{}},r.toString=function(e){return"string"==typeof e?e:null==e?void 0:e.message}},818:function(e,n,t){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.isAsync=n.isValid=n.isDirty=n.isAborted=n.OK=n.DIRTY=n.INVALID=n.ParseStatus=n.EMPTY_PATH=n.makeIssue=void 0,n.addIssueToContext=function(e,t){var r=(0,o.getErrorMap)(),i=(0,n.makeIssue)({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===a.default?void 0:a.default].filter(function(e){return!!e})});e.common.issues.push(i)};var o=t(61),a=r(t(871));n.makeIssue=function(e){var n=e.data,t=e.path,r=e.errorMaps,o=e.issueData,a=[].concat(c(t),c(o.path||[])),i=D(D({},o),{},{path:a});if(void 0!==o.message)return D(D({},o),{},{path:a,message:o.message});var l,s="",u=R(r.filter(function(e){return!!e}).slice().reverse());try{for(u.s();!(l=u.n()).done;)s=(0,l.value)(i,{data:n,defaultError:s}).message}catch(e){u.e(e)}finally{u.f()}return D(D({},o),{},{path:a,message:s})},n.EMPTY_PATH=[];var s=function(){var e;function t(){u(this,t),this.value="valid"}return d(t,[{key:"dirty",value:function(){"valid"===this.value&&(this.value="dirty")}},{key:"abort",value:function(){"aborted"!==this.value&&(this.value="aborted")}}],[{key:"mergeArray",value:function(e,t){var r,o=[],a=R(t);try{for(a.s();!(r=a.n()).done;){var i=r.value;if("aborted"===i.status)return n.INVALID;"dirty"===i.status&&e.dirty(),o.push(i.value)}}catch(e){a.e(e)}finally{a.f()}return{status:e.value,value:o}}},{key:"mergeObjectAsync",value:(e=l(i.mark(function e(n,r){var o,a,l,s,c,u;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:o=[],a=R(r),e.prev=2,a.s();case 4:if((l=a.n()).done){e.next=15;break}return s=l.value,e.next=8,s.key;case 8:return c=e.sent,e.next=11,s.value;case 11:u=e.sent,o.push({key:c,value:u});case 13:e.next=4;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),a.e(e.t0);case 20:return e.prev=20,a.f(),e.finish(20);case 23:return e.abrupt("return",t.mergeObjectSync(n,o));case 24:case"end":return e.stop()}},e,null,[[2,17,20,23]])})),function(n,t){return e.apply(this,arguments)})},{key:"mergeObjectSync",value:function(e,t){var r,o={},a=R(t);try{for(a.s();!(r=a.n()).done;){var i=r.value,l=i.key,s=i.value;if("aborted"===l.status||"aborted"===s.status)return n.INVALID;"dirty"===l.status&&e.dirty(),"dirty"===s.status&&e.dirty(),"__proto__"!==l.value&&(void 0!==s.value||i.alwaysSet)&&(o[l.value]=s.value)}}catch(e){a.e(e)}finally{a.f()}return{status:e.value,value:o}}}])}();n.ParseStatus=s,n.INVALID=Object.freeze({status:"aborted"}),n.DIRTY=function(e){return{status:"dirty",value:e}},n.OK=function(e){return{status:"valid",value:e}},n.isAborted=function(e){return"aborted"===e.status},n.isDirty=function(e){return"dirty"===e.status},n.isValid=function(e){return"valid"===e.status},n.isAsync=function(e){return"undefined"!=typeof Promise&&e instanceof Promise}},515:function(e,n){Object.defineProperty(n,"__esModule",{value:!0})},709:function(e,n){var t,r,o;Object.defineProperty(n,"__esModule",{value:!0}),n.getParsedType=n.ZodParsedType=n.objectUtil=n.util=void 0,(o=t||(n.util=t={})).assertEqual=function(e){},o.assertIs=function(e){},o.assertNever=function(e){throw Error()},o.arrayToEnum=function(e){var n,t={},r=R(e);try{for(r.s();!(n=r.n()).done;){var o=n.value;t[o]=o}}catch(e){r.e(e)}finally{r.f()}return t},o.getValidEnumValues=function(e){var n,t=o.objectKeys(e).filter(function(n){return"number"!=typeof e[e[n]]}),r={},a=R(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;r[i]=e[i]}}catch(e){a.e(e)}finally{a.f()}return o.objectValues(r)},o.objectValues=function(e){return o.objectKeys(e).map(function(n){return e[n]})},o.objectKeys="function"==typeof Object.keys?function(e){return Object.keys(e)}:function(e){var n=[];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);return n},o.find=function(e,n){var t,r=R(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(n(o))return o}}catch(e){r.e(e)}finally{r.f()}},o.isInteger="function"==typeof Number.isInteger?function(e){return Number.isInteger(e)}:function(e){return"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e},o.joinValues=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" | ";return e.map(function(e){return"string"==typeof e?"'".concat(e,"'"):e}).join(n)},o.jsonStringifyReplacer=function(e,n){return"bigint"==typeof n?n.toString():n},(r||(n.objectUtil=r={})).mergeShapes=function(e,n){return D(D({},e),n)},n.ZodParsedType=t.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),n.getParsedType=function(e){switch(typeof e){case"undefined":return n.ZodParsedType.undefined;case"string":return n.ZodParsedType.string;case"number":return Number.isNaN(e)?n.ZodParsedType.nan:n.ZodParsedType.number;case"boolean":return n.ZodParsedType.boolean;case"function":return n.ZodParsedType.function;case"bigint":return n.ZodParsedType.bigint;case"symbol":return n.ZodParsedType.symbol;case"object":if(Array.isArray(e))return n.ZodParsedType.array;if(null===e)return n.ZodParsedType.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return n.ZodParsedType.promise;if("undefined"!=typeof Map&&e instanceof Map)return n.ZodParsedType.map;if("undefined"!=typeof Set&&e instanceof Set)return n.ZodParsedType.set;if("undefined"!=typeof Date&&e instanceof Date)return n.ZodParsedType.date;return n.ZodParsedType.object;default:return n.ZodParsedType.unknown}}},871:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0});var r=t(348),o=t(709);n.default=function(e,n){var t;switch(e.code){case r.ZodIssueCode.invalid_type:t=e.received===o.ZodParsedType.undefined?"Required":"Expected ".concat(e.expected,", received ").concat(e.received);break;case r.ZodIssueCode.invalid_literal:t="Invalid literal value, expected ".concat(JSON.stringify(e.expected,o.util.jsonStringifyReplacer));break;case r.ZodIssueCode.unrecognized_keys:t="Unrecognized key(s) in object: ".concat(o.util.joinValues(e.keys,", "));break;case r.ZodIssueCode.invalid_union:t="Invalid input";break;case r.ZodIssueCode.invalid_union_discriminator:t="Invalid discriminator value. Expected ".concat(o.util.joinValues(e.options));break;case r.ZodIssueCode.invalid_enum_value:t="Invalid enum value. Expected ".concat(o.util.joinValues(e.options),", received '").concat(e.received,"'");break;case r.ZodIssueCode.invalid_arguments:t="Invalid function arguments";break;case r.ZodIssueCode.invalid_return_type:t="Invalid function return type";break;case r.ZodIssueCode.invalid_date:t="Invalid date";break;case r.ZodIssueCode.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(t='Invalid input: must include "'.concat(e.validation.includes,'"'),"number"==typeof e.validation.position&&(t="".concat(t," at one or more positions greater than or equal to ").concat(e.validation.position))):"startsWith"in e.validation?t='Invalid input: must start with "'.concat(e.validation.startsWith,'"'):"endsWith"in e.validation?t='Invalid input: must end with "'.concat(e.validation.endsWith,'"'):o.util.assertNever(e.validation):t="regex"!==e.validation?"Invalid ".concat(e.validation):"Invalid";break;case r.ZodIssueCode.too_small:t="array"===e.type?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"more than"," ").concat(e.minimum," element(s)"):"string"===e.type?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at least":"over"," ").concat(e.minimum," character(s)"):"number"===e.type||"bigint"===e.type?"Number must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(e.minimum):"date"===e.type?"Date must be ".concat(e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than ").concat(new Date(Number(e.minimum))):"Invalid input";break;case r.ZodIssueCode.too_big:t="array"===e.type?"Array must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"less than"," ").concat(e.maximum," element(s)"):"string"===e.type?"String must contain ".concat(e.exact?"exactly":e.inclusive?"at most":"under"," ").concat(e.maximum," character(s)"):"number"===e.type?"Number must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):"bigint"===e.type?"BigInt must be ".concat(e.exact?"exactly":e.inclusive?"less than or equal to":"less than"," ").concat(e.maximum):"date"===e.type?"Date must be ".concat(e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"," ").concat(new Date(Number(e.maximum))):"Invalid input";break;case r.ZodIssueCode.custom:t="Invalid input";break;case r.ZodIssueCode.invalid_intersection_types:t="Intersection results could not be merged";break;case r.ZodIssueCode.not_multiple_of:t="Number must be a multiple of ".concat(e.multipleOf);break;case r.ZodIssueCode.not_finite:t="Number must be finite";break;default:t=n.defaultError,o.util.assertNever(e)}return{message:t}}},155:function(e,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.discriminatedUnion=n.date=n.boolean=n.bigint=n.array=n.any=n.coerce=n.ZodFirstPartyTypeKind=n.late=n.ZodSchema=n.Schema=n.ZodReadonly=n.ZodPipeline=n.ZodBranded=n.BRAND=n.ZodNaN=n.ZodCatch=n.ZodDefault=n.ZodNullable=n.ZodOptional=n.ZodTransformer=n.ZodEffects=n.ZodPromise=n.ZodNativeEnum=n.ZodEnum=n.ZodLiteral=n.ZodLazy=n.ZodFunction=n.ZodSet=n.ZodMap=n.ZodRecord=n.ZodTuple=n.ZodIntersection=n.ZodDiscriminatedUnion=n.ZodUnion=n.ZodObject=n.ZodArray=n.ZodVoid=n.ZodNever=n.ZodUnknown=n.ZodAny=n.ZodNull=n.ZodUndefined=n.ZodSymbol=n.ZodDate=n.ZodBoolean=n.ZodBigInt=n.ZodNumber=n.ZodString=n.ZodType=void 0,n.NEVER=n.void=n.unknown=n.union=n.undefined=n.tuple=n.transformer=n.symbol=n.string=n.strictObject=n.set=n.record=n.promise=n.preprocess=n.pipeline=n.ostring=n.optional=n.onumber=n.oboolean=n.object=n.number=n.nullable=n.null=n.never=n.nativeEnum=n.nan=n.map=n.literal=n.lazy=n.intersection=n.instanceof=n.function=n.enum=n.effect=void 0,n.datetimeRegex=V,n.custom=eP;var r,o,f,p,m,v=t(348),g=t(61),y=t(538),b=t(818),A=t(709),x=d(function e(n,t,r,o){u(this,e),this._cachedPath=[],this.parent=n,this.data=t,this._path=r,this._key=o},[{key:"path",get:function(){var e,n;return this._cachedPath.length||(Array.isArray(this._key)?(e=this._cachedPath).push.apply(e,c(this._path).concat(c(this._key))):(n=this._cachedPath).push.apply(n,c(this._path).concat([this._key]))),this._cachedPath}}]),w=function(e,n){if((0,b.isValid)(n))return{success:!0,data:n.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;var t=new v.ZodError(e.common.issues);return this._error=t,this._error}}};function C(e){if(!e)return{};var n=e.errorMap,t=e.invalid_type_error,r=e.required_error,o=e.description;if(n&&(t||r))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return n?{errorMap:n,description:o}:{errorMap:function(n,o){var a,i,l=e.message;return"invalid_enum_value"===n.code?{message:null!=l?l:o.defaultError}:void 0===o.data?{message:null!=(a=null!=l?l:r)?a:o.defaultError}:"invalid_type"!==n.code?{message:o.defaultError}:{message:null!=(i=null!=l?l:t)?i:o.defaultError}},description:o}}var k=d(function e(n){var t=this;u(this,e),this.spa=this.safeParseAsync,this._def=n,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:function(e){return t["~validate"](e)}}},[{key:"description",get:function(){return this._def.description}},{key:"_getType",value:function(e){return(0,A.getParsedType)(e.data)}},{key:"_getOrReturnCtx",value:function(e,n){return n||{common:e.parent.common,data:e.data,parsedType:(0,A.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}},{key:"_processInputParams",value:function(e){return{status:new b.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,A.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}},{key:"_parseSync",value:function(e){var n=this._parse(e);if((0,b.isAsync)(n))throw Error("Synchronous parse encountered promise.");return n}},{key:"_parseAsync",value:function(e){return Promise.resolve(this._parse(e))}},{key:"parse",value:function(e,n){var t=this.safeParse(e,n);if(t.success)return t.data;throw t.error}},{key:"safeParse",value:function(e,n){var t,r={common:{issues:[],async:null!=(t=null==n?void 0:n.async)&&t,contextualErrorMap:null==n?void 0:n.errorMap},path:(null==n?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,A.getParsedType)(e)},o=this._parseSync({data:e,path:r.path,parent:r});return w(r,o)}},{key:"~validate",value:function(e){var n,t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,A.getParsedType)(e)};if(!this["~standard"].async)try{var r=this._parseSync({data:e,path:[],parent:t});return(0,b.isValid)(r)?{value:r.value}:{issues:t.common.issues}}catch(e){null!=e&&null!=(n=e.message)&&null!=(n=n.toLowerCase())&&n.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(function(e){return(0,b.isValid)(e)?{value:e.value}:{issues:t.common.issues}})}},{key:"parseAsync",value:(r=l(i.mark(function e(n,t){var r;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeParseAsync(n,t);case 2:if(!(r=e.sent).success){e.next=5;break}return e.abrupt("return",r.data);case 5:throw r.error;case 6:case"end":return e.stop()}},e,this)})),function(e,n){return r.apply(this,arguments)})},{key:"safeParseAsync",value:(o=l(i.mark(function e(n,t){var r,o;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:n,parsedType:(0,A.getParsedType)(n)},o=this._parse({data:n,path:r.path,parent:r}),e.t0=w,e.t1=r,e.next=5,(0,b.isAsync)(o)?o:Promise.resolve(o);case 5:return e.t2=e.sent,e.abrupt("return",(0,e.t0)(e.t1,e.t2));case 7:case"end":return e.stop()}},e,this)})),function(e,n){return o.apply(this,arguments)})},{key:"refine",value:function(e,n){return this._refinement(function(t,r){var o=e(t),a=function(){return r.addIssue(D({code:v.ZodIssueCode.custom},"string"==typeof n||void 0===n?{message:n}:"function"==typeof n?n(t):n))};return"undefined"!=typeof Promise&&o instanceof Promise?o.then(function(e){return!!e||(a(),!1)}):!!o||(a(),!1)})}},{key:"refinement",value:function(e,n){return this._refinement(function(t,r){return!!e(t)||(r.addIssue("function"==typeof n?n(t,r):n),!1)})}},{key:"_refinement",value:function(e){return new ex({schema:this,typeName:f.ZodEffects,effect:{type:"refinement",refinement:e}})}},{key:"superRefine",value:function(e){return this._refinement(e)}},{key:"optional",value:function(){return ew.create(this,this._def)}},{key:"nullable",value:function(){return eC.create(this,this._def)}},{key:"nullish",value:function(){return this.nullable().optional()}},{key:"array",value:function(){return eo.create(this)}},{key:"promise",value:function(){return eA.create(this,this._def)}},{key:"or",value:function(e){return ei.create([this,e],this._def)}},{key:"and",value:function(e){return ec.create(this,e,this._def)}},{key:"transform",value:function(e){return new ex(D(D({},C(this._def)),{},{schema:this,typeName:f.ZodEffects,effect:{type:"transform",transform:e}}))}},{key:"default",value:function(e){return new ek(D(D({},C(this._def)),{},{innerType:this,defaultValue:"function"==typeof e?e:function(){return e},typeName:f.ZodDefault}))}},{key:"brand",value:function(){return new e_(D({typeName:f.ZodBranded,type:this},C(this._def)))}},{key:"catch",value:function(e){return new eE(D(D({},C(this._def)),{},{innerType:this,catchValue:"function"==typeof e?e:function(){return e},typeName:f.ZodCatch}))}},{key:"describe",value:function(e){return new this.constructor(D(D({},this._def),{},{description:e}))}},{key:"pipe",value:function(e){return eS.create(this,e)}},{key:"readonly",value:function(){return eO.create(this)}},{key:"isOptional",value:function(){return this.safeParse(void 0).success}},{key:"isNullable",value:function(){return this.safeParse(null).success}}]);n.ZodType=k,n.Schema=k,n.ZodSchema=k;var E=/^c[^\s-]{8,}$/i,j=/^[0-9a-z]+$/,_=/^[0-9A-HJKMNP-TV-Z]{26}$/i,S=/^[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,O=/^[a-z0-9_-]{21}$/i,B=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,P=/^[-+]?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)?)??$/,I=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,z=/^(?:(?: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])$/,T=/^(?:(?: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])$/,N=/^(([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]))$/,M=/^(([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])$/,Z=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,U=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,F="((\\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])))",H=RegExp("^".concat(F,"$"));function q(e){var n="[0-5]\\d";e.precision?n="".concat(n,"\\.\\d{").concat(e.precision,"}"):null==e.precision&&(n="".concat(n,"(\\.\\d+)?"));var t=e.precision?"+":"?";return"([01]\\d|2[0-3]):[0-5]\\d(:".concat(n,")").concat(t)}function V(e){var n="".concat(F,"T").concat(q(e)),t=[];return t.push(e.local?"Z?":"Z"),e.offset&&t.push("([+-]\\d{2}:?\\d{2})"),n="".concat(n,"(").concat(t.join("|"),")"),RegExp("^".concat(n,"$"))}var W=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==A.ZodParsedType.string){var n=this._getOrReturnCtx(e);return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.string,received:n.parsedType}),b.INVALID}var t,r,o,i,l,s,c=new b.ParseStatus,u=R(this._def.checks);try{for(u.s();!(s=u.n()).done;){var d=s.value;if("min"===d.kind)e.data.lengthd.value&&(l=this._getOrReturnCtx(e,l),(0,b.addIssueToContext)(l,{code:v.ZodIssueCode.too_big,maximum:d.value,type:"string",inclusive:!0,exact:!1,message:d.message}),c.dirty());else if("length"===d.kind){var f=e.data.length>d.value,p=e.data.lengthn)&&(n=r.value)}}catch(e){t.e(e)}finally{t.f()}return n}},{key:"maxLength",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"max"===r.kind&&(null===n||r.valuei.value:e.data>=i.value)&&(t=this._getOrReturnCtx(e,t),(0,b.addIssueToContext)(t,{code:v.ZodIssueCode.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),o.dirty()):"multipleOf"===i.kind?0!==function(e,n){var t=(e.toString().split(".")[1]||"").length,r=(n.toString().split(".")[1]||"").length,o=t>r?t:r;return Number.parseInt(e.toFixed(o).replace(".",""))%Number.parseInt(n.toFixed(o).replace(".",""))/Math.pow(10,o)}(e.data,i.value)&&(t=this._getOrReturnCtx(e,t),(0,b.addIssueToContext)(t,{code:v.ZodIssueCode.not_multiple_of,multipleOf:i.value,message:i.message}),o.dirty()):"finite"===i.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),(0,b.addIssueToContext)(t,{code:v.ZodIssueCode.not_finite,message:i.message}),o.dirty()):A.util.assertNever(i)}}catch(e){a.e(e)}finally{a.f()}return{status:o.value,value:e.data}}},{key:"gte",value:function(e,n){return this.setLimit("min",e,!0,y.errorUtil.toString(n))}},{key:"gt",value:function(e,n){return this.setLimit("min",e,!1,y.errorUtil.toString(n))}},{key:"lte",value:function(e,n){return this.setLimit("max",e,!0,y.errorUtil.toString(n))}},{key:"lt",value:function(e,n){return this.setLimit("max",e,!1,y.errorUtil.toString(n))}},{key:"setLimit",value:function(e,t,r,o){return new n(D(D({},this._def),{},{checks:[].concat(c(this._def.checks),[{kind:e,value:t,inclusive:r,message:y.errorUtil.toString(o)}])}))}},{key:"_addCheck",value:function(e){return new n(D(D({},this._def),{},{checks:[].concat(c(this._def.checks),[e])}))}},{key:"int",value:function(e){return this._addCheck({kind:"int",message:y.errorUtil.toString(e)})}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:y.errorUtil.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:y.errorUtil.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:y.errorUtil.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:y.errorUtil.toString(e)})}},{key:"multipleOf",value:function(e,n){return this._addCheck({kind:"multipleOf",value:e,message:y.errorUtil.toString(n)})}},{key:"finite",value:function(e){return this._addCheck({kind:"finite",message:y.errorUtil.toString(e)})}},{key:"safe",value:function(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:y.errorUtil.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:y.errorUtil.toString(e)})}},{key:"minValue",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"min"===r.kind&&(null===n||r.value>n)&&(n=r.value)}}catch(e){t.e(e)}finally{t.f()}return n}},{key:"maxValue",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"max"===r.kind&&(null===n||r.valuet)&&(t=o.value):"max"===o.kind&&(null===n||o.valuea.value:e.data>=a.value)&&(n=this._getOrReturnCtx(e,n),(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),r.dirty()):"multipleOf"===a.kind?e.data%a.value!==BigInt(0)&&(n=this._getOrReturnCtx(e,n),(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.not_multiple_of,multipleOf:a.value,message:a.message}),r.dirty()):A.util.assertNever(a)}}catch(e){o.e(e)}finally{o.f()}return{status:r.value,value:e.data}}},{key:"_getInvalidInput",value:function(e){var n=this._getOrReturnCtx(e);return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.bigint,received:n.parsedType}),b.INVALID}},{key:"gte",value:function(e,n){return this.setLimit("min",e,!0,y.errorUtil.toString(n))}},{key:"gt",value:function(e,n){return this.setLimit("min",e,!1,y.errorUtil.toString(n))}},{key:"lte",value:function(e,n){return this.setLimit("max",e,!0,y.errorUtil.toString(n))}},{key:"lt",value:function(e,n){return this.setLimit("max",e,!1,y.errorUtil.toString(n))}},{key:"setLimit",value:function(e,t,r,o){return new n(D(D({},this._def),{},{checks:[].concat(c(this._def.checks),[{kind:e,value:t,inclusive:r,message:y.errorUtil.toString(o)}])}))}},{key:"_addCheck",value:function(e){return new n(D(D({},this._def),{},{checks:[].concat(c(this._def.checks),[e])}))}},{key:"positive",value:function(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:y.errorUtil.toString(e)})}},{key:"negative",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:y.errorUtil.toString(e)})}},{key:"nonpositive",value:function(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:y.errorUtil.toString(e)})}},{key:"nonnegative",value:function(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:y.errorUtil.toString(e)})}},{key:"multipleOf",value:function(e,n){return this._addCheck({kind:"multipleOf",value:e,message:y.errorUtil.toString(n)})}},{key:"minValue",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"min"===r.kind&&(null===n||r.value>n)&&(n=r.value)}}catch(e){t.e(e)}finally{t.f()}return n}},{key:"maxValue",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"max"===r.kind&&(null===n||r.valuel.value&&(r=this._getOrReturnCtx(e,r),(0,b.addIssueToContext)(r,{code:v.ZodIssueCode.too_big,message:l.message,inclusive:!0,exact:!1,maximum:l.value,type:"date"}),a.dirty()):A.util.assertNever(l)}}catch(e){i.e(e)}finally{i.f()}return{status:a.value,value:new Date(e.data.getTime())}}},{key:"_addCheck",value:function(e){return new n(D(D({},this._def),{},{checks:[].concat(c(this._def.checks),[e])}))}},{key:"min",value:function(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:y.errorUtil.toString(n)})}},{key:"max",value:function(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:y.errorUtil.toString(n)})}},{key:"minDate",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"min"===r.kind&&(null===n||r.value>n)&&(n=r.value)}}catch(e){t.e(e)}finally{t.f()}return null!=n?new Date(n):null}},{key:"maxDate",get:function(){var e,n=null,t=R(this._def.checks);try{for(t.s();!(e=t.n()).done;){var r=e.value;"max"===r.kind&&(null===n||r.valueo.exactLength.value,i=t.data.lengtho.maxLength.value&&((0,b.addIssueToContext)(t,{code:v.ZodIssueCode.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),t.common.async)return Promise.all(c(t.data).map(function(e,n){return o.type._parseAsync(new x(t,e,t.path,n))})).then(function(e){return b.ParseStatus.mergeArray(r,e)});var l=c(t.data).map(function(e,n){return o.type._parseSync(new x(t,e,t.path,n))});return b.ParseStatus.mergeArray(r,l)}},{key:"element",get:function(){return this._def.type}},{key:"min",value:function(e,t){return new n(D(D({},this._def),{},{minLength:{value:e,message:y.errorUtil.toString(t)}}))}},{key:"max",value:function(e,t){return new n(D(D({},this._def),{},{maxLength:{value:e,message:y.errorUtil.toString(t)}}))}},{key:"length",value:function(e,t){return new n(D(D({},this._def),{},{exactLength:{value:e,message:y.errorUtil.toString(t)}}))}},{key:"nonempty",value:function(e){return this.min(1,e)}}])}(k);n.ZodArray=eo,eo.create=function(e,n){return new eo(D({type:e,minLength:null,maxLength:null,exactLength:null,typeName:f.ZodArray},C(n)))};var ea=function(e){function n(){var e;return u(this,n),e=L(this,n,arguments),e._cached=null,e.nonstrict=e.passthrough,e.augment=e.extend,e}return h(n,e),d(n,[{key:"_getCached",value:function(){if(null!==this._cached)return this._cached;var e=this._def.shape(),n=A.util.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}},{key:"_parse",value:function(e){if(this._getType(e)!==A.ZodParsedType.object){var n=this._getOrReturnCtx(e);return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.object,received:n.parsedType}),b.INVALID}var t=this._processInputParams(e),r=t.status,o=t.ctx,a=this._getCached(),s=a.shape,c=a.keys,u=[];if(!(this._def.catchall instanceof et&&"strip"===this._def.unknownKeys))for(var d in o.data)c.includes(d)||u.push(d);var f,p=[],h=R(c);try{for(h.s();!(f=h.n()).done;){var m=f.value,g=s[m],y=o.data[m];p.push({key:{status:"valid",value:m},value:g._parse(new x(o,y,o.path,m)),alwaysSet:m in o.data})}}catch(e){h.e(e)}finally{h.f()}if(this._def.catchall instanceof et){var w=this._def.unknownKeys;if("passthrough"===w){var C,k=R(u);try{for(k.s();!(C=k.n()).done;){var E=C.value;p.push({key:{status:"valid",value:E},value:{status:"valid",value:o.data[E]}})}}catch(e){k.e(e)}finally{k.f()}}else if("strict"===w)u.length>0&&((0,b.addIssueToContext)(o,{code:v.ZodIssueCode.unrecognized_keys,keys:u}),r.dirty());else if("strip"===w);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{var j,_=this._def.catchall,S=R(u);try{for(S.s();!(j=S.n()).done;){var O=j.value,B=o.data[O];p.push({key:{status:"valid",value:O},value:_._parse(new x(o,B,o.path,O)),alwaysSet:O in o.data})}}catch(e){S.e(e)}finally{S.f()}}return o.common.async?Promise.resolve().then(l(i.mark(function e(){var n,t,r,o,a,l;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=[],t=R(p),e.prev=2,t.s();case 4:if((r=t.n()).done){e.next=15;break}return o=r.value,e.next=8,o.key;case 8:return a=e.sent,e.next=11,o.value;case 11:l=e.sent,n.push({key:a,value:l,alwaysSet:o.alwaysSet});case 13:e.next=4;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),t.e(e.t0);case 20:return e.prev=20,t.f(),e.finish(20);case 23:return e.abrupt("return",n);case 24:case"end":return e.stop()}},e,null,[[2,17,20,23]])}))).then(function(e){return b.ParseStatus.mergeObjectSync(r,e)}):b.ParseStatus.mergeObjectSync(r,p)}},{key:"shape",get:function(){return this._def.shape()}},{key:"strict",value:function(e){var t=this;return y.errorUtil.errToObj,new n(D(D({},this._def),{},{unknownKeys:"strict"},void 0!==e?{errorMap:function(n,r){var o,a,i,l,s=null!=(o=null==(a=(i=t._def).errorMap)?void 0:a.call(i,n,r).message)?o:r.defaultError;return"unrecognized_keys"===n.code?{message:null!=(l=y.errorUtil.errToObj(e).message)?l:s}:{message:s}}}:{}))}},{key:"strip",value:function(){return new n(D(D({},this._def),{},{unknownKeys:"strip"}))}},{key:"passthrough",value:function(){return new n(D(D({},this._def),{},{unknownKeys:"passthrough"}))}},{key:"extend",value:function(e){var t=this;return new n(D(D({},this._def),{},{shape:function(){return D(D({},t._def.shape()),e)}}))}},{key:"merge",value:function(e){var t=this;return new n({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:function(){return D(D({},t._def.shape()),e._def.shape())},typeName:f.ZodObject})}},{key:"setKey",value:function(e,n){return this.augment(s({},e,n))}},{key:"catchall",value:function(e){return new n(D(D({},this._def),{},{catchall:e}))}},{key:"pick",value:function(e){var t,r={},o=R(A.util.objectKeys(e));try{for(o.s();!(t=o.n()).done;){var a=t.value;e[a]&&this.shape[a]&&(r[a]=this.shape[a])}}catch(e){o.e(e)}finally{o.f()}return new n(D(D({},this._def),{},{shape:function(){return r}}))}},{key:"omit",value:function(e){var t,r={},o=R(A.util.objectKeys(this.shape));try{for(o.s();!(t=o.n()).done;){var a=t.value;e[a]||(r[a]=this.shape[a])}}catch(e){o.e(e)}finally{o.f()}return new n(D(D({},this._def),{},{shape:function(){return r}}))}},{key:"deepPartial",value:function(){return function e(t){if(t instanceof n){var r={};for(var o in t.shape){var a=t.shape[o];r[o]=ew.create(e(a))}return new n(D(D({},t._def),{},{shape:function(){return r}}))}return t instanceof eo?new eo(D(D({},t._def),{},{type:e(t.element)})):t instanceof ew?ew.create(e(t.unwrap())):t instanceof eC?eC.create(e(t.unwrap())):t instanceof eu?eu.create(t.items.map(function(n){return e(n)})):t}(this)}},{key:"partial",value:function(e){var t,r={},o=R(A.util.objectKeys(this.shape));try{for(o.s();!(t=o.n()).done;){var a=t.value,i=this.shape[a];e&&!e[a]?r[a]=i:r[a]=i.optional()}}catch(e){o.e(e)}finally{o.f()}return new n(D(D({},this._def),{},{shape:function(){return r}}))}},{key:"required",value:function(e){var t,r={},o=R(A.util.objectKeys(this.shape));try{for(o.s();!(t=o.n()).done;){var a=t.value;if(e&&!e[a])r[a]=this.shape[a];else{for(var i=this.shape[a];i instanceof ew;)i=i._def.innerType;r[a]=i}}}catch(e){o.e(e)}finally{o.f()}return new n(D(D({},this._def),{},{shape:function(){return r}}))}},{key:"keyof",value:function(){return eg(A.util.objectKeys(this.shape))}}])}(k);n.ZodObject=ea,ea.create=function(e,n){return new ea(D({shape:function(){return e},unknownKeys:"strip",catchall:et.create(),typeName:f.ZodObject},C(n)))},ea.strictCreate=function(e,n){return new ea(D({shape:function(){return e},unknownKeys:"strict",catchall:et.create(),typeName:f.ZodObject},C(n)))},ea.lazycreate=function(e,n){return new ea(D({shape:e,unknownKeys:"strip",catchall:et.create(),typeName:f.ZodObject},C(n)))};var ei=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e).ctx,t=this._def.options;if(n.common.async)return Promise.all(t.map((r=l(i.mark(function e(t){var r;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=D(D({},n),{},{common:D(D({},n.common),{},{issues:[]}),parent:null}),e.next=3,t._parseAsync({data:n.data,path:n.path,parent:r});case 3:return e.t0=e.sent,e.t1=r,e.abrupt("return",{result:e.t0,ctx:e.t1});case 6:case"end":return e.stop()}},e)})),function(e){return r.apply(this,arguments)}))).then(function(e){var t,r=R(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if("valid"===o.result.status)return o.result}}catch(e){r.e(e)}finally{r.f()}var a,i=R(e);try{for(i.s();!(a=i.n()).done;){var l,s=a.value;if("dirty"===s.result.status)return(l=n.common.issues).push.apply(l,c(s.ctx.common.issues)),s.result}}catch(e){i.e(e)}finally{i.f()}var u=e.map(function(e){return new v.ZodError(e.ctx.common.issues)});return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_union,unionErrors:u}),b.INVALID});var r,o,a,s,u=[],d=R(t);try{for(d.s();!(s=d.n()).done;){var f=s.value,p=D(D({},n),{},{common:D(D({},n.common),{},{issues:[]}),parent:null}),h=f._parseSync({data:n.data,path:n.path,parent:p});if("valid"===h.status)return h;"dirty"!==h.status||a||(a={result:h,ctx:p}),p.common.issues.length&&u.push(p.common.issues)}}catch(e){d.e(e)}finally{d.f()}if(a)return(o=n.common.issues).push.apply(o,c(a.ctx.common.issues)),a.result;var m=u.map(function(e){return new v.ZodError(e)});return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_union,unionErrors:m}),b.INVALID}},{key:"options",get:function(){return this._def.options}}])}(k);n.ZodUnion=ei,ei.create=function(e,n){return new ei(D({options:e,typeName:f.ZodUnion},C(n)))};var el=function(e){if(e instanceof em)return el(e.schema);if(e instanceof ex)return el(e.innerType());if(e instanceof ev)return[e.value];if(e instanceof ey)return e.options;if(e instanceof eb)return A.util.objectValues(e.enum);if(e instanceof ek)return el(e._def.innerType);if(e instanceof Q)return[void 0];if(e instanceof J)return[null];if(e instanceof ew)return[void 0].concat(c(el(e.unwrap())));else if(e instanceof eC)return[null].concat(c(el(e.unwrap())));else if(e instanceof e_)return el(e.unwrap());else if(e instanceof eO)return el(e.unwrap());else if(e instanceof eE)return el(e._def.innerType);else return[]},es=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e).ctx;if(n.parsedType!==A.ZodParsedType.object)return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.object,received:n.parsedType}),b.INVALID;var t=this.discriminator,r=n.data[t],o=this.optionsMap.get(r);return o?n.common.async?o._parseAsync({data:n.data,path:n.path,parent:n}):o._parseSync({data:n.data,path:n.path,parent:n}):((0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[t]}),b.INVALID)}},{key:"discriminator",get:function(){return this._def.discriminator}},{key:"options",get:function(){return this._def.options}},{key:"optionsMap",get:function(){return this._def.optionsMap}}],[{key:"create",value:function(e,t,r){var o,a=new Map,i=R(t);try{for(i.s();!(o=i.n()).done;){var l=o.value,s=el(l.shape[e]);if(!s.length)throw Error("A discriminator value for key `".concat(e,"` could not be extracted from all schema options"));var c,u=R(s);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(a.has(d))throw Error("Discriminator property ".concat(String(e)," has duplicate value ").concat(String(d)));a.set(d,l)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){i.e(e)}finally{i.f()}return new n(D({typeName:f.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:a},C(r)))}}])}(k);n.ZodDiscriminatedUnion=es;var ec=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e),t=n.status,r=n.ctx,o=function(e,n){if((0,b.isAborted)(e)||(0,b.isAborted)(n))return b.INVALID;var o=function e(n,t){var r=(0,A.getParsedType)(n),o=(0,A.getParsedType)(t);if(n===t)return{valid:!0,data:n};if(r===A.ZodParsedType.object&&o===A.ZodParsedType.object){var a,i=A.util.objectKeys(t),l=A.util.objectKeys(n).filter(function(e){return -1!==i.indexOf(e)}),s=D(D({},n),t),c=R(l);try{for(c.s();!(a=c.n()).done;){var u=a.value,d=e(n[u],t[u]);if(!d.valid)return{valid:!1};s[u]=d.data}}catch(e){c.e(e)}finally{c.f()}return{valid:!0,data:s}}if(r===A.ZodParsedType.array&&o===A.ZodParsedType.array){if(n.length!==t.length)return{valid:!1};for(var f=[],p=0;pthis._def.items.length&&((0,b.addIssueToContext)(o,{code:v.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),r.dirty());var a=c(o.data).map(function(e,t){var r=n._def.items[t]||n._def.rest;return r?r._parse(new x(o,e,o.path,t)):null}).filter(function(e){return!!e});return o.common.async?Promise.all(a).then(function(e){return b.ParseStatus.mergeArray(r,e)}):b.ParseStatus.mergeArray(r,a)}},{key:"items",get:function(){return this._def.items}},{key:"rest",value:function(e){return new n(D(D({},this._def),{},{rest:e}))}}])}(k);n.ZodTuple=eu,eu.create=function(e,n){if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eu(D({items:e,typeName:f.ZodTuple,rest:null},C(n)))};var ed=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var n=this._processInputParams(e),t=n.status,r=n.ctx;if(r.parsedType!==A.ZodParsedType.object)return(0,b.addIssueToContext)(r,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.object,received:r.parsedType}),b.INVALID;var o=[],a=this._def.keyType,i=this._def.valueType;for(var l in r.data)o.push({key:a._parse(new x(r,l,r.path,l)),value:i._parse(new x(r,r.data[l],r.path,l)),alwaysSet:l in r.data});return r.common.async?b.ParseStatus.mergeObjectAsync(t,o):b.ParseStatus.mergeObjectSync(t,o)}},{key:"element",get:function(){return this._def.valueType}}],[{key:"create",value:function(e,t,r){return new n(t instanceof k?D({keyType:e,valueType:t,typeName:f.ZodRecord},C(r)):D({keyType:W.create(),valueType:e,typeName:f.ZodRecord},C(t)))}}])}(k);n.ZodRecord=ed;var ef=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"keySchema",get:function(){return this._def.keyType}},{key:"valueSchema",get:function(){return this._def.valueType}},{key:"_parse",value:function(e){var n=this._processInputParams(e),t=n.status,r=n.ctx;if(r.parsedType!==A.ZodParsedType.map)return(0,b.addIssueToContext)(r,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.map,received:r.parsedType}),b.INVALID;var o=this._def.keyType,s=this._def.valueType,u=c(r.data.entries()).map(function(e,n){var t=a(e,2),i=t[0],l=t[1];return{key:o._parse(new x(r,i,r.path,[n,"key"])),value:s._parse(new x(r,l,r.path,[n,"value"]))}});if(r.common.async){var d=new Map;return Promise.resolve().then(l(i.mark(function e(){var n,r,o,a,l;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=R(u),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=16;break}return o=r.value,e.next=7,o.key;case 7:return a=e.sent,e.next=10,o.value;case 10:if(l=e.sent,"aborted"!==a.status&&"aborted"!==l.status){e.next=13;break}return e.abrupt("return",b.INVALID);case 13:("dirty"===a.status||"dirty"===l.status)&&t.dirty(),d.set(a.value,l.value);case 14:e.next=3;break;case 16:e.next=21;break;case 18:e.prev=18,e.t0=e.catch(1),n.e(e.t0);case 21:return e.prev=21,n.f(),e.finish(21);case 24:return e.abrupt("return",{status:t.value,value:d});case 25:case"end":return e.stop()}},e,null,[[1,18,21,24]])})))}var f,p=new Map,h=R(u);try{for(h.s();!(f=h.n()).done;){var m=f.value,g=m.key,y=m.value;if("aborted"===g.status||"aborted"===y.status)return b.INVALID;("dirty"===g.status||"dirty"===y.status)&&t.dirty(),p.set(g.value,y.value)}}catch(e){h.e(e)}finally{h.f()}return{status:t.value,value:p}}}])}(k);n.ZodMap=ef,ef.create=function(e,n,t){return new ef(D({valueType:n,keyType:e,typeName:f.ZodMap},C(t)))};var ep=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e),t=n.status,r=n.ctx;if(r.parsedType!==A.ZodParsedType.set)return(0,b.addIssueToContext)(r,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.set,received:r.parsedType}),b.INVALID;var o=this._def;null!==o.minSize&&r.data.sizeo.maxSize.value&&((0,b.addIssueToContext)(r,{code:v.ZodIssueCode.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());var a=this._def.valueType;function i(e){var n,r=new Set,o=R(e);try{for(o.s();!(n=o.n()).done;){var a=n.value;if("aborted"===a.status)return b.INVALID;"dirty"===a.status&&t.dirty(),r.add(a.value)}}catch(e){o.e(e)}finally{o.f()}return{status:t.value,value:r}}var l=c(r.data.values()).map(function(e,n){return a._parse(new x(r,e,r.path,n))});return r.common.async?Promise.all(l).then(function(e){return i(e)}):i(l)}},{key:"min",value:function(e,t){return new n(D(D({},this._def),{},{minSize:{value:e,message:y.errorUtil.toString(t)}}))}},{key:"max",value:function(e,t){return new n(D(D({},this._def),{},{maxSize:{value:e,message:y.errorUtil.toString(t)}}))}},{key:"size",value:function(e,n){return this.min(e,n).max(e,n)}},{key:"nonempty",value:function(e){return this.min(1,e)}}])}(k);n.ZodSet=ep,ep.create=function(e,n){return new ep(D({valueType:e,minSize:null,maxSize:null,typeName:f.ZodSet},C(n)))};var eh=function(e){function n(){var e;return u(this,n),e=L(this,n,arguments),e.validate=e.implement,e}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e).ctx;if(n.parsedType!==A.ZodParsedType.function)return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.function,received:n.parsedType}),b.INVALID;function t(e,t){return(0,b.makeIssue)({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,(0,g.getErrorMap)(),g.defaultErrorMap].filter(function(e){return!!e}),issueData:{code:v.ZodIssueCode.invalid_arguments,argumentsError:t}})}function r(e,t){return(0,b.makeIssue)({data:e,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,(0,g.getErrorMap)(),g.defaultErrorMap].filter(function(e){return!!e}),issueData:{code:v.ZodIssueCode.invalid_return_type,returnTypeError:t}})}var o={errorMap:n.common.contextualErrorMap},a=n.data;if(this._def.returns instanceof eA){var s=this;return(0,b.OK)(l(i.mark(function e(){var n,l,c,u,d,f,p=arguments;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(l=Array(n=p.length),c=0;c1&&void 0!==arguments[1]?arguments[1]:this._def;return n.create(e,D(D({},this._def),t))}},{key:"exclude",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._def;return n.create(this.options.filter(function(n){return!e.includes(n)}),D(D({},this._def),t))}}])}(k);n.ZodEnum=ey,ey.create=eg;var eb=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=A.util.getValidEnumValues(this._def.values),t=this._getOrReturnCtx(e);if(t.parsedType!==A.ZodParsedType.string&&t.parsedType!==A.ZodParsedType.number){var r=A.util.objectValues(n);return(0,b.addIssueToContext)(t,{expected:A.util.joinValues(r),received:t.parsedType,code:v.ZodIssueCode.invalid_type}),b.INVALID}if(this._cache||(this._cache=new Set(A.util.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){var o=A.util.objectValues(n);return(0,b.addIssueToContext)(t,{received:t.data,code:v.ZodIssueCode.invalid_enum_value,options:o}),b.INVALID}return(0,b.OK)(e.data)}},{key:"enum",get:function(){return this._def.values}}])}(k);n.ZodNativeEnum=eb,eb.create=function(e,n){return new eb(D({values:e,typeName:f.ZodNativeEnum},C(n)))};var eA=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"unwrap",value:function(){return this._def.type}},{key:"_parse",value:function(e){var n=this,t=this._processInputParams(e).ctx;if(t.parsedType!==A.ZodParsedType.promise&&!1===t.common.async)return(0,b.addIssueToContext)(t,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.promise,received:t.parsedType}),b.INVALID;var r=t.parsedType===A.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,b.OK)(r.then(function(e){return n._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})}))}}])}(k);n.ZodPromise=eA,eA.create=function(e,n){return new eA(D({type:e,typeName:f.ZodPromise},C(n)))};var ex=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"innerType",value:function(){return this._def.schema}},{key:"sourceType",value:function(){return this._def.schema._def.typeName===f.ZodEffects?this._def.schema.sourceType():this._def.schema}},{key:"_parse",value:function(e){var n=this,t=this._processInputParams(e),r=t.status,o=t.ctx,a=this._def.effect||null,s={addIssue:function(e){(0,b.addIssueToContext)(o,e),e.fatal?r.abort():r.dirty()},get path(){return o.path}};if(s.addIssue=s.addIssue.bind(s),"preprocess"===a.type){var c,u=a.transform(o.data,s);if(o.common.async)return Promise.resolve(u).then((c=l(i.mark(function e(t){var a;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("aborted"!==r.value){e.next=2;break}return e.abrupt("return",b.INVALID);case 2:return e.next=4,n._def.schema._parseAsync({data:t,path:o.path,parent:o});case 4:return a=e.sent,e.abrupt("return","aborted"===a.status?b.INVALID:"dirty"===a.status||"dirty"===r.value?(0,b.DIRTY)(a.value):a);case 6:case"end":return e.stop()}},e)})),function(e){return c.apply(this,arguments)}));if("aborted"===r.value)return b.INVALID;var d=this._def.schema._parseSync({data:u,path:o.path,parent:o});return"aborted"===d.status?b.INVALID:"dirty"===d.status||"dirty"===r.value?(0,b.DIRTY)(d.value):d}if("refinement"===a.type){var f=function(e){var n=a.refinement(e,s);if(o.common.async)return Promise.resolve(n);if(n instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==o.common.async)return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then(function(e){return"aborted"===e.status?b.INVALID:("dirty"===e.status&&r.dirty(),f(e.value).then(function(){return{status:r.value,value:e.value}}))});var p=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});return"aborted"===p.status?b.INVALID:("dirty"===p.status&&r.dirty(),f(p.value),{status:r.value,value:p.value})}if("transform"===a.type)if(!1!==o.common.async)return this._def.schema._parseAsync({data:o.data,path:o.path,parent:o}).then(function(e){return(0,b.isValid)(e)?Promise.resolve(a.transform(e.value,s)).then(function(e){return{status:r.value,value:e}}):b.INVALID});else{var h=this._def.schema._parseSync({data:o.data,path:o.path,parent:o});if(!(0,b.isValid)(h))return b.INVALID;var m=a.transform(h.value,s);if(m instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:r.value,value:m}}A.util.assertNever(a)}}])}(k);n.ZodEffects=ex,n.ZodTransformer=ex,ex.create=function(e,n,t){return new ex(D({schema:e,typeName:f.ZodEffects,effect:n},C(t)))},ex.createWithPreprocess=function(e,n,t){return new ex(D({schema:n,effect:{type:"preprocess",transform:e},typeName:f.ZodEffects},C(t)))};var ew=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){return this._getType(e)===A.ZodParsedType.undefined?(0,b.OK)(void 0):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}])}(k);n.ZodOptional=ew,ew.create=function(e,n){return new ew(D({innerType:e,typeName:f.ZodOptional},C(n)))};var eC=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){return this._getType(e)===A.ZodParsedType.null?(0,b.OK)(null):this._def.innerType._parse(e)}},{key:"unwrap",value:function(){return this._def.innerType}}])}(k);n.ZodNullable=eC,eC.create=function(e,n){return new eC(D({innerType:e,typeName:f.ZodNullable},C(n)))};var ek=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e).ctx,t=n.data;return n.parsedType===A.ZodParsedType.undefined&&(t=this._def.defaultValue()),this._def.innerType._parse({data:t,path:n.path,parent:n})}},{key:"removeDefault",value:function(){return this._def.innerType}}])}(k);n.ZodDefault=ek,ek.create=function(e,n){return new ek(D({innerType:e,typeName:f.ZodDefault,defaultValue:"function"==typeof n.default?n.default:function(){return n.default}},C(n)))};var eE=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this,t=this._processInputParams(e).ctx,r=D(D({},t),{},{common:D(D({},t.common),{},{issues:[]})}),o=this._def.innerType._parse({data:r.data,path:r.path,parent:D({},r)});return(0,b.isAsync)(o)?o.then(function(e){return{status:"valid",value:"valid"===e.status?e.value:n._def.catchValue({get error(){return new v.ZodError(r.common.issues)},input:r.data})}}):{status:"valid",value:"valid"===o.status?o.value:this._def.catchValue({get error(){return new v.ZodError(r.common.issues)},input:r.data})}}},{key:"removeCatch",value:function(){return this._def.innerType}}])}(k);n.ZodCatch=eE,eE.create=function(e,n){return new eE(D({innerType:e,typeName:f.ZodCatch,catchValue:"function"==typeof n.catch?n.catch:function(){return n.catch}},C(n)))};var ej=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){if(this._getType(e)!==A.ZodParsedType.nan){var n=this._getOrReturnCtx(e);return(0,b.addIssueToContext)(n,{code:v.ZodIssueCode.invalid_type,expected:A.ZodParsedType.nan,received:n.parsedType}),b.INVALID}return{status:"valid",value:e.data}}}])}(k);n.ZodNaN=ej,ej.create=function(e){return new ej(D({typeName:f.ZodNaN},C(e)))},n.BRAND=Symbol("zod_brand");var e_=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._processInputParams(e).ctx,t=n.data;return this._def.type._parse({data:t,path:n.path,parent:n})}},{key:"unwrap",value:function(){return this._def.type}}])}(k);n.ZodBranded=e_;var eS=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this,t=this._processInputParams(e),r=t.status,o=t.ctx;if(o.common.async)return l(i.mark(function e(){var t;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n._def.in._parseAsync({data:o.data,path:o.path,parent:o});case 2:return t=e.sent,e.abrupt("return","aborted"===t.status?b.INVALID:"dirty"===t.status?(r.dirty(),(0,b.DIRTY)(t.value)):n._def.out._parseAsync({data:t.value,path:o.path,parent:o}));case 4:case"end":return e.stop()}},e)}))();var a=this._def.in._parseSync({data:o.data,path:o.path,parent:o});return"aborted"===a.status?b.INVALID:"dirty"===a.status?(r.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:o.path,parent:o})}}],[{key:"create",value:function(e,t){return new n({in:e,out:t,typeName:f.ZodPipeline})}}])}(k);n.ZodPipeline=eS;var eO=function(e){function n(){return u(this,n),L(this,n,arguments)}return h(n,e),d(n,[{key:"_parse",value:function(e){var n=this._def.innerType._parse(e),t=function(e){return(0,b.isValid)(e)&&(e.value=Object.freeze(e.value)),e};return(0,b.isAsync)(n)?n.then(function(e){return t(e)}):t(n)}},{key:"unwrap",value:function(){return this._def.innerType}}])}(k);function eB(e,n){var t="function"==typeof e?e(n):"string"==typeof e?{message:e}:e;return"string"==typeof t?{message:t}:t}function eP(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return e?ee.create().superRefine(function(r,o){var a=e(r);if(a instanceof Promise)return a.then(function(e){if(!e){var a,i,l=eB(n,r),s=null==(a=null!=(i=l.fatal)?i:t)||a;o.addIssue(D(D({code:"custom"},l),{},{fatal:s}))}});if(!a){var i,l,s=eB(n,r),c=null==(i=null!=(l=s.fatal)?l:t)||i;o.addIssue(D(D({code:"custom"},s),{},{fatal:c}))}}):ee.create()}n.ZodReadonly=eO,eO.create=function(e,n){return new eO(D({innerType:e,typeName:f.ZodReadonly},C(n)))},n.late={object:ea.lazycreate},(p=f||(n.ZodFirstPartyTypeKind=f={})).ZodString="ZodString",p.ZodNumber="ZodNumber",p.ZodNaN="ZodNaN",p.ZodBigInt="ZodBigInt",p.ZodBoolean="ZodBoolean",p.ZodDate="ZodDate",p.ZodSymbol="ZodSymbol",p.ZodUndefined="ZodUndefined",p.ZodNull="ZodNull",p.ZodAny="ZodAny",p.ZodUnknown="ZodUnknown",p.ZodNever="ZodNever",p.ZodVoid="ZodVoid",p.ZodArray="ZodArray",p.ZodObject="ZodObject",p.ZodUnion="ZodUnion",p.ZodDiscriminatedUnion="ZodDiscriminatedUnion",p.ZodIntersection="ZodIntersection",p.ZodTuple="ZodTuple",p.ZodRecord="ZodRecord",p.ZodMap="ZodMap",p.ZodSet="ZodSet",p.ZodFunction="ZodFunction",p.ZodLazy="ZodLazy",p.ZodLiteral="ZodLiteral",p.ZodEnum="ZodEnum",p.ZodEffects="ZodEffects",p.ZodNativeEnum="ZodNativeEnum",p.ZodOptional="ZodOptional",p.ZodNullable="ZodNullable",p.ZodDefault="ZodDefault",p.ZodCatch="ZodCatch",p.ZodPromise="ZodPromise",p.ZodBranded="ZodBranded",p.ZodPipeline="ZodPipeline",p.ZodReadonly="ZodReadonly",n.instanceof=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:"Input not instance of ".concat(e.name)};return eP(function(n){return n instanceof e},n)};var eI=W.create;n.string=eI;var ez=$.create;n.number=ez,n.nan=ej.create,n.bigint=Y.create;var eT=K.create;n.boolean=eT,n.date=X.create,n.symbol=G.create,n.undefined=Q.create,n.null=J.create,n.any=ee.create,n.unknown=en.create,n.never=et.create,n.void=er.create,n.array=eo.create,n.object=ea.create,n.strictObject=ea.strictCreate,n.union=ei.create,n.discriminatedUnion=es.create,n.intersection=ec.create,n.tuple=eu.create,n.record=ed.create,n.map=ef.create,n.set=ep.create,n.function=eh.create,n.lazy=em.create,n.literal=ev.create,n.enum=ey.create,n.nativeEnum=eb.create,n.promise=eA.create;var eD=ex.create;n.effect=eD,n.transformer=eD,n.optional=ew.create,n.nullable=eC.create,n.preprocess=ex.createWithPreprocess,n.pipeline=eS.create,n.ostring=function(){return eI().optional()},n.onumber=function(){return ez().optional()},n.oboolean=function(){return eT().optional()},n.coerce={string:function(e){return W.create(D(D({},e),{},{coerce:!0}))},number:function(e){return $.create(D(D({},e),{},{coerce:!0}))},boolean:function(e){return K.create(D(D({},e),{},{coerce:!0}))},bigint:function(e){return Y.create(D(D({},e),{},{coerce:!0}))},date:function(e){return X.create(D(D({},e),{},{coerce:!0}))}},n.NEVER=b.INVALID}},t={};function r(e){var o=t[e];if(void 0!==o)return o.exports;var a=t[e]={exports:{}},i=!0;try{n[e].call(a.exports,a,a.exports,r),i=!1}finally{i&&delete t[e]}return a.exports}r.ab="//",e.exports=r(629)}()}},U={};function F(e){var n=U[e];if(void 0!==n)return n.exports;var t=U[e]={id:e,exports:{}};return Z[e](t,t.exports,F),t.exports}F.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return F.d(n,{a:n}),n},function(){var e,n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};F.t=function(t,r){if(1&r&&(t=this(t)),8&r||"object"==typeof t&&t&&(4&r&&t.__esModule||16&r&&"function"==typeof t.then))return t;var o=Object.create(null);F.r(o);var a={};e=e||[null,n({}),n([]),n(n)];for(var i=2&r&&t;"object"==typeof i&&!~e.indexOf(i);i=n(i))Object.getOwnPropertyNames(i).forEach(function(e){a[e]=function(){return t[e]}});return a.default=function(){return t},F.d(o,a),o}}(),F.d=function(e,n){for(var t in n)F.o(n,t)&&!F.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},F.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},F.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},F.nc=void 0;var H={};for(var q in function(){"use strict";F.r(H),F.d(H,{dispatcher:function(){return dH},renderAppDevOverlay:function(){return dX},DevOverlayContext:function(){return dV},renderPagesDevOverlay:function(){return dG},useDevOverlayContext:function(){return dW}});var e,n,t,f,p,h,m,T,L,N,R,M=F("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"),Z=F.n(M),U=F("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/styleDomAPI.js"),q=F.n(U),V=F("./src/build/webpack/loaders/devtool/devtool-style-inject.js"),W=F.n(V),$=F("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"),Y=F.n($),K=F("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/insertStyleElement.js"),X=F.n(K),G=F("../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.15__esbuild@0.24.2_/node_modules/style-loader/dist/runtime/styleTagTransform.js"),Q=F.n(G),J=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/global.css"),ee={};ee.styleTagTransform=Q(),ee.setAttributes=Y(),ee.insert=W(),ee.domAPI=q(),ee.insertStyleElement=X(),Z()(J.Z,ee),J.Z&&J.Z.locals&&J.Z.locals;var en=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/toast/style.css"),et={};et.styleTagTransform=Q(),et.setAttributes=Y(),et.insert=W(),et.domAPI=q(),et.insertStyleElement=X(),Z()(en.Z,et),en.Z&&en.Z.locals&&en.Z.locals;var er=F("./dist/compiled/react/jsx-runtime.js"),eo=F("./dist/compiled/react/compiler-runtime.js"),ea=F("./dist/compiled/react/index.js"),ei=F.t(ea,2),el=F("./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js"),es=/\/_next(\/static\/.+)/,ec=Symbol.for("next.console.error.digest");function eu(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function ed(e){for(var n=1;n1?n-1:0),r=1;r0&&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?t+=" (".concat(e.line1,":").concat(e.column1,")"):t+=" (".concat(e.line1,")")),t}function nr(e){var n,t,r=(0,eo.c)(6);r[0]!==e?(n=void 0===e?{}:e,r[0]=e,r[1]=n):n=r[1];var o=n.file,a=n.line1,i=n.column1;return r[2]!==i||r[3]!==o||r[4]!==a?(t=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("","/__nextjs_launch-editor?").concat(e.toString())).then(no,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]=t):t=r[5],t}function no(){}function na(e){for(var n=1;n? +\d+ +\| [ ]+/.exec(ny()(e))?null:/^>? +\d+ +\| ( *)/.exec(ny()(e))}).filter(Boolean).map(function(e){return e.pop()}).reduce(function(e,n){return isNaN(e)?n.length:Math.min(e,n.length)},NaN);return t>1?n.map(function(e,n){return~(n=e.indexOf("|"))?e.substring(0,n)+e.substring(n).replace("^\\ {".concat(t,"}"),""):e}).join("\n"):n.join("\n")}function nA(e){for(var n=1;n0&&t.push(r),t})(nb(a)).map(function(e){var n,t,r,a,i,l,s,c,u;return{line:e,parsedLine:(n=e,t=o,((null==(r=n[0])?void 0:r.content)===">"||(null==(a=n[0])?void 0:a.content)===" ")&&(s=null==(l=n[1])||null==(u=l.content)||null==(c=u.replace("|",""))?void 0:c.trim()),{lineNumber:s,isErroredLine:s===(null==(i=t.line1)?void 0:i.toString())})}})},[a,o]),l=nr({file:o.file,line1:null!=(t=o.line1)?t:1,column1:null!=(r=o.column1)?r:1}),s=null==o||null==(n=o.file)?void 0:n.split(".").pop();return(0,er.jsxs)("div",{"data-nextjs-codeframe":!0,children:[(0,er.jsx)("div",{className:"code-frame-header",children:(0,er.jsxs)("p",{className:"code-frame-link",children:[(0,er.jsx)("span",{className:"code-frame-icon",children:(0,er.jsx)(nc,{lang:s})}),(0,er.jsxs)("span",{"data-text":!0,children:[nt(o)," @"," ",(0,er.jsx)(e4,{text:o.methodName})]}),(0,er.jsx)("button",{"aria-label":"Open in editor","data-with-open-in-editor-link-source-file":!0,onClick:l,children:(0,er.jsx)("span",{className:"code-frame-icon","data-icon":"right",children:(0,er.jsx)(nl,{width:16,height:16})})})]})}),(0,er.jsx)("pre",{className:"code-frame-pre",children:(0,er.jsx)("div",{className:"code-frame-lines",children:i.map(function(e,n){var t,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,er.jsx)("div",(t=nA({},s),r=r={children:o.map(function(e,n){return(0,er.jsx)("span",{style:nA({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(n))})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t),"line-".concat(n))})})})]})}var nw=function(e){var n,t,r,o,a,i,l=(0,eo.c)(8);return(l[0]!==e?(a=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,er.jsx)("div",(n=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,er.jsx)("div",(n=function(e){for(var n=1;n [data-nextjs-dialog-header] {\n flex-shrink: 0;\n margin-bottom: 8px;\n }\n\n [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n position: relative;\n flex: 1 1 auto;\n }\n\n @media (max-height: 812px) {\n [data-nextjs-dialog-overlay] {\n max-height: calc(100% - 15px);\n }\n }\n\n @media (min-width: 576px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 540px;\n }\n }\n\n @media (min-width: 768px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 720px;\n }\n }\n\n @media (min-width: 992px) {\n [data-nextjs-dialog-root] {\n --next-dialog-max-width: 960px;\n }\n }\n"],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return nk=function(){return t},t}var nE=e$(nk());function nj(){for(var e=arguments.length,n=Array(e),t=0;te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["content","getContent","actionLabel","successLabel","icon","disabled"]),t=e.content,o=e.getContent,n=e.actionLabel,l=e.successLabel,a=e.icon,r=e.disabled,y[0]=e,y[1]=n,y[2]=t,y[3]=r,y[4]=o,y[5]=a,y[6]=i,y[7]=l):(n=y[1],t=y[2],r=y[3],o=y[4],a=y[5],i=y[6],l=y[7]),y[8]!==t||y[9]!==o?(s=function(){return t||(o?o():"")},y[8]=t,y[9]=o,y[10]=s):s=y[10];var b=s;y[11]!==b?(c=b(),y[11]=b,y[12]=c):c=y[12];var A=nB(nT(c),4),x=A[0],w=A[1],C=A[2],k=A[3],E="error"===x.state?x.error:null;y[13]!==E?(u=function(){null!==E&&console.warn(E)},d=[E],y[13]=E,y[14]=u,y[15]=d):(u=y[14],d=y[15]),ea.useEffect(u,d),y[16]!==x.state||y[17]!==C?(f=function(){if("success"===x.state){var e=setTimeout(function(){C()},2e3);return function(){clearTimeout(e)}}},y[16]=x.state,y[17]=C,y[18]=f):f=y[18],y[19]!==x.state||y[20]!==k||y[21]!==C?(p=[k,x.state,C],y[19]=x.state,y[20]=k,y[21]=C,y[22]=p):p=y[22],ea.useEffect(f,p);var j=!navigator.clipboard||k||r||!!E,_="success"===x.state?l:n;y[23]!==x.state||y[24]!==a?(h="success"===x.state?(0,er.jsx)(nN,{}):a||(0,er.jsx)(nL,{width:14,height:14,className:"error-overlay-toolbar-button-icon"}),y[23]=x.state,y[24]=a,y[25]=h):h=y[25];var S=h,O="nextjs-data-copy-button--".concat(x.state);y[26]!==e.className||y[27]!==O?(m=nj(e.className,"nextjs-data-copy-button",O),y[26]=e.className,y[27]=O,y[28]=m):m=y[28],y[29]!==w||y[30]!==j?(v=function(){j||w()},y[29]=w,y[30]=j,y[31]=v):v=y[31];var B="error"===x.state?" ".concat(x.error):null;return y[32]!==j||y[33]!==_||y[34]!==S||y[35]!==i||y[36]!==B||y[37]!==m||y[38]!==v?(g=(0,er.jsxs)("button",nO(nS({},i),{type:"button",title:_,"aria-label":_,"aria-disabled":j,disabled:j,"data-nextjs-copy-button":!0,className:m,onClick:v,children:[S,B]})),y[32]=j,y[33]=_,y[34]=S,y[35]=i,y[36]=B,y[37]=m,y[38]=v,y[39]=g):g=y[39],g}function nL(e){var n,t,r=(0,eo.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.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]=n):n=r[0],r[1]!==e?(t=(0,er.jsx)("svg",nO(nS({width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:n})),r[1]=e,r[2]=t):t=r[2],t}function nN(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{height:"16",xlinkTitle:"copied",viewBox:"0 0 16 16",width:"16",stroke:"currentColor",fill:"currentColor",children:(0,er.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"})}),n[0]=e):e=n[0],e}function nR(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t\.(.*)\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 n1(e){return n0.some(function(n){return n.test(e)})}var n2=["https://nextjs.org","https://react.dev"];function n4(e){return n2.some(function(n){return e.startsWith(n)})}function n5(e){var n,t,r,o,a=(0,eo.c)(6),i=e.errorMessage;a[0]!==i?(n=function(e){var n,t,r,o=(n=e,t=n4,r=Array.from(n.matchAll(/https?:\/\/[^\s/$.?#].[^\s)'"]*/gi),function(e){return e[0]}),t?r.filter(function(e){return t(e)}):r);if(0===o.length)return null;var a=o[0];return a===nQ?nJ:a}(i),a[0]=i,a[1]=n):n=a[1];var l=n;return l?(a[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,er.jsx)(n3,{className:"error-overlay-toolbar-button-icon",width:14,height:14}),a[3]=r):r=a[3],a[4]!==l?(o=(0,er.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")?(t=(0,er.jsx)("button",{title:"No related documentation found","aria-label":"No related documentation found",className:"docs-link-button",disabled:!0,children:(0,er.jsx)(n3,{className:"error-overlay-toolbar-button-icon",width:14,height:14})}),a[2]=t):t=a[2],t)}function n3(e){var n,t,r,o,a=(0,eo.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,er.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,er.jsx)("svg",(n=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);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]e.length)&&(n=e.length);for(var t=0,r=Array(n);t200)},i[0]=n):n=i[0],i[1]!==l?(t=[l],i[1]=l,i[2]=t):t=i[2],(0,ea.useLayoutEffect)(n,t);var m="nextjs__container_errors_desc ".concat(f&&!c?"truncated":"");return i[3]!==l||i[4]!==m?(r=(0,er.jsx)("p",{ref:h,id:"nextjs__container_errors_desc",className:m,children:l}),i[3]=l,i[4]=m,i[5]=r):r=i[5],i[6]!==c||i[7]!==f?(o=f&&!c&&(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)("div",{className:"nextjs__container_errors_gradient_overlay"}),(0,er.jsx)("button",{onClick:function(){return u(!0)},className:"nextjs__container_errors_expand_button","aria-expanded":c,"aria-controls":"nextjs__container_errors_desc",children:"Show More"})]}),i[6]=c,i[7]=f,i[8]=o):o=i[8],i[9]!==r||i[10]!==o?(a=(0,er.jsxs)("div",{className:"nextjs__container_errors_wrapper",children:[r,o]}),i[9]=r,i[10]=o,i[11]=a):a=i[11],a}function ts(e){var n,t=(0,eo.c)(2),r=e.errorType;return t[0]!==r?(n=(0,er.jsx)("span",{id:"nextjs__container_errors_label",className:"nextjs__container_errors_label",children:r}),t[0]=r,t[1]=n):n=t[1],n}function tc(e){var n,t,r=(0,eo.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.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]=n):n=r[0],r[1]!==a||r[2]!==o?(t=(0,er.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:n}),r[1]=a,r[2]=o,r[3]=t):t=r[3],t}function tu(e){var n,t,r=(0,eo.c)(4),o=e.title,a=e.className;return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.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]=n):n=r[0],r[1]!==a||r[2]!==o?(t=(0,er.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:n}),r[1]=a,r[2]=o,r[3]=t):t=r[3],t}function td(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0&&x(Math.max(0,A-1))})},y[0]=A,y[1]=x,y[2]=r):r=y[2];var w=r;y[3]!==A||y[4]!==x||y[5]!==b.length?(o=function(){return(0,ea.startTransition)(function(){A=b.length-1,D=A>=b.length-1;return y[31]===Symbol.for("react.memo_cache_sentinel")?(m=(0,er.jsx)(tu,{title:"next",className:"error-overlay-pagination-button-icon"}),y[31]=m):m=y[31],y[32]!==C||y[33]!==T||y[34]!==D?(v=(0,er.jsx)("button",{ref:E,type:"button",disabled:T,"aria-disabled":D,onClick:C,"data-nextjs-dialog-error-next":!0,className:"error-overlay-pagination-button",children:m}),y[32]=C,y[33]=T,y[34]=D,y[35]=v):v=y[35],y[36]!==d||y[37]!==h||y[38]!==v?(g=(0,er.jsxs)("nav",{className:"error-overlay-pagination dialog-exclude-closing-from-outside-click",ref:O,children:[d,h,v]}),y[36]=d,y[37]=h,y[38]=v,y[39]=g):g=y[39],g}function tp(e){var n,t,r,o,a=(0,eo.c)(3);return(a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,er.jsx)("circle",{cx:"7",cy:"7",r:"5.5",strokeWidth:"3"}),a[0]=r):r=a[0],a[1]!==e)?(o=(0,er.jsx)("svg",(n=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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"],k[0]=e,k[1]=d,k[2]=f,k[3]=p,k[4]=h,k[5]=m,k[6]=v):(d=k[1],f=k[2],p=k[3],h=k[4],m=k[5],v=k[6]);var E=ea.useRef(null),j=(n=ea.useState("undefined"!=typeof document&&document.hasFocus()?"dialog":void 0),t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(n,0)||function(e,n){if(e){if("string"==typeof e)return tb(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tb(e,n)}}(n,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.")}()),_=j[0],S=j[1];return(k[7]!==m?(g=function(e){return e.preventDefault(),null==m?void 0:m()},k[7]=m,k[8]=g):g=k[8],r=E,o=tA,a=g,(s=(0,eo.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 n=function(n){!(!e||e.contains(n.target))&&(o.some(function(e){return n.target.closest(e)})||a(n))},t=e.getRootNode();return t.addEventListener("mouseup",n),t.addEventListener("touchend",n,{passive:!1}),function(){t.removeEventListener("mouseup",n),t.removeEventListener("touchend",n)}}},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]),ea.useEffect(i,l),k[9]===Symbol.for("react.memo_cache_sentinel")?(y=function(){if(null!=E.current){var e=function(){S(document.hasFocus()?"dialog":void 0)};return window.addEventListener("focus",e),window.addEventListener("blur",e),function(){window.removeEventListener("focus",e),window.removeEventListener("blur",e)}}},b=[],k[9]=y,k[10]=b):(y=k[9],b=k[10]),ea.useEffect(y,b),k[11]===Symbol.for("react.memo_cache_sentinel")?(A=function(){var e,n,t=E.current,r=null==t?void 0:t.getRootNode(),o=(e=r,null!=(n=ShadowRoot)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?!!n[Symbol.hasInstance](e):e instanceof n)?null==r?void 0:r.activeElement:null;return null==t||t.focus(),function(){null==t||t.blur(),null==o||o.focus()}},x=[],k[11]=A,k[12]=x):(A=k[11],x=k[12]),ea.useEffect(A,x),k[13]!==m?(w=function(e){"Escape"===e.key&&(null==m||m())},k[13]=m,k[14]=w):w=k[14],k[15]!==d||k[16]!==f||k[17]!==p||k[18]!==h||k[19]!==v||k[20]!==_||k[21]!==w)?(C=(0,er.jsx)("div",(c=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,er.jsx)(tx,(n=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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],ea.useEffect(tO,i),s[5]!==r||s[6]!==o||s[7]!==a)?(l=(0,er.jsx)("div",(n=function(e){for(var n=1;n0)){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"}}),tS}function tB(){var e,n,t=(e=["\n [data-nextjs-dialog-overlay] {\n padding: initial;\n top: 10vh;\n }\n"],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return tB=function(){return t},t}function tP(e){var n,t,r,o,a,i=(0,eo.c)(6);return(i[0]!==e?(o=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,er.jsx)(t_,(n=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t=e.current.getBoundingClientRect().left-10&&t.clientX<=e.current.getBoundingClientRect().right+10&&t.clientY>=e.current.getBoundingClientRect().top-10&&t.clientY<=e.current.getBoundingClientRect().bottom+10||null!=(a=n.current)&&a.getBoundingClientRect()&&t.clientX>=n.current.getBoundingClientRect().left-10&&t.clientX<=n.current.getBoundingClientRect().right+10&&t.clientY>=n.current.getBoundingClientRect().top-10&&t.clientY<=n.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=[t,r,o,e,n],l[0]=t,l[1]=r,l[2]=o,l[3]=e,l[4]=n,l[5]=a,l[6]=i):(a=l[5],i=l[6]),(0,ea.useEffect)(a,i)}var tR="cubic-bezier(0.175, 0.885, 0.32, 1.1)",tM=(0,ea.forwardRef)(function(e,n){var t,r,o=(0,eo.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?(t=function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["children","measure"]),v=e.children,g=e.measure,w[0]=e,w[1]=v,w[2]=g,w[3]=y):(v=w[1],g=w[2],y=w[3]);var C=tU((0,ea.useState)(null),2),k=C[0],E=C[1],j=tU((t=k,r=g,l=(0,eo.c)(7),c=(s=tU((0,ea.useState)(0),2))[0],u=s[1],f=(d=tU((0,ea.useState)(!0),2))[0],p=d[1],l[0]!==t||l[1]!==r?(o=function(){if(r&&t){var e,n=new ResizeObserver(function(n){var t=tU(n,1)[0].contentRect;clearTimeout(e),e=window.setTimeout(function(){p(!1)},100),u(t.height)});return n.observe(t),function(){return n.disconnect()}}},a=[r,t],l[0]=t,l[1]=r,l[2]=o,l[3]=a):(o=l[2],a=l[3]),(0,ea.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),_=j[0],S=j[1]?"auto":_;return(w[4]!==S?(b={height:S,transition:"height 250ms var(--timing-swift)"},w[4]=S,w[5]=b):b=w[5],w[6]!==v?(A=(0,er.jsx)("div",{ref:E,children:v}),w[6]=v,w[7]=A):A=w[7],w[8]!==y||w[9]!==n||w[10]!==b||w[11]!==A)?(x=(0,er.jsx)("div",(h=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["fixed"]),n=e.fixed,o[0]=e,o[1]=n,o[2]=t):(n=o[1],t=o[2]);var a=!!n||void 0;return o[3]!==t||o[4]!==a?(r=(0,er.jsx)("div",function(e){for(var n=1;ne.length)&&(n=e.length);for(var t=0,r=Array(n);t 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 ").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 tX(){var e,n,t=(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"],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return tX=function(){return t},t}var tG=e$(tX());function tQ(e){var n,t,r,o,a,i=(0,eo.c)(9),l=e.file,s=e.location,c=null!=(n=null==s?void 0:s.line)?n:1,u=null!=(t=null==s?void 0:s.column)?t: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=nr(r),f=s?":".concat(s.line,":").concat(s.column):null;return i[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,er.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,er.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,er.jsx)("polyline",{points:"15 3 21 3 21 9"}),(0,er.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,er.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 tJ(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["message"]),r=e.message,d[0]=e,d[1]=r,d[2]=o):(r=d[1],o=d[2]),d[3]!==r?(a=Error(r),d[3]=r,d[4]=a):a=d[4];var f=a;d[5]!==r?(l=t1(r)||"Failed to compile",d[5]=r,d[6]=l):l=d[6],i=l,d[7]!==i||d[8]!==r||d[9]!==o.versionInfo.installed?(s=function(){var e=[];if(e.push("## Error Type\nBuild Error"),i&&e.push("## Error Message\n".concat(i)),r){var n=ny()(r);e.push("## Build Output\n".concat(n))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(o.versionInfo.installed," (").concat("Webpack",")\n")},d[7]=i,d[8]=r,d[9]=o.versionInfo.installed,d[10]=s):s=d[10];var p=s;return(d[11]!==r?(c=(0,er.jsx)(t0,{content:r}),d[11]=r,d[12]=c):c=d[12],d[13]!==f||d[14]!==i||d[15]!==p||d[16]!==o||d[17]!==c)?(u=(0,er.jsx)(tY,(n=function(e){for(var n=1;n0&&(0,er.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,er.jsx)(t3,{})]}),l[2]=u,l[3]=c,l[4]=d,l[5]=t):t=l[5],l[6]!==n||l[7]!==t?(r=(0,er.jsxs)("div",{"data-nextjs-call-stack-header":!0,children:[n,t]}),l[6]=n,l[7]=t,l[8]=r):r=l[8],l[9]!==s||l[10]!==c?(l[12]!==c?(a=function(e,n){return!e.ignored||c?(0,er.jsx)(t5,{frame:e},n):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,er.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 t8=e$(t6());function t7(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t"===e[0],l=a||i,s=l?e[0]:"",c=l?e.indexOf(s):-1,u=rr(l?[e.slice(0,c),e.slice(c+1)]:[e,""],2),d=u[0],f=u[1];a?t.push((0,er.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line":!0,"data-nextjs-container-errors-pseudo-html--diff":"+"===s?"add":"remove",children:(0,er.jsxs)("span",{children:[d,(0,er.jsx)("span",{"data-nextjs-container-errors-pseudo-html-line-sign":!0,children:s}),f,"\n"]})},"comp-diff"+n)):t.push((0,er.jsxs)("span",(r=function(e){for(var n=1;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&&(0,er.jsx)(re,{dialogResizerRef:s,frames:c}),i[2]=s,i[3]=c,i[4]=o):o=i[4],i[5]!==r||i[6]!==o?(a=(0,er.jsxs)(er.Fragment,{children:[r,o]}),i[5]=r,i[6]=o,i[7]=a):a=i[7],a}function rh(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame}var rm="\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 rv(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function rg(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["getSquashedHydrationErrorDetails","runtimeErrors","debugInfo","onClose"]),s=(0,ea.useRef)(null),c=function(e){var n,t,r,o,a,i,l,s,c,u,d,f,p,h,m=(0,eo.c)(17),v=e.runtimeErrors,g=e.getSquashedHydrationErrorDetails,y=(a=(0,ea.useState)(0),i=2,function(e){if(Array.isArray(e))return e}(a)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(a,0)||function(e,n){if(e){if("string"==typeof e)return rg(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return rg(e,n)}}(a,i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),b=y[0],A=y[1];s=0===v.length;var x=(n=null==(c=null!=(u=v[b])?u:null)?void 0:c.error,t=g,(0,ea.useMemo)(function(){if(void 0===n)return rx;var e,r,o,a=t(n);if(null!==a)return{hydrationWarning:null!=(r=a.warning)?r:null,notes:null,reactOutputComponentDiff:null!=(o=a.reactOutputComponentDiff)?o:null};if(!(n1((e=n).message)||/Hydration failed because the server rendered (text|HTML) didn't match the client\./.test(e.message)||/A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(e.message)))return rx;var i=function(e){var n=e.message;if(n1(n)){var t=nK(n.split("\n\n"),2),r=t[0],o=t[1],a=(void 0===o?"":o).trim();return{message:""===a?n.trim():r.trim(),diff:a,notes:null}}var i=nK(n.split("".concat(nQ)),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=nX(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=nX(c.split("\n\n"));return{message:h[0],diff:null,notes:h.slice(1).join("\n\n")}}(n),l=i.message,s=i.notes,c=i.diff;return null===l?rx:{hydrationWarning:l,notes:s,reactOutputComponentDiff:c}},[n,t]));if(s||!c)return m[0]!==b||m[1]!==s?(d={isLoading:s,activeIdx:b,setActiveIndex:A,activeError:null,errorDetails:null,errorCode:null,errorType:null,notes:null,hydrationWarning:null},m[0]=b,m[1]=s,m[2]=d):d=m[2],d;var w=c.error;m[3]!==w?(f=(void 0===(l=w)?"undefined":rv(l))==="object"&&null!==l&&"__NEXT_ERROR_CODE"in l&&"string"==typeof l.__NEXT_ERROR_CODE?l.__NEXT_ERROR_CODE:(void 0===l?"undefined":rv(l))==="object"&&null!==l&&"digest"in l&&"string"==typeof l.digest?l.digest.split("@").find(function(e){return e.startsWith("E")}):void 0,m[3]=w,m[4]=f):f=m[4];var C=f;m[5]!==c.type||m[6]!==w?(r=w,p="recoverable"===(o=c.type)?"Recoverable ".concat(r.name):"console"===o?"Console ".concat(r.name):"Runtime ".concat(r.name),m[5]=c.type,m[6]=w,m[7]=p):p=m[7];var k=p,E=x.notes,j=x.hydrationWarning;return m[8]!==c||m[9]!==b||m[10]!==C||m[11]!==x||m[12]!==k||m[13]!==j||m[14]!==s||m[15]!==E?(h={isLoading:s,activeIdx:b,setActiveIndex:A,activeError:c,errorDetails:x,errorCode:C,errorType:k,notes:E,hydrationWarning:j},m[8]=c,m[9]=b,m[10]=C,m[11]=x,m[12]=k,m[13]=j,m[14]=s,m[15]=E,m[16]=h):h=m[16],h}({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=rf(g),A=(0,ea.useMemo)(function(){var e,n=b.findIndex(function(e){return!e.ignored&&!!e.originalCodeFrame&&!!e.originalStackFrame});return null!=(e=b[n])?e:null},[b]),x=(0,ea.useCallback)(function(){if(!g)return"";var e=[];f&&e.push("## Error Type\n".concat(f));var n=g.error,t=n.message;if("environmentName"in n&&n.environmentName){var r="[ ".concat(n.environmentName," ] ");t.startsWith(r)&&(t=t.slice(r.length))}if(t&&e.push("## Error Message\n".concat(t)),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 n=e.originalStackFrame,t=n.methodName,r=n.file,o=n.line1,a=n.column1;return" at ".concat(t," (").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==A?void 0:A.originalCodeFrame){var i=ny()(nb(A.originalCodeFrame));e.push("## Code Frame\n".concat(i))}return"".concat(e.join("\n\n"),"\n\nNext.js version: ").concat(l.versionInfo.installed," (").concat("Webpack",")\n")},[g,f,A,b,l.versionInfo]);if(u)return(0,er.jsx)(t_,{children:(0,er.jsx)(tH,{})});if(!g)return null;var w=g.error,C=["server","edge-server"].includes(ri(w)||"");return(0,er.jsxs)(tY,(n=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function r_(e){var n,t,r,o,a,i,l=(0,eo.c)(10);l[0]!==e?(n=rj(e,["routerType"]),t=e.routerType,l[0]=e,l[1]=n,l[2]=t):(n=l[1],t=l[2]),l[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,er.jsxs)("p",{className:"dev-tools-info-paragraph",children:["The path"," ",(0,er.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"===t?"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,er.jsxs)("p",{className:"dev-tools-info-paragraph",children:["With Static Rendering, routes are rendered at build time, or in the background after"," ",(0,er.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,er.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]!==n||l[8]!==o?(i=(0,er.jsxs)("article",rE(rk({className:"dev-tools-info-article"},n),{children:[r,o,a]})),l[7]=n,l[8]=o,l[9]=i):i=l[9],i}function rS(e){var n,t,r,o,a,i,l,s=(0,eo.c)(11);return s[0]!==e?(n=rj(e,["routerType"]),t=e.routerType,s[0]=e,s[1]=n,s[2]=t):(n=s[1],t=s[2]),s[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,er.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,er.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,er.jsx)("strong",{children:"request time"}),"."]}),a=(0,er.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]!==t?(i="pages"===t?(0,er.jsxs)("p",{className:"dev-tools-info-pagraph",children:["Exporting the"," ",(0,er.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,er.jsxs)("p",{className:"dev-tools-info-paragraph",children:["During rendering, if a"," ",(0,er.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,er.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,er.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]=t,s[7]=i):i=s[7],s[8]!==n||s[9]!==i?(l=(0,er.jsxs)("article",rE(rk({className:"dev-tools-info-article"},n),{children:[o,a,i]})),s[8]=n,s[9]=i,s[10]=l):l=s[10],l}var rO={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 rB(e){var n,t,r,o,a=(0,eo.c)(8);return a[0]!==e?(t=rj(e,["routerType","isStaticRoute"]),r=e.routerType,n=e.isStaticRoute,a[0]=e,a[1]=n,a[2]=t,a[3]=r):(n=a[1],t=a[2],r=a[3]),a[4]!==n||a[5]!==t||a[6]!==r?(o=n?(0,er.jsx)(r_,rk({routerType:r},t)):(0,er.jsx)(rS,rk({routerType:r},t)),a[4]=n,a[5]=t,a[6]=r,a[7]=o):o=a[7],o}function rP(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",children:(0,er.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"})}),n[0]=e):e=n[0],e}function rI(){var e,n,t=(0,eo.c)(2);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("g",{clipPath:"url(#light_icon_clip_path)",children:(0,er.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"})}),t[0]=e):e=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 16 16",fill:"none",children:[e,(0,er.jsx)("defs",{children:(0,er.jsx)("clipPath",{id:"light_icon_clip_path",children:(0,er.jsx)("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})})]}),t[1]=n):n=t[1],n}function rz(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{"data-testid":"geist-icon",height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,er.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"})}),n[0]=e):e=n[0],e}function rT(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{width:"16",height:"16",strokeLinejoin:"round",children:(0,er.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"})}),n[0]=e):e=n[0],e}function rD(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t0;h[2]!==v||h[3]!==y||h[4]!==x?(t=function(e){if(e.target===B.current&&"Tab"!==e.key){O.current&&clearTimeout(O.current),x||w(!0),y&&(E([]),b(!1));var n=function(e){O.current=window.setTimeout(function(){S(!0),v(e.join("+")),O.current=window.setTimeout(function(){w(!1)},1e3)},180)};e.preventDefault(),e.stopPropagation(),E(function(t){if(t.includes(e.code)||t.includes(e.key))return t;if(!rZ.includes(e.key)){var r=t.findIndex(rq);if(-1!==r){var o=rN(t);return o[r]=e.code,n(o),o}var a=rN(t).concat([e.code]);return n(a),a}for(var i=rN(t),l=rZ.indexOf(e.key),s=0,c=0;c1,a[0]=e):e=a[0];var c=e;return a[1]===Symbol.for("react.memo_cache_sentinel")?(n=function(){!0===c&&s("⌘"),!1===c&&s("Ctrl")},t=[c],a[1]=n,a[2]=t):(n=a[1],t=a[2]),(0,ea.useEffect)(n,t),a[3]===Symbol.for("react.memo_cache_sentinel")?(r={minWidth:"1em",display:"inline-block"},a[3]=r):r=a[3],a[4]!==l?(o=(0,er.jsx)("span",{style:r,children:l}),a[4]=l,a[5]=o):o=a[5],o}function rY(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{height:"16",strokeLinejoin:"round",viewBox:"0 0 16 16",width:"16",children:(0,er.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"})}),n[0]=e):e=n[0],e}var rK=e$(rM());function rX(e){return null!=window.navigator?e.test(window.navigator.platform):void 0}function rG(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);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||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,er.jsx)("select",(n=function(e){for(var n=1;n span { \n position: relative;\n z-index: 1;\n }\n\n &::after {\n content: "";\n width: calc(100% + var(--code-frame-padding) * 2);\n height: var(--code-frame-line-height);\n left: calc(-1 * var(--code-frame-padding));\n background: var(--color-red-200);\n box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n position: absolute;\n }\n }\n\n\n [data-nextjs-codeframe] > * {\n margin: 0;\n }\n\n .code-frame-link {\n display: flex;\n margin: 0;\n outline: 0;\n }\n .code-frame-link [data-icon=\'right\'] {\n margin-left: auto;\n }\n\n [data-nextjs-codeframe] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n\n [data-nextjs-codeframe] svg {\n color: var(--color-gray-900);\n }\n',"\n [data-nextjs-terminal]::selection,\n [data-nextjs-terminal] *::selection {\n background-color: var(--color-ansi-selection);\n }\n\n [data-nextjs-terminal] * {\n color: inherit;\n background-color: transparent;\n font-family: var(--font-stack-monospace);\n }\n\n [data-nextjs-terminal] > div > p {\n display: flex;\n align-items: center;\n justify-content: space-between;\n cursor: pointer;\n margin: 0;\n }\n [data-nextjs-terminal] > div > p:hover {\n text-decoration: underline dotted;\n }\n [data-nextjs-terminal] div > pre {\n overflow: hidden;\n display: inline-block;\n }\n","\n [data-with-open-in-editor-link] svg {\n width: auto;\n height: var(--size-14);\n margin-left: 8px;\n }\n [data-with-open-in-editor-link] {\n cursor: pointer;\n }\n [data-with-open-in-editor-link]:hover {\n text-decoration: underline dotted;\n }\n [data-with-open-in-editor-link-import-trace] {\n margin-left: 16px;\n }\n","","\n .nextjs-error-with-static {\n bottom: calc(16px * 4.5);\n }\n p.nextjs__container_errors__link {\n font-size: var(--size-14);\n }\n p.nextjs__container_errors__notes {\n color: var(--color-stack-notes);\n font-size: var(--size-14);\n line-height: 1.5;\n }\n .nextjs-container-errors-body > h2:not(:first-child) {\n margin-top: calc(16px + 8px);\n }\n .nextjs-container-errors-body > h2 {\n color: var(--color-title-color);\n margin-bottom: 8px;\n font-size: var(--size-20);\n }\n .nextjs-toast-errors-parent {\n cursor: pointer;\n transition: transform 0.2s ease;\n }\n .nextjs-toast-errors-parent:hover {\n transform: scale(1.1);\n }\n .nextjs-toast-errors {\n display: flex;\n align-items: center;\n justify-content: flex-start;\n }\n .nextjs-toast-errors > svg {\n margin-right: 8px;\n }\n .nextjs-toast-hide-button {\n margin-left: 24px;\n border: none;\n background: none;\n color: var(--color-ansi-bright-white);\n padding: 0;\n transition: opacity 0.25s ease;\n opacity: 0.7;\n }\n .nextjs-toast-hide-button:hover {\n opacity: 1;\n }\n .nextjs__container_errors__error_title {\n display: flex;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 14px;\n }\n .error-overlay-notes-container {\n margin: 8px 2px;\n }\n .error-overlay-notes-container p {\n white-space: pre-wrap;\n }\n",rm,"\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","",ot,'\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',oa,rK)})}function os(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function oN(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),!n||a.length!==n);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(e,n)||function(e,n){if(e){if("string"==typeof e)return oz(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return oz(e,n)}}(e,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.")}()}function oR(){var e,n,t=(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-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 .path0 {\n animation: draw0 1.5s ease-in-out infinite;\n }\n\n .path1 {\n animation: draw1 1.5s ease-out infinite;\n animation-delay: 0.3s;\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 @keyframes draw0 {\n 0%,\n 25% {\n stroke-dashoffset: -29.6;\n }\n 25%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 29.6;\n }\n }\n\n @keyframes draw1 {\n 0%,\n 20% {\n stroke-dashoffset: -11.6;\n }\n 20%,\n 50% {\n stroke-dashoffset: 0;\n }\n 50%,\n 75% {\n stroke-dashoffset: 0;\n }\n 75%,\n 100% {\n stroke-dashoffset: 11.6;\n }\n }\n\n @media (prefers-reduced-motion) {\n [data-issues-count-exit],\n [data-issues-count-enter],\n [data-issues-count-plural] {\n animation-duration: 0ms !important;\n }\n }\n "],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return oR=function(){return t},t}function oM(e){var n,t,r,o,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j,_,S,O,B,P,I,z,T,D,L,N,R,M,Z,U,F,H=(0,eo.c)(40);H[0]!==e?(I=oL(e,["onTriggerClick"]),z=e.onTriggerClick,H[0]=e,H[1]=I,H[2]=z):(I=H[1],z=H[2]);var q=dW(),V=q.state,W=q.dispatch,$=dD().totalErrorCount,Y=36/V.scale,K=oP(),X=K.panel,G=K.triggerRef,Q=K.setPanel,J="panel-selector"===X,ee=$>0,en=oN((0,ea.useState)(ee),2),et=en[0],ei=en[1],el=oN((0,ea.useState)(ee),2),es=el[0],ec=el[1];es!==ee&&(ec(ee),ei(ee));var eu=oN((0,ea.useState)(!1),2),ed=eu[0],ef=eu[1],ep=(n=$,t=150,a=(0,eo.c)(4),i=t,l=(0,ea.useRef)(null),d=(s=(0,ea.useState)(!1),c=2,u=function(e){if(Array.isArray(e))return e}(s)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(s,0)||function(e,n){if(e){if("string"==typeof e)return ok(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ok(e,n)}}(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]!==n?(r=function(){if(n>0){var e=l.current?Date.now()-l.current:-1;if(l.current=Date.now(),!(e<=i)){f(!0);var t=window.setTimeout(function(){f(!1)},i);return function(){clearTimeout(t)}}}},o=[n,i],a[0]=i,a[1]=n,a[2]=r,a[3]=o):(r=a[2],o=a[3]),(0,ea.useEffect)(r,o),d),eh=(0,ea.useRef)(null),em=(p=eh,v=(0,eo.c)(4),y=(g=oj((0,ea.useState)(0),2))[0],b=g[1],v[0]!==p.current?(h=function(){var e=p.current;if(e){var n=new ResizeObserver(function(e){b(oj(e,1)[0].contentRect.width)});return n.observe(e),function(){return n.disconnect()}}},v[0]=p.current,v[1]=h):h=v[1],v[2]!==p?(m=[p],v[2]=p,v[3]=m):m=v[3],(0,ea.useEffect)(h,m),y),ev=(A=V.buildingIndicator||V.renderingIndicator,C=(0,eo.c)(4),k=750,S=(E=(0,ea.useState)(!1),j=2,_=function(e){if(Array.isArray(e))return e}(E)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(E,0)||function(e,n){if(e){if("string"==typeof e)return o_(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return o_(e,n)}}(E,j)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],O=_[1],B=(0,ea.useRef)(null),P=(0,ea.useRef)(null),C[0]!==k||C[1]!==A?(x=function(){if(P.current&&(clearTimeout(P.current),P.current=null),A)null===B.current&&(B.current=Date.now()),O(!0);else if(null===B.current)O(!1);else{var e=Date.now()-B.current,n=k*Math.ceil(e/k)-e;n>0?P.current=setTimeout(function(){O(!1),B.current=null},n):(O(!1),B.current=null)}return function(){P.current&&clearTimeout(P.current)}},w=[A,k],C[0]=k,C[1]=A,C[2]=x,C[3]=w):(x=C[2],w=C[3]),(0,ea.useEffect)(x,w),S),eg=et||V.disableDevIndicator,ey=0===em?"auto":em,eb="".concat(Y,"px"),eA=V.disableDevIndicator&&(!ee||ed)?"none":"block";H[3]!==eb||H[4]!==eA?(T={"--size":eb,"--duration-short":"".concat(150,"ms"),display:eA},H[3]=eb,H[4]=eA,H[5]=T):T=H[5];var ex=T;return H[6]===Symbol.for("react.memo_cache_sentinel")?(D=(0,er.jsx)("style",{children:e$(oR())}),H[6]=D):D=H[6],H[7]!==ey?(L={width:ey},H[7]=ey,H[8]=L):L=H[8],H[9]!==I||H[10]!==ev||H[11]!==J||H[12]!==z||H[13]!==V.buildingIndicator||H[14]!==V.disableDevIndicator||H[15]!==G?(N=!V.disableDevIndicator&&(0,er.jsx)("button",oD(oT({id:"next-logo",ref:G,"data-next-mark":!0,"data-next-mark-loading":ev,onClick:z,disabled:V.disableDevIndicator,"aria-haspopup":"menu","aria-expanded":J,"aria-controls":"nextjs-dev-tools-menu","aria-label":"".concat(J?"Close":"Open"," Next.js Dev Tools"),"data-nextjs-dev-tools-button":!0},I),{children:(0,er.jsx)(oU,{isLoading:ev,isDevBuilding:V.buildingIndicator})})),H[9]=I,H[10]=ev,H[11]=J,H[12]=z,H[13]=V.buildingIndicator,H[14]=V.disableDevIndicator,H[15]=G,H[16]=N):N=H[16],H[17]!==W||H[18]!==eg||H[19]!==ep||H[20]!==Q||H[21]!==V.buildError||H[22]!==V.disableDevIndicator||H[23]!==V.isErrorOverlayOpen||H[24]!==$||H[25]!==G?(R=eg&&(0,er.jsxs)("div",{"data-issues":!0,children:[(0,er.jsxs)("button",{"data-issues-open":!0,"aria-label":"Open issues overlay",onClick:function(){if(V.isErrorOverlayOpen)return void W({type:ej});W({type:eE}),Q(null)},children:[V.disableDevIndicator&&(0,er.jsx)("div",{"data-disabled-icon":!0,children:(0,er.jsx)(oO,{})}),(0,er.jsx)(oZ,{animate:ep,"data-issues-count-animation":!0,children:$},$)," ",(0,er.jsxs)("div",{children:["Issue",$>1&&(0,er.jsx)("span",{"aria-hidden":!0,"data-issues-count-plural":!0,"data-animate":ep&&2===$,children:"s"})]})]}),!V.buildError&&(0,er.jsx)("button",{"data-issues-collapse":!0,"aria-label":"Collapse issues badge",onClick:function(){var e;V.disableDevIndicator?ef(!0):ei(!1),null==(e=G.current)||e.focus()},children:(0,er.jsx)(oS,{"data-cross":!0})})]}),H[17]=W,H[18]=eg,H[19]=ep,H[20]=Q,H[21]=V.buildError,H[22]=V.disableDevIndicator,H[23]=V.isErrorOverlayOpen,H[24]=$,H[25]=G,H[26]=R):R=H[26],H[27]!==N||H[28]!==R?(M=(0,er.jsxs)("div",{ref:eh,children:[N,R]}),H[27]=N,H[28]=R,H[29]=M):M=H[29],H[30]!==ee||H[31]!==eg||H[32]!==ep||H[33]!==L||H[34]!==M?(Z=(0,er.jsx)("div",{"data-next-badge":!0,"data-error":ee,"data-error-expanded":eg,"data-animate":ep,style:L,children:M}),H[30]=ee,H[31]=eg,H[32]=ep,H[33]=L,H[34]=M,H[35]=Z):Z=H[35],H[36]===Symbol.for("react.memo_cache_sentinel")?(U=(0,er.jsx)("div",{"aria-hidden":!0,"data-dot":!0}),H[36]=U):U=H[36],H[37]!==Z||H[38]!==ex?(F=(0,er.jsxs)("div",{"data-next-badge-root":!0,style:ex,children:[D,Z,U]}),H[37]=Z,H[38]=ex,H[39]=F):F=H[39],F}function oZ(e){var n,t,r,o,a,i,l=(0,eo.c)(13);l[0]!==e?(t=oL(e,["children","animate"]),n=e.children,r=e.animate,l[0]=e,l[1]=n,l[2]=t,l[3]=r):(n=l[1],t=l[2],r=l[3]);var s=void 0===r||r,c=n-1;return l[4]!==c?(o=(0,er.jsx)("div",{"aria-hidden":!0,"data-issues-count-exit":!0,children:c}),l[4]=c,l[5]=o):o=l[5],l[6]!==n?(a=(0,er.jsx)("div",{"data-issues-count":!0,"data-issues-count-enter":!0,children:n}),l[6]=n,l[7]=a):a=l[7],l[8]!==s||l[9]!==t||l[10]!==o||l[11]!==a?(i=(0,er.jsxs)("div",oD(oT({},t),{"data-animate":s,children:[o,a]})),l[8]=s,l[9]=t,l[10]=o,l[11]=a,l[12]=i):i=l[12],i}function oU(e){var n,t,r,o,a,i,l,s,c=(0,eo.c)(19),u=e.isLoading,d=e.isDevBuilding?"rgba(255,255,255,0.7)":"white",f=u?"path0":"paused";c[0]!==f?(n=(0,er.jsx)("path",{className:f,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"}),c[0]=f,c[1]=n):n=c[1];var p=u?"path1":"paused";return c[2]!==p?(t=(0,er.jsx)("path",{className:p,d:"M11.825 1.5 V13.1",strokeWidth:"1.86",stroke:"url(#next_logo_paint1_linear_1357_10853)",strokeDasharray:"11.6",strokeDashoffset:"11.6"}),c[2]=p,c[3]=t):t=c[3],c[4]!==n||c[5]!==t?(r=(0,er.jsxs)("g",{transform:"translate(8.5, 13)",children:[n,t]}),c[4]=n,c[5]=t,c[6]=r):r=c[6],c[7]!==d?(o=(0,er.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,er.jsx)("stop",{stopColor:d}),(0,er.jsx)("stop",{offset:"0.604072",stopColor:d,stopOpacity:"0"}),(0,er.jsx)("stop",{offset:"1",stopColor:d,stopOpacity:"0"})]}),c[7]=d,c[8]=o):o=c[8],c[9]!==d?(a=(0,er.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,er.jsx)("stop",{stopColor:d}),(0,er.jsx)("stop",{offset:"1",stopColor:d,stopOpacity:"0"})]}),c[9]=d,c[10]=a):a=c[10],c[11]===Symbol.for("react.memo_cache_sentinel")?(i=(0,er.jsxs)("mask",{id:"next_logo_mask0",children:[(0,er.jsx)("rect",{width:"100%",height:"100%",fill:"white"}),(0,er.jsx)("rect",{width:"5",height:"1.5",fill:"black"})]}),c[11]=i):i=c[11],c[12]!==o||c[13]!==a?(l=(0,er.jsxs)("defs",{children:[o,a,i]}),c[12]=o,c[13]=a,c[14]=l):l=c[14],c[15]!==u||c[16]!==r||c[17]!==l?(s=(0,er.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none","data-next-mark-loading":u,children:[r,l]}),c[15]=u,c[16]=r,c[17]=l,c[18]=s):s=c[18],s}var oF=ea.forwardRef(function(e,n){var t,r,o,a,i,l,s,c,u,d=(0,eo.c)(15);return(d[0]!==e?(l=function(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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=nj("nextjs-toast",a),d[7]=a,d[8]=c):c=d[8],d[9]!==o||d[10]!==l||d[11]!==n||d[12]!==s||d[13]!==c)?(u=(0,er.jsx)("div",(t=function(e){for(var n=1;n=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}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,ea.useRef)(null),h=oW();f[4]!==a?(i=function(e){if(p.current=null!=e?e:null,"function"==typeof a)a(e);else{var n;a&&(void 0===a?"undefined":(n=a)&&"undefined"!=typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)=="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,ea.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=oH({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,er.jsx)("div",(n=oH({ref:m},o),t=t={style:u,children:r},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))}),n)),f[14]=r,f[15]=o,f[16]=m,f[17]=u,f[18]=d):d=f[18],d}function oY(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function oQ(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)||oJ(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 oJ(e,n){if(e){if("string"==typeof e)return oY(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return oY(e,n)}}function o0(e){var n,t,r,o,a,i,l,s,c,u,d,f,p=(0,eo.c)(18);p[0]!==e?(s=oG(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,t=e.avoidZone,p[0]=e,p[1]=t,p[2]=r,p[3]=o,p[4]=a,p[5]=i,p[6]=l,p[7]=s,p[8]=c,p[9]=u):(t=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 n=(0,ea.useRef)(null),t=(0,ea.useRef)({state:"idle"}),r=(0,ea.useRef)(null),o=(0,ea.useRef)({x:0,y:0}),a=(0,ea.useRef)({x:0,y:0}),i=(0,ea.useRef)(0),l=(0,ea.useRef)([]),s=(0,ea.useCallback)(function(){var e,o;"drag"===t.current.state&&(null==(o=n.current)||o.releasePointerCapture(t.current.pointerId)),t.current="drag"===t.current.state?{state:"drag-end"}:{state:"idle"},null!==r.current&&(r.current(),r.current=null),l.current=[],null==(e=n.current)||e.classList.remove("dev-tools-grabbing"),document.body.style.removeProperty("user-select"),document.body.style.removeProperty("-webkit-user-select")},[]);function c(e){n.current&&(a.current=e,n.current.style.translate="".concat(e.x,"px ").concat(e.y,"px"))}function u(t){var r=n.current;null!==r&&(r.style.transition="translate 491.22ms var(--timing-bounce)",r.addEventListener("transitionend",function n(o){if("translate"===o.propertyName){var i;null==(i=e.onAnimationEnd)||i.call(e,t),a.current={x:0,y:0},r.style.transition="",r.removeEventListener("transitionend",n)}}),c(t.translation))}function d(e){if("drag-end"===t.current.state){var r;e.preventDefault(),e.stopPropagation(),t.current={state:"idle"},null==(r=n.current)||r.removeEventListener("click",d)}}function f(r){if("press"===t.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&&(t.current={state:"drag",pointerId:r.pointerId},null==(u=n.current)||u.setPointerCapture(r.pointerId),null==(d=n.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"===t.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=oQ(l.current.slice(-5)).concat([{position:m,timestamp:y}])),i.current=y,null==(s=e.onDrag)||s.call(e,a.current)}}function p(){var n,t=function(e){if(e.length<2)return{x:0,y:0};var n=e[0],t=e[e.length-1],r=t.timestamp-n.timestamp;return 0===r?{x:0,y:0}:{x:1e3*((t.position.x-n.position.x)/r),y:1e3*((t.position.y-n.position.y)/r)}}(l.current);s(),null==(n=e.onDragEnd)||n.call(e,a.current,t)}return(0,ea.useLayoutEffect)(function(){e.disabled&&s()},[s,e.disabled]),e.disabled?{ref:n,animate:u}:{ref:n,onPointerDown:function(a){var i;0===a.button&&function(t){if(!t||!n.current)return!0;if(e.handles&&e.handles.size>0){for(var r=t;r&&r!==n.current;){if(e.handles.has(r))return!0;r=r.parentElement}return!1}return!e.dragHandleSelector||null!==t.closest(e.dragHandleSelector)}(a.target)&&(o.current={x:a.clientX,y:a.clientY},t.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=n.current)||i.addEventListener("click",d))},animate:u}}({disabled:void 0!==u&&u,handles:null==(n=oW())?void 0:n.handles,threshold:5,onDragStart:i,onDragEnd:function(e,n){var r,a,i,s,c,u,d,f,p,h,g,y,b,A,x,w,C,k;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+o2(n.x),y:e.y+o2(n.y)}).x,A=a.y,w=Object.entries((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 n=e.includes("right"),r=e.includes("bottom"),o=n?window.innerWidth-f-c-u:0,a=r?window.innerHeight-c-d:0;if(t&&t.corner===e){var i=t.square+t.padding;r?a-=i:a+=i}return{x:o,y:a}})(o),x={"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 n,t,r=(t=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(n,0)||oJ(n,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.")}()),o=r[0],a=r[1];return{key:o,distance:Math.sqrt(Math.pow(b-a.x,2)+Math.pow(A-a.y,2))}}),C=(y=Math).min.apply(y,oQ(w.map(o1))),(k=w.find(function(e){return e.distance===C}))?{translation:x[k.key],corner:k.key}:{corner:o,translation:x[o]}))},onAnimationEnd:function(e){var n=e.corner;setTimeout(function(){var e;null==(e=m.current)||e.style.removeProperty("translate"),c(n)})},dragHandleSelector:a}),m=h.ref,v=h.animate,g=oG(h,["ref","animate"]);return p[10]!==s.style?(d=oK({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,er.jsx)("div",oX(oK(oX(oK({},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 o1(e){return e.distance}function o2(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.999;return e/1e3*n/(1-n)}function o4(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}(e,["index","label","value","onClick","href"]),t=e.index,r=e.label,i=e.value,o=e.onClick,n=e.href,h[0]=e,h[1]=n,h[2]=t,h[3]=r,h[4]=o,h[5]=a,h[6]=i):(n=h[1],t=h[2],r=h[3],o=h[4],a=h[5],i=h[6]);var m="function"==typeof o||"string"==typeof n,v=(0,ea.useContext)(ao),g=v.closeMenu,y=v.selectedIndex,b=v.setSelectedIndex,A=y===t;h[7]!==g||h[8]!==n||h[9]!==m||h[10]!==o?(l=function(){m&&(null==o||o(),null==g||g(),n&&window.open(n,"_blank","noopener, noreferrer"))},h[7]=g,h[8]=n,h[9]=m,h[10]=o,h[11]=l):l=h[11];var x=l;h[12]!==t||h[13]!==m||h[14]!==y||h[15]!==b?(s=function(){m&&void 0!==t&&y!==t&&b(t)},h[12]=t,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]!==x?(u=function(e){("Enter"===e.key||" "===e.key)&&x()},h[19]=x,h[20]=u):u=h[20];var w=m?"menuitem":void 0,C=A?0:-1;return h[21]!==r?(d=(0,er.jsx)("span",{className:"dev-tools-indicator-label",children:r}),h[21]=r,h[22]=d):d=h[22],h[23]!==i?(f=(0,er.jsx)("span",{className:"dev-tools-indicator-value",children:i}),h[23]=i,h[24]=f):f=h[24],h[25]!==x||h[26]!==t||h[27]!==a||h[28]!==A||h[29]!==s||h[30]!==c||h[31]!==u||h[32]!==w||h[33]!==C||h[34]!==d||h[35]!==f?(p=(0,er.jsxs)("div",at(an({className:"dev-tools-indicator-item","data-index":t,"data-selected":A,onClick:x,onMouseMove:s,onMouseLeave:c,onKeyDown:u,role:w,tabIndex:C},a),{children:[d,f]})),h[25]=x,h[26]=t,h[27]=a,h[28]=A,h[29]=s,h[30]=c,h[31]=u,h[32]=w,h[33]=C,h[34]=d,h[35]=f,h[36]=p):p=h[36],p}var ai=function(e){var n,t=e.closeOnClickOutside,r=void 0===t||t,o=e.items,a=dW().state,i=oP(),l=i.setPanel,s=i.triggerRef,c=i.setSelectedIndex,u=i.selectedIndex,d=dS().mounted,f=ar(a.devToolsPosition.split("-",2),2),p=f[0],h=f[1],m=(0,ea.useRef)(null);tN(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}}),(0,ea.useLayoutEffect)(function(){var e;null==(e=m.current)||e.focus(),au({index:-1===u?"first":u,menuRef:m,setSelectedIndex:c})},[]);var v=oI(a),g=ar(a.devToolsPosition.split("-",2),2),y=g[0],b=g[1],A=p===y&&h===b?v:o3,x=(ae(n={},p,"".concat(A,"px")),ae(n,h,"".concat(o3,"px")),ae(n,"top"===p?"bottom":"top","auto"),ae(n,"left"===h?"right":"left","auto"),n),w=o.filter(function(e){return!!e}),C=w.filter(function(e){return!e.footer}),k=w.filter(function(e){return e.footer});return(0,er.jsx)("div",{ref:m,onKeyDown:function(e){e.preventDefault();var n=w.filter(function(e){return e.onClick}).length;switch(e.key){case"ArrowDown":au({index:u>=n-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"ArrowUp":au({index:u<=0?n-1:u-1,menuRef:m,setSelectedIndex:c});break;case"Home":au({index:"first",menuRef:m,setSelectedIndex:c});break;case"End":au({index:"last",menuRef:m,setSelectedIndex:c});break;case"n":e.ctrlKey&&au({index:u>=n-1?0:u+1,menuRef:m,setSelectedIndex:c});break;case"p":e.ctrlKey&&au({index:u<=0?n-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:an({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)"},x),children:(0,er.jsxs)(ao,{value:{selectedIndex:u,setSelectedIndex:c},children:[(0,er.jsx)("div",{style:{padding:"6px",width:"100%"},children:C.map(function(e,n){return(0,er.jsx)(aa,an({title:e.title,label:e.label,value:e.value,onClick:e.onClick,index:e.onClick?al(C,n):void 0},e.attributes),e.label)})}),(0,er.jsx)("div",{className:"dev-tools-indicator-footer",children:k.map(function(e,n){return(0,er.jsx)(aa,at(an({title:e.title,label:e.label,value:e.value,onClick:e.onClick},e.attributes),{index:e.onClick?al(k,n)+C.filter(function(e){return e.onClick}).length:void 0}),e.label)})})]})})};function al(e,n){for(var t=0,r=0;r<=n&&r0;return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.jsx)("span",{className:"dev-tools-indicator-issue-count-indicator"}),r[0]=n):n=r[0],r[1]!==o||r[2]!==a?(t=(0,er.jsxs)("span",{className:"dev-tools-indicator-issue-count","data-has-issues":a,children:[n,o]}),r[1]=o,r[2]=a,r[3]=t):t=r[3],t}function ac(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",children:(0,er.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"})}),n[0]=e):e=n[0],e}function au(e){var n,t=e.index,r=e.menuRef,o=e.setSelectedIndex;if("first"===t)return void setTimeout(function(){var e,n=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');n&&au({index:Number(n[0].getAttribute("data-index")),menuRef:r,setSelectedIndex:o})});if("last"===t)return void setTimeout(function(){var e,n=null==(e=r.current)?void 0:e.querySelectorAll('[role="menuitem"]');n&&au({index:n.length-1,menuRef:r,setSelectedIndex:o})});var a=null==(n=r.current)?void 0:n.querySelector('[data-index="'.concat(t,'"]'));a&&(o(t),null==a||a.focus())}function ad(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:"width";if("number"==typeof e)return e;var t=document.createElement("div");t.style.position="absolute",t.style.visibility="hidden","width"===n?t.style.width=e:t.style.height=e,document.body.appendChild(t);var r="width"===n?t.offsetWidth:t.offsetHeight;return document.body.removeChild(t),r}function aO(e){var n,t,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,A=e.sizeConfig,x=void 0===A?{kind:"resizable",minWidth:400,minHeight:350,maxWidth:1e3,maxHeight:1e3,initialSize:{height:400,width:500}}:A,w=e.closeOnClickOutside,C=void 0!==w&&w,k=e.sharePanelSizeGlobally,E=e.sharePanelPositionGlobally,j=e.containerProps,_=oP().setPanel,S=dS(),O=S.name,B=S.mounted,P=void 0===k||k?eR:"".concat(eN,"_").concat(O),I=void 0===E||E?eM:"".concat(eL,"_").concat(O),z=dW(),T=z.dispatch,D=z.state,L=null!=(h=D.devToolsPanelPosition[I])?h:D.devToolsPosition,N=a_(L.split("-",2),2),R=N[0],M=N[1],Z=(0,ea.useRef)(null);tN(Z,oP().triggerRef,B,function(e){switch(e){case"escape":return void _("panel-selector");case"outside":C&&_("panel-selector");return;default:return null}});var U=oI(D),F=a_(D.devToolsPosition.split("-",2),2),H=F[0],q=F[1],V=R===H&&M===q?U:o3,W=(aE(m={},R,"".concat(V,"px")),aE(m,M,"".concat(o3,"px")),aE(m,"top"===R?"bottom":"top","auto"),aE(m,"left"===M?"right":"left","auto"),m),$="resizable"===x.kind,Y=(n=$?x.minWidth:void 0,t=$?x.minHeight:void 0,r=$?x.maxWidth:void 0,o=$?x.maxHeight:void 0,(s=(0,eo.c)(11))[0]!==o||s[1]!==r||s[2]!==t||s[3]!==n?(a=function(){return{minWidth:n?aS(n,"width"):void 0,minHeight:t?aS(t,"height"):void 0,maxWidth:r?aS(r,"width"):void 0,maxHeight:o?aS(o,"height"):void 0}},s[0]=o,s[1]=r,s[2]=t,s[3]=n,s[4]=a):a=s[4],u=(c=a_((0,ea.useState)(a),2))[0],d=c[1],s[5]!==o||s[6]!==r||s[7]!==t||s[8]!==n?(i=function(){var e=function(){d({minWidth:n?aS(n,"width"):void 0,minHeight:t?aS(t,"height"):void 0,maxWidth:r?aS(r,"width"):void 0,maxHeight:o?aS(o,"height"):void 0})};return window.addEventListener("resize",e),function(){return window.removeEventListener("resize",e)}},l=[n,t,r,o],s[5]=o,s[6]=r,s[7]=t,s[8]=n,s[9]=i,s[10]=l):(i=s[9],l=s[10]),(0,ea.useEffect)(i,l),u),K=Y.minWidth,X=Y.minHeight,G=Y.maxWidth,Q=Y.maxHeight,J=O?"".concat(eN,"_").concat(O):eR,ee=D.devToolsPanelSize[J];return(0,er.jsx)(ah,{value:{resizeRef:Z,initialSize:"resizable"===x.kind?x.initialSize:x,minWidth:K,minHeight:X,maxWidth:G,maxHeight:Q,devToolsPosition:D.devToolsPosition,devToolsPanelSize:D.devToolsPanelSize,storageKey:P},children:(0,er.jsx)("div",{tabIndex:-1,ref:Z,className:"dynamic-panel-container",style:aj({"--panel-top":W.top,"--panel-bottom":W.bottom,"--panel-left":W.left,"--panel-right":W.right},$?{"--panel-min-width":K?"".concat(K,"px"):void 0,"--panel-min-height":X?"".concat(X,"px"):void 0,"--panel-max-width":G?"".concat(G,"px"):void 0,"--panel-max-height":Q?"".concat(Q,"px"):void 0}:{"--panel-height":"".concat(ee?ee.height:x.height,"px"),"--panel-width":"".concat(ee?ee.width:x.width,"px")}),children:(0,er.jsx)(oV,{disabled:!b,children:(0,er.jsx)(o0,{dragHandleSelector:".resize-container",avoidZone:{corner:D.devToolsPosition,square:25/D.scale,padding:o3},padding:o3,position:L,setPosition:function(e){T({type:ez,devToolsPanelPosition:e,key:I}),"resizable"===x.kind&&r3({devToolsPanelPosition:aE({},I,e)})},style:{overflow:"auto",width:"100%",height:"100%"},disableDrag:!b,children:(0,er.jsxs)(er.Fragment,{children:[(0,er.jsxs)("div",(f=aj({},j),p=p={className:"panel-content-container ".concat((null==j?void 0:j.className)||""),style:aj({},null==j?void 0:j.style),children:[(0,er.jsx)(o$,{children:v}),(0,er.jsx)("div",{"data-nextjs-scrollable-content":!0,className:"draggable-content",children:g})]},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):(function(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(p)).forEach(function(e){Object.defineProperty(f,e,Object.getOwnPropertyDescriptor(p,e))}),f)),$&&(0,er.jsxs)(er.Fragment,{children:[(!x.sides||x.sides.includes("vertical"))&&(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)(ab,{position:L,direction:"top"}),(0,er.jsx)(ab,{position:L,direction:"bottom"})]}),(!x.sides||x.sides.includes("horizontal"))&&(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)(ab,{position:L,direction:"right"}),(0,er.jsx)(ab,{position:L,direction:"left"})]}),(!x.sides||x.sides.includes("diagonal"))&&(0,er.jsxs)(er.Fragment,{children:[(0,er.jsx)(ab,{position:L,direction:"top-left"}),(0,er.jsx)(ab,{position:L,direction:"top-right"}),(0,er.jsx)(ab,{position:L,direction:"bottom-left"}),(0,er.jsx)(ab,{position:L,direction:"bottom-right"})]})]})]})})})})})}aC.styleTagTransform=Q(),aC.setAttributes=Y(),aC.insert=W(),aC.domAPI=q(),aC.insertStyleElement=X(),Z()(aw.Z,aC),aw.Z&&aw.Z.locals&&aw.Z.locals;var aB=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/overview/segment-explorer.css"),aP={};function aI(e){for(var n=1;n=0;m--){var v=l[m],g=r[m];0===Object.keys(v.children[g].children).length&&delete v.children[g]}a=aI({},a),i()}},getRoot:function(){return a}}}({compare:function(e,n){return!!e&&!!n&&e.pagePath===n.pagePath&&e.type===n.type&&e.boundaryType===n.boundaryType},getCharacters:function(e){return e.pagePath.split("/")}}),aM=aR.insert,aZ=aR.remove,aU=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css"),aF={};aF.styleTagTransform=Q(),aF.setAttributes=Y(),aF.insert=W(),aF.domAPI=q(),aF.insertStyleElement=X(),Z()(aU.Z,aF),aU.Z&&aU.Z.locals&&aU.Z.locals;var aH={};function aq(e,n){var t=ea.useRef(aH);return t.current===aH&&(t.current=e(n)),t}var aV=[];function aW(e){ea.useEffect(e,aV)}var a$=function(){function e(){var n=this;u(this,e),s(this,"currentId",0),s(this,"clear",function(){0!==n.currentId&&(clearTimeout(n.currentId),n.currentId=0)}),s(this,"disposeEffect",function(){return n.clear})}return d(e,[{key:"start",value:function(e,n){var t=this;this.clear(),this.currentId=setTimeout(function(){t.currentId=0,n()},e)}},{key:"isStarted",value:function(){return 0!==this.currentId}}],[{key:"create",value:function(){return new e}}])}();function aY(){var e=aq(a$.create).current;return aW(e.disposeEffect),e}var aK=ei["useInsertionEffect".concat(Math.random().toFixed(1)).slice(0,-3)],aX=aK&&aK!==ea.useLayoutEffect?aK:function(e){return e()};function aG(e){var n=aq(aQ).current;return n.next=e,aX(n.effect),n.trampoline}function aQ(){var e={next:void 0,callback:aJ,trampoline:function(){for(var n,t=arguments.length,r=Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:"mui",t=ea.useState(e),r=a(t,2),o=r[0],i=r[1],l=e||o;return ea.useEffect(function(){null==o&&(a2+=1,i("".concat(n,"-").concat(a2)))},[o,n]),l}(e,n)}function a3(){var e=new Map;return{emit:function(n,t){var r;null==(r=e.get(n))||r.forEach(function(e){return e(t)})},on:function(n,t){e.has(n)||e.set(n,new Set),e.get(n).add(t)},off:function(n,t){var r;null==(r=e.get(n))||r.delete(t)}}}var a6="undefined"!=typeof document?ea.useLayoutEffect:function(){},a9=ea.createContext(null),a8=ea.createContext(null),a7=function(){var e;return(null==(e=ea.useContext(a9))?void 0:e.id)||null},ie=function(){return ea.useContext(a8)};function it(e){var n=e.children,t=e.id,r=a7();return(0,er.jsx)(a9.Provider,{value:ea.useMemo(function(){return{id:t,parentId:r}},[t,r]),children:n})}function ir(e){var n=e.children,t=ea.useRef([]),r=ea.useCallback(function(e){t.current=[].concat(c(t.current),[e])},[]),o=ea.useCallback(function(e){t.current=t.current.filter(function(n){return n!==e})},[]),i=ea.useState(function(){return a3()}),l=a(i,1),s=l[0];return(0,er.jsx)(a8.Provider,{value:ea.useMemo(function(){return{nodesRef:t,addNode:r,removeNode:o,events:s}},[r,o,s]),children:n})}function io(e){var n=e.open,t=void 0!==n&&n,r=e.onOpenChange,o=e.elements,i=a5(),l=ea.useRef({}),s=ea.useState(function(){return a3()}),c=a(s,1),u=c[0],d=null!=a7(),f=ea.useState(o.reference),p=a(f,2),h=p[0],m=p[1],v=aG(function(e,n,t){l.current.openEvent=e?n:void 0,u.emit("openchange",{open:e,event:n,reason:t,nested:d}),null==r||r(e,n,t)}),g=ea.useMemo(function(){return{setPositionReference:m}},[]),y=ea.useMemo(function(){return{reference:h||o.reference||null,floating:o.floating||null,domReference:o.reference}},[h,o.reference,o.floating]);return ea.useMemo(function(){return{dataRef:l,open:t,onOpenChange:v,elements:y,events:u,floatingId:i,refs:g}},[t,v,y,u,i,g])}function ia(){return!0}function ii(e){return ic(e)?(e.nodeName||"").toLowerCase():"#document"}function il(e){var n;return(null==e||null==(n=e.ownerDocument)?void 0:n.defaultView)||window}function is(e){var n;return null==(n=(ic(e)?e.ownerDocument:e.document)||window.document)?void 0:n.documentElement}function ic(e){return!!ia()&&(e instanceof Node||e instanceof il(e).Node)}function iu(e){return!!ia()&&(e instanceof Element||e instanceof il(e).Element)}function id(e){return!!ia()&&(e instanceof HTMLElement||e instanceof il(e).HTMLElement)}function ip(e){return!!ia()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof il(e).ShadowRoot)}var ih=new Set(["inline","contents"]);function im(e){var n=ij(e),t=n.overflow,r=n.overflowX,o=n.overflowY,a=n.display;return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!ih.has(a)}var iv=new Set(["table","td","th"]),ig=[":popover-open",":modal"];function iy(e){return ig.some(function(n){try{return e.matches(n)}catch(e){return!1}})}var ib=["transform","translate","scale","rotate","perspective"],iA=["transform","translate","scale","rotate","perspective","filter"],ix=["paint","layout","strict","content"];function iw(e){var n=iC(),t=iu(e)?ij(e):e;return ib.some(function(e){return!!t[e]&&"none"!==t[e]})||!!t.containerType&&"normal"!==t.containerType||!n&&!!t.backdropFilter&&"none"!==t.backdropFilter||!n&&!!t.filter&&"none"!==t.filter||iA.some(function(e){return(t.willChange||"").includes(e)})||ix.some(function(e){return(t.contain||"").includes(e)})}function iC(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}var ik=new Set(["html","body","#document"]);function iE(e){return ik.has(ii(e))}function ij(e){return il(e).getComputedStyle(e)}function i_(e){return iu(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function iS(e){if("html"===ii(e))return e;var n=e.assignedSlot||e.parentNode||ip(e)&&e.host||is(e);return ip(n)?n.host:n}function iO(e,n,t){void 0===n&&(n=[]),void 0===t&&(t=!0);var r,o=function e(n){var t=iS(n);return iE(t)?n.ownerDocument?n.ownerDocument.body:n.body:id(t)&&im(t)?t:e(t)}(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=il(o);if(a){var l=iB(i);return n.concat(i,i.visualViewport||[],im(o)?o:[],l&&t?iO(l):[])}return n.concat(o,iO(o,[],t))}function iB(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function iP(e){var n=aq(iI,e).current;return n.next=e,a6(n.effect),n}function iI(e){var n={current:e,next:e,effect:function(){n.current=n.next}};return n}var iz="undefined"!=typeof navigator,iT=function(e,n){if(!iz)return{platform:"",maxTouchPoints:-1};var t=navigator.userAgentData;return null!=t&&t.platform?{platform:t.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:null!=(e=navigator.platform)?e:"",maxTouchPoints:null!=(n=navigator.maxTouchPoints)?n:-1}}(),iD=function(e){if(!iz)return"";var n=navigator.userAgentData;return null!=n&&n.platform?n.platform:null!=(e=navigator.platform)?e:""}(),iL=function(){if(!iz)return"";var e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(function(e){var n=e.brand,t=e.version;return"".concat(n,"/").concat(t)}).join(" "):navigator.userAgent}(),iN="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),iR="MacIntel"===iT.platform&&iT.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(iT.platform);iz&&/firefox/i.test(iL);var iM=iz&&/apple/i.test(navigator.vendor),iZ=iz&&/android/i.test(iD)||/android/i.test(iL),iU=iz&&iD.toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints,iF=iL.includes("jsdom/");function iH(e){e.preventDefault(),e.stopPropagation()}function iq(e){return 0===e.mozInputSource&&!!e.isTrusted||(iZ&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function iV(e){return!iF&&(!iZ&&0===e.width&&0===e.height||iZ&&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 iW(e,n){var t=["mouse","pen"];return n||t.push("",void 0),t.includes(e)}var i$="data-base-ui-focusable",iY="active",iK="selected",iX="ArrowLeft",iG="ArrowRight",iQ="ArrowUp",iJ="ArrowDown";function i0(e){for(var n,t=e.activeElement;(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement)!=null;)t=t.shadowRoot.activeElement;return t}function i1(e,n){if(!e||!n)return!1;var t,r=null==(t=n.getRootNode)?void 0:t.call(n);if(e.contains(n))return!0;if(r&&ip(r))for(var o=n;o;){if(e===o)return!0;o=o.parentNode||o.host}return!1}function i2(e){return"composedPath"in e?e.composedPath()[0]:e.target}function i4(e,n){return null!=n&&("composedPath"in e?e.composedPath().includes(n):null!=e.target&&n.contains(e.target))}function i5(e){return(null==e?void 0:e.ownerDocument)||document}function i3(e){return id(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function i6(e){return!!e&&"combobox"===e.getAttribute("role")&&i3(e)}function i9(e){return e?e.hasAttribute(i$)?e:e.querySelector("[".concat(i$,"]"))||e:null}function i8(e){return"data-base-ui-".concat(e)}var i7=i8("safe-polygon");function le(e,n,t){if(t&&!iW(t))return 0;if("number"==typeof e)return e;if("function"==typeof e){var r=e();return"number"==typeof r?r:null==r?void 0:r[n]}return null==e?void 0:e[n]}function ln(e){return"function"==typeof e?e():e}function lt(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.onOpenChange,o=e.dataRef,a=e.events,i=e.elements,l=n.enabled,s=void 0===l||l,c=n.delay,u=void 0===c?0:c,d=n.handleClose,f=void 0===d?null:d,p=n.mouseOnly,h=void 0!==p&&p,m=n.restMs,v=void 0===m?0:m,g=n.move,y=void 0===g||g,b=ie(),A=a7(),x=iP(f),w=iP(u),C=iP(t),k=iP(v),E=ea.useRef(void 0),j=aY(),_=ea.useRef(void 0),S=aY(),O=ea.useRef(!0),B=ea.useRef(!1),P=ea.useRef(function(){}),I=ea.useRef(!1),z=aG(function(){var e,n=null==(e=o.current.openEvent)?void 0:e.type;return(null==n?void 0:n.includes("mouse"))&&"mousedown"!==n});ea.useEffect(function(){if(s)return a.on("openchange",e),function(){a.off("openchange",e)};function e(e){var n=e.open;n||(j.clear(),S.clear(),O.current=!0,I.current=!1)}},[s,a,j,S]),ea.useEffect(function(){if(s&&x.current&&t){var e=i5(i.floating).documentElement;return e.addEventListener("mouseleave",n),function(){e.removeEventListener("mouseleave",n)}}function n(e){z()&&r(!1,e,"hover")}},[i.floating,t,r,s,x,z]);var T=ea.useCallback(function(e){var n=!(arguments.length>1)||void 0===arguments[1]||arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"hover",o=le(w.current,"close",E.current);o&&!_.current?j.start(o,function(){return r(!1,e,t)}):n&&(j.clear(),r(!1,e,t))},[w,r,j]),L=aG(function(){P.current(),_.current=void 0}),N=aG(function(){if(B.current){var e=i5(i.floating).body;e.style.pointerEvents="",e.removeAttribute(i7),B.current=!1}}),R=aG(function(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)});ea.useEffect(function(){if(s&&iu(i.domReference)){var e=i.domReference,n=i.floating;return t&&e.addEventListener("mouseleave",c),y&&e.addEventListener("mousemove",a,{once:!0}),e.addEventListener("mouseenter",a),e.addEventListener("mouseleave",l),n&&(n.addEventListener("mouseleave",c),n.addEventListener("mouseenter",u),n.addEventListener("mouseleave",d)),function(){t&&e.removeEventListener("mouseleave",c),y&&e.removeEventListener("mousemove",a),e.removeEventListener("mouseenter",a),e.removeEventListener("mouseleave",l),n&&(n.removeEventListener("mouseleave",c),n.removeEventListener("mouseenter",u),n.removeEventListener("mouseleave",d))}}function a(e){if(j.clear(),O.current=!1,!(h&&!iW(E.current)||ln(k.current)>0&&!le(w.current,"open"))){var n=le(w.current,"open",E.current);n?j.start(n,function(){C.current||r(!0,e,"hover")}):t||r(!0,e,"hover")}}function l(e){if(R())return void N();P.current();var n=i5(i.floating);if(S.clear(),I.current=!1,x.current&&o.current.floatingContext){t||j.clear(),_.current=x.current(D(D({},o.current.floatingContext),{},{tree:b,x:e.clientX,y:e.clientY,onClose:function(){N(),L(),R()||T(e,!0,"safe-polygon")}}));var r=_.current;n.addEventListener("mousemove",r),P.current=function(){n.removeEventListener("mousemove",r)};return}"touch"===E.current&&i1(i.floating,e.relatedTarget)||T(e)}function c(e){var n;!R()&&o.current.floatingContext&&(null==(n=x.current)||n.call(x,D(D({},o.current.floatingContext),{},{tree:b,x:e.clientX,y:e.clientY,onClose:function(){N(),L(),R()||T(e)}}))(e))}function u(){j.clear()}function d(e){R()||T(e,!1)}},[i,s,e,h,y,T,L,N,r,t,C,b,w,x,o,R,k,j,S]),a6(function(){var e;if(s&&t&&null!=(e=x.current)&&null!=(e=e.__options)&&e.blockPointerEvents&&z()){B.current=!0;var n=i.floating;if(iu(i.domReference)&&n){var r,o=i5(i.floating).body;o.setAttribute(i7,"");var a=i.domReference,l=null==b||null==(r=b.nodesRef.current.find(function(e){return e.id===A}))||null==(r=r.context)?void 0:r.elements.floating;return l&&(l.style.pointerEvents=""),o.style.pointerEvents="none",a.style.pointerEvents="auto",n.style.pointerEvents="auto",function(){o.style.pointerEvents="",a.style.pointerEvents="",n.style.pointerEvents=""}}}},[s,t,A,i,b,x,z]),a6(function(){t||(E.current=void 0,I.current=!1,L(),N())},[t,L,N]),ea.useEffect(function(){return function(){L(),j.clear(),S.clear(),N()}},[s,i.domReference,L,N,j,S]);var M=ea.useMemo(function(){function e(e){E.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove:function(e){var n=e.nativeEvent;function o(){O.current||C.current||r(!0,n,"hover")}(!h||iW(E.current))&&!t&&0!==ln(k.current)&&(I.current&&Math.pow(e.movementX,2)+Math.pow(e.movementY,2)<2||(S.clear(),"touch"===E.current?o():(I.current=!0,S.start(ln(k.current),o))))}}},[h,r,t,C,k,S]);return ea.useMemo(function(){return s?{reference:M}:{}},[s,M])}function lr(e,n){var t=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return e.filter(function(e){var r;return e.parentId===n&&(!t||(null==(r=e.context)?void 0:r.open))}).flatMap(function(n){return[n].concat(c(lr(e,n.id,t)))})}function lo(e,n){for(var t,r=[],o=null==(t=e.find(function(e){return e.id===n}))?void 0:t.parentId;o;){var a=e.find(function(e){return e.id===o});o=null==a?void 0:a.parentId,a&&(r=r.concat(a))}return r}function la(e,n){for(var t=a(e,2),r=t[0],o=t[1],i=!1,l=n.length,s=0,c=l-1;s=o!=g>=o&&r<=(v-f)*(o-p)/(g-p)+f&&(i=!i)}return i}function li(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.buffer,t=void 0===n?.5:n,r=e.blockPointerEvents,o=void 0!==r&&r,i=e.requireIntent,l=void 0===i||i,s=new a$,c=!1,u=null,d=null,f="undefined"!=typeof performance?performance.now():0,p=function(e){var n=e.x,r=e.y,o=e.placement,i=e.elements,p=e.onClose,h=e.nodeId,m=e.tree;return function(e){function v(){s.clear(),p()}if(s.clear(),i.domReference&&i.floating&&null!=o&&null!=n&&null!=r){var g,y,b=e.clientX,A=e.clientY,x=[b,A],w=i2(e),C="mouseleave"===e.type,k=i1(i.floating,w),E=i1(i.domReference,w),j=i.domReference.getBoundingClientRect(),_=i.floating.getBoundingClientRect(),S=o.split("-")[0],O=n>_.right-_.width/2,B=r>_.bottom-_.height/2,P=(g=x,y=j,g[0]>=y.x&&g[0]<=y.x+y.width&&g[1]>=y.y&&g[1]<=y.y+y.height),I=_.width>j.width,z=_.height>j.height,T=(I?j:_).left,D=(I?j:_).right,L=(z?j:_).top,N=(z?j:_).bottom;if(!k||(c=!0,C)){if(E&&(c=!1),E&&!C){c=!0;return}if(!(C&&iu(e.relatedTarget)&&i1(i.floating,e.relatedTarget)||m&&lr(m.nodesRef.current,h).some(function(e){var n=e.context;return null==n?void 0:n.open}))){if("top"===S&&r>=j.bottom-1||"bottom"===S&&r<=j.top+1||"left"===S&&n>=j.right-1||"right"===S&&n<=j.left+1)return v();var R=[];switch(S){case"top":R=[[T,j.top+1],[T,_.bottom-1],[D,_.bottom-1],[D,j.top+1]];break;case"bottom":R=[[T,_.top+1],[T,j.bottom-1],[D,j.bottom-1],[D,_.top+1]];break;case"left":R=[[_.right-1,N],[_.right-1,L],[j.left+1,L],[j.left+1,N]];break;case"right":R=[[j.right-1,N],[j.right-1,L],[_.left+1,L],[_.left+1,N]]}if(!la([b,A],R)){if(c&&!P)return v();if(!C&&l){var M=function(e,n){var t=performance.now(),r=t-f;if(null===u||null===d||0===r)return u=e,d=n,f=t,null;var o=e-u,a=n-d,i=Math.sqrt(o*o+a*a);return u=e,d=n,f=t,i/r}(e.clientX,e.clientY);if(null!==M&&M<.1)return v()}la([b,A],function(e){var n=a(e,2),r=n[0],o=n[1];switch(S){case"top":var i=[[_.left,O||I?_.bottom-t:_.top],[_.right,O?I?_.bottom-t:_.top:_.bottom-t]];return[[I?r+t/2:O?r+4*t:r-4*t,o+t+1],[I?r-t/2:O?r+4*t:r-4*t,o+t+1]].concat(i);case"bottom":var l=[[_.left,O||I?_.top+t:_.bottom],[_.right,O?I?_.top+t:_.bottom:_.top+t]];return[[I?r+t/2:O?r+4*t:r-4*t,o-t],[I?r-t/2:O?r+4*t:r-4*t,o-t]].concat(l);case"left":return[[B||z?_.right-t:_.left,_.top],[B?z?_.right-t:_.left:_.right-t,_.bottom],[r+t+1,z?o+t/2:B?o+4*t:o-4*t],[r+t+1,z?o-t/2:B?o+4*t:o-4*t]];case"right":var s=[[B||z?_.left+t:_.right,_.top],[B?z?_.left+t:_.right:_.left+t,_.bottom]];return[[r-t,z?o+t/2:B?o+4*t:o-4*t],[r-t,z?o-t/2:B?o+4*t:o-4*t]].concat(s);default:return[]}}([n,r]))?!c&&l&&s.start(40,v):v()}}}}}};return p.__options={blockPointerEvents:o},p}var ll=iU&&iM;function ls(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.onOpenChange,o=e.events,a=e.dataRef,i=e.elements,l=n.enabled,s=void 0===l||l,c=n.visibleOnly,u=void 0===c||c,d=ea.useRef(!1),f=aY(),p=ea.useRef(!0);ea.useEffect(function(){if(s){var e=il(i.domReference);return e.addEventListener("blur",n),ll&&(e.addEventListener("keydown",r,!0),e.addEventListener("pointerdown",o,!0)),function(){e.removeEventListener("blur",n),ll&&(e.removeEventListener("keydown",r,!0),e.removeEventListener("pointerdown",o,!0))}}function n(){!t&&id(i.domReference)&&i.domReference===i0(i5(i.domReference))&&(d.current=!0)}function r(){p.current=!0}function o(){p.current=!1}},[i.domReference,t,s]),ea.useEffect(function(){if(s)return o.on("openchange",e),function(){o.off("openchange",e)};function e(e){var n=e.reason;("reference-press"===n||"escape-key"===n)&&(d.current=!0)}},[o,s]);var h=ea.useMemo(function(){return{onMouseLeave:function(){d.current=!1},onFocus:function(e){if(!d.current){var n=i2(e.nativeEvent);if(u&&iu(n)){if(ll&&!e.relatedTarget){if(!p.current&&!i3(n))return}else if(!function(e){if(!e||iF)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}(n))return}r(!0,e.nativeEvent,"focus")}},onBlur:function(e){d.current=!1;var n=e.relatedTarget,t=e.nativeEvent,o=iu(n)&&n.hasAttribute(i8("focus-guard"))&&"outside"===n.getAttribute("data-type");f.start(0,function(){var e,l=i0(i.domReference?i.domReference.ownerDocument:document);(n||l!==i.domReference)&&(i1(null==(e=a.current.floatingContext)?void 0:e.refs.floating.current,l)||i1(i.domReference,l)||o||r(!1,t,"focus"))})}}},[a,i.domReference,r,u,f]);return ea.useMemo(function(){return s?{reference:h}:{}},[s,h])}var lc=new(function(){function e(){var n=this;u(this,e),s(this,"callbacks",[]),s(this,"callbacksCount",0),s(this,"nextId",1),s(this,"startId",1),s(this,"isScheduled",!1),s(this,"tick",function(e){n.isScheduled=!1;var t,r=n.callbacks,o=n.callbacksCount;if(n.callbacks=[],n.callbacksCount=0,n.startId=n.nextId,o>0)for(var a=0;a=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}])}()),lu=function(){function e(){var n=this;u(this,e),s(this,"currentId",null),s(this,"cancel",function(){null!==n.currentId&&(lc.cancel(n.currentId),n.currentId=null)}),s(this,"disposeEffect",function(){return n.cancel})}return d(e,[{key:"request",value:function(e){var n=this;this.cancel(),this.currentId=lc.request(function(){n.currentId=null,e()})}}],[{key:"create",value:function(){return new e}},{key:"request",value:function(e){return lc.request(e)}},{key:"cancel",value:function(e){return lc.cancel(e)}}])}();function ld(){var e=aq(lu.create).current;return aW(e.disposeEffect),e}var lf={style:{transition:"none"}},lp={},lh=[],lm={fallbackAxisSide:"none"},lv={fallbackAxisSide:"end"},lg={intentional:"onClick",sloppy:"onPointerDown"};function ly(e){var n,t;return{escapeKey:"boolean"==typeof e?e:null!=(n=null==e?void 0:e.escapeKey)&&n,outsidePress:"boolean"==typeof e?e:null==(t=null==e?void 0:e.outsidePress)||t}}function lb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.onOpenChange,o=e.elements,a=e.dataRef,i=n.enabled,l=void 0===i||i,c=n.escapeKey,u=void 0===c||c,d=n.outsidePress,f=void 0===d||d,p=n.outsidePressEvent,h=void 0===p?"sloppy":p,m=n.referencePress,v=void 0!==m&&m,g=n.referencePressEvent,y=void 0===g?"sloppy":g,b=n.ancestorScroll,A=void 0!==b&&b,x=n.bubbles,w=n.capture,C=ie(),k=aG("function"==typeof f?f:function(){return!1}),E="function"==typeof f?k:f,j=ea.useRef(!1),_=ly(x),S=_.escapeKey,O=_.outsidePress,B=ly(w),P=B.escapeKey,I=B.outsidePress,z=ea.useRef(null),T=aY(),L=aY(),N=ea.useRef(!1),R=ea.useRef(""),M=aG(function(e){R.current=e.pointerType}),Z=aG(function(){var e=R.current;return"string"==typeof h?h:h["pen"!==e&&e?e:"mouse"]}),U=aG(function(e){if(t&&l&&u&&"Escape"===e.key&&!N.current){var n,o=null==(n=a.current.floatingContext)?void 0:n.nodeId,i=C?lr(C.nodesRef.current,o):[];if(!S&&(e.stopPropagation(),i.length>0)){var s=!0;if(i.forEach(function(e){var n;(null==(n=e.context)?void 0:n.open)&&!e.context.dataRef.current.__escapeKeyBubbles&&(s=!1)}),!s)return}r(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}}),F=aG(function(e){var n=Z();return"intentional"===n&&"click"!==e.type||"sloppy"===n&&"click"===e.type}),H=aG(function(e){var n,t=function(){var n;U(e),null==(n=i2(e))||n.removeEventListener("keydown",t)};null==(n=i2(e))||n.addEventListener("keydown",t)}),q=aG(function(e){if(F(e))return;var n,t=a.current.insideReactTree;a.current.insideReactTree=!1;var i=j.current;if(j.current=!1,("intentional"!==Z()||!i)&&!t&&("function"!=typeof E||E(e))){for(var l=i2(e),s="[".concat(i8("inert"),"]"),c=i5(o.floating).querySelectorAll(s),u=iu(l)?l:null;u&&!iE(u);){var d=iS(u);if(iE(d)||!iu(d))break;u=d}if(!(c.length&&iu(l)&&!l.matches("html,body")&&!i1(l,o.floating)&&Array.from(c).every(function(e){return!i1(u,e)}))){if(id(l)){var f=iE(l),p=ij(l),h=/auto|scroll/,m=f||h.test(p.overflowX),v=f||h.test(p.overflowY),g=m&&l.clientWidth>0&&l.scrollWidth>l.clientWidth,y=v&&l.clientHeight>0&&l.scrollHeight>l.clientHeight,b="rtl"===p.direction,A=y&&(b?e.offsetX<=l.offsetWidth-l.clientWidth:e.offsetX>l.clientWidth),x=g&&e.offsetY>l.clientHeight;if(A||x)return}var w=null==(n=a.current.floatingContext)?void 0:n.nodeId,k=C&&lr(C.nodesRef.current,w).some(function(n){var t;return i4(e,null==(t=n.context)?void 0:t.elements.floating)});if(!(i4(e,o.floating)||i4(e,o.domReference))&&!k){var _=C?lr(C.nodesRef.current,w):[];if(_.length>0){var S=!0;if(_.forEach(function(e){var n;(null==(n=e.context)?void 0:n.open)&&!e.context.dataRef.current.__outsidePressBubbles&&(S=!1)}),!S)return}r(!1,e,"outside-press")}}}}),V=aG(function(e){if(!("sloppy"!==Z()||!t||!l||i4(e,o.floating)||i4(e,o.domReference))){if("touch"===e.pointerType){z.current={startTime:Date.now(),startX:e.clientX,startY:e.clientY,dismissOnPointerUp:!1,dismissOnMouseDown:!0},T.start(1e3,function(){z.current&&(z.current.dismissOnPointerUp=!1,z.current.dismissOnMouseDown=!1)});return}q(e)}}),W=aG(function(e){if(!F(e)&&(T.clear(),"mousedown"!==e.type||!z.current||z.current.dismissOnMouseDown)){var n,t=function(){var n;"pointerdown"===e.type?V(e):q(e),null==(n=i2(e))||n.removeEventListener(e.type,t)};null==(n=i2(e))||n.addEventListener(e.type,t)}}),$=aG(function(e){if(!("sloppy"!==Z()||"touch"!==e.pointerType||!z.current||i4(e,o.floating)||i4(e,o.domReference))){var n=Math.abs(e.clientX-z.current.startX),t=Math.abs(e.clientY-z.current.startY),r=Math.sqrt(n*n+t*t);r>5&&(z.current.dismissOnPointerUp=!0),r>10&&(q(e),T.clear(),z.current=null)}}),Y=aG(function(e){"sloppy"!==Z()||"touch"!==e.pointerType||!z.current||i4(e,o.floating)||i4(e,o.domReference)||(z.current.dismissOnPointerUp&&q(e),T.clear(),z.current=null)});ea.useEffect(function(){if(t&&l){a.current.__escapeKeyBubbles=S,a.current.__outsidePressBubbles=O;var e=new a$,n=i5(o.floating);n.addEventListener("pointerdown",M,!0),u&&(n.addEventListener("keydown",P?H:U,P),n.addEventListener("compositionstart",c),n.addEventListener("compositionend",d)),E&&(n.addEventListener("click",I?W:q,I),n.addEventListener("pointerdown",I?W:q,I),n.addEventListener("pointermove",$,I),n.addEventListener("pointerup",Y,I),n.addEventListener("mousedown",W,I));var i=[];return A&&(iu(o.domReference)&&(i=iO(o.domReference)),iu(o.floating)&&(i=i.concat(iO(o.floating))),!iu(o.reference)&&o.reference&&o.reference.contextElement&&(i=i.concat(iO(o.reference.contextElement)))),(i=i.filter(function(e){var t;return e!==(null==(t=n.defaultView)?void 0:t.visualViewport)})).forEach(function(e){e.addEventListener("scroll",s,{passive:!0})}),function(){n.removeEventListener("pointerdown",M,!0),u&&(n.removeEventListener("keydown",P?H:U,P),n.removeEventListener("compositionstart",c),n.removeEventListener("compositionend",d)),E&&(n.removeEventListener("click",I?W:q,I),n.removeEventListener("pointerdown",I?W:q,I),n.removeEventListener("pointermove",$,I),n.removeEventListener("pointerup",Y,I),n.removeEventListener("mousedown",W,I)),i.forEach(function(e){e.removeEventListener("scroll",s)}),e.clear()}}function s(e){r(!1,e,"ancestor-scroll")}function c(){e.clear(),N.current=!0}function d(){e.start(5*!!iC(),function(){N.current=!1})}},[a,o,u,E,h,t,r,A,l,S,O,U,P,H,q,I,W,V,$,Y,M]),ea.useEffect(function(){a.current.insideReactTree=!1},[a,E]);var K=ea.useMemo(function(){return D({onKeyDown:U},v&&D(s({},lg[y],function(e){r(!1,e.nativeEvent,"reference-press")}),"intentional"!==y&&{onClick:function(e){r(!1,e.nativeEvent,"reference-press")}}))},[U,r,v,y]),X=aG(function(e){var n=i2(e.nativeEvent);i1(o.floating,n)&&(j.current=!0)}),G=aG(function(){a.current.insideReactTree=!0,L.start(0,function(){a.current.insideReactTree=!1})}),Q=ea.useMemo(function(){return{onKeyDown:U,onMouseDown:X,onMouseUp:X,onPointerDownCapture:G,onMouseDownCapture:G,onClickCapture:G}},[U,X,G]);return ea.useMemo(function(){return l?{reference:K,floating:Q}:{}},[l,K,Q])}var lA=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]),lx=["top","right","bottom","left"],lw=Math.min,lC=Math.max,lk=Math.round,lE=Math.floor,lj=function(e){return{x:e,y:e}},l_={left:"right",right:"left",bottom:"top",top:"bottom"},lS={start:"end",end:"start"};function lO(e,n){return"function"==typeof e?e(n):e}function lB(e){return e.split("-")[0]}function lP(e){return e.split("-")[1]}function lI(e){return"x"===e?"y":"x"}function lz(e){return"y"===e?"height":"width"}var lT=new Set(["top","bottom"]);function lD(e){return lT.has(lB(e))?"y":"x"}function lL(e){return e.replace(/start|end/g,function(e){return lS[e]})}var lN=["left","right"],lR=["right","left"],lM=["top","bottom"],lZ=["bottom","top"];function lU(e){return e.replace(/left|right|bottom|top/g,function(e){return l_[e]})}function lF(e){return"number"!=typeof e?D({top:0,right:0,bottom:0,left:0},e):{top:e,right:e,bottom:e,left:e}}function lH(e){var n=e.x,t=e.y,r=e.width,o=e.height;return{width:r,height:o,top:t,left:n,right:n+r,bottom:t+o,x:n,y:t}}function lq(e,n,t){return Math.floor(e/n)!==t}function lV(e,n){return n<0||n>=e.current.length}function lW(e,n){return lY(e,{disabledIndices:n})}function l$(e,n){return lY(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:n})}function lY(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.startingIndex,r=void 0===t?-1:t,o=n.decrement,a=void 0!==o&&o,i=n.disabledIndices,l=n.amount,s=void 0===l?1:l,c=r;do c+=a?-s:s;while(c>=0&&c<=e.current.length-1&&lK(e,c,i));return c}function lK(e,n,t){if("function"==typeof t)return t(n);if(t)return t.includes(n);var r=e.current[n];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var lX=0;function lG(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.preventScroll,r=void 0!==t&&t,o=n.cancelPrevious,a=void 0===o||o,i=n.sync,l=void 0!==i&&i;a&&cancelAnimationFrame(lX);var s=function(){return null==e?void 0:e.focus({preventScroll:r})};l?s():lX=requestAnimationFrame(s)}function lQ(e,n,t){switch(e){case"vertical":return n;case"horizontal":return t;default:return n||t}}function lJ(e,n){return lQ(n,e===iQ||e===iJ,e===iX||e===iG)}function l0(e,n,t){return lQ(n,e===iJ,t?e===iX:e===iG)||"Enter"===e||" "===e||""===e}function l1(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=e.map(function(e){return null==e?void 0:e.reference}),t=e.map(function(e){return null==e?void 0:e.floating}),r=e.map(function(e){return null==e?void 0:e.item}),o=ea.useCallback(function(n){return l2(n,e,"reference")},n),a=ea.useCallback(function(n){return l2(n,e,"floating")},t),i=ea.useCallback(function(n){return l2(n,e,"item")},r);return ea.useMemo(function(){return{getReferenceProps:o,getFloatingProps:a,getItemProps:i}},[o,a,i])}function l2(e,n,t){var r=new Map,o="item"===t,a={};for(var i in"floating"===t&&(a.tabIndex=-1,a[i$]=""),e)o&&e&&(i===iY||i===iK)||(a[i]=e[i]);for(var l=0;l.");return n}var l6=ea.createContext(null);function l9(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=ea.useState(e&&n?"idle":void 0),o=a(r,2),i=o[0],l=o[1],s=ea.useState(e),c=a(s,2),u=c[0],d=c[1];return e&&!u&&(d(!0),l("starting")),e||!u||"ending"===i||t||l("ending"),e||u||"ending"!==i||l(void 0),a6(function(){if(!e&&u&&"ending"!==i&&t){var n=lu.request(function(){l("ending")});return function(){lu.cancel(n)}}},[e,u,i,t]),a6(function(){if(e&&!n){var t=lu.request(function(){eG.flushSync(function(){l(void 0)})});return function(){lu.cancel(t)}}},[n,e]),a6(function(){if(e&&n){e&&u&&"idle"!==i&&l("starting");var t=lu.request(function(){l("idle")});return function(){lu.cancel(t)}}},[n,e,u,l,i]),ea.useMemo(function(){return{mounted:u,setMounted:d,transitionStatus:i}},[u,i])}function l8(e){var n=e.enabled,t=void 0===n||n,r=e.open,o=e.ref,a=e.onComplete,i=iP(r),l=aG(a),s=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=ld();return aG(function(r){var o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t.cancel(),null!=e){if("current"in e){if(null==e.current)return;o=e.current}else o=e;"function"!=typeof o.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?r():t.request(function(){function e(){o&&Promise.allSettled(o.getAnimations().map(function(e){return e.finished})).then(function(){null!=a&&a.aborted||eG.flushSync(r)})}n?t.request(e):e()})}})}(o,r);ea.useEffect(function(){t&&s(function(){r===i.current&&l()})},[t,r,l,s,i])}var l7=ea.createContext(void 0);function se(){var e,n=!(arguments.length>0)||void 0===arguments[0]||arguments[0],t=ea.useContext(l7);if(void 0===t&&!n)throw Error("Base UI: DirectionContext is missing.");return null!=(e=null==t?void 0:t.direction)?e:"ltr"}function sn(e){return(null==e?void 0:e.ownerDocument)||document}var st=function(){},sr={},so={},sa="",si=function(){function e(){var n=this;u(this,e),s(this,"lockCount",0),s(this,"restore",null),s(this,"timeoutLock",a$.create()),s(this,"timeoutUnlock",a$.create()),s(this,"release",function(){n.lockCount-=1,0===n.lockCount&&n.restore&&n.timeoutUnlock.start(0,n.unlock)}),s(this,"unlock",function(){var e;0===n.lockCount&&n.restore&&(null!=(e=n.restore)&&e.call(n),n.restore=null)})}return d(e,[{key:"acquire",value:function(e){var n=this;return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,function(){return n.lock(e)}),this.release}},{key:"lock",value:function(e){if(0!==this.lockCount&&null===this.restore){var n,t,r=sn(e).documentElement,o=il(r).getComputedStyle(r).overflowY;if("hidden"===o||"clip"===o){this.restore=st;return}var a=iR||!function(e){if("undefined"==typeof document)return!1;var n=sn(e);return il(n).innerWidth-n.documentElement.clientWidth>0}(e);this.restore=a?(t=(n=sn(e).documentElement).style.overflow,n.style.overflow="hidden",function(){n.style.overflow=t}):function(e,n,t){var r=sn(e),o=r.documentElement,a=r.body,i=il(o),l=0,s=0,c=lu.create();if(iN&&(null!=(n=null==(t=i.visualViewport)?void 0:t.scale)?n:1)!==1)return function(){};function u(){var e,n,t=i.getComputedStyle(o),r=i.getComputedStyle(a);l=o.scrollTop,s=o.scrollLeft,sr={scrollbarGutter:o.style.scrollbarGutter,overflowY:o.style.overflowY,overflowX:o.style.overflowX},sa=o.style.scrollBehavior,so={position:a.style.position,height:a.style.height,width:a.style.width,boxSizing:a.style.boxSizing,overflowY:a.style.overflowY,overflowX:a.style.overflowX,scrollBehavior:a.style.scrollBehavior};var c="undefined"!=typeof CSS&&(null==(e=(n=CSS).supports)?void 0:e.call(n,"scrollbar-gutter","stable")),u=o.scrollHeight>o.clientHeight,d=o.scrollWidth>o.clientWidth,f="scroll"===t.overflowY||"scroll"===r.overflowY,p="scroll"===t.overflowX||"scroll"===r.overflowX,h=Math.max(0,i.innerWidth-o.clientWidth),m=Math.max(0,i.innerHeight-o.clientHeight),v=parseFloat(r.marginTop)+parseFloat(r.marginBottom),g=parseFloat(r.marginLeft)+parseFloat(r.marginRight);Object.assign(o.style,{scrollbarGutter:"stable",overflowY:!c&&(u||f)?"scroll":"hidden",overflowX:!c&&(d||p)?"scroll":"hidden"}),Object.assign(a.style,{position:"relative",height:v||m?"calc(100dvh - ".concat(v+m,"px)"):"100dvh",width:g||h?"calc(100vw - ".concat(g+h,"px)"):"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),a.scrollTop=l,a.scrollLeft=s,o.setAttribute("data-base-ui-scroll-locked",""),o.style.scrollBehavior="unset"}function d(){Object.assign(o.style,sr),Object.assign(a.style,so),o.scrollTop=l,o.scrollLeft=s,o.removeAttribute("data-base-ui-scroll-locked"),o.style.scrollBehavior=sa}function f(){d(),c.request(u)}return u(),i.addEventListener("resize",f),function(){c.cancel(),d(),i.removeEventListener("resize",f)}}(e)}}}])}(),sl=new si;function ss(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]}var sc=ea.createContext(void 0);function su(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],n=ea.useContext(sc);if(void 0===n&&!e)throw Error("Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within .");return n}var sd=ea.createContext(!1);function sf(e,n){return e&&!n?e:!e&&n?n:e||n?D(D({},e),n):void 0}var sp={};function sh(e,n,t,r,o){var a=D({},sg(e,sp));return n&&(a=sm(a,n)),t&&(a=sm(a,t)),r&&(a=sm(a,r)),o&&(a=sm(a,o)),a}function sm(e,n){return sv(n)?n(e):function(e,n){if(!n)return e;for(var t in n){var r=n[t];switch(t){case"style":e[t]=sf(e.style,r);break;case"className":e[t]=sb(e.className,r);break;default:!function(e,n){var t=e.charCodeAt(0),r=e.charCodeAt(1),o=e.charCodeAt(2);return 111===t&&110===r&&o>=65&&o<=90&&("function"==typeof n||void 0===n)}(t,r)?e[t]=r:e[t]=function(e,n){return n?e?function(t){if(null!=(r=t)&&"object"==typeof r&&"nativeEvent"in r){sy(t);var r,o=n(t);return t.baseUIHandlerPrevented||null!=e&&e(t),o}var a=n(t);return null!=e&&e(t),a}:n:e}(e[t],r)}}return e}(e,n)}function sv(e){return"function"==typeof e}function sg(e,n){return sv(e)?e(n):null!=e?e:sp}function sy(e){return e.preventBaseUIHandler=function(){e.baseUIHandlerPrevented=!0},e}function sb(e,n){return n?e?n+" "+e:n:e}var sA=[],sx={current:!1},sw=function(e){var n,t,r,o,i,l,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j,_,S,O,B,P,I,z,T,L,N,R,M,Z,U,F,H,q,V,W,$,Y,K,X,G,Q,J,ee,en,et,eo,ei,el,es,ec,eu,ed,ef,ep,eh,em,ev,eg,ey,eb,eA,ex,ew,eC,ek,eE,ej,e_,eS,eO,eB,eP,eI,ez,eT,eD,eL,eN,eR,eM,eZ,eU,eF,eH,eq,eV,eW,e$,eY,eK,eX,eQ,eJ,e0,e1,e2,e4,e5,e3,e6,e9,e8,e7,ne,nn,nt,nr,no,na,ni,nl,ns,nc,nu,nd,nf,np,nh=e.children,nm=e.open,nv=e.onOpenChange,ng=e.onOpenChangeComplete,ny=e.defaultOpen,nb=void 0!==ny&&ny,nA=e.disabled,nx=void 0!==nA&&nA,nw=e.modal,nC=e.loop,nk=void 0===nC||nC,nE=e.orientation,nj=void 0===nE?"vertical":nE,n_=e.actionsRef,nS=e.openOnHover,nO=e.delay,nB=void 0===nO?100:nO,nP=e.closeDelay,nI=void 0===nP?0:nP,nz=e.closeParentOnEsc,nT=void 0===nz||nz,nD=ea.useState(null),nL=a(nD,2),nN=nL[0],nR=nL[1],nM=ea.useState(null),nZ=a(nM,2),nU=nZ[0],nF=nZ[1],nH=ea.useState(),nq=a(nH,2),nV=nq[0],nW=nq[1],n$=ea.useState(!0),nY=a(n$,2),nK=nY[0],nX=nY[1],nG=ea.useState(null),nQ=a(nG,2),nJ=nQ[0],n0=nQ[1],n1=ea.useState(null),n2=a(n1,2),n4=n2[0],n5=n2[1],n3=ea.useState(!0),n6=a(n3,2),n9=n6[0],n8=n6[1],n7=ea.useState(!1),te=a(n7,2),tn=te[0],tt=te[1],tr=ea.useRef(null),to=ea.useRef(null),ta=ea.useRef(null),ti=ea.useRef([]),tl=ea.useRef([]),ts=aY(),tc=su(!0),tu=ea.useContext(sd),td=l3(!0),tf=function(e){var n=ea.useContext(l6);if(null===n&&!e)throw Error("Base UI: MenubarContext is missing. Menubar parts must be placed within .");return n}(!0);nf=tu&&td?{type:"menu",context:td}:tf?{type:"menubar",context:tf}:tc?{type:"context-menu",context:tc}:{type:void 0};var tp=a5();void 0!==nf.type&&(tp=nf.context.rootId);var th=(void 0===nf.type||"context-menu"===nf.type)&&(null==nw||nw),tm="menu"===nf.type?nf.context.allowMouseEnter:tn,tv="menu"===nf.type?nf.context.setAllowMouseEnter:tt,tg=null!=nS?nS:"menu"===nf.type||"menubar"===nf.type&&nf.context.hasSubmenuOpen,ty=a0({controlled:nm,default:nb,name:"MenuRoot",state:"open"}),tb=a(ty,2),tA=tb[0],tx=tb[1],tw=ea.useRef("context-menu"!==nf.type),tC=aY();ea.useEffect(function(){if(tA||(tr.current=null),"context-menu"===nf.type){if(!tA){tC.clear(),tw.current=!1;return}tC.start(500,function(){tw.current=!0})}},[tC,tA,nf.type]);var tk=ea.useCallback(function(e){ta.current=e,nF(e)},[]),tE=l9(tA),tj=tE.mounted,t_=tE.setMounted,tS=tE.transitionStatus,tO=(n=tA,l=(i=a(ea.useState(null),2))[0],u=i[1],d=aG(function(e,t){n||u(t)}),f=aG(function(){u(null)}),h=(t=d,r=ea.useRef(""),o=ea.useCallback(function(e){e.defaultPrevented||(r.current=e.pointerType,t(e,e.pointerType))},[t]),p={onClick:ea.useCallback(function(e){if(0===e.detail)return void t(e,"keyboard");"pointerType"in e&&t(e,e.pointerType),t(e,r.current),r.current=""},[t]),onPointerDown:o}).onClick,m=p.onPointerDown,ea.useMemo(function(){return{openMethod:l,reset:f,triggerProps:{onClick:h,onPointerDown:m}}},[l,f,h,m])),tB=tO.openMethod,tP=tO.triggerProps,tI=tO.reset,tz={enabled:tA&&th&&"trigger-hover"!==n4&&"touch"!==tB,mounted:tj,open:tA,referenceElement:nU},tT=tz.enabled,tD=void 0===tT||tT,tL=tz.mounted,tN=tz.open,tR=tz.referenceElement,tM=void 0===tR?null:tR;a6(function(){if(tD&&iN&&tL&&!tN){var e=sn(tM),n=e.body.style.userSelect,t=e.body.style.webkitUserSelect;return e.body.style.userSelect="none",e.body.style.webkitUserSelect="none",function(){e.body.style.userSelect=n,e.body.style.webkitUserSelect=t}}},[tD,tL,tN,tM]),a6(function(){if(tD)return sl.acquire(tM)},[tD,tM]),tA||nK||nX(!0);var tZ=aG(function(){t_(!1),n8(!0),tv(!1),null!=ng&&ng(!1),tI()});l8({enabled:!n_,open:tA,ref:to,onComplete:function(){tA||tZ()}});var tU=ea.useRef(!0),tF=aY(),tH=aG(function(e,n,t){if(tA!==e&&(!1!==e||(null==n?void 0:n.type)!=="click"||"touch"!==n.pointerType||tU.current)){if(!e&&null!==nJ){var r=ti.current[nJ];queueMicrotask(function(){null==r||r.setAttribute("tabindex","-1")})}e&&"trigger-focus"===t?(tU.current=!1,tF.start(300,function(){tU.current=!0})):(tU.current=!0,tF.clear());var o=("trigger-press"===t||"item-press"===t)&&0===n.detail&&(null==n?void 0:n.isTrusted),a=!e&&("escape-key"===t||null==t);"trigger-hover"===t?(n8(!0),ts.start(500,function(){n8(!1)}),eG.flushSync(i)):i(),"menubar"===nf.type&&("trigger-focus"===t||"focus-out"===t||"trigger-hover"===t||"list-navigation"===t||"sibling-open"===t)?nW("group"):o||a?nW(o?"click":"dismiss"):nW(void 0)}function i(){null!=nv&&nv(e,n,t),tx(e),n5(null!=t?t:null),tr.current=null!=n?n:null}});ea.useImperativeHandle(n_,function(){return{unmount:tZ}},[tZ]),"context-menu"===nf.type&&(np=nf.context),ea.useImperativeHandle(null==(nu=np)?void 0:nu.positionerRef,function(){return nU},[nU]),ea.useImperativeHandle(null==(nd=np)?void 0:nd.actionsRef,function(){return{setOpen:tH}},[tH]),ea.useEffect(function(){tA||ts.clear()},[ts,tA]);var tq=io({elements:{reference:nN,floating:nU},open:tA,onOpenChange:function(e,n,t){tH(e,n,ss(t))}}),tV=lt(tq,{enabled:nK&&tg&&!nx&&"context-menu"!==nf.type&&("menubar"!==nf.type||nf.context.hasSubmenuOpen&&!tA),handleClose:li({blockPointerEvents:!0}),mouseOnly:!0,move:"menu"===nf.type,restMs:void 0===nf.type||"menu"===nf.type&&tm?nB:void 0,delay:"menu"===nf.type?{open:tm?nB:1e10,close:nI}:{close:nI}}),tW=ls(tq,{enabled:!nx&&!tA&&"menubar"===nf.type&&nf.context.hasSubmenuOpen&&!tc}),t$=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.onOpenChange,o=e.dataRef,a=n.enabled,i=void 0===a||a,l=n.event,s=void 0===l?"click":l,c=n.toggle,u=void 0===c||c,d=n.ignoreMouse,f=void 0!==d&&d,p=n.stickIfOpen,h=void 0===p||p,m=ea.useRef(void 0),v=ld(),g=ea.useMemo(function(){return{onPointerDown:function(e){m.current=e.pointerType},onMouseDown:function(e){var n=m.current,a=e.nativeEvent;if(!(0!==e.button||"click"===s||iW(n,!0)&&f)){var i=o.current.openEvent,l=null==i?void 0:i.type,c=!(t&&u&&(!i||!h||"click"===l||"mousedown"===l));v.request(function(){r(c,a,"click")})}},onClick:function(e){var n=m.current;if("mousedown"===s&&n){m.current=void 0;return}if(!iW(n,!0)||!f){var a=o.current.openEvent,i=null==a?void 0:a.type;r(!(t&&u&&(!a||!h||"click"===i||"mousedown"===i||"keydown"===i||"keyup"===i)),e.nativeEvent,"click")}},onKeyDown:function(){m.current=void 0}}},[o,s,f,r,t,h,u,v]);return ea.useMemo(function(){return i?{reference:g}:lp},[i,g])}(tq,{enabled:!nx&&"context-menu"!==nf.type,event:tA&&"menubar"===nf.type?"click":"mousedown",toggle:!tg||"menu"!==nf.type,ignoreMouse:tg&&"menu"===nf.type,stickIfOpen:void 0===nf.type&&n9}),tY=lb(tq,{enabled:!nx,bubbles:nT&&"menu"===nf.type,outsidePress:function(){var e;return"context-menu"!==nf.type||(null==(e=tr.current)?void 0:e.type)==="contextmenu"||tw.current}}),tK=function(e){var n,t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e.open,a=e.elements,i=e.floatingId,l=r.enabled,c=void 0===l||l,u=r.role,d=void 0===u?"dialog":u,f=a5(),p=(null==(n=a.domReference)?void 0:n.id)||f,h=ea.useMemo(function(){var e;return(null==(e=i9(a.floating))?void 0:e.id)||i},[a.floating,i]),m=null!=(t=lA.get(d))?t:d,v=null!=a7(),g=ea.useMemo(function(){return"tooltip"===m||"label"===d?s({},"aria-".concat("label"===d?"labelledby":"describedby"),o?h:void 0):D(D(D(D(D({"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===m?"dialog":m,"aria-controls":o?h:void 0},"listbox"===m&&{role:"combobox"}),"menu"===m&&{id:p}),"menu"===m&&v&&{role:"menuitem"}),"select"===d&&{"aria-autocomplete":"none"}),"combobox"===d&&{"aria-autocomplete":"list"})},[m,h,v,o,p,d]),y=ea.useMemo(function(){var e=D({id:h},m&&{role:m});return"tooltip"===m||"label"===d?e:D(D({},e),"menu"===m&&{"aria-labelledby":p})},[m,h,p,d]),b=ea.useCallback(function(e){var n=e.active,t=e.selected,r=D({role:"option"},n&&{id:"".concat(h,"-fui-option")});switch(d){case"select":case"combobox":return D(D({},r),{},{"aria-selected":t})}return{}},[h,d]);return ea.useMemo(function(){return c?{reference:g,floating:y,item:b}:{}},[c,g,y,b])}(tq,{role:"menu"}),tX=se(),tG=(v=tq,g={enabled:!nx,listRef:ti,activeIndex:nJ,nested:void 0!==nf.type,loop:nk,orientation:nj,parentOrientation:"menubar"===nf.type?nf.context.orientation:void 0,rtl:"rtl"===tX,disabledIndices:sA,onNavigate:n0,openOnArrowKeyDown:"context-menu"!==nf.type},y=v.open,b=v.onOpenChange,A=v.elements,x=v.floatingId,w=g.listRef,C=g.activeIndex,E=void 0===(k=g.onNavigate)?function(){}:k,_=void 0===(j=g.enabled)||j,O=void 0===(S=g.selectedIndex)?null:S,P=void 0!==(B=g.allowEscape)&&B,z=void 0!==(I=g.loop)&&I,L=void 0!==(T=g.nested)&&T,R=void 0!==(N=g.rtl)&&N,Z=void 0!==(M=g.virtual)&&M,F=void 0===(U=g.focusItemOnOpen)?"auto":U,q=void 0===(H=g.focusItemOnHover)||H,W=void 0===(V=g.openOnArrowKeyDown)||V,$=g.disabledIndices,K=void 0===(Y=g.orientation)?"vertical":Y,X=g.parentOrientation,Q=void 0===(G=g.cols)?1:G,ee=void 0===(J=g.scrollItemIntoView)||J,en=g.virtualItemRef,et=g.itemSizes,ei=void 0!==(eo=g.dense)&&eo,el=iP(i9(A.floating)),es=a7(),ec=ie(),a6(function(){v.dataRef.current.orientation=K},[v,K]),eu=i6(A.domReference),ed=ea.useRef(F),ef=ea.useRef(null!=O?O:-1),ep=ea.useRef(null),eh=ea.useRef(!0),em=aG(function(){E(-1===ef.current?null:ef.current)}),ev=ea.useRef(em),eg=ea.useRef(!!A.floating),ey=ea.useRef(y),eb=ea.useRef(!1),eA=ea.useRef(!1),ex=iP($),ew=iP(y),eC=iP(ee),ek=iP(O),ej=(eE=a(ea.useState(),2))[0],e_=eE[1],eS=aG(function(){function e(e){var n;Z?(null!=(n=e.id)&&n.endsWith("-fui-option")&&(e.id="".concat(x,"-").concat(Math.random().toString(16).slice(2,10))),e_(e.id),null!=ec&&ec.events.emit("virtualfocus",e),en&&(en.current=e)):lG(e,{sync:eb.current,preventScroll:!0})}var n=w.current[ef.current],t=eA.current;n&&e(n),(eb.current?function(e){return e()}:requestAnimationFrame)(function(){var r,o=w.current[ef.current]||n;if(o){n||e(o);var a=eC.current;a&&eB&&(t||!eh.current)&&(null==(r=o.scrollIntoView)||r.call(o,"boolean"==typeof a?{block:"nearest",inline:"nearest"}:a))}})}),a6(function(){_&&(y&&A.floating?ed.current&&null!=O&&(eA.current=!0,ef.current=O,em()):eg.current&&(ef.current=-1,ev.current()))},[_,y,A.floating,O,em]),a6(function(){if(_&&y&&A.floating)if(null==C){if(eb.current=!1,null!=ek.current)return;if(eg.current&&(ef.current=-1,eS()),(!ey.current||!eg.current)&&ed.current&&(null!=ep.current||!0===ed.current&&null==ep.current)){var e=0,n=function(){null==w.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(n),e+=1):(ef.current=null==ep.current||l0(ep.current,K,R)||L?lW(w,ex.current):l$(w,ex.current),ep.current=null,em())};n()}}else lV(w,C)||(ef.current=C,eS(),eA.current=!1)},[_,y,A.floating,C,ek,L,w,K,R,em,eS,ex]),a6(function(){if(_&&!A.floating&&ec&&!Z&&eg.current){var e,n=ec.nodesRef.current,t=null==(e=n.find(function(e){return e.id===es}))||null==(e=e.context)?void 0:e.elements.floating,r=i0(i5(A.floating)),o=n.some(function(e){return e.context&&i1(e.context.elements.floating,r)});t&&!o&&eh.current&&t.focus({preventScroll:!0})}},[_,A.floating,ec,es,Z]),a6(function(){ev.current=em,ey.current=y,eg.current=!!A.floating}),a6(function(){y||(ep.current=null,ed.current=F)},[y,F]),eO=null!=C,eB=ea.useMemo(function(){function e(e){if(ew.current){var n=w.current.indexOf(e);-1!==n&&ef.current!==n&&(ef.current=n,em())}}return{onFocus:function(n){var t=n.currentTarget;eb.current=!0,e(t)},onClick:function(e){var n=e.currentTarget;return n.focus({preventScroll:!0})},onMouseMove:function(n){var t=n.currentTarget;eb.current=!0,eA.current=!1,q&&e(t)},onPointerLeave:function(e){var n,t=e.pointerType;eh.current&&"touch"!==t&&(eb.current=!0,q&&(ef.current=-1,em(),Z||null==(n=el.current)||n.focus({preventScroll:!0})))}}},[ew,el,q,w,em,Z]),eP=ea.useCallback(function(){var e;return null!=X?X:null==ec||null==(e=ec.nodesRef.current.find(function(e){return e.id===es}))||null==(e=e.context)||null==(e=e.dataRef)?void 0:e.current.orientation},[es,ec,X]),eI=aG(function(e){if(eh.current=!1,eb.current=!0,229!==e.which&&(ew.current||e.currentTarget!==el.current)){if(L&&(n=e.key,t=K,r=R,o=Q,"both"===t||"horizontal"===t&&o&&o>1?"Escape"===n:lQ(t,r?n===iG:n===iX,n===iQ))){lJ(e.key,eP())||iH(e),b(!1,e.nativeEvent,"list-navigation"),id(A.domReference)&&(Z?null==ec||ec.events.emit("virtualfocus",A.domReference):A.domReference.focus());return}var n,t,r,o,a,i=ef.current,l=lW(w,$),s=l$(w,$);if(eu||("Home"===e.key&&(iH(e),ef.current=l,em()),"End"===e.key&&(iH(e),ef.current=s,em())),Q>1){var u,d,f,p,h,m=et||Array.from({length:w.current.length},function(){return{width:1,height:1}}),v=(u=m,d=Q,f=ei,p=[],h=0,u.forEach(function(e,n){var t=e.width,r=e.height,o=!1;for(f&&(h=0);!o;){for(var a=[],i=0;ih?v:v-i}lV(e,p)&&(p=u)}if(t.key===iJ&&(f&&iH(t),-1===u?p=s:(p=lY(e,{startingIndex:u,amount:i,disabledIndices:l}),o&&u+i>c&&(p=lY(e,{startingIndex:u%i-i,amount:i,disabledIndices:l}))),lV(e,p)&&(p=u)),"both"===r){var g=lE(u/i);t.key===(a?iX:iG)&&(f&&iH(t),u%i!=i-1?(p=lY(e,{startingIndex:u,disabledIndices:l}),o&&lq(p,i,g)&&(p=lY(e,{startingIndex:u-u%i-1,disabledIndices:l}))):o&&(p=lY(e,{startingIndex:u-u%i-1,disabledIndices:l})),lq(p,i,g)&&(p=u)),t.key===(a?iG:iX)&&(f&&iH(t),u%i!=0?(p=lY(e,{startingIndex:u,decrement:!0,disabledIndices:l}),o&&lq(p,i,g)&&(p=lY(e,{startingIndex:u+(i-u%i),decrement:!0,disabledIndices:l}))):o&&(p=lY(e,{startingIndex:u+(i-u%i),decrement:!0,disabledIndices:l})),lq(p,i,g)&&(p=u));var y=lE(c/i)===g;lV(e,p)&&(p=o&&y?t.key===(a?iG:iX)?c:lY(e,{startingIndex:u-u%i-1,disabledIndices:l}):u)}return p}({current:v.map(function(e){return null!=e?w.current[e]:null})},{event:e,orientation:K,loop:z,rtl:R,cols:Q,disabledIndices:(a=[].concat(c(("function"!=typeof $?$:null)||w.current.map(function(e,n){return lK(w,n,$)?n:void 0})),[void 0]),v.flatMap(function(e,n){return a.includes(e)?[n]:[]})),minIndex:g,maxIndex:x,prevIndex:function(e,n,t,r,o){if(-1===e)return -1;var a=t.indexOf(e),i=n[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 t.lastIndexOf(e);default:return -1}}(ef.current>s?l:ef.current,m,v,Q,e.key===iJ?"bl":e.key===(R?iX:iG)?"tr":"tl"),stopEvent:!0})];if(null!=C&&(ef.current=C,em()),"both"===K)return}if(lJ(e.key,K)){if(iH(e),y&&!Z&&i0(e.currentTarget.ownerDocument)===e.currentTarget){ef.current=l0(e.key,K,R)?l:s,em();return}l0(e.key,K,R)?z?ef.current=i>=s?P&&i!==w.current.length?-1:l:lY(w,{startingIndex:i,disabledIndices:$}):ef.current=Math.min(s,lY(w,{startingIndex:i,disabledIndices:$})):z?ef.current=i<=l?P&&-1!==i?w.current.length:s:lY(w,{startingIndex:i,decrement:!0,disabledIndices:$}):ef.current=Math.max(l,lY(w,{startingIndex:i,decrement:!0,disabledIndices:$})),lV(w,ef.current)&&(ef.current=-1),em()}}}),ez=ea.useMemo(function(){return Z&&y&&eO&&{"aria-activedescendant":ej}},[Z,y,eO,ej]),eT=ea.useMemo(function(){return D(D({"aria-orientation":"both"===K?void 0:K},eu?{}:ez),{},{onKeyDown:function(e){if("Tab"===e.key&&e.shiftKey&&y&&!Z){iH(e),b(!1,e.nativeEvent,"list-navigation"),id(A.domReference)&&A.domReference.focus();return}eI(e)},onPointerMove:function(){eh.current=!0}})},[ez,eI,K,eu,b,y,Z,A.domReference]),eD=ea.useMemo(function(){function e(e){"auto"===F&&iq(e.nativeEvent)&&(ed.current=!0)}function n(e){ed.current=F,"auto"===F&&iV(e.nativeEvent)&&(ed.current=!0)}return D(D({},ez),{},{onKeyDown:function(e){eh.current=!1;var n,t,r=e.key.startsWith("Arrow"),o=(n=e.key,t=eP(),lQ(t,R?n===iX:n===iG,n===iJ)),a=lJ(e.key,K),i=(L?o:a)||"Enter"===e.key||""===e.key.trim();if(Z&&y)return eI(e);if(y||W||!r){if(i){var l=lJ(e.key,eP());ep.current=L&&l?null:e.key}if(L){o&&(iH(e),y?(ef.current=lW(w,ex.current),em()):b(!0,e.nativeEvent,"list-navigation"));return}a&&(null!=O&&(ef.current=O),iH(e),!y&&W?b(!0,e.nativeEvent,"list-navigation"):eI(e),y&&em())}},onFocus:function(){y&&!Z&&(ef.current=-1,em())},onPointerDown:n,onPointerEnter:n,onMouseDown:e,onClick:e})},[ez,eI,ex,F,w,L,em,b,y,W,K,eP,R,O,Z]),ea.useMemo(function(){return _?{reference:eD,floating:eT,item:eB}:{}},[_,eD,eT,eB])),tQ=ea.useRef(!1),tJ=(eL=tq,eN={listRef:tl,activeIndex:nJ,resetMs:500,onMatch:function(e){tA&&e!==nJ&&n0(e)},onTypingChange:ea.useCallback(function(e){tQ.current=e},[])},eM=eL.open,eZ=eL.dataRef,eU=eN.listRef,eF=eN.activeIndex,eH=eN.onMatch,eq=eN.onTypingChange,eW=void 0===(eV=eN.enabled)||eV,eY=void 0===(e$=eN.findMatch)?null:e$,eX=void 0===(eK=eN.resetMs)?750:eK,eJ=void 0===(eQ=eN.ignoreKeys)?[]:eQ,e1=void 0===(e0=eN.selectedIndex)?null:e0,e2=aY(),e4=ea.useRef(""),e5=ea.useRef(null!=(eR=null!=e1?e1:eF)?eR:-1),e3=ea.useRef(null),e6=aG(eH),e9=aG(eq),e8=iP(eY),e7=iP(eJ),a6(function(){eM&&(e2.clear(),e3.current=null,e4.current="")},[eM,e2]),a6(function(){var e;eM&&""===e4.current&&(e5.current=null!=(e=null!=e1?e1:eF)?e:-1)},[eM,e1,eF]),ne=aG(function(e){e?eZ.current.typing||(eZ.current.typing=e,e9(e)):eZ.current.typing&&(eZ.current.typing=e,e9(e))}),nn=aG(function(e){function n(e,n,t){var r=e8.current?e8.current(n,t):n.find(function(e){return(null==e?void 0:e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase()))===0});return r?e.indexOf(r):-1}var t=eU.current;if(e4.current.length>0&&" "!==e4.current[0]&&(-1===n(t,t,e4.current)?ne(!1):" "===e.key&&iH(e)),!(null==t||e7.current.includes(e.key))&&1===e.key.length&&!e.ctrlKey&&!e.metaKey&&!e.altKey){eM&&" "!==e.key&&(iH(e),ne(!0)),t.every(function(e){var n,t;return!e||(null==(n=e[0])?void 0:n.toLocaleLowerCase())!==(null==(t=e[1])?void 0:t.toLocaleLowerCase())})&&e4.current===e.key&&(e4.current="",e5.current=e3.current),e4.current+=e.key,e2.start(eX,function(){e4.current="",e5.current=e3.current,ne(!1)});var r=e5.current,o=n(t,[].concat(c(t.slice((r||0)+1)),c(t.slice(0,(r||0)+1))),e4.current);-1!==o?(e6(o),e3.current=o):" "!==e.key&&(e4.current="",ne(!1))}}),nt=ea.useMemo(function(){return{onKeyDown:nn}},[nn]),nr=ea.useMemo(function(){return{onKeyDown:nn,onKeyUp:function(e){" "===e.key&&ne(!1)}}},[nn,ne]),ea.useMemo(function(){return eW?{reference:nt,floating:nr}:{}},[eW,nt,nr])),t0=l1([tV,t$,tY,tW,tK,tG,tJ]),t1=t0.getReferenceProps,t2=t0.getFloatingProps,t4=t0.getItemProps,t5=(ni=void 0===(na=(no={open:tA,enabled:"menubar"===nf.type,mouseDownAction:"open"}).enabled)||na,nl=no.mouseDownAction,ns=no.open,nc=ea.useRef(!1),ea.useMemo(function(){return ni?{onMouseDown:function(e){("open"===nl&&!ns||"close"===nl&&ns)&&(nc.current=!0,sn(e.currentTarget).addEventListener("click",function(){nc.current=!1},{once:!0}))},onClick:function(e){nc.current&&(nc.current=!1,e.preventBaseUIHandler())}}:lp},[ni,nl,ns])),t3=ea.useMemo(function(){var e=sh(t1(),{onMouseEnter:function(){nX(!0)},onMouseMove:function(){tv(!0)}},tP,t5);return delete e.role,e},[t1,t5,tv,tP]),t6=ea.useMemo(function(){return t2({onMouseEnter:function(){tg&&"menu"!==nf.type||nX(!1)},onMouseMove:function(){tv(!0)},onClick:function(){tg&&nX(!1)}})},[t2,tg,nf.type,tv]),t9=ea.useMemo(function(){return t4()},[t4]),t8=ea.useMemo(function(){return{activeIndex:nJ,setActiveIndex:n0,allowMouseUpTriggerRef:nf.type?nf.context.allowMouseUpTriggerRef:sx,floatingRootContext:tq,itemProps:t9,popupProps:t6,triggerProps:t3,itemDomElements:ti,itemLabels:tl,mounted:tj,open:tA,popupRef:to,positionerRef:ta,setOpen:tH,setPositionerElement:tk,triggerElement:nN,setTriggerElement:nR,transitionStatus:tS,lastOpenChangeReason:n4,instantType:nV,onOpenChangeComplete:ng,setHoverEnabled:nX,typingRef:tQ,modal:th,disabled:nx,parent:nf,rootId:tp,allowMouseEnter:tm,setAllowMouseEnter:tv}},[nJ,tq,t9,t6,t3,ti,tl,tj,tA,ta,tH,tS,nN,tk,n4,nV,ng,th,nx,nf,tp,tm,tv]),t7=(0,er.jsx)(l5.Provider,{value:t8,children:nh});return void 0===nf.type||"context-menu"===nf.type?(0,er.jsx)(ir,{children:t7}):t7};function sC(e,n,t,r){var o,a,i,l,s,c=aq(sk).current;return o=c,a=e,i=n,l=t,s=r,(o.refs[0]!==a||o.refs[1]!==i||o.refs[2]!==l||o.refs[3]!==s)&&sE(c,[e,n,t,r]),c.callback}function sk(){return{callback:null,cleanup:null,refs:[]}}function sE(e,n){if(e.refs=n,n.every(function(e){return null==e})){e.callback=null;return}e.callback=function(t){if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=t){for(var r=Array(n.length).fill(null),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},o=n.render,a=function(e){var n,t,r,o,a,i,l,s,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=e.className,f=e.render,p=u.state,h=void 0===p?lp:p,m=u.ref,v=u.props,g=u.disableStyleHooks,y=u.customStyleHookMapping,b=u.enabled,A=void 0===b||b,x=A?(i=d,l=h,"function"==typeof i?i(l):i):void 0;!0!==g&&(s=ea.useMemo(function(){return A?function(e,n){var t={};for(var r in e){var o=e[r];if(null!=n&&n.hasOwnProperty(r)){var a=n[r](o);null!=a&&Object.assign(t,a);continue}!0===o?t["data-".concat(r.toLowerCase())]="":o&&(t["data-".concat(r.toLowerCase())]=o.toString())}return t}(h,y):lp},[h,y,A]));var w=A&&null!=(a=sf(s,Array.isArray(v)?function(e){if(0===e.length)return sp;if(1===e.length)return sg(e[0],sp);for(var n=D({},sg(e[0],sp)),t=1;t=19?e.props.ref:e.ref:null}var sH=ea.createContext(void 0);function sq(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=ea.useContext(sH);if(void 0===n&&!e)throw Error("Base UI: CompositeRootContext is missing. Composite parts must be placed within .");return n}function sV(){var e,n,t,r,a,i,l,s,c,u,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.disabled,p=void 0!==f&&f,h=d.focusableWhenDisabled,m=d.tabIndex,g=void 0===m?0:m,y=d.native,b=void 0===y||y,A=ea.useRef(null),x=void 0!==sq(!0),w=aG(function(){var e=A.current;return!!((null==e?void 0:e.tagName)==="A"&&null!=e&&e.href)}),C=(n=(e={focusableWhenDisabled:h,disabled:p,composite:x,tabIndex:g,isNativeButton:b}).focusableWhenDisabled,t=e.disabled,a=void 0!==(r=e.composite)&&r,l=void 0===(i=e.tabIndex)?0:i,s=e.isNativeButton,c=a&&!1!==n,u=a&&!1===n,{props:ea.useMemo(function(){var e={onKeyDown:function(e){t&&n&&"Tab"!==e.key&&e.preventDefault()}};return a||(e.tabIndex=l,!s&&t&&(e.tabIndex=n?l:-1)),(s&&(n||c)||!s&&t)&&(e["aria-disabled"]=t),s&&(!n||u)&&(e.disabled=t),e},[a,t,n,c,u,s,l])}),k=C.props;return a6(function(){var e=A.current;e instanceof HTMLButtonElement&&x&&p&&void 0===k.disabled&&e.disabled&&(e.disabled=!1)},[p,k.disabled,x]),{getButtonProps:ea.useCallback(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.onClick,t=e.onMouseDown,r=e.onKeyUp,a=e.onKeyDown,i=e.onPointerDown,l=o(e,v);return sh({type:b?"button":void 0,onClick:function(e){if(p)return void e.preventDefault();null==n||n(e)},onMouseDown:function(e){p||null==t||t(e)},onKeyDown:function(e){if(p||(sy(e),null!=a&&a(e)),!e.baseUIHandlerPrevented){var t=e.target===e.currentTarget&&!b&&!w()&&!p,r="Enter"===e.key,o=" "===e.key;t&&((o||r)&&e.preventDefault(),r&&(null==n||n(e)))}},onKeyUp:function(e){p||(sy(e),null!=r&&r(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||b||p||" "!==e.key||null==n||n(e))},onPointerDown:function(e){if(p)return void e.preventDefault();null==i||i(e)}},b?void 0:{role:"button"},k,l)},[p,k,b,w]),buttonRef:A}}var sW=ea.createContext({register:function(){},unregister:function(){},subscribeMapChange:function(){return function(){}},elementsRef:{current:[]},nextIndexRef:{current:0}}),s$=((h={})[h.None=0]="None",h[h.GuessFromOrder=1]="GuessFromOrder",h);function sY(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.label,t=e.metadata,r=e.textRef,o=e.indexGuessBehavior,i=ea.useContext(sW),l=i.register,s=i.unregister,c=i.subscribeMapChange,u=i.elementsRef,d=i.labelsRef,f=i.nextIndexRef,p=ea.useRef(-1),h=ea.useState(o===s$.GuessFromOrder?function(){if(-1===p.current){var e=f.current;f.current+=1,p.current=e}return p.current}:-1),m=a(h,2),v=m[0],g=m[1],y=ea.useRef(null),b=ea.useCallback(function(e){if(y.current=e,-1!==v&&null!==e&&(u.current[v]=e,d)){var t,o,a=void 0!==n;d.current[v]=a?n:null!=(t=null==r||null==(o=r.current)?void 0:o.textContent)?t:e.textContent}},[v,u,d,n,r]);return a6(function(){var e=y.current;if(e)return l(e,t),function(){s(e)}},[l,s,t]),a6(function(){return c(function(e){var n,t=y.current?null==(n=e.get(y.current))?void 0:n.index:null;null!=t&&g(t)})},[c,g]),ea.useMemo(function(){return{ref:b,index:v}},[v,b])}function sK(e){var n=e.render,t=e.className,r=e.state,a=void 0===r?lp:r,i=e.props,l=void 0===i?lh:i,s=e.refs,u=void 0===s?lh:s,d=e.metadata,f=e.customStyleHookMapping,p=e.tag,h=void 0===p?"div":p,m=o(e,g),v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=sq(),t=n.highlightItemOnHover,r=n.highlightedIndex,o=n.onHighlightedIndexChange,a=sY(e),i=a.ref,l=a.index,s=r===l,c=ea.useRef(null),u=sC(i,c);return{compositeProps:ea.useMemo(function(){return{tabIndex:s?0:-1,onFocus:function(){o(l)},onMouseMove:function(){var e=c.current;if(t&&e){var n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;s||n||e.focus()}}}},[s,o,l,t]),compositeRef:u,index:l}}({metadata:d}),y=v.compositeProps,b=v.compositeRef;return sU(h,e,{state:a,ref:[].concat(c(u),[b]),props:[y].concat(c(l),[m]),customStyleHookMapping:f})}var sX=ea.forwardRef(function(e,n){var t=e.render,r=e.className,a=e.disabled,i=void 0!==a&&a,l=e.nativeButton,s=void 0===l||l,c=o(e,y),u=l3(),d=u.triggerProps,f=u.disabled,p=u.setTriggerElement,h=u.open,m=u.allowMouseUpTriggerRef,v=u.positionerRef,g=u.parent,b=u.lastOpenChangeReason,A=u.rootId,x=i||f,w=ea.useRef(null),C=aY(),k=sV({disabled:x,native:s}),E=k.getButtonProps,j=k.buttonRef,_=sC(j,p),S=ie(),O=S.events;ea.useEffect(function(){h||void 0!==g.type||(m.current=!1)},[m,h,g.type]);var B=aG(function(e){if(w.current){C.clear(),m.current=!1;var n=e.target;if(!(i1(w.current,n)||i1(v.current,n))&&n!==w.current&&(null==n||function e(n,t){return id(n)&&n.hasAttribute("data-rootownerid")?null!=(t=n.getAttribute("data-rootownerid"))?t:void 0:iE(n)?void 0:e(iS(n))}(n)!==A)){var t=function(e){var n=e.getBoundingClientRect(),t=window.getComputedStyle(e,"::before"),r=window.getComputedStyle(e,"::after");if("none"===t.content&&"none"===r.content)return n;var o=parseFloat(t.width)||0,a=parseFloat(t.height)||0,i=parseFloat(r.width)||0,l=parseFloat(r.height)||0,s=Math.max(n.width,o,i),c=Math.max(n.height,a,l),u=s-n.width,d=c-n.height;return{left:n.left-u/2,right:n.right+u/2,top:n.top-d/2,bottom:n.bottom+d/2}}(w.current);e.clientX>=t.left-2&&e.clientX<=t.right+2&&e.clientY>=t.top-2&&e.clientY<=t.bottom+2||O.emit("close",{domEvent:e,reason:"cancel-open"})}}});ea.useEffect(function(){h&&"trigger-hover"===b&&sn(w.current).addEventListener("mouseup",B,{once:!0})},[h,B,b]);var P="menubar"===g.type,I=ea.useCallback(function(e){return sh(P?{role:"menuitem"}:{},{"aria-haspopup":"menu",ref:_,onMouseDown:function(e){h||(C.start(200,function(){m.current=!0}),sn(e.currentTarget).addEventListener("mouseup",B,{once:!0}))}},e,E)},[E,_,h,m,C,B,P]),z=ea.useMemo(function(){return{disabled:x,open:h}},[x,h]),T=[w,n,j],D=[d,c,I],L=sU("button",e,{enabled:!P,customStyleHookMapping:sR,state:z,ref:T,props:D});return P?(0,er.jsx)(sK,{tag:"button",render:t,className:r,state:z,refs:T,props:D,customStyleHookMapping:sR}):L}),sG={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},sQ=ea.forwardRef(function(e,n){var t=ea.useState(),r=a(t,2),o=r[0],i=r[1];return a6(function(){iM&&i("button")},[]),(0,er.jsx)("span",D(D({},e),{},{ref:n,tabIndex:0,role:o,"aria-hidden":!o||void 0,style:sG,"data-base-ui-focus-guard":""}))}),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])',s0="undefined"==typeof Element,s1=s0?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s2=!s0&&Element.prototype.getRootNode?function(e){var n;return null==e||null==(n=e.getRootNode)?void 0:n.call(e)}:function(e){return null==e?void 0:e.ownerDocument},s4=function e(n,t){void 0===t&&(t=!0);var r,o=null==n||null==(r=n.getAttribute)?void 0:r.call(n,"inert");return""===o||"true"===o||t&&n&&e(n.parentNode)},s5=function(e){var n,t=null==e||null==(n=e.getAttribute)?void 0:n.call(e,"contenteditable");return""===t||"true"===t},s3=function(e,n,t){if(s4(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(sJ));return n&&s1.call(e,sJ)&&r.unshift(e),r=r.filter(t)},s6=function e(n,t,r){for(var o=[],a=Array.from(n);a.length;){var i=a.shift();if(!s4(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{s1.call(i,sJ)&&r.filter(i)&&(t||!n.includes(i))&&o.push(i);var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!s4(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},s9=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},s8=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||s5(e))&&!s9(e)?0:e.tabIndex},s7=function(e,n){var t=s8(e);return t<0&&n&&!s9(e)?0:t},ce=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},cn=function(e){return"INPUT"===e.tagName},ct=function(e,n){for(var t=0;tsummary:first-of-type")?e.parentElement:e;if(s1.call(o,"details:not([open]) *"))return!0;if(t&&"full"!==t&&"legacy-full"!==t){if("non-zero-area"===t)return ci(e)}else{if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,l=s2(e);if(i&&!i.shadowRoot&&!0===r(i))return ci(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=a}if(ca(e))return!e.getClientRects().length;if("legacy-full"!==t)return!0}return!1},cs=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;ts8(n))&&!!cc(e,n)},cd=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(n)||n>=0},cf=function e(n){var t=[],r=[];return n.forEach(function(n,o){var a=!!n.scopeParent,i=a?n.scopeParent:n,l=s7(i,a),s=a?e(n.candidates):i;0===l?a?t.push.apply(t,s):t.push(i):r.push({documentOrder:o,tabIndex:l,item:n,isScope:a,content:s})}),r.sort(ce).reduce(function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e},[]).concat(t)},cp=function(e,n){return cf((n=n||{}).getShadowRoot?s6([e],n.includeContainer,{filter:cu.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:cd}):s3(e,n.includeContainer,cu.bind(null,n)))},ch=function(e,n){return(n=n||{}).getShadowRoot?s6([e],n.includeContainer,{filter:cc.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s3(e,n.includeContainer,cc.bind(null,n))},cm=function(e,n){if(n=n||{},!e)throw Error("No node provided");return!1!==s1.call(e,sJ)&&cu(n,e)},cv=function(){return{getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"}};function cg(e,n){var t=cp(e,cv()),r=t.length;if(0!==r){var o=i0(i5(e)),a=t.indexOf(o);return t[-1===a?1===n?0:r-1:a+n]}}function cy(e){return cg(i5(e).body,1)||e}function cb(e){return cg(i5(e).body,-1)||e}function cA(e,n){var t=n||e.currentTarget,r=e.relatedTarget;return!r||!i1(t,r)}function cx(e){cp(e,cv()).forEach(function(e){e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function cw(e){e.querySelectorAll("[data-tabindex]").forEach(function(e){var n=e.dataset.tabindex;delete e.dataset.tabindex,n?e.setAttribute("tabindex",n):e.removeAttribute("tabindex")})}var cC=ea.createContext(null),ck=function(){return ea.useContext(cC)},cE=i8("portal");function cj(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.id,t=e.root,r=a5(),o=ck(),i=ea.useState(null),l=a(i,2),s=l[0],c=l[1],u=ea.useRef(null);return a6(function(){return function(){null!=s&&s.remove(),queueMicrotask(function(){u.current=null})}},[s]),a6(function(){if(r&&!u.current){var e=n?document.getElementById(n):null;if(e){var t=document.createElement("div");t.id=r,t.setAttribute(cE,""),e.appendChild(t),u.current=t,c(t)}}},[n,r]),a6(function(){if(null!==t&&r&&!u.current){var e=t||(null==o?void 0:o.portalNode);e&&!ic(e)&&(e=e.current),e=e||document.body;var a=null;n&&((a=document.createElement("div")).id=n,e.appendChild(a));var i=document.createElement("div");i.id=r,i.setAttribute(cE,""),(e=a||e).appendChild(i),u.current=i,c(i)}},[n,t,r,o]),s}function c_(e){var n=e.children,t=e.id,r=e.root,o=e.preserveTabOrder,i=void 0===o||o,l=cj({id:t,root:r}),s=ea.useState(null),c=a(s,2),u=c[0],d=c[1],f=ea.useRef(null),p=ea.useRef(null),h=ea.useRef(null),m=ea.useRef(null),v=null==u?void 0:u.modal,g=null==u?void 0:u.open,y=!!u&&!u.modal&&u.open&&i&&!!(r||l);return ea.useEffect(function(){if(l&&i&&!v)return l.addEventListener("focusin",e,!0),l.addEventListener("focusout",e,!0),function(){l.removeEventListener("focusin",e,!0),l.removeEventListener("focusout",e,!0)};function e(e){if(l&&cA(e)){var n="focusin"===e.type;(n?cw:cx)(l)}}},[l,i,v]),ea.useEffect(function(){l&&(g||cw(l))},[g,l]),(0,er.jsxs)(cC.Provider,{value:ea.useMemo(function(){return{preserveTabOrder:i,beforeOutsideRef:f,afterOutsideRef:p,beforeInsideRef:h,afterInsideRef:m,portalNode:l,setFocusManagerState:d}},[i,l]),children:[y&&l&&(0,er.jsx)(sQ,{"data-type":"outside",ref:f,onFocus:function(e){var n;if(cA(e,l))null==(n=h.current)||n.focus();else{var t=cb(u?u.domReference:null);null==t||t.focus()}}}),y&&l&&(0,er.jsx)("span",{"aria-owns":l.id,style:sG}),l&&eG.createPortal(n,l),y&&l&&(0,er.jsx)(sQ,{"data-type":"outside",ref:p,onFocus:function(e){var n;if(cA(e,l))null==(n=m.current)||n.focus();else{var t=cy(u?u.domReference:null);null!=t&&t.focus(),(null==u?void 0:u.closeOnFocusOut)&&(null==u||u.onOpenChange(!1,e.nativeEvent,"focus-out"))}}})]})}var cS=ea.createContext(void 0);function cO(e){var n=e.children,t=e.keepMounted,r=void 0!==t&&t,o=e.container,a=l3(),i=a.mounted;return i||r?(0,er.jsx)(cS.Provider,{value:r,children:(0,er.jsx)(c_,{root:o,children:n})}):null}var cB=ea.createContext(void 0);function cP(e,n,t){var r,o=e.reference,a=e.floating,i=lD(n),l=lI(lD(n)),s=lz(l),c=lB(n),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(lP(n)){case"start":r[l]-=p*(t&&u?-1:1);break;case"end":r[l]+=p*(t&&u?-1:1)}return r}var cI=(m=l(i.mark(function e(n,t,r){var o,a,l,c,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j,_,S,O,B,P;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=void 0===(o=r.placement)?"bottom":o,c=void 0===(l=r.strategy)?"absolute":l,d=void 0===(u=r.middleware)?[]:u,f=r.platform,p=d.filter(Boolean),e.next=10,null==f.isRTL?void 0:f.isRTL(t);case 10:return h=e.sent,e.next=13,f.getElementRects({reference:n,floating:t,strategy:c});case 13:m=e.sent,g=(v=cP(m,a,h)).x,y=v.y,b=a,A={},x=0,w=0;case 21:if(!(w=0})}var cN=new Set(["left","top"]);function cR(e,n){return cM.apply(this,arguments)}function cM(){return(cM=l(i.mark(function e(n,t){var r,o,a,l,s,c,u,d,f,p,h,m,v,g;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.placement,o=n.platform,a=n.elements,e.next=5,null==o.isRTL?void 0:o.isRTL(a.floating);case 5:return l=e.sent,s=lB(r),c=lP(r),u="y"===lD(r),d=cN.has(s)?-1:1,f=l&&u?-1:1,m=(h="number"==typeof(p=lO(t,n))?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis}).mainAxis,v=h.crossAxis,g=h.alignmentAxis,e.abrupt("return",(c&&"number"==typeof g&&(v="end"===c?-1*g:g),u?{x:v*f,y:m*d}:{x:m*d,y:v*f}));case 17:case"end":return e.stop()}},e)}))).apply(this,arguments)}function cZ(e){var n=ij(e),t=parseFloat(n.width)||0,r=parseFloat(n.height)||0,o=id(e),a=o?e.offsetWidth:t,i=o?e.offsetHeight:r,l=lk(t)!==a||lk(r)!==i;return l&&(t=a,r=i),{width:t,height:r,$:l}}function cU(e){return iu(e)?e:e.contextElement}function cF(e){var n=cU(e);if(!id(n))return lj(1);var t=n.getBoundingClientRect(),r=cZ(n),o=r.width,a=r.height,i=r.$,l=(i?lk(t.width):t.width)/o,s=(i?lk(t.height):t.height)/a;return l&&Number.isFinite(l)||(l=1),s&&Number.isFinite(s)||(s=1),{x:l,y:s}}var cH=lj(0);function cq(e){var n=il(e);return iC()&&n.visualViewport?{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}:cH}function cV(e,n,t,r){void 0===n&&(n=!1),void 0===t&&(t=!1);var o,a,i,l=e.getBoundingClientRect(),s=cU(e),c=lj(1);n&&(r?iu(r)&&(c=cF(r)):c=cF(e));var u=(o=s,void 0===(a=t)&&(a=!1),(i=r)&&(!a||i===il(o))&&a)?cq(s):lj(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)for(var m=il(s),v=r&&iu(r)?il(r):r,g=m,y=iB(g);y&&r&&v!==g;){var b=cF(y),A=y.getBoundingClientRect(),x=ij(y),w=A.left+(y.clientLeft+parseFloat(x.paddingLeft))*b.x,C=A.top+(y.clientTop+parseFloat(x.paddingTop))*b.y;d*=b.x,f*=b.y,p*=b.x,h*=b.y,d+=w,f+=C,y=iB(g=il(y))}return lH({width:p,height:h,x:d,y:f})}function cW(e,n){var t=i_(e).scrollLeft;return n?n.left+t:cV(is(e)).left+t}function c$(e,n,t){void 0===t&&(t=!1);var r=e.getBoundingClientRect(),o=r.left+n.scrollLeft-(t?0:cW(e,r));return{x:o,y:r.top+n.scrollTop}}var cY=new Set(["absolute","fixed"]);function cK(e,n,t){if("viewport"===n)r=function(e,n){var t=il(e),r=is(e),o=t.visualViewport,a=r.clientWidth,i=r.clientHeight,l=0,s=0;if(o){a=o.width,i=o.height;var c=iC();(!c||c&&"fixed"===n)&&(l=o.offsetLeft,s=o.offsetTop)}return{width:a,height:i,x:l,y:s}}(e,t);else if("document"===n)o=is(e),a=is(o),i=i_(o),l=o.ownerDocument.body,s=lC(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),c=lC(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight),u=-i.scrollLeft+cW(o),d=-i.scrollTop,"rtl"===ij(l).direction&&(u+=lC(a.clientWidth,l.clientWidth)-s),r={width:s,height:c,x:u,y:d};else if(iu(n))h=(p=cV(f=n,!0,"fixed"===t)).top+f.clientTop,m=p.left+f.clientLeft,v=id(f)?cF(f):lj(1),g=f.clientWidth*v.x,y=f.clientHeight*v.y,b=m*v.x,r={width:g,height:y,x:b,y:h*v.y};else{var r,o,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,A=cq(e);r={x:n.x-A.x,y:n.y-A.y,width:n.width,height:n.height}}return lH(r)}function cX(e){return"static"===ij(e).position}function cG(e,n){if(!id(e)||"fixed"===ij(e).position)return null;if(n)return n(e);var t=e.offsetParent;return is(e)===t&&(t=t.ownerDocument.body),t}function cQ(e,n){var t,r=il(e);if(iy(e))return r;if(!id(e)){for(var o=iS(e);o&&!iE(o);){if(iu(o)&&!cX(o))return o;o=iS(o)}return r}for(var a=cG(e,n);a&&(t=a,iv.has(ii(t)))&&cX(a);)a=cG(a,n);return a&&iE(a)&&cX(a)&&!iw(a)?r:a||function(e){for(var n=iS(e);id(n)&&!iE(n);){if(iw(n))return n;if(iy(n))break;n=iS(n)}return null}(e)||r}var cJ=(T=l(i.mark(function e(n){var t,r,o;return i.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getOffsetParent||cQ,r=this.getDimensions,e.next=4,r(n.floating);case 4:return o=e.sent,e.t0=function(e,n,t){var r=id(n),o=is(n),a="fixed"===t,i=cV(e,!0,a,n),l={scrollLeft:0,scrollTop:0},s=lj(0);if(r||!r&&!a)if(("body"!==ii(n)||im(o))&&(l=i_(n)),r){var c=cV(n,!0,a,n);s.x=c.x+n.clientLeft,s.y=c.y+n.clientTop}else o&&(s.x=cW(o));a&&!r&&o&&(s.x=cW(o));var u=!o||r||a?lj(0):c$(o,l),d=i.left+l.scrollLeft-s.x-u.x;return{x:d,y:i.top+l.scrollTop-s.y-u.y,width:i.width,height:i.height}},e.t1=n.reference,e.next=9,t(n.floating);case 9:return e.t2=e.sent,e.t3=n.strategy,e.t4=(0,e.t0)(e.t1,e.t2,e.t3),e.t5={x:0,y:0,width:o.width,height:o.height},e.abrupt("return",{reference:e.t4,floating:e.t5});case 14:case"end":return e.stop()}},e,this)})),function(e){return T.apply(this,arguments)}),c0={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var n=e.elements,t=e.rect,r=e.offsetParent,o=e.strategy,a="fixed"===o,i=is(r),l=!!n&&iy(n.floating);if(r===i||l&&a)return t;var s={scrollLeft:0,scrollTop:0},c=lj(1),u=lj(0),d=id(r);if((d||!d&&!a)&&(("body"!==ii(r)||im(i))&&(s=i_(r)),id(r))){var f=cV(r);c=cF(r),u.x=f.x+r.clientLeft,u.y=f.y+r.clientTop}var p=!i||d||a?lj(0):c$(i,s,!0);return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-s.scrollLeft*c.x+u.x+p.x,y:t.y*c.y-s.scrollTop*c.y+u.y+p.y}},getDocumentElement:is,getClippingRect:function(e){var n=e.element,t=e.boundary,r=e.rootBoundary,o=e.strategy,a=[].concat(c("clippingAncestors"===t?iy(n)?[]:function(e,n){var t=n.get(e);if(t)return t;for(var r=iO(e,[],!1).filter(function(e){return iu(e)&&"body"!==ii(e)}),o=null,a="fixed"===ij(e).position,i=a?iS(e):e;iu(i)&&!iE(i);){var l=ij(i),s=iw(i);s||"fixed"!==l.position||(o=null),(a?!s&&!o:!s&&"static"===l.position&&!!o&&cY.has(o.position)||im(i)&&!s&&function e(n,t){var r=iS(n);return!(r===t||!iu(r)||iE(r))&&("fixed"===ij(r).position||e(r,t))}(e,i))?r=r.filter(function(e){return e!==i}):o=l,i=iS(i)}return n.set(e,r),r}(n,this._c):[].concat(t)),[r]),i=a[0],l=a.reduce(function(e,t){var r=cK(n,t,o);return e.top=lC(r.top,e.top),e.right=lw(r.right,e.right),e.bottom=lw(r.bottom,e.bottom),e.left=lC(r.left,e.left),e},cK(n,i,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:cQ,getElementRects:cJ,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){var n=cZ(e),t=n.width,r=n.height;return{width:t,height:r}},getScale:cF,isElement:iu,isRTL:function(e){return"rtl"===ij(e).direction}};function c1(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function c2(e,n,t,r){void 0===r&&(r={});var o,i=r,l=i.ancestorScroll,s=void 0===l||l,u=i.ancestorResize,d=void 0===u||u,f=i.elementResize,p=void 0===f?"function"==typeof ResizeObserver:f,h=i.layoutShift,m=void 0===h?"function"==typeof IntersectionObserver:h,v=i.animationFrame,g=void 0!==v&&v,y=cU(e),b=s||d?[].concat(c(y?iO(y):[]),c(iO(n))):[];b.forEach(function(e){s&&e.addEventListener("scroll",t,{passive:!0}),d&&e.addEventListener("resize",t)});var A=y&&m?function(e,n){var t,r=null,o=is(e);function a(){var e;clearTimeout(t),null==(e=r)||e.disconnect(),r=null}return!function i(l,s){void 0===l&&(l=!1),void 0===s&&(s=1),a();var c=e.getBoundingClientRect(),u=c.left,d=c.top,f=c.width,p=c.height;if(l||n(),f&&p){var h=lE(d),m=lE(o.clientWidth-(u+f)),v=lE(o.clientHeight-(d+p)),g={rootMargin:-h+"px "+-m+"px "+-v+"px "+-lE(u)+"px",threshold:lC(0,lw(1,s))||1},y=!0;try{r=new IntersectionObserver(b,D(D({},g),{},{root:o.ownerDocument}))}catch(e){r=new IntersectionObserver(b,g)}r.observe(e)}function b(n){var r=n[0].intersectionRatio;if(r!==s){if(!y)return i();r?i(!1,r):t=setTimeout(function(){i(!1,1e-7)},1e3)}1!==r||c1(c,e.getBoundingClientRect())||i(),y=!1}}(!0),a}(y,t):null,x=-1,w=null;p&&(w=new ResizeObserver(function(e){var r=a(e,1),o=r[0];o&&o.target===y&&w&&(w.unobserve(n),cancelAnimationFrame(x),x=requestAnimationFrame(function(){var e;null==(e=w)||e.observe(n)})),t()}),y&&!g&&w.observe(y),w.observe(n));var C=g?cV(e):null;return g&&function n(){var r=cV(e);C&&!c1(C,r)&&t(),C=r,o=requestAnimationFrame(n)}(),t(),function(){var e;b.forEach(function(e){s&&e.removeEventListener("scroll",t),d&&e.removeEventListener("resize",t)}),null==A||A(),null==(e=w)||e.disconnect(),w=null,g&&cancelAnimationFrame(o)}}var c4="undefined"!=typeof document,c5=c4?ea.useLayoutEffect:function(){};function c3(e,n){var t,r,o;if(e===n)return!0;if(typeof e!=typeof n)return!1;if("function"==typeof e&&e.toString()===n.toString())return!0;if(e&&n&&"object"==typeof e){if(Array.isArray(e)){if((t=e.length)!==n.length)return!1;for(r=t;0!=r--;)if(!c3(e[r],n[r]))return!1;return!0}if((t=(o=Object.keys(e)).length)!==Object.keys(n).length)return!1;for(r=t;0!=r--;)if(!({}).hasOwnProperty.call(n,o[r]))return!1;for(r=t;0!=r--;){var a=o[r];if(("_owner"!==a||!e.$$typeof)&&!c3(e[a],n[a]))return!1}return!0}return e!=e&&n!=n}function c6(e){return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c9(e,n){var t=c6(e);return Math.round(n*t)/t}function c8(e){var n=ea.useRef(e);return c5(function(){n.current=e}),n}function c7(e,n,t){var r="inline-start"===e||"inline-end"===e;return({top:"top",right:r?t?"inline-start":"inline-end":"right",bottom:"bottom",left:r?t?"inline-end":"inline-start":"left"})[n]}function ue(e,n,t){var r=e.rects,o=e.placement;return{side:c7(n,lB(o),t),align:lP(o)||"center",anchor:{width:r.reference.width,height:r.reference.height},positioner:{width:r.floating.width,height:r.floating.height}}}function un(e){var n,t,r,u,d,f,p,h,m,v,g,y,C,k,E,j,_,S,O,B,P=e.anchor,I=e.positionMethod,z=void 0===I?"absolute":I,T=e.side,L=void 0===T?"bottom":T,N=e.sideOffset,R=void 0===N?0:N,M=e.align,Z=void 0===M?"center":M,U=e.alignOffset,F=void 0===U?0:U,H=e.collisionBoundary,q=e.collisionPadding,V=void 0===q?5:q,W=e.sticky,$=void 0!==W&&W,Y=e.arrowPadding,K=void 0===Y?5:Y,X=e.trackAnchor,G=void 0===X||X,Q=e.keepMounted,J=void 0!==Q&&Q,ee=e.floatingRootContext,en=e.mounted,et=e.collisionAvoidance,er=e.shiftCrossAxis,eo=void 0!==er&&er,ei=e.nodeId,el=e.adaptiveOrigin,es=et.side||"flip",ec=et.align||"flip",eu=et.fallbackAxisSide||"end",ed="function"==typeof P?P:void 0,ef=aG(ed),ep=ed?ef:P,eh=iP(P),em="rtl"===se(),ev={top:"top",right:"right",bottom:"bottom",left:"left","inline-end":em?"left":"right","inline-start":em?"right":"left"}[L],eg="center"===Z?ev:"".concat(ev,"-").concat(Z),ey={boundary:"clipping-ancestors"===H?"clippingAncestors":H,padding:V},eb=ea.useRef(null),eA=iP(R),ex=iP(F),ew="function"!=typeof R?R:0,eC=[(h=function(e){var n=ue(e,L,em),t="function"==typeof eA.current?eA.current(n):eA.current,r="function"==typeof ex.current?ex.current(n):ex.current;return{mainAxis:t,crossAxis:r,alignmentAxis:r}},m=[ew,"function"!=typeof F?F:0,em,L],D(D({},(void 0===(r=h)&&(r=0),{name:"offset",options:r,fn:function(e){return l(i.mark(function n(){var t,o,a,l,s,c,u;return i.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return a=e.x,l=e.y,s=e.placement,c=e.middlewareData,n.next=6,cR(e,r);case 6:return u=n.sent,n.abrupt("return",s===(null==(t=c.offset)?void 0:t.placement)&&null!=(o=c.arrow)&&o.alignmentOffset?{}:{x:a+u.x,y:l+u.y,data:D(D({},u),{},{placement:s})});case 8:case"end":return n.stop()}},n)}))()}})),{},{options:[h,m]}))],ek="none"===ec&&"shift"!==es,eE=!ek&&($||eo||"shift"===es),ej="none"===es?null:D(D({},{name:"flip",options:u=v=D(D({},ey),{},{mainAxis:!eo&&"flip"===es,crossAxis:"flip"===ec&&"alignment",fallbackAxisSideDirection:eu}),fn:function(e){return l(i.mark(function n(){var t,r,a,l,s,d,f,p,h,m,v,g,y,A,x,w,C,k,E,j,_,S,O,B,P,I,z,T,D,L,N,R,M,Z,U,F,H,q,V;return i.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(d=e.placement,f=e.middlewareData,p=e.rects,h=e.initialPlacement,m=e.platform,v=e.elements,A=void 0===(y=(g=lO(u,e)).mainAxis)||y,w=void 0===(x=g.crossAxis)||x,C=g.fallbackPlacements,E=void 0===(k=g.fallbackStrategy)?"bestFit":k,_=void 0===(j=g.fallbackAxisSideDirection)?"none":j,O=void 0===(S=g.flipAlignment)||S,B=o(g,b),!(null!=(t=f.arrow)&&t.alignmentOffset)){n.next=3;break}return n.abrupt("return",{});case 3:return P=lB(d),I=lD(h),z=lB(h)===h,n.next=8,null==m.isRTL?void 0:m.isRTL(v.floating);case 8:return T=n.sent,D=C||(z||!O?[lU(h)]:function(e){var n=lU(e);return[lL(e),n,lL(n)]}(h)),L="none"!==_,!C&&L&&D.push.apply(D,c(function(e,n,t,r){var o=lP(e),a=function(e,n,t){switch(e){case"top":case"bottom":if(t)return n?lR:lN;return n?lN:lR;case"left":case"right":return n?lM:lZ;default:return[]}}(lB(e),"start"===t,r);return o&&(a=a.map(function(e){return e+"-"+o}),n&&(a=a.concat(a.map(lL)))),a}(h,O,_,T))),N=[h].concat(c(D)),n.next=15,cz(e,B);case 15:if(R=n.sent,M=[],Z=(null==(r=f.flip)?void 0:r.overflows)||[],A&&M.push(R[P]),w&&(U=function(e,n,t){void 0===t&&(t=!1);var r=lP(e),o=lI(lD(e)),a=lz(o),i="x"===o?r===(t?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[a]>n.floating[a]&&(i=lU(i)),[i,lU(i)]}(d,p,T),M.push(R[U[0]],R[U[1]])),Z=[].concat(c(Z),[{placement:d,overflows:M}]),M.every(function(e){return e<=0})){n.next=34;break}if(!((H=N[F=((null==(a=f.flip)?void 0:a.index)||0)+1])&&("alignment"!==w||I===lD(H)||Z.every(function(e){return lD(e.placement)!==I||e.overflows[0]>0})))){n.next=23;break}return n.abrupt("return",{data:{index:F,overflows:Z},reset:{placement:H}});case 23:if(q=null==(l=Z.filter(function(e){return e.overflows[0]<=0}).sort(function(e,n){return e.overflows[1]-n.overflows[1]})[0])?void 0:l.placement){n.next=32;break}n.t0=E,n.next="bestFit"===n.t0?28:"initialPlacement"===n.t0?31:32;break;case 28:return(V=null==(s=Z.filter(function(e){if(L){var n=lD(e.placement);return n===I||"y"===n}return!0}).map(function(e){return[e.placement,e.overflows.filter(function(e){return e>0}).reduce(function(e,n){return e+n},0)]}).sort(function(e,n){return e[1]-n[1]})[0])?void 0:s[0])&&(q=V),n.abrupt("break",32);case 31:q=h;case 32:if(d===q){n.next=34;break}return n.abrupt("return",{reset:{placement:q}});case 34:return n.abrupt("return",{});case 35:case"end":return n.stop()}},n)}))()}}),{},{options:[v,g]}),e_=ek?null:(y=function(e){var n,t,r,o=sn(e.elements.floating).documentElement;return D(D({},ey),{},{rootBoundary:eo?{x:0,y:0,width:o.clientWidth,height:o.clientHeight}:void 0,mainAxis:"none"!==ec,crossAxis:eE,limiter:$||eo?void 0:D(D({},{options:n=t=function(){if(!eb.current)return{};var e=eb.current.getBoundingClientRect(),n=e.height;return{offset:n/2+("number"==typeof V?V:0)}},fn:function(e){var t=e.x,r=e.y,o=e.placement,a=e.rects,i=e.middlewareData,l=lO(n,e),c=l.offset,u=void 0===c?0:c,d=l.mainAxis,f=void 0===d||d,p=l.crossAxis,h=void 0===p||p,m={x:t,y:r},v=lD(o),g=lI(v),y=m[g],b=m[v],A=lO(u,e),x="number"==typeof A?{mainAxis:A,crossAxis:0}:D({mainAxis:0,crossAxis:0},A);if(f){var w="y"===g?"height":"width",C=a.reference[g]-a.floating[w]+x.mainAxis,k=a.reference[g]+a.reference[w]-x.mainAxis;yk&&(y=k)}if(h){var E,j,_="y"===g?"width":"height",S=cN.has(lB(o)),O=a.reference[v]-a.floating[_]+(S&&(null==(E=i.offset)?void 0:E[v])||0)+(S?0:x.crossAxis),B=a.reference[v]+a.reference[_]+(S?0:(null==(j=i.offset)?void 0:j[v])||0)-(S?x.crossAxis:0);bB&&(b=B)}return s(s({},g,y),v,b)}}),{},{options:[t,r]})})},C=[ey,$,eo,V,ec],D(D({},(void 0===(d=y)&&(d={}),{name:"shift",options:d,fn:function(e){return l(i.mark(function n(){var t,r,a,l,c,u,f,p,h,m,v,g,y,b,x,w,C,k,E,j,_,S,O,B,P,I;return i.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.x,r=e.y,a=e.placement,u=void 0===(c=(l=lO(d,e)).mainAxis)||c,p=void 0!==(f=l.crossAxis)&&f,m=void 0===(h=l.limiter)?{fn:function(e){var n=e.x,t=e.y;return{x:n,y:t}}}:h,v=o(l,A),g={x:t,y:r},n.next=14,cz(e,v);case 14:return y=n.sent,b=lD(lB(a)),w=g[x=lI(b)],C=g[b],u&&(k="y"===x?"top":"left",E="y"===x?"bottom":"right",j=w+y[k],_=w-y[E],w=lC(j,lw(w,_))),p&&(S="y"===b?"top":"left",O="y"===b?"bottom":"right",B=C+y[S],P=C-y[O],C=lC(B,lw(C,P))),I=m.fn(D(D({},e),{},s(s({},x,w),b,C))),n.abrupt("return",D(D({},I),{},{data:{x:I.x-t,y:I.y-r,enabled:s(s({},x,u),b,p)}}));case 23:case"end":return n.stop()}},n)}))()}})),{},{options:[y,C]}));"shift"===es||"shift"===ec||"center"===Z?eC.push(e_,ej):eC.push(ej,e_),eC.push(D(D({},{name:"size",options:f=k=D(D({},ey),{},{apply:function(e){var n=e.elements.floating,t=e.rects.reference,r=e.availableWidth,o=e.availableHeight;Object.entries({"--available-width":"".concat(r,"px"),"--available-height":"".concat(o,"px"),"--anchor-width":"".concat(t.width,"px"),"--anchor-height":"".concat(t.height,"px")}).forEach(function(e){var t=a(e,2),r=t[0],o=t[1];n.style.setProperty(r,o)})}}),fn:function(e){return l(i.mark(function n(){var t,r,a,l,s,c,u,d,p,h,m,v,g,y,b,A,w,C,k,E,j,_,S,O,B,P,I,z,T,L,N;return i.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=e.placement,c=e.rects,u=e.platform,d=e.elements,m=void 0===(h=(p=lO(f,e)).apply)?function(){}:h,v=o(p,x),n.next=10,cz(e,v);case 10:if(g=n.sent,y=lB(s),b=lP(s),A="y"===lD(s),C=(w=c.floating).width,k=w.height,"top"!==y&&"bottom"!==y){n.next=36;break}return a=y,n.t0=b,n.next=22,null==u.isRTL?void 0:u.isRTL(d.floating);case 22:if(!n.sent){n.next=26;break}n.t1="start",n.next=27;break;case 26:n.t1="end";case 27:if(n.t2=n.t1,n.t0!==n.t2){n.next=32;break}n.t3="left",n.next=33;break;case 32:n.t3="right";case 33:l=n.t3,n.next=37;break;case 36:l=y,a="end"===b?"top":"bottom";case 37:return E=k-g.top-g.bottom,j=C-g.left-g.right,_=lw(k-g[a],E),S=lw(C-g[l],j),O=!e.middlewareData.shift,B=_,P=S,null!=(t=e.middlewareData.shift)&&t.enabled.x&&(P=j),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(B=E),O&&!b&&(I=lC(g.left,0),z=lC(g.right,0),T=lC(g.top,0),L=lC(g.bottom,0),A?P=C-2*(0!==I||0!==z?I+z:lC(g.left,g.right)):B=k-2*(0!==T||0!==L?T+L:lC(g.top,g.bottom))),n.next=41,m(D(D({},e),{},{availableWidth:P,availableHeight:B}));case 41:return n.next=43,u.getDimensions(d.floating);case 43:return N=n.sent,n.abrupt("return",C!==N.width||k!==N.height?{reset:{rects:!0}}:{});case 45:case"end":return n.stop()}},n)}))()}}),{},{options:[k,E]}),(j=function(){return{element:eb.current||document.createElement("div"),padding:K,offsetParent:"floating"}},_=[K],D(D({},{name:"arrow",options:S=j,fn:function(e){return l(i.mark(function n(){var t,r,o,a,l,c,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j,_,O,B,P,I,z,T,L,N,R,M;return i.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.x,a=e.y,l=e.placement,c=e.rects,u=e.platform,d=e.elements,f=e.middlewareData,h=(p=lO(S,e)||{}).element,v=void 0===(m=p.padding)?0:m,y=void 0===(g=p.offsetParent)?"real":g,null!=h){n.next=3;break}return n.abrupt("return",{});case 3:return b=lF(v),A={x:o,y:a},x=lI(lD(l)),w=lz(x),n.next=9,u.getDimensions(h);case 9:if(C=n.sent,E=(k="y"===x)?"clientHeight":"clientWidth",j=c.reference[w]+c.reference[x]-A[x]-c.floating[w],_=A[x]-c.reference[x],"real"!==y){n.next=20;break}return n.next=17,null==(t=u.getOffsetParent)?void 0:t.call(u,h);case 17:n.t0=n.sent,n.next=21;break;case 20:n.t0=d.floating;case 21:if(O=n.t0,n.t1=B=d.floating[E]||c.floating[w],!n.t1){n.next=28;break}return n.next=27,null==(r=u.isElement)?void 0:r.call(u,O);case 27:n.t1=n.sent;case 28:if(n.t2=n.t1,n.t2){n.next=31;break}B=d.floating[E]||c.floating[w];case 31:return P=B/2-C[w]/2-1,I=Math.min(b[k?"top":"left"],P),z=Math.min(b[k?"bottom":"right"],P),T=B-C[w]-z,L=B/2-C[w]/2+(j/2-_/2),N=lC(I,lw(L,T)),M=(R=!f.arrow&&null!=lP(l)&&L!==N&&c.reference[w]/2-(L("function"==typeof R?R(ue(e,L,em)):R),x={top:"".concat(v,"px calc(100% + ").concat(R,"px)"),bottom:"".concat(v,"px ").concat(-R,"px"),left:"calc(100% + ".concat(R,"px) ").concat(g,"px"),right:"".concat(-R,"px ").concat(g,"px")}[c],w="".concat(v,"px ").concat(l.reference.y+b-s,"px");return o.floating.style.setProperty("--transform-origin",eE&&"y"===u&&A?w:x),{}}},el);var eS=ee;!en&&ee&&(eS=D(D({},ee),{},{elements:{reference:null,floating:null,domReference:null}}));var eO=ea.useMemo(function(){return{elementResize:G&&"undefined"!=typeof ResizeObserver,layoutShift:G&&"undefined"!=typeof IntersectionObserver}},[G]),eB=function(){var e,n,t,r,o,i,l,s,c,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j,_,S,O,B,P,I,z,T,L,N,R,M,Z,U,F,H,q,V,W,$=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Y=$.nodeId,K=io(D(D({},$),{},{elements:D({reference:null,floating:null},$.elements)})),X=$.rootContext||K,G=X.elements,Q=ea.useState(null),J=a(Q,2),ee=J[0],en=J[1],et=ea.useState(null),er=a(et,2),eo=er[0],ei=er[1],el=(null==G?void 0:G.domReference)||ee,es=ea.useRef(null),ec=ie();a6(function(){el&&(es.current=el)},[el]);var eu=(void 0===(e=D(D({},$),{},{elements:D(D({},G),eo&&{reference:eo})}))&&(e={}),r=void 0===(t=(n=e).placement)?"bottom":t,i=void 0===(o=n.strategy)?"absolute":o,s=void 0===(l=n.middleware)?[]:l,c=n.platform,f=(d=void 0===(u=n.elements)?{}:u).reference,p=d.floating,m=void 0===(h=n.transform)||h,v=n.whileElementsMounted,g=n.open,b=(y=a(ea.useState({x:0,y:0,strategy:i,placement:r,middlewareData:{},isPositioned:!1}),2))[0],A=y[1],w=(x=a(ea.useState(s),2))[0],C=x[1],c3(w,s)||C(s),E=(k=a(ea.useState(null),2))[0],j=k[1],S=(_=a(ea.useState(null),2))[0],O=_[1],B=ea.useCallback(function(e){e!==T.current&&(T.current=e,j(e))},[]),P=ea.useCallback(function(e){e!==L.current&&(L.current=e,O(e))},[]),I=f||E,z=p||S,T=ea.useRef(null),L=ea.useRef(null),N=ea.useRef(b),R=null!=v,M=c8(v),Z=c8(c),U=c8(g),F=ea.useCallback(function(){if(T.current&&L.current){var e,n,t,o,a,l,s={placement:r,strategy:i,middleware:w};Z.current&&(s.platform=Z.current),(e=T.current,n=L.current,t=s,o=new Map,a=D({platform:c0},t),l=D(D({},a.platform),{},{_c:o}),cI(e,n,D(D({},a),{},{platform:l}))).then(function(e){var n=D(D({},e),{},{isPositioned:!1!==U.current});H.current&&!c3(N.current,n)&&(N.current=n,eG.flushSync(function(){A(n)}))})}},[w,r,i,Z,U]),c5(function(){!1===g&&N.current.isPositioned&&(N.current.isPositioned=!1,A(function(e){return D(D({},e),{},{isPositioned:!1})}))},[g]),H=ea.useRef(!1),c5(function(){return H.current=!0,function(){H.current=!1}},[]),c5(function(){if(I&&(T.current=I),z&&(L.current=z),I&&z){if(M.current)return M.current(I,z,F);F()}},[I,z,F,M,R]),q=ea.useMemo(function(){return{reference:T,floating:L,setReference:B,setFloating:P}},[B,P]),V=ea.useMemo(function(){return{reference:I,floating:z}},[I,z]),W=ea.useMemo(function(){var e={position:i,left:0,top:0};if(!V.floating)return e;var n=c9(V.floating,b.x),t=c9(V.floating,b.y);return m?D(D({},e),{},{transform:"translate("+n+"px, "+t+"px)"},c6(V.floating)>=1.5&&{willChange:"transform"}):{position:i,left:n,top:t}},[i,m,V.floating,b.x,b.y]),ea.useMemo(function(){return D(D({},b),{},{update:F,refs:q,elements:V,floatingStyles:W})},[b,F,q,V,W])),ed=ea.useCallback(function(e){var n=iu(e)?{getBoundingClientRect:function(){return e.getBoundingClientRect()},getClientRects:function(){return e.getClientRects()},contextElement:e}:e;ei(n),eu.refs.setReference(n)},[eu.refs]),ef=ea.useCallback(function(e){(iu(e)||null===e)&&(es.current=e,en(e)),(iu(eu.refs.reference.current)||null===eu.refs.reference.current||null!==e&&!iu(e))&&eu.refs.setReference(e)},[eu.refs]),ep=ea.useMemo(function(){return D(D({},eu.refs),{},{setReference:ef,setPositionReference:ed,domReference:es})},[eu.refs,ef,ed]),eh=ea.useMemo(function(){return D(D({},eu.elements),{},{domReference:el})},[eu.elements,el]),em=ea.useMemo(function(){return D(D(D({},eu),X),{},{refs:ep,elements:eh,nodeId:Y})},[eu,ep,eh,Y,X]);return a6(function(){X.dataRef.current.floatingContext=em;var e=null==ec?void 0:ec.nodesRef.current.find(function(e){return e.id===Y});e&&(e.context=em)}),ea.useMemo(function(){return D(D({},eu),{},{context:em,refs:ep,elements:eh})},[eu,ep,eh,em])}({rootContext:eS,placement:eg,middleware:eC,strategy:z,whileElementsMounted:J?void 0:function(){for(var e=arguments.length,n=Array(e),t=0;t is missing.");return e}(),Q=(t=a5(),r=ie(),a=a7(),a6(function(){if(t){var e={id:t,parentId:a};return null!=r&&r.addNode(e),function(){null==r||r.removeNode(e)}}},[r,t,a]),t),J=a7(),ee=su(!0),en=f,et=A,eo=w,ei=y;"context-menu"===Y.type&&(en=null!=(i=null==(l=Y.context)?void 0:l.anchor)?i:f,ei=null!=(s=e.align)?s:"start",eo=null!=(c=e.alignOffset)?c:2,et=null!=(u=e.sideOffset)?u:-5);var el=g,es=ei;"menu"===Y.type?(el=null!=el?el:"inline-end",es=null!=es?es:"start"):"menubar"===Y.type&&(el=null!=el?el:"bottom",es=null!=es?es:"start");var ec="context-menu"===Y.type,eu=un({anchor:en,floatingRootContext:U,positionMethod:ee?"fixed":h,mounted:V,side:el,sideOffset:et,align:es,alignOffset:eo,arrowPadding:ec?0:O,collisionBoundary:E,collisionPadding:_,sticky:P,nodeId:Q,keepMounted:G,trackAnchor:z,collisionAvoidance:L,shiftCrossAxis:ec}),ed=ie(),ef=ed.events,ep=ea.useMemo(function(){var e={};return M||(e.pointerEvents="none"),{role:"presentation",hidden:!V,style:D(D({},eu.positionerStyles),e)}},[M,V,eu.positionerStyles]);ea.useEffect(function(){function e(e){e.open?(e.parentNodeId===Q&&K(!1),e.nodeId!==Q&&e.parentNodeId===J&&Z(!1,void 0,"sibling-open")):e.parentNodeId===Q&&K(!0)}return ef.on("openchange",e),function(){ef.off("openchange",e)}},[ef,Q,J,Z,K]),ea.useEffect(function(){ef.emit("openchange",{open:M,nodeId:Q,parentNodeId:J})},[ef,M,Q,J]);var eh=ea.useMemo(function(){return{open:M,side:eu.side,align:eu.align,anchorHidden:eu.anchorHidden,nested:"menu"===Y.type}},[M,eu.side,eu.align,eu.anchorHidden,Y.type]),em=ea.useMemo(function(){return{side:eu.side,align:eu.align,arrowRef:eu.arrowRef,arrowUncentered:eu.arrowUncentered,arrowStyles:eu.arrowStyles,floatingContext:eu.context}},[eu.side,eu.align,eu.arrowRef,eu.arrowUncentered,eu.arrowStyles,eu.context]),ev=sU("div",e,{state:eh,customStyleHookMapping:sM,ref:[n,F],props:D(D({},ep),N)}),eg=V&&"menu"!==Y.type&&("menubar"!==Y.type&&W&&"trigger-hover"!==$||"menubar"===Y.type&&Y.context.modal),ey=null;return"menubar"===Y.type?ey=Y.context.contentElement:void 0===Y.type&&(ey=X),(0,er.jsxs)(cB.Provider,{value:em,children:[eg&&(0,er.jsx)(ul,{ref:"context-menu"===Y.type||"nested-context-menu"===Y.type?Y.context.internalBackdropRef:null,inert:(d=!M,sZ>=19?d:d?"true":void 0),cutout:ey}),(0,er.jsx)(it,{id:Q,children:(0,er.jsx)(ur,{elementsRef:H,labelsRef:q,children:ev})})]})}),uc={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function uu(e){return"inert"===e?uc.inert:"aria-hidden"===e?uc["aria-hidden"]:uc.none}var ud=new WeakSet,uf={},up=0,uh=function(e){return e&&(e.host||uh(e.parentNode))},um=[];function uv(){um=um.filter(function(e){return e.isConnected})}function ug(){return uv(),um[um.length-1]}function uy(e,n){if(n.current.includes("floating")||null!=(t=e.getAttribute("role"))&&t.includes("dialog")){var t,r=cv(),o=ch(e,r).filter(function(e){var n=e.getAttribute("data-tabindex")||"";return cm(e,r)||e.hasAttribute("data-tabindex")&&!n.startsWith("-")}),a=e.getAttribute("tabindex");n.current.includes("floating")||0===o.length?"0"!==a&&e.setAttribute("tabindex","0"):("-1"!==a||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}}function ub(e){var n=e.context,t=e.children,r=e.disabled,o=void 0!==r&&r,a=e.order,i=void 0===a?["content"]:a,l=e.initialFocus,s=void 0===l?0:l,u=e.returnFocus,d=void 0===u||u,f=e.restoreFocus,p=void 0!==f&&f,h=e.modal,m=void 0===h||h,v=e.closeOnFocusOut,g=void 0===v||v,y=e.getInsideElements,b=void 0===y?function(){return[]}:y,A=n.open,x=n.onOpenChange,w=n.events,C=n.dataRef,k=n.elements,E=k.domReference,j=k.floating,_=aG(function(){var e;return null==(e=C.current.floatingContext)?void 0:e.nodeId}),S=aG(b),O="number"==typeof s&&s<0,B=i6(E)&&O,P=iP(i),I=iP(s),z=iP(d),T=ie(),D=ck(),L=ea.useRef(null),N=ea.useRef(null),R=ea.useRef(!1),M=ea.useRef(!1),Z=ea.useRef(-1),U=aY(),F=null!=D,H=i9(j),q=aG(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:H;return e?cp(e,cv()):[]}),V=aG(function(e){var n=q(e);return P.current.map(function(){return n}).filter(Boolean).flat()});ea.useEffect(function(){if(!o&&m){var e=i5(H);return e.addEventListener("keydown",n),function(){e.removeEventListener("keydown",n)}}function n(e){"Tab"===e.key&&i1(H,i0(i5(H)))&&0===q().length&&!B&&iH(e)}},[o,E,H,m,P,B,q,V]),ea.useEffect(function(){if(!o&&j)return j.addEventListener("focusin",e),function(){j.removeEventListener("focusin",e)};function e(e){var n=i2(e),t=q().indexOf(n);-1!==t&&(Z.current=t)}},[o,j,q]),ea.useEffect(function(){if(!o&&g){var e=!!(!T&&D);if(j&&id(E))return E.addEventListener("focusout",t),E.addEventListener("pointerdown",n),j.addEventListener("focusout",t),e&&j.addEventListener("focusout",r,!0),function(){E.removeEventListener("focusout",t),E.removeEventListener("pointerdown",n),j.removeEventListener("focusout",t),e&&j.removeEventListener("focusout",r,!0)}}function n(){M.current=!0}function t(e){var n=e.relatedTarget,t=e.currentTarget,r=i2(e);queueMicrotask(function(){var o=_(),a=!(i1(E,n)||i1(j,n)||i1(n,j)||i1(null==D?void 0:D.portalNode,n)||null!=n&&n.hasAttribute(i8("focus-guard"))||T&&(lr(T.nodesRef.current,o).find(function(e){var t,r;return i1(null==(t=e.context)?void 0:t.elements.floating,n)||i1(null==(r=e.context)?void 0:r.elements.domReference,n)})||lo(T.nodesRef.current,o).find(function(e){var t,r,o;return[null==(t=e.context)?void 0:t.elements.floating,i9(null==(r=e.context)?void 0:r.elements.floating)].includes(n)||(null==(o=e.context)?void 0:o.elements.domReference)===n})));if(t===E&&H&&uy(H,P),p&&t!==E&&!(null!=r&&r.isConnected)&&i0(i5(H))===i5(H).body){id(H)&&H.focus();var i=Z.current,l=q(),s=l[i]||l[l.length-1]||H;id(s)&&s.focus()}if(C.current.insideReactTree){C.current.insideReactTree=!1;return}if(M.current){M.current=!1;return}(B||!m)&&n&&a&&n!==ug()&&(R.current=!0,x(!1,e,"focus-out"))})}function r(){C.current.insideReactTree=!0,U.start(0,function(){C.current.insideReactTree=!1})}},[o,E,j,H,m,T,D,x,g,p,q,B,_,P,C,U]);var W=ea.useRef(null),$=ea.useRef(null),Y=sC(W,null==D?void 0:D.beforeInsideRef),K=sC($,null==D?void 0:D.afterInsideRef);ea.useEffect(function(){if(!o&&j){var e,n,t=Array.from((null==D||null==(e=D.portalNode)?void 0:e.querySelectorAll("[".concat(i8("portal"),"]")))||[]),r=T?lo(T.nodesRef.current,_()):[],a=function(e){var n,t,r,o,a,i,l,s,c,u,d,f=arguments.length>1&&void 0!==arguments[1]&&arguments[1],p=arguments.length>2&&void 0!==arguments[2]&&arguments[2],h=i5(e[0]).body;return n=e.concat(Array.from(h.querySelectorAll("[aria-live]"))),t=h,r=f,a="data-base-ui-inert",i=p?"inert":r?"aria-hidden":null,o=t,l=n.map(function(e){if(o.contains(e))return e;var n=uh(e);return o.contains(n)?n:null}).filter(function(e){return null!=e}),s=new Set,c=new Set(l),u=[],uf[a]||(uf[a]=new WeakMap),d=uf[a],l.forEach(function e(n){!(!n||s.has(n))&&(s.add(n),n.parentNode&&e(n.parentNode))}),function e(n){!n||c.has(n)||[].forEach.call(n.children,function(n){if("script"!==ii(n))if(s.has(n))e(n);else{var t=i?n.getAttribute(i):null,r=null!==t&&"false"!==t,o=uu(i),l=(o.get(n)||0)+1,c=(d.get(n)||0)+1;o.set(n,l),d.set(n,c),u.push(n),1===l&&r&&ud.add(n),1===c&&n.setAttribute(a,""),!r&&i&&n.setAttribute(i,"inert"===i?"":"true")}})}(t),s.clear(),up+=1,function(){u.forEach(function(e){var n=uu(i),t=(n.get(e)||0)-1,r=(d.get(e)||0)-1;n.set(e,t),d.set(e,r),t||(!ud.has(e)&&i&&e.removeAttribute(i),ud.delete(e)),r||e.removeAttribute(a)}),(up-=1)||(uc.inert=new WeakMap,uc["aria-hidden"]=new WeakMap,uc.none=new WeakMap,ud=new WeakSet,uf={})}}([j,null==(n=r.find(function(e){var n;return i6((null==(n=e.context)?void 0:n.elements.domReference)||null)}))||null==(n=n.context)?void 0:n.elements.domReference].concat(t,c(S()),[L.current,N.current,W.current,$.current,null==D?void 0:D.beforeOutsideRef.current,null==D?void 0:D.afterOutsideRef.current,B?E:null]).filter(function(e){return null!=e}),m||B);return function(){a()}}},[o,E,j,m,P,D,B,T,_,S]),a6(function(){if(!o&&id(H)){var e=i0(i5(H));queueMicrotask(function(){var n=V(H),t=I.current,r=("number"==typeof t?n[t]:t.current)||H,o=i1(H,e);O||o||!A||lG(r,{preventScroll:r===H})})}},[o,A,H,O,V,I]),a6(function(){if(!o&&H){var e,n=i5(H);e=i0(n),uv(),e&&"body"!==ii(e)&&(um.push(e),um.length>20&&(um=um.slice(-20))),w.on("openchange",r);var t=n.createElement("span");return t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true"),Object.assign(t.style,sG),F&&E&&E.insertAdjacentElement("afterend",t),function(){w.off("openchange",r);var e=i0(n),o=i1(j,e)||T&&lr(T.nodesRef.current,_(),!1).some(function(n){var t;return i1(null==(t=n.context)?void 0:t.elements.floating,e)}),a=function(){if("boolean"==typeof z.current){var e=E||ug();return e&&e.isConnected?e:t}return z.current.current||t}();queueMicrotask(function(){var r,i,l=(r=a,i=cv(),cm(r,i)?r:cp(r,i)[0]||r);z.current&&!R.current&&id(l)&&(l===e||e===n.body||o)&&l.focus({preventScroll:!0}),t.remove()})}}function r(e){var n=e.reason,t=e.event,r=e.nested;if(["hover","safe-polygon"].includes(n)&&"mouseleave"===t.type&&(R.current=!0),"outside-press"===n)if(r)R.current=!1;else if(iq(t)||iV(t))R.current=!1;else{var o=!1;document.createElement("div").focus({get preventScroll(){return o=!0,!1}}),o?R.current=!1:R.current=!0}}},[o,j,H,z,C,w,T,F,E,_]),ea.useEffect(function(){queueMicrotask(function(){R.current=!1})},[o]),ea.useEffect(function(){if(!o&&A){var e=i5(H);return e.addEventListener("pointerdown",n,!0),function(){e.removeEventListener("pointerdown",n,!0)}}function n(e){var n=i2(e);(null==n?void 0:n.closest("[data-base-ui-click-trigger]"))&&(M.current=!0)}},[o,A,H]),a6(function(){if(!o&&D)return D.setFocusManagerState({modal:m,closeOnFocusOut:g,open:A,onOpenChange:x,domReference:E}),function(){D.setFocusManagerState(null)}},[o,D,m,A,x,g,E]),a6(function(){if(!o&&H)return uy(H,P),function(){queueMicrotask(uv)}},[o,H,P]);var X=!o&&(!m||!B)&&(F||m);return(0,er.jsxs)(ea.Fragment,{children:[X&&(0,er.jsx)(sQ,{"data-type":"inside",ref:Y,onFocus:function(e){var n;if(m){var t=V();lG(t[t.length-1])}else if(null!=D&&D.preserveTabOrder&&D.portalNode)if(R.current=!1,cA(e,D.portalNode)){var r=cy(E);null==r||r.focus()}else null==(n=D.beforeOutsideRef.current)||n.focus()}}),t,X&&(0,er.jsx)(sQ,{"data-type":"inside",ref:K,onFocus:function(e){var n;if(m)lG(V()[0]);else if(null!=D&&D.preserveTabOrder&&D.portalNode)if(g&&(R.current=!0),cA(e,D.portalNode)){var t=cb(E);null==t||t.focus()}else null==(n=D.afterOutsideRef.current)||n.focus()}})]})}var uA=D(D({},sM),sO),ux=ea.forwardRef(function(e,n){var t=e.render,r=e.className,a=e.finalFocus,i=o(e,E),l=l3(),s=l.open,c=l.setOpen,u=l.popupRef,d=l.transitionStatus,f=l.popupProps,p=l.mounted,h=l.instantType,m=l.onOpenChangeComplete,v=l.parent,g=l.lastOpenChangeReason,y=l.rootId,b=function(){var e=ea.useContext(cB);if(void 0===e)throw Error("Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within .");return e}(),A=b.side,x=b.align,w=b.floatingContext;l8({open:s,ref:u,onComplete:function(){s&&(null==m||m(!0))}});var C=ie(),k=C.events;ea.useEffect(function(){function e(e){c(!1,e.domEvent,e.reason)}return k.on("close",e),function(){k.off("close",e)}},[k,c]);var j=sU("div",e,{state:ea.useMemo(function(){return{transitionStatus:d,side:A,align:x,open:s,nested:"menu"===v.type,instant:h}},[d,A,x,s,v.type,h]),ref:[n,u],customStyleHookMapping:uA,props:[f,"starting"===d?lf:lp,i,{"data-rootownerid":y}]}),_=void 0===v.type||"context-menu"===v.type;return"menubar"===v.type&&"outside-press"!==g&&(_=!0),(0,er.jsx)(ub,{context:w,modal:!1,disabled:!p,returnFocus:a||_,initialFocus:"menu"===v.type?-1:0,restoreFocus:!0,children:j})}),uw=ea.createContext(void 0),uC=ea.forwardRef(function(e,n){var t=e.render,r=e.className,i=o(e,j),l=ea.useState(void 0),s=a(l,2),c=s[0],u=s[1],d=ea.useMemo(function(){return{setLabelId:u}},[u]),f=sU("div",e,{ref:n,props:D({role:"group","aria-labelledby":c},i)});return(0,er.jsx)(uw.Provider,{value:d,children:f})});function uk(e){return a5(e,"base-ui")}var uE=ea.forwardRef(function(e,n){var t=e.className,r=e.render,a=e.id,i=o(e,_),l=uk(a),s=function(){var e=ea.useContext(uw);if(void 0===e)throw Error("Base UI: MenuGroupRootContext is missing. Menu group parts must be used within .");return e}(),c=s.setLabelId;return a6(function(){return c(l),function(){c(void 0)}},[c,l]),sU("div",e,{ref:n,props:D({id:l,role:"presentation"},i)})}),uj={type:"regular-item"},u_=ea.memo(ea.forwardRef(function(e,n){var t,r,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,A=e.className,x=e.closeOnClick,w=void 0===x||x,C=e.disabled,k=void 0!==C&&C,E=e.highlighted,j=e.id,_=e.menuEvents,O=e.itemProps,B=e.render,P=e.allowMouseUpTriggerRef,I=e.typingRef,z=e.nativeButton,T=o(e,S),D=(r=(t={closeOnClick:w,disabled:k,highlighted:E,id:j,menuEvents:_,allowMouseUpTriggerRef:P,typingRef:I,nativeButton:z,itemMetadata:uj}).closeOnClick,i=void 0!==(a=t.disabled)&&a,l=t.highlighted,s=t.id,c=t.menuEvents,u=t.allowMouseUpTriggerRef,d=t.typingRef,f=t.nativeButton,p=t.itemMetadata,h=ea.useRef(null),v=(m=sV({disabled:i,focusableWhenDisabled:!0,native:f})).getButtonProps,g=m.buttonRef,y=ea.useCallback(function(e){return sh({id:s,role:"menuitem",tabIndex:l?0:-1,onMouseEnter:function(){"submenu-trigger"===p.type&&p.setActive()},onKeyUp:function(e){" "===e.key&&d.current&&e.preventBaseUIHandler()},onClick:function(e){r&&c.emit("close",{domEvent:e,reason:"item-press"})},onMouseUp:function(){h.current&&u.current&&"regular-item"===p.type&&h.current.click()}},e,v)},[s,l,v,d,r,c,u,p]),b=sC(h,g),ea.useMemo(function(){return{getItemProps:y,itemRef:b}},[y,b])),L=D.getItemProps,N=D.itemRef;return sU("div",e,{state:ea.useMemo(function(){return{disabled:k,highlighted:E}},[k,E]),ref:[N,n],props:[O,T,L]})})),uS=ea.forwardRef(function(e,n){var t=e.id,r=e.label,a=e.nativeButton,i=void 0!==a&&a,l=o(e,O),s=ea.useRef(null),c=sY({label:r}),u=sC(n,c.ref,s),d=l3(),f=d.itemProps,p=d.activeIndex,h=d.allowMouseUpTriggerRef,m=d.typingRef,v=uk(t),g=c.index===p,y=ie(),b=y.events;return(0,er.jsx)(u_,D(D({},l),{},{id:v,ref:u,highlighted:g,menuEvents:b,itemProps:f,allowMouseUpTriggerRef:h,typingRef:m,nativeButton:i}))}),uO="__next_builtin__";function uB(e){return e.replace(new RegExp("^".concat(uO)),"").replace(new RegExp("".concat("@boundary","$")),"")}var uP="boundary:";function uI(e){return e.startsWith(uP)}function uz(e){return e.replace(uP,"")}function uT(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t.");return e}var uY=ea.forwardRef(function(e,n){var t=e.className,r=e.render,a=o(e,B),i=u$(),l=i.open,s=i.setTriggerElement,c=i.triggerProps;return sU("button",e,{state:ea.useMemo(function(){return{open:l}},[l]),ref:[n,s],props:[c,a],customStyleHookMapping:sN})}),uK=ea.createContext(void 0);function uX(){var e=ea.useContext(uK);if(void 0===e)throw Error("Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within .");return e}var uG=ea.forwardRef(function(e,n){var t=e.className,r=e.render,a=o(e,P),i=uX(),l=i.open,s=i.arrowRef,c=i.side,u=i.align,d=i.arrowUncentered,f=i.arrowStyles;return sU("div",e,{state:ea.useMemo(function(){return{open:l,side:c,align:u,uncentered:d}},[l,c,u,d]),ref:[n,s],props:[{style:f,"aria-hidden":!0},a],customStyleHookMapping:sM})}),uQ=D(D({},sM),sO),uJ=ea.forwardRef(function(e,n){var t=e.className,r=e.render,a=o(e,I),i=u$(),l=i.open,s=i.instantType,c=i.transitionStatus,u=i.popupProps,d=i.popupRef,f=i.onOpenChangeComplete,p=uX(),h=p.side,m=p.align;return l8({open:l,ref:d,onComplete:function(){l&&(null==f||f(!0))}}),sU("div",e,{state:ea.useMemo(function(){return{open:l,side:h,align:m,instant:s,transitionStatus:c}},[l,h,m,s,c]),ref:[n,d],props:[u,"starting"===c?lf:lp,a],customStyleHookMapping:uQ})}),u0=ea.createContext(void 0),u1=ea.forwardRef(function(e,n){var t=e.render,r=e.className,a=e.anchor,i=e.positionMethod,l=void 0===i?"absolute":i,s=e.side,c=void 0===s?"top":s,u=e.align,d=void 0===u?"center":u,f=e.sideOffset,p=void 0===f?0:f,h=e.alignOffset,m=void 0===h?0:h,v=e.collisionBoundary,g=void 0===v?"clipping-ancestors":v,y=e.collisionPadding,b=void 0===y?5:y,A=e.arrowPadding,x=void 0===A?5:A,w=e.sticky,C=void 0!==w&&w,k=e.trackAnchor,E=void 0===k||k,j=e.collisionAvoidance,_=void 0===j?lv:j,S=o(e,z),O=u$(),B=O.open,P=O.setPositionerElement,I=O.mounted,T=O.floatingRootContext,L=O.trackCursorAxis,N=O.hoverable,R=un({anchor:a,positionMethod:l,floatingRootContext:T,mounted:I,side:c,sideOffset:p,align:d,alignOffset:m,collisionBoundary:g,collisionPadding:b,sticky:C,arrowPadding:x,trackAnchor:E,keepMounted:function(){var e=ea.useContext(u0);if(void 0===e)throw Error("Base UI: is missing.");return e}(),collisionAvoidance:_}),M=ea.useMemo(function(){var e={};return B&&"both"!==L&&N||(e.pointerEvents="none"),{role:"presentation",hidden:!I,style:D(D({},R.positionerStyles),e)}},[B,L,N,I,R.positionerStyles]),Z=ea.useMemo(function(){return D({props:M},R)},[M,R]),U=ea.useMemo(function(){return{open:B,side:Z.side,align:Z.align,anchorHidden:Z.anchorHidden}},[B,Z.side,Z.align,Z.anchorHidden]),F=ea.useMemo(function(){return D(D({},U),{},{arrowRef:Z.arrowRef,arrowStyles:Z.arrowStyles,arrowUncentered:Z.arrowUncentered})},[U,Z.arrowRef,Z.arrowStyles,Z.arrowUncentered]),H=sU("div",e,{state:U,props:[Z.props,S],ref:[n,P],customStyleHookMapping:sM});return(0,er.jsx)(uK.Provider,{value:F,children:H})});function u2(e){var n=cj({root:e.root});return n&&eG.createPortal(e.children,n)}function u4(e){var n=e.children,t=e.keepMounted,r=void 0!==t&&t,o=e.container,a=u$(),i=a.mounted;return i||r?(0,er.jsx)(u0.Provider,{value:r,children:(0,er.jsx)(u2,{root:o,children:n})}):null}var u5=ea.createContext({hasProvider:!1,timeoutMs:0,delayRef:{current:0},initialDelayRef:{current:0},timeout:new a$,currentIdRef:{current:null},currentContextRef:{current:null}});function u3(e){var n=e.children,t=e.delay,r=e.timeoutMs,o=void 0===r?0:r,a=ea.useRef(t),i=ea.useRef(t),l=ea.useRef(null),s=ea.useRef(null),c=aY();return(0,er.jsx)(u5.Provider,{value:ea.useMemo(function(){return{hasProvider:!0,delayRef:a,initialDelayRef:i,currentIdRef:l,timeoutMs:o,currentContextRef:s,timeout:c}},[o,c]),children:n})}var u6=ea.createContext(void 0),u9=function(e){var n=e.delay,t=e.closeDelay,r=e.timeout,o=void 0===r?400:r,a=ea.useMemo(function(){return{delay:n,closeDelay:t}},[n,t]),i=ea.useMemo(function(){return{open:n,close:t}},[n,t]);return(0,er.jsx)(u6.Provider,{value:a,children:(0,er.jsx)(u3,{delay:i,timeoutMs:o,children:e.children})})};function u8(e){return null!=e&&null!=e.clientX}function u7(e){var n=e.disabled,t=void 0!==n&&n,r=e.defaultOpen,o=void 0!==r&&r,i=e.onOpenChange,l=e.open,s=e.delay,c=e.closeDelay,u=e.hoverable,d=void 0===u||u,f=e.trackCursorAxis,p=void 0===f?"none":f,h=e.actionsRef,m=e.onOpenChangeComplete,v=null!=s?s:600,g=null!=c?c:0,y=ea.useState(null),b=a(y,2),A=b[0],x=b[1],w=ea.useState(null),C=a(w,2),k=C[0],E=C[1],j=ea.useState(),_=a(j,2),S=_[0],O=_[1],B=ea.useRef(null),P=a0({controlled:l,default:o,name:"Tooltip",state:"open"}),I=a(P,2),z=I[0],T=I[1],L=!t&&z;function N(e,n,t){var r="trigger-hover"===t,o=e&&"trigger-focus"===t,a=!e&&("trigger-press"===t||"escape-key"===t);function l(){null!=i&&i(e,n,t),T(e)}r?eG.flushSync(l):l(),o||a?O(o?"focus":"dismiss"):"trigger-hover"===t&&O(void 0)}var R=aG(N);z&&t&&N(!1,void 0,"disabled");var M=l9(L),Z=M.mounted,U=M.setMounted,F=M.transitionStatus,H=aG(function(){U(!1),null==m||m(!1)});l8({enabled:!h,open:L,ref:B,onComplete:function(){L||H()}}),ea.useImperativeHandle(h,function(){return{unmount:H}},[H]);var q=io({elements:{reference:A,floating:k},open:L,onOpenChange:function(e,n,t){R(e,n,ss(t))}}),V=ea.useContext(u6),W=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.onOpenChange,o=e.floatingId,i=n.enabled,l=void 0===i||i,s=ea.useContext(u5),c=s.currentIdRef,u=s.delayRef,d=s.timeoutMs,f=s.initialDelayRef,p=s.currentContextRef,h=s.hasProvider,m=s.timeout,v=ea.useState(!1),g=a(v,2),y=g[0],b=g[1];return a6(function(){function e(){var e;b(!1),null!=(e=p.current)&&e.setIsInstantPhase(!1),c.current=null,p.current=null,u.current=f.current}if(l&&c.current&&!t&&c.current===o){if(b(!1),d)return m.start(d,e),function(){m.clear()};e()}},[l,t,o,c,u,d,f,p,m]),a6(function(){if(l&&t){var e=p.current,n=c.current;p.current={onOpenChange:r,setIsInstantPhase:b},c.current=o,u.current={open:0,close:le(f.current,"close")},null!==n&&n!==o?(m.clear(),b(!0),null!=e&&e.setIsInstantPhase(!0),null==e||e.onOpenChange(!1)):(b(!1),null==e||e.setIsInstantPhase(!1))}},[l,t,o,r,c,u,d,f,p,m]),a6(function(){return function(){p.current=null}},[p]),ea.useMemo(function(){return{hasProvider:h,delayRef:u,isInstantPhase:y}},[h,u,y])}(q),$=W.delayRef,Y=W.isInstantPhase,K=W.hasProvider,X=Y?"delay":S,G=lt(q,{enabled:!t,mouseOnly:!0,move:!1,handleClose:d&&"both"!==p?li():null,restMs:function(){var e,n=null==V?void 0:V.delay,t="object"==typeof $.current?$.current.open:void 0,r=v;return K&&(r=0!==t?null!=(e=null!=s?s:n)?e:v:0),r},delay:function(){var e="object"==typeof $.current?$.current.close:void 0,n=g;return null==c&&K&&(n=e),{close:n}}}),Q=ls(q,{enabled:!t}),J=lb(q,{enabled:!t,referencePress:!0}),ee=l1([G,Q,J,function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.open,r=e.dataRef,o=e.elements,i=o.floating,l=o.domReference,s=e.refs,c=n.enabled,u=void 0===c||c,d=n.axis,f=void 0===d?"both":d,p=n.x,h=void 0===p?null:p,m=n.y,v=void 0===m?null:m,g=ea.useRef(!1),y=ea.useRef(null),b=ea.useState(),A=a(b,2),x=A[0],w=A[1],C=ea.useState([]),k=a(C,2),E=k[0],j=k[1],_=aG(function(e,n){if(!g.current&&(!r.current.openEvent||u8(r.current.openEvent))){var t,o,a,i,c;s.setPositionReference((t=l,o={x:e,y:n,axis:f,dataRef:r,pointerType:x},a=null,i=null,c=!1,{contextElement:t||void 0,getBoundingClientRect:function(){var e,n,r=(null==(e=t)?void 0:e.getBoundingClientRect())||{width:0,height:0,x:0,y:0},l="x"===o.axis||"both"===o.axis,s="y"===o.axis||"both"===o.axis,u=["mouseenter","mousemove"].includes((null==(n=o.dataRef.current.openEvent)?void 0:n.type)||"")&&"touch"!==o.pointerType,d=r.width,f=r.height,p=r.x,h=r.y;return null==a&&o.x&&l&&(a=r.x-o.x),null==i&&o.y&&s&&(i=r.y-o.y),p-=a||0,h-=i||0,d=0,f=0,!c||u?(d="y"===o.axis?r.width:0,f="x"===o.axis?r.height:0,p=l&&null!=o.x?o.x:p,h=s&&null!=o.y?o.y:h):c&&!u&&(f="x"===o.axis?r.height:f,d="y"===o.axis?r.width:d),c=!0,{width:d,height:f,x:p,y:h,top:h,right:p+d,bottom:h+f,left:p}}}))}}),S=aG(function(e){null==h&&null==v&&(t?y.current||j([]):_(e.clientX,e.clientY))}),O=iW(x)?i:t,B=ea.useCallback(function(){if(O&&u&&null==h&&null==v){var e=il(i);if(!r.current.openEvent||u8(r.current.openEvent)){e.addEventListener("mousemove",t);var n=function(){e.removeEventListener("mousemove",t),y.current=null};return y.current=n,n}s.setPositionReference(l)}function t(n){i1(i,i2(n))?(e.removeEventListener("mousemove",t),y.current=null):_(n.clientX,n.clientY)}},[O,u,h,v,i,r,s,l,_]);ea.useEffect(function(){return B()},[B,E]),ea.useEffect(function(){u&&!i&&(g.current=!1)},[u,i]),ea.useEffect(function(){!u&&t&&(g.current=!0)},[u,t]),a6(function(){u&&(null!=h||null!=v)&&(g.current=!1,_(h,v))},[u,h,v,_]);var P=ea.useMemo(function(){function e(e){w(e.pointerType)}return{onPointerDown:e,onPointerEnter:e,onMouseMove:S,onMouseEnter:S}},[S]);return ea.useMemo(function(){return u?{reference:P}:{}},[u,P])}(q,{enabled:!t&&"none"!==p,axis:"none"===p?void 0:p})]),en=ee.getReferenceProps,et=ee.getFloatingProps,eo=ea.useMemo(function(){return{open:L,setOpen:R,mounted:Z,setMounted:U,setTriggerElement:x,positionerElement:k,setPositionerElement:E,popupRef:B,triggerProps:en(),popupProps:et(),floatingRootContext:q,instantType:X,transitionStatus:F,onOpenChangeComplete:m}},[L,R,Z,U,x,k,E,B,en,et,q,X,F,m]),ei=ea.useMemo(function(){return D(D({},eo),{},{delay:v,closeDelay:g,trackCursorAxis:p,hoverable:d})},[eo,v,g,p,d]);return(0,er.jsx)(uW.Provider,{value:ei,children:e.children})}var de=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/components/tooltip/tooltip.css"),dn={};dn.styleTagTransform=Q(),dn.setAttributes=Y(),dn.insert=W(),dn.domAPI=q(),dn.insertStyleElement=X(),Z()(de.Z,dn),de.Z&&de.Z.locals&&de.Z.locals;var dt=(0,ea.forwardRef)(function(e,n){var t,r,o,a,i,l,s,c,u,d,f,p,h=(0,eo.c)(35),m=e.className,v=e.children,g=e.title,y=e.direction,b=e.arrowSize,A=e.offset,x=void 0===y?"top":y,w=void 0===b?6:b,C=dW().shadowRoot;if(!g)return v;h[0]!==v?(t=function(e){var n,t;return(0,er.jsx)("span",(n=function(e){for(var n=1;n0,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")?(n=(0,er.jsx)("span",{className:"segment-explorer-footer-text",children:"Clear Segment Overrides"}),o[0]=n):n=o[0],o[1]!==a||o[2]!==l?(t=l&&(0,er.jsx)("span",{className:"segment-explorer-footer-badge",children:a}),o[1]=a,o[2]=l,o[3]=t):t=o[3],o[4]!==s||o[5]!==c||o[6]!==u||o[7]!==t?(r=(0,er.jsx)("div",{className:"segment-explorer-footer",children:(0,er.jsxs)("button",{className:s,onClick:c,disabled:u,type:"button",children:[n,t]})}),o[4]=s,o[5]=c,o[6]=u,o[7]=t,o[8]=r):r=o[8],r}function du(e){var n,t,r,o,a,i=(0,eo.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?(n=nj("segment-explorer-file-label",f,p,h),i[0]=f,i[1]=p,i[2]=h,i[3]=n):n=i[3],i[4]!==u?(t=function(){var e;e=new URLSearchParams({file:u,isAppRelativePath:"1"}),fetch("".concat("","/__nextjs_launch-editor?").concat(e.toString()))},i[4]=u,i[5]=t):t=i[5],i[6]!==d?(r=(0,er.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,er.jsx)(dh,{}):(0,er.jsx)(dv,{className:"code-icon"}),i[8]=s,i[9]=o):o=i[9],i[10]!==n||i[11]!==t||i[12]!==r||i[13]!==o?(a=(0,er.jsxs)("span",{className:n,onClick:t,children:[r,o]}),i[10]=n,i[11]=t,i[12]=r,i[13]=o,i[14]=a):a=i[14],a}function dd(e){var n,t,r,o,a,i,l,s,c,u=(0,eo.c)(17),d=e.page,f=(0,ea.useSyncExternalStore)(aD,aL,aN);u[0]!==f?(t=function e(n){var t,r=0;return(null==(t=n.value)?void 0:t.setBoundaryType)&&null!==n.value.boundaryType&&!uI(n.value.type)&&r++,Object.values(n.children).forEach(function(n){n&&(r+=e(n))}),r}(f),u[0]=f,u[1]=t):t=u[1],n=t,u[2]!==f?(r=function(){!function e(n){var t;(null==(t=n.value)?void 0:t.setBoundaryType)&&n.value.setBoundaryType(null),Object.values(n.children).forEach(function(n){n&&e(n)})}(f)},u[2]=f,u[3]=r):r=u[3];var p=r;return u[4]===Symbol.for("react.memo_cache_sentinel")?(o={display:"flex",flexDirection:"column",height:"100%"},u[4]=o):o=u[4],u[5]!==d?(a=(0,er.jsx)(ds,{page:d}),u[5]=d,u[6]=a):a=u[6],u[7]===Symbol.for("react.memo_cache_sentinel")?(i={flex:"1 1 auto",overflow:"auto"},u[7]=i):i=u[7],u[8]!==f?(l=(0,er.jsx)("div",{className:"segment-explorer-content","data-nextjs-devtool-segment-explorer":!0,style:i,children:(0,er.jsx)(dp,{node:f,level:0,segment:""})}),u[8]=f,u[9]=l):l=u[9],u[10]!==n||u[11]!==p?(s=(0,er.jsx)(dc,{activeBoundariesCount:n,onGlobalReset:p}),u[10]=n,u[11]=p,u[12]=s):s=u[12],u[13]!==a||u[14]!==l||u[15]!==s?(c=(0,er.jsxs)("div",{"data-nextjs-devtools-panel-segments-explorer":!0,style:o,children:[a,l,s]}),u[13]=a,u[14]=l,u[15]=s,u[16]=c):c=u[16],c}var df="global-error";function dp(e){var n=e.segment,t=e.node,r=e.level,o=(0,ea.useMemo)(function(){return Object.keys(t.children)},[t.children]),a=(0,ea.useMemo)(function(){var e=[];return o.forEach(function(n){var r=t.children[n];if(r&&r.value){var o=uz(r.value.type),a=o===df;(a&&!r.value.pagePath.startsWith(uO)||!a&&uI(r.value.type))&&e.push(o)}}),0===r&&!e.includes(df)},[t.children,o,r]),i=o.sort(function(e,n){var r=e.includes("."),o=n.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=t.children[e])||null==(a=i.value)?void 0:a.type,h=null==(s=t.children[n])||null==(l=s.value)?void 0:l.type,m=function(e){return e?"layout"===e?1:"template"===e?2:"page"===e?3:uI(e)?4:5:5},v=m(p),g=m(h);if(v!==g)return v-g;var y=(null==(u=t.children[e])||null==(c=u.value)?void 0:c.pagePath)||"",b=(null==(f=t.children[n])||null==(d=f.value)?void 0:d.pagePath)||"";return y.localeCompare(b)}return e.localeCompare(n)}),l=0!==r||n?n:"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=t.children[m];if(v){if(dl(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=uB(c[0]||"").split(".").pop()||"js",y=null,b=i.length-1;b>=0;b--){var A=t.children[i[b]];if(A&&A.value){var x=uI(A.value.type);if(!y&&!x){y=A;break}}}var w=null,C=!0,k=!1,E=void 0;try{for(var j,_=i[Symbol.iterator]();!(C=(j=_.next()).done);C=!0){var S=j.value,O=t.children[S];if(O&&O.value&&uI(O.value.type)){w=O;break}}}catch(e){k=!0,E=e}finally{try{C||null==_.return||_.return()}finally{if(k)throw E}}y=y||w;var B=c.length>0,P={"not-found":null,loading:null,error:null,"global-error":null};return c.forEach(function(e){var n=t.children[e];if(n&&n.value&&uI(n.value.type)){var r=uz(n.value.type);r in P&&(P[r]=n.value.pagePath||null)}}),(0,er.jsxs)(er.Fragment,{children:[B&&(0,er.jsx)("div",{className:"segment-explorer-item","data-nextjs-devtool-segment-explorer-segment":n+"-"+r,children:(0,er.jsx)("div",{className:"segment-explorer-item-row",style:da({},{paddingLeft:"".concat((r+1)*8,"px")}),children:(0,er.jsx)("div",{className:"segment-explorer-item-row-main",children:(0,er.jsxs)("div",{className:"segment-explorer-filename",children:[l&&(0,er.jsxs)("span",{className:"segment-explorer-filename--path",children:[l,(0,er.jsx)("small",{children:"/"})]}),a&&(0,er.jsx)(dr,{possibleExtension:g,missingGlobalError:a}),c.length>0&&(0,er.jsx)("span",{className:"segment-explorer-files",children:c.map(function(e){var n=t.children[e];if(!n||!n.value||uI(n.value.type))return null;var r=n.value.pagePath,o=r.split("/").pop()||"",a=r.startsWith(uO),i=uB(o),l=a?"The default Next.js ".concat(n.value.type," is being shown. You can customize this page by adding your own ").concat(i," file to the app/ directory."):null,s=null!==n.value.boundaryType;return(0,er.jsx)(dt,{className:"segment-explorer-file-label-tooltip--"+(a?"lg":"sm"),direction:a?"right":"top",title:l,offset:12,children:(0,er.jsx)(du,{type:n.value.type,isBuiltin:a,isOverridden:s,filePath:r,fileName:i})},e)})}),y&&y.value&&(0,er.jsx)(uM,{nodeState:y.value,boundaries:P})]})})})}),s.map(function(e){var o=t.children[e];if(!o)return null;var a=B?e:n+" / "+e;return(0,er.jsx)(dp,{segment:a,node:o,level:B?r+1:r},e)})]})}function dh(e){var n,t,r,o=(0,eo.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.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)"}),t=(0,er.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]=n,o[1]=t):(n=o[0],t=o[1]),o[2]!==e?(r=(0,er.jsxs)("svg",di(da({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),{children:[n,t]})),o[2]=e,o[3]=r):r=o[3],r}function dm(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.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,er.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"})}),n[0]=e):e=n[0],e}function dv(e){var n,t,r=(0,eo.c)(3);return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.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]=n):n=r[0],r[1]!==e?(t=(0,er.jsx)("svg",di(da({width:"12",height:"12",strokeLinejoin:"round",viewBox:"0 0 16 16",fill:"currentColor"},e),{children:n})),r[1]=e,r[2]=t):t=r[2],t}function dg(){var e,n,t=(e=["\n .dev-tools-info-close-button:focus-visible {\n outline: var(--focus-ring);\n }\n "],n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}})));return dg=function(){return t},t}function dy(e){var n,t,r,o,a,i,l,s,c,u,d,f=(0,eo.c)(18),p=e.title,h=e.children,m=e.ref,v=oP().setPanel,g=(0,ea.useRef)(null);return f[0]===Symbol.for("react.memo_cache_sentinel")?(n=function(){var e;null==(e=g.current)||e.focus()},t=[],f[0]=n,f[1]=t):(n=f[0],t=f[1]),(0,ea.useLayoutEffect)(n,t),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,er.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,er.jsx)(db,{}),f[8]=l,f[9]=s):(l=f[8],s=f[9]),f[10]!==i?(c=(0,er.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,er.jsx)("style",{children:e$(dg())}),f[12]=u):u=f[12],f[13]!==h||f[14]!==m||f[15]!==a||f[16]!==c?(d=(0,er.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 db(e){var n,t,r,o=(0,eo.c)(4),a=e.size,i=void 0===a?22:a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,er.jsx)("path",{d:"M18 6 6 18"}),t=(0,er.jsx)("path",{d:"m6 6 12 12"}),o[0]=n,o[1]=t):(n=o[0],t=o[1]),o[2]!==i?(r=(0,er.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:[n,t]}),o[2]=i,o[3]=r):r=o[3],r}function dA(){var e,n=(0,eo.c)(1);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,er.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",children:(0,er.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"})}),n[0]=e):e=n[0],e}var dx=F("../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.4.5_@swc+helpers@0.5.15__webpack@5.98.0_@swc+core@1.11.24_@sw_wm7ee5ic4mofrhisudwon4qpq4/node_modules/css-loader/dist/cjs.js!./src/next-devtools/dev-overlay/menu/panel-router.css"),dw={};dw.styleTagTransform=Q(),dw.setAttributes=Y(),dw.insert=W(),dw.domAPI=q(),dw.insertStyleElement=X(),Z()(dx.Z,dw),dx.Z&&dx.Z.locals&&dx.Z.locals;var dC=function(){var e,n,t,r,o,a,i,l,s,c,u,d=(0,eo.c)(32),f=oP(),p=f.setPanel,h=f.setSelectedIndex,m=dW(),v=m.state,g=m.dispatch,y=dD().totalErrorCount,b="app"===v.routerType;d[0]!==g||d[1]!==p||d[2]!==h||d[3]!==v.isErrorOverlayOpen||d[4]!==y?(e=y>0&&{title:"".concat(y," ").concat(1===y?"issue":"issues"," found. Click to view details in the dev overlay."),label:"Issues",value:(0,er.jsx)(as,{children:y}),onClick:function(){if(v.isErrorOverlayOpen){g({type:ej}),p(null);return}p(null),h(-1),y>0&&g({type:eE})}},d[0]=g,d[1]=p,d[2]=h,d[3]=v.isErrorOverlayOpen,d[4]=y,d[5]=e):e=d[5];var A="Current route is ".concat(v.staticIndicator?"static":"dynamic","."),x=v.staticIndicator?"Static":"Dynamic";d[6]!==p?(n=function(){return p("route-type")},d[6]=p,d[7]=n):n=d[7];var w=v.staticIndicator?"static":"dynamic";return d[8]!==w?(t={"data-nextjs-route-type":w},d[8]=w,d[9]=t):t=d[9],d[10]!==A||d[11]!==x||d[12]!==n||d[13]!==t?(r={title:A,label:"Route",value:x,onClick:n,attributes:t},d[10]=A,d[11]=x,d[12]=n,d[13]=t,d[14]=r):r=d[14],d[15]!==p?(o={title:"Learn about Turbopack and how to enable it in your application.",label:"Try Turbopack",value:(0,er.jsx)(ac,{}),onClick:function(){return p("turbo-info")}},d[15]=p,d[16]=o):o=d[16],d[17]!==b||d[18]!==p?(a=b&&{label:"Route Info",value:(0,er.jsx)(ac,{}),onClick:function(){return p("segment-explorer")},attributes:{"data-segment-explorer":!0}},d[17]=b,d[18]=p,d[19]=a):a=d[19],d[20]===Symbol.for("react.memo_cache_sentinel")?(i=(0,er.jsx)(dA,{}),d[20]=i):i=d[20],d[21]!==p?(l=function(){return p("preferences")},d[21]=p,d[22]=l):l=d[22],d[23]===Symbol.for("react.memo_cache_sentinel")?(s={"data-preferences":!0},d[23]=s):s=d[23],d[24]!==l?(c={label:"Preferences",value:i,onClick:l,footer:!0,attributes:s},d[24]=l,d[25]=c):c=d[25],d[26]!==e||d[27]!==c||d[28]!==r||d[29]!==o||d[30]!==a?(u=(0,er.jsx)(ai,{items:[e,r,o,a,c]}),d[26]=e,d[27]=c,d[28]=r,d[29]=o,d[30]=a,d[31]=u):u=d[31],u},dk=function(){var e,n=(0,eo.c)(4),t=dW(),r=t.state,o=t.dispatch,a=t.shadowRoot;return n[0]!==o||n[1]!==a||n[2]!==r.disableDevIndicator?(e=function(){o({type:ek,disabled:!r.disableDevIndicator});var e=a.getElementById("panel-route"),n=a.getElementById("data-devtools-indicator");if(e&&e.firstElementChild){var t=e.firstElementChild,i="none"===t.style.display;t.style.display=i?"":"none"}if(n){var l="none"===n.style.display;n.style.display=l?"":"none"}},n[0]=o,n[1]=a,n[2]=r.disableDevIndicator,n[3]=e):e=n[3],e},dE=function(){var e,n,t,r,o,a,i,l,s,c,u,d,f,p,h,m,v,g,y,b,A,x,w,C,k,E,j=(0,eo.c)(44),_=dW().state,S=oP().triggerRef,O=dk(),B="app"===_.routerType;j[0]!==_.hideShortcut||j[1]!==O?(s=_.hideShortcut?(e={},n=_.hideShortcut,t=O,n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e):{},j[0]=_.hideShortcut,j[1]=O,j[2]=s):s=j[2],r=s,o=S,(l=(0,eo.c)(4))[0]!==o||l[1]!==r?(a=function(){var e=function(e){if(!((n=tL(o.current))&&("true"===n.contentEditable||"INPUT"===n.tagName||"TEXTAREA"===n.tagName||"SELECT"===n.tagName||"true"===n.dataset["shortcut-recorder"])&&!n.hasAttribute("readonly"))){var n,t=[];e.metaKey&&t.push("Meta"),e.ctrlKey&&t.push("Control"),e.altKey&&t.push("Alt"),e.shiftKey&&t.push("Shift"),"Meta"!==e.key&&"Control"!==e.key&&"Alt"!==e.key&&"Shift"!==e.key&&t.push(e.code);var a=t.join("+");r[a]&&(e.preventDefault(),r[a]())}};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,ea.useEffect)(a,i),j[3]===Symbol.for("react.memo_cache_sentinel")?(c=(0,er.jsx)(dB,{name:"panel-selector",children:(0,er.jsx)(dC,{})}),j[3]=c):c=j[3];var P=500/_.scale;j[4]!==P?(u={kind:"fixed",height:P,width:512},j[4]=P,j[5]=u):u=j[5],j[6]===Symbol.for("react.memo_cache_sentinel")?(d=(0,er.jsx)(dy,{title:"Preferences"}),f=(0,er.jsx)(d_,{}),j[6]=d,j[7]=f):(d=j[6],f=j[7]),j[8]!==u?(p=(0,er.jsx)(dB,{name:"preferences",children:(0,er.jsx)(aO,{sharePanelSizeGlobally:!1,sizeConfig:u,closeOnClickOutside:!0,header:d,children:f})}),j[8]=u,j[9]=p):p=j[9];var I=_.staticIndicator?"static":"dynamic",z=_.staticIndicator?300/_.scale:325/_.scale,T=400/_.scale;j[10]!==z||j[11]!==T?(h={kind:"fixed",height:z,width:T},j[10]=z,j[11]=T,j[12]=h):h=j[12];var D="".concat(_.staticIndicator?"Static":"Dynamic"," Route");j[13]!==D?(m=(0,er.jsx)(dy,{title:D}),j[13]=D,j[14]=m):m=j[14],j[15]!==_.routerType||j[16]!==_.staticIndicator?(v=(0,er.jsx)(rB,{routerType:_.routerType,isStaticRoute:_.staticIndicator}),j[15]=_.routerType,j[16]=_.staticIndicator,j[17]=v):v=j[17];var L=rO[_.routerType][_.staticIndicator?"static":"dynamic"];j[18]!==L?(g=(0,er.jsx)(dj,{href:L}),j[18]=L,j[19]=g):g=j[19],j[20]!==v||j[21]!==g?(y=(0,er.jsxs)("div",{className:"panel-content",children:[v,g]}),j[20]=v,j[21]=g,j[22]=y):y=j[22],j[23]!==h||j[24]!==m||j[25]!==y||j[26]!==I?(b=(0,er.jsx)(dB,{name:"route-type",children:(0,er.jsx)(aO,{sharePanelSizeGlobally:!1,sizeConfig:h,closeOnClickOutside:!0,header:m,children:y},I)}),j[23]=h,j[24]=m,j[25]=y,j[26]=I,j[27]=b):b=j[27],j[28]!==B||j[29]!==_.page||j[30]!==_.scale?(A=B&&(0,er.jsx)(dB,{name:"segment-explorer",children:(0,er.jsx)(aO,{sharePanelSizeGlobally:!1,sharePanelPositionGlobally:!1,draggable:!0,sizeConfig:{kind:"resizable",maxHeight:"90vh",maxWidth:"90vw",minHeight:200/_.scale,minWidth:250/_.scale,initialSize:{height:375/_.scale,width:400/_.scale}},header:(0,er.jsx)(dy,{title:"Route Info"}),children:(0,er.jsx)(dd,{page:_.page})})}),j[28]=B,j[29]=_.page,j[30]=_.scale,j[31]=A):A=j[31];var N=470/_.scale,R=400/_.scale;return j[32]!==N||j[33]!==R?(x={kind:"fixed",height:N,width:R},j[32]=N,j[33]=R,j[34]=x):x=j[34],j[35]===Symbol.for("react.memo_cache_sentinel")?(w=(0,er.jsx)(dy,{title:"Try Turbopack"}),j[35]=w):w=j[35],j[36]===Symbol.for("react.memo_cache_sentinel")?(C=(0,er.jsxs)("div",{className:"panel-content",children:[(0,er.jsx)(rC,{}),(0,er.jsx)(dj,{href:"https://nextjs.org/docs/app/api-reference/turbopack"})]}),j[36]=C):C=j[36],j[37]!==x?(k=(0,er.jsx)(dB,{name:"turbo-info",children:(0,er.jsx)(aO,{sharePanelSizeGlobally:!1,sizeConfig:x,closeOnClickOutside:!0,header:w,children:C})}),j[37]=x,j[38]=k):k=j[38],j[39]!==b||j[40]!==A||j[41]!==k||j[42]!==p?(E=(0,er.jsxs)(er.Fragment,{children:[c,p,b,A,k]}),j[39]=b,j[40]=A,j[41]=k,j[42]=p,j[43]=E):E=j[43],E},dj=function(e){var n,t=(0,eo.c)(2),r=e.href;return t[0]!==r?(n=(0,er.jsx)("div",{className:"dev-tools-info-button-container",children:(0,er.jsx)("a",{className:"dev-tools-info-learn-more-button",href:r,target:"_blank",rel:"noreferrer noopener",children:"Learn More"})}),t[0]=r,t[1]=n):n=t[1],n},d_=function(){var e,n,t,r,o=(0,eo.c)(17),a=dW(),i=a.dispatch,l=a.state,s=oP(),c=s.setPanel,u=s.setSelectedIndex,d=o9();return o[0]!==i?(e=function(e){i({type:eT,scale:e})},o[0]=i,o[1]=e):e=o[1],o[2]!==i||o[3]!==d?(n=function(e){i({type:eI,devToolsPosition:e}),d(e)},o[2]=i,o[3]=d,o[4]=n):n=o[4],o[5]!==i||o[6]!==c||o[7]!==u?(t=function(){i({type:ek,disabled:!0}),u(-1),c(null),fetch("/__nextjs_disable_dev_indicator",{method:"POST"})},o[5]=i,o[6]=c,o[7]=u,o[8]=t):t=o[8],o[9]!==l.devToolsPosition||o[10]!==l.hideShortcut||o[11]!==l.scale||o[12]!==l.theme||o[13]!==e||o[14]!==n||o[15]!==t?(r=(0,er.jsx)("div",{className:"user-preferences-wrapper",children:(0,er.jsx)(r8,{theme:l.theme,position:l.devToolsPosition,scale:l.scale,setScale:e,setPosition:n,hideShortcut:l.hideShortcut,setHideShortcut:dP,hide:t})}),o[9]=l.devToolsPosition,o[10]=l.hideShortcut,o[11]=l.scale,o[12]=l.theme,o[13]=e,o[14]=n,o[15]=t,o[16]=r):r=o[16],r},dS=function(){return(0,ea.useContext)(dO)},dO=(0,ea.createContext)(null);function dB(e){var n,t,r,o,a,i=(0,eo.c)(12),l=e.children,s=e.name,c=oP().panel;i[0]===Symbol.for("react.memo_cache_sentinel")?(n={enterDelay:0,exitDelay:200},i[0]=n):n=i[0];var u=ou(s===c,n),d=u.mounted,f=u.rendered;if(!d)return null;i[1]!==d||i[2]!==s?(t={name:s,mounted:d},i[1]=d,i[2]=s,i[3]=t):t=i[3];var p=+!!f;i[4]!==p?(r={"--panel-opacity":p,"--panel-transition":"opacity ".concat(200,"ms ").concat(tR)},i[4]=p,i[5]=r):r=i[5];var h=r;return i[6]!==l||i[7]!==h?(o=(0,er.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]!==t||i[10]!==o?(a=(0,er.jsx)(dO,{value:t,children:o}),i[9]=t,i[10]=o,i[11]=a):a=i[11],a}function dP(e){r3({hideShortcut:e})}function dI(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);te.length)&&(n=e.length);for(var t=0,r=Array(n);t1&&void 0!==arguments[1]?arguments[1]:r.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,el.parse)(e).map(function(e){try{var t=new URL(e.file),r=es.exec(t.pathname);if(r){var o,a=null==n||null==(o=n.replace(/\\/g,"/"))?void 0:o.replace(/\/$/,"");a&&(e.file="file://"+a.concat(r.pop())+t.search)}}catch(e){}return{file:e.file,line1:e.lineNumber,column1:e.column,methodName:e.methodName,arguments:e.arguments}})):[]}((a.stack||"")+(l||"")),c={id:n,error:a,frames:s,type:o(a)?"recoverable":(i=a)&&"NEXT_CONSOLE_ERROR"===i[ec]?"console":"runtime"},u=e.filter(function(e){return e.error.stack!==c.error.stack&&eF(e.error.stack)!==eF(c.error.stack)||t(e.error)!==t(c.error)});return u.length===e.length?(u.push(c),u):e},c[0]=t,c[1]=o,c[2]=i):i=c[2],u=i,(c[3]!==u?(l=function(e,n){switch(n.type){case ew:return ef(ed({},e),{debugInfo:n.debugInfo});case eh:return ef(ed({},e),{staticIndicator:n.staticIndicator});case em:return ef(ed({},e),{buildError:null});case ev:return ef(ed({},e),{buildError:n.message});case eg:return ef(ed({},e),{refreshState:{type:"pending",errors:[]}});case ey:return ef(ed({},e),{buildError:null,errors:"pending"===e.refreshState.type?e.refreshState.errors:[],refreshState:{type:"idle"}});case eA:case ex:switch(e.refreshState.type){case"idle":return ef(ed({},e),{nextId:e.nextId+1,errors:u(e.errors,e.nextId,n.reason)});case"pending":return ef(ed({},e),{nextId:e.nextId+1,refreshState:ef(ed({},e.refreshState),{errors:u(e.errors,e.nextId,n.reason)})});default:return e}case eb:return ef(ed({},e),{versionInfo:n.versionInfo});case ek:return ef(ed({},e),{disableDevIndicator:n.disabled});case eC:return ef(ed({},e),{showIndicator:!0,disableDevIndicator:eH||!!n.devIndicator.disabledUntil});case eE:return ef(ed({},e),{isErrorOverlayOpen:!0});case ej:return ef(ed({},e),{isErrorOverlayOpen:!1});case e_:return ef(ed({},e),{isErrorOverlayOpen:!e.isErrorOverlayOpen});case eS:return ef(ed({},e),{buildingIndicator:!0});case eO:return ef(ed({},e),{buildingIndicator:!1});case eB:return ef(ed({},e),{renderingIndicator:!0});case eP:return ef(ed({},e),{renderingIndicator:!1});case eI:return ef(ed({},e),{devToolsPosition:n.devToolsPosition});case ez:return ef(ed({},e),{devToolsPanelPosition:ef(ed({},e.devToolsPanelPosition),eu({},n.key,n.devToolsPanelPosition))});case eT:return ef(ed({},e),{scale:n.scale});case eZ:return ef(ed({},e),{page:n.page});case eD:var t=n.devToolsConfig,r=t.theme,o=t.disableDevIndicator,a=t.devToolsPosition,i=t.devToolsPanelPosition,l=t.devToolsPanelSize,s=t.scale,c=t.hideShortcut;return ef(ed({},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}},c[3]=u,c[4]=l):l=c[4],c[5]!==n)?(a=n,s=ef(ed({},eV),{isErrorOverlayOpen:"pages"===a,routerType:a}),c[5]=n,c[6]=s):s=c[6],d=(0,ea.useReducer)(l,s),f=2,function(e){if(Array.isArray(e))return e}(d)||function(e,n){var t,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=(t=o.next()).done)&&(a.push(t.value),2!==a.length);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==o.return||o.return()}finally{if(l)throw r}}return a}}(d,0)||dM(d,f)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),S=_[0],O=_[1];return x[0]!==j.host||x[1]!==S.theme?(p=function(){var e=j.host;"dark"===S.theme?(e.classList.add("dark"),e.classList.remove("light")):"light"===S.theme?(e.classList.add("light"),e.classList.remove("dark")):(e.classList.remove("dark"),e.classList.remove("light"))},x[0]=j.host,x[1]=S.theme,x[2]=p):p=x[2],x[3]!==j||x[4]!==S.theme?(h=[j,S.theme],x[3]=j,x[4]=S.theme,x[5]=h):h=x[5],(0,ea.useLayoutEffect)(p,h),x[6]!==O?(m=function(){dZ=O;var e=setTimeout(function(){!function(e){try{var n=!0,t=!1,r=void 0;try{for(var o,a=dU[Symbol.iterator]();!(n=(o=a.next()).done);n=!0)(0,o.value)(e)}catch(e){t=!0,r=e}finally{try{n||null==a.return||a.return()}finally{if(t)throw r}}}finally{dU.length=0}}(O)});return function(){dZ=null,clearTimeout(e)}},x[6]=O,x[7]=m):m=x[7],x[8]===Symbol.for("react.memo_cache_sentinel")?(v=[],x[8]=v):v=x[8],(0,ea.useInsertionEffect)(m,v),x[9]===Symbol.for("react.memo_cache_sentinel")?(g=(0,er.jsx)(eK,{}),x[9]=g):g=x[9],x[10]!==O||x[11]!==C||x[12]!==j||x[13]!==S?(y={dispatch:O,getSquashedHydrationErrorDetails:C,shadowRoot:j,state:S},x[10]=O,x[11]=C,x[12]=j,x[13]=S,x[14]=y):y=x[14],x[15]===Symbol.for("react.memo_cache_sentinel")?(b=(0,er.jsx)(dL,{}),x[15]=b):b=x[15],x[16]!==y?(A=(0,er.jsxs)(er.Fragment,{children:[g,(0,er.jsx)(dV,{value:y,children:b})]}),x[16]=y,x[17]=A):A=x[17],A}var dV=(0,ea.createContext)(null),dW=function(){return(0,ea.useContext)(dV)},d$=!1,dY=!1;function dK(){return null}function dX(e,n){if(d$)throw Error("Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js");if(!dY){var t=document.createElement("script");t.style.display="block",t.style.position="absolute",t.setAttribute("data-nextjs-dev-overlay","true");var r=document.createElement("nextjs-portal");t.appendChild(r),document.body.appendChild(t);var o=(0,eW.createRoot)(r,{identifierPrefix:"ndt-"}),a=r.attachShadow({mode:"open"});(0,ea.startTransition)(function(){o.render((0,er.jsx)(dq,{getOwnerStack:e,getSquashedHydrationErrorDetails:dK,isRecoverableError:n,routerType:"app",shadowRoot:a}))}),dY=!0}}function dG(e,n,t){if(dY)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 n=!0,t=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(n=(a=i.next()).done);n=!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){t=!0,o=e}finally{try{n||null==i.return||i.return()}finally{if(t)throw o}}}).observe(document.body,{childList:!0}),document.body.appendChild(r);var o=(0,eW.createRoot)(r,{identifierPrefix:"ndt-"}),a=r.attachShadow({mode:"open"});(0,ea.startTransition)(function(){o.render((0,er.jsx)(dq,{getOwnerStack:e,getSquashedHydrationErrorDetails:n,isRecoverableError:t,routerType:"pages",shadowRoot:a}))}),d$=!0}}}(),n.DevOverlayContext=H.DevOverlayContext,n.dispatcher=H.dispatcher,n.renderAppDevOverlay=H.renderAppDevOverlay,n.renderPagesDevOverlay=H.renderPagesDevOverlay,n.useDevOverlayContext=H.useDevOverlayContext,H)-1===["DevOverlayContext","dispatcher","renderAppDevOverlay","renderPagesDevOverlay","useDevOverlayContext"].indexOf(q)&&(n[q]=H[q]);Object.defineProperty(n,"__esModule",{value:!0})}}]);