@assemble-inc/chat-widget 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -58
- package/dist/Widget.d.ts +69 -3
- package/dist/embed.d.ts +25 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +10023 -3227
- package/dist/server.cjs +31 -8
- package/dist/server.d.cts +29 -5
- package/dist/server.d.ts +29 -5
- package/dist/server.js +31 -8
- package/package.json +1 -1
- package/dist/embed.iife.js +0 -379
- package/dist/index.css +0 -1
package/dist/embed.iife.js
DELETED
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-duration:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-neutral-300:oklch(87% 0 0);--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-bold:700;--radius-xl:.75rem;--radius-3xl:1.5rem;--ease-in-out:cubic-bezier(.4, 0, .2, 1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-asm-white:#fff;--color-asm-purple:#2e2438;--color-asm-pink-400:#ffa2f6;--color-asm-blue:#a5d5d8;--color-asm-gray-500:#f1f1f1}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.right-6{right:calc(var(--spacing) * 6)}.-bottom-4{bottom:calc(var(--spacing) * -4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-1{bottom:calc(var(--spacing) * 1)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-6{bottom:calc(var(--spacing) * 6)}.bottom-20{bottom:calc(var(--spacing) * 20)}.left-0{left:calc(var(--spacing) * 0)}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-6{left:calc(var(--spacing) * 6)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\\[1\\]{z-index:1}.z-\\[2\\]{z-index:2}.z-\\[3\\]{z-index:3}.-mt-1{margin-top:calc(var(--spacing) * -1)}.-mr-\\[4\\.5rem\\]{margin-right:-4.5rem}.mr-0{margin-right:calc(var(--spacing) * 0)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mb-24{margin-bottom:calc(var(--spacing) * 24)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.flex{display:flex}.inline-block{display:inline-block}.h-0{height:calc(var(--spacing) * 0)}.h-3\\/4{height:75%}.h-5\\/6{height:83.3333%}.h-6{height:calc(var(--spacing) * 6)}.h-10{height:calc(var(--spacing) * 10)}.h-16{height:calc(var(--spacing) * 16)}.h-full{height:100%}.max-h-\\[500px\\]{max-height:500px}.max-h-\\[800px\\]{max-height:800px}.min-h-\\[46px\\]{min-height:46px}.w-0{width:calc(var(--spacing) * 0)}.w-6{width:calc(var(--spacing) * 6)}.w-10{width:calc(var(--spacing) * 10)}.w-16{width:calc(var(--spacing) * 16)}.w-80{width:calc(var(--spacing) * 80)}.w-full{width:100%}.max-w-none{max-width:none}.shrink-0{flex-shrink:0}.origin-bottom-left{transform-origin:0 100%}.origin-bottom-right{transform-origin:100% 100%}.-translate-x-\\[2rem\\]{--tw-translate-x: -2rem ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-full{--tw-translate-y:100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-45{rotate:-45deg}.transform-gpu{transform:translateZ(0) var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.items-center{align-items:center}.items-end{align-items:flex-end}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing) * 1)}.gap-2{gap:calc(var(--spacing) * 2)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\\[43px\\]{border-radius:43px}.rounded-full{border-radius:3.40282e38px}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-\\[43px\\]{border-top-left-radius:43px;border-top-right-radius:43px}.rounded-tl-\\[50\\%\\]{border-top-left-radius:50%}.rounded-tl-none{border-top-left-radius:0}.rounded-tr-\\[50\\%\\]{border-top-right-radius:50%}.rounded-tr-none{border-top-right-radius:0}.rounded-br{border-bottom-right-radius:.25rem}.rounded-br-\\[50\\%\\]{border-bottom-right-radius:50%}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-bl-\\[50\\%\\]{border-bottom-left-radius:50%}.border{border-style:var(--tw-border-style);border-width:1px}.border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.border-gray-300{border-color:var(--color-gray-300)}.bg-asm-gray-500{background-color:var(--color-asm-gray-500)}.bg-asm-pink-400{background-color:var(--color-asm-pink-400)}.bg-asm-purple{background-color:var(--color-asm-purple)}.bg-asm-white{background-color:var(--color-asm-white)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-gray-500{--tw-gradient-from:var(--color-gray-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-neutral-300{--tw-gradient-to:var(--color-neutral-300);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-\\[\\.625rem\\]{padding-block:.625rem}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-asm-purple{color:var(--color-asm-purple)}.text-gray-600{color:var(--color-gray-600)}.text-white{color:var(--color-white)}.opacity-8{opacity:.08}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-300{--tw-duration:.3s;transition-duration:.3s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.first\\:pt-4:first-child{padding-top:calc(var(--spacing) * 4)}.last\\:pb-4:last-child{padding-bottom:calc(var(--spacing) * 4)}@media(hover:hover){.hover\\:bg-asm-blue\\/30:hover{background-color:#a5d5d84d}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-asm-blue\\/30:hover{background-color:color-mix(in oklab,var(--color-asm-blue) 30%,transparent)}}}.focus\\:outline-asm-gray-500:focus{outline-color:var(--color-asm-gray-500)}@media(prefers-reduced-motion:reduce){.motion-reduce\\:transition-none{transition-property:none}}}.asw-widget{font-family:Inter,sans-serif}.asw-widget *,.asw-widget :before,.asw-widget :after{box-sizing:border-box}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
|
-
(function(){"use strict";function xb(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var uv={exports:{}},gt={};/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react.production.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/var KS;function xO(){if(KS)return gt;KS=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.portal"),c=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),h=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),E=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),R=Symbol.iterator;function z(A){return A===null||typeof A!="object"?null:(A=R&&A[R]||A["@@iterator"],typeof A=="function"?A:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Y=Object.assign,le={};function X(A,K,ce){this.props=A,this.context=K,this.refs=le,this.updater=ce||_}X.prototype.isReactComponent={},X.prototype.setState=function(A,K){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,K,"setState")},X.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function k(){}k.prototype=X.prototype;function L(A,K,ce){this.props=A,this.context=K,this.refs=le,this.updater=ce||_}var D=L.prototype=new k;D.constructor=L,Y(D,X.prototype),D.isPureReactComponent=!0;var oe=Array.isArray,ne={H:null,A:null,T:null,S:null,V:null},Q=Object.prototype.hasOwnProperty;function pe(A,K,ce,U,_e,Ye){return ce=Ye.ref,{$$typeof:a,type:A,key:K,ref:ce!==void 0?ce:null,props:Ye}}function we(A,K){return pe(A.type,K,void 0,void 0,void 0,A.props)}function Se(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function He(A){var K={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ce){return K[ce]})}var be=/\/+/g;function Ee(A,K){return typeof A=="object"&&A!==null&&A.key!=null?He(""+A.key):K.toString(36)}function Qe(){}function ke(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(Qe,Qe):(A.status="pending",A.then(function(K){A.status==="pending"&&(A.status="fulfilled",A.value=K)},function(K){A.status==="pending"&&(A.status="rejected",A.reason=K)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function Te(A,K,ce,U,_e){var Ye=typeof A;(Ye==="undefined"||Ye==="boolean")&&(A=null);var Oe=!1;if(A===null)Oe=!0;else switch(Ye){case"bigint":case"string":case"number":Oe=!0;break;case"object":switch(A.$$typeof){case a:case u:Oe=!0;break;case O:return Oe=A._init,Te(Oe(A._payload),K,ce,U,_e)}}if(Oe)return _e=_e(A),Oe=U===""?"."+Ee(A,0):U,oe(_e)?(ce="",Oe!=null&&(ce=Oe.replace(be,"$&/")+"/"),Te(_e,K,ce,"",function(Bt){return Bt})):_e!=null&&(Se(_e)&&(_e=we(_e,ce+(_e.key==null||A&&A.key===_e.key?"":(""+_e.key).replace(be,"$&/")+"/")+Oe)),K.push(_e)),1;Oe=0;var Wt=U===""?".":U+":";if(oe(A))for(var Ie=0;Ie<A.length;Ie++)U=A[Ie],Ye=Wt+Ee(U,Ie),Oe+=Te(U,K,ce,Ye,_e);else if(Ie=z(A),typeof Ie=="function")for(A=Ie.call(A),Ie=0;!(U=A.next()).done;)U=U.value,Ye=Wt+Ee(U,Ie++),Oe+=Te(U,K,ce,Ye,_e);else if(Ye==="object"){if(typeof A.then=="function")return Te(ke(A),K,ce,U,_e);throw K=String(A),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return Oe}function q(A,K,ce){if(A==null)return A;var U=[],_e=0;return Te(A,U,"","",function(Ye){return K.call(ce,Ye,_e++)}),U}function F(A){if(A._status===-1){var K=A._result;K=K(),K.then(function(ce){(A._status===0||A._status===-1)&&(A._status=1,A._result=ce)},function(ce){(A._status===0||A._status===-1)&&(A._status=2,A._result=ce)}),A._status===-1&&(A._status=0,A._result=K)}if(A._status===1)return A._result.default;throw A._result}var ge=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)};function Ne(){}return gt.Children={map:q,forEach:function(A,K,ce){q(A,function(){K.apply(this,arguments)},ce)},count:function(A){var K=0;return q(A,function(){K++}),K},toArray:function(A){return q(A,function(K){return K})||[]},only:function(A){if(!Se(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},gt.Component=X,gt.Fragment=c,gt.Profiler=h,gt.PureComponent=L,gt.StrictMode=s,gt.Suspense=T,gt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ne,gt.__COMPILER_RUNTIME={__proto__:null,c:function(A){return ne.H.useMemoCache(A)}},gt.cache=function(A){return function(){return A.apply(null,arguments)}},gt.cloneElement=function(A,K,ce){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var U=Y({},A.props),_e=A.key,Ye=void 0;if(K!=null)for(Oe in K.ref!==void 0&&(Ye=void 0),K.key!==void 0&&(_e=""+K.key),K)!Q.call(K,Oe)||Oe==="key"||Oe==="__self"||Oe==="__source"||Oe==="ref"&&K.ref===void 0||(U[Oe]=K[Oe]);var Oe=arguments.length-2;if(Oe===1)U.children=ce;else if(1<Oe){for(var Wt=Array(Oe),Ie=0;Ie<Oe;Ie++)Wt[Ie]=arguments[Ie+2];U.children=Wt}return pe(A.type,_e,void 0,void 0,Ye,U)},gt.createContext=function(A){return A={$$typeof:v,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:y,_context:A},A},gt.createElement=function(A,K,ce){var U,_e={},Ye=null;if(K!=null)for(U in K.key!==void 0&&(Ye=""+K.key),K)Q.call(K,U)&&U!=="key"&&U!=="__self"&&U!=="__source"&&(_e[U]=K[U]);var Oe=arguments.length-2;if(Oe===1)_e.children=ce;else if(1<Oe){for(var Wt=Array(Oe),Ie=0;Ie<Oe;Ie++)Wt[Ie]=arguments[Ie+2];_e.children=Wt}if(A&&A.defaultProps)for(U in Oe=A.defaultProps,Oe)_e[U]===void 0&&(_e[U]=Oe[U]);return pe(A,Ye,void 0,void 0,null,_e)},gt.createRef=function(){return{current:null}},gt.forwardRef=function(A){return{$$typeof:b,render:A}},gt.isValidElement=Se,gt.lazy=function(A){return{$$typeof:O,_payload:{_status:-1,_result:A},_init:F}},gt.memo=function(A,K){return{$$typeof:E,type:A,compare:K===void 0?null:K}},gt.startTransition=function(A){var K=ne.T,ce={};ne.T=ce;try{var U=A(),_e=ne.S;_e!==null&&_e(ce,U),typeof U=="object"&&U!==null&&typeof U.then=="function"&&U.then(Ne,ge)}catch(Ye){ge(Ye)}finally{ne.T=K}},gt.unstable_useCacheRefresh=function(){return ne.H.useCacheRefresh()},gt.use=function(A){return ne.H.use(A)},gt.useActionState=function(A,K,ce){return ne.H.useActionState(A,K,ce)},gt.useCallback=function(A,K){return ne.H.useCallback(A,K)},gt.useContext=function(A){return ne.H.useContext(A)},gt.useDebugValue=function(){},gt.useDeferredValue=function(A,K){return ne.H.useDeferredValue(A,K)},gt.useEffect=function(A,K,ce){var U=ne.H;if(typeof ce=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return U.useEffect(A,K)},gt.useId=function(){return ne.H.useId()},gt.useImperativeHandle=function(A,K,ce){return ne.H.useImperativeHandle(A,K,ce)},gt.useInsertionEffect=function(A,K){return ne.H.useInsertionEffect(A,K)},gt.useLayoutEffect=function(A,K){return ne.H.useLayoutEffect(A,K)},gt.useMemo=function(A,K){return ne.H.useMemo(A,K)},gt.useOptimistic=function(A,K){return ne.H.useOptimistic(A,K)},gt.useReducer=function(A,K,ce){return ne.H.useReducer(A,K,ce)},gt.useRef=function(A){return ne.H.useRef(A)},gt.useState=function(A){return ne.H.useState(A)},gt.useSyncExternalStore=function(A,K,ce){return ne.H.useSyncExternalStore(A,K,ce)},gt.useTransition=function(){return ne.H.useTransition()},gt.version="19.1.0",gt}var Yp={exports:{}};/**
|
|
11
|
-
* @license React
|
|
12
|
-
* react.development.js
|
|
13
|
-
*
|
|
14
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
15
|
-
*
|
|
16
|
-
* This source code is licensed under the MIT license found in the
|
|
17
|
-
* LICENSE file in the root directory of this source tree.
|
|
18
|
-
*/Yp.exports;var PS;function OO(){return PS||(PS=1,(function(a,u){process.env.NODE_ENV!=="production"&&(function(){function c(C,I){Object.defineProperty(y.prototype,C,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",I[0],I[1])}})}function s(C){return C===null||typeof C!="object"?null:(C=Oa&&C[Oa]||C["@@iterator"],typeof C=="function"?C:null)}function h(C,I){C=(C=C.constructor)&&(C.displayName||C.name)||"ReactClass";var Re=C+"."+I;ru[Re]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",I,C),ru[Re]=!0)}function y(C,I,Re){this.props=C,this.context=I,this.refs=Iu,this.updater=Re||Al}function v(){}function b(C,I,Re){this.props=C,this.context=I,this.refs=Iu,this.updater=Re||Al}function T(C){return""+C}function E(C){try{T(C);var I=!1}catch{I=!0}if(I){I=console;var Re=I.error,De=typeof Symbol=="function"&&Symbol.toStringTag&&C[Symbol.toStringTag]||C.constructor.name||"Object";return Re.call(I,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",De),T(C)}}function O(C){if(C==null)return null;if(typeof C=="function")return C.$$typeof===Br?null:C.displayName||C.name||null;if(typeof C=="string")return C;switch(C){case A:return"Fragment";case ce:return"Profiler";case K:return"StrictMode";case Oe:return"Suspense";case Wt:return"SuspenseList";case Dn:return"Activity"}if(typeof C=="object")switch(typeof C.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),C.$$typeof){case Ne:return"Portal";case _e:return(C.displayName||"Context")+".Provider";case U:return(C._context.displayName||"Context")+".Consumer";case Ye:var I=C.render;return C=C.displayName,C||(C=I.displayName||I.name||"",C=C!==""?"ForwardRef("+C+")":"ForwardRef"),C;case Ie:return I=C.displayName||null,I!==null?I:O(C.type)||"Memo";case Bt:I=C._payload,C=C._init;try{return O(C(I))}catch{}}return null}function R(C){if(C===A)return"<>";if(typeof C=="object"&&C!==null&&C.$$typeof===Bt)return"<...>";try{var I=O(C);return I?"<"+I+">":"<...>"}catch{return"<...>"}}function z(){var C=ut.A;return C===null?null:C.getOwner()}function _(){return Error("react-stack-top-frame")}function Y(C){if(xl.call(C,"key")){var I=Object.getOwnPropertyDescriptor(C,"key").get;if(I&&I.isReactWarning)return!1}return C.key!==void 0}function le(C,I){function Re(){Il||(Il=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",I))}Re.isReactWarning=!0,Object.defineProperty(C,"key",{get:Re,configurable:!0})}function X(){var C=O(this.type);return Lr[C]||(Lr[C]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),C=this.props.ref,C!==void 0?C:null}function k(C,I,Re,De,qe,at,ot,zt){return Re=at.ref,C={$$typeof:ge,type:C,key:I,props:at,_owner:qe},(Re!==void 0?Re:null)!==null?Object.defineProperty(C,"ref",{enumerable:!1,get:X}):Object.defineProperty(C,"ref",{enumerable:!1,value:null}),C._store={},Object.defineProperty(C._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(C,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(C,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ot}),Object.defineProperty(C,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:zt}),Object.freeze&&(Object.freeze(C.props),Object.freeze(C)),C}function L(C,I){return I=k(C.type,I,void 0,void 0,C._owner,C.props,C._debugStack,C._debugTask),C._store&&(I._store.validated=C._store.validated),I}function D(C){return typeof C=="object"&&C!==null&&C.$$typeof===ge}function oe(C){var I={"=":"=0",":":"=2"};return"$"+C.replace(/[=:]/g,function(Re){return I[Re]})}function ne(C,I){return typeof C=="object"&&C!==null&&C.key!=null?(E(C.key),oe(""+C.key)):I.toString(36)}function Q(){}function pe(C){switch(C.status){case"fulfilled":return C.value;case"rejected":throw C.reason;default:switch(typeof C.status=="string"?C.then(Q,Q):(C.status="pending",C.then(function(I){C.status==="pending"&&(C.status="fulfilled",C.value=I)},function(I){C.status==="pending"&&(C.status="rejected",C.reason=I)})),C.status){case"fulfilled":return C.value;case"rejected":throw C.reason}}throw C}function we(C,I,Re,De,qe){var at=typeof C;(at==="undefined"||at==="boolean")&&(C=null);var ot=!1;if(C===null)ot=!0;else switch(at){case"bigint":case"string":case"number":ot=!0;break;case"object":switch(C.$$typeof){case ge:case Ne:ot=!0;break;case Bt:return ot=C._init,we(ot(C._payload),I,Re,De,qe)}}if(ot){ot=C,qe=qe(ot);var zt=De===""?"."+ne(ot,0):De;return mi(qe)?(Re="",zt!=null&&(Re=zt.replace(Ke,"$&/")+"/"),we(qe,I,Re,"",function(Hn){return Hn})):qe!=null&&(D(qe)&&(qe.key!=null&&(ot&&ot.key===qe.key||E(qe.key)),Re=L(qe,Re+(qe.key==null||ot&&ot.key===qe.key?"":(""+qe.key).replace(Ke,"$&/")+"/")+zt),De!==""&&ot!=null&&D(ot)&&ot.key==null&&ot._store&&!ot._store.validated&&(Re._store.validated=2),qe=Re),I.push(qe)),1}if(ot=0,zt=De===""?".":De+":",mi(C))for(var rt=0;rt<C.length;rt++)De=C[rt],at=zt+ne(De,rt),ot+=we(De,I,Re,at,qe);else if(rt=s(C),typeof rt=="function")for(rt===C.entries&&(Xe||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Xe=!0),C=rt.call(C),rt=0;!(De=C.next()).done;)De=De.value,at=zt+ne(De,rt++),ot+=we(De,I,Re,at,qe);else if(at==="object"){if(typeof C.then=="function")return we(pe(C),I,Re,De,qe);throw I=String(C),Error("Objects are not valid as a React child (found: "+(I==="[object Object]"?"object with keys {"+Object.keys(C).join(", ")+"}":I)+"). If you meant to render a collection of children, use an array instead.")}return ot}function Se(C,I,Re){if(C==null)return C;var De=[],qe=0;return we(C,De,"","",function(at){return I.call(Re,at,qe++)}),De}function He(C){if(C._status===-1){var I=C._result;I=I(),I.then(function(Re){(C._status===0||C._status===-1)&&(C._status=1,C._result=Re)},function(Re){(C._status===0||C._status===-1)&&(C._status=2,C._result=Re)}),C._status===-1&&(C._status=0,C._result=I)}if(C._status===1)return I=C._result,I===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
19
|
-
|
|
20
|
-
Your code should look like:
|
|
21
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
22
|
-
|
|
23
|
-
Did you accidentally put curly braces around the import?`,I),"default"in I||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
24
|
-
|
|
25
|
-
Your code should look like:
|
|
26
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,I),I.default;throw C._result}function be(){var C=ut.H;return C===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
27
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
28
|
-
2. You might be breaking the Rules of Hooks
|
|
29
|
-
3. You might have more than one copy of React in the same app
|
|
30
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),C}function Ee(){}function Qe(C){if(La===null)try{var I=("require"+Math.random()).slice(0,7);La=(a&&a[I]).call(a,"timers").setImmediate}catch{La=function(De){la===!1&&(la=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var qe=new MessageChannel;qe.port1.onmessage=De,qe.port2.postMessage(void 0)}}return La(C)}function ke(C){return 1<C.length&&typeof AggregateError=="function"?new AggregateError(C):C[0]}function Te(C,I){I!==Nn-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Nn=I}function q(C,I,Re){var De=ut.actQueue;if(De!==null)if(De.length!==0)try{F(De),Qe(function(){return q(C,I,Re)});return}catch(qe){ut.thrownErrors.push(qe)}else ut.actQueue=null;0<ut.thrownErrors.length?(De=ke(ut.thrownErrors),ut.thrownErrors.length=0,Re(De)):I(C)}function F(C){if(!mn){mn=!0;var I=0;try{for(;I<C.length;I++){var Re=C[I];do{ut.didUsePromise=!1;var De=Re(!1);if(De!==null){if(ut.didUsePromise){C[I]=Re,C.splice(0,I);return}Re=De}else break}while(!0)}C.length=0}catch(qe){C.splice(0,I+1),ut.thrownErrors.push(qe)}finally{mn=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ge=Symbol.for("react.transitional.element"),Ne=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),ce=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),_e=Symbol.for("react.context"),Ye=Symbol.for("react.forward_ref"),Oe=Symbol.for("react.suspense"),Wt=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Bt=Symbol.for("react.lazy"),Dn=Symbol.for("react.activity"),Oa=Symbol.iterator,ru={},Al={isMounted:function(){return!1},enqueueForceUpdate:function(C){h(C,"forceUpdate")},enqueueReplaceState:function(C){h(C,"replaceState")},enqueueSetState:function(C){h(C,"setState")}},Qu=Object.assign,Iu={};Object.freeze(Iu),y.prototype.isReactComponent={},y.prototype.setState=function(C,I){if(typeof C!="object"&&typeof C!="function"&&C!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,C,I,"setState")},y.prototype.forceUpdate=function(C){this.updater.enqueueForceUpdate(this,C,"forceUpdate")};var pn={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Mn;for(Mn in pn)pn.hasOwnProperty(Mn)&&c(Mn,pn[Mn]);v.prototype=y.prototype,pn=b.prototype=new v,pn.constructor=b,Qu(pn,y.prototype),pn.isPureReactComponent=!0;var mi=Array.isArray,Br=Symbol.for("react.client.reference"),ut={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},xl=Object.prototype.hasOwnProperty,Ju=console.createTask?console.createTask:function(){return null};pn={"react-stack-bottom-frame":function(C){return C()}};var Il,Wo,Lr={},de=pn["react-stack-bottom-frame"].bind(pn,_)(),xe=Ju(R(_)),Xe=!1,Ke=/\/+/g,Dt=typeof reportError=="function"?reportError:function(C){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var I=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof C=="object"&&C!==null&&typeof C.message=="string"?String(C.message):String(C),error:C});if(!window.dispatchEvent(I))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",C);return}console.error(C)},la=!1,La=null,Nn=0,Un=!1,mn=!1,en=typeof queueMicrotask=="function"?function(C){queueMicrotask(function(){return queueMicrotask(C)})}:Qe;pn=Object.freeze({__proto__:null,c:function(C){return be().useMemoCache(C)}}),u.Children={map:Se,forEach:function(C,I,Re){Se(C,function(){I.apply(this,arguments)},Re)},count:function(C){var I=0;return Se(C,function(){I++}),I},toArray:function(C){return Se(C,function(I){return I})||[]},only:function(C){if(!D(C))throw Error("React.Children.only expected to receive a single React element child.");return C}},u.Component=y,u.Fragment=A,u.Profiler=ce,u.PureComponent=b,u.StrictMode=K,u.Suspense=Oe,u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ut,u.__COMPILER_RUNTIME=pn,u.act=function(C){var I=ut.actQueue,Re=Nn;Nn++;var De=ut.actQueue=I!==null?I:[],qe=!1;try{var at=C()}catch(rt){ut.thrownErrors.push(rt)}if(0<ut.thrownErrors.length)throw Te(I,Re),C=ke(ut.thrownErrors),ut.thrownErrors.length=0,C;if(at!==null&&typeof at=="object"&&typeof at.then=="function"){var ot=at;return en(function(){qe||Un||(Un=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(rt,Hn){qe=!0,ot.then(function(Jl){if(Te(I,Re),Re===0){try{F(De),Qe(function(){return q(Jl,rt,Hn)})}catch(gm){ut.thrownErrors.push(gm)}if(0<ut.thrownErrors.length){var Sd=ke(ut.thrownErrors);ut.thrownErrors.length=0,Hn(Sd)}}else rt(Jl)},function(Jl){Te(I,Re),0<ut.thrownErrors.length&&(Jl=ke(ut.thrownErrors),ut.thrownErrors.length=0),Hn(Jl)})}}}var zt=at;if(Te(I,Re),Re===0&&(F(De),De.length!==0&&en(function(){qe||Un||(Un=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),ut.actQueue=null),0<ut.thrownErrors.length)throw C=ke(ut.thrownErrors),ut.thrownErrors.length=0,C;return{then:function(rt,Hn){qe=!0,Re===0?(ut.actQueue=De,Qe(function(){return q(zt,rt,Hn)})):rt(zt)}}},u.cache=function(C){return function(){return C.apply(null,arguments)}},u.captureOwnerStack=function(){var C=ut.getCurrentStack;return C===null?null:C()},u.cloneElement=function(C,I,Re){if(C==null)throw Error("The argument must be a React element, but you passed "+C+".");var De=Qu({},C.props),qe=C.key,at=C._owner;if(I!=null){var ot;e:{if(xl.call(I,"ref")&&(ot=Object.getOwnPropertyDescriptor(I,"ref").get)&&ot.isReactWarning){ot=!1;break e}ot=I.ref!==void 0}ot&&(at=z()),Y(I)&&(E(I.key),qe=""+I.key);for(zt in I)!xl.call(I,zt)||zt==="key"||zt==="__self"||zt==="__source"||zt==="ref"&&I.ref===void 0||(De[zt]=I[zt])}var zt=arguments.length-2;if(zt===1)De.children=Re;else if(1<zt){ot=Array(zt);for(var rt=0;rt<zt;rt++)ot[rt]=arguments[rt+2];De.children=ot}for(De=k(C.type,qe,void 0,void 0,at,De,C._debugStack,C._debugTask),qe=2;qe<arguments.length;qe++)at=arguments[qe],D(at)&&at._store&&(at._store.validated=1);return De},u.createContext=function(C){return C={$$typeof:_e,_currentValue:C,_currentValue2:C,_threadCount:0,Provider:null,Consumer:null},C.Provider=C,C.Consumer={$$typeof:U,_context:C},C._currentRenderer=null,C._currentRenderer2=null,C},u.createElement=function(C,I,Re){for(var De=2;De<arguments.length;De++){var qe=arguments[De];D(qe)&&qe._store&&(qe._store.validated=1)}if(De={},qe=null,I!=null)for(rt in Wo||!("__self"in I)||"key"in I||(Wo=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),Y(I)&&(E(I.key),qe=""+I.key),I)xl.call(I,rt)&&rt!=="key"&&rt!=="__self"&&rt!=="__source"&&(De[rt]=I[rt]);var at=arguments.length-2;if(at===1)De.children=Re;else if(1<at){for(var ot=Array(at),zt=0;zt<at;zt++)ot[zt]=arguments[zt+2];Object.freeze&&Object.freeze(ot),De.children=ot}if(C&&C.defaultProps)for(rt in at=C.defaultProps,at)De[rt]===void 0&&(De[rt]=at[rt]);qe&&le(De,typeof C=="function"?C.displayName||C.name||"Unknown":C);var rt=1e4>ut.recentlyCreatedOwnerStacks++;return k(C,qe,void 0,void 0,z(),De,rt?Error("react-stack-top-frame"):de,rt?Ju(R(C)):xe)},u.createRef=function(){var C={current:null};return Object.seal(C),C},u.forwardRef=function(C){C!=null&&C.$$typeof===Ie?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof C!="function"?console.error("forwardRef requires a render function but was given %s.",C===null?"null":typeof C):C.length!==0&&C.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",C.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),C!=null&&C.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var I={$$typeof:Ye,render:C},Re;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Re},set:function(De){Re=De,C.name||C.displayName||(Object.defineProperty(C,"name",{value:De}),C.displayName=De)}}),I},u.isValidElement=D,u.lazy=function(C){return{$$typeof:Bt,_payload:{_status:-1,_result:C},_init:He}},u.memo=function(C,I){C==null&&console.error("memo: The first argument must be a component. Instead received: %s",C===null?"null":typeof C),I={$$typeof:Ie,type:C,compare:I===void 0?null:I};var Re;return Object.defineProperty(I,"displayName",{enumerable:!1,configurable:!0,get:function(){return Re},set:function(De){Re=De,C.name||C.displayName||(Object.defineProperty(C,"name",{value:De}),C.displayName=De)}}),I},u.startTransition=function(C){var I=ut.T,Re={};ut.T=Re,Re._updatedFibers=new Set;try{var De=C(),qe=ut.S;qe!==null&&qe(Re,De),typeof De=="object"&&De!==null&&typeof De.then=="function"&&De.then(Ee,Dt)}catch(at){Dt(at)}finally{I===null&&Re._updatedFibers&&(C=Re._updatedFibers.size,Re._updatedFibers.clear(),10<C&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),ut.T=I}},u.unstable_useCacheRefresh=function(){return be().useCacheRefresh()},u.use=function(C){return be().use(C)},u.useActionState=function(C,I,Re){return be().useActionState(C,I,Re)},u.useCallback=function(C,I){return be().useCallback(C,I)},u.useContext=function(C){var I=be();return C.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),I.useContext(C)},u.useDebugValue=function(C,I){return be().useDebugValue(C,I)},u.useDeferredValue=function(C,I){return be().useDeferredValue(C,I)},u.useEffect=function(C,I,Re){C==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var De=be();if(typeof Re=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return De.useEffect(C,I)},u.useId=function(){return be().useId()},u.useImperativeHandle=function(C,I,Re){return be().useImperativeHandle(C,I,Re)},u.useInsertionEffect=function(C,I){return C==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),be().useInsertionEffect(C,I)},u.useLayoutEffect=function(C,I){return C==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),be().useLayoutEffect(C,I)},u.useMemo=function(C,I){return be().useMemo(C,I)},u.useOptimistic=function(C,I){return be().useOptimistic(C,I)},u.useReducer=function(C,I,Re){return be().useReducer(C,I,Re)},u.useRef=function(C){return be().useRef(C)},u.useState=function(C){return be().useState(C)},u.useSyncExternalStore=function(C,I,Re){return be().useSyncExternalStore(C,I,Re)},u.useTransition=function(){return be().useTransition()},u.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Yp,Yp.exports)),Yp.exports}var FS;function rd(){return FS||(FS=1,process.env.NODE_ENV==="production"?uv.exports=xO():uv.exports=OO()),uv.exports}var bn=rd(),rv={exports:{}},Vp={},ov={exports:{}},Ob={};/**
|
|
31
|
-
* @license React
|
|
32
|
-
* scheduler.production.js
|
|
33
|
-
*
|
|
34
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the MIT license found in the
|
|
37
|
-
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/var WS;function RO(){return WS||(WS=1,(function(a){function u(q,F){var ge=q.length;q.push(F);e:for(;0<ge;){var Ne=ge-1>>>1,A=q[Ne];if(0<h(A,F))q[Ne]=F,q[ge]=A,ge=Ne;else break e}}function c(q){return q.length===0?null:q[0]}function s(q){if(q.length===0)return null;var F=q[0],ge=q.pop();if(ge!==F){q[0]=ge;e:for(var Ne=0,A=q.length,K=A>>>1;Ne<K;){var ce=2*(Ne+1)-1,U=q[ce],_e=ce+1,Ye=q[_e];if(0>h(U,ge))_e<A&&0>h(Ye,U)?(q[Ne]=Ye,q[_e]=ge,Ne=_e):(q[Ne]=U,q[ce]=ge,Ne=ce);else if(_e<A&&0>h(Ye,ge))q[Ne]=Ye,q[_e]=ge,Ne=_e;else break e}}return F}function h(q,F){var ge=q.sortIndex-F.sortIndex;return ge!==0?ge:q.id-F.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var y=performance;a.unstable_now=function(){return y.now()}}else{var v=Date,b=v.now();a.unstable_now=function(){return v.now()-b}}var T=[],E=[],O=1,R=null,z=3,_=!1,Y=!1,le=!1,X=!1,k=typeof setTimeout=="function"?setTimeout:null,L=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function oe(q){for(var F=c(E);F!==null;){if(F.callback===null)s(E);else if(F.startTime<=q)s(E),F.sortIndex=F.expirationTime,u(T,F);else break;F=c(E)}}function ne(q){if(le=!1,oe(q),!Y)if(c(T)!==null)Y=!0,Q||(Q=!0,Ee());else{var F=c(E);F!==null&&Te(ne,F.startTime-q)}}var Q=!1,pe=-1,we=5,Se=-1;function He(){return X?!0:!(a.unstable_now()-Se<we)}function be(){if(X=!1,Q){var q=a.unstable_now();Se=q;var F=!0;try{e:{Y=!1,le&&(le=!1,L(pe),pe=-1),_=!0;var ge=z;try{t:{for(oe(q),R=c(T);R!==null&&!(R.expirationTime>q&&He());){var Ne=R.callback;if(typeof Ne=="function"){R.callback=null,z=R.priorityLevel;var A=Ne(R.expirationTime<=q);if(q=a.unstable_now(),typeof A=="function"){R.callback=A,oe(q),F=!0;break t}R===c(T)&&s(T),oe(q)}else s(T);R=c(T)}if(R!==null)F=!0;else{var K=c(E);K!==null&&Te(ne,K.startTime-q),F=!1}}break e}finally{R=null,z=ge,_=!1}F=void 0}}finally{F?Ee():Q=!1}}}var Ee;if(typeof D=="function")Ee=function(){D(be)};else if(typeof MessageChannel<"u"){var Qe=new MessageChannel,ke=Qe.port2;Qe.port1.onmessage=be,Ee=function(){ke.postMessage(null)}}else Ee=function(){k(be,0)};function Te(q,F){pe=k(function(){q(a.unstable_now())},F)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(q){q.callback=null},a.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):we=0<q?Math.floor(1e3/q):5},a.unstable_getCurrentPriorityLevel=function(){return z},a.unstable_next=function(q){switch(z){case 1:case 2:case 3:var F=3;break;default:F=z}var ge=z;z=F;try{return q()}finally{z=ge}},a.unstable_requestPaint=function(){X=!0},a.unstable_runWithPriority=function(q,F){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var ge=z;z=q;try{return F()}finally{z=ge}},a.unstable_scheduleCallback=function(q,F,ge){var Ne=a.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?Ne+ge:Ne):ge=Ne,q){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=ge+A,q={id:O++,callback:F,priorityLevel:q,startTime:ge,expirationTime:A,sortIndex:-1},ge>Ne?(q.sortIndex=ge,u(E,q),c(T)===null&&q===c(E)&&(le?(L(pe),pe=-1):le=!0,Te(ne,ge-Ne))):(q.sortIndex=A,u(T,q),Y||_||(Y=!0,Q||(Q=!0,Ee()))),q},a.unstable_shouldYield=He,a.unstable_wrapCallback=function(q){var F=z;return function(){var ge=z;z=F;try{return q.apply(this,arguments)}finally{z=ge}}}})(Ob)),Ob}var Rb={};/**
|
|
39
|
-
* @license React
|
|
40
|
-
* scheduler.development.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/var eE;function wO(){return eE||(eE=1,(function(a){process.env.NODE_ENV!=="production"&&(function(){function u(){if(ne=!1,Se){var q=a.unstable_now();Ee=q;var F=!0;try{e:{D=!1,oe&&(oe=!1,pe(He),He=-1),L=!0;var ge=k;try{t:{for(v(q),X=s(_);X!==null&&!(X.expirationTime>q&&T());){var Ne=X.callback;if(typeof Ne=="function"){X.callback=null,k=X.priorityLevel;var A=Ne(X.expirationTime<=q);if(q=a.unstable_now(),typeof A=="function"){X.callback=A,v(q),F=!0;break t}X===s(_)&&h(_),v(q)}else h(_);X=s(_)}if(X!==null)F=!0;else{var K=s(Y);K!==null&&E(b,K.startTime-q),F=!1}}break e}finally{X=null,k=ge,L=!1}F=void 0}}finally{F?Qe():Se=!1}}}function c(q,F){var ge=q.length;q.push(F);e:for(;0<ge;){var Ne=ge-1>>>1,A=q[Ne];if(0<y(A,F))q[Ne]=F,q[ge]=A,ge=Ne;else break e}}function s(q){return q.length===0?null:q[0]}function h(q){if(q.length===0)return null;var F=q[0],ge=q.pop();if(ge!==F){q[0]=ge;e:for(var Ne=0,A=q.length,K=A>>>1;Ne<K;){var ce=2*(Ne+1)-1,U=q[ce],_e=ce+1,Ye=q[_e];if(0>y(U,ge))_e<A&&0>y(Ye,U)?(q[Ne]=Ye,q[_e]=ge,Ne=_e):(q[Ne]=U,q[ce]=ge,Ne=ce);else if(_e<A&&0>y(Ye,ge))q[Ne]=Ye,q[_e]=ge,Ne=_e;else break e}}return F}function y(q,F){var ge=q.sortIndex-F.sortIndex;return ge!==0?ge:q.id-F.id}function v(q){for(var F=s(Y);F!==null;){if(F.callback===null)h(Y);else if(F.startTime<=q)h(Y),F.sortIndex=F.expirationTime,c(_,F);else break;F=s(Y)}}function b(q){if(oe=!1,v(q),!D)if(s(_)!==null)D=!0,Se||(Se=!0,Qe());else{var F=s(Y);F!==null&&E(b,F.startTime-q)}}function T(){return ne?!0:!(a.unstable_now()-Ee<be)}function E(q,F){He=Q(function(){q(a.unstable_now())},F)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var O=performance;a.unstable_now=function(){return O.now()}}else{var R=Date,z=R.now();a.unstable_now=function(){return R.now()-z}}var _=[],Y=[],le=1,X=null,k=3,L=!1,D=!1,oe=!1,ne=!1,Q=typeof setTimeout=="function"?setTimeout:null,pe=typeof clearTimeout=="function"?clearTimeout:null,we=typeof setImmediate<"u"?setImmediate:null,Se=!1,He=-1,be=5,Ee=-1;if(typeof we=="function")var Qe=function(){we(u)};else if(typeof MessageChannel<"u"){var ke=new MessageChannel,Te=ke.port2;ke.port1.onmessage=u,Qe=function(){Te.postMessage(null)}}else Qe=function(){Q(u,0)};a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(q){q.callback=null},a.unstable_forceFrameRate=function(q){0>q||125<q?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):be=0<q?Math.floor(1e3/q):5},a.unstable_getCurrentPriorityLevel=function(){return k},a.unstable_next=function(q){switch(k){case 1:case 2:case 3:var F=3;break;default:F=k}var ge=k;k=F;try{return q()}finally{k=ge}},a.unstable_requestPaint=function(){ne=!0},a.unstable_runWithPriority=function(q,F){switch(q){case 1:case 2:case 3:case 4:case 5:break;default:q=3}var ge=k;k=q;try{return F()}finally{k=ge}},a.unstable_scheduleCallback=function(q,F,ge){var Ne=a.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?Ne+ge:Ne):ge=Ne,q){case 1:var A=-1;break;case 2:A=250;break;case 5:A=1073741823;break;case 4:A=1e4;break;default:A=5e3}return A=ge+A,q={id:le++,callback:F,priorityLevel:q,startTime:ge,expirationTime:A,sortIndex:-1},ge>Ne?(q.sortIndex=ge,c(Y,q),s(_)===null&&q===s(Y)&&(oe?(pe(He),He=-1):oe=!0,E(b,ge-Ne))):(q.sortIndex=A,c(_,q),D||L||(D=!0,Se||(Se=!0,Qe()))),q},a.unstable_shouldYield=T,a.unstable_wrapCallback=function(q){var F=k;return function(){var ge=k;k=F;try{return q.apply(this,arguments)}finally{k=ge}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(Rb)),Rb}var tE;function nE(){return tE||(tE=1,process.env.NODE_ENV==="production"?ov.exports=RO():ov.exports=wO()),ov.exports}var cv={exports:{}},Ha={};/**
|
|
47
|
-
* @license React
|
|
48
|
-
* react-dom.production.js
|
|
49
|
-
*
|
|
50
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
51
|
-
*
|
|
52
|
-
* This source code is licensed under the MIT license found in the
|
|
53
|
-
* LICENSE file in the root directory of this source tree.
|
|
54
|
-
*/var aE;function zO(){if(aE)return Ha;aE=1;var a=rd();function u(T){var E="https://react.dev/errors/"+T;if(1<arguments.length){E+="?args[]="+encodeURIComponent(arguments[1]);for(var O=2;O<arguments.length;O++)E+="&args[]="+encodeURIComponent(arguments[O])}return"Minified React error #"+T+"; visit "+E+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function c(){}var s={d:{f:c,r:function(){throw Error(u(522))},D:c,C:c,L:c,m:c,X:c,S:c,M:c},p:0,findDOMNode:null},h=Symbol.for("react.portal");function y(T,E,O){var R=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:h,key:R==null?null:""+R,children:T,containerInfo:E,implementation:O}}var v=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function b(T,E){if(T==="font")return"";if(typeof E=="string")return E==="use-credentials"?E:""}return Ha.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=s,Ha.createPortal=function(T,E){var O=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!E||E.nodeType!==1&&E.nodeType!==9&&E.nodeType!==11)throw Error(u(299));return y(T,E,null,O)},Ha.flushSync=function(T){var E=v.T,O=s.p;try{if(v.T=null,s.p=2,T)return T()}finally{v.T=E,s.p=O,s.d.f()}},Ha.preconnect=function(T,E){typeof T=="string"&&(E?(E=E.crossOrigin,E=typeof E=="string"?E==="use-credentials"?E:"":void 0):E=null,s.d.C(T,E))},Ha.prefetchDNS=function(T){typeof T=="string"&&s.d.D(T)},Ha.preinit=function(T,E){if(typeof T=="string"&&E&&typeof E.as=="string"){var O=E.as,R=b(O,E.crossOrigin),z=typeof E.integrity=="string"?E.integrity:void 0,_=typeof E.fetchPriority=="string"?E.fetchPriority:void 0;O==="style"?s.d.S(T,typeof E.precedence=="string"?E.precedence:void 0,{crossOrigin:R,integrity:z,fetchPriority:_}):O==="script"&&s.d.X(T,{crossOrigin:R,integrity:z,fetchPriority:_,nonce:typeof E.nonce=="string"?E.nonce:void 0})}},Ha.preinitModule=function(T,E){if(typeof T=="string")if(typeof E=="object"&&E!==null){if(E.as==null||E.as==="script"){var O=b(E.as,E.crossOrigin);s.d.M(T,{crossOrigin:O,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0})}}else E==null&&s.d.M(T)},Ha.preload=function(T,E){if(typeof T=="string"&&typeof E=="object"&&E!==null&&typeof E.as=="string"){var O=E.as,R=b(O,E.crossOrigin);s.d.L(T,O,{crossOrigin:R,integrity:typeof E.integrity=="string"?E.integrity:void 0,nonce:typeof E.nonce=="string"?E.nonce:void 0,type:typeof E.type=="string"?E.type:void 0,fetchPriority:typeof E.fetchPriority=="string"?E.fetchPriority:void 0,referrerPolicy:typeof E.referrerPolicy=="string"?E.referrerPolicy:void 0,imageSrcSet:typeof E.imageSrcSet=="string"?E.imageSrcSet:void 0,imageSizes:typeof E.imageSizes=="string"?E.imageSizes:void 0,media:typeof E.media=="string"?E.media:void 0})}},Ha.preloadModule=function(T,E){if(typeof T=="string")if(E){var O=b(E.as,E.crossOrigin);s.d.m(T,{as:typeof E.as=="string"&&E.as!=="script"?E.as:void 0,crossOrigin:O,integrity:typeof E.integrity=="string"?E.integrity:void 0})}else s.d.m(T)},Ha.requestFormReset=function(T){s.d.r(T)},Ha.unstable_batchedUpdates=function(T,E){return T(E)},Ha.useFormState=function(T,E,O){return v.H.useFormState(T,E,O)},Ha.useFormStatus=function(){return v.H.useHostTransitionStatus()},Ha.version="19.1.0",Ha}var ja={};/**
|
|
55
|
-
* @license React
|
|
56
|
-
* react-dom.development.js
|
|
57
|
-
*
|
|
58
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
59
|
-
*
|
|
60
|
-
* This source code is licensed under the MIT license found in the
|
|
61
|
-
* LICENSE file in the root directory of this source tree.
|
|
62
|
-
*/var lE;function _O(){return lE||(lE=1,process.env.NODE_ENV!=="production"&&(function(){function a(){}function u(R){return""+R}function c(R,z,_){var Y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{u(Y);var le=!1}catch{le=!0}return le&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&Y[Symbol.toStringTag]||Y.constructor.name||"Object"),u(Y)),{$$typeof:E,key:Y==null?null:""+Y,children:R,containerInfo:z,implementation:_}}function s(R,z){if(R==="font")return"";if(typeof z=="string")return z==="use-credentials"?z:""}function h(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":'something with type "'+typeof R+'"'}function y(R){return R===null?"`null`":R===void 0?"`undefined`":R===""?"an empty string":typeof R=="string"?JSON.stringify(R):typeof R=="number"?"`"+R+"`":'something with type "'+typeof R+'"'}function v(){var R=O.H;return R===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
63
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
64
|
-
2. You might be breaking the Rules of Hooks
|
|
65
|
-
3. You might have more than one copy of React in the same app
|
|
66
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),R}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var b=rd(),T={d:{f:a,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},E=Symbol.for("react.portal"),O=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ja.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=T,ja.createPortal=function(R,z){var _=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!z||z.nodeType!==1&&z.nodeType!==9&&z.nodeType!==11)throw Error("Target container is not a DOM element.");return c(R,z,null,_)},ja.flushSync=function(R){var z=O.T,_=T.p;try{if(O.T=null,T.p=2,R)return R()}finally{O.T=z,T.p=_,T.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ja.preconnect=function(R,z){typeof R=="string"&&R?z!=null&&typeof z!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",y(z)):z!=null&&typeof z.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",h(z.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R)),typeof R=="string"&&(z?(z=z.crossOrigin,z=typeof z=="string"?z==="use-credentials"?z:"":void 0):z=null,T.d.C(R,z))},ja.prefetchDNS=function(R){if(typeof R!="string"||!R)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R));else if(1<arguments.length){var z=arguments[1];typeof z=="object"&&z.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(z)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",y(z))}typeof R=="string"&&T.d.D(R)},ja.preinit=function(R,z){if(typeof R=="string"&&R?z==null||typeof z!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",y(z)):z.as!=="style"&&z.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',y(z.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",h(R)),typeof R=="string"&&z&&typeof z.as=="string"){var _=z.as,Y=s(_,z.crossOrigin),le=typeof z.integrity=="string"?z.integrity:void 0,X=typeof z.fetchPriority=="string"?z.fetchPriority:void 0;_==="style"?T.d.S(R,typeof z.precedence=="string"?z.precedence:void 0,{crossOrigin:Y,integrity:le,fetchPriority:X}):_==="script"&&T.d.X(R,{crossOrigin:Y,integrity:le,fetchPriority:X,nonce:typeof z.nonce=="string"?z.nonce:void 0})}},ja.preinitModule=function(R,z){var _="";if(typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z!==void 0&&typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":z&&"as"in z&&z.as!=="script"&&(_+=" The `as` option encountered was "+y(z.as)+"."),_)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",_);else switch(_=z&&typeof z.as=="string"?z.as:"script",_){case"script":break;default:_=y(_),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',_,R)}typeof R=="string"&&(typeof z=="object"&&z!==null?(z.as==null||z.as==="script")&&(_=s(z.as,z.crossOrigin),T.d.M(R,{crossOrigin:_,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0})):z==null&&T.d.M(R))},ja.preload=function(R,z){var _="";if(typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z==null||typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":typeof z.as=="string"&&z.as||(_+=" The `as` option encountered was "+h(z.as)+"."),_&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',_),typeof R=="string"&&typeof z=="object"&&z!==null&&typeof z.as=="string"){_=z.as;var Y=s(_,z.crossOrigin);T.d.L(R,_,{crossOrigin:Y,integrity:typeof z.integrity=="string"?z.integrity:void 0,nonce:typeof z.nonce=="string"?z.nonce:void 0,type:typeof z.type=="string"?z.type:void 0,fetchPriority:typeof z.fetchPriority=="string"?z.fetchPriority:void 0,referrerPolicy:typeof z.referrerPolicy=="string"?z.referrerPolicy:void 0,imageSrcSet:typeof z.imageSrcSet=="string"?z.imageSrcSet:void 0,imageSizes:typeof z.imageSizes=="string"?z.imageSizes:void 0,media:typeof z.media=="string"?z.media:void 0})}},ja.preloadModule=function(R,z){var _="";typeof R=="string"&&R||(_+=" The `href` argument encountered was "+h(R)+"."),z!==void 0&&typeof z!="object"?_+=" The `options` argument encountered was "+h(z)+".":z&&"as"in z&&typeof z.as!="string"&&(_+=" The `as` option encountered was "+h(z.as)+"."),_&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',_),typeof R=="string"&&(z?(_=s(z.as,z.crossOrigin),T.d.m(R,{as:typeof z.as=="string"&&z.as!=="script"?z.as:void 0,crossOrigin:_,integrity:typeof z.integrity=="string"?z.integrity:void 0})):T.d.m(R))},ja.requestFormReset=function(R){T.d.r(R)},ja.unstable_batchedUpdates=function(R,z){return R(z)},ja.useFormState=function(R,z,_){return v().useFormState(R,z,_)},ja.useFormStatus=function(){return v().useHostTransitionStatus()},ja.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ja}var iE;function uE(){if(iE)return cv.exports;iE=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(a(),cv.exports=zO()):cv.exports=_O(),cv.exports}/**
|
|
67
|
-
* @license React
|
|
68
|
-
* react-dom-client.production.js
|
|
69
|
-
*
|
|
70
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
71
|
-
*
|
|
72
|
-
* This source code is licensed under the MIT license found in the
|
|
73
|
-
* LICENSE file in the root directory of this source tree.
|
|
74
|
-
*/var rE;function CO(){if(rE)return Vp;rE=1;var a=nE(),u=rd(),c=uE();function s(n){var i="https://react.dev/errors/"+n;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)i+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function h(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function y(n){var i=n,r=n;if(n.alternate)for(;i.return;)i=i.return;else{n=i;do i=n,(i.flags&4098)!==0&&(r=i.return),n=i.return;while(n)}return i.tag===3?r:null}function v(n){if(n.tag===13){var i=n.memoizedState;if(i===null&&(n=n.alternate,n!==null&&(i=n.memoizedState)),i!==null)return i.dehydrated}return null}function b(n){if(y(n)!==n)throw Error(s(188))}function T(n){var i=n.alternate;if(!i){if(i=y(n),i===null)throw Error(s(188));return i!==n?null:n}for(var r=n,f=i;;){var m=r.return;if(m===null)break;var g=m.alternate;if(g===null){if(f=m.return,f!==null){r=f;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===r)return b(m),n;if(g===f)return b(m),i;g=g.sibling}throw Error(s(188))}if(r.return!==f.return)r=m,f=g;else{for(var w=!1,M=m.child;M;){if(M===r){w=!0,r=m,f=g;break}if(M===f){w=!0,f=m,r=g;break}M=M.sibling}if(!w){for(M=g.child;M;){if(M===r){w=!0,r=g,f=m;break}if(M===f){w=!0,f=g,r=m;break}M=M.sibling}if(!w)throw Error(s(189))}}if(r.alternate!==f)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?n:i}function E(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n;for(n=n.child;n!==null;){if(i=E(n),i!==null)return i;n=n.sibling}return null}var O=Object.assign,R=Symbol.for("react.element"),z=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),Y=Symbol.for("react.fragment"),le=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),L=Symbol.for("react.consumer"),D=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Se=Symbol.for("react.activity"),He=Symbol.for("react.memo_cache_sentinel"),be=Symbol.iterator;function Ee(n){return n===null||typeof n!="object"?null:(n=be&&n[be]||n["@@iterator"],typeof n=="function"?n:null)}var Qe=Symbol.for("react.client.reference");function ke(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===Qe?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case Y:return"Fragment";case X:return"Profiler";case le:return"StrictMode";case ne:return"Suspense";case Q:return"SuspenseList";case Se:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case _:return"Portal";case D:return(n.displayName||"Context")+".Provider";case L:return(n._context.displayName||"Context")+".Consumer";case oe:var i=n.render;return n=n.displayName,n||(n=i.displayName||i.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case pe:return i=n.displayName||null,i!==null?i:ke(n.type)||"Memo";case we:i=n._payload,n=n._init;try{return ke(n(i))}catch{}}return null}var Te=Array.isArray,q=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=c.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge={pending:!1,data:null,method:null,action:null},Ne=[],A=-1;function K(n){return{current:n}}function ce(n){0>A||(n.current=Ne[A],Ne[A]=null,A--)}function U(n,i){A++,Ne[A]=n.current,n.current=i}var _e=K(null),Ye=K(null),Oe=K(null),Wt=K(null);function Ie(n,i){switch(U(Oe,i),U(Ye,n),U(_e,null),i.nodeType){case 9:case 11:n=(n=i.documentElement)&&(n=n.namespaceURI)?_u(n):0;break;default:if(n=i.tagName,i=i.namespaceURI)i=_u(i),n=Gc(i,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}ce(_e),U(_e,n)}function Bt(){ce(_e),ce(Ye),ce(Oe)}function Dn(n){n.memoizedState!==null&&U(Wt,n);var i=_e.current,r=Gc(i,n.type);i!==r&&(U(Ye,n),U(_e,r))}function Oa(n){Ye.current===n&&(ce(_e),ce(Ye)),Wt.current===n&&(ce(Wt),Wa._currentValue=ge)}var ru=Object.prototype.hasOwnProperty,Al=a.unstable_scheduleCallback,Qu=a.unstable_cancelCallback,Iu=a.unstable_shouldYield,pn=a.unstable_requestPaint,Mn=a.unstable_now,mi=a.unstable_getCurrentPriorityLevel,Br=a.unstable_ImmediatePriority,ut=a.unstable_UserBlockingPriority,xl=a.unstable_NormalPriority,Ju=a.unstable_LowPriority,Il=a.unstable_IdlePriority,Wo=a.log,Lr=a.unstable_setDisableYieldValue,de=null,xe=null;function Xe(n){if(typeof Wo=="function"&&Lr(n),xe&&typeof xe.setStrictMode=="function")try{xe.setStrictMode(de,n)}catch{}}var Ke=Math.clz32?Math.clz32:La,Dt=Math.log,la=Math.LN2;function La(n){return n>>>=0,n===0?32:31-(Dt(n)/la|0)|0}var Nn=256,Un=4194304;function mn(n){var i=n&42;if(i!==0)return i;switch(n&-n){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 n&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function en(n,i,r){var f=n.pendingLanes;if(f===0)return 0;var m=0,g=n.suspendedLanes,w=n.pingedLanes;n=n.warmLanes;var M=f&134217727;return M!==0?(f=M&~g,f!==0?m=mn(f):(w&=M,w!==0?m=mn(w):r||(r=M&~n,r!==0&&(m=mn(r))))):(M=f&~g,M!==0?m=mn(M):w!==0?m=mn(w):r||(r=f&~n,r!==0&&(m=mn(r)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,r=i&-i,g>=r||g===32&&(r&4194048)!==0)?i:m}function C(n,i){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&i)===0}function I(n,i){switch(n){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Re(){var n=Nn;return Nn<<=1,(Nn&4194048)===0&&(Nn=256),n}function De(){var n=Un;return Un<<=1,(Un&62914560)===0&&(Un=4194304),n}function qe(n){for(var i=[],r=0;31>r;r++)i.push(n);return i}function at(n,i){n.pendingLanes|=i,i!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ot(n,i,r,f,m,g){var w=n.pendingLanes;n.pendingLanes=r,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=r,n.entangledLanes&=r,n.errorRecoveryDisabledLanes&=r,n.shellSuspendCounter=0;var M=n.entanglements,j=n.expirationTimes,P=n.hiddenUpdates;for(r=w&~r;0<r;){var he=31-Ke(r),ve=1<<he;M[he]=0,j[he]=-1;var ee=P[he];if(ee!==null)for(P[he]=null,he=0;he<ee.length;he++){var ae=ee[he];ae!==null&&(ae.lane&=-536870913)}r&=~ve}f!==0&&zt(n,f,0),g!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=g&~(w&~i))}function zt(n,i,r){n.pendingLanes|=i,n.suspendedLanes&=~i;var f=31-Ke(i);n.entangledLanes|=i,n.entanglements[f]=n.entanglements[f]|1073741824|r&4194090}function rt(n,i){var r=n.entangledLanes|=i;for(n=n.entanglements;r;){var f=31-Ke(r),m=1<<f;m&i|n[f]&i&&(n[f]|=i),r&=~m}}function Hn(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function Jl(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Sd(){var n=F.p;return n!==0?n:(n=window.event,n===void 0?32:Eg(n.type))}function gm(n,i){var r=F.p;try{return F.p=n,i()}finally{F.p=r}}var Zn=Math.random().toString(36).slice(2),$n="__reactFiber$"+Zn,Ra="__reactProps$"+Zn,ec="__reactContainer$"+Zn,Ed="__reactEvents$"+Zn,kv="__reactListeners$"+Zn,Td="__reactHandles$"+Zn,Uv="__reactResources$"+Zn,Be="__reactMarker$"+Zn;function As(n){delete n[$n],delete n[Ra],delete n[Ed],delete n[kv],delete n[Td]}function ia(n){var i=n[$n];if(i)return i;for(var r=n.parentNode;r;){if(i=r[ec]||r[$n]){if(r=i.alternate,i.child!==null||r!==null&&r.child!==null)for(n=da(n);n!==null;){if(r=n[$n])return r;n=da(n)}return i}n=r,r=n.parentNode}return null}function Zr(n){if(n=n[$n]||n[ec]){var i=n.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return n}return null}function xs(n){var i=n.tag;if(i===5||i===26||i===27||i===6)return n.stateNode;throw Error(s(33))}function ou(n){var i=n[Uv];return i||(i=n[Uv]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function qn(n){n[Be]=!0}var Os=new Set,ll={};function $u(n,i){Ku(n,i),Ku(n+"Capture",i)}function Ku(n,i){for(ll[n]=i,n=0;n<i.length;n++)Os.add(i[n])}var Hv=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ad={},vm={};function jv(n){return ru.call(vm,n)?!0:ru.call(Ad,n)?!1:Hv.test(n)?vm[n]=!0:(Ad[n]=!0,!1)}function cu(n,i,r){if(jv(i))if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(i);return;case"boolean":var f=i.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){n.removeAttribute(i);return}}n.setAttribute(i,""+r)}}function Rs(n,i,r){if(r===null)n.removeAttribute(i);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(i);return}n.setAttribute(i,""+r)}}function yi(n,i,r,f){if(f===null)n.removeAttribute(r);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(i,r,""+f)}}var xd,bm;function qr(n){if(xd===void 0)try{throw Error()}catch(r){var i=r.stack.trim().match(/\n( *(at )?)/);xd=i&&i[1]||"",bm=-1<r.stack.indexOf(`
|
|
75
|
-
at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
76
|
-
`+xd+n+bm}var wa=!1;function Pu(n,i){if(!n||wa)return"";wa=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(i){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ae){var ee=ae}Reflect.construct(n,[],ve)}else{try{ve.call()}catch(ae){ee=ae}n.call(ve.prototype)}}else{try{throw Error()}catch(ae){ee=ae}(ve=n())&&typeof ve.catch=="function"&&ve.catch(function(){})}}catch(ae){if(ae&&ee&&typeof ae.stack=="string")return[ae.stack,ee.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=f.DetermineComponentFrameRoot(),w=g[0],M=g[1];if(w&&M){var j=w.split(`
|
|
77
|
-
`),P=M.split(`
|
|
78
|
-
`);for(m=f=0;f<j.length&&!j[f].includes("DetermineComponentFrameRoot");)f++;for(;m<P.length&&!P[m].includes("DetermineComponentFrameRoot");)m++;if(f===j.length||m===P.length)for(f=j.length-1,m=P.length-1;1<=f&&0<=m&&j[f]!==P[m];)m--;for(;1<=f&&0<=m;f--,m--)if(j[f]!==P[m]){if(f!==1||m!==1)do if(f--,m--,0>m||j[f]!==P[m]){var he=`
|
|
79
|
-
`+j[f].replace(" at new "," at ");return n.displayName&&he.includes("<anonymous>")&&(he=he.replace("<anonymous>",n.displayName)),he}while(1<=f&&0<=m);break}}}finally{wa=!1,Error.prepareStackTrace=r}return(r=n?n.displayName||n.name:"")?qr(r):""}function Yr(n){switch(n.tag){case 26:case 27:case 5:return qr(n.type);case 16:return qr("Lazy");case 13:return qr("Suspense");case 19:return qr("SuspenseList");case 0:case 15:return Pu(n.type,!1);case 11:return Pu(n.type.render,!1);case 1:return Pu(n.type,!0);case 31:return qr("Activity");default:return""}}function Sm(n){try{var i="";do i+=Yr(n),n=n.return;while(n);return i}catch(r){return`
|
|
80
|
-
Error generating stack: `+r.message+`
|
|
81
|
-
`+r.stack}}function ga(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function ws(n){var i=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Em(n){var i=ws(n)?"checked":"value",r=Object.getOwnPropertyDescriptor(n.constructor.prototype,i),f=""+n[i];if(!n.hasOwnProperty(i)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var m=r.get,g=r.set;return Object.defineProperty(n,i,{configurable:!0,get:function(){return m.call(this)},set:function(w){f=""+w,g.call(this,w)}}),Object.defineProperty(n,i,{enumerable:r.enumerable}),{getValue:function(){return f},setValue:function(w){f=""+w},stopTracking:function(){n._valueTracker=null,delete n[i]}}}}function Fu(n){n._valueTracker||(n._valueTracker=Em(n))}function Vr(n){if(!n)return!1;var i=n._valueTracker;if(!i)return!0;var r=i.getValue(),f="";return n&&(f=ws(n)?n.checked?"true":"false":n.value),n=f,n!==r?(i.setValue(n),!0):!1}function tc(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var M1=/[\n"\\]/g;function Ol(n){return n.replace(M1,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Od(n,i,r,f,m,g,w,M){n.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.type=w:n.removeAttribute("type"),i!=null?w==="number"?(i===0&&n.value===""||n.value!=i)&&(n.value=""+ga(i)):n.value!==""+ga(i)&&(n.value=""+ga(i)):w!=="submit"&&w!=="reset"||n.removeAttribute("value"),i!=null?zs(n,w,ga(i)):r!=null?zs(n,w,ga(r)):f!=null&&n.removeAttribute("value"),m==null&&g!=null&&(n.defaultChecked=!!g),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),M!=null&&typeof M!="function"&&typeof M!="symbol"&&typeof M!="boolean"?n.name=""+ga(M):n.removeAttribute("name")}function Rd(n,i,r,f,m,g,w,M){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(n.type=g),i!=null||r!=null){if(!(g!=="submit"&&g!=="reset"||i!=null))return;r=r!=null?""+ga(r):"",i=i!=null?""+ga(i):r,M||i===n.value||(n.value=i),n.defaultValue=i}f=f??m,f=typeof f!="function"&&typeof f!="symbol"&&!!f,n.checked=M?n.checked:!!f,n.defaultChecked=!!f,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(n.name=w)}function zs(n,i,r){i==="number"&&tc(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function Gr(n,i,r,f){if(n=n.options,i){i={};for(var m=0;m<r.length;m++)i["$"+r[m]]=!0;for(r=0;r<n.length;r++)m=i.hasOwnProperty("$"+n[r].value),n[r].selected!==m&&(n[r].selected=m),m&&f&&(n[r].defaultSelected=!0)}else{for(r=""+ga(r),i=null,m=0;m<n.length;m++){if(n[m].value===r){n[m].selected=!0,f&&(n[m].defaultSelected=!0);return}i!==null||n[m].disabled||(i=n[m])}i!==null&&(i.selected=!0)}}function Tm(n,i,r){if(i!=null&&(i=""+ga(i),i!==n.value&&(n.value=i),r==null)){n.defaultValue!==i&&(n.defaultValue=i);return}n.defaultValue=r!=null?""+ga(r):""}function Am(n,i,r,f){if(i==null){if(f!=null){if(r!=null)throw Error(s(92));if(Te(f)){if(1<f.length)throw Error(s(93));f=f[0]}r=f}r==null&&(r=""),i=r}r=ga(i),n.defaultValue=r,f=n.textContent,f===r&&f!==""&&f!==null&&(n.value=f)}function nc(n,i){if(i){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=i;return}}n.textContent=i}var Bv=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function wd(n,i,r){var f=i.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?f?n.setProperty(i,""):i==="float"?n.cssFloat="":n[i]="":f?n.setProperty(i,r):typeof r!="number"||r===0||Bv.has(i)?i==="float"?n.cssFloat=r:n[i]=(""+r).trim():n[i]=r+"px"}function _s(n,i,r){if(i!=null&&typeof i!="object")throw Error(s(62));if(n=n.style,r!=null){for(var f in r)!r.hasOwnProperty(f)||i!=null&&i.hasOwnProperty(f)||(f.indexOf("--")===0?n.setProperty(f,""):f==="float"?n.cssFloat="":n[f]="");for(var m in i)f=i[m],i.hasOwnProperty(m)&&r[m]!==f&&wd(n,m,f)}else for(var g in i)i.hasOwnProperty(g)&&wd(n,g,i[g])}function Xr(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var N1=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Lv=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Cs(n){return Lv.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var Qr=null;function zd(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var ac=null,lc=null;function Zv(n){var i=Zr(n);if(i&&(n=i.stateNode)){var r=n[Ra]||null;e:switch(n=i.stateNode,i.type){case"input":if(Od(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),i=r.name,r.type==="radio"&&i!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Ol(""+i)+'"][type="radio"]'),i=0;i<r.length;i++){var f=r[i];if(f!==n&&f.form===n.form){var m=f[Ra]||null;if(!m)throw Error(s(90));Od(f,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<r.length;i++)f=r[i],f.form===n.form&&Vr(f)}break e;case"textarea":Tm(n,r.value,r.defaultValue);break e;case"select":i=r.value,i!=null&&Gr(n,!!r.multiple,i,!1)}}}var xm=!1;function ic(n,i,r){if(xm)return n(i,r);xm=!0;try{var f=n(i);return f}finally{if(xm=!1,(ac!==null||lc!==null)&&(Oo(),ac&&(i=ac,n=lc,lc=ac=null,Zv(i),n)))for(i=0;i<n.length;i++)Zv(n[i])}}function Ir(n,i){var r=n.stateNode;if(r===null)return null;var f=r[Ra]||null;if(f===null)return null;r=f[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(f=!f.disabled)||(n=n.type,f=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!f;break e;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(s(231,i,typeof r));return r}var gi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),_d=!1;if(gi)try{var su={};Object.defineProperty(su,"passive",{get:function(){_d=!0}}),window.addEventListener("test",su,su),window.removeEventListener("test",su,su)}catch{_d=!1}var fu=null,uc=null,Jr=null;function Om(){if(Jr)return Jr;var n,i=uc,r=i.length,f,m="value"in fu?fu.value:fu.textContent,g=m.length;for(n=0;n<r&&i[n]===m[n];n++);var w=r-n;for(f=1;f<=w&&i[r-f]===m[g-f];f++);return Jr=m.slice(n,1<f?1-f:void 0)}function ua(n){var i=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&i===13&&(n=13)):n=i,n===10&&(n=13),32<=n||n===13?n:0}function Cd(){return!0}function Dd(){return!1}function za(n){function i(r,f,m,g,w){this._reactName=r,this._targetInst=m,this.type=f,this.nativeEvent=g,this.target=w,this.currentTarget=null;for(var M in n)n.hasOwnProperty(M)&&(r=n[M],this[M]=r?r(g):g[M]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Cd:Dd,this.isPropagationStopped=Dd,this}return O(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Cd)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Cd)},persist:function(){},isPersistent:Cd}),i}var Wu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Md=za(Wu),Ds=O({},Wu,{view:0,detail:0}),qv=za(Ds),Rm,Nd,Ms,$r=O({},Ds,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==Ms&&(Ms&&n.type==="mousemove"?(Rm=n.screenX-Ms.screenX,Nd=n.screenY-Ms.screenY):Nd=Rm=0,Ms=n),Rm)},movementY:function(n){return"movementY"in n?n.movementY:Nd}}),wm=za($r),Yv=O({},$r,{dataTransfer:0}),Vv=za(Yv),k1=O({},Ds,{relatedTarget:0}),zm=za(k1),U1=O({},Wu,{animationName:0,elapsedTime:0,pseudoElement:0}),H1=za(U1),j1=O({},Wu,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Ns=za(j1),Gv=O({},Wu,{data:0}),_m=za(Gv),Xv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qv={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cm={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Iv(n){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(n):(n=Cm[n])?!!i[n]:!1}function du(){return Iv}var Kr=O({},Ds,{key:function(n){if(n.key){var i=Xv[n.key]||n.key;if(i!=="Unidentified")return i}return n.type==="keypress"?(n=ua(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Qv[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(n){return n.type==="keypress"?ua(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?ua(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),$l=za(Kr),il=O({},$r,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ks=za(il),kd=O({},Ds,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),Dm=za(kd),Za=O({},Wu,{propertyName:0,elapsedTime:0,pseudoElement:0}),Jv=za(Za),Ud=O({},$r,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),Pr=za(Ud),Mm=O({},Wu,{newState:0,oldState:0}),$v=za(Mm),Kv=[9,13,27,32],Us=gi&&"CompositionEvent"in window,Hs=null;gi&&"documentMode"in document&&(Hs=document.documentMode);var Nm=gi&&"TextEvent"in window&&!Hs,vi=gi&&(!Us||Hs&&8<Hs&&11>=Hs),km=" ",Hd=!1;function js(n,i){switch(n){case"keyup":return Kv.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function er(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var tr=!1;function Um(n,i){switch(n){case"compositionend":return er(i);case"keypress":return i.which!==32?null:(Hd=!0,km);case"textInput":return n=i.data,n===km&&Hd?null:n;default:return null}}function Fr(n,i){if(tr)return n==="compositionend"||!Us&&js(n,i)?(n=Om(),Jr=uc=fu=null,tr=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return vi&&i.locale!=="ko"?null:i.data;default:return null}}var Pv={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 jd(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i==="input"?!!Pv[n.type]:i==="textarea"}function Bd(n,i,r,f){ac?lc?lc.push(f):lc=[f]:ac=f,i=Vc(i,"onChange"),0<i.length&&(r=new Md("onChange","change",null,r,f),n.push({event:r,listeners:i}))}var Kl=null,Pl=null;function Hm(n){_o(n,0)}function bi(n){var i=xs(n);if(Vr(i))return n}function jm(n,i){if(n==="change")return i}var Bm=!1;if(gi){var Wr;if(gi){var eo="oninput"in document;if(!eo){var Lm=document.createElement("div");Lm.setAttribute("oninput","return;"),eo=typeof Lm.oninput=="function"}Wr=eo}else Wr=!1;Bm=Wr&&(!document.documentMode||9<document.documentMode)}function rc(){Kl&&(Kl.detachEvent("onpropertychange",Zm),Pl=Kl=null)}function Zm(n){if(n.propertyName==="value"&&bi(Pl)){var i=[];Bd(i,Pl,n,zd(n)),ic(Hm,i)}}function Ld(n,i,r){n==="focusin"?(rc(),Kl=i,Pl=r,Kl.attachEvent("onpropertychange",Zm)):n==="focusout"&&rc()}function nr(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return bi(Pl)}function hu(n,i){if(n==="click")return bi(i)}function qm(n,i){if(n==="input"||n==="change")return bi(i)}function Ym(n,i){return n===i&&(n!==0||1/n===1/i)||n!==n&&i!==i}var ra=typeof Object.is=="function"?Object.is:Ym;function ar(n,i){if(ra(n,i))return!0;if(typeof n!="object"||n===null||typeof i!="object"||i===null)return!1;var r=Object.keys(n),f=Object.keys(i);if(r.length!==f.length)return!1;for(f=0;f<r.length;f++){var m=r[f];if(!ru.call(i,m)||!ra(n[m],i[m]))return!1}return!0}function lr(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function tn(n,i){var r=lr(n);n=0;for(var f;r;){if(r.nodeType===3){if(f=n+r.textContent.length,n<=i&&f>=i)return{node:r,offset:i-n};n=f}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=lr(r)}}function Bs(n,i){return n&&i?n===i?!0:n&&n.nodeType===3?!1:i&&i.nodeType===3?Bs(n,i.parentNode):"contains"in n?n.contains(i):n.compareDocumentPosition?!!(n.compareDocumentPosition(i)&16):!1:!1}function Vm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var i=tc(n.document);i instanceof n.HTMLIFrameElement;){try{var r=typeof i.contentWindow.location.href=="string"}catch{r=!1}if(r)n=i.contentWindow;else break;i=tc(n.document)}return i}function Ls(n){var i=n&&n.nodeName&&n.nodeName.toLowerCase();return i&&(i==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||i==="textarea"||n.contentEditable==="true")}var to=gi&&"documentMode"in document&&11>=document.documentMode,Si=null,Fl=null,ir=null,no=!1;function Zd(n,i,r){var f=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;no||Si==null||Si!==tc(f)||(f=Si,"selectionStart"in f&&Ls(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focusNode:f.focusNode,focusOffset:f.focusOffset}),ir&&ar(ir,f)||(ir=f,f=Vc(Fl,"onSelect"),0<f.length&&(i=new Md("onSelect","select",null,i,r),n.push({event:i,listeners:f}),i.target=Si)))}function pu(n,i){var r={};return r[n.toLowerCase()]=i.toLowerCase(),r["Webkit"+n]="webkit"+i,r["Moz"+n]="moz"+i,r}var ao={animationend:pu("Animation","AnimationEnd"),animationiteration:pu("Animation","AnimationIteration"),animationstart:pu("Animation","AnimationStart"),transitionrun:pu("Transition","TransitionRun"),transitionstart:pu("Transition","TransitionStart"),transitioncancel:pu("Transition","TransitionCancel"),transitionend:pu("Transition","TransitionEnd")},Rl={},Wl={};gi&&(Wl=document.createElement("div").style,"AnimationEvent"in window||(delete ao.animationend.animation,delete ao.animationiteration.animation,delete ao.animationstart.animation),"TransitionEvent"in window||delete ao.transitionend.transition);function Ei(n){if(Rl[n])return Rl[n];if(!ao[n])return n;var i=ao[n],r;for(r in i)if(i.hasOwnProperty(r)&&r in Wl)return Rl[n]=i[r];return n}var Fv=Ei("animationend"),Gm=Ei("animationiteration"),Wv=Ei("animationstart"),Xm=Ei("transitionrun"),qd=Ei("transitionstart"),e0=Ei("transitioncancel"),Qm=Ei("transitionend"),Im=new Map,oc="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(" ");oc.push("scrollEnd");function wl(n,i){Im.set(n,i),$u(i,[n])}var Jm=new WeakMap;function ul(n,i){if(typeof n=="object"&&n!==null){var r=Jm.get(n);return r!==void 0?r:(i={value:n,source:i,stack:Sm(i)},Jm.set(n,i),i)}return{value:n,source:i,stack:Sm(i)}}var qa=[],ur=0,Ti=0;function ei(){for(var n=ur,i=Ti=ur=0;i<n;){var r=qa[i];qa[i++]=null;var f=qa[i];qa[i++]=null;var m=qa[i];qa[i++]=null;var g=qa[i];if(qa[i++]=null,f!==null&&m!==null){var w=f.pending;w===null?m.next=m:(m.next=w.next,w.next=m),f.pending=m}g!==0&&sc(r,m,g)}}function rr(n,i,r,f){qa[ur++]=n,qa[ur++]=i,qa[ur++]=r,qa[ur++]=f,Ti|=f,n.lanes|=f,n=n.alternate,n!==null&&(n.lanes|=f)}function cc(n,i,r,f){return rr(n,i,r,f),Zs(n)}function Ai(n,i){return rr(n,null,null,i),Zs(n)}function sc(n,i,r){n.lanes|=r;var f=n.alternate;f!==null&&(f.lanes|=r);for(var m=!1,g=n.return;g!==null;)g.childLanes|=r,f=g.alternate,f!==null&&(f.childLanes|=r),g.tag===22&&(n=g.stateNode,n===null||n._visibility&1||(m=!0)),n=g,g=g.return;return n.tag===3?(g=n.stateNode,m&&i!==null&&(m=31-Ke(r),n=g.hiddenUpdates,f=n[m],f===null?n[m]=[i]:f.push(i),i.lane=r|536870912),g):null}function Zs(n){if(50<jc)throw jc=0,Jy=null,Error(s(185));for(var i=n.return;i!==null;)n=i,i=n.return;return n.tag===3?n.stateNode:null}var fc={};function t0(n,i,r,f){this.tag=n,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ya(n,i,r,f){return new t0(n,i,r,f)}function qs(n){return n=n.prototype,!(!n||!n.isReactComponent)}function ti(n,i){var r=n.alternate;return r===null?(r=Ya(n.tag,i,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=i,r.type=n.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=n.flags&65011712,r.childLanes=n.childLanes,r.lanes=n.lanes,r.child=n.child,r.memoizedProps=n.memoizedProps,r.memoizedState=n.memoizedState,r.updateQueue=n.updateQueue,i=n.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function bt(n,i){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=i,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=r.childLanes,n.lanes=r.lanes,n.child=r.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=r.memoizedProps,n.memoizedState=r.memoizedState,n.updateQueue=r.updateQueue,n.type=r.type,i=r.dependencies,n.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),n}function Ae(n,i,r,f,m,g){var w=0;if(f=n,typeof n=="function")qs(n)&&(w=1);else if(typeof n=="string")w=U0(n,r,_e.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case Se:return n=Ya(31,r,i,m),n.elementType=Se,n.lanes=g,n;case Y:return zl(r.children,m,g,i);case le:w=8,m|=24;break;case X:return n=Ya(12,r,i,m|2),n.elementType=X,n.lanes=g,n;case ne:return n=Ya(13,r,i,m),n.elementType=ne,n.lanes=g,n;case Q:return n=Ya(19,r,i,m),n.elementType=Q,n.lanes=g,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case k:case D:w=10;break e;case L:w=9;break e;case oe:w=11;break e;case pe:w=14;break e;case we:w=16,f=null;break e}w=29,r=Error(s(130,n===null?"null":typeof n,"")),f=null}return i=Ya(w,r,i,m),i.elementType=n,i.type=f,i.lanes=g,i}function zl(n,i,r,f){return n=Ya(7,n,f,i),n.lanes=r,n}function dc(n,i,r){return n=Ya(6,n,null,i),n.lanes=r,n}function yn(n,i,r){return i=Ya(4,n.children!==null?n.children:[],n.key,i),i.lanes=r,i.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},i}var or=[],cr=0,Ys=null,hc=0,_l=[],Va=0,mu=null,ni=1,Tn="";function _t(n,i){or[cr++]=hc,or[cr++]=Ys,Ys=n,hc=i}function Yd(n,i,r){_l[Va++]=ni,_l[Va++]=Tn,_l[Va++]=mu,mu=n;var f=ni;n=Tn;var m=32-Ke(f)-1;f&=~(1<<m),r+=1;var g=32-Ke(i)+m;if(30<g){var w=m-m%5;g=(f&(1<<w)-1).toString(32),f>>=w,m-=w,ni=1<<32-Ke(i)+m|r<<m|f,Tn=g+n}else ni=1<<g|r<<m|f,Tn=n}function lo(n){n.return!==null&&(_t(n,1),Yd(n,1,0))}function xi(n){for(;n===Ys;)Ys=or[--cr],or[cr]=null,hc=or[--cr],or[cr]=null;for(;n===mu;)mu=_l[--Va],_l[Va]=null,Tn=_l[--Va],_l[Va]=null,ni=_l[--Va],_l[Va]=null}var kn=null,kt=null,Nt=!1,Cl=null,Dl=!1,io=Error(s(519));function yu(n){var i=Error(s(418,""));throw yc(ul(i,n)),io}function Vs(n){var i=n.stateNode,r=n.type,f=n.memoizedProps;switch(i[$n]=n,i[Ra]=f,r){case"dialog":st("cancel",i),st("close",i);break;case"iframe":case"object":case"embed":st("load",i);break;case"video":case"audio":for(r=0;r<_f.length;r++)st(_f[r],i);break;case"source":st("error",i);break;case"img":case"image":case"link":st("error",i),st("load",i);break;case"details":st("toggle",i);break;case"input":st("invalid",i),Rd(i,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0),Fu(i);break;case"select":st("invalid",i);break;case"textarea":st("invalid",i),Am(i,f.value,f.defaultValue,f.children),Fu(i)}r=f.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||i.textContent===""+r||f.suppressHydrationWarning===!0||og(i.textContent,r)?(f.popover!=null&&(st("beforetoggle",i),st("toggle",i)),f.onScroll!=null&&st("scroll",i),f.onScrollEnd!=null&&st("scrollend",i),f.onClick!=null&&(i.onclick=Fh),i=!0):i=!1,i||yu(n)}function $m(n){for(kn=n.return;kn;)switch(kn.tag){case 5:case 13:Dl=!1;return;case 27:case 3:Dl=!0;return;default:kn=kn.return}}function pc(n){if(n!==kn)return!1;if(!Nt)return $m(n),Nt=!0,!1;var i=n.tag,r;if((r=i!==3&&i!==27)&&((r=i===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||Gi(n.type,n.memoizedProps)),r=!r),r&&kt&&yu(n),$m(n),i===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));e:{for(n=n.nextSibling,i=0;n;){if(n.nodeType===8)if(r=n.data,r==="/$"){if(i===0){kt=oi(n.nextSibling);break e}i--}else r!=="$"&&r!=="$!"&&r!=="$?"||i++;n=n.nextSibling}kt=null}}else i===27?(i=kt,wr(n.type)?(n=zr,zr=null,kt=n):kt=i):kt=kn?oi(n.stateNode.nextSibling):null;return!0}function mc(){kt=kn=null,Nt=!1}function Km(){var n=Cl;return n!==null&&($a===null?$a=n:$a.push.apply($a,n),Cl=null),n}function yc(n){Cl===null?Cl=[n]:Cl.push(n)}var Gs=K(null),gu=null,ai=null;function vu(n,i,r){U(Gs,i._currentValue),i._currentValue=r}function Oi(n){n._currentValue=Gs.current,ce(Gs)}function Vd(n,i,r){for(;n!==null;){var f=n.alternate;if((n.childLanes&i)!==i?(n.childLanes|=i,f!==null&&(f.childLanes|=i)):f!==null&&(f.childLanes&i)!==i&&(f.childLanes|=i),n===r)break;n=n.return}}function Pm(n,i,r,f){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var g=m.dependencies;if(g!==null){var w=m.child;g=g.firstContext;e:for(;g!==null;){var M=g;g=m;for(var j=0;j<i.length;j++)if(M.context===i[j]){g.lanes|=r,M=g.alternate,M!==null&&(M.lanes|=r),Vd(g.return,r,n),f||(w=null);break e}g=M.next}}else if(m.tag===18){if(w=m.return,w===null)throw Error(s(341));w.lanes|=r,g=w.alternate,g!==null&&(g.lanes|=r),Vd(w,r,n),w=null}else w=m.child;if(w!==null)w.return=m;else for(w=m;w!==null;){if(w===n){w=null;break}if(m=w.sibling,m!==null){m.return=w.return,w=m;break}w=w.return}m=w}}function gc(n,i,r,f){n=null;for(var m=i,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var w=m.alternate;if(w===null)throw Error(s(387));if(w=w.memoizedProps,w!==null){var M=m.type;ra(m.pendingProps.value,w.value)||(n!==null?n.push(M):n=[M])}}else if(m===Wt.current){if(w=m.alternate,w===null)throw Error(s(387));w.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(Wa):n=[Wa])}m=m.return}n!==null&&Pm(i,n,r,f),i.flags|=262144}function Xs(n){for(n=n.firstContext;n!==null;){if(!ra(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function sr(n){gu=n,ai=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function Kn(n){return Fm(gu,n)}function Qs(n,i){return gu===null&&sr(n),Fm(n,i)}function Fm(n,i){var r=i._currentValue;if(i={context:i,memoizedValue:r,next:null},ai===null){if(n===null)throw Error(s(308));ai=i,n.dependencies={lanes:0,firstContext:i},n.flags|=524288}else ai=ai.next=i;return r}var vc=typeof AbortController<"u"?AbortController:function(){var n=[],i=this.signal={aborted:!1,addEventListener:function(r,f){n.push(f)}};this.abort=function(){i.aborted=!0,n.forEach(function(r){return r()})}},Gd=a.unstable_scheduleCallback,n0=a.unstable_NormalPriority,Yn={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bc(){return{controller:new vc,data:new Map,refCount:0}}function Ri(n){n.refCount--,n.refCount===0&&Gd(n0,function(){n.controller.abort()})}var fr=null,Is=0,Ml=0,Vn=null;function Xd(n,i){if(fr===null){var r=fr=[];Is=0,Ml=zo(),Vn={status:"pending",value:void 0,then:function(f){r.push(f)}}}return Is++,i.then(Qd,Qd),i}function Qd(){if(--Is===0&&fr!==null){Vn!==null&&(Vn.status="fulfilled");var n=fr;fr=null,Ml=0,Vn=null;for(var i=0;i<n.length;i++)(0,n[i])()}}function a0(n,i){var r=[],f={status:"pending",value:null,reason:null,then:function(m){r.push(m)}};return n.then(function(){f.status="fulfilled",f.value=i;for(var m=0;m<r.length;m++)(0,r[m])(i)},function(m){for(f.status="rejected",f.reason=m,m=0;m<r.length;m++)(0,r[m])(void 0)}),f}var Id=q.S;q.S=function(n,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&Xd(n,i),Id!==null&&Id(n,i)};var wi=K(null);function Js(){var n=wi.current;return n!==null?n:Kt.pooledCache}function uo(n,i){i===null?U(wi,wi.current):U(wi,i.pool)}function Jd(){var n=Js();return n===null?null:{parent:Yn._currentValue,pool:n}}var dr=Error(s(460)),$d=Error(s(474)),$s=Error(s(542)),Kd={then:function(){}};function Pd(n){return n=n.status,n==="fulfilled"||n==="rejected"}function Ks(){}function Wm(n,i,r){switch(r=n[r],r===void 0?n.push(i):r!==i&&(i.then(Ks,Ks),i=r),i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,ty(n),n;default:if(typeof i.status=="string")i.then(Ks,Ks);else{if(n=Kt,n!==null&&100<n.shellSuspendCounter)throw Error(s(482));n=i,n.status="pending",n.then(function(f){if(i.status==="pending"){var m=i;m.status="fulfilled",m.value=f}},function(f){if(i.status==="pending"){var m=i;m.status="rejected",m.reason=f}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw n=i.reason,ty(n),n}throw ro=i,dr}}var ro=null;function ey(){if(ro===null)throw Error(s(459));var n=ro;return ro=null,n}function ty(n){if(n===dr||n===$s)throw Error(s(483))}var zi=!1;function Fd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Wd(n,i){n=n.updateQueue,i.updateQueue===n&&(i.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Ga(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function _i(n,i,r){var f=n.updateQueue;if(f===null)return null;if(f=f.shared,(Zt&2)!==0){var m=f.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),f.pending=i,i=Zs(n),sc(n,null,r),i}return rr(n,f,i,r),Zs(n)}function oo(n,i,r){if(i=i.updateQueue,i!==null&&(i=i.shared,(r&4194048)!==0)){var f=i.lanes;f&=n.pendingLanes,r|=f,i.lanes=r,rt(n,r)}}function ny(n,i){var r=n.updateQueue,f=n.alternate;if(f!==null&&(f=f.updateQueue,r===f)){var m=null,g=null;if(r=r.firstBaseUpdate,r!==null){do{var w={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};g===null?m=g=w:g=g.next=w,r=r.next}while(r!==null);g===null?m=g=i:g=g.next=i}else m=g=i;r={baseState:f.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:f.shared,callbacks:f.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=i:n.next=i,r.lastBaseUpdate=i}var ay=!1;function Sc(){if(ay){var n=Vn;if(n!==null)throw n}}function bu(n,i,r,f){ay=!1;var m=n.updateQueue;zi=!1;var g=m.firstBaseUpdate,w=m.lastBaseUpdate,M=m.shared.pending;if(M!==null){m.shared.pending=null;var j=M,P=j.next;j.next=null,w===null?g=P:w.next=P,w=j;var he=n.alternate;he!==null&&(he=he.updateQueue,M=he.lastBaseUpdate,M!==w&&(M===null?he.firstBaseUpdate=P:M.next=P,he.lastBaseUpdate=j))}if(g!==null){var ve=m.baseState;w=0,he=P=j=null,M=g;do{var ee=M.lane&-536870913,ae=ee!==M.lane;if(ae?(xt&ee)===ee:(f&ee)===ee){ee!==0&&ee===Ml&&(ay=!0),he!==null&&(he=he.next={lane:0,tag:M.tag,payload:M.payload,callback:null,next:null});e:{var Je=n,$e=M;ee=i;var Ht=r;switch($e.tag){case 1:if(Je=$e.payload,typeof Je=="function"){ve=Je.call(Ht,ve,ee);break e}ve=Je;break e;case 3:Je.flags=Je.flags&-65537|128;case 0:if(Je=$e.payload,ee=typeof Je=="function"?Je.call(Ht,ve,ee):Je,ee==null)break e;ve=O({},ve,ee);break e;case 2:zi=!0}}ee=M.callback,ee!==null&&(n.flags|=64,ae&&(n.flags|=8192),ae=m.callbacks,ae===null?m.callbacks=[ee]:ae.push(ee))}else ae={lane:ee,tag:M.tag,payload:M.payload,callback:M.callback,next:null},he===null?(P=he=ae,j=ve):he=he.next=ae,w|=ee;if(M=M.next,M===null){if(M=m.shared.pending,M===null)break;ae=M,M=ae.next,ae.next=null,m.lastBaseUpdate=ae,m.shared.pending=null}}while(!0);he===null&&(j=ve),m.baseState=j,m.firstBaseUpdate=P,m.lastBaseUpdate=he,g===null&&(m.shared.lanes=0),Ru|=w,n.lanes=w,n.memoizedState=ve}}function eh(n,i){if(typeof n!="function")throw Error(s(191,n));n.call(i)}function Ps(n,i){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)eh(r[n],i)}var co=K(null),Fs=K(0);function Pn(n,i){n=Ou,U(Fs,n),U(co,i),Ou=n|i.baseLanes}function Ec(){U(Fs,Ou),U(co,co.current)}function Tc(){Ou=Fs.current,ce(co),ce(Fs)}var Nl=0,ct=null,Lt=null,gn=null,Ws=!1,rl=!1,hr=!1,li=0,ol=0,Su=null,ly=0;function vn(){throw Error(s(321))}function th(n,i){if(i===null)return!1;for(var r=0;r<i.length&&r<n.length;r++)if(!ra(n[r],i[r]))return!1;return!0}function nh(n,i,r,f,m,g){return Nl=g,ct=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,q.H=n===null||n.memoizedState===null?by:Sy,hr=!1,g=r(f,m),hr=!1,rl&&(g=iy(i,r,f,m)),pr(n),g}function pr(n){q.H=bh;var i=Lt!==null&&Lt.next!==null;if(Nl=0,gn=Lt=ct=null,Ws=!1,ol=0,Su=null,i)throw Error(s(300));n===null||Gn||(n=n.dependencies,n!==null&&Xs(n)&&(Gn=!0))}function iy(n,i,r,f){ct=n;var m=0;do{if(rl&&(Su=null),ol=0,rl=!1,25<=m)throw Error(s(301));if(m+=1,gn=Lt=null,n.updateQueue!=null){var g=n.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}q.H=Eu,g=i(r,f)}while(rl);return g}function l0(){var n=q.H,i=n.useState()[0];return i=typeof i.then=="function"?tf(i):i,n=n.useState()[0],(Lt!==null?Lt.memoizedState:null)!==n&&(ct.flags|=1024),i}function ah(){var n=li!==0;return li=0,n}function Ac(n,i,r){i.updateQueue=n.updateQueue,i.flags&=-2053,n.lanes&=~r}function lh(n){if(Ws){for(n=n.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Ws=!1}Nl=0,gn=Lt=ct=null,rl=!1,ol=li=0,Su=null}function va(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gn===null?ct.memoizedState=gn=n:gn=gn.next=n,gn}function An(){if(Lt===null){var n=ct.alternate;n=n!==null?n.memoizedState:null}else n=Lt.next;var i=gn===null?ct.memoizedState:gn.next;if(i!==null)gn=i,Lt=n;else{if(n===null)throw ct.alternate===null?Error(s(467)):Error(s(310));Lt=n,n={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},gn===null?ct.memoizedState=gn=n:gn=gn.next=n}return gn}function ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function tf(n){var i=ol;return ol+=1,Su===null&&(Su=[]),n=Wm(Su,n,i),i=ct,(gn===null?i.memoizedState:gn.next)===null&&(i=i.alternate,q.H=i===null||i.memoizedState===null?by:Sy),n}function jn(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return tf(n);if(n.$$typeof===D)return Kn(n)}throw Error(s(438,String(n)))}function ih(n){var i=null,r=ct.updateQueue;if(r!==null&&(i=r.memoCache),i==null){var f=ct.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(i={data:f.data.map(function(m){return m.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),r===null&&(r=ef(),ct.updateQueue=r),r.memoCache=i,r=i.data[i.index],r===void 0)for(r=i.data[i.index]=Array(n),f=0;f<n;f++)r[f]=He;return i.index++,r}function Ci(n,i){return typeof i=="function"?i(n):i}function nf(n){var i=An();return uh(i,Lt,n)}function uh(n,i,r){var f=n.queue;if(f===null)throw Error(s(311));f.lastRenderedReducer=r;var m=n.baseQueue,g=f.pending;if(g!==null){if(m!==null){var w=m.next;m.next=g.next,g.next=w}i.baseQueue=m=g,f.pending=null}if(g=n.baseState,m===null)n.memoizedState=g;else{i=m.next;var M=w=null,j=null,P=i,he=!1;do{var ve=P.lane&-536870913;if(ve!==P.lane?(xt&ve)===ve:(Nl&ve)===ve){var ee=P.revertLane;if(ee===0)j!==null&&(j=j.next={lane:0,revertLane:0,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null}),ve===Ml&&(he=!0);else if((Nl&ee)===ee){P=P.next,ee===Ml&&(he=!0);continue}else ve={lane:0,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},j===null?(M=j=ve,w=g):j=j.next=ve,ct.lanes|=ee,Ru|=ee;ve=P.action,hr&&r(g,ve),g=P.hasEagerState?P.eagerState:r(g,ve)}else ee={lane:ve,revertLane:P.revertLane,action:P.action,hasEagerState:P.hasEagerState,eagerState:P.eagerState,next:null},j===null?(M=j=ee,w=g):j=j.next=ee,ct.lanes|=ve,Ru|=ve;P=P.next}while(P!==null&&P!==i);if(j===null?w=g:j.next=M,!ra(g,n.memoizedState)&&(Gn=!0,he&&(r=Vn,r!==null)))throw r;n.memoizedState=g,n.baseState=w,n.baseQueue=j,f.lastRenderedState=g}return m===null&&(f.lanes=0),[n.memoizedState,f.dispatch]}function rh(n){var i=An(),r=i.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=n;var f=r.dispatch,m=r.pending,g=i.memoizedState;if(m!==null){r.pending=null;var w=m=m.next;do g=n(g,w.action),w=w.next;while(w!==m);ra(g,i.memoizedState)||(Gn=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),r.lastRenderedState=g}return[g,f]}function af(n,i,r){var f=ct,m=An(),g=Nt;if(g){if(r===void 0)throw Error(s(407));r=r()}else r=i();var w=!ra((Lt||m).memoizedState,r);w&&(m.memoizedState=r,Gn=!0),m=m.queue;var M=ry.bind(null,f,m,n);if(Qt(2048,8,M,[n]),m.getSnapshot!==i||w||gn!==null&&gn.memoizedState.tag&1){if(f.flags|=2048,Xa(9,rf(),uy.bind(null,f,m,r,i),null),Kt===null)throw Error(s(349));g||(Nl&124)!==0||oh(f,i,r)}return r}function oh(n,i,r){n.flags|=16384,n={getSnapshot:i,value:r},i=ct.updateQueue,i===null?(i=ef(),ct.updateQueue=i,i.stores=[n]):(r=i.stores,r===null?i.stores=[n]:r.push(n))}function uy(n,i,r,f){i.value=r,i.getSnapshot=f,oy(i)&&ch(n)}function ry(n,i,r){return r(function(){oy(i)&&ch(n)})}function oy(n){var i=n.getSnapshot;n=n.value;try{var r=i();return!ra(n,r)}catch{return!0}}function ch(n){var i=Ai(n,2);i!==null&&fl(i,n,2)}function lf(n){var i=va();if(typeof n=="function"){var r=n;if(n=r(),hr){Xe(!0);try{r()}finally{Xe(!1)}}}return i.memoizedState=i.baseState=n,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:n},i}function sh(n,i,r,f){return n.baseState=r,uh(n,Lt,typeof f=="function"?f:Ci)}function i0(n,i,r,f,m){if(po(n))throw Error(s(485));if(n=i.action,n!==null){var g={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){g.listeners.push(w)}};q.T!==null?r(!0):g.isTransition=!1,f(g),r=i.pending,r===null?(g.next=i.pending=g,fh(i,g)):(g.next=r.next,i.pending=r.next=g)}}function fh(n,i){var r=i.action,f=i.payload,m=n.state;if(i.isTransition){var g=q.T,w={};q.T=w;try{var M=r(m,f),j=q.S;j!==null&&j(w,M),uf(n,i,M)}catch(P){hh(n,i,P)}finally{q.T=g}}else try{g=r(m,f),uf(n,i,g)}catch(P){hh(n,i,P)}}function uf(n,i,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(f){dh(n,i,f)},function(f){return hh(n,i,f)}):dh(n,i,r)}function dh(n,i,r){i.status="fulfilled",i.value=r,cy(i),n.state=r,i=n.pending,i!==null&&(r=i.next,r===i?n.pending=null:(r=r.next,i.next=r,fh(n,r)))}function hh(n,i,r){var f=n.pending;if(n.pending=null,f!==null){f=f.next;do i.status="rejected",i.reason=r,cy(i),i=i.next;while(i!==f)}n.action=null}function cy(n){n=n.listeners;for(var i=0;i<n.length;i++)(0,n[i])()}function ph(n,i){return i}function sy(n,i){if(Nt){var r=Kt.formState;if(r!==null){e:{var f=ct;if(Nt){if(kt){t:{for(var m=kt,g=Dl;m.nodeType!==8;){if(!g){m=null;break t}if(m=oi(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){kt=oi(m.nextSibling),f=m.data==="F!";break e}}yu(f)}f=!1}f&&(i=r[0])}}return r=va(),r.memoizedState=r.baseState=i,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ph,lastRenderedState:i},r.queue=f,r=gy.bind(null,ct,f),f.dispatch=r,f=lf(!1),g=sf.bind(null,ct,!1,f.queue),f=va(),m={state:i,dispatch:null,action:n,pending:null},f.queue=m,r=i0.bind(null,ct,m,g,r),m.dispatch=r,f.memoizedState=n,[i,r,!1]}function Di(n){var i=An();return mh(i,Lt,n)}function mh(n,i,r){if(i=uh(n,i,ph)[0],n=nf(Ci)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var f=tf(i)}catch(w){throw w===dr?$s:w}else f=i;i=An();var m=i.queue,g=m.dispatch;return r!==i.memoizedState&&(ct.flags|=2048,Xa(9,rf(),B1.bind(null,m,r),null)),[f,g,n]}function B1(n,i){n.action=i}function yh(n){var i=An(),r=Lt;if(r!==null)return mh(i,r,n);An(),i=i.memoizedState,r=An();var f=r.queue.dispatch;return r.memoizedState=n,[i,f,!1]}function Xa(n,i,r,f){return n={tag:n,create:r,deps:f,inst:i,next:null},i=ct.updateQueue,i===null&&(i=ef(),ct.updateQueue=i),r=i.lastEffect,r===null?i.lastEffect=n.next=n:(f=r.next,r.next=n,n.next=f,i.lastEffect=n),n}function rf(){return{destroy:void 0,resource:void 0}}function of(){return An().memoizedState}function mr(n,i,r,f){var m=va();f=f===void 0?null:f,ct.flags|=n,m.memoizedState=Xa(1|i,rf(),r,f)}function Qt(n,i,r,f){var m=An();f=f===void 0?null:f;var g=m.memoizedState.inst;Lt!==null&&f!==null&&th(f,Lt.memoizedState.deps)?m.memoizedState=Xa(i,g,r,f):(ct.flags|=n,m.memoizedState=Xa(1|i,g,r,f))}function u0(n,i){mr(8390656,8,n,i)}function r0(n,i){Qt(2048,8,n,i)}function fy(n,i){return Qt(4,2,n,i)}function ii(n,i){return Qt(4,4,n,i)}function dy(n,i){if(typeof i=="function"){n=n();var r=i(n);return function(){typeof r=="function"?r():i(null)}}if(i!=null)return n=n(),i.current=n,function(){i.current=null}}function gh(n,i,r){r=r!=null?r.concat([n]):null,Qt(4,4,dy.bind(null,i,n),r)}function so(){}function fo(n,i){var r=An();i=i===void 0?null:i;var f=r.memoizedState;return i!==null&&th(i,f[1])?f[0]:(r.memoizedState=[n,i],n)}function hy(n,i){var r=An();i=i===void 0?null:i;var f=r.memoizedState;if(i!==null&&th(i,f[1]))return f[0];if(f=n(),hr){Xe(!0);try{n()}finally{Xe(!1)}}return r.memoizedState=[f,i],f}function cf(n,i,r){return r===void 0||(Nl&1073741824)!==0?n.memoizedState=i:(n.memoizedState=r,n=$y(),ct.lanes|=n,Ru|=n,r)}function py(n,i,r,f){return ra(r,i)?r:co.current!==null?(n=cf(n,r,f),ra(n,i)||(Gn=!0),n):(Nl&42)===0?(Gn=!0,n.memoizedState=r):(n=$y(),ct.lanes|=n,Ru|=n,i)}function o0(n,i,r,f,m){var g=F.p;F.p=g!==0&&8>g?g:8;var w=q.T,M={};q.T=M,sf(n,!1,i,r);try{var j=m(),P=q.S;if(P!==null&&P(M,j),j!==null&&typeof j=="object"&&typeof j.then=="function"){var he=a0(j,f);ho(n,i,he,sl(n))}else ho(n,i,f,sl(n))}catch(ve){ho(n,i,{then:function(){},status:"rejected",reason:ve},sl())}finally{F.p=g,q.T=w}}function L1(){}function vh(n,i,r,f){if(n.tag!==5)throw Error(s(476));var m=c0(n).queue;o0(n,m,i,ge,r===null?L1:function(){return xc(n),r(f)})}function c0(n){var i=n.memoizedState;if(i!==null)return i;i={memoizedState:ge,baseState:ge,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:ge},next:null};var r={};return i.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:r},next:null},n.memoizedState=i,n=n.alternate,n!==null&&(n.memoizedState=i),i}function xc(n){var i=c0(n).next.queue;ho(n,i,{},sl())}function kl(){return Kn(Wa)}function my(){return An().memoizedState}function s0(){return An().memoizedState}function f0(n){for(var i=n.return;i!==null;){switch(i.tag){case 24:case 3:var r=sl();n=Ga(r);var f=_i(i,n,r);f!==null&&(fl(f,i,r),oo(f,i,r)),i={cache:bc()},n.payload=i;return}i=i.return}}function yy(n,i,r){var f=sl();r={lane:f,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},po(n)?d0(i,r):(r=cc(n,i,r,f),r!==null&&(fl(r,n,f),vy(r,i,f)))}function gy(n,i,r){var f=sl();ho(n,i,r,f)}function ho(n,i,r,f){var m={lane:f,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(po(n))d0(i,m);else{var g=n.alternate;if(n.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var w=i.lastRenderedState,M=g(w,r);if(m.hasEagerState=!0,m.eagerState=M,ra(M,w))return rr(n,i,m,0),Kt===null&&ei(),!1}catch{}finally{}if(r=cc(n,i,m,f),r!==null)return fl(r,n,f),vy(r,i,f),!0}return!1}function sf(n,i,r,f){if(f={lane:2,revertLane:zo(),action:f,hasEagerState:!1,eagerState:null,next:null},po(n)){if(i)throw Error(s(479))}else i=cc(n,r,f,2),i!==null&&fl(i,n,2)}function po(n){var i=n.alternate;return n===ct||i!==null&&i===ct}function d0(n,i){rl=Ws=!0;var r=n.pending;r===null?i.next=i:(i.next=r.next,r.next=i),n.pending=i}function vy(n,i,r){if((r&4194048)!==0){var f=i.lanes;f&=n.pendingLanes,r|=f,i.lanes=r,rt(n,r)}}var bh={readContext:Kn,use:jn,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useInsertionEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useSyncExternalStore:vn,useId:vn,useHostTransitionStatus:vn,useFormState:vn,useActionState:vn,useOptimistic:vn,useMemoCache:vn,useCacheRefresh:vn},by={readContext:Kn,use:jn,useCallback:function(n,i){return va().memoizedState=[n,i===void 0?null:i],n},useContext:Kn,useEffect:u0,useImperativeHandle:function(n,i,r){r=r!=null?r.concat([n]):null,mr(4194308,4,dy.bind(null,i,n),r)},useLayoutEffect:function(n,i){return mr(4194308,4,n,i)},useInsertionEffect:function(n,i){mr(4,2,n,i)},useMemo:function(n,i){var r=va();i=i===void 0?null:i;var f=n();if(hr){Xe(!0);try{n()}finally{Xe(!1)}}return r.memoizedState=[f,i],f},useReducer:function(n,i,r){var f=va();if(r!==void 0){var m=r(i);if(hr){Xe(!0);try{r(i)}finally{Xe(!1)}}}else m=i;return f.memoizedState=f.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},f.queue=n,n=n.dispatch=yy.bind(null,ct,n),[f.memoizedState,n]},useRef:function(n){var i=va();return n={current:n},i.memoizedState=n},useState:function(n){n=lf(n);var i=n.queue,r=gy.bind(null,ct,i);return i.dispatch=r,[n.memoizedState,r]},useDebugValue:so,useDeferredValue:function(n,i){var r=va();return cf(r,n,i)},useTransition:function(){var n=lf(!1);return n=o0.bind(null,ct,n.queue,!0,!1),va().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,i,r){var f=ct,m=va();if(Nt){if(r===void 0)throw Error(s(407));r=r()}else{if(r=i(),Kt===null)throw Error(s(349));(xt&124)!==0||oh(f,i,r)}m.memoizedState=r;var g={value:r,getSnapshot:i};return m.queue=g,u0(ry.bind(null,f,g,n),[n]),f.flags|=2048,Xa(9,rf(),uy.bind(null,f,g,r,i),null),r},useId:function(){var n=va(),i=Kt.identifierPrefix;if(Nt){var r=Tn,f=ni;r=(f&~(1<<32-Ke(f)-1)).toString(32)+r,i="«"+i+"R"+r,r=li++,0<r&&(i+="H"+r.toString(32)),i+="»"}else r=ly++,i="«"+i+"r"+r.toString(32)+"»";return n.memoizedState=i},useHostTransitionStatus:kl,useFormState:sy,useActionState:sy,useOptimistic:function(n){var i=va();i.memoizedState=i.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=r,i=sf.bind(null,ct,!0,r),r.dispatch=i,[n,i]},useMemoCache:ih,useCacheRefresh:function(){return va().memoizedState=f0.bind(null,ct)}},Sy={readContext:Kn,use:jn,useCallback:fo,useContext:Kn,useEffect:r0,useImperativeHandle:gh,useInsertionEffect:fy,useLayoutEffect:ii,useMemo:hy,useReducer:nf,useRef:of,useState:function(){return nf(Ci)},useDebugValue:so,useDeferredValue:function(n,i){var r=An();return py(r,Lt.memoizedState,n,i)},useTransition:function(){var n=nf(Ci)[0],i=An().memoizedState;return[typeof n=="boolean"?n:tf(n),i]},useSyncExternalStore:af,useId:my,useHostTransitionStatus:kl,useFormState:Di,useActionState:Di,useOptimistic:function(n,i){var r=An();return sh(r,Lt,n,i)},useMemoCache:ih,useCacheRefresh:s0},Eu={readContext:Kn,use:jn,useCallback:fo,useContext:Kn,useEffect:r0,useImperativeHandle:gh,useInsertionEffect:fy,useLayoutEffect:ii,useMemo:hy,useReducer:rh,useRef:of,useState:function(){return rh(Ci)},useDebugValue:so,useDeferredValue:function(n,i){var r=An();return Lt===null?cf(r,n,i):py(r,Lt.memoizedState,n,i)},useTransition:function(){var n=rh(Ci)[0],i=An().memoizedState;return[typeof n=="boolean"?n:tf(n),i]},useSyncExternalStore:af,useId:my,useHostTransitionStatus:kl,useFormState:yh,useActionState:yh,useOptimistic:function(n,i){var r=An();return Lt!==null?sh(r,Lt,n,i):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:ih,useCacheRefresh:s0},mo=null,Oc=0;function Sh(n){var i=Oc;return Oc+=1,mo===null&&(mo=[]),Wm(mo,n,i)}function yo(n,i){i=i.props.ref,n.ref=i!==void 0?i:null}function ba(n,i){throw i.$$typeof===R?Error(s(525)):(n=Object.prototype.toString.call(i),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":n)))}function Ey(n){var i=n._init;return i(n._payload)}function Qa(n){function i(J,G){if(n){var $=J.deletions;$===null?(J.deletions=[G],J.flags|=16):$.push(G)}}function r(J,G){if(!n)return null;for(;G!==null;)i(J,G),G=G.sibling;return null}function f(J){for(var G=new Map;J!==null;)J.key!==null?G.set(J.key,J):G.set(J.index,J),J=J.sibling;return G}function m(J,G){return J=ti(J,G),J.index=0,J.sibling=null,J}function g(J,G,$){return J.index=$,n?($=J.alternate,$!==null?($=$.index,$<G?(J.flags|=67108866,G):$):(J.flags|=67108866,G)):(J.flags|=1048576,G)}function w(J){return n&&J.alternate===null&&(J.flags|=67108866),J}function M(J,G,$,me){return G===null||G.tag!==6?(G=dc($,J.mode,me),G.return=J,G):(G=m(G,$),G.return=J,G)}function j(J,G,$,me){var je=$.type;return je===Y?he(J,G,$.props.children,me,$.key):G!==null&&(G.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===we&&Ey(je)===G.type)?(G=m(G,$.props),yo(G,$),G.return=J,G):(G=Ae($.type,$.key,$.props,null,J.mode,me),yo(G,$),G.return=J,G)}function P(J,G,$,me){return G===null||G.tag!==4||G.stateNode.containerInfo!==$.containerInfo||G.stateNode.implementation!==$.implementation?(G=yn($,J.mode,me),G.return=J,G):(G=m(G,$.children||[]),G.return=J,G)}function he(J,G,$,me,je){return G===null||G.tag!==7?(G=zl($,J.mode,me,je),G.return=J,G):(G=m(G,$),G.return=J,G)}function ve(J,G,$){if(typeof G=="string"&&G!==""||typeof G=="number"||typeof G=="bigint")return G=dc(""+G,J.mode,$),G.return=J,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case z:return $=Ae(G.type,G.key,G.props,null,J.mode,$),yo($,G),$.return=J,$;case _:return G=yn(G,J.mode,$),G.return=J,G;case we:var me=G._init;return G=me(G._payload),ve(J,G,$)}if(Te(G)||Ee(G))return G=zl(G,J.mode,$,null),G.return=J,G;if(typeof G.then=="function")return ve(J,Sh(G),$);if(G.$$typeof===D)return ve(J,Qs(J,G),$);ba(J,G)}return null}function ee(J,G,$,me){var je=G!==null?G.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return je!==null?null:M(J,G,""+$,me);if(typeof $=="object"&&$!==null){switch($.$$typeof){case z:return $.key===je?j(J,G,$,me):null;case _:return $.key===je?P(J,G,$,me):null;case we:return je=$._init,$=je($._payload),ee(J,G,$,me)}if(Te($)||Ee($))return je!==null?null:he(J,G,$,me,null);if(typeof $.then=="function")return ee(J,G,Sh($),me);if($.$$typeof===D)return ee(J,G,Qs(J,$),me);ba(J,$)}return null}function ae(J,G,$,me,je){if(typeof me=="string"&&me!==""||typeof me=="number"||typeof me=="bigint")return J=J.get($)||null,M(G,J,""+me,je);if(typeof me=="object"&&me!==null){switch(me.$$typeof){case z:return J=J.get(me.key===null?$:me.key)||null,j(G,J,me,je);case _:return J=J.get(me.key===null?$:me.key)||null,P(G,J,me,je);case we:var St=me._init;return me=St(me._payload),ae(J,G,$,me,je)}if(Te(me)||Ee(me))return J=J.get($)||null,he(G,J,me,je,null);if(typeof me.then=="function")return ae(J,G,$,Sh(me),je);if(me.$$typeof===D)return ae(J,G,$,Qs(G,me),je);ba(G,me)}return null}function Je(J,G,$,me){for(var je=null,St=null,Ge=G,Fe=G=0,ea=null;Ge!==null&&Fe<$.length;Fe++){Ge.index>Fe?(ea=Ge,Ge=null):ea=Ge.sibling;var Mt=ee(J,Ge,$[Fe],me);if(Mt===null){Ge===null&&(Ge=ea);break}n&&Ge&&Mt.alternate===null&&i(J,Ge),G=g(Mt,G,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt,Ge=ea}if(Fe===$.length)return r(J,Ge),Nt&&_t(J,Fe),je;if(Ge===null){for(;Fe<$.length;Fe++)Ge=ve(J,$[Fe],me),Ge!==null&&(G=g(Ge,G,Fe),St===null?je=Ge:St.sibling=Ge,St=Ge);return Nt&&_t(J,Fe),je}for(Ge=f(Ge);Fe<$.length;Fe++)ea=ae(Ge,J,Fe,$[Fe],me),ea!==null&&(n&&ea.alternate!==null&&Ge.delete(ea.key===null?Fe:ea.key),G=g(ea,G,Fe),St===null?je=ea:St.sibling=ea,St=ea);return n&&Ge.forEach(function(Nr){return i(J,Nr)}),Nt&&_t(J,Fe),je}function $e(J,G,$,me){if($==null)throw Error(s(151));for(var je=null,St=null,Ge=G,Fe=G=0,ea=null,Mt=$.next();Ge!==null&&!Mt.done;Fe++,Mt=$.next()){Ge.index>Fe?(ea=Ge,Ge=null):ea=Ge.sibling;var Nr=ee(J,Ge,Mt.value,me);if(Nr===null){Ge===null&&(Ge=ea);break}n&&Ge&&Nr.alternate===null&&i(J,Ge),G=g(Nr,G,Fe),St===null?je=Nr:St.sibling=Nr,St=Nr,Ge=ea}if(Mt.done)return r(J,Ge),Nt&&_t(J,Fe),je;if(Ge===null){for(;!Mt.done;Fe++,Mt=$.next())Mt=ve(J,Mt.value,me),Mt!==null&&(G=g(Mt,G,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt);return Nt&&_t(J,Fe),je}for(Ge=f(Ge);!Mt.done;Fe++,Mt=$.next())Mt=ae(Ge,J,Fe,Mt.value,me),Mt!==null&&(n&&Mt.alternate!==null&&Ge.delete(Mt.key===null?Fe:Mt.key),G=g(Mt,G,Fe),St===null?je=Mt:St.sibling=Mt,St=Mt);return n&&Ge.forEach(function(P1){return i(J,P1)}),Nt&&_t(J,Fe),je}function Ht(J,G,$,me){if(typeof $=="object"&&$!==null&&$.type===Y&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case z:e:{for(var je=$.key;G!==null;){if(G.key===je){if(je=$.type,je===Y){if(G.tag===7){r(J,G.sibling),me=m(G,$.props.children),me.return=J,J=me;break e}}else if(G.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===we&&Ey(je)===G.type){r(J,G.sibling),me=m(G,$.props),yo(me,$),me.return=J,J=me;break e}r(J,G);break}else i(J,G);G=G.sibling}$.type===Y?(me=zl($.props.children,J.mode,me,$.key),me.return=J,J=me):(me=Ae($.type,$.key,$.props,null,J.mode,me),yo(me,$),me.return=J,J=me)}return w(J);case _:e:{for(je=$.key;G!==null;){if(G.key===je)if(G.tag===4&&G.stateNode.containerInfo===$.containerInfo&&G.stateNode.implementation===$.implementation){r(J,G.sibling),me=m(G,$.children||[]),me.return=J,J=me;break e}else{r(J,G);break}else i(J,G);G=G.sibling}me=yn($,J.mode,me),me.return=J,J=me}return w(J);case we:return je=$._init,$=je($._payload),Ht(J,G,$,me)}if(Te($))return Je(J,G,$,me);if(Ee($)){if(je=Ee($),typeof je!="function")throw Error(s(150));return $=je.call($),$e(J,G,$,me)}if(typeof $.then=="function")return Ht(J,G,Sh($),me);if($.$$typeof===D)return Ht(J,G,Qs(J,$),me);ba(J,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,G!==null&&G.tag===6?(r(J,G.sibling),me=m(G,$),me.return=J,J=me):(r(J,G),me=dc($,J.mode,me),me.return=J,J=me),w(J)):r(J,G)}return function(J,G,$,me){try{Oc=0;var je=Ht(J,G,$,me);return mo=null,je}catch(Ge){if(Ge===dr||Ge===$s)throw Ge;var St=Ya(29,Ge,null,J.mode);return St.lanes=me,St.return=J,St}finally{}}}var go=Qa(!0),Mi=Qa(!1),cl=K(null),Sa=null;function Tu(n){var i=n.alternate;U(It,It.current&1),U(cl,n),Sa===null&&(i===null||co.current!==null||i.memoizedState!==null)&&(Sa=n)}function Ni(n){if(n.tag===22){if(U(It,It.current),U(cl,n),Sa===null){var i=n.alternate;i!==null&&i.memoizedState!==null&&(Sa=n)}}else ki()}function ki(){U(It,It.current),U(cl,cl.current)}function ui(n){ce(cl),Sa===n&&(Sa=null),ce(It)}var It=K(0);function ff(n){for(var i=n;i!==null;){if(i.tag===13){var r=i.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||kf(r)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function yr(n,i,r,f){i=n.memoizedState,r=r(f,i),r=r==null?i:O({},i,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var Eh={enqueueSetState:function(n,i,r){n=n._reactInternals;var f=sl(),m=Ga(f);m.payload=i,r!=null&&(m.callback=r),i=_i(n,m,f),i!==null&&(fl(i,n,f),oo(i,n,f))},enqueueReplaceState:function(n,i,r){n=n._reactInternals;var f=sl(),m=Ga(f);m.tag=1,m.payload=i,r!=null&&(m.callback=r),i=_i(n,m,f),i!==null&&(fl(i,n,f),oo(i,n,f))},enqueueForceUpdate:function(n,i){n=n._reactInternals;var r=sl(),f=Ga(r);f.tag=2,i!=null&&(f.callback=i),i=_i(n,f,r),i!==null&&(fl(i,n,r),oo(i,n,r))}};function Rc(n,i,r,f,m,g,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(f,g,w):i.prototype&&i.prototype.isPureReactComponent?!ar(r,f)||!ar(m,g):!0}function vo(n,i,r,f){n=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(r,f),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(r,f),i.state!==n&&Eh.enqueueReplaceState(i,i.state,null)}function gr(n,i){var r=i;if("ref"in i){r={};for(var f in i)f!=="ref"&&(r[f]=i[f])}if(n=n.defaultProps){r===i&&(r=O({},r));for(var m in n)r[m]===void 0&&(r[m]=n[m])}return r}var df=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function wc(n){df(n)}function Ty(n){console.error(n)}function hf(n){df(n)}function pf(n,i){try{var r=n.onUncaughtError;r(i.value,{componentStack:i.stack})}catch(f){setTimeout(function(){throw f})}}function Ay(n,i,r){try{var f=n.onCaughtError;f(r.value,{componentStack:r.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function xy(n,i,r){return r=Ga(r),r.tag=3,r.payload={element:null},r.callback=function(){pf(n,i)},r}function Oy(n){return n=Ga(n),n.tag=3,n}function Ia(n,i,r,f){var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var g=f.value;n.payload=function(){return m(g)},n.callback=function(){Ay(i,r,f)}}var w=r.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(n.callback=function(){Ay(i,r,f),typeof m!="function"&&(Er===null?Er=new Set([this]):Er.add(this));var M=f.stack;this.componentDidCatch(f.value,{componentStack:M!==null?M:""})})}function h0(n,i,r,f,m){if(r.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(i=r.alternate,i!==null&&gc(i,r,m,!0),r=cl.current,r!==null){switch(r.tag){case 13:return Sa===null?wo():r.alternate===null&&wn===0&&(wn=3),r.flags&=-257,r.flags|=65536,r.lanes=m,f===Kd?r.flags|=16384:(i=r.updateQueue,i===null?r.updateQueue=new Set([f]):i.add(f),Ih(n,f,m)),!1;case 22:return r.flags|=65536,f===Kd?r.flags|=16384:(i=r.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([f])},r.updateQueue=i):(r=i.retryQueue,r===null?i.retryQueue=new Set([f]):r.add(f)),Ih(n,f,m)),!1}throw Error(s(435,r.tag))}return Ih(n,f,m),wo(),!1}if(Nt)return i=cl.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,f!==io&&(n=Error(s(422),{cause:f}),yc(ul(n,r)))):(f!==io&&(i=Error(s(423),{cause:f}),yc(ul(i,r))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,f=ul(f,r),m=xy(n.stateNode,f,m),ny(n,m),wn!==4&&(wn=2)),!1;var g=Error(s(520),{cause:f});if(g=ul(g,r),kc===null?kc=[g]:kc.push(g),wn!==4&&(wn=2),i===null)return!0;f=ul(f,r),r=i;do{switch(r.tag){case 3:return r.flags|=65536,n=m&-m,r.lanes|=n,n=xy(r.stateNode,f,n),ny(r,n),!1;case 1:if(i=r.type,g=r.stateNode,(r.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Er===null||!Er.has(g))))return r.flags|=65536,m&=-m,r.lanes|=m,m=Oy(m),Ia(m,n,r,f),ny(r,m),!1}r=r.return}while(r!==null);return!1}var xn=Error(s(461)),Gn=!1;function Fn(n,i,r,f){i.child=n===null?Mi(i,null,r,f):go(i,n.child,r,f)}function p0(n,i,r,f,m){r=r.render;var g=i.ref;if("ref"in f){var w={};for(var M in f)M!=="ref"&&(w[M]=f[M])}else w=f;return sr(i),f=nh(n,i,r,w,g,m),M=ah(),n!==null&&!Gn?(Ac(n,i,m),Ui(n,i,m)):(Nt&&M&&lo(i),i.flags|=1,Fn(n,i,f,m),i.child)}function Au(n,i,r,f,m){if(n===null){var g=r.type;return typeof g=="function"&&!qs(g)&&g.defaultProps===void 0&&r.compare===null?(i.tag=15,i.type=g,bo(n,i,g,f,m)):(n=Ae(r.type,null,f,i,i.mode,m),n.ref=i.ref,n.return=i,i.child=n)}if(g=n.child,!Dh(n,m)){var w=g.memoizedProps;if(r=r.compare,r=r!==null?r:ar,r(w,f)&&n.ref===i.ref)return Ui(n,i,m)}return i.flags|=1,n=ti(g,f),n.ref=i.ref,n.return=i,i.child=n}function bo(n,i,r,f,m){if(n!==null){var g=n.memoizedProps;if(ar(g,f)&&n.ref===i.ref)if(Gn=!1,i.pendingProps=f=g,Dh(n,m))(n.flags&131072)!==0&&(Gn=!0);else return i.lanes=n.lanes,Ui(n,i,m)}return Ah(n,i,r,f,m)}function Th(n,i,r){var f=i.pendingProps,m=f.children,g=n!==null?n.memoizedState:null;if(f.mode==="hidden"){if((i.flags&128)!==0){if(f=g!==null?g.baseLanes|r:r,n!==null){for(m=i.child=n.child,g=0;m!==null;)g=g|m.lanes|m.childLanes,m=m.sibling;i.childLanes=g&~f}else i.childLanes=0,i.child=null;return So(n,i,f,r)}if((r&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},n!==null&&uo(i,g!==null?g.cachePool:null),g!==null?Pn(i,g):Ec(),Ni(i);else return i.lanes=i.childLanes=536870912,So(n,i,g!==null?g.baseLanes|r:r,r)}else g!==null?(uo(i,g.cachePool),Pn(i,g),ki(),i.memoizedState=null):(n!==null&&uo(i,null),Ec(),ki());return Fn(n,i,m,r),i.child}function So(n,i,r,f){var m=Js();return m=m===null?null:{parent:Yn._currentValue,pool:m},i.memoizedState={baseLanes:r,cachePool:m},n!==null&&uo(i,null),Ec(),Ni(i),n!==null&&gc(n,i,f,!0),null}function mf(n,i){var r=i.ref;if(r===null)n!==null&&n.ref!==null&&(i.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(n===null||n.ref!==r)&&(i.flags|=4194816)}}function Ah(n,i,r,f,m){return sr(i),r=nh(n,i,r,f,void 0,m),f=ah(),n!==null&&!Gn?(Ac(n,i,m),Ui(n,i,m)):(Nt&&f&&lo(i),i.flags|=1,Fn(n,i,r,m),i.child)}function Ry(n,i,r,f,m,g){return sr(i),i.updateQueue=null,r=iy(i,f,r,m),pr(n),f=ah(),n!==null&&!Gn?(Ac(n,i,g),Ui(n,i,g)):(Nt&&f&&lo(i),i.flags|=1,Fn(n,i,r,g),i.child)}function xh(n,i,r,f,m){if(sr(i),i.stateNode===null){var g=fc,w=r.contextType;typeof w=="object"&&w!==null&&(g=Kn(w)),g=new r(f,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Eh,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=f,g.state=i.memoizedState,g.refs={},Fd(i),w=r.contextType,g.context=typeof w=="object"&&w!==null?Kn(w):fc,g.state=i.memoizedState,w=r.getDerivedStateFromProps,typeof w=="function"&&(yr(i,r,w,f),g.state=i.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(w=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),w!==g.state&&Eh.enqueueReplaceState(g,g.state,null),bu(i,f,g,m),Sc(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),f=!0}else if(n===null){g=i.stateNode;var M=i.memoizedProps,j=gr(r,M);g.props=j;var P=g.context,he=r.contextType;w=fc,typeof he=="object"&&he!==null&&(w=Kn(he));var ve=r.getDerivedStateFromProps;he=typeof ve=="function"||typeof g.getSnapshotBeforeUpdate=="function",M=i.pendingProps!==M,he||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(M||P!==w)&&vo(i,g,f,w),zi=!1;var ee=i.memoizedState;g.state=ee,bu(i,f,g,m),Sc(),P=i.memoizedState,M||ee!==P||zi?(typeof ve=="function"&&(yr(i,r,ve,f),P=i.memoizedState),(j=zi||Rc(i,r,j,f,ee,P,w))?(he||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=f,i.memoizedState=P),g.props=f,g.state=P,g.context=w,f=j):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),f=!1)}else{g=i.stateNode,Wd(n,i),w=i.memoizedProps,he=gr(r,w),g.props=he,ve=i.pendingProps,ee=g.context,P=r.contextType,j=fc,typeof P=="object"&&P!==null&&(j=Kn(P)),M=r.getDerivedStateFromProps,(P=typeof M=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(w!==ve||ee!==j)&&vo(i,g,f,j),zi=!1,ee=i.memoizedState,g.state=ee,bu(i,f,g,m),Sc();var ae=i.memoizedState;w!==ve||ee!==ae||zi||n!==null&&n.dependencies!==null&&Xs(n.dependencies)?(typeof M=="function"&&(yr(i,r,M,f),ae=i.memoizedState),(he=zi||Rc(i,r,he,f,ee,ae,j)||n!==null&&n.dependencies!==null&&Xs(n.dependencies))?(P||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(f,ae,j),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(f,ae,j)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&ee===n.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&ee===n.memoizedState||(i.flags|=1024),i.memoizedProps=f,i.memoizedState=ae),g.props=f,g.state=ae,g.context=j,f=he):(typeof g.componentDidUpdate!="function"||w===n.memoizedProps&&ee===n.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&ee===n.memoizedState||(i.flags|=1024),f=!1)}return g=f,mf(n,i),f=(i.flags&128)!==0,g||f?(g=i.stateNode,r=f&&typeof r.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,n!==null&&f?(i.child=go(i,n.child,null,m),i.child=go(i,null,r,m)):Fn(n,i,r,m),i.memoizedState=g.state,n=i.child):n=Ui(n,i,m),n}function Oh(n,i,r,f){return mc(),i.flags|=256,Fn(n,i,r,f),i.child}var Rh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function wy(n){return{baseLanes:n,cachePool:Jd()}}function zy(n,i,r){return n=n!==null?n.childLanes&~r:0,i&&(n|=jl),n}function _y(n,i,r){var f=i.pendingProps,m=!1,g=(i.flags&128)!==0,w;if((w=g)||(w=n!==null&&n.memoizedState===null?!1:(It.current&2)!==0),w&&(m=!0,i.flags&=-129),w=(i.flags&32)!==0,i.flags&=-33,n===null){if(Nt){if(m?Tu(i):ki(),Nt){var M=kt,j;if(j=M){e:{for(j=M,M=Dl;j.nodeType!==8;){if(!M){M=null;break e}if(j=oi(j.nextSibling),j===null){M=null;break e}}M=j}M!==null?(i.memoizedState={dehydrated:M,treeContext:mu!==null?{id:ni,overflow:Tn}:null,retryLane:536870912,hydrationErrors:null},j=Ya(18,null,null,0),j.stateNode=M,j.return=i,i.child=j,kn=i,kt=null,j=!0):j=!1}j||yu(i)}if(M=i.memoizedState,M!==null&&(M=M.dehydrated,M!==null))return kf(M)?i.lanes=32:i.lanes=536870912,null;ui(i)}return M=f.children,f=f.fallback,m?(ki(),m=i.mode,M=zh({mode:"hidden",children:M},m),f=zl(f,m,r,null),M.return=i,f.return=i,M.sibling=f,i.child=M,m=i.child,m.memoizedState=wy(r),m.childLanes=zy(n,w,r),i.memoizedState=Rh,f):(Tu(i),wh(i,M))}if(j=n.memoizedState,j!==null&&(M=j.dehydrated,M!==null)){if(g)i.flags&256?(Tu(i),i.flags&=-257,i=vr(n,i,r)):i.memoizedState!==null?(ki(),i.child=n.child,i.flags|=128,i=null):(ki(),m=f.fallback,M=i.mode,f=zh({mode:"visible",children:f.children},M),m=zl(m,M,r,null),m.flags|=2,f.return=i,m.return=i,f.sibling=m,i.child=f,go(i,n.child,null,r),f=i.child,f.memoizedState=wy(r),f.childLanes=zy(n,w,r),i.memoizedState=Rh,i=m);else if(Tu(i),kf(M)){if(w=M.nextSibling&&M.nextSibling.dataset,w)var P=w.dgst;w=P,f=Error(s(419)),f.stack="",f.digest=w,yc({value:f,source:null,stack:null}),i=vr(n,i,r)}else if(Gn||gc(n,i,r,!1),w=(r&n.childLanes)!==0,Gn||w){if(w=Kt,w!==null&&(f=r&-r,f=(f&42)!==0?1:Hn(f),f=(f&(w.suspendedLanes|r))!==0?0:f,f!==0&&f!==j.retryLane))throw j.retryLane=f,Ai(n,f),fl(w,n,f),xn;M.data==="$?"||wo(),i=vr(n,i,r)}else M.data==="$?"?(i.flags|=192,i.child=n.child,i=null):(n=j.treeContext,kt=oi(M.nextSibling),kn=i,Nt=!0,Cl=null,Dl=!1,n!==null&&(_l[Va++]=ni,_l[Va++]=Tn,_l[Va++]=mu,ni=n.id,Tn=n.overflow,mu=i),i=wh(i,f.children),i.flags|=4096);return i}return m?(ki(),m=f.fallback,M=i.mode,j=n.child,P=j.sibling,f=ti(j,{mode:"hidden",children:f.children}),f.subtreeFlags=j.subtreeFlags&65011712,P!==null?m=ti(P,m):(m=zl(m,M,r,null),m.flags|=2),m.return=i,f.return=i,f.sibling=m,i.child=f,f=m,m=i.child,M=n.child.memoizedState,M===null?M=wy(r):(j=M.cachePool,j!==null?(P=Yn._currentValue,j=j.parent!==P?{parent:P,pool:P}:j):j=Jd(),M={baseLanes:M.baseLanes|r,cachePool:j}),m.memoizedState=M,m.childLanes=zy(n,w,r),i.memoizedState=Rh,f):(Tu(i),r=n.child,n=r.sibling,r=ti(r,{mode:"visible",children:f.children}),r.return=i,r.sibling=null,n!==null&&(w=i.deletions,w===null?(i.deletions=[n],i.flags|=16):w.push(n)),i.child=r,i.memoizedState=null,r)}function wh(n,i){return i=zh({mode:"visible",children:i},n.mode),i.return=n,n.child=i}function zh(n,i){return n=Ya(22,n,null,i),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function vr(n,i,r){return go(i,n.child,null,r),n=wh(i,i.pendingProps.children),n.flags|=2,i.memoizedState=null,n}function yf(n,i,r){n.lanes|=i;var f=n.alternate;f!==null&&(f.lanes|=i),Vd(n.return,i,r)}function _h(n,i,r,f,m){var g=n.memoizedState;g===null?n.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:f,tail:r,tailMode:m}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=f,g.tail=r,g.tailMode=m)}function Ch(n,i,r){var f=i.pendingProps,m=f.revealOrder,g=f.tail;if(Fn(n,i,f.children,r),f=It.current,(f&2)!==0)f=f&1|2,i.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=i.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&yf(n,r,i);else if(n.tag===19)yf(n,r,i);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===i)break e;for(;n.sibling===null;){if(n.return===null||n.return===i)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}f&=1}switch(U(It,f),m){case"forwards":for(r=i.child,m=null;r!==null;)n=r.alternate,n!==null&&ff(n)===null&&(m=r),r=r.sibling;r=m,r===null?(m=i.child,i.child=null):(m=r.sibling,r.sibling=null),_h(i,!1,m,r,g);break;case"backwards":for(r=null,m=i.child,i.child=null;m!==null;){if(n=m.alternate,n!==null&&ff(n)===null){i.child=m;break}n=m.sibling,m.sibling=r,r=m,m=n}_h(i,!0,r,null,g);break;case"together":_h(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Ui(n,i,r){if(n!==null&&(i.dependencies=n.dependencies),Ru|=i.lanes,(r&i.childLanes)===0)if(n!==null){if(gc(n,i,r,!1),(r&i.childLanes)===0)return null}else return null;if(n!==null&&i.child!==n.child)throw Error(s(153));if(i.child!==null){for(n=i.child,r=ti(n,n.pendingProps),i.child=r,r.return=i;n.sibling!==null;)n=n.sibling,r=r.sibling=ti(n,n.pendingProps),r.return=i;r.sibling=null}return i.child}function Dh(n,i){return(n.lanes&i)!==0?!0:(n=n.dependencies,!!(n!==null&&Xs(n)))}function m0(n,i,r){switch(i.tag){case 3:Ie(i,i.stateNode.containerInfo),vu(i,Yn,n.memoizedState.cache),mc();break;case 27:case 5:Dn(i);break;case 4:Ie(i,i.stateNode.containerInfo);break;case 10:vu(i,i.type,i.memoizedProps.value);break;case 13:var f=i.memoizedState;if(f!==null)return f.dehydrated!==null?(Tu(i),i.flags|=128,null):(r&i.child.childLanes)!==0?_y(n,i,r):(Tu(i),n=Ui(n,i,r),n!==null?n.sibling:null);Tu(i);break;case 19:var m=(n.flags&128)!==0;if(f=(r&i.childLanes)!==0,f||(gc(n,i,r,!1),f=(r&i.childLanes)!==0),m){if(f)return Ch(n,i,r);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),U(It,It.current),f)break;return null;case 22:case 23:return i.lanes=0,Th(n,i,r);case 24:vu(i,Yn,n.memoizedState.cache)}return Ui(n,i,r)}function y0(n,i,r){if(n!==null)if(n.memoizedProps!==i.pendingProps)Gn=!0;else{if(!Dh(n,r)&&(i.flags&128)===0)return Gn=!1,m0(n,i,r);Gn=(n.flags&131072)!==0}else Gn=!1,Nt&&(i.flags&1048576)!==0&&Yd(i,hc,i.index);switch(i.lanes=0,i.tag){case 16:e:{n=i.pendingProps;var f=i.elementType,m=f._init;if(f=m(f._payload),i.type=f,typeof f=="function")qs(f)?(n=gr(f,n),i.tag=1,i=xh(null,i,f,n,r)):(i.tag=0,i=Ah(null,i,f,n,r));else{if(f!=null){if(m=f.$$typeof,m===oe){i.tag=11,i=p0(null,i,f,n,r);break e}else if(m===pe){i.tag=14,i=Au(null,i,f,n,r);break e}}throw i=ke(f)||f,Error(s(306,i,""))}}return i;case 0:return Ah(n,i,i.type,i.pendingProps,r);case 1:return f=i.type,m=gr(f,i.pendingProps),xh(n,i,f,m,r);case 3:e:{if(Ie(i,i.stateNode.containerInfo),n===null)throw Error(s(387));f=i.pendingProps;var g=i.memoizedState;m=g.element,Wd(n,i),bu(i,f,null,r);var w=i.memoizedState;if(f=w.cache,vu(i,Yn,f),f!==g.cache&&Pm(i,[Yn],r,!0),Sc(),f=w.element,g.isDehydrated)if(g={element:f,isDehydrated:!1,cache:w.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=Oh(n,i,f,r);break e}else if(f!==m){m=ul(Error(s(424)),i),yc(m),i=Oh(n,i,f,r);break e}else{switch(n=i.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(kt=oi(n.firstChild),kn=i,Nt=!0,Cl=null,Dl=!0,r=Mi(i,null,f,r),i.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(mc(),f===m){i=Ui(n,i,r);break e}Fn(n,i,f,r)}i=i.child}return i;case 26:return mf(n,i),n===null?(r=M0(i.type,null,i.pendingProps,null))?i.memoizedState=r:Nt||(r=i.type,n=i.pendingProps,f=Ll(Oe.current).createElement(r),f[$n]=i,f[Ra]=n,et(f,r,n),qn(f),i.stateNode=f):i.memoizedState=M0(i.type,n.memoizedProps,i.pendingProps,n.memoizedState),null;case 27:return Dn(i),n===null&&Nt&&(f=i.stateNode=Ue(i.type,i.pendingProps,Oe.current),kn=i,Dl=!0,m=kt,wr(i.type)?(zr=m,kt=oi(f.firstChild)):kt=m),Fn(n,i,i.pendingProps.children,r),mf(n,i),n===null&&(i.flags|=4194304),i.child;case 5:return n===null&&Nt&&((m=f=kt)&&(f=Qc(f,i.type,i.pendingProps,Dl),f!==null?(i.stateNode=f,kn=i,kt=oi(f.firstChild),Dl=!1,m=!0):m=!1),m||yu(i)),Dn(i),m=i.type,g=i.pendingProps,w=n!==null?n.memoizedProps:null,f=g.children,Gi(m,g)?f=null:w!==null&&Gi(m,w)&&(i.flags|=32),i.memoizedState!==null&&(m=nh(n,i,l0,null,null,r),Wa._currentValue=m),mf(n,i),Fn(n,i,f,r),i.child;case 6:return n===null&&Nt&&((n=r=kt)&&(r=J1(r,i.pendingProps,Dl),r!==null?(i.stateNode=r,kn=i,kt=null,n=!0):n=!1),n||yu(i)),null;case 13:return _y(n,i,r);case 4:return Ie(i,i.stateNode.containerInfo),f=i.pendingProps,n===null?i.child=go(i,null,f,r):Fn(n,i,f,r),i.child;case 11:return p0(n,i,i.type,i.pendingProps,r);case 7:return Fn(n,i,i.pendingProps,r),i.child;case 8:return Fn(n,i,i.pendingProps.children,r),i.child;case 12:return Fn(n,i,i.pendingProps.children,r),i.child;case 10:return f=i.pendingProps,vu(i,i.type,f.value),Fn(n,i,f.children,r),i.child;case 9:return m=i.type._context,f=i.pendingProps.children,sr(i),m=Kn(m),f=f(m),i.flags|=1,Fn(n,i,f,r),i.child;case 14:return Au(n,i,i.type,i.pendingProps,r);case 15:return bo(n,i,i.type,i.pendingProps,r);case 19:return Ch(n,i,r);case 31:return f=i.pendingProps,r=i.mode,f={mode:f.mode,children:f.children},n===null?(r=zh(f,r),r.ref=i.ref,i.child=r,r.return=i,i=r):(r=ti(n.child,f),r.ref=i.ref,i.child=r,r.return=i,i=r),i;case 22:return Th(n,i,r);case 24:return sr(i),f=Kn(Yn),n===null?(m=Js(),m===null&&(m=Kt,g=bc(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=r),m=g),i.memoizedState={parent:f,cache:m},Fd(i),vu(i,Yn,m)):((n.lanes&r)!==0&&(Wd(n,i),bu(i,null,null,r),Sc()),m=n.memoizedState,g=i.memoizedState,m.parent!==f?(m={parent:f,cache:f},i.memoizedState=m,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=m),vu(i,Yn,f)):(f=g.cache,vu(i,Yn,f),f!==m.cache&&Pm(i,[Yn],r,!0))),Fn(n,i,i.pendingProps.children,r),i.child;case 29:throw i.pendingProps}throw Error(s(156,i.tag))}function Hi(n){n.flags|=4}function zc(n,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!dg(i)){if(i=cl.current,i!==null&&((xt&4194048)===xt?Sa!==null:(xt&62914560)!==xt&&(xt&536870912)===0||i!==Sa))throw ro=Kd,$d;n.flags|=8192}}function gf(n,i){i!==null&&(n.flags|=4),n.flags&16384&&(i=n.tag!==22?De():536870912,n.lanes|=i,Nc|=i)}function _c(n,i){if(!Nt)switch(n.tailMode){case"hidden":i=n.tail;for(var r=null;i!==null;)i.alternate!==null&&(r=i),i=i.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var f=null;r!==null;)r.alternate!==null&&(f=r),r=r.sibling;f===null?i||n.tail===null?n.tail=null:n.tail.sibling=null:f.sibling=null}}function Pe(n){var i=n.alternate!==null&&n.alternate.child===n.child,r=0,f=0;if(i)for(var m=n.child;m!==null;)r|=m.lanes|m.childLanes,f|=m.subtreeFlags&65011712,f|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)r|=m.lanes|m.childLanes,f|=m.subtreeFlags,f|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=f,n.childLanes=r,i}function Cy(n,i,r){var f=i.pendingProps;switch(xi(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Pe(i),null;case 1:return Pe(i),null;case 3:return r=i.stateNode,f=null,n!==null&&(f=n.memoizedState.cache),i.memoizedState.cache!==f&&(i.flags|=2048),Oi(Yn),Bt(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(pc(i)?Hi(i):n===null||n.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Km())),Pe(i),null;case 26:return r=i.memoizedState,n===null?(Hi(i),r!==null?(Pe(i),zc(i,r)):(Pe(i),i.flags&=-16777217)):r?r!==n.memoizedState?(Hi(i),Pe(i),zc(i,r)):(Pe(i),i.flags&=-16777217):(n.memoizedProps!==f&&Hi(i),Pe(i),i.flags&=-16777217),null;case 27:Oa(i),r=Oe.current;var m=i.type;if(n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(!f){if(i.stateNode===null)throw Error(s(166));return Pe(i),null}n=_e.current,pc(i)?Vs(i):(n=Ue(m,f,r),i.stateNode=n,Hi(i))}return Pe(i),null;case 5:if(Oa(i),r=i.type,n!==null&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(!f){if(i.stateNode===null)throw Error(s(166));return Pe(i),null}if(n=_e.current,pc(i))Vs(i);else{switch(m=Ll(Oe.current),n){case 1:n=m.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:n=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":n=m.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":n=m.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":n=m.createElement("div"),n.innerHTML="<script><\/script>",n=n.removeChild(n.firstChild);break;case"select":n=typeof f.is=="string"?m.createElement("select",{is:f.is}):m.createElement("select"),f.multiple?n.multiple=!0:f.size&&(n.size=f.size);break;default:n=typeof f.is=="string"?m.createElement(r,{is:f.is}):m.createElement(r)}}n[$n]=i,n[Ra]=f;e:for(m=i.child;m!==null;){if(m.tag===5||m.tag===6)n.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)break e;for(;m.sibling===null;){if(m.return===null||m.return===i)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}i.stateNode=n;e:switch(et(n,r,f),r){case"button":case"input":case"select":case"textarea":n=!!f.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Hi(i)}}return Pe(i),i.flags&=-16777217,null;case 6:if(n&&i.stateNode!=null)n.memoizedProps!==f&&Hi(i);else{if(typeof f!="string"&&i.stateNode===null)throw Error(s(166));if(n=Oe.current,pc(i)){if(n=i.stateNode,r=i.memoizedProps,f=null,m=kn,m!==null)switch(m.tag){case 27:case 5:f=m.memoizedProps}n[$n]=i,n=!!(n.nodeValue===r||f!==null&&f.suppressHydrationWarning===!0||og(n.nodeValue,r)),n||yu(i)}else n=Ll(n).createTextNode(f),n[$n]=i,i.stateNode=n}return Pe(i),null;case 13:if(f=i.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=pc(i),f!==null&&f.dehydrated!==null){if(n===null){if(!m)throw Error(s(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(s(317));m[$n]=i}else mc(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Pe(i),m=!1}else m=Km(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(ui(i),i):(ui(i),null)}if(ui(i),(i.flags&128)!==0)return i.lanes=r,i;if(r=f!==null,n=n!==null&&n.memoizedState!==null,r){f=i.child,m=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(m=f.alternate.memoizedState.cachePool.pool);var g=null;f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(g=f.memoizedState.cachePool.pool),g!==m&&(f.flags|=2048)}return r!==n&&r&&(i.child.flags|=8192),gf(i,i.updateQueue),Pe(i),null;case 4:return Bt(),n===null&&ug(i.stateNode.containerInfo),Pe(i),null;case 10:return Oi(i.type),Pe(i),null;case 19:if(ce(It),m=i.memoizedState,m===null)return Pe(i),null;if(f=(i.flags&128)!==0,g=m.rendering,g===null)if(f)_c(m,!1);else{if(wn!==0||n!==null&&(n.flags&128)!==0)for(n=i.child;n!==null;){if(g=ff(n),g!==null){for(i.flags|=128,_c(m,!1),n=g.updateQueue,i.updateQueue=n,gf(i,n),i.subtreeFlags=0,n=r,r=i.child;r!==null;)bt(r,n),r=r.sibling;return U(It,It.current&1|2),i.child}n=n.sibling}m.tail!==null&&Mn()>Zh&&(i.flags|=128,f=!0,_c(m,!1),i.lanes=4194304)}else{if(!f)if(n=ff(g),n!==null){if(i.flags|=128,f=!0,n=n.updateQueue,i.updateQueue=n,gf(i,n),_c(m,!0),m.tail===null&&m.tailMode==="hidden"&&!g.alternate&&!Nt)return Pe(i),null}else 2*Mn()-m.renderingStartTime>Zh&&r!==536870912&&(i.flags|=128,f=!0,_c(m,!1),i.lanes=4194304);m.isBackwards?(g.sibling=i.child,i.child=g):(n=m.last,n!==null?n.sibling=g:i.child=g,m.last=g)}return m.tail!==null?(i=m.tail,m.rendering=i,m.tail=i.sibling,m.renderingStartTime=Mn(),i.sibling=null,n=It.current,U(It,f?n&1|2:n&1),i):(Pe(i),null);case 22:case 23:return ui(i),Tc(),f=i.memoizedState!==null,n!==null?n.memoizedState!==null!==f&&(i.flags|=8192):f&&(i.flags|=8192),f?(r&536870912)!==0&&(i.flags&128)===0&&(Pe(i),i.subtreeFlags&6&&(i.flags|=8192)):Pe(i),r=i.updateQueue,r!==null&&gf(i,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),f=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(f=i.memoizedState.cachePool.pool),f!==r&&(i.flags|=2048),n!==null&&ce(wi),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),i.memoizedState.cache!==r&&(i.flags|=2048),Oi(Yn),Pe(i),null;case 25:return null;case 30:return null}throw Error(s(156,i.tag))}function Z1(n,i){switch(xi(i),i.tag){case 1:return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 3:return Oi(Yn),Bt(),n=i.flags,(n&65536)!==0&&(n&128)===0?(i.flags=n&-65537|128,i):null;case 26:case 27:case 5:return Oa(i),null;case 13:if(ui(i),n=i.memoizedState,n!==null&&n.dehydrated!==null){if(i.alternate===null)throw Error(s(340));mc()}return n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 19:return ce(It),null;case 4:return Bt(),null;case 10:return Oi(i.type),null;case 22:case 23:return ui(i),Tc(),n!==null&&ce(wi),n=i.flags,n&65536?(i.flags=n&-65537|128,i):null;case 24:return Oi(Yn),null;case 25:return null;default:return null}}function Dy(n,i){switch(xi(i),i.tag){case 3:Oi(Yn),Bt();break;case 26:case 27:case 5:Oa(i);break;case 4:Bt();break;case 13:ui(i);break;case 19:ce(It);break;case 10:Oi(i.type);break;case 22:case 23:ui(i),Tc(),n!==null&&ce(wi);break;case 24:Oi(Yn)}}function vf(n,i){try{var r=i.updateQueue,f=r!==null?r.lastEffect:null;if(f!==null){var m=f.next;r=m;do{if((r.tag&n)===n){f=void 0;var g=r.create,w=r.inst;f=g(),w.destroy=f}r=r.next}while(r!==m)}}catch(M){Vt(i,i.return,M)}}function br(n,i,r){try{var f=i.updateQueue,m=f!==null?f.lastEffect:null;if(m!==null){var g=m.next;f=g;do{if((f.tag&n)===n){var w=f.inst,M=w.destroy;if(M!==void 0){w.destroy=void 0,m=i;var j=r,P=M;try{P()}catch(he){Vt(m,j,he)}}}f=f.next}while(f!==g)}}catch(he){Vt(i,i.return,he)}}function Mh(n){var i=n.updateQueue;if(i!==null){var r=n.stateNode;try{Ps(i,r)}catch(f){Vt(n,n.return,f)}}}function My(n,i,r){r.props=gr(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(f){Vt(n,i,f)}}function Cc(n,i){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var f=n.stateNode;break;case 30:f=n.stateNode;break;default:f=n.stateNode}typeof r=="function"?n.refCleanup=r(f):r.current=f}}catch(m){Vt(n,i,m)}}function ri(n,i){var r=n.ref,f=n.refCleanup;if(r!==null)if(typeof f=="function")try{f()}catch(m){Vt(n,i,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(m){Vt(n,i,m)}else r.current=null}function Dc(n){var i=n.type,r=n.memoizedProps,f=n.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":r.autoFocus&&f.focus();break e;case"img":r.src?f.src=r.src:r.srcSet&&(f.srcset=r.srcSet)}}catch(m){Vt(n,n.return,m)}}function Ny(n,i,r){try{var f=n.stateNode;X1(f,n.type,r,i),f[Ra]=i}catch(m){Vt(n,n.return,m)}}function g0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&wr(n.type)||n.tag===4}function Ul(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||g0(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&wr(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function Eo(n,i,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,i):(i=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,i.appendChild(n),r=r._reactRootContainer,r!=null||i.onclick!==null||(i.onclick=Fh));else if(f!==4&&(f===27&&wr(n.type)&&(r=n.stateNode,i=null),n=n.child,n!==null))for(Eo(n,i,r),n=n.sibling;n!==null;)Eo(n,i,r),n=n.sibling}function Nh(n,i,r){var f=n.tag;if(f===5||f===6)n=n.stateNode,i?r.insertBefore(n,i):r.appendChild(n);else if(f!==4&&(f===27&&wr(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(Nh(n,i,r),n=n.sibling;n!==null;)Nh(n,i,r),n=n.sibling}function kh(n){var i=n.stateNode,r=n.memoizedProps;try{for(var f=n.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);et(i,f,r),i[$n]=n,i[Ra]=r}catch(g){Vt(n,n.return,g)}}var ji=!1,On=!1,Uh=!1,Hh=typeof WeakSet=="function"?WeakSet:Set,Xn=null;function ky(n,i){if(n=n.containerInfo,Df=jf,n=Vm(n),Ls(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else e:{r=(r=n.ownerDocument)&&r.defaultView||window;var f=r.getSelection&&r.getSelection();if(f&&f.rangeCount!==0){r=f.anchorNode;var m=f.anchorOffset,g=f.focusNode;f=f.focusOffset;try{r.nodeType,g.nodeType}catch{r=null;break e}var w=0,M=-1,j=-1,P=0,he=0,ve=n,ee=null;t:for(;;){for(var ae;ve!==r||m!==0&&ve.nodeType!==3||(M=w+m),ve!==g||f!==0&&ve.nodeType!==3||(j=w+f),ve.nodeType===3&&(w+=ve.nodeValue.length),(ae=ve.firstChild)!==null;)ee=ve,ve=ae;for(;;){if(ve===n)break t;if(ee===r&&++P===m&&(M=w),ee===g&&++he===f&&(j=w),(ae=ve.nextSibling)!==null)break;ve=ee,ee=ve.parentNode}ve=ae}r=M===-1||j===-1?null:{start:M,end:j}}else r=null}r=r||{start:0,end:0}}else r=null;for(Mf={focusedElem:n,selectionRange:r},jf=!1,Xn=i;Xn!==null;)if(i=Xn,n=i.child,(i.subtreeFlags&1024)!==0&&n!==null)n.return=i,Xn=n;else for(;Xn!==null;){switch(i=Xn,g=i.alternate,n=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&g!==null){n=void 0,r=i,m=g.memoizedProps,g=g.memoizedState,f=r.stateNode;try{var Je=gr(r.type,m,r.elementType===r.type);n=f.getSnapshotBeforeUpdate(Je,g),f.__reactInternalSnapshotBeforeUpdate=n}catch($e){Vt(r,r.return,$e)}}break;case 3:if((n&1024)!==0){if(n=i.stateNode.containerInfo,r=n.nodeType,r===9)Nf(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Nf(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(s(163))}if(n=i.sibling,n!==null){n.return=i.return,Xn=n;break}Xn=i.return}}function Uy(n,i,r){var f=r.flags;switch(r.tag){case 0:case 11:case 15:Li(n,r),f&4&&vf(5,r);break;case 1:if(Li(n,r),f&4)if(n=r.stateNode,i===null)try{n.componentDidMount()}catch(w){Vt(r,r.return,w)}else{var m=gr(r.type,i.memoizedProps);i=i.memoizedState;try{n.componentDidUpdate(m,i,n.__reactInternalSnapshotBeforeUpdate)}catch(w){Vt(r,r.return,w)}}f&64&&Mh(r),f&512&&Cc(r,r.return);break;case 3:if(Li(n,r),f&64&&(n=r.updateQueue,n!==null)){if(i=null,r.child!==null)switch(r.child.tag){case 27:case 5:i=r.child.stateNode;break;case 1:i=r.child.stateNode}try{Ps(n,i)}catch(w){Vt(r,r.return,w)}}break;case 27:i===null&&f&4&&kh(r);case 26:case 5:Li(n,r),i===null&&f&4&&Dc(r),f&512&&Cc(r,r.return);break;case 12:Li(n,r);break;case 13:Li(n,r),f&4&&jh(n,r),f&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=q1.bind(null,r),$1(n,r))));break;case 22:if(f=r.memoizedState!==null||ji,!f){i=i!==null&&i.memoizedState!==null||On,m=ji;var g=On;ji=f,(On=i)&&!g?Sr(n,r,(r.subtreeFlags&8772)!==0):Li(n,r),ji=m,On=g}break;case 30:break;default:Li(n,r)}}function Hy(n){var i=n.alternate;i!==null&&(n.alternate=null,Hy(i)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(i=n.stateNode,i!==null&&As(i)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var on=null,oa=!1;function Bi(n,i,r){for(r=r.child;r!==null;)Tt(n,i,r),r=r.sibling}function Tt(n,i,r){if(xe&&typeof xe.onCommitFiberUnmount=="function")try{xe.onCommitFiberUnmount(de,r)}catch{}switch(r.tag){case 26:On||ri(r,i),Bi(n,i,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:On||ri(r,i);var f=on,m=oa;wr(r.type)&&(on=r.stateNode,oa=!1),Bi(n,i,r),Pa(r.stateNode),on=f,oa=m;break;case 5:On||ri(r,i);case 6:if(f=on,m=oa,on=null,Bi(n,i,r),on=f,oa=m,on!==null)if(oa)try{(on.nodeType===9?on.body:on.nodeName==="HTML"?on.ownerDocument.body:on).removeChild(r.stateNode)}catch(g){Vt(r,i,g)}else try{on.removeChild(r.stateNode)}catch(g){Vt(r,i,g)}break;case 18:on!==null&&(oa?(n=on,ep(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Ii(n)):ep(on,r.stateNode));break;case 4:f=on,m=oa,on=r.stateNode.containerInfo,oa=!0,Bi(n,i,r),on=f,oa=m;break;case 0:case 11:case 14:case 15:On||br(2,r,i),On||br(4,r,i),Bi(n,i,r);break;case 1:On||(ri(r,i),f=r.stateNode,typeof f.componentWillUnmount=="function"&&My(r,i,f)),Bi(n,i,r);break;case 21:Bi(n,i,r);break;case 22:On=(f=On)||r.memoizedState!==null,Bi(n,i,r),On=f;break;default:Bi(n,i,r)}}function jh(n,i){if(i.memoizedState===null&&(n=i.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Ii(n)}catch(r){Vt(i,i.return,r)}}function jy(n){switch(n.tag){case 13:case 19:var i=n.stateNode;return i===null&&(i=n.stateNode=new Hh),i;case 22:return n=n.stateNode,i=n._retryCache,i===null&&(i=n._retryCache=new Hh),i;default:throw Error(s(435,n.tag))}}function Bh(n,i){var r=jy(n);i.forEach(function(f){var m=Y1.bind(null,n,f);r.has(f)||(r.add(f),f.then(m,m))})}function _a(n,i){var r=i.deletions;if(r!==null)for(var f=0;f<r.length;f++){var m=r[f],g=n,w=i,M=w;e:for(;M!==null;){switch(M.tag){case 27:if(wr(M.type)){on=M.stateNode,oa=!1;break e}break;case 5:on=M.stateNode,oa=!1;break e;case 3:case 4:on=M.stateNode.containerInfo,oa=!0;break e}M=M.return}if(on===null)throw Error(s(160));Tt(g,w,m),on=null,oa=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)bf(i,n),i=i.sibling}var Ca=null;function bf(n,i){var r=n.alternate,f=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:_a(i,n),Wn(n),f&4&&(br(3,n,n.return),vf(3,n),br(5,n,n.return));break;case 1:_a(i,n),Wn(n),f&512&&(On||r===null||ri(r,r.return)),f&64&&ji&&(n=n.updateQueue,n!==null&&(f=n.callbacks,f!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?f:r.concat(f))));break;case 26:var m=Ca;if(_a(i,n),Wn(n),f&512&&(On||r===null||ri(r,r.return)),f&4){var g=r!==null?r.memoizedState:null;if(f=n.memoizedState,r===null)if(f===null)if(n.stateNode===null){e:{f=n.type,r=n.memoizedProps,m=m.ownerDocument||m;t:switch(f){case"title":g=m.getElementsByTagName("title")[0],(!g||g[Be]||g[$n]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(f),m.head.insertBefore(g,m.querySelector("head > title"))),et(g,f,r),g[$n]=n,qn(g),f=g;break e;case"link":var w=sg("link","href",m).get(f+(r.href||""));if(w){for(var M=0;M<w.length;M++)if(g=w[M],g.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&g.getAttribute("rel")===(r.rel==null?null:r.rel)&&g.getAttribute("title")===(r.title==null?null:r.title)&&g.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){w.splice(M,1);break t}}g=m.createElement(f),et(g,f,r),m.head.appendChild(g);break;case"meta":if(w=sg("meta","content",m).get(f+(r.content||""))){for(M=0;M<w.length;M++)if(g=w[M],g.getAttribute("content")===(r.content==null?null:""+r.content)&&g.getAttribute("name")===(r.name==null?null:r.name)&&g.getAttribute("property")===(r.property==null?null:r.property)&&g.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&g.getAttribute("charset")===(r.charSet==null?null:r.charSet)){w.splice(M,1);break t}}g=m.createElement(f),et(g,f,r),m.head.appendChild(g);break;default:throw Error(s(468,f))}g[$n]=n,qn(g),f=g}n.stateNode=f}else fg(m,n.type,n.stateNode);else n.stateNode=k0(m,f,n.memoizedProps);else g!==f?(g===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):g.count--,f===null?fg(m,n.type,n.stateNode):k0(m,f,n.memoizedProps)):f===null&&n.stateNode!==null&&Ny(n,n.memoizedProps,r.memoizedProps)}break;case 27:_a(i,n),Wn(n),f&512&&(On||r===null||ri(r,r.return)),r!==null&&f&4&&Ny(n,n.memoizedProps,r.memoizedProps);break;case 5:if(_a(i,n),Wn(n),f&512&&(On||r===null||ri(r,r.return)),n.flags&32){m=n.stateNode;try{nc(m,"")}catch(ae){Vt(n,n.return,ae)}}f&4&&n.stateNode!=null&&(m=n.memoizedProps,Ny(n,m,r!==null?r.memoizedProps:m)),f&1024&&(Uh=!0);break;case 6:if(_a(i,n),Wn(n),f&4){if(n.stateNode===null)throw Error(s(162));f=n.memoizedProps,r=n.stateNode;try{r.nodeValue=f}catch(ae){Vt(n,n.return,ae)}}break;case 3:if(Dr=null,m=Ca,Ca=tp(i.containerInfo),_a(i,n),Ca=m,Wn(n),f&4&&r!==null&&r.memoizedState.isDehydrated)try{Ii(i.containerInfo)}catch(ae){Vt(n,n.return,ae)}Uh&&(Uh=!1,By(n));break;case 4:f=Ca,Ca=tp(n.stateNode.containerInfo),_a(i,n),Wn(n),Ca=f;break;case 12:_a(i,n),Wn(n);break;case 13:_a(i,n),Wn(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Qy=Mn()),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,Bh(n,f)));break;case 22:m=n.memoizedState!==null;var j=r!==null&&r.memoizedState!==null,P=ji,he=On;if(ji=P||m,On=he||j,_a(i,n),On=he,ji=P,Wn(n),f&8192)e:for(i=n.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(r===null||j||ji||On||cn(n)),r=null,i=n;;){if(i.tag===5||i.tag===26){if(r===null){j=r=i;try{if(g=j.stateNode,m)w=g.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{M=j.stateNode;var ve=j.memoizedProps.style,ee=ve!=null&&ve.hasOwnProperty("display")?ve.display:null;M.style.display=ee==null||typeof ee=="boolean"?"":(""+ee).trim()}}catch(ae){Vt(j,j.return,ae)}}}else if(i.tag===6){if(r===null){j=i;try{j.stateNode.nodeValue=m?"":j.memoizedProps}catch(ae){Vt(j,j.return,ae)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===n)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break e;for(;i.sibling===null;){if(i.return===null||i.return===n)break e;r===i&&(r=null),i=i.return}r===i&&(r=null),i.sibling.return=i.return,i=i.sibling}f&4&&(f=n.updateQueue,f!==null&&(r=f.retryQueue,r!==null&&(f.retryQueue=null,Bh(n,r))));break;case 19:_a(i,n),Wn(n),f&4&&(f=n.updateQueue,f!==null&&(n.updateQueue=null,Bh(n,f)));break;case 30:break;case 21:break;default:_a(i,n),Wn(n)}}function Wn(n){var i=n.flags;if(i&2){try{for(var r,f=n.return;f!==null;){if(g0(f)){r=f;break}f=f.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var m=r.stateNode,g=Ul(n);Nh(n,g,m);break;case 5:var w=r.stateNode;r.flags&32&&(nc(w,""),r.flags&=-33);var M=Ul(n);Nh(n,M,w);break;case 3:case 4:var j=r.stateNode.containerInfo,P=Ul(n);Eo(n,P,j);break;default:throw Error(s(161))}}catch(he){Vt(n,n.return,he)}n.flags&=-3}i&4096&&(n.flags&=-4097)}function By(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var i=n;By(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),n=n.sibling}}function Li(n,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)Uy(n,i.alternate,i),i=i.sibling}function cn(n){for(n=n.child;n!==null;){var i=n;switch(i.tag){case 0:case 11:case 14:case 15:br(4,i,i.return),cn(i);break;case 1:ri(i,i.return);var r=i.stateNode;typeof r.componentWillUnmount=="function"&&My(i,i.return,r),cn(i);break;case 27:Pa(i.stateNode);case 26:case 5:ri(i,i.return),cn(i);break;case 22:i.memoizedState===null&&cn(i);break;case 30:cn(i);break;default:cn(i)}n=n.sibling}}function Sr(n,i,r){for(r=r&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var f=i.alternate,m=n,g=i,w=g.flags;switch(g.tag){case 0:case 11:case 15:Sr(m,g,r),vf(4,g);break;case 1:if(Sr(m,g,r),f=g,m=f.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(P){Vt(f,f.return,P)}if(f=g,m=f.updateQueue,m!==null){var M=f.stateNode;try{var j=m.shared.hiddenCallbacks;if(j!==null)for(m.shared.hiddenCallbacks=null,m=0;m<j.length;m++)eh(j[m],M)}catch(P){Vt(f,f.return,P)}}r&&w&64&&Mh(g),Cc(g,g.return);break;case 27:kh(g);case 26:case 5:Sr(m,g,r),r&&f===null&&w&4&&Dc(g),Cc(g,g.return);break;case 12:Sr(m,g,r);break;case 13:Sr(m,g,r),r&&w&4&&jh(m,g);break;case 22:g.memoizedState===null&&Sr(m,g,r),Cc(g,g.return);break;case 30:break;default:Sr(m,g,r)}i=i.sibling}}function Hl(n,i){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(n=i.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Ri(r))}function Lh(n,i){n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Ri(n))}function ca(n,i,r,f){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Ly(n,i,r,f),i=i.sibling}function Ly(n,i,r,f){var m=i.flags;switch(i.tag){case 0:case 11:case 15:ca(n,i,r,f),m&2048&&vf(9,i);break;case 1:ca(n,i,r,f);break;case 3:ca(n,i,r,f),m&2048&&(n=null,i.alternate!==null&&(n=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==n&&(i.refCount++,n!=null&&Ri(n)));break;case 12:if(m&2048){ca(n,i,r,f),n=i.stateNode;try{var g=i.memoizedProps,w=g.id,M=g.onPostCommit;typeof M=="function"&&M(w,i.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(j){Vt(i,i.return,j)}}else ca(n,i,r,f);break;case 13:ca(n,i,r,f);break;case 23:break;case 22:g=i.stateNode,w=i.alternate,i.memoizedState!==null?g._visibility&2?ca(n,i,r,f):Ut(n,i):g._visibility&2?ca(n,i,r,f):(g._visibility|=2,xu(n,i,r,f,(i.subtreeFlags&10256)!==0)),m&2048&&Hl(w,i);break;case 24:ca(n,i,r,f),m&2048&&Lh(i.alternate,i);break;default:ca(n,i,r,f)}}function xu(n,i,r,f,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var g=n,w=i,M=r,j=f,P=w.flags;switch(w.tag){case 0:case 11:case 15:xu(g,w,M,j,m),vf(8,w);break;case 23:break;case 22:var he=w.stateNode;w.memoizedState!==null?he._visibility&2?xu(g,w,M,j,m):Ut(g,w):(he._visibility|=2,xu(g,w,M,j,m)),m&&P&2048&&Hl(w.alternate,w);break;case 24:xu(g,w,M,j,m),m&&P&2048&&Lh(w.alternate,w);break;default:xu(g,w,M,j,m)}i=i.sibling}}function Ut(n,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var r=n,f=i,m=f.flags;switch(f.tag){case 22:Ut(r,f),m&2048&&Hl(f.alternate,f);break;case 24:Ut(r,f),m&2048&&Lh(f.alternate,f);break;default:Ut(r,f)}i=i.sibling}}var To=8192;function Rn(n){if(n.subtreeFlags&To)for(n=n.child;n!==null;)v0(n),n=n.sibling}function v0(n){switch(n.tag){case 26:Rn(n),n.flags&To&&n.memoizedState!==null&&j0(Ca,n.memoizedState,n.memoizedProps);break;case 5:Rn(n);break;case 3:case 4:var i=Ca;Ca=tp(n.stateNode.containerInfo),Rn(n),Ca=i;break;case 22:n.memoizedState===null&&(i=n.alternate,i!==null&&i.memoizedState!==null?(i=To,To=16777216,Rn(n),To=i):Rn(n));break;default:Rn(n)}}function Zy(n){var i=n.alternate;if(i!==null&&(n=i.child,n!==null)){i.child=null;do i=n.sibling,n.sibling=null,n=i;while(n!==null)}}function Ao(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var f=i[r];Xn=f,Yy(f,n)}Zy(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)qy(n),n=n.sibling}function qy(n){switch(n.tag){case 0:case 11:case 15:Ao(n),n.flags&2048&&br(9,n,n.return);break;case 3:Ao(n);break;case 12:Ao(n);break;case 22:var i=n.stateNode;n.memoizedState!==null&&i._visibility&2&&(n.return===null||n.return.tag!==13)?(i._visibility&=-3,Da(n)):Ao(n);break;default:Ao(n)}}function Da(n){var i=n.deletions;if((n.flags&16)!==0){if(i!==null)for(var r=0;r<i.length;r++){var f=i[r];Xn=f,Yy(f,n)}Zy(n)}for(n=n.child;n!==null;){switch(i=n,i.tag){case 0:case 11:case 15:br(8,i,i.return),Da(i);break;case 22:r=i.stateNode,r._visibility&2&&(r._visibility&=-3,Da(i));break;default:Da(i)}n=n.sibling}}function Yy(n,i){for(;Xn!==null;){var r=Xn;switch(r.tag){case 0:case 11:case 15:br(8,r,i);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var f=r.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Ri(r.memoizedState.cache)}if(f=r.child,f!==null)f.return=r,Xn=f;else e:for(r=n;Xn!==null;){f=Xn;var m=f.sibling,g=f.return;if(Hy(f),f===r){Xn=null;break e}if(m!==null){m.return=g,Xn=m;break e}Xn=g}}}var Vy={getCacheForType:function(n){var i=Kn(Yn),r=i.data.get(n);return r===void 0&&(r=n(),i.data.set(n,r)),r}},b0=typeof WeakMap=="function"?WeakMap:Map,Zt=0,Kt=null,At=null,xt=0,qt=0,Ja=null,Zi=!1,Mc=!1,Gy=!1,Ou=0,wn=0,Ru=0,xo=0,qi=0,jl=0,Nc=0,kc=null,$a=null,Xy=!1,Qy=0,Zh=1/0,Uc=null,Er=null,sa=0,Yi=null,Hc=null,fa=0,qh=0,Yh=null,Iy=null,jc=0,Jy=null;function sl(){if((Zt&2)!==0&&xt!==0)return xt&-xt;if(q.T!==null){var n=Ml;return n!==0?n:zo()}return Sd()}function $y(){jl===0&&(jl=(xt&536870912)===0||Nt?Re():536870912);var n=cl.current;return n!==null&&(n.flags|=32),jl}function fl(n,i,r){(n===Kt&&(qt===2||qt===9)||n.cancelPendingCommit!==null)&&(Vi(n,0),wu(n,xt,jl,!1)),at(n,r),((Zt&2)===0||n!==Kt)&&(n===Kt&&((Zt&2)===0&&(xo|=r),wn===4&&wu(n,xt,jl,!1)),Ka(n))}function Bc(n,i,r){if((Zt&6)!==0)throw Error(s(327));var f=!r&&(i&124)===0&&(i&n.expiredLanes)===0||C(n,i),m=f?Py(n,i):Vh(n,i,!0),g=f;do{if(m===0){Mc&&!f&&wu(n,i,0,!1);break}else{if(r=n.current.alternate,g&&!S0(r)){m=Vh(n,i,!1),g=!1;continue}if(m===2){if(g=i,n.errorRecoveryDisabledLanes&g)var w=0;else w=n.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){i=w;e:{var M=n;m=kc;var j=M.current.memoizedState.isDehydrated;if(j&&(Vi(M,w).flags|=256),w=Vh(M,w,!1),w!==2){if(Gy&&!j){M.errorRecoveryDisabledLanes|=g,xo|=g,m=4;break e}g=$a,$a=m,g!==null&&($a===null?$a=g:$a.push.apply($a,g))}m=w}if(g=!1,m!==2)continue}}if(m===1){Vi(n,0),wu(n,i,0,!0);break}e:{switch(f=n,g=m,g){case 0:case 1:throw Error(s(345));case 4:if((i&4194048)!==i)break;case 6:wu(f,i,jl,!Zi);break e;case 2:$a=null;break;case 3:case 5:break;default:throw Error(s(329))}if((i&62914560)===i&&(m=Qy+300-Mn(),10<m)){if(wu(f,i,jl,!Zi),en(f,0,!0)!==0)break e;f.timeoutHandle=Wh(Sf.bind(null,f,r,$a,Uc,Xy,i,jl,xo,Nc,Zi,g,2,-0,0),m);break e}Sf(f,r,$a,Uc,Xy,i,jl,xo,Nc,Zi,g,0,-0,0)}}break}while(!0);Ka(n)}function Sf(n,i,r,f,m,g,w,M,j,P,he,ve,ee,ae){if(n.timeoutHandle=-1,ve=i.subtreeFlags,(ve&8192||(ve&16785408)===16785408)&&(Kc={stylesheets:null,count:0,unsuspend:H0},v0(i),ve=hg(),ve!==null)){n.cancelPendingCommit=ve(A0.bind(null,n,i,g,r,f,m,w,M,j,he,1,ee,ae)),wu(n,g,w,!P);return}A0(n,i,g,r,f,m,w,M,j)}function S0(n){for(var i=n;;){var r=i.tag;if((r===0||r===11||r===15)&&i.flags&16384&&(r=i.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var f=0;f<r.length;f++){var m=r[f],g=m.getSnapshot;m=m.value;try{if(!ra(g(),m))return!1}catch{return!1}}if(r=i.child,i.subtreeFlags&16384&&r!==null)r.return=i,i=r;else{if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function wu(n,i,r,f){i&=~qi,i&=~xo,n.suspendedLanes|=i,n.pingedLanes&=~i,f&&(n.warmLanes|=i),f=n.expirationTimes;for(var m=i;0<m;){var g=31-Ke(m),w=1<<g;f[g]=-1,m&=~w}r!==0&&zt(n,r,i)}function Oo(){return(Zt&6)===0?(xf(0),!1):!0}function Tr(){if(At!==null){if(qt===0)var n=At.return;else n=At,ai=gu=null,lh(n),mo=null,Oc=0,n=At;for(;n!==null;)Dy(n.alternate,n),n=n.return;At=null}}function Vi(n,i){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,Q1(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),Tr(),Kt=n,At=r=ti(n.current,null),xt=i,qt=0,Ja=null,Zi=!1,Mc=C(n,i),Gy=!1,Nc=jl=qi=xo=Ru=wn=0,$a=kc=null,Xy=!1,(i&8)!==0&&(i|=i&32);var f=n.entangledLanes;if(f!==0)for(n=n.entanglements,f&=i;0<f;){var m=31-Ke(f),g=1<<m;i|=n[m],f&=~g}return Ou=i,ei(),r}function Ky(n,i){ct=null,q.H=bh,i===dr||i===$s?(i=ey(),qt=3):i===$d?(i=ey(),qt=4):qt=i===xn?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ja=i,At===null&&(wn=1,pf(n,ul(i,n.current)))}function E0(){var n=q.H;return q.H=bh,n===null?bh:n}function Ro(){var n=q.A;return q.A=Vy,n}function wo(){wn=4,Zi||(xt&4194048)!==xt&&cl.current!==null||(Mc=!0),(Ru&134217727)===0&&(xo&134217727)===0||Kt===null||wu(Kt,xt,jl,!1)}function Vh(n,i,r){var f=Zt;Zt|=2;var m=E0(),g=Ro();(Kt!==n||xt!==i)&&(Uc=null,Vi(n,i)),i=!1;var w=wn;e:do try{if(qt!==0&&At!==null){var M=At,j=Ja;switch(qt){case 8:Tr(),w=6;break e;case 3:case 2:case 9:case 6:cl.current===null&&(i=!0);var P=qt;if(qt=0,Ja=null,Lc(n,M,j,P),r&&Mc){w=0;break e}break;default:P=qt,qt=0,Ja=null,Lc(n,M,j,P)}}Gh(),w=wn;break}catch(he){Ky(n,he)}while(!0);return i&&n.shellSuspendCounter++,ai=gu=null,Zt=f,q.H=m,q.A=g,At===null&&(Kt=null,xt=0,ei()),w}function Gh(){for(;At!==null;)Wy(At)}function Py(n,i){var r=Zt;Zt|=2;var f=E0(),m=Ro();Kt!==n||xt!==i?(Uc=null,Zh=Mn()+500,Vi(n,i)):Mc=C(n,i);e:do try{if(qt!==0&&At!==null){i=At;var g=Ja;t:switch(qt){case 1:qt=0,Ja=null,Lc(n,i,g,1);break;case 2:case 9:if(Pd(g)){qt=0,Ja=null,eg(i);break}i=function(){qt!==2&&qt!==9||Kt!==n||(qt=7),Ka(n)},g.then(i,i);break e;case 3:qt=7;break e;case 4:qt=5;break e;case 7:Pd(g)?(qt=0,Ja=null,eg(i)):(qt=0,Ja=null,Lc(n,i,g,7));break;case 5:var w=null;switch(At.tag){case 26:w=At.memoizedState;case 5:case 27:var M=At;if(!w||dg(w)){qt=0,Ja=null;var j=M.sibling;if(j!==null)At=j;else{var P=M.return;P!==null?(At=P,Ef(P)):At=null}break t}}qt=0,Ja=null,Lc(n,i,g,5);break;case 6:qt=0,Ja=null,Lc(n,i,g,6);break;case 8:Tr(),wn=6;break e;default:throw Error(s(462))}}Fy();break}catch(he){Ky(n,he)}while(!0);return ai=gu=null,q.H=f,q.A=m,Zt=r,At!==null?0:(Kt=null,xt=0,ei(),wn)}function Fy(){for(;At!==null&&!Iu();)Wy(At)}function Wy(n){var i=y0(n.alternate,n,Ou);n.memoizedProps=n.pendingProps,i===null?Ef(n):At=i}function eg(n){var i=n,r=i.alternate;switch(i.tag){case 15:case 0:i=Ry(r,i,i.pendingProps,i.type,void 0,xt);break;case 11:i=Ry(r,i,i.pendingProps,i.type.render,i.ref,xt);break;case 5:lh(i);default:Dy(r,i),i=At=bt(i,Ou),i=y0(r,i,Ou)}n.memoizedProps=n.pendingProps,i===null?Ef(n):At=i}function Lc(n,i,r,f){ai=gu=null,lh(i),mo=null,Oc=0;var m=i.return;try{if(h0(n,m,i,r,xt)){wn=1,pf(n,ul(r,n.current)),At=null;return}}catch(g){if(m!==null)throw At=m,g;wn=1,pf(n,ul(r,n.current)),At=null;return}i.flags&32768?(Nt||f===1?n=!0:Mc||(xt&536870912)!==0?n=!1:(Zi=n=!0,(f===2||f===9||f===3||f===6)&&(f=cl.current,f!==null&&f.tag===13&&(f.flags|=16384))),T0(i,n)):Ef(i)}function Ef(n){var i=n;do{if((i.flags&32768)!==0){T0(i,Zi);return}n=i.return;var r=Cy(i.alternate,i,Ou);if(r!==null){At=r;return}if(i=i.sibling,i!==null){At=i;return}At=i=n}while(i!==null);wn===0&&(wn=5)}function T0(n,i){do{var r=Z1(n.alternate,n);if(r!==null){r.flags&=32767,At=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!i&&(n=n.sibling,n!==null)){At=n;return}At=n=r}while(n!==null);wn=6,At=null}function A0(n,i,r,f,m,g,w,M,j){n.cancelPendingCommit=null;do Qh();while(sa!==0);if((Zt&6)!==0)throw Error(s(327));if(i!==null){if(i===n.current)throw Error(s(177));if(g=i.lanes|i.childLanes,g|=Ti,ot(n,r,g,w,M,j),n===Kt&&(At=Kt=null,xt=0),Hc=i,Yi=n,fa=r,qh=g,Yh=m,Iy=f,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,V1(xl,function(){return tg(),null})):(n.callbackNode=null,n.callbackPriority=0),f=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||f){f=q.T,q.T=null,m=F.p,F.p=2,w=Zt,Zt|=4;try{ky(n,i,r)}finally{Zt=w,F.p=m,q.T=f}}sa=1,x0(),Tf(),Xh()}}function x0(){if(sa===1){sa=0;var n=Yi,i=Hc,r=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||r){r=q.T,q.T=null;var f=F.p;F.p=2;var m=Zt;Zt|=4;try{bf(i,n);var g=Mf,w=Vm(n.containerInfo),M=g.focusedElem,j=g.selectionRange;if(w!==M&&M&&M.ownerDocument&&Bs(M.ownerDocument.documentElement,M)){if(j!==null&&Ls(M)){var P=j.start,he=j.end;if(he===void 0&&(he=P),"selectionStart"in M)M.selectionStart=P,M.selectionEnd=Math.min(he,M.value.length);else{var ve=M.ownerDocument||document,ee=ve&&ve.defaultView||window;if(ee.getSelection){var ae=ee.getSelection(),Je=M.textContent.length,$e=Math.min(j.start,Je),Ht=j.end===void 0?$e:Math.min(j.end,Je);!ae.extend&&$e>Ht&&(w=Ht,Ht=$e,$e=w);var J=tn(M,$e),G=tn(M,Ht);if(J&&G&&(ae.rangeCount!==1||ae.anchorNode!==J.node||ae.anchorOffset!==J.offset||ae.focusNode!==G.node||ae.focusOffset!==G.offset)){var $=ve.createRange();$.setStart(J.node,J.offset),ae.removeAllRanges(),$e>Ht?(ae.addRange($),ae.extend(G.node,G.offset)):($.setEnd(G.node,G.offset),ae.addRange($))}}}}for(ve=[],ae=M;ae=ae.parentNode;)ae.nodeType===1&&ve.push({element:ae,left:ae.scrollLeft,top:ae.scrollTop});for(typeof M.focus=="function"&&M.focus(),M=0;M<ve.length;M++){var me=ve[M];me.element.scrollLeft=me.left,me.element.scrollTop=me.top}}jf=!!Df,Mf=Df=null}finally{Zt=m,F.p=f,q.T=r}}n.current=i,sa=2}}function Tf(){if(sa===2){sa=0;var n=Yi,i=Hc,r=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||r){r=q.T,q.T=null;var f=F.p;F.p=2;var m=Zt;Zt|=4;try{Uy(n,i.alternate,i)}finally{Zt=m,F.p=f,q.T=r}}sa=3}}function Xh(){if(sa===4||sa===3){sa=0,pn();var n=Yi,i=Hc,r=fa,f=Iy;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?sa=5:(sa=0,Hc=Yi=null,O0(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Er=null),Jl(r),i=i.stateNode,xe&&typeof xe.onCommitFiberRoot=="function")try{xe.onCommitFiberRoot(de,i,void 0,(i.current.flags&128)===128)}catch{}if(f!==null){i=q.T,m=F.p,F.p=2,q.T=null;try{for(var g=n.onRecoverableError,w=0;w<f.length;w++){var M=f[w];g(M.value,{componentStack:M.stack})}}finally{q.T=i,F.p=m}}(fa&3)!==0&&Qh(),Ka(n),m=n.pendingLanes,(r&4194090)!==0&&(m&42)!==0?n===Jy?jc++:(jc=0,Jy=n):jc=0,xf(0)}}function O0(n,i){(n.pooledCacheLanes&=i)===0&&(i=n.pooledCache,i!=null&&(n.pooledCache=null,Ri(i)))}function Qh(n){return x0(),Tf(),Xh(),tg()}function tg(){if(sa!==5)return!1;var n=Yi,i=qh;qh=0;var r=Jl(fa),f=q.T,m=F.p;try{F.p=32>r?32:r,q.T=null,r=Yh,Yh=null;var g=Yi,w=fa;if(sa=0,Hc=Yi=null,fa=0,(Zt&6)!==0)throw Error(s(331));var M=Zt;if(Zt|=4,qy(g.current),Ly(g,g.current,w,r),Zt=M,xf(0,!1),xe&&typeof xe.onPostCommitFiberRoot=="function")try{xe.onPostCommitFiberRoot(de,g)}catch{}return!0}finally{F.p=m,q.T=f,O0(n,i)}}function ng(n,i,r){i=ul(r,i),i=xy(n.stateNode,i,2),n=_i(n,i,2),n!==null&&(at(n,2),Ka(n))}function Vt(n,i,r){if(n.tag===3)ng(n,n,r);else for(;i!==null;){if(i.tag===3){ng(i,n,r);break}else if(i.tag===1){var f=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(Er===null||!Er.has(f))){n=ul(r,n),r=Oy(2),f=_i(i,r,2),f!==null&&(Ia(r,f,i,n),at(f,2),Ka(f));break}}i=i.return}}function Ih(n,i,r){var f=n.pingCache;if(f===null){f=n.pingCache=new b0;var m=new Set;f.set(i,m)}else m=f.get(i),m===void 0&&(m=new Set,f.set(i,m));m.has(r)||(Gy=!0,m.add(r),n=ag.bind(null,n,i,r),i.then(n,n))}function ag(n,i,r){var f=n.pingCache;f!==null&&f.delete(i),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,Kt===n&&(xt&r)===r&&(wn===4||wn===3&&(xt&62914560)===xt&&300>Mn()-Qy?(Zt&2)===0&&Vi(n,0):qi|=r,Nc===xt&&(Nc=0)),Ka(n)}function lg(n,i){i===0&&(i=De()),n=Ai(n,i),n!==null&&(at(n,i),Ka(n))}function q1(n){var i=n.memoizedState,r=0;i!==null&&(r=i.retryLane),lg(n,r)}function Y1(n,i){var r=0;switch(n.tag){case 13:var f=n.stateNode,m=n.memoizedState;m!==null&&(r=m.retryLane);break;case 19:f=n.stateNode;break;case 22:f=n.stateNode._retryCache;break;default:throw Error(s(314))}f!==null&&f.delete(i),lg(n,r)}function V1(n,i){return Al(n,i)}var Jh=null,Ar=null,Af=!1,Zc=!1,$h=!1,xr=0;function Ka(n){n!==Ar&&n.next===null&&(Ar===null?Jh=Ar=n:Ar=Ar.next=n),Zc=!0,Af||(Af=!0,z0())}function xf(n,i){if(!$h&&Zc){$h=!0;do for(var r=!1,f=Jh;f!==null;){if(n!==0){var m=f.pendingLanes;if(m===0)var g=0;else{var w=f.suspendedLanes,M=f.pingedLanes;g=(1<<31-Ke(42|n)+1)-1,g&=m&~(w&~M),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(r=!0,Rf(f,g))}else g=xt,g=en(f,f===Kt?g:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(g&3)===0||C(f,g)||(r=!0,Rf(f,g));f=f.next}while(r);$h=!1}}function R0(){Of()}function Of(){Zc=Af=!1;var n=0;xr!==0&&(Cu()&&(n=xr),xr=0);for(var i=Mn(),r=null,f=Jh;f!==null;){var m=f.next,g=ig(f,i);g===0?(f.next=null,r===null?Jh=m:r.next=m,m===null&&(Ar=r)):(r=f,(n!==0||(g&3)!==0)&&(Zc=!0)),f=m}xf(n)}function ig(n,i){for(var r=n.suspendedLanes,f=n.pingedLanes,m=n.expirationTimes,g=n.pendingLanes&-62914561;0<g;){var w=31-Ke(g),M=1<<w,j=m[w];j===-1?((M&r)===0||(M&f)!==0)&&(m[w]=I(M,i)):j<=i&&(n.expiredLanes|=M),g&=~M}if(i=Kt,r=xt,r=en(n,n===i?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f=n.callbackNode,r===0||n===i&&(qt===2||qt===9)||n.cancelPendingCommit!==null)return f!==null&&f!==null&&Qu(f),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||C(n,r)){if(i=r&-r,i===n.callbackPriority)return i;switch(f!==null&&Qu(f),Jl(r)){case 2:case 8:r=ut;break;case 32:r=xl;break;case 268435456:r=Il;break;default:r=xl}return f=w0.bind(null,n),r=Al(r,f),n.callbackPriority=i,n.callbackNode=r,i}return f!==null&&f!==null&&Qu(f),n.callbackPriority=2,n.callbackNode=null,2}function w0(n,i){if(sa!==0&&sa!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(Qh()&&n.callbackNode!==r)return null;var f=xt;return f=en(n,n===Kt?f:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),f===0?null:(Bc(n,f,i),ig(n,Mn()),n.callbackNode!=null&&n.callbackNode===r?w0.bind(null,n):null)}function Rf(n,i){if(Qh())return null;Bc(n,i,!0)}function z0(){I1(function(){(Zt&6)!==0?Al(Br,R0):Of()})}function zo(){return xr===0&&(xr=Re()),xr}function Kh(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:Cs(""+n)}function wf(n,i){var r=i.ownerDocument.createElement("input");return r.name=i.name,r.value=i.value,n.id&&r.setAttribute("form",n.id),i.parentNode.insertBefore(r,i),n=new FormData(n),r.parentNode.removeChild(r),n}function _0(n,i,r,f,m){if(i==="submit"&&r&&r.stateNode===m){var g=Kh((m[Ra]||null).action),w=f.submitter;w&&(i=(i=w[Ra]||null)?Kh(i.formAction):w.getAttribute("formAction"),i!==null&&(g=i,w=null));var M=new Md("action","action",null,f,m);n.push({event:M,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(xr!==0){var j=w?wf(m,w):new FormData(m);vh(r,{pending:!0,data:j,method:m.method,action:g},null,j)}}else typeof g=="function"&&(M.preventDefault(),j=w?wf(m,w):new FormData(m),vh(r,{pending:!0,data:j,method:m.method,action:g},g,j))},currentTarget:m}]})}}for(var zn=0;zn<oc.length;zn++){var zf=oc[zn],G1=zf.toLowerCase(),yt=zf[0].toUpperCase()+zf.slice(1);wl(G1,"on"+yt)}wl(Fv,"onAnimationEnd"),wl(Gm,"onAnimationIteration"),wl(Wv,"onAnimationStart"),wl("dblclick","onDoubleClick"),wl("focusin","onFocus"),wl("focusout","onBlur"),wl(Xm,"onTransitionRun"),wl(qd,"onTransitionStart"),wl(e0,"onTransitionCancel"),wl(Qm,"onTransitionEnd"),Ku("onMouseEnter",["mouseout","mouseover"]),Ku("onMouseLeave",["mouseout","mouseover"]),Ku("onPointerEnter",["pointerout","pointerover"]),Ku("onPointerLeave",["pointerout","pointerover"]),$u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$u("onBeforeInput",["compositionend","keypress","textInput","paste"]),$u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var _f="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Or=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(_f));function _o(n,i){i=(i&4)!==0;for(var r=0;r<n.length;r++){var f=n[r],m=f.event;f=f.listeners;e:{var g=void 0;if(i)for(var w=f.length-1;0<=w;w--){var M=f[w],j=M.instance,P=M.currentTarget;if(M=M.listener,j!==g&&m.isPropagationStopped())break e;g=M,m.currentTarget=P;try{g(m)}catch(he){df(he)}m.currentTarget=null,g=j}else for(w=0;w<f.length;w++){if(M=f[w],j=M.instance,P=M.currentTarget,M=M.listener,j!==g&&m.isPropagationStopped())break e;g=M,m.currentTarget=P;try{g(m)}catch(he){df(he)}m.currentTarget=null,g=j}}}}function st(n,i){var r=i[Ed];r===void 0&&(r=i[Ed]=new Set);var f=n+"__bubble";r.has(f)||(Ph(i,n,2,!1),r.add(f))}function qc(n,i,r){var f=0;i&&(f|=4),Ph(r,n,f,i)}var Yc="_reactListening"+Math.random().toString(36).slice(2);function ug(n){if(!n[Yc]){n[Yc]=!0,Os.forEach(function(r){r!=="selectionchange"&&(Or.has(r)||qc(r,!1,n),qc(r,!0,n))});var i=n.nodeType===9?n:n.ownerDocument;i===null||i[Yc]||(i[Yc]=!0,qc("selectionchange",!1,i))}}function Ph(n,i,r,f){switch(Eg(i)){case 2:var m=B0;break;case 8:m=L0;break;default:m=bg}r=m.bind(null,i,r,n),m=void 0,!_d||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),f?m!==void 0?n.addEventListener(i,r,{capture:!0,passive:m}):n.addEventListener(i,r,!0):m!==void 0?n.addEventListener(i,r,{passive:m}):n.addEventListener(i,r,!1)}function Bl(n,i,r,f,m){var g=f;if((i&1)===0&&(i&2)===0&&f!==null)e:for(;;){if(f===null)return;var w=f.tag;if(w===3||w===4){var M=f.stateNode.containerInfo;if(M===m)break;if(w===4)for(w=f.return;w!==null;){var j=w.tag;if((j===3||j===4)&&w.stateNode.containerInfo===m)return;w=w.return}for(;M!==null;){if(w=ia(M),w===null)return;if(j=w.tag,j===5||j===6||j===26||j===27){f=g=w;continue e}M=M.parentNode}}f=f.return}ic(function(){var P=g,he=zd(r),ve=[];e:{var ee=Im.get(n);if(ee!==void 0){var ae=Md,Je=n;switch(n){case"keypress":if(ua(r)===0)break e;case"keydown":case"keyup":ae=$l;break;case"focusin":Je="focus",ae=zm;break;case"focusout":Je="blur",ae=zm;break;case"beforeblur":case"afterblur":ae=zm;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ae=wm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ae=Vv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ae=Dm;break;case Fv:case Gm:case Wv:ae=H1;break;case Qm:ae=Jv;break;case"scroll":case"scrollend":ae=qv;break;case"wheel":ae=Pr;break;case"copy":case"cut":case"paste":ae=Ns;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ae=ks;break;case"toggle":case"beforetoggle":ae=$v}var $e=(i&4)!==0,Ht=!$e&&(n==="scroll"||n==="scrollend"),J=$e?ee!==null?ee+"Capture":null:ee;$e=[];for(var G=P,$;G!==null;){var me=G;if($=me.stateNode,me=me.tag,me!==5&&me!==26&&me!==27||$===null||J===null||(me=Ir(G,J),me!=null&&$e.push(zu(G,me,$))),Ht)break;G=G.return}0<$e.length&&(ee=new ae(ee,Je,null,r,he),ve.push({event:ee,listeners:$e}))}}if((i&7)===0){e:{if(ee=n==="mouseover"||n==="pointerover",ae=n==="mouseout"||n==="pointerout",ee&&r!==Qr&&(Je=r.relatedTarget||r.fromElement)&&(ia(Je)||Je[ec]))break e;if((ae||ee)&&(ee=he.window===he?he:(ee=he.ownerDocument)?ee.defaultView||ee.parentWindow:window,ae?(Je=r.relatedTarget||r.toElement,ae=P,Je=Je?ia(Je):null,Je!==null&&(Ht=y(Je),$e=Je.tag,Je!==Ht||$e!==5&&$e!==27&&$e!==6)&&(Je=null)):(ae=null,Je=P),ae!==Je)){if($e=wm,me="onMouseLeave",J="onMouseEnter",G="mouse",(n==="pointerout"||n==="pointerover")&&($e=ks,me="onPointerLeave",J="onPointerEnter",G="pointer"),Ht=ae==null?ee:xs(ae),$=Je==null?ee:xs(Je),ee=new $e(me,G+"leave",ae,r,he),ee.target=Ht,ee.relatedTarget=$,me=null,ia(he)===P&&($e=new $e(J,G+"enter",Je,r,he),$e.target=$,$e.relatedTarget=Ht,me=$e),Ht=me,ae&&Je)t:{for($e=ae,J=Je,G=0,$=$e;$;$=Rr($))G++;for($=0,me=J;me;me=Rr(me))$++;for(;0<G-$;)$e=Rr($e),G--;for(;0<$-G;)J=Rr(J),$--;for(;G--;){if($e===J||J!==null&&$e===J.alternate)break t;$e=Rr($e),J=Rr(J)}$e=null}else $e=null;ae!==null&&Cf(ve,ee,ae,$e,!1),Je!==null&&Ht!==null&&Cf(ve,Ht,Je,$e,!0)}}e:{if(ee=P?xs(P):window,ae=ee.nodeName&&ee.nodeName.toLowerCase(),ae==="select"||ae==="input"&&ee.type==="file")var je=jm;else if(jd(ee))if(Bm)je=qm;else{je=nr;var St=Ld}else ae=ee.nodeName,!ae||ae.toLowerCase()!=="input"||ee.type!=="checkbox"&&ee.type!=="radio"?P&&Xr(P.elementType)&&(je=jm):je=hu;if(je&&(je=je(n,P))){Bd(ve,je,r,he);break e}St&&St(n,ee,P),n==="focusout"&&P&&ee.type==="number"&&P.memoizedProps.value!=null&&zs(ee,"number",ee.value)}switch(St=P?xs(P):window,n){case"focusin":(jd(St)||St.contentEditable==="true")&&(Si=St,Fl=P,ir=null);break;case"focusout":ir=Fl=Si=null;break;case"mousedown":no=!0;break;case"contextmenu":case"mouseup":case"dragend":no=!1,Zd(ve,r,he);break;case"selectionchange":if(to)break;case"keydown":case"keyup":Zd(ve,r,he)}var Ge;if(Us)e:{switch(n){case"compositionstart":var Fe="onCompositionStart";break e;case"compositionend":Fe="onCompositionEnd";break e;case"compositionupdate":Fe="onCompositionUpdate";break e}Fe=void 0}else tr?js(n,r)&&(Fe="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(Fe="onCompositionStart");Fe&&(vi&&r.locale!=="ko"&&(tr||Fe!=="onCompositionStart"?Fe==="onCompositionEnd"&&tr&&(Ge=Om()):(fu=he,uc="value"in fu?fu.value:fu.textContent,tr=!0)),St=Vc(P,Fe),0<St.length&&(Fe=new _m(Fe,n,null,r,he),ve.push({event:Fe,listeners:St}),Ge?Fe.data=Ge:(Ge=er(r),Ge!==null&&(Fe.data=Ge)))),(Ge=Nm?Um(n,r):Fr(n,r))&&(Fe=Vc(P,"onBeforeInput"),0<Fe.length&&(St=new _m("onBeforeInput","beforeinput",null,r,he),ve.push({event:St,listeners:Fe}),St.data=Ge)),_0(ve,n,P,r,he)}_o(ve,i)})}function zu(n,i,r){return{instance:n,listener:i,currentTarget:r}}function Vc(n,i){for(var r=i+"Capture",f=[];n!==null;){var m=n,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=Ir(n,r),m!=null&&f.unshift(zu(n,m,g)),m=Ir(n,i),m!=null&&f.push(zu(n,m,g))),n.tag===3)return f;n=n.return}return[]}function Rr(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Cf(n,i,r,f,m){for(var g=i._reactName,w=[];r!==null&&r!==f;){var M=r,j=M.alternate,P=M.stateNode;if(M=M.tag,j!==null&&j===f)break;M!==5&&M!==26&&M!==27||P===null||(j=P,m?(P=Ir(r,g),P!=null&&w.unshift(zu(r,P,j))):m||(P=Ir(r,g),P!=null&&w.push(zu(r,P,j)))),r=r.return}w.length!==0&&n.push({event:i,listeners:w})}var dl=/\r\n?/g,rg=/\u0000|\uFFFD/g;function C0(n){return(typeof n=="string"?n:""+n).replace(dl,`
|
|
82
|
-
`).replace(rg,"")}function og(n,i){return i=C0(i),C0(n)===i}function Fh(){}function lt(n,i,r,f,m,g){switch(r){case"children":typeof f=="string"?i==="body"||i==="textarea"&&f===""||nc(n,f):(typeof f=="number"||typeof f=="bigint")&&i!=="body"&&nc(n,""+f);break;case"className":Rs(n,"class",f);break;case"tabIndex":Rs(n,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":Rs(n,r,f);break;case"style":_s(n,f,g);break;case"data":if(i!=="object"){Rs(n,"data",f);break}case"src":case"href":if(f===""&&(i!=="a"||r!=="href")){n.removeAttribute(r);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Cs(""+f),n.setAttribute(r,f);break;case"action":case"formAction":if(typeof f=="function"){n.setAttribute(r,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(r==="formAction"?(i!=="input"&<(n,i,"name",m.name,m,null),lt(n,i,"formEncType",m.formEncType,m,null),lt(n,i,"formMethod",m.formMethod,m,null),lt(n,i,"formTarget",m.formTarget,m,null)):(lt(n,i,"encType",m.encType,m,null),lt(n,i,"method",m.method,m,null),lt(n,i,"target",m.target,m,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){n.removeAttribute(r);break}f=Cs(""+f),n.setAttribute(r,f);break;case"onClick":f!=null&&(n.onclick=Fh);break;case"onScroll":f!=null&&st("scroll",n);break;case"onScrollEnd":f!=null&&st("scrollend",n);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(r=f.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"multiple":n.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":n.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){n.removeAttribute("xlink:href");break}r=Cs(""+f),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""+f):n.removeAttribute(r);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":f&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":f===!0?n.setAttribute(r,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?n.setAttribute(r,f):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?n.setAttribute(r,f):n.removeAttribute(r);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?n.removeAttribute(r):n.setAttribute(r,f);break;case"popover":st("beforetoggle",n),st("toggle",n),cu(n,"popover",f);break;case"xlinkActuate":yi(n,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":yi(n,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":yi(n,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":yi(n,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":yi(n,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":yi(n,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":yi(n,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":yi(n,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":yi(n,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":cu(n,"is",f);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=N1.get(r)||r,cu(n,r,f))}}function ie(n,i,r,f,m,g){switch(r){case"style":_s(n,f,g);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(s(61));if(r=f.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"children":typeof f=="string"?nc(n,f):(typeof f=="number"||typeof f=="bigint")&&nc(n,""+f);break;case"onScroll":f!=null&&st("scroll",n);break;case"onScrollEnd":f!=null&&st("scrollend",n);break;case"onClick":f!=null&&(n.onclick=Fh);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ll.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(m=r.endsWith("Capture"),i=r.slice(2,m?r.length-7:void 0),g=n[Ra]||null,g=g!=null?g[r]:null,typeof g=="function"&&n.removeEventListener(i,g,m),typeof f=="function")){typeof g!="function"&&g!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(i,f,m);break e}r in n?n[r]=f:f===!0?n.setAttribute(r,""):cu(n,r,f)}}}function et(n,i,r){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":st("error",n),st("load",n);var f=!1,m=!1,g;for(g in r)if(r.hasOwnProperty(g)){var w=r[g];if(w!=null)switch(g){case"src":f=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:lt(n,i,g,w,r,null)}}m&<(n,i,"srcSet",r.srcSet,r,null),f&<(n,i,"src",r.src,r,null);return;case"input":st("invalid",n);var M=g=w=m=null,j=null,P=null;for(f in r)if(r.hasOwnProperty(f)){var he=r[f];if(he!=null)switch(f){case"name":m=he;break;case"type":w=he;break;case"checked":j=he;break;case"defaultChecked":P=he;break;case"value":g=he;break;case"defaultValue":M=he;break;case"children":case"dangerouslySetInnerHTML":if(he!=null)throw Error(s(137,i));break;default:lt(n,i,f,he,r,null)}}Rd(n,g,M,j,P,w,m,!1),Fu(n);return;case"select":st("invalid",n),f=w=g=null;for(m in r)if(r.hasOwnProperty(m)&&(M=r[m],M!=null))switch(m){case"value":g=M;break;case"defaultValue":w=M;break;case"multiple":f=M;default:lt(n,i,m,M,r,null)}i=g,r=w,n.multiple=!!f,i!=null?Gr(n,!!f,i,!1):r!=null&&Gr(n,!!f,r,!0);return;case"textarea":st("invalid",n),g=m=f=null;for(w in r)if(r.hasOwnProperty(w)&&(M=r[w],M!=null))switch(w){case"value":f=M;break;case"defaultValue":m=M;break;case"children":g=M;break;case"dangerouslySetInnerHTML":if(M!=null)throw Error(s(91));break;default:lt(n,i,w,M,r,null)}Am(n,f,m,g),Fu(n);return;case"option":for(j in r)if(r.hasOwnProperty(j)&&(f=r[j],f!=null))switch(j){case"selected":n.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:lt(n,i,j,f,r,null)}return;case"dialog":st("beforetoggle",n),st("toggle",n),st("cancel",n),st("close",n);break;case"iframe":case"object":st("load",n);break;case"video":case"audio":for(f=0;f<_f.length;f++)st(_f[f],n);break;case"image":st("error",n),st("load",n);break;case"details":st("toggle",n);break;case"embed":case"source":case"link":st("error",n),st("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(P in r)if(r.hasOwnProperty(P)&&(f=r[P],f!=null))switch(P){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,i));default:lt(n,i,P,f,r,null)}return;default:if(Xr(i)){for(he in r)r.hasOwnProperty(he)&&(f=r[he],f!==void 0&&ie(n,i,he,f,r,void 0));return}}for(M in r)r.hasOwnProperty(M)&&(f=r[M],f!=null&<(n,i,M,f,r,null))}function X1(n,i,r,f){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,w=null,M=null,j=null,P=null,he=null;for(ae in r){var ve=r[ae];if(r.hasOwnProperty(ae)&&ve!=null)switch(ae){case"checked":break;case"value":break;case"defaultValue":j=ve;default:f.hasOwnProperty(ae)||lt(n,i,ae,null,f,ve)}}for(var ee in f){var ae=f[ee];if(ve=r[ee],f.hasOwnProperty(ee)&&(ae!=null||ve!=null))switch(ee){case"type":g=ae;break;case"name":m=ae;break;case"checked":P=ae;break;case"defaultChecked":he=ae;break;case"value":w=ae;break;case"defaultValue":M=ae;break;case"children":case"dangerouslySetInnerHTML":if(ae!=null)throw Error(s(137,i));break;default:ae!==ve&<(n,i,ee,ae,f,ve)}}Od(n,w,M,j,P,he,g,m);return;case"select":ae=w=M=ee=null;for(g in r)if(j=r[g],r.hasOwnProperty(g)&&j!=null)switch(g){case"value":break;case"multiple":ae=j;default:f.hasOwnProperty(g)||lt(n,i,g,null,f,j)}for(m in f)if(g=f[m],j=r[m],f.hasOwnProperty(m)&&(g!=null||j!=null))switch(m){case"value":ee=g;break;case"defaultValue":M=g;break;case"multiple":w=g;default:g!==j&<(n,i,m,g,f,j)}i=M,r=w,f=ae,ee!=null?Gr(n,!!r,ee,!1):!!f!=!!r&&(i!=null?Gr(n,!!r,i,!0):Gr(n,!!r,r?[]:"",!1));return;case"textarea":ae=ee=null;for(M in r)if(m=r[M],r.hasOwnProperty(M)&&m!=null&&!f.hasOwnProperty(M))switch(M){case"value":break;case"children":break;default:lt(n,i,M,null,f,m)}for(w in f)if(m=f[w],g=r[w],f.hasOwnProperty(w)&&(m!=null||g!=null))switch(w){case"value":ee=m;break;case"defaultValue":ae=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(s(91));break;default:m!==g&<(n,i,w,m,f,g)}Tm(n,ee,ae);return;case"option":for(var Je in r)if(ee=r[Je],r.hasOwnProperty(Je)&&ee!=null&&!f.hasOwnProperty(Je))switch(Je){case"selected":n.selected=!1;break;default:lt(n,i,Je,null,f,ee)}for(j in f)if(ee=f[j],ae=r[j],f.hasOwnProperty(j)&&ee!==ae&&(ee!=null||ae!=null))switch(j){case"selected":n.selected=ee&&typeof ee!="function"&&typeof ee!="symbol";break;default:lt(n,i,j,ee,f,ae)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var $e in r)ee=r[$e],r.hasOwnProperty($e)&&ee!=null&&!f.hasOwnProperty($e)&<(n,i,$e,null,f,ee);for(P in f)if(ee=f[P],ae=r[P],f.hasOwnProperty(P)&&ee!==ae&&(ee!=null||ae!=null))switch(P){case"children":case"dangerouslySetInnerHTML":if(ee!=null)throw Error(s(137,i));break;default:lt(n,i,P,ee,f,ae)}return;default:if(Xr(i)){for(var Ht in r)ee=r[Ht],r.hasOwnProperty(Ht)&&ee!==void 0&&!f.hasOwnProperty(Ht)&&ie(n,i,Ht,void 0,f,ee);for(he in f)ee=f[he],ae=r[he],!f.hasOwnProperty(he)||ee===ae||ee===void 0&&ae===void 0||ie(n,i,he,ee,f,ae);return}}for(var J in r)ee=r[J],r.hasOwnProperty(J)&&ee!=null&&!f.hasOwnProperty(J)&<(n,i,J,null,f,ee);for(ve in f)ee=f[ve],ae=r[ve],!f.hasOwnProperty(ve)||ee===ae||ee==null&&ae==null||lt(n,i,ve,ee,f,ae)}var Df=null,Mf=null;function Ll(n){return n.nodeType===9?n:n.ownerDocument}function _u(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Gc(n,i){if(n===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&i==="foreignObject"?0:n}function Gi(n,i){return n==="textarea"||n==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var Xc=null;function Cu(){var n=window.event;return n&&n.type==="popstate"?n===Xc?!1:(Xc=n,!0):(Xc=null,!1)}var Wh=typeof setTimeout=="function"?setTimeout:void 0,Q1=typeof clearTimeout=="function"?clearTimeout:void 0,D0=typeof Promise=="function"?Promise:void 0,I1=typeof queueMicrotask=="function"?queueMicrotask:typeof D0<"u"?function(n){return D0.resolve(null).then(n).catch(Xi)}:Wh;function Xi(n){setTimeout(function(){throw n})}function wr(n){return n==="head"}function ep(n,i){var r=i,f=0,m=0;do{var g=r.nextSibling;if(n.removeChild(r),g&&g.nodeType===8)if(r=g.data,r==="/$"){if(0<f&&8>f){r=f;var w=n.ownerDocument;if(r&1&&Pa(w.documentElement),r&2&&Pa(w.body),r&4)for(r=w.head,Pa(r),w=r.firstChild;w;){var M=w.nextSibling,j=w.nodeName;w[Be]||j==="SCRIPT"||j==="STYLE"||j==="LINK"&&w.rel.toLowerCase()==="stylesheet"||r.removeChild(w),w=M}}if(m===0){n.removeChild(g),Ii(i);return}m--}else r==="$"||r==="$?"||r==="$!"?m++:f=r.charCodeAt(0)-48;else f=0;r=g}while(r);Ii(i)}function Nf(n){var i=n.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var r=i;switch(i=i.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Nf(r),As(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function Qc(n,i,r,f){for(;n.nodeType===1;){var m=r;if(n.nodeName.toLowerCase()!==i.toLowerCase()){if(!f&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(f){if(!n[Be])switch(i){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(g=n.getAttribute("rel"),g==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(g!==m.rel||n.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||n.getAttribute("title")!==(m.title==null?null:m.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(g=n.getAttribute("src"),(g!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(i==="input"&&n.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===g)return n}else return n;if(n=oi(n.nextSibling),n===null)break}return null}function J1(n,i,r){if(i==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=oi(n.nextSibling),n===null))return null;return n}function kf(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function $1(n,i){var r=n.ownerDocument;if(n.data!=="$?"||r.readyState==="complete")i();else{var f=function(){i(),r.removeEventListener("DOMContentLoaded",f)};r.addEventListener("DOMContentLoaded",f),n._reactRetry=f}}function oi(n){for(;n!=null;n=n.nextSibling){var i=n.nodeType;if(i===1||i===3)break;if(i===8){if(i=n.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return n}var zr=null;function da(n){n=n.previousSibling;for(var i=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"){if(i===0)return n;i--}else r==="/$"&&i++}n=n.previousSibling}return null}function Ue(n,i,r){switch(i=Ll(r),n){case"html":if(n=i.documentElement,!n)throw Error(s(452));return n;case"head":if(n=i.head,!n)throw Error(s(453));return n;case"body":if(n=i.body,!n)throw Error(s(454));return n;default:throw Error(s(451))}}function Pa(n){for(var i=n.attributes;i.length;)n.removeAttributeNode(i[0]);As(n)}var _n=new Map,Ea=new Set;function tp(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Du=F.d;F.d={f:np,r:ap,D:Mu,C:lp,L:_r,m:Ta,X:Cr,S:Fa,M:cg};function np(){var n=Du.f(),i=Oo();return n||i}function ap(n){var i=Zr(n);i!==null&&i.tag===5&&i.type==="form"?xc(i):Du.r(n)}var ha=typeof document>"u"?null:document;function ci(n,i,r){var f=ha;if(f&&typeof i=="string"&&i){var m=Ol(i);m='link[rel="'+n+'"][href="'+m+'"]',typeof r=="string"&&(m+='[crossorigin="'+r+'"]'),Ea.has(m)||(Ea.add(m),n={rel:n,crossOrigin:r,href:i},f.querySelector(m)===null&&(i=f.createElement("link"),et(i,"link",n),qn(i),f.head.appendChild(i)))}}function Mu(n){Du.D(n),ci("dns-prefetch",n,null)}function lp(n,i){Du.C(n,i),ci("preconnect",n,i)}function _r(n,i,r){Du.L(n,i,r);var f=ha;if(f&&n&&i){var m='link[rel="preload"][as="'+Ol(i)+'"]';i==="image"&&r&&r.imageSrcSet?(m+='[imagesrcset="'+Ol(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(m+='[imagesizes="'+Ol(r.imageSizes)+'"]')):m+='[href="'+Ol(n)+'"]';var g=m;switch(i){case"style":g=Ic(n);break;case"script":g=Zl(n)}_n.has(g)||(n=O({rel:"preload",href:i==="image"&&r&&r.imageSrcSet?void 0:n,as:i},r),_n.set(g,n),f.querySelector(m)!==null||i==="style"&&f.querySelector(Jc(g))||i==="script"&&f.querySelector(Co(g))||(i=f.createElement("link"),et(i,"link",n),qn(i),f.head.appendChild(i)))}}function Ta(n,i){Du.m(n,i);var r=ha;if(r&&n){var f=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+Ol(f)+'"][href="'+Ol(n)+'"]',g=m;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Zl(n)}if(!_n.has(g)&&(n=O({rel:"modulepreload",href:n},i),_n.set(g,n),r.querySelector(m)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Co(g)))return}f=r.createElement("link"),et(f,"link",n),qn(f),r.head.appendChild(f)}}}function Fa(n,i,r){Du.S(n,i,r);var f=ha;if(f&&n){var m=ou(f).hoistableStyles,g=Ic(n);i=i||"default";var w=m.get(g);if(!w){var M={loading:0,preload:null};if(w=f.querySelector(Jc(g)))M.loading=5;else{n=O({rel:"stylesheet",href:n,"data-precedence":i},r),(r=_n.get(g))&&up(n,r);var j=w=f.createElement("link");qn(j),et(j,"link",n),j._p=new Promise(function(P,he){j.onload=P,j.onerror=he}),j.addEventListener("load",function(){M.loading|=1}),j.addEventListener("error",function(){M.loading|=2}),M.loading|=4,ip(w,i,f)}w={type:"stylesheet",instance:w,count:1,state:M},m.set(g,w)}}}function Cr(n,i){Du.X(n,i);var r=ha;if(r&&n){var f=ou(r).hoistableScripts,m=Zl(n),g=f.get(m);g||(g=r.querySelector(Co(m)),g||(n=O({src:n,async:!0},i),(i=_n.get(m))&&rp(n,i),g=r.createElement("script"),qn(g),et(g,"link",n),r.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(m,g))}}function cg(n,i){Du.M(n,i);var r=ha;if(r&&n){var f=ou(r).hoistableScripts,m=Zl(n),g=f.get(m);g||(g=r.querySelector(Co(m)),g||(n=O({src:n,async:!0,type:"module"},i),(i=_n.get(m))&&rp(n,i),g=r.createElement("script"),qn(g),et(g,"link",n),r.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},f.set(m,g))}}function M0(n,i,r,f){var m=(m=Oe.current)?tp(m):null;if(!m)throw Error(s(446));switch(n){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(i=Ic(r.href),r=ou(m).hoistableStyles,f=r.get(i),f||(f={type:"style",instance:null,count:0,state:null},r.set(i,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=Ic(r.href);var g=ou(m).hoistableStyles,w=g.get(n);if(w||(m=m.ownerDocument||m,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(n,w),(g=m.querySelector(Jc(n)))&&!g._p&&(w.instance=g,w.state.loading=5),_n.has(n)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},_n.set(n,r),g||N0(m,n,r,w.state))),i&&f===null)throw Error(s(528,""));return w}if(i&&f!==null)throw Error(s(529,""));return null;case"script":return i=r.async,r=r.src,typeof r=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Zl(r),r=ou(m).hoistableScripts,f=r.get(i),f||(f={type:"script",instance:null,count:0,state:null},r.set(i,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function Ic(n){return'href="'+Ol(n)+'"'}function Jc(n){return'link[rel="stylesheet"]['+n+"]"}function $c(n){return O({},n,{"data-precedence":n.precedence,precedence:null})}function N0(n,i,r,f){n.querySelector('link[rel="preload"][as="style"]['+i+"]")?f.loading=1:(i=n.createElement("link"),f.preload=i,i.addEventListener("load",function(){return f.loading|=1}),i.addEventListener("error",function(){return f.loading|=2}),et(i,"link",r),qn(i),n.head.appendChild(i))}function Zl(n){return'[src="'+Ol(n)+'"]'}function Co(n){return"script[async]"+n}function k0(n,i,r){if(i.count++,i.instance===null)switch(i.type){case"style":var f=n.querySelector('style[data-href~="'+Ol(r.href)+'"]');if(f)return i.instance=f,qn(f),f;var m=O({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return f=(n.ownerDocument||n).createElement("style"),qn(f),et(f,"style",m),ip(f,r.precedence,n),i.instance=f;case"stylesheet":m=Ic(r.href);var g=n.querySelector(Jc(m));if(g)return i.state.loading|=4,i.instance=g,qn(g),g;f=$c(r),(m=_n.get(m))&&up(f,m),g=(n.ownerDocument||n).createElement("link"),qn(g);var w=g;return w._p=new Promise(function(M,j){w.onload=M,w.onerror=j}),et(g,"link",f),i.state.loading|=4,ip(g,r.precedence,n),i.instance=g;case"script":return g=Zl(r.src),(m=n.querySelector(Co(g)))?(i.instance=m,qn(m),m):(f=r,(m=_n.get(g))&&(f=O({},r),rp(f,m)),n=n.ownerDocument||n,m=n.createElement("script"),qn(m),et(m,"link",f),n.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(s(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(f=i.instance,i.state.loading|=4,ip(f,r.precedence,n));return i.instance}function ip(n,i,r){for(var f=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=f.length?f[f.length-1]:null,g=m,w=0;w<f.length;w++){var M=f[w];if(M.dataset.precedence===i)g=M;else if(g!==m)break}g?g.parentNode.insertBefore(n,g.nextSibling):(i=r.nodeType===9?r.head:r,i.insertBefore(n,i.firstChild))}function up(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.title==null&&(n.title=i.title)}function rp(n,i){n.crossOrigin==null&&(n.crossOrigin=i.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=i.referrerPolicy),n.integrity==null&&(n.integrity=i.integrity)}var Dr=null;function sg(n,i,r){if(Dr===null){var f=new Map,m=Dr=new Map;m.set(r,f)}else m=Dr,f=m.get(r),f||(f=new Map,m.set(r,f));if(f.has(n))return f;for(f.set(n,null),r=r.getElementsByTagName(n),m=0;m<r.length;m++){var g=r[m];if(!(g[Be]||g[$n]||n==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var w=g.getAttribute(i)||"";w=n+w;var M=f.get(w);M?M.push(g):f.set(w,[g])}}return f}function fg(n,i,r){n=n.ownerDocument||n,n.head.insertBefore(r,i==="title"?n.querySelector("head > title"):null)}function U0(n,i,r){if(r===1||i.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return n=i.disabled,typeof i.precedence=="string"&&n==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function dg(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var Kc=null;function H0(){}function j0(n,i,r){if(Kc===null)throw Error(s(475));var f=Kc;if(i.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=Ic(r.href),g=n.querySelector(Jc(m));if(g){n=g._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(f.count++,f=Uf.bind(f),n.then(f,f)),i.state.loading|=4,i.instance=g,qn(g);return}g=n.ownerDocument||n,r=$c(r),(m=_n.get(m))&&up(r,m),g=g.createElement("link"),qn(g);var w=g;w._p=new Promise(function(M,j){w.onload=M,w.onerror=j}),et(g,"link",r),i.instance=g}f.stylesheets===null&&(f.stylesheets=new Map),f.stylesheets.set(i,n),(n=i.state.preload)&&(i.state.loading&3)===0&&(f.count++,i=Uf.bind(f),n.addEventListener("load",i),n.addEventListener("error",i))}}function hg(){if(Kc===null)throw Error(s(475));var n=Kc;return n.stylesheets&&n.count===0&&Hf(n,n.stylesheets),0<n.count?function(i){var r=setTimeout(function(){if(n.stylesheets&&Hf(n,n.stylesheets),n.unsuspend){var f=n.unsuspend;n.unsuspend=null,f()}},6e4);return n.unsuspend=i,function(){n.unsuspend=null,clearTimeout(r)}}:null}function Uf(){if(this.count--,this.count===0){if(this.stylesheets)Hf(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var Pc=null;function Hf(n,i){n.stylesheets=null,n.unsuspend!==null&&(n.count++,Pc=new Map,i.forEach(hl,n),Pc=null,Uf.call(n))}function hl(n,i){if(!(i.state.loading&4)){var r=Pc.get(n);if(r)var f=r.get(null);else{r=new Map,Pc.set(n,r);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var w=m[g];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(r.set(w.dataset.precedence,w),f=w)}f&&r.set(null,f)}m=i.instance,w=m.getAttribute("data-precedence"),g=r.get(w)||f,g===f&&r.set(null,m),r.set(w,m),this.count++,f=Uf.bind(this),m.addEventListener("load",f),m.addEventListener("error",f),g?g.parentNode.insertBefore(m,g.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),i.state.loading|=4}}var Wa={$$typeof:D,Provider:null,Consumer:null,_currentValue:ge,_currentValue2:ge,_threadCount:0};function K1(n,i,r,f,m,g,w,M){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=qe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qe(0),this.hiddenUpdates=qe(null),this.identifierPrefix=f,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=M,this.incompleteTransitions=new Map}function pg(n,i,r,f,m,g,w,M,j,P,he,ve){return n=new K1(n,i,r,w,M,j,P,ve),i=1,g===!0&&(i|=24),g=Ya(3,null,null,i),n.current=g,g.stateNode=n,i=bc(),i.refCount++,n.pooledCache=i,i.refCount++,g.memoizedState={element:f,isDehydrated:r,cache:i},Fd(g),n}function mg(n){return n?(n=fc,n):fc}function yg(n,i,r,f,m,g){m=mg(m),f.context===null?f.context=m:f.pendingContext=m,f=Ga(i),f.payload={element:r},g=g===void 0?null:g,g!==null&&(f.callback=g),r=_i(n,f,i),r!==null&&(fl(r,n,i),oo(r,n,i))}function gg(n,i){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<i?r:i}}function op(n,i){gg(n,i),(n=n.alternate)&&gg(n,i)}function vg(n){if(n.tag===13){var i=Ai(n,67108864);i!==null&&fl(i,n,67108864),op(n,67108864)}}var jf=!0;function B0(n,i,r,f){var m=q.T;q.T=null;var g=F.p;try{F.p=2,bg(n,i,r,f)}finally{F.p=g,q.T=m}}function L0(n,i,r,f){var m=q.T;q.T=null;var g=F.p;try{F.p=8,bg(n,i,r,f)}finally{F.p=g,q.T=m}}function bg(n,i,r,f){if(jf){var m=cp(f);if(m===null)Bl(n,i,f,sp,r),Do(n,f);else if(q0(m,n,i,r,f))f.stopPropagation();else if(Do(n,f),i&4&&-1<Z0.indexOf(n)){for(;m!==null;){var g=Zr(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var w=mn(g.pendingLanes);if(w!==0){var M=g;for(M.pendingLanes|=2,M.entangledLanes|=2;w;){var j=1<<31-Ke(w);M.entanglements[1]|=j,w&=~j}Ka(g),(Zt&6)===0&&(Zh=Mn()+500,xf(0))}}break;case 13:M=Ai(g,2),M!==null&&fl(M,g,2),Oo(),op(g,2)}if(g=cp(f),g===null&&Bl(n,i,f,sp,r),g===m)break;m=g}m!==null&&f.stopPropagation()}else Bl(n,i,f,null,r)}}function cp(n){return n=zd(n),Sg(n)}var sp=null;function Sg(n){if(sp=null,n=ia(n),n!==null){var i=y(n);if(i===null)n=null;else{var r=i.tag;if(r===13){if(n=v(i),n!==null)return n;n=null}else if(r===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}return sp=n,null}function Eg(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(mi()){case Br:return 2;case ut:return 8;case xl:case Ju:return 32;case Il:return 268435456;default:return 32}default:return 32}}var Fc=!1,Qi=null,Nu=null,ku=null,Bf=new Map,Lf=new Map,Mr=[],Z0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Do(n,i){switch(n){case"focusin":case"focusout":Qi=null;break;case"dragenter":case"dragleave":Nu=null;break;case"mouseover":case"mouseout":ku=null;break;case"pointerover":case"pointerout":Bf.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Lf.delete(i.pointerId)}}function Mo(n,i,r,f,m,g){return n===null||n.nativeEvent!==g?(n={blockedOn:i,domEventName:r,eventSystemFlags:f,nativeEvent:g,targetContainers:[m]},i!==null&&(i=Zr(i),i!==null&&vg(i)),n):(n.eventSystemFlags|=f,i=n.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),n)}function q0(n,i,r,f,m){switch(i){case"focusin":return Qi=Mo(Qi,n,i,r,f,m),!0;case"dragenter":return Nu=Mo(Nu,n,i,r,f,m),!0;case"mouseover":return ku=Mo(ku,n,i,r,f,m),!0;case"pointerover":var g=m.pointerId;return Bf.set(g,Mo(Bf.get(g)||null,n,i,r,f,m)),!0;case"gotpointercapture":return g=m.pointerId,Lf.set(g,Mo(Lf.get(g)||null,n,i,r,f,m)),!0}return!1}function Tg(n){var i=ia(n.target);if(i!==null){var r=y(i);if(r!==null){if(i=r.tag,i===13){if(i=v(r),i!==null){n.blockedOn=i,gm(n.priority,function(){if(r.tag===13){var f=sl();f=Hn(f);var m=Ai(r,f);m!==null&&fl(m,r,f),op(r,f)}});return}}else if(i===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function Zf(n){if(n.blockedOn!==null)return!1;for(var i=n.targetContainers;0<i.length;){var r=cp(n.nativeEvent);if(r===null){r=n.nativeEvent;var f=new r.constructor(r.type,r);Qr=f,r.target.dispatchEvent(f),Qr=null}else return i=Zr(r),i!==null&&vg(i),n.blockedOn=r,!1;i.shift()}return!0}function qf(n,i,r){Zf(n)&&r.delete(i)}function Wc(){Fc=!1,Qi!==null&&Zf(Qi)&&(Qi=null),Nu!==null&&Zf(Nu)&&(Nu=null),ku!==null&&Zf(ku)&&(ku=null),Bf.forEach(qf),Lf.forEach(qf)}function fp(n,i){n.blockedOn===i&&(n.blockedOn=null,Fc||(Fc=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Wc)))}var No=null;function Ag(n){No!==n&&(No=n,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){No===n&&(No=null);for(var i=0;i<n.length;i+=3){var r=n[i],f=n[i+1],m=n[i+2];if(typeof f!="function"){if(Sg(f||r)===null)continue;break}var g=Zr(r);g!==null&&(n.splice(i,3),i-=3,vh(g,{pending:!0,data:m,method:r.method,action:f},f,m))}}))}function Ii(n){function i(j){return fp(j,n)}Qi!==null&&fp(Qi,n),Nu!==null&&fp(Nu,n),ku!==null&&fp(ku,n),Bf.forEach(i),Lf.forEach(i);for(var r=0;r<Mr.length;r++){var f=Mr[r];f.blockedOn===n&&(f.blockedOn=null)}for(;0<Mr.length&&(r=Mr[0],r.blockedOn===null);)Tg(r),r.blockedOn===null&&Mr.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(f=0;f<r.length;f+=3){var m=r[f],g=r[f+1],w=m[Ra]||null;if(typeof g=="function")w||Ag(r);else if(w){var M=null;if(g&&g.hasAttribute("formAction")){if(m=g,w=g[Ra]||null)M=w.formAction;else if(Sg(m)!==null)continue}else M=w.action;typeof M=="function"?r[f+1]=M:(r.splice(f,3),f-=3),Ag(r)}}}function xg(n){this._internalRoot=n}dp.prototype.render=xg.prototype.render=function(n){var i=this._internalRoot;if(i===null)throw Error(s(409));var r=i.current,f=sl();yg(r,f,n,i,null,null)},dp.prototype.unmount=xg.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var i=n.containerInfo;yg(n.current,2,null,n,null,null),Oo(),i[ec]=null}};function dp(n){this._internalRoot=n}dp.prototype.unstable_scheduleHydration=function(n){if(n){var i=Sd();n={blockedOn:null,target:n,priority:i};for(var r=0;r<Mr.length&&i!==0&&i<Mr[r].priority;r++);Mr.splice(r,0,n),r===0&&Tg(n)}};var Og=u.version;if(Og!=="19.1.0")throw Error(s(527,Og,"19.1.0"));F.findDOMNode=function(n){var i=n._reactInternals;if(i===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=T(i),n=n!==null?E(n):null,n=n===null?null:n.stateNode,n};var Ma={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:q,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Yf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yf.isDisabled&&Yf.supportsFiber)try{de=Yf.inject(Ma),xe=Yf}catch{}}return Vp.createRoot=function(n,i){if(!h(n))throw Error(s(299));var r=!1,f="",m=wc,g=Ty,w=hf,M=null;return i!=null&&(i.unstable_strictMode===!0&&(r=!0),i.identifierPrefix!==void 0&&(f=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(w=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(M=i.unstable_transitionCallbacks)),i=pg(n,1,!1,null,null,r,f,m,g,w,M,null),n[ec]=i.current,ug(n),new xg(i)},Vp.hydrateRoot=function(n,i,r){if(!h(n))throw Error(s(299));var f=!1,m="",g=wc,w=Ty,M=hf,j=null,P=null;return r!=null&&(r.unstable_strictMode===!0&&(f=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onUncaughtError!==void 0&&(g=r.onUncaughtError),r.onCaughtError!==void 0&&(w=r.onCaughtError),r.onRecoverableError!==void 0&&(M=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&(j=r.unstable_transitionCallbacks),r.formState!==void 0&&(P=r.formState)),i=pg(n,1,!0,i,r??null,f,m,g,w,M,j,P),i.context=mg(null),r=i.current,f=sl(),f=Hn(f),m=Ga(f),m.callback=null,_i(r,m,f),r=f,i.current.lanes=r,at(i,r),Ka(i),n[ec]=i.current,ug(n),new dp(i)},Vp.version="19.1.0",Vp}var Gp={};/**
|
|
83
|
-
* @license React
|
|
84
|
-
* react-dom-client.development.js
|
|
85
|
-
*
|
|
86
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the MIT license found in the
|
|
89
|
-
* LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/var oE;function DO(){return oE||(oE=1,process.env.NODE_ENV!=="production"&&(function(){function a(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function u(e,t,l,o){if(l>=t.length)return o;var d=t[l],p=lt(e)?e.slice():yt({},e);return p[d]=u(e[d],t,l+1,o),p}function c(e,t,l){if(t.length!==l.length)console.warn("copyWithRename() expects paths of the same length");else{for(var o=0;o<l.length-1;o++)if(t[o]!==l[o]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,l,0)}}function s(e,t,l,o){var d=t[o],p=lt(e)?e.slice():yt({},e);return o+1===t.length?(p[l[o]]=p[d],lt(p)?p.splice(d,1):delete p[d]):p[d]=s(e[d],t,l,o+1),p}function h(e,t,l){var o=t[l],d=lt(e)?e.slice():yt({},e);return l+1===t.length?(lt(d)?d.splice(o,1):delete d[o],d):(d[o]=h(e[o],t,l+1),d)}function y(){return!1}function v(){return null}function b(){}function T(){console.error("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks")}function E(){console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")}function O(){}function R(e){var t=[];return e.forEach(function(l){t.push(l)}),t.sort().join(", ")}function z(e,t,l,o){return new Hs(e,t,l,o)}function _(e,t){e.context===es&&(Vt(e.current,2,t,e,null,null),bo())}function Y(e,t){if($i!==null){var l=t.staleFamilies;t=t.updatedFamilies,zc(),Us(e.current,t,l),bo()}}function le(e){$i=e}function X(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function k(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function L(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function D(e){if(k(e)!==e)throw Error("Unable to find node on an unmounted component.")}function oe(e){var t=e.alternate;if(!t){if(t=k(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var l=e,o=t;;){var d=l.return;if(d===null)break;var p=d.alternate;if(p===null){if(o=d.return,o!==null){l=o;continue}break}if(d.child===p.child){for(p=d.child;p;){if(p===l)return D(d),e;if(p===o)return D(d),t;p=p.sibling}throw Error("Unable to find node on an unmounted component.")}if(l.return!==o.return)l=d,o=p;else{for(var S=!1,x=d.child;x;){if(x===l){S=!0,l=d,o=p;break}if(x===o){S=!0,o=d,l=p;break}x=x.sibling}if(!S){for(x=p.child;x;){if(x===l){S=!0,l=p,o=d;break}if(x===o){S=!0,o=p,l=d;break}x=x.sibling}if(!S)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(l.alternate!==o)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(l.tag!==3)throw Error("Unable to find node on an unmounted component.");return l.stateNode.current===l?e:t}function ne(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=ne(e),t!==null)return t;e=e.sibling}return null}function Q(e){return e===null||typeof e!="object"?null:(e=og&&e[og]||e["@@iterator"],typeof e=="function"?e:null)}function pe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Fh?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case st:return"Fragment";case Yc:return"Profiler";case qc:return"StrictMode";case Vc:return"Suspense";case Rr:return"SuspenseList";case rg:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case _o:return"Portal";case Bl:return(e.displayName||"Context")+".Provider";case Ph:return(e._context.displayName||"Context")+".Consumer";case zu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Cf:return t=e.displayName||null,t!==null?t:pe(e.type)||"Memo";case dl:t=e._payload,e=e._init;try{return pe(e(t))}catch{}}return null}function we(e){return typeof e.tag=="number"?Se(e):typeof e.name=="string"?e.name:null}function Se(e){var t=e.type;switch(e.tag){case 31:return"Activity";case 24:return"Cache";case 9:return(t._context.displayName||"Context")+".Consumer";case 10:return(t.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return pe(t);case 8:return t===qc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;break;case 29:if(t=e._debugInfo,t!=null){for(var l=t.length-1;0<=l;l--)if(typeof t[l].name=="string")return t[l].name}if(e.return!==null)return Se(e.return)}return null}function He(e){return{current:e}}function be(e,t){0>Ll?console.error("Unexpected pop."):(t!==Mf[Ll]&&console.error("Unexpected Fiber popped."),e.current=Df[Ll],Df[Ll]=null,Mf[Ll]=null,Ll--)}function Ee(e,t,l){Ll++,Df[Ll]=e.current,Mf[Ll]=l,e.current=t}function Qe(e){return e===null&&console.error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function ke(e,t){Ee(Gi,t,e),Ee(Gc,e,e),Ee(_u,null,e);var l=t.nodeType;switch(l){case 9:case 11:l=l===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?qt(t):Vo;break;default:if(l=t.tagName,t=t.namespaceURI)t=qt(t),t=Ja(t,l);else switch(l){case"svg":t=Zp;break;case"math":t=gb;break;default:t=Vo}}l=l.toLowerCase(),l=Tm(null,l),l={context:t,ancestorInfo:l},be(_u,e),Ee(_u,l,e)}function Te(e){be(_u,e),be(Gc,e),be(Gi,e)}function q(){return Qe(_u.current)}function F(e){e.memoizedState!==null&&Ee(Xc,e,e);var t=Qe(_u.current),l=e.type,o=Ja(t.context,l);l=Tm(t.ancestorInfo,l),o={context:o,ancestorInfo:l},t!==o&&(Ee(Gc,e,e),Ee(_u,o,e))}function ge(e){Gc.current===e&&(be(_u,e),be(Gc,e)),Xc.current===e&&(be(Xc,e),av._currentValue=ud)}function Ne(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function A(e){try{return K(e),!1}catch{return!0}}function K(e){return""+e}function ce(e,t){if(A(e))return console.error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ne(e)),K(e)}function U(e,t){if(A(e))return console.error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",t,Ne(e)),K(e)}function _e(e){if(A(e))return console.error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",Ne(e)),K(e)}function Ye(e){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u")return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return console.error("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"),!0;try{zr=t.inject(e),da=t}catch(l){console.error("React instrumentation encountered an error: %s.",l)}return!!t.checkDCE}function Oe(e){if(typeof $1=="function"&&oi(e),da&&typeof da.setStrictMode=="function")try{da.setStrictMode(zr,e)}catch(t){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",t))}}function Wt(e){Ue=e}function Ie(){Ue!==null&&typeof Ue.markCommitStopped=="function"&&Ue.markCommitStopped()}function Bt(e){Ue!==null&&typeof Ue.markComponentRenderStarted=="function"&&Ue.markComponentRenderStarted(e)}function Dn(){Ue!==null&&typeof Ue.markComponentRenderStopped=="function"&&Ue.markComponentRenderStopped()}function Oa(e){Ue!==null&&typeof Ue.markRenderStarted=="function"&&Ue.markRenderStarted(e)}function ru(){Ue!==null&&typeof Ue.markRenderStopped=="function"&&Ue.markRenderStopped()}function Al(e,t){Ue!==null&&typeof Ue.markStateUpdateScheduled=="function"&&Ue.markStateUpdateScheduled(e,t)}function Qu(e){return e>>>=0,e===0?32:31-(tp(e)/Du|0)|0}function Iu(e){if(e&1)return"SyncHydrationLane";if(e&2)return"Sync";if(e&4)return"InputContinuousHydration";if(e&8)return"InputContinuous";if(e&16)return"DefaultHydration";if(e&32)return"Default";if(e&128)return"TransitionHydration";if(e&4194048)return"Transition";if(e&62914560)return"Retry";if(e&67108864)return"SelectiveHydration";if(e&134217728)return"IdleHydration";if(e&268435456)return"Idle";if(e&536870912)return"Offscreen";if(e&1073741824)return"Deferred"}function pn(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return console.error("Should have found matching lanes. This is a bug in React."),e}}function Mn(e,t,l){var o=e.pendingLanes;if(o===0)return 0;var d=0,p=e.suspendedLanes,S=e.pingedLanes;e=e.warmLanes;var x=o&134217727;return x!==0?(o=x&~p,o!==0?d=pn(o):(S&=x,S!==0?d=pn(S):l||(l=x&~e,l!==0&&(d=pn(l))))):(x=o&~p,x!==0?d=pn(x):S!==0?d=pn(S):l||(l=o&~e,l!==0&&(d=pn(l)))),d===0?0:t!==0&&t!==d&&(t&p)===0&&(p=d&-d,l=t&-t,p>=l||p===32&&(l&4194048)!==0)?t:d}function mi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Br(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return console.error("Should have found matching lanes. This is a bug in React."),-1}}function ut(){var e=np;return np<<=1,(np&4194048)===0&&(np=256),e}function xl(){var e=ap;return ap<<=1,(ap&62914560)===0&&(ap=4194304),e}function Ju(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Il(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Wo(e,t,l,o,d,p){var S=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var x=e.entanglements,N=e.expirationTimes,H=e.hiddenUpdates;for(l=S&~l;0<l;){var te=31-Ea(l),re=1<<te;x[te]=0,N[te]=-1;var W=H[te];if(W!==null)for(H[te]=null,te=0;te<W.length;te++){var se=W[te];se!==null&&(se.lane&=-536870913)}l&=~re}o!==0&&Lr(e,o,0),p!==0&&d===0&&e.tag!==0&&(e.suspendedLanes|=p&~(S&~t))}function Lr(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-Ea(t);e.entangledLanes|=t,e.entanglements[o]=e.entanglements[o]|1073741824|l&4194090}function de(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var o=31-Ea(l),d=1<<o;d&t|e[o]&t&&(e[o]|=t),l&=~d}}function xe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Xe(e,t,l){if(_n)for(e=e.pendingUpdatersLaneMap;0<l;){var o=31-Ea(l),d=1<<o;e[o].add(t),l&=~d}}function Ke(e,t){if(_n)for(var l=e.pendingUpdatersLaneMap,o=e.memoizedUpdaters;0<t;){var d=31-Ea(t);e=1<<d,d=l[d],0<d.size&&(d.forEach(function(p){var S=p.alternate;S!==null&&o.has(S)||o.add(p)}),d.clear()),t&=~e}}function Dt(e){return e&=-e,ha<e?ci<e?(e&134217727)!==0?Mu:lp:ci:ha}function la(){var e=et.p;return e!==0?e:(e=window.event,e===void 0?Mu:$h(e.type))}function La(e,t){var l=et.p;try{return et.p=e,t()}finally{et.p=l}}function Nn(e){delete e[Ta],delete e[Fa],delete e[cg],delete e[M0],delete e[Ic]}function Un(e){var t=e[Ta];if(t)return t;for(var l=e.parentNode;l;){if(t=l[Cr]||l[Ta]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=jc(e);e!==null;){if(l=e[Ta])return l;e=jc(e)}return t}e=l,l=e.parentNode}return null}function mn(e){if(e=e[Ta]||e[Cr]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function en(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function C(e){var t=e[Jc];return t||(t=e[Jc]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function I(e){e[$c]=!0}function Re(e,t){De(e,t),De(e+"Capture",t)}function De(e,t){Zl[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),Zl[e]=t;var l=e.toLowerCase();for(Co[l]=e,e==="onDoubleClick"&&(Co.ondblclick=e),e=0;e<t.length;e++)N0.add(t[e])}function qe(e,t){k0[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||t.value==null||console.error(e==="select"?"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`.":"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||t.checked==null||console.error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function at(e){return Cu.call(rp,e)?!0:Cu.call(up,e)?!1:ip.test(e)?rp[e]=!0:(up[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function ot(e,t,l){if(at(t)){if(!e.hasAttribute(t)){switch(typeof l){case"symbol":case"object":return l;case"function":return l;case"boolean":if(l===!1)return l}return l===void 0?void 0:null}return e=e.getAttribute(t),e===""&&l===!0?!0:(ce(l,t),e===""+l?l:e)}}function zt(e,t,l){if(at(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var o=t.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){e.removeAttribute(t);return}}ce(l,t),e.setAttribute(t,""+l)}}function rt(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}ce(l,t),e.setAttribute(t,""+l)}}function Hn(e,t,l,o){if(o===null)e.removeAttribute(l);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}ce(o,l),e.setAttributeNS(t,l,""+o)}}function Jl(){}function Sd(){if(Dr===0){sg=console.log,fg=console.info,U0=console.warn,dg=console.error,Kc=console.group,H0=console.groupCollapsed,j0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Jl,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Dr++}function gm(){if(Dr--,Dr===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:yt({},e,{value:sg}),info:yt({},e,{value:fg}),warn:yt({},e,{value:U0}),error:yt({},e,{value:dg}),group:yt({},e,{value:Kc}),groupCollapsed:yt({},e,{value:H0}),groupEnd:yt({},e,{value:j0})})}0>Dr&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function Zn(e){if(hg===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);hg=t&&t[1]||"",Uf=-1<l.stack.indexOf(`
|
|
91
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
92
|
-
`+hg+e+Uf}function $n(e,t){if(!e||Pc)return"";var l=Hf.get(e);if(l!==void 0)return l;Pc=!0,l=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var o=null;o=ie.H,ie.H=null,Sd();try{var d={DetermineComponentFrameRoot:function(){try{if(t){var W=function(){throw Error()};if(Object.defineProperty(W.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(W,[])}catch(Le){var se=Le}Reflect.construct(e,[],W)}else{try{W.call()}catch(Le){se=Le}e.call(W.prototype)}}else{try{throw Error()}catch(Le){se=Le}(W=e())&&typeof W.catch=="function"&&W.catch(function(){})}}catch(Le){if(Le&&se&&typeof Le.stack=="string")return[Le.stack,se.stack]}return[null,null]}};d.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(d.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(d.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var S=d.DetermineComponentFrameRoot(),x=S[0],N=S[1];if(x&&N){var H=x.split(`
|
|
93
|
-
`),te=N.split(`
|
|
94
|
-
`);for(S=p=0;p<H.length&&!H[p].includes("DetermineComponentFrameRoot");)p++;for(;S<te.length&&!te[S].includes("DetermineComponentFrameRoot");)S++;if(p===H.length||S===te.length)for(p=H.length-1,S=te.length-1;1<=p&&0<=S&&H[p]!==te[S];)S--;for(;1<=p&&0<=S;p--,S--)if(H[p]!==te[S]){if(p!==1||S!==1)do if(p--,S--,0>S||H[p]!==te[S]){var re=`
|
|
95
|
-
`+H[p].replace(" at new "," at ");return e.displayName&&re.includes("<anonymous>")&&(re=re.replace("<anonymous>",e.displayName)),typeof e=="function"&&Hf.set(e,re),re}while(1<=p&&0<=S);break}}}finally{Pc=!1,ie.H=o,gm(),Error.prepareStackTrace=l}return H=(H=e?e.displayName||e.name:"")?Zn(H):"",typeof e=="function"&&Hf.set(e,H),H}function Ra(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
96
|
-
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
97
|
-
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react-stack-bottom-frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
98
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function ec(e){switch(e.tag){case 26:case 27:case 5:return Zn(e.type);case 16:return Zn("Lazy");case 13:return Zn("Suspense");case 19:return Zn("SuspenseList");case 0:case 15:return $n(e.type,!1);case 11:return $n(e.type.render,!1);case 1:return $n(e.type,!0);case 31:return Zn("Activity");default:return""}}function Ed(e){try{var t="";do{t+=ec(e);var l=e._debugInfo;if(l)for(var o=l.length-1;0<=o;o--){var d=l[o];if(typeof d.name=="string"){var p=t,S=d.env,x=Zn(d.name+(S?" ["+S+"]":""));t=p+x}}e=e.return}while(e);return t}catch(N){return`
|
|
99
|
-
Error generating stack: `+N.message+`
|
|
100
|
-
`+N.stack}}function kv(e){return(e=e?e.displayName||e.name:"")?Zn(e):""}function Td(){if(hl===null)return null;var e=hl._debugOwner;return e!=null?we(e):null}function Uv(){if(hl===null)return"";var e=hl;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=Zn(e.type);break;case 13:t+=Zn("Suspense");break;case 19:t+=Zn("SuspenseList");break;case 31:t+=Zn("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=kv(e.type));break;case 11:e._debugOwner||t!==""||(t+=kv(e.type.render))}for(;e;)if(typeof e.tag=="number"){var l=e;e=l._debugOwner;var o=l._debugStack;e&&o&&(typeof o!="string"&&(l._debugStack=o=Ra(o)),o!==""&&(t+=`
|
|
101
|
-
`+o))}else if(e.debugStack!=null){var d=e.debugStack;(e=e.owner)&&d&&(t+=`
|
|
102
|
-
`+Ra(d))}else break;var p=t}catch(S){p=`
|
|
103
|
-
Error generating stack: `+S.message+`
|
|
104
|
-
`+S.stack}return p}function Be(e,t,l,o,d,p,S){var x=hl;As(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,l,o,d,p,S)):t(l,o,d,p,S)}finally{As(x)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function As(e){ie.getCurrentStack=e===null?null:Uv,Wa=!1,hl=e}function ia(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return _e(e),e;default:return""}}function Zr(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function xs(e){var t=Zr(e)?"checked":"value",l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);_e(e[t]);var o=""+e[t];if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var d=l.get,p=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return d.call(this)},set:function(S){_e(S),o=""+S,p.call(this,S)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return o},setValue:function(S){_e(S),o=""+S},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){e._valueTracker||(e._valueTracker=xs(e))}function qn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),o="";return e&&(o=Zr(e)?e.checked?"true":"false":e.value),e=o,e!==l?(t.setValue(e),!0):!1}function Os(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ll(e){return e.replace(K1,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function $u(e,t){t.checked===void 0||t.defaultChecked===void 0||mg||(console.error("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component",t.type),mg=!0),t.value===void 0||t.defaultValue===void 0||pg||(console.error("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component",t.type),pg=!0)}function Ku(e,t,l,o,d,p,S,x){e.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?(ce(S,"type"),e.type=S):e.removeAttribute("type"),t!=null?S==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+ia(t)):e.value!==""+ia(t)&&(e.value=""+ia(t)):S!=="submit"&&S!=="reset"||e.removeAttribute("value"),t!=null?Ad(e,S,ia(t)):l!=null?Ad(e,S,ia(l)):o!=null&&e.removeAttribute("value"),d==null&&p!=null&&(e.defaultChecked=!!p),d!=null&&(e.checked=d&&typeof d!="function"&&typeof d!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?(ce(x,"name"),e.name=""+ia(x)):e.removeAttribute("name")}function Hv(e,t,l,o,d,p,S,x){if(p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(ce(p,"type"),e.type=p),t!=null||l!=null){if(!(p!=="submit"&&p!=="reset"||t!=null))return;l=l!=null?""+ia(l):"",t=t!=null?""+ia(t):l,x||t===e.value||(e.value=t),e.defaultValue=t}o=o??d,o=typeof o!="function"&&typeof o!="symbol"&&!!o,e.checked=x?e.checked:!!o,e.defaultChecked=!!o,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(ce(S,"name"),e.name=S)}function Ad(e,t,l){t==="number"&&Os(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function vm(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?zf.Children.forEach(t.children,function(l){l==null||typeof l=="string"||typeof l=="number"||typeof l=="bigint"||gg||(gg=!0,console.error("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."))}):t.dangerouslySetInnerHTML==null||op||(op=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||yg||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),yg=!0)}function jv(){var e=Td();return e?`
|
|
105
|
-
|
|
106
|
-
Check the render method of \``+e+"`.":""}function cu(e,t,l,o){if(e=e.options,t){t={};for(var d=0;d<l.length;d++)t["$"+l[d]]=!0;for(l=0;l<e.length;l++)d=t.hasOwnProperty("$"+e[l].value),e[l].selected!==d&&(e[l].selected=d),d&&o&&(e[l].defaultSelected=!0)}else{for(l=""+ia(l),t=null,d=0;d<e.length;d++){if(e[d].value===l){e[d].selected=!0,o&&(e[d].defaultSelected=!0);return}t!==null||e[d].disabled||(t=e[d])}t!==null&&(t.selected=!0)}}function Rs(e,t){for(e=0;e<jf.length;e++){var l=jf[e];if(t[l]!=null){var o=lt(t[l]);t.multiple&&!o?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,jv()):!t.multiple&&o&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,jv())}}t.value===void 0||t.defaultValue===void 0||vg||(console.error("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"),vg=!0)}function yi(e,t){t.value===void 0||t.defaultValue===void 0||B0||(console.error("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",Td()||"A component"),B0=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function xd(e,t,l){if(t!=null&&(t=""+ia(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+ia(l):""}function bm(e,t,l,o){if(t==null){if(o!=null){if(l!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(lt(o)){if(1<o.length)throw Error("<textarea> can only have at most one child.");o=o[0]}l=o}l==null&&(l=""),t=l}l=ia(t),e.defaultValue=l,o=e.textContent,o===l&&o!==""&&o!==null&&(e.value=o)}function qr(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?qr(e.children[0],t):e}function wa(e){return" "+" ".repeat(e)}function Pu(e){return"+ "+" ".repeat(e)}function Yr(e){return"- "+" ".repeat(e)}function Sm(e){switch(e.tag){case 26:case 27:case 5:return e.type;case 16:return"Lazy";case 13:return"Suspense";case 19:return"SuspenseList";case 0:case 15:return e=e.type,e.displayName||e.name||null;case 11:return e=e.type.render,e.displayName||e.name||null;case 1:return e=e.type,e.displayName||e.name||null;default:return null}}function ga(e,t){return L0.test(e)?(e=JSON.stringify(e),e.length>t-2?8>t?'{"..."}':"{"+e.slice(0,t-7)+'..."}':"{"+e+"}"):e.length>t?5>t?'{"..."}':e.slice(0,t-3)+"...":e}function ws(e,t,l){var o=120-2*l;if(t===null)return Pu(l)+ga(e,o)+`
|
|
107
|
-
`;if(typeof t=="string"){for(var d=0;d<t.length&&d<e.length&&t.charCodeAt(d)===e.charCodeAt(d);d++);return d>o-8&&10<d&&(e="..."+e.slice(d-8),t="..."+t.slice(d-8)),Pu(l)+ga(e,o)+`
|
|
108
|
-
`+Yr(l)+ga(t,o)+`
|
|
109
|
-
`}return wa(l)+ga(e,o)+`
|
|
110
|
-
`}function Em(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,l){return l})}function Fu(e,t){switch(typeof e){case"string":return e=JSON.stringify(e),e.length>t?5>t?'"..."':e.slice(0,t-4)+'..."':e;case"object":if(e===null)return"null";if(lt(e))return"[...]";if(e.$$typeof===Or)return(t=pe(e.type))?"<"+t+">":"<...>";var l=Em(e);if(l==="Object"){l="",t-=2;for(var o in e)if(e.hasOwnProperty(o)){var d=JSON.stringify(o);if(d!=='"'+o+'"'&&(o=d),t-=o.length-2,d=Fu(e[o],15>t?t:15),t-=d.length,0>t){l+=l===""?"...":", ...";break}l+=(l===""?"":",")+o+":"+d}return"{"+l+"}"}return l;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Vr(e,t){return typeof e!="string"||L0.test(e)?"{"+Fu(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function tc(e,t,l){var o=120-l.length-e.length,d=[],p;for(p in t)if(t.hasOwnProperty(p)&&p!=="children"){var S=Vr(t[p],120-l.length-p.length-1);o-=p.length+S.length+2,d.push(p+"="+S)}return d.length===0?l+"<"+e+`>
|
|
111
|
-
`:0<o?l+"<"+e+" "+d.join(" ")+`>
|
|
112
|
-
`:l+"<"+e+`
|
|
113
|
-
`+l+" "+d.join(`
|
|
114
|
-
`+l+" ")+`
|
|
115
|
-
`+l+`>
|
|
116
|
-
`}function M1(e,t,l){var o="",d=yt({},t),p;for(p in e)if(e.hasOwnProperty(p)){delete d[p];var S=120-2*l-p.length-2,x=Fu(e[p],S);t.hasOwnProperty(p)?(S=Fu(t[p],S),o+=Pu(l)+p+": "+x+`
|
|
117
|
-
`,o+=Yr(l)+p+": "+S+`
|
|
118
|
-
`):o+=Pu(l)+p+": "+x+`
|
|
119
|
-
`}for(var N in d)d.hasOwnProperty(N)&&(e=Fu(d[N],120-2*l-N.length-2),o+=Yr(l)+N+": "+e+`
|
|
120
|
-
`);return o}function Ol(e,t,l,o){var d="",p=new Map;for(H in l)l.hasOwnProperty(H)&&p.set(H.toLowerCase(),H);if(p.size===1&&p.has("children"))d+=tc(e,t,wa(o));else{for(var S in t)if(t.hasOwnProperty(S)&&S!=="children"){var x=120-2*(o+1)-S.length-1,N=p.get(S.toLowerCase());if(N!==void 0){p.delete(S.toLowerCase());var H=t[S];N=l[N];var te=Vr(H,x);x=Vr(N,x),typeof H=="object"&&H!==null&&typeof N=="object"&&N!==null&&Em(H)==="Object"&&Em(N)==="Object"&&(2<Object.keys(H).length||2<Object.keys(N).length||-1<te.indexOf("...")||-1<x.indexOf("..."))?d+=wa(o+1)+S+`={{
|
|
121
|
-
`+M1(H,N,o+2)+wa(o+1)+`}}
|
|
122
|
-
`:(d+=Pu(o+1)+S+"="+te+`
|
|
123
|
-
`,d+=Yr(o+1)+S+"="+x+`
|
|
124
|
-
`)}else d+=wa(o+1)+S+"="+Vr(t[S],x)+`
|
|
125
|
-
`}p.forEach(function(re){if(re!=="children"){var W=120-2*(o+1)-re.length-1;d+=Yr(o+1)+re+"="+Vr(l[re],W)+`
|
|
126
|
-
`}}),d=d===""?wa(o)+"<"+e+`>
|
|
127
|
-
`:wa(o)+"<"+e+`
|
|
128
|
-
`+d+wa(o)+`>
|
|
129
|
-
`}return e=l.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(p="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(p=""+t),d+=ws(p,""+e,o+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(d=e==null?d+ws(""+t,null,o+1):d+ws(""+t,void 0,o+1)),d}function Od(e,t){var l=Sm(e);if(l===null){for(l="",e=e.child;e;)l+=Od(e,t),e=e.sibling;return l}return wa(t)+"<"+l+`>
|
|
130
|
-
`}function Rd(e,t){var l=qr(e,t);if(l!==e&&(e.children.length!==1||e.children[0]!==l))return wa(t)+`...
|
|
131
|
-
`+Rd(l,t+1);l="";var o=e.fiber._debugInfo;if(o)for(var d=0;d<o.length;d++){var p=o[d].name;typeof p=="string"&&(l+=wa(t)+"<"+p+`>
|
|
132
|
-
`,t++)}if(o="",d=e.fiber.pendingProps,e.fiber.tag===6)o=ws(d,e.serverProps,t),t++;else if(p=Sm(e.fiber),p!==null)if(e.serverProps===void 0){o=t;var S=120-2*o-p.length-2,x="";for(H in d)if(d.hasOwnProperty(H)&&H!=="children"){var N=Vr(d[H],15);if(S-=H.length+N.length+2,0>S){x+=" ...";break}x+=" "+H+"="+N}o=wa(o)+"<"+p+x+`>
|
|
133
|
-
`,t++}else e.serverProps===null?(o=tc(p,d,Pu(t)),t++):typeof e.serverProps=="string"?console.error("Should not have matched a non HostText fiber to a Text node. This is a bug in React."):(o=Ol(p,d,e.serverProps,t),t++);var H="";for(d=e.fiber.child,p=0;d&&p<e.children.length;)S=e.children[p],S.fiber===d?(H+=Rd(S,t),p++):H+=Od(d,t),d=d.sibling;for(d&&0<e.children.length&&(H+=wa(t)+`...
|
|
134
|
-
`),d=e.serverTail,e.serverProps===null&&t--,e=0;e<d.length;e++)p=d[e],H=typeof p=="string"?H+(Yr(t)+ga(p,120-2*t)+`
|
|
135
|
-
`):H+tc(p.type,p.props,Yr(t));return l+o+H}function zs(e){try{return`
|
|
136
|
-
|
|
137
|
-
`+Rd(e,0)}catch{return""}}function Gr(e,t,l){for(var o=t,d=null,p=0;o;)o===e&&(p=0),d={fiber:o,children:d!==null?[d]:[],serverProps:o===t?l:o===e?null:void 0,serverTail:[],distanceFromLeaf:p},p++,o=o.return;return d!==null?zs(d).replaceAll(/^[+-]/gm,">"):""}function Tm(e,t){var l=yt({},e||Eg),o={tag:t};return cp.indexOf(t)!==-1&&(l.aTagInScope=null,l.buttonTagInScope=null,l.nobrTagInScope=null),sp.indexOf(t)!==-1&&(l.pTagInButtonScope=null),bg.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(l.listItemTagAutoclosing=null,l.dlItemTagAutoclosing=null),l.current=o,t==="form"&&(l.formTag=o),t==="a"&&(l.aTagInScope=o),t==="button"&&(l.buttonTagInScope=o),t==="nobr"&&(l.nobrTagInScope=o),t==="p"&&(l.pTagInButtonScope=o),t==="li"&&(l.listItemTagAutoclosing=o),(t==="dd"||t==="dt")&&(l.dlItemTagAutoclosing=o),t==="#document"||t==="html"?l.containerTagInScope=null:l.containerTagInScope||(l.containerTagInScope=o),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?l.implicitRootScope===!0&&(l.implicitRootScope=!1):l.implicitRootScope=!0,l}function Am(e,t,l){switch(t){case"select":return e==="hr"||e==="option"||e==="optgroup"||e==="script"||e==="template"||e==="#text";case"optgroup":return e==="option"||e==="#text";case"option":return e==="#text";case"tr":return e==="th"||e==="td"||e==="style"||e==="script"||e==="template";case"tbody":case"thead":case"tfoot":return e==="tr"||e==="style"||e==="script"||e==="template";case"colgroup":return e==="col"||e==="template";case"table":return e==="caption"||e==="colgroup"||e==="tbody"||e==="tfoot"||e==="thead"||e==="style"||e==="script"||e==="template";case"head":return e==="base"||e==="basefont"||e==="bgsound"||e==="link"||e==="meta"||e==="title"||e==="noscript"||e==="noframes"||e==="style"||e==="script"||e==="template";case"html":if(l)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!l)return e==="html"}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t!=="h1"&&t!=="h2"&&t!=="h3"&&t!=="h4"&&t!=="h5"&&t!=="h6";case"rp":case"rt":return Sg.indexOf(t)===-1;case"caption":case"col":case"colgroup":case"frameset":case"frame":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return t==null;case"head":return l||t===null;case"html":return l&&t==="#document"||t===null;case"body":return l&&(t==="#document"||t==="html")||t===null}return!0}function nc(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}function Bv(e,t){for(;e;){switch(e.tag){case 5:case 26:case 27:if(e.type===t)return e}e=e.return}return null}function wd(e,t){t=t||Eg;var l=t.current;if(t=(l=Am(e,l&&l.tag,t.implicitRootScope)?null:l)?null:nc(e,t),t=l||t,!t)return!0;var o=t.tag;if(t=String(!!l)+"|"+e+"|"+o,Fc[t])return!1;Fc[t]=!0;var d=(t=hl)?Bv(t.return,o):null,p=t!==null&&d!==null?Gr(d,t,null):"",S="<"+e+">";return l?(l="",o==="table"&&e==="tr"&&(l+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),console.error(`In HTML, %s cannot be a child of <%s>.%s
|
|
138
|
-
This will cause a hydration error.%s`,S,o,l,p)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
139
|
-
This will cause a hydration error.%s`,S,o,p),t&&(e=t.return,d===null||e===null||d===e&&e._debugOwner===t._debugOwner||Be(d,function(){console.error(`<%s> cannot contain a nested %s.
|
|
140
|
-
See this log for the ancestor stack trace.`,o,S)})),!1}function _s(e,t,l){if(l||Am("#text",t,!1))return!0;if(l="#text|"+t,Fc[l])return!1;Fc[l]=!0;var o=(l=hl)?Bv(l,t):null;return l=l!==null&&o!==null?Gr(o,l,l.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
141
|
-
This will cause a hydration error.%s`,t,l):console.error(`In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
|
|
142
|
-
This will cause a hydration error.%s`,t,l),!1}function Xr(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}function N1(e){return e.replace(Mr,function(t,l){return l.toUpperCase()})}function Lv(e,t,l){var o=t.indexOf("--")===0;o||(-1<t.indexOf("-")?Do.hasOwnProperty(t)&&Do[t]||(Do[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,N1(t.replace(Lf,"ms-")))):Bf.test(t)?Do.hasOwnProperty(t)&&Do[t]||(Do[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!Z0.test(l)||Mo.hasOwnProperty(l)&&Mo[l]||(Mo[l]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,l.replace(Z0,""))),typeof l=="number"&&(isNaN(l)?q0||(q0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(l)||Tg||(Tg=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),l==null||typeof l=="boolean"||l===""?o?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":o?e.setProperty(t,l):typeof l!="number"||l===0||Zf.has(t)?t==="float"?e.cssFloat=l:(U(l,t),e[t]=(""+l).trim()):e[t]=l+"px"}function Cs(e,t,l){if(t!=null&&typeof t!="object")throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");if(t&&Object.freeze(t),e=e.style,l!=null){if(t){var o={};if(l){for(var d in l)if(l.hasOwnProperty(d)&&!t.hasOwnProperty(d))for(var p=Qi[d]||[d],S=0;S<p.length;S++)o[p[S]]=d}for(var x in t)if(t.hasOwnProperty(x)&&(!l||l[x]!==t[x]))for(d=Qi[x]||[x],p=0;p<d.length;p++)o[d[p]]=x;x={};for(var N in t)for(d=Qi[N]||[N],p=0;p<d.length;p++)x[d[p]]=N;N={};for(var H in o)if(d=o[H],(p=x[H])&&d!==p&&(S=d+","+p,!N[S])){N[S]=!0,S=console;var te=t[d];S.error.call(S,"%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",te==null||typeof te=="boolean"||te===""?"Removing":"Updating",d,p)}}for(var re in l)!l.hasOwnProperty(re)||t!=null&&t.hasOwnProperty(re)||(re.indexOf("--")===0?e.setProperty(re,""):re==="float"?e.cssFloat="":e[re]="");for(var W in t)H=t[W],t.hasOwnProperty(W)&&l[W]!==H&&Lv(e,W,H)}else for(o in t)t.hasOwnProperty(o)&&Lv(e,o,t[o])}function Qr(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zd(e){return fp.get(e)||e}function ac(e,t){if(Cu.call(Ii,t)&&Ii[t])return!0;if(dp.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Ag.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Ii[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Ii[t]=!0}if(xg.test(t)){if(e=t.toLowerCase(),e=Ag.hasOwnProperty(e)?e:null,e==null)return Ii[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Ii[t]=!0)}return!0}function lc(e,t){var l=[],o;for(o in t)ac(e,o)||l.push(o);t=l.map(function(d){return"`"+d+"`"}).join(", "),l.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<l.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function Zv(e,t,l,o){if(Cu.call(Ma,t)&&Ma[t])return!0;var d=t.toLowerCase();if(d==="onfocusin"||d==="onfocusout")return console.error("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Ma[t]=!0;if(typeof l=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(o!=null){if(e=o.possibleRegistrationNames,o.registrationNameDependencies.hasOwnProperty(t))return!0;if(o=e.hasOwnProperty(d)?e[d]:null,o!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,o),Ma[t]=!0;if(Yf.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),Ma[t]=!0}else if(Yf.test(t))return n.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),Ma[t]=!0;if(i.test(t)||r.test(t))return!0;if(d==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Ma[t]=!0;if(d==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Ma[t]=!0;if(d==="is"&&l!==null&&l!==void 0&&typeof l!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof l),Ma[t]=!0;if(typeof l=="number"&&isNaN(l))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),Ma[t]=!0;if(No.hasOwnProperty(d)){if(d=No[d],d!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,d),Ma[t]=!0}else if(t!==d)return console.error("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,d),Ma[t]=!0;switch(t){case"dangerouslySetInnerHTML":case"children":case"style":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":return!0;case"innerText":case"textContent":return!0}switch(typeof l){case"boolean":switch(t){case"autoFocus":case"checked":case"multiple":case"muted":case"selected":case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"capture":case"download":case"inert":return!0;default:return d=t.toLowerCase().slice(0,5),d==="data-"||d==="aria-"?!0:(l?console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',l,t,t,l,t):console.error('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',l,t,t,l,t,t,t),Ma[t]=!0)}case"function":case"symbol":return Ma[t]=!0,!1;case"string":if(l==="false"||l==="true"){switch(t){case"checked":case"selected":case"multiple":case"muted":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":case"inert":break;default:return!0}console.error("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",l,t,l==="false"?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,l),Ma[t]=!0}}return!0}function xm(e,t,l){var o=[],d;for(d in t)Zv(e,d,t[d],l)||o.push(d);t=o.map(function(p){return"`"+p+"`"}).join(", "),o.length===1?console.error("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e):1<o.length&&console.error("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",t,e)}function ic(e){return f.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ir(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function gi(e){var t=mn(e);if(t&&(e=t.stateNode)){var l=e[Fa]||null;e:switch(e=t.stateNode,t.type){case"input":if(Ku(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(ce(t,"name"),l=l.querySelectorAll('input[name="'+ll(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var o=l[t];if(o!==e&&o.form===e.form){var d=o[Fa]||null;if(!d)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");Ku(o,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name)}}for(t=0;t<l.length;t++)o=l[t],o.form===e.form&&qn(o)}break e;case"textarea":xd(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&cu(e,!!l.multiple,t,!1)}}}function _d(e,t,l){if(M)return e(t,l);M=!0;try{var o=e(t);return o}finally{if(M=!1,(g!==null||w!==null)&&(bo(),g&&(t=g,e=w,w=g=null,gi(t),e)))for(t=0;t<e.length;t++)gi(e[t])}}function su(e,t){var l=e.stateNode;if(l===null)return null;var o=l[Fa]||null;if(o===null)return null;l=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof l+"` type.");return l}function fu(){if(ae)return ae;var e,t=ee,l=t.length,o,d="value"in ve?ve.value:ve.textContent,p=d.length;for(e=0;e<l&&t[e]===d[e];e++);var S=l-e;for(o=1;o<=S&&t[l-o]===d[p-o];o++);return ae=d.slice(e,1<o?1-o:void 0)}function uc(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Jr(){return!0}function Om(){return!1}function ua(e){function t(l,o,d,p,S){this._reactName=l,this._targetInst=d,this.type=o,this.nativeEvent=p,this.target=S,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(l=e[x],this[x]=l?l(p):p[x]);return this.isDefaultPrevented=(p.defaultPrevented!=null?p.defaultPrevented:p.returnValue===!1)?Jr:Om,this.isPropagationStopped=Om,this}return yt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Jr)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Jr)},persist:function(){},isPersistent:Jr}),t}function Cd(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=iN[e])?!!t[e]:!1}function Dd(){return Cd}function za(e,t){switch(e){case"keyup":return gN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==wx;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function Md(e,t){switch(e){case"compositionend":return Wu(t);case"keypress":return t.which!==_x?null:(Dx=!0,Cx);case"textInput":return e=t.data,e===Cx&&Dx?null:e;default:return null}}function Ds(e,t){if(hp)return e==="compositionend"||!F1&&za(e,t)?(e=fu(),ae=ee=ve=null,hp=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return zx&&t.locale!=="ko"?null:t.data;default:return null}}function qv(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!bN[e.type]:t==="textarea"}function Rm(e){if(!j)return!1;e="on"+e;var t=e in document;return t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t=typeof t[e]=="function"),t}function Nd(e,t,l,o){g?w?w.push(o):w=[o]:g=o,t=bf(t,"onChange"),0<t.length&&(l=new $e("onChange","change",null,l,o),e.push({event:l,listeners:t}))}function Ms(e){Bi(e,0)}function $r(e){var t=en(e);if(qn(t))return e}function wm(e,t){if(e==="change")return t}function Yv(){wg&&(wg.detachEvent("onpropertychange",Vv),zg=wg=null)}function Vv(e){if(e.propertyName==="value"&&$r(zg)){var t=[];Nd(t,zg,e,Ir(e)),_d(Ms,t)}}function k1(e,t,l){e==="focusin"?(Yv(),wg=t,zg=l,wg.attachEvent("onpropertychange",Vv)):e==="focusout"&&Yv()}function zm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $r(zg)}function U1(e,t){if(e==="click")return $r(t)}function H1(e,t){if(e==="input"||e==="change")return $r(t)}function j1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Ns(e,t){if(pl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),o=Object.keys(t);if(l.length!==o.length)return!1;for(o=0;o<l.length;o++){var d=l[o];if(!Cu.call(t,d)||!pl(e[d],t[d]))return!1}return!0}function Gv(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _m(e,t){var l=Gv(e);e=0;for(var o;l;){if(l.nodeType===3){if(o=e+l.textContent.length,e<=t&&o>=t)return{node:l,offset:t-e};e=o}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Gv(l)}}function Xv(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Xv(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qv(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Os(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Os(e.document)}return t}function Cm(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Iv(e,t,l){var o=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;eS||pp==null||pp!==Os(o)||(o=pp,"selectionStart"in o&&Cm(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),_g&&Ns(_g,o)||(_g=o,o=bf(W1,"onSelect"),0<o.length&&(t=new $e("onSelect","select",null,t,l),e.push({event:t,listeners:o}),t.target=pp)))}function du(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}function Kr(e){if(tS[e])return tS[e];if(!mp[e])return e;var t=mp[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in Nx)return tS[e]=t[l];return e}function $l(e,t){Bx.set(e,t),Re(t,[e])}function il(e,t){if(typeof e=="object"&&e!==null){var l=aS.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Ed(t)},aS.set(e,t),t)}return{value:e,source:t,stack:Ed(t)}}function ks(){for(var e=yp,t=lS=yp=0;t<e;){var l=Ji[t];Ji[t++]=null;var o=Ji[t];Ji[t++]=null;var d=Ji[t];Ji[t++]=null;var p=Ji[t];if(Ji[t++]=null,o!==null&&d!==null){var S=o.pending;S===null?d.next=d:(d.next=S.next,S.next=d),o.pending=d}p!==0&&Jv(l,d,p)}}function kd(e,t,l,o){Ji[yp++]=e,Ji[yp++]=t,Ji[yp++]=l,Ji[yp++]=o,lS|=o,e.lanes|=o,e=e.alternate,e!==null&&(e.lanes|=o)}function Dm(e,t,l,o){return kd(e,t,l,o),Ud(e)}function Za(e,t){return kd(e,null,null,t),Ud(e)}function Jv(e,t,l){e.lanes|=l;var o=e.alternate;o!==null&&(o.lanes|=l);for(var d=!1,p=e.return;p!==null;)p.childLanes|=l,o=p.alternate,o!==null&&(o.childLanes|=l),p.tag===22&&(e=p.stateNode,e===null||e._visibility&Y0||(d=!0)),e=p,p=p.return;return e.tag===3?(p=e.stateNode,d&&t!==null&&(d=31-Ea(l),e=p.hiddenUpdates,o=e[d],o===null?e[d]=[t]:o.push(t),t.lane=l|536870912),p):null}function Ud(e){if(Pg>YN)throw td=Pg=0,Fg=kS=null,Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");td>VN&&(td=0,Fg=null,console.error("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.")),e.alternate===null&&(e.flags&4098)!==0&&ri(e);for(var t=e,l=t.return;l!==null;)t.alternate===null&&(t.flags&4098)!==0&&ri(e),t=l,l=t.return;return t.tag===3?t.stateNode:null}function Pr(e){if($i===null)return e;var t=$i(e);return t===void 0?e:t.current}function Mm(e){if($i===null)return e;var t=$i(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Pr(e.render),e.render!==t)?(t={$$typeof:zu,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function $v(e,t){if($i===null)return!1;var l=e.elementType;t=t.type;var o=!1,d=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(o=!0);break;case 0:(typeof t=="function"||d===dl)&&(o=!0);break;case 11:(d===zu||d===dl)&&(o=!0);break;case 14:case 15:(d===Cf||d===dl)&&(o=!0);break;default:return!1}return!!(o&&(e=$i(l),e!==void 0&&e===$i(t)))}function Kv(e){$i!==null&&typeof WeakSet=="function"&&(gp===null&&(gp=new WeakSet),gp.add(e))}function Us(e,t,l){var o=e.alternate,d=e.child,p=e.sibling,S=e.tag,x=e.type,N=null;switch(S){case 0:case 15:case 1:N=x;break;case 11:N=x.render}if($i===null)throw Error("Expected resolveFamily to be set during hot reload.");var H=!1;x=!1,N!==null&&(N=$i(N),N!==void 0&&(l.has(N)?x=!0:t.has(N)&&(S===1?x=!0:H=!0))),gp!==null&&(gp.has(e)||o!==null&&gp.has(o))&&(x=!0),x&&(e._debugNeedsRemount=!0),(x||H)&&(o=Za(e,2),o!==null&&xn(o,e,2)),d===null||x||Us(d,t,l),p!==null&&Us(p,t,l)}function Hs(e,t,l,o){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null,this.actualDuration=-0,this.actualStartTime=-1.1,this.treeBaseDuration=this.selfBaseDuration=-0,this._debugTask=this._debugStack=this._debugOwner=this._debugInfo=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,Zx||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Nm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function vi(e,t){var l=e.alternate;switch(l===null?(l=z(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l._debugOwner=e._debugOwner,l._debugStack=e._debugStack,l._debugTask=e._debugTask,l._debugHookTypes=e._debugHookTypes,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null,l.actualDuration=-0,l.actualStartTime=-1.1),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l.selfBaseDuration=e.selfBaseDuration,l.treeBaseDuration=e.treeBaseDuration,l._debugInfo=e._debugInfo,l._debugNeedsRemount=e._debugNeedsRemount,l.tag){case 0:case 15:l.type=Pr(e.type);break;case 1:l.type=Pr(e.type);break;case 11:l.type=Mm(e.type)}return l}function km(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=l.selfBaseDuration,e.treeBaseDuration=l.treeBaseDuration),e}function Hd(e,t,l,o,d,p){var S=0,x=e;if(typeof e=="function")Nm(e)&&(S=1),x=Pr(x);else if(typeof e=="string")S=q(),S=Lc(e,l,S)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case rg:return t=z(31,l,t,d),t.elementType=rg,t.lanes=p,t;case st:return er(l.children,d,p,t);case qc:S=8,d|=el,d|=Uu;break;case Yc:return e=l,o=d,typeof e.id!="string"&&console.error('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id),t=z(12,e,t,o|Na),t.elementType=Yc,t.lanes=p,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Vc:return t=z(13,l,t,d),t.elementType=Vc,t.lanes=p,t;case Rr:return t=z(19,l,t,d),t.elementType=Rr,t.lanes=p,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ug:case Bl:S=10;break e;case Ph:S=9;break e;case zu:S=11,x=Mm(x);break e;case Cf:S=14;break e;case dl:S=16,x=null;break e}x="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(x+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?l="null":lt(e)?l="array":e!==void 0&&e.$$typeof===Or?(l="<"+(pe(e.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,(S=o?we(o):null)&&(x+=`
|
|
143
|
-
|
|
144
|
-
Check the render method of \``+S+"`."),S=29,l=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(l+"."+x)),x=null}return t=z(S,l,t,d),t.elementType=e,t.type=x,t.lanes=p,t._debugOwner=o,t}function js(e,t,l){return t=Hd(e.type,e.key,e.props,e._owner,t,l),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function er(e,t,l,o){return e=z(7,e,o,t),e.lanes=l,e}function tr(e,t,l){return e=z(6,e,null,t),e.lanes=l,e}function Um(e,t,l){return t=z(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fr(e,t){Kl(),vp[bp++]=G0,vp[bp++]=V0,V0=e,G0=t}function Pv(e,t,l){Kl(),Ki[Pi++]=Uo,Ki[Pi++]=Ho,Ki[Pi++]=Vf,Vf=e;var o=Uo;e=Ho;var d=32-Ea(o)-1;o&=~(1<<d),l+=1;var p=32-Ea(t)+d;if(30<p){var S=d-d%5;p=(o&(1<<S)-1).toString(32),o>>=S,d-=S,Uo=1<<32-Ea(t)+d|l<<d|o,Ho=p+e}else Uo=1<<p|l<<d|o,Ho=e}function jd(e){Kl(),e.return!==null&&(Fr(e,1),Pv(e,1,0))}function Bd(e){for(;e===V0;)V0=vp[--bp],vp[bp]=null,G0=vp[--bp],vp[bp]=null;for(;e===Vf;)Vf=Ki[--Pi],Ki[Pi]=null,Ho=Ki[--Pi],Ki[Pi]=null,Uo=Ki[--Pi],Ki[Pi]=null}function Kl(){jt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Pl(e,t){if(e.return===null){if(Fi===null)Fi={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(Fi.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");Fi.distanceFromLeaf>t&&(Fi.distanceFromLeaf=t)}return Fi}var l=Pl(e.return,t+1).children;return 0<l.length&&l[l.length-1].fiber===e?(l=l[l.length-1],l.distanceFromLeaf>t&&(l.distanceFromLeaf=t),l):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},l.push(t),t)}function Hm(e,t){jo||(e=Pl(e,0),e.serverProps=null,t!==null&&(t=qh(t),e.serverTail.push(t)))}function bi(e){var t="",l=Fi;throw l!==null&&(Fi=null,t=zs(l)),rc(il(Error(`Hydration failed because the server rendered HTML didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:
|
|
145
|
-
|
|
146
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
147
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
148
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
149
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
150
|
-
- Invalid HTML tag nesting.
|
|
151
|
-
|
|
152
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
153
|
-
|
|
154
|
-
https://react.dev/link/hydration-mismatch`+t),e)),iS}function jm(e){var t=e.stateNode,l=e.type,o=e.memoizedProps;switch(t[Ta]=e,t[Fa]=o,Li(l,o),l){case"dialog":Tt("cancel",t),Tt("close",t);break;case"iframe":case"object":case"embed":Tt("load",t);break;case"video":case"audio":for(l=0;l<Wg.length;l++)Tt(Wg[l],t);break;case"source":Tt("error",t);break;case"img":case"image":case"link":Tt("error",t),Tt("load",t);break;case"details":Tt("toggle",t);break;case"input":qe("input",o),Tt("invalid",t),$u(t,o),Hv(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),ou(t);break;case"option":vm(t,o);break;case"select":qe("select",o),Tt("invalid",t),Rs(t,o);break;case"textarea":qe("textarea",o),Tt("invalid",t),yi(t,o),bm(t,o.value,o.defaultValue,o.children),ou(t)}l=o.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||o.suppressHydrationWarning===!0||Ly(t.textContent,l)?(o.popover!=null&&(Tt("beforetoggle",t),Tt("toggle",t)),o.onScroll!=null&&Tt("scroll",t),o.onScrollEnd!=null&&Tt("scrollend",t),o.onClick!=null&&(t.onclick=xu),t=!0):t=!1,t||bi(e)}function Bm(e){for(ml=e.return;ml;)switch(ml.tag){case 5:case 13:kr=!1;return;case 27:case 3:kr=!0;return;default:ml=ml.return}}function Wr(e){if(e!==ml)return!1;if(!jt)return Bm(e),jt=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||Zi(e.type,e.memoizedProps)),l=!l),l&&Bn){for(l=Bn;l;){var o=Pl(e,0),d=qh(l);o.serverTail.push(d),l=d.type==="Suspense"?Iy(l):fa(l.nextSibling)}bi(e)}if(Bm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");Bn=Iy(e)}else t===27?(t=Bn,qi(e.type)?(e=QS,QS=null,Bn=e):Bn=t):Bn=ml?fa(e.stateNode.nextSibling):null;return!0}function eo(){Bn=ml=null,jo=jt=!1}function Lm(){var e=Gf;return e!==null&&(vl===null?vl=e:vl.push.apply(vl,e),Gf=null),e}function rc(e){Gf===null?Gf=[e]:Gf.push(e)}function Zm(){var e=Fi;if(e!==null){Fi=null;for(var t=zs(e);0<e.children.length;)e=e.children[0];Be(e.fiber,function(){console.error(`A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:
|
|
155
|
-
|
|
156
|
-
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
157
|
-
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
158
|
-
- Date formatting in a user's locale which doesn't match the server.
|
|
159
|
-
- External changing data without sending a snapshot of it along with the HTML.
|
|
160
|
-
- Invalid HTML tag nesting.
|
|
161
|
-
|
|
162
|
-
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
163
|
-
|
|
164
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function Ld(){Sp=X0=null,Ep=!1}function nr(e,t,l){Ee(uS,t._currentValue,e),t._currentValue=l,Ee(rS,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Gx&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Gx}function hu(e,t){e._currentValue=uS.current;var l=rS.current;be(rS,t),e._currentRenderer=l,be(uS,t)}function qm(e,t,l){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===l)break;e=e.return}e!==l&&console.error("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Ym(e,t,l,o){var d=e.child;for(d!==null&&(d.return=e);d!==null;){var p=d.dependencies;if(p!==null){var S=d.child;p=p.firstContext;e:for(;p!==null;){var x=p;p=d;for(var N=0;N<t.length;N++)if(x.context===t[N]){p.lanes|=l,x=p.alternate,x!==null&&(x.lanes|=l),qm(p.return,l,e),o||(S=null);break e}p=x.next}}else if(d.tag===18){if(S=d.return,S===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");S.lanes|=l,p=S.alternate,p!==null&&(p.lanes|=l),qm(S,l,e),S=null}else S=d.child;if(S!==null)S.return=d;else for(S=d;S!==null;){if(S===e){S=null;break}if(d=S.sibling,d!==null){d.return=S.return,S=d;break}S=S.return}d=S}}function ra(e,t,l,o){e=null;for(var d=t,p=!1;d!==null;){if(!p){if((d.flags&524288)!==0)p=!0;else if((d.flags&262144)!==0)break}if(d.tag===10){var S=d.alternate;if(S===null)throw Error("Should have a current fiber. This is a bug in React.");if(S=S.memoizedProps,S!==null){var x=d.type;pl(d.pendingProps.value,S.value)||(e!==null?e.push(x):e=[x])}}else if(d===Xc.current){if(S=d.alternate,S===null)throw Error("Should have a current fiber. This is a bug in React.");S.memoizedState.memoizedState!==d.memoizedState.memoizedState&&(e!==null?e.push(av):e=[av])}d=d.return}e!==null&&Ym(t,e,l,o),t.flags|=262144}function ar(e){for(e=e.firstContext;e!==null;){if(!pl(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function lr(e){X0=e,Sp=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function tn(e){return Ep&&console.error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."),Vm(X0,e)}function Bs(e,t){return X0===null&&lr(e),Vm(e,t)}function Vm(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},Sp===null){if(e===null)throw Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Sp=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else Sp=Sp.next=t;return l}function Ls(){return{controller:new wN,data:new Map,refCount:0}}function to(e){e.controller.signal.aborted&&console.warn("A cache instance was retained after it was already freed. This likely indicates a bug in React."),e.refCount++}function Si(e){e.refCount--,0>e.refCount&&console.warn("A cache instance was released after it was already freed. This likely indicates a bug in React."),e.refCount===0&&zN(_N,function(){e.controller.abort()})}function Fl(){var e=Xf;return Xf=0,e}function ir(e){var t=Xf;return Xf=e,t}function no(e){var t=Xf;return Xf+=e,t}function Zd(e){ql=Tp(),0>e.actualStartTime&&(e.actualStartTime=ql)}function pu(e){if(0<=ql){var t=Tp()-ql;e.actualDuration+=t,e.selfBaseDuration=t,ql=-1}}function ao(e){if(0<=ql){var t=Tp()-ql;e.actualDuration+=t,ql=-1}}function Rl(){if(0<=ql){var e=Tp()-ql;ql=-1,Xf+=e}}function Wl(){ql=Tp()}function Ei(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Fv(e,t){if(Cg===null){var l=Cg=[];oS=0,Qf=ky(),Ap={status:"pending",value:void 0,then:function(o){l.push(o)}}}return oS++,t.then(Gm,Gm),t}function Gm(){if(--oS===0&&Cg!==null){Ap!==null&&(Ap.status="fulfilled");var e=Cg;Cg=null,Qf=0,Ap=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Wv(e,t){var l=[],o={status:"pending",value:null,reason:null,then:function(d){l.push(d)}};return e.then(function(){o.status="fulfilled",o.value=t;for(var d=0;d<l.length;d++)(0,l[d])(t)},function(d){for(o.status="rejected",o.reason=d,d=0;d<l.length;d++)(0,l[d])(void 0)}),o}function Xm(){var e=If.current;return e!==null?e:nn.pooledCache}function qd(e,t){t===null?Ee(If,If.current,e):Ee(If,t.pool,e)}function e0(){var e=Xm();return e===null?null:{parent:pa._currentValue,pool:e}}function Qm(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function Im(e){return e=e.status,e==="fulfilled"||e==="rejected"}function oc(){}function wl(e,t,l){ie.actQueue!==null&&(ie.didUsePromise=!0);var o=e.thenables;switch(l=o[l],l===void 0?o.push(t):l!==t&&(e.didWarnAboutUncachedPromise||(e.didWarnAboutUncachedPromise=!0,console.error("A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework.")),t.then(oc,oc),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ul(e),e;default:if(typeof t.status=="string")t.then(oc,oc);else{if(e=nn,e!==null&&100<e.shellSuspendCounter)throw Error("An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.");e=t,e.status="pending",e.then(function(d){if(t.status==="pending"){var p=t;p.status="fulfilled",p.value=d}},function(d){if(t.status==="pending"){var p=t;p.status="rejected",p.reason=d}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ul(e),e}throw Bg=t,P0=!0,jg}}function Jm(){if(Bg===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=Bg;return Bg=null,P0=!1,e}function ul(e){if(e===jg||e===K0)throw Error("Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.")}function qa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ur(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ti(e){return{lane:e,tag:$x,payload:null,callback:null,next:null}}function ei(e,t,l){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,fS===o&&!Fx){var d=Se(e);console.error(`An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.
|
|
165
|
-
|
|
166
|
-
Please update the following component: %s`,d),Fx=!0}return(Gt&gl)!==si?(d=o.pending,d===null?t.next=t:(t.next=d.next,d.next=t),o.pending=t,t=Ud(e),Jv(e,null,l),t):(kd(e,o,t,l),Ud(e))}function rr(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var o=t.lanes;o&=e.pendingLanes,l|=o,t.lanes=l,de(e,l)}}function cc(e,t){var l=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,l===o)){var d=null,p=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};p===null?d=p=S:p=p.next=S,l=l.next}while(l!==null);p===null?d=p=t:p=p.next=t}else d=p=t;l={baseState:o.baseState,firstBaseUpdate:d,lastBaseUpdate:p,shared:o.shared,callbacks:o.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}function Ai(){if(dS){var e=Ap;if(e!==null)throw e}}function sc(e,t,l,o){dS=!1;var d=e.updateQueue;ts=!1,fS=d.shared;var p=d.firstBaseUpdate,S=d.lastBaseUpdate,x=d.shared.pending;if(x!==null){d.shared.pending=null;var N=x,H=N.next;N.next=null,S===null?p=H:S.next=H,S=N;var te=e.alternate;te!==null&&(te=te.updateQueue,x=te.lastBaseUpdate,x!==S&&(x===null?te.firstBaseUpdate=H:x.next=H,te.lastBaseUpdate=N))}if(p!==null){var re=d.baseState;S=0,te=H=N=null,x=p;do{var W=x.lane&-536870913,se=W!==x.lane;if(se?(Rt&W)===W:(o&W)===W){W!==0&&W===Qf&&(dS=!0),te!==null&&(te=te.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{W=e;var Le=x,tt=t,an=l;switch(Le.tag){case Kx:if(Le=Le.payload,typeof Le=="function"){Ep=!0;var Ct=Le.call(an,re,tt);if(W.mode&el){Oe(!0);try{Le.call(an,re,tt)}finally{Oe(!1)}}Ep=!1,re=Ct;break e}re=Le;break e;case sS:W.flags=W.flags&-65537|128;case $x:if(Ct=Le.payload,typeof Ct=="function"){if(Ep=!0,Le=Ct.call(an,re,tt),W.mode&el){Oe(!0);try{Ct.call(an,re,tt)}finally{Oe(!1)}}Ep=!1}else Le=Ct;if(Le==null)break e;re=yt({},re,Le);break e;case Px:ts=!0}}W=x.callback,W!==null&&(e.flags|=64,se&&(e.flags|=8192),se=d.callbacks,se===null?d.callbacks=[W]:se.push(W))}else se={lane:W,tag:x.tag,payload:x.payload,callback:x.callback,next:null},te===null?(H=te=se,N=re):te=te.next=se,S|=W;if(x=x.next,x===null){if(x=d.shared.pending,x===null)break;se=x,x=se.next,se.next=null,d.lastBaseUpdate=se,d.shared.pending=null}}while(!0);te===null&&(N=re),d.baseState=N,d.firstBaseUpdate=H,d.lastBaseUpdate=te,p===null&&(d.shared.lanes=0),is|=S,e.lanes=S,e.memoizedState=re}fS=null}function Zs(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function fc(e,t){var l=e.shared.hiddenCallbacks;if(l!==null)for(e.shared.hiddenCallbacks=null,e=0;e<l.length;e++)Zs(l[e],t)}function t0(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)Zs(l[e],t)}function Ya(e,t){var l=jr;Ee(F0,l,e),Ee(xp,t,e),jr=l|t.baseLanes}function qs(e){Ee(F0,jr,e),Ee(xp,xp.current,e)}function ti(e){jr=F0.current,be(xp,e),be(F0,e)}function bt(){var e=ue;tu===null?tu=[e]:tu.push(e)}function Ae(){var e=ue;if(tu!==null&&(Lo++,tu[Lo]!==e)){var t=Se(it);if(!Wx.has(t)&&(Wx.add(t),tu!==null)){for(var l="",o=0;o<=Lo;o++){var d=tu[o],p=o===Lo?e:d;for(d=o+1+". "+d;30>d.length;)d+=" ";d+=p+`
|
|
167
|
-
`,l+=d}console.error(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks
|
|
168
|
-
|
|
169
|
-
Previous render Next render
|
|
170
|
-
------------------------------------------------------
|
|
171
|
-
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
172
|
-
`,t,l)}}}function zl(e){e==null||lt(e)||console.error("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",ue,typeof e)}function dc(){var e=Se(it);t2.has(e)||(t2.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function yn(){throw Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
173
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
174
|
-
2. You might be breaking the Rules of Hooks
|
|
175
|
-
3. You might have more than one copy of React in the same app
|
|
176
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function or(e,t){if(Zg)return!1;if(t===null)return console.error("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",ue),!1;e.length!==t.length&&console.error(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
|
177
|
-
|
|
178
|
-
Previous: %s
|
|
179
|
-
Incoming: %s`,ue,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var l=0;l<t.length&&l<e.length;l++)if(!pl(e[l],t[l]))return!1;return!0}function cr(e,t,l,o,d,p){ns=p,it=t,tu=e!==null?e._debugHookTypes:null,Lo=-1,Zg=e!==null&&e.type!==t.type,(Object.prototype.toString.call(l)==="[object AsyncFunction]"||Object.prototype.toString.call(l)==="[object AsyncGeneratorFunction]")&&(p=Se(it),hS.has(p)||(hS.add(p),console.error("%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",p===null?"An unknown Component":"<"+p+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,ie.H=e!==null&&e.memoizedState!==null?mS:tu!==null?n2:pS,$f=p=(t.mode&el)!==sn;var S=yS(l,o,d);if($f=!1,Rp&&(S=hc(t,l,o,d)),p){Oe(!0);try{S=hc(t,l,o,d)}finally{Oe(!1)}}return Ys(e,t),S}function Ys(e,t){t._debugHookTypes=tu,t.dependencies===null?Bo!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Bo}):t.dependencies._debugThenableState=Bo,ie.H=tb;var l=Pt!==null&&Pt.next!==null;if(ns=0,tu=ue=ta=Pt=it=null,Lo=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),W0=!1,Lg=0,Bo=null,l)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Aa||(e=e.dependencies,e!==null&&ar(e)&&(Aa=!0)),P0?(P0=!1,e=!0):e=!1,e&&(t=Se(t)||"Unknown",e2.has(t)||hS.has(t)||(e2.add(t),console.error("`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary.")))}function hc(e,t,l,o){it=e;var d=0;do{if(Rp&&(Bo=null),Lg=0,Rp=!1,d>=DN)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(d+=1,Zg=!1,ta=Pt=null,e.updateQueue!=null){var p=e.updateQueue;p.lastEffect=null,p.events=null,p.stores=null,p.memoCache!=null&&(p.memoCache.index=0)}Lo=-1,ie.H=a2,p=yS(t,l,o)}while(Rp);return p}function _l(){var e=ie.H,t=e.useState()[0];return t=typeof t.then=="function"?lo(t):t,e=e.useState()[0],(Pt!==null?Pt.memoizedState:null)!==e&&(it.flags|=1024),t}function Va(){var e=eb!==0;return eb=0,e}function mu(e,t,l){t.updateQueue=e.updateQueue,t.flags=(t.mode&Uu)!==sn?t.flags&-402655237:t.flags&-2053,e.lanes&=~l}function ni(e){if(W0){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}W0=!1}ns=0,tu=ta=Pt=it=null,Lo=-1,ue=null,Rp=!1,Lg=eb=0,Bo=null}function Tn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ta===null?it.memoizedState=ta=e:ta=ta.next=e,ta}function _t(){if(Pt===null){var e=it.alternate;e=e!==null?e.memoizedState:null}else e=Pt.next;var t=ta===null?it.memoizedState:ta.next;if(t!==null)ta=t,Pt=e;else{if(e===null)throw it.alternate===null?Error("Update hook called on initial render. This is likely a bug in React. Please file an issue."):Error("Rendered more hooks than during the previous render.");Pt=e,e={memoizedState:Pt.memoizedState,baseState:Pt.baseState,baseQueue:Pt.baseQueue,queue:Pt.queue,next:null},ta===null?it.memoizedState=ta=e:ta=ta.next=e}return ta}function Yd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function lo(e){var t=Lg;return Lg+=1,Bo===null&&(Bo=Qm()),e=wl(Bo,e,t),t=it,(ta===null?t.memoizedState:ta.next)===null&&(t=t.alternate,ie.H=t!==null&&t.memoizedState!==null?mS:pS),e}function xi(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return lo(e);if(e.$$typeof===Bl)return tn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function kn(e){var t=null,l=it.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var o=it.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(t={data:o.data.map(function(d){return d.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=Yd(),it.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0||Zg)for(l=t.data[t.index]=Array(e),o=0;o<e;o++)l[o]=C0;else l.length!==e&&console.error("Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",l.length,e);return t.index++,l}function kt(e,t){return typeof t=="function"?t(e):t}function Nt(e,t,l){var o=Tn();if(l!==void 0){var d=l(t);if($f){Oe(!0);try{l(t)}finally{Oe(!1)}}}else d=t;return o.memoizedState=o.baseState=d,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:d},o.queue=e,e=e.dispatch=ay.bind(null,it,e),[o.memoizedState,e]}function Cl(e){var t=_t();return Dl(t,Pt,e)}function Dl(e,t,l){var o=e.queue;if(o===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");o.lastRenderedReducer=l;var d=e.baseQueue,p=o.pending;if(p!==null){if(d!==null){var S=d.next;d.next=p.next,p.next=S}t.baseQueue!==d&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=d=p,o.pending=null}if(p=e.baseState,d===null)e.memoizedState=p;else{t=d.next;var x=S=null,N=null,H=t,te=!1;do{var re=H.lane&-536870913;if(re!==H.lane?(Rt&re)===re:(ns&re)===re){var W=H.revertLane;if(W===0)N!==null&&(N=N.next={lane:0,revertLane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),re===Qf&&(te=!0);else if((ns&W)===W){H=H.next,W===Qf&&(te=!0);continue}else re={lane:0,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},N===null?(x=N=re,S=p):N=N.next=re,it.lanes|=W,is|=W;re=H.action,$f&&l(p,re),p=H.hasEagerState?H.eagerState:l(p,re)}else W={lane:re,revertLane:H.revertLane,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null},N===null?(x=N=W,S=p):N=N.next=W,it.lanes|=re,is|=re;H=H.next}while(H!==null&&H!==t);if(N===null?S=p:N.next=x,!pl(p,e.memoizedState)&&(Aa=!0,te&&(l=Ap,l!==null)))throw l;e.memoizedState=p,e.baseState=S,e.baseQueue=N,o.lastRenderedState=p}return d===null&&(o.lanes=0),[e.memoizedState,o.dispatch]}function io(e){var t=_t(),l=t.queue;if(l===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");l.lastRenderedReducer=e;var o=l.dispatch,d=l.pending,p=t.memoizedState;if(d!==null){l.pending=null;var S=d=d.next;do p=e(p,S.action),S=S.next;while(S!==d);pl(p,t.memoizedState)||(Aa=!0),t.memoizedState=p,t.baseQueue===null&&(t.baseState=p),l.lastRenderedState=p}return[p,o]}function yu(e,t,l){var o=it,d=Tn();if(jt){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var p=l();Op||p===l()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Op=!0)}else{if(p=t(),Op||(l=t(),pl(p,l)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)),nn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Rt&124)!==0||$m(o,t,p)}return d.memoizedState=p,l={value:p,getSnapshot:t},d.queue=l,Xd(mc.bind(null,o,l,e),[e]),o.flags|=2048,Ri(eu|ma,fr(),pc.bind(null,o,l,p,t),null),p}function Vs(e,t,l){var o=it,d=_t(),p=jt;if(p){if(l===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");l=l()}else if(l=t(),!Op){var S=t();pl(l,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Op=!0)}(S=!pl((Pt||d).memoizedState,l))&&(d.memoizedState=l,Aa=!0),d=d.queue;var x=mc.bind(null,o,d,e);if(Vn(2048,ma,x,[e]),d.getSnapshot!==t||S||ta!==null&&ta.memoizedState.tag&eu){if(o.flags|=2048,Ri(eu|ma,fr(),pc.bind(null,o,d,l,t),null),nn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");p||(ns&124)!==0||$m(o,t,l)}return l}function $m(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=it.updateQueue,t===null?(t=Yd(),it.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function pc(e,t,l,o){t.value=l,t.getSnapshot=o,Km(t)&&yc(e)}function mc(e,t,l){return l(function(){Km(t)&&yc(e)})}function Km(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!pl(e,l)}catch{return!0}}function yc(e){var t=Za(e,2);t!==null&&xn(t,e,2)}function Gs(e){var t=Tn();if(typeof e=="function"){var l=e;if(e=l(),$f){Oe(!0);try{l()}finally{Oe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:e},t}function gu(e){e=Gs(e);var t=e.queue,l=Sc.bind(null,it,t);return t.dispatch=l,[e.memoizedState,l]}function ai(e){var t=Tn();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=eh.bind(null,it,!0,l),l.dispatch=t,[e,t]}function vu(e,t){var l=_t();return Oi(l,Pt,e,t)}function Oi(e,t,l,o){return e.baseState=l,Dl(e,Pt,typeof o=="function"?o:kt)}function Vd(e,t){var l=_t();return Pt!==null?Oi(l,Pt,e,t):(l.baseState=e,[e,l.queue.dispatch])}function Pm(e,t,l,o,d){if(Ps(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var p={payload:d,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){p.listeners.push(S)}};ie.T!==null?l(!0):p.isTransition=!1,o(p),l=t.pending,l===null?(p.next=t.pending=p,gc(t,p)):(p.next=l.next,t.pending=l.next=p)}}function gc(e,t){var l=t.action,o=t.payload,d=e.state;if(t.isTransition){var p=ie.T,S={};ie.T=S,ie.T._updatedFibers=new Set;try{var x=l(d,o),N=ie.S;N!==null&&N(S,x),Xs(e,t,x)}catch(H){Kn(e,t,H)}finally{ie.T=p,p===null&&S._updatedFibers&&(e=S._updatedFibers.size,S._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}else try{S=l(d,o),Xs(e,t,S)}catch(H){Kn(e,t,H)}}function Xs(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?(l.then(function(o){sr(e,t,o)},function(o){return Kn(e,t,o)}),t.isTransition||console.error("An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop.")):sr(e,t,l)}function sr(e,t,l){t.status="fulfilled",t.value=l,Qs(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,gc(e,l)))}function Kn(e,t,l){var o=e.pending;if(e.pending=null,o!==null){o=o.next;do t.status="rejected",t.reason=l,Qs(t),t=t.next;while(t!==o)}e.action=null}function Qs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Fm(e,t){return t}function vc(e,t){if(jt){var l=nn.formState;if(l!==null){e:{var o=it;if(jt){if(Bn){t:{for(var d=Bn,p=kr;d.nodeType!==8;){if(!p){d=null;break t}if(d=fa(d.nextSibling),d===null){d=null;break t}}p=d.data,d=p===YS||p===tO?d:null}if(d){Bn=fa(d.nextSibling),o=d.data===YS;break e}}bi(o)}o=!1}o&&(t=l[0])}}return l=Tn(),l.memoizedState=l.baseState=t,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fm,lastRenderedState:t},l.queue=o,l=Sc.bind(null,it,o),o.dispatch=l,o=Gs(!1),p=eh.bind(null,it,!1,o.queue),o=Tn(),d={state:t,dispatch:null,action:e,pending:null},o.queue=d,l=Pm.bind(null,it,d,p,l),d.dispatch=l,o.memoizedState=e,[t,l,!1]}function Gd(e){var t=_t();return n0(t,Pt,e)}function n0(e,t,l){if(t=Dl(e,t,Fm)[0],e=Cl(kt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var o=lo(t)}catch(S){throw S===jg?K0:S}else o=t;t=_t();var d=t.queue,p=d.dispatch;return l!==t.memoizedState&&(it.flags|=2048,Ri(eu|ma,fr(),Yn.bind(null,d,l),null)),[o,p,e]}function Yn(e,t){e.action=t}function bc(e){var t=_t(),l=Pt;if(l!==null)return n0(t,l,e);_t(),t=t.memoizedState,l=_t();var o=l.queue.dispatch;return l.memoizedState=e,[t,o,!1]}function Ri(e,t,l,o){return e={tag:e,create:l,deps:o,inst:t,next:null},t=it.updateQueue,t===null&&(t=Yd(),it.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(o=l.next,l.next=e,e.next=o,t.lastEffect=e),e}function fr(){return{destroy:void 0,resource:void 0}}function Is(e){var t=Tn();return e={current:e},t.memoizedState=e}function Ml(e,t,l,o){var d=Tn();o=o===void 0?null:o,it.flags|=e,d.memoizedState=Ri(eu|t,fr(),l,o)}function Vn(e,t,l,o){var d=_t();o=o===void 0?null:o;var p=d.memoizedState.inst;Pt!==null&&o!==null&&or(o,Pt.memoizedState.deps)?d.memoizedState=Ri(t,p,l,o):(it.flags|=e,d.memoizedState=Ri(eu|t,p,l,o))}function Xd(e,t){(it.mode&Uu)!==sn&&(it.mode&Lx)===sn?Ml(276826112,ma,e,t):Ml(8390656,ma,e,t)}function Qd(e,t){var l=4194308;return(it.mode&Uu)!==sn&&(l|=134217728),Ml(l,ka,e,t)}function a0(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return t.hasOwnProperty("current")||console.error("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(t).join(", ")+"}"),e=e(),t.current=e,function(){t.current=null}}function Id(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null;var o=4194308;(it.mode&Uu)!==sn&&(o|=134217728),Ml(o,ka,a0.bind(null,t,e),l)}function wi(e,t,l){typeof t!="function"&&console.error("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",t!==null?typeof t:"null"),l=l!=null?l.concat([e]):null,Vn(4,ka,a0.bind(null,t,e),l)}function Js(e,t){return Tn().memoizedState=[e,t===void 0?null:t],e}function uo(e,t){var l=_t();t=t===void 0?null:t;var o=l.memoizedState;return t!==null&&or(t,o[1])?o[0]:(l.memoizedState=[e,t],e)}function Jd(e,t){var l=Tn();t=t===void 0?null:t;var o=e();if($f){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[o,t],o}function dr(e,t){var l=_t();t=t===void 0?null:t;var o=l.memoizedState;if(t!==null&&or(t,o[1]))return o[0];if(o=e(),$f){Oe(!0);try{e()}finally{Oe(!1)}}return l.memoizedState=[o,t],o}function $d(e,t){var l=Tn();return Pd(l,e,t)}function $s(e,t){var l=_t();return Ks(l,Pt.memoizedState,e,t)}function Kd(e,t){var l=_t();return Pt===null?Pd(l,e,t):Ks(l,Pt.memoizedState,e,t)}function Pd(e,t,l){return l===void 0||(ns&1073741824)!==0?e.memoizedState=t:(e.memoizedState=l,e=h0(),it.lanes|=e,is|=e,l)}function Ks(e,t,l,o){return pl(l,t)?l:xp.current!==null?(e=Pd(e,l,o),pl(e,t)||(Aa=!0),e):(ns&42)===0?(Aa=!0,e.memoizedState=l):(e=h0(),it.lanes|=e,is|=e,t)}function Wm(e,t,l,o,d){var p=et.p;et.p=p!==0&&p<ci?p:ci;var S=ie.T,x={};ie.T=x,eh(e,!1,t,l),x._updatedFibers=new Set;try{var N=d(),H=ie.S;if(H!==null&&H(x,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var te=Wv(N,o);bu(e,t,te,Ia(e))}else bu(e,t,o,Ia(e))}catch(re){bu(e,t,{then:function(){},status:"rejected",reason:re},Ia(e))}finally{et.p=p,ie.T=S,S===null&&x._updatedFibers&&(e=x._updatedFibers.size,x._updatedFibers.clear(),10<e&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."))}}function ro(e,t,l,o){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var d=ey(e).queue;Wm(e,d,t,ud,l===null?O:function(){return ty(e),l(o)})}function ey(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ud,baseState:ud,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:ud},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ty(e){ie.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=ey(e).next.queue;bu(e,t,{},Ia(e))}function zi(){var e=Gs(!1);return e=Wm.bind(null,it,e.queue,!0,!1),Tn().memoizedState=e,[!1,e]}function Fd(){var e=Cl(kt)[0],t=_t().memoizedState;return[typeof e=="boolean"?e:lo(e),t]}function Wd(){var e=io(kt)[0],t=_t().memoizedState;return[typeof e=="boolean"?e:lo(e),t]}function Ga(){return tn(av)}function _i(){var e=Tn(),t=nn.identifierPrefix;if(jt){var l=Ho,o=Uo;l=(o&~(1<<32-Ea(o)-1)).toString(32)+l,t="«"+t+"R"+l,l=eb++,0<l&&(t+="H"+l.toString(32)),t+="»"}else l=CN++,t="«"+t+"r"+l.toString(32)+"»";return e.memoizedState=t}function oo(){return Tn().memoizedState=ny.bind(null,it)}function ny(e,t){for(var l=e.return;l!==null;){switch(l.tag){case 24:case 3:var o=Ia(l);e=Ti(o);var d=ei(l,e,o);d!==null&&(xn(d,l,o),rr(d,l,o)),l=Ls(),t!=null&&d!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:l};return}l=l.return}}function ay(e,t,l){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Ia(e);var d={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};Ps(e)?co(t,d):(d=Dm(e,t,d,o),d!==null&&(xn(d,e,o),Fs(d,t,o))),Al(e,o)}function Sc(e,t,l){var o=arguments;typeof o[3]=="function"&&console.error("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."),o=Ia(e),bu(e,t,l,o),Al(e,o)}function bu(e,t,l,o){var d={lane:o,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ps(e))co(t,d);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=t.lastRenderedReducer,p!==null)){var S=ie.H;ie.H=ju;try{var x=t.lastRenderedState,N=p(x,l);if(d.hasEagerState=!0,d.eagerState=N,pl(N,x))return kd(e,t,d,0),nn===null&&ks(),!1}catch{}finally{ie.H=S}}if(l=Dm(e,t,d,o),l!==null)return xn(l,e,o),Fs(l,t,o),!0}return!1}function eh(e,t,l,o){if(ie.T===null&&Qf===0&&console.error("An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."),o={lane:2,revertLane:ky(),action:o,hasEagerState:!1,eagerState:null,next:null},Ps(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Dm(e,l,o,2),t!==null&&xn(t,e,2);Al(e,2)}function Ps(e){var t=e.alternate;return e===it||t!==null&&t===it}function co(e,t){Rp=W0=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Fs(e,t,l){if((l&4194048)!==0){var o=t.lanes;o&=e.pendingLanes,l|=o,t.lanes=l,de(e,l)}}function Pn(e){var t=Et;return e!=null&&(Et=t===null?e:t.concat(e)),t}function Ec(e,t,l){for(var o=Object.keys(e.props),d=0;d<o.length;d++){var p=o[d];if(p!=="children"&&p!=="key"){t===null&&(t=js(e,l.mode,0),t._debugInfo=Et,t.return=l),Be(t,function(S){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",S)},p);break}}}function Tc(e){var t=qg;return qg+=1,wp===null&&(wp=Qm()),wl(wp,e,t)}function Nl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ct(e,t){throw t.$$typeof===_f?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
180
|
-
- Multiple copies of the "react" package is used.
|
|
181
|
-
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
182
|
-
- A compiler tries to "inline" JSX instead of using the runtime.`):(e=Object.prototype.toString.call(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead."))}function Lt(e,t){var l=Se(e)||"Component";v2[l]||(v2[l]=!0,t=t.displayName||t.name||"Component",e.tag===3?console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
183
|
-
root.render(%s)`,t,t,t):console.error(`Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
|
|
184
|
-
<%s>{%s}</%s>`,t,t,l,t,l))}function gn(e,t){var l=Se(e)||"Component";b2[l]||(b2[l]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
185
|
-
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
186
|
-
<%s>%s</%s>`,l,t,l))}function Ws(e){function t(B,Z){if(e){var V=B.deletions;V===null?(B.deletions=[Z],B.flags|=16):V.push(Z)}}function l(B,Z){if(!e)return null;for(;Z!==null;)t(B,Z),Z=Z.sibling;return null}function o(B){for(var Z=new Map;B!==null;)B.key!==null?Z.set(B.key,B):Z.set(B.index,B),B=B.sibling;return Z}function d(B,Z){return B=vi(B,Z),B.index=0,B.sibling=null,B}function p(B,Z,V){return B.index=V,e?(V=B.alternate,V!==null?(V=V.index,V<Z?(B.flags|=67108866,Z):V):(B.flags|=67108866,Z)):(B.flags|=1048576,Z)}function S(B){return e&&B.alternate===null&&(B.flags|=67108866),B}function x(B,Z,V,fe){return Z===null||Z.tag!==6?(Z=tr(V,B.mode,fe),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z):(Z=d(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function N(B,Z,V,fe){var Ce=V.type;return Ce===st?(Z=te(B,Z,V.props.children,fe,V.key),Ec(V,Z,B),Z):Z!==null&&(Z.elementType===Ce||$v(Z,V)||typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===dl&&as(Ce)===Z.type)?(Z=d(Z,V.props),Nl(Z,V),Z.return=B,Z._debugOwner=V._owner,Z._debugInfo=Et,Z):(Z=js(V,B.mode,fe),Nl(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function H(B,Z,V,fe){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==V.containerInfo||Z.stateNode.implementation!==V.implementation?(Z=Um(V,B.mode,fe),Z.return=B,Z._debugInfo=Et,Z):(Z=d(Z,V.children||[]),Z.return=B,Z._debugInfo=Et,Z)}function te(B,Z,V,fe,Ce){return Z===null||Z.tag!==7?(Z=er(V,B.mode,fe,Ce),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z):(Z=d(Z,V),Z.return=B,Z._debugInfo=Et,Z)}function re(B,Z,V){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=tr(""+Z,B.mode,V),Z.return=B,Z._debugOwner=B,Z._debugTask=B._debugTask,Z._debugInfo=Et,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case Or:return V=js(Z,B.mode,V),Nl(V,Z),V.return=B,B=Pn(Z._debugInfo),V._debugInfo=Et,Et=B,V;case _o:return Z=Um(Z,B.mode,V),Z.return=B,Z._debugInfo=Et,Z;case dl:var fe=Pn(Z._debugInfo);return Z=as(Z),B=re(B,Z,V),Et=fe,B}if(lt(Z)||Q(Z))return V=er(Z,B.mode,V,null),V.return=B,V._debugOwner=B,V._debugTask=B._debugTask,B=Pn(Z._debugInfo),V._debugInfo=Et,Et=B,V;if(typeof Z.then=="function")return fe=Pn(Z._debugInfo),B=re(B,Tc(Z),V),Et=fe,B;if(Z.$$typeof===Bl)return re(B,Bs(B,Z),V);ct(B,Z)}return typeof Z=="function"&&Lt(B,Z),typeof Z=="symbol"&&gn(B,Z),null}function W(B,Z,V,fe){var Ce=Z!==null?Z.key:null;if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return Ce!==null?null:x(B,Z,""+V,fe);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case Or:return V.key===Ce?(Ce=Pn(V._debugInfo),B=N(B,Z,V,fe),Et=Ce,B):null;case _o:return V.key===Ce?H(B,Z,V,fe):null;case dl:return Ce=Pn(V._debugInfo),V=as(V),B=W(B,Z,V,fe),Et=Ce,B}if(lt(V)||Q(V))return Ce!==null?null:(Ce=Pn(V._debugInfo),B=te(B,Z,V,fe,null),Et=Ce,B);if(typeof V.then=="function")return Ce=Pn(V._debugInfo),B=W(B,Z,Tc(V),fe),Et=Ce,B;if(V.$$typeof===Bl)return W(B,Z,Bs(B,V),fe);ct(B,V)}return typeof V=="function"&&Lt(B,V),typeof V=="symbol"&&gn(B,V),null}function se(B,Z,V,fe,Ce){if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return B=B.get(V)||null,x(Z,B,""+fe,Ce);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case Or:return V=B.get(fe.key===null?V:fe.key)||null,B=Pn(fe._debugInfo),Z=N(Z,V,fe,Ce),Et=B,Z;case _o:return B=B.get(fe.key===null?V:fe.key)||null,H(Z,B,fe,Ce);case dl:var ft=Pn(fe._debugInfo);return fe=as(fe),Z=se(B,Z,V,fe,Ce),Et=ft,Z}if(lt(fe)||Q(fe))return V=B.get(V)||null,B=Pn(fe._debugInfo),Z=te(Z,V,fe,Ce,null),Et=B,Z;if(typeof fe.then=="function")return ft=Pn(fe._debugInfo),Z=se(B,Z,V,Tc(fe),Ce),Et=ft,Z;if(fe.$$typeof===Bl)return se(B,Z,V,Bs(Z,fe),Ce);ct(Z,fe)}return typeof fe=="function"&&Lt(Z,fe),typeof fe=="symbol"&&gn(Z,fe),null}function Le(B,Z,V,fe){if(typeof V!="object"||V===null)return fe;switch(V.$$typeof){case Or:case _o:b(B,Z,V);var Ce=V.key;if(typeof Ce!="string")break;if(fe===null){fe=new Set,fe.add(Ce);break}if(!fe.has(Ce)){fe.add(Ce);break}Be(Z,function(){console.error("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",Ce)});break;case dl:V=as(V),Le(B,Z,V,fe)}return fe}function tt(B,Z,V,fe){for(var Ce=null,ft=null,Ze=null,dt=Z,mt=Z=0,fn=null;dt!==null&&mt<V.length;mt++){dt.index>mt?(fn=dt,dt=null):fn=dt.sibling;var In=W(B,dt,V[mt],fe);if(In===null){dt===null&&(dt=fn);break}Ce=Le(B,In,V[mt],Ce),e&&dt&&In.alternate===null&&t(B,dt),Z=p(In,Z,mt),Ze===null?ft=In:Ze.sibling=In,Ze=In,dt=fn}if(mt===V.length)return l(B,dt),jt&&Fr(B,mt),ft;if(dt===null){for(;mt<V.length;mt++)dt=re(B,V[mt],fe),dt!==null&&(Ce=Le(B,dt,V[mt],Ce),Z=p(dt,Z,mt),Ze===null?ft=dt:Ze.sibling=dt,Ze=dt);return jt&&Fr(B,mt),ft}for(dt=o(dt);mt<V.length;mt++)fn=se(dt,B,mt,V[mt],fe),fn!==null&&(Ce=Le(B,fn,V[mt],Ce),e&&fn.alternate!==null&&dt.delete(fn.key===null?mt:fn.key),Z=p(fn,Z,mt),Ze===null?ft=fn:Ze.sibling=fn,Ze=fn);return e&&dt.forEach(function(Xo){return t(B,Xo)}),jt&&Fr(B,mt),ft}function an(B,Z,V,fe){if(V==null)throw Error("An iterable object provided no iterator.");for(var Ce=null,ft=null,Ze=Z,dt=Z=0,mt=null,fn=null,In=V.next();Ze!==null&&!In.done;dt++,In=V.next()){Ze.index>dt?(mt=Ze,Ze=null):mt=Ze.sibling;var Xo=W(B,Ze,In.value,fe);if(Xo===null){Ze===null&&(Ze=mt);break}fn=Le(B,Xo,In.value,fn),e&&Ze&&Xo.alternate===null&&t(B,Ze),Z=p(Xo,Z,dt),ft===null?Ce=Xo:ft.sibling=Xo,ft=Xo,Ze=mt}if(In.done)return l(B,Ze),jt&&Fr(B,dt),Ce;if(Ze===null){for(;!In.done;dt++,In=V.next())Ze=re(B,In.value,fe),Ze!==null&&(fn=Le(B,Ze,In.value,fn),Z=p(Ze,Z,dt),ft===null?Ce=Ze:ft.sibling=Ze,ft=Ze);return jt&&Fr(B,dt),Ce}for(Ze=o(Ze);!In.done;dt++,In=V.next())mt=se(Ze,B,dt,In.value,fe),mt!==null&&(fn=Le(B,mt,In.value,fn),e&&mt.alternate!==null&&Ze.delete(mt.key===null?dt:mt.key),Z=p(mt,Z,dt),ft===null?Ce=mt:ft.sibling=mt,ft=mt);return e&&Ze.forEach(function(ak){return t(B,ak)}),jt&&Fr(B,dt),Ce}function Ct(B,Z,V,fe){if(typeof V=="object"&&V!==null&&V.type===st&&V.key===null&&(Ec(V,null,B),V=V.props.children),typeof V=="object"&&V!==null){switch(V.$$typeof){case Or:var Ce=Pn(V._debugInfo);e:{for(var ft=V.key;Z!==null;){if(Z.key===ft){if(ft=V.type,ft===st){if(Z.tag===7){l(B,Z.sibling),fe=d(Z,V.props.children),fe.return=B,fe._debugOwner=V._owner,fe._debugInfo=Et,Ec(V,fe,B),B=fe;break e}}else if(Z.elementType===ft||$v(Z,V)||typeof ft=="object"&&ft!==null&&ft.$$typeof===dl&&as(ft)===Z.type){l(B,Z.sibling),fe=d(Z,V.props),Nl(fe,V),fe.return=B,fe._debugOwner=V._owner,fe._debugInfo=Et,B=fe;break e}l(B,Z);break}else t(B,Z);Z=Z.sibling}V.type===st?(fe=er(V.props.children,B.mode,fe,V.key),fe.return=B,fe._debugOwner=B,fe._debugTask=B._debugTask,fe._debugInfo=Et,Ec(V,fe,B),B=fe):(fe=js(V,B.mode,fe),Nl(fe,V),fe.return=B,fe._debugInfo=Et,B=fe)}return B=S(B),Et=Ce,B;case _o:e:{for(Ce=V,V=Ce.key;Z!==null;){if(Z.key===V)if(Z.tag===4&&Z.stateNode.containerInfo===Ce.containerInfo&&Z.stateNode.implementation===Ce.implementation){l(B,Z.sibling),fe=d(Z,Ce.children||[]),fe.return=B,B=fe;break e}else{l(B,Z);break}else t(B,Z);Z=Z.sibling}fe=Um(Ce,B.mode,fe),fe.return=B,B=fe}return S(B);case dl:return Ce=Pn(V._debugInfo),V=as(V),B=Ct(B,Z,V,fe),Et=Ce,B}if(lt(V))return Ce=Pn(V._debugInfo),B=tt(B,Z,V,fe),Et=Ce,B;if(Q(V)){if(Ce=Pn(V._debugInfo),ft=Q(V),typeof ft!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ze=ft.call(V);return Ze===V?(B.tag!==0||Object.prototype.toString.call(B.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ze)!=="[object Generator]")&&(y2||console.error("Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."),y2=!0):V.entries!==ft||vS||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),vS=!0),B=an(B,Z,Ze,fe),Et=Ce,B}if(typeof V.then=="function")return Ce=Pn(V._debugInfo),B=Ct(B,Z,Tc(V),fe),Et=Ce,B;if(V.$$typeof===Bl)return Ct(B,Z,Bs(B,V),fe);ct(B,V)}return typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint"?(Ce=""+V,Z!==null&&Z.tag===6?(l(B,Z.sibling),fe=d(Z,Ce),fe.return=B,B=fe):(l(B,Z),fe=tr(Ce,B.mode,fe),fe.return=B,fe._debugOwner=B,fe._debugTask=B._debugTask,fe._debugInfo=Et,B=fe),S(B)):(typeof V=="function"&&Lt(B,V),typeof V=="symbol"&&gn(B,V),l(B,Z))}return function(B,Z,V,fe){var Ce=Et;Et=null;try{qg=0;var ft=Ct(B,Z,V,fe);return wp=null,ft}catch(fn){if(fn===jg||fn===K0)throw fn;var Ze=z(29,fn,null,B.mode);Ze.lanes=fe,Ze.return=B;var dt=Ze._debugInfo=Et;if(Ze._debugOwner=B._debugOwner,Ze._debugTask=B._debugTask,dt!=null){for(var mt=dt.length-1;0<=mt;mt--)if(typeof dt[mt].stack=="string"){Ze._debugOwner=dt[mt],Ze._debugTask=dt[mt].debugTask;break}}return Ze}finally{Et=Ce}}}function rl(e){var t=e.alternate;Ee(ya,ya.current&_p,e),Ee(nu,e,e),Hr===null&&(t===null||xp.current!==null||t.memoizedState!==null)&&(Hr=e)}function hr(e){if(e.tag===22){if(Ee(ya,ya.current,e),Ee(nu,e,e),Hr===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(Hr=e)}}else li(e)}function li(e){Ee(ya,ya.current,e),Ee(nu,nu.current,e)}function ol(e){be(nu,e),Hr===e&&(Hr=null),be(ya,e)}function Su(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data===Yo||Yi(l)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ly(e){if(e!==null&&typeof e!="function"){var t=String(e);D2.has(t)||(D2.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function vn(e,t,l,o){var d=e.memoizedState,p=l(o,d);if(e.mode&el){Oe(!0);try{p=l(o,d)}finally{Oe(!1)}}p===void 0&&(t=pe(t)||"Component",w2.has(t)||(w2.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),d=p==null?d:yt({},d,p),e.memoizedState=d,e.lanes===0&&(e.updateQueue.baseState=d)}function th(e,t,l,o,d,p,S){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){if(l=x.shouldComponentUpdate(o,p,S),e.mode&el){Oe(!0);try{l=x.shouldComponentUpdate(o,p,S)}finally{Oe(!1)}}return l===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",pe(t)||"Component"),l}return t.prototype&&t.prototype.isPureReactComponent?!Ns(l,o)||!Ns(d,p):!0}function nh(e,t,l,o){var d=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,o),t.state!==d&&(e=Se(e)||"Component",T2.has(e)||(T2.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),bS.enqueueReplaceState(t,t.state,null))}function pr(e,t){var l=t;if("ref"in t){l={};for(var o in t)o!=="ref"&&(l[o]=t[o])}if(e=e.defaultProps){l===t&&(l=yt({},l));for(var d in e)l[d]===void 0&&(l[d]=e[d])}return l}function iy(e){SS(e),console.warn(`%s
|
|
187
|
-
|
|
188
|
-
%s
|
|
189
|
-
`,Cp?"An error occurred in the <"+Cp+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
190
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function l0(e){var t=Cp?"The above error occurred in the <"+Cp+"> component.":"The above error occurred in one of your React components.",l="React will try to recreate this component tree from scratch using the error boundary you provided, "+((ES||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var o=e.environmentName;e=[`%o
|
|
191
|
-
|
|
192
|
-
%s
|
|
193
|
-
|
|
194
|
-
%s
|
|
195
|
-
`,e,t,l].slice(0),typeof e[0]=="string"?e.splice(0,1,cO+e[0],sO,Sb+o+Sb,fO):e.splice(0,0,cO,sO,Sb+o+Sb,fO),e.unshift(console),o=tk.apply(console.error,e),o()}else console.error(`%o
|
|
196
|
-
|
|
197
|
-
%s
|
|
198
|
-
|
|
199
|
-
%s
|
|
200
|
-
`,e,t,l)}function ah(e){SS(e)}function Ac(e,t){try{Cp=t.source?Se(t.source):null,ES=null;var l=t.value;if(ie.actQueue!==null)ie.thrownErrors.push(l);else{var o=e.onUncaughtError;o(l,{componentStack:t.stack})}}catch(d){setTimeout(function(){throw d})}}function lh(e,t,l){try{Cp=l.source?Se(l.source):null,ES=Se(t);var o=e.onCaughtError;o(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(d){setTimeout(function(){throw d})}}function va(e,t,l){return l=Ti(l),l.tag=sS,l.payload={element:null},l.callback=function(){Be(t.source,Ac,e,t)},l}function An(e){return e=Ti(e),e.tag=sS,e}function ef(e,t,l,o){var d=l.type.getDerivedStateFromError;if(typeof d=="function"){var p=o.value;e.payload=function(){return d(p)},e.callback=function(){Kv(l),Be(o.source,lh,t,l,o)}}var S=l.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(e.callback=function(){Kv(l),Be(o.source,lh,t,l,o),typeof d!="function"&&(rs===null?rs=new Set([this]):rs.add(this)),MN(this,o),typeof d=="function"||(l.lanes&2)===0&&console.error("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Se(l)||"Unknown")})}function tf(e,t,l,o,d){if(l.flags|=32768,_n&&Dc(e,d),o!==null&&typeof o=="object"&&typeof o.then=="function"){if(t=l.alternate,t!==null&&ra(t,l,d,!0),jt&&(jo=!0),l=nu.current,l!==null){switch(l.tag){case 13:return Hr===null?xh():l.alternate===null&&Ln===qo&&(Ln=OS),l.flags&=-257,l.flags|=65536,l.lanes=d,o===cS?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([o]):t.add(o),Cy(e,o,d)),!1;case 22:return l.flags|=65536,o===cS?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([o])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([o]):l.add(o)),Cy(e,o,d)),!1}throw Error("Unexpected Suspense handler tag ("+l.tag+"). This is a bug in React.")}return Cy(e,o,d),xh(),!1}if(jt)return jo=!0,t=nu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=d,o!==iS&&rc(il(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:o}),l))):(o!==iS&&rc(il(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:o}),l)),e=e.current.alternate,e.flags|=65536,d&=-d,e.lanes|=d,o=il(o,l),d=va(e.stateNode,o,d),cc(e,d),Ln!==Kf&&(Ln=kp)),!1;var p=il(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:o}),l);if($g===null?$g=[p]:$g.push(p),Ln!==Kf&&(Ln=kp),t===null)return!0;o=il(o,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=d&-d,l.lanes|=e,e=va(l.stateNode,o,e),cc(l,e),!1;case 1:if(t=l.type,p=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(rs===null||!rs.has(p))))return l.flags|=65536,d&=-d,l.lanes|=d,d=An(d),ef(d,e,l,o),cc(l,d),!1}l=l.return}while(l!==null);return!1}function jn(e,t,l,o){t.child=e===null?S2(t,null,l,o):zp(t,e.child,l,o)}function ih(e,t,l,o,d){l=l.render;var p=t.ref;if("ref"in o){var S={};for(var x in o)x!=="ref"&&(S[x]=o[x])}else S=o;return lr(t),Bt(t),o=cr(e,t,l,S,p,d),x=Va(),Dn(),e!==null&&!Aa?(mu(e,t,d),Di(e,t,d)):(jt&&x&&jd(t),t.flags|=1,jn(e,t,o,d),t.child)}function Ci(e,t,l,o,d){if(e===null){var p=l.type;return typeof p=="function"&&!Nm(p)&&p.defaultProps===void 0&&l.compare===null?(l=Pr(p),t.tag=15,t.type=l,ch(t,p),nf(e,t,l,o,d)):(e=Hd(l.type,null,o,t,t.mode,d),e.ref=t.ref,e.return=t,t.child=e)}if(p=e.child,!mh(e,d)){var S=p.memoizedProps;if(l=l.compare,l=l!==null?l:Ns,l(S,o)&&e.ref===t.ref)return Di(e,t,d)}return t.flags|=1,e=vi(p,o),e.ref=t.ref,e.return=t,t.child=e}function nf(e,t,l,o,d){if(e!==null){var p=e.memoizedProps;if(Ns(p,o)&&e.ref===t.ref&&t.type===e.type)if(Aa=!1,t.pendingProps=o=p,mh(e,d))(e.flags&131072)!==0&&(Aa=!0);else return t.lanes=e.lanes,Di(e,t,d)}return oh(e,t,l,o,d)}function uh(e,t,l){var o=t.pendingProps,d=o.children,p=e!==null?e.memoizedState:null;if(o.mode==="hidden"){if((t.flags&128)!==0){if(o=p!==null?p.baseLanes|l:l,e!==null){for(d=t.child=e.child,p=0;d!==null;)p=p|d.lanes|d.childLanes,d=d.sibling;t.childLanes=p&~o}else t.childLanes=0,t.child=null;return rh(e,t,o,l)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&qd(t,p!==null?p.cachePool:null),p!==null?Ya(t,p):qs(t),hr(t);else return t.lanes=t.childLanes=536870912,rh(e,t,p!==null?p.baseLanes|l:l,l)}else p!==null?(qd(t,p.cachePool),Ya(t,p),li(t),t.memoizedState=null):(e!==null&&qd(t,null),qs(t),li(t));return jn(e,t,d,l),t.child}function rh(e,t,l,o){var d=Xm();return d=d===null?null:{parent:pa._currentValue,pool:d},t.memoizedState={baseLanes:l,cachePool:d},e!==null&&qd(t,null),qs(t),hr(t),e!==null&&ra(e,t,o,!0),null}function af(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==l)&&(t.flags|=4194816)}}function oh(e,t,l,o,d){if(l.prototype&&typeof l.prototype.render=="function"){var p=pe(l)||"Unknown";N2[p]||(console.error("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",p,p),N2[p]=!0)}return t.mode&el&&Hu.recordLegacyContextWarning(t,null),e===null&&(ch(t,t.type),l.contextTypes&&(p=pe(l)||"Unknown",U2[p]||(U2[p]=!0,console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",p)))),lr(t),Bt(t),l=cr(e,t,l,o,void 0,d),o=Va(),Dn(),e!==null&&!Aa?(mu(e,t,d),Di(e,t,d)):(jt&&o&&jd(t),t.flags|=1,jn(e,t,l,d),t.child)}function uy(e,t,l,o,d,p){return lr(t),Bt(t),Lo=-1,Zg=e!==null&&e.type!==t.type,t.updateQueue=null,l=hc(t,o,l,d),Ys(e,t),o=Va(),Dn(),e!==null&&!Aa?(mu(e,t,p),Di(e,t,p)):(jt&&o&&jd(t),t.flags|=1,jn(e,t,l,p),t.child)}function ry(e,t,l,o,d){switch(v(t)){case!1:var p=t.stateNode,S=new t.type(t.memoizedProps,p.context).state;p.updater.enqueueSetState(p,S,null);break;case!0:t.flags|=128,t.flags|=65536,p=Error("Simulated error coming from DevTools");var x=d&-d;if(t.lanes|=x,S=nn,S===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");x=An(x),ef(x,S,t,il(p,t)),cc(t,x)}if(lr(t),t.stateNode===null){if(S=es,p=l.contextType,"contextType"in l&&p!==null&&(p===void 0||p.$$typeof!==Bl)&&!C2.has(l)&&(C2.add(l),x=p===void 0?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":typeof p!="object"?" However, it is set to a "+typeof p+".":p.$$typeof===Ph?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(p).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",pe(l)||"Component",x)),typeof p=="object"&&p!==null&&(S=tn(p)),p=new l(o,S),t.mode&el){Oe(!0);try{p=new l(o,S)}finally{Oe(!1)}}if(S=t.memoizedState=p.state!==null&&p.state!==void 0?p.state:null,p.updater=bS,t.stateNode=p,p._reactInternals=t,p._reactInternalInstance=E2,typeof l.getDerivedStateFromProps=="function"&&S===null&&(S=pe(l)||"Component",A2.has(S)||(A2.add(S),console.error("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",S,p.state===null?"null":"undefined",S))),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"){var N=x=S=null;if(typeof p.componentWillMount=="function"&&p.componentWillMount.__suppressDeprecationWarning!==!0?S="componentWillMount":typeof p.UNSAFE_componentWillMount=="function"&&(S="UNSAFE_componentWillMount"),typeof p.componentWillReceiveProps=="function"&&p.componentWillReceiveProps.__suppressDeprecationWarning!==!0?x="componentWillReceiveProps":typeof p.UNSAFE_componentWillReceiveProps=="function"&&(x="UNSAFE_componentWillReceiveProps"),typeof p.componentWillUpdate=="function"&&p.componentWillUpdate.__suppressDeprecationWarning!==!0?N="componentWillUpdate":typeof p.UNSAFE_componentWillUpdate=="function"&&(N="UNSAFE_componentWillUpdate"),S!==null||x!==null||N!==null){p=pe(l)||"Component";var H=typeof l.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";O2.has(p)||(O2.add(p),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
201
|
-
|
|
202
|
-
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
203
|
-
|
|
204
|
-
The above lifecycles should be removed. Learn more about this warning here:
|
|
205
|
-
https://react.dev/link/unsafe-component-lifecycles`,p,H,S!==null?`
|
|
206
|
-
`+S:"",x!==null?`
|
|
207
|
-
`+x:"",N!==null?`
|
|
208
|
-
`+N:""))}}p=t.stateNode,S=pe(l)||"Component",p.render||(l.prototype&&typeof l.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",S):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",S)),!p.getInitialState||p.getInitialState.isReactClassApproved||p.state||console.error("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",S),p.getDefaultProps&&!p.getDefaultProps.isReactClassApproved&&console.error("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",S),p.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",S),l.childContextTypes&&!_2.has(l)&&(_2.add(l),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",S)),l.contextTypes&&!z2.has(l)&&(z2.add(l),console.error("%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",S)),typeof p.componentShouldUpdate=="function"&&console.error("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",S),l.prototype&&l.prototype.isPureReactComponent&&typeof p.shouldComponentUpdate<"u"&&console.error("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",pe(l)||"A pure component"),typeof p.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",S),typeof p.componentDidReceiveProps=="function"&&console.error("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",S),typeof p.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",S),typeof p.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",S),x=p.props!==o,p.props!==void 0&&x&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",S),p.defaultProps&&console.error("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",S,S),typeof p.getSnapshotBeforeUpdate!="function"||typeof p.componentDidUpdate=="function"||x2.has(l)||(x2.add(l),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",pe(l))),typeof p.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof p.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",S),typeof l.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",S),(x=p.state)&&(typeof x!="object"||lt(x))&&console.error("%s.state: must be set to an object or null",S),typeof p.getChildContext=="function"&&typeof l.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",S),p=t.stateNode,p.props=o,p.state=t.memoizedState,p.refs={},qa(t),S=l.contextType,p.context=typeof S=="object"&&S!==null?tn(S):es,p.state===o&&(S=pe(l)||"Component",R2.has(S)||(R2.add(S),console.error("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",S))),t.mode&el&&Hu.recordLegacyContextWarning(t,p),Hu.recordUnsafeLifecycleWarnings(t,p),p.state=t.memoizedState,S=l.getDerivedStateFromProps,typeof S=="function"&&(vn(t,l,S,o),p.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof p.getSnapshotBeforeUpdate=="function"||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(S=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),S!==p.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Se(t)||"Component"),bS.enqueueReplaceState(p,p.state,null)),sc(t,o,p,d),Ai(),p.state=t.memoizedState),typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),p=!0}else if(e===null){p=t.stateNode;var te=t.memoizedProps;x=pr(l,te),p.props=x;var re=p.context;N=l.contextType,S=es,typeof N=="object"&&N!==null&&(S=tn(N)),H=l.getDerivedStateFromProps,N=typeof H=="function"||typeof p.getSnapshotBeforeUpdate=="function",te=t.pendingProps!==te,N||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(te||re!==S)&&nh(t,p,o,S),ts=!1;var W=t.memoizedState;p.state=W,sc(t,o,p,d),Ai(),re=t.memoizedState,te||W!==re||ts?(typeof H=="function"&&(vn(t,l,H,o),re=t.memoizedState),(x=ts||th(t,l,x,o,W,re,S))?(N||typeof p.UNSAFE_componentWillMount!="function"&&typeof p.componentWillMount!="function"||(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728)):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),t.memoizedProps=o,t.memoizedState=re),p.props=o,p.state=re,p.context=S,p=x):(typeof p.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&Uu)!==sn&&(t.flags|=134217728),p=!1)}else{p=t.stateNode,ur(e,t),S=t.memoizedProps,N=pr(l,S),p.props=N,H=t.pendingProps,W=p.context,re=l.contextType,x=es,typeof re=="object"&&re!==null&&(x=tn(re)),te=l.getDerivedStateFromProps,(re=typeof te=="function"||typeof p.getSnapshotBeforeUpdate=="function")||typeof p.UNSAFE_componentWillReceiveProps!="function"&&typeof p.componentWillReceiveProps!="function"||(S!==H||W!==x)&&nh(t,p,o,x),ts=!1,W=t.memoizedState,p.state=W,sc(t,o,p,d),Ai();var se=t.memoizedState;S!==H||W!==se||ts||e!==null&&e.dependencies!==null&&ar(e.dependencies)?(typeof te=="function"&&(vn(t,l,te,o),se=t.memoizedState),(N=ts||th(t,l,N,o,W,se,x)||e!==null&&e.dependencies!==null&&ar(e.dependencies))?(re||typeof p.UNSAFE_componentWillUpdate!="function"&&typeof p.componentWillUpdate!="function"||(typeof p.componentWillUpdate=="function"&&p.componentWillUpdate(o,se,x),typeof p.UNSAFE_componentWillUpdate=="function"&&p.UNSAFE_componentWillUpdate(o,se,x)),typeof p.componentDidUpdate=="function"&&(t.flags|=4),typeof p.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof p.componentDidUpdate!="function"||S===e.memoizedProps&&W===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&W===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=se),p.props=o,p.state=se,p.context=x,p=N):(typeof p.componentDidUpdate!="function"||S===e.memoizedProps&&W===e.memoizedState||(t.flags|=4),typeof p.getSnapshotBeforeUpdate!="function"||S===e.memoizedProps&&W===e.memoizedState||(t.flags|=1024),p=!1)}if(x=p,af(e,t),S=(t.flags&128)!==0,x||S){if(x=t.stateNode,As(t),S&&typeof l.getDerivedStateFromError!="function")l=null,ql=-1;else{if(Bt(t),l=u2(x),t.mode&el){Oe(!0);try{u2(x)}finally{Oe(!1)}}Dn()}t.flags|=1,e!==null&&S?(t.child=zp(t,e.child,null,d),t.child=zp(t,null,l,d)):jn(e,t,l,d),t.memoizedState=x.state,e=t.child}else e=Di(e,t,d);return d=t.stateNode,p&&d.props!==o&&(Dp||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",Se(t)||"a component"),Dp=!0),e}function oy(e,t,l,o){return eo(),t.flags|=256,jn(e,t,l,o),t.child}function ch(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
209
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=pe(t)||"Unknown",H2[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),H2[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=pe(t)||"Unknown",k2[t]||(console.error("%s: Function components do not support contextType.",t),k2[t]=!0))}function lf(e){return{baseLanes:e,cachePool:e0()}}function sh(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=di),e}function i0(e,t,l){var o,d=t.pendingProps;y(t)&&(t.flags|=128);var p=!1,S=(t.flags&128)!==0;if((o=S)||(o=e!==null&&e.memoizedState===null?!1:(ya.current&Yg)!==0),o&&(p=!0,t.flags&=-129),o=(t.flags&32)!==0,t.flags&=-33,e===null){if(jt){if(p?rl(t):li(t),jt){var x=Bn,N;if(!(N=!x)){e:{var H=x;for(N=kr;H.nodeType!==8;){if(!N){N=null;break e}if(H=fa(H.nextSibling),H===null){N=null;break e}}N=H}N!==null?(Kl(),t.memoizedState={dehydrated:N,treeContext:Vf!==null?{id:Uo,overflow:Ho}:null,retryLane:536870912,hydrationErrors:null},H=z(18,null,null,sn),H.stateNode=N,H.return=t,t.child=H,ml=t,Bn=null,N=!0):N=!1,N=!N}N&&(Hm(t,x),bi(t))}if(x=t.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return Yi(x)?t.lanes=32:t.lanes=536870912,null;ol(t)}return x=d.children,d=d.fallback,p?(li(t),p=t.mode,x=uf({mode:"hidden",children:x},p),d=er(d,p,l,null),x.return=t,d.return=t,x.sibling=d,t.child=x,p=t.child,p.memoizedState=lf(l),p.childLanes=sh(e,o,l),t.memoizedState=AS,d):(rl(t),fh(t,x))}var te=e.memoizedState;if(te!==null&&(x=te.dehydrated,x!==null)){if(S)t.flags&256?(rl(t),t.flags&=-257,t=dh(e,t,l)):t.memoizedState!==null?(li(t),t.child=e.child,t.flags|=128,t=null):(li(t),p=d.fallback,x=t.mode,d=uf({mode:"visible",children:d.children},x),p=er(p,x,l,null),p.flags|=2,d.return=t,p.return=t,d.sibling=p,t.child=d,zp(t,e.child,null,l),d=t.child,d.memoizedState=lf(l),d.childLanes=sh(e,o,l),t.memoizedState=AS,t=p);else if(rl(t),jt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),Yi(x)){if(o=x.nextSibling&&x.nextSibling.dataset,o){N=o.dgst;var re=o.msg;H=o.stck;var W=o.cstck}x=re,o=N,d=H,N=p=W,p=Error(x||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),p.stack=d||"",p.digest=o,o=N===void 0?null:N,d={value:p,source:null,stack:o},typeof o=="string"&&aS.set(p,d),rc(d),t=dh(e,t,l)}else if(Aa||ra(e,t,l,!1),o=(l&e.childLanes)!==0,Aa||o){if(o=nn,o!==null&&(d=l&-l,d=(d&42)!==0?1:xe(d),d=(d&(o.suspendedLanes|l))!==0?0:d,d!==0&&d!==te.retryLane))throw te.retryLane=d,Za(e,d),xn(o,e,d),M2;x.data===Yo||xh(),t=dh(e,t,l)}else x.data===Yo?(t.flags|=192,t.child=e.child,t=null):(e=te.treeContext,Bn=fa(x.nextSibling),ml=t,jt=!0,Gf=null,jo=!1,Fi=null,kr=!1,e!==null&&(Kl(),Ki[Pi++]=Uo,Ki[Pi++]=Ho,Ki[Pi++]=Vf,Uo=e.id,Ho=e.overflow,Vf=t),t=fh(t,d.children),t.flags|=4096);return t}return p?(li(t),p=d.fallback,x=t.mode,N=e.child,H=N.sibling,d=vi(N,{mode:"hidden",children:d.children}),d.subtreeFlags=N.subtreeFlags&65011712,H!==null?p=vi(H,p):(p=er(p,x,l,null),p.flags|=2),p.return=t,d.return=t,d.sibling=p,t.child=d,d=p,p=t.child,x=e.child.memoizedState,x===null?x=lf(l):(N=x.cachePool,N!==null?(H=pa._currentValue,N=N.parent!==H?{parent:H,pool:H}:N):N=e0(),x={baseLanes:x.baseLanes|l,cachePool:N}),p.memoizedState=x,p.childLanes=sh(e,o,l),t.memoizedState=AS,d):(rl(t),l=e.child,e=l.sibling,l=vi(l,{mode:"visible",children:d.children}),l.return=t,l.sibling=null,e!==null&&(o=t.deletions,o===null?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=l,t.memoizedState=null,l)}function fh(e,t){return t=uf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function uf(e,t){return e=z(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Y0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function dh(e,t,l){return zp(t,e.child,null,l),e=fh(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function hh(e,t,l){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),qm(e.return,t,l)}function cy(e,t){var l=lt(e);return e=!l&&typeof Q(e)=="function",l||e?(l=l?"array":"iterable",console.error("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",l,t,l),!1):!0}function ph(e,t,l,o,d){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:l,tailMode:d}:(p.isBackwards=t,p.rendering=null,p.renderingStartTime=0,p.last=o,p.tail=l,p.tailMode=d)}function sy(e,t,l){var o=t.pendingProps,d=o.revealOrder,p=o.tail;if(o=o.children,d!==void 0&&d!=="forwards"&&d!=="backwards"&&d!=="together"&&!j2[d])if(j2[d]=!0,typeof d=="string")switch(d.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',d,d.toLowerCase());break;case"forward":case"backward":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',d,d.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',d)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',d);p===void 0||TS[p]||(p!=="collapsed"&&p!=="hidden"?(TS[p]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',p)):d!=="forwards"&&d!=="backwards"&&(TS[p]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',p)));e:if((d==="forwards"||d==="backwards")&&o!==void 0&&o!==null&&o!==!1)if(lt(o)){for(var S=0;S<o.length;S++)if(!cy(o[S],S))break e}else if(S=Q(o),typeof S=="function"){if(S=S.call(o))for(var x=S.next(),N=0;!x.done;x=S.next()){if(!cy(x.value,N))break e;N++}}else console.error('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',d);if(jn(e,t,o,l),o=ya.current,(o&Yg)!==0)o=o&_p|Yg,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&hh(e,l,t);else if(e.tag===19)hh(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=_p}switch(Ee(ya,o,t),d){case"forwards":for(l=t.child,d=null;l!==null;)e=l.alternate,e!==null&&Su(e)===null&&(d=l),l=l.sibling;l=d,l===null?(d=t.child,t.child=null):(d=l.sibling,l.sibling=null),ph(t,!1,d,l,p);break;case"backwards":for(l=null,d=t.child,t.child=null;d!==null;){if(e=d.alternate,e!==null&&Su(e)===null){t.child=d;break}e=d.sibling,d.sibling=l,l=d,d=e}ph(t,!0,l,null,p);break;case"together":ph(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Di(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),ql=-1,is|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ra(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error("Resuming work not yet implemented.");if(t.child!==null){for(e=t.child,l=vi(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=vi(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function mh(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&ar(e)))}function B1(e,t,l){switch(t.tag){case 3:ke(t,t.stateNode.containerInfo),nr(t,pa,e.memoizedState.cache),eo();break;case 27:case 5:F(t);break;case 4:ke(t,t.stateNode.containerInfo);break;case 10:nr(t,t.type,t.memoizedProps.value);break;case 12:(l&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var o=t.stateNode;o.effectDuration=-0,o.passiveEffectDuration=-0;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(rl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?i0(e,t,l):(rl(t),e=Di(e,t,l),e!==null?e.sibling:null);rl(t);break;case 19:var d=(e.flags&128)!==0;if(o=(l&t.childLanes)!==0,o||(ra(e,t,l,!1),o=(l&t.childLanes)!==0),d){if(o)return sy(e,t,l);t.flags|=128}if(d=t.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ee(ya,ya.current,t),o)break;return null;case 22:case 23:return t.lanes=0,uh(e,t,l);case 24:nr(t,pa,e.memoizedState.cache)}return Di(e,t,l)}function yh(e,t,l){if(t._debugNeedsRemount&&e!==null){l=Hd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),l._debugStack=t._debugStack,l._debugTask=t._debugTask;var o=t.return;if(o===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,l.index=t.index,l.sibling=t.sibling,l.return=t.return,l.ref=t.ref,l._debugInfo=t._debugInfo,t===o.child)o.child=l;else{var d=o.child;if(d===null)throw Error("Expected parent to have a child.");for(;d.sibling!==t;)if(d=d.sibling,d===null)throw Error("Expected to find the previous sibling.");d.sibling=l}return t=o.deletions,t===null?(o.deletions=[e],o.flags|=16):t.push(e),l.flags|=2,l}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Aa=!0;else{if(!mh(e,l)&&(t.flags&128)===0)return Aa=!1,B1(e,t,l);Aa=(e.flags&131072)!==0}else Aa=!1,(o=jt)&&(Kl(),o=(t.flags&1048576)!==0),o&&(o=t.index,Kl(),Pv(t,G0,o));switch(t.lanes=0,t.tag){case 16:e:if(o=t.pendingProps,e=as(t.elementType),t.type=e,typeof e=="function")Nm(e)?(o=pr(e,o),t.tag=1,t.type=e=Pr(e),t=ry(null,t,e,o,l)):(t.tag=0,ch(t,e),t.type=e=Pr(e),t=oh(null,t,e,o,l));else{if(e!=null){if(d=e.$$typeof,d===zu){t.tag=11,t.type=e=Mm(e),t=ih(null,t,e,o,l);break e}else if(d===Cf){t.tag=14,t=Ci(null,t,e,o,l);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===dl&&(t=" Did you wrap a component in React.lazy() more than once?"),e=pe(e)||e,Error("Element type is invalid. Received a promise that resolves to: "+e+". Lazy element type must resolve to a class or function."+t)}return t;case 0:return oh(e,t,t.type,t.pendingProps,l);case 1:return o=t.type,d=pr(o,t.pendingProps),ry(e,t,o,d,l);case 3:e:{if(ke(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");o=t.pendingProps;var p=t.memoizedState;d=p.element,ur(e,t),sc(t,o,null,l);var S=t.memoizedState;if(o=S.cache,nr(t,pa,o),o!==p.cache&&Ym(t,[pa],l,!0),Ai(),o=S.element,p.isDehydrated)if(p={element:o,isDehydrated:!1,cache:S.cache},t.updateQueue.baseState=p,t.memoizedState=p,t.flags&256){t=oy(e,t,o,l);break e}else if(o!==d){d=il(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),rc(d),t=oy(e,t,o,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Bn=fa(e.firstChild),ml=t,jt=!0,Gf=null,jo=!1,Fi=null,kr=!0,e=S2(t,null,o,l),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(eo(),o===d){t=Di(e,t,l);break e}jn(e,t,o,l)}t=t.child}return t;case 26:return af(e,t),e===null?(e=wu(t.type,null,t.pendingProps,null))?t.memoizedState=e:jt||(e=t.type,l=t.pendingProps,o=Qe(Gi.current),o=xt(o).createElement(e),o[Ta]=t,o[Fa]=l,Rn(o,e,l),I(o),t.stateNode=o):t.memoizedState=wu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return F(t),e===null&&jt&&(o=Qe(Gi.current),d=q(),o=t.stateNode=$y(t.type,t.pendingProps,o,d,!1),jo||(d=Kt(o,t.type,t.pendingProps,d),d!==null&&(Pl(t,0).serverProps=d)),ml=t,kr=!0,d=Bn,qi(t.type)?(QS=d,Bn=fa(o.firstChild)):Bn=d),jn(e,t,t.pendingProps.children,l),af(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&jt&&(p=q(),o=wd(t.type,p.ancestorInfo),d=Bn,(S=!d)||(S=Er(d,t.type,t.pendingProps,kr),S!==null?(t.stateNode=S,jo||(p=Kt(S,t.type,t.pendingProps,p),p!==null&&(Pl(t,0).serverProps=p)),ml=t,Bn=fa(S.firstChild),kr=!1,p=!0):p=!1,S=!p),S&&(o&&Hm(t,d),bi(t))),F(t),d=t.type,p=t.pendingProps,S=e!==null?e.memoizedProps:null,o=p.children,Zi(d,p)?o=null:S!==null&&Zi(d,S)&&(t.flags|=32),t.memoizedState!==null&&(d=cr(e,t,_l,null,null,l),av._currentValue=d),af(e,t),jn(e,t,o,l),t.child;case 6:return e===null&&jt&&(e=t.pendingProps,l=q(),o=l.ancestorInfo.current,e=o!=null?_s(e,o.tag,l.ancestorInfo.implicitRootScope):!0,l=Bn,(o=!l)||(o=sa(l,t.pendingProps,kr),o!==null?(t.stateNode=o,ml=t,Bn=null,o=!0):o=!1,o=!o),o&&(e&&Hm(t,l),bi(t))),null;case 13:return i0(e,t,l);case 4:return ke(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=zp(t,null,o,l):jn(e,t,o,l),t.child;case 11:return ih(e,t,t.type,t.pendingProps,l);case 7:return jn(e,t,t.pendingProps,l),t.child;case 8:return jn(e,t,t.pendingProps.children,l),t.child;case 12:return t.flags|=4,t.flags|=2048,o=t.stateNode,o.effectDuration=-0,o.passiveEffectDuration=-0,jn(e,t,t.pendingProps.children,l),t.child;case 10:return o=t.type,d=t.pendingProps,p=d.value,"value"in d||B2||(B2=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),nr(t,o,p),jn(e,t,d.children,l),t.child;case 9:return d=t.type._context,o=t.pendingProps.children,typeof o!="function"&&console.error("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),lr(t),d=tn(d),Bt(t),o=yS(o,d,void 0),Dn(),t.flags|=1,jn(e,t,o,l),t.child;case 14:return Ci(e,t,t.type,t.pendingProps,l);case 15:return nf(e,t,t.type,t.pendingProps,l);case 19:return sy(e,t,l);case 31:return o=t.pendingProps,l=t.mode,o={mode:o.mode,children:o.children},e===null?(e=uf(o,l),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=vi(e.child,o),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return uh(e,t,l);case 24:return lr(t),o=tn(pa),e===null?(d=Xm(),d===null&&(d=nn,p=Ls(),d.pooledCache=p,to(p),p!==null&&(d.pooledCacheLanes|=l),d=p),t.memoizedState={parent:o,cache:d},qa(t),nr(t,pa,d)):((e.lanes&l)!==0&&(ur(e,t),sc(t,null,null,l),Ai()),d=e.memoizedState,p=t.memoizedState,d.parent!==o?(d={parent:o,cache:o},t.memoizedState=d,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=d),nr(t,pa,o)):(o=p.cache,nr(t,pa,o),o!==d.cache&&Ym(t,[pa],l,!0))),jn(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Xa(e){e.flags|=4}function rf(e,t){if(t.type!=="stylesheet"||(t.state.loading&au)!==id)e.flags&=-16777217;else if(e.flags|=16777216,!Ef(t)){if(t=nu.current,t!==null&&((Rt&4194048)===Rt?Hr!==null:(Rt&62914560)!==Rt&&(Rt&536870912)===0||t!==Hr))throw Bg=cS,Jx;e.flags|=8192}}function of(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?xl():536870912,e.lanes|=t,Wf|=t)}function mr(e,t){if(!jt)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var o=null;l!==null;)l.alternate!==null&&(o=l),l=l.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function Qt(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,o=0;if(t)if((e.mode&Na)!==sn){for(var d=e.selfBaseDuration,p=e.child;p!==null;)l|=p.lanes|p.childLanes,o|=p.subtreeFlags&65011712,o|=p.flags&65011712,d+=p.treeBaseDuration,p=p.sibling;e.treeBaseDuration=d}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,o|=d.subtreeFlags&65011712,o|=d.flags&65011712,d.return=e,d=d.sibling;else if((e.mode&Na)!==sn){d=e.actualDuration,p=e.selfBaseDuration;for(var S=e.child;S!==null;)l|=S.lanes|S.childLanes,o|=S.subtreeFlags,o|=S.flags,d+=S.actualDuration,p+=S.treeBaseDuration,S=S.sibling;e.actualDuration=d,e.treeBaseDuration=p}else for(d=e.child;d!==null;)l|=d.lanes|d.childLanes,o|=d.subtreeFlags,o|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=o,e.childLanes=l,t}function u0(e,t,l){var o=t.pendingProps;switch(Bd(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Qt(t),null;case 1:return Qt(t),null;case 3:return l=t.stateNode,o=null,e!==null&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),hu(pa,t),Te(t),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(Wr(t)?(Zm(),Xa(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Lm())),Qt(t),null;case 26:return l=t.memoizedState,e===null?(Xa(t),l!==null?(Qt(t),rf(t,l)):(Qt(t),t.flags&=-16777217)):l?l!==e.memoizedState?(Xa(t),Qt(t),rf(t,l)):(Qt(t),t.flags&=-16777217):(e.memoizedProps!==o&&Xa(t),Qt(t),t.flags&=-16777217),null;case 27:ge(t),l=Qe(Gi.current);var d=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Qt(t),null}e=q(),Wr(t)?jm(t):(e=$y(d,o,l,e,!0),t.stateNode=e,Xa(t))}return Qt(t),null;case 5:if(ge(t),l=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(!o){if(t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return Qt(t),null}if(d=q(),Wr(t))jm(t);else{switch(e=Qe(Gi.current),wd(l,d.ancestorInfo),d=d.context,e=xt(e),d){case Zp:e=e.createElementNS(Wc,l);break;case gb:e=e.createElementNS(qf,l);break;default:switch(l){case"svg":e=e.createElementNS(Wc,l);break;case"math":e=e.createElementNS(qf,l);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof o.is=="string"?e.createElement("select",{is:o.is}):e.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e=typeof o.is=="string"?e.createElement(l,{is:o.is}):e.createElement(l),l.indexOf("-")===-1&&(l!==l.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",l),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Cu.call(aO,l)||(aO[l]=!0,console.error("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",l)))}}e[Ta]=t,e[Fa]=o;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)e.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=e;e:switch(Rn(e,l,o),l){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Xa(t)}}return Qt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==o&&Xa(t);else{if(typeof o!="string"&&t.stateNode===null)throw Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");if(e=Qe(Gi.current),l=q(),Wr(t)){e=t.stateNode,l=t.memoizedProps,d=!jo,o=null;var p=ml;if(p!==null)switch(p.tag){case 3:d&&(d=Yh(e,l,o),d!==null&&(Pl(t,0).serverProps=d));break;case 27:case 5:o=p.memoizedProps,d&&(d=Yh(e,l,o),d!==null&&(Pl(t,0).serverProps=d))}e[Ta]=t,e=!!(e.nodeValue===l||o!==null&&o.suppressHydrationWarning===!0||Ly(e.nodeValue,l)),e||bi(t)}else d=l.ancestorInfo.current,d!=null&&_s(o,d.tag,l.ancestorInfo.implicitRootScope),e=xt(e).createTextNode(o),e[Ta]=t,t.stateNode=e}return Qt(t),null;case 13:if(o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(d=Wr(t),o!==null&&o.dehydrated!==null){if(e===null){if(!d)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");d[Ta]=t,Qt(t),(t.mode&Na)!==sn&&o!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration))}else Zm(),eo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Qt(t),(t.mode&Na)!==sn&&o!==null&&(d=t.child,d!==null&&(t.treeBaseDuration-=d.treeBaseDuration));d=!1}else d=Lm(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=d),d=!0;if(!d)return t.flags&256?(ol(t),t):(ol(t),null)}return ol(t),(t.flags&128)!==0?(t.lanes=l,(t.mode&Na)!==sn&&Ei(t),t):(l=o!==null,e=e!==null&&e.memoizedState!==null,l&&(o=t.child,d=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(d=o.alternate.memoizedState.cachePool.pool),p=null,o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(p=o.memoizedState.cachePool.pool),p!==d&&(o.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),of(t,t.updateQueue),Qt(t),(t.mode&Na)!==sn&&l&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Te(t),e===null&&jy(t.stateNode.containerInfo),Qt(t),null;case 10:return hu(t.type,t),Qt(t),null;case 19:if(be(ya,t),d=t.memoizedState,d===null)return Qt(t),null;if(o=(t.flags&128)!==0,p=d.rendering,p===null)if(o)mr(d,!1);else{if(Ln!==qo||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(p=Su(e),p!==null){for(t.flags|=128,mr(d,!1),e=p.updateQueue,t.updateQueue=e,of(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)km(l,e),l=l.sibling;return Ee(ya,ya.current&_p|Yg,t),t.child}e=e.sibling}d.tail!==null&&Xi()>ib&&(t.flags|=128,o=!0,mr(d,!1),t.lanes=4194304)}else{if(!o)if(e=Su(p),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,of(t,e),mr(d,!0),d.tail===null&&d.tailMode==="hidden"&&!p.alternate&&!jt)return Qt(t),null}else 2*Xi()-d.renderingStartTime>ib&&l!==536870912&&(t.flags|=128,o=!0,mr(d,!1),t.lanes=4194304);d.isBackwards?(p.sibling=t.child,t.child=p):(e=d.last,e!==null?e.sibling=p:t.child=p,d.last=p)}return d.tail!==null?(e=d.tail,d.rendering=e,d.tail=e.sibling,d.renderingStartTime=Xi(),e.sibling=null,l=ya.current,l=o?l&_p|Yg:l&_p,Ee(ya,l,t),e):(Qt(t),null);case 22:case 23:return ol(t),ti(t),o=t.memoizedState!==null,e!==null?e.memoizedState!==null!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?(l&536870912)!==0&&(t.flags&128)===0&&(Qt(t),t.subtreeFlags&6&&(t.flags|=8192)):Qt(t),l=t.updateQueue,l!==null&&of(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),o=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(o=t.memoizedState.cachePool.pool),o!==l&&(t.flags|=2048),e!==null&&be(If,t),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),hu(pa,t),Qt(t),null;case 25:return null;case 30:return null}throw Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function r0(e,t){switch(Bd(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 3:return hu(pa,t),Te(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ge(t),null;case 13:if(ol(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");eo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 19:return be(ya,t),null;case 4:return Te(t),null;case 10:return hu(t.type,t),null;case 22:case 23:return ol(t),ti(t),e!==null&&be(If,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&Na)!==sn&&Ei(t),t):null;case 24:return hu(pa,t),null;case 25:return null;default:return null}}function fy(e,t){switch(Bd(t),t.tag){case 3:hu(pa,t),Te(t);break;case 26:case 27:case 5:ge(t);break;case 4:Te(t);break;case 13:ol(t);break;case 19:be(ya,t);break;case 10:hu(t.type,t);break;case 22:case 23:ol(t),ti(t),e!==null&&be(If,t);break;case 24:hu(pa,t)}}function ii(e){return(e.mode&Na)!==sn}function dy(e,t){ii(e)?(Wl(),so(t,e),Rl()):so(t,e)}function gh(e,t,l){ii(e)?(Wl(),fo(l,e,t),Rl()):fo(l,e,t)}function so(e,t){try{var l=t.updateQueue,o=l!==null?l.lastEffect:null;if(o!==null){var d=o.next;l=d;do{if((l.tag&e)===e&&((e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectMountStarted=="function"&&Ue.markComponentPassiveEffectMountStarted(t):(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectMountStarted=="function"&&Ue.markComponentLayoutEffectMountStarted(t),o=void 0,(e&yl)!==Wi&&(Bp=!0),o=Be(t,NN,l),(e&yl)!==Wi&&(Bp=!1),(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectMountStopped=="function"&&Ue.markComponentPassiveEffectMountStopped():(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectMountStopped=="function"&&Ue.markComponentLayoutEffectMountStopped(),o!==void 0&&typeof o!="function")){var p=void 0;p=(l.tag&ka)!==0?"useLayoutEffect":(l.tag&yl)!==0?"useInsertionEffect":"useEffect";var S=void 0;S=o===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof o.then=="function"?`
|
|
210
|
-
|
|
211
|
-
It looks like you wrote `+p+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
212
|
-
|
|
213
|
-
`+p+`(() => {
|
|
214
|
-
async function fetchData() {
|
|
215
|
-
// You can await here
|
|
216
|
-
const response = await MyAPI.getData(someId);
|
|
217
|
-
// ...
|
|
218
|
-
}
|
|
219
|
-
fetchData();
|
|
220
|
-
}, [someId]); // Or [] if effect doesn't need props or state
|
|
221
|
-
|
|
222
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+o,Be(t,function(x,N){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,N)},p,S)}l=l.next}while(l!==d)}}catch(x){Pe(t,t.return,x)}}function fo(e,t,l){try{var o=t.updateQueue,d=o!==null?o.lastEffect:null;if(d!==null){var p=d.next;o=p;do{if((o.tag&e)===e){var S=o.inst,x=S.destroy;x!==void 0&&(S.destroy=void 0,(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectUnmountStarted=="function"&&Ue.markComponentPassiveEffectUnmountStarted(t):(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectUnmountStarted=="function"&&Ue.markComponentLayoutEffectUnmountStarted(t),(e&yl)!==Wi&&(Bp=!0),d=t,Be(d,kN,d,l,x),(e&yl)!==Wi&&(Bp=!1),(e&ma)!==Wi?Ue!==null&&typeof Ue.markComponentPassiveEffectUnmountStopped=="function"&&Ue.markComponentPassiveEffectUnmountStopped():(e&ka)!==Wi&&Ue!==null&&typeof Ue.markComponentLayoutEffectUnmountStopped=="function"&&Ue.markComponentLayoutEffectUnmountStopped())}o=o.next}while(o!==p)}}catch(N){Pe(t,t.return,N)}}function hy(e,t){ii(e)?(Wl(),so(t,e),Rl()):so(t,e)}function cf(e,t,l){ii(e)?(Wl(),fo(l,e,t),Rl()):fo(l,e,t)}function py(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Dp||(l.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(e)||"instance"),l.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(e)||"instance"));try{Be(e,t0,t,l)}catch(o){Pe(e,e.return,o)}}}function o0(e,t,l){return e.getSnapshotBeforeUpdate(t,l)}function L1(e,t){var l=t.memoizedProps,o=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Dp||(t.props!==e.memoizedProps&&console.error("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(e)||"instance"),t.state!==e.memoizedState&&console.error("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(e)||"instance"));try{var d=pr(e.type,l,e.elementType===e.type),p=Be(e,o0,t,d,o);l=L2,p!==void 0||l.has(e.type)||(l.add(e.type),Be(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Se(e))})),t.__reactInternalSnapshotBeforeUpdate=p}catch(S){Pe(e,e.return,S)}}function vh(e,t,l){l.props=pr(e.type,e.memoizedProps),l.state=e.memoizedState,ii(e)?(Wl(),Be(e,d2,e,t,l),Rl()):Be(e,d2,e,t,l)}function c0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}if(typeof t=="function")if(ii(e))try{Wl(),e.refCleanup=t(l)}finally{Rl()}else e.refCleanup=t(l);else typeof t=="string"?console.error("String refs are no longer supported."):t.hasOwnProperty("current")||console.error("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",Se(e)),t.current=l}}function xc(e,t){try{Be(e,c0,e)}catch(l){Pe(e,t,l)}}function kl(e,t){var l=e.ref,o=e.refCleanup;if(l!==null)if(typeof o=="function")try{if(ii(e))try{Wl(),Be(e,o)}finally{Rl(e)}else Be(e,o)}catch(d){Pe(e,t,d)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{if(ii(e))try{Wl(),Be(e,l,null)}finally{Rl(e)}else Be(e,l,null)}catch(d){Pe(e,t,d)}else l.current=null}function my(e,t,l,o){var d=e.memoizedProps,p=d.id,S=d.onCommit;d=d.onRender,t=t===null?"mount":"update",I0&&(t="nested-update"),typeof d=="function"&&d(p,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,l),typeof S=="function"&&S(e.memoizedProps.id,t,o,l)}function s0(e,t,l,o){var d=e.memoizedProps;e=d.id,d=d.onPostCommit,t=t===null?"mount":"update",I0&&(t="nested-update"),typeof d=="function"&&d(e,t,o,l)}function f0(e){var t=e.type,l=e.memoizedProps,o=e.stateNode;try{Be(e,Ou,o,t,l,e)}catch(d){Pe(e,e.return,d)}}function yy(e,t,l){try{Be(e,wn,e.stateNode,e.type,l,t,e)}catch(o){Pe(e,e.return,o)}}function gy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&qi(e.type)||e.tag===4}function ho(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||gy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&qi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function sf(e,t,l){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=xu));else if(o!==4&&(o===27&&qi(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(sf(e,t,l),e=e.sibling;e!==null;)sf(e,t,l),e=e.sibling}function po(e,t,l){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(o!==4&&(o===27&&qi(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(po(e,t,l),e=e.sibling;e!==null;)po(e,t,l),e=e.sibling}function d0(e){for(var t,l=e.return;l!==null;){if(gy(l)){t=l;break}l=l.return}if(t==null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");switch(t.tag){case 27:t=t.stateNode,l=ho(e),po(e,l,t);break;case 5:l=t.stateNode,t.flags&32&&(Ru(l),t.flags&=-33),t=ho(e),po(e,t,l);break;case 3:case 4:t=t.stateNode.containerInfo,l=ho(e),sf(e,l,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function vy(e){var t=e.stateNode,l=e.memoizedProps;try{Be(e,fl,e.type,l,t,e)}catch(o){Pe(e,e.return,o)}}function bh(e,t){if(e=e.containerInfo,VS=Eb,e=Qv(e),Cm(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var o=l.getSelection&&l.getSelection();if(o&&o.rangeCount!==0){l=o.anchorNode;var d=o.anchorOffset,p=o.focusNode;o=o.focusOffset;try{l.nodeType,p.nodeType}catch{l=null;break e}var S=0,x=-1,N=-1,H=0,te=0,re=e,W=null;t:for(;;){for(var se;re!==l||d!==0&&re.nodeType!==3||(x=S+d),re!==p||o!==0&&re.nodeType!==3||(N=S+o),re.nodeType===3&&(S+=re.nodeValue.length),(se=re.firstChild)!==null;)W=re,re=se;for(;;){if(re===e)break t;if(W===l&&++H===d&&(x=S),W===p&&++te===o&&(N=S),(se=re.nextSibling)!==null)break;re=W,W=re.parentNode}re=se}l=x===-1||N===-1?null:{start:x,end:N}}else l=null}l=l||{start:0,end:0}}else l=null;for(GS={focusedElem:e,selectionRange:l},Eb=!1,xa=t;xa!==null;)if(t=xa,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,xa=e;else for(;xa!==null;){switch(e=t=xa,l=e.alternate,d=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(d&1024)!==0&&l!==null&&L1(e,l);break;case 3:if((d&1024)!==0){if(e=e.stateNode.containerInfo,l=e.nodeType,l===9)Uc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Uc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((d&1024)!==0)throw Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}if(e=t.sibling,e!==null){e.return=t.return,xa=e;break}xa=t.return}}function by(e,t,l){var o=l.flags;switch(l.tag){case 0:case 11:case 15:Mi(e,l),o&4&&dy(l,ka|eu);break;case 1:if(Mi(e,l),o&4)if(e=l.stateNode,t===null)l.type.defaultProps||"ref"in l.memoizedProps||Dp||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(l)||"instance")),ii(l)?(Wl(),Be(l,gS,l,e),Rl()):Be(l,gS,l,e);else{var d=pr(l.type,t.memoizedProps);t=t.memoizedState,l.type.defaultProps||"ref"in l.memoizedProps||Dp||(e.props!==l.memoizedProps&&console.error("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Se(l)||"instance"),e.state!==l.memoizedState&&console.error("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Se(l)||"instance")),ii(l)?(Wl(),Be(l,c2,l,e,d,t,e.__reactInternalSnapshotBeforeUpdate),Rl()):Be(l,c2,l,e,d,t,e.__reactInternalSnapshotBeforeUpdate)}o&64&&py(l),o&512&&xc(l,l.return);break;case 3:if(t=Fl(),Mi(e,l),o&64&&(o=l.updateQueue,o!==null)){if(d=null,l.child!==null)switch(l.child.tag){case 27:case 5:d=l.child.stateNode;break;case 1:d=l.child.stateNode}try{Be(l,t0,o,d)}catch(S){Pe(l,l.return,S)}}e.effectDuration+=ir(t);break;case 27:t===null&&o&4&&vy(l);case 26:case 5:Mi(e,l),t===null&&o&4&&f0(l),o&512&&xc(l,l.return);break;case 12:if(o&4){o=Fl(),Mi(e,l),e=l.stateNode,e.effectDuration+=no(o);try{Be(l,my,l,t,Q0,e.effectDuration)}catch(S){Pe(l,l.return,S)}}else Mi(e,l);break;case 13:Mi(e,l),o&4&&Oc(e,l),o&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=vf.bind(null,l),Hc(e,l))));break;case 22:if(o=l.memoizedState!==null||Zo,!o){t=t!==null&&t.memoizedState!==null||Qn,d=Zo;var p=Qn;Zo=o,(Qn=t)&&!p?Ni(e,l,(l.subtreeFlags&8772)!==0):Mi(e,l),Zo=d,Qn=p}break;case 30:break;default:Mi(e,l)}}function Sy(e){var t=e.alternate;t!==null&&(e.alternate=null,Sy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Nn(t)),e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Eu(e,t,l){for(l=l.child;l!==null;)mo(e,t,l),l=l.sibling}function mo(e,t,l){if(da&&typeof da.onCommitFiberUnmount=="function")try{da.onCommitFiberUnmount(zr,l)}catch(p){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",p))}switch(l.tag){case 26:Qn||kl(l,t),Eu(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Qn||kl(l,t);var o=na,d=Yl;qi(l.type)&&(na=l.stateNode,Yl=!1),Eu(e,t,l),Be(l,Bc,l.stateNode),na=o,Yl=d;break;case 5:Qn||kl(l,t);case 6:if(o=na,d=Yl,na=null,Eu(e,t,l),na=o,Yl=d,na!==null)if(Yl)try{Be(l,Nc,na,l.stateNode)}catch(p){Pe(l,t,p)}else try{Be(l,jl,na,l.stateNode)}catch(p){Pe(l,t,p)}break;case 18:na!==null&&(Yl?(e=na,kc(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),zo(e)):kc(na,l.stateNode));break;case 4:o=na,d=Yl,na=l.stateNode.containerInfo,Yl=!0,Eu(e,t,l),na=o,Yl=d;break;case 0:case 11:case 14:case 15:Qn||fo(yl,l,t),Qn||gh(l,t,ka),Eu(e,t,l);break;case 1:Qn||(kl(l,t),o=l.stateNode,typeof o.componentWillUnmount=="function"&&vh(l,t,o)),Eu(e,t,l);break;case 21:Eu(e,t,l);break;case 22:Qn=(o=Qn)||l.memoizedState!==null,Eu(e,t,l),Qn=o;break;default:Eu(e,t,l)}}function Oc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Be(t,sl,e)}catch(l){Pe(t,t.return,l)}}function Sh(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Z2),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Z2),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function yo(e,t){var l=Sh(e);t.forEach(function(o){var d=br.bind(null,e,o);if(!l.has(o)){if(l.add(o),_n)if(Mp!==null&&Np!==null)Dc(Np,Mp);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");o.then(d,d)}})}function ba(e,t){var l=t.deletions;if(l!==null)for(var o=0;o<l.length;o++){var d=e,p=t,S=l[o],x=p;e:for(;x!==null;){switch(x.tag){case 27:if(qi(x.type)){na=x.stateNode,Yl=!1;break e}break;case 5:na=x.stateNode,Yl=!1;break e;case 3:case 4:na=x.stateNode.containerInfo,Yl=!0;break e}x=x.return}if(na===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");mo(d,p,S),na=null,Yl=!1,d=S,p=d.alternate,p!==null&&(p.return=null),d.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Ey(t,e),t=t.sibling}function Ey(e,t){var l=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ba(t,e),Qa(e),o&4&&(fo(yl|eu,e,e.return),so(yl|eu,e),gh(e,e.return,ka|eu));break;case 1:ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),o&64&&Zo&&(e=e.updateQueue,e!==null&&(o=e.callbacks,o!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?o:l.concat(o))));break;case 26:var d=Bu;if(ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),o&4)if(t=l!==null?l.memoizedState:null,o=e.memoizedState,l===null)if(o===null)if(e.stateNode===null){e:{o=e.type,l=e.memoizedProps,t=d.ownerDocument||d;t:switch(o){case"title":d=t.getElementsByTagName("title")[0],(!d||d[$c]||d[Ta]||d.namespaceURI===Wc||d.hasAttribute("itemprop"))&&(d=t.createElement(o),t.head.insertBefore(d,t.querySelector("head > title"))),Rn(d,o,l),d[Ta]=e,I(d),o=d;break e;case"link":var p=Wy("link","href",t).get(o+(l.href||""));if(p){for(var S=0;S<p.length;S++)if(d=p[S],d.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&d.getAttribute("rel")===(l.rel==null?null:l.rel)&&d.getAttribute("title")===(l.title==null?null:l.title)&&d.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){p.splice(S,1);break t}}d=t.createElement(o),Rn(d,o,l),t.head.appendChild(d);break;case"meta":if(p=Wy("meta","content",t).get(o+(l.content||""))){for(S=0;S<p.length;S++)if(d=p[S],ce(l.content,"content"),d.getAttribute("content")===(l.content==null?null:""+l.content)&&d.getAttribute("name")===(l.name==null?null:l.name)&&d.getAttribute("property")===(l.property==null?null:l.property)&&d.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&d.getAttribute("charset")===(l.charSet==null?null:l.charSet)){p.splice(S,1);break t}}d=t.createElement(o),Rn(d,o,l),t.head.appendChild(d);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+o+'". This is a bug in React.')}d[Ta]=e,I(d),o=d}e.stateNode=o}else eg(d,e.type,e.stateNode);else e.stateNode=Vh(d,o,e.memoizedProps);else t!==o?(t===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):t.count--,o===null?eg(d,e.type,e.stateNode):Vh(d,o,e.memoizedProps)):o===null&&e.stateNode!==null&&yy(e,e.memoizedProps,l.memoizedProps);break;case 27:ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),l!==null&&o&4&&yy(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ba(t,e),Qa(e),o&512&&(Qn||l===null||kl(l,l.return)),e.flags&32){t=e.stateNode;try{Be(e,Ru,t)}catch(te){Pe(e,e.return,te)}}o&4&&e.stateNode!=null&&(t=e.memoizedProps,yy(e,t,l!==null?l.memoizedProps:t)),o&1024&&(xS=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(ba(t,e),Qa(e),o&4){if(e.stateNode===null)throw Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");o=e.memoizedProps,l=l!==null?l.memoizedProps:o,t=e.stateNode;try{Be(e,xo,t,l,o)}catch(te){Pe(e,e.return,te)}}break;case 3:if(d=Fl(),vb=null,p=Bu,Bu=Sf(t.containerInfo),ba(t,e),Bu=p,Qa(e),o&4&&l!==null&&l.memoizedState.isDehydrated)try{Be(e,Jy,t.containerInfo)}catch(te){Pe(e,e.return,te)}xS&&(xS=!1,go(e)),t.effectDuration+=ir(d);break;case 4:o=Bu,Bu=Sf(e.stateNode.containerInfo),ba(t,e),Qa(e),Bu=o;break;case 12:o=Fl(),ba(t,e),Qa(e),e.stateNode.effectDuration+=no(o);break;case 13:ba(t,e),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(CS=Xi()),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,yo(e,o)));break;case 22:d=e.memoizedState!==null;var x=l!==null&&l.memoizedState!==null,N=Zo,H=Qn;if(Zo=N||d,Qn=H||x,ba(t,e),Qn=H,Zo=N,Qa(e),o&8192)e:for(t=e.stateNode,t._visibility=d?t._visibility&~Y0:t._visibility|Y0,d&&(l===null||x||Zo||Qn||Sa(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){x=l=t;try{p=x.stateNode,d?Be(x,$a,p):Be(x,Qy,x.stateNode,x.memoizedProps)}catch(te){Pe(x,x.return,te)}}}else if(t.tag===6){if(l===null){x=t;try{S=x.stateNode,d?Be(x,Xy,S):Be(x,Zh,S,x.memoizedProps)}catch(te){Pe(x,x.return,te)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}o&4&&(o=e.updateQueue,o!==null&&(l=o.retryQueue,l!==null&&(o.retryQueue=null,yo(e,l))));break;case 19:ba(t,e),Qa(e),o&4&&(o=e.updateQueue,o!==null&&(e.updateQueue=null,yo(e,o)));break;case 30:break;case 21:break;default:ba(t,e),Qa(e)}}function Qa(e){var t=e.flags;if(t&2){try{Be(e,d0,e)}catch(l){Pe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function go(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;go(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Mi(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)by(e,t.alternate,t),t=t.sibling}function cl(e){switch(e.tag){case 0:case 11:case 14:case 15:gh(e,e.return,ka),Sa(e);break;case 1:kl(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&vh(e,e.return,t),Sa(e);break;case 27:Be(e,Bc,e.stateNode);case 26:case 5:kl(e,e.return),Sa(e);break;case 22:e.memoizedState===null&&Sa(e);break;case 30:Sa(e);break;default:Sa(e)}}function Sa(e){for(e=e.child;e!==null;)cl(e),e=e.sibling}function Tu(e,t,l,o){var d=l.flags;switch(l.tag){case 0:case 11:case 15:Ni(e,l,o),dy(l,ka);break;case 1:if(Ni(e,l,o),t=l.stateNode,typeof t.componentDidMount=="function"&&Be(l,gS,l,t),t=l.updateQueue,t!==null){e=l.stateNode;try{Be(l,fc,t,e)}catch(p){Pe(l,l.return,p)}}o&&d&64&&py(l),xc(l,l.return);break;case 27:vy(l);case 26:case 5:Ni(e,l,o),o&&t===null&&d&4&&f0(l),xc(l,l.return);break;case 12:if(o&&d&4){d=Fl(),Ni(e,l,o),o=l.stateNode,o.effectDuration+=no(d);try{Be(l,my,l,t,Q0,o.effectDuration)}catch(p){Pe(l,l.return,p)}}else Ni(e,l,o);break;case 13:Ni(e,l,o),o&&d&4&&Oc(e,l);break;case 22:l.memoizedState===null&&Ni(e,l,o),xc(l,l.return);break;case 30:break;default:Ni(e,l,o)}}function Ni(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Tu(e,t.alternate,t,l),t=t.sibling}function ki(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&to(e),l!=null&&Si(l))}function ui(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(to(t),e!=null&&Si(e))}function It(e,t,l,o){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ff(e,t,l,o),t=t.sibling}function ff(e,t,l,o){var d=t.flags;switch(t.tag){case 0:case 11:case 15:It(e,t,l,o),d&2048&&hy(t,ma|eu);break;case 1:It(e,t,l,o);break;case 3:var p=Fl();It(e,t,l,o),d&2048&&(l=null,t.alternate!==null&&(l=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==l&&(to(t),l!=null&&Si(l))),e.passiveEffectDuration+=ir(p);break;case 12:if(d&2048){d=Fl(),It(e,t,l,o),e=t.stateNode,e.passiveEffectDuration+=no(d);try{Be(t,s0,t,t.alternate,Q0,e.passiveEffectDuration)}catch(x){Pe(t,t.return,x)}}else It(e,t,l,o);break;case 13:It(e,t,l,o);break;case 23:break;case 22:p=t.stateNode;var S=t.alternate;t.memoizedState!==null?p._visibility&ko?It(e,t,l,o):Rc(e,t):p._visibility&ko?It(e,t,l,o):(p._visibility|=ko,yr(e,t,l,o,(t.subtreeFlags&10256)!==0)),d&2048&&ki(S,t);break;case 24:It(e,t,l,o),d&2048&&ui(t.alternate,t);break;default:It(e,t,l,o)}}function yr(e,t,l,o,d){for(d=d&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)Eh(e,t,l,o,d),t=t.sibling}function Eh(e,t,l,o,d){var p=t.flags;switch(t.tag){case 0:case 11:case 15:yr(e,t,l,o,d),hy(t,ma);break;case 23:break;case 22:var S=t.stateNode;t.memoizedState!==null?S._visibility&ko?yr(e,t,l,o,d):Rc(e,t):(S._visibility|=ko,yr(e,t,l,o,d)),d&&p&2048&&ki(t.alternate,t);break;case 24:yr(e,t,l,o,d),d&&p&2048&&ui(t.alternate,t);break;default:yr(e,t,l,o,d)}}function Rc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,o=t,d=o.flags;switch(o.tag){case 22:Rc(l,o),d&2048&&ki(o.alternate,o);break;case 24:Rc(l,o),d&2048&&ui(o.alternate,o);break;default:Rc(l,o)}t=t.sibling}}function vo(e){if(e.subtreeFlags&Vg)for(e=e.child;e!==null;)gr(e),e=e.sibling}function gr(e){switch(e.tag){case 26:vo(e),e.flags&Vg&&e.memoizedState!==null&&A0(Bu,e.memoizedState,e.memoizedProps);break;case 5:vo(e);break;case 3:case 4:var t=Bu;Bu=Sf(e.stateNode.containerInfo),vo(e),Bu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Vg,Vg=16777216,vo(e),Vg=t):vo(e));break;default:vo(e)}}function df(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function wc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];xa=o,Ay(o,e)}df(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Ty(e),e=e.sibling}function Ty(e){switch(e.tag){case 0:case 11:case 15:wc(e),e.flags&2048&&cf(e,e.return,ma|eu);break;case 3:var t=Fl();wc(e),e.stateNode.passiveEffectDuration+=ir(t);break;case 12:t=Fl(),wc(e),e.stateNode.passiveEffectDuration+=no(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&ko&&(e.return===null||e.return.tag!==13)?(t._visibility&=~ko,hf(e)):wc(e);break;default:wc(e)}}function hf(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var o=t[l];xa=o,Ay(o,e)}df(e)}for(e=e.child;e!==null;)pf(e),e=e.sibling}function pf(e){switch(e.tag){case 0:case 11:case 15:cf(e,e.return,ma),hf(e);break;case 22:var t=e.stateNode;t._visibility&ko&&(t._visibility&=~ko,hf(e));break;default:hf(e)}}function Ay(e,t){for(;xa!==null;){var l=xa,o=l;switch(o.tag){case 0:case 11:case 15:cf(o,t,ma);break;case 23:case 22:o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(o=o.memoizedState.cachePool.pool,o!=null&&to(o));break;case 24:Si(o.memoizedState.cache)}if(o=l.child,o!==null)o.return=l,xa=o;else e:for(l=e;xa!==null;){o=xa;var d=o.sibling,p=o.return;if(Sy(o),o===l){xa=null;break e}if(d!==null){d.return=p,xa=d;break e}xa=p}}}function xy(){HN.forEach(function(e){return e()})}function Oy(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||ie.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Ia(e){if((Gt&gl)!==si&&Rt!==0)return Rt&-Rt;var t=ie.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=Qf,e!==0?e:ky()):la()}function h0(){di===0&&(di=(Rt&536870912)===0||jt?ut():536870912);var e=nu.current;return e!==null&&(e.flags|=32),di}function xn(e,t,l){if(Bp&&console.error("useInsertionEffect must not schedule updates."),US&&(ub=!0),(e===nn&&(Jt===Pf||Jt===Ff)||e.cancelPendingCommit!==null)&&(So(e,0),Au(e,Rt,di,!1)),Il(e,l),(Gt&gl)!==0&&e===nn){if(Wa)switch(t.tag){case 0:case 11:case 15:e=Ot&&Se(Ot)||"Unknown",K2.has(e)||(K2.add(e),t=Se(t)||"Unknown",console.error("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",t,e,e));break;case 1:$2||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),$2=!0)}}else _n&&Xe(e,t,l),g0(t),e===nn&&((Gt&gl)===si&&(us|=l),Ln===Kf&&Au(e,Rt,di,!1)),Ul(e)}function Gn(e,t,l){if((Gt&(gl|Lu))!==si)throw Error("Should not already be working.");var o=!l&&(t&124)===0&&(t&e.expiredLanes)===0||mi(e,t),d=o?wy(e,t):Oh(e,t,!0),p=o;do{if(d===qo){Hp&&!o&&Au(e,t,0,!1);break}else{if(l=e.current.alternate,p&&!p0(l)){d=Oh(e,t,!1),p=!1;continue}if(d===kp){if(p=t,e.errorRecoveryDisabledLanes&p)var S=0;else S=e.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){t=S;e:{d=e;var x=S;S=$g;var N=d.current.memoizedState.isDehydrated;if(N&&(So(d,x).flags|=256),x=Oh(d,x,!1),x!==kp){if(zS&&!N){d.errorRecoveryDisabledLanes|=p,us|=p,d=Kf;break e}d=vl,vl=S,d!==null&&(vl===null?vl=d:vl.push.apply(vl,d))}d=x}if(p=!1,d!==kp)continue}}if(d===Xg){So(e,0),Au(e,t,0,!0);break}e:{switch(o=e,d){case qo:case Xg:throw Error("Root did not complete. This is a bug in React.");case Kf:if((t&4194048)!==t)break;case ab:Au(o,t,di,!ls);break e;case kp:vl=null;break;case OS:case q2:break;default:throw Error("Unknown root exit status.")}if(ie.actQueue!==null)Ch(o,l,t,vl,Kg,lb,di,us,Wf);else{if((t&62914560)===t&&(p=CS+V2-Xi(),10<p)){if(Au(o,t,di,!ls),Mn(o,0,!0)!==0)break e;o.timeoutHandle=lO(Fn.bind(null,o,l,vl,Kg,lb,t,di,us,Wf,ls,d,ZN,Xx,0),p);break e}Fn(o,l,vl,Kg,lb,t,di,us,Wf,ls,d,BN,Xx,0)}}}break}while(!0);Ul(e)}function Fn(e,t,l,o,d,p,S,x,N,H,te,re,W,se){if(e.timeoutHandle=ld,re=t.subtreeFlags,(re&8192||(re&16785408)===16785408)&&(nv={stylesheets:null,count:0,unsuspend:T0},gr(t),re=x0(),re!==null)){e.cancelPendingCommit=re(Ch.bind(null,e,t,p,l,o,d,S,x,N,te,LN,W,se)),Au(e,p,S,!H);return}Ch(e,t,p,l,o,d,S,x,N)}function p0(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var o=0;o<l.length;o++){var d=l[o],p=d.getSnapshot;d=d.value;try{if(!pl(p(),d))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Au(e,t,l,o){t&=~_S,t&=~us,e.suspendedLanes|=t,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var d=t;0<d;){var p=31-Ea(d),S=1<<p;o[p]=-1,d&=~S}l!==0&&Lr(e,l,t)}function bo(){return(Gt&(gl|Lu))===si?(Eo(0),!1):!0}function Th(){if(Ot!==null){if(Jt===Vl)var e=Ot.return;else e=Ot,Ld(),ni(e),wp=null,qg=0,e=Ot;for(;e!==null;)fy(e.alternate,e),e=e.return;Ot=null}}function So(e,t){var l=e.timeoutHandle;l!==ld&&(e.timeoutHandle=ld,WN(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),Th(),nn=e,Ot=l=vi(e.current,null),Rt=t,Jt=Vl,fi=null,ls=!1,Hp=mi(e,t),zS=!1,Ln=qo,Wf=di=_S=us=is=0,vl=$g=null,lb=!1,(t&8)!==0&&(t|=t&32);var o=e.entangledLanes;if(o!==0)for(e=e.entanglements,o&=t;0<o;){var d=31-Ea(o),p=1<<d;t|=e[d],o&=~p}return jr=t,ks(),t=Vx(),1e3<t-Yx&&(ie.recentlyCreatedOwnerStacks=0,Yx=t),Hu.discardPendingWarnings(),l}function mf(e,t){it=null,ie.H=tb,ie.getCurrentStack=null,Wa=!1,hl=null,t===jg||t===K0?(t=Jm(),Jt=Ig):t===Jx?(t=Jm(),Jt=Y2):Jt=t===M2?wS:t!==null&&typeof t=="object"&&typeof t.then=="function"?Up:Qg,fi=t;var l=Ot;if(l===null)Ln=Xg,Ac(e,il(t,e.current));else switch(l.mode&Na&&pu(l),Dn(),Jt){case Qg:Ue!==null&&typeof Ue.markComponentErrored=="function"&&Ue.markComponentErrored(l,t,Rt);break;case Pf:case Ff:case Ig:case Up:case Jg:Ue!==null&&typeof Ue.markComponentSuspended=="function"&&Ue.markComponentSuspended(l,t,Rt)}}function Ah(){var e=ie.H;return ie.H=tb,e===null?tb:e}function Ry(){var e=ie.A;return ie.A=UN,e}function xh(){Ln=Kf,ls||(Rt&4194048)!==Rt&&nu.current!==null||(Hp=!0),(is&134217727)===0&&(us&134217727)===0||nn===null||Au(nn,Rt,di,!1)}function Oh(e,t,l){var o=Gt;Gt|=gl;var d=Ah(),p=Ry();if(nn!==e||Rt!==t){if(_n){var S=e.memoizedUpdaters;0<S.size&&(Dc(e,Rt),S.clear()),Ke(e,t)}Kg=null,So(e,t)}Oa(t),t=!1,S=Ln;e:do try{if(Jt!==Vl&&Ot!==null){var x=Ot,N=fi;switch(Jt){case wS:Th(),S=ab;break e;case Ig:case Pf:case Ff:case Up:nu.current===null&&(t=!0);var H=Jt;if(Jt=Vl,fi=null,vr(e,x,N,H),l&&Hp){S=qo;break e}break;default:H=Jt,Jt=Vl,fi=null,vr(e,x,N,H)}}Rh(),S=Ln;break}catch(te){mf(e,te)}while(!0);return t&&e.shellSuspendCounter++,Ld(),Gt=o,ie.H=d,ie.A=p,ru(),Ot===null&&(nn=null,Rt=0,ks()),S}function Rh(){for(;Ot!==null;)_y(Ot)}function wy(e,t){var l=Gt;Gt|=gl;var o=Ah(),d=Ry();if(nn!==e||Rt!==t){if(_n){var p=e.memoizedUpdaters;0<p.size&&(Dc(e,Rt),p.clear()),Ke(e,t)}Kg=null,ib=Xi()+G2,So(e,t)}else Hp=mi(e,t);Oa(t);e:do try{if(Jt!==Vl&&Ot!==null)t:switch(t=Ot,p=fi,Jt){case Qg:Jt=Vl,fi=null,vr(e,t,p,Qg);break;case Pf:case Ff:if(Im(p)){Jt=Vl,fi=null,wh(t);break}t=function(){Jt!==Pf&&Jt!==Ff||nn!==e||(Jt=Jg),Ul(e)},p.then(t,t);break e;case Ig:Jt=Jg;break e;case Y2:Jt=RS;break e;case Jg:Im(p)?(Jt=Vl,fi=null,wh(t)):(Jt=Vl,fi=null,vr(e,t,p,Jg));break;case RS:var S=null;switch(Ot.tag){case 26:S=Ot.memoizedState;case 5:case 27:var x=Ot;if(!S||Ef(S)){Jt=Vl,fi=null;var N=x.sibling;if(N!==null)Ot=N;else{var H=x.return;H!==null?(Ot=H,yf(H)):Ot=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Jt=Vl,fi=null,vr(e,t,p,RS);break;case Up:Jt=Vl,fi=null,vr(e,t,p,Up);break;case wS:Th(),Ln=ab;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}ie.actQueue!==null?Rh():zy();break}catch(te){mf(e,te)}while(!0);return Ld(),ie.H=o,ie.A=d,Gt=l,Ot!==null?(Ue!==null&&typeof Ue.markRenderYielded=="function"&&Ue.markRenderYielded(),qo):(ru(),nn=null,Rt=0,ks(),Ln)}function zy(){for(;Ot!==null&&!D0();)_y(Ot)}function _y(e){var t=e.alternate;(e.mode&Na)!==sn?(Zd(e),t=Be(e,yh,t,e,jr),pu(e)):t=Be(e,yh,t,e,jr),e.memoizedProps=e.pendingProps,t===null?yf(e):Ot=t}function wh(e){var t=Be(e,zh,e);e.memoizedProps=e.pendingProps,t===null?yf(e):Ot=t}function zh(e){var t=e.alternate,l=(e.mode&Na)!==sn;switch(l&&Zd(e),e.tag){case 15:case 0:t=uy(t,e,e.pendingProps,e.type,void 0,Rt);break;case 11:t=uy(t,e,e.pendingProps,e.type.render,e.ref,Rt);break;case 5:ni(e);default:fy(t,e),e=Ot=km(e,jr),t=yh(t,e,jr)}return l&&pu(e),t}function vr(e,t,l,o){Ld(),ni(t),wp=null,qg=0;var d=t.return;try{if(tf(e,d,t,l,Rt)){Ln=Xg,Ac(e,il(l,e.current)),Ot=null;return}}catch(p){if(d!==null)throw Ot=d,p;Ln=Xg,Ac(e,il(l,e.current)),Ot=null;return}t.flags&32768?(jt||o===Qg?e=!0:Hp||(Rt&536870912)!==0?e=!1:(ls=e=!0,(o===Pf||o===Ff||o===Ig||o===Up)&&(o=nu.current,o!==null&&o.tag===13&&(o.flags|=16384))),_h(t,e)):yf(t)}function yf(e){var t=e;do{if((t.flags&32768)!==0){_h(t,ls);return}var l=t.alternate;if(e=t.return,Zd(t),l=Be(t,u0,l,t,jr),(t.mode&Na)!==sn&&ao(t),l!==null){Ot=l;return}if(t=t.sibling,t!==null){Ot=t;return}Ot=t=e}while(t!==null);Ln===qo&&(Ln=q2)}function _h(e,t){do{var l=r0(e.alternate,e);if(l!==null){l.flags&=32767,Ot=l;return}if((e.mode&Na)!==sn){ao(e),l=e.actualDuration;for(var o=e.child;o!==null;)l+=o.actualDuration,o=o.sibling;e.actualDuration=l}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){Ot=e;return}Ot=e=l}while(e!==null);Ln=ab,Ot=null}function Ch(e,t,l,o,d,p,S,x,N){e.cancelPendingCommit=null;do zc();while(Ua!==ed);if(Hu.flushLegacyContextWarning(),Hu.flushPendingUnsafeLifecycleWarnings(),(Gt&(gl|Lu))!==si)throw Error("Should not already be working.");if(Ue!==null&&typeof Ue.markCommitStarted=="function"&&Ue.markCommitStarted(l),t===null)Ie();else{if(l===0&&console.error("finishedLanes should not be empty during a commit. This is a bug in React."),t===e.current)throw Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");if(p=t.lanes|t.childLanes,p|=lS,Wo(e,l,p,S,x,N),e===nn&&(Ot=nn=null,Rt=0),jp=t,os=e,cs=l,MS=p,NS=d,J2=o,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ny(Qc,function(){return gf(),null})):(e.callbackNode=null,e.callbackPriority=0),Q0=Tp(),o=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||o){o=ie.T,ie.T=null,d=et.p,et.p=ha,S=Gt,Gt|=Lu;try{bh(e,t,l)}finally{Gt=S,et.p=d,ie.T=o}}Ua=X2,Ui(),Dh(),m0()}}function Ui(){if(Ua===X2){Ua=ed;var e=os,t=jp,l=cs,o=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||o){o=ie.T,ie.T=null;var d=et.p;et.p=ha;var p=Gt;Gt|=Lu;try{Mp=l,Np=e,Ey(t,e),Np=Mp=null,l=GS;var S=Qv(e.containerInfo),x=l.focusedElem,N=l.selectionRange;if(S!==x&&x&&x.ownerDocument&&Xv(x.ownerDocument.documentElement,x)){if(N!==null&&Cm(x)){var H=N.start,te=N.end;if(te===void 0&&(te=H),"selectionStart"in x)x.selectionStart=H,x.selectionEnd=Math.min(te,x.value.length);else{var re=x.ownerDocument||document,W=re&&re.defaultView||window;if(W.getSelection){var se=W.getSelection(),Le=x.textContent.length,tt=Math.min(N.start,Le),an=N.end===void 0?tt:Math.min(N.end,Le);!se.extend&&tt>an&&(S=an,an=tt,tt=S);var Ct=_m(x,tt),B=_m(x,an);if(Ct&&B&&(se.rangeCount!==1||se.anchorNode!==Ct.node||se.anchorOffset!==Ct.offset||se.focusNode!==B.node||se.focusOffset!==B.offset)){var Z=re.createRange();Z.setStart(Ct.node,Ct.offset),se.removeAllRanges(),tt>an?(se.addRange(Z),se.extend(B.node,B.offset)):(Z.setEnd(B.node,B.offset),se.addRange(Z))}}}}for(re=[],se=x;se=se.parentNode;)se.nodeType===1&&re.push({element:se,left:se.scrollLeft,top:se.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<re.length;x++){var V=re[x];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}Eb=!!VS,GS=VS=null}finally{Gt=p,et.p=d,ie.T=o}}e.current=t,Ua=Q2}}function Dh(){if(Ua===Q2){Ua=ed;var e=os,t=jp,l=cs,o=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||o){o=ie.T,ie.T=null;var d=et.p;et.p=ha;var p=Gt;Gt|=Lu;try{Ue!==null&&typeof Ue.markLayoutEffectsStarted=="function"&&Ue.markLayoutEffectsStarted(l),Mp=l,Np=e,by(e,t.alternate,t),Np=Mp=null,Ue!==null&&typeof Ue.markLayoutEffectsStopped=="function"&&Ue.markLayoutEffectsStopped()}finally{Gt=p,et.p=d,ie.T=o}}Ua=I2}}function m0(){if(Ua===qN||Ua===I2){Ua=ed,I1();var e=os,t=jp,l=cs,o=J2,d=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;d?Ua=DS:(Ua=ed,jp=os=null,Hi(e,e.pendingLanes),td=0,Fg=null);var p=e.pendingLanes;if(p===0&&(rs=null),d||Cc(e),d=Dt(l),t=t.stateNode,da&&typeof da.onCommitFiberRoot=="function")try{var S=(t.current.flags&128)===128;switch(d){case ha:var x=ep;break;case ci:x=Nf;break;case Mu:x=Qc;break;case lp:x=kf;break;default:x=Qc}da.onCommitFiberRoot(zr,t,x,S)}catch(re){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",re))}if(_n&&e.memoizedUpdaters.clear(),xy(),o!==null){S=ie.T,x=et.p,et.p=ha,ie.T=null;try{var N=e.onRecoverableError;for(t=0;t<o.length;t++){var H=o[t],te=y0(H.stack);Be(H.source,N,H.value,te)}}finally{ie.T=S,et.p=x}}(cs&3)!==0&&zc(),Ul(e),p=e.pendingLanes,(l&4194090)!==0&&(p&42)!==0?(J0=!0,e===kS?Pg++:(Pg=0,kS=e)):Pg=0,Eo(0),Ie()}}function y0(e){return e={componentStack:e},Object.defineProperty(e,"digest",{get:function(){console.error('You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.')}}),e}function Hi(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Si(t)))}function zc(e){return Ui(),Dh(),m0(),gf()}function gf(){if(Ua!==DS)return!1;var e=os,t=MS;MS=0;var l=Dt(cs),o=Mu>l?Mu:l;l=ie.T;var d=et.p;try{et.p=o,ie.T=null,o=NS,NS=null;var p=os,S=cs;if(Ua=ed,jp=os=null,cs=0,(Gt&(gl|Lu))!==si)throw Error("Cannot flush passive effects while already rendering.");US=!0,ub=!1,Ue!==null&&typeof Ue.markPassiveEffectsStarted=="function"&&Ue.markPassiveEffectsStarted(S);var x=Gt;if(Gt|=Lu,Ty(p.current),ff(p,p.current,S,o),Ue!==null&&typeof Ue.markPassiveEffectsStopped=="function"&&Ue.markPassiveEffectsStopped(),Cc(p),Gt=x,Eo(0,!1),ub?p===Fg?td++:(td=0,Fg=p):td=0,ub=US=!1,da&&typeof da.onPostCommitFiberRoot=="function")try{da.onPostCommitFiberRoot(zr,p)}catch(H){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",H))}var N=p.current.stateNode;return N.effectDuration=0,N.passiveEffectDuration=0,!0}finally{et.p=d,ie.T=l,Hi(e,t)}}function _c(e,t,l){t=il(l,t),t=va(e.stateNode,t,2),e=ei(e,t,2),e!==null&&(Il(e,2),Ul(e))}function Pe(e,t,l){if(Bp=!1,e.tag===3)_c(e,e,l);else{for(;t!==null;){if(t.tag===3){_c(t,e,l);return}if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(rs===null||!rs.has(o))){e=il(l,e),l=An(2),o=ei(t,l,2),o!==null&&(ef(l,o,t,e),Il(o,2),Ul(o));return}}t=t.return}console.error(`Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.
|
|
223
|
-
|
|
224
|
-
Error message:
|
|
225
|
-
|
|
226
|
-
%s`,l)}}function Cy(e,t,l){var o=e.pingCache;if(o===null){o=e.pingCache=new jN;var d=new Set;o.set(t,d)}else d=o.get(t),d===void 0&&(d=new Set,o.set(t,d));d.has(l)||(zS=!0,d.add(l),o=Z1.bind(null,e,t,l),_n&&Dc(e,l),t.then(o,o))}function Z1(e,t,l){var o=e.pingCache;o!==null&&o.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,Oy()&&ie.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
227
|
-
|
|
228
|
-
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
229
|
-
|
|
230
|
-
act(() => {
|
|
231
|
-
/* finish loading suspended data */
|
|
232
|
-
});
|
|
233
|
-
/* assert on the output */
|
|
234
|
-
|
|
235
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`),nn===e&&(Rt&l)===l&&(Ln===Kf||Ln===OS&&(Rt&62914560)===Rt&&Xi()-CS<V2?(Gt&gl)===si&&So(e,0):_S|=l,Wf===Rt&&(Wf=0)),Ul(e)}function Dy(e,t){t===0&&(t=xl()),e=Za(e,t),e!==null&&(Il(e,t),Ul(e))}function vf(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),Dy(e,l)}function br(e,t){var l=0;switch(e.tag){case 13:var o=e.stateNode,d=e.memoizedState;d!==null&&(l=d.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}o!==null&&o.delete(t),Dy(e,l)}function Mh(e,t,l){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var o=e,d=t,p=d.type===qc;p=l||p,d.tag!==22?d.flags&67108864?p&&Be(d,My,o,d,(d.mode&Lx)===sn):Mh(o,d,p):d.memoizedState===null&&(p&&d.flags&8192?Be(d,My,o,d):d.subtreeFlags&67108864&&Be(d,Mh,o,d,p)),t=t.sibling}}function My(e,t){var l=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;Oe(!0);try{cl(t),l&&pf(t),Tu(e,t.alternate,t,!1),l&&Eh(e,t,0,null,!1,0)}finally{Oe(!1)}}function Cc(e){var t=!0;e.current.mode&(el|Uu)||(t=!1),Mh(e,e.current,t)}function ri(e){if((Gt&gl)===si){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=Se(e)||"ReactComponent",rb!==null){if(rb.has(t))return;rb.add(t)}else rb=new Set([t]);Be(e,function(){console.error("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")})}}}function Dc(e,t){_n&&e.memoizedUpdaters.forEach(function(l){Xe(e,l,t)})}function Ny(e,t){var l=ie.actQueue;return l!==null?(l.push(t),GN):Wh(e,t)}function g0(e){Oy()&&ie.actQueue===null&&Be(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
236
|
-
|
|
237
|
-
When testing, code that causes React state updates should be wrapped into act(...):
|
|
238
|
-
|
|
239
|
-
act(() => {
|
|
240
|
-
/* fire events that update state */
|
|
241
|
-
});
|
|
242
|
-
/* assert on the output */
|
|
243
|
-
|
|
244
|
-
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,Se(e))})}function Ul(e){e!==Lp&&e.next===null&&(Lp===null?ob=Lp=e:Lp=Lp.next=e),cb=!0,ie.actQueue!==null?jS||(jS=!0,Xn()):HS||(HS=!0,Xn())}function Eo(e,t){if(!BS&&cb){BS=!0;do for(var l=!1,o=ob;o!==null;){if(e!==0){var d=o.pendingLanes;if(d===0)var p=0;else{var S=o.suspendedLanes,x=o.pingedLanes;p=(1<<31-Ea(42|e)+1)-1,p&=d&~(S&~x),p=p&201326741?p&201326741|1:p?p|2:0}p!==0&&(l=!0,Uh(o,p))}else p=Rt,p=Mn(o,o===nn?p:0,o.cancelPendingCommit!==null||o.timeoutHandle!==ld),(p&3)===0||mi(o,p)||(l=!0,Uh(o,p));o=o.next}while(l);BS=!1}}function Nh(){kh()}function kh(){cb=jS=HS=!1;var e=0;nd!==0&&(Mc()&&(e=nd),nd=0);for(var t=Xi(),l=null,o=ob;o!==null;){var d=o.next,p=ji(o,t);p===0?(o.next=null,l===null?ob=d:l.next=d,d===null&&(Lp=l)):(l=o,(e!==0||(p&3)!==0)&&(cb=!0)),o=d}Eo(e)}function ji(e,t){for(var l=e.suspendedLanes,o=e.pingedLanes,d=e.expirationTimes,p=e.pendingLanes&-62914561;0<p;){var S=31-Ea(p),x=1<<S,N=d[S];N===-1?((x&l)===0||(x&o)!==0)&&(d[S]=Br(x,t)):N<=t&&(e.expiredLanes|=x),p&=~x}if(t=nn,l=Rt,l=Mn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ld),o=e.callbackNode,l===0||e===t&&(Jt===Pf||Jt===Ff)||e.cancelPendingCommit!==null)return o!==null&&Hh(o),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||mi(e,l)){if(t=l&-l,t!==e.callbackPriority||ie.actQueue!==null&&o!==LS)Hh(o);else return t;switch(Dt(l)){case ha:case ci:l=Nf;break;case Mu:l=Qc;break;case lp:l=kf;break;default:l=Qc}return o=On.bind(null,e),ie.actQueue!==null?(ie.actQueue.push(o),l=LS):l=Wh(l,o),e.callbackPriority=t,e.callbackNode=l,t}return o!==null&&Hh(o),e.callbackPriority=2,e.callbackNode=null,2}function On(e,t){if(J0=I0=!1,Ua!==ed&&Ua!==DS)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(zc()&&e.callbackNode!==l)return null;var o=Rt;return o=Mn(e,e===nn?o:0,e.cancelPendingCommit!==null||e.timeoutHandle!==ld),o===0?null:(Gn(e,o,t),ji(e,Xi()),e.callbackNode!=null&&e.callbackNode===l?On.bind(null,e):null)}function Uh(e,t){if(zc())return null;I0=J0,J0=!1,Gn(e,t,!0)}function Hh(e){e!==LS&&e!==null&&Q1(e)}function Xn(){ie.actQueue!==null&&ie.actQueue.push(function(){return kh(),null}),ek(function(){(Gt&(gl|Lu))!==si?Wh(ep,Nh):kh()})}function ky(){return nd===0&&(nd=ut()),nd}function Uy(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(ce(e,"action"),ic(""+e))}function Hy(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function on(e,t,l,o,d){if(t==="submit"&&l&&l.stateNode===d){var p=Uy((d[Fa]||null).action),S=o.submitter;S&&(t=(t=S[Fa]||null)?Uy(t.formAction):S.getAttribute("formAction"),t!==null&&(p=t,S=null));var x=new $e("action","action",null,o,d);e.push({event:x,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(nd!==0){var N=S?Hy(d,S):new FormData(d),H={pending:!0,data:N,method:d.method,action:p};Object.freeze(H),ro(l,H,null,N)}}else typeof p=="function"&&(x.preventDefault(),N=S?Hy(d,S):new FormData(d),H={pending:!0,data:N,method:d.method,action:p},Object.freeze(H),ro(l,H,p,N))},currentTarget:d}]})}}function oa(e,t,l){e.currentTarget=l;try{t(e)}catch(o){SS(o)}e.currentTarget=null}function Bi(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var o=e[l];e:{var d=void 0,p=o.event;if(o=o.listeners,t)for(var S=o.length-1;0<=S;S--){var x=o[S],N=x.instance,H=x.currentTarget;if(x=x.listener,N!==d&&p.isPropagationStopped())break e;N!==null?Be(N,oa,p,x,H):oa(p,x,H),d=N}else for(S=0;S<o.length;S++){if(x=o[S],N=x.instance,H=x.currentTarget,x=x.listener,N!==d&&p.isPropagationStopped())break e;N!==null?Be(N,oa,p,x,H):oa(p,x,H),d=N}}}}function Tt(e,t){ZS.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var l=t[cg];l===void 0&&(l=t[cg]=new Set);var o=e+"__bubble";l.has(o)||(Bh(t,e,2,!1),l.add(o))}function jh(e,t,l){ZS.has(e)&&!t&&console.error('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var o=0;t&&(o|=4),Bh(l,e,o,t)}function jy(e){if(!e[sb]){e[sb]=!0,N0.forEach(function(l){l!=="selectionchange"&&(ZS.has(l)||jh(l,!1,e),jh(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[sb]||(t[sb]=!0,jh("selectionchange",!1,t))}}function Bh(e,t,l,o){switch($h(t)){case ha:var d=V1;break;case ci:d=Jh;break;default:d=Ar}l=d.bind(null,t,l,e),d=void 0,!P||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(d=!0),o?d!==void 0?e.addEventListener(t,l,{capture:!0,passive:d}):e.addEventListener(t,l,!0):d!==void 0?e.addEventListener(t,l,{passive:d}):e.addEventListener(t,l,!1)}function _a(e,t,l,o,d){var p=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var S=o.tag;if(S===3||S===4){var x=o.stateNode.containerInfo;if(x===d)break;if(S===4)for(S=o.return;S!==null;){var N=S.tag;if((N===3||N===4)&&S.stateNode.containerInfo===d)return;S=S.return}for(;x!==null;){if(S=Un(x),S===null)return;if(N=S.tag,N===5||N===6||N===26||N===27){o=p=S;continue e}x=x.parentNode}}o=o.return}_d(function(){var H=p,te=Ir(l),re=[];e:{var W=Bx.get(e);if(W!==void 0){var se=$e,Le=e;switch(e){case"keypress":if(uc(l)===0)break e;case"keydown":case"keyup":se=rN;break;case"focusin":Le="focus",se=Mt;break;case"focusout":Le="blur",se=Mt;break;case"beforeblur":case"afterblur":se=Mt;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":se=St;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":se=Fe;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":se=sN;break;case kx:case Ux:case Hx:se=P1;break;case jx:se=dN;break;case"scroll":case"scrollend":se=J;break;case"wheel":se=pN;break;case"copy":case"cut":case"paste":se=eN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":se=Rx;break;case"toggle":case"beforetoggle":se=yN}var tt=(t&4)!==0,an=!tt&&(e==="scroll"||e==="scrollend"),Ct=tt?W!==null?W+"Capture":null:W;tt=[];for(var B=H,Z;B!==null;){var V=B;if(Z=V.stateNode,V=V.tag,V!==5&&V!==26&&V!==27||Z===null||Ct===null||(V=su(B,Ct),V!=null&&tt.push(Ca(B,V,Z))),an)break;B=B.return}0<tt.length&&(W=new se(W,Le,null,l,te),re.push({event:W,listeners:tt}))}}if((t&7)===0){e:{if(W=e==="mouseover"||e==="pointerover",se=e==="mouseout"||e==="pointerout",W&&l!==m&&(Le=l.relatedTarget||l.fromElement)&&(Un(Le)||Le[Cr]))break e;if((se||W)&&(W=te.window===te?te:(W=te.ownerDocument)?W.defaultView||W.parentWindow:window,se?(Le=l.relatedTarget||l.toElement,se=H,Le=Le?Un(Le):null,Le!==null&&(an=k(Le),tt=Le.tag,Le!==an||tt!==5&&tt!==27&&tt!==6)&&(Le=null)):(se=null,Le=H),se!==Le)){if(tt=St,V="onMouseLeave",Ct="onMouseEnter",B="mouse",(e==="pointerout"||e==="pointerover")&&(tt=Rx,V="onPointerLeave",Ct="onPointerEnter",B="pointer"),an=se==null?W:en(se),Z=Le==null?W:en(Le),W=new tt(V,B+"leave",se,l,te),W.target=an,W.relatedTarget=Z,V=null,Un(te)===H&&(tt=new tt(Ct,B+"enter",Le,l,te),tt.target=Z,tt.relatedTarget=an,V=tt),an=V,se&&Le)t:{for(tt=se,Ct=Le,B=0,Z=tt;Z;Z=Wn(Z))B++;for(Z=0,V=Ct;V;V=Wn(V))Z++;for(;0<B-Z;)tt=Wn(tt),B--;for(;0<Z-B;)Ct=Wn(Ct),Z--;for(;B--;){if(tt===Ct||Ct!==null&&tt===Ct.alternate)break t;tt=Wn(tt),Ct=Wn(Ct)}tt=null}else tt=null;se!==null&&By(re,W,se,tt,!1),Le!==null&&an!==null&&By(re,an,Le,tt,!0)}}e:{if(W=H?en(H):window,se=W.nodeName&&W.nodeName.toLowerCase(),se==="select"||se==="input"&&W.type==="file")var fe=wm;else if(qv(W))if(Mx)fe=H1;else{fe=zm;var Ce=k1}else se=W.nodeName,!se||se.toLowerCase()!=="input"||W.type!=="checkbox"&&W.type!=="radio"?H&&Qr(H.elementType)&&(fe=wm):fe=U1;if(fe&&(fe=fe(e,H))){Nd(re,fe,l,te);break e}Ce&&Ce(e,W,H),e==="focusout"&&H&&W.type==="number"&&H.memoizedProps.value!=null&&Ad(W,"number",W.value)}switch(Ce=H?en(H):window,e){case"focusin":(qv(Ce)||Ce.contentEditable==="true")&&(pp=Ce,W1=H,_g=null);break;case"focusout":_g=W1=pp=null;break;case"mousedown":eS=!0;break;case"contextmenu":case"mouseup":case"dragend":eS=!1,Iv(re,l,te);break;case"selectionchange":if(SN)break;case"keydown":case"keyup":Iv(re,l,te)}var ft;if(F1)e:{switch(e){case"compositionstart":var Ze="onCompositionStart";break e;case"compositionend":Ze="onCompositionEnd";break e;case"compositionupdate":Ze="onCompositionUpdate";break e}Ze=void 0}else hp?za(e,l)&&(Ze="onCompositionEnd"):e==="keydown"&&l.keyCode===wx&&(Ze="onCompositionStart");Ze&&(zx&&l.locale!=="ko"&&(hp||Ze!=="onCompositionStart"?Ze==="onCompositionEnd"&&hp&&(ft=fu()):(ve=te,ee="value"in ve?ve.value:ve.textContent,hp=!0)),Ce=bf(H,Ze),0<Ce.length&&(Ze=new Ox(Ze,e,null,l,te),re.push({event:Ze,listeners:Ce}),ft?Ze.data=ft:(ft=Wu(l),ft!==null&&(Ze.data=ft)))),(ft=vN?Md(e,l):Ds(e,l))&&(Ze=bf(H,"onBeforeInput"),0<Ze.length&&(Ce=new nN("onBeforeInput","beforeinput",null,l,te),re.push({event:Ce,listeners:Ze}),Ce.data=ft)),on(re,e,H,l,te)}Bi(re,t)})}function Ca(e,t,l){return{instance:e,listener:t,currentTarget:l}}function bf(e,t){for(var l=t+"Capture",o=[];e!==null;){var d=e,p=d.stateNode;if(d=d.tag,d!==5&&d!==26&&d!==27||p===null||(d=su(e,l),d!=null&&o.unshift(Ca(e,d,p)),d=su(e,t),d!=null&&o.push(Ca(e,d,p))),e.tag===3)return o;e=e.return}return[]}function Wn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function By(e,t,l,o,d){for(var p=t._reactName,S=[];l!==null&&l!==o;){var x=l,N=x.alternate,H=x.stateNode;if(x=x.tag,N!==null&&N===o)break;x!==5&&x!==26&&x!==27||H===null||(N=H,d?(H=su(l,p),H!=null&&S.unshift(Ca(l,H,N))):d||(H=su(l,p),H!=null&&S.push(Ca(l,H,N)))),l=l.return}S.length!==0&&e.push({event:t,listeners:S})}function Li(e,t){lc(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||Og||(Og=!0,e==="select"&&t.multiple?console.error("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):console.error("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e));var l={registrationNameDependencies:Zl,possibleRegistrationNames:Co};Qr(e)||typeof t.is=="string"||xm(e,t,l),t.contentEditable&&!t.suppressContentEditableWarning&&t.children!=null&&console.error("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.")}function cn(e,t,l,o){t!==l&&(l=ca(l),ca(t)!==l&&(o[e]=t))}function Sr(e,t,l){t.forEach(function(o){l[Zy(o)]=o==="style"?Ao(e):e.getAttribute(o)})}function Hl(e,t){t===!1?console.error("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):console.error("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)}function Lh(e,t){return e=e.namespaceURI===qf||e.namespaceURI===Wc?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function ca(e){return A(e)&&(console.error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",Ne(e)),K(e)),(typeof e=="string"?e:""+e).replace(XN,`
|
|
245
|
-
`).replace(QN,"")}function Ly(e,t){return t=ca(t),ca(e)===t}function xu(){}function Ut(e,t,l,o,d,p){switch(l){case"children":typeof o=="string"?(_s(o,t,!1),t==="body"||t==="textarea"&&o===""||Xr(e,o)):(typeof o=="number"||typeof o=="bigint")&&(_s(""+o,t,!1),t!=="body"&&Xr(e,""+o));break;case"className":rt(e,"class",o);break;case"tabIndex":rt(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":rt(e,l,o);break;case"style":Cs(e,o,p);break;case"data":if(t!=="object"){rt(e,"data",o);break}case"src":case"href":if(o===""&&(t!=="a"||l!=="href")){console.error(l==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',l,l),e.removeAttribute(l);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(l);break}ce(o,l),o=ic(""+o),e.setAttribute(l,o);break;case"action":case"formAction":if(o!=null&&(t==="form"?l==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof o=="function"&&(d.encType==null&&d.method==null||hb||(hb=!0,console.error("Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.")),d.target==null||db||(db=!0,console.error("Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."))):t==="input"||t==="button"?l==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||d.type==="submit"||d.type==="image"||fb?t!=="button"||d.type==null||d.type==="submit"||fb?typeof o=="function"&&(d.name==null||W2||(W2=!0,console.error('Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.')),d.formEncType==null&&d.formMethod==null||hb||(hb=!0,console.error("Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden.")),d.formTarget==null||db||(db=!0,console.error("Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."))):(fb=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(fb=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(l==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof o=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof p=="function"&&(l==="formAction"?(t!=="input"&&Ut(e,t,"name",d.name,d,null),Ut(e,t,"formEncType",d.formEncType,d,null),Ut(e,t,"formMethod",d.formMethod,d,null),Ut(e,t,"formTarget",d.formTarget,d,null)):(Ut(e,t,"encType",d.encType,d,null),Ut(e,t,"method",d.method,d,null),Ut(e,t,"target",d.target,d,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){e.removeAttribute(l);break}ce(o,l),o=ic(""+o),e.setAttribute(l,o);break;case"onClick":o!=null&&(typeof o!="function"&&Hl(l,o),e.onclick=xu);break;case"onScroll":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scrollend",e));break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=o.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"multiple":e.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":e.muted=o&&typeof o!="function"&&typeof o!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(o==null||typeof o=="function"||typeof o=="boolean"||typeof o=="symbol"){e.removeAttribute("xlink:href");break}ce(o,l),l=ic(""+o),e.setAttributeNS(ad,"xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":o!=null&&typeof o!="function"&&typeof o!="symbol"?(ce(o,l),e.setAttribute(l,""+o)):e.removeAttribute(l);break;case"inert":o!==""||pb[l]||(pb[l]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",l));case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&typeof o!="function"&&typeof o!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":o===!0?e.setAttribute(l,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?(ce(o,l),e.setAttribute(l,o)):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?(ce(o,l),e.setAttribute(l,o)):e.removeAttribute(l);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?e.removeAttribute(l):(ce(o,l),e.setAttribute(l,o));break;case"popover":Tt("beforetoggle",e),Tt("toggle",e),zt(e,"popover",o);break;case"xlinkActuate":Hn(e,ad,"xlink:actuate",o);break;case"xlinkArcrole":Hn(e,ad,"xlink:arcrole",o);break;case"xlinkRole":Hn(e,ad,"xlink:role",o);break;case"xlinkShow":Hn(e,ad,"xlink:show",o);break;case"xlinkTitle":Hn(e,ad,"xlink:title",o);break;case"xlinkType":Hn(e,ad,"xlink:type",o);break;case"xmlBase":Hn(e,qS,"xml:base",o);break;case"xmlLang":Hn(e,qS,"xml:lang",o);break;case"xmlSpace":Hn(e,qS,"xml:space",o);break;case"is":p!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),zt(e,"is",o);break;case"innerText":case"textContent":break;case"popoverTarget":eO||o==null||typeof o!="object"||(eO=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",o));default:!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"?(l=zd(l),zt(e,l,o)):Zl.hasOwnProperty(l)&&o!=null&&typeof o!="function"&&Hl(l,o)}}function To(e,t,l,o,d,p){switch(l){case"style":Cs(e,o,p);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(l=o.__html,l!=null){if(d.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=l}}break;case"children":typeof o=="string"?Xr(e,o):(typeof o=="number"||typeof o=="bigint")&&Xr(e,""+o);break;case"onScroll":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scroll",e));break;case"onScrollEnd":o!=null&&(typeof o!="function"&&Hl(l,o),Tt("scrollend",e));break;case"onClick":o!=null&&(typeof o!="function"&&Hl(l,o),e.onclick=xu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(Zl.hasOwnProperty(l))o!=null&&typeof o!="function"&&Hl(l,o);else e:{if(l[0]==="o"&&l[1]==="n"&&(d=l.endsWith("Capture"),t=l.slice(2,d?l.length-7:void 0),p=e[Fa]||null,p=p!=null?p[l]:null,typeof p=="function"&&e.removeEventListener(t,p,d),typeof o=="function")){typeof p!="function"&&p!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,o,d);break e}l in e?e[l]=o:o===!0?e.setAttribute(l,""):zt(e,l,o)}}}function Rn(e,t,l){switch(Li(t,l),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Tt("error",e),Tt("load",e);var o=!1,d=!1,p;for(p in l)if(l.hasOwnProperty(p)){var S=l[p];if(S!=null)switch(p){case"src":o=!0;break;case"srcSet":d=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,p,S,l,null)}}d&&Ut(e,t,"srcSet",l.srcSet,l,null),o&&Ut(e,t,"src",l.src,l,null);return;case"input":qe("input",l),Tt("invalid",e);var x=p=S=d=null,N=null,H=null;for(o in l)if(l.hasOwnProperty(o)){var te=l[o];if(te!=null)switch(o){case"name":d=te;break;case"type":S=te;break;case"checked":N=te;break;case"defaultChecked":H=te;break;case"value":p=te;break;case"defaultValue":x=te;break;case"children":case"dangerouslySetInnerHTML":if(te!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,o,te,l,null)}}$u(e,l),Hv(e,p,x,N,H,S,d,!1),ou(e);return;case"select":qe("select",l),Tt("invalid",e),o=S=p=null;for(d in l)if(l.hasOwnProperty(d)&&(x=l[d],x!=null))switch(d){case"value":p=x;break;case"defaultValue":S=x;break;case"multiple":o=x;default:Ut(e,t,d,x,l,null)}Rs(e,l),t=p,l=S,e.multiple=!!o,t!=null?cu(e,!!o,t,!1):l!=null&&cu(e,!!o,l,!0);return;case"textarea":qe("textarea",l),Tt("invalid",e),p=d=o=null;for(S in l)if(l.hasOwnProperty(S)&&(x=l[S],x!=null))switch(S){case"value":o=x;break;case"defaultValue":d=x;break;case"children":p=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,S,x,l,null)}yi(e,l),bm(e,o,d,p),ou(e);return;case"option":vm(e,l);for(N in l)if(l.hasOwnProperty(N)&&(o=l[N],o!=null))switch(N){case"selected":e.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:Ut(e,t,N,o,l,null)}return;case"dialog":Tt("beforetoggle",e),Tt("toggle",e),Tt("cancel",e),Tt("close",e);break;case"iframe":case"object":Tt("load",e);break;case"video":case"audio":for(o=0;o<Wg.length;o++)Tt(Wg[o],e);break;case"image":Tt("error",e),Tt("load",e);break;case"details":Tt("toggle",e);break;case"embed":case"source":case"link":Tt("error",e),Tt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(H in l)if(l.hasOwnProperty(H)&&(o=l[H],o!=null))switch(H){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,H,o,l,null)}return;default:if(Qr(t)){for(te in l)l.hasOwnProperty(te)&&(o=l[te],o!==void 0&&To(e,t,te,o,l,void 0));return}}for(x in l)l.hasOwnProperty(x)&&(o=l[x],o!=null&&Ut(e,t,x,o,l,null))}function v0(e,t,l,o){switch(Li(t,o),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var d=null,p=null,S=null,x=null,N=null,H=null,te=null;for(se in l){var re=l[se];if(l.hasOwnProperty(se)&&re!=null)switch(se){case"checked":break;case"value":break;case"defaultValue":N=re;default:o.hasOwnProperty(se)||Ut(e,t,se,null,o,re)}}for(var W in o){var se=o[W];if(re=l[W],o.hasOwnProperty(W)&&(se!=null||re!=null))switch(W){case"type":p=se;break;case"name":d=se;break;case"checked":H=se;break;case"defaultChecked":te=se;break;case"value":S=se;break;case"defaultValue":x=se;break;case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:se!==re&&Ut(e,t,W,se,o,re)}}t=l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null,o=o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null,t||!o||F2||(console.error("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),F2=!0),!t||o||P2||(console.error("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"),P2=!0),Ku(e,S,x,N,H,te,p,d);return;case"select":se=S=x=W=null;for(p in l)if(N=l[p],l.hasOwnProperty(p)&&N!=null)switch(p){case"value":break;case"multiple":se=N;default:o.hasOwnProperty(p)||Ut(e,t,p,null,o,N)}for(d in o)if(p=o[d],N=l[d],o.hasOwnProperty(d)&&(p!=null||N!=null))switch(d){case"value":W=p;break;case"defaultValue":x=p;break;case"multiple":S=p;default:p!==N&&Ut(e,t,d,p,o,N)}o=x,t=S,l=se,W!=null?cu(e,!!t,W,!1):!!l!=!!t&&(o!=null?cu(e,!!t,o,!0):cu(e,!!t,t?[]:"",!1));return;case"textarea":se=W=null;for(x in l)if(d=l[x],l.hasOwnProperty(x)&&d!=null&&!o.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Ut(e,t,x,null,o,d)}for(S in o)if(d=o[S],p=l[S],o.hasOwnProperty(S)&&(d!=null||p!=null))switch(S){case"value":W=d;break;case"defaultValue":se=d;break;case"children":break;case"dangerouslySetInnerHTML":if(d!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:d!==p&&Ut(e,t,S,d,o,p)}xd(e,W,se);return;case"option":for(var Le in l)if(W=l[Le],l.hasOwnProperty(Le)&&W!=null&&!o.hasOwnProperty(Le))switch(Le){case"selected":e.selected=!1;break;default:Ut(e,t,Le,null,o,W)}for(N in o)if(W=o[N],se=l[N],o.hasOwnProperty(N)&&W!==se&&(W!=null||se!=null))switch(N){case"selected":e.selected=W&&typeof W!="function"&&typeof W!="symbol";break;default:Ut(e,t,N,W,o,se)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var tt in l)W=l[tt],l.hasOwnProperty(tt)&&W!=null&&!o.hasOwnProperty(tt)&&Ut(e,t,tt,null,o,W);for(H in o)if(W=o[H],se=l[H],o.hasOwnProperty(H)&&W!==se&&(W!=null||se!=null))switch(H){case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,H,W,o,se)}return;default:if(Qr(t)){for(var an in l)W=l[an],l.hasOwnProperty(an)&&W!==void 0&&!o.hasOwnProperty(an)&&To(e,t,an,void 0,o,W);for(te in o)W=o[te],se=l[te],!o.hasOwnProperty(te)||W===se||W===void 0&&se===void 0||To(e,t,te,W,o,se);return}}for(var Ct in l)W=l[Ct],l.hasOwnProperty(Ct)&&W!=null&&!o.hasOwnProperty(Ct)&&Ut(e,t,Ct,null,o,W);for(re in o)W=o[re],se=l[re],!o.hasOwnProperty(re)||W===se||W==null&&se==null||Ut(e,t,re,W,o,se)}function Zy(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Ao(e){var t={};e=e.style;for(var l=0;l<e.length;l++){var o=e[l];t[o]=e.getPropertyValue(o)}return t}function qy(e,t,l){if(t!=null&&typeof t!="object")console.error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");else{var o,d=o="",p;for(p in t)if(t.hasOwnProperty(p)){var S=t[p];S!=null&&typeof S!="boolean"&&S!==""&&(p.indexOf("--")===0?(U(S,p),o+=d+p+":"+(""+S).trim()):typeof S!="number"||S===0||Zf.has(p)?(U(S,p),o+=d+p.replace(Nu,"-$1").toLowerCase().replace(ku,"-ms-")+":"+(""+S).trim()):o+=d+p.replace(Nu,"-$1").toLowerCase().replace(ku,"-ms-")+":"+S+"px",d=";")}o=o||null,t=e.getAttribute("style"),t!==o&&(o=ca(o),ca(t)!==o&&(l.style=Ao(e)))}}function Da(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(ce(o,t),e===""+o)return}cn(t,e,o,p)}function Yy(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null){switch(typeof o){case"function":case"symbol":return}if(!o)return}else switch(typeof o){case"function":case"symbol":break;default:if(o)return}cn(t,e,o,p)}function Vy(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":return}else if(o!=null)switch(typeof o){case"function":case"symbol":break;default:if(ce(o,l),e===""+o)return}cn(t,e,o,p)}function b0(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(o))return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(!isNaN(o)&&(ce(o,t),e===""+o))return}cn(t,e,o,p)}function Zt(e,t,l,o,d,p){if(d.delete(l),e=e.getAttribute(l),e===null)switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return}else if(o!=null)switch(typeof o){case"function":case"symbol":case"boolean":break;default:if(ce(o,t),l=ic(""+o),e===l)return}cn(t,e,o,p)}function Kt(e,t,l,o){for(var d={},p=new Set,S=e.attributes,x=0;x<S.length;x++)switch(S[x].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:p.add(S[x].name)}if(Qr(t)){for(var N in l)if(l.hasOwnProperty(N)){var H=l[N];if(H!=null){if(Zl.hasOwnProperty(N))typeof H!="function"&&Hl(N,H);else if(l.suppressHydrationWarning!==!0)switch(N){case"children":typeof H!="string"&&typeof H!="number"||cn("children",e.textContent,H,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,H=H?H.__html:void 0,H!=null&&(H=Lh(e,H),cn(N,S,H,d));continue;case"style":p.delete(N),qy(e,H,d);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":p.delete(N.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",N);continue;case"className":p.delete("class"),S=ot(e,"class",H),cn("className",S,H,d);continue;default:o.context===Vo&&t!=="svg"&&t!=="math"?p.delete(N.toLowerCase()):p.delete(N),S=ot(e,N,H),cn(N,S,H,d)}}}}else for(H in l)if(l.hasOwnProperty(H)&&(N=l[H],N!=null)){if(Zl.hasOwnProperty(H))typeof N!="function"&&Hl(H,N);else if(l.suppressHydrationWarning!==!0)switch(H){case"children":typeof N!="string"&&typeof N!="number"||cn("children",e.textContent,N,d);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":S=e.innerHTML,N=N?N.__html:void 0,N!=null&&(N=Lh(e,N),S!==N&&(d[H]={__html:S}));continue;case"className":Da(e,H,"class",N,p,d);continue;case"tabIndex":Da(e,H,"tabindex",N,p,d);continue;case"style":p.delete(H),qy(e,N,d);continue;case"multiple":p.delete(H),cn(H,e.multiple,N,d);continue;case"muted":p.delete(H),cn(H,e.muted,N,d);continue;case"autoFocus":p.delete("autofocus"),cn(H,e.autofocus,N,d);continue;case"data":if(t!=="object"){p.delete(H),S=e.getAttribute("data"),cn(H,S,N,d);continue}case"src":case"href":if(!(N!==""||t==="a"&&H==="href"||t==="object"&&H==="data")){console.error(H==="src"?'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.':'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',H,H);continue}Zt(e,H,H,N,p,d);continue;case"action":case"formAction":if(S=e.getAttribute(H),typeof N=="function"){p.delete(H.toLowerCase()),H==="formAction"?(p.delete("name"),p.delete("formenctype"),p.delete("formmethod"),p.delete("formtarget")):(p.delete("enctype"),p.delete("method"),p.delete("target"));continue}else if(S===IN){p.delete(H.toLowerCase()),cn(H,"function",N,d);continue}Zt(e,H,H.toLowerCase(),N,p,d);continue;case"xlinkHref":Zt(e,H,"xlink:href",N,p,d);continue;case"contentEditable":Vy(e,H,"contenteditable",N,p,d);continue;case"spellCheck":Vy(e,H,"spellcheck",N,p,d);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Vy(e,H,H,N,p,d);continue;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":Yy(e,H,H.toLowerCase(),N,p,d);continue;case"capture":case"download":e:{x=e;var te=S=H,re=d;if(p.delete(te),x=x.getAttribute(te),x===null)switch(typeof N){case"undefined":case"function":case"symbol":break e;default:if(N===!1)break e}else if(N!=null)switch(typeof N){case"function":case"symbol":break;case"boolean":if(N===!0&&x==="")break e;break;default:if(ce(N,S),x===""+N)break e}cn(S,x,N,re)}continue;case"cols":case"rows":case"size":case"span":e:{if(x=e,te=S=H,re=d,p.delete(te),x=x.getAttribute(te),x===null)switch(typeof N){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(N)||1>N)break e}else if(N!=null)switch(typeof N){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(N)||1>N)&&(ce(N,S),x===""+N))break e}cn(S,x,N,re)}continue;case"rowSpan":b0(e,H,"rowspan",N,p,d);continue;case"start":b0(e,H,H,N,p,d);continue;case"xHeight":Da(e,H,"x-height",N,p,d);continue;case"xlinkActuate":Da(e,H,"xlink:actuate",N,p,d);continue;case"xlinkArcrole":Da(e,H,"xlink:arcrole",N,p,d);continue;case"xlinkRole":Da(e,H,"xlink:role",N,p,d);continue;case"xlinkShow":Da(e,H,"xlink:show",N,p,d);continue;case"xlinkTitle":Da(e,H,"xlink:title",N,p,d);continue;case"xlinkType":Da(e,H,"xlink:type",N,p,d);continue;case"xmlBase":Da(e,H,"xml:base",N,p,d);continue;case"xmlLang":Da(e,H,"xml:lang",N,p,d);continue;case"xmlSpace":Da(e,H,"xml:space",N,p,d);continue;case"inert":N!==""||pb[H]||(pb[H]=!0,console.error("Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",H)),Yy(e,H,H,N,p,d);continue;default:if(!(2<H.length)||H[0]!=="o"&&H[0]!=="O"||H[1]!=="n"&&H[1]!=="N"){x=zd(H),S=!1,o.context===Vo&&t!=="svg"&&t!=="math"?p.delete(x.toLowerCase()):(te=H.toLowerCase(),te=No.hasOwnProperty(te)&&No[te]||null,te!==null&&te!==H&&(S=!0,p.delete(te)),p.delete(x));e:if(te=e,re=x,x=N,at(re))if(te.hasAttribute(re))te=te.getAttribute(re),ce(x,re),x=te===""+x?x:te;else{switch(typeof x){case"function":case"symbol":break e;case"boolean":if(te=re.toLowerCase().slice(0,5),te!=="data-"&&te!=="aria-")break e}x=x===void 0?void 0:null}else x=void 0;S||cn(H,x,N,d)}}}return 0<p.size&&l.suppressHydrationWarning!==!0&&Sr(e,p,d),Object.keys(d).length===0?null:d}function At(e,t){switch(e.length){case 0:return"";case 1:return e[0];case 2:return e[0]+" "+t+" "+e[1];default:return e.slice(0,-1).join(", ")+", "+t+" "+e[e.length-1]}}function xt(e){return e.nodeType===9?e:e.ownerDocument}function qt(e){switch(e){case Wc:return Zp;case qf:return gb;default:return Vo}}function Ja(e,t){if(e===Vo)switch(t){case"svg":return Zp;case"math":return gb;default:return Vo}return e===Zp&&t==="foreignObject"?Vo:e}function Zi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}function Mc(){var e=window.event;return e&&e.type==="popstate"?e===XS?!1:(XS=e,!0):(XS=null,!1)}function Gy(e){setTimeout(function(){throw e})}function Ou(e,t,l){switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&e.focus();break;case"img":l.src?e.src=l.src:l.srcSet&&(e.srcset=l.srcSet)}}function wn(e,t,l,o){v0(e,t,l,o),e[Fa]=o}function Ru(e){Xr(e,"")}function xo(e,t,l){e.nodeValue=l}function qi(e){return e==="head"}function jl(e,t){e.removeChild(t)}function Nc(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function kc(e,t){var l=t,o=0,d=0;do{var p=l.nextSibling;if(e.removeChild(l),p&&p.nodeType===8)if(l=p.data,l===yb){if(0<o&&8>o){l=o;var S=e.ownerDocument;if(l&$N&&Bc(S.documentElement),l&KN&&Bc(S.body),l&PN)for(l=S.head,Bc(l),S=l.firstChild;S;){var x=S.nextSibling,N=S.nodeName;S[$c]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&S.rel.toLowerCase()==="stylesheet"||l.removeChild(S),S=x}}if(d===0){e.removeChild(p),zo(t);return}d--}else l===mb||l===Yo||l===ev?d++:o=l.charCodeAt(0)-48;else o=0;l=p}while(l);zo(t)}function $a(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Xy(e){e.nodeValue=""}function Qy(e,t){t=t[FN],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Zh(e,t){e.nodeValue=t}function Uc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Uc(l),Nn(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Er(e,t,l,o){for(;e.nodeType===1;){var d=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(o){if(!e[$c])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(p=e.getAttribute("rel"),p==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(p!==d.rel||e.getAttribute("href")!==(d.href==null||d.href===""?null:d.href)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin)||e.getAttribute("title")!==(d.title==null?null:d.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(p=e.getAttribute("src"),(p!==(d.src==null?null:d.src)||e.getAttribute("type")!==(d.type==null?null:d.type)||e.getAttribute("crossorigin")!==(d.crossOrigin==null?null:d.crossOrigin))&&p&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){ce(d.name,"name");var p=d.name==null?null:""+d.name;if(d.type==="hidden"&&e.getAttribute("name")===p)return e}else return e;if(e=fa(e.nextSibling),e===null)break}return null}function sa(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=fa(e.nextSibling),e===null))return null;return e}function Yi(e){return e.data===ev||e.data===Yo&&e.ownerDocument.readyState===nO}function Hc(e,t){var l=e.ownerDocument;if(e.data!==Yo||l.readyState===nO)t();else{var o=function(){t(),l.removeEventListener("DOMContentLoaded",o)};l.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}function fa(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===mb||t===ev||t===Yo||t===YS||t===tO)break;if(t===yb)return null}}return e}function qh(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),l={},o=e.attributes,d=0;d<o.length;d++){var p=o[d];l[Zy(p.name)]=p.name.toLowerCase()==="style"?Ao(e):p.value}return{type:t,props:l}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Yh(e,t,l){return l===null||l[JN]!==!0?(e.nodeValue===t?e=null:(t=ca(t),e=ca(e.nodeValue)===t?null:e.nodeValue),e):null}function Iy(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===yb){if(t===0)return fa(e.nextSibling);t--}else l!==mb&&l!==ev&&l!==Yo||t++}e=e.nextSibling}return null}function jc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l===mb||l===ev||l===Yo){if(t===0)return e;t--}else l===yb&&t++}e=e.previousSibling}return null}function Jy(e){zo(e)}function sl(e){zo(e)}function $y(e,t,l,o,d){switch(d&&wd(e,o.ancestorInfo),t=xt(l),e){case"html":if(e=t.documentElement,!e)throw Error("React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"head":if(e=t.head,!e)throw Error("React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page.");return e;case"body":if(e=t.body,!e)throw Error("React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page.");return e;default:throw Error("resolveSingletonInstance was called with an element type that is not supported. This is a bug in React.")}}function fl(e,t,l,o){if(!l[Cr]&&mn(l)){var d=l.tagName.toLowerCase();console.error("You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",d,d,d)}switch(e){case"html":case"head":case"body":break;default:console.error("acquireSingletonInstance was called with an element type that is not supported. This is a bug in React.")}for(d=l.attributes;d.length;)l.removeAttributeNode(d[0]);Rn(l,e,t),l[Ta]=o,l[Fa]=t}function Bc(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Nn(e)}function Sf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function S0(e,t,l){var o=qp;if(o&&typeof t=="string"&&t){var d=ll(t);d='link[rel="'+e+'"][href="'+d+'"]',typeof l=="string"&&(d+='[crossorigin="'+l+'"]'),oO.has(d)||(oO.add(d),e={rel:e,crossOrigin:l,href:t},o.querySelector(d)===null&&(t=o.createElement("link"),Rn(t,"link",e),I(t),o.head.appendChild(t)))}}function wu(e,t,l,o){var d=(d=Gi.current)?Sf(d):null;if(!d)throw Error('"resourceRoot" was expected to exist. This is a bug in React.');switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(l=Tr(l.href),t=C(d).hoistableStyles,o=t.get(l),o||(o={type:"style",instance:null,count:0,state:null},t.set(l,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Tr(l.href);var p=C(d).hoistableStyles,S=p.get(e);if(!S&&(d=d.ownerDocument||d,S={type:"stylesheet",instance:null,count:0,state:{loading:id,preload:null}},p.set(e,S),(p=d.querySelector(Vi(e)))&&!p._p&&(S.instance=p,S.state.loading=tv|au),!lu.has(e))){var x={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy};lu.set(e,x),p||E0(d,e,x,S.state)}if(t&&o===null)throw l=`
|
|
246
|
-
|
|
247
|
-
- `+Oo(t)+`
|
|
248
|
-
+ `+Oo(l),Error("Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return S}if(t&&o!==null)throw l=`
|
|
249
|
-
|
|
250
|
-
- `+Oo(t)+`
|
|
251
|
-
+ `+Oo(l),Error("Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key."+l);return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(l=Ro(l),t=C(d).hoistableScripts,o=t.get(l),o||(o={type:"script",instance:null,count:0,state:null},t.set(l,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error('getResource encountered a type it did not expect: "'+e+'". this is a bug in React.')}}function Oo(e){var t=0,l="<link";return typeof e.rel=="string"?(t++,l+=' rel="'+e.rel+'"'):Cu.call(e,"rel")&&(t++,l+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,l+=' href="'+e.href+'"'):Cu.call(e,"href")&&(t++,l+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,l+=' precedence="'+e.precedence+'"'):Cu.call(e,"precedence")&&(t++,l+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(l+=" ..."),l+" />"}function Tr(e){return'href="'+ll(e)+'"'}function Vi(e){return'link[rel="stylesheet"]['+e+"]"}function Ky(e){return yt({},e,{"data-precedence":e.precedence,precedence:null})}function E0(e,t,l,o){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?o.loading=tv:(t=e.createElement("link"),o.preload=t,t.addEventListener("load",function(){return o.loading|=tv}),t.addEventListener("error",function(){return o.loading|=uO}),Rn(t,"link",l),I(t),e.head.appendChild(t))}function Ro(e){return'[src="'+ll(e)+'"]'}function wo(e){return"script[async]"+e}function Vh(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+ll(l.href)+'"]');if(o)return t.instance=o,I(o),o;var d=yt({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return o=(e.ownerDocument||e).createElement("style"),I(o),Rn(o,"style",d),Gh(o,l.precedence,e),t.instance=o;case"stylesheet":d=Tr(l.href);var p=e.querySelector(Vi(d));if(p)return t.state.loading|=au,t.instance=p,I(p),p;o=Ky(l),(d=lu.get(d))&&Py(o,d),p=(e.ownerDocument||e).createElement("link"),I(p);var S=p;return S._p=new Promise(function(x,N){S.onload=x,S.onerror=N}),Rn(p,"link",o),t.state.loading|=au,Gh(p,l.precedence,e),t.instance=p;case"script":return p=Ro(l.src),(d=e.querySelector(wo(p)))?(t.instance=d,I(d),d):(o=l,(d=lu.get(p))&&(o=yt({},l),Fy(o,d)),e=e.ownerDocument||e,d=e.createElement("script"),I(d),Rn(d,"link",o),e.head.appendChild(d),t.instance=d);case"void":return null;default:throw Error('acquireResource encountered a resource type it did not expect: "'+t.type+'". this is a bug in React.')}else t.type==="stylesheet"&&(t.state.loading&au)===id&&(o=t.instance,t.state.loading|=au,Gh(o,l.precedence,e));return t.instance}function Gh(e,t,l){for(var o=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),d=o.length?o[o.length-1]:null,p=d,S=0;S<o.length;S++){var x=o[S];if(x.dataset.precedence===t)p=x;else if(p!==d)break}p?p.parentNode.insertBefore(e,p.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function Py(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Fy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Wy(e,t,l){if(vb===null){var o=new Map,d=vb=new Map;d.set(l,o)}else d=vb,o=d.get(l),o||(o=new Map,d.set(l,o));if(o.has(e))return o;for(o.set(e,null),l=l.getElementsByTagName(e),d=0;d<l.length;d++){var p=l[d];if(!(p[$c]||p[Ta]||e==="link"&&p.getAttribute("rel")==="stylesheet")&&p.namespaceURI!==Wc){var S=p.getAttribute(t)||"";S=e+S;var x=o.get(S);x?x.push(p):o.set(S,[p])}}return o}function eg(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function Lc(e,t,l){var o=!l.ancestorInfo.containerTagInScope;if(l.context===Zp||t.itemProp!=null)return!o||t.itemProp==null||e!=="meta"&&e!=="title"&&e!=="style"&&e!=="link"&&e!=="script"||console.error("Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",e,e),!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href===""){o&&console.error('Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags. Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.');break}return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError){if(t.rel==="stylesheet"&&typeof t.precedence=="string"){e=t.href;var d=t.onError,p=t.disabled;l=[],t.onLoad&&l.push("`onLoad`"),d&&l.push("`onError`"),p!=null&&l.push("`disabled`"),d=At(l,"and"),d+=l.length===1?" prop":" props",p=l.length===1?"an "+d:"the "+d,l.length&&console.error('React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',e,p,d)}o&&(typeof t.rel!="string"||typeof t.href!="string"||t.href===""?console.error("Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"):(t.onError||t.onLoad)&&console.error("Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."));break}switch(t.rel){case"stylesheet":return e=t.precedence,t=t.disabled,typeof e!="string"&&o&&console.error('Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'),typeof e=="string"&&t==null;default:return!0}case"script":if(e=t.async&&typeof t.async!="function"&&typeof t.async!="symbol",!e||t.onLoad||t.onError||!t.src||typeof t.src!="string"){o&&(e?t.onLoad||t.onError?console.error("Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."):console.error("Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."):console.error('Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'));break}return!0;case"noscript":case"template":o&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function Ef(e){return!(e.type==="stylesheet"&&(e.state.loading&rO)===id)}function T0(){}function A0(e,t,l){if(nv===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var o=nv;if(t.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(t.state.loading&au)===id){if(t.instance===null){var d=Tr(l.href),p=e.querySelector(Vi(d));if(p){e=p._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(o.count++,o=Tf.bind(o),e.then(o,o)),t.state.loading|=au,t.instance=p,I(p);return}p=e.ownerDocument||e,l=Ky(l),(d=lu.get(d))&&Py(l,d),p=p.createElement("link"),I(p);var S=p;S._p=new Promise(function(x,N){S.onload=x,S.onerror=N}),Rn(p,"link",l),t.instance=p}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&rO)===id&&(o.count++,t=Tf.bind(o),e.addEventListener("load",t),e.addEventListener("error",t))}}function x0(){if(nv===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=nv;return e.stylesheets&&e.count===0&&Xh(e,e.stylesheets),0<e.count?function(t){var l=setTimeout(function(){if(e.stylesheets&&Xh(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(l)}}:null}function Tf(){if(this.count--,this.count===0){if(this.stylesheets)Xh(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Xh(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,bb=new Map,t.forEach(O0,e),bb=null,Tf.call(e))}function O0(e,t){if(!(t.state.loading&au)){var l=bb.get(e);if(l)var o=l.get(IS);else{l=new Map,bb.set(e,l);for(var d=e.querySelectorAll("link[data-precedence],style[data-precedence]"),p=0;p<d.length;p++){var S=d[p];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(l.set(S.dataset.precedence,S),o=S)}o&&l.set(IS,o)}d=t.instance,S=d.getAttribute("data-precedence"),p=l.get(S)||o,p===o&&l.set(IS,d),l.set(S,d),this.count++,o=Tf.bind(this),d.addEventListener("load",o),d.addEventListener("error",o),p?p.parentNode.insertBefore(d,p.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(d,e.firstChild)),t.state.loading|=au}}function Qh(e,t,l,o,d,p,S,x){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=ld,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ju(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ju(0),this.hiddenUpdates=Ju(null),this.identifierPrefix=o,this.onUncaughtError=d,this.onCaughtError=p,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=x,this.incompleteTransitions=new Map,this.passiveEffectDuration=this.effectDuration=-0,this.memoizedUpdaters=new Set,e=this.pendingUpdatersLaneMap=[],t=0;31>t;t++)e.push(new Set);this._debugRootType=l?"hydrateRoot()":"createRoot()"}function tg(e,t,l,o,d,p,S,x,N,H,te,re){return e=new Qh(e,t,l,S,x,N,H,re),t=xN,p===!0&&(t|=el|Uu),_n&&(t|=Na),p=z(3,null,null,t),e.current=p,p.stateNode=e,t=Ls(),to(t),e.pooledCache=t,to(t),p.memoizedState={element:o,isDehydrated:l,cache:t},qa(p),e}function ng(e){return e?(e=es,e):es}function Vt(e,t,l,o,d,p){if(da&&typeof da.onScheduleFiberRoot=="function")try{da.onScheduleFiberRoot(zr,o,l)}catch(S){Pa||(Pa=!0,console.error("React instrumentation encountered an error: %s",S))}Ue!==null&&typeof Ue.markRenderScheduled=="function"&&Ue.markRenderScheduled(t),d=ng(d),o.context===null?o.context=d:o.pendingContext=d,Wa&&hl!==null&&!dO&&(dO=!0,console.error(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
|
|
252
|
-
|
|
253
|
-
Check the render method of %s.`,Se(hl)||"Unknown")),o=Ti(t),o.payload={element:l},p=p===void 0?null:p,p!==null&&(typeof p!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",p),o.callback=p),l=ei(e,o,t),l!==null&&(xn(l,e,t),rr(l,e,t))}function Ih(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function ag(e,t){Ih(e,t),(e=e.alternate)&&Ih(e,t)}function lg(e){if(e.tag===13){var t=Za(e,67108864);t!==null&&xn(t,e,67108864),ag(e,67108864)}}function q1(){return hl}function Y1(){for(var e=new Map,t=1,l=0;31>l;l++){var o=Iu(t);e.set(t,o),t*=2}return e}function V1(e,t,l,o){var d=ie.T;ie.T=null;var p=et.p;try{et.p=ha,Ar(e,t,l,o)}finally{et.p=p,ie.T=d}}function Jh(e,t,l,o){var d=ie.T;ie.T=null;var p=et.p;try{et.p=ci,Ar(e,t,l,o)}finally{et.p=p,ie.T=d}}function Ar(e,t,l,o){if(Eb){var d=Af(o);if(d===null)_a(e,t,o,Tb,l),xr(e,o);else if(xf(d,e,t,l,o))o.stopPropagation();else if(xr(e,o),t&4&&-1<nk.indexOf(e)){for(;d!==null;){var p=mn(d);if(p!==null)switch(p.tag){case 3:if(p=p.stateNode,p.current.memoizedState.isDehydrated){var S=pn(p.pendingLanes);if(S!==0){var x=p;for(x.pendingLanes|=2,x.entangledLanes|=2;S;){var N=1<<31-Ea(S);x.entanglements[1]|=N,S&=~N}Ul(p),(Gt&(gl|Lu))===si&&(ib=Xi()+G2,Eo(0))}}break;case 13:x=Za(p,2),x!==null&&xn(x,p,2),bo(),ag(p,2)}if(p=Af(o),p===null&&_a(e,t,o,Tb,l),p===d)break;d=p}d!==null&&o.stopPropagation()}else _a(e,t,o,null,l)}}function Af(e){return e=Ir(e),Zc(e)}function Zc(e){if(Tb=null,e=Un(e),e!==null){var t=k(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=L(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Tb=e,null}function $h(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return ha;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return ci;case"message":switch(wr()){case ep:return ha;case Nf:return ci;case Qc:case J1:return Mu;case kf:return lp;default:return Mu}default:return Mu}}function xr(e,t){switch(e){case"focusin":case"focusout":ss=null;break;case"dragenter":case"dragleave":fs=null;break;case"mouseover":case"mouseout":ds=null;break;case"pointerover":case"pointerout":lv.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":iv.delete(t.pointerId)}}function Ka(e,t,l,o,d,p){return e===null||e.nativeEvent!==p?(e={blockedOn:t,domEventName:l,eventSystemFlags:o,nativeEvent:p,targetContainers:[d]},t!==null&&(t=mn(t),t!==null&&lg(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,d!==null&&t.indexOf(d)===-1&&t.push(d),e)}function xf(e,t,l,o,d){switch(t){case"focusin":return ss=Ka(ss,e,t,l,o,d),!0;case"dragenter":return fs=Ka(fs,e,t,l,o,d),!0;case"mouseover":return ds=Ka(ds,e,t,l,o,d),!0;case"pointerover":var p=d.pointerId;return lv.set(p,Ka(lv.get(p)||null,e,t,l,o,d)),!0;case"gotpointercapture":return p=d.pointerId,iv.set(p,Ka(iv.get(p)||null,e,t,l,o,d)),!0}return!1}function R0(e){var t=Un(e.target);if(t!==null){var l=k(t);if(l!==null){if(t=l.tag,t===13){if(t=L(l),t!==null){e.blockedOn=t,La(e.priority,function(){if(l.tag===13){var o=Ia(l);o=xe(o);var d=Za(l,o);d!==null&&xn(d,l,o),ag(l,o)}});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Of(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Af(e.nativeEvent);if(l===null){l=e.nativeEvent;var o=new l.constructor(l.type,l),d=o;m!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),m=d,l.target.dispatchEvent(o),m===null&&console.error("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),m=null}else return t=mn(l),t!==null&&lg(t),e.blockedOn=l,!1;t.shift()}return!0}function ig(e,t,l){Of(e)&&l.delete(t)}function w0(){JS=!1,ss!==null&&Of(ss)&&(ss=null),fs!==null&&Of(fs)&&(fs=null),ds!==null&&Of(ds)&&(ds=null),lv.forEach(ig),iv.forEach(ig)}function Rf(e,t){e.blockedOn===t&&(e.blockedOn=null,JS||(JS=!0,zn.unstable_scheduleCallback(zn.unstable_NormalPriority,w0)))}function z0(e){Ab!==e&&(Ab=e,zn.unstable_scheduleCallback(zn.unstable_NormalPriority,function(){Ab===e&&(Ab=null);for(var t=0;t<e.length;t+=3){var l=e[t],o=e[t+1],d=e[t+2];if(typeof o!="function"){if(Zc(o||l)===null)continue;break}var p=mn(l);p!==null&&(e.splice(t,3),t-=3,l={pending:!0,data:d,method:l.method,action:o},Object.freeze(l),ro(p,l,o,d))}}))}function zo(e){function t(N){return Rf(N,e)}ss!==null&&Rf(ss,e),fs!==null&&Rf(fs,e),ds!==null&&Rf(ds,e),lv.forEach(t),iv.forEach(t);for(var l=0;l<hs.length;l++){var o=hs[l];o.blockedOn===e&&(o.blockedOn=null)}for(;0<hs.length&&(l=hs[0],l.blockedOn===null);)R0(l),l.blockedOn===null&&hs.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(o=0;o<l.length;o+=3){var d=l[o],p=l[o+1],S=d[Fa]||null;if(typeof p=="function")S||z0(l);else if(S){var x=null;if(p&&p.hasAttribute("formAction")){if(d=p,S=p[Fa]||null)x=S.formAction;else if(Zc(d)!==null)continue}else x=S.action;typeof x=="function"?l[o+1]=x:(l.splice(o,3),o-=3),z0(l)}}}function Kh(e){this._internalRoot=e}function wf(e){this._internalRoot=e}function _0(e){e[Cr]&&(e._reactRootContainer?console.error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):console.error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var zn=nE(),zf=rd(),G1=uE(),yt=Object.assign,_f=Symbol.for("react.element"),Or=Symbol.for("react.transitional.element"),_o=Symbol.for("react.portal"),st=Symbol.for("react.fragment"),qc=Symbol.for("react.strict_mode"),Yc=Symbol.for("react.profiler"),ug=Symbol.for("react.provider"),Ph=Symbol.for("react.consumer"),Bl=Symbol.for("react.context"),zu=Symbol.for("react.forward_ref"),Vc=Symbol.for("react.suspense"),Rr=Symbol.for("react.suspense_list"),Cf=Symbol.for("react.memo"),dl=Symbol.for("react.lazy"),rg=Symbol.for("react.activity"),C0=Symbol.for("react.memo_cache_sentinel"),og=Symbol.iterator,Fh=Symbol.for("react.client.reference"),lt=Array.isArray,ie=zf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=G1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X1=Object.freeze({pending:!1,data:null,method:null,action:null}),Df=[],Mf=[],Ll=-1,_u=He(null),Gc=He(null),Gi=He(null),Xc=He(null),Cu=Object.prototype.hasOwnProperty,Wh=zn.unstable_scheduleCallback,Q1=zn.unstable_cancelCallback,D0=zn.unstable_shouldYield,I1=zn.unstable_requestPaint,Xi=zn.unstable_now,wr=zn.unstable_getCurrentPriorityLevel,ep=zn.unstable_ImmediatePriority,Nf=zn.unstable_UserBlockingPriority,Qc=zn.unstable_NormalPriority,J1=zn.unstable_LowPriority,kf=zn.unstable_IdlePriority,$1=zn.log,oi=zn.unstable_setDisableYieldValue,zr=null,da=null,Ue=null,Pa=!1,_n=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",Ea=Math.clz32?Math.clz32:Qu,tp=Math.log,Du=Math.LN2,np=256,ap=4194304,ha=2,ci=8,Mu=32,lp=268435456,_r=Math.random().toString(36).slice(2),Ta="__reactFiber$"+_r,Fa="__reactProps$"+_r,Cr="__reactContainer$"+_r,cg="__reactEvents$"+_r,M0="__reactListeners$"+_r,Ic="__reactHandles$"+_r,Jc="__reactResources$"+_r,$c="__reactMarker$"+_r,N0=new Set,Zl={},Co={},k0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},ip=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),up={},rp={},Dr=0,sg,fg,U0,dg,Kc,H0,j0;Jl.__reactDisabledLog=!0;var hg,Uf,Pc=!1,Hf=new(typeof WeakMap=="function"?WeakMap:Map),hl=null,Wa=!1,K1=/[\n"\\]/g,pg=!1,mg=!1,yg=!1,gg=!1,op=!1,vg=!1,jf=["value","defaultValue"],B0=!1,L0=/["'&<>\n\t]|^\s|\s$/,bg="address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(" "),cp="applet caption html table td th marquee object template foreignObject desc title".split(" "),sp=cp.concat(["button"]),Sg="dd dt li option optgroup p rp rt".split(" "),Eg={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},Fc={},Qi={animation:"animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(" "),background:"backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(" "),backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:"borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(" "),borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:"fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(" "),fontVariant:"fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(" "),gap:["columnGap","rowGap"],grid:"gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(" "),gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:"maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(" "),maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Nu=/([A-Z])/g,ku=/^ms-/,Bf=/^(?:webkit|moz|o)[A-Z]/,Lf=/^-ms-/,Mr=/-(.)/g,Z0=/;\s*$/,Do={},Mo={},q0=!1,Tg=!1,Zf=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),qf="http://www.w3.org/1998/Math/MathML",Wc="http://www.w3.org/2000/svg",fp=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),No={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",fetchpriority:"fetchPriority",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",inert:"inert",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",popover:"popover",popovertarget:"popoverTarget",popovertargetaction:"popoverTargetAction",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",transformorigin:"transformOrigin","transform-origin":"transformOrigin",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Ag={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},Ii={},xg=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),dp=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Og=!1,Ma={},Yf=/^on./,n=/^on[^A-Z]/,i=RegExp("^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),r=RegExp("^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),f=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,m=null,g=null,w=null,M=!1,j=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),P=!1;if(j)try{var he={};Object.defineProperty(he,"passive",{get:function(){P=!0}}),window.addEventListener("test",he,he),window.removeEventListener("test",he,he)}catch{P=!1}var ve=null,ee=null,ae=null,Je={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$e=ua(Je),Ht=yt({},Je,{view:0,detail:0}),J=ua(Ht),G,$,me,je=yt({},Ht,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==me&&(me&&e.type==="mousemove"?(G=e.screenX-me.screenX,$=e.screenY-me.screenY):$=G=0,me=e),G)},movementY:function(e){return"movementY"in e?e.movementY:$}}),St=ua(je),Ge=yt({},je,{dataTransfer:0}),Fe=ua(Ge),ea=yt({},Ht,{relatedTarget:0}),Mt=ua(ea),Nr=yt({},Je,{animationName:0,elapsedTime:0,pseudoElement:0}),P1=ua(Nr),W6=yt({},Je,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),eN=ua(W6),tN=yt({},Je,{data:0}),Ox=ua(tN),nN=Ox,aN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},lN={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},iN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},uN=yt({},Ht,{key:function(e){if(e.key){var t=aN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=uc(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?lN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dd,charCode:function(e){return e.type==="keypress"?uc(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?uc(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),rN=ua(uN),oN=yt({},je,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Rx=ua(oN),cN=yt({},Ht,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dd}),sN=ua(cN),fN=yt({},Je,{propertyName:0,elapsedTime:0,pseudoElement:0}),dN=ua(fN),hN=yt({},je,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),pN=ua(hN),mN=yt({},Je,{newState:0,oldState:0}),yN=ua(mN),gN=[9,13,27,32],wx=229,F1=j&&"CompositionEvent"in window,Rg=null;j&&"documentMode"in document&&(Rg=document.documentMode);var vN=j&&"TextEvent"in window&&!Rg,zx=j&&(!F1||Rg&&8<Rg&&11>=Rg),_x=32,Cx=String.fromCharCode(_x),Dx=!1,hp=!1,bN={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},wg=null,zg=null,Mx=!1;j&&(Mx=Rm("input")&&(!document.documentMode||9<document.documentMode));var pl=typeof Object.is=="function"?Object.is:j1,SN=j&&"documentMode"in document&&11>=document.documentMode,pp=null,W1=null,_g=null,eS=!1,mp={animationend:du("Animation","AnimationEnd"),animationiteration:du("Animation","AnimationIteration"),animationstart:du("Animation","AnimationStart"),transitionrun:du("Transition","TransitionRun"),transitionstart:du("Transition","TransitionStart"),transitioncancel:du("Transition","TransitionCancel"),transitionend:du("Transition","TransitionEnd")},tS={},Nx={};j&&(Nx=document.createElement("div").style,"AnimationEvent"in window||(delete mp.animationend.animation,delete mp.animationiteration.animation,delete mp.animationstart.animation),"TransitionEvent"in window||delete mp.transitionend.transition);var kx=Kr("animationend"),Ux=Kr("animationiteration"),Hx=Kr("animationstart"),EN=Kr("transitionrun"),TN=Kr("transitionstart"),AN=Kr("transitioncancel"),jx=Kr("transitionend"),Bx=new Map,nS="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(" ");nS.push("scrollEnd");var aS=new WeakMap,Y0=1,ko=2,Ji=[],yp=0,lS=0,es={};Object.freeze(es);var $i=null,gp=null,sn=0,xN=1,Na=2,el=8,Uu=16,Lx=64,Zx=!1;try{var qx=Object.preventExtensions({})}catch{Zx=!0}var vp=[],bp=0,V0=null,G0=0,Ki=[],Pi=0,Vf=null,Uo=1,Ho="",ml=null,Bn=null,jt=!1,jo=!1,Fi=null,Gf=null,kr=!1,iS=Error("Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),Yx=0;if(typeof performance=="object"&&typeof performance.now=="function")var ON=performance,Vx=function(){return ON.now()};else{var RN=Date;Vx=function(){return RN.now()}}var uS=He(null),rS=He(null),Gx={},X0=null,Sp=null,Ep=!1,wN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,o){e.push(o)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},zN=zn.unstable_scheduleCallback,_N=zn.unstable_NormalPriority,pa={$$typeof:Bl,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Tp=zn.unstable_now,Xx=-0,Q0=-0,ql=-1.1,Xf=-0,I0=!1,J0=!1,Cg=null,oS=0,Qf=0,Ap=null,Qx=ie.S;ie.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Fv(e,t),Qx!==null&&Qx(e,t)};var If=He(null),Hu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Dg=[],Mg=[],Ng=[],kg=[],Ug=[],Hg=[],Jf=new Set;Hu.recordUnsafeLifecycleWarnings=function(e,t){Jf.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Dg.push(e),e.mode&el&&typeof t.UNSAFE_componentWillMount=="function"&&Mg.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ng.push(e),e.mode&el&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&kg.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ug.push(e),e.mode&el&&typeof t.UNSAFE_componentWillUpdate=="function"&&Hg.push(e))},Hu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Dg.length&&(Dg.forEach(function(x){e.add(Se(x)||"Component"),Jf.add(x.type)}),Dg=[]);var t=new Set;0<Mg.length&&(Mg.forEach(function(x){t.add(Se(x)||"Component"),Jf.add(x.type)}),Mg=[]);var l=new Set;0<Ng.length&&(Ng.forEach(function(x){l.add(Se(x)||"Component"),Jf.add(x.type)}),Ng=[]);var o=new Set;0<kg.length&&(kg.forEach(function(x){o.add(Se(x)||"Component"),Jf.add(x.type)}),kg=[]);var d=new Set;0<Ug.length&&(Ug.forEach(function(x){d.add(Se(x)||"Component"),Jf.add(x.type)}),Ug=[]);var p=new Set;if(0<Hg.length&&(Hg.forEach(function(x){p.add(Se(x)||"Component"),Jf.add(x.type)}),Hg=[]),0<t.size){var S=R(t);console.error(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
254
|
-
|
|
255
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
256
|
-
|
|
257
|
-
Please update the following components: %s`,S)}0<o.size&&(S=R(o),console.error(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
258
|
-
|
|
259
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
260
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
261
|
-
|
|
262
|
-
Please update the following components: %s`,S)),0<p.size&&(S=R(p),console.error(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
263
|
-
|
|
264
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
265
|
-
|
|
266
|
-
Please update the following components: %s`,S)),0<e.size&&(S=R(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
267
|
-
|
|
268
|
-
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
269
|
-
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
270
|
-
|
|
271
|
-
Please update the following components: %s`,S)),0<l.size&&(S=R(l),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
272
|
-
|
|
273
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
274
|
-
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
|
|
275
|
-
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
276
|
-
|
|
277
|
-
Please update the following components: %s`,S)),0<d.size&&(S=R(d),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
278
|
-
|
|
279
|
-
* Move data fetching code or side effects to componentDidUpdate.
|
|
280
|
-
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
|
|
281
|
-
|
|
282
|
-
Please update the following components: %s`,S))};var $0=new Map,Ix=new Set;Hu.recordLegacyContextWarning=function(e,t){for(var l=null,o=e;o!==null;)o.mode&el&&(l=o),o=o.return;l===null?console.error("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."):!Ix.has(e.type)&&(o=$0.get(l),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(o===void 0&&(o=[],$0.set(l,o)),o.push(e))},Hu.flushLegacyContextWarning=function(){$0.forEach(function(e){if(e.length!==0){var t=e[0],l=new Set;e.forEach(function(d){l.add(Se(d)||"Component"),Ix.add(d.type)});var o=R(l);Be(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
283
|
-
|
|
284
|
-
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
285
|
-
|
|
286
|
-
Please update the following components: %s
|
|
287
|
-
|
|
288
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,o)})}})},Hu.discardPendingWarnings=function(){Dg=[],Mg=[],Ng=[],kg=[],Ug=[],Hg=[],$0=new Map};var jg=Error("Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."),Jx=Error("Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."),K0=Error("Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."),cS={then:function(){console.error('Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.')}},Bg=null,P0=!1,Wi=0,eu=1,yl=2,ka=4,ma=8,$x=0,Kx=1,Px=2,sS=3,ts=!1,Fx=!1,fS=null,dS=!1,xp=He(null),F0=He(0),Op,Wx=new Set,e2=new Set,hS=new Set,t2=new Set,ns=0,it=null,Pt=null,ta=null,W0=!1,Rp=!1,$f=!1,eb=0,Lg=0,Bo=null,CN=0,DN=25,ue=null,tu=null,Lo=-1,Zg=!1,tb={readContext:tn,use:xi,useCallback:yn,useContext:yn,useEffect:yn,useImperativeHandle:yn,useLayoutEffect:yn,useInsertionEffect:yn,useMemo:yn,useReducer:yn,useRef:yn,useState:yn,useDebugValue:yn,useDeferredValue:yn,useTransition:yn,useSyncExternalStore:yn,useId:yn,useHostTransitionStatus:yn,useFormState:yn,useActionState:yn,useOptimistic:yn,useMemoCache:yn,useCacheRefresh:yn},pS=null,n2=null,mS=null,a2=null,Ur=null,ju=null,nb=null;pS={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return ue="useCallback",bt(),zl(t),Js(e,t)},useContext:function(e){return ue="useContext",bt(),tn(e)},useEffect:function(e,t){return ue="useEffect",bt(),zl(t),Xd(e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",bt(),zl(l),Id(e,t,l)},useInsertionEffect:function(e,t){ue="useInsertionEffect",bt(),zl(t),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",bt(),zl(t),Qd(e,t)},useMemo:function(e,t){ue="useMemo",bt(),zl(t);var l=ie.H;ie.H=Ur;try{return Jd(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",bt();var o=ie.H;ie.H=Ur;try{return Nt(e,t,l)}finally{ie.H=o}},useRef:function(e){return ue="useRef",bt(),Is(e)},useState:function(e){ue="useState",bt();var t=ie.H;ie.H=Ur;try{return gu(e)}finally{ie.H=t}},useDebugValue:function(){ue="useDebugValue",bt()},useDeferredValue:function(e,t){return ue="useDeferredValue",bt(),$d(e,t)},useTransition:function(){return ue="useTransition",bt(),zi()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",bt(),yu(e,t,l)},useId:function(){return ue="useId",bt(),_i()},useFormState:function(e,t){return ue="useFormState",bt(),dc(),vc(e,t)},useActionState:function(e,t){return ue="useActionState",bt(),vc(e,t)},useOptimistic:function(e){return ue="useOptimistic",bt(),ai(e)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return ue="useCacheRefresh",bt(),oo()}},n2={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return ue="useCallback",Ae(),Js(e,t)},useContext:function(e){return ue="useContext",Ae(),tn(e)},useEffect:function(e,t){return ue="useEffect",Ae(),Xd(e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",Ae(),Id(e,t,l)},useInsertionEffect:function(e,t){ue="useInsertionEffect",Ae(),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Ae(),Qd(e,t)},useMemo:function(e,t){ue="useMemo",Ae();var l=ie.H;ie.H=Ur;try{return Jd(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",Ae();var o=ie.H;ie.H=Ur;try{return Nt(e,t,l)}finally{ie.H=o}},useRef:function(e){return ue="useRef",Ae(),Is(e)},useState:function(e){ue="useState",Ae();var t=ie.H;ie.H=Ur;try{return gu(e)}finally{ie.H=t}},useDebugValue:function(){ue="useDebugValue",Ae()},useDeferredValue:function(e,t){return ue="useDeferredValue",Ae(),$d(e,t)},useTransition:function(){return ue="useTransition",Ae(),zi()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",Ae(),yu(e,t,l)},useId:function(){return ue="useId",Ae(),_i()},useActionState:function(e,t){return ue="useActionState",Ae(),vc(e,t)},useFormState:function(e,t){return ue="useFormState",Ae(),dc(),vc(e,t)},useOptimistic:function(e){return ue="useOptimistic",Ae(),ai(e)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return ue="useCacheRefresh",Ae(),oo()}},mS={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return ue="useCallback",Ae(),uo(e,t)},useContext:function(e){return ue="useContext",Ae(),tn(e)},useEffect:function(e,t){ue="useEffect",Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){ue="useMemo",Ae();var l=ie.H;ie.H=ju;try{return dr(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",Ae();var o=ie.H;ie.H=ju;try{return Cl(e,t,l)}finally{ie.H=o}},useRef:function(){return ue="useRef",Ae(),_t().memoizedState},useState:function(){ue="useState",Ae();var e=ie.H;ie.H=ju;try{return Cl(kt)}finally{ie.H=e}},useDebugValue:function(){ue="useDebugValue",Ae()},useDeferredValue:function(e,t){return ue="useDeferredValue",Ae(),$s(e,t)},useTransition:function(){return ue="useTransition",Ae(),Fd()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",Ae(),Vs(e,t,l)},useId:function(){return ue="useId",Ae(),_t().memoizedState},useFormState:function(e){return ue="useFormState",Ae(),dc(),Gd(e)},useActionState:function(e){return ue="useActionState",Ae(),Gd(e)},useOptimistic:function(e,t){return ue="useOptimistic",Ae(),vu(e,t)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return ue="useCacheRefresh",Ae(),_t().memoizedState}},a2={readContext:function(e){return tn(e)},use:xi,useCallback:function(e,t){return ue="useCallback",Ae(),uo(e,t)},useContext:function(e){return ue="useContext",Ae(),tn(e)},useEffect:function(e,t){ue="useEffect",Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){ue="useMemo",Ae();var l=ie.H;ie.H=nb;try{return dr(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",Ae();var o=ie.H;ie.H=nb;try{return io(e,t,l)}finally{ie.H=o}},useRef:function(){return ue="useRef",Ae(),_t().memoizedState},useState:function(){ue="useState",Ae();var e=ie.H;ie.H=nb;try{return io(kt)}finally{ie.H=e}},useDebugValue:function(){ue="useDebugValue",Ae()},useDeferredValue:function(e,t){return ue="useDeferredValue",Ae(),Kd(e,t)},useTransition:function(){return ue="useTransition",Ae(),Wd()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",Ae(),Vs(e,t,l)},useId:function(){return ue="useId",Ae(),_t().memoizedState},useFormState:function(e){return ue="useFormState",Ae(),dc(),bc(e)},useActionState:function(e){return ue="useActionState",Ae(),bc(e)},useOptimistic:function(e,t){return ue="useOptimistic",Ae(),Vd(e,t)},useHostTransitionStatus:Ga,useMemoCache:kn,useCacheRefresh:function(){return ue="useCacheRefresh",Ae(),_t().memoizedState}},Ur={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return ue="useCallback",T(),bt(),Js(e,t)},useContext:function(e){return ue="useContext",T(),bt(),tn(e)},useEffect:function(e,t){return ue="useEffect",T(),bt(),Xd(e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",T(),bt(),Id(e,t,l)},useInsertionEffect:function(e,t){ue="useInsertionEffect",T(),bt(),Ml(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",T(),bt(),Qd(e,t)},useMemo:function(e,t){ue="useMemo",T(),bt();var l=ie.H;ie.H=Ur;try{return Jd(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",T(),bt();var o=ie.H;ie.H=Ur;try{return Nt(e,t,l)}finally{ie.H=o}},useRef:function(e){return ue="useRef",T(),bt(),Is(e)},useState:function(e){ue="useState",T(),bt();var t=ie.H;ie.H=Ur;try{return gu(e)}finally{ie.H=t}},useDebugValue:function(){ue="useDebugValue",T(),bt()},useDeferredValue:function(e,t){return ue="useDeferredValue",T(),bt(),$d(e,t)},useTransition:function(){return ue="useTransition",T(),bt(),zi()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",T(),bt(),yu(e,t,l)},useId:function(){return ue="useId",T(),bt(),_i()},useFormState:function(e,t){return ue="useFormState",T(),bt(),vc(e,t)},useActionState:function(e,t){return ue="useActionState",T(),bt(),vc(e,t)},useOptimistic:function(e){return ue="useOptimistic",T(),bt(),ai(e)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return ue="useCacheRefresh",bt(),oo()}},ju={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return ue="useCallback",T(),Ae(),uo(e,t)},useContext:function(e){return ue="useContext",T(),Ae(),tn(e)},useEffect:function(e,t){ue="useEffect",T(),Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",T(),Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",T(),Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",T(),Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){ue="useMemo",T(),Ae();var l=ie.H;ie.H=ju;try{return dr(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",T(),Ae();var o=ie.H;ie.H=ju;try{return Cl(e,t,l)}finally{ie.H=o}},useRef:function(){return ue="useRef",T(),Ae(),_t().memoizedState},useState:function(){ue="useState",T(),Ae();var e=ie.H;ie.H=ju;try{return Cl(kt)}finally{ie.H=e}},useDebugValue:function(){ue="useDebugValue",T(),Ae()},useDeferredValue:function(e,t){return ue="useDeferredValue",T(),Ae(),$s(e,t)},useTransition:function(){return ue="useTransition",T(),Ae(),Fd()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",T(),Ae(),Vs(e,t,l)},useId:function(){return ue="useId",T(),Ae(),_t().memoizedState},useFormState:function(e){return ue="useFormState",T(),Ae(),Gd(e)},useActionState:function(e){return ue="useActionState",T(),Ae(),Gd(e)},useOptimistic:function(e,t){return ue="useOptimistic",T(),Ae(),vu(e,t)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return ue="useCacheRefresh",Ae(),_t().memoizedState}},nb={readContext:function(e){return E(),tn(e)},use:function(e){return T(),xi(e)},useCallback:function(e,t){return ue="useCallback",T(),Ae(),uo(e,t)},useContext:function(e){return ue="useContext",T(),Ae(),tn(e)},useEffect:function(e,t){ue="useEffect",T(),Ae(),Vn(2048,ma,e,t)},useImperativeHandle:function(e,t,l){return ue="useImperativeHandle",T(),Ae(),wi(e,t,l)},useInsertionEffect:function(e,t){return ue="useInsertionEffect",T(),Ae(),Vn(4,yl,e,t)},useLayoutEffect:function(e,t){return ue="useLayoutEffect",T(),Ae(),Vn(4,ka,e,t)},useMemo:function(e,t){ue="useMemo",T(),Ae();var l=ie.H;ie.H=ju;try{return dr(e,t)}finally{ie.H=l}},useReducer:function(e,t,l){ue="useReducer",T(),Ae();var o=ie.H;ie.H=ju;try{return io(e,t,l)}finally{ie.H=o}},useRef:function(){return ue="useRef",T(),Ae(),_t().memoizedState},useState:function(){ue="useState",T(),Ae();var e=ie.H;ie.H=ju;try{return io(kt)}finally{ie.H=e}},useDebugValue:function(){ue="useDebugValue",T(),Ae()},useDeferredValue:function(e,t){return ue="useDeferredValue",T(),Ae(),Kd(e,t)},useTransition:function(){return ue="useTransition",T(),Ae(),Wd()},useSyncExternalStore:function(e,t,l){return ue="useSyncExternalStore",T(),Ae(),Vs(e,t,l)},useId:function(){return ue="useId",T(),Ae(),_t().memoizedState},useFormState:function(e){return ue="useFormState",T(),Ae(),bc(e)},useActionState:function(e){return ue="useActionState",T(),Ae(),bc(e)},useOptimistic:function(e,t){return ue="useOptimistic",T(),Ae(),Vd(e,t)},useMemoCache:function(e){return T(),kn(e)},useHostTransitionStatus:Ga,useCacheRefresh:function(){return ue="useCacheRefresh",Ae(),_t().memoizedState}};var l2={"react-stack-bottom-frame":function(e,t,l){var o=Wa;Wa=!0;try{return e(t,l)}finally{Wa=o}}},yS=l2["react-stack-bottom-frame"].bind(l2),i2={"react-stack-bottom-frame":function(e){var t=Wa;Wa=!0;try{return e.render()}finally{Wa=t}}},u2=i2["react-stack-bottom-frame"].bind(i2),r2={"react-stack-bottom-frame":function(e,t){try{t.componentDidMount()}catch(l){Pe(e,e.return,l)}}},gS=r2["react-stack-bottom-frame"].bind(r2),o2={"react-stack-bottom-frame":function(e,t,l,o,d){try{t.componentDidUpdate(l,o,d)}catch(p){Pe(e,e.return,p)}}},c2=o2["react-stack-bottom-frame"].bind(o2),s2={"react-stack-bottom-frame":function(e,t){var l=t.stack;e.componentDidCatch(t.value,{componentStack:l!==null?l:""})}},MN=s2["react-stack-bottom-frame"].bind(s2),f2={"react-stack-bottom-frame":function(e,t,l){try{l.componentWillUnmount()}catch(o){Pe(e,t,o)}}},d2=f2["react-stack-bottom-frame"].bind(f2),h2={"react-stack-bottom-frame":function(e){e.resourceKind!=null&&console.error("Expected only SimpleEffects when enableUseEffectCRUDOverload is disabled, got %s",e.resourceKind);var t=e.create;return e=e.inst,t=t(),e.destroy=t}},NN=h2["react-stack-bottom-frame"].bind(h2),p2={"react-stack-bottom-frame":function(e,t,l){try{l()}catch(o){Pe(e,t,o)}}},kN=p2["react-stack-bottom-frame"].bind(p2),m2={"react-stack-bottom-frame":function(e){var t=e._init;return t(e._payload)}},as=m2["react-stack-bottom-frame"].bind(m2),wp=null,qg=0,Et=null,vS,y2=vS=!1,g2={},v2={},b2={};b=function(e,t,l){if(l!==null&&typeof l=="object"&&l._store&&(!l._store.validated&&l.key==null||l._store.validated===2)){if(typeof l._store!="object")throw Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");l._store.validated=1;var o=Se(e),d=o||"null";if(!g2[d]){g2[d]=!0,l=l._owner,e=e._debugOwner;var p="";e&&typeof e.tag=="number"&&(d=Se(e))&&(p=`
|
|
289
|
-
|
|
290
|
-
Check the render method of \``+d+"`."),p||o&&(p=`
|
|
291
|
-
|
|
292
|
-
Check the top-level render call using <`+o+">.");var S="";l!=null&&e!==l&&(o=null,typeof l.tag=="number"?o=Se(l):typeof l.name=="string"&&(o=l.name),o&&(S=" It was passed a child from "+o+".")),Be(t,function(){console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',p,S)})}}};var zp=Ws(!0),S2=Ws(!1),nu=He(null),Hr=null,_p=1,Yg=2,ya=He(0),E2={},T2=new Set,A2=new Set,x2=new Set,O2=new Set,R2=new Set,w2=new Set,z2=new Set,_2=new Set,C2=new Set,D2=new Set;Object.freeze(E2);var bS={enqueueSetState:function(e,t,l){e=e._reactInternals;var o=Ia(e),d=Ti(o);d.payload=t,l!=null&&(ly(l),d.callback=l),t=ei(e,d,o),t!==null&&(xn(t,e,o),rr(t,e,o)),Al(e,o)},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var o=Ia(e),d=Ti(o);d.tag=Kx,d.payload=t,l!=null&&(ly(l),d.callback=l),t=ei(e,d,o),t!==null&&(xn(t,e,o),rr(t,e,o)),Al(e,o)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=Ia(e),o=Ti(l);o.tag=Px,t!=null&&(ly(t),o.callback=t),t=ei(e,o,l),t!==null&&(xn(t,e,l),rr(t,e,l)),Ue!==null&&typeof Ue.markForceUpdateScheduled=="function"&&Ue.markForceUpdateScheduled(e,l)}},SS=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Cp=null,ES=null,M2=Error("This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."),Aa=!1,N2={},k2={},U2={},H2={},Dp=!1,j2={},TS={},AS={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},B2=!1,L2=null;L2=new Set;var Zo=!1,Qn=!1,xS=!1,Z2=typeof WeakSet=="function"?WeakSet:Set,xa=null,Mp=null,Np=null,na=null,Yl=!1,Bu=null,Vg=8192,UN={getCacheForType:function(e){var t=tn(pa),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},getOwner:function(){return hl}};if(typeof Symbol=="function"&&Symbol.for){var Gg=Symbol.for;Gg("selector.component"),Gg("selector.has_pseudo_class"),Gg("selector.role"),Gg("selector.test_id"),Gg("selector.text")}var HN=[],jN=typeof WeakMap=="function"?WeakMap:Map,si=0,gl=2,Lu=4,qo=0,Xg=1,kp=2,OS=3,Kf=4,ab=6,q2=5,Gt=si,nn=null,Ot=null,Rt=0,Vl=0,Qg=1,Pf=2,Ig=3,Y2=4,RS=5,Up=6,Jg=7,wS=8,Ff=9,Jt=Vl,fi=null,ls=!1,Hp=!1,zS=!1,jr=0,Ln=qo,is=0,us=0,_S=0,di=0,Wf=0,$g=null,vl=null,lb=!1,CS=0,V2=300,ib=1/0,G2=500,Kg=null,rs=null,BN=0,LN=1,ZN=2,ed=0,X2=1,Q2=2,I2=3,qN=4,DS=5,Ua=0,os=null,jp=null,cs=0,MS=0,NS=null,J2=null,YN=50,Pg=0,kS=null,US=!1,ub=!1,VN=50,td=0,Fg=null,Bp=!1,rb=null,$2=!1,K2=new Set,GN={},ob=null,Lp=null,HS=!1,jS=!1,cb=!1,BS=!1,nd=0,LS={};(function(){for(var e=0;e<nS.length;e++){var t=nS[e],l=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),$l(l,"on"+t)}$l(kx,"onAnimationEnd"),$l(Ux,"onAnimationIteration"),$l(Hx,"onAnimationStart"),$l("dblclick","onDoubleClick"),$l("focusin","onFocus"),$l("focusout","onBlur"),$l(EN,"onTransitionRun"),$l(TN,"onTransitionStart"),$l(AN,"onTransitionCancel"),$l(jx,"onTransitionEnd")})(),De("onMouseEnter",["mouseout","mouseover"]),De("onMouseLeave",["mouseout","mouseover"]),De("onPointerEnter",["pointerout","pointerover"]),De("onPointerLeave",["pointerout","pointerover"]),Re("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Re("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Re("onBeforeInput",["compositionend","keypress","textInput","paste"]),Re("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Re("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Wg="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),ZS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Wg)),sb="_reactListening"+Math.random().toString(36).slice(2),P2=!1,F2=!1,fb=!1,W2=!1,db=!1,hb=!1,eO=!1,pb={},XN=/\r\n?/g,QN=/\u0000|\uFFFD/g,ad="http://www.w3.org/1999/xlink",qS="http://www.w3.org/XML/1998/namespace",IN="javascript:throw new Error('React form unexpectedly submitted.')",JN="suppressHydrationWarning",mb="$",yb="/$",Yo="$?",ev="$!",$N=1,KN=2,PN=4,YS="F!",tO="F",nO="complete",FN="style",Vo=0,Zp=1,gb=2,VS=null,GS=null,aO={dialog:!0,webview:!0},XS=null,lO=typeof setTimeout=="function"?setTimeout:void 0,WN=typeof clearTimeout=="function"?clearTimeout:void 0,ld=-1,iO=typeof Promise=="function"?Promise:void 0,ek=typeof queueMicrotask=="function"?queueMicrotask:typeof iO<"u"?function(e){return iO.resolve(null).then(e).catch(Gy)}:lO,QS=null,id=0,tv=1,uO=2,rO=3,au=4,lu=new Map,oO=new Set,Go=et.d;et.d={f:function(){var e=Go.f(),t=bo();return e||t},r:function(e){var t=mn(e);t!==null&&t.tag===5&&t.type==="form"?ty(t):Go.r(e)},D:function(e){Go.D(e),S0("dns-prefetch",e,null)},C:function(e,t){Go.C(e,t),S0("preconnect",e,t)},L:function(e,t,l){Go.L(e,t,l);var o=qp;if(o&&e&&t){var d='link[rel="preload"][as="'+ll(t)+'"]';t==="image"&&l&&l.imageSrcSet?(d+='[imagesrcset="'+ll(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(d+='[imagesizes="'+ll(l.imageSizes)+'"]')):d+='[href="'+ll(e)+'"]';var p=d;switch(t){case"style":p=Tr(e);break;case"script":p=Ro(e)}lu.has(p)||(e=yt({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),lu.set(p,e),o.querySelector(d)!==null||t==="style"&&o.querySelector(Vi(p))||t==="script"&&o.querySelector(wo(p))||(t=o.createElement("link"),Rn(t,"link",e),I(t),o.head.appendChild(t)))}},m:function(e,t){Go.m(e,t);var l=qp;if(l&&e){var o=t&&typeof t.as=="string"?t.as:"script",d='link[rel="modulepreload"][as="'+ll(o)+'"][href="'+ll(e)+'"]',p=d;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":p=Ro(e)}if(!lu.has(p)&&(e=yt({rel:"modulepreload",href:e},t),lu.set(p,e),l.querySelector(d)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(wo(p)))return}o=l.createElement("link"),Rn(o,"link",e),I(o),l.head.appendChild(o)}}},X:function(e,t){Go.X(e,t);var l=qp;if(l&&e){var o=C(l).hoistableScripts,d=Ro(e),p=o.get(d);p||(p=l.querySelector(wo(d)),p||(e=yt({src:e,async:!0},t),(t=lu.get(d))&&Fy(e,t),p=l.createElement("script"),I(p),Rn(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}},S:function(e,t,l){Go.S(e,t,l);var o=qp;if(o&&e){var d=C(o).hoistableStyles,p=Tr(e);t=t||"default";var S=d.get(p);if(!S){var x={loading:id,preload:null};if(S=o.querySelector(Vi(p)))x.loading=tv|au;else{e=yt({rel:"stylesheet",href:e,"data-precedence":t},l),(l=lu.get(p))&&Py(e,l);var N=S=o.createElement("link");I(N),Rn(N,"link",e),N._p=new Promise(function(H,te){N.onload=H,N.onerror=te}),N.addEventListener("load",function(){x.loading|=tv}),N.addEventListener("error",function(){x.loading|=uO}),x.loading|=au,Gh(S,t,o)}S={type:"stylesheet",instance:S,count:1,state:x},d.set(p,S)}}},M:function(e,t){Go.M(e,t);var l=qp;if(l&&e){var o=C(l).hoistableScripts,d=Ro(e),p=o.get(d);p||(p=l.querySelector(wo(d)),p||(e=yt({src:e,async:!0,type:"module"},t),(t=lu.get(d))&&Fy(e,t),p=l.createElement("script"),I(p),Rn(p,"link",e),l.head.appendChild(p)),p={type:"script",instance:p,count:1,state:null},o.set(d,p))}}};var qp=typeof document>"u"?null:document,vb=null,nv=null,IS=null,bb=null,ud=X1,av={$$typeof:Bl,Provider:null,Consumer:null,_currentValue:ud,_currentValue2:ud,_threadCount:0},cO="%c%s%c ",sO="background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px",fO="",Sb=" ",tk=Function.prototype.bind,dO=!1,hO=null,pO=null,mO=null,yO=null,gO=null,vO=null,bO=null,SO=null,EO=null;hO=function(e,t,l,o){t=a(e,t),t!==null&&(l=u(t.memoizedState,l,0,o),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&xn(l,e,2))},pO=function(e,t,l){t=a(e,t),t!==null&&(l=h(t.memoizedState,l,0),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&xn(l,e,2))},mO=function(e,t,l,o){t=a(e,t),t!==null&&(l=c(t.memoizedState,l,o),t.memoizedState=l,t.baseState=l,e.memoizedProps=yt({},e.memoizedProps),l=Za(e,2),l!==null&&xn(l,e,2))},yO=function(e,t,l){e.pendingProps=u(e.memoizedProps,t,0,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&xn(t,e,2)},gO=function(e,t){e.pendingProps=h(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&xn(t,e,2)},vO=function(e,t,l){e.pendingProps=c(e.memoizedProps,t,l),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=Za(e,2),t!==null&&xn(t,e,2)},bO=function(e){var t=Za(e,2);t!==null&&xn(t,e,2)},SO=function(e){v=e},EO=function(e){y=e};var Eb=!0,Tb=null,JS=!1,ss=null,fs=null,ds=null,lv=new Map,iv=new Map,hs=[],nk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" "),Ab=null;if(wf.prototype.render=Kh.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var l=arguments;typeof l[1]=="function"?console.error("does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):X(l[1])?console.error("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):typeof l[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),l=e;var o=t.current,d=Ia(o);Vt(o,d,l,t,null,null)},wf.prototype.unmount=Kh.prototype.unmount=function(){var e=arguments;if(typeof e[0]=="function"&&console.error("does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."),e=this._internalRoot,e!==null){this._internalRoot=null;var t=e.containerInfo;(Gt&(gl|Lu))!==si&&console.error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),Vt(e.current,2,null,e,null,null),bo(),t[Cr]=null}},wf.prototype.unstable_scheduleHydration=function(e){if(e){var t=la();e={blockedOn:null,target:e,priority:t};for(var l=0;l<hs.length&&t!==0&&t<hs[l].priority;l++);hs.splice(l,0,e),l===0&&R0(e)}},(function(){var e=zf.version;if(e!=="19.1.0")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
293
|
-
- react: `+(e+`
|
|
294
|
-
- react-dom: 19.1.0
|
|
295
|
-
Learn more: https://react.dev/warnings/version-mismatch`))})(),typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"),et.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error("Unable to find node on an unmounted component."):(e=Object.keys(e).join(","),Error("Argument appears to not be a ReactComponent. Keys: "+e));return e=oe(t),e=e!==null?ne(e):null,e=e===null?null:e.stateNode,e},!(function(){var e={bundleType:1,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:ie,reconcilerVersion:"19.1.0"};return e.overrideHookState=hO,e.overrideHookStateDeletePath=pO,e.overrideHookStateRenamePath=mO,e.overrideProps=yO,e.overridePropsDeletePath=gO,e.overridePropsRenamePath=vO,e.scheduleUpdate=bO,e.setErrorHandler=SO,e.setSuspenseHandler=EO,e.scheduleRefresh=Y,e.scheduleRoot=_,e.setRefreshHandler=le,e.getCurrentFiber=q1,e.getLaneLabelMap=Y1,e.injectProfilingHooks=Wt,Ye(e)})()&&j&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var TO=window.location.protocol;/^(https?|file):$/.test(TO)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(TO==="file:"?`
|
|
296
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}Gp.createRoot=function(e,t){if(!X(e))throw Error("Target container is not a DOM element.");_0(e);var l=!1,o="",d=iy,p=l0,S=ah,x=null;return t!=null&&(t.hydrate?console.warn("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):typeof t=="object"&&t!==null&&t.$$typeof===Or&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
297
|
-
|
|
298
|
-
let root = createRoot(domContainer);
|
|
299
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onUncaughtError!==void 0&&(d=t.onUncaughtError),t.onCaughtError!==void 0&&(p=t.onCaughtError),t.onRecoverableError!==void 0&&(S=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(x=t.unstable_transitionCallbacks)),t=tg(e,1,!1,null,null,l,o,d,p,S,x,null),e[Cr]=t.current,jy(e),new Kh(t)},Gp.hydrateRoot=function(e,t,l){if(!X(e))throw Error("Target container is not a DOM element.");_0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var o=!1,d="",p=iy,S=l0,x=ah,N=null,H=null;return l!=null&&(l.unstable_strictMode===!0&&(o=!0),l.identifierPrefix!==void 0&&(d=l.identifierPrefix),l.onUncaughtError!==void 0&&(p=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(x=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(N=l.unstable_transitionCallbacks),l.formState!==void 0&&(H=l.formState)),t=tg(e,1,!0,t,l??null,o,d,p,S,x,N,H),t.context=ng(null),l=t.current,o=Ia(l),o=xe(o),d=Ti(o),d.callback=null,ei(l,d,o),l=o,t.current.lanes=l,Il(t,l),Ul(t),e[Cr]=t.current,jy(e),new wf(t)},Gp.version="19.1.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Gp}var cE;function MO(){if(cE)return rv.exports;cE=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(u){console.error(u)}}}return process.env.NODE_ENV==="production"?(a(),rv.exports=CO()):rv.exports=DO(),rv.exports}var NO=MO(),sv={exports:{}},Xp={};/**
|
|
300
|
-
* @license React
|
|
301
|
-
* react-jsx-runtime.production.js
|
|
302
|
-
*
|
|
303
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
304
|
-
*
|
|
305
|
-
* This source code is licensed under the MIT license found in the
|
|
306
|
-
* LICENSE file in the root directory of this source tree.
|
|
307
|
-
*/var sE;function kO(){if(sE)return Xp;sE=1;var a=Symbol.for("react.transitional.element"),u=Symbol.for("react.fragment");function c(s,h,y){var v=null;if(y!==void 0&&(v=""+y),h.key!==void 0&&(v=""+h.key),"key"in h){y={};for(var b in h)b!=="key"&&(y[b]=h[b])}else y=h;return h=y.ref,{$$typeof:a,type:s,key:v,ref:h!==void 0?h:null,props:y}}return Xp.Fragment=u,Xp.jsx=c,Xp.jsxs=c,Xp}var Qp={};/**
|
|
308
|
-
* @license React
|
|
309
|
-
* react-jsx-runtime.development.js
|
|
310
|
-
*
|
|
311
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
312
|
-
*
|
|
313
|
-
* This source code is licensed under the MIT license found in the
|
|
314
|
-
* LICENSE file in the root directory of this source tree.
|
|
315
|
-
*/var fE;function UO(){return fE||(fE=1,process.env.NODE_ENV!=="production"&&(function(){function a(A){if(A==null)return null;if(typeof A=="function")return A.$$typeof===He?null:A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case le:return"Fragment";case k:return"Profiler";case X:return"StrictMode";case ne:return"Suspense";case Q:return"SuspenseList";case Se:return"Activity"}if(typeof A=="object")switch(typeof A.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),A.$$typeof){case Y:return"Portal";case D:return(A.displayName||"Context")+".Provider";case L:return(A._context.displayName||"Context")+".Consumer";case oe:var K=A.render;return A=A.displayName,A||(A=K.displayName||K.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case pe:return K=A.displayName||null,K!==null?K:a(A.type)||"Memo";case we:K=A._payload,A=A._init;try{return a(A(K))}catch{}}return null}function u(A){return""+A}function c(A){try{u(A);var K=!1}catch{K=!0}if(K){K=console;var ce=K.error,U=typeof Symbol=="function"&&Symbol.toStringTag&&A[Symbol.toStringTag]||A.constructor.name||"Object";return ce.call(K,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",U),u(A)}}function s(A){if(A===le)return"<>";if(typeof A=="object"&&A!==null&&A.$$typeof===we)return"<...>";try{var K=a(A);return K?"<"+K+">":"<...>"}catch{return"<...>"}}function h(){var A=be.A;return A===null?null:A.getOwner()}function y(){return Error("react-stack-top-frame")}function v(A){if(Ee.call(A,"key")){var K=Object.getOwnPropertyDescriptor(A,"key").get;if(K&&K.isReactWarning)return!1}return A.key!==void 0}function b(A,K){function ce(){Te||(Te=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",K))}ce.isReactWarning=!0,Object.defineProperty(A,"key",{get:ce,configurable:!0})}function T(){var A=a(this.type);return q[A]||(q[A]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),A=this.props.ref,A!==void 0?A:null}function E(A,K,ce,U,_e,Ye,Oe,Wt){return ce=Ye.ref,A={$$typeof:_,type:A,key:K,props:Ye,_owner:_e},(ce!==void 0?ce:null)!==null?Object.defineProperty(A,"ref",{enumerable:!1,get:T}):Object.defineProperty(A,"ref",{enumerable:!1,value:null}),A._store={},Object.defineProperty(A._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(A,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(A,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:Oe}),Object.defineProperty(A,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Wt}),Object.freeze&&(Object.freeze(A.props),Object.freeze(A)),A}function O(A,K,ce,U,_e,Ye,Oe,Wt){var Ie=K.children;if(Ie!==void 0)if(U)if(Qe(Ie)){for(U=0;U<Ie.length;U++)R(Ie[U]);Object.freeze&&Object.freeze(Ie)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else R(Ie);if(Ee.call(K,"key")){Ie=a(A);var Bt=Object.keys(K).filter(function(Oa){return Oa!=="key"});U=0<Bt.length?"{key: someKey, "+Bt.join(": ..., ")+": ...}":"{key: someKey}",Ne[Ie+U]||(Bt=0<Bt.length?"{"+Bt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
316
|
-
let props = %s;
|
|
317
|
-
<%s {...props} />
|
|
318
|
-
React keys must be passed directly to JSX without using spread:
|
|
319
|
-
let props = %s;
|
|
320
|
-
<%s key={someKey} {...props} />`,U,Ie,Bt,Ie),Ne[Ie+U]=!0)}if(Ie=null,ce!==void 0&&(c(ce),Ie=""+ce),v(K)&&(c(K.key),Ie=""+K.key),"key"in K){ce={};for(var Dn in K)Dn!=="key"&&(ce[Dn]=K[Dn])}else ce=K;return Ie&&b(ce,typeof A=="function"?A.displayName||A.name||"Unknown":A),E(A,Ie,Ye,_e,h(),ce,Oe,Wt)}function R(A){typeof A=="object"&&A!==null&&A.$$typeof===_&&A._store&&(A._store.validated=1)}var z=rd(),_=Symbol.for("react.transitional.element"),Y=Symbol.for("react.portal"),le=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),k=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),D=Symbol.for("react.context"),oe=Symbol.for("react.forward_ref"),ne=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),Se=Symbol.for("react.activity"),He=Symbol.for("react.client.reference"),be=z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee=Object.prototype.hasOwnProperty,Qe=Array.isArray,ke=console.createTask?console.createTask:function(){return null};z={"react-stack-bottom-frame":function(A){return A()}};var Te,q={},F=z["react-stack-bottom-frame"].bind(z,y)(),ge=ke(s(y)),Ne={};Qp.Fragment=le,Qp.jsx=function(A,K,ce,U,_e){var Ye=1e4>be.recentlyCreatedOwnerStacks++;return O(A,K,ce,!1,U,_e,Ye?Error("react-stack-top-frame"):F,Ye?ke(s(A)):ge)},Qp.jsxs=function(A,K,ce,U,_e){var Ye=1e4>be.recentlyCreatedOwnerStacks++;return O(A,K,ce,!0,U,_e,Ye?Error("react-stack-top-frame"):F,Ye?ke(s(A)):ge)}})()),Qp}var dE;function HO(){return dE||(dE=1,process.env.NODE_ENV==="production"?sv.exports=kO():sv.exports=UO()),sv.exports}var ht=HO(),hE="vercel.ai.error",jO=Symbol.for(hE),pE,mE,Zu=class AO extends(mE=Error,pE=jO,mE){constructor({name:u,message:c,cause:s}){super(c),this[pE]=!0,this.name=u,this.cause=s}static isInstance(u){return AO.hasMarker(u,hE)}static hasMarker(u,c){const s=Symbol.for(c);return u!=null&&typeof u=="object"&&s in u&&typeof u[s]=="boolean"&&u[s]===!0}};function yE(a){return a==null?"unknown error":typeof a=="string"?a:a instanceof Error?a.message:JSON.stringify(a)}var gE="AI_InvalidArgumentError",vE=`vercel.ai.error.${gE}`,BO=Symbol.for(vE),bE,SE,LO=class extends(SE=Zu,bE=BO,SE){constructor({message:a,cause:u,argument:c}){super({name:gE,message:a,cause:u}),this[bE]=!0,this.argument=c}static isInstance(a){return Zu.hasMarker(a,vE)}},EE="AI_JSONParseError",TE=`vercel.ai.error.${EE}`,ZO=Symbol.for(TE),AE,xE,OE=class extends(xE=Zu,AE=ZO,xE){constructor({text:a,cause:u}){super({name:EE,message:`JSON parsing failed: Text: ${a}.
|
|
321
|
-
Error message: ${yE(u)}`,cause:u}),this[AE]=!0,this.text=a}static isInstance(a){return Zu.hasMarker(a,TE)}},RE="AI_TypeValidationError",wE=`vercel.ai.error.${RE}`,qO=Symbol.for(wE),zE,_E,od=class $S extends(_E=Zu,zE=qO,_E){constructor({value:u,cause:c,context:s}){let h="Type validation failed";if(s!=null&&s.field&&(h+=` for ${s.field}`),s!=null&&s.entityName||s!=null&&s.entityId){h+=" (";const y=[];s.entityName&&y.push(s.entityName),s.entityId&&y.push(`id: "${s.entityId}"`),h+=y.join(", "),h+=")"}super({name:RE,message:`${h}: Value: ${JSON.stringify(u)}.
|
|
322
|
-
Error message: ${yE(c)}`,cause:c}),this[zE]=!0,this.value=u,this.context=s}static isInstance(u){return Zu.hasMarker(u,wE)}static wrap({value:u,cause:c,context:s}){var h,y,v;return $S.isInstance(c)&&c.value===u&&((h=c.context)==null?void 0:h.field)===(s==null?void 0:s.field)&&((y=c.context)==null?void 0:y.entityName)===(s==null?void 0:s.entityName)&&((v=c.context)==null?void 0:v.entityId)===(s==null?void 0:s.entityId)?c:new $S({value:u,cause:c,context:s})}};function ye(a,u,c){function s(b,T){var E;Object.defineProperty(b,"_zod",{value:b._zod??{},enumerable:!1}),(E=b._zod).traits??(E.traits=new Set),b._zod.traits.add(a),u(b,T);for(const O in v.prototype)O in b||Object.defineProperty(b,O,{value:v.prototype[O].bind(b)});b._zod.constr=v,b._zod.def=T}const h=(c==null?void 0:c.Parent)??Object;class y extends h{}Object.defineProperty(y,"name",{value:a});function v(b){var T;const E=c!=null&&c.Parent?new y:this;s(E,b),(T=E._zod).deferred??(T.deferred=[]);for(const O of E._zod.deferred)O();return E}return Object.defineProperty(v,"init",{value:s}),Object.defineProperty(v,Symbol.hasInstance,{value:b=>{var T,E;return c!=null&&c.Parent&&b instanceof c.Parent?!0:(E=(T=b==null?void 0:b._zod)==null?void 0:T.traits)==null?void 0:E.has(a)}}),Object.defineProperty(v,"name",{value:a}),v}class Ip extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}const CE={};function Qo(a){return CE}function DE(a){const u=Object.values(a).filter(s=>typeof s=="number");return Object.entries(a).filter(([s,h])=>u.indexOf(+s)===-1).map(([s,h])=>h)}function YO(a,u){return typeof u=="bigint"?u.toString():u}function wb(a){return{get value(){{const u=a();return Object.defineProperty(this,"value",{value:u}),u}}}}function zb(a){return a==null}function _b(a){const u=a.startsWith("^")?1:0,c=a.endsWith("$")?a.length-1:a.length;return a.slice(u,c)}function VO(a,u){const c=(a.toString().split(".")[1]||"").length,s=(u.toString().split(".")[1]||"").length,h=c>s?c:s,y=Number.parseInt(a.toFixed(h).replace(".","")),v=Number.parseInt(u.toFixed(h).replace(".",""));return y%v/10**h}function Xt(a,u,c){Object.defineProperty(a,u,{get(){{const s=c();return a[u]=s,s}},set(s){Object.defineProperty(a,u,{value:s})},configurable:!0})}function fv(a,u,c){Object.defineProperty(a,u,{value:c,writable:!0,enumerable:!0,configurable:!0})}function Jp(a){return JSON.stringify(a)}const ME=Error.captureStackTrace?Error.captureStackTrace:(...a)=>{};function dv(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)}const GO=wb(()=>{var a;if(typeof navigator<"u"&&((a=navigator==null?void 0:navigator.userAgent)!=null&&a.includes("Cloudflare")))return!1;try{const u=Function;return new u(""),!0}catch{return!1}});function hv(a){if(dv(a)===!1)return!1;const u=a.constructor;if(u===void 0)return!0;const c=u.prototype;return!(dv(c)===!1||Object.prototype.hasOwnProperty.call(c,"isPrototypeOf")===!1)}const XO=new Set(["string","number","symbol"]);function $p(a){return a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ps(a,u,c){const s=new a._zod.constr(u??a._zod.def);return(!u||c!=null&&c.parent)&&(s._zod.parent=a),s}function Ve(a){const u=a;if(!u)return{};if(typeof u=="string")return{error:()=>u};if((u==null?void 0:u.message)!==void 0){if((u==null?void 0:u.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");u.error=u.message}return delete u.message,typeof u.error=="string"?{...u,error:()=>u.error}:u}function QO(a){return Object.keys(a).filter(u=>a[u]._zod.optin==="optional"&&a[u]._zod.optout==="optional")}const IO={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function JO(a,u){const c={},s=a._zod.def;for(const h in u){if(!(h in s.shape))throw new Error(`Unrecognized key: "${h}"`);u[h]&&(c[h]=s.shape[h])}return ps(a,{...a._zod.def,shape:c,checks:[]})}function $O(a,u){const c={...a._zod.def.shape},s=a._zod.def;for(const h in u){if(!(h in s.shape))throw new Error(`Unrecognized key: "${h}"`);u[h]&&delete c[h]}return ps(a,{...a._zod.def,shape:c,checks:[]})}function KO(a,u){if(!hv(u))throw new Error("Invalid input to extend: expected a plain object");const c={...a._zod.def,get shape(){const s={...a._zod.def.shape,...u};return fv(this,"shape",s),s},checks:[]};return ps(a,c)}function PO(a,u){return ps(a,{...a._zod.def,get shape(){const c={...a._zod.def.shape,...u._zod.def.shape};return fv(this,"shape",c),c},catchall:u._zod.def.catchall,checks:[]})}function FO(a,u,c){const s=u._zod.def.shape,h={...s};if(c)for(const y in c){if(!(y in s))throw new Error(`Unrecognized key: "${y}"`);c[y]&&(h[y]=a?new a({type:"optional",innerType:s[y]}):s[y])}else for(const y in s)h[y]=a?new a({type:"optional",innerType:s[y]}):s[y];return ps(u,{...u._zod.def,shape:h,checks:[]})}function WO(a,u,c){const s=u._zod.def.shape,h={...s};if(c)for(const y in c){if(!(y in h))throw new Error(`Unrecognized key: "${y}"`);c[y]&&(h[y]=new a({type:"nonoptional",innerType:s[y]}))}else for(const y in s)h[y]=new a({type:"nonoptional",innerType:s[y]});return ps(u,{...u._zod.def,shape:h,checks:[]})}function Kp(a,u=0){var c;for(let s=u;s<a.issues.length;s++)if(((c=a.issues[s])==null?void 0:c.continue)!==!0)return!0;return!1}function ms(a,u){return u.map(c=>{var s;return(s=c).path??(s.path=[]),c.path.unshift(a),c})}function pv(a){return typeof a=="string"?a:a==null?void 0:a.message}function Io(a,u,c){var h,y,v,b,T,E;const s={...a,path:a.path??[]};if(!a.message){const O=pv((v=(y=(h=a.inst)==null?void 0:h._zod.def)==null?void 0:y.error)==null?void 0:v.call(y,a))??pv((b=u==null?void 0:u.error)==null?void 0:b.call(u,a))??pv((T=c.customError)==null?void 0:T.call(c,a))??pv((E=c.localeError)==null?void 0:E.call(c,a))??"Invalid input";s.message=O}return delete s.inst,delete s.continue,u!=null&&u.reportInput||delete s.input,s}function Cb(a){return Array.isArray(a)?"array":typeof a=="string"?"string":"unknown"}function Pp(...a){const[u,c,s]=a;return typeof u=="string"?{message:u,code:"custom",input:c,inst:s}:{...u}}const NE=(a,u)=>{a.name="$ZodError",Object.defineProperty(a,"_zod",{value:a._zod,enumerable:!1}),Object.defineProperty(a,"issues",{value:u,enumerable:!1}),Object.defineProperty(a,"message",{get(){return JSON.stringify(u,YO,2)},enumerable:!0}),Object.defineProperty(a,"toString",{value:()=>a.message,enumerable:!1})},kE=ye("$ZodError",NE),UE=ye("$ZodError",NE,{Parent:Error});function eR(a,u=c=>c.message){const c={},s=[];for(const h of a.issues)h.path.length>0?(c[h.path[0]]=c[h.path[0]]||[],c[h.path[0]].push(u(h))):s.push(u(h));return{formErrors:s,fieldErrors:c}}function tR(a,u){const c=u||function(y){return y.message},s={_errors:[]},h=y=>{for(const v of y.issues)if(v.code==="invalid_union"&&v.errors.length)v.errors.map(b=>h({issues:b}));else if(v.code==="invalid_key")h({issues:v.issues});else if(v.code==="invalid_element")h({issues:v.issues});else if(v.path.length===0)s._errors.push(c(v));else{let b=s,T=0;for(;T<v.path.length;){const E=v.path[T];T===v.path.length-1?(b[E]=b[E]||{_errors:[]},b[E]._errors.push(c(v))):b[E]=b[E]||{_errors:[]},b=b[E],T++}}};return h(a),s}const nR=a=>(u,c,s,h)=>{const y=s?Object.assign(s,{async:!1}):{async:!1},v=u._zod.run({value:c,issues:[]},y);if(v instanceof Promise)throw new Ip;if(v.issues.length){const b=new((h==null?void 0:h.Err)??a)(v.issues.map(T=>Io(T,y,Qo())));throw ME(b,h==null?void 0:h.callee),b}return v.value},aR=a=>async(u,c,s,h)=>{const y=s?Object.assign(s,{async:!0}):{async:!0};let v=u._zod.run({value:c,issues:[]},y);if(v instanceof Promise&&(v=await v),v.issues.length){const b=new((h==null?void 0:h.Err)??a)(v.issues.map(T=>Io(T,y,Qo())));throw ME(b,h==null?void 0:h.callee),b}return v.value},HE=a=>(u,c,s)=>{const h=s?{...s,async:!1}:{async:!1},y=u._zod.run({value:c,issues:[]},h);if(y instanceof Promise)throw new Ip;return y.issues.length?{success:!1,error:new(a??kE)(y.issues.map(v=>Io(v,h,Qo())))}:{success:!0,data:y.value}},lR=HE(UE),jE=a=>async(u,c,s)=>{const h=s?Object.assign(s,{async:!0}):{async:!0};let y=u._zod.run({value:c,issues:[]},h);return y instanceof Promise&&(y=await y),y.issues.length?{success:!1,error:new a(y.issues.map(v=>Io(v,h,Qo())))}:{success:!0,data:y.value}},iR=jE(UE),uR=/^[cC][^\s-]{8,}$/,rR=/^[0-9a-z]+$/,oR=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,cR=/^[0-9a-vA-V]{20}$/,sR=/^[A-Za-z0-9]{27}$/,fR=/^[a-zA-Z0-9_-]{21}$/,dR=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,hR=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,BE=a=>a?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${a}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,pR=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,mR="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function yR(){return new RegExp(mR,"u")}const gR=/^(?:(?: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])$/,vR=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,bR=/^((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])\/([0-9]|[1-2][0-9]|3[0-2])$/,SR=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ER=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,LE=/^[A-Za-z0-9_-]*$/,TR=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,AR=/^\+(?:[0-9]){6,14}[0-9]$/,ZE="(?:(?:\\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])))",xR=new RegExp(`^${ZE}$`);function qE(a){const u="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof a.precision=="number"?a.precision===-1?`${u}`:a.precision===0?`${u}:[0-5]\\d`:`${u}:[0-5]\\d\\.\\d{${a.precision}}`:`${u}(?::[0-5]\\d(?:\\.\\d+)?)?`}function OR(a){return new RegExp(`^${qE(a)}$`)}function RR(a){const u=qE({precision:a.precision}),c=["Z"];a.local&&c.push(""),a.offset&&c.push("([+-]\\d{2}:\\d{2})");const s=`${u}(?:${c.join("|")})`;return new RegExp(`^${ZE}T(?:${s})$`)}const wR=a=>{const u=a?`[\\s\\S]{${(a==null?void 0:a.minimum)??0},${(a==null?void 0:a.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${u}$`)},zR=/^\d+$/,_R=/^-?\d+(?:\.\d+)?/i,CR=/true|false/i,DR=/null/i,MR=/^[^A-Z]*$/,NR=/^[^a-z]*$/,bl=ye("$ZodCheck",(a,u)=>{var c;a._zod??(a._zod={}),a._zod.def=u,(c=a._zod).onattach??(c.onattach=[])}),YE={number:"number",bigint:"bigint",object:"date"},VE=ye("$ZodCheckLessThan",(a,u)=>{bl.init(a,u);const c=YE[typeof u.value];a._zod.onattach.push(s=>{const h=s._zod.bag,y=(u.inclusive?h.maximum:h.exclusiveMaximum)??Number.POSITIVE_INFINITY;u.value<y&&(u.inclusive?h.maximum=u.value:h.exclusiveMaximum=u.value)}),a._zod.check=s=>{(u.inclusive?s.value<=u.value:s.value<u.value)||s.issues.push({origin:c,code:"too_big",maximum:u.value,input:s.value,inclusive:u.inclusive,inst:a,continue:!u.abort})}}),GE=ye("$ZodCheckGreaterThan",(a,u)=>{bl.init(a,u);const c=YE[typeof u.value];a._zod.onattach.push(s=>{const h=s._zod.bag,y=(u.inclusive?h.minimum:h.exclusiveMinimum)??Number.NEGATIVE_INFINITY;u.value>y&&(u.inclusive?h.minimum=u.value:h.exclusiveMinimum=u.value)}),a._zod.check=s=>{(u.inclusive?s.value>=u.value:s.value>u.value)||s.issues.push({origin:c,code:"too_small",minimum:u.value,input:s.value,inclusive:u.inclusive,inst:a,continue:!u.abort})}}),kR=ye("$ZodCheckMultipleOf",(a,u)=>{bl.init(a,u),a._zod.onattach.push(c=>{var s;(s=c._zod.bag).multipleOf??(s.multipleOf=u.value)}),a._zod.check=c=>{if(typeof c.value!=typeof u.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof c.value=="bigint"?c.value%u.value===BigInt(0):VO(c.value,u.value)===0)||c.issues.push({origin:typeof c.value,code:"not_multiple_of",divisor:u.value,input:c.value,inst:a,continue:!u.abort})}}),UR=ye("$ZodCheckNumberFormat",(a,u)=>{var v;bl.init(a,u),u.format=u.format||"float64";const c=(v=u.format)==null?void 0:v.includes("int"),s=c?"int":"number",[h,y]=IO[u.format];a._zod.onattach.push(b=>{const T=b._zod.bag;T.format=u.format,T.minimum=h,T.maximum=y,c&&(T.pattern=zR)}),a._zod.check=b=>{const T=b.value;if(c){if(!Number.isInteger(T)){b.issues.push({expected:s,format:u.format,code:"invalid_type",input:T,inst:a});return}if(!Number.isSafeInteger(T)){T>0?b.issues.push({input:T,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:a,origin:s,continue:!u.abort}):b.issues.push({input:T,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:a,origin:s,continue:!u.abort});return}}T<h&&b.issues.push({origin:"number",input:T,code:"too_small",minimum:h,inclusive:!0,inst:a,continue:!u.abort}),T>y&&b.issues.push({origin:"number",input:T,code:"too_big",maximum:y,inst:a})}}),HR=ye("$ZodCheckMaxLength",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!zb(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag.maximum??Number.POSITIVE_INFINITY;u.maximum<h&&(s._zod.bag.maximum=u.maximum)}),a._zod.check=s=>{const h=s.value;if(h.length<=u.maximum)return;const v=Cb(h);s.issues.push({origin:v,code:"too_big",maximum:u.maximum,inclusive:!0,input:h,inst:a,continue:!u.abort})}}),jR=ye("$ZodCheckMinLength",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!zb(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag.minimum??Number.NEGATIVE_INFINITY;u.minimum>h&&(s._zod.bag.minimum=u.minimum)}),a._zod.check=s=>{const h=s.value;if(h.length>=u.minimum)return;const v=Cb(h);s.issues.push({origin:v,code:"too_small",minimum:u.minimum,inclusive:!0,input:h,inst:a,continue:!u.abort})}}),BR=ye("$ZodCheckLengthEquals",(a,u)=>{var c;bl.init(a,u),(c=a._zod.def).when??(c.when=s=>{const h=s.value;return!zb(h)&&h.length!==void 0}),a._zod.onattach.push(s=>{const h=s._zod.bag;h.minimum=u.length,h.maximum=u.length,h.length=u.length}),a._zod.check=s=>{const h=s.value,y=h.length;if(y===u.length)return;const v=Cb(h),b=y>u.length;s.issues.push({origin:v,...b?{code:"too_big",maximum:u.length}:{code:"too_small",minimum:u.length},inclusive:!0,exact:!0,input:s.value,inst:a,continue:!u.abort})}}),mv=ye("$ZodCheckStringFormat",(a,u)=>{var c,s;bl.init(a,u),a._zod.onattach.push(h=>{const y=h._zod.bag;y.format=u.format,u.pattern&&(y.patterns??(y.patterns=new Set),y.patterns.add(u.pattern))}),u.pattern?(c=a._zod).check??(c.check=h=>{u.pattern.lastIndex=0,!u.pattern.test(h.value)&&h.issues.push({origin:"string",code:"invalid_format",format:u.format,input:h.value,...u.pattern?{pattern:u.pattern.toString()}:{},inst:a,continue:!u.abort})}):(s=a._zod).check??(s.check=()=>{})}),LR=ye("$ZodCheckRegex",(a,u)=>{mv.init(a,u),a._zod.check=c=>{u.pattern.lastIndex=0,!u.pattern.test(c.value)&&c.issues.push({origin:"string",code:"invalid_format",format:"regex",input:c.value,pattern:u.pattern.toString(),inst:a,continue:!u.abort})}}),ZR=ye("$ZodCheckLowerCase",(a,u)=>{u.pattern??(u.pattern=MR),mv.init(a,u)}),qR=ye("$ZodCheckUpperCase",(a,u)=>{u.pattern??(u.pattern=NR),mv.init(a,u)}),YR=ye("$ZodCheckIncludes",(a,u)=>{bl.init(a,u);const c=$p(u.includes),s=new RegExp(typeof u.position=="number"?`^.{${u.position}}${c}`:c);u.pattern=s,a._zod.onattach.push(h=>{const y=h._zod.bag;y.patterns??(y.patterns=new Set),y.patterns.add(s)}),a._zod.check=h=>{h.value.includes(u.includes,u.position)||h.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:u.includes,input:h.value,inst:a,continue:!u.abort})}}),VR=ye("$ZodCheckStartsWith",(a,u)=>{bl.init(a,u);const c=new RegExp(`^${$p(u.prefix)}.*`);u.pattern??(u.pattern=c),a._zod.onattach.push(s=>{const h=s._zod.bag;h.patterns??(h.patterns=new Set),h.patterns.add(c)}),a._zod.check=s=>{s.value.startsWith(u.prefix)||s.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:u.prefix,input:s.value,inst:a,continue:!u.abort})}}),GR=ye("$ZodCheckEndsWith",(a,u)=>{bl.init(a,u);const c=new RegExp(`.*${$p(u.suffix)}$`);u.pattern??(u.pattern=c),a._zod.onattach.push(s=>{const h=s._zod.bag;h.patterns??(h.patterns=new Set),h.patterns.add(c)}),a._zod.check=s=>{s.value.endsWith(u.suffix)||s.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:u.suffix,input:s.value,inst:a,continue:!u.abort})}}),XR=ye("$ZodCheckOverwrite",(a,u)=>{bl.init(a,u),a._zod.check=c=>{c.value=u.tx(c.value)}});class QR{constructor(u=[]){this.content=[],this.indent=0,this&&(this.args=u)}indented(u){this.indent+=1,u(this),this.indent-=1}write(u){if(typeof u=="function"){u(this,{execution:"sync"}),u(this,{execution:"async"});return}const s=u.split(`
|
|
323
|
-
`).filter(v=>v),h=Math.min(...s.map(v=>v.length-v.trimStart().length)),y=s.map(v=>v.slice(h)).map(v=>" ".repeat(this.indent*2)+v);for(const v of y)this.content.push(v)}compile(){const u=Function,c=this==null?void 0:this.args,h=[...((this==null?void 0:this.content)??[""]).map(y=>` ${y}`)];return new u(...c,h.join(`
|
|
324
|
-
`))}}const IR={major:4,minor:0,patch:0},ln=ye("$ZodType",(a,u)=>{var h;var c;a??(a={}),a._zod.def=u,a._zod.bag=a._zod.bag||{},a._zod.version=IR;const s=[...a._zod.def.checks??[]];a._zod.traits.has("$ZodCheck")&&s.unshift(a);for(const y of s)for(const v of y._zod.onattach)v(a);if(s.length===0)(c=a._zod).deferred??(c.deferred=[]),(h=a._zod.deferred)==null||h.push(()=>{a._zod.run=a._zod.parse});else{const y=(v,b,T)=>{let E=Kp(v),O;for(const R of b){if(R._zod.def.when){if(!R._zod.def.when(v))continue}else if(E)continue;const z=v.issues.length,_=R._zod.check(v);if(_ instanceof Promise&&(T==null?void 0:T.async)===!1)throw new Ip;if(O||_ instanceof Promise)O=(O??Promise.resolve()).then(async()=>{await _,v.issues.length!==z&&(E||(E=Kp(v,z)))});else{if(v.issues.length===z)continue;E||(E=Kp(v,z))}}return O?O.then(()=>v):v};a._zod.run=(v,b)=>{const T=a._zod.parse(v,b);if(T instanceof Promise){if(b.async===!1)throw new Ip;return T.then(E=>y(E,s,b))}return y(T,s,b)}}a["~standard"]={validate:y=>{var v;try{const b=lR(a,y);return b.success?{value:b.data}:{issues:(v=b.error)==null?void 0:v.issues}}catch{return iR(a,y).then(T=>{var E;return T.success?{value:T.data}:{issues:(E=T.error)==null?void 0:E.issues}})}},vendor:"zod",version:1}}),Db=ye("$ZodString",(a,u)=>{var c;ln.init(a,u),a._zod.pattern=[...((c=a==null?void 0:a._zod.bag)==null?void 0:c.patterns)??[]].pop()??wR(a._zod.bag),a._zod.parse=(s,h)=>{if(u.coerce)try{s.value=String(s.value)}catch{}return typeof s.value=="string"||s.issues.push({expected:"string",code:"invalid_type",input:s.value,inst:a}),s}}),Sn=ye("$ZodStringFormat",(a,u)=>{mv.init(a,u),Db.init(a,u)}),JR=ye("$ZodGUID",(a,u)=>{u.pattern??(u.pattern=hR),Sn.init(a,u)}),$R=ye("$ZodUUID",(a,u)=>{if(u.version){const s={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[u.version];if(s===void 0)throw new Error(`Invalid UUID version: "${u.version}"`);u.pattern??(u.pattern=BE(s))}else u.pattern??(u.pattern=BE());Sn.init(a,u)}),KR=ye("$ZodEmail",(a,u)=>{u.pattern??(u.pattern=pR),Sn.init(a,u)}),PR=ye("$ZodURL",(a,u)=>{Sn.init(a,u),a._zod.check=c=>{try{const s=c.value,h=new URL(s),y=h.href;u.hostname&&(u.hostname.lastIndex=0,u.hostname.test(h.hostname)||c.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:TR.source,input:c.value,inst:a,continue:!u.abort})),u.protocol&&(u.protocol.lastIndex=0,u.protocol.test(h.protocol.endsWith(":")?h.protocol.slice(0,-1):h.protocol)||c.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:u.protocol.source,input:c.value,inst:a,continue:!u.abort})),!s.endsWith("/")&&y.endsWith("/")?c.value=y.slice(0,-1):c.value=y;return}catch{c.issues.push({code:"invalid_format",format:"url",input:c.value,inst:a,continue:!u.abort})}}}),FR=ye("$ZodEmoji",(a,u)=>{u.pattern??(u.pattern=yR()),Sn.init(a,u)}),WR=ye("$ZodNanoID",(a,u)=>{u.pattern??(u.pattern=fR),Sn.init(a,u)}),ew=ye("$ZodCUID",(a,u)=>{u.pattern??(u.pattern=uR),Sn.init(a,u)}),tw=ye("$ZodCUID2",(a,u)=>{u.pattern??(u.pattern=rR),Sn.init(a,u)}),nw=ye("$ZodULID",(a,u)=>{u.pattern??(u.pattern=oR),Sn.init(a,u)}),aw=ye("$ZodXID",(a,u)=>{u.pattern??(u.pattern=cR),Sn.init(a,u)}),lw=ye("$ZodKSUID",(a,u)=>{u.pattern??(u.pattern=sR),Sn.init(a,u)}),iw=ye("$ZodISODateTime",(a,u)=>{u.pattern??(u.pattern=RR(u)),Sn.init(a,u)}),uw=ye("$ZodISODate",(a,u)=>{u.pattern??(u.pattern=xR),Sn.init(a,u)}),rw=ye("$ZodISOTime",(a,u)=>{u.pattern??(u.pattern=OR(u)),Sn.init(a,u)}),ow=ye("$ZodISODuration",(a,u)=>{u.pattern??(u.pattern=dR),Sn.init(a,u)}),cw=ye("$ZodIPv4",(a,u)=>{u.pattern??(u.pattern=gR),Sn.init(a,u),a._zod.onattach.push(c=>{const s=c._zod.bag;s.format="ipv4"})}),sw=ye("$ZodIPv6",(a,u)=>{u.pattern??(u.pattern=vR),Sn.init(a,u),a._zod.onattach.push(c=>{const s=c._zod.bag;s.format="ipv6"}),a._zod.check=c=>{try{new URL(`http://[${c.value}]`)}catch{c.issues.push({code:"invalid_format",format:"ipv6",input:c.value,inst:a,continue:!u.abort})}}}),fw=ye("$ZodCIDRv4",(a,u)=>{u.pattern??(u.pattern=bR),Sn.init(a,u)}),dw=ye("$ZodCIDRv6",(a,u)=>{u.pattern??(u.pattern=SR),Sn.init(a,u),a._zod.check=c=>{const[s,h]=c.value.split("/");try{if(!h)throw new Error;const y=Number(h);if(`${y}`!==h)throw new Error;if(y<0||y>128)throw new Error;new URL(`http://[${s}]`)}catch{c.issues.push({code:"invalid_format",format:"cidrv6",input:c.value,inst:a,continue:!u.abort})}}});function XE(a){if(a==="")return!0;if(a.length%4!==0)return!1;try{return atob(a),!0}catch{return!1}}const hw=ye("$ZodBase64",(a,u)=>{u.pattern??(u.pattern=ER),Sn.init(a,u),a._zod.onattach.push(c=>{c._zod.bag.contentEncoding="base64"}),a._zod.check=c=>{XE(c.value)||c.issues.push({code:"invalid_format",format:"base64",input:c.value,inst:a,continue:!u.abort})}});function pw(a){if(!LE.test(a))return!1;const u=a.replace(/[-_]/g,s=>s==="-"?"+":"/"),c=u.padEnd(Math.ceil(u.length/4)*4,"=");return XE(c)}const mw=ye("$ZodBase64URL",(a,u)=>{u.pattern??(u.pattern=LE),Sn.init(a,u),a._zod.onattach.push(c=>{c._zod.bag.contentEncoding="base64url"}),a._zod.check=c=>{pw(c.value)||c.issues.push({code:"invalid_format",format:"base64url",input:c.value,inst:a,continue:!u.abort})}}),yw=ye("$ZodE164",(a,u)=>{u.pattern??(u.pattern=AR),Sn.init(a,u)});function gw(a,u=null){try{const c=a.split(".");if(c.length!==3)return!1;const[s]=c;if(!s)return!1;const h=JSON.parse(atob(s));return!("typ"in h&&(h==null?void 0:h.typ)!=="JWT"||!h.alg||u&&(!("alg"in h)||h.alg!==u))}catch{return!1}}const vw=ye("$ZodJWT",(a,u)=>{Sn.init(a,u),a._zod.check=c=>{gw(c.value,u.alg)||c.issues.push({code:"invalid_format",format:"jwt",input:c.value,inst:a,continue:!u.abort})}}),QE=ye("$ZodNumber",(a,u)=>{ln.init(a,u),a._zod.pattern=a._zod.bag.pattern??_R,a._zod.parse=(c,s)=>{if(u.coerce)try{c.value=Number(c.value)}catch{}const h=c.value;if(typeof h=="number"&&!Number.isNaN(h)&&Number.isFinite(h))return c;const y=typeof h=="number"?Number.isNaN(h)?"NaN":Number.isFinite(h)?void 0:"Infinity":void 0;return c.issues.push({expected:"number",code:"invalid_type",input:h,inst:a,...y?{received:y}:{}}),c}}),bw=ye("$ZodNumber",(a,u)=>{UR.init(a,u),QE.init(a,u)}),Sw=ye("$ZodBoolean",(a,u)=>{ln.init(a,u),a._zod.pattern=CR,a._zod.parse=(c,s)=>{if(u.coerce)try{c.value=!!c.value}catch{}const h=c.value;return typeof h=="boolean"||c.issues.push({expected:"boolean",code:"invalid_type",input:h,inst:a}),c}}),Ew=ye("$ZodNull",(a,u)=>{ln.init(a,u),a._zod.pattern=DR,a._zod.values=new Set([null]),a._zod.parse=(c,s)=>{const h=c.value;return h===null||c.issues.push({expected:"null",code:"invalid_type",input:h,inst:a}),c}}),Tw=ye("$ZodUnknown",(a,u)=>{ln.init(a,u),a._zod.parse=c=>c}),Aw=ye("$ZodNever",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>(c.issues.push({expected:"never",code:"invalid_type",input:c.value,inst:a}),c)});function IE(a,u,c){a.issues.length&&u.issues.push(...ms(c,a.issues)),u.value[c]=a.value}const xw=ye("$ZodArray",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value;if(!Array.isArray(h))return c.issues.push({expected:"array",code:"invalid_type",input:h,inst:a}),c;c.value=Array(h.length);const y=[];for(let v=0;v<h.length;v++){const b=h[v],T=u.element._zod.run({value:b,issues:[]},s);T instanceof Promise?y.push(T.then(E=>IE(E,c,v))):IE(T,c,v)}return y.length?Promise.all(y).then(()=>c):c}});function yv(a,u,c){a.issues.length&&u.issues.push(...ms(c,a.issues)),u.value[c]=a.value}function JE(a,u,c,s){a.issues.length?s[c]===void 0?c in s?u.value[c]=void 0:u.value[c]=a.value:u.issues.push(...ms(c,a.issues)):a.value===void 0?c in s&&(u.value[c]=void 0):u.value[c]=a.value}const Ow=ye("$ZodObject",(a,u)=>{ln.init(a,u);const c=wb(()=>{const R=Object.keys(u.shape);for(const _ of R)if(!(u.shape[_]instanceof ln))throw new Error(`Invalid element at key "${_}": expected a Zod schema`);const z=QO(u.shape);return{shape:u.shape,keys:R,keySet:new Set(R),numKeys:R.length,optionalKeys:new Set(z)}});Xt(a._zod,"propValues",()=>{const R=u.shape,z={};for(const _ in R){const Y=R[_]._zod;if(Y.values){z[_]??(z[_]=new Set);for(const le of Y.values)z[_].add(le)}}return z});const s=R=>{const z=new QR(["shape","payload","ctx"]),_=c.value,Y=L=>{const D=Jp(L);return`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`};z.write("const input = payload.value;");const le=Object.create(null);let X=0;for(const L of _.keys)le[L]=`key_${X++}`;z.write("const newResult = {}");for(const L of _.keys)if(_.optionalKeys.has(L)){const D=le[L];z.write(`const ${D} = ${Y(L)};`);const oe=Jp(L);z.write(`
|
|
325
|
-
if (${D}.issues.length) {
|
|
326
|
-
if (input[${oe}] === undefined) {
|
|
327
|
-
if (${oe} in input) {
|
|
328
|
-
newResult[${oe}] = undefined;
|
|
329
|
-
}
|
|
330
|
-
} else {
|
|
331
|
-
payload.issues = payload.issues.concat(
|
|
332
|
-
${D}.issues.map((iss) => ({
|
|
333
|
-
...iss,
|
|
334
|
-
path: iss.path ? [${oe}, ...iss.path] : [${oe}],
|
|
335
|
-
}))
|
|
336
|
-
);
|
|
337
|
-
}
|
|
338
|
-
} else if (${D}.value === undefined) {
|
|
339
|
-
if (${oe} in input) newResult[${oe}] = undefined;
|
|
340
|
-
} else {
|
|
341
|
-
newResult[${oe}] = ${D}.value;
|
|
342
|
-
}
|
|
343
|
-
`)}else{const D=le[L];z.write(`const ${D} = ${Y(L)};`),z.write(`
|
|
344
|
-
if (${D}.issues.length) payload.issues = payload.issues.concat(${D}.issues.map(iss => ({
|
|
345
|
-
...iss,
|
|
346
|
-
path: iss.path ? [${Jp(L)}, ...iss.path] : [${Jp(L)}]
|
|
347
|
-
})));`),z.write(`newResult[${Jp(L)}] = ${D}.value`)}z.write("payload.value = newResult;"),z.write("return payload;");const k=z.compile();return(L,D)=>k(R,L,D)};let h;const y=dv,v=!CE.jitless,T=v&&GO.value,E=u.catchall;let O;a._zod.parse=(R,z)=>{O??(O=c.value);const _=R.value;if(!y(_))return R.issues.push({expected:"object",code:"invalid_type",input:_,inst:a}),R;const Y=[];if(v&&T&&(z==null?void 0:z.async)===!1&&z.jitless!==!0)h||(h=s(u.shape)),R=h(R,z);else{R.value={};const D=O.shape;for(const oe of O.keys){const ne=D[oe],Q=ne._zod.run({value:_[oe],issues:[]},z),pe=ne._zod.optin==="optional"&&ne._zod.optout==="optional";Q instanceof Promise?Y.push(Q.then(we=>pe?JE(we,R,oe,_):yv(we,R,oe))):pe?JE(Q,R,oe,_):yv(Q,R,oe)}}if(!E)return Y.length?Promise.all(Y).then(()=>R):R;const le=[],X=O.keySet,k=E._zod,L=k.def.type;for(const D of Object.keys(_)){if(X.has(D))continue;if(L==="never"){le.push(D);continue}const oe=k.run({value:_[D],issues:[]},z);oe instanceof Promise?Y.push(oe.then(ne=>yv(ne,R,D))):yv(oe,R,D)}return le.length&&R.issues.push({code:"unrecognized_keys",keys:le,input:_,inst:a}),Y.length?Promise.all(Y).then(()=>R):R}});function $E(a,u,c,s){for(const h of a)if(h.issues.length===0)return u.value=h.value,u;return u.issues.push({code:"invalid_union",input:u.value,inst:c,errors:a.map(h=>h.issues.map(y=>Io(y,s,Qo())))}),u}const KE=ye("$ZodUnion",(a,u)=>{ln.init(a,u),Xt(a._zod,"optin",()=>u.options.some(c=>c._zod.optin==="optional")?"optional":void 0),Xt(a._zod,"optout",()=>u.options.some(c=>c._zod.optout==="optional")?"optional":void 0),Xt(a._zod,"values",()=>{if(u.options.every(c=>c._zod.values))return new Set(u.options.flatMap(c=>Array.from(c._zod.values)))}),Xt(a._zod,"pattern",()=>{if(u.options.every(c=>c._zod.pattern)){const c=u.options.map(s=>s._zod.pattern);return new RegExp(`^(${c.map(s=>_b(s.source)).join("|")})$`)}}),a._zod.parse=(c,s)=>{let h=!1;const y=[];for(const v of u.options){const b=v._zod.run({value:c.value,issues:[]},s);if(b instanceof Promise)y.push(b),h=!0;else{if(b.issues.length===0)return b;y.push(b)}}return h?Promise.all(y).then(v=>$E(v,c,a,s)):$E(y,c,a,s)}}),Rw=ye("$ZodDiscriminatedUnion",(a,u)=>{KE.init(a,u);const c=a._zod.parse;Xt(a._zod,"propValues",()=>{const h={};for(const y of u.options){const v=y._zod.propValues;if(!v||Object.keys(v).length===0)throw new Error(`Invalid discriminated union option at index "${u.options.indexOf(y)}"`);for(const[b,T]of Object.entries(v)){h[b]||(h[b]=new Set);for(const E of T)h[b].add(E)}}return h});const s=wb(()=>{const h=u.options,y=new Map;for(const v of h){const b=v._zod.propValues[u.discriminator];if(!b||b.size===0)throw new Error(`Invalid discriminated union option at index "${u.options.indexOf(v)}"`);for(const T of b){if(y.has(T))throw new Error(`Duplicate discriminator value "${String(T)}"`);y.set(T,v)}}return y});a._zod.parse=(h,y)=>{const v=h.value;if(!dv(v))return h.issues.push({code:"invalid_type",expected:"object",input:v,inst:a}),h;const b=s.value.get(v==null?void 0:v[u.discriminator]);return b?b._zod.run(h,y):u.unionFallback?c(h,y):(h.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:v,path:[u.discriminator],inst:a}),h)}}),ww=ye("$ZodIntersection",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value,y=u.left._zod.run({value:h,issues:[]},s),v=u.right._zod.run({value:h,issues:[]},s);return y instanceof Promise||v instanceof Promise?Promise.all([y,v]).then(([T,E])=>PE(c,T,E)):PE(c,y,v)}});function Mb(a,u){if(a===u)return{valid:!0,data:a};if(a instanceof Date&&u instanceof Date&&+a==+u)return{valid:!0,data:a};if(hv(a)&&hv(u)){const c=Object.keys(u),s=Object.keys(a).filter(y=>c.indexOf(y)!==-1),h={...a,...u};for(const y of s){const v=Mb(a[y],u[y]);if(!v.valid)return{valid:!1,mergeErrorPath:[y,...v.mergeErrorPath]};h[y]=v.data}return{valid:!0,data:h}}if(Array.isArray(a)&&Array.isArray(u)){if(a.length!==u.length)return{valid:!1,mergeErrorPath:[]};const c=[];for(let s=0;s<a.length;s++){const h=a[s],y=u[s],v=Mb(h,y);if(!v.valid)return{valid:!1,mergeErrorPath:[s,...v.mergeErrorPath]};c.push(v.data)}return{valid:!0,data:c}}return{valid:!1,mergeErrorPath:[]}}function PE(a,u,c){if(u.issues.length&&a.issues.push(...u.issues),c.issues.length&&a.issues.push(...c.issues),Kp(a))return a;const s=Mb(u.value,c.value);if(!s.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return a.value=s.data,a}const zw=ye("$ZodRecord",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=c.value;if(!hv(h))return c.issues.push({expected:"record",code:"invalid_type",input:h,inst:a}),c;const y=[];if(u.keyType._zod.values){const v=u.keyType._zod.values;c.value={};for(const T of v)if(typeof T=="string"||typeof T=="number"||typeof T=="symbol"){const E=u.valueType._zod.run({value:h[T],issues:[]},s);E instanceof Promise?y.push(E.then(O=>{O.issues.length&&c.issues.push(...ms(T,O.issues)),c.value[T]=O.value})):(E.issues.length&&c.issues.push(...ms(T,E.issues)),c.value[T]=E.value)}let b;for(const T in h)v.has(T)||(b=b??[],b.push(T));b&&b.length>0&&c.issues.push({code:"unrecognized_keys",input:h,inst:a,keys:b})}else{c.value={};for(const v of Reflect.ownKeys(h)){if(v==="__proto__")continue;const b=u.keyType._zod.run({value:v,issues:[]},s);if(b instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(b.issues.length){c.issues.push({origin:"record",code:"invalid_key",issues:b.issues.map(E=>Io(E,s,Qo())),input:v,path:[v],inst:a}),c.value[b.value]=b.value;continue}const T=u.valueType._zod.run({value:h[v],issues:[]},s);T instanceof Promise?y.push(T.then(E=>{E.issues.length&&c.issues.push(...ms(v,E.issues)),c.value[b.value]=E.value})):(T.issues.length&&c.issues.push(...ms(v,T.issues)),c.value[b.value]=T.value)}}return y.length?Promise.all(y).then(()=>c):c}}),_w=ye("$ZodEnum",(a,u)=>{ln.init(a,u);const c=DE(u.entries);a._zod.values=new Set(c),a._zod.pattern=new RegExp(`^(${c.filter(s=>XO.has(typeof s)).map(s=>typeof s=="string"?$p(s):s.toString()).join("|")})$`),a._zod.parse=(s,h)=>{const y=s.value;return a._zod.values.has(y)||s.issues.push({code:"invalid_value",values:c,input:y,inst:a}),s}}),Cw=ye("$ZodLiteral",(a,u)=>{ln.init(a,u),a._zod.values=new Set(u.values),a._zod.pattern=new RegExp(`^(${u.values.map(c=>typeof c=="string"?$p(c):c?c.toString():String(c)).join("|")})$`),a._zod.parse=(c,s)=>{const h=c.value;return a._zod.values.has(h)||c.issues.push({code:"invalid_value",values:u.values,input:h,inst:a}),c}}),Dw=ye("$ZodTransform",(a,u)=>{ln.init(a,u),a._zod.parse=(c,s)=>{const h=u.transform(c.value,c);if(s.async)return(h instanceof Promise?h:Promise.resolve(h)).then(v=>(c.value=v,c));if(h instanceof Promise)throw new Ip;return c.value=h,c}}),Mw=ye("$ZodOptional",(a,u)=>{ln.init(a,u),a._zod.optin="optional",a._zod.optout="optional",Xt(a._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,void 0]):void 0),Xt(a._zod,"pattern",()=>{const c=u.innerType._zod.pattern;return c?new RegExp(`^(${_b(c.source)})?$`):void 0}),a._zod.parse=(c,s)=>u.innerType._zod.optin==="optional"?u.innerType._zod.run(c,s):c.value===void 0?c:u.innerType._zod.run(c,s)}),Nw=ye("$ZodNullable",(a,u)=>{ln.init(a,u),Xt(a._zod,"optin",()=>u.innerType._zod.optin),Xt(a._zod,"optout",()=>u.innerType._zod.optout),Xt(a._zod,"pattern",()=>{const c=u.innerType._zod.pattern;return c?new RegExp(`^(${_b(c.source)}|null)$`):void 0}),Xt(a._zod,"values",()=>u.innerType._zod.values?new Set([...u.innerType._zod.values,null]):void 0),a._zod.parse=(c,s)=>c.value===null?c:u.innerType._zod.run(c,s)}),kw=ye("$ZodDefault",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>{if(c.value===void 0)return c.value=u.defaultValue,c;const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>FE(y,u)):FE(h,u)}});function FE(a,u){return a.value===void 0&&(a.value=u.defaultValue),a}const Uw=ye("$ZodPrefault",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>(c.value===void 0&&(c.value=u.defaultValue),u.innerType._zod.run(c,s))}),Hw=ye("$ZodNonOptional",(a,u)=>{ln.init(a,u),Xt(a._zod,"values",()=>{const c=u.innerType._zod.values;return c?new Set([...c].filter(s=>s!==void 0)):void 0}),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>WE(y,a)):WE(h,a)}});function WE(a,u){return!a.issues.length&&a.value===void 0&&a.issues.push({code:"invalid_type",expected:"nonoptional",input:a.value,inst:u}),a}const jw=ye("$ZodCatch",(a,u)=>{ln.init(a,u),a._zod.optin="optional",Xt(a._zod,"optout",()=>u.innerType._zod.optout),Xt(a._zod,"values",()=>u.innerType._zod.values),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(y=>(c.value=y.value,y.issues.length&&(c.value=u.catchValue({...c,error:{issues:y.issues.map(v=>Io(v,s,Qo()))},input:c.value}),c.issues=[]),c)):(c.value=h.value,h.issues.length&&(c.value=u.catchValue({...c,error:{issues:h.issues.map(y=>Io(y,s,Qo()))},input:c.value}),c.issues=[]),c)}}),Bw=ye("$ZodPipe",(a,u)=>{ln.init(a,u),Xt(a._zod,"values",()=>u.in._zod.values),Xt(a._zod,"optin",()=>u.in._zod.optin),Xt(a._zod,"optout",()=>u.out._zod.optout),a._zod.parse=(c,s)=>{const h=u.in._zod.run(c,s);return h instanceof Promise?h.then(y=>eT(y,u,s)):eT(h,u,s)}});function eT(a,u,c){return Kp(a)?a:u.out._zod.run({value:a.value,issues:a.issues},c)}const Lw=ye("$ZodReadonly",(a,u)=>{ln.init(a,u),Xt(a._zod,"propValues",()=>u.innerType._zod.propValues),Xt(a._zod,"values",()=>u.innerType._zod.values),Xt(a._zod,"optin",()=>u.innerType._zod.optin),Xt(a._zod,"optout",()=>u.innerType._zod.optout),a._zod.parse=(c,s)=>{const h=u.innerType._zod.run(c,s);return h instanceof Promise?h.then(tT):tT(h)}});function tT(a){return a.value=Object.freeze(a.value),a}const Zw=ye("$ZodLazy",(a,u)=>{ln.init(a,u),Xt(a._zod,"innerType",()=>u.getter()),Xt(a._zod,"pattern",()=>a._zod.innerType._zod.pattern),Xt(a._zod,"propValues",()=>a._zod.innerType._zod.propValues),Xt(a._zod,"optin",()=>a._zod.innerType._zod.optin),Xt(a._zod,"optout",()=>a._zod.innerType._zod.optout),a._zod.parse=(c,s)=>a._zod.innerType._zod.run(c,s)}),qw=ye("$ZodCustom",(a,u)=>{bl.init(a,u),ln.init(a,u),a._zod.parse=(c,s)=>c,a._zod.check=c=>{const s=c.value,h=u.fn(s);if(h instanceof Promise)return h.then(y=>nT(y,c,s,a));nT(h,c,s,a)}});function nT(a,u,c,s){if(!a){const h={code:"custom",input:c,inst:s,path:[...s._zod.def.path??[]],continue:!s._zod.def.abort};s._zod.def.params&&(h.params=s._zod.def.params),u.issues.push(Pp(h))}}class aT{constructor(){this._map=new Map,this._idmap=new Map}add(u,...c){const s=c[0];if(this._map.set(u,s),s&&typeof s=="object"&&"id"in s){if(this._idmap.has(s.id))throw new Error(`ID ${s.id} already exists in the registry`);this._idmap.set(s.id,u)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(u){const c=this._map.get(u);return c&&typeof c=="object"&&"id"in c&&this._idmap.delete(c.id),this._map.delete(u),this}get(u){const c=u._zod.parent;if(c){const s={...this.get(c)??{}};return delete s.id,{...s,...this._map.get(u)}}return this._map.get(u)}has(u){return this._map.has(u)}}function Yw(){return new aT}const Fp=Yw();function Vw(a,u){return new a({type:"string",...Ve(u)})}function Gw(a,u){return new a({type:"string",format:"email",check:"string_format",abort:!1,...Ve(u)})}function lT(a,u){return new a({type:"string",format:"guid",check:"string_format",abort:!1,...Ve(u)})}function Xw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,...Ve(u)})}function Qw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...Ve(u)})}function Iw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...Ve(u)})}function Jw(a,u){return new a({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...Ve(u)})}function $w(a,u){return new a({type:"string",format:"url",check:"string_format",abort:!1,...Ve(u)})}function Kw(a,u){return new a({type:"string",format:"emoji",check:"string_format",abort:!1,...Ve(u)})}function Pw(a,u){return new a({type:"string",format:"nanoid",check:"string_format",abort:!1,...Ve(u)})}function Fw(a,u){return new a({type:"string",format:"cuid",check:"string_format",abort:!1,...Ve(u)})}function Ww(a,u){return new a({type:"string",format:"cuid2",check:"string_format",abort:!1,...Ve(u)})}function ez(a,u){return new a({type:"string",format:"ulid",check:"string_format",abort:!1,...Ve(u)})}function tz(a,u){return new a({type:"string",format:"xid",check:"string_format",abort:!1,...Ve(u)})}function nz(a,u){return new a({type:"string",format:"ksuid",check:"string_format",abort:!1,...Ve(u)})}function az(a,u){return new a({type:"string",format:"ipv4",check:"string_format",abort:!1,...Ve(u)})}function lz(a,u){return new a({type:"string",format:"ipv6",check:"string_format",abort:!1,...Ve(u)})}function iz(a,u){return new a({type:"string",format:"cidrv4",check:"string_format",abort:!1,...Ve(u)})}function uz(a,u){return new a({type:"string",format:"cidrv6",check:"string_format",abort:!1,...Ve(u)})}function rz(a,u){return new a({type:"string",format:"base64",check:"string_format",abort:!1,...Ve(u)})}function oz(a,u){return new a({type:"string",format:"base64url",check:"string_format",abort:!1,...Ve(u)})}function cz(a,u){return new a({type:"string",format:"e164",check:"string_format",abort:!1,...Ve(u)})}function sz(a,u){return new a({type:"string",format:"jwt",check:"string_format",abort:!1,...Ve(u)})}function fz(a,u){return new a({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...Ve(u)})}function dz(a,u){return new a({type:"string",format:"date",check:"string_format",...Ve(u)})}function hz(a,u){return new a({type:"string",format:"time",check:"string_format",precision:null,...Ve(u)})}function pz(a,u){return new a({type:"string",format:"duration",check:"string_format",...Ve(u)})}function mz(a,u){return new a({type:"number",checks:[],...Ve(u)})}function yz(a,u){return new a({type:"number",check:"number_format",abort:!1,format:"safeint",...Ve(u)})}function gz(a,u){return new a({type:"boolean",...Ve(u)})}function vz(a,u){return new a({type:"null",...Ve(u)})}function bz(a){return new a({type:"unknown"})}function Sz(a,u){return new a({type:"never",...Ve(u)})}function iT(a,u){return new VE({check:"less_than",...Ve(u),value:a,inclusive:!1})}function Nb(a,u){return new VE({check:"less_than",...Ve(u),value:a,inclusive:!0})}function uT(a,u){return new GE({check:"greater_than",...Ve(u),value:a,inclusive:!1})}function kb(a,u){return new GE({check:"greater_than",...Ve(u),value:a,inclusive:!0})}function rT(a,u){return new kR({check:"multiple_of",...Ve(u),value:a})}function oT(a,u){return new HR({check:"max_length",...Ve(u),maximum:a})}function gv(a,u){return new jR({check:"min_length",...Ve(u),minimum:a})}function cT(a,u){return new BR({check:"length_equals",...Ve(u),length:a})}function Ez(a,u){return new LR({check:"string_format",format:"regex",...Ve(u),pattern:a})}function Tz(a){return new ZR({check:"string_format",format:"lowercase",...Ve(a)})}function Az(a){return new qR({check:"string_format",format:"uppercase",...Ve(a)})}function xz(a,u){return new YR({check:"string_format",format:"includes",...Ve(u),includes:a})}function Oz(a,u){return new VR({check:"string_format",format:"starts_with",...Ve(u),prefix:a})}function Rz(a,u){return new GR({check:"string_format",format:"ends_with",...Ve(u),suffix:a})}function Wp(a){return new XR({check:"overwrite",tx:a})}function wz(a){return Wp(u=>u.normalize(a))}function zz(){return Wp(a=>a.trim())}function _z(){return Wp(a=>a.toLowerCase())}function Cz(){return Wp(a=>a.toUpperCase())}function Dz(a,u,c){return new a({type:"array",element:u,...Ve(c)})}function Mz(a,u,c){const s=Ve(c);return s.abort??(s.abort=!0),new a({type:"custom",check:"custom",fn:u,...s})}function Nz(a,u,c){return new a({type:"custom",check:"custom",fn:u,...Ve(c)})}class sT{constructor(u){this.counter=0,this.metadataRegistry=(u==null?void 0:u.metadata)??Fp,this.target=(u==null?void 0:u.target)??"draft-2020-12",this.unrepresentable=(u==null?void 0:u.unrepresentable)??"throw",this.override=(u==null?void 0:u.override)??(()=>{}),this.io=(u==null?void 0:u.io)??"output",this.seen=new Map}process(u,c={path:[],schemaPath:[]}){var R,z,_;var s;const h=u._zod.def,y={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},v=this.seen.get(u);if(v)return v.count++,c.schemaPath.includes(u)&&(v.cycle=c.path),v.schema;const b={schema:{},count:1,cycle:void 0,path:c.path};this.seen.set(u,b);const T=(z=(R=u._zod).toJSONSchema)==null?void 0:z.call(R);if(T)b.schema=T;else{const Y={...c,schemaPath:[...c.schemaPath,u],path:c.path},le=u._zod.parent;if(le)b.ref=le,this.process(le,Y),this.seen.get(le).isParent=!0;else{const X=b.schema;switch(h.type){case"string":{const k=X;k.type="string";const{minimum:L,maximum:D,format:oe,patterns:ne,contentEncoding:Q}=u._zod.bag;if(typeof L=="number"&&(k.minLength=L),typeof D=="number"&&(k.maxLength=D),oe&&(k.format=y[oe]??oe,k.format===""&&delete k.format),Q&&(k.contentEncoding=Q),ne&&ne.size>0){const pe=[...ne];pe.length===1?k.pattern=pe[0].source:pe.length>1&&(b.schema.allOf=[...pe.map(we=>({...this.target==="draft-7"?{type:"string"}:{},pattern:we.source}))])}break}case"number":{const k=X,{minimum:L,maximum:D,format:oe,multipleOf:ne,exclusiveMaximum:Q,exclusiveMinimum:pe}=u._zod.bag;typeof oe=="string"&&oe.includes("int")?k.type="integer":k.type="number",typeof pe=="number"&&(k.exclusiveMinimum=pe),typeof L=="number"&&(k.minimum=L,typeof pe=="number"&&(pe>=L?delete k.minimum:delete k.exclusiveMinimum)),typeof Q=="number"&&(k.exclusiveMaximum=Q),typeof D=="number"&&(k.maximum=D,typeof Q=="number"&&(Q<=D?delete k.maximum:delete k.exclusiveMaximum)),typeof ne=="number"&&(k.multipleOf=ne);break}case"boolean":{const k=X;k.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"null":{X.type="null";break}case"any":break;case"unknown":break;case"undefined":{if(this.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema");break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"never":{X.not={};break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{const k=X,{minimum:L,maximum:D}=u._zod.bag;typeof L=="number"&&(k.minItems=L),typeof D=="number"&&(k.maxItems=D),k.type="array",k.items=this.process(h.element,{...Y,path:[...Y.path,"items"]});break}case"object":{const k=X;k.type="object",k.properties={};const L=h.shape;for(const ne in L)k.properties[ne]=this.process(L[ne],{...Y,path:[...Y.path,"properties",ne]});const D=new Set(Object.keys(L)),oe=new Set([...D].filter(ne=>{const Q=h.shape[ne]._zod;return this.io==="input"?Q.optin===void 0:Q.optout===void 0}));oe.size>0&&(k.required=Array.from(oe)),((_=h.catchall)==null?void 0:_._zod.def.type)==="never"?k.additionalProperties=!1:h.catchall?h.catchall&&(k.additionalProperties=this.process(h.catchall,{...Y,path:[...Y.path,"additionalProperties"]})):this.io==="output"&&(k.additionalProperties=!1);break}case"union":{const k=X;k.anyOf=h.options.map((L,D)=>this.process(L,{...Y,path:[...Y.path,"anyOf",D]}));break}case"intersection":{const k=X,L=this.process(h.left,{...Y,path:[...Y.path,"allOf",0]}),D=this.process(h.right,{...Y,path:[...Y.path,"allOf",1]}),oe=Q=>"allOf"in Q&&Object.keys(Q).length===1,ne=[...oe(L)?L.allOf:[L],...oe(D)?D.allOf:[D]];k.allOf=ne;break}case"tuple":{const k=X;k.type="array";const L=h.items.map((ne,Q)=>this.process(ne,{...Y,path:[...Y.path,"prefixItems",Q]}));if(this.target==="draft-2020-12"?k.prefixItems=L:k.items=L,h.rest){const ne=this.process(h.rest,{...Y,path:[...Y.path,"items"]});this.target==="draft-2020-12"?k.items=ne:k.additionalItems=ne}h.rest&&(k.items=this.process(h.rest,{...Y,path:[...Y.path,"items"]}));const{minimum:D,maximum:oe}=u._zod.bag;typeof D=="number"&&(k.minItems=D),typeof oe=="number"&&(k.maxItems=oe);break}case"record":{const k=X;k.type="object",k.propertyNames=this.process(h.keyType,{...Y,path:[...Y.path,"propertyNames"]}),k.additionalProperties=this.process(h.valueType,{...Y,path:[...Y.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{const k=X,L=DE(h.entries);L.every(D=>typeof D=="number")&&(k.type="number"),L.every(D=>typeof D=="string")&&(k.type="string"),k.enum=L;break}case"literal":{const k=X,L=[];for(const D of h.values)if(D===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof D=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");L.push(Number(D))}else L.push(D);if(L.length!==0)if(L.length===1){const D=L[0];k.type=D===null?"null":typeof D,k.const=D}else L.every(D=>typeof D=="number")&&(k.type="number"),L.every(D=>typeof D=="string")&&(k.type="string"),L.every(D=>typeof D=="boolean")&&(k.type="string"),L.every(D=>D===null)&&(k.type="null"),k.enum=L;break}case"file":{const k=X,L={type:"string",format:"binary",contentEncoding:"binary"},{minimum:D,maximum:oe,mime:ne}=u._zod.bag;D!==void 0&&(L.minLength=D),oe!==void 0&&(L.maxLength=oe),ne?ne.length===1?(L.contentMediaType=ne[0],Object.assign(k,L)):k.anyOf=ne.map(Q=>({...L,contentMediaType:Q})):Object.assign(k,L);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{const k=this.process(h.innerType,Y);X.anyOf=[k,{type:"null"}];break}case"nonoptional":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"success":{const k=X;k.type="boolean";break}case"default":{this.process(h.innerType,Y),b.ref=h.innerType,X.default=JSON.parse(JSON.stringify(h.defaultValue));break}case"prefault":{this.process(h.innerType,Y),b.ref=h.innerType,this.io==="input"&&(X._prefault=JSON.parse(JSON.stringify(h.defaultValue)));break}case"catch":{this.process(h.innerType,Y),b.ref=h.innerType;let k;try{k=h.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}X.default=k;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{const k=X,L=u._zod.pattern;if(!L)throw new Error("Pattern not found in template literal");k.type="string",k.pattern=L.source;break}case"pipe":{const k=this.io==="input"?h.in._zod.def.type==="transform"?h.out:h.in:h.out;this.process(k,Y),b.ref=k;break}case"readonly":{this.process(h.innerType,Y),b.ref=h.innerType,X.readOnly=!0;break}case"promise":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"optional":{this.process(h.innerType,Y),b.ref=h.innerType;break}case"lazy":{const k=u._zod.innerType;this.process(k,Y),b.ref=k;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}}}}const E=this.metadataRegistry.get(u);return E&&Object.assign(b.schema,E),this.io==="input"&&aa(u)&&(delete b.schema.examples,delete b.schema.default),this.io==="input"&&b.schema._prefault&&((s=b.schema).default??(s.default=b.schema._prefault)),delete b.schema._prefault,this.seen.get(u).schema}emit(u,c){var O,R,z,_,Y,le;const s={cycles:(c==null?void 0:c.cycles)??"ref",reused:(c==null?void 0:c.reused)??"inline",external:(c==null?void 0:c.external)??void 0},h=this.seen.get(u);if(!h)throw new Error("Unprocessed schema. This is a bug in Zod.");const y=X=>{var ne;const k=this.target==="draft-2020-12"?"$defs":"definitions";if(s.external){const Q=(ne=s.external.registry.get(X[0]))==null?void 0:ne.id,pe=s.external.uri??(Se=>Se);if(Q)return{ref:pe(Q)};const we=X[1].defId??X[1].schema.id??`schema${this.counter++}`;return X[1].defId=we,{defId:we,ref:`${pe("__shared")}#/${k}/${we}`}}if(X[1]===h)return{ref:"#"};const D=`#/${k}/`,oe=X[1].schema.id??`__schema${this.counter++}`;return{defId:oe,ref:D+oe}},v=X=>{if(X[1].schema.$ref)return;const k=X[1],{ref:L,defId:D}=y(X);k.def={...k.schema},D&&(k.defId=D);const oe=k.schema;for(const ne in oe)delete oe[ne];oe.$ref=L};if(s.cycles==="throw")for(const X of this.seen.entries()){const k=X[1];if(k.cycle)throw new Error(`Cycle detected: #/${(O=k.cycle)==null?void 0:O.join("/")}/<root>
|
|
348
|
-
|
|
349
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const X of this.seen.entries()){const k=X[1];if(u===X[0]){v(X);continue}if(s.external){const D=(R=s.external.registry.get(X[0]))==null?void 0:R.id;if(u!==X[0]&&D){v(X);continue}}if((z=this.metadataRegistry.get(X[0]))==null?void 0:z.id){v(X);continue}if(k.cycle){v(X);continue}if(k.count>1&&s.reused==="ref"){v(X);continue}}const b=(X,k)=>{const L=this.seen.get(X),D=L.def??L.schema,oe={...D};if(L.ref===null)return;const ne=L.ref;if(L.ref=null,ne){b(ne,k);const Q=this.seen.get(ne).schema;Q.$ref&&k.target==="draft-7"?(D.allOf=D.allOf??[],D.allOf.push(Q)):(Object.assign(D,Q),Object.assign(D,oe))}L.isParent||this.override({zodSchema:X,jsonSchema:D,path:L.path??[]})};for(const X of[...this.seen.entries()].reverse())b(X[0],{target:this.target});const T={};if(this.target==="draft-2020-12"?T.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?T.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),(_=s.external)!=null&&_.uri){const X=(Y=s.external.registry.get(u))==null?void 0:Y.id;if(!X)throw new Error("Schema is missing an `id` property");T.$id=s.external.uri(X)}Object.assign(T,h.def);const E=((le=s.external)==null?void 0:le.defs)??{};for(const X of this.seen.entries()){const k=X[1];k.def&&k.defId&&(E[k.defId]=k.def)}s.external||Object.keys(E).length>0&&(this.target==="draft-2020-12"?T.$defs=E:T.definitions=E);try{return JSON.parse(JSON.stringify(T))}catch{throw new Error("Error converting schema to JSON.")}}}function kz(a,u){if(a instanceof aT){const s=new sT(u),h={};for(const b of a._idmap.entries()){const[T,E]=b;s.process(E)}const y={},v={registry:a,uri:u==null?void 0:u.uri,defs:h};for(const b of a._idmap.entries()){const[T,E]=b;y[T]=s.emit(E,{...u,external:v})}if(Object.keys(h).length>0){const b=s.target==="draft-2020-12"?"$defs":"definitions";y.__shared={[b]:h}}return{schemas:y}}const c=new sT(u);return c.process(a),c.emit(a,u)}function aa(a,u){const c=u??{seen:new Set};if(c.seen.has(a))return!1;c.seen.add(a);const h=a._zod.def;switch(h.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return aa(h.element,c);case"object":{for(const y in h.shape)if(aa(h.shape[y],c))return!0;return!1}case"union":{for(const y of h.options)if(aa(y,c))return!0;return!1}case"intersection":return aa(h.left,c)||aa(h.right,c);case"tuple":{for(const y of h.items)if(aa(y,c))return!0;return!!(h.rest&&aa(h.rest,c))}case"record":return aa(h.keyType,c)||aa(h.valueType,c);case"map":return aa(h.keyType,c)||aa(h.valueType,c);case"set":return aa(h.valueType,c);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return aa(h.innerType,c);case"lazy":return aa(h.getter(),c);case"default":return aa(h.innerType,c);case"prefault":return aa(h.innerType,c);case"custom":return!1;case"transform":return!0;case"pipe":return aa(h.in,c)||aa(h.out,c);case"success":return!1;case"catch":return!1}throw new Error(`Unknown schema type: ${h.type}`)}const Uz=ye("ZodISODateTime",(a,u)=>{iw.init(a,u),Cn.init(a,u)});function Hz(a){return fz(Uz,a)}const jz=ye("ZodISODate",(a,u)=>{uw.init(a,u),Cn.init(a,u)});function Bz(a){return dz(jz,a)}const Lz=ye("ZodISOTime",(a,u)=>{rw.init(a,u),Cn.init(a,u)});function Zz(a){return hz(Lz,a)}const qz=ye("ZodISODuration",(a,u)=>{ow.init(a,u),Cn.init(a,u)});function Yz(a){return pz(qz,a)}const vv=ye("ZodError",(a,u)=>{kE.init(a,u),a.name="ZodError",Object.defineProperties(a,{format:{value:c=>tR(a,c)},flatten:{value:c=>eR(a,c)},addIssue:{value:c=>a.issues.push(c)},addIssues:{value:c=>a.issues.push(...c)},isEmpty:{get(){return a.issues.length===0}}})},{Parent:Error}),Vz=nR(vv),Gz=aR(vv),Xz=HE(vv),fT=jE(vv),En=ye("ZodType",(a,u)=>(ln.init(a,u),a.def=u,Object.defineProperty(a,"_def",{value:u}),a.check=(...c)=>a.clone({...u,checks:[...u.checks??[],...c.map(s=>typeof s=="function"?{_zod:{check:s,def:{check:"custom"},onattach:[]}}:s)]}),a.clone=(c,s)=>ps(a,c,s),a.brand=()=>a,a.register=((c,s)=>(c.add(a,s),a)),a.parse=(c,s)=>Vz(a,c,s,{callee:a.parse}),a.safeParse=(c,s)=>Xz(a,c,s),a.parseAsync=async(c,s)=>Gz(a,c,s,{callee:a.parseAsync}),a.safeParseAsync=async(c,s)=>fT(a,c,s),a.spa=a.safeParseAsync,a.refine=(c,s)=>a.check(Z_(c,s)),a.superRefine=c=>a.check(q_(c)),a.overwrite=c=>a.check(Wp(c)),a.optional=()=>ET(a),a.nullable=()=>TT(a),a.nullish=()=>ET(TT(a)),a.nonoptional=c=>D_(a,c),a.array=()=>cd(a),a.or=c=>nl([a,c]),a.and=c=>E_(a,c),a.transform=c=>xT(a,O_(c)),a.default=c=>z_(a,c),a.prefault=c=>C_(a,c),a.catch=c=>N_(a,c),a.pipe=c=>xT(a,c),a.readonly=()=>H_(a),a.describe=c=>{const s=a.clone();return Fp.add(s,{description:c}),s},Object.defineProperty(a,"description",{get(){var c;return(c=Fp.get(a))==null?void 0:c.description},configurable:!0}),a.meta=(...c)=>{if(c.length===0)return Fp.get(a);const s=a.clone();return Fp.add(s,c[0]),s},a.isOptional=()=>a.safeParse(void 0).success,a.isNullable=()=>a.safeParse(null).success,a)),dT=ye("_ZodString",(a,u)=>{Db.init(a,u),En.init(a,u);const c=a._zod.bag;a.format=c.format??null,a.minLength=c.minimum??null,a.maxLength=c.maximum??null,a.regex=(...s)=>a.check(Ez(...s)),a.includes=(...s)=>a.check(xz(...s)),a.startsWith=(...s)=>a.check(Oz(...s)),a.endsWith=(...s)=>a.check(Rz(...s)),a.min=(...s)=>a.check(gv(...s)),a.max=(...s)=>a.check(oT(...s)),a.length=(...s)=>a.check(cT(...s)),a.nonempty=(...s)=>a.check(gv(1,...s)),a.lowercase=s=>a.check(Tz(s)),a.uppercase=s=>a.check(Az(s)),a.trim=()=>a.check(zz()),a.normalize=(...s)=>a.check(wz(...s)),a.toLowerCase=()=>a.check(_z()),a.toUpperCase=()=>a.check(Cz())}),Qz=ye("ZodString",(a,u)=>{Db.init(a,u),dT.init(a,u),a.email=c=>a.check(Gw(Iz,c)),a.url=c=>a.check($w(Jz,c)),a.jwt=c=>a.check(sz(c_,c)),a.emoji=c=>a.check(Kw($z,c)),a.guid=c=>a.check(lT(hT,c)),a.uuid=c=>a.check(Xw(bv,c)),a.uuidv4=c=>a.check(Qw(bv,c)),a.uuidv6=c=>a.check(Iw(bv,c)),a.uuidv7=c=>a.check(Jw(bv,c)),a.nanoid=c=>a.check(Pw(Kz,c)),a.guid=c=>a.check(lT(hT,c)),a.cuid=c=>a.check(Fw(Pz,c)),a.cuid2=c=>a.check(Ww(Fz,c)),a.ulid=c=>a.check(ez(Wz,c)),a.base64=c=>a.check(rz(u_,c)),a.base64url=c=>a.check(oz(r_,c)),a.xid=c=>a.check(tz(e_,c)),a.ksuid=c=>a.check(nz(t_,c)),a.ipv4=c=>a.check(az(n_,c)),a.ipv6=c=>a.check(lz(a_,c)),a.cidrv4=c=>a.check(iz(l_,c)),a.cidrv6=c=>a.check(uz(i_,c)),a.e164=c=>a.check(cz(o_,c)),a.datetime=c=>a.check(Hz(c)),a.date=c=>a.check(Bz(c)),a.time=c=>a.check(Zz(c)),a.duration=c=>a.check(Yz(c))});function Me(a){return Vw(Qz,a)}const Cn=ye("ZodStringFormat",(a,u)=>{Sn.init(a,u),dT.init(a,u)}),Iz=ye("ZodEmail",(a,u)=>{KR.init(a,u),Cn.init(a,u)}),hT=ye("ZodGUID",(a,u)=>{JR.init(a,u),Cn.init(a,u)}),bv=ye("ZodUUID",(a,u)=>{$R.init(a,u),Cn.init(a,u)}),Jz=ye("ZodURL",(a,u)=>{PR.init(a,u),Cn.init(a,u)}),$z=ye("ZodEmoji",(a,u)=>{FR.init(a,u),Cn.init(a,u)}),Kz=ye("ZodNanoID",(a,u)=>{WR.init(a,u),Cn.init(a,u)}),Pz=ye("ZodCUID",(a,u)=>{ew.init(a,u),Cn.init(a,u)}),Fz=ye("ZodCUID2",(a,u)=>{tw.init(a,u),Cn.init(a,u)}),Wz=ye("ZodULID",(a,u)=>{nw.init(a,u),Cn.init(a,u)}),e_=ye("ZodXID",(a,u)=>{aw.init(a,u),Cn.init(a,u)}),t_=ye("ZodKSUID",(a,u)=>{lw.init(a,u),Cn.init(a,u)}),n_=ye("ZodIPv4",(a,u)=>{cw.init(a,u),Cn.init(a,u)}),a_=ye("ZodIPv6",(a,u)=>{sw.init(a,u),Cn.init(a,u)}),l_=ye("ZodCIDRv4",(a,u)=>{fw.init(a,u),Cn.init(a,u)}),i_=ye("ZodCIDRv6",(a,u)=>{dw.init(a,u),Cn.init(a,u)}),u_=ye("ZodBase64",(a,u)=>{hw.init(a,u),Cn.init(a,u)}),r_=ye("ZodBase64URL",(a,u)=>{mw.init(a,u),Cn.init(a,u)}),o_=ye("ZodE164",(a,u)=>{yw.init(a,u),Cn.init(a,u)}),c_=ye("ZodJWT",(a,u)=>{vw.init(a,u),Cn.init(a,u)}),pT=ye("ZodNumber",(a,u)=>{QE.init(a,u),En.init(a,u),a.gt=(s,h)=>a.check(uT(s,h)),a.gte=(s,h)=>a.check(kb(s,h)),a.min=(s,h)=>a.check(kb(s,h)),a.lt=(s,h)=>a.check(iT(s,h)),a.lte=(s,h)=>a.check(Nb(s,h)),a.max=(s,h)=>a.check(Nb(s,h)),a.int=s=>a.check(mT(s)),a.safe=s=>a.check(mT(s)),a.positive=s=>a.check(uT(0,s)),a.nonnegative=s=>a.check(kb(0,s)),a.negative=s=>a.check(iT(0,s)),a.nonpositive=s=>a.check(Nb(0,s)),a.multipleOf=(s,h)=>a.check(rT(s,h)),a.step=(s,h)=>a.check(rT(s,h)),a.finite=()=>a;const c=a._zod.bag;a.minValue=Math.max(c.minimum??Number.NEGATIVE_INFINITY,c.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,a.maxValue=Math.min(c.maximum??Number.POSITIVE_INFINITY,c.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,a.isInt=(c.format??"").includes("int")||Number.isSafeInteger(c.multipleOf??.5),a.isFinite=!0,a.format=c.format??null});function s_(a){return mz(pT,a)}const f_=ye("ZodNumberFormat",(a,u)=>{bw.init(a,u),pT.init(a,u)});function mT(a){return yz(f_,a)}const d_=ye("ZodBoolean",(a,u)=>{Sw.init(a,u),En.init(a,u)});function tl(a){return gz(d_,a)}const h_=ye("ZodNull",(a,u)=>{Ew.init(a,u),En.init(a,u)});function p_(a){return vz(h_,a)}const m_=ye("ZodUnknown",(a,u)=>{Tw.init(a,u),En.init(a,u)});function qu(){return bz(m_)}const y_=ye("ZodNever",(a,u)=>{Aw.init(a,u),En.init(a,u)});function yT(a){return Sz(y_,a)}const g_=ye("ZodArray",(a,u)=>{xw.init(a,u),En.init(a,u),a.element=u.element,a.min=(c,s)=>a.check(gv(c,s)),a.nonempty=c=>a.check(gv(1,c)),a.max=(c,s)=>a.check(oT(c,s)),a.length=(c,s)=>a.check(cT(c,s)),a.unwrap=()=>a.element});function cd(a,u){return Dz(g_,a,u)}const gT=ye("ZodObject",(a,u)=>{Ow.init(a,u),En.init(a,u),Xt(a,"shape",()=>u.shape),a.keyof=()=>bT(Object.keys(a._zod.def.shape)),a.catchall=c=>a.clone({...a._zod.def,catchall:c}),a.passthrough=()=>a.clone({...a._zod.def,catchall:qu()}),a.loose=()=>a.clone({...a._zod.def,catchall:qu()}),a.strict=()=>a.clone({...a._zod.def,catchall:yT()}),a.strip=()=>a.clone({...a._zod.def,catchall:void 0}),a.extend=c=>KO(a,c),a.merge=c=>PO(a,c),a.pick=c=>JO(a,c),a.omit=c=>$O(a,c),a.partial=(...c)=>FO(ST,a,c[0]),a.required=(...c)=>WO(AT,a,c[0])});function Ft(a,u){const c={type:"object",get shape(){return fv(this,"shape",{...a}),this.shape},...Ve(u)};return new gT(c)}function dn(a,u){return new gT({type:"object",get shape(){return fv(this,"shape",{...a}),this.shape},catchall:yT(),...Ve(u)})}const vT=ye("ZodUnion",(a,u)=>{KE.init(a,u),En.init(a,u),a.options=u.options});function nl(a,u){return new vT({type:"union",options:a,...Ve(u)})}const v_=ye("ZodDiscriminatedUnion",(a,u)=>{vT.init(a,u),Rw.init(a,u)});function b_(a,u,c){return new v_({type:"union",options:u,discriminator:a,...Ve(c)})}const S_=ye("ZodIntersection",(a,u)=>{ww.init(a,u),En.init(a,u)});function E_(a,u){return new S_({type:"intersection",left:a,right:u})}const T_=ye("ZodRecord",(a,u)=>{zw.init(a,u),En.init(a,u),a.keyType=u.keyType,a.valueType=u.valueType});function ys(a,u,c){return new T_({type:"record",keyType:a,valueType:u,...Ve(c)})}const Ub=ye("ZodEnum",(a,u)=>{_w.init(a,u),En.init(a,u),a.enum=u.entries,a.options=Object.values(u.entries);const c=new Set(Object.keys(u.entries));a.extract=(s,h)=>{const y={};for(const v of s)if(c.has(v))y[v]=u.entries[v];else throw new Error(`Key ${v} not found in enum`);return new Ub({...u,checks:[],...Ve(h),entries:y})},a.exclude=(s,h)=>{const y={...u.entries};for(const v of s)if(c.has(v))delete y[v];else throw new Error(`Key ${v} not found in enum`);return new Ub({...u,checks:[],...Ve(h),entries:y})}});function bT(a,u){const c=Array.isArray(a)?Object.fromEntries(a.map(s=>[s,s])):a;return new Ub({type:"enum",entries:c,...Ve(u)})}const A_=ye("ZodLiteral",(a,u)=>{Cw.init(a,u),En.init(a,u),a.values=new Set(u.values),Object.defineProperty(a,"value",{get(){if(u.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return u.values[0]}})});function We(a,u){return new A_({type:"literal",values:Array.isArray(a)?a:[a],...Ve(u)})}const x_=ye("ZodTransform",(a,u)=>{Dw.init(a,u),En.init(a,u),a._zod.parse=(c,s)=>{c.addIssue=y=>{if(typeof y=="string")c.issues.push(Pp(y,c.value,u));else{const v=y;v.fatal&&(v.continue=!1),v.code??(v.code="custom"),v.input??(v.input=c.value),v.inst??(v.inst=a),v.continue??(v.continue=!0),c.issues.push(Pp(v))}};const h=u.transform(c.value,c);return h instanceof Promise?h.then(y=>(c.value=y,c)):(c.value=h,c)}});function O_(a){return new x_({type:"transform",transform:a})}const ST=ye("ZodOptional",(a,u)=>{Mw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType});function ET(a){return new ST({type:"optional",innerType:a})}const R_=ye("ZodNullable",(a,u)=>{Nw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType});function TT(a){return new R_({type:"nullable",innerType:a})}const w_=ye("ZodDefault",(a,u)=>{kw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType,a.removeDefault=a.unwrap});function z_(a,u){return new w_({type:"default",innerType:a,get defaultValue(){return typeof u=="function"?u():u}})}const __=ye("ZodPrefault",(a,u)=>{Uw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType});function C_(a,u){return new __({type:"prefault",innerType:a,get defaultValue(){return typeof u=="function"?u():u}})}const AT=ye("ZodNonOptional",(a,u)=>{Hw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType});function D_(a,u){return new AT({type:"nonoptional",innerType:a,...Ve(u)})}const M_=ye("ZodCatch",(a,u)=>{jw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.innerType,a.removeCatch=a.unwrap});function N_(a,u){return new M_({type:"catch",innerType:a,catchValue:typeof u=="function"?u:()=>u})}const k_=ye("ZodPipe",(a,u)=>{Bw.init(a,u),En.init(a,u),a.in=u.in,a.out=u.out});function xT(a,u){return new k_({type:"pipe",in:a,out:u})}const U_=ye("ZodReadonly",(a,u)=>{Lw.init(a,u),En.init(a,u)});function H_(a){return new U_({type:"readonly",innerType:a})}const j_=ye("ZodLazy",(a,u)=>{Zw.init(a,u),En.init(a,u),a.unwrap=()=>a._zod.def.getter()});function B_(a){return new j_({type:"lazy",getter:a})}const Hb=ye("ZodCustom",(a,u)=>{qw.init(a,u),En.init(a,u)});function L_(a){const u=new bl({check:"custom"});return u._zod.check=a,u}function OT(a,u){return Mz(Hb,a??(()=>!0),u)}function Z_(a,u={}){return Nz(Hb,a,u)}function q_(a){const u=L_(c=>(c.addIssue=s=>{if(typeof s=="string")c.issues.push(Pp(s,c.value,u._zod.def));else{const h=s;h.fatal&&(h.continue=!1),h.code??(h.code="custom"),h.input??(h.input=c.value),h.inst??(h.inst=u),h.continue??(h.continue=!u._zod.def.abort),c.issues.push(Pp(h))}},a(c.value,c)));return u}function Sv(a,u={error:`Input not instance of ${a.name}`}){const c=new Hb({type:"custom",check:"custom",fn:s=>s instanceof a,abort:!0,...Ve(u)});return c._zod.bag.Class=a,c}var pt;(function(a){a.ZodString="ZodString",a.ZodNumber="ZodNumber",a.ZodNaN="ZodNaN",a.ZodBigInt="ZodBigInt",a.ZodBoolean="ZodBoolean",a.ZodDate="ZodDate",a.ZodSymbol="ZodSymbol",a.ZodUndefined="ZodUndefined",a.ZodNull="ZodNull",a.ZodAny="ZodAny",a.ZodUnknown="ZodUnknown",a.ZodNever="ZodNever",a.ZodVoid="ZodVoid",a.ZodArray="ZodArray",a.ZodObject="ZodObject",a.ZodUnion="ZodUnion",a.ZodDiscriminatedUnion="ZodDiscriminatedUnion",a.ZodIntersection="ZodIntersection",a.ZodTuple="ZodTuple",a.ZodRecord="ZodRecord",a.ZodMap="ZodMap",a.ZodSet="ZodSet",a.ZodFunction="ZodFunction",a.ZodLazy="ZodLazy",a.ZodLiteral="ZodLiteral",a.ZodEnum="ZodEnum",a.ZodEffects="ZodEffects",a.ZodNativeEnum="ZodNativeEnum",a.ZodOptional="ZodOptional",a.ZodNullable="ZodNullable",a.ZodDefault="ZodDefault",a.ZodCatch="ZodCatch",a.ZodPromise="ZodPromise",a.ZodBranded="ZodBranded",a.ZodPipeline="ZodPipeline",a.ZodReadonly="ZodReadonly"})(pt||(pt={}));class RT extends Error{constructor(u,c){super(u),this.name="ParseError",this.type=c.type,this.field=c.field,this.value=c.value,this.line=c.line}}const wT=10,Y_=13,gs=32;function jb(a){}function V_(a){if(typeof a=="function")throw new TypeError("`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?");const{onEvent:u=jb,onError:c=jb,onRetry:s=jb,onComment:h}=a,y=[];let v=!0,b,T="",E=0,O;function R(k){if(v&&(v=!1,k.charCodeAt(0)===239&&k.charCodeAt(1)===187&&k.charCodeAt(2)===191&&(k=k.slice(3))),y.length===0){const oe=z(k);oe!==""&&y.push(oe);return}if(k.indexOf(`
|
|
350
|
-
`)===-1&&k.indexOf("\r")===-1){y.push(k);return}y.push(k);const L=y.join("");y.length=0;const D=z(L);D!==""&&y.push(D)}function z(k){let L=0;if(k.indexOf("\r")===-1){let D=k.indexOf(`
|
|
351
|
-
`,L);for(;D!==-1;){if(L===D){E>0&&u({id:b,event:O,data:T}),b=void 0,T="",E=0,O=void 0,L=D+1,D=k.indexOf(`
|
|
352
|
-
`,L);continue}const oe=k.charCodeAt(L);if(zT(k,L,oe)){const ne=k.charCodeAt(L+5)===gs?L+6:L+5,Q=k.slice(ne,D);if(E===0&&k.charCodeAt(D+1)===wT){u({id:b,event:O,data:Q}),b=void 0,T="",O=void 0,L=D+2,D=k.indexOf(`
|
|
353
|
-
`,L);continue}T=E===0?Q:`${T}
|
|
354
|
-
${Q}`,E++}else _T(k,L,oe)?O=k.slice(k.charCodeAt(L+6)===gs?L+7:L+6,D)||void 0:_(k,L,D);L=D+1,D=k.indexOf(`
|
|
355
|
-
`,L)}return k.slice(L)}for(;L<k.length;){const D=k.indexOf("\r",L),oe=k.indexOf(`
|
|
356
|
-
`,L);let ne=-1;if(D!==-1&&oe!==-1?ne=D<oe?D:oe:D!==-1?D===k.length-1?ne=-1:ne=D:oe!==-1&&(ne=oe),ne===-1)break;_(k,L,ne),L=ne+1,k.charCodeAt(L-1)===Y_&&k.charCodeAt(L)===wT&&L++}return k.slice(L)}function _(k,L,D){if(L===D){le();return}const oe=k.charCodeAt(L);if(zT(k,L,oe)){const He=k.charCodeAt(L+5)===gs?L+6:L+5,be=k.slice(He,D);T=E===0?be:`${T}
|
|
357
|
-
${be}`,E++;return}if(_T(k,L,oe)){O=k.slice(k.charCodeAt(L+6)===gs?L+7:L+6,D)||void 0;return}if(oe===105&&k.charCodeAt(L+1)===100&&k.charCodeAt(L+2)===58){const He=k.slice(k.charCodeAt(L+3)===gs?L+4:L+3,D);b=He.includes("\0")?void 0:He;return}if(oe===58){if(h){const He=k.slice(L,D);h(He.slice(k.charCodeAt(L+1)===gs?2:1))}return}const ne=k.slice(L,D),Q=ne.indexOf(":");if(Q===-1){Y(ne,"",ne);return}const pe=ne.slice(0,Q),we=ne.charCodeAt(Q+1)===gs?2:1,Se=ne.slice(Q+we);Y(pe,Se,ne)}function Y(k,L,D){switch(k){case"event":O=L||void 0;break;case"data":T=E===0?L:`${T}
|
|
358
|
-
${L}`,E++;break;case"id":b=L.includes("\0")?void 0:L;break;case"retry":/^\d+$/.test(L)?s(parseInt(L,10)):c(new RT(`Invalid \`retry\` value: "${L}"`,{type:"invalid-retry",value:L,line:D}));break;default:c(new RT(`Unknown field "${k.length>20?`${k.slice(0,20)}…`:k}"`,{type:"unknown-field",field:k,value:L,line:D}));break}}function le(){E>0&&u({id:b,event:O,data:T}),b=void 0,T="",E=0,O=void 0}function X(k={}){if(k.consume&&y.length>0){const L=y.join("");_(L,0,L.length)}v=!0,b=void 0,T="",E=0,O=void 0,y.length=0}return{feed:R,reset:X}}function zT(a,u,c){return c===100&&a.charCodeAt(u+1)===97&&a.charCodeAt(u+2)===116&&a.charCodeAt(u+3)===97&&a.charCodeAt(u+4)===58}function _T(a,u,c){return c===101&&a.charCodeAt(u+1)===118&&a.charCodeAt(u+2)===101&&a.charCodeAt(u+3)===110&&a.charCodeAt(u+4)===116&&a.charCodeAt(u+5)===58}class G_ extends TransformStream{constructor({onError:u,onRetry:c,onComment:s}={}){let h;super({start(y){h=V_({onEvent:v=>{y.enqueue(v)},onError(v){u==="terminate"?y.error(v):typeof u=="function"&&u(v)},onRetry:c,onComment:s})},transform(y){h.feed(y)}})}}var em=({prefix:a,size:u=16,alphabet:c="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:s="-"}={})=>{const h=()=>{const y=c.length,v=new Array(u);for(let b=0;b<u;b++)v[b]=c[Math.random()*y|0];return v.join("")};if(a==null)return h;if(c.includes(s))throw new LO({argument:"separator",message:`The separator "${s}" must not be part of the alphabet "${c}".`});return()=>`${a}${s}${h()}`},X_=em();function sd(a){if(a==null)return{};const u={};if(a instanceof Headers)a.forEach((c,s)=>{u[s.toLowerCase()]=c});else{Array.isArray(a)||(a=Object.entries(a));for(const[c,s]of a)s!=null&&(u[c.toLowerCase()]=s)}return u}var Q_=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,I_=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function CT(a){const u=JSON.parse(a);return u===null||typeof u!="object"||Q_.test(a)===!1&&I_.test(a)===!1?u:J_(u)}function J_(a){let u=[a];for(;u.length;){const c=u;u=[];for(const s of c){if(Object.prototype.hasOwnProperty.call(s,"__proto__"))throw new SyntaxError("Object contains forbidden prototype property");if(Object.prototype.hasOwnProperty.call(s,"constructor")&&s.constructor!==null&&typeof s.constructor=="object"&&Object.prototype.hasOwnProperty.call(s.constructor,"prototype"))throw new SyntaxError("Object contains forbidden prototype property");for(const h in s){const y=s[h];y&&typeof y=="object"&&u.push(y)}}}return a}function $_(a){const{stackTraceLimit:u}=Error;try{Error.stackTraceLimit=0}catch{return CT(a)}try{return CT(a)}finally{Error.stackTraceLimit=u}}function Bb(a){if(a.type==="object"||Array.isArray(a.type)&&a.type.includes("object")){a.additionalProperties=!1;const{properties:c}=a;if(c!=null)for(const s of Object.keys(c))c[s]=vs(c[s])}a.items!=null&&(a.items=Array.isArray(a.items)?a.items.map(vs):vs(a.items)),a.anyOf!=null&&(a.anyOf=a.anyOf.map(vs)),a.allOf!=null&&(a.allOf=a.allOf.map(vs)),a.oneOf!=null&&(a.oneOf=a.oneOf.map(vs));const{definitions:u}=a;if(u!=null)for(const c of Object.keys(u))u[c]=vs(u[c]);return a}function vs(a){return typeof a=="boolean"?a:Bb(a)}var K_=Symbol("Let zodToJsonSchema decide on which parser to use"),DT={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},P_=a=>typeof a=="string"?{...DT,name:a}:{...DT,...a};function Gl(){return{}}function F_(a,u){var c,s,h;const y={type:"array"};return(c=a.type)!=null&&c._def&&((h=(s=a.type)==null?void 0:s._def)==null?void 0:h.typeName)!==pt.ZodAny&&(y.items=$t(a.type._def,{...u,currentPath:[...u.currentPath,"items"]})),a.minLength&&(y.minItems=a.minLength.value),a.maxLength&&(y.maxItems=a.maxLength.value),a.exactLength&&(y.minItems=a.exactLength.value,y.maxItems=a.exactLength.value),y}function W_(a){const u={type:"integer",format:"int64"};if(!a.checks)return u;for(const c of a.checks)switch(c.kind){case"min":c.inclusive?u.minimum=c.value:u.exclusiveMinimum=c.value;break;case"max":c.inclusive?u.maximum=c.value:u.exclusiveMaximum=c.value;break;case"multipleOf":u.multipleOf=c.value;break}return u}function eC(){return{type:"boolean"}}function MT(a,u){return $t(a.type._def,u)}var tC=(a,u)=>$t(a.innerType._def,u);function NT(a,u,c){const s=c??u.dateStrategy;if(Array.isArray(s))return{anyOf:s.map((h,y)=>NT(a,u,h))};switch(s){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return nC(a)}}var nC=a=>{const u={type:"integer",format:"unix-time"};for(const c of a.checks)switch(c.kind){case"min":u.minimum=c.value;break;case"max":u.maximum=c.value;break}return u};function aC(a,u){return{...$t(a.innerType._def,u),default:a.defaultValue()}}function lC(a,u){return u.effectStrategy==="input"?$t(a.schema._def,u):Gl()}function iC(a){return{type:"string",enum:Array.from(a.values)}}var uC=a=>"type"in a&&a.type==="string"?!1:"allOf"in a;function rC(a,u){const c=[$t(a.left._def,{...u,currentPath:[...u.currentPath,"allOf","0"]}),$t(a.right._def,{...u,currentPath:[...u.currentPath,"allOf","1"]})].filter(h=>!!h),s=[];return c.forEach(h=>{if(uC(h))s.push(...h.allOf);else{let y=h;if("additionalProperties"in h&&h.additionalProperties===!1){const{additionalProperties:v,...b}=h;y=b}s.push(y)}}),s.length?{allOf:s}:void 0}function oC(a){const u=typeof a.value;return u!=="bigint"&&u!=="number"&&u!=="boolean"&&u!=="string"?{type:Array.isArray(a.value)?"array":"object"}:{type:u==="bigint"?"integer":u,const:a.value}}var Lb=void 0,iu={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>(Lb===void 0&&(Lb=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),Lb),uuid:/^[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}$/,ipv4:/^(?:(?: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])$/,ipv4Cidr:/^(?:(?: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])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([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])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function kT(a,u){const c={type:"string"};if(a.checks)for(const s of a.checks)switch(s.kind){case"min":c.minLength=typeof c.minLength=="number"?Math.max(c.minLength,s.value):s.value;break;case"max":c.maxLength=typeof c.maxLength=="number"?Math.min(c.maxLength,s.value):s.value;break;case"email":switch(u.emailStrategy){case"format:email":uu(c,"email",s.message,u);break;case"format:idn-email":uu(c,"idn-email",s.message,u);break;case"pattern:zod":al(c,iu.email,s.message,u);break}break;case"url":uu(c,"uri",s.message,u);break;case"uuid":uu(c,"uuid",s.message,u);break;case"regex":al(c,s.regex,s.message,u);break;case"cuid":al(c,iu.cuid,s.message,u);break;case"cuid2":al(c,iu.cuid2,s.message,u);break;case"startsWith":al(c,RegExp(`^${Zb(s.value,u)}`),s.message,u);break;case"endsWith":al(c,RegExp(`${Zb(s.value,u)}$`),s.message,u);break;case"datetime":uu(c,"date-time",s.message,u);break;case"date":uu(c,"date",s.message,u);break;case"time":uu(c,"time",s.message,u);break;case"duration":uu(c,"duration",s.message,u);break;case"length":c.minLength=typeof c.minLength=="number"?Math.max(c.minLength,s.value):s.value,c.maxLength=typeof c.maxLength=="number"?Math.min(c.maxLength,s.value):s.value;break;case"includes":{al(c,RegExp(Zb(s.value,u)),s.message,u);break}case"ip":{s.version!=="v6"&&uu(c,"ipv4",s.message,u),s.version!=="v4"&&uu(c,"ipv6",s.message,u);break}case"base64url":al(c,iu.base64url,s.message,u);break;case"jwt":al(c,iu.jwt,s.message,u);break;case"cidr":{s.version!=="v6"&&al(c,iu.ipv4Cidr,s.message,u),s.version!=="v4"&&al(c,iu.ipv6Cidr,s.message,u);break}case"emoji":al(c,iu.emoji(),s.message,u);break;case"ulid":{al(c,iu.ulid,s.message,u);break}case"base64":{switch(u.base64Strategy){case"format:binary":{uu(c,"binary",s.message,u);break}case"contentEncoding:base64":{c.contentEncoding="base64";break}case"pattern:zod":{al(c,iu.base64,s.message,u);break}}break}case"nanoid":al(c,iu.nanoid,s.message,u)}return c}function Zb(a,u){return u.patternStrategy==="escape"?sC(a):a}var cC=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function sC(a){let u="";for(let c=0;c<a.length;c++)cC.has(a[c])||(u+="\\"),u+=a[c];return u}function uu(a,u,c,s){var h;a.format||(h=a.anyOf)!=null&&h.some(y=>y.format)?(a.anyOf||(a.anyOf=[]),a.format&&(a.anyOf.push({format:a.format}),delete a.format),a.anyOf.push({format:u,...c&&s.errorMessages&&{errorMessage:{format:c}}})):a.format=u}function al(a,u,c,s){var h;a.pattern||(h=a.allOf)!=null&&h.some(y=>y.pattern)?(a.allOf||(a.allOf=[]),a.pattern&&(a.allOf.push({pattern:a.pattern}),delete a.pattern),a.allOf.push({pattern:UT(u,s),...c&&s.errorMessages&&{errorMessage:{pattern:c}}})):a.pattern=UT(u,s)}function UT(a,u){var c;if(!u.applyRegexFlags||!a.flags)return a.source;const s={i:a.flags.includes("i"),m:a.flags.includes("m"),s:a.flags.includes("s")},h=s.i?a.source.toLowerCase():a.source;let y="",v=!1,b=!1,T=!1;for(let E=0;E<h.length;E++){if(v){y+=h[E],v=!1;continue}if(s.i){if(b){if(h[E].match(/[a-z]/)){T?(y+=h[E],y+=`${h[E-2]}-${h[E]}`.toUpperCase(),T=!1):h[E+1]==="-"&&((c=h[E+2])!=null&&c.match(/[a-z]/))?(y+=h[E],T=!0):y+=`${h[E]}${h[E].toUpperCase()}`;continue}}else if(h[E].match(/[a-z]/)){y+=`[${h[E]}${h[E].toUpperCase()}]`;continue}}if(s.m){if(h[E]==="^"){y+=`(^|(?<=[\r
|
|
359
|
-
]))`;continue}else if(h[E]==="$"){y+=`($|(?=[\r
|
|
360
|
-
]))`;continue}}if(s.s&&h[E]==="."){y+=b?`${h[E]}\r
|
|
361
|
-
`:`[${h[E]}\r
|
|
362
|
-
]`;continue}y+=h[E],h[E]==="\\"?v=!0:b&&h[E]==="]"?b=!1:!b&&h[E]==="["&&(b=!0)}try{new RegExp(y)}catch{return console.warn(`Could not convert regex pattern at ${u.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),a.source}return y}function HT(a,u){var c,s,h,y,v,b;const T={type:"object",additionalProperties:(c=$t(a.valueType._def,{...u,currentPath:[...u.currentPath,"additionalProperties"]}))!=null?c:u.allowedAdditionalProperties};if(((s=a.keyType)==null?void 0:s._def.typeName)===pt.ZodString&&((h=a.keyType._def.checks)!=null&&h.length)){const{type:E,...O}=kT(a.keyType._def,u);return{...T,propertyNames:O}}else{if(((y=a.keyType)==null?void 0:y._def.typeName)===pt.ZodEnum)return{...T,propertyNames:{enum:a.keyType._def.values}};if(((v=a.keyType)==null?void 0:v._def.typeName)===pt.ZodBranded&&a.keyType._def.type._def.typeName===pt.ZodString&&((b=a.keyType._def.type._def.checks)!=null&&b.length)){const{type:E,...O}=MT(a.keyType._def,u);return{...T,propertyNames:O}}}return T}function fC(a,u){if(u.mapStrategy==="record")return HT(a,u);const c=$t(a.keyType._def,{...u,currentPath:[...u.currentPath,"items","items","0"]})||Gl(),s=$t(a.valueType._def,{...u,currentPath:[...u.currentPath,"items","items","1"]})||Gl();return{type:"array",maxItems:125,items:{type:"array",items:[c,s],minItems:2,maxItems:2}}}function dC(a){const u=a.values,s=Object.keys(a.values).filter(y=>typeof u[u[y]]!="number").map(y=>u[y]),h=Array.from(new Set(s.map(y=>typeof y)));return{type:h.length===1?h[0]==="string"?"string":"number":["string","number"],enum:s}}function hC(){return{not:Gl()}}function pC(){return{type:"null"}}var qb={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function mC(a,u){const c=a.options instanceof Map?Array.from(a.options.values()):a.options;if(c.every(s=>s._def.typeName in qb&&(!s._def.checks||!s._def.checks.length))){const s=c.reduce((h,y)=>{const v=qb[y._def.typeName];return v&&!h.includes(v)?[...h,v]:h},[]);return{type:s.length>1?s:s[0]}}else if(c.every(s=>s._def.typeName==="ZodLiteral"&&!s.description)){const s=c.reduce((h,y)=>{const v=typeof y._def.value;switch(v){case"string":case"number":case"boolean":return[...h,v];case"bigint":return[...h,"integer"];case"object":if(y._def.value===null)return[...h,"null"];case"symbol":case"undefined":case"function":default:return h}},[]);if(s.length===c.length){const h=s.filter((y,v,b)=>b.indexOf(y)===v);return{type:h.length>1?h:h[0],enum:c.reduce((y,v)=>y.includes(v._def.value)?y:[...y,v._def.value],[])}}}else if(c.every(s=>s._def.typeName==="ZodEnum"))return{type:"string",enum:c.reduce((s,h)=>[...s,...h._def.values.filter(y=>!s.includes(y))],[])};return yC(a,u)}var yC=(a,u)=>{const c=(a.options instanceof Map?Array.from(a.options.values()):a.options).map((s,h)=>$t(s._def,{...u,currentPath:[...u.currentPath,"anyOf",`${h}`]})).filter(s=>!!s&&(!u.strictUnions||typeof s=="object"&&Object.keys(s).length>0));return c.length?{anyOf:c}:void 0};function gC(a,u){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(a.innerType._def.typeName)&&(!a.innerType._def.checks||!a.innerType._def.checks.length))return{type:[qb[a.innerType._def.typeName],"null"]};const c=$t(a.innerType._def,{...u,currentPath:[...u.currentPath,"anyOf","0"]});return c&&{anyOf:[c,{type:"null"}]}}function vC(a){const u={type:"number"};if(!a.checks)return u;for(const c of a.checks)switch(c.kind){case"int":u.type="integer";break;case"min":c.inclusive?u.minimum=c.value:u.exclusiveMinimum=c.value;break;case"max":c.inclusive?u.maximum=c.value:u.exclusiveMaximum=c.value;break;case"multipleOf":u.multipleOf=c.value;break}return u}function bC(a,u){const c={type:"object",properties:{}},s=[],h=a.shape();for(const v in h){let b=h[v];if(b===void 0||b._def===void 0)continue;const T=EC(b),E=$t(b._def,{...u,currentPath:[...u.currentPath,"properties",v],propertyPath:[...u.currentPath,"properties",v]});E!==void 0&&(c.properties[v]=E,T||s.push(v))}s.length&&(c.required=s);const y=SC(a,u);return y!==void 0&&(c.additionalProperties=y),c}function SC(a,u){if(a.catchall._def.typeName!=="ZodNever")return $t(a.catchall._def,{...u,currentPath:[...u.currentPath,"additionalProperties"]});switch(a.unknownKeys){case"passthrough":return u.allowedAdditionalProperties;case"strict":return u.rejectedAdditionalProperties;case"strip":return u.removeAdditionalStrategy==="strict"?u.allowedAdditionalProperties:u.rejectedAdditionalProperties}}function EC(a){try{return a.isOptional()}catch{return!0}}var TC=(a,u)=>{var c;if(u.currentPath.toString()===((c=u.propertyPath)==null?void 0:c.toString()))return $t(a.innerType._def,u);const s=$t(a.innerType._def,{...u,currentPath:[...u.currentPath,"anyOf","1"]});return s?{anyOf:[{not:Gl()},s]}:Gl()},AC=(a,u)=>{if(u.pipeStrategy==="input")return $t(a.in._def,u);if(u.pipeStrategy==="output")return $t(a.out._def,u);const c=$t(a.in._def,{...u,currentPath:[...u.currentPath,"allOf","0"]}),s=$t(a.out._def,{...u,currentPath:[...u.currentPath,"allOf",c?"1":"0"]});return{allOf:[c,s].filter(h=>h!==void 0)}};function xC(a,u){return $t(a.type._def,u)}function OC(a,u){const s={type:"array",uniqueItems:!0,items:$t(a.valueType._def,{...u,currentPath:[...u.currentPath,"items"]})};return a.minSize&&(s.minItems=a.minSize.value),a.maxSize&&(s.maxItems=a.maxSize.value),s}function RC(a,u){return a.rest?{type:"array",minItems:a.items.length,items:a.items.map((c,s)=>$t(c._def,{...u,currentPath:[...u.currentPath,"items",`${s}`]})).reduce((c,s)=>s===void 0?c:[...c,s],[]),additionalItems:$t(a.rest._def,{...u,currentPath:[...u.currentPath,"additionalItems"]})}:{type:"array",minItems:a.items.length,maxItems:a.items.length,items:a.items.map((c,s)=>$t(c._def,{...u,currentPath:[...u.currentPath,"items",`${s}`]})).reduce((c,s)=>s===void 0?c:[...c,s],[])}}function wC(){return{not:Gl()}}function zC(){return Gl()}var _C=(a,u)=>$t(a.innerType._def,u),CC=(a,u,c)=>{switch(u){case pt.ZodString:return kT(a,c);case pt.ZodNumber:return vC(a);case pt.ZodObject:return bC(a,c);case pt.ZodBigInt:return W_(a);case pt.ZodBoolean:return eC();case pt.ZodDate:return NT(a,c);case pt.ZodUndefined:return wC();case pt.ZodNull:return pC();case pt.ZodArray:return F_(a,c);case pt.ZodUnion:case pt.ZodDiscriminatedUnion:return mC(a,c);case pt.ZodIntersection:return rC(a,c);case pt.ZodTuple:return RC(a,c);case pt.ZodRecord:return HT(a,c);case pt.ZodLiteral:return oC(a);case pt.ZodEnum:return iC(a);case pt.ZodNativeEnum:return dC(a);case pt.ZodNullable:return gC(a,c);case pt.ZodOptional:return TC(a,c);case pt.ZodMap:return fC(a,c);case pt.ZodSet:return OC(a,c);case pt.ZodLazy:return()=>a.getter()._def;case pt.ZodPromise:return xC(a,c);case pt.ZodNaN:case pt.ZodNever:return hC();case pt.ZodEffects:return lC(a,c);case pt.ZodAny:return Gl();case pt.ZodUnknown:return zC();case pt.ZodDefault:return aC(a,c);case pt.ZodBranded:return MT(a,c);case pt.ZodReadonly:return _C(a,c);case pt.ZodCatch:return tC(a,c);case pt.ZodPipeline:return AC(a,c);case pt.ZodFunction:case pt.ZodVoid:case pt.ZodSymbol:return;default:return(s=>{})()}},DC=(a,u)=>{let c=0;for(;c<a.length&&c<u.length&&a[c]===u[c];c++);return[(a.length-c).toString(),...u.slice(c)].join("/")};function $t(a,u,c=!1){var s;const h=u.seen.get(a);if(u.override){const T=(s=u.override)==null?void 0:s.call(u,a,u,h,c);if(T!==K_)return T}if(h&&!c){const T=MC(h,u);if(T!==void 0)return T}const y={def:a,path:u.currentPath,jsonSchema:void 0};u.seen.set(a,y);const v=CC(a,a.typeName,u),b=typeof v=="function"?$t(v(),u):v;if(b&&NC(a,u,b),u.postProcess){const T=u.postProcess(b,a,u);return y.jsonSchema=b,T}return y.jsonSchema=b,b}var MC=(a,u)=>{switch(u.$refStrategy){case"root":return{$ref:a.path.join("/")};case"relative":return{$ref:DC(u.currentPath,a.path)};case"none":case"seen":return a.path.length<u.currentPath.length&&a.path.every((c,s)=>u.currentPath[s]===c)?(console.warn(`Recursive reference detected at ${u.currentPath.join("/")}! Defaulting to any`),Gl()):u.$refStrategy==="seen"?Gl():void 0}},NC=(a,u,c)=>(a.description&&(c.description=a.description),c),kC=a=>{const u=P_(a),c=u.name!==void 0?[...u.basePath,u.definitionPath,u.name]:u.basePath;return{...u,currentPath:c,propertyPath:void 0,seen:new Map(Object.entries(u.definitions).map(([s,h])=>[h._def,{def:h._def,path:[...u.basePath,u.definitionPath,s],jsonSchema:void 0}]))}},UC=(a,u)=>{var c;const s=kC(u);let h=typeof u=="object"&&u.definitions?Object.entries(u.definitions).reduce((E,[O,R])=>{var z;return{...E,[O]:(z=$t(R._def,{...s,currentPath:[...s.basePath,s.definitionPath,O]},!0))!=null?z:Gl()}},{}):void 0;const y=typeof u=="string"?u:(u==null?void 0:u.nameStrategy)==="title"||u==null?void 0:u.name,v=(c=$t(a._def,y===void 0?s:{...s,currentPath:[...s.basePath,s.definitionPath,y]},!1))!=null?c:Gl(),b=typeof u=="object"&&u.name!==void 0&&u.nameStrategy==="title"?u.name:void 0;b!==void 0&&(v.title=b);const T=y===void 0?h?{...v,[s.definitionPath]:h}:v:{$ref:[...s.$refStrategy==="relative"?[]:s.basePath,s.definitionPath,y].join("/"),[s.definitionPath]:{...h,[y]:v}};return T.$schema="http://json-schema.org/draft-07/schema#",T},Yb=Symbol.for("vercel.ai.schema");function HC(a){let u;return()=>(u==null&&(u=a()),u)}function Ev(a,{validate:u}={}){return{[Yb]:!0,_type:void 0,get jsonSchema(){return typeof a=="function"&&(a=a()),a},validate:u}}function jC(a){return typeof a=="object"&&a!==null&&Yb in a&&a[Yb]===!0&&"jsonSchema"in a&&"validate"in a}function Vb(a){return a==null?Ev({properties:{},additionalProperties:!1}):jC(a)?a:"~standard"in a?a["~standard"].vendor==="zod"?jT(a):BC(a):a()}function BC(a){return Ev(()=>Bb(a["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async u=>{const c=await a["~standard"].validate(u);return"value"in c?{success:!0,value:c.value}:{success:!1,error:new od({value:u,cause:c.issues})}}})}function LC(a,u){var c;const s=(c=void 0)!=null?c:!1;return Ev(()=>UC(a,{$refStrategy:s?"root":"none"}),{validate:async h=>{const y=await a.safeParseAsync(h);return y.success?{success:!0,value:y.data}:{success:!1,error:y.error}}})}function ZC(a,u){var c;const s=(c=void 0)!=null?c:!1;return Ev(()=>Bb(kz(a,{target:"draft-7",io:"input",reused:s?"ref":"inline"})),{validate:async h=>{const y=await fT(a,h);return y.success?{success:!0,value:y.data}:{success:!1,error:y.error}}})}function qC(a){return"_zod"in a}function jT(a,u){return qC(a)?ZC(a):LC(a)}async function BT({value:a,schema:u,context:c}){const s=await tm({value:a,schema:u,context:c});if(!s.success)throw od.wrap({value:a,cause:s.error,context:c});return s.value}async function tm({value:a,schema:u,context:c}){const s=Vb(u);try{if(s.validate==null)return{success:!0,value:a,rawValue:a};const h=await s.validate(a);return h.success?{success:!0,value:h.value,rawValue:a}:{success:!1,error:od.wrap({value:a,cause:h.error,context:c}),rawValue:a}}catch(h){return{success:!1,error:od.wrap({value:a,cause:h,context:c}),rawValue:a}}}async function bs({text:a,schema:u}){try{const c=$_(a);return u==null?{success:!0,value:c,rawValue:c}:await tm({value:c,schema:u})}catch(c){return{success:!1,error:OE.isInstance(c)?c:new OE({text:a,cause:c}),rawValue:void 0}}}function YC({stream:a,schema:u}){return a.pipeThrough(new TextDecoderStream).pipeThrough(new G_).pipeThrough(new TransformStream({async transform({data:c},s){c!=="[DONE]"&&s.enqueue(await bs({text:c,schema:u}))}}))}async function Jo(a){return typeof a=="function"&&(a=a()),Promise.resolve(a)}var VC=Object.defineProperty,GC=(a,u)=>{for(var c in u)VC(a,c,{get:u[c],enumerable:!0})},LT="AI_NoObjectGeneratedError",ZT=`vercel.ai.error.${LT}`,XC=Symbol.for(ZT),qT,$o=class extends Zu{constructor({message:a="No object generated.",cause:u,text:c,response:s,usage:h,finishReason:y}){super({name:LT,message:a,cause:u}),this[qT]=!0,this.text=c,this.response=s,this.usage=h,this.finishReason=y}static isInstance(a){return Zu.hasMarker(a,ZT)}};qT=XC;var YT="AI_UIMessageStreamError",VT=`vercel.ai.error.${YT}`,QC=Symbol.for(VT),GT,fd=class extends Zu{constructor({chunkType:a,chunkId:u,message:c}){super({name:YT,message:c}),this[GT]=!0,this.chunkType=a,this.chunkId=u}static isInstance(a){return Zu.hasMarker(a,VT)}};GT=QC;var XT=nl([Me(),Sv(Uint8Array),Sv(ArrayBuffer),OT(a=>{var u,c;return(c=(u=globalThis.Buffer)==null?void 0:u.isBuffer(a))!=null?c:!1},{message:"Must be a Buffer"})]),Ss=B_(()=>nl([p_(),Me(),s_(),tl(),ys(Me(),Ss.optional()),cd(Ss)])),wt=ys(Me(),ys(Me(),Ss.optional())),QT=Ft({type:We("text"),text:Me(),providerOptions:wt.optional()}),IC=Ft({type:We("image"),image:nl([XT,Sv(URL)]),mediaType:Me().optional(),providerOptions:wt.optional()}),IT=Ft({type:We("file"),data:nl([XT,Sv(URL)]),filename:Me().optional(),mediaType:Me(),providerOptions:wt.optional()}),JC=Ft({type:We("reasoning"),text:Me(),providerOptions:wt.optional()}),$C=Ft({type:We("tool-call"),toolCallId:Me(),toolName:Me(),input:qu(),providerOptions:wt.optional(),providerExecuted:tl().optional()}),KC=b_("type",[Ft({type:We("text"),value:Me(),providerOptions:wt.optional()}),Ft({type:We("json"),value:Ss,providerOptions:wt.optional()}),Ft({type:We("execution-denied"),reason:Me().optional(),providerOptions:wt.optional()}),Ft({type:We("error-text"),value:Me(),providerOptions:wt.optional()}),Ft({type:We("error-json"),value:Ss,providerOptions:wt.optional()}),Ft({type:We("content"),value:cd(nl([Ft({type:We("text"),text:Me(),providerOptions:wt.optional()}),Ft({type:We("media"),data:Me(),mediaType:Me()}),Ft({type:We("file-data"),data:Me(),mediaType:Me(),filename:Me().optional(),providerOptions:wt.optional()}),Ft({type:We("file-url"),url:Me(),providerOptions:wt.optional()}),Ft({type:We("file-id"),fileId:nl([Me(),ys(Me(),Me())]),providerOptions:wt.optional()}),Ft({type:We("image-data"),data:Me(),mediaType:Me(),providerOptions:wt.optional()}),Ft({type:We("image-url"),url:Me(),providerOptions:wt.optional()}),Ft({type:We("image-file-id"),fileId:nl([Me(),ys(Me(),Me())]),providerOptions:wt.optional()}),Ft({type:We("custom"),providerOptions:wt.optional()})]))})]),JT=Ft({type:We("tool-result"),toolCallId:Me(),toolName:Me(),output:KC,providerOptions:wt.optional()}),PC=Ft({type:We("tool-approval-request"),approvalId:Me(),toolCallId:Me()}),FC=Ft({type:We("tool-approval-response"),approvalId:Me(),approved:tl(),reason:Me().optional()}),WC=Ft({role:We("system"),content:Me(),providerOptions:wt.optional()}),eD=Ft({role:We("user"),content:nl([Me(),cd(nl([QT,IC,IT]))]),providerOptions:wt.optional()}),tD=Ft({role:We("assistant"),content:nl([Me(),cd(nl([QT,IT,JC,$C,JT,PC]))]),providerOptions:wt.optional()}),nD=Ft({role:We("tool"),content:cd(nl([JT,FC])),providerOptions:wt.optional()});nl([WC,eD,tD,nD]);function $T(a,u){if(a===void 0&&u===void 0)return;if(a===void 0)return u;if(u===void 0)return a;const c={...a};for(const s in u)if(!(s==="__proto__"||s==="constructor"||s==="prototype")&&Object.prototype.hasOwnProperty.call(u,s)){const h=u[s];if(h===void 0)continue;const y=s in a?a[s]:void 0,v=h!==null&&typeof h=="object"&&!Array.isArray(h)&&!(h instanceof Date)&&!(h instanceof RegExp),b=y!=null&&typeof y=="object"&&!Array.isArray(y)&&!(y instanceof Date)&&!(y instanceof RegExp);v&&b?c[s]=$T(y,h):c[s]=h}return c}var aD={};GC(aD,{array:()=>rD,choice:()=>oD,json:()=>cD,object:()=>uD,text:()=>iD});function lD(a){const u=["ROOT"];let c=-1,s=null;function h(T,E,O){switch(T){case'"':{c=E,u.pop(),u.push(O),u.push("INSIDE_STRING");break}case"f":case"t":case"n":{c=E,s=E,u.pop(),u.push(O),u.push("INSIDE_LITERAL");break}case"-":{u.pop(),u.push(O),u.push("INSIDE_NUMBER");break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{c=E,u.pop(),u.push(O),u.push("INSIDE_NUMBER");break}case"{":{c=E,u.pop(),u.push(O),u.push("INSIDE_OBJECT_START");break}case"[":{c=E,u.pop(),u.push(O),u.push("INSIDE_ARRAY_START");break}}}function y(T,E){switch(T){case",":{u.pop(),u.push("INSIDE_OBJECT_AFTER_COMMA");break}case"}":{c=E,u.pop();break}}}function v(T,E){switch(T){case",":{u.pop(),u.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{c=E,u.pop();break}}}for(let T=0;T<a.length;T++){const E=a[T];switch(u[u.length-1]){case"ROOT":h(E,T,"FINISH");break;case"INSIDE_OBJECT_START":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_KEY");break}case"}":{c=T,u.pop();break}}break}case"INSIDE_OBJECT_AFTER_COMMA":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_KEY");break}}break}case"INSIDE_OBJECT_KEY":{switch(E){case'"':{u.pop(),u.push("INSIDE_OBJECT_AFTER_KEY");break}}break}case"INSIDE_OBJECT_AFTER_KEY":{switch(E){case":":{u.pop(),u.push("INSIDE_OBJECT_BEFORE_VALUE");break}}break}case"INSIDE_OBJECT_BEFORE_VALUE":{h(E,T,"INSIDE_OBJECT_AFTER_VALUE");break}case"INSIDE_OBJECT_AFTER_VALUE":{y(E,T);break}case"INSIDE_STRING":{switch(E){case'"':{u.pop(),c=T;break}case"\\":{u.push("INSIDE_STRING_ESCAPE");break}default:c=T}break}case"INSIDE_ARRAY_START":{switch(E){case"]":{c=T,u.pop();break}default:{c=T,h(E,T,"INSIDE_ARRAY_AFTER_VALUE");break}}break}case"INSIDE_ARRAY_AFTER_VALUE":{switch(E){case",":{u.pop(),u.push("INSIDE_ARRAY_AFTER_COMMA");break}case"]":{c=T,u.pop();break}default:{c=T;break}}break}case"INSIDE_ARRAY_AFTER_COMMA":{h(E,T,"INSIDE_ARRAY_AFTER_VALUE");break}case"INSIDE_STRING_ESCAPE":{u.pop(),c=T;break}case"INSIDE_NUMBER":{switch(E){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":{c=T;break}case"e":case"E":case"-":case".":break;case",":{u.pop(),u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&y(E,T);break}case"}":{u.pop(),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"&&y(E,T);break}case"]":{u.pop(),u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T);break}default:{u.pop();break}}break}case"INSIDE_LITERAL":{const R=a.substring(s,T+1);!"false".startsWith(R)&&!"true".startsWith(R)&&!"null".startsWith(R)?(u.pop(),u[u.length-1]==="INSIDE_OBJECT_AFTER_VALUE"?y(E,T):u[u.length-1]==="INSIDE_ARRAY_AFTER_VALUE"&&v(E,T)):c=T;break}}}let b=a.slice(0,c+1);for(let T=u.length-1;T>=0;T--)switch(u[T]){case"INSIDE_STRING":{b+='"';break}case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":{b+="}";break}case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":{b+="]";break}case"INSIDE_LITERAL":{const O=a.substring(s,a.length);"true".startsWith(O)?b+="true".slice(O.length):"false".startsWith(O)?b+="false".slice(O.length):"null".startsWith(O)&&(b+="null".slice(O.length))}}return b}async function nm(a){if(a===void 0)return{value:void 0,state:"undefined-input"};let u=await bs({text:a});return u.success?{value:u.value,state:"successful-parse"}:(u=await bs({text:lD(a)}),u.success?{value:u.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"})}var iD=()=>({name:"text",responseFormat:Promise.resolve({type:"text"}),async parseCompleteOutput({text:a}){return a},async parsePartialOutput({text:a}){return{partial:a}},createElementStreamTransform(){}}),uD=({schema:a,name:u,description:c})=>{const s=Vb(a);return{name:"object",responseFormat:Jo(s.jsonSchema).then(h=>({type:"json",schema:h,...u!=null&&{name:u},...c!=null&&{description:c}})),async parseCompleteOutput({text:h},y){const v=await bs({text:h});if(!v.success)throw new $o({message:"No object generated: could not parse the response.",cause:v.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});const b=await tm({value:v.value,schema:s});if(!b.success)throw new $o({message:"No object generated: response did not match schema.",cause:b.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});return b.value},async parsePartialOutput({text:h}){const y=await nm(h);switch(y.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return{partial:y.value}}},createElementStreamTransform(){}}},rD=({element:a,name:u,description:c})=>{const s=Vb(a);return{name:"array",responseFormat:Jo(s.jsonSchema).then(h=>{const{$schema:y,...v}=h;return{type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{elements:{type:"array",items:v}},required:["elements"],additionalProperties:!1},...u!=null&&{name:u},...c!=null&&{description:c}}}),async parseCompleteOutput({text:h},y){const v=await bs({text:h});if(!v.success)throw new $o({message:"No object generated: could not parse the response.",cause:v.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});const b=v.value;if(b==null||typeof b!="object"||!("elements"in b)||!Array.isArray(b.elements))throw new $o({message:"No object generated: response did not match schema.",cause:new od({value:b,cause:"response must be an object with an elements array"}),text:h,response:y.response,usage:y.usage,finishReason:y.finishReason});for(const T of b.elements){const E=await tm({value:T,schema:s});if(!E.success)throw new $o({message:"No object generated: response did not match schema.",cause:E.error,text:h,response:y.response,usage:y.usage,finishReason:y.finishReason})}return b.elements},async parsePartialOutput({text:h}){const y=await nm(h);switch(y.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{const v=y.value;if(v==null||typeof v!="object"||!("elements"in v)||!Array.isArray(v.elements))return;const b=y.state==="repaired-parse"&&v.elements.length>0?v.elements.slice(0,-1):v.elements,T=[];for(const E of b){const O=await tm({value:E,schema:s});O.success&&T.push(O.value)}return{partial:T}}}},createElementStreamTransform(){let h=0;return new TransformStream({transform({partialOutput:y},v){if(y!=null)for(;h<y.length;h++)v.enqueue(y[h])}})}}},oD=({options:a,name:u,description:c})=>({name:"choice",responseFormat:Promise.resolve({type:"json",schema:{$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{result:{type:"string",enum:a}},required:["result"],additionalProperties:!1},...u!=null&&{name:u},...c!=null&&{description:c}}),async parseCompleteOutput({text:s},h){const y=await bs({text:s});if(!y.success)throw new $o({message:"No object generated: could not parse the response.",cause:y.error,text:s,response:h.response,usage:h.usage,finishReason:h.finishReason});const v=y.value;if(v==null||typeof v!="object"||!("result"in v)||typeof v.result!="string"||!a.includes(v.result))throw new $o({message:"No object generated: response did not match schema.",cause:new od({value:v,cause:"response must be an object that contains a choice value."}),text:s,response:h.response,usage:h.usage,finishReason:h.finishReason});return v.result},async parsePartialOutput({text:s}){const h=await nm(s);switch(h.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":{const y=h.value;if(y==null||typeof y!="object"||!("result"in y)||typeof y.result!="string")return;const v=a.filter(b=>b.startsWith(y.result));return h.state==="successful-parse"?v.includes(y.result)?{partial:y.result}:void 0:v.length===1?{partial:v[0]}:void 0}}},createElementStreamTransform(){}}),cD=({name:a,description:u}={})=>({name:"json",responseFormat:Promise.resolve({type:"json",...a!=null&&{name:a},...u!=null&&{description:u}}),async parseCompleteOutput({text:c},s){const h=await bs({text:c});if(!h.success)throw new $o({message:"No object generated: could not parse the response.",cause:h.error,text:c,response:s.response,usage:s.usage,finishReason:s.finishReason});return h.value},async parsePartialOutput({text:c}){const s=await nm(c);switch(s.state){case"failed-parse":case"undefined-input":return;case"repaired-parse":case"successful-parse":return s.value===void 0?void 0:{partial:s.value}}},createElementStreamTransform(){}});em({prefix:"aitxt",size:24}),class extends TransformStream{constructor(){super({transform(a,u){u.enqueue(`data: ${JSON.stringify(a)}
|
|
363
|
-
|
|
364
|
-
`)},flush(a){a.enqueue(`data: [DONE]
|
|
365
|
-
|
|
366
|
-
`)}})}};var am=ys(Me(),Ss.optional()),sD=HC(()=>jT(nl([dn({type:We("text-start"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("text-delta"),id:Me(),delta:Me(),providerMetadata:wt.optional()}),dn({type:We("text-end"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("error"),errorText:Me()}),dn({type:We("tool-input-start"),toolCallId:Me(),toolName:Me(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),title:Me().optional()}),dn({type:We("tool-input-delta"),toolCallId:Me(),inputTextDelta:Me()}),dn({type:We("tool-input-available"),toolCallId:Me(),toolName:Me(),input:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),title:Me().optional()}),dn({type:We("tool-input-error"),toolCallId:Me(),toolName:Me(),input:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),errorText:Me(),title:Me().optional()}),dn({type:We("tool-approval-request"),approvalId:Me(),toolCallId:Me()}),dn({type:We("tool-output-available"),toolCallId:Me(),output:qu(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional(),preliminary:tl().optional()}),dn({type:We("tool-output-error"),toolCallId:Me(),errorText:Me(),providerExecuted:tl().optional(),providerMetadata:wt.optional(),toolMetadata:am.optional(),dynamic:tl().optional()}),dn({type:We("tool-output-denied"),toolCallId:Me()}),dn({type:We("reasoning-start"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("reasoning-delta"),id:Me(),delta:Me(),providerMetadata:wt.optional()}),dn({type:We("reasoning-end"),id:Me(),providerMetadata:wt.optional()}),dn({type:We("source-url"),sourceId:Me(),url:Me(),title:Me().optional(),providerMetadata:wt.optional()}),dn({type:We("source-document"),sourceId:Me(),mediaType:Me(),title:Me(),filename:Me().optional(),providerMetadata:wt.optional()}),dn({type:We("file"),url:Me(),mediaType:Me(),providerMetadata:wt.optional()}),dn({type:OT(a=>typeof a=="string"&&a.startsWith("data-"),{message:'Type must start with "data-"'}),id:Me().optional(),data:qu(),transient:tl().optional()}),dn({type:We("start-step")}),dn({type:We("finish-step")}),dn({type:We("start"),messageId:Me().optional(),messageMetadata:qu().optional()}),dn({type:We("finish"),finishReason:bT(["stop","length","content-filter","tool-calls","error","other"]).optional(),messageMetadata:qu().optional()}),dn({type:We("abort"),reason:Me().optional()}),dn({type:We("message-metadata"),messageMetadata:qu()})])));function fD(a){return a.type.startsWith("data-")}function Gb(a){return a.type==="text"}function Xb(a){return a.type.startsWith("tool-")}function dD(a){return a.type==="dynamic-tool"}function Tv(a){return Xb(a)||dD(a)}function KT(a){return a.type.split("-").slice(1).join("-")}function hD({lastMessage:a,messageId:u}){return{message:(a==null?void 0:a.role)==="assistant"?a:{id:u,metadata:void 0,role:"assistant",parts:[]},activeTextParts:{},activeReasoningParts:{},partialToolCalls:{}}}function pD({stream:a,messageMetadataSchema:u,dataPartSchemas:c,runUpdateMessageJob:s,onError:h,onToolCall:y,onData:v}){return a.pipeThrough(new TransformStream({async transform(b,T){await s(async({state:E,write:O})=>{var R,z,_,Y;function le(D){const ne=E.message.parts.filter(Tv).find(Q=>Q.toolCallId===D);if(ne==null)throw new fd({chunkType:"tool-invocation",chunkId:D,message:`No tool invocation found for tool call ID "${D}".`});return ne}function X(D){var oe;const ne=E.message.parts.find(we=>Xb(we)&&we.toolCallId===D.toolCallId),Q=D,pe=ne;if(ne!=null){ne.state=D.state,pe.input=Q.input,pe.output=Q.output,pe.errorText=Q.errorText,pe.rawInput=Q.rawInput,pe.preliminary=Q.preliminary,D.title!==void 0&&(pe.title=D.title),D.toolMetadata!==void 0&&(pe.toolMetadata=D.toolMetadata),pe.providerExecuted=(oe=Q.providerExecuted)!=null?oe:ne.providerExecuted;const we=Q.providerMetadata;if(we!=null)if(D.state==="output-available"||D.state==="output-error"){const Se=ne;Se.resultProviderMetadata=we}else ne.callProviderMetadata=we}else E.message.parts.push({type:`tool-${D.toolName}`,toolCallId:D.toolCallId,state:D.state,title:D.title,...D.toolMetadata!==void 0?{toolMetadata:D.toolMetadata}:{},input:Q.input,output:Q.output,rawInput:Q.rawInput,errorText:Q.errorText,providerExecuted:Q.providerExecuted,preliminary:Q.preliminary,...Q.providerMetadata!=null&&(D.state==="output-available"||D.state==="output-error")?{resultProviderMetadata:Q.providerMetadata}:{},...Q.providerMetadata!=null&&!(D.state==="output-available"||D.state==="output-error")?{callProviderMetadata:Q.providerMetadata}:{}})}function k(D){var oe,ne;const Q=E.message.parts.find(Se=>Se.type==="dynamic-tool"&&Se.toolCallId===D.toolCallId),pe=D,we=Q;if(Q!=null){Q.state=D.state,we.toolName=D.toolName,we.input=pe.input,we.output=pe.output,we.errorText=pe.errorText,we.rawInput=(oe=pe.rawInput)!=null?oe:we.rawInput,we.preliminary=pe.preliminary,D.title!==void 0&&(we.title=D.title),D.toolMetadata!==void 0&&(we.toolMetadata=D.toolMetadata),we.providerExecuted=(ne=pe.providerExecuted)!=null?ne:Q.providerExecuted;const Se=pe.providerMetadata;if(Se!=null)if(D.state==="output-available"||D.state==="output-error"){const He=Q;He.resultProviderMetadata=Se}else Q.callProviderMetadata=Se}else E.message.parts.push({type:"dynamic-tool",toolName:D.toolName,toolCallId:D.toolCallId,state:D.state,input:pe.input,output:pe.output,errorText:pe.errorText,preliminary:pe.preliminary,providerExecuted:pe.providerExecuted,title:D.title,...D.toolMetadata!==void 0?{toolMetadata:D.toolMetadata}:{},...pe.providerMetadata!=null&&(D.state==="output-available"||D.state==="output-error")?{resultProviderMetadata:pe.providerMetadata}:{},...pe.providerMetadata!=null&&!(D.state==="output-available"||D.state==="output-error")?{callProviderMetadata:pe.providerMetadata}:{}})}async function L(D){if(D!=null){const oe=E.message.metadata!=null?$T(E.message.metadata,D):D;u!=null&&await BT({value:oe,schema:u,context:{field:"message.metadata",entityId:E.message.id}}),E.message.metadata=oe}}switch(b.type){case"text-start":{const D={type:"text",text:"",providerMetadata:b.providerMetadata,state:"streaming"};E.activeTextParts[b.id]=D,E.message.parts.push(D),O();break}case"text-delta":{const D=E.activeTextParts[b.id];if(D==null)throw new fd({chunkType:"text-delta",chunkId:b.id,message:`Received text-delta for missing text part with ID "${b.id}". Ensure a "text-start" chunk is sent before any "text-delta" chunks.`});D.text+=b.delta,D.providerMetadata=(R=b.providerMetadata)!=null?R:D.providerMetadata,O();break}case"text-end":{const D=E.activeTextParts[b.id];if(D==null)throw new fd({chunkType:"text-end",chunkId:b.id,message:`Received text-end for missing text part with ID "${b.id}". Ensure a "text-start" chunk is sent before any "text-end" chunks.`});D.state="done",D.providerMetadata=(z=b.providerMetadata)!=null?z:D.providerMetadata,delete E.activeTextParts[b.id],O();break}case"reasoning-start":{const D={type:"reasoning",text:"",providerMetadata:b.providerMetadata,state:"streaming"};E.activeReasoningParts[b.id]=D,E.message.parts.push(D),O();break}case"reasoning-delta":{const D=E.activeReasoningParts[b.id];if(D==null)throw new fd({chunkType:"reasoning-delta",chunkId:b.id,message:`Received reasoning-delta for missing reasoning part with ID "${b.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-delta" chunks.`});D.text+=b.delta,D.providerMetadata=(_=b.providerMetadata)!=null?_:D.providerMetadata,O();break}case"reasoning-end":{const D=E.activeReasoningParts[b.id];if(D==null)throw new fd({chunkType:"reasoning-end",chunkId:b.id,message:`Received reasoning-end for missing reasoning part with ID "${b.id}". Ensure a "reasoning-start" chunk is sent before any "reasoning-end" chunks.`});D.providerMetadata=(Y=b.providerMetadata)!=null?Y:D.providerMetadata,D.state="done",delete E.activeReasoningParts[b.id],O();break}case"file":{E.message.parts.push({type:"file",mediaType:b.mediaType,url:b.url,...b.providerMetadata!=null?{providerMetadata:b.providerMetadata}:{}}),O();break}case"source-url":{E.message.parts.push({type:"source-url",sourceId:b.sourceId,url:b.url,title:b.title,providerMetadata:b.providerMetadata}),O();break}case"source-document":{E.message.parts.push({type:"source-document",sourceId:b.sourceId,mediaType:b.mediaType,title:b.title,filename:b.filename,providerMetadata:b.providerMetadata}),O();break}case"tool-input-start":{const D=E.message.parts.filter(Xb);E.partialToolCalls[b.toolCallId]={text:"",toolName:b.toolName,index:D.length,dynamic:b.dynamic,title:b.title,toolMetadata:b.toolMetadata},b.dynamic?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-streaming",input:void 0,providerExecuted:b.providerExecuted,title:b.title,toolMetadata:b.toolMetadata,providerMetadata:b.providerMetadata}):X({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-streaming",input:void 0,providerExecuted:b.providerExecuted,title:b.title,toolMetadata:b.toolMetadata,providerMetadata:b.providerMetadata}),O();break}case"tool-input-delta":{const D=E.partialToolCalls[b.toolCallId];if(D==null)throw new fd({chunkType:"tool-input-delta",chunkId:b.toolCallId,message:`Received tool-input-delta for missing tool call with ID "${b.toolCallId}". Ensure a "tool-input-start" chunk is sent before any "tool-input-delta" chunks.`});D.text+=b.inputTextDelta;const{value:oe}=await nm(D.text);D.dynamic?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"input-streaming",input:oe,title:D.title,toolMetadata:D.toolMetadata}):X({toolCallId:b.toolCallId,toolName:D.toolName,state:"input-streaming",input:oe,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"tool-input-available":{b.dynamic?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-available",input:b.input,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:b.title,toolMetadata:b.toolMetadata}):X({toolCallId:b.toolCallId,toolName:b.toolName,state:"input-available",input:b.input,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:b.title,toolMetadata:b.toolMetadata}),O(),y&&!b.providerExecuted&&await y({toolCall:b});break}case"tool-input-error":{const D=E.message.parts.filter(Tv).find(ne=>ne.toolCallId===b.toolCallId);(D!=null?D.type==="dynamic-tool":!!b.dynamic)?k({toolCallId:b.toolCallId,toolName:b.toolName,state:"output-error",input:b.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,toolMetadata:b.toolMetadata}):X({toolCallId:b.toolCallId,toolName:b.toolName,state:"output-error",input:void 0,rawInput:b.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,toolMetadata:b.toolMetadata}),O();break}case"tool-approval-request":{const D=le(b.toolCallId);D.state="approval-requested",D.approval={id:b.approvalId},O();break}case"tool-output-denied":{const D=le(b.toolCallId);D.state="output-denied",O();break}case"tool-output-available":{const D=le(b.toolCallId);D.type==="dynamic-tool"?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"output-available",input:D.input,output:b.output,preliminary:b.preliminary,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}):X({toolCallId:b.toolCallId,toolName:KT(D),state:"output-available",input:D.input,output:b.output,providerExecuted:b.providerExecuted,preliminary:b.preliminary,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"tool-output-error":{const D=le(b.toolCallId);D.type==="dynamic-tool"?k({toolCallId:b.toolCallId,toolName:D.toolName,state:"output-error",input:D.input,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}):X({toolCallId:b.toolCallId,toolName:KT(D),state:"output-error",input:D.input,rawInput:D.rawInput,errorText:b.errorText,providerExecuted:b.providerExecuted,providerMetadata:b.providerMetadata,title:D.title,toolMetadata:D.toolMetadata}),O();break}case"start-step":{E.message.parts.push({type:"step-start"});break}case"finish-step":{E.activeTextParts={},E.activeReasoningParts={};break}case"start":{b.messageId!=null&&(E.message.id=b.messageId),await L(b.messageMetadata),(b.messageId!=null||b.messageMetadata!=null)&&O();break}case"finish":{b.finishReason!=null&&(E.finishReason=b.finishReason),await L(b.messageMetadata),b.messageMetadata!=null&&O();break}case"message-metadata":{await L(b.messageMetadata),b.messageMetadata!=null&&O();break}case"error":{h==null||h(new Error(b.errorText));break}default:if(fD(b)){if((c==null?void 0:c[b.type])!=null){const ne=E.message.parts.findIndex(pe=>"id"in pe&&"data"in pe&&pe.id===b.id&&pe.type===b.type),Q=ne>=0?ne:E.message.parts.length;await BT({value:b.data,schema:c[b.type],context:{field:`message.parts[${Q}].data`,entityName:b.type,entityId:b.id}})}const D=b;if(D.transient){v==null||v(D);break}const oe=D.id!=null?E.message.parts.find(ne=>D.type===ne.type&&D.id===ne.id):void 0;oe!=null?oe.data=D.data:E.message.parts.push(D),v==null||v(D),O()}}T.enqueue(b)})}}))}async function mD({stream:a,onError:u}){const c=a.getReader();try{for(;;){const{done:s}=await c.read();if(s)break}}catch(s){u==null||u(s)}finally{c.releaseLock()}}em({prefix:"aitxt",size:24}),ys(Me(),Ss.optional()),em({prefix:"aiobj",size:24});var yD=class{constructor(){this.queue=[],this.isProcessing=!1}async processQueue(){if(!this.isProcessing){for(this.isProcessing=!0;this.queue.length>0;)await this.queue[0](),this.queue.shift();this.isProcessing=!1}}async run(a){return new Promise((u,c)=>{this.queue.push(async()=>{try{await a(),u()}catch(s){c(s)}}),this.processQueue()})}};em({prefix:"aiobj",size:24});async function gD(a){if(a==null)return[];if(!globalThis.FileList||!(a instanceof globalThis.FileList))throw new Error("FileList is not supported in the current environment");return Promise.all(Array.from(a).map(async u=>{const{name:c,type:s}=u,h=await new Promise((y,v)=>{const b=new FileReader;b.onload=T=>{var E;y((E=T.target)==null?void 0:E.result)},b.onerror=T=>v(T),b.readAsDataURL(u)});return{type:"file",mediaType:s,filename:c,url:h}}))}var vD=class{constructor({api:a="/api/chat",credentials:u,headers:c,body:s,fetch:h,prepareSendMessagesRequest:y,prepareReconnectToStreamRequest:v}){this.api=a,this.credentials=u,this.headers=c,this.body=s,this.fetch=h,this.prepareSendMessagesRequest=y,this.prepareReconnectToStreamRequest=v}async sendMessages({abortSignal:a,...u}){var c,s,h,y,v;const b=await Jo(this.body),T=await Jo(this.headers),E=await Jo(this.credentials),O={...sd(T),...sd(u.headers)},R=await((c=this.prepareSendMessagesRequest)==null?void 0:c.call(this,{api:this.api,id:u.chatId,messages:u.messages,body:{...b,...u.body},headers:O,credentials:E,requestMetadata:u.metadata,trigger:u.trigger,messageId:u.messageId})),z=(s=R==null?void 0:R.api)!=null?s:this.api,_=(R==null?void 0:R.headers)!==void 0?sd(R.headers):O,Y=(R==null?void 0:R.body)!==void 0?R.body:{...b,...u.body,id:u.chatId,messages:u.messages,trigger:u.trigger,messageId:u.messageId},le=(h=R==null?void 0:R.credentials)!=null?h:E,k=await((y=this.fetch)!=null?y:globalThis.fetch)(z,{method:"POST",headers:{"Content-Type":"application/json",..._},body:JSON.stringify(Y),credentials:le,signal:a});if(!k.ok)throw new Error((v=await k.text())!=null?v:"Failed to fetch the chat response.");if(!k.body)throw new Error("The response body is empty.");return this.processResponseStream(k.body)}async reconnectToStream(a){var u,c,s,h,y;const v=await Jo(this.body),b=await Jo(this.headers),T=await Jo(this.credentials),E={...sd(b),...sd(a.headers)},O=await((u=this.prepareReconnectToStreamRequest)==null?void 0:u.call(this,{api:this.api,id:a.chatId,body:{...v,...a.body},headers:E,credentials:T,requestMetadata:a.metadata})),R=(c=O==null?void 0:O.api)!=null?c:`${this.api}/${a.chatId}/stream`,z=(O==null?void 0:O.headers)!==void 0?sd(O.headers):E,_=(s=O==null?void 0:O.credentials)!=null?s:T,le=await((h=this.fetch)!=null?h:globalThis.fetch)(R,{method:"GET",headers:z,credentials:_});if(le.status===204)return null;if(!le.ok)throw new Error((y=await le.text())!=null?y:"Failed to fetch the chat response.");if(!le.body)throw new Error("The response body is empty.");return this.processResponseStream(le.body)}},PT=class extends vD{constructor(a={}){super(a)}processResponseStream(a){return YC({stream:a,schema:sD}).pipeThrough(new TransformStream({async transform(u,c){if(!u.success)throw u.error;c.enqueue(u.value)}}))}},bD=class{constructor({generateId:a=X_,id:u=a(),transport:c=new PT,messageMetadataSchema:s,dataPartSchemas:h,state:y,onError:v,onToolCall:b,onFinish:T,onData:E,sendAutomaticallyWhen:O}){this.activeResponse=void 0,this.jobExecutor=new yD,this.sendMessage=async(R,z)=>{var _,Y,le,X;if(R==null){await this.makeRequest({trigger:"submit-message",messageId:(_=this.lastMessage)==null?void 0:_.id,...z});return}let k;if("text"in R||"files"in R?k={parts:[...Array.isArray(R.files)?R.files:await gD(R.files),..."text"in R&&R.text!=null?[{type:"text",text:R.text}]:[]]}:k=R,R.messageId!=null){const L=this.state.messages.findIndex(D=>D.id===R.messageId);if(L===-1)throw new Error(`message with id ${R.messageId} not found`);if(this.state.messages[L].role!=="user")throw new Error(`message with id ${R.messageId} is not a user message`);this.state.messages=this.state.messages.slice(0,L+1),this.state.replaceMessage(L,{...k,id:R.messageId,role:(Y=k.role)!=null?Y:"user",metadata:R.metadata})}else this.state.pushMessage({...k,id:(le=k.id)!=null?le:this.generateId(),role:(X=k.role)!=null?X:"user",metadata:R.metadata});await this.makeRequest({trigger:"submit-message",messageId:R.messageId,...z})},this.regenerate=async({messageId:R,...z}={})=>{const _=R==null?this.state.messages.length-1:this.state.messages.findIndex(Y=>Y.id===R);if(_===-1)throw new Error(`message ${R} not found`);this.state.messages=this.state.messages.slice(0,this.messages[_].role==="assistant"?_:_+1),await this.makeRequest({trigger:"regenerate-message",messageId:R,...z})},this.resumeStream=async(R={})=>{await this.makeRequest({trigger:"resume-stream",...R})},this.clearError=()=>{this.status==="error"&&(this.state.error=void 0,this.setStatus({status:"ready"}))},this.addToolApprovalResponse=async({id:R,approved:z,reason:_,options:Y})=>this.jobExecutor.run(async()=>{const le=this.state.messages,X=le[le.length-1],k=L=>Tv(L)&&L.state==="approval-requested"&&L.approval.id===R?{...L,state:"approval-responded",approval:{id:R,approved:z,reason:_}}:L;this.state.replaceMessage(le.length-1,{...X,parts:X.parts.map(k)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(k)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(L=>{var D;L&&this.makeRequest({trigger:"submit-message",messageId:(D=this.lastMessage)==null?void 0:D.id,...Y})})}),this.addToolOutput=async({state:R="output-available",toolCallId:z,output:_,errorText:Y,options:le})=>this.jobExecutor.run(async()=>{const X=this.state.messages,k=X[X.length-1],L=D=>Tv(D)&&D.toolCallId===z?{...D,state:R,output:_,errorText:Y}:D;this.state.replaceMessage(X.length-1,{...k,parts:k.parts.map(L)}),this.activeResponse&&(this.activeResponse.state.message.parts=this.activeResponse.state.message.parts.map(L)),this.status!=="streaming"&&this.status!=="submitted"&&this.sendAutomaticallyWhen&&this.shouldSendAutomatically().then(D=>{var oe;D&&this.makeRequest({trigger:"submit-message",messageId:(oe=this.lastMessage)==null?void 0:oe.id,...le})})}),this.addToolResult=this.addToolOutput,this.stop=async()=>{var R;this.status!=="streaming"&&this.status!=="submitted"||(R=this.activeResponse)!=null&&R.abortController&&this.activeResponse.abortController.abort()},this.id=u,this.transport=c,this.generateId=a,this.messageMetadataSchema=s,this.dataPartSchemas=h,this.state=y,this.onError=v,this.onToolCall=b,this.onFinish=T,this.onData=E,this.sendAutomaticallyWhen=O}get status(){return this.state.status}setStatus({status:a,error:u}){this.status!==a&&(this.state.status=a,this.state.error=u)}get error(){return this.state.error}get messages(){return this.state.messages}get lastMessage(){return this.state.messages[this.state.messages.length-1]}set messages(a){this.state.messages=a}async shouldSendAutomatically(){if(!this.sendAutomaticallyWhen)return!1;const a=this.sendAutomaticallyWhen({messages:this.state.messages});return a&&typeof a=="object"&&"then"in a?await a:a}async makeRequest({trigger:a,metadata:u,headers:c,body:s,messageId:h}){var y,v,b;let T;if(a==="resume-stream")try{const _=await this.transport.reconnectToStream({chatId:this.id,metadata:u,headers:c,body:s});if(_==null)return;T=_}catch(_){this.onError&&_ instanceof Error&&this.onError(_),this.setStatus({status:"error",error:_});return}this.setStatus({status:"submitted",error:void 0});const E=this.lastMessage;let O=!1,R=!1,z=!1;try{const _={state:hD({lastMessage:this.state.snapshot(E),messageId:this.generateId()}),abortController:new AbortController};_.abortController.signal.addEventListener("abort",()=>{O=!0}),this.activeResponse=_;let Y;a==="resume-stream"?Y=T:Y=await this.transport.sendMessages({chatId:this.id,messages:this.state.messages,abortSignal:_.abortController.signal,metadata:u,headers:c,body:s,trigger:a,messageId:h});const le=X=>this.jobExecutor.run(()=>X({state:_.state,write:()=>{var k;this.setStatus({status:"streaming"}),_.state.message.id===((k=this.lastMessage)==null?void 0:k.id)?this.state.replaceMessage(this.state.messages.length-1,_.state.message):this.state.pushMessage(_.state.message)}}));await mD({stream:pD({stream:Y,onToolCall:this.onToolCall,onData:this.onData,messageMetadataSchema:this.messageMetadataSchema,dataPartSchemas:this.dataPartSchemas,runUpdateMessageJob:le,onError:X=>{throw X}}),onError:X=>{throw X}}),this.setStatus({status:"ready"})}catch(_){if(O||_.name==="AbortError")return O=!0,this.setStatus({status:"ready"}),null;z=!0,_ instanceof TypeError&&(_.message.toLowerCase().includes("fetch")||_.message.toLowerCase().includes("network"))&&(R=!0),this.onError&&_ instanceof Error&&this.onError(_),this.setStatus({status:"error",error:_})}finally{try{(v=this.onFinish)==null||v.call(this,{message:this.activeResponse.state.message,messages:this.state.messages,isAbort:O,isDisconnect:R,isError:z,finishReason:(y=this.activeResponse)==null?void 0:y.state.finishReason})}catch(_){console.error(_)}this.activeResponse=void 0}!z&&await this.shouldSendAutomatically()&&await this.makeRequest({trigger:"submit-message",messageId:(b=this.lastMessage)==null?void 0:b.id,metadata:u,headers:c,body:s})}},Qb,FT;function SD(){if(FT)return Qb;FT=1;function a(u,c){if(typeof u!="function")throw new TypeError(`Expected the first argument to be a \`function\`, got \`${typeof u}\`.`);let s,h=0;return function(...v){clearTimeout(s);const b=Date.now(),T=b-h,E=c-T;E<=0?(h=b,u.apply(this,v)):s=setTimeout(()=>{h=Date.now(),u.apply(this,v)},E)}}return Qb=a,Qb}var ED=SD();const TD=xb(ED);var WT=(a,u,c)=>{if(!u.has(a))throw TypeError("Cannot "+c)},hn=(a,u,c)=>(WT(a,u,"read from private field"),c?c.call(a):u.get(a)),Yu=(a,u,c)=>{if(u.has(a))throw TypeError("Cannot add the same private member more than once");u instanceof WeakSet?u.add(a):u.set(a,c)},Ko=(a,u,c,s)=>(WT(a,u,"write to private field"),u.set(a,c),c);function AD(a,u){return u!=null?TD(a,u):a}var hi,Av,xv,lm,im,um,dd,Ib,Jb,xD=class{constructor(a=[]){Yu(this,hi,void 0),Yu(this,Av,"ready"),Yu(this,xv,void 0),Yu(this,lm,new Set),Yu(this,im,new Set),Yu(this,um,new Set),this.pushMessage=u=>{Ko(this,hi,hn(this,hi).concat(u)),hn(this,dd).call(this)},this.popMessage=()=>{Ko(this,hi,hn(this,hi).slice(0,-1)),hn(this,dd).call(this)},this.replaceMessage=(u,c)=>{Ko(this,hi,[...hn(this,hi).slice(0,u),this.snapshot(c),...hn(this,hi).slice(u+1)]),hn(this,dd).call(this)},this.snapshot=u=>structuredClone(u),this["~registerMessagesCallback"]=(u,c)=>{const s=c?AD(u,c):u;return hn(this,lm).add(s),()=>{hn(this,lm).delete(s)}},this["~registerStatusCallback"]=u=>(hn(this,im).add(u),()=>{hn(this,im).delete(u)}),this["~registerErrorCallback"]=u=>(hn(this,um).add(u),()=>{hn(this,um).delete(u)}),Yu(this,dd,()=>{hn(this,lm).forEach(u=>u())}),Yu(this,Ib,()=>{hn(this,im).forEach(u=>u())}),Yu(this,Jb,()=>{hn(this,um).forEach(u=>u())}),Ko(this,hi,a)}get status(){return hn(this,Av)}set status(a){Ko(this,Av,a),hn(this,Ib).call(this)}get error(){return hn(this,xv)}set error(a){Ko(this,xv,a),hn(this,Jb).call(this)}get messages(){return hn(this,hi)}set messages(a){Ko(this,hi,[...a]),hn(this,dd).call(this)}};hi=new WeakMap,Av=new WeakMap,xv=new WeakMap,lm=new WeakMap,im=new WeakMap,um=new WeakMap,dd=new WeakMap,Ib=new WeakMap,Jb=new WeakMap;var hd,eA=class extends bD{constructor({messages:a,...u}){const c=new xD(a);super({...u,state:c}),Yu(this,hd,void 0),this["~registerMessagesCallback"]=(s,h)=>hn(this,hd)["~registerMessagesCallback"](s,h),this["~registerStatusCallback"]=s=>hn(this,hd)["~registerStatusCallback"](s),this["~registerErrorCallback"]=s=>hn(this,hd)["~registerErrorCallback"](s),Ko(this,hd,c)}};hd=new WeakMap;function OD({experimental_throttle:a,resume:u=!1,...c}={}){const s=bn.useRef("chat"in c?{}:{onToolCall:c.onToolCall,onData:c.onData,onFinish:c.onFinish,onError:c.onError,sendAutomaticallyWhen:c.sendAutomaticallyWhen});"chat"in c||(s.current={onToolCall:c.onToolCall,onData:c.onData,onFinish:c.onFinish,onError:c.onError,sendAutomaticallyWhen:c.sendAutomaticallyWhen});const h={...c,onToolCall:z=>{var _,Y;return(Y=(_=s.current).onToolCall)==null?void 0:Y.call(_,z)},onData:z=>{var _,Y;return(Y=(_=s.current).onData)==null?void 0:Y.call(_,z)},onFinish:z=>{var _,Y;return(Y=(_=s.current).onFinish)==null?void 0:Y.call(_,z)},onError:z=>{var _,Y;return(Y=(_=s.current).onError)==null?void 0:Y.call(_,z)},sendAutomaticallyWhen:z=>{var _,Y,le;return(le=(Y=(_=s.current).sendAutomaticallyWhen)==null?void 0:Y.call(_,z))!=null?le:!1}},y=bn.useRef("chat"in c?c.chat:new eA(h));("chat"in c&&c.chat!==y.current||"id"in c&&y.current.id!==c.id)&&(y.current="chat"in c?c.chat:new eA(h));const b=bn.useCallback(z=>y.current["~registerMessagesCallback"](z,a),[a,y.current.id]),T=bn.useSyncExternalStore(b,()=>y.current.messages,()=>y.current.messages),E=bn.useSyncExternalStore(y.current["~registerStatusCallback"],()=>y.current.status,()=>y.current.status),O=bn.useSyncExternalStore(y.current["~registerErrorCallback"],()=>y.current.error,()=>y.current.error),R=bn.useCallback(z=>{typeof z=="function"&&(z=z(y.current.messages)),y.current.messages=z},[y]);return bn.useEffect(()=>{u&&y.current.resumeStream()},[u,y]),{id:y.current.id,messages:T,setMessages:R,sendMessage:y.current.sendMessage,regenerate:y.current.regenerate,clearError:y.current.clearError,stop:y.current.stop,error:O,resumeStream:y.current.resumeStream,status:E,addToolResult:y.current.addToolOutput,addToolOutput:y.current.addToolOutput,addToolApprovalResponse:y.current.addToolApprovalResponse}}function tA(a){var u,c,s="";if(typeof a=="string"||typeof a=="number")s+=a;else if(typeof a=="object")if(Array.isArray(a)){var h=a.length;for(u=0;u<h;u++)a[u]&&(c=tA(a[u]))&&(s&&(s+=" "),s+=c)}else for(c in a)a[c]&&(s&&(s+=" "),s+=c);return s}function RD(){for(var a,u,c=0,s="",h=arguments.length;c<h;c++)(a=arguments[c])&&(u=tA(a))&&(s&&(s+=" "),s+=u);return s}const nA=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,aA=RD,Es=(a,u)=>c=>{var s;if((u==null?void 0:u.variants)==null)return aA(a,c==null?void 0:c.class,c==null?void 0:c.className);const{variants:h,defaultVariants:y}=u,v=Object.keys(h).map(E=>{const O=c==null?void 0:c[E],R=y==null?void 0:y[E];if(O===null)return null;const z=nA(O)||nA(R);return h[E][z]}),b=c&&Object.entries(c).reduce((E,O)=>{let[R,z]=O;return z===void 0||(E[R]=z),E},{}),T=u==null||(s=u.compoundVariants)===null||s===void 0?void 0:s.reduce((E,O)=>{let{class:R,className:z,..._}=O;return Object.entries(_).every(Y=>{let[le,X]=Y;return Array.isArray(X)?X.includes({...y,...b}[le]):{...y,...b}[le]===X})?[...E,R,z]:E},[]);return aA(a,v,T,c==null?void 0:c.class,c==null?void 0:c.className)};function ik(){}function uk(){}function wD(a,u){const c={};return(a[a.length-1]===""?[...a,""]:a).join((c.padRight?" ":"")+","+(c.padLeft===!1?"":" ")).trim()}const zD=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,_D=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,CD={};function lA(a,u){return(CD.jsx?_D:zD).test(a)}const DD=/[ \t\n\f\r]/g;function MD(a){return typeof a=="object"?a.type==="text"?iA(a.value):!1:iA(a)}function iA(a){return a.replace(DD,"")===""}class rm{constructor(u,c,s){this.normal=c,this.property=u,s&&(this.space=s)}}rm.prototype.normal={},rm.prototype.property={},rm.prototype.space=void 0;function uA(a,u){const c={},s={};for(const h of a)Object.assign(c,h.property),Object.assign(s,h.normal);return new rm(c,s,u)}function $b(a){return a.toLowerCase()}class Sl{constructor(u,c){this.attribute=c,this.property=u}}Sl.prototype.attribute="",Sl.prototype.booleanish=!1,Sl.prototype.boolean=!1,Sl.prototype.commaOrSpaceSeparated=!1,Sl.prototype.commaSeparated=!1,Sl.prototype.defined=!1,Sl.prototype.mustUseProperty=!1,Sl.prototype.number=!1,Sl.prototype.overloadedBoolean=!1,Sl.prototype.property="",Sl.prototype.spaceSeparated=!1,Sl.prototype.space=void 0;let ND=0;const vt=Ts(),Jn=Ts(),Kb=Ts(),ze=Ts(),un=Ts(),pd=Ts(),Xl=Ts();function Ts(){return 2**++ND}const Pb=Object.freeze(Object.defineProperty({__proto__:null,boolean:vt,booleanish:Jn,commaOrSpaceSeparated:Xl,commaSeparated:pd,number:ze,overloadedBoolean:Kb,spaceSeparated:un},Symbol.toStringTag,{value:"Module"})),Fb=Object.keys(Pb);class Wb extends Sl{constructor(u,c,s,h){let y=-1;if(super(u,c),rA(this,"space",h),typeof s=="number")for(;++y<Fb.length;){const v=Fb[y];rA(this,Fb[y],(s&Pb[v])===Pb[v])}}}Wb.prototype.defined=!0;function rA(a,u,c){c&&(a[u]=c)}function md(a){const u={},c={};for(const[s,h]of Object.entries(a.properties)){const y=new Wb(s,a.transform(a.attributes||{},s),h,a.space);a.mustUseProperty&&a.mustUseProperty.includes(s)&&(y.mustUseProperty=!0),u[s]=y,c[$b(s)]=s,c[$b(y.attribute)]=s}return new rm(u,c,a.space)}const oA=md({properties:{ariaActiveDescendant:null,ariaAtomic:Jn,ariaAutoComplete:null,ariaBusy:Jn,ariaChecked:Jn,ariaColCount:ze,ariaColIndex:ze,ariaColSpan:ze,ariaControls:un,ariaCurrent:null,ariaDescribedBy:un,ariaDetails:null,ariaDisabled:Jn,ariaDropEffect:un,ariaErrorMessage:null,ariaExpanded:Jn,ariaFlowTo:un,ariaGrabbed:Jn,ariaHasPopup:null,ariaHidden:Jn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:un,ariaLevel:ze,ariaLive:null,ariaModal:Jn,ariaMultiLine:Jn,ariaMultiSelectable:Jn,ariaOrientation:null,ariaOwns:un,ariaPlaceholder:null,ariaPosInSet:ze,ariaPressed:Jn,ariaReadOnly:Jn,ariaRelevant:null,ariaRequired:Jn,ariaRoleDescription:un,ariaRowCount:ze,ariaRowIndex:ze,ariaRowSpan:ze,ariaSelected:Jn,ariaSetSize:ze,ariaSort:null,ariaValueMax:ze,ariaValueMin:ze,ariaValueNow:ze,ariaValueText:null,role:null},transform(a,u){return u==="role"?u:"aria-"+u.slice(4).toLowerCase()}});function cA(a,u){return u in a?a[u]:u}function sA(a,u){return cA(a,u.toLowerCase())}const kD=md({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pd,acceptCharset:un,accessKey:un,action:null,allow:null,allowFullScreen:vt,allowPaymentRequest:vt,allowUserMedia:vt,alt:null,as:null,async:vt,autoCapitalize:null,autoComplete:un,autoFocus:vt,autoPlay:vt,blocking:un,capture:null,charSet:null,checked:vt,cite:null,className:un,cols:ze,colSpan:null,content:null,contentEditable:Jn,controls:vt,controlsList:un,coords:ze|pd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vt,defer:vt,dir:null,dirName:null,disabled:vt,download:Kb,draggable:Jn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vt,formTarget:null,headers:un,height:ze,hidden:Kb,high:ze,href:null,hrefLang:null,htmlFor:un,httpEquiv:un,id:null,imageSizes:null,imageSrcSet:null,inert:vt,inputMode:null,integrity:null,is:null,isMap:vt,itemId:null,itemProp:un,itemRef:un,itemScope:vt,itemType:un,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vt,low:ze,manifest:null,max:null,maxLength:ze,media:null,method:null,min:null,minLength:ze,multiple:vt,muted:vt,name:null,nonce:null,noModule:vt,noValidate:vt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vt,optimum:ze,pattern:null,ping:un,placeholder:null,playsInline:vt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:vt,referrerPolicy:null,rel:un,required:vt,reversed:vt,rows:ze,rowSpan:ze,sandbox:un,scope:null,scoped:vt,seamless:vt,selected:vt,shadowRootClonable:vt,shadowRootDelegatesFocus:vt,shadowRootMode:null,shape:null,size:ze,sizes:null,slot:null,span:ze,spellCheck:Jn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ze,step:null,style:null,tabIndex:ze,target:null,title:null,translate:null,type:null,typeMustMatch:vt,useMap:null,value:Jn,width:ze,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:un,axis:null,background:null,bgColor:null,border:ze,borderColor:null,bottomMargin:ze,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vt,declare:vt,event:null,face:null,frame:null,frameBorder:null,hSpace:ze,leftMargin:ze,link:null,longDesc:null,lowSrc:null,marginHeight:ze,marginWidth:ze,noResize:vt,noHref:vt,noShade:vt,noWrap:vt,object:null,profile:null,prompt:null,rev:null,rightMargin:ze,rules:null,scheme:null,scrolling:Jn,standby:null,summary:null,text:null,topMargin:ze,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ze,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vt,disableRemotePlayback:vt,prefix:null,property:null,results:ze,security:null,unselectable:null},space:"html",transform:sA}),UD=md({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Xl,accentHeight:ze,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ze,amplitude:ze,arabicForm:null,ascent:ze,attributeName:null,attributeType:null,azimuth:ze,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ze,by:null,calcMode:null,capHeight:ze,className:un,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ze,diffuseConstant:ze,direction:null,display:null,dur:null,divisor:ze,dominantBaseline:null,download:vt,dx:null,dy:null,edgeMode:null,editable:null,elevation:ze,enableBackground:null,end:null,event:null,exponent:ze,externalResourcesRequired:null,fill:null,fillOpacity:ze,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pd,g2:pd,glyphName:pd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ze,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ze,horizOriginX:ze,horizOriginY:ze,id:null,ideographic:ze,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ze,k:ze,k1:ze,k2:ze,k3:ze,k4:ze,kernelMatrix:Xl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ze,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ze,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ze,overlineThickness:ze,paintOrder:null,panose1:null,path:null,pathLength:ze,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:un,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ze,pointsAtY:ze,pointsAtZ:ze,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Xl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Xl,rev:Xl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Xl,requiredFeatures:Xl,requiredFonts:Xl,requiredFormats:Xl,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ze,specularExponent:ze,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ze,strikethroughThickness:ze,string:null,stroke:null,strokeDashArray:Xl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ze,strokeOpacity:ze,strokeWidth:null,style:null,surfaceScale:ze,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Xl,tabIndex:ze,tableValues:null,target:null,targetX:ze,targetY:ze,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Xl,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ze,underlineThickness:ze,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ze,values:null,vAlphabetic:ze,vMathematical:ze,vectorEffect:null,vHanging:ze,vIdeographic:ze,version:null,vertAdvY:ze,vertOriginX:ze,vertOriginY:ze,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ze,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:cA}),fA=md({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(a,u){return"xlink:"+u.slice(5).toLowerCase()}}),dA=md({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sA}),hA=md({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(a,u){return"xml:"+u.slice(3).toLowerCase()}}),HD={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},jD=/[A-Z]/g,pA=/-[a-z]/g,BD=/^data[-\w.:]+$/i;function LD(a,u){const c=$b(u);let s=u,h=Sl;if(c in a.normal)return a.property[a.normal[c]];if(c.length>4&&c.slice(0,4)==="data"&&BD.test(u)){if(u.charAt(4)==="-"){const y=u.slice(5).replace(pA,qD);s="data"+y.charAt(0).toUpperCase()+y.slice(1)}else{const y=u.slice(4);if(!pA.test(y)){let v=y.replace(jD,ZD);v.charAt(0)!=="-"&&(v="-"+v),u="data"+v}}h=Wb}return new h(s,u)}function ZD(a){return"-"+a.toLowerCase()}function qD(a){return a.charAt(1).toUpperCase()}const YD=uA([oA,kD,fA,dA,hA],"html"),e1=uA([oA,UD,fA,dA,hA],"svg");function VD(a){return a.join(" ").trim()}var yd={},t1,mA;function GD(){if(mA)return t1;mA=1;var a=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,u=/\n/g,c=/^\s*/,s=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,h=/^:\s*/,y=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,v=/^[;\s]*/,b=/^\s+|\s+$/g,T=`
|
|
367
|
-
`,E="/",O="*",R="",z="comment",_="declaration";function Y(X,k){if(typeof X!="string")throw new TypeError("First argument must be a string");if(!X)return[];k=k||{};var L=1,D=1;function oe(ke){var Te=ke.match(u);Te&&(L+=Te.length);var q=ke.lastIndexOf(T);D=~q?ke.length-q:D+ke.length}function ne(){var ke={line:L,column:D};return function(Te){return Te.position=new Q(ke),Se(),Te}}function Q(ke){this.start=ke,this.end={line:L,column:D},this.source=k.source}Q.prototype.content=X;function pe(ke){var Te=new Error(k.source+":"+L+":"+D+": "+ke);if(Te.reason=ke,Te.filename=k.source,Te.line=L,Te.column=D,Te.source=X,!k.silent)throw Te}function we(ke){var Te=ke.exec(X);if(Te){var q=Te[0];return oe(q),X=X.slice(q.length),Te}}function Se(){we(c)}function He(ke){var Te;for(ke=ke||[];Te=be();)Te!==!1&&ke.push(Te);return ke}function be(){var ke=ne();if(!(E!=X.charAt(0)||O!=X.charAt(1))){for(var Te=2;R!=X.charAt(Te)&&(O!=X.charAt(Te)||E!=X.charAt(Te+1));)++Te;if(Te+=2,R===X.charAt(Te-1))return pe("End of comment missing");var q=X.slice(2,Te-2);return D+=2,oe(q),X=X.slice(Te),D+=2,ke({type:z,comment:q})}}function Ee(){var ke=ne(),Te=we(s);if(Te){if(be(),!we(h))return pe("property missing ':'");var q=we(y),F=ke({type:_,property:le(Te[0].replace(a,R)),value:q?le(q[0].replace(a,R)):R});return we(v),F}}function Qe(){var ke=[];He(ke);for(var Te;Te=Ee();)Te!==!1&&(ke.push(Te),He(ke));return ke}return Se(),Qe()}function le(X){return X?X.replace(b,R):R}return t1=Y,t1}var yA;function XD(){if(yA)return yd;yA=1;var a=yd&&yd.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(yd,"__esModule",{value:!0}),yd.default=c;const u=a(GD());function c(s,h){let y=null;if(!s||typeof s!="string")return y;const v=(0,u.default)(s),b=typeof h=="function";return v.forEach(T=>{if(T.type!=="declaration")return;const{property:E,value:O}=T;b?h(E,O,T):O&&(y=y||{},y[E]=O)}),y}return yd}var om={},gA;function QD(){if(gA)return om;gA=1,Object.defineProperty(om,"__esModule",{value:!0}),om.camelCase=void 0;var a=/^--[a-zA-Z0-9_-]+$/,u=/-([a-z])/g,c=/^[^-]+$/,s=/^-(webkit|moz|ms|o|khtml)-/,h=/^-(ms)-/,y=function(E){return!E||c.test(E)||a.test(E)},v=function(E,O){return O.toUpperCase()},b=function(E,O){return"".concat(O,"-")},T=function(E,O){return O===void 0&&(O={}),y(E)?E:(E=E.toLowerCase(),O.reactCompat?E=E.replace(h,b):E=E.replace(s,b),E.replace(u,v))};return om.camelCase=T,om}var cm,vA;function ID(){if(vA)return cm;vA=1;var a=cm&&cm.__importDefault||function(h){return h&&h.__esModule?h:{default:h}},u=a(XD()),c=QD();function s(h,y){var v={};return!h||typeof h!="string"||(0,u.default)(h,function(b,T){b&&T&&(v[(0,c.camelCase)(b,y)]=T)}),v}return s.default=s,cm=s,cm}var JD=ID();const $D=xb(JD),bA=SA("end"),n1=SA("start");function SA(a){return u;function u(c){const s=c&&c.position&&c.position[a]||{};if(typeof s.line=="number"&&s.line>0&&typeof s.column=="number"&&s.column>0)return{line:s.line,column:s.column,offset:typeof s.offset=="number"&&s.offset>-1?s.offset:void 0}}}function KD(a){const u=n1(a),c=bA(a);if(u&&c)return{start:u,end:c}}function sm(a){return!a||typeof a!="object"?"":"position"in a||"type"in a?EA(a.position):"start"in a||"end"in a?EA(a):"line"in a||"column"in a?a1(a):""}function a1(a){return TA(a&&a.line)+":"+TA(a&&a.column)}function EA(a){return a1(a&&a.start)+"-"+a1(a&&a.end)}function TA(a){return a&&typeof a=="number"?a:1}class Ba extends Error{constructor(u,c,s){super(),typeof c=="string"&&(s=c,c=void 0);let h="",y={},v=!1;if(c&&("line"in c&&"column"in c?y={place:c}:"start"in c&&"end"in c?y={place:c}:"type"in c?y={ancestors:[c],place:c.position}:y={...c}),typeof u=="string"?h=u:!y.cause&&u&&(v=!0,h=u.message,y.cause=u),!y.ruleId&&!y.source&&typeof s=="string"){const T=s.indexOf(":");T===-1?y.ruleId=s:(y.source=s.slice(0,T),y.ruleId=s.slice(T+1))}if(!y.place&&y.ancestors&&y.ancestors){const T=y.ancestors[y.ancestors.length-1];T&&(y.place=T.position)}const b=y.place&&"start"in y.place?y.place.start:y.place;this.ancestors=y.ancestors||void 0,this.cause=y.cause||void 0,this.column=b?b.column:void 0,this.fatal=void 0,this.file="",this.message=h,this.line=b?b.line:void 0,this.name=sm(y.place)||"1:1",this.place=y.place||void 0,this.reason=this.message,this.ruleId=y.ruleId||void 0,this.source=y.source||void 0,this.stack=v&&y.cause&&typeof y.cause.stack=="string"?y.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Ba.prototype.file="",Ba.prototype.name="",Ba.prototype.reason="",Ba.prototype.message="",Ba.prototype.stack="",Ba.prototype.column=void 0,Ba.prototype.line=void 0,Ba.prototype.ancestors=void 0,Ba.prototype.cause=void 0,Ba.prototype.fatal=void 0,Ba.prototype.place=void 0,Ba.prototype.ruleId=void 0,Ba.prototype.source=void 0;const l1={}.hasOwnProperty,PD=new Map,FD=/[A-Z]/g,WD=new Set(["table","tbody","thead","tfoot","tr"]),eM=new Set(["td","th"]),AA="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function tM(a,u){if(!u||u.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const c=u.filePath||void 0;let s;if(u.development){if(typeof u.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");s=cM(c,u.jsxDEV)}else{if(typeof u.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof u.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");s=oM(c,u.jsx,u.jsxs)}const h={Fragment:u.Fragment,ancestors:[],components:u.components||{},create:s,elementAttributeNameCase:u.elementAttributeNameCase||"react",evaluater:u.createEvaluater?u.createEvaluater():void 0,filePath:c,ignoreInvalidStyle:u.ignoreInvalidStyle||!1,passKeys:u.passKeys!==!1,passNode:u.passNode||!1,schema:u.space==="svg"?e1:YD,stylePropertyNameCase:u.stylePropertyNameCase||"dom",tableCellAlignToStyle:u.tableCellAlignToStyle!==!1},y=xA(h,a,void 0);return y&&typeof y!="string"?y:h.create(a,h.Fragment,{children:y||void 0},void 0)}function xA(a,u,c){if(u.type==="element")return nM(a,u,c);if(u.type==="mdxFlowExpression"||u.type==="mdxTextExpression")return aM(a,u);if(u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement")return iM(a,u,c);if(u.type==="mdxjsEsm")return lM(a,u);if(u.type==="root")return uM(a,u,c);if(u.type==="text")return rM(a,u)}function nM(a,u,c){const s=a.schema;let h=s;u.tagName.toLowerCase()==="svg"&&s.space==="html"&&(h=e1,a.schema=h),a.ancestors.push(u);const y=RA(a,u.tagName,!1),v=sM(a,u);let b=u1(a,u);return WD.has(u.tagName)&&(b=b.filter(function(T){return typeof T=="string"?!MD(T):!0})),OA(a,v,y,u),i1(v,b),a.ancestors.pop(),a.schema=s,a.create(u,y,v,c)}function aM(a,u){if(u.data&&u.data.estree&&a.evaluater){const s=u.data.estree.body[0];return s.type,a.evaluater.evaluateExpression(s.expression)}fm(a,u.position)}function lM(a,u){if(u.data&&u.data.estree&&a.evaluater)return a.evaluater.evaluateProgram(u.data.estree);fm(a,u.position)}function iM(a,u,c){const s=a.schema;let h=s;u.name==="svg"&&s.space==="html"&&(h=e1,a.schema=h),a.ancestors.push(u);const y=u.name===null?a.Fragment:RA(a,u.name,!0),v=fM(a,u),b=u1(a,u);return OA(a,v,y,u),i1(v,b),a.ancestors.pop(),a.schema=s,a.create(u,y,v,c)}function uM(a,u,c){const s={};return i1(s,u1(a,u)),a.create(u,a.Fragment,s,c)}function rM(a,u){return u.value}function OA(a,u,c,s){typeof c!="string"&&c!==a.Fragment&&a.passNode&&(u.node=s)}function i1(a,u){if(u.length>0){const c=u.length>1?u:u[0];c&&(a.children=c)}}function oM(a,u,c){return s;function s(h,y,v,b){const E=Array.isArray(v.children)?c:u;return b?E(y,v,b):E(y,v)}}function cM(a,u){return c;function c(s,h,y,v){const b=Array.isArray(y.children),T=n1(s);return u(h,y,v,b,{columnNumber:T?T.column-1:void 0,fileName:a,lineNumber:T?T.line:void 0},void 0)}}function sM(a,u){const c={};let s,h;for(h in u.properties)if(h!=="children"&&l1.call(u.properties,h)){const y=dM(a,h,u.properties[h]);if(y){const[v,b]=y;a.tableCellAlignToStyle&&v==="align"&&typeof b=="string"&&eM.has(u.tagName)?s=b:c[v]=b}}if(s){const y=c.style||(c.style={});y[a.stylePropertyNameCase==="css"?"text-align":"textAlign"]=s}return c}function fM(a,u){const c={};for(const s of u.attributes)if(s.type==="mdxJsxExpressionAttribute")if(s.data&&s.data.estree&&a.evaluater){const y=s.data.estree.body[0];y.type;const v=y.expression;v.type;const b=v.properties[0];b.type,Object.assign(c,a.evaluater.evaluateExpression(b.argument))}else fm(a,u.position);else{const h=s.name;let y;if(s.value&&typeof s.value=="object")if(s.value.data&&s.value.data.estree&&a.evaluater){const b=s.value.data.estree.body[0];b.type,y=a.evaluater.evaluateExpression(b.expression)}else fm(a,u.position);else y=s.value===null?!0:s.value;c[h]=y}return c}function u1(a,u){const c=[];let s=-1;const h=a.passKeys?new Map:PD;for(;++s<u.children.length;){const y=u.children[s];let v;if(a.passKeys){const T=y.type==="element"?y.tagName:y.type==="mdxJsxFlowElement"||y.type==="mdxJsxTextElement"?y.name:void 0;if(T){const E=h.get(T)||0;v=T+"-"+E,h.set(T,E+1)}}const b=xA(a,y,v);b!==void 0&&c.push(b)}return c}function dM(a,u,c){const s=LD(a.schema,u);if(!(c==null||typeof c=="number"&&Number.isNaN(c))){if(Array.isArray(c)&&(c=s.commaSeparated?wD(c):VD(c)),s.property==="style"){let h=typeof c=="object"?c:hM(a,String(c));return a.stylePropertyNameCase==="css"&&(h=pM(h)),["style",h]}return[a.elementAttributeNameCase==="react"&&s.space?HD[s.property]||s.property:s.attribute,c]}}function hM(a,u){try{return $D(u,{reactCompat:!0})}catch(c){if(a.ignoreInvalidStyle)return{};const s=c,h=new Ba("Cannot parse `style` attribute",{ancestors:a.ancestors,cause:s,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw h.file=a.filePath||void 0,h.url=AA+"#cannot-parse-style-attribute",h}}function RA(a,u,c){let s;if(!c)s={type:"Literal",value:u};else if(u.includes(".")){const h=u.split(".");let y=-1,v;for(;++y<h.length;){const b=lA(h[y])?{type:"Identifier",name:h[y]}:{type:"Literal",value:h[y]};v=v?{type:"MemberExpression",object:v,property:b,computed:!!(y&&b.type==="Literal"),optional:!1}:b}s=v}else s=lA(u)&&!/^[a-z]/.test(u)?{type:"Identifier",name:u}:{type:"Literal",value:u};if(s.type==="Literal"){const h=s.value;return l1.call(a.components,h)?a.components[h]:h}if(a.evaluater)return a.evaluater.evaluateExpression(s);fm(a)}function fm(a,u){const c=new Ba("Cannot handle MDX estrees without `createEvaluater`",{ancestors:a.ancestors,place:u,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw c.file=a.filePath||void 0,c.url=AA+"#cannot-handle-mdx-estrees-without-createevaluater",c}function pM(a){const u={};let c;for(c in a)l1.call(a,c)&&(u[mM(c)]=a[c]);return u}function mM(a){let u=a.replace(FD,yM);return u.slice(0,3)==="ms-"&&(u="-"+u),u}function yM(a){return"-"+a.toLowerCase()}const r1={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},gM={};function vM(a,u){const c=gM,s=typeof c.includeImageAlt=="boolean"?c.includeImageAlt:!0,h=typeof c.includeHtml=="boolean"?c.includeHtml:!0;return wA(a,s,h)}function wA(a,u,c){if(bM(a)){if("value"in a)return a.type==="html"&&!c?"":a.value;if(u&&"alt"in a&&a.alt)return a.alt;if("children"in a)return zA(a.children,u,c)}return Array.isArray(a)?zA(a,u,c):""}function zA(a,u,c){const s=[];let h=-1;for(;++h<a.length;)s[h]=wA(a[h],u,c);return s.join("")}function bM(a){return!!(a&&typeof a=="object")}const _A=document.createElement("i");function o1(a){const u="&"+a+";";_A.innerHTML=u;const c=_A.textContent;return c.charCodeAt(c.length-1)===59&&a!=="semi"||c===u?!1:c}function Vu(a,u,c,s){const h=a.length;let y=0,v;if(u<0?u=-u>h?0:h+u:u=u>h?h:u,c=c>0?c:0,s.length<1e4)v=Array.from(s),v.unshift(u,c),a.splice(...v);else for(c&&a.splice(u,c);y<s.length;)v=s.slice(y,y+1e4),v.unshift(u,0),a.splice(...v),y+=1e4,u+=1e4}function pi(a,u){return a.length>0?(Vu(a,a.length,0,u),a):u}const CA={}.hasOwnProperty;function SM(a){const u={};let c=-1;for(;++c<a.length;)EM(u,a[c]);return u}function EM(a,u){let c;for(c in u){const h=(CA.call(a,c)?a[c]:void 0)||(a[c]={}),y=u[c];let v;if(y)for(v in y){CA.call(h,v)||(h[v]=[]);const b=y[v];TM(h[v],Array.isArray(b)?b:b?[b]:[])}}}function TM(a,u){let c=-1;const s=[];for(;++c<u.length;)(u[c].add==="after"?a:s).push(u[c]);Vu(a,0,0,s)}function DA(a,u){const c=Number.parseInt(a,u);return c<9||c===11||c>13&&c<32||c>126&&c<160||c>55295&&c<57344||c>64975&&c<65008||(c&65535)===65535||(c&65535)===65534||c>1114111?"�":String.fromCodePoint(c)}function gd(a){return a.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Gu=Po(/[A-Za-z]/),Ql=Po(/[\dA-Za-z]/),AM=Po(/[#-'*+\--9=?A-Z^-~]/);function c1(a){return a!==null&&(a<32||a===127)}const s1=Po(/\d/),xM=Po(/[\dA-Fa-f]/),OM=Po(/[!-/:-@[-`{-~]/);function nt(a){return a!==null&&a<-2}function El(a){return a!==null&&(a<0||a===32)}function Yt(a){return a===-2||a===-1||a===32}const RM=Po(new RegExp("\\p{P}|\\p{S}","u")),wM=Po(/\s/);function Po(a){return u;function u(c){return c!==null&&c>-1&&a.test(String.fromCharCode(c))}}function vd(a){const u=[];let c=-1,s=0,h=0;for(;++c<a.length;){const y=a.charCodeAt(c);let v="";if(y===37&&Ql(a.charCodeAt(c+1))&&Ql(a.charCodeAt(c+2)))h=2;else if(y<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(y))||(v=String.fromCharCode(y));else if(y>55295&&y<57344){const b=a.charCodeAt(c+1);y<56320&&b>56319&&b<57344?(v=String.fromCharCode(y,b),h=1):v="�"}else v=String.fromCharCode(y);v&&(u.push(a.slice(s,c),encodeURIComponent(v)),s=c+h+1,v=""),h&&(c+=h,h=0)}return u.join("")+a.slice(s)}function rn(a,u,c,s){const h=s?s-1:Number.POSITIVE_INFINITY;let y=0;return v;function v(T){return Yt(T)?(a.enter(c),b(T)):u(T)}function b(T){return Yt(T)&&y++<h?(a.consume(T),b):(a.exit(c),u(T))}}const zM={tokenize:_M};function _M(a){const u=a.attempt(this.parser.constructs.contentInitial,s,h);let c;return u;function s(b){if(b===null){a.consume(b);return}return a.enter("lineEnding"),a.consume(b),a.exit("lineEnding"),rn(a,u,"linePrefix")}function h(b){return a.enter("paragraph"),y(b)}function y(b){const T=a.enter("chunkText",{contentType:"text",previous:c});return c&&(c.next=T),c=T,v(b)}function v(b){if(b===null){a.exit("chunkText"),a.exit("paragraph"),a.consume(b);return}return nt(b)?(a.consume(b),a.exit("chunkText"),y):(a.consume(b),v)}}const CM={tokenize:DM},MA={tokenize:MM};function DM(a){const u=this,c=[];let s=0,h,y,v;return b;function b(D){if(s<c.length){const oe=c[s];return u.containerState=oe[1],a.attempt(oe[0].continuation,T,E)(D)}return E(D)}function T(D){if(s++,u.containerState._closeFlow){u.containerState._closeFlow=void 0,h&&L();const oe=u.events.length;let ne=oe,Q;for(;ne--;)if(u.events[ne][0]==="exit"&&u.events[ne][1].type==="chunkFlow"){Q=u.events[ne][1].end;break}k(s);let pe=oe;for(;pe<u.events.length;)u.events[pe][1].end={...Q},pe++;return Vu(u.events,ne+1,0,u.events.slice(oe)),u.events.length=pe,E(D)}return b(D)}function E(D){if(s===c.length){if(!h)return z(D);if(h.currentConstruct&&h.currentConstruct.concrete)return Y(D);u.interrupt=!!(h.currentConstruct&&!h._gfmTableDynamicInterruptHack)}return u.containerState={},a.check(MA,O,R)(D)}function O(D){return h&&L(),k(s),z(D)}function R(D){return u.parser.lazy[u.now().line]=s!==c.length,v=u.now().offset,Y(D)}function z(D){return u.containerState={},a.attempt(MA,_,Y)(D)}function _(D){return s++,c.push([u.currentConstruct,u.containerState]),z(D)}function Y(D){if(D===null){h&&L(),k(0),a.consume(D);return}return h=h||u.parser.flow(u.now()),a.enter("chunkFlow",{_tokenizer:h,contentType:"flow",previous:y}),le(D)}function le(D){if(D===null){X(a.exit("chunkFlow"),!0),k(0),a.consume(D);return}return nt(D)?(a.consume(D),X(a.exit("chunkFlow")),s=0,u.interrupt=void 0,b):(a.consume(D),le)}function X(D,oe){const ne=u.sliceStream(D);if(oe&&ne.push(null),D.previous=y,y&&(y.next=D),y=D,h.defineSkip(D.start),h.write(ne),u.parser.lazy[D.start.line]){let Q=h.events.length;for(;Q--;)if(h.events[Q][1].start.offset<v&&(!h.events[Q][1].end||h.events[Q][1].end.offset>v))return;const pe=u.events.length;let we=pe,Se,He;for(;we--;)if(u.events[we][0]==="exit"&&u.events[we][1].type==="chunkFlow"){if(Se){He=u.events[we][1].end;break}Se=!0}for(k(s),Q=pe;Q<u.events.length;)u.events[Q][1].end={...He},Q++;Vu(u.events,we+1,0,u.events.slice(pe)),u.events.length=Q}}function k(D){let oe=c.length;for(;oe-- >D;){const ne=c[oe];u.containerState=ne[1],ne[0].exit.call(u,a)}c.length=D}function L(){h.write([null]),y=void 0,h=void 0,u.containerState._closeFlow=void 0}}function MM(a,u,c){return rn(a,a.attempt(this.parser.constructs.document,u,c),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function NA(a){if(a===null||El(a)||wM(a))return 1;if(RM(a))return 2}function f1(a,u,c){const s=[];let h=-1;for(;++h<a.length;){const y=a[h].resolveAll;y&&!s.includes(y)&&(u=y(u,c),s.push(y))}return u}const d1={name:"attention",resolveAll:NM,tokenize:kM};function NM(a,u){let c=-1,s,h,y,v,b,T,E,O;for(;++c<a.length;)if(a[c][0]==="enter"&&a[c][1].type==="attentionSequence"&&a[c][1]._close){for(s=c;s--;)if(a[s][0]==="exit"&&a[s][1].type==="attentionSequence"&&a[s][1]._open&&u.sliceSerialize(a[s][1]).charCodeAt(0)===u.sliceSerialize(a[c][1]).charCodeAt(0)){if((a[s][1]._close||a[c][1]._open)&&(a[c][1].end.offset-a[c][1].start.offset)%3&&!((a[s][1].end.offset-a[s][1].start.offset+a[c][1].end.offset-a[c][1].start.offset)%3))continue;T=a[s][1].end.offset-a[s][1].start.offset>1&&a[c][1].end.offset-a[c][1].start.offset>1?2:1;const R={...a[s][1].end},z={...a[c][1].start};kA(R,-T),kA(z,T),v={type:T>1?"strongSequence":"emphasisSequence",start:R,end:{...a[s][1].end}},b={type:T>1?"strongSequence":"emphasisSequence",start:{...a[c][1].start},end:z},y={type:T>1?"strongText":"emphasisText",start:{...a[s][1].end},end:{...a[c][1].start}},h={type:T>1?"strong":"emphasis",start:{...v.start},end:{...b.end}},a[s][1].end={...v.start},a[c][1].start={...b.end},E=[],a[s][1].end.offset-a[s][1].start.offset&&(E=pi(E,[["enter",a[s][1],u],["exit",a[s][1],u]])),E=pi(E,[["enter",h,u],["enter",v,u],["exit",v,u],["enter",y,u]]),E=pi(E,f1(u.parser.constructs.insideSpan.null,a.slice(s+1,c),u)),E=pi(E,[["exit",y,u],["enter",b,u],["exit",b,u],["exit",h,u]]),a[c][1].end.offset-a[c][1].start.offset?(O=2,E=pi(E,[["enter",a[c][1],u],["exit",a[c][1],u]])):O=0,Vu(a,s-1,c-s+3,E),c=s+E.length-O-2;break}}for(c=-1;++c<a.length;)a[c][1].type==="attentionSequence"&&(a[c][1].type="data");return a}function kM(a,u){const c=this.parser.constructs.attentionMarkers.null,s=this.previous,h=NA(s);let y;return v;function v(T){return y=T,a.enter("attentionSequence"),b(T)}function b(T){if(T===y)return a.consume(T),b;const E=a.exit("attentionSequence"),O=NA(T),R=!O||O===2&&h||c.includes(T),z=!h||h===2&&O||c.includes(s);return E._open=!!(y===42?R:R&&(h||!z)),E._close=!!(y===42?z:z&&(O||!R)),u(T)}}function kA(a,u){a.column+=u,a.offset+=u,a._bufferIndex+=u}const UM={name:"autolink",tokenize:HM};function HM(a,u,c){let s=0;return h;function h(_){return a.enter("autolink"),a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.enter("autolinkProtocol"),y}function y(_){return Gu(_)?(a.consume(_),v):_===64?c(_):E(_)}function v(_){return _===43||_===45||_===46||Ql(_)?(s=1,b(_)):E(_)}function b(_){return _===58?(a.consume(_),s=0,T):(_===43||_===45||_===46||Ql(_))&&s++<32?(a.consume(_),b):(s=0,E(_))}function T(_){return _===62?(a.exit("autolinkProtocol"),a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.exit("autolink"),u):_===null||_===32||_===60||c1(_)?c(_):(a.consume(_),T)}function E(_){return _===64?(a.consume(_),O):AM(_)?(a.consume(_),E):c(_)}function O(_){return Ql(_)?R(_):c(_)}function R(_){return _===46?(a.consume(_),s=0,O):_===62?(a.exit("autolinkProtocol").type="autolinkEmail",a.enter("autolinkMarker"),a.consume(_),a.exit("autolinkMarker"),a.exit("autolink"),u):z(_)}function z(_){if((_===45||Ql(_))&&s++<63){const Y=_===45?z:R;return a.consume(_),Y}return c(_)}}const Ov={partial:!0,tokenize:jM};function jM(a,u,c){return s;function s(y){return Yt(y)?rn(a,h,"linePrefix")(y):h(y)}function h(y){return y===null||nt(y)?u(y):c(y)}}const UA={continuation:{tokenize:LM},exit:ZM,name:"blockQuote",tokenize:BM};function BM(a,u,c){const s=this;return h;function h(v){if(v===62){const b=s.containerState;return b.open||(a.enter("blockQuote",{_container:!0}),b.open=!0),a.enter("blockQuotePrefix"),a.enter("blockQuoteMarker"),a.consume(v),a.exit("blockQuoteMarker"),y}return c(v)}function y(v){return Yt(v)?(a.enter("blockQuotePrefixWhitespace"),a.consume(v),a.exit("blockQuotePrefixWhitespace"),a.exit("blockQuotePrefix"),u):(a.exit("blockQuotePrefix"),u(v))}}function LM(a,u,c){const s=this;return h;function h(v){return Yt(v)?rn(a,y,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):y(v)}function y(v){return a.attempt(UA,u,c)(v)}}function ZM(a){a.exit("blockQuote")}const HA={name:"characterEscape",tokenize:qM};function qM(a,u,c){return s;function s(y){return a.enter("characterEscape"),a.enter("escapeMarker"),a.consume(y),a.exit("escapeMarker"),h}function h(y){return OM(y)?(a.enter("characterEscapeValue"),a.consume(y),a.exit("characterEscapeValue"),a.exit("characterEscape"),u):c(y)}}const jA={name:"characterReference",tokenize:YM};function YM(a,u,c){const s=this;let h=0,y,v;return b;function b(R){return a.enter("characterReference"),a.enter("characterReferenceMarker"),a.consume(R),a.exit("characterReferenceMarker"),T}function T(R){return R===35?(a.enter("characterReferenceMarkerNumeric"),a.consume(R),a.exit("characterReferenceMarkerNumeric"),E):(a.enter("characterReferenceValue"),y=31,v=Ql,O(R))}function E(R){return R===88||R===120?(a.enter("characterReferenceMarkerHexadecimal"),a.consume(R),a.exit("characterReferenceMarkerHexadecimal"),a.enter("characterReferenceValue"),y=6,v=xM,O):(a.enter("characterReferenceValue"),y=7,v=s1,O(R))}function O(R){if(R===59&&h){const z=a.exit("characterReferenceValue");return v===Ql&&!o1(s.sliceSerialize(z))?c(R):(a.enter("characterReferenceMarker"),a.consume(R),a.exit("characterReferenceMarker"),a.exit("characterReference"),u)}return v(R)&&h++<y?(a.consume(R),O):c(R)}}const BA={partial:!0,tokenize:GM},LA={concrete:!0,name:"codeFenced",tokenize:VM};function VM(a,u,c){const s=this,h={partial:!0,tokenize:ne};let y=0,v=0,b;return T;function T(Q){return E(Q)}function E(Q){const pe=s.events[s.events.length-1];return y=pe&&pe[1].type==="linePrefix"?pe[2].sliceSerialize(pe[1],!0).length:0,b=Q,a.enter("codeFenced"),a.enter("codeFencedFence"),a.enter("codeFencedFenceSequence"),O(Q)}function O(Q){return Q===b?(v++,a.consume(Q),O):v<3?c(Q):(a.exit("codeFencedFenceSequence"),Yt(Q)?rn(a,R,"whitespace")(Q):R(Q))}function R(Q){return Q===null||nt(Q)?(a.exit("codeFencedFence"),s.interrupt?u(Q):a.check(BA,le,oe)(Q)):(a.enter("codeFencedFenceInfo"),a.enter("chunkString",{contentType:"string"}),z(Q))}function z(Q){return Q===null||nt(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceInfo"),R(Q)):Yt(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceInfo"),rn(a,_,"whitespace")(Q)):Q===96&&Q===b?c(Q):(a.consume(Q),z)}function _(Q){return Q===null||nt(Q)?R(Q):(a.enter("codeFencedFenceMeta"),a.enter("chunkString",{contentType:"string"}),Y(Q))}function Y(Q){return Q===null||nt(Q)?(a.exit("chunkString"),a.exit("codeFencedFenceMeta"),R(Q)):Q===96&&Q===b?c(Q):(a.consume(Q),Y)}function le(Q){return a.attempt(h,oe,X)(Q)}function X(Q){return a.enter("lineEnding"),a.consume(Q),a.exit("lineEnding"),k}function k(Q){return y>0&&Yt(Q)?rn(a,L,"linePrefix",y+1)(Q):L(Q)}function L(Q){return Q===null||nt(Q)?a.check(BA,le,oe)(Q):(a.enter("codeFlowValue"),D(Q))}function D(Q){return Q===null||nt(Q)?(a.exit("codeFlowValue"),L(Q)):(a.consume(Q),D)}function oe(Q){return a.exit("codeFenced"),u(Q)}function ne(Q,pe,we){let Se=0;return He;function He(Te){return Q.enter("lineEnding"),Q.consume(Te),Q.exit("lineEnding"),be}function be(Te){return Q.enter("codeFencedFence"),Yt(Te)?rn(Q,Ee,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Te):Ee(Te)}function Ee(Te){return Te===b?(Q.enter("codeFencedFenceSequence"),Qe(Te)):we(Te)}function Qe(Te){return Te===b?(Se++,Q.consume(Te),Qe):Se>=v?(Q.exit("codeFencedFenceSequence"),Yt(Te)?rn(Q,ke,"whitespace")(Te):ke(Te)):we(Te)}function ke(Te){return Te===null||nt(Te)?(Q.exit("codeFencedFence"),pe(Te)):we(Te)}}}function GM(a,u,c){const s=this;return h;function h(v){return v===null?c(v):(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),y)}function y(v){return s.parser.lazy[s.now().line]?c(v):u(v)}}const h1={name:"codeIndented",tokenize:QM},XM={partial:!0,tokenize:IM};function QM(a,u,c){const s=this;return h;function h(E){return a.enter("codeIndented"),rn(a,y,"linePrefix",5)(E)}function y(E){const O=s.events[s.events.length-1];return O&&O[1].type==="linePrefix"&&O[2].sliceSerialize(O[1],!0).length>=4?v(E):c(E)}function v(E){return E===null?T(E):nt(E)?a.attempt(XM,v,T)(E):(a.enter("codeFlowValue"),b(E))}function b(E){return E===null||nt(E)?(a.exit("codeFlowValue"),v(E)):(a.consume(E),b)}function T(E){return a.exit("codeIndented"),u(E)}}function IM(a,u,c){const s=this;return h;function h(v){return s.parser.lazy[s.now().line]?c(v):nt(v)?(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),h):rn(a,y,"linePrefix",5)(v)}function y(v){const b=s.events[s.events.length-1];return b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?u(v):nt(v)?h(v):c(v)}}const JM={name:"codeText",previous:KM,resolve:$M,tokenize:PM};function $M(a){let u=a.length-4,c=3,s,h;if((a[c][1].type==="lineEnding"||a[c][1].type==="space")&&(a[u][1].type==="lineEnding"||a[u][1].type==="space")){for(s=c;++s<u;)if(a[s][1].type==="codeTextData"){a[c][1].type="codeTextPadding",a[u][1].type="codeTextPadding",c+=2,u-=2;break}}for(s=c-1,u++;++s<=u;)h===void 0?s!==u&&a[s][1].type!=="lineEnding"&&(h=s):(s===u||a[s][1].type==="lineEnding")&&(a[h][1].type="codeTextData",s!==h+2&&(a[h][1].end=a[s-1][1].end,a.splice(h+2,s-h-2),u-=s-h-2,s=h+2),h=void 0);return a}function KM(a){return a!==96||this.events[this.events.length-1][1].type==="characterEscape"}function PM(a,u,c){let s=0,h,y;return v;function v(R){return a.enter("codeText"),a.enter("codeTextSequence"),b(R)}function b(R){return R===96?(a.consume(R),s++,b):(a.exit("codeTextSequence"),T(R))}function T(R){return R===null?c(R):R===32?(a.enter("space"),a.consume(R),a.exit("space"),T):R===96?(y=a.enter("codeTextSequence"),h=0,O(R)):nt(R)?(a.enter("lineEnding"),a.consume(R),a.exit("lineEnding"),T):(a.enter("codeTextData"),E(R))}function E(R){return R===null||R===32||R===96||nt(R)?(a.exit("codeTextData"),T(R)):(a.consume(R),E)}function O(R){return R===96?(a.consume(R),h++,O):h===s?(a.exit("codeTextSequence"),a.exit("codeText"),u(R)):(y.type="codeTextData",E(R))}}class FM{constructor(u){this.left=u?[...u]:[],this.right=[]}get(u){if(u<0||u>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+u+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return u<this.left.length?this.left[u]:this.right[this.right.length-u+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(u,c){const s=c??Number.POSITIVE_INFINITY;return s<this.left.length?this.left.slice(u,s):u>this.left.length?this.right.slice(this.right.length-s+this.left.length,this.right.length-u+this.left.length).reverse():this.left.slice(u).concat(this.right.slice(this.right.length-s+this.left.length).reverse())}splice(u,c,s){const h=c||0;this.setCursor(Math.trunc(u));const y=this.right.splice(this.right.length-h,Number.POSITIVE_INFINITY);return s&&dm(this.left,s),y.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(u){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(u)}pushMany(u){this.setCursor(Number.POSITIVE_INFINITY),dm(this.left,u)}unshift(u){this.setCursor(0),this.right.push(u)}unshiftMany(u){this.setCursor(0),dm(this.right,u.reverse())}setCursor(u){if(!(u===this.left.length||u>this.left.length&&this.right.length===0||u<0&&this.left.length===0))if(u<this.left.length){const c=this.left.splice(u,Number.POSITIVE_INFINITY);dm(this.right,c.reverse())}else{const c=this.right.splice(this.left.length+this.right.length-u,Number.POSITIVE_INFINITY);dm(this.left,c.reverse())}}}function dm(a,u){let c=0;if(u.length<1e4)a.push(...u);else for(;c<u.length;)a.push(...u.slice(c,c+1e4)),c+=1e4}function ZA(a){const u={};let c=-1,s,h,y,v,b,T,E;const O=new FM(a);for(;++c<O.length;){for(;c in u;)c=u[c];if(s=O.get(c),c&&s[1].type==="chunkFlow"&&O.get(c-1)[1].type==="listItemPrefix"&&(T=s[1]._tokenizer.events,y=0,y<T.length&&T[y][1].type==="lineEndingBlank"&&(y+=2),y<T.length&&T[y][1].type==="content"))for(;++y<T.length&&T[y][1].type!=="content";)T[y][1].type==="chunkText"&&(T[y][1]._isInFirstContentOfListItem=!0,y++);if(s[0]==="enter")s[1].contentType&&(Object.assign(u,WM(O,c)),c=u[c],E=!0);else if(s[1]._container){for(y=c,h=void 0;y--;)if(v=O.get(y),v[1].type==="lineEnding"||v[1].type==="lineEndingBlank")v[0]==="enter"&&(h&&(O.get(h)[1].type="lineEndingBlank"),v[1].type="lineEnding",h=y);else if(!(v[1].type==="linePrefix"||v[1].type==="listItemIndent"))break;h&&(s[1].end={...O.get(h)[1].start},b=O.slice(h,c),b.unshift(s),O.splice(h,c-h+1,b))}}return Vu(a,0,Number.POSITIVE_INFINITY,O.slice(0)),!E}function WM(a,u){const c=a.get(u)[1],s=a.get(u)[2];let h=u-1;const y=[];let v=c._tokenizer;v||(v=s.parser[c.contentType](c.start),c._contentTypeTextTrailing&&(v._contentTypeTextTrailing=!0));const b=v.events,T=[],E={};let O,R,z=-1,_=c,Y=0,le=0;const X=[le];for(;_;){for(;a.get(++h)[1]!==_;);y.push(h),_._tokenizer||(O=s.sliceStream(_),_.next||O.push(null),R&&v.defineSkip(_.start),_._isInFirstContentOfListItem&&(v._gfmTasklistFirstContentOfListItem=!0),v.write(O),_._isInFirstContentOfListItem&&(v._gfmTasklistFirstContentOfListItem=void 0)),R=_,_=_.next}for(_=c;++z<b.length;)b[z][0]==="exit"&&b[z-1][0]==="enter"&&b[z][1].type===b[z-1][1].type&&b[z][1].start.line!==b[z][1].end.line&&(le=z+1,X.push(le),_._tokenizer=void 0,_.previous=void 0,_=_.next);for(v.events=[],_?(_._tokenizer=void 0,_.previous=void 0):X.pop(),z=X.length;z--;){const k=b.slice(X[z],X[z+1]),L=y.pop();T.push([L,L+k.length-1]),a.splice(L,2,k)}for(T.reverse(),z=-1;++z<T.length;)E[Y+T[z][0]]=Y+T[z][1],Y+=T[z][1]-T[z][0]-1;return E}const e4={resolve:n4,tokenize:a4},t4={partial:!0,tokenize:l4};function n4(a){return ZA(a),a}function a4(a,u){let c;return s;function s(b){return a.enter("content"),c=a.enter("chunkContent",{contentType:"content"}),h(b)}function h(b){return b===null?y(b):nt(b)?a.check(t4,v,y)(b):(a.consume(b),h)}function y(b){return a.exit("chunkContent"),a.exit("content"),u(b)}function v(b){return a.consume(b),a.exit("chunkContent"),c.next=a.enter("chunkContent",{contentType:"content",previous:c}),c=c.next,h}}function l4(a,u,c){const s=this;return h;function h(v){return a.exit("chunkContent"),a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),rn(a,y,"linePrefix")}function y(v){if(v===null||nt(v))return c(v);const b=s.events[s.events.length-1];return!s.parser.constructs.disable.null.includes("codeIndented")&&b&&b[1].type==="linePrefix"&&b[2].sliceSerialize(b[1],!0).length>=4?u(v):a.interrupt(s.parser.constructs.flow,c,u)(v)}}function qA(a,u,c,s,h,y,v,b,T){const E=T||Number.POSITIVE_INFINITY;let O=0;return R;function R(k){return k===60?(a.enter(s),a.enter(h),a.enter(y),a.consume(k),a.exit(y),z):k===null||k===32||k===41||c1(k)?c(k):(a.enter(s),a.enter(v),a.enter(b),a.enter("chunkString",{contentType:"string"}),le(k))}function z(k){return k===62?(a.enter(y),a.consume(k),a.exit(y),a.exit(h),a.exit(s),u):(a.enter(b),a.enter("chunkString",{contentType:"string"}),_(k))}function _(k){return k===62?(a.exit("chunkString"),a.exit(b),z(k)):k===null||k===60||nt(k)?c(k):(a.consume(k),k===92?Y:_)}function Y(k){return k===60||k===62||k===92?(a.consume(k),_):_(k)}function le(k){return!O&&(k===null||k===41||El(k))?(a.exit("chunkString"),a.exit(b),a.exit(v),a.exit(s),u(k)):O<E&&k===40?(a.consume(k),O++,le):k===41?(a.consume(k),O--,le):k===null||k===32||k===40||c1(k)?c(k):(a.consume(k),k===92?X:le)}function X(k){return k===40||k===41||k===92?(a.consume(k),le):le(k)}}function YA(a,u,c,s,h,y){const v=this;let b=0,T;return E;function E(_){return a.enter(s),a.enter(h),a.consume(_),a.exit(h),a.enter(y),O}function O(_){return b>999||_===null||_===91||_===93&&!T||_===94&&!b&&"_hiddenFootnoteSupport"in v.parser.constructs?c(_):_===93?(a.exit(y),a.enter(h),a.consume(_),a.exit(h),a.exit(s),u):nt(_)?(a.enter("lineEnding"),a.consume(_),a.exit("lineEnding"),O):(a.enter("chunkString",{contentType:"string"}),R(_))}function R(_){return _===null||_===91||_===93||nt(_)||b++>999?(a.exit("chunkString"),O(_)):(a.consume(_),T||(T=!Yt(_)),_===92?z:R)}function z(_){return _===91||_===92||_===93?(a.consume(_),b++,R):R(_)}}function VA(a,u,c,s,h,y){let v;return b;function b(z){return z===34||z===39||z===40?(a.enter(s),a.enter(h),a.consume(z),a.exit(h),v=z===40?41:z,T):c(z)}function T(z){return z===v?(a.enter(h),a.consume(z),a.exit(h),a.exit(s),u):(a.enter(y),E(z))}function E(z){return z===v?(a.exit(y),T(v)):z===null?c(z):nt(z)?(a.enter("lineEnding"),a.consume(z),a.exit("lineEnding"),rn(a,E,"linePrefix")):(a.enter("chunkString",{contentType:"string"}),O(z))}function O(z){return z===v||z===null||nt(z)?(a.exit("chunkString"),E(z)):(a.consume(z),z===92?R:O)}function R(z){return z===v||z===92?(a.consume(z),O):O(z)}}function hm(a,u){let c;return s;function s(h){return nt(h)?(a.enter("lineEnding"),a.consume(h),a.exit("lineEnding"),c=!0,s):Yt(h)?rn(a,s,c?"linePrefix":"lineSuffix")(h):u(h)}}const i4={name:"definition",tokenize:r4},u4={partial:!0,tokenize:o4};function r4(a,u,c){const s=this;let h;return y;function y(_){return a.enter("definition"),v(_)}function v(_){return YA.call(s,a,b,c,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function b(_){return h=gd(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)),_===58?(a.enter("definitionMarker"),a.consume(_),a.exit("definitionMarker"),T):c(_)}function T(_){return El(_)?hm(a,E)(_):E(_)}function E(_){return qA(a,O,c,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function O(_){return a.attempt(u4,R,R)(_)}function R(_){return Yt(_)?rn(a,z,"whitespace")(_):z(_)}function z(_){return _===null||nt(_)?(a.exit("definition"),s.parser.defined.push(h),u(_)):c(_)}}function o4(a,u,c){return s;function s(b){return El(b)?hm(a,h)(b):c(b)}function h(b){return VA(a,y,c,"definitionTitle","definitionTitleMarker","definitionTitleString")(b)}function y(b){return Yt(b)?rn(a,v,"whitespace")(b):v(b)}function v(b){return b===null||nt(b)?u(b):c(b)}}const c4={name:"hardBreakEscape",tokenize:s4};function s4(a,u,c){return s;function s(y){return a.enter("hardBreakEscape"),a.consume(y),h}function h(y){return nt(y)?(a.exit("hardBreakEscape"),u(y)):c(y)}}const f4={name:"headingAtx",resolve:d4,tokenize:h4};function d4(a,u){let c=a.length-2,s=3,h,y;return a[s][1].type==="whitespace"&&(s+=2),c-2>s&&a[c][1].type==="whitespace"&&(c-=2),a[c][1].type==="atxHeadingSequence"&&(s===c-1||c-4>s&&a[c-2][1].type==="whitespace")&&(c-=s+1===c?2:4),c>s&&(h={type:"atxHeadingText",start:a[s][1].start,end:a[c][1].end},y={type:"chunkText",start:a[s][1].start,end:a[c][1].end,contentType:"text"},Vu(a,s,c-s+1,[["enter",h,u],["enter",y,u],["exit",y,u],["exit",h,u]])),a}function h4(a,u,c){let s=0;return h;function h(O){return a.enter("atxHeading"),y(O)}function y(O){return a.enter("atxHeadingSequence"),v(O)}function v(O){return O===35&&s++<6?(a.consume(O),v):O===null||El(O)?(a.exit("atxHeadingSequence"),b(O)):c(O)}function b(O){return O===35?(a.enter("atxHeadingSequence"),T(O)):O===null||nt(O)?(a.exit("atxHeading"),u(O)):Yt(O)?rn(a,b,"whitespace")(O):(a.enter("atxHeadingText"),E(O))}function T(O){return O===35?(a.consume(O),T):(a.exit("atxHeadingSequence"),b(O))}function E(O){return O===null||O===35||El(O)?(a.exit("atxHeadingText"),b(O)):(a.consume(O),E)}}const p4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],GA=["pre","script","style","textarea"],m4={concrete:!0,name:"htmlFlow",resolveTo:v4,tokenize:b4},y4={partial:!0,tokenize:E4},g4={partial:!0,tokenize:S4};function v4(a){let u=a.length;for(;u--&&!(a[u][0]==="enter"&&a[u][1].type==="htmlFlow"););return u>1&&a[u-2][1].type==="linePrefix"&&(a[u][1].start=a[u-2][1].start,a[u+1][1].start=a[u-2][1].start,a.splice(u-2,2)),a}function b4(a,u,c){const s=this;let h,y,v,b,T;return E;function E(U){return O(U)}function O(U){return a.enter("htmlFlow"),a.enter("htmlFlowData"),a.consume(U),R}function R(U){return U===33?(a.consume(U),z):U===47?(a.consume(U),y=!0,le):U===63?(a.consume(U),h=3,s.interrupt?u:A):Gu(U)?(a.consume(U),v=String.fromCharCode(U),X):c(U)}function z(U){return U===45?(a.consume(U),h=2,_):U===91?(a.consume(U),h=5,b=0,Y):Gu(U)?(a.consume(U),h=4,s.interrupt?u:A):c(U)}function _(U){return U===45?(a.consume(U),s.interrupt?u:A):c(U)}function Y(U){const _e="CDATA[";return U===_e.charCodeAt(b++)?(a.consume(U),b===_e.length?s.interrupt?u:Ee:Y):c(U)}function le(U){return Gu(U)?(a.consume(U),v=String.fromCharCode(U),X):c(U)}function X(U){if(U===null||U===47||U===62||El(U)){const _e=U===47,Ye=v.toLowerCase();return!_e&&!y&&GA.includes(Ye)?(h=1,s.interrupt?u(U):Ee(U)):p4.includes(v.toLowerCase())?(h=6,_e?(a.consume(U),k):s.interrupt?u(U):Ee(U)):(h=7,s.interrupt&&!s.parser.lazy[s.now().line]?c(U):y?L(U):D(U))}return U===45||Ql(U)?(a.consume(U),v+=String.fromCharCode(U),X):c(U)}function k(U){return U===62?(a.consume(U),s.interrupt?u:Ee):c(U)}function L(U){return Yt(U)?(a.consume(U),L):He(U)}function D(U){return U===47?(a.consume(U),He):U===58||U===95||Gu(U)?(a.consume(U),oe):Yt(U)?(a.consume(U),D):He(U)}function oe(U){return U===45||U===46||U===58||U===95||Ql(U)?(a.consume(U),oe):ne(U)}function ne(U){return U===61?(a.consume(U),Q):Yt(U)?(a.consume(U),ne):D(U)}function Q(U){return U===null||U===60||U===61||U===62||U===96?c(U):U===34||U===39?(a.consume(U),T=U,pe):Yt(U)?(a.consume(U),Q):we(U)}function pe(U){return U===T?(a.consume(U),T=null,Se):U===null||nt(U)?c(U):(a.consume(U),pe)}function we(U){return U===null||U===34||U===39||U===47||U===60||U===61||U===62||U===96||El(U)?ne(U):(a.consume(U),we)}function Se(U){return U===47||U===62||Yt(U)?D(U):c(U)}function He(U){return U===62?(a.consume(U),be):c(U)}function be(U){return U===null||nt(U)?Ee(U):Yt(U)?(a.consume(U),be):c(U)}function Ee(U){return U===45&&h===2?(a.consume(U),q):U===60&&h===1?(a.consume(U),F):U===62&&h===4?(a.consume(U),K):U===63&&h===3?(a.consume(U),A):U===93&&h===5?(a.consume(U),Ne):nt(U)&&(h===6||h===7)?(a.exit("htmlFlowData"),a.check(y4,ce,Qe)(U)):U===null||nt(U)?(a.exit("htmlFlowData"),Qe(U)):(a.consume(U),Ee)}function Qe(U){return a.check(g4,ke,ce)(U)}function ke(U){return a.enter("lineEnding"),a.consume(U),a.exit("lineEnding"),Te}function Te(U){return U===null||nt(U)?Qe(U):(a.enter("htmlFlowData"),Ee(U))}function q(U){return U===45?(a.consume(U),A):Ee(U)}function F(U){return U===47?(a.consume(U),v="",ge):Ee(U)}function ge(U){if(U===62){const _e=v.toLowerCase();return GA.includes(_e)?(a.consume(U),K):Ee(U)}return Gu(U)&&v.length<8?(a.consume(U),v+=String.fromCharCode(U),ge):Ee(U)}function Ne(U){return U===93?(a.consume(U),A):Ee(U)}function A(U){return U===62?(a.consume(U),K):U===45&&h===2?(a.consume(U),A):Ee(U)}function K(U){return U===null||nt(U)?(a.exit("htmlFlowData"),ce(U)):(a.consume(U),K)}function ce(U){return a.exit("htmlFlow"),u(U)}}function S4(a,u,c){const s=this;return h;function h(v){return nt(v)?(a.enter("lineEnding"),a.consume(v),a.exit("lineEnding"),y):c(v)}function y(v){return s.parser.lazy[s.now().line]?c(v):u(v)}}function E4(a,u,c){return s;function s(h){return a.enter("lineEnding"),a.consume(h),a.exit("lineEnding"),a.attempt(Ov,u,c)}}const T4={name:"htmlText",tokenize:A4};function A4(a,u,c){const s=this;let h,y,v;return b;function b(A){return a.enter("htmlText"),a.enter("htmlTextData"),a.consume(A),T}function T(A){return A===33?(a.consume(A),E):A===47?(a.consume(A),ne):A===63?(a.consume(A),D):Gu(A)?(a.consume(A),we):c(A)}function E(A){return A===45?(a.consume(A),O):A===91?(a.consume(A),y=0,Y):Gu(A)?(a.consume(A),L):c(A)}function O(A){return A===45?(a.consume(A),_):c(A)}function R(A){return A===null?c(A):A===45?(a.consume(A),z):nt(A)?(v=R,F(A)):(a.consume(A),R)}function z(A){return A===45?(a.consume(A),_):R(A)}function _(A){return A===62?q(A):A===45?z(A):R(A)}function Y(A){const K="CDATA[";return A===K.charCodeAt(y++)?(a.consume(A),y===K.length?le:Y):c(A)}function le(A){return A===null?c(A):A===93?(a.consume(A),X):nt(A)?(v=le,F(A)):(a.consume(A),le)}function X(A){return A===93?(a.consume(A),k):le(A)}function k(A){return A===62?q(A):A===93?(a.consume(A),k):le(A)}function L(A){return A===null||A===62?q(A):nt(A)?(v=L,F(A)):(a.consume(A),L)}function D(A){return A===null?c(A):A===63?(a.consume(A),oe):nt(A)?(v=D,F(A)):(a.consume(A),D)}function oe(A){return A===62?q(A):D(A)}function ne(A){return Gu(A)?(a.consume(A),Q):c(A)}function Q(A){return A===45||Ql(A)?(a.consume(A),Q):pe(A)}function pe(A){return nt(A)?(v=pe,F(A)):Yt(A)?(a.consume(A),pe):q(A)}function we(A){return A===45||Ql(A)?(a.consume(A),we):A===47||A===62||El(A)?Se(A):c(A)}function Se(A){return A===47?(a.consume(A),q):A===58||A===95||Gu(A)?(a.consume(A),He):nt(A)?(v=Se,F(A)):Yt(A)?(a.consume(A),Se):q(A)}function He(A){return A===45||A===46||A===58||A===95||Ql(A)?(a.consume(A),He):be(A)}function be(A){return A===61?(a.consume(A),Ee):nt(A)?(v=be,F(A)):Yt(A)?(a.consume(A),be):Se(A)}function Ee(A){return A===null||A===60||A===61||A===62||A===96?c(A):A===34||A===39?(a.consume(A),h=A,Qe):nt(A)?(v=Ee,F(A)):Yt(A)?(a.consume(A),Ee):(a.consume(A),ke)}function Qe(A){return A===h?(a.consume(A),h=void 0,Te):A===null?c(A):nt(A)?(v=Qe,F(A)):(a.consume(A),Qe)}function ke(A){return A===null||A===34||A===39||A===60||A===61||A===96?c(A):A===47||A===62||El(A)?Se(A):(a.consume(A),ke)}function Te(A){return A===47||A===62||El(A)?Se(A):c(A)}function q(A){return A===62?(a.consume(A),a.exit("htmlTextData"),a.exit("htmlText"),u):c(A)}function F(A){return a.exit("htmlTextData"),a.enter("lineEnding"),a.consume(A),a.exit("lineEnding"),ge}function ge(A){return Yt(A)?rn(a,Ne,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(A):Ne(A)}function Ne(A){return a.enter("htmlTextData"),v(A)}}const p1={name:"labelEnd",resolveAll:w4,resolveTo:z4,tokenize:_4},x4={tokenize:C4},O4={tokenize:D4},R4={tokenize:M4};function w4(a){let u=-1;const c=[];for(;++u<a.length;){const s=a[u][1];if(c.push(a[u]),s.type==="labelImage"||s.type==="labelLink"||s.type==="labelEnd"){const h=s.type==="labelImage"?4:2;s.type="data",u+=h}}return a.length!==c.length&&Vu(a,0,a.length,c),a}function z4(a,u){let c=a.length,s=0,h,y,v,b;for(;c--;)if(h=a[c][1],y){if(h.type==="link"||h.type==="labelLink"&&h._inactive)break;a[c][0]==="enter"&&h.type==="labelLink"&&(h._inactive=!0)}else if(v){if(a[c][0]==="enter"&&(h.type==="labelImage"||h.type==="labelLink")&&!h._balanced&&(y=c,h.type!=="labelLink")){s=2;break}}else h.type==="labelEnd"&&(v=c);const T={type:a[y][1].type==="labelLink"?"link":"image",start:{...a[y][1].start},end:{...a[a.length-1][1].end}},E={type:"label",start:{...a[y][1].start},end:{...a[v][1].end}},O={type:"labelText",start:{...a[y+s+2][1].end},end:{...a[v-2][1].start}};return b=[["enter",T,u],["enter",E,u]],b=pi(b,a.slice(y+1,y+s+3)),b=pi(b,[["enter",O,u]]),b=pi(b,f1(u.parser.constructs.insideSpan.null,a.slice(y+s+4,v-3),u)),b=pi(b,[["exit",O,u],a[v-2],a[v-1],["exit",E,u]]),b=pi(b,a.slice(v+1)),b=pi(b,[["exit",T,u]]),Vu(a,y,a.length,b),a}function _4(a,u,c){const s=this;let h=s.events.length,y,v;for(;h--;)if((s.events[h][1].type==="labelImage"||s.events[h][1].type==="labelLink")&&!s.events[h][1]._balanced){y=s.events[h][1];break}return b;function b(z){return y?y._inactive?R(z):(v=s.parser.defined.includes(gd(s.sliceSerialize({start:y.end,end:s.now()}))),a.enter("labelEnd"),a.enter("labelMarker"),a.consume(z),a.exit("labelMarker"),a.exit("labelEnd"),T):c(z)}function T(z){return z===40?a.attempt(x4,O,v?O:R)(z):z===91?a.attempt(O4,O,v?E:R)(z):v?O(z):R(z)}function E(z){return a.attempt(R4,O,R)(z)}function O(z){return u(z)}function R(z){return y._balanced=!0,c(z)}}function C4(a,u,c){return s;function s(R){return a.enter("resource"),a.enter("resourceMarker"),a.consume(R),a.exit("resourceMarker"),h}function h(R){return El(R)?hm(a,y)(R):y(R)}function y(R){return R===41?O(R):qA(a,v,b,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(R)}function v(R){return El(R)?hm(a,T)(R):O(R)}function b(R){return c(R)}function T(R){return R===34||R===39||R===40?VA(a,E,c,"resourceTitle","resourceTitleMarker","resourceTitleString")(R):O(R)}function E(R){return El(R)?hm(a,O)(R):O(R)}function O(R){return R===41?(a.enter("resourceMarker"),a.consume(R),a.exit("resourceMarker"),a.exit("resource"),u):c(R)}}function D4(a,u,c){const s=this;return h;function h(b){return YA.call(s,a,y,v,"reference","referenceMarker","referenceString")(b)}function y(b){return s.parser.defined.includes(gd(s.sliceSerialize(s.events[s.events.length-1][1]).slice(1,-1)))?u(b):c(b)}function v(b){return c(b)}}function M4(a,u,c){return s;function s(y){return a.enter("reference"),a.enter("referenceMarker"),a.consume(y),a.exit("referenceMarker"),h}function h(y){return y===93?(a.enter("referenceMarker"),a.consume(y),a.exit("referenceMarker"),a.exit("reference"),u):c(y)}}const N4={name:"labelStartImage",resolveAll:p1.resolveAll,tokenize:k4};function k4(a,u,c){const s=this;return h;function h(b){return a.enter("labelImage"),a.enter("labelImageMarker"),a.consume(b),a.exit("labelImageMarker"),y}function y(b){return b===91?(a.enter("labelMarker"),a.consume(b),a.exit("labelMarker"),a.exit("labelImage"),v):c(b)}function v(b){return b===94&&"_hiddenFootnoteSupport"in s.parser.constructs?c(b):u(b)}}const U4={name:"labelStartLink",resolveAll:p1.resolveAll,tokenize:H4};function H4(a,u,c){const s=this;return h;function h(v){return a.enter("labelLink"),a.enter("labelMarker"),a.consume(v),a.exit("labelMarker"),a.exit("labelLink"),y}function y(v){return v===94&&"_hiddenFootnoteSupport"in s.parser.constructs?c(v):u(v)}}const m1={name:"lineEnding",tokenize:j4};function j4(a,u){return c;function c(s){return a.enter("lineEnding"),a.consume(s),a.exit("lineEnding"),rn(a,u,"linePrefix")}}const Rv={name:"thematicBreak",tokenize:B4};function B4(a,u,c){let s=0,h;return y;function y(E){return a.enter("thematicBreak"),v(E)}function v(E){return h=E,b(E)}function b(E){return E===h?(a.enter("thematicBreakSequence"),T(E)):s>=3&&(E===null||nt(E))?(a.exit("thematicBreak"),u(E)):c(E)}function T(E){return E===h?(a.consume(E),s++,T):(a.exit("thematicBreakSequence"),Yt(E)?rn(a,b,"whitespace")(E):b(E))}}const Tl={continuation:{tokenize:Y4},exit:G4,name:"list",tokenize:q4},L4={partial:!0,tokenize:X4},Z4={partial:!0,tokenize:V4};function q4(a,u,c){const s=this,h=s.events[s.events.length-1];let y=h&&h[1].type==="linePrefix"?h[2].sliceSerialize(h[1],!0).length:0,v=0;return b;function b(_){const Y=s.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(Y==="listUnordered"?!s.containerState.marker||_===s.containerState.marker:s1(_)){if(s.containerState.type||(s.containerState.type=Y,a.enter(Y,{_container:!0})),Y==="listUnordered")return a.enter("listItemPrefix"),_===42||_===45?a.check(Rv,c,E)(_):E(_);if(!s.interrupt||_===49)return a.enter("listItemPrefix"),a.enter("listItemValue"),T(_)}return c(_)}function T(_){return s1(_)&&++v<10?(a.consume(_),T):(!s.interrupt||v<2)&&(s.containerState.marker?_===s.containerState.marker:_===41||_===46)?(a.exit("listItemValue"),E(_)):c(_)}function E(_){return a.enter("listItemMarker"),a.consume(_),a.exit("listItemMarker"),s.containerState.marker=s.containerState.marker||_,a.check(Ov,s.interrupt?c:O,a.attempt(L4,z,R))}function O(_){return s.containerState.initialBlankLine=!0,y++,z(_)}function R(_){return Yt(_)?(a.enter("listItemPrefixWhitespace"),a.consume(_),a.exit("listItemPrefixWhitespace"),z):c(_)}function z(_){return s.containerState.size=y+s.sliceSerialize(a.exit("listItemPrefix"),!0).length,u(_)}}function Y4(a,u,c){const s=this;return s.containerState._closeFlow=void 0,a.check(Ov,h,y);function h(b){return s.containerState.furtherBlankLines=s.containerState.furtherBlankLines||s.containerState.initialBlankLine,rn(a,u,"listItemIndent",s.containerState.size+1)(b)}function y(b){return s.containerState.furtherBlankLines||!Yt(b)?(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,v(b)):(s.containerState.furtherBlankLines=void 0,s.containerState.initialBlankLine=void 0,a.attempt(Z4,u,v)(b))}function v(b){return s.containerState._closeFlow=!0,s.interrupt=void 0,rn(a,a.attempt(Tl,u,c),"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(b)}}function V4(a,u,c){const s=this;return rn(a,h,"listItemIndent",s.containerState.size+1);function h(y){const v=s.events[s.events.length-1];return v&&v[1].type==="listItemIndent"&&v[2].sliceSerialize(v[1],!0).length===s.containerState.size?u(y):c(y)}}function G4(a){a.exit(this.containerState.type)}function X4(a,u,c){const s=this;return rn(a,h,"listItemPrefixWhitespace",s.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function h(y){const v=s.events[s.events.length-1];return!Yt(y)&&v&&v[1].type==="listItemPrefixWhitespace"?u(y):c(y)}}const XA={name:"setextUnderline",resolveTo:Q4,tokenize:I4};function Q4(a,u){let c=a.length,s,h,y;for(;c--;)if(a[c][0]==="enter"){if(a[c][1].type==="content"){s=c;break}a[c][1].type==="paragraph"&&(h=c)}else a[c][1].type==="content"&&a.splice(c,1),!y&&a[c][1].type==="definition"&&(y=c);const v={type:"setextHeading",start:{...a[s][1].start},end:{...a[a.length-1][1].end}};return a[h][1].type="setextHeadingText",y?(a.splice(h,0,["enter",v,u]),a.splice(y+1,0,["exit",a[s][1],u]),a[s][1].end={...a[y][1].end}):a[s][1]=v,a.push(["exit",v,u]),a}function I4(a,u,c){const s=this;let h;return y;function y(E){let O=s.events.length,R;for(;O--;)if(s.events[O][1].type!=="lineEnding"&&s.events[O][1].type!=="linePrefix"&&s.events[O][1].type!=="content"){R=s.events[O][1].type==="paragraph";break}return!s.parser.lazy[s.now().line]&&(s.interrupt||R)?(a.enter("setextHeadingLine"),h=E,v(E)):c(E)}function v(E){return a.enter("setextHeadingLineSequence"),b(E)}function b(E){return E===h?(a.consume(E),b):(a.exit("setextHeadingLineSequence"),Yt(E)?rn(a,T,"lineSuffix")(E):T(E))}function T(E){return E===null||nt(E)?(a.exit("setextHeadingLine"),u(E)):c(E)}}const J4={tokenize:$4};function $4(a){const u=this,c=a.attempt(Ov,s,a.attempt(this.parser.constructs.flowInitial,h,rn(a,a.attempt(this.parser.constructs.flow,h,a.attempt(e4,h)),"linePrefix")));return c;function s(y){if(y===null){a.consume(y);return}return a.enter("lineEndingBlank"),a.consume(y),a.exit("lineEndingBlank"),u.currentConstruct=void 0,c}function h(y){if(y===null){a.consume(y);return}return a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),u.currentConstruct=void 0,c}}const K4={resolveAll:IA()},P4=QA("string"),F4=QA("text");function QA(a){return{resolveAll:IA(a==="text"?W4:void 0),tokenize:u};function u(c){const s=this,h=this.parser.constructs[a],y=c.attempt(h,v,b);return v;function v(O){return E(O)?y(O):b(O)}function b(O){if(O===null){c.consume(O);return}return c.enter("data"),c.consume(O),T}function T(O){return E(O)?(c.exit("data"),y(O)):(c.consume(O),T)}function E(O){if(O===null)return!0;const R=h[O];let z=-1;if(R)for(;++z<R.length;){const _=R[z];if(!_.previous||_.previous.call(s,s.previous))return!0}return!1}}}function IA(a){return u;function u(c,s){let h=-1,y;for(;++h<=c.length;)y===void 0?c[h]&&c[h][1].type==="data"&&(y=h,h++):(!c[h]||c[h][1].type!=="data")&&(h!==y+2&&(c[y][1].end=c[h-1][1].end,c.splice(y+2,h-y-2),h=y+2),y=void 0);return a?a(c,s):c}}function W4(a,u){let c=0;for(;++c<=a.length;)if((c===a.length||a[c][1].type==="lineEnding")&&a[c-1][1].type==="data"){const s=a[c-1][1],h=u.sliceStream(s);let y=h.length,v=-1,b=0,T;for(;y--;){const E=h[y];if(typeof E=="string"){for(v=E.length;E.charCodeAt(v-1)===32;)b++,v--;if(v)break;v=-1}else if(E===-2)T=!0,b++;else if(E!==-1){y++;break}}if(u._contentTypeTextTrailing&&c===a.length&&(b=0),b){const E={type:c===a.length||T||b<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:y?v:s.start._bufferIndex+v,_index:s.start._index+y,line:s.end.line,column:s.end.column-b,offset:s.end.offset-b},end:{...s.end}};s.end={...E.start},s.start.offset===s.end.offset?Object.assign(s,E):(a.splice(c,0,["enter",E,u],["exit",E,u]),c+=2)}c++}return a}const e3=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:i4},disable:{null:[]},document:{42:Tl,43:Tl,45:Tl,48:Tl,49:Tl,50:Tl,51:Tl,52:Tl,53:Tl,54:Tl,55:Tl,56:Tl,57:Tl,62:UA},flow:{35:f4,42:Rv,45:[XA,Rv],60:m4,61:XA,95:Rv,96:LA,126:LA},flowInitial:{[-2]:h1,[-1]:h1,32:h1},insideSpan:{null:[d1,K4]},string:{38:jA,92:HA},text:{[-5]:m1,[-4]:m1,[-3]:m1,33:N4,38:jA,42:d1,60:[UM,T4],91:U4,92:[c4,HA],93:p1,95:d1,96:JM}},Symbol.toStringTag,{value:"Module"}));function t3(a,u,c){let s={_bufferIndex:-1,_index:0,line:c&&c.line||1,column:c&&c.column||1,offset:c&&c.offset||0};const h={},y=[];let v=[],b=[];const T={attempt:pe(ne),check:pe(Q),consume:L,enter:D,exit:oe,interrupt:pe(Q,{interrupt:!0})},E={code:null,containerState:{},defineSkip:le,events:[],now:Y,parser:a,previous:null,sliceSerialize:z,sliceStream:_,write:R};let O=u.tokenize.call(E,T);return u.resolveAll&&y.push(u),E;function R(be){return v=pi(v,be),X(),v[v.length-1]!==null?[]:(we(u,0),E.events=f1(y,E.events,E),E.events)}function z(be,Ee){return a3(_(be),Ee)}function _(be){return n3(v,be)}function Y(){const{_bufferIndex:be,_index:Ee,line:Qe,column:ke,offset:Te}=s;return{_bufferIndex:be,_index:Ee,line:Qe,column:ke,offset:Te}}function le(be){h[be.line]=be.column,He()}function X(){let be;for(;s._index<v.length;){const Ee=v[s._index];if(typeof Ee=="string")for(be=s._index,s._bufferIndex<0&&(s._bufferIndex=0);s._index===be&&s._bufferIndex<Ee.length;)k(Ee.charCodeAt(s._bufferIndex));else k(Ee)}}function k(be){O=O(be)}function L(be){nt(be)?(s.line++,s.column=1,s.offset+=be===-3?2:1,He()):be!==-1&&(s.column++,s.offset++),s._bufferIndex<0?s._index++:(s._bufferIndex++,s._bufferIndex===v[s._index].length&&(s._bufferIndex=-1,s._index++)),E.previous=be}function D(be,Ee){const Qe=Ee||{};return Qe.type=be,Qe.start=Y(),E.events.push(["enter",Qe,E]),b.push(Qe),Qe}function oe(be){const Ee=b.pop();return Ee.end=Y(),E.events.push(["exit",Ee,E]),Ee}function ne(be,Ee){we(be,Ee.from)}function Q(be,Ee){Ee.restore()}function pe(be,Ee){return Qe;function Qe(ke,Te,q){let F,ge,Ne,A;return Array.isArray(ke)?ce(ke):"tokenize"in ke?ce([ke]):K(ke);function K(Oe){return Wt;function Wt(Ie){const Bt=Ie!==null&&Oe[Ie],Dn=Ie!==null&&Oe.null,Oa=[...Array.isArray(Bt)?Bt:Bt?[Bt]:[],...Array.isArray(Dn)?Dn:Dn?[Dn]:[]];return ce(Oa)(Ie)}}function ce(Oe){return F=Oe,ge=0,Oe.length===0?q:U(Oe[ge])}function U(Oe){return Wt;function Wt(Ie){return A=Se(),Ne=Oe,Oe.partial||(E.currentConstruct=Oe),Oe.name&&E.parser.constructs.disable.null.includes(Oe.name)?Ye():Oe.tokenize.call(Ee?Object.assign(Object.create(E),Ee):E,T,_e,Ye)(Ie)}}function _e(Oe){return be(Ne,A),Te}function Ye(Oe){return A.restore(),++ge<F.length?U(F[ge]):q}}}function we(be,Ee){be.resolveAll&&!y.includes(be)&&y.push(be),be.resolve&&Vu(E.events,Ee,E.events.length-Ee,be.resolve(E.events.slice(Ee),E)),be.resolveTo&&(E.events=be.resolveTo(E.events,E))}function Se(){const be=Y(),Ee=E.previous,Qe=E.currentConstruct,ke=E.events.length,Te=Array.from(b);return{from:ke,restore:q};function q(){s=be,E.previous=Ee,E.currentConstruct=Qe,E.events.length=ke,b=Te,He()}}function He(){s.line in h&&s.column<2&&(s.column=h[s.line],s.offset+=h[s.line]-1)}}function n3(a,u){const c=u.start._index,s=u.start._bufferIndex,h=u.end._index,y=u.end._bufferIndex;let v;if(c===h)v=[a[c].slice(s,y)];else{if(v=a.slice(c,h),s>-1){const b=v[0];typeof b=="string"?v[0]=b.slice(s):v.shift()}y>0&&v.push(a[h].slice(0,y))}return v}function a3(a,u){let c=-1;const s=[];let h;for(;++c<a.length;){const y=a[c];let v;if(typeof y=="string")v=y;else switch(y){case-5:{v="\r";break}case-4:{v=`
|
|
368
|
-
`;break}case-3:{v=`\r
|
|
369
|
-
`;break}case-2:{v=u?" ":" ";break}case-1:{if(!u&&h)continue;v=" ";break}default:v=String.fromCharCode(y)}h=y===-2,s.push(v)}return s.join("")}function l3(a){const s={constructs:SM([e3,...(a||{}).extensions||[]]),content:h(zM),defined:[],document:h(CM),flow:h(J4),lazy:{},string:h(P4),text:h(F4)};return s;function h(y){return v;function v(b){return t3(s,y,b)}}}function i3(a){for(;!ZA(a););return a}const JA=/[\0\t\n\r]/g;function u3(){let a=1,u="",c=!0,s;return h;function h(y,v,b){const T=[];let E,O,R,z,_;for(y=u+(typeof y=="string"?y.toString():new TextDecoder(v||void 0).decode(y)),R=0,u="",c&&(y.charCodeAt(0)===65279&&R++,c=void 0);R<y.length;){if(JA.lastIndex=R,E=JA.exec(y),z=E&&E.index!==void 0?E.index:y.length,_=y.charCodeAt(z),!E){u=y.slice(R);break}if(_===10&&R===z&&s)T.push(-3),s=void 0;else switch(s&&(T.push(-5),s=void 0),R<z&&(T.push(y.slice(R,z)),a+=z-R),_){case 0:{T.push(65533),a++;break}case 9:{for(O=Math.ceil(a/4)*4,T.push(-2);a++<O;)T.push(-1);break}case 10:{T.push(-4),a=1;break}default:s=!0,a=1}R=z+1}return b&&(s&&T.push(-5),u&&T.push(u),T.push(null)),T}}const r3=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o3(a){return a.replace(r3,c3)}function c3(a,u,c){if(u)return u;if(c.charCodeAt(0)===35){const h=c.charCodeAt(1),y=h===120||h===88;return DA(c.slice(y?2:1),y?16:10)}return o1(c)||a}const $A={}.hasOwnProperty;function s3(a,u,c){return u&&typeof u=="object"&&(c=u,u=void 0),f3(c)(i3(l3(c).document().write(u3()(a,u,!0))))}function f3(a){const u={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:y(Br),autolinkProtocol:Se,autolinkEmail:Se,atxHeading:y(Iu),blockQuote:y(Dn),characterEscape:Se,characterReference:Se,codeFenced:y(Oa),codeFencedFenceInfo:v,codeFencedFenceMeta:v,codeIndented:y(Oa,v),codeText:y(ru,v),codeTextData:Se,data:Se,codeFlowValue:Se,definition:y(Al),definitionDestinationString:v,definitionLabelString:v,definitionTitleString:v,emphasis:y(Qu),hardBreakEscape:y(pn),hardBreakTrailing:y(pn),htmlFlow:y(Mn,v),htmlFlowData:Se,htmlText:y(Mn,v),htmlTextData:Se,image:y(mi),label:v,link:y(Br),listItem:y(xl),listItemValue:z,listOrdered:y(ut,R),listUnordered:y(ut),paragraph:y(Ju),reference:U,referenceString:v,resourceDestinationString:v,resourceTitleString:v,setextHeading:y(Iu),strong:y(Il),thematicBreak:y(Lr)},exit:{atxHeading:T(),atxHeadingSequence:ne,autolink:T(),autolinkEmail:Bt,autolinkProtocol:Ie,blockQuote:T(),characterEscapeValue:He,characterReferenceMarkerHexadecimal:Ye,characterReferenceMarkerNumeric:Ye,characterReferenceValue:Oe,characterReference:Wt,codeFenced:T(X),codeFencedFence:le,codeFencedFenceInfo:_,codeFencedFenceMeta:Y,codeFlowValue:He,codeIndented:T(k),codeText:T(Te),codeTextData:He,data:He,definition:T(),definitionDestinationString:oe,definitionLabelString:L,definitionTitleString:D,emphasis:T(),hardBreakEscape:T(Ee),hardBreakTrailing:T(Ee),htmlFlow:T(Qe),htmlFlowData:He,htmlText:T(ke),htmlTextData:He,image:T(F),label:Ne,labelText:ge,lineEnding:be,link:T(q),listItem:T(),listOrdered:T(),listUnordered:T(),paragraph:T(),referenceString:_e,resourceDestinationString:A,resourceTitleString:K,resource:ce,setextHeading:T(we),setextHeadingLineSequence:pe,setextHeadingText:Q,strong:T(),thematicBreak:T()}};KA(u,(a||{}).mdastExtensions||[]);const c={};return s;function s(de){let xe={type:"root",children:[]};const Xe={stack:[xe],tokenStack:[],config:u,enter:b,exit:E,buffer:v,resume:O,data:c},Ke=[];let Dt=-1;for(;++Dt<de.length;)if(de[Dt][1].type==="listOrdered"||de[Dt][1].type==="listUnordered")if(de[Dt][0]==="enter")Ke.push(Dt);else{const la=Ke.pop();Dt=h(de,la,Dt)}for(Dt=-1;++Dt<de.length;){const la=u[de[Dt][0]];$A.call(la,de[Dt][1].type)&&la[de[Dt][1].type].call(Object.assign({sliceSerialize:de[Dt][2].sliceSerialize},Xe),de[Dt][1])}if(Xe.tokenStack.length>0){const la=Xe.tokenStack[Xe.tokenStack.length-1];(la[1]||PA).call(Xe,void 0,la[0])}for(xe.position={start:Fo(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:Fo(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},Dt=-1;++Dt<u.transforms.length;)xe=u.transforms[Dt](xe)||xe;return xe}function h(de,xe,Xe){let Ke=xe-1,Dt=-1,la=!1,La,Nn,Un,mn;for(;++Ke<=Xe;){const en=de[Ke];switch(en[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{en[0]==="enter"?Dt++:Dt--,mn=void 0;break}case"lineEndingBlank":{en[0]==="enter"&&(La&&!mn&&!Dt&&!Un&&(Un=Ke),mn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:mn=void 0}if(!Dt&&en[0]==="enter"&&en[1].type==="listItemPrefix"||Dt===-1&&en[0]==="exit"&&(en[1].type==="listUnordered"||en[1].type==="listOrdered")){if(La){let C=Ke;for(Nn=void 0;C--;){const I=de[C];if(I[1].type==="lineEnding"||I[1].type==="lineEndingBlank"){if(I[0]==="exit")continue;Nn&&(de[Nn][1].type="lineEndingBlank",la=!0),I[1].type="lineEnding",Nn=C}else if(!(I[1].type==="linePrefix"||I[1].type==="blockQuotePrefix"||I[1].type==="blockQuotePrefixWhitespace"||I[1].type==="blockQuoteMarker"||I[1].type==="listItemIndent"))break}Un&&(!Nn||Un<Nn)&&(La._spread=!0),La.end=Object.assign({},Nn?de[Nn][1].start:en[1].end),de.splice(Nn||Ke,0,["exit",La,en[2]]),Ke++,Xe++}if(en[1].type==="listItemPrefix"){const C={type:"listItem",_spread:!1,start:Object.assign({},en[1].start),end:void 0};La=C,de.splice(Ke,0,["enter",C,en[2]]),Ke++,Xe++,Un=void 0,mn=!0}}}return de[xe][1]._spread=la,Xe}function y(de,xe){return Xe;function Xe(Ke){b.call(this,de(Ke),Ke),xe&&xe.call(this,Ke)}}function v(){this.stack.push({type:"fragment",children:[]})}function b(de,xe,Xe){this.stack[this.stack.length-1].children.push(de),this.stack.push(de),this.tokenStack.push([xe,Xe||void 0]),de.position={start:Fo(xe.start),end:void 0}}function T(de){return xe;function xe(Xe){de&&de.call(this,Xe),E.call(this,Xe)}}function E(de,xe){const Xe=this.stack.pop(),Ke=this.tokenStack.pop();if(Ke)Ke[0].type!==de.type&&(xe?xe.call(this,de,Ke[0]):(Ke[1]||PA).call(this,de,Ke[0]));else throw new Error("Cannot close `"+de.type+"` ("+sm({start:de.start,end:de.end})+"): it’s not open");Xe.position.end=Fo(de.end)}function O(){return vM(this.stack.pop())}function R(){this.data.expectingFirstListItemValue=!0}function z(de){if(this.data.expectingFirstListItemValue){const xe=this.stack[this.stack.length-2];xe.start=Number.parseInt(this.sliceSerialize(de),10),this.data.expectingFirstListItemValue=void 0}}function _(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.lang=de}function Y(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.meta=de}function le(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function X(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.value=de.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function k(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.value=de.replace(/(\r?\n|\r)$/g,"")}function L(de){const xe=this.resume(),Xe=this.stack[this.stack.length-1];Xe.label=xe,Xe.identifier=gd(this.sliceSerialize(de)).toLowerCase()}function D(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.title=de}function oe(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.url=de}function ne(de){const xe=this.stack[this.stack.length-1];if(!xe.depth){const Xe=this.sliceSerialize(de).length;xe.depth=Xe}}function Q(){this.data.setextHeadingSlurpLineEnding=!0}function pe(de){const xe=this.stack[this.stack.length-1];xe.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function we(){this.data.setextHeadingSlurpLineEnding=void 0}function Se(de){const Xe=this.stack[this.stack.length-1].children;let Ke=Xe[Xe.length-1];(!Ke||Ke.type!=="text")&&(Ke=Wo(),Ke.position={start:Fo(de.start),end:void 0},Xe.push(Ke)),this.stack.push(Ke)}function He(de){const xe=this.stack.pop();xe.value+=this.sliceSerialize(de),xe.position.end=Fo(de.end)}function be(de){const xe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Xe=xe.children[xe.children.length-1];Xe.position.end=Fo(de.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&u.canContainEols.includes(xe.type)&&(Se.call(this,de),He.call(this,de))}function Ee(){this.data.atHardBreak=!0}function Qe(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.value=de}function ke(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.value=de}function Te(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.value=de}function q(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=xe,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function F(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const xe=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=xe,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function ge(de){const xe=this.sliceSerialize(de),Xe=this.stack[this.stack.length-2];Xe.label=o3(xe),Xe.identifier=gd(xe).toLowerCase()}function Ne(){const de=this.stack[this.stack.length-1],xe=this.resume(),Xe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Xe.type==="link"){const Ke=de.children;Xe.children=Ke}else Xe.alt=xe}function A(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.url=de}function K(){const de=this.resume(),xe=this.stack[this.stack.length-1];xe.title=de}function ce(){this.data.inReference=void 0}function U(){this.data.referenceType="collapsed"}function _e(de){const xe=this.resume(),Xe=this.stack[this.stack.length-1];Xe.label=xe,Xe.identifier=gd(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType="full"}function Ye(de){this.data.characterReferenceType=de.type}function Oe(de){const xe=this.sliceSerialize(de),Xe=this.data.characterReferenceType;let Ke;Xe?(Ke=DA(xe,Xe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ke=o1(xe);const Dt=this.stack[this.stack.length-1];Dt.value+=Ke}function Wt(de){const xe=this.stack.pop();xe.position.end=Fo(de.end)}function Ie(de){He.call(this,de);const xe=this.stack[this.stack.length-1];xe.url=this.sliceSerialize(de)}function Bt(de){He.call(this,de);const xe=this.stack[this.stack.length-1];xe.url="mailto:"+this.sliceSerialize(de)}function Dn(){return{type:"blockquote",children:[]}}function Oa(){return{type:"code",lang:null,meta:null,value:""}}function ru(){return{type:"inlineCode",value:""}}function Al(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Qu(){return{type:"emphasis",children:[]}}function Iu(){return{type:"heading",depth:0,children:[]}}function pn(){return{type:"break"}}function Mn(){return{type:"html",value:""}}function mi(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function ut(de){return{type:"list",ordered:de.type==="listOrdered",start:null,spread:de._spread,children:[]}}function xl(de){return{type:"listItem",spread:de._spread,checked:null,children:[]}}function Ju(){return{type:"paragraph",children:[]}}function Il(){return{type:"strong",children:[]}}function Wo(){return{type:"text",value:""}}function Lr(){return{type:"thematicBreak"}}}function Fo(a){return{line:a.line,column:a.column,offset:a.offset}}function KA(a,u){let c=-1;for(;++c<u.length;){const s=u[c];Array.isArray(s)?KA(a,s):d3(a,s)}}function d3(a,u){let c;for(c in u)if($A.call(u,c))switch(c){case"canContainEols":{const s=u[c];s&&a[c].push(...s);break}case"transforms":{const s=u[c];s&&a[c].push(...s);break}case"enter":case"exit":{const s=u[c];s&&Object.assign(a[c],s);break}}}function PA(a,u){throw a?new Error("Cannot close `"+a.type+"` ("+sm({start:a.start,end:a.end})+"): a different token (`"+u.type+"`, "+sm({start:u.start,end:u.end})+") is open"):new Error("Cannot close document, a token (`"+u.type+"`, "+sm({start:u.start,end:u.end})+") is still open")}function h3(a){const u=this;u.parser=c;function c(s){return s3(s,{...u.data("settings"),...a,extensions:u.data("micromarkExtensions")||[],mdastExtensions:u.data("fromMarkdownExtensions")||[]})}}function p3(a,u){const c={type:"element",tagName:"blockquote",properties:{},children:a.wrap(a.all(u),!0)};return a.patch(u,c),a.applyData(u,c)}function m3(a,u){const c={type:"element",tagName:"br",properties:{},children:[]};return a.patch(u,c),[a.applyData(u,c),{type:"text",value:`
|
|
370
|
-
`}]}function y3(a,u){const c=u.value?u.value+`
|
|
371
|
-
`:"",s={},h=u.lang?u.lang.split(/\s+/):[];h.length>0&&(s.className=["language-"+h[0]]);let y={type:"element",tagName:"code",properties:s,children:[{type:"text",value:c}]};return u.meta&&(y.data={meta:u.meta}),a.patch(u,y),y=a.applyData(u,y),y={type:"element",tagName:"pre",properties:{},children:[y]},a.patch(u,y),y}function g3(a,u){const c={type:"element",tagName:"del",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function v3(a,u){const c={type:"element",tagName:"em",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function b3(a,u){const c=typeof a.options.clobberPrefix=="string"?a.options.clobberPrefix:"user-content-",s=String(u.identifier).toUpperCase(),h=vd(s.toLowerCase()),y=a.footnoteOrder.indexOf(s);let v,b=a.footnoteCounts.get(s);b===void 0?(b=0,a.footnoteOrder.push(s),v=a.footnoteOrder.length):v=y+1,b+=1,a.footnoteCounts.set(s,b);const T={type:"element",tagName:"a",properties:{href:"#"+c+"fn-"+h,id:c+"fnref-"+h+(b>1?"-"+b:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(v)}]};a.patch(u,T);const E={type:"element",tagName:"sup",properties:{},children:[T]};return a.patch(u,E),a.applyData(u,E)}function S3(a,u){const c={type:"element",tagName:"h"+u.depth,properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function E3(a,u){if(a.options.allowDangerousHtml){const c={type:"raw",value:u.value};return a.patch(u,c),a.applyData(u,c)}}function FA(a,u){const c=u.referenceType;let s="]";if(c==="collapsed"?s+="[]":c==="full"&&(s+="["+(u.label||u.identifier)+"]"),u.type==="imageReference")return[{type:"text",value:"!["+u.alt+s}];const h=a.all(u),y=h[0];y&&y.type==="text"?y.value="["+y.value:h.unshift({type:"text",value:"["});const v=h[h.length-1];return v&&v.type==="text"?v.value+=s:h.push({type:"text",value:s}),h}function T3(a,u){const c=String(u.identifier).toUpperCase(),s=a.definitionById.get(c);if(!s)return FA(a,u);const h={src:vd(s.url||""),alt:u.alt};s.title!==null&&s.title!==void 0&&(h.title=s.title);const y={type:"element",tagName:"img",properties:h,children:[]};return a.patch(u,y),a.applyData(u,y)}function A3(a,u){const c={src:vd(u.url)};u.alt!==null&&u.alt!==void 0&&(c.alt=u.alt),u.title!==null&&u.title!==void 0&&(c.title=u.title);const s={type:"element",tagName:"img",properties:c,children:[]};return a.patch(u,s),a.applyData(u,s)}function x3(a,u){const c={type:"text",value:u.value.replace(/\r?\n|\r/g," ")};a.patch(u,c);const s={type:"element",tagName:"code",properties:{},children:[c]};return a.patch(u,s),a.applyData(u,s)}function O3(a,u){const c=String(u.identifier).toUpperCase(),s=a.definitionById.get(c);if(!s)return FA(a,u);const h={href:vd(s.url||"")};s.title!==null&&s.title!==void 0&&(h.title=s.title);const y={type:"element",tagName:"a",properties:h,children:a.all(u)};return a.patch(u,y),a.applyData(u,y)}function R3(a,u){const c={href:vd(u.url)};u.title!==null&&u.title!==void 0&&(c.title=u.title);const s={type:"element",tagName:"a",properties:c,children:a.all(u)};return a.patch(u,s),a.applyData(u,s)}function w3(a,u,c){const s=a.all(u),h=c?z3(c):WA(u),y={},v=[];if(typeof u.checked=="boolean"){const O=s[0];let R;O&&O.type==="element"&&O.tagName==="p"?R=O:(R={type:"element",tagName:"p",properties:{},children:[]},s.unshift(R)),R.children.length>0&&R.children.unshift({type:"text",value:" "}),R.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:u.checked,disabled:!0},children:[]}),y.className=["task-list-item"]}let b=-1;for(;++b<s.length;){const O=s[b];(h||b!==0||O.type!=="element"||O.tagName!=="p")&&v.push({type:"text",value:`
|
|
372
|
-
`}),O.type==="element"&&O.tagName==="p"&&!h?v.push(...O.children):v.push(O)}const T=s[s.length-1];T&&(h||T.type!=="element"||T.tagName!=="p")&&v.push({type:"text",value:`
|
|
373
|
-
`});const E={type:"element",tagName:"li",properties:y,children:v};return a.patch(u,E),a.applyData(u,E)}function z3(a){let u=!1;if(a.type==="list"){u=a.spread||!1;const c=a.children;let s=-1;for(;!u&&++s<c.length;)u=WA(c[s])}return u}function WA(a){const u=a.spread;return u??a.children.length>1}function _3(a,u){const c={},s=a.all(u);let h=-1;for(typeof u.start=="number"&&u.start!==1&&(c.start=u.start);++h<s.length;){const v=s[h];if(v.type==="element"&&v.tagName==="li"&&v.properties&&Array.isArray(v.properties.className)&&v.properties.className.includes("task-list-item")){c.className=["contains-task-list"];break}}const y={type:"element",tagName:u.ordered?"ol":"ul",properties:c,children:a.wrap(s,!0)};return a.patch(u,y),a.applyData(u,y)}function C3(a,u){const c={type:"element",tagName:"p",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function D3(a,u){const c={type:"root",children:a.wrap(a.all(u))};return a.patch(u,c),a.applyData(u,c)}function M3(a,u){const c={type:"element",tagName:"strong",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}function N3(a,u){const c=a.all(u),s=c.shift(),h=[];if(s){const v={type:"element",tagName:"thead",properties:{},children:a.wrap([s],!0)};a.patch(u.children[0],v),h.push(v)}if(c.length>0){const v={type:"element",tagName:"tbody",properties:{},children:a.wrap(c,!0)},b=n1(u.children[1]),T=bA(u.children[u.children.length-1]);b&&T&&(v.position={start:b,end:T}),h.push(v)}const y={type:"element",tagName:"table",properties:{},children:a.wrap(h,!0)};return a.patch(u,y),a.applyData(u,y)}function k3(a,u,c){const s=c?c.children:void 0,y=(s?s.indexOf(u):1)===0?"th":"td",v=c&&c.type==="table"?c.align:void 0,b=v?v.length:u.children.length;let T=-1;const E=[];for(;++T<b;){const R=u.children[T],z={},_=v?v[T]:void 0;_&&(z.align=_);let Y={type:"element",tagName:y,properties:z,children:[]};R&&(Y.children=a.all(R),a.patch(R,Y),Y=a.applyData(R,Y)),E.push(Y)}const O={type:"element",tagName:"tr",properties:{},children:a.wrap(E,!0)};return a.patch(u,O),a.applyData(u,O)}function U3(a,u){const c={type:"element",tagName:"td",properties:{},children:a.all(u)};return a.patch(u,c),a.applyData(u,c)}const ex=9,tx=32;function H3(a){const u=String(a),c=/\r?\n|\r/g;let s=c.exec(u),h=0;const y=[];for(;s;)y.push(nx(u.slice(h,s.index),h>0,!0),s[0]),h=s.index+s[0].length,s=c.exec(u);return y.push(nx(u.slice(h),h>0,!1)),y.join("")}function nx(a,u,c){let s=0,h=a.length;if(u){let y=a.codePointAt(s);for(;y===ex||y===tx;)s++,y=a.codePointAt(s)}if(c){let y=a.codePointAt(h-1);for(;y===ex||y===tx;)h--,y=a.codePointAt(h-1)}return h>s?a.slice(s,h):""}function j3(a,u){const c={type:"text",value:H3(String(u.value))};return a.patch(u,c),a.applyData(u,c)}function B3(a,u){const c={type:"element",tagName:"hr",properties:{},children:[]};return a.patch(u,c),a.applyData(u,c)}const L3={blockquote:p3,break:m3,code:y3,delete:g3,emphasis:v3,footnoteReference:b3,heading:S3,html:E3,imageReference:T3,image:A3,inlineCode:x3,linkReference:O3,link:R3,listItem:w3,list:_3,paragraph:C3,root:D3,strong:M3,table:N3,tableCell:U3,tableRow:k3,text:j3,thematicBreak:B3,toml:wv,yaml:wv,definition:wv,footnoteDefinition:wv};function wv(){}const ax=-1,zv=0,pm=1,_v=2,y1=3,g1=4,v1=5,b1=6,lx=7,ix=8,Z3=typeof self=="object"?self:globalThis,ux=(a,u)=>{switch(a){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+a)}return new Z3[a](u)},q3=(a,u)=>{const c=(h,y)=>(a.set(y,h),h),s=h=>{if(a.has(h))return a.get(h);const[y,v]=u[h];switch(y){case zv:case ax:return c(v,h);case pm:{const b=c([],h);for(const T of v)b.push(s(T));return b}case _v:{const b=c({},h);for(const[T,E]of v)b[s(T)]=s(E);return b}case y1:return c(new Date(v),h);case g1:{const{source:b,flags:T}=v;return c(new RegExp(b,T),h)}case v1:{const b=c(new Map,h);for(const[T,E]of v)b.set(s(T),s(E));return b}case b1:{const b=c(new Set,h);for(const T of v)b.add(s(T));return b}case lx:{const{name:b,message:T}=v;return c(ux(b,T),h)}case ix:return c(BigInt(v),h);case"BigInt":return c(Object(BigInt(v)),h);case"ArrayBuffer":return c(new Uint8Array(v).buffer,v);case"DataView":{const{buffer:b}=new Uint8Array(v);return c(new DataView(b),v)}}return c(ux(y,v),h)};return s},rx=a=>q3(new Map,a)(0),bd="",{toString:Y3}={},{keys:V3}=Object,mm=a=>{const u=typeof a;if(u!=="object"||!a)return[zv,u];const c=Y3.call(a).slice(8,-1);switch(c){case"Array":return[pm,bd];case"Object":return[_v,bd];case"Date":return[y1,bd];case"RegExp":return[g1,bd];case"Map":return[v1,bd];case"Set":return[b1,bd];case"DataView":return[pm,c]}return c.includes("Array")?[pm,c]:c.includes("Error")?[lx,c]:[_v,c]},Cv=([a,u])=>a===zv&&(u==="function"||u==="symbol"),G3=(a,u,c,s)=>{const h=(v,b)=>{const T=s.push(v)-1;return c.set(b,T),T},y=v=>{if(c.has(v))return c.get(v);let[b,T]=mm(v);switch(b){case zv:{let O=v;switch(T){case"bigint":b=ix,O=v.toString();break;case"function":case"symbol":if(a)throw new TypeError("unable to serialize "+T);O=null;break;case"undefined":return h([ax],v)}return h([b,O],v)}case pm:{if(T){let z=v;return T==="DataView"?z=new Uint8Array(v.buffer):T==="ArrayBuffer"&&(z=new Uint8Array(v)),h([T,[...z]],v)}const O=[],R=h([b,O],v);for(const z of v)O.push(y(z));return R}case _v:{if(T)switch(T){case"BigInt":return h([T,v.toString()],v);case"Boolean":case"Number":case"String":return h([T,v.valueOf()],v)}if(u&&"toJSON"in v)return y(v.toJSON());const O=[],R=h([b,O],v);for(const z of V3(v))(a||!Cv(mm(v[z])))&&O.push([y(z),y(v[z])]);return R}case y1:return h([b,v.toISOString()],v);case g1:{const{source:O,flags:R}=v;return h([b,{source:O,flags:R}],v)}case v1:{const O=[],R=h([b,O],v);for(const[z,_]of v)(a||!(Cv(mm(z))||Cv(mm(_))))&&O.push([y(z),y(_)]);return R}case b1:{const O=[],R=h([b,O],v);for(const z of v)(a||!Cv(mm(z)))&&O.push(y(z));return R}}const{message:E}=v;return h([b,{name:T,message:E}],v)};return y},ox=(a,{json:u,lossy:c}={})=>{const s=[];return G3(!(u||c),!!u,new Map,s)(a),s},Dv=typeof structuredClone=="function"?(a,u)=>u&&("json"in u||"lossy"in u)?rx(ox(a,u)):structuredClone(a):(a,u)=>rx(ox(a,u));function X3(a,u){const c=[{type:"text",value:"↩"}];return u>1&&c.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(u)}]}),c}function Q3(a,u){return"Back to reference "+(a+1)+(u>1?"-"+u:"")}function I3(a){const u=typeof a.options.clobberPrefix=="string"?a.options.clobberPrefix:"user-content-",c=a.options.footnoteBackContent||X3,s=a.options.footnoteBackLabel||Q3,h=a.options.footnoteLabel||"Footnotes",y=a.options.footnoteLabelTagName||"h2",v=a.options.footnoteLabelProperties||{className:["sr-only"]},b=[];let T=-1;for(;++T<a.footnoteOrder.length;){const E=a.footnoteById.get(a.footnoteOrder[T]);if(!E)continue;const O=a.all(E),R=String(E.identifier).toUpperCase(),z=vd(R.toLowerCase());let _=0;const Y=[],le=a.footnoteCounts.get(R);for(;le!==void 0&&++_<=le;){Y.length>0&&Y.push({type:"text",value:" "});let L=typeof c=="string"?c:c(T,_);typeof L=="string"&&(L={type:"text",value:L}),Y.push({type:"element",tagName:"a",properties:{href:"#"+u+"fnref-"+z+(_>1?"-"+_:""),dataFootnoteBackref:"",ariaLabel:typeof s=="string"?s:s(T,_),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const X=O[O.length-1];if(X&&X.type==="element"&&X.tagName==="p"){const L=X.children[X.children.length-1];L&&L.type==="text"?L.value+=" ":X.children.push({type:"text",value:" "}),X.children.push(...Y)}else O.push(...Y);const k={type:"element",tagName:"li",properties:{id:u+"fn-"+z},children:a.wrap(O,!0)};a.patch(E,k),b.push(k)}if(b.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:y,properties:{...Dv(v),id:"footnote-label"},children:[{type:"text",value:h}]},{type:"text",value:`
|
|
374
|
-
`},{type:"element",tagName:"ol",properties:{},children:a.wrap(b,!0)},{type:"text",value:`
|
|
375
|
-
`}]}}const cx=(function(a){if(a==null)return P3;if(typeof a=="function")return Mv(a);if(typeof a=="object")return Array.isArray(a)?J3(a):$3(a);if(typeof a=="string")return K3(a);throw new Error("Expected function, string, or object as test")});function J3(a){const u=[];let c=-1;for(;++c<a.length;)u[c]=cx(a[c]);return Mv(s);function s(...h){let y=-1;for(;++y<u.length;)if(u[y].apply(this,h))return!0;return!1}}function $3(a){const u=a;return Mv(c);function c(s){const h=s;let y;for(y in a)if(h[y]!==u[y])return!1;return!0}}function K3(a){return Mv(u);function u(c){return c&&c.type===a}}function Mv(a){return u;function u(c,s,h){return!!(F3(c)&&a.call(this,c,typeof s=="number"?s:void 0,h||void 0))}}function P3(){return!0}function F3(a){return a!==null&&typeof a=="object"&&"type"in a}function yk(a){return a}const sx=[],W3=!0,fx=!1,e6="skip";function t6(a,u,c,s){let h;typeof u=="function"&&typeof c!="function"?(s=c,c=u):h=u;const y=cx(h),v=s?-1:1;b(a,void 0,[])();function b(T,E,O){const R=T&&typeof T=="object"?T:{};if(typeof R.type=="string"){const _=typeof R.tagName=="string"?R.tagName:typeof R.name=="string"?R.name:void 0;Object.defineProperty(z,"name",{value:"node ("+(T.type+(_?"<"+_+">":""))+")"})}return z;function z(){let _=sx,Y,le,X;if((!u||y(T,E,O[O.length-1]||void 0))&&(_=n6(c(T,O)),_[0]===fx))return _;if("children"in T&&T.children){const k=T;if(k.children&&_[0]!==e6)for(le=(s?k.children.length:-1)+v,X=O.concat(k);le>-1&&le<k.children.length;){const L=k.children[le];if(Y=b(L,le,X)(),Y[0]===fx)return Y;le=typeof Y[1]=="number"?Y[1]:le+v}}return _}}}function n6(a){return Array.isArray(a)?a:typeof a=="number"?[W3,a]:a==null?sx:[a]}function dx(a,u,c,s){let h,y,v;typeof u=="function"&&typeof c!="function"?(y=void 0,v=u,h=c):(y=u,v=c,h=s),t6(a,y,b,h);function b(T,E){const O=E[E.length-1],R=O?O.children.indexOf(T):void 0;return v(T,R,O)}}const S1={}.hasOwnProperty,a6={};function l6(a,u){const c=u||a6,s=new Map,h=new Map,y=new Map,v={...L3,...c.handlers},b={all:E,applyData:u6,definitionById:s,footnoteById:h,footnoteCounts:y,footnoteOrder:[],handlers:v,one:T,options:c,patch:i6,wrap:o6};return dx(a,function(O){if(O.type==="definition"||O.type==="footnoteDefinition"){const R=O.type==="definition"?s:h,z=String(O.identifier).toUpperCase();R.has(z)||R.set(z,O)}}),b;function T(O,R){const z=O.type,_=b.handlers[z];if(S1.call(b.handlers,z)&&_)return _(b,O,R);if(b.options.passThrough&&b.options.passThrough.includes(z)){if("children"in O){const{children:le,...X}=O,k=Dv(X);return k.children=b.all(O),k}return Dv(O)}return(b.options.unknownHandler||r6)(b,O,R)}function E(O){const R=[];if("children"in O){const z=O.children;let _=-1;for(;++_<z.length;){const Y=b.one(z[_],O);if(Y){if(_&&z[_-1].type==="break"&&(!Array.isArray(Y)&&Y.type==="text"&&(Y.value=hx(Y.value)),!Array.isArray(Y)&&Y.type==="element")){const le=Y.children[0];le&&le.type==="text"&&(le.value=hx(le.value))}Array.isArray(Y)?R.push(...Y):R.push(Y)}}}return R}}function i6(a,u){a.position&&(u.position=KD(a))}function u6(a,u){let c=u;if(a&&a.data){const s=a.data.hName,h=a.data.hChildren,y=a.data.hProperties;if(typeof s=="string")if(c.type==="element")c.tagName=s;else{const v="children"in c?c.children:[c];c={type:"element",tagName:s,properties:{},children:v}}c.type==="element"&&y&&Object.assign(c.properties,Dv(y)),"children"in c&&c.children&&h!==null&&h!==void 0&&(c.children=h)}return c}function r6(a,u){const c=u.data||{},s="value"in u&&!(S1.call(c,"hProperties")||S1.call(c,"hChildren"))?{type:"text",value:u.value}:{type:"element",tagName:"div",properties:{},children:a.all(u)};return a.patch(u,s),a.applyData(u,s)}function o6(a,u){const c=[];let s=-1;for(u&&c.push({type:"text",value:`
|
|
376
|
-
`});++s<a.length;)s&&c.push({type:"text",value:`
|
|
377
|
-
`}),c.push(a[s]);return u&&a.length>0&&c.push({type:"text",value:`
|
|
378
|
-
`}),c}function hx(a){let u=0,c=a.charCodeAt(u);for(;c===9||c===32;)u++,c=a.charCodeAt(u);return a.slice(u)}function px(a,u){const c=l6(a,u),s=c.one(a,void 0),h=I3(c),y=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return h&&y.children.push({type:"text",value:`
|
|
379
|
-
`},h),y}function c6(a,u){return a&&"run"in a?async function(c,s){const h=px(c,{file:s,...u});await a.run(h,s)}:function(c,s){return px(c,{file:s,...a||u})}}function mx(a){if(a)throw a}var E1,yx;function s6(){if(yx)return E1;yx=1;var a=Object.prototype.hasOwnProperty,u=Object.prototype.toString,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,h=function(E){return typeof Array.isArray=="function"?Array.isArray(E):u.call(E)==="[object Array]"},y=function(E){if(!E||u.call(E)!=="[object Object]")return!1;var O=a.call(E,"constructor"),R=E.constructor&&E.constructor.prototype&&a.call(E.constructor.prototype,"isPrototypeOf");if(E.constructor&&!O&&!R)return!1;var z;for(z in E);return typeof z>"u"||a.call(E,z)},v=function(E,O){c&&O.name==="__proto__"?c(E,O.name,{enumerable:!0,configurable:!0,value:O.newValue,writable:!0}):E[O.name]=O.newValue},b=function(E,O){if(O==="__proto__")if(a.call(E,O)){if(s)return s(E,O).value}else return;return E[O]};return E1=function T(){var E,O,R,z,_,Y,le=arguments[0],X=1,k=arguments.length,L=!1;for(typeof le=="boolean"&&(L=le,le=arguments[1]||{},X=2),(le==null||typeof le!="object"&&typeof le!="function")&&(le={});X<k;++X)if(E=arguments[X],E!=null)for(O in E)R=b(le,O),z=b(E,O),le!==z&&(L&&z&&(y(z)||(_=h(z)))?(_?(_=!1,Y=R&&h(R)?R:[]):Y=R&&y(R)?R:{},v(le,{name:O,newValue:T(L,Y,z)})):typeof z<"u"&&v(le,{name:O,newValue:z}));return le},E1}var f6=s6();const T1=xb(f6);function A1(a){if(typeof a!="object"||a===null)return!1;const u=Object.getPrototypeOf(a);return(u===null||u===Object.prototype||Object.getPrototypeOf(u)===null)&&!(Symbol.toStringTag in a)&&!(Symbol.iterator in a)}function d6(){const a=[],u={run:c,use:s};return u;function c(...h){let y=-1;const v=h.pop();if(typeof v!="function")throw new TypeError("Expected function as last argument, not "+v);b(null,...h);function b(T,...E){const O=a[++y];let R=-1;if(T){v(T);return}for(;++R<h.length;)(E[R]===null||E[R]===void 0)&&(E[R]=h[R]);h=E,O?h6(O,b)(...E):v(null,...E)}}function s(h){if(typeof h!="function")throw new TypeError("Expected `middelware` to be a function, not "+h);return a.push(h),u}}function h6(a,u){let c;return s;function s(...v){const b=a.length>v.length;let T;b&&v.push(h);try{T=a.apply(this,v)}catch(E){const O=E;if(b&&c)throw O;return h(O)}b||(T&&T.then&&typeof T.then=="function"?T.then(y,h):T instanceof Error?h(T):y(T))}function h(v,...b){c||(c=!0,u(v,...b))}function y(v){h(null,v)}}const Xu={basename:p6,dirname:m6,extname:y6,join:g6,sep:"/"};function p6(a,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');ym(a);let c=0,s=-1,h=a.length,y;if(u===void 0||u.length===0||u.length>a.length){for(;h--;)if(a.codePointAt(h)===47){if(y){c=h+1;break}}else s<0&&(y=!0,s=h+1);return s<0?"":a.slice(c,s)}if(u===a)return"";let v=-1,b=u.length-1;for(;h--;)if(a.codePointAt(h)===47){if(y){c=h+1;break}}else v<0&&(y=!0,v=h+1),b>-1&&(a.codePointAt(h)===u.codePointAt(b--)?b<0&&(s=h):(b=-1,s=v));return c===s?s=v:s<0&&(s=a.length),a.slice(c,s)}function m6(a){if(ym(a),a.length===0)return".";let u=-1,c=a.length,s;for(;--c;)if(a.codePointAt(c)===47){if(s){u=c;break}}else s||(s=!0);return u<0?a.codePointAt(0)===47?"/":".":u===1&&a.codePointAt(0)===47?"//":a.slice(0,u)}function y6(a){ym(a);let u=a.length,c=-1,s=0,h=-1,y=0,v;for(;u--;){const b=a.codePointAt(u);if(b===47){if(v){s=u+1;break}continue}c<0&&(v=!0,c=u+1),b===46?h<0?h=u:y!==1&&(y=1):h>-1&&(y=-1)}return h<0||c<0||y===0||y===1&&h===c-1&&h===s+1?"":a.slice(h,c)}function g6(...a){let u=-1,c;for(;++u<a.length;)ym(a[u]),a[u]&&(c=c===void 0?a[u]:c+"/"+a[u]);return c===void 0?".":v6(c)}function v6(a){ym(a);const u=a.codePointAt(0)===47;let c=b6(a,!u);return c.length===0&&!u&&(c="."),c.length>0&&a.codePointAt(a.length-1)===47&&(c+="/"),u?"/"+c:c}function b6(a,u){let c="",s=0,h=-1,y=0,v=-1,b,T;for(;++v<=a.length;){if(v<a.length)b=a.codePointAt(v);else{if(b===47)break;b=47}if(b===47){if(!(h===v-1||y===1))if(h!==v-1&&y===2){if(c.length<2||s!==2||c.codePointAt(c.length-1)!==46||c.codePointAt(c.length-2)!==46){if(c.length>2){if(T=c.lastIndexOf("/"),T!==c.length-1){T<0?(c="",s=0):(c=c.slice(0,T),s=c.length-1-c.lastIndexOf("/")),h=v,y=0;continue}}else if(c.length>0){c="",s=0,h=v,y=0;continue}}u&&(c=c.length>0?c+"/..":"..",s=2)}else c.length>0?c+="/"+a.slice(h+1,v):c=a.slice(h+1,v),s=v-h-1;h=v,y=0}else b===46&&y>-1?y++:y=-1}return c}function ym(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}const S6={cwd:E6};function E6(){return"/"}function x1(a){return!!(a!==null&&typeof a=="object"&&"href"in a&&a.href&&"protocol"in a&&a.protocol&&a.auth===void 0)}function T6(a){if(typeof a=="string")a=new URL(a);else if(!x1(a)){const u=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+a+"`");throw u.code="ERR_INVALID_ARG_TYPE",u}if(a.protocol!=="file:"){const u=new TypeError("The URL must be of scheme file");throw u.code="ERR_INVALID_URL_SCHEME",u}return A6(a)}function A6(a){if(a.hostname!==""){const s=new TypeError('File URL host must be "localhost" or empty on darwin');throw s.code="ERR_INVALID_FILE_URL_HOST",s}const u=a.pathname;let c=-1;for(;++c<u.length;)if(u.codePointAt(c)===37&&u.codePointAt(c+1)===50){const s=u.codePointAt(c+2);if(s===70||s===102){const h=new TypeError("File URL path must not include encoded / characters");throw h.code="ERR_INVALID_FILE_URL_PATH",h}}return decodeURIComponent(u)}const O1=["history","path","basename","stem","extname","dirname"];class gx{constructor(u){let c;u?x1(u)?c={path:u}:typeof u=="string"||x6(u)?c={value:u}:c=u:c={},this.cwd="cwd"in c?"":S6.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let s=-1;for(;++s<O1.length;){const y=O1[s];y in c&&c[y]!==void 0&&c[y]!==null&&(this[y]=y==="history"?[...c[y]]:c[y])}let h;for(h in c)O1.includes(h)||(this[h]=c[h])}get basename(){return typeof this.path=="string"?Xu.basename(this.path):void 0}set basename(u){w1(u,"basename"),R1(u,"basename"),this.path=Xu.join(this.dirname||"",u)}get dirname(){return typeof this.path=="string"?Xu.dirname(this.path):void 0}set dirname(u){vx(this.basename,"dirname"),this.path=Xu.join(u||"",this.basename)}get extname(){return typeof this.path=="string"?Xu.extname(this.path):void 0}set extname(u){if(R1(u,"extname"),vx(this.dirname,"extname"),u){if(u.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(u.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Xu.join(this.dirname,this.stem+(u||""))}get path(){return this.history[this.history.length-1]}set path(u){x1(u)&&(u=T6(u)),w1(u,"path"),this.path!==u&&this.history.push(u)}get stem(){return typeof this.path=="string"?Xu.basename(this.path,this.extname):void 0}set stem(u){w1(u,"stem"),R1(u,"stem"),this.path=Xu.join(this.dirname||"",u+(this.extname||""))}fail(u,c,s){const h=this.message(u,c,s);throw h.fatal=!0,h}info(u,c,s){const h=this.message(u,c,s);return h.fatal=void 0,h}message(u,c,s){const h=new Ba(u,c,s);return this.path&&(h.name=this.path+":"+h.name,h.file=this.path),h.fatal=!1,this.messages.push(h),h}toString(u){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(u||void 0).decode(this.value)}}function R1(a,u){if(a&&a.includes(Xu.sep))throw new Error("`"+u+"` cannot be a path: did not expect `"+Xu.sep+"`")}function w1(a,u){if(!a)throw new Error("`"+u+"` cannot be empty")}function vx(a,u){if(!a)throw new Error("Setting `"+u+"` requires `path` to be set too")}function x6(a){return!!(a&&typeof a=="object"&&"byteLength"in a&&"byteOffset"in a)}const O6=(function(a){const s=this.constructor.prototype,h=s[a],y=function(){return h.apply(y,arguments)};return Object.setPrototypeOf(y,s),y}),R6={}.hasOwnProperty;class z1 extends O6{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=d6()}copy(){const u=new z1;let c=-1;for(;++c<this.attachers.length;){const s=this.attachers[c];u.use(...s)}return u.data(T1(!0,{},this.namespace)),u}data(u,c){return typeof u=="string"?arguments.length===2?(D1("data",this.frozen),this.namespace[u]=c,this):R6.call(this.namespace,u)&&this.namespace[u]||void 0:u?(D1("data",this.frozen),this.namespace=u,this):this.namespace}freeze(){if(this.frozen)return this;const u=this;for(;++this.freezeIndex<this.attachers.length;){const[c,...s]=this.attachers[this.freezeIndex];if(s[0]===!1)continue;s[0]===!0&&(s[0]=void 0);const h=c.call(u,...s);typeof h=="function"&&this.transformers.use(h)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(u){this.freeze();const c=Nv(u),s=this.parser||this.Parser;return _1("parse",s),s(String(c),c)}process(u,c){const s=this;return this.freeze(),_1("process",this.parser||this.Parser),C1("process",this.compiler||this.Compiler),c?h(void 0,c):new Promise(h);function h(y,v){const b=Nv(u),T=s.parse(b);s.run(T,b,function(O,R,z){if(O||!R||!z)return E(O);const _=R,Y=s.stringify(_,z);_6(Y)?z.value=Y:z.result=Y,E(O,z)});function E(O,R){O||!R?v(O):y?y(R):c(void 0,R)}}}processSync(u){let c=!1,s;return this.freeze(),_1("processSync",this.parser||this.Parser),C1("processSync",this.compiler||this.Compiler),this.process(u,h),Sx("processSync","process",c),s;function h(y,v){c=!0,mx(y),s=v}}run(u,c,s){bx(u),this.freeze();const h=this.transformers;return!s&&typeof c=="function"&&(s=c,c=void 0),s?y(void 0,s):new Promise(y);function y(v,b){const T=Nv(c);h.run(u,T,E);function E(O,R,z){const _=R||u;O?b(O):v?v(_):s(void 0,_,z)}}}runSync(u,c){let s=!1,h;return this.run(u,c,y),Sx("runSync","run",s),h;function y(v,b){mx(v),h=b,s=!0}}stringify(u,c){this.freeze();const s=Nv(c),h=this.compiler||this.Compiler;return C1("stringify",h),bx(u),h(u,s)}use(u,...c){const s=this.attachers,h=this.namespace;if(D1("use",this.frozen),u!=null)if(typeof u=="function")T(u,c);else if(typeof u=="object")Array.isArray(u)?b(u):v(u);else throw new TypeError("Expected usable value, not `"+u+"`");return this;function y(E){if(typeof E=="function")T(E,[]);else if(typeof E=="object")if(Array.isArray(E)){const[O,...R]=E;T(O,R)}else v(E);else throw new TypeError("Expected usable value, not `"+E+"`")}function v(E){if(!("plugins"in E)&&!("settings"in E))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");b(E.plugins),E.settings&&(h.settings=T1(!0,h.settings,E.settings))}function b(E){let O=-1;if(E!=null)if(Array.isArray(E))for(;++O<E.length;){const R=E[O];y(R)}else throw new TypeError("Expected a list of plugins, not `"+E+"`")}function T(E,O){let R=-1,z=-1;for(;++R<s.length;)if(s[R][0]===E){z=R;break}if(z===-1)s.push([E,...O]);else if(O.length>0){let[_,...Y]=O;const le=s[z][1];A1(le)&&A1(_)&&(_=T1(!0,le,_)),s[z]=[E,_,...Y]}}}}const w6=new z1().freeze();function _1(a,u){if(typeof u!="function")throw new TypeError("Cannot `"+a+"` without `parser`")}function C1(a,u){if(typeof u!="function")throw new TypeError("Cannot `"+a+"` without `compiler`")}function D1(a,u){if(u)throw new Error("Cannot call `"+a+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function bx(a){if(!A1(a)||typeof a.type!="string")throw new TypeError("Expected node, got `"+a+"`")}function Sx(a,u,c){if(!c)throw new Error("`"+a+"` finished async. Use `"+u+"` instead")}function Nv(a){return z6(a)?a:new gx(a)}function z6(a){return!!(a&&typeof a=="object"&&"message"in a&&"messages"in a)}function _6(a){return typeof a=="string"||C6(a)}function C6(a){return!!(a&&typeof a=="object"&&"byteLength"in a&&"byteOffset"in a)}const D6="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ex=[],Tx={allowDangerousHtml:!0},M6=/^(https?|ircs?|mailto|xmpp)$/i,N6=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function k6(a){const u=U6(a),c=H6(a);return j6(u.runSync(u.parse(c),c),a)}function U6(a){const u=a.rehypePlugins||Ex,c=a.remarkPlugins||Ex,s=a.remarkRehypeOptions?{...a.remarkRehypeOptions,...Tx}:Tx;return w6().use(h3).use(c).use(c6,s).use(u)}function H6(a){const u=a.children||"",c=new gx;return typeof u=="string"&&(c.value=u),c}function j6(a,u){const c=u.allowedElements,s=u.allowElement,h=u.components,y=u.disallowedElements,v=u.skipHtml,b=u.unwrapDisallowed,T=u.urlTransform||B6;for(const O of N6)Object.hasOwn(u,O.from)&&(""+O.from+(O.to?"use `"+O.to+"` instead":"remove it")+D6+O.id,void 0);return u.className&&(a={type:"element",tagName:"div",properties:{className:u.className},children:a.type==="root"?a.children:[a]}),dx(a,E),tM(a,{Fragment:ht.Fragment,components:h,ignoreInvalidStyle:!0,jsx:ht.jsx,jsxs:ht.jsxs,passKeys:!0,passNode:!0});function E(O,R,z){if(O.type==="raw"&&z&&typeof R=="number")return v?z.children.splice(R,1):z.children[R]={type:"text",value:O.value},R;if(O.type==="element"){let _;for(_ in r1)if(Object.hasOwn(r1,_)&&Object.hasOwn(O.properties,_)){const Y=O.properties[_],le=r1[_];(le===null||le.includes(O.tagName))&&(O.properties[_]=T(String(Y||""),_,O))}}if(O.type==="element"){let _=c?!c.includes(O.tagName):y?y.includes(O.tagName):!1;if(!_&&s&&typeof R=="number"&&(_=!s(O,R,z)),_&&z&&typeof R=="number")return b&&O.children?z.children.splice(R,1,...O.children):z.children.splice(R,1),R}}}function B6(a){const u=a.indexOf(":"),c=a.indexOf("?"),s=a.indexOf("#"),h=a.indexOf("/");return u===-1||h!==-1&&u>h||c!==-1&&u>c||s!==-1&&u>s||M6.test(a.slice(0,u))?a:""}const L6="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20strokeWidth='1.5'%20stroke='currentColor'%3e%3cpath%20strokeLinecap='round'%20strokeLinejoin='round'%20d='M6%2012L3.269%203.126A59.768%2059.768%200%200121.485%2012%2059.77%2059.77%200%20013.27%2020.876L5.999%2012zm0%200h7.5'%20/%3e%3c/svg%3e",Ax="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%20viewBox='0%200%2024%2024'%20stroke-width='1.5'%20stroke='currentColor'%3e%3cpath%20strokeLinecap='round'%20strokeLinejoin='round'%20d='M19.5%208.25l-7.5%207.5-7.5-7.5'%20/%3e%3c/svg%3e",Z6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABrRiZNAAAym0lEQVR4Ae19CXRcx3Xl+7+7se8AARD7RpAgFoICCYCkFtq0bEuyYsmy7HjJYjue5IzjjBMnmSTjzGTGZzJZJseZmRMfx87iJTORbVmLJduSJVGUxA0kwQUgCBLEvpHYAQLE2t1/7q1Gg43uagKksNFB4TS6f/36Va9evXpbvaovspk2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4IB4xe3oxWO0hzJt0xbvilWllhGvNiMKMMybGKI5RZrUixrWNzS5zas9rBpd0Ntb+3kLy4+9D37RSEAs6qgKmrSbWYbMnfIbdjeZ4pRgoGOQrdD8HHgYxexTEHmfHLj24U8J/Jm8XvKEqsZlHHMLeYb7hnX+dSeiLEjcgT3f3HTAjbuxS4ePHjQPtAxWWwzjYctMT6Gib1HDGNl+mRJj2UZ37MZ1suuuZuX6jvrR+5FHC0F88oga6lWVuF+Sf7e/RjrXzLE/LxpmAmYveDo1oq2ZBgQHpZ7Fv+eg8j4wYSr/2ft7e3TK9rIOld2zxFASf6+/Ybl/l2MzftM0x7ndpOTr+zA+48JCEzclpv0dRgi4psX207+wL/MvXp9zxBAWUpZpDsq4rMA+E9M00glwld6xi81iB6O4BoFIbwAQfOndc013Us9s9Hv3xMEUJJdXWQ6rL8QMR8FwHay+ztJmLvzxOJ50ttpqgscVO/18urEMyiImi5DR/jj+pYTL6rL5T284UrdWd/XAfydeXsP2Qzz62DDhcsdeLBrcbpc4nR7FPjI0AiJCAkXh80BSxDsHMM355qT6dlpmZiZFJflErtpVx+bCUNhGUnpmpZ1E219ub7F9U8itXPLeGzDFdnQBFCWX/X7hml8BWZa7HLYvQv6wKxrVhIj46U0vUh2bN0m2YkZuE6UqLAICbWHYJBtkOeWzDhnZHJmSkanbkjP6DW51HtF6rsbpRu/HSQGG6zGJRJ5gVvcbsNt/LMrfPxLDQ0NE0s8suFub1gCKCqo+pUQMb4BHh2x1ODzPj8FKbnySMkhqc6rkJTYZEkCIdjCIj1Ix32P5JgXH7QWvRbj3KwMTwxJ//iQNF5rklcvHpaa9nPidDoFBIhhXhaa/iHBGfbFI+1H7ikrYVk9W2uyLcmp/jgm4T+AzUbdbvBdbpeEYFbvSN0mn6p+SvbnV0pseJSY9lBqiPjQz7MMfUERA1g/2b/LCbFwU1r72+Tvj3xXznRekJsQE7QEFNsPjgyAan2zviXrCyI/RMP3RtpwBFCcX/Ue0zCeBWAJwVBIopjDQGXFp8mv3/9JebL8EQmDnBcw5EWznBVwUOH9VbNdzXhvl0kgKE8zkt++hOLlDLh3+Mox+dY7/yINEBFuEJwNIkSfFJ9wgSh/u6g1+1s/vEeIwIsNfZ/WOLcsuzLXsps/Bv5LgjVNRdAFBe+BbVXyWwc/I+V594mAhc+PvOcxzFax0/tryPTkqPSND8r41IRMz01DMXRhNhsS5giTqNBISYyKl9ioRBEbBtYJPQ73FyXoAoM3BuWbb31bfnjmJegOs1Am9frBPIfoRSOfudBW8/NF9WzQiw1DAMXFB6PM6akfmKb5SDC2z3xq67918NfA8j8qkRGxGDQO/nzizMXAD4/2yTtNNXKm45x0jfTKwPgw2DoJYEYoNjhQYRATkSCA+Ig4SYW+sCdnlzxUuE8ykrI9RECu4E1okwT247M/ka+9/vdKV6AyqUusG5ZBm9MtH2hsrbmqK7OR8jYMAZTmVX7StNm+g0HWTi+adtTM/+D9X5CPVT6B35jh3tnKgcdsH4IS99y5l+Unda/L9bEBGZsaUxo/TTslw6nMzfeYxERrgPXyd0x4tGyJSpDK3PvkE5UfkUJYEFhbuCUayFXw7PGrNfKfX/wr6Rvrh3RBniYpInC7/7W+pebTuO1DSZrC65ylJ+M1Bqo0Z98Ow2b8TyAuXdc03b2UvZ/d/wn53EO/it9APGU3E4hiEkrayxdekf/0wl/I4ctHZXBiWObcc4pgSDR81qvEcXD44TXr4UxmGSd0CpqEjdeb5dWGI7AKhmVnaqGEQ6n06AceZTIzIUMKU/LleMupBeXQA4jff8PYlhqT3tw32nPR786Gulx3AnhanrYNJI58yTRtH+NM1CXO0o/t/bB86f2/pQZTKW0sCC7QPdgpf/Pzr0NGf1fGpz1muHewdXUFy/MSBb/pI6htPw9iuCo5CemSCmVzoU1whQzkpUQngQhOo+yc0in864XNYLcMKyclOvfZ/rHODWsarjsB2PKj78Pgfx2zDLZbYOLgv6/oQfnK419WiptnIMCLMWsvdjbIl575ihoIznIO3kok6vOsr32wS96+elKioTDuzCi+RQRoJi81X6Ic4XKs+ZQSDTpfAUTEFst0uftHet5cCbhWo451J4DU+Mw/NUzzALAb0D/K6KTIBPnqE3+EWbjVR+bb5Cpm5588/+dyta9F+QJWavB9gSARjMMncKG7AcpitBT5EAGIVgq2ZEttxwXpGu7xcCbfh/Eb6wzEb1RKfNYLfSNdN/1ub4jLdSWAsoKyDKjt/xuYoBEfkOjL/+Kh35D3Fj1wS+ZDdg/c6Jc//NFXlW0eosy9gEcXZZA41MerAeLbm7egFS564tYF1w7oCGrobZLyjJ2SCh3A42ByiwPu5ThYEvQaTsHEDCRChKmIkew2XW/3D/dsSItgXQkgOSHn30M/fwxYClCn6dOvzN4tX3jPZyQyLBpIB4fAQM5B8//zn/ytHAXrDWaKeYePK31qtCzphH7RAh/COXiGaqH7X0V9Y7g5hU8odAaGjQVN5ARjU+OwLPqlCuZiVDjMT4gmWiG5yblyGcTRDM9hIAHQD2WaCCUYzwxPPXxt/Npc0EbW6YbW5FoLWAoKCkIRoMnBDyBCKoOUqU/uflS2xJH1Oz0gwe3701MvyhuX3sLd4IkDwTqgPxzHj1cMcT1f33ImQBsvzynPcdtDDmERCXCYj4AQwhABpK2YnOYd6AM/OPNj+cJ7P3eLYtHOp+GTeLvphOIC/g+rvhjGY5NhkX+DexuOCwTMPP8OrNZ1mCvuQUyZ7YGSH449mHCFqQVSXbBXNU8kUunrH7km3znxfZmYndTONhbm4LvdVqfldn123Dn9GGzxr9ZpBp9lz7efb69rPvWP9S2nPgJifNKyXCd1s5hlmbia+N3j35fznXWKGxF2Ekxp+k65f1s12g0kHsIOwspwWNMPovjt6JZNrHlaNwIwbPZHxLDgg9WRgEhx2nZJSUwHUucEYdsgAFNqWs9IU1+zstt1mJqf+V2WIb9W33r6n9vbz4/qyuny6lpOvDLnmv1lDOLruvvMY/2TkPXfO/msiikgXB7YDHm8/P0qrkD3rIpjsJlPgOvdVtTonl3tvHUhgO1JB6KBu0rI/4D2afbFR8TLvm17wZXB/VEQHkKl+L3e+Dbc7G4lHvwRQ5GB2Tbgsqw/vNh88oj//eVcN7ad68CQfhaT9jTr0yUqhafazsplECKsF2w3AAnjU7i1QPJgFQTjAqjrPWFWfLKuzvXMCxiAtQDGHjO7A/jdoWaGX4NkmSkxSYr9u6AIsgzX5NsHO+QkHC8hdAFrEsrBarS+0dBS84zm9rKzLrac7gJd/j7qGtERAbkArYJX6w+L6bAr+FzgBzGRMXI/1hKovAZJEYbYHw1yb92y14MAMJ7mbijHiRxs/2Ri6bY4o0iSYreIE9yAs2sanrlzHRdl5OZYUNmPeprsxuz/8a/vbq5HpqzTmNf/GEwfmIX37ww8hTenYdqDOEmkEViOrsgrh6QCUWj6BThQnfXhu4FnNZ9ZcwKoKKyA3Dee0CGJiAwLCZFHdj+M9X7MfrB/Inhs+oa8ggUeBn8ETW7rG+eazw0EvX8HN7q7T0yBnXzfLa5BHRFwOblruFeOwxS12e1KTCE0TApScyUvOVutKwRpbk9xQdXOIPfWJXvNCWDCacsB+z+kIwCMv2yNS5WSrJ3ixK4tzn7qAC39HdLc16r1ts1j7eacNfvCSmJwwh1xEQyoUScG6BcYxMrjyeYziDXx6AFzgHdr4lbZBhexNxhVA0+s6TYe1+SvW9ZaE4DpEONhKFLaqcy1+gd3HsCSvke2kiPw73DD22CrehxxhuLez8fnBvr1Je4utx2xfaC/GiilgbYdqiSsV65dlX4Ei2CfglpWDnGESll2CZaWY7RiAI6pEDgQDgkWwO4OqpV/ak0JoCKtIgyS8EkOqi5xWfb+ompICIRuc/YDsTdhdp1AcIeOFbMOzlCw3xe7u7vp1VvRBBB+igqHdZUyKqi1r0M6hroRg0gxIDIDk3XPtt2SGpcchAtAobWksCivM09X53rkrSkBTIc7doNhVujYP9fjy3PLJHNLppL9yvyDmXXi6ikEXwxqCYBE4bLcbW7LOL4ayLPHOY+CuzTp6lZiALO/rvOizGCPAfcdKwdW+jbZjg8U3YDH2G86hULF9Hi4AkqsfUYglKsIA/jekxhJbZsM8jxQtE8iIiIhTT3av81uk7cajsmsb9iXD3wkAMPtfiVi2tnjk71iP2trsdnDsl4Fx9KKARv8E6eaz8ow4g6VNUCuhU/V9r1Yv4jQigH03+Y0rfvLysoiVwzQd1GRdjDeRX1BHy0uLg6BUgc7GBjyS3T+xGC5tThnp4Q4QpTyR+Wqa6hHrvQ0KXnr94i6xIxy4wCIN1f3YAfzeZDZjK597jQ623JOBhB+hoFVcM9CDFQXVUk09QCNqIOjSUxLDtkmw7N1da513poRgDkdfgiNpetcv3Owq/NgQqUnpcH2dyrEObD4cqLplPQHib1Typ/b6jLtrguribTErBONmP71ujYIA30BZ0AEZP8ccBJzXHSclObwfIpAYldiwDQLZ93WLtQZWEDX0CrmrR0BWLbHoPrxxI6ARERtSy+QxNgkKE9AI5Q/OoHOt9bJ2M1xvfzHM0B3oz3S1RZQ4QpmHDkiLrT0PAdblxil/E7DcbVPgWYrPzBg5f7ifbriC3mmzfxARUVF+ELGOv1YEwIoyt2fbRnGg0BiQHs0p5Ljt8je7XsgRylDwSLB/jsGOuVK9xWIVpJHIPLB/aewgveqktOrizzod+6XMHO15wfBoymNXZelrb9diQEqr3QK7d5WLslxW7R6ALkEWMWTE4O2lNUFfenaAwZk6UfuvITNcB3CGOZgYgQkEkBaYppC2Izy/mHhD8pVO0yszv4u7cqfYv+W9CO64icBFa5ChuGc6wFfektDv6o1WjBHwQUMu0cP4O7j8PAIqSyqDGIOgtZNMybEbj60CuDeUZVrQQBY9JOH0OFonVJE50lxbonExcTTpFMs9Aaie8+31ckMdvzoWC+dQqjrwlptvEDcwCh40Ms6WIhtzugTjadgrWDpGpDxY3c4pHonfBoaoucz7AP+P83/65lWnQCKsh9IAQvfrUMEFSKaS/tLsIpGJYqcHux/aGJETgGhdjhY9Mlyos7n9PdWJ9dlmmfcbifEQKA4Yov9o/1yseOSWhtQ/YBoyNqaJfnpeWorWyBUpABjX0E64yLXL606AdjM2VLI8SIl9zT9zEnJlqK8IhXrp+QnZlNTF2LsulvUNjDNI8zqt+Zu/jjIvdXJdoRewpCdocz3T3T6jE2MyVsX3sZWBc/iEA+dSIpLkv2lB4L7MUyJDgsL/7h/fWt5HdibFWydtr9huN+D2aqdymSpVSXV8wsqYOqYXNQDTlw6qWIAdKDwGSiAr631sW0NDUe46+QsuZYuUQ+4AsIdnRhVgSJ0ZoWFh8uOnB0SHhquxIT/c8QLuryuMQKrSgDGZFQ8omYe18l+IoO2fnXpvgXZT2/aBOzqU5ewzKpC6v1R5rnGGPxQf2d1c03DegPE16/TBcgZegd7pQ3Kq1rMwshyJ3L21mxJ35IeRAwow6GwqKACW5zXJ60qAcCkwzZvs1g3a6j978wtlqT4JGUqKSIB0s5eOSs3bt7QKn+UvxiAtrm5OYR3r32yu1zvQHFr1bVMMTA4OigtPS2Kk7E/c4hm3rolTRGBTgQqvBhGsk0cH9TVuRZ5q0oANsP2BDi2NvH4lX1l+8SBABAl+2E/M8bueD0iuXUaI2rhLIOf6KUZW6x2hU7b0Apm1rbWjgHKExi4gLUBj2iypKH1ogzdGPaINfSDASPFBSXYSxClCN0fHJhIIYZlHYBTSB/r5v/ACl+vGgEg5j4Og/8R3eznbNiSkCyl28uU04cEwMGn3d/Y1ui1kfy6ynBvFRH6E67V+91cs0u3y0DMoXVD1yBF2qmG09I90KMIgP3igRLVIPQkeDm1AaMkdsPYNTUVVqirc7XzVo0AXPaQhwH8Fl0HnLCXd++4T+LiEhH5A7sZXIIBljUNNTI+OY5HAtmGR+66cZiz87KuzrXKa2jLqMX5gC269sihhseG5HLHZbVEzH4xUiglOU1yMvMUB/N/jhMEVtJWc9ZV7H9vLa5XjQDgpn0KHdCyNerR5UXlEhMdo2LpGfvHMKpzl8/K1LR+04ciAMs429Ba27kWiAneBg+Asng4pDapJeL6k56AURAAxRk5XlVZtdaryUrQN+iX1qG0tIoIbaWrmLkqBLArY1c6mPoez6xdDD3NpdTEVMnKyPMoS0AS5WR3f7f09iG6JojSgAOapkEoRxfXtj5Xbpf7JbQ8v19tMQy0XhpaoAcgiAXrH6qPc/AJlO3YLZGR0APw55/IBYCrD8SHWziIYG3TqhCAFRL2NEKgM3Xynwc8ZWfkSlZ6NmLonUoBNBH40dTRJL0DvWCTgeFy9MEDR00zprmigZ93i+oxp/0KhvGojsCZNzsLX8b54/AE4A/cjd8xMbFSUbyXuxcCmvUQgJmNzWf7cTNQ/gU8sXIZq0MAhvUQ4vsDAj/ZUTpFtufvlNCwMIUYbvoYm7ghl1suCcw7rfmnCMmyzjY1nViVyJ87RSfCxqcxkC/AkaN9lLpATV0NpL8nspkOLoaMVZZj/2CgATFfB7iA5f6lnJwc7UEZ2oZWIHPFCYBHvUGlK9WxOnY+Pi5BdhdXCINAWIaRP9eHrsmFy+eUY0jfJ2vCMsy1df3qAfHmWjhf6G30hxqrNl3r75HWrlbl0fTiIjcrH36BrXprgGIAL74IcW5N1Fa4SpkrTgCWwygDF8xFfwISZ0xaSrrk5xYq3z9nBoMn2nvapKOnXS0DBzzEDMu6Zt248Zr23jplzky5eObAG7olYoqBGRxEXXPhhFoVZD8pCiIjo2V36d6gG0dQLCbE4VpTp9CKEoBnz7/cDzmOegMpwA47mQjwBH5gXjDsG1r/2YtntCaSd2xR05sNAxvrIObLPaeGcBDUYZ0eQLjp6Gq4Uq8OpGY/SeihEWFSUlSmxJwSa94O+nwDdWu6fWxFCSDGismEGv9RrcMDLCEiIkKq9mB1bF7548wYhrZce+HkbZZ+KSesb/vgaMP8RPzCCbi0h3REwLzrAxBtjeewbwAnlFMZRH8zoQCnb80IujaAzlXvyKtcM6fQihLAtNuOuH8zRzf7SfE7CoolNi5eIUOxRYxt3WUcxjwF21+jUDEPz9XP2hwBp3tsBCqwwiPolLqig52K4NjYCPrnIQD2l4tDSVtSYALnKA4RpA+xocbabR9bMQLg0q8NhyB4FR7/zlEBrMTsJyJYhn9cMz9Vewwrf0HAwCyCOflc2ZU0bTyefxtrfc0lYkzsM+hLoLwDME5sGGnraJbRGyNKGSQOQkNDpSB3h+KGOjEAzsHw+YcPykHtEvpK9zEI5u+8GfdEGLXXD+o6xbw4aP/btu2g20sRASN/+gavA0H0qoIqNAmInXZbttc28snbhsv4KXYSj+j6QAdXT2+X9PT1qO1jJH6Kv507yyQpMSWoGIDMKxzOma7QoGTFs1aMABC+9Tj6l6CDkL5/yv4oun7nnSOUi0drjsjszIzW9ufyKvZlHp61hWq3ZunaWY+8m/aBIyBp7eFP9AoODQ9Kc+sV5eqmL4Au79z8QsnKytX2m5MF3tBMy2Y9thb9WTECwCT+qA5g1SEgori4HFowImPAM8kFZrDps6HhvPIH6J4jU4D2/GpT05F1WfrVwqTJbG5ungFLQ6CI3sNDXaCh8QKcXZ7tY+w/Vz6Li3chcjicOk5ArRB8duBoT0bGvlXfN7AiBFCUV74NQJcH9AQZdP3m5W6TrWkZ8IJ5ZD9n/+WmBhkY7NPOAmrQsCRw1LdxBlUErL3r2lnPPGvOeo40rYOBpi8JYGhkSEkJYmAWJ57s2rVH+QV0BMAyoP9d8RGSratzJfNWhAAcRvgTACpWB5gL9vBOUHviluSF0C8SQF39WWjJiJ8D5gKTyrtizNkQHLDxU2Je+AWMmXaZmv27OTEul69cVBFC1AMYNh6fmCi5eTiSXtN/EgUcTGnGHCOqVje9awKg9o8uHQIH0Pj+ofWCzeVB5oXBB8BFEbp+xxHy1dZ6Fb5/vfxXfNEttfWdR6Fcbfx05MiR224fs+EsgXPnavy2j7nlvoqqoJ3jFMD5CB/Yt291xcC7JgCZiDoAci0lz/JPbrD/1NR0ycovUKdnKfmH2d/Z1SZd3XT9BoYLcEaABQ5CXDzvX98GvsactT2PmauNVKIe0Nx8Ra5d71GLQsSDC0/sKCmHXyRBqwfQZARKnxq5NpWymv1+1wSAXVwPA9JUnSwDYUh6RpYkJicr9udGa3SGtHe0yujI8O18/x1WxMRbq9nxla7bdE12g8Ed07F0tkVReOHcGbFs0G9AANwDGRYZISVl5UHNQRw9E48wswMrDatvfe+KACrSHo+ASlsFky2gHhIE98cVl3NTEP+o/BvKKdJQD++YZt2fgOE5rJgbr+AljLO+gG7039w+homAF15pWKHql1suXDgN5ZarAh5fKTeRlFUgRgC40iaVbdK60leqfejOMgMG7k4enw0bzIefvkzbAXQqGkEQO8t235J9WBQZGhqUK40Xb+f7n8ZkuZfY/wLKnAgDwMHTWjHAUR/s75PW1mY4heDjwJAyFmIrOGRaRqaWC6hpYxkPFefsXTUx8G4IAHqfaz/kW5KOANi57cWlEgttl5s+yfbmECHbUFcrN8f1cf+oEMi0zjR2nDy/gNV76Ee4a46WwFnKfP9EJklroLYGrm9sHKUlQFd4bEKi7KrALmI4y3QJDCXGsNlWbRNpIKQ6KDR5eXkVMSDhR3WDz+JcJ99VWa1kPj1gcG/JLCJ+LtRy02eg8qea4Pi7XZz9G972V/D6/eO+AVNc54JxdCf6395yVSYmb8Ia8iwRh0WGS27hDnHwaBzNgxApsJtWzyt41wQQ4bLSMF7v0wHNvPikJMnetk1RuXfLdC/94p0dyhPmhzt1Cc1/WqzQn+nu3St5Trf5Jo6d158wCi4w0H9denqAA6wTEC9UilMyMmRL6latGGC/EVxatLPgwKqEjd81AQji/kGd2jBmaryleyrxSpUwJeuUvIP5d/70SW04FDtJ5QmK8euTY85rvL5Xk2vGOoJ9A206vY1iYGRwSLo72hEK7VkUU0vEaVtla2amFjecTMBMst1yPrIaOLkrAuCr3rBM+xQVG11iQFARtH9quRx8ioDZ2Rm5fOG8ls2xDnQSZd0vNw/XBI2z07W10fIYKQQJVgNjJkCMkcjdkPstVy6rWAESAbmAPTREcrdvD7o2gMWhMPTzgdVYIr4rAmgoaCvDuO71GHeLh4CzP3d7kaSSopW9CwrG7G+sPy9DAwOLC89fETFA2KBT7MeQFYSstI9uyEyovEG3j1H/uXSuVvqv90IP8EQK8RzEkspKiYPCrI2mAkogBsqHcmYKVrrDd0UANsv2JOYsqTIgMRZu533YBBHnWfrlrh8e+NhQW4sXOUP5wWD7J0UAYtWZYWPt/vfuxestmVE1oOIOHey0EEYGB6WztQXyn6eiwBrAEnFyBl5QmZWljY2kGAAXyMBZCyu+NnDHBDC/i/URDFrASBLQiKgoySwshPwPVeyeOiypnR3myqAukV263NZpOH94CMM9n7A2wC2PQcPYuX2ME2Ly5k0qP4rlcaW0eM8eFUWsQwDQbSIW/eBKbx+7YwKYHTEfAjDZOkbN2Z+Sng5qTltw/nDTZ9NFbJXq61OvfvHvHOkIfb8Gcfhz/3v38rXTcGLjiH77GF+B03LpkoyNjqrIaOpJDBQpLN+lFs2IEP/EyQXp+MGV3j52xwQAZe0j+CT6y/95NiWZ2wokPnmLYmtU/rjbp6muTsbRWZ2DxKMluusnjWHK/1+YND4d0ogFH+1byEj0M9MIiKk9o5RCpSthgKPi46RwV5mKm/BHBPGLY/bzTSOES4gB3Ne//HKv74gAuOcfwqhCeXn8WiCAUbGxkldaAuUPejA+VHJGEBJ1raNDP/ioA8sis1CFD6vIGr867+VLbB9jgMiLtG50iZOh4fRptSrotZQ4YYqrKoGUQA7AOjjpsIv4Qyv59rE7ijx12sJ3AkbErAcCSKsnNilRCspLMes9L3viKyH7r/XK9a5utQM4EBFADgMqZxxB5WXgM3eWQ50FXCjEMeGwT8+G2OYiZoF7mxU2HeGaCp2DWhIz29z8M200z521FFAaFp51BMu6XBsIUJhJGP1dPXK9u0u25kCi0moEOtIL8hQebwwjkthPzeIkAwl8wDEay9jLFfGX3AkBcLQqgL04nanCM/2yi3ZA+4+VOeyOpet3emZaWi9eEicCPx0Ihw5M6JBhXajvPXYl8N7d5+xDLN1kiCvTKUbp7Jix37DslbOm5Jih1pYwNxzxWJBz26eHQ1x4pax7uBHv8TkBIXxcnPbOhu4TKxaDOD0Z2hEeOfcmcPYIFN3FHQI26Ru5BC6Qti1fXMAZsiQ0OlIK7yuXmp+9Bl9boMscNBFvjzPfK4PyfxdXeHdXyxYBfNkTTJH3aya/atmGs36KqvcoZYamDXgVtNwJuXzmbJDZPw+wJT+6O9ADnzqIN1GX5VY+MBnq+ku3Ybxut9mexVL178EDdz9mHMwoIRViR5d6Xe0W/KjAXoZPOwz732GF7m1bmPvvS/L3frwsvyw5sPY7z7l6/R0cEiCv+c9kb00u6EfNFxAqRo4JfDFiKgTbxwrKy9QECioKPIdveKt5V9/LJoCZmZBCUOghRqr4J7KmpPStkrVzhzrb36MDGNLb2i49LW1a7d9ThzUE+29F2H9pXvX7hvKqXsR+g5/iraRfxKzD+QTkwvwEiiy2T4bKe/TO4f3V0djS/lHTsD8jRsQrJfnVv4Miy8aPpz+L/5Nlwr19HBxzVEcEzBu8dk1aYCXRWiLeuI8wJS8bpnRBULMZu68O7Mipzlnc2t1dLauDBw8etON1fu+DUNKGKROJ2yvvQyfg2fKgVSG18TSCesnXNImdx3M/D0t0w3V694kbUkvzq/4Ui4//AvPqUcz0KIqoYIMevCUSAokbUla919D4y7K8ym8WF+9NDf7M0nccJpeI3Zd1yiDXBiZGx6TpfJ0YwB0J0oWNI7FbkiS3rFhFEWlbMIxYm839Ie29O8xcFgFMdU9FiOn+CLCqrR5sVLZXVXiGXpE9XvY4PSVXTjPyR98EEQIieO7dHPdeEV8RG2ElfQds/r+gthQ12wHFu01KXuMVhmBdn7PNmC/sLNh71ytxnqPlBK+s1yPPOTsnvVdb5OYNLIEAj5xAoVERkrG9QEK4mKZ5jKIMZzB9cCXePqYfHT8M3oB3Fw3uIoX6J3r3MnYUSmwyjkHD4CvzDxEvrXUNMolO6Vgf2QJ21ba7xXbOv77lXiMeIXY2wf63qP/jgMumg225denLsa/8GFU2y/x+Se59EMx3lyDbX4Wnb0THDukmH4A1MNCLo+XmxQDPUUrOzZK4lGSER+i9p+B4RUUFXbvuDqJbTy2LAGw249eCsXIqMiUP7ZOQKM/LnkjBpOS6I0fFSWtAk8gVQCvPWqFjXZrbS2bRHRppOL6Fen59uQPPmURkcrHK7aQZEKjLBGsY7RTjxJvvlxRU5Acrc7v8sEn3G0BLC2ZuQKJXcGxgULqvNM8r0HCegQAS4E1NzcsKKM8M9gVcL9Pmdj+uLXAHmUsSAE0qAP6wrk5l+2Pmp27DGXgOxrlBfuL448Hea9LX3qVlX5wF9PyDNbxzt4Gf8eHQ7A15WsceF8EJRBFGDjjN08yd22Xb3t2Ss7tE4remKPgIylL1zCN8B8zJP1TOsEWNLH3Bl1oBkiMId9VSHblkW/0liIEbmDzkoigG33j2LpylhO10Ovgg8hx4rpI60NIQBC+xpB9gIkzgmhKtWeSac0rOLuz530rXr5r7Spttrr0gEyOeU7P9m2Zn3W6rFWR+V3v+yworH7Dc5m/71+t77UVYRGy0FMI0LX3vAYkFO+UhzuQ+vE9OcBMKWEttvTQcOS4Dnd3APOgyiM5CvQDPfsYljhNo69u+7S3nt+mS5zC4hDtAkWaMYBvMwRtDQxIRFw2iBRdAjGD+nnI5/sOXZG4aejLw5pvI+YDL0ghbXA7y79qPsiQBIPCzCvIfnqzFAHiBySorkqiEOLB7BDWiCMOe2yD/pycm4MgI2Cw0X4u7vr7zdKu3juV+q1fPTRv/EfHyUPgC9RHWQzZP5alw/x65/xNPSEJaqkcPIQJ9n8FlVGKcpOTnSMVjh+TEj16W868ckYnhUbV8HQQmB1wIXykrqHq9rrkGFLP85Gh31s7mO1rQbIn/U5wUN4fHpLuxWbbkZCo8kuDi01IUfDcGA31T7D+slUy3y6RuctcEsKQIMFwmXL9GgEvKAuuMTIiXLVl84YWnGu6HH+7tk6FOKDTQUnQJXHASwQ0v6+4tlWfORFZA9u0PVo6DT6LjwD/+e78pSZCjTEQWRYH65m91zTxPfkh4mBz67Cfk0S9+VhLTU4MqXh6kG9QDfkVVfAf/agUvoeTbx4JMJL5+tulkrTBw1JsIc2E1l15ANprkybV9EO5ubWie5pGArCU5gGVamXCQAGngSz6JtnZkfIzEbGEUi0dTJQEMdHTLYCcOfIR2q0/AvhiPluVX70KdLnTOhSPgnAgx444JJ+7iN6whw40DNk3uuWPlCiu49zBoLZ4D4Z84mIxB3P/xX5IDIADKdsLoTQxTU5tRFDKpEM7fn6+LHKzowWqw4Bh58a++LmN9eF0tnDL+CSTDrP9Qmr8XBWyT4DmzcCLNYGBn8Kq7WcPpnnHazZkQcc0YljlruM3ZGWtuJtSInnLKzCvwkP4xqgjAO+HrvNgoo9f71aRiHwl/wd5dEhkTLRNjgaH0VCkA4VPToyH/AzA1+8O6nOsAQPwfAvvH7h//XNAy/kIQ9EF2q4QWipAQxodGZBZLnVRe9MmIhEv5KY6DYdH5QY6H/wqvFjy41CRxBcoDE+EuIeqW6i6eCdENvqcdS7ZV7pZ9T30IJIPZPj/4lOm0RtovNAHBl+UmdBOuS2QUFUju7lIJg+9d1YkWnDOzklW8Qx741JPy8te+BZiQqQjGvydGCjjc15CLwA+To+ACiNz55oJDx+2A3KQPEF3AR1wOyw5Kn3bhPhbzuOanQSgqc4EIW05fkOTsTA9MyAtDgE12ebFcPHxMhdYFQEKnkMt1EPmrQwCoWA/tPCS+nN5DtR5uMH9b/wXEqhENuDtfm89N1fhtIeA44Qw+rKUf+OUP4/0DWOuZt51pYvW3dsir3/iO9Da1KdauCAODeu6Vw8p38dCnP6r0Ba9yyPvb4NQqerBOLr5xTLsg4wHbjOS3L314OYYHZv6fBxyFvF0gTQVLvNVUc1aqn3psoQj9BNuq7pO6N94B89NwVTxkYePIwYMHv32EkUh3mPSCelEl7plFl/MX7JJzZg4aKm19T/dMbIOOgrlFrXatU/6eMuVD9w4+Z35fW6e88Nd/h9l/Seiv8HIFzmxaMEMQVS997ZtST+SCWJjIdqOhHBbdX6WimhUX0HaGw0VC9vkjYS/x0VblzUSVwz0wods6VCwFs9mP1IJciUvFSyjnuZq3OL/ZOv7vH2wZz/bNX+7vpQnAMBDKy0YWJ1I7Nf1JmFKUX0x4rZokQvGKS0kK7sdeXM2KXFFJ2glnlK+ewgE/9syLcr25I+hqJOMVpyduygmYWiOQvdRhmNxOt2wF0hOghdNcXLOEeTRzc0pazlxY2Dvp4W4xSlw5QbS6BGEZDtHzYd29pfKWJAD4JC5BkgXwdQ76jYEh2M84AQtUysRZlQLv1U4oUzwUgcCvdqLc3IHZmlm8HTPE0x6JkyZV04nTt2HhHsi45t7f3i3NNecUHyMxcdDjYT6SqLjMvRb9IDRsew76Uxt8E5xcvOasj4iJkfwKvF0F/dLCAtmAPn8MVWhkhKefwf4v+cCW+PQo+B2fAHH6GfVAFAY8BMpeZsl2CYFi5QEOO17hGRzt65fh7msekwod8U+BOd4SuBP8pirEdvih2ZdVskMe/nefBtuOX0AOie/oM8/L9attxKq34qDfMEYUq80ug+cNe/ZVP1A/+zFyrU+Gu3oX+sFBWe1E7T41P1eZsRRJFAMkbnKGqfGJhQnnhWNewwhNjt16sn+0t8Obv5zvJQkgLDphMMx0fAYdj/GvkCx0pOe6pGHtOikr3SOjgDgHdrrk79mlzK5xOFYWfO9AHhHoj0IP4Xhq9wzuLZudCPBq9bQyeM2w6vDoKMm7b5c8+jufk6TMNM8AoQruRuptapWj/+95mZ2cUu35w+1/TQ42jIFO3ZaLRRho4POchK9/za8oRd1ueOlGZA5WAiN3lAlJMxIEqNYW8M3f7CcnBfPUBz59F/PmP7x/2898PZNj4xKdEKuUP9bLFI4VwrbzDTCxexZElV8/IizDNtQ/0v2aX/5tL5c0Azs760dKCyrfwlT6lH9NHMy56Rm4K38Mis2WGK4IAmAOIk2tB3/1aSl7/0PSWlsHD9uIGjxVBxDsAgK9SXUSzzCR+r0DoK6BNFQ4f48zH0oaNP5MzPwcmEckBiKbiYocB+D491+UCQwY4VtWYjnAcxK6QPr2fLVOsNAPOIne+xuflJL3PiBXTp6WG/1Dqo+sl3CSGLyJsPkqarzvUdI8JVS/5vvCHBLzQkIXvToMCS0EnIjmtLJOUI6cKa0wX9rOwYPO5/z6BgcZ7E53NdduTnSfmFqod4kfy8JQUU5VtcNmHMXU1XIMeq+279sjH/rdz2PRJW4BQWybHWC0C2x/XPk05/PztjDiOf+iJDDPLLtFHGyHg3b82Zflre/+UFW5bAKYB4DEU7C3XB7/8m/CvY0zjednH2+TuMhd2M5tk8/AKGLw0K56ZPGAe4h54TYJwIcgFFfkzfnO0xwkZ/vRf/9fylnktVpuwaKcJ+OguUcaWk4eu5V/+1/aAfV/JCwqayjMYe0ClW33v8drAjMIOTnUfV1pz/QQeg0HdoSI9LBBH/boZZNLfZOl+n/wjBdZHGQOyhwCT4898wJm8csoP7f0QGk6QsWWestw73VlegX0g6zcH5aAa7wnDO2rj1/fvCKMhKCIgdzA9+MDkz/xknvEJCZI8+nz0Ev6tV5KnEyKQBHrQt9Id41PVbf9uSwCuHGj25kam04HP0+q8FMGPfUT4CEQQdvZOsivOLXJgRo2fQIcIGrmVGbUB/6ehd/evCW/+bz3A66CGaEGHiKoH0vPdPbUvf6OZ/BBkLoEXE+DIJ/FrIoF2cTqypC10pXdjtW5WJizdDDx5ZZsj328BQN+81rzYR26fP88lvN8AAlnuvczD5h/eRvwyRXMzvpG0M0C7/DphrISjNSErNf6Rrqw72zpNM9gli7IdecISfojAPVn+sY9dah7gC2zdLtypnC1LRzBIsrGZn/ZS3Z8PtG0WUjziPNeEwEKKchQz82XdWPWzUxNwQwdlsajNepD+/l27Jl1gWu8OTky9ERYbPznAc9fA1afxr2ter7JYcjZaH7RHKSSGwbFk0vKhF/B5vOIf9sk8IXEbrAv3sTnvR1Dnm8/WWTRs7j2iE/+AIeC0v29P/hvMsUQMt86+aCn1knL6T5U115zUmUt8c8HqiVK4jaWQTOgfrwEo7P8dkTAmjxs34k1gQjlUAnBgZHsMzvr20HKNm9ivi8iee1FnHoOLJqJiudY34ASOdQFvIPircf/m8+ChfZhZebJy82nTjDQ05w2n0db1Uv1g/WTGGKx3S0R1gaPduPiJ8QhYLs1yL794MB4nWOERfXDhyDYR3ISb1L99hlM7qjy9ptlfOU9nz3z8uswB/XhdoQLgaV/VN/66F+L/JmPlultbfH3LSgW5we9KsvfU2IZ9h/gwaKghXxuEMFE4CJE67iXesZXZ0ZGsHJonIjgh8i+XVKDb1l9UEM+39B28iVv2bK0PdslwgZtEYdcLiNRZitzdIH1+gHnc+nz06dmn1yfnz4FFn4G3F5o01OEO699CWThwfkfwHXjTcu5rxVnFvnf87++Pfb8S89fIwy7AgD8Cy53BCmyIbI9bNYag6n2+fq2U88CqEW4Lc6t3IWZ+q/LJeYN0anlAYFjisyD9W3H316q+C3+u1RJn/v9Iz3XtkRnHMaO9SKwr9zbUaPPY2v6kzCBn7TBNP/9+raaZ3SND4z29CWjH9gquBPsfEP2Qwf3MvIgCNyTfSM9P12q7F0RACvtH+seTIrMehkB2YmYabmQPeGLptdSLa/SfcrAeQv7dcPp/EJ92+nbnjrGfsSGpf7EZjeS0Y88PB/qJ4hWCdLVrRZRVwmpjoR/6rvZp4JpgrV21wTACgdudE/B9fhSSkL6Wxj8OSBuu82wA4FrnzjjqZTBm3YSQSRfHp6c+2pzV237ciAZGr82Ca72Ykps2jH4MXEAllGEuoCb9ejJciBeuoyJk3rFYbsCLnDb4Nt3RQBeMPqGe7ozwlLenAt1vAJfbhfiXraCAScuqaF5K3j33xNQfH6K0f+vLsv5tYstp06Mj1+7LeXrmuwb7emMScw47DCtn0PvwvEdkge6itKV3eh5sDIc4AKu/uFu6j5B010pgUFrUzeetpXnXI12meGZaH83rGluKk2Hvs7AxYX2YJ/wtSjzdhTsccTJAdnqGpwEUfELbmfcu/UuApSEIW7NIK8P5kUrogdPTtmNM7GTzmHG398etuXf5bkCY2PuuFDLUQqWUAVkboezPRPfWC707ONkbYDHCQA9Kzae6kF4CGLjPZRDHxcI0UDABLiLMs3QRzfqurXAj5N08Zi6B14GerZQr6cexksikmyhLPyIrFO1gZKohzAslFVtIJDORJxa77gr7Hvt7Ud4RsFm2sTAJgY2MbCJgU0MbGJgEwObGNjEwCYGNjGwiYFNDGxiYBMDmxj4t4yB/w+Iyhhsm8O/RwAAAABJRU5ErkJggg==",q6=Es(["asw-widget font-inter fixed transition-all"],{variants:{position:{"bottom-right":"bottom-6 right-6","bottom-left":"bottom-6 left-6"},open:{true:"h-5/6 max-h-[800px] w-80",false:"w-16 h-16"}},defaultVariants:{position:"bottom-right",open:!1}}),Y6=Es(["rounded-[43px] flex flex-col justify-between absolute w-80 h-5/6","bg-asm-gray-500 shadow-lg transition-all duration-300","motion-reduce:transition-none transform-gpu overflow-hidden"],{variants:{position:{"bottom-right":"right-2 origin-bottom-right","bottom-left":"left-2 origin-bottom-left"},open:{true:"scale-100 bottom-20",false:"scale-0 bottom-2"}},defaultVariants:{position:"bottom-right",open:!1}}),V6=Es(["relative w-full z-[2] transition-all motion-reduce:transition-none","origin-middle-right transform-gpu flex items-end"],{variants:{active:{true:"mr-0",false:"-mr-[4.5rem]"}}}),G6=Es(["relative flex items-center justify-center shrink-0 z-[1]","transition-all motion-reduce:transition-none origin-center-left transform-gpu","rounded-full text-asm-purple bg-transparent hover:bg-asm-blue/30 cursor-pointer bottom-1"],{variants:{active:{true:"scale-100 translate-x-0 w-10 h-10 ml-2",false:"scale-0 -translate-x-[2rem] w-0 h-0 ml-0"}}}),X6=Es(["absolute left-0 bottom-0 z-[3] h-3/4 w-full mb-24","transition-all duration-300 motion-reduce:transition-none transform-gpu"],{variants:{active:{true:"translate-y-0",false:"translate-y-full"}}}),Q6=Es(["flex gap-2"],{variants:{role:{user:"flex-row-reverse",assistant:"flex-row",system:"flex-row"}}}),I6=Es(["absolute bottom-0 text-white w-16 h-16 flex justify-center items-center","shadow-md cursor-pointer transition-colors duration-300 ease-in-out"],{variants:{position:{"bottom-right":"right-0 rounded-bl-[50%] rounded-tl-[50%] rounded-tr-[50%] rounded-br","bottom-left":"left-0 rounded-br-[50%] rounded-tr-[50%] rounded-tl-[50%] rounded-bl"},open:{true:"bg-asm-pink-400",false:"bg-asm-purple"}},defaultVariants:{position:"bottom-right",open:!1}});function xx(a){return a!=null&&a.persist?`asm-widget:${a.endpoint??"/api/chat"}:${a.context??""}`:null}function J6(a){if(!a)return null;try{const u=sessionStorage.getItem(a);return u?JSON.parse(u):null}catch{return null}}function $6(a){const u=xx(a),c=J6(u);return c||((a==null?void 0:a.initialMessages)??[]).map((s,h)=>({id:`initial-${h}`,role:s.role,parts:[{type:"text",text:s.content}],createdAt:new Date}))}const K6=({config:a,open:u,defaultOpen:c=!1,onOpenChange:s,onMessage:h,onError:y,children:v})=>{const b=bn.useRef(null),T=bn.useRef(null),E=bn.useRef(0),O=(a==null?void 0:a.position)??"bottom-right",[R]=bn.useState(()=>new PT({api:(a==null?void 0:a.endpoint)??"/api/chat",body:{...(a==null?void 0:a.systemPrompt)!==void 0&&{systemPrompt:a.systemPrompt},...(a==null?void 0:a.context)!==void 0&&{context:a.context},...(a==null?void 0:a.mcpServerUrl)!==void 0&&{mcpServerUrl:a.mcpServerUrl},...(a==null?void 0:a.model)!==void 0&&{model:a.model},...(a==null?void 0:a.temperature)!==void 0&&{temperature:a.temperature},...(a==null?void 0:a.user)!==void 0&&{user:a.user}}})),[z]=bn.useState(()=>$6(a)),{error:_,stop:Y,status:le,messages:X,sendMessage:k}=OD({transport:R,messages:z}),L=le==="submitted"||le==="streaming",D=u!==void 0,[oe,ne]=bn.useState(c),Q=D?u:oe,pe=bn.useCallback(F=>{D||ne(F),s==null||s(F)},[D,s]),[we,Se]=bn.useState(!1),[He,be]=bn.useState(""),Ee=xx(a);bn.useEffect(()=>{if(Ee&&X.length>0)try{sessionStorage.setItem(Ee,JSON.stringify(X))}catch{}},[X,Ee]),bn.useEffect(()=>{X.length>E.current&&X.slice(E.current).forEach(ge=>{if(ge.role==="assistant"){const Ne=ge.parts.filter(Gb).map(A=>A.text).join("");h==null||h({role:ge.role,content:Ne})}}),E.current=X.length},[X,h]),bn.useEffect(()=>{_&&(y==null||y(_))},[_,y]),bn.useEffect(()=>{T.current&&(T.current.scrollTop=T.current.scrollHeight)},[X]),bn.useEffect(()=>()=>{Y()},[]),bn.useEffect(()=>{const F=b.current;if(!F)return;const ge=Ne=>{var A;Ne.key==="Enter"&&!Ne.shiftKey&&(Ne.repeat||(A=F.form)==null||A.requestSubmit(),Ne.preventDefault())};return F.addEventListener("keydown",ge),()=>F.removeEventListener("keydown",ge)},[]);const Qe=()=>{Q&&Y(),pe(!Q)},ke=F=>{F.preventDefault(),He.trim()&&(k({parts:[{type:"text",text:He}]}),be(""))},Te=(a==null?void 0:a.logo)??Z6,q=(a==null?void 0:a.title)??"Ask ASMBL";return ht.jsxs("div",{className:q6({position:O,open:Q}),children:[ht.jsxs("div",{className:Y6({position:O,open:Q}),children:[ht.jsxs("div",{className:"px-4 py-6",children:[ht.jsxs("h2",{className:"text-2xl font-bold text-asm-purple flex items-center gap-1",children:[ht.jsx("img",{className:"inline-block -mt-1",width:30,height:30,src:Te,alt:""}),q]}),ht.jsx("button",{className:"absolute top-4 right-4 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-10 h-10 flex justify-center items-center cursor-pointer",onClick:()=>Se(!1),disabled:!we,"aria-label":"Hide chat",children:ht.jsx("img",{width:20,height:20,src:Ax,alt:""})})]}),!L&&we&&_&&ht.jsxs("div",{className:"absolute bg-asm-white w-full opacity-8 z-40 flex flex-col gap-2 items-center justify-center h-full",children:[ht.jsx("button",{className:"absolute top-2 right-2 text-asm-purple transition-colors bg-transparent hover:bg-asm-blue/30 rounded-full w-10 h-10 flex justify-center items-center cursor-pointer",onClick:()=>Se(!1),"aria-label":"Hide chat",children:ht.jsx("img",{width:20,height:20,src:Ax,alt:""})}),ht.jsxs("h3",{className:"text-center font-bold",children:["Sorry, I'm having trouble",ht.jsx("br",{}),"connecting right now."]}),ht.jsx("p",{className:"text-center",children:":("})]}),ht.jsx("div",{className:X6({active:we}),children:ht.jsx("div",{className:"flex flex-col justify-end relative h-full bg-asm-white w-full border border-b-0 rounded-t-[43px] overflow-hidden",children:X.length>0?ht.jsx("div",{className:"overflow-y-auto h-full",ref:T,children:X.map((F,ge)=>ht.jsx("div",{className:"px-4 py-2 first:pt-4 last:pb-4",style:{overflowAnchor:"none"},children:ht.jsxs("div",{className:Q6({role:F.role}),children:[ht.jsx("div",{className:"relative shrink-0",children:F.role==="user"?ht.jsx("div",{className:"rounded-full bg-asm-gray-500 ml-1 w-10 h-10 p-2",children:ht.jsx("svg",{className:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20",children:ht.jsx("path",{fillRule:"evenodd",d:"M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z",clipRule:"evenodd"})})}):ht.jsxs("div",{className:"relative",children:[L&&ge+1===X.length&&ht.jsx("span",{className:"shadow text-xs text-asm-gray-400 leading-none absolute -bottom-4 left-4 z-10 bg-white pb-2 px-2 rounded-xl",children:"..."}),ht.jsx("img",{className:"mr-1",width:36,height:36,src:Te,alt:""})]})}),F.role==="user"?ht.jsx("div",{className:"bg-asm-pink-400 rounded-3xl rounded-tr-none w-full",children:ht.jsx("p",{className:"text-gray-600 text-sm p-3",children:F.parts.filter(Gb).map(Ne=>Ne.text).join("")})}):ht.jsx("div",{className:"bg-asm-gray-500 rounded-3xl rounded-tl-none w-full",children:ht.jsx("div",{className:"text-gray-600 text-sm p-3 prose prose-sm max-w-none",children:ht.jsx(k6,{children:F.parts.filter(Gb).map(Ne=>Ne.text).join("")})})})]})},F.id))}):ht.jsxs("div",{className:"flex flex-col gap-2 items-center justify-center h-full px-4",children:[v??(a!=null&&a.welcomeHeading?ht.jsx("h3",{className:"text-center font-bold",children:a.welcomeHeading}):null),L&&ht.jsx("p",{className:"text-center bg-white py-1 px-2 rounded-xl text-sm",children:"This should only take a moment…"})]})})}),ht.jsx("div",{className:"absolute bottom-0 left-0 w-full flex items-center px-4 py-6 z-50 bg-asm-gray-500",children:ht.jsxs("form",{className:V6({active:we}),onSubmit:ke,children:[ht.jsx("textarea",{ref:b,style:{height:b.current&&document.activeElement===b.current?`${b.current.scrollHeight}px`:"auto"},rows:1,cols:1,onFocus:()=>Se(!0),value:He,onChange:F=>{Se(!0),be(F.target.value)},className:"w-full border border-gray-300 rounded-3xl px-4 py-[.625rem] min-h-[46px] max-h-[500px] focus:outline-asm-gray-500",placeholder:(a==null?void 0:a.placeholder)??""}),ht.jsx("button",{className:G6({active:we}),type:"submit",disabled:!we,"aria-label":"Send message",children:ht.jsx("img",{className:"-rotate-45",width:24,height:24,src:L6,alt:""})})]})})]}),ht.jsx("button",{className:I6({position:O,open:Q}),onClick:Qe,"aria-label":Q?"Close widget":"Open widget",children:ht.jsx("img",{className:"absolute",width:30,height:30,src:Te,alt:""})})]})},P6="asm-widget-root";function F6(a,u=P6){let c=document.getElementById(u);c||(c=document.createElement("div"),c.id=u,document.body.appendChild(c)),NO.createRoot(c).render(bn.createElement(K6,{config:a}))}window.AsmWidget={init:F6}})();
|