bi-components-library 1.0.20 → 1.0.23
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/dist/bi-components-library.css +1 -1
- package/dist/index.es.js +14372 -21660
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +107 -142
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(Kt,te){typeof exports=="object"&&typeof module<"u"?te(exports,require("react"),require("antd"),require("@ant-design/icons"),require("react-dom"),require("@arco-design/web-react")):typeof define=="function"&&define.amd?define(["exports","react","antd","@ant-design/icons","react-dom","@arco-design/web-react"],te):(Kt=typeof globalThis<"u"?globalThis:Kt||self,te(Kt.SealSeekBIComponents={},Kt.React,Kt.antd,Kt.AntdIcons,Kt.ReactDOM,Kt.ArcoDesign))})(this,function(Kt,te,qt,eo,rv,sS){"use strict";function rS(v){return v&&v.__esModule&&Object.prototype.hasOwnProperty.call(v,"default")?v.default:v}var ym={exports:{}},Eh={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var B0;function fS(){if(B0)return Eh;B0=1;var v=Symbol.for("react.transitional.element"),X=Symbol.for("react.fragment");function G(T,Z,re){var Ae=null;if(re!==void 0&&(Ae=""+re),Z.key!==void 0&&(Ae=""+Z.key),"key"in Z){re={};for(var pe in Z)pe!=="key"&&(re[pe]=Z[pe])}else re=Z;return Z=re.ref,{$$typeof:v,type:T,key:Ae,ref:Z!==void 0?Z:null,props:re}}return Eh.Fragment=X,Eh.jsx=G,Eh.jsxs=G,Eh}var xh={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,47 +14,12 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
17
|
+
*/var j0;function dS(){return j0||(j0=1,process.env.NODE_ENV!=="production"&&function(){function v(M){if(M==null)return null;if(typeof M=="function")return M.$$typeof===we?null:M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case ze:return"Fragment";case le:return"Profiler";case $:return"StrictMode";case qe:return"Suspense";case ge:return"SuspenseList";case ce:return"Activity"}if(typeof M=="object")switch(typeof M.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),M.$$typeof){case V:return"Portal";case oe:return(M.displayName||"Context")+".Provider";case ie:return(M._context.displayName||"Context")+".Consumer";case se:var ve=M.render;return M=M.displayName,M||(M=ve.displayName||ve.name||"",M=M!==""?"ForwardRef("+M+")":"ForwardRef"),M;case Ee:return ve=M.displayName||null,ve!==null?ve:v(M.type)||"Memo";case Ge:ve=M._payload,M=M._init;try{return v(M(ve))}catch{}}return null}function X(M){return""+M}function G(M){try{X(M);var ve=!1}catch{ve=!0}if(ve){ve=console;var de=ve.error,Me=typeof Symbol=="function"&&Symbol.toStringTag&&M[Symbol.toStringTag]||M.constructor.name||"Object";return de.call(ve,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Me),X(M)}}function T(M){if(M===ze)return"<>";if(typeof M=="object"&&M!==null&&M.$$typeof===Ge)return"<...>";try{var ve=v(M);return ve?"<"+ve+">":"<...>"}catch{return"<...>"}}function Z(){var M=Te.A;return M===null?null:M.getOwner()}function re(){return Error("react-stack-top-frame")}function Ae(M){if(Ce.call(M,"key")){var ve=Object.getOwnPropertyDescriptor(M,"key").get;if(ve&&ve.isReactWarning)return!1}return M.key!==void 0}function pe(M,ve){function de(){K||(K=!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)",ve))}de.isReactWarning=!0,Object.defineProperty(M,"key",{get:de,configurable:!0})}function D(){var M=v(this.type);return S[M]||(S[M]=!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.")),M=this.props.ref,M!==void 0?M:null}function m(M,ve,de,Me,Le,Pe,lt,Je){return de=Pe.ref,M={$$typeof:P,type:M,key:ve,props:Pe,_owner:Le},(de!==void 0?de:null)!==null?Object.defineProperty(M,"ref",{enumerable:!1,get:D}):Object.defineProperty(M,"ref",{enumerable:!1,value:null}),M._store={},Object.defineProperty(M._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(M,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(M,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:lt}),Object.defineProperty(M,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Je}),Object.freeze&&(Object.freeze(M.props),Object.freeze(M)),M}function w(M,ve,de,Me,Le,Pe,lt,Je){var nt=ve.children;if(nt!==void 0)if(Me)if(Ie(nt)){for(Me=0;Me<nt.length;Me++)Y(nt[Me]);Object.freeze&&Object.freeze(nt)}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 Y(nt);if(Ce.call(ve,"key")){nt=v(M);var xt=Object.keys(ve).filter(function(gl){return gl!=="key"});Me=0<xt.length?"{key: someKey, "+xt.join(": ..., ")+": ...}":"{key: someKey}",fe[nt+Me]||(xt=0<xt.length?"{"+xt.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
18
|
let props = %s;
|
|
19
19
|
<%s {...props} />
|
|
20
20
|
React keys must be passed directly to JSX without using spread:
|
|
21
21
|
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,le,qe,Be,qe),ue[qe+le]=!0)}if(qe=null,re!==void 0&&(d(re),qe=""+re),T(K)&&(d(K.key),qe=""+K.key),"key"in K){re={};for(var $e in K)$e!=="key"&&(re[$e]=K[$e])}else re=K;return qe&&g(re,typeof M=="function"?M.displayName||M.name||"Unknown":M),y(M,qe,Me,be,p(),re,Oe,ze)}function w(M){typeof M=="object"&&M!==null&&M.$$typeof===U&&M._store&&(M._store.validated=1)}var q=O,U=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),H=Symbol.for("react.fragment"),A=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),P=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),me=Symbol.for("react.client.reference"),ae=q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Te=Object.prototype.hasOwnProperty,ce=Array.isArray,te=console.createTask?console.createTask:function(){return null};q={react_stack_bottom_frame:function(M){return M()}};var Z,D={},k=q.react_stack_bottom_frame.bind(q,b)(),Y=te(s(b)),ue={};Zh.Fragment=H,Zh.jsx=function(M,K,re,le,be){var Me=1e4>ae.recentlyCreatedOwnerStacks++;return C(M,K,re,!1,le,be,Me?Error("react-stack-top-frame"):k,Me?te(s(M)):Y)},Zh.jsxs=function(M,K,re,le,be){var Me=1e4>ae.recentlyCreatedOwnerStacks++;return C(M,K,re,!0,le,be,Me?Error("react-stack-top-frame"):k,Me?te(s(M)):Y)}}()),Zh}var NT;function WA(){return NT||(NT=1,process.env.NODE_ENV==="production"?Zy.exports=JA():Zy.exports=IA()),Zy.exports}var ke=WA();const RT=({variant:u="primary",loading:f=!1,children:d,...s})=>{const p=b=>{switch(b){case"primary":return"primary";case"ghost":return"default";case"dashed":return"dashed";case"link":return"link";case"text":return"text";default:return"primary"}};return ke.jsx(Qt.Button,{...s,type:p(u),loading:f,ghost:u==="ghost",children:d})};RT.__docgenInfo={displayName:"Button",description:"基础按钮,用于触发操作",props:{variant:{name:"variant",required:!1,description:"视觉风格",type:{name:"ButtonVariant",raw:'"primary" | "ghost" | "dashed" | "link" | "text"'},defaultValue:{value:'"primary"'}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},children:{name:"children",required:!1,description:"按钮内容",type:{name:"ReactNode",raw:"React.ReactNode"}},size:{name:"size",required:!1,description:"按钮大小",type:{name:"ButtonSize",raw:'"small" | "middle" | "large"'}},disabled:{name:"disabled",required:!1,description:"是否禁用",type:{name:"boolean",raw:"boolean"}},onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"(event: MouseEvent) => void"}}}};const qT=({title:u,children:f,bordered:d=!0,hoverable:s=!1,size:p="default",...b})=>ke.jsx(Qt.Card,{...b,title:u,bordered:d,hoverable:s,size:p,children:f});qT.__docgenInfo={displayName:"Card",description:"卡片容器,用于分组内容",props:{title:{name:"title",required:!1,description:"标题",type:{name:"ReactNode",raw:"React.ReactNode"}},children:{name:"children",required:!1,description:"内容区域",type:{name:"ReactNode",raw:"React.ReactNode"}},bordered:{name:"bordered",required:!1,description:"是否显示边框",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},hoverable:{name:"hoverable",required:!1,description:"是否可悬停",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},size:{name:"size",required:!1,description:"卡片大小",type:{name:"CardSize",raw:'"default" | "small"'},defaultValue:{value:'"default"'}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},actions:{name:"actions",required:!1,description:"卡片操作组",type:{name:"ReactNode[]",raw:"React.ReactNode[]"}}}};const HT=({showDefaultFooter:u=!0,...f})=>{const d=f.footer!==void 0?f.footer:u?(s,{OkBtn:p,CancelBtn:b})=>ke.jsxs(ke.Fragment,{children:[ke.jsx(p,{}),ke.jsx(b,{})]}):null;return ke.jsx(Qt.Modal,{...f,footer:d})};HT.__docgenInfo={displayName:"AppModal",description:"应用级模态框组件,基于 Ant Design Modal 封装",props:{showDefaultFooter:{name:"showDefaultFooter",required:!1,description:"是否显示默认的确定和取消按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},title:{name:"title",required:!1,description:"模态框标题",type:{name:"ReactNode",raw:"React.ReactNode"}},open:{name:"open",required:!1,description:"是否显示模态框",type:{name:"boolean",raw:"boolean"}},onCancel:{name:"onCancel",required:!1,description:"取消按钮点击事件",type:{name:"function",raw:"(e: React.MouseEvent<HTMLElement>) => void"}},onOk:{name:"onOk",required:!1,description:"确定按钮点击事件",type:{name:"function",raw:"(e: React.MouseEvent<HTMLElement>) => void"}},children:{name:"children",required:!1,description:"模态框内容",type:{name:"ReactNode",raw:"React.ReactNode"}},width:{name:"width",required:!1,description:"模态框宽度",type:{name:"string | number",raw:"string | number"}},centered:{name:"centered",required:!1,description:"是否居中显示",type:{name:"boolean",raw:"boolean"}},maskClosable:{name:"maskClosable",required:!1,description:"点击蒙层是否允许关闭",type:{name:"boolean",raw:"boolean"}}}};const UT=({scrollX:u,showPagination:f=!0,defaultPageSize:d=10,...s})=>ke.jsx(Qt.Table,{...s,scroll:{x:u||"max-content",y:"50vh"},pagination:f?{hideOnSinglePage:!0,showSizeChanger:!0,showQuickJumper:!0,defaultPageSize:d,...s.pagination}:!1});UT.__docgenInfo={displayName:"PageTable",description:"页面级表格组件,高度铺满容器,自动滚动",props:{scrollX:{name:"scrollX",required:!1,description:"水平滚动宽度",type:{name:"number",raw:"number"}},showPagination:{name:"showPagination",required:!1,description:"是否显示分页器",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},defaultPageSize:{name:"defaultPageSize",required:!1,description:"默认页面大小",type:{name:"number",raw:"number"},defaultValue:{value:"10"}},columns:{name:"columns",required:!1,description:"表格列配置",type:{name:"ColumnType[]",raw:"ColumnType<any>[]"}},dataSource:{name:"dataSource",required:!1,description:"数据源",type:{name:"any[]",raw:"any[]"}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},rowKey:{name:"rowKey",required:!1,description:"行数据的 Key",type:{name:"string | function",raw:"string | ((record: any) => string)"}}}};const FA=bc.createFromIconfontCN({scriptUrl:["https://at.alicdn.com/t/c/font_4968458_eh91gfr4j9e.js"]}),jT=({name:u,size:f,color:d,style:s,...p})=>{const b={fontSize:f,color:d,...s};return ke.jsx(FA,{...p,type:u,style:b})};jT.__docgenInfo={displayName:"XcIcon",description:"自定义图标组件,基于 iconfont",props:{name:{name:"name",required:!0,description:"图标名称",type:{name:"string",raw:"string"}},size:{name:"size",required:!1,description:"图标大小",type:{name:"number | string",raw:"number | string"}},color:{name:"color",required:!1,description:"图标颜色",type:{name:"string",raw:"string"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},style:{name:"style",required:!1,description:"自定义样式",type:{name:"CSSProperties",raw:"React.CSSProperties"}}}};const kT=({loading:u,description:f="暂无数据",className:d,emptyChildren:s,loadingText:p,emptyImage:b})=>u?ke.jsxs(Qt.Flex,{className:`pt-10 w-full ${d||""}`,align:"center",justify:"center",vertical:!0,children:[ke.jsx(Qt.Spin,{size:"large"}),p&&ke.jsx("div",{className:"mt-4 text-gray-500",children:p})]}):ke.jsx(Qt.Flex,{className:`pt-10 w-full ${d||""}`,align:"center",justify:"center",children:ke.jsx(Qt.Empty,{image:b,description:f,imageStyle:{height:180},children:s})});kT.__docgenInfo={displayName:"EmptyAndSpin",description:"空状态和加载状态组合组件",props:{loading:{name:"loading",required:!0,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},description:{name:"description",required:!1,description:"空状态描述",type:{name:"ReactNode",raw:"React.ReactNode"},defaultValue:{value:'"暂无数据"'}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},emptyChildren:{name:"emptyChildren",required:!1,description:"空状态额外内容",type:{name:"ReactNode",raw:"React.ReactNode"}},loadingText:{name:"loadingText",required:!1,description:"加载中提示文字",type:{name:"string",raw:"string"}},emptyImage:{name:"emptyImage",required:!1,description:"空状态图片",type:{name:"string",raw:"string"}}}};const LT=({onClick:u,showText:f=!1,className:d,size:s="small",type:p="default"})=>ke.jsx(Qt.Button,{size:s,type:p,icon:ke.jsx(bc.LeftOutlined,{}),className:`cursor-pointer ${d||""}`,onClick:u,children:f&&"返回"});LT.__docgenInfo={displayName:"BackButton",description:"返回按钮组件",props:{onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"() => void"}},showText:{name:"showText",required:!1,description:"是否显示文字",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},size:{name:"size",required:!1,description:"按钮大小",type:{name:"ButtonSize",raw:'"small" | "middle" | "large"'},defaultValue:{value:'"small"'}},type:{name:"type",required:!1,description:"按钮类型",type:{name:"ButtonType",raw:'"primary" | "default" | "dashed" | "link" | "text"'},defaultValue:{value:'"default"'}}}};const BT=({removePadding:u=!0,className:f,...d})=>{const s=u?`px-0 h-auto ${f||""}`:f;return ke.jsx(Qt.Button,{type:"link",...d,className:s,children:d.children})};BT.__docgenInfo={displayName:"LinkButton",description:"链接样式按钮组件,适用于表格操作列",props:{removePadding:{name:"removePadding",required:!1,description:"是否去除默认内边距",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},children:{name:"children",required:!1,description:"按钮内容",type:{name:"ReactNode",raw:"React.ReactNode"}},onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"(event: React.MouseEvent<HTMLButtonElement>) => void"}},disabled:{name:"disabled",required:!1,description:"是否禁用",type:{name:"boolean",raw:"boolean"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}}}};const{Option:ew}=Qt.Select,VT=({columns:u,request:f,searchFields:d=[],showSearch:s=!0,showRefresh:p=!0,defaultPageSize:b=10,pageSizeOptions:T=["10","20","50","100"],autoLoad:g=!0,externalParams:S={},...y})=>{const[C,w]=O.useState([]),[q,U]=O.useState(!1),[R,H]=O.useState({current:1,pageSize:b,total:0}),[A,L]=O.useState({}),[B,P]=O.useState({}),[Q]=Qt.Form.useForm(),V=O.useRef(R);V.current=R;const J=O.useRef(S);J.current=S;const ne=O.useRef(!1),ie=O.useMemo(()=>u.map(te=>{const{sortable:Z,render:D,...k}=te;return{...k,sorter:Z?!0:void 0,render:D||(Y=>Y)}}),[u]),W=O.useCallback(async(te={})=>{if(f){U(!0);try{const Z={page:V.current.current,pageSize:V.current.pageSize,sortField:B.field,sortOrder:B.order,searchParams:{...A,...J.current},...te},D=await f(Z);D.success&&(w(D.data),H(k=>({...k,total:D.total,current:Z.page||k.current})))}catch(Z){console.error("加载数据失败:",Z)}finally{U(!1)}}},[f,B,A]),me=O.useCallback(te=>{L(te),H(Z=>({...Z,current:1}))},[]),ae=O.useCallback(()=>{Q.resetFields(),L({}),H(te=>({...te,current:1}))},[Q]),Te=O.useCallback(()=>{W()},[W]),ce=O.useCallback((te,Z,D)=>{const k={current:te.current||1,pageSize:te.pageSize||b,total:te.total||0},Y={field:D?.field,order:D?.order};H(k),P(Y)},[b]);return O.useEffect(()=>{const te=Object.keys(S).length>0;(g&&!ne.current||te)&&(W(),ne.current=!0)},[g,S,W]),ke.jsxs("div",{children:[s&&d.length>0&&ke.jsx(Qt.Card,{size:"small",style:{marginBottom:16},children:ke.jsxs(Qt.Form,{form:Q,layout:"inline",onFinish:me,initialValues:d.reduce((te,Z)=>(Z.defaultValue!==void 0&&(te[Z.key]=Z.defaultValue),te),{}),children:[d.map(te=>ke.jsx(Qt.Form.Item,{name:te.key,label:te.label,children:te.type==="input"?ke.jsx(Qt.Input,{placeholder:te.placeholder||`请输入${te.label}`,style:{width:200}}):ke.jsx(Qt.Select,{placeholder:te.placeholder||`请选择${te.label}`,style:{width:200},allowClear:!0,children:te.options?.map(Z=>ke.jsx(ew,{value:Z.value,children:Z.label},Z.value))})},te.key)),ke.jsx(Qt.Form.Item,{children:ke.jsxs(Qt.Space,{children:[ke.jsx(Qt.Button,{type:"primary",htmlType:"submit",icon:ke.jsx(bc.SearchOutlined,{}),children:"查询"}),ke.jsx(Qt.Button,{onClick:ae,children:"重置"}),p&&ke.jsx(Qt.Button,{icon:ke.jsx(bc.ReloadOutlined,{}),onClick:Te,children:"刷新"})]})})]})}),ke.jsx(Qt.Table,{...y,columns:ie,dataSource:C,loading:q,pagination:{...R,showSizeChanger:!0,showQuickJumper:!0,showTotal:(te,Z)=>`第 ${Z[0]}-${Z[1]} 条/共 ${te} 条`,pageSizeOptions:T},onChange:ce,scroll:{x:"max-content",y:"50vh"}})]})};VT.__docgenInfo={displayName:"AdvancedTable",description:"高阶表格组件,支持异步请求、搜索、排序等功能",props:{columns:{name:"columns",required:!0,description:"列配置",type:{name:"AdvancedColumnType[]",raw:"AdvancedColumnType<any>[]"}},request:{name:"request",required:!1,description:"异步请求函数",type:{name:"function",raw:"(params: RequestParams) => Promise<RequestResponse>"}},searchFields:{name:"searchFields",required:!1,description:"搜索字段配置",type:{name:"SearchFieldConfig[]",raw:"SearchFieldConfig[]"},defaultValue:{value:"[]"}},showSearch:{name:"showSearch",required:!1,description:"是否显示搜索区域",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},showRefresh:{name:"showRefresh",required:!1,description:"是否显示刷新按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},defaultPageSize:{name:"defaultPageSize",required:!1,description:"默认页面大小",type:{name:"number",raw:"number"},defaultValue:{value:"10"}},pageSizeOptions:{name:"pageSizeOptions",required:!1,description:"页面大小选项",type:{name:"string[]",raw:"string[]"},defaultValue:{value:'["10", "20", "50", "100"]'}},autoLoad:{name:"autoLoad",required:!1,description:"是否自动加载",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},externalParams:{name:"externalParams",required:!1,description:"外部请求参数",type:{name:"Record<string, any>",raw:"Record<string, any>"},defaultValue:{value:"{}"}}}};function Ol(){return Ol=Object.assign?Object.assign.bind():function(u){for(var f=1;f<arguments.length;f++){var d=arguments[f];for(var s in d)({}).hasOwnProperty.call(d,s)&&(u[s]=d[s])}return u},Ol.apply(null,arguments)}function Kh(u){"@babel/helpers - typeof";return Kh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(f){return typeof f}:function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},Kh(u)}function tw(u,f){if(Kh(u)!="object"||!u)return u;var d=u[Symbol.toPrimitive];if(d!==void 0){var s=d.call(u,f);if(Kh(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(f==="string"?String:Number)(u)}function nw(u){var f=tw(u,"string");return Kh(f)=="symbol"?f:f+""}function Ni(u,f,d){return(f=nw(f))in u?Object.defineProperty(u,f,{value:d,enumerable:!0,configurable:!0,writable:!0}):u[f]=d,u}var Ri=O.createContext({prefixCls:"arco"});function YT(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function $T(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?YT(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):YT(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function aw(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=$T($T({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-close")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M9.857 9.858 24 24m0 0 14.142 14.142M24 24 38.142 9.858M24 24 9.857 38.142"}))}var Ky=O.forwardRef(aw);Ky.defaultProps={isIcon:!0},Ky.displayName="IconClose";var Jy={exports:{}},en={};/**
|
|
23
|
-
* @license React
|
|
24
|
-
* react-is.production.min.js
|
|
25
|
-
*
|
|
26
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
27
|
-
*
|
|
28
|
-
* This source code is licensed under the MIT license found in the
|
|
29
|
-
* LICENSE file in the root directory of this source tree.
|
|
30
|
-
*/var GT;function lw(){if(GT)return en;GT=1;var u=Symbol.for("react.element"),f=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),T=Symbol.for("react.context"),g=Symbol.for("react.server_context"),S=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),U=Symbol.for("react.offscreen"),R;R=Symbol.for("react.module.reference");function H(A){if(typeof A=="object"&&A!==null){var L=A.$$typeof;switch(L){case u:switch(A=A.type,A){case d:case p:case s:case y:case C:return A;default:switch(A=A&&A.$$typeof,A){case g:case T:case S:case q:case w:case b:return A;default:return L}}case f:return L}}}return en.ContextConsumer=T,en.ContextProvider=b,en.Element=u,en.ForwardRef=S,en.Fragment=d,en.Lazy=q,en.Memo=w,en.Portal=f,en.Profiler=p,en.StrictMode=s,en.Suspense=y,en.SuspenseList=C,en.isAsyncMode=function(){return!1},en.isConcurrentMode=function(){return!1},en.isContextConsumer=function(A){return H(A)===T},en.isContextProvider=function(A){return H(A)===b},en.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===u},en.isForwardRef=function(A){return H(A)===S},en.isFragment=function(A){return H(A)===d},en.isLazy=function(A){return H(A)===q},en.isMemo=function(A){return H(A)===w},en.isPortal=function(A){return H(A)===f},en.isProfiler=function(A){return H(A)===p},en.isStrictMode=function(A){return H(A)===s},en.isSuspense=function(A){return H(A)===y},en.isSuspenseList=function(A){return H(A)===C},en.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===d||A===p||A===s||A===y||A===C||A===U||typeof A=="object"&&A!==null&&(A.$$typeof===q||A.$$typeof===w||A.$$typeof===b||A.$$typeof===T||A.$$typeof===S||A.$$typeof===R||A.getModuleId!==void 0)},en.typeOf=H,en}var tn={};/**
|
|
31
|
-
* @license React
|
|
32
|
-
* react-is.development.js
|
|
33
|
-
*
|
|
34
|
-
* Copyright (c) Facebook, Inc. and its 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 XT;function rw(){return XT||(XT=1,process.env.NODE_ENV!=="production"&&function(){var u=Symbol.for("react.element"),f=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),T=Symbol.for("react.context"),g=Symbol.for("react.server_context"),S=Symbol.for("react.forward_ref"),y=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),q=Symbol.for("react.lazy"),U=Symbol.for("react.offscreen"),R=!1,H=!1,A=!1,L=!1,B=!1,P;P=Symbol.for("react.module.reference");function Q(I){return!!(typeof I=="string"||typeof I=="function"||I===d||I===p||B||I===s||I===y||I===C||L||I===U||R||H||A||typeof I=="object"&&I!==null&&(I.$$typeof===q||I.$$typeof===w||I.$$typeof===b||I.$$typeof===T||I.$$typeof===S||I.$$typeof===P||I.getModuleId!==void 0))}function V(I){if(typeof I=="object"&&I!==null){var se=I.$$typeof;switch(se){case u:var Ue=I.type;switch(Ue){case d:case p:case s:case y:case C:return Ue;default:var pe=Ue&&Ue.$$typeof;switch(pe){case g:case T:case S:case q:case w:case b:return pe;default:return se}}case f:return se}}}var J=T,ne=b,ie=u,W=S,me=d,ae=q,Te=w,ce=f,te=p,Z=s,D=y,k=C,Y=!1,ue=!1;function M(I){return Y||(Y=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function K(I){return ue||(ue=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function re(I){return V(I)===T}function le(I){return V(I)===b}function be(I){return typeof I=="object"&&I!==null&&I.$$typeof===u}function Me(I){return V(I)===S}function Oe(I){return V(I)===d}function ze(I){return V(I)===q}function qe(I){return V(I)===w}function Be(I){return V(I)===f}function $e(I){return V(I)===p}function Fe(I){return V(I)===s}function Le(I){return V(I)===y}function ye(I){return V(I)===C}tn.ContextConsumer=J,tn.ContextProvider=ne,tn.Element=ie,tn.ForwardRef=W,tn.Fragment=me,tn.Lazy=ae,tn.Memo=Te,tn.Portal=ce,tn.Profiler=te,tn.StrictMode=Z,tn.Suspense=D,tn.SuspenseList=k,tn.isAsyncMode=M,tn.isConcurrentMode=K,tn.isContextConsumer=re,tn.isContextProvider=le,tn.isElement=be,tn.isForwardRef=Me,tn.isFragment=Oe,tn.isLazy=ze,tn.isMemo=qe,tn.isPortal=Be,tn.isProfiler=$e,tn.isStrictMode=Fe,tn.isSuspense=Le,tn.isSuspenseList=ye,tn.isValidElementType=Q,tn.typeOf=V}()),tn}var PT;function iw(){return PT||(PT=1,process.env.NODE_ENV==="production"?Jy.exports=lw():Jy.exports=rw()),Jy.exports}var uw=iw(),Cb,_b,Ab=Object.prototype.toString;function Yt(u){return Ab.call(u)==="[object Array]"}function yu(u){return Ab.call(u)==="[object Object]"}function ow(u){return Ab.call(u)==="[object String]"}function xd(u){return u===void 0}function Sc(u){return typeof u=="function"}function Hr(u){return yu(u)&&("$y"in u&&"$M"in u&&"$D"in u&&"$d"in u&&"$H"in u&&"$m"in u&&"$s"in u||u._isAMomentObject)}var QT=function(u){return u&&O.isValidElement(u)&&typeof u.type=="function"},cw=function(u){var f;return QT(u)&&!!(!((f=u.type.prototype)===null||f===void 0)&&f.isReactComponent)},sw=function(u){return O.isValidElement(u)&&typeof u.type=="string"},fw=Number((Cb=xl.version)===null||Cb===void 0?void 0:Cb.split(".")[0])>17,dw=Number((_b=xl.version)===null||_b===void 0?void 0:_b.split(".")[0])>18,pw=function(u){if(!dw)return uw.isForwardRef(u);var f=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),s=Symbol.for("react.forward_ref");if(typeof u=="object"&&u!==null){var p=u.$$typeof;if(p===f||p===d){var b=u.type,T=b&&b.$$typeof;return T===s}}return!1},ZT=function(u){return sw(u)||pw(u)?!0:QT(u)?cw(u):!1};function KT(u,f){for(var d=[],s=2;s<arguments.length;s++)d[s-2]=arguments[s];if(process.env.NODE_ENV!=="production"&&console&&u)return console.error("[@arco-design/web-react]: "+f,d?{detail:d}:void 0)}var hw=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},mw=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))};function Dn(){for(var u=[],f=0;f<arguments.length;f++)u[f]=arguments[f];for(var d=u.length,s=[],p=function(T){var g=u[T];if(!g)return"continue";ow(g)?s.push(g):Yt(g)?s=s.concat(g):yu(g)?Object.keys(g).forEach(function(S){g[S]&&s.push(S)}):KT(!0,"arguments must be one of string/array/object.")},b=0;b<d;b++)p(b);return mw([],hw(new Set(s)),!1).join(" ")}function JT(u,f){if(u==null)return{};var d={};for(var s in u)if({}.hasOwnProperty.call(u,s)){if(f.indexOf(s)!==-1)continue;d[s]=u[s]}return d}function wb(u,f){return wb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,s){return d.__proto__=s,d},wb(u,f)}function IT(u,f){u.prototype=Object.create(f.prototype),u.prototype.constructor=u,wb(u,f)}var Iy={exports:{}},Wy={exports:{}},nn={};/** @license React v16.13.1
|
|
39
|
-
* react-is.production.min.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/var WT;function vw(){if(WT)return nn;WT=1;var u=typeof Symbol=="function"&&Symbol.for,f=u?Symbol.for("react.element"):60103,d=u?Symbol.for("react.portal"):60106,s=u?Symbol.for("react.fragment"):60107,p=u?Symbol.for("react.strict_mode"):60108,b=u?Symbol.for("react.profiler"):60114,T=u?Symbol.for("react.provider"):60109,g=u?Symbol.for("react.context"):60110,S=u?Symbol.for("react.async_mode"):60111,y=u?Symbol.for("react.concurrent_mode"):60111,C=u?Symbol.for("react.forward_ref"):60112,w=u?Symbol.for("react.suspense"):60113,q=u?Symbol.for("react.suspense_list"):60120,U=u?Symbol.for("react.memo"):60115,R=u?Symbol.for("react.lazy"):60116,H=u?Symbol.for("react.block"):60121,A=u?Symbol.for("react.fundamental"):60117,L=u?Symbol.for("react.responder"):60118,B=u?Symbol.for("react.scope"):60119;function P(V){if(typeof V=="object"&&V!==null){var J=V.$$typeof;switch(J){case f:switch(V=V.type,V){case S:case y:case s:case b:case p:case w:return V;default:switch(V=V&&V.$$typeof,V){case g:case C:case R:case U:case T:return V;default:return J}}case d:return J}}}function Q(V){return P(V)===y}return nn.AsyncMode=S,nn.ConcurrentMode=y,nn.ContextConsumer=g,nn.ContextProvider=T,nn.Element=f,nn.ForwardRef=C,nn.Fragment=s,nn.Lazy=R,nn.Memo=U,nn.Portal=d,nn.Profiler=b,nn.StrictMode=p,nn.Suspense=w,nn.isAsyncMode=function(V){return Q(V)||P(V)===S},nn.isConcurrentMode=Q,nn.isContextConsumer=function(V){return P(V)===g},nn.isContextProvider=function(V){return P(V)===T},nn.isElement=function(V){return typeof V=="object"&&V!==null&&V.$$typeof===f},nn.isForwardRef=function(V){return P(V)===C},nn.isFragment=function(V){return P(V)===s},nn.isLazy=function(V){return P(V)===R},nn.isMemo=function(V){return P(V)===U},nn.isPortal=function(V){return P(V)===d},nn.isProfiler=function(V){return P(V)===b},nn.isStrictMode=function(V){return P(V)===p},nn.isSuspense=function(V){return P(V)===w},nn.isValidElementType=function(V){return typeof V=="string"||typeof V=="function"||V===s||V===y||V===b||V===p||V===w||V===q||typeof V=="object"&&V!==null&&(V.$$typeof===R||V.$$typeof===U||V.$$typeof===T||V.$$typeof===g||V.$$typeof===C||V.$$typeof===A||V.$$typeof===L||V.$$typeof===B||V.$$typeof===H)},nn.typeOf=P,nn}var an={};/** @license React v16.13.1
|
|
46
|
-
* react-is.development.js
|
|
47
|
-
*
|
|
48
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
49
|
-
*
|
|
50
|
-
* This source code is licensed under the MIT license found in the
|
|
51
|
-
* LICENSE file in the root directory of this source tree.
|
|
52
|
-
*/var FT;function yw(){return FT||(FT=1,process.env.NODE_ENV!=="production"&&function(){var u=typeof Symbol=="function"&&Symbol.for,f=u?Symbol.for("react.element"):60103,d=u?Symbol.for("react.portal"):60106,s=u?Symbol.for("react.fragment"):60107,p=u?Symbol.for("react.strict_mode"):60108,b=u?Symbol.for("react.profiler"):60114,T=u?Symbol.for("react.provider"):60109,g=u?Symbol.for("react.context"):60110,S=u?Symbol.for("react.async_mode"):60111,y=u?Symbol.for("react.concurrent_mode"):60111,C=u?Symbol.for("react.forward_ref"):60112,w=u?Symbol.for("react.suspense"):60113,q=u?Symbol.for("react.suspense_list"):60120,U=u?Symbol.for("react.memo"):60115,R=u?Symbol.for("react.lazy"):60116,H=u?Symbol.for("react.block"):60121,A=u?Symbol.for("react.fundamental"):60117,L=u?Symbol.for("react.responder"):60118,B=u?Symbol.for("react.scope"):60119;function P(Le){return typeof Le=="string"||typeof Le=="function"||Le===s||Le===y||Le===b||Le===p||Le===w||Le===q||typeof Le=="object"&&Le!==null&&(Le.$$typeof===R||Le.$$typeof===U||Le.$$typeof===T||Le.$$typeof===g||Le.$$typeof===C||Le.$$typeof===A||Le.$$typeof===L||Le.$$typeof===B||Le.$$typeof===H)}function Q(Le){if(typeof Le=="object"&&Le!==null){var ye=Le.$$typeof;switch(ye){case f:var I=Le.type;switch(I){case S:case y:case s:case b:case p:case w:return I;default:var se=I&&I.$$typeof;switch(se){case g:case C:case R:case U:case T:return se;default:return ye}}case d:return ye}}}var V=S,J=y,ne=g,ie=T,W=f,me=C,ae=s,Te=R,ce=U,te=d,Z=b,D=p,k=w,Y=!1;function ue(Le){return Y||(Y=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(Le)||Q(Le)===S}function M(Le){return Q(Le)===y}function K(Le){return Q(Le)===g}function re(Le){return Q(Le)===T}function le(Le){return typeof Le=="object"&&Le!==null&&Le.$$typeof===f}function be(Le){return Q(Le)===C}function Me(Le){return Q(Le)===s}function Oe(Le){return Q(Le)===R}function ze(Le){return Q(Le)===U}function qe(Le){return Q(Le)===d}function Be(Le){return Q(Le)===b}function $e(Le){return Q(Le)===p}function Fe(Le){return Q(Le)===w}an.AsyncMode=V,an.ConcurrentMode=J,an.ContextConsumer=ne,an.ContextProvider=ie,an.Element=W,an.ForwardRef=me,an.Fragment=ae,an.Lazy=Te,an.Memo=ce,an.Portal=te,an.Profiler=Z,an.StrictMode=D,an.Suspense=k,an.isAsyncMode=ue,an.isConcurrentMode=M,an.isContextConsumer=K,an.isContextProvider=re,an.isElement=le,an.isForwardRef=be,an.isFragment=Me,an.isLazy=Oe,an.isMemo=ze,an.isPortal=qe,an.isProfiler=Be,an.isStrictMode=$e,an.isSuspense=Fe,an.isValidElementType=P,an.typeOf=Q}()),an}var ex;function tx(){return ex||(ex=1,process.env.NODE_ENV==="production"?Wy.exports=vw():Wy.exports=yw()),Wy.exports}/*
|
|
53
|
-
object-assign
|
|
54
|
-
(c) Sindre Sorhus
|
|
55
|
-
@license MIT
|
|
56
|
-
*/var Db,nx;function gw(){if(nx)return Db;nx=1;var u=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;function s(b){if(b==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(b)}function p(){try{if(!Object.assign)return!1;var b=new String("abc");if(b[5]="de",Object.getOwnPropertyNames(b)[0]==="5")return!1;for(var T={},g=0;g<10;g++)T["_"+String.fromCharCode(g)]=g;var S=Object.getOwnPropertyNames(T).map(function(C){return T[C]});if(S.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(C){y[C]=C}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Db=p()?Object.assign:function(b,T){for(var g,S=s(b),y,C=1;C<arguments.length;C++){g=Object(arguments[C]);for(var w in g)f.call(g,w)&&(S[w]=g[w]);if(u){y=u(g);for(var q=0;q<y.length;q++)d.call(g,y[q])&&(S[y[q]]=g[y[q]])}}return S},Db}var Mb,ax;function zb(){if(ax)return Mb;ax=1;var u="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Mb=u,Mb}var Nb,lx;function rx(){return lx||(lx=1,Nb=Function.call.bind(Object.prototype.hasOwnProperty)),Nb}var Rb,ix;function bw(){if(ix)return Rb;ix=1;var u=function(){};if(process.env.NODE_ENV!=="production"){var f=zb(),d={},s=rx();u=function(b){var T="Warning: "+b;typeof console<"u"&&console.error(T);try{throw new Error(T)}catch{}}}function p(b,T,g,S,y){if(process.env.NODE_ENV!=="production"){for(var C in b)if(s(b,C)){var w;try{if(typeof b[C]!="function"){var q=Error((S||"React class")+": "+g+" type `"+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof b[C]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw q.name="Invariant Violation",q}w=b[C](T,C,S,g,null,f)}catch(R){w=R}if(w&&!(w instanceof Error)&&u((S||"React class")+": type specification of "+g+" `"+C+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof w+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),w instanceof Error&&!(w.message in d)){d[w.message]=!0;var U=y?y():"";u("Failed "+g+" type: "+w.message+(U??""))}}}}return p.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(d={})},Rb=p,Rb}var qb,ux;function Sw(){if(ux)return qb;ux=1;var u=tx(),f=gw(),d=zb(),s=rx(),p=bw(),b=function(){};process.env.NODE_ENV!=="production"&&(b=function(g){var S="Warning: "+g;typeof console<"u"&&console.error(S);try{throw new Error(S)}catch{}});function T(){return null}return qb=function(g,S){var y=typeof Symbol=="function"&&Symbol.iterator,C="@@iterator";function w(M){var K=M&&(y&&M[y]||M[C]);if(typeof K=="function")return K}var q="<<anonymous>>",U={array:L("array"),bigint:L("bigint"),bool:L("boolean"),func:L("function"),number:L("number"),object:L("object"),string:L("string"),symbol:L("symbol"),any:B(),arrayOf:P,element:Q(),elementType:V(),instanceOf:J,node:me(),objectOf:ie,oneOf:ne,oneOfType:W,shape:Te,exact:ce};function R(M,K){return M===K?M!==0||1/M===1/K:M!==M&&K!==K}function H(M,K){this.message=M,this.data=K&&typeof K=="object"?K:{},this.stack=""}H.prototype=Error.prototype;function A(M){if(process.env.NODE_ENV!=="production")var K={},re=0;function le(Me,Oe,ze,qe,Be,$e,Fe){if(qe=qe||q,$e=$e||ze,Fe!==d){if(S){var Le=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw Le.name="Invariant Violation",Le}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ye=qe+":"+ze;!K[ye]&&re<3&&(b("You are manually calling a React.PropTypes validation function for the `"+$e+"` prop on `"+qe+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),K[ye]=!0,re++)}}return Oe[ze]==null?Me?Oe[ze]===null?new H("The "+Be+" `"+$e+"` is marked as required "+("in `"+qe+"`, but its value is `null`.")):new H("The "+Be+" `"+$e+"` is marked as required in "+("`"+qe+"`, but its value is `undefined`.")):null:M(Oe,ze,qe,Be,$e)}var be=le.bind(null,!1);return be.isRequired=le.bind(null,!0),be}function L(M){function K(re,le,be,Me,Oe,ze){var qe=re[le],Be=D(qe);if(Be!==M){var $e=k(qe);return new H("Invalid "+Me+" `"+Oe+"` of type "+("`"+$e+"` supplied to `"+be+"`, expected ")+("`"+M+"`."),{expectedType:M})}return null}return A(K)}function B(){return A(T)}function P(M){function K(re,le,be,Me,Oe){if(typeof M!="function")return new H("Property `"+Oe+"` of component `"+be+"` has invalid PropType notation inside arrayOf.");var ze=re[le];if(!Array.isArray(ze)){var qe=D(ze);return new H("Invalid "+Me+" `"+Oe+"` of type "+("`"+qe+"` supplied to `"+be+"`, expected an array."))}for(var Be=0;Be<ze.length;Be++){var $e=M(ze,Be,be,Me,Oe+"["+Be+"]",d);if($e instanceof Error)return $e}return null}return A(K)}function Q(){function M(K,re,le,be,Me){var Oe=K[re];if(!g(Oe)){var ze=D(Oe);return new H("Invalid "+be+" `"+Me+"` of type "+("`"+ze+"` supplied to `"+le+"`, expected a single ReactElement."))}return null}return A(M)}function V(){function M(K,re,le,be,Me){var Oe=K[re];if(!u.isValidElementType(Oe)){var ze=D(Oe);return new H("Invalid "+be+" `"+Me+"` of type "+("`"+ze+"` supplied to `"+le+"`, expected a single ReactElement type."))}return null}return A(M)}function J(M){function K(re,le,be,Me,Oe){if(!(re[le]instanceof M)){var ze=M.name||q,qe=ue(re[le]);return new H("Invalid "+Me+" `"+Oe+"` of type "+("`"+qe+"` supplied to `"+be+"`, expected ")+("instance of `"+ze+"`."))}return null}return A(K)}function ne(M){if(!Array.isArray(M))return process.env.NODE_ENV!=="production"&&(arguments.length>1?b("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):b("Invalid argument supplied to oneOf, expected an array.")),T;function K(re,le,be,Me,Oe){for(var ze=re[le],qe=0;qe<M.length;qe++)if(R(ze,M[qe]))return null;var Be=JSON.stringify(M,function(Fe,Le){var ye=k(Le);return ye==="symbol"?String(Le):Le});return new H("Invalid "+Me+" `"+Oe+"` of value `"+String(ze)+"` "+("supplied to `"+be+"`, expected one of "+Be+"."))}return A(K)}function ie(M){function K(re,le,be,Me,Oe){if(typeof M!="function")return new H("Property `"+Oe+"` of component `"+be+"` has invalid PropType notation inside objectOf.");var ze=re[le],qe=D(ze);if(qe!=="object")return new H("Invalid "+Me+" `"+Oe+"` of type "+("`"+qe+"` supplied to `"+be+"`, expected an object."));for(var Be in ze)if(s(ze,Be)){var $e=M(ze,Be,be,Me,Oe+"."+Be,d);if($e instanceof Error)return $e}return null}return A(K)}function W(M){if(!Array.isArray(M))return process.env.NODE_ENV!=="production"&&b("Invalid argument supplied to oneOfType, expected an instance of array."),T;for(var K=0;K<M.length;K++){var re=M[K];if(typeof re!="function")return b("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+Y(re)+" at index "+K+"."),T}function le(be,Me,Oe,ze,qe){for(var Be=[],$e=0;$e<M.length;$e++){var Fe=M[$e],Le=Fe(be,Me,Oe,ze,qe,d);if(Le==null)return null;Le.data&&s(Le.data,"expectedType")&&Be.push(Le.data.expectedType)}var ye=Be.length>0?", expected one of type ["+Be.join(", ")+"]":"";return new H("Invalid "+ze+" `"+qe+"` supplied to "+("`"+Oe+"`"+ye+"."))}return A(le)}function me(){function M(K,re,le,be,Me){return te(K[re])?null:new H("Invalid "+be+" `"+Me+"` supplied to "+("`"+le+"`, expected a ReactNode."))}return A(M)}function ae(M,K,re,le,be){return new H((M||"React class")+": "+K+" type `"+re+"."+le+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+be+"`.")}function Te(M){function K(re,le,be,Me,Oe){var ze=re[le],qe=D(ze);if(qe!=="object")return new H("Invalid "+Me+" `"+Oe+"` of type `"+qe+"` "+("supplied to `"+be+"`, expected `object`."));for(var Be in M){var $e=M[Be];if(typeof $e!="function")return ae(be,Me,Oe,Be,k($e));var Fe=$e(ze,Be,be,Me,Oe+"."+Be,d);if(Fe)return Fe}return null}return A(K)}function ce(M){function K(re,le,be,Me,Oe){var ze=re[le],qe=D(ze);if(qe!=="object")return new H("Invalid "+Me+" `"+Oe+"` of type `"+qe+"` "+("supplied to `"+be+"`, expected `object`."));var Be=f({},re[le],M);for(var $e in Be){var Fe=M[$e];if(s(M,$e)&&typeof Fe!="function")return ae(be,Me,Oe,$e,k(Fe));if(!Fe)return new H("Invalid "+Me+" `"+Oe+"` key `"+$e+"` supplied to `"+be+"`.\nBad object: "+JSON.stringify(re[le],null," ")+`
|
|
57
|
-
Valid keys: `+JSON.stringify(Object.keys(M),null," "));var Le=Fe(ze,$e,be,Me,Oe+"."+$e,d);if(Le)return Le}return null}return A(K)}function te(M){switch(typeof M){case"number":case"string":case"undefined":return!0;case"boolean":return!M;case"object":if(Array.isArray(M))return M.every(te);if(M===null||g(M))return!0;var K=w(M);if(K){var re=K.call(M),le;if(K!==M.entries){for(;!(le=re.next()).done;)if(!te(le.value))return!1}else for(;!(le=re.next()).done;){var be=le.value;if(be&&!te(be[1]))return!1}}else return!1;return!0;default:return!1}}function Z(M,K){return M==="symbol"?!0:K?K["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&K instanceof Symbol:!1}function D(M){var K=typeof M;return Array.isArray(M)?"array":M instanceof RegExp?"object":Z(K,M)?"symbol":K}function k(M){if(typeof M>"u"||M===null)return""+M;var K=D(M);if(K==="object"){if(M instanceof Date)return"date";if(M instanceof RegExp)return"regexp"}return K}function Y(M){var K=k(M);switch(K){case"array":case"object":return"an "+K;case"boolean":case"date":case"regexp":return"a "+K;default:return K}}function ue(M){return!M.constructor||!M.constructor.name?q:M.constructor.name}return U.checkPropTypes=p,U.resetWarningCache=p.resetWarningCache,U.PropTypes=U,U},qb}var Hb,ox;function Ew(){if(ox)return Hb;ox=1;var u=zb();function f(){}function d(){}return d.resetWarningCache=f,Hb=function(){function s(T,g,S,y,C,w){if(w!==u){var q=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw q.name="Invariant Violation",q}}s.isRequired=s;function p(){return s}var b={array:s,bigint:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:p,element:s,elementType:s,instanceOf:p,node:s,objectOf:p,oneOf:p,oneOfType:p,shape:p,exact:p,checkPropTypes:d,resetWarningCache:f};return b.PropTypes=b,b},Hb}var cx;function Tw(){if(cx)return Iy.exports;if(cx=1,process.env.NODE_ENV!=="production"){var u=tx(),f=!0;Iy.exports=Sw()(u.isElement,f)}else Iy.exports=Ew()();return Iy.exports}var xw=Tw();const Et=sr(xw);function Ow(u,f){return u.classList?!!f&&u.classList.contains(f):(" "+(u.className.baseVal||u.className)+" ").indexOf(" "+f+" ")!==-1}function Cw(u,f){u.classList?u.classList.add(f):Ow(u,f)||(typeof u.className=="string"?u.className=u.className+" "+f:u.setAttribute("class",(u.className&&u.className.baseVal||"")+" "+f))}function sx(u,f){return u.replace(new RegExp("(^|\\s)"+f+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function _w(u,f){u.classList?u.classList.remove(f):typeof u.className=="string"?u.className=sx(u.className,f):u.setAttribute("class",sx(u.className&&u.className.baseVal||"",f))}const fx={disabled:!1};var Aw=process.env.NODE_ENV!=="production"?Et.oneOfType([Et.number,Et.shape({enter:Et.number,exit:Et.number,appear:Et.number}).isRequired]):null,ww=process.env.NODE_ENV!=="production"?Et.oneOfType([Et.string,Et.shape({enter:Et.string,exit:Et.string,active:Et.string}),Et.shape({enter:Et.string,enterDone:Et.string,enterActive:Et.string,exit:Et.string,exitDone:Et.string,exitActive:Et.string})]):null;const dx=O.createContext(null);var px=function(f){return f.scrollTop},Jh="unmounted",Hs="exited",Us="entering",Od="entered",Ub="exiting",gu=function(u){IT(f,u);function f(s,p){var b;b=u.call(this,s,p)||this;var T=p,g=T&&!T.isMounting?s.enter:s.appear,S;return b.appearStatus=null,s.in?g?(S=Hs,b.appearStatus=Us):S=Od:s.unmountOnExit||s.mountOnEnter?S=Jh:S=Hs,b.state={status:S},b.nextCallback=null,b}f.getDerivedStateFromProps=function(p,b){var T=p.in;return T&&b.status===Jh?{status:Hs}:null};var d=f.prototype;return d.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},d.componentDidUpdate=function(p){var b=null;if(p!==this.props){var T=this.state.status;this.props.in?T!==Us&&T!==Od&&(b=Us):(T===Us||T===Od)&&(b=Ub)}this.updateStatus(!1,b)},d.componentWillUnmount=function(){this.cancelNextCallback()},d.getTimeouts=function(){var p=this.props.timeout,b,T,g;return b=T=g=p,p!=null&&typeof p!="number"&&(b=p.exit,T=p.enter,g=p.appear!==void 0?p.appear:T),{exit:b,enter:T,appear:g}},d.updateStatus=function(p,b){if(p===void 0&&(p=!1),b!==null)if(this.cancelNextCallback(),b===Us){if(this.props.unmountOnExit||this.props.mountOnEnter){var T=this.props.nodeRef?this.props.nodeRef.current:xl.findDOMNode(this);T&&px(T)}this.performEnter(p)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Hs&&this.setState({status:Jh})},d.performEnter=function(p){var b=this,T=this.props.enter,g=this.context?this.context.isMounting:p,S=this.props.nodeRef?[g]:[xl.findDOMNode(this),g],y=S[0],C=S[1],w=this.getTimeouts(),q=g?w.appear:w.enter;if(!p&&!T||fx.disabled){this.safeSetState({status:Od},function(){b.props.onEntered(y)});return}this.props.onEnter(y,C),this.safeSetState({status:Us},function(){b.props.onEntering(y,C),b.onTransitionEnd(q,function(){b.safeSetState({status:Od},function(){b.props.onEntered(y,C)})})})},d.performExit=function(){var p=this,b=this.props.exit,T=this.getTimeouts(),g=this.props.nodeRef?void 0:xl.findDOMNode(this);if(!b||fx.disabled){this.safeSetState({status:Hs},function(){p.props.onExited(g)});return}this.props.onExit(g),this.safeSetState({status:Ub},function(){p.props.onExiting(g),p.onTransitionEnd(T.exit,function(){p.safeSetState({status:Hs},function(){p.props.onExited(g)})})})},d.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},d.safeSetState=function(p,b){b=this.setNextCallback(b),this.setState(p,b)},d.setNextCallback=function(p){var b=this,T=!0;return this.nextCallback=function(g){T&&(T=!1,b.nextCallback=null,p(g))},this.nextCallback.cancel=function(){T=!1},this.nextCallback},d.onTransitionEnd=function(p,b){this.setNextCallback(b);var T=this.props.nodeRef?this.props.nodeRef.current:xl.findDOMNode(this),g=p==null&&!this.props.addEndListener;if(!T||g){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var S=this.props.nodeRef?[this.nextCallback]:[T,this.nextCallback],y=S[0],C=S[1];this.props.addEndListener(y,C)}p!=null&&setTimeout(this.nextCallback,p)},d.render=function(){var p=this.state.status;if(p===Jh)return null;var b=this.props,T=b.children;b.in,b.mountOnEnter,b.unmountOnExit,b.appear,b.enter,b.exit,b.timeout,b.addEndListener,b.onEnter,b.onEntering,b.onEntered,b.onExit,b.onExiting,b.onExited,b.nodeRef;var g=JT(b,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return O.createElement(dx.Provider,{value:null},typeof T=="function"?T(p,g):O.cloneElement(O.Children.only(T),g))},f}(O.Component);gu.contextType=dx,gu.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:Et.shape({current:typeof Element>"u"?Et.any:function(u,f,d,s,p,b){var T=u[f];return Et.instanceOf(T&&"ownerDocument"in T?T.ownerDocument.defaultView.Element:Element)(u,f,d,s,p,b)}}),children:Et.oneOfType([Et.func.isRequired,Et.element.isRequired]).isRequired,in:Et.bool,mountOnEnter:Et.bool,unmountOnExit:Et.bool,appear:Et.bool,enter:Et.bool,exit:Et.bool,timeout:function(f){var d=Aw;f.addEndListener||(d=d.isRequired);for(var s=arguments.length,p=new Array(s>1?s-1:0),b=1;b<s;b++)p[b-1]=arguments[b];return d.apply(void 0,[f].concat(p))},addEndListener:Et.func,onEnter:Et.func,onEntering:Et.func,onEntered:Et.func,onExit:Et.func,onExiting:Et.func,onExited:Et.func}:{};function Cd(){}gu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Cd,onEntering:Cd,onEntered:Cd,onExit:Cd,onExiting:Cd,onExited:Cd},gu.UNMOUNTED=Jh,gu.EXITED=Hs,gu.ENTERING=Us,gu.ENTERED=Od,gu.EXITING=Ub;var Dw=function(f,d){return f&&d&&d.split(" ").forEach(function(s){return Cw(f,s)})},jb=function(f,d){return f&&d&&d.split(" ").forEach(function(s){return _w(f,s)})},kb=function(u){IT(f,u);function f(){for(var s,p=arguments.length,b=new Array(p),T=0;T<p;T++)b[T]=arguments[T];return s=u.call.apply(u,[this].concat(b))||this,s.appliedClasses={appear:{},enter:{},exit:{}},s.onEnter=function(g,S){var y=s.resolveArguments(g,S),C=y[0],w=y[1];s.removeClasses(C,"exit"),s.addClass(C,w?"appear":"enter","base"),s.props.onEnter&&s.props.onEnter(g,S)},s.onEntering=function(g,S){var y=s.resolveArguments(g,S),C=y[0],w=y[1],q=w?"appear":"enter";s.addClass(C,q,"active"),s.props.onEntering&&s.props.onEntering(g,S)},s.onEntered=function(g,S){var y=s.resolveArguments(g,S),C=y[0],w=y[1],q=w?"appear":"enter";s.removeClasses(C,q),s.addClass(C,q,"done"),s.props.onEntered&&s.props.onEntered(g,S)},s.onExit=function(g){var S=s.resolveArguments(g),y=S[0];s.removeClasses(y,"appear"),s.removeClasses(y,"enter"),s.addClass(y,"exit","base"),s.props.onExit&&s.props.onExit(g)},s.onExiting=function(g){var S=s.resolveArguments(g),y=S[0];s.addClass(y,"exit","active"),s.props.onExiting&&s.props.onExiting(g)},s.onExited=function(g){var S=s.resolveArguments(g),y=S[0];s.removeClasses(y,"exit"),s.addClass(y,"exit","done"),s.props.onExited&&s.props.onExited(g)},s.resolveArguments=function(g,S){return s.props.nodeRef?[s.props.nodeRef.current,g]:[g,S]},s.getClassNames=function(g){var S=s.props.classNames,y=typeof S=="string",C=y&&S?S+"-":"",w=y?""+C+g:S[g],q=y?w+"-active":S[g+"Active"],U=y?w+"-done":S[g+"Done"];return{baseClassName:w,activeClassName:q,doneClassName:U}},s}var d=f.prototype;return d.addClass=function(p,b,T){var g=this.getClassNames(b)[T+"ClassName"],S=this.getClassNames("enter"),y=S.doneClassName;b==="appear"&&T==="done"&&y&&(g+=" "+y),T==="active"&&p&&px(p),g&&(this.appliedClasses[b][T]=g,Dw(p,g))},d.removeClasses=function(p,b){var T=this.appliedClasses[b],g=T.base,S=T.active,y=T.done;this.appliedClasses[b]={},g&&jb(p,g),S&&jb(p,S),y&&jb(p,y)},d.render=function(){var p=this.props;p.classNames;var b=JT(p,["classNames"]);return O.createElement(gu,Ol({},b,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},f}(O.Component);kb.defaultProps={classNames:""},kb.propTypes=process.env.NODE_ENV!=="production"?Ol({},gu.propTypes,{classNames:ww,onEnter:Et.func,onEntering:Et.func,onEntered:Et.func,onExit:Et.func,onExiting:Et.func,onExited:Et.func}):{};var Mw=xl,zw;try{zw=Mw.createRoot}catch{}var Ec;function Nw(u){var f=u.constructor;if(typeof f!="function")return!1;!Ec&&typeof WeakSet=="function"&&(Ec=new WeakSet);var d=!!Ec?.has(f);return Ec?.add(f),d}var hx=function(u,f){return u&&u instanceof Element?u:u&&u.current&&u.current instanceof Element?u.current:u&&Sc(u.getRootDOMNode)?u.getRootDOMNode():u instanceof O.Component&&xl.findDOMNode?xl.findDOMNode(u):f&&(KT(fw&&!Nw(f),"Element does not define the `getRootDOMNode` method causing a call to React.findDOMNode. but findDOMNode is deprecated in StrictMode. Please check the code logic",{element:u,instance:f}),xl.findDOMNode)?xl.findDOMNode(f):null},mx=function(u,f){u&&u.ref&&(Sc(u.ref)&&u?.ref(f),"current"in u.ref&&(u.ref.current=f))};function vx(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function yx(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?vx(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):vx(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function Rw(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=yx(yx({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-loading")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M42 24c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6"}))}var Lb=O.forwardRef(Rw);Lb.defaultProps={isIcon:!0},Lb.displayName="IconLoading";var Bb=function(){return Bb=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Bb.apply(this,arguments)},qw=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function gx(u){var f,d=u.children,s=u.className,p=u.disabled,b=u.prefix,T=u.size,g=T===void 0?"default":T,S=qw(u,["children","className","disabled","prefix","size"]),y=O.useContext(Qa).getPrefixCls,C=y("icon-hover");return O.createElement("span",Bb({className:Dn(C,(f={},f[b+"-icon-hover"]=b,f[C+"-size-"+g]=g&&g!=="default",f[C+"-disabled"]=p,f),s),onClick:u.onClick},S),d)}var Fy={exports:{}},eg={exports:{}},Hw=eg.exports,bx;function Sx(){return bx||(bx=1,function(u,f){(function(d,s){u.exports=s()})(Hw,function(){var d=1e3,s=6e4,p=36e5,b="millisecond",T="second",g="minute",S="hour",y="day",C="week",w="month",q="quarter",U="year",R="date",H="Invalid Date",A=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,L=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,B={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(te){var Z=["th","st","nd","rd"],D=te%100;return"["+te+(Z[(D-20)%10]||Z[D]||Z[0])+"]"}},P=function(te,Z,D){var k=String(te);return!k||k.length>=Z?te:""+Array(Z+1-k.length).join(D)+te},Q={s:P,z:function(te){var Z=-te.utcOffset(),D=Math.abs(Z),k=Math.floor(D/60),Y=D%60;return(Z<=0?"+":"-")+P(k,2,"0")+":"+P(Y,2,"0")},m:function te(Z,D){if(Z.date()<D.date())return-te(D,Z);var k=12*(D.year()-Z.year())+(D.month()-Z.month()),Y=Z.clone().add(k,w),ue=D-Y<0,M=Z.clone().add(k+(ue?-1:1),w);return+(-(k+(D-Y)/(ue?Y-M:M-Y))||0)},a:function(te){return te<0?Math.ceil(te)||0:Math.floor(te)},p:function(te){return{M:w,y:U,w:C,d:y,D:R,h:S,m:g,s:T,ms:b,Q:q}[te]||String(te||"").toLowerCase().replace(/s$/,"")},u:function(te){return te===void 0}},V="en",J={};J[V]=B;var ne="$isDayjsObject",ie=function(te){return te instanceof Te||!(!te||!te[ne])},W=function te(Z,D,k){var Y;if(!Z)return V;if(typeof Z=="string"){var ue=Z.toLowerCase();J[ue]&&(Y=ue),D&&(J[ue]=D,Y=ue);var M=Z.split("-");if(!Y&&M.length>1)return te(M[0])}else{var K=Z.name;J[K]=Z,Y=K}return!k&&Y&&(V=Y),Y||!k&&V},me=function(te,Z){if(ie(te))return te.clone();var D=typeof Z=="object"?Z:{};return D.date=te,D.args=arguments,new Te(D)},ae=Q;ae.l=W,ae.i=ie,ae.w=function(te,Z){return me(te,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var Te=function(){function te(D){this.$L=W(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[ne]=!0}var Z=te.prototype;return Z.parse=function(D){this.$d=function(k){var Y=k.date,ue=k.utc;if(Y===null)return new Date(NaN);if(ae.u(Y))return new Date;if(Y instanceof Date)return new Date(Y);if(typeof Y=="string"&&!/Z$/i.test(Y)){var M=Y.match(A);if(M){var K=M[2]-1||0,re=(M[7]||"0").substring(0,3);return ue?new Date(Date.UTC(M[1],K,M[3]||1,M[4]||0,M[5]||0,M[6]||0,re)):new Date(M[1],K,M[3]||1,M[4]||0,M[5]||0,M[6]||0,re)}}return new Date(Y)}(D),this.init()},Z.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},Z.$utils=function(){return ae},Z.isValid=function(){return this.$d.toString()!==H},Z.isSame=function(D,k){var Y=me(D);return this.startOf(k)<=Y&&Y<=this.endOf(k)},Z.isAfter=function(D,k){return me(D)<this.startOf(k)},Z.isBefore=function(D,k){return this.endOf(k)<me(D)},Z.$g=function(D,k,Y){return ae.u(D)?this[k]:this.set(Y,D)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(D,k){var Y=this,ue=!!ae.u(k)||k,M=ae.p(D),K=function(Be,$e){var Fe=ae.w(Y.$u?Date.UTC(Y.$y,$e,Be):new Date(Y.$y,$e,Be),Y);return ue?Fe:Fe.endOf(y)},re=function(Be,$e){return ae.w(Y.toDate()[Be].apply(Y.toDate("s"),(ue?[0,0,0,0]:[23,59,59,999]).slice($e)),Y)},le=this.$W,be=this.$M,Me=this.$D,Oe="set"+(this.$u?"UTC":"");switch(M){case U:return ue?K(1,0):K(31,11);case w:return ue?K(1,be):K(0,be+1);case C:var ze=this.$locale().weekStart||0,qe=(le<ze?le+7:le)-ze;return K(ue?Me-qe:Me+(6-qe),be);case y:case R:return re(Oe+"Hours",0);case S:return re(Oe+"Minutes",1);case g:return re(Oe+"Seconds",2);case T:return re(Oe+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(D){return this.startOf(D,!1)},Z.$set=function(D,k){var Y,ue=ae.p(D),M="set"+(this.$u?"UTC":""),K=(Y={},Y[y]=M+"Date",Y[R]=M+"Date",Y[w]=M+"Month",Y[U]=M+"FullYear",Y[S]=M+"Hours",Y[g]=M+"Minutes",Y[T]=M+"Seconds",Y[b]=M+"Milliseconds",Y)[ue],re=ue===y?this.$D+(k-this.$W):k;if(ue===w||ue===U){var le=this.clone().set(R,1);le.$d[K](re),le.init(),this.$d=le.set(R,Math.min(this.$D,le.daysInMonth())).$d}else K&&this.$d[K](re);return this.init(),this},Z.set=function(D,k){return this.clone().$set(D,k)},Z.get=function(D){return this[ae.p(D)]()},Z.add=function(D,k){var Y,ue=this;D=Number(D);var M=ae.p(k),K=function(be){var Me=me(ue);return ae.w(Me.date(Me.date()+Math.round(be*D)),ue)};if(M===w)return this.set(w,this.$M+D);if(M===U)return this.set(U,this.$y+D);if(M===y)return K(1);if(M===C)return K(7);var re=(Y={},Y[g]=s,Y[S]=p,Y[T]=d,Y)[M]||1,le=this.$d.getTime()+D*re;return ae.w(le,this)},Z.subtract=function(D,k){return this.add(-1*D,k)},Z.format=function(D){var k=this,Y=this.$locale();if(!this.isValid())return Y.invalidDate||H;var ue=D||"YYYY-MM-DDTHH:mm:ssZ",M=ae.z(this),K=this.$H,re=this.$m,le=this.$M,be=Y.weekdays,Me=Y.months,Oe=Y.meridiem,ze=function($e,Fe,Le,ye){return $e&&($e[Fe]||$e(k,ue))||Le[Fe].slice(0,ye)},qe=function($e){return ae.s(K%12||12,$e,"0")},Be=Oe||function($e,Fe,Le){var ye=$e<12?"AM":"PM";return Le?ye.toLowerCase():ye};return ue.replace(L,function($e,Fe){return Fe||function(Le){switch(Le){case"YY":return String(k.$y).slice(-2);case"YYYY":return ae.s(k.$y,4,"0");case"M":return le+1;case"MM":return ae.s(le+1,2,"0");case"MMM":return ze(Y.monthsShort,le,Me,3);case"MMMM":return ze(Me,le);case"D":return k.$D;case"DD":return ae.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return ze(Y.weekdaysMin,k.$W,be,2);case"ddd":return ze(Y.weekdaysShort,k.$W,be,3);case"dddd":return be[k.$W];case"H":return String(K);case"HH":return ae.s(K,2,"0");case"h":return qe(1);case"hh":return qe(2);case"a":return Be(K,re,!0);case"A":return Be(K,re,!1);case"m":return String(re);case"mm":return ae.s(re,2,"0");case"s":return String(k.$s);case"ss":return ae.s(k.$s,2,"0");case"SSS":return ae.s(k.$ms,3,"0");case"Z":return M}return null}($e)||M.replace(":","")})},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(D,k,Y){var ue,M=this,K=ae.p(k),re=me(D),le=(re.utcOffset()-this.utcOffset())*s,be=this-re,Me=function(){return ae.m(M,re)};switch(K){case U:ue=Me()/12;break;case w:ue=Me();break;case q:ue=Me()/3;break;case C:ue=(be-le)/6048e5;break;case y:ue=(be-le)/864e5;break;case S:ue=be/p;break;case g:ue=be/s;break;case T:ue=be/d;break;default:ue=be}return Y?ue:ae.a(ue)},Z.daysInMonth=function(){return this.endOf(w).$D},Z.$locale=function(){return J[this.$L]},Z.locale=function(D,k){if(!D)return this.$L;var Y=this.clone(),ue=W(D,k,!0);return ue&&(Y.$L=ue),Y},Z.clone=function(){return ae.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},te}(),ce=Te.prototype;return me.prototype=ce,[["$ms",b],["$s",T],["$m",g],["$H",S],["$W",y],["$M",w],["$y",U],["$D",R]].forEach(function(te){ce[te[1]]=function(Z){return this.$g(Z,te[0],te[1])}}),me.extend=function(te,Z){return te.$i||(te(Z,Te,me),te.$i=!0),me},me.locale=W,me.isDayjs=ie,me.unix=function(te){return me(1e3*te)},me.en=J[V],me.Ls=J,me.p={},me})}(eg)),eg.exports}var Uw=Fy.exports,Ex;function jw(){return Ex||(Ex=1,function(u,f){(function(d,s){u.exports=s(Sx())})(Uw,function(d){function s(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var p=s(d),b={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(T,g){return g==="W"?T+"周":T+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(T,g){var S=100*T+g;return S<600?"凌晨":S<900?"早上":S<1100?"上午":S<1300?"中午":S<1800?"下午":"晚上"}};return p.default.locale(b,null,!0),b})}(Fy)),Fy.exports}jw();var Tx={formatYear:"YYYY 年",formatMonth:"YYYY 年 MM 月",monthBeforeYear:!1,monthFormat:"M月",yearFormat:"YYYY年",today:"今天",view:{month:"月",year:"年",week:"周",day:"日"},month:{long:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"},short:{January:"一月",February:"二月",March:"三月",April:"四月",May:"五月",June:"六月",July:"七月",August:"八月",September:"九月",October:"十月",November:"十一月",December:"十二月"}},week:{long:{self:"周",monday:"周一",tuesday:"周二",wednesday:"周三",thursday:"周四",friday:"周五",saturday:"周六",sunday:"周日"},short:{self:"周",monday:"一",tuesday:"二",wednesday:"三",thursday:"四",friday:"五",saturday:"六",sunday:"日"}}};const kw={locale:"zh-CN",dayjsLocale:"zh-cn",Calendar:Tx,DatePicker:{Calendar:Tx,placeholder:{date:"请选择日期",week:"请选择周",month:"请选择月份",year:"请选择年份",quarter:"请选择季度"},placeholders:{date:["开始日期","结束日期"],week:["开始周","结束周"],month:["开始月份","结束月份"],year:["开始年份","结束年份"],quarter:["开始季度","结束季度"]},selectTime:"选择时间",selectDate:"选择日期",today:"今天",now:"此刻",ok:"确定"},Drawer:{okText:"确定",cancelText:"取消"},Empty:{noData:"暂无数据"},Modal:{okText:"确定",cancelText:"取消"},Pagination:{goto:"前往",page:"页",countPerPage:"条/页",total:"共 {0} 条",prev:"上一页",next:"下一页",currentPage:"第 {0} 页",prevSomePages:"向前 {0} 页",nextSomePages:"向后 {0} 页",pageSize:"页码"},Popconfirm:{okText:"确定",cancelText:"取消"},Table:{okText:"确定",resetText:"重置",sortAscend:"点击升序",sortDescend:"点击降序",cancelSort:"取消排序"},TimePicker:{ok:"确定",placeholder:"请选择时间",placeholders:["开始时间","结束时间"],now:"此刻"},Progress:{success:"完成",error:"失败"},Upload:{start:"开始",cancel:"取消",delete:"删除",reupload:"点击重试",upload:"点击上传",preview:"预览",drag:"点击或拖拽文件到此处上传",dragHover:"释放文件并开始上传",error:"上传失败"},Typography:{copy:"复制",copied:"已复制",edit:"编辑",fold:"折叠",unfold:"展开"},Transfer:{resetText:"重置"},ImagePreview:{fullScreen:"全屏",rotateRight:"向右旋转",rotateLeft:"向左旋转",zoomIn:"放大",zoomOut:"缩小",originalSize:"原始尺寸"},Form:{validateMessages:{required:"#{field} 是必填项",type:{string:"#{field} 不是合法的文本类型",number:"#{field} 不是合法的数字类型",boolean:"#{field} 不是合法的布尔类型",array:"#{field} 不是合法的数组类型",object:"#{field} 不是合法的对象类型",url:"#{field} 不是合法的 url 地址",email:"#{field} 不是合法的邮箱地址",ip:"#{field} 不是合法的 IP 地址"},number:{min:"`#{value}` 小于最小值 `#{min}`",max:"`#{value}` 大于最大值 `#{max}`",equal:"`#{value}` 不等于 `#{equal}`",range:"`#{value}` 不在 `#{min} ~ #{max}` 范围内",positive:"`#{value}` 不是正数",negative:"`#{value}` 不是负数"},array:{length:"`#{field}` 个数不等于 #{length}",minLength:"`#{field}` 个数最少为 #{minLength}",maxLength:"`#{field}` 个数最多为 #{maxLength}",includes:"#{field} 不包含 #{includes}",deepEqual:"#{field} 不等于 #{deepEqual}",empty:"`#{field}` 不是空数组"},string:{minLength:"字符数最少为 #{minLength}",maxLength:"字符数最多为 #{maxLength}",length:"字符数必须是 #{length}",match:"`#{value}` 不符合模式 #{pattern}",uppercase:"`#{value}` 必须全大写",lowercase:"`#{value}` 必须全小写"},object:{deepEqual:"`#{field}` 不等于期望值",hasKeys:"`#{field}` 不包含必须字段",empty:"`#{field}` 不是对象"},boolean:{true:"期望是 `true`",false:"期望是 `false`"}}},ColorPicker:{history:"最近使用颜色",preset:"系统预设颜色",empty:"暂无",singleColor:"单色",gradientColor:"渐变色"}};function xx(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function Ox(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?xx(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):xx(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function Lw(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=Ox(Ox({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-empty")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M24 5v6m7 1 4-4m-18 4-4-4m28.5 22H28s-1 3-4 3-4-3-4-3H6.5M40 41H8a2 2 0 0 1-2-2v-8.46a2 2 0 0 1 .272-1.007l6.15-10.54A2 2 0 0 1 14.148 18H33.85a2 2 0 0 1 1.728.992l6.149 10.541A2 2 0 0 1 42 30.541V39a2 2 0 0 1-2 2Z"}))}var Vb=O.forwardRef(Lw);Vb.defaultProps={isIcon:!0},Vb.displayName="IconEmpty";var Yb=function(){return Yb=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Yb.apply(this,arguments)};function Ih(u,f){var d=Yb({},u);return f.forEach(function(s){s in d&&delete d[s]}),d}var tg=function(){return tg=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},tg.apply(this,arguments)};function Wh(u,f,d){var s=u._ignorePropsFromGlobal,p=O.useMemo(function(){return tg(tg({},f),s?{}:d)},[f,d,s]),b=O.useMemo(function(){var T=Ih(u,["_ignorePropsFromGlobal"]);for(var g in p)T[g]===void 0&&(T[g]=p[g]);return T},[u,p]);return b}var $b=function(){return $b=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},$b.apply(this,arguments)},Bw=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function Vw(u,f){var d=O.useContext(Qa),s=d.getPrefixCls,p=d.locale,b=d.componentConfig,T=Wh(u,{},b?.Empty),g=T.style,S=T.className,y=T.description,C=T.icon,w=T.imgSrc,q=Bw(T,["style","className","description","icon","imgSrc"]),U=s("empty"),R=Dn(U,S),H=p.Empty.noData,A=typeof y=="string"?y:"empty";return O.createElement("div",$b({ref:f,className:R,style:g},q),O.createElement("div",{className:U+"-wrapper"},O.createElement("div",{className:U+"-image"},w?O.createElement("img",{alt:A,src:w}):C||O.createElement(Vb,null)),O.createElement("div",{className:U+"-description"},y||H)))}var Cx=O.forwardRef(Vw);Cx.displayName="Empty";const Yw=O.memo(Cx);var Gb=function(){return Gb=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Gb.apply(this,arguments)};function $w(u){return O.createElement(Yw,null)}var Gw={locale:kw,prefixCls:"arco",getPopupContainer:function(){return document.body},size:"default",renderEmpty:$w,focusLock:{modal:{autoFocus:!0},drawer:{autoFocus:!0}}},Qa=O.createContext(Gb({getPrefixCls:function(u,f){return(f||"arco")+"-"+u}},Gw)),_x=function(){return _x=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},_x.apply(this,arguments)};Qa.Consumer;var Xb,Ax;function bu(){if(Ax)return Xb;Ax=1;function u(f){var d=typeof f;return f!=null&&(d=="object"||d=="function")}return Xb=u,Xb}var Pb,wx;function Dx(){if(wx)return Pb;wx=1;var u=typeof Qy=="object"&&Qy&&Qy.Object===Object&&Qy;return Pb=u,Pb}var Qb,Mx;function js(){if(Mx)return Qb;Mx=1;var u=Dx(),f=typeof self=="object"&&self&&self.Object===Object&&self,d=u||f||Function("return this")();return Qb=d,Qb}var Zb,zx;function Xw(){if(zx)return Zb;zx=1;var u=js(),f=function(){return u.Date.now()};return Zb=f,Zb}var Kb,Nx;function Pw(){if(Nx)return Kb;Nx=1;var u=/\s/;function f(d){for(var s=d.length;s--&&u.test(d.charAt(s)););return s}return Kb=f,Kb}var Jb,Rx;function Qw(){if(Rx)return Jb;Rx=1;var u=Pw(),f=/^\s+/;function d(s){return s&&s.slice(0,u(s)+1).replace(f,"")}return Jb=d,Jb}var Ib,qx;function Hx(){if(qx)return Ib;qx=1;var u=js(),f=u.Symbol;return Ib=f,Ib}var Wb,Ux;function Zw(){if(Ux)return Wb;Ux=1;var u=Hx(),f=Object.prototype,d=f.hasOwnProperty,s=f.toString,p=u?u.toStringTag:void 0;function b(T){var g=d.call(T,p),S=T[p];try{T[p]=void 0;var y=!0}catch{}var C=s.call(T);return y&&(g?T[p]=S:delete T[p]),C}return Wb=b,Wb}var Fb,jx;function Kw(){if(jx)return Fb;jx=1;var u=Object.prototype,f=u.toString;function d(s){return f.call(s)}return Fb=d,Fb}var e1,kx;function Fh(){if(kx)return e1;kx=1;var u=Hx(),f=Zw(),d=Kw(),s="[object Null]",p="[object Undefined]",b=u?u.toStringTag:void 0;function T(g){return g==null?g===void 0?p:s:b&&b in Object(g)?f(g):d(g)}return e1=T,e1}var t1,Lx;function _d(){if(Lx)return t1;Lx=1;function u(f){return f!=null&&typeof f=="object"}return t1=u,t1}var n1,Bx;function Jw(){if(Bx)return n1;Bx=1;var u=Fh(),f=_d(),d="[object Symbol]";function s(p){return typeof p=="symbol"||f(p)&&u(p)==d}return n1=s,n1}var a1,Vx;function Iw(){if(Vx)return a1;Vx=1;var u=Qw(),f=bu(),d=Jw(),s=NaN,p=/^[-+]0x[0-9a-f]+$/i,b=/^0b[01]+$/i,T=/^0o[0-7]+$/i,g=parseInt;function S(y){if(typeof y=="number")return y;if(d(y))return s;if(f(y)){var C=typeof y.valueOf=="function"?y.valueOf():y;y=f(C)?C+"":C}if(typeof y!="string")return y===0?y:+y;y=u(y);var w=b.test(y);return w||T.test(y)?g(y.slice(2),w?2:8):p.test(y)?s:+y}return a1=S,a1}var l1,Yx;function $x(){if(Yx)return l1;Yx=1;var u=bu(),f=Xw(),d=Iw(),s="Expected a function",p=Math.max,b=Math.min;function T(g,S,y){var C,w,q,U,R,H,A=0,L=!1,B=!1,P=!0;if(typeof g!="function")throw new TypeError(s);S=d(S)||0,u(y)&&(L=!!y.leading,B="maxWait"in y,q=B?p(d(y.maxWait)||0,S):q,P="trailing"in y?!!y.trailing:P);function Q(ce){var te=C,Z=w;return C=w=void 0,A=ce,U=g.apply(Z,te),U}function V(ce){return A=ce,R=setTimeout(ie,S),L?Q(ce):U}function J(ce){var te=ce-H,Z=ce-A,D=S-te;return B?b(D,q-Z):D}function ne(ce){var te=ce-H,Z=ce-A;return H===void 0||te>=S||te<0||B&&Z>=q}function ie(){var ce=f();if(ne(ce))return W(ce);R=setTimeout(ie,J(ce))}function W(ce){return R=void 0,P&&C?Q(ce):(C=w=void 0,U)}function me(){R!==void 0&&clearTimeout(R),A=0,C=H=w=R=void 0}function ae(){return R===void 0?U:W(f())}function Te(){var ce=f(),te=ne(ce);if(C=arguments,w=this,H=ce,te){if(R===void 0)return V(H);if(B)return clearTimeout(R),R=setTimeout(ie,S),Q(H)}return R===void 0&&(R=setTimeout(ie,S)),U}return Te.cancel=me,Te.flush=ae,Te}return l1=T,l1}var r1,Gx;function Ww(){if(Gx)return r1;Gx=1;var u=$x(),f=bu(),d="Expected a function";function s(p,b,T){var g=!0,S=!0;if(typeof p!="function")throw new TypeError(d);return f(T)&&(g="leading"in T?!!T.leading:g,S="trailing"in T?!!T.trailing:S),u(p,b,{leading:g,maxWait:b,trailing:S})}return r1=s,r1}var Fw=Ww();const eD=sr(Fw);function i1(u){var f={};return u&&Object.keys(u).forEach(function(d){var s=String(d);s.indexOf("data-")===0&&(f[s]=u[s]),s.indexOf("aria-")===0&&(f[s]=u[s])}),f}var Xx=function(){};function ng(u){return Array.apply(null,Array(u))}var ag=function(){try{return!(typeof window<"u"&&document!==void 0)}catch{return!0}}(),u1=function(){return ag?Xx:function(u,f,d,s){u&&u.addEventListener(f,d,s||!1)}}(),o1=function(){return ag?Xx:function(u,f,d,s){u&&u.removeEventListener(f,d,s||!1)}}(),Px=function(u,f){if(!u)return!1;if(u.contains)return u.contains(f);for(var d=f;d;){if(d===u)return!0;d=d.parentNode}return!1},Qx=function(u){var f=u===document.documentElement?u.clientHeight:u.offsetHeight,d=u===document.documentElement?u.clientWidth:u.offsetWidth;return u.scrollHeight>f||u.scrollWidth>d},tD=function(u,f){f===void 0&&(f=document.documentElement);for(var d=[],s=u;s&&s!==f;)Qx(s)&&d.push(s),s=s.parentElement;return d};function nD(){var u=O.useRef(!0);return O.useEffect(function(){u.current=!1},[]),u.current}var ks=typeof window>"u"?global:window,aD=["webkit","ms","moz","o"],so=ks.requestAnimationFrame,qi=ks.cancelAnimationFrame;if((!so||!qi)&&(aD.some(function(u){return so=ks[u+"RequestAnimationFrame"],qi=ks[u+"CancelAnimationFrame"]||ks[u+"CancelRequestAnimationFrame"],so&&qi}),!so||!qi)){var Zx=0;so=function(u){var f=Date.now(),d=Math.max(0,16-(f-Zx)),s=setTimeout(function(){u(),Zx=f+d},d);return s},qi=function(u){clearTimeout(u)}}so=so.bind(ks),qi=qi.bind(ks);var lD=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},rD=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))};function Kx(u){var f=null,d=function(){for(var s=[],p=0;p<arguments.length;p++)s[p]=arguments[p];f&&qi(f),f=so(function(){u.apply(void 0,rD([],lD(s),!1)),f=null})};return d.cancel=function(){qi(f),f=null},d}var Jx=function(){if(typeof Map<"u")return Map;function u(f,d){var s=-1;return f.some(function(p,b){return p[0]===d?(s=b,!0):!1}),s}return function(){function f(){this.__entries__=[]}return Object.defineProperty(f.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),f.prototype.get=function(d){var s=u(this.__entries__,d),p=this.__entries__[s];return p&&p[1]},f.prototype.set=function(d,s){var p=u(this.__entries__,d);~p?this.__entries__[p][1]=s:this.__entries__.push([d,s])},f.prototype.delete=function(d){var s=this.__entries__,p=u(s,d);~p&&s.splice(p,1)},f.prototype.has=function(d){return!!~u(this.__entries__,d)},f.prototype.clear=function(){this.__entries__.splice(0)},f.prototype.forEach=function(d,s){s===void 0&&(s=null);for(var p=0,b=this.__entries__;p<b.length;p++){var T=b[p];d.call(s,T[1],T[0])}},f}()}(),c1=typeof window<"u"&&typeof document<"u"&&window.document===document,lg=function(){return typeof global<"u"&&global.Math===Math?global:typeof self<"u"&&self.Math===Math?self:typeof window<"u"&&window.Math===Math?window:Function("return this")()}(),iD=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(lg):function(u){return setTimeout(function(){return u(Date.now())},1e3/60)}}(),uD=2;function oD(u,f){var d=!1,s=!1,p=0;function b(){d&&(d=!1,u()),s&&g()}function T(){iD(b)}function g(){var S=Date.now();if(d){if(S-p<uD)return;s=!0}else d=!0,s=!1,setTimeout(T,f);p=S}return g}var cD=20,sD=["top","right","bottom","left","width","height","size","weight"],fD=typeof MutationObserver<"u",dD=function(){function u(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=oD(this.refresh.bind(this),cD)}return u.prototype.addObserver=function(f){~this.observers_.indexOf(f)||this.observers_.push(f),this.connected_||this.connect_()},u.prototype.removeObserver=function(f){var d=this.observers_,s=d.indexOf(f);~s&&d.splice(s,1),!d.length&&this.connected_&&this.disconnect_()},u.prototype.refresh=function(){var f=this.updateObservers_();f&&this.refresh()},u.prototype.updateObservers_=function(){var f=this.observers_.filter(function(d){return d.gatherActive(),d.hasActive()});return f.forEach(function(d){return d.broadcastActive()}),f.length>0},u.prototype.connect_=function(){!c1||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),fD?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},u.prototype.disconnect_=function(){!c1||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},u.prototype.onTransitionEnd_=function(f){var d=f.propertyName,s=d===void 0?"":d,p=sD.some(function(b){return!!~s.indexOf(b)});p&&this.refresh()},u.getInstance=function(){return this.instance_||(this.instance_=new u),this.instance_},u.instance_=null,u}(),Ix=function(u,f){for(var d=0,s=Object.keys(f);d<s.length;d++){var p=s[d];Object.defineProperty(u,p,{value:f[p],enumerable:!1,writable:!1,configurable:!0})}return u},Ad=function(u){var f=u&&u.ownerDocument&&u.ownerDocument.defaultView;return f||lg},Wx=ig(0,0,0,0);function rg(u){return parseFloat(u)||0}function Fx(u){for(var f=[],d=1;d<arguments.length;d++)f[d-1]=arguments[d];return f.reduce(function(s,p){var b=u["border-"+p+"-width"];return s+rg(b)},0)}function pD(u){for(var f=["top","right","bottom","left"],d={},s=0,p=f;s<p.length;s++){var b=p[s],T=u["padding-"+b];d[b]=rg(T)}return d}function hD(u){var f=u.getBBox();return ig(0,0,f.width,f.height)}function mD(u){var f=u.clientWidth,d=u.clientHeight;if(!f&&!d)return Wx;var s=Ad(u).getComputedStyle(u),p=pD(s),b=p.left+p.right,T=p.top+p.bottom,g=rg(s.width),S=rg(s.height);if(s.boxSizing==="border-box"&&(Math.round(g+b)!==f&&(g-=Fx(s,"left","right")+b),Math.round(S+T)!==d&&(S-=Fx(s,"top","bottom")+T)),!yD(u)){var y=Math.round(g+b)-f,C=Math.round(S+T)-d;Math.abs(y)!==1&&(g-=y),Math.abs(C)!==1&&(S-=C)}return ig(p.left,p.top,g,S)}var vD=function(){return typeof SVGGraphicsElement<"u"?function(u){return u instanceof Ad(u).SVGGraphicsElement}:function(u){return u instanceof Ad(u).SVGElement&&typeof u.getBBox=="function"}}();function yD(u){return u===Ad(u).document.documentElement}function gD(u){return c1?vD(u)?hD(u):mD(u):Wx}function bD(u){var f=u.x,d=u.y,s=u.width,p=u.height,b=typeof DOMRectReadOnly<"u"?DOMRectReadOnly:Object,T=Object.create(b.prototype);return Ix(T,{x:f,y:d,width:s,height:p,top:d,right:f+s,bottom:p+d,left:f}),T}function ig(u,f,d,s){return{x:u,y:f,width:d,height:s}}var SD=function(){function u(f){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=ig(0,0,0,0),this.target=f}return u.prototype.isActive=function(){var f=gD(this.target);return this.contentRect_=f,f.width!==this.broadcastWidth||f.height!==this.broadcastHeight},u.prototype.broadcastRect=function(){var f=this.contentRect_;return this.broadcastWidth=f.width,this.broadcastHeight=f.height,f},u}(),ED=function(){function u(f,d){var s=bD(d);Ix(this,{target:f,contentRect:s})}return u}(),TD=function(){function u(f,d,s){if(this.activeObservations_=[],this.observations_=new Jx,typeof f!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=f,this.controller_=d,this.callbackCtx_=s}return u.prototype.observe=function(f){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(f instanceof Ad(f).Element))throw new TypeError('parameter 1 is not of type "Element".');var d=this.observations_;d.has(f)||(d.set(f,new SD(f)),this.controller_.addObserver(this),this.controller_.refresh())}},u.prototype.unobserve=function(f){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(f instanceof Ad(f).Element))throw new TypeError('parameter 1 is not of type "Element".');var d=this.observations_;d.has(f)&&(d.delete(f),d.size||this.controller_.removeObserver(this))}},u.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},u.prototype.gatherActive=function(){var f=this;this.clearActive(),this.observations_.forEach(function(d){d.isActive()&&f.activeObservations_.push(d)})},u.prototype.broadcastActive=function(){if(this.hasActive()){var f=this.callbackCtx_,d=this.activeObservations_.map(function(s){return new ED(s.target,s.broadcastRect())});this.callback_.call(f,d,f),this.clearActive()}},u.prototype.clearActive=function(){this.activeObservations_.splice(0)},u.prototype.hasActive=function(){return this.activeObservations_.length>0},u}(),eO=typeof WeakMap<"u"?new WeakMap:new Jx,tO=function(){function u(f){if(!(this instanceof u))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var d=dD.getInstance(),s=new TD(f,d,this);eO.set(this,s)}return u}();["observe","unobserve","disconnect"].forEach(function(u){tO.prototype[u]=function(){var f;return(f=eO.get(this))[u].apply(f,arguments)}});var nO=function(){return typeof lg.ResizeObserver<"u"?lg.ResizeObserver:tO}(),xD=function(){var u=function(f,d){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,p){s.__proto__=p}||function(s,p){for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(s[b]=p[b])},u(f,d)};return function(f,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");u(f,d);function s(){this.constructor=f}f.prototype=d===null?Object.create(d):(s.prototype=d.prototype,new s)}}(),aO=function(u){xD(f,u);function f(){var d=u!==null&&u.apply(this,arguments)||this;return d.getRootElement=function(){var s=d.props.getTargetDOMNode;return hx(s?.()||d.rootDOMRef,d)},d.getRootDOMNode=function(){return d.getRootElement()},d.componentWillUnmount=function(){d.resizeObserver&&d.destroyResizeObserver()},d.createResizeObserver=function(){var s=d.props.throttle,p=s===void 0?!0:s,b=function(y){var C,w;(w=(C=d.props).onResize)===null||w===void 0||w.call(C,y)},T=p?eD(b):b,g=!0;d.resizeObserver=new nO(function(y){g&&(g=!1,b(y)),T(y)});var S=d.getRootElement();S&&d.resizeObserver.observe(S)},d.destroyResizeObserver=function(){d.resizeObserver&&d.resizeObserver.disconnect(),d.resizeObserver=null},d}return f.prototype.componentDidMount=function(){O.isValidElement(this.props.children)?this.createResizeObserver():console.warn("The children of ResizeObserver is invalid.")},f.prototype.componentDidUpdate=function(){!this.resizeObserver&&this.getRootElement()&&this.createResizeObserver()},f.prototype.render=function(){var d=this,s=this.props.children;return ZT(s)&&O.isValidElement(s)&&!this.props.getTargetDOMNode?O.cloneElement(s,{ref:function(p){d.rootDOMRef=p,mx(s,p)}}):(this.rootDOMRef=null,this.props.children)},f}(O.Component),em=function(u){return function(f){return Math.pow(f,u)}},tm=function(u){return function(f){return 1-Math.abs(Math.pow(f-1,u))}},ug=function(u){return function(f){return f<.5?em(u)(f*2)/2:tm(u)(f*2-1)/2+.5}},OD=function(u){return u},CD=em(2),_D=tm(2),AD=ug(2),wD=em(3),DD=tm(3),MD=ug(3),zD=em(4),ND=tm(4),RD=ug(4),qD=em(5),HD=tm(5),UD=ug(5),jD=function(u){return 1+Math.sin(Math.PI/2*u-Math.PI/2)},kD=function(u){return Math.sin(Math.PI/2*u)},LD=function(u){return(1+Math.sin(Math.PI*u-Math.PI/2))/2},s1=function(u){var f=7.5625,d=2.75;return u<1/d?f*u*u:u<2/d?(u-=1.5/d,f*u*u+.75):u<2.5/d?(u-=2.25/d,f*u*u+.9375):(u-=2.625/d,f*u*u+.984375)},lO=function(u){return 1-s1(1-u)},BD=function(u){return u<.5?lO(u*2)*.5:s1(u*2-1)*.5+.5},VD=Object.freeze({linear:OD,quadIn:CD,quadOut:_D,quadInOut:AD,cubicIn:wD,cubicOut:DD,cubicInOut:MD,quartIn:zD,quartOut:ND,quartInOut:RD,quintIn:qD,quintOut:HD,quintInOut:UD,sineIn:jD,sineOut:kD,sineInOut:LD,bounceOut:s1,bounceIn:lO,bounceInOut:BD}),og=function(f){var d=f.from,s=f.to,p=f.duration,b=f.delay,T=f.easing,g=f.onStart,S=f.onUpdate,y=f.onFinish;for(var C in d)s[C]===void 0&&(s[C]=d[C]);for(var w in s)d[w]===void 0&&(d[w]=s[w]);this.from=d,this.to=s,this.duration=p||500,this.delay=b||0,this.easing=T||"linear",this.onStart=g,this.onUpdate=S||function(){},this.onFinish=y,this.startTime=Date.now()+this.delay,this.started=!1,this.finished=!1,this.timer=null,this.keys={}};og.prototype.update=function(){if(this.time=Date.now(),!(this.time<this.startTime)&&!this.finished){if(this.elapsed===this.duration){this.finished||(this.finished=!0,this.onFinish&&this.onFinish(this.keys));return}this.elapsed=this.time-this.startTime,this.elapsed=this.elapsed>this.duration?this.duration:this.elapsed;for(var f in this.to)this.keys[f]=this.from[f]+(this.to[f]-this.from[f])*VD[this.easing](this.elapsed/this.duration);this.started||(this.onStart&&this.onStart(this.keys),this.started=!0),this.onUpdate(this.keys)}},og.prototype.start=function(){var f=this;this.startTime=Date.now()+this.delay;var d=function(){f.update(),f.timer=requestAnimationFrame(d),f.finished&&(cancelAnimationFrame(f.timer),f.timer=null)};d()},og.prototype.stop=function(){cancelAnimationFrame(this.timer),this.timer=null};var f1=function(){return f1=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},f1.apply(this,arguments)},YD=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function $D(u,f){var d=u.className,s=u.style,p=u.children,b=YD(u,["className","style","children"]),T=O.useContext(Qa).getPrefixCls,g=T("btn-group"),S=Dn(g,d);return O.createElement("div",f1({ref:f,className:S,style:s},b),p)}var rO=O.forwardRef($D);rO.displayName="ButtonGroup";var nm=function(){return nm=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},nm.apply(this,arguments)},GD=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d},XD=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},PD=/^[\u4e00-\u9fa5]{2}$/;function QD(u){var f=[],d=!1;return O.Children.forEach(u,function(s){var p=typeof s=="string"||typeof s=="number";if(p&&d){var b=f.length-1,T=f[b];f[b]=""+T+s}else f.push(s);d=p}),O.Children.map(f,function(s){return typeof s=="string"?O.createElement("span",null,s):s})}var ZD={htmlType:"button",type:"default",shape:"square"};function KD(u,f){var d,s=O.useContext(Qa),p=s.getPrefixCls,b=s.size,T=s.autoInsertSpaceInButton,g=s.componentConfig,S=s.rtl,y=Wh(u,ZD,g?.Button),C=y.style,w=y.className,q=y.children,U=y.htmlType,R=y.type,H=y.status,A=y.size,L=y.shape,B=y.href,P=y.anchorProps,Q=y.disabled,V=y.loading,J=y.loadingFixedWidth,ne=y.icon,ie=y.iconOnly,W=y.onClick,me=y.long,ae=GD(y,["style","className","children","htmlType","type","status","size","shape","href","anchorProps","disabled","loading","loadingFixedWidth","icon","iconOnly","onClick","long"]),Te=V?O.createElement(Lb,null):ne,ce=XD(O.useState(!1),2),te=ce[0],Z=ce[1],D=O.useRef(),k=f||D;O.useEffect(function(){if(T&&k&&k.current){var be=k.current.textContent;PD.test(be)?te||Z(!0):te&&Z(!1)}},[k.current,T]);var Y=p("btn"),ue=R==="default"?"secondary":R,M=Dn(Y,Y+"-"+ue,Y+"-size-"+(A||b),Y+"-shape-"+L,(d={},d[Y+"-long"]=me,d[Y+"-status-"+H]=H,d[Y+"-loading-fixed-width"]=J,d[Y+"-loading"]=V,d[Y+"-link"]=B,d[Y+"-icon-only"]=ie||!q&&q!==0&&Te,d[Y+"-disabled"]=Q,d[Y+"-two-chinese-chars"]=te,d[Y+"-rtl"]=S,d),w),K=function(be){if(V||Q){typeof be?.preventDefault=="function"&&be.preventDefault();return}W&&W(be)},re=O.createElement(O.Fragment,null,Te,QD(q));if(B){var le=nm({},P);return Q?delete le.href:le.href=B,O.createElement("a",nm({ref:k},ae,le,{style:C,className:M,onClick:K}),re)}return O.createElement("button",nm({ref:k},ae,{style:C,className:M,type:U,disabled:Q,onClick:K}),re)}var JD=O.forwardRef(KD),fo=JD;fo.__BYTE_BUTTON=!0,fo.Group=rO,fo.displayName="Button";function am(u){var f=O.useRef();return O.useEffect(function(){f.current=u}),f.current}var d1={code:13},iO={key:"Escape",code:27},ID={code:9},WD={code:38},FD={code:40},eM={code:37},tM={code:39};function nM(u){var f=O.useCallback(function(d){return{onKeyDown:function(s){var p,b,T,g,S,y,C=s.keyCode||s.which;C===d1.code&&((p=d.onPressEnter)===null||p===void 0||p.call(d,s)),C===FD.code&&((b=d.onArrowDown)===null||b===void 0||b.call(d,s)),C===eM.code&&((T=d.onArrowLeft)===null||T===void 0||T.call(d,s)),C===tM.code&&((g=d.onArrowRight)===null||g===void 0||g.call(d,s)),C===WD.code&&((S=d.onArrowUp)===null||S===void 0||S.call(d,s)),(y=u?.onKeyDown)===null||y===void 0||y.call(u,s)}}},[]);return f}var aM=function(u){var f=u.getContainer,d=u.children,s=O.useRef(),p=nD();return(p||s.current===null)&&!ag&&(s.current=f()),O.useEffect(function(){return function(){var b=s.current;b&&b.parentNode&&(b.parentNode.removeChild(b),s.current=null)}},[]),s.current?xl.createPortal(d,s.current):null},wd=function(){return wd=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},wd.apply(this,arguments)},Dd=0,cg=function(u,f){var d=f.position,s=u.getBoundingClientRect(),p=s.width,b=s.height,T=s.left,g=s.right,S=s.top,y=s.bottom,C=f.boundaryDistance||{},w="left"in C&&C.left||Dd,q="top"in C&&C.top||Dd,U,R,H,A;return["bottom","bl","br"].indexOf(d)>-1?(H=S,A=y):(H=S-q,A=y-q),["right","rt","rb"].indexOf(d)>-1?(U=T,R=g):(U=T-w,R=g-w),{width:p,height:b,left:U,right:R,top:H,bottom:A}};function lM(u,f,d,s){if(!d||!u||ag)return{left:0,width:0,height:0,top:0};var p=function(H){return document.documentElement[H]||document.body[H]},b=d===document.body?p("scrollTop"):d.scrollTop,T=d===document.body?p("scrollLeft"):d.scrollLeft,g=f.left,S=f.top,y=f.width,C=f.height,w=d===document.body?0:cg(d,s).left,q=d===document.body?0:cg(d,s).top,U=S+b-q,R=g+T-w;return{left:R,top:U,width:y,height:C}}var Ur=function(u,f,d){return d<u?u:d>f?f:d},rM=function(u,f){var d=0,s=0,p={};f?p=wd({left:12,right:12,top:12,bottom:12},u):p=wd({},u);for(var b in p)if(Yt(p[b])){var T=0;["top","bottom"].indexOf(b)>-1?(T=1,d=p[b][0]):s=p[b][1],p[b]=p[b][T]}return wd(wd({},p),{horizontalOffset:d,verticalOffset:s})},iM=function(u,f,d){var s=d.boundaryDistance,p=d.position;return f?{left:f.clientX,top:f.clientY,width:0,height:0,right:f.clientX,bottom:f.clientY}:cg(u,{boundaryDistance:s,position:p})},uM=function(u){var f=u.offsetWidth,d=u.offsetHeight;return{width:f,height:d}},oM=function(u){var f,d,s=u||{},p="left"in s?s.left:"right"in s?s.right:Dd,b="top"in s?s.top:"bottom"in s?s.bottom:Dd,T=(((f=document.documentElement)===null||f===void 0?void 0:f.clientHeight)||window.innerHeight)-(b||Dd),g=(((d=document.documentElement)===null||d===void 0?void 0:d.clientWidth)||window.innerWidth)-(p||Dd);return{windowHeight:T,windowWidth:g}};const cM=function(u,f,d,s,p){var b=u.autoAlignPopupWidth,T=u.autoAlignPopupMinWidth,g=u.alignPoint,S=u.style;if(!d||!f||!s)return{};var y={},C=!u.alignPoint&&u.boundaryDistance||{},w=iM(d,g&&p,{boundaryDistance:C,position:u.position}),q=lM(d,w,s,{boundaryDistance:C,position:u.position}),U=q.left,R=q.top,H=q.width,A=q.height,L=rM(u.popupAlign,u.showArrow),B=L.left||0,P=L.right||0,Q=L.top||0,V=L.bottom||0;b&&S?.width===void 0&&(f.style.width=d.offsetWidth+"px"),T&&(f.style.minWidth=d.offsetWidth+"px");var J=uM(f),ne=u.position,ie={},W=function(Y){if(u.autoFitPosition){var ue=oM(C),M=ue.windowHeight,K=ue.windowWidth,re=!1,le={left:U-w.left,top:R-w.top},be=y.top,Me=be===void 0?0:be,Oe=y.left,ze=Oe===void 0?0:Oe;if((Y==="top"||Y==="bottom")&&(le.left>ze&&w.right>12?(y.left=Math.max(le.left,U-J.width),y.left=Math.max(y.left,U-J.width+24)):ze-le.left+J.width>K&&K-w.left>12&&(y.left=Math.max(le.left,le.left+K-J.width),y.left=Math.max(y.left,U-J.width+24))),(Y==="left"||Y==="right")&&(le.top>Me&&w.bottom>12?(y.top=le.top,y.top=Math.max(y.top,R-J.height+w.height/2)):Me-le.top+J.height>M&&M-w.top>12&&(y.top=Math.max(le.top,le.top+M-J.height),y.top=Math.max(y.top,R-J.height+w.height/2))),Y==="top"&&le.top>Me&&(w.top<M-w.bottom?(y.top=Math.min(R+A+(Q||0),le.top+M-J.height),re=!0):y.top=le.top),Y==="bottom"&&Me-le.top+J.height>M&&(M-w.bottom<w.top?(y.top=Math.max(R-J.height-(V||0),le.top),re=!0):y.top=le.top+M-J.height),Y==="left"&&le.left>ze&&(w.left<K-w.right?(y.left=Math.min(H+U+P,le.left+K-J.width),re=!0):y.left=le.left),Y==="right"&&ze-le.left+J.width>K&&(K-w.right<w.left?(y.left=Math.max(U-J.width-B,le.left),re=!0):y.left=le.left+K-J.width),y.left<0)y.left=0;else{var qe=s.scrollWidth-J.width;y.left=Math.min(qe,y.left)}return re}},me=L.horizontalOffset||0,ae=L.verticalOffset||0;switch(u.position){case"top":{y.top=R-J.height-Q,y.left=U+H/2-J.width/2,W("top")&&(ne="bottom"),y.left+=me;var Te=U-Number(y.left)+H/2;ie.left=Ur(12,J.width-12,Te);break}case"tl":y.top=R-J.height-Q,y.left=U,W("top")&&(ne="bl"),y.left+=me;var ce=U-Number(y.left)+Math.min(H/2,50);ie.left=Ur(12,J.width-12,ce);break;case"tr":y.top=-f.clientHeight+R-Q,y.left=U+H-J.width,W("top")&&(ne="br"),y.left+=me,ce=U-Number(y.left)+Math.max(H/2,H-50),ie.left=Ur(12,J.width-12,ce);break;case"bottom":{y.top=A+R+V,y.left=U+H/2-J.width/2,W("bottom")&&(ne="top"),y.left+=me;var te=U-Number(y.left)+H/2;ie.left=Ur(12,J.width-12,te);break}case"bl":y.top=A+R+V,y.left=U,W("bottom")&&(ne="tl"),y.left+=me,ce=U-Number(y.left)+Math.min(H/2,50),ie.left=Ur(12,J.width-12,ce);break;case"br":y.top=A+R+V,y.left=U+H-J.width,W("bottom")&&(ne="tr"),y.left+=me,ce=U-Number(y.left)+Math.max(H/2,H-50),ie.left=Ur(12,J.width-12,ce);break;case"left":{y.top=R+A/2-J.height/2,y.left=U-J.width-B,W("left")&&(ne="right"),y.top+=ae;var Z=R-Number(y.top)+A/2;ie.top=Ur(12,J.height-12,Z);break}case"lt":y.top=R,y.left=U-J.width-B,W("left")&&(ne="rt"),y.top+=ae;var D=R-Number(y.top)+Math.min(A/2,50);ie.top=Ur(12,J.height-12,D);break;case"lb":y.top=R+A-J.height,y.left=U-J.width-B,W("left")&&(ne="rb"),y.top+=ae,D=R-Number(y.top)+Math.max(A/2,A-50),ie.top=Ur(12,J.height-12,D);break;case"right":{y.top=R+A/2-J.height/2,y.left=H+U+P,W("right")&&(ne="left"),y.top+=ae;var k=R-Number(y.top)+A/2;ie.top=Ur(12,J.height-12,k);break}case"rt":y.top=R,y.left=H+U+P,W("right")&&(ne="lt"),y.top+=ae,D=R-Number(y.top)+Math.min(A/2,50),ie.top=Ur(12,J.height-12,D);break;case"rb":y.top=R+A-J.height,y.left=H+U+P,W("right")&&(ne="lb"),y.top+=ae,D=R-Number(y.top)+Math.max(A/2,A-50),ie.top=Ur(12,J.height-12,D);break}return{style:y,arrowStyle:ie,realPosition:ne}};function sM(u,f,d,s){var p=f||{},b=d||{},T=u||{},g=s?new Set(s):new Set(Object.keys(T).concat(Object.keys(p)).concat(Object.keys(b))),S={};return g.forEach(function(y){T[y]!==void 0?S[y]=T[y]:y in b?S[y]=b[y]:y in p&&(S[y]=p[y])}),S}var fM=function(){var u=function(f,d){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,p){s.__proto__=p}||function(s,p){for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(s[b]=p[b])},u(f,d)};return function(f,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");u(f,d);function s(){this.constructor=f}f.prototype=d===null?Object.create(d):(s.prototype=d.prototype,new s)}}(),ta=function(){return ta=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},ta.apply(this,arguments)};function uO(u,f){if(!u)return{};var d=cg(u,f),s=d.width,p=d.height,b=d.left,T=d.right;return{width:s,height:p,left:b,right:T}}function dM(u,f){var d={},s=ta({},u);return f.forEach(function(p){u&&p in u&&(d[p]=u[p],delete s[p])}),{picked:d,omitted:s}}var pM={blurToHide:!0,classNames:"fadeIn",trigger:"hover",position:"bottom",duration:200,unmountOnExit:!0,popupAlign:{},popupHoverStay:!0,clickOutsideToClose:!0,escToClose:!1,mouseLeaveToClose:!0,containerScrollToClose:!1,getDocument:function(){return window.document},autoFixPosition:!0,mouseEnterDelay:100,mouseLeaveDelay:100,autoFitPosition:!0},oO=function(u){fM(f,u);function f(d,s){var p=u.call(this,d,s)||this;p.delayTimer=null,p.updatePositionTimer=null,p.popupOpen=!1,p.mousedownToHide=!1,p.hasPopupMouseDown=!1,p.unmount=!1,p.isDidMount=!1,p.mouseLocation={clientX:0,clientY:0},p.observerContainer=null,p.scrollElements=null,p.resizeObserver=new nO(function(){p.handleUpdatePosition()}),p.childrenDom=null,p.childrenDomSize={},p.getMergedProps=function(g){var S=p.context.componentConfig,y=sM(g&&yu(g)?g:p.props,pM,S?.Trigger,g&&Yt(g)?g:void 0);return y},p.getRootElement=function(){var g,S;return p.childrenDom=hx(((S=(g=p.props).getTargetDOMNode)===null||S===void 0?void 0:S.call(g))||p.rootElementRef,p),p.childrenDom},p.getPopupElement=function(){var g;return((g=p.triggerRef)===null||g===void 0?void 0:g.current)||null},p.offScrollListeners=function(){(p.scrollElements||[]).forEach(function(g){o1(g,"scroll",p.handleScroll)}),p.scrollElements=null},p.offWindowResize=function(){p.handleWindowResize=!1,o1(window,"resize",p.handleUpdatePosition)},p.offContainerResize=function(){p.resizeObserver&&p.observerContainer&&(p.resizeObserver.unobserve(p.observerContainer),p.observerContainer=null)},p.handleScroll=function(){var g=p.getMergedProps(["containerScrollToClose","updateOnScroll"]);g.containerScrollToClose?p.setPopupVisible(!1):g.updateOnScroll&&p.handleUpdatePosition()},p.onContainersScroll=function(g){var S,y;p.scrollElements||(p.scrollElements=tD(p.childrenDom,(S=p.popupContainer)===null||S===void 0?void 0:S.parentNode),g.containerScrollToClose&&((y=p.popupContainer)===null||y===void 0?void 0:y.parentNode)===document.body&&p.scrollElements.indexOf(document.body)===-1&&Qx(document.documentElement)&&p.scrollElements.push(window),p.scrollElements.forEach(function(C){u1(C,"scroll",p.handleScroll)}))},p.onContainerResize=function(){var g,S=(g=p.popupContainer)===null||g===void 0?void 0:g.parentNode;p.resizeObserver&&p.observerContainer!==S&&(p.offContainerResize(),S&&p.resizeObserver.observe(S),p.observerContainer=S)},p.handleUpdatePosition=Kx(function(){p.updatePopupPosition()}),p.isClickTrigger=function(){var g=p.getMergedProps(["trigger"]).trigger;return[].concat(g).indexOf("click")>-1},p.isFocusTrigger=function(){var g=p.getMergedProps(["trigger"]).trigger;return[].concat(g).indexOf("focus")>-1},p.isHoverTrigger=function(){var g=p.getMergedProps(["trigger"]).trigger;return[].concat(g).indexOf("hover")>-1},p.isContextMenuTrigger=function(){var g=p.getMergedProps(["trigger"]).trigger;return[].concat(g).indexOf("contextMenu")>-1},p.isMouseLeaveToClose=function(){return p.isHoverTrigger()&&p.getMergedProps(["mouseLeaveToClose"]).mouseLeaveToClose},p.isPopupHoverHide=function(){return p.isHoverTrigger()&&!p.getMergedProps(["popupHoverStay"]).popupHoverStay},p.isClickToHide=function(){if(p.isClickTrigger()||p.isContextMenuTrigger()){var g=p.getMergedProps(["clickToClose"]).clickToClose,S=g===void 0?!0:g;return S}return p.isHoverTrigger()&&p.props.clickToClose},p.isBlurToHide=function(){return p.isFocusTrigger()&&p.getMergedProps(["blurToHide"]).blurToHide},p.clearTimer=function(){p.updatePositionTimer&&(p.updatePositionTimer.cancel?p.updatePositionTimer.cancel():(clearTimeout(p.updatePositionTimer),p.updatePositionTimer=null)),p.delayTimer&&(clearTimeout(p.delayTimer),p.delayTimer=null),p.mouseDownTimeout&&(clearTimeout(p.mouseDownTimeout),p.mouseDownTimeout=null)},p.offClickOutside=function(){if(p.handleClickOutside){var g=p.getMergedProps(["clickOutsideToClose","getDocument"]),S=g.clickOutsideToClose,y=g.getDocument,C=Sc(y)&&y();o1(C,"mousedown",p.onClickOutside,{capture:yu(S)?S.capture:!1}),p.handleClickOutside=!1}},p.getTransformOrigin=function(g){var S,y,C=p.getPopupElement();if(!C)return{};var w=p.getMergedProps(["showArrow","classNames"]),q=w.showArrow,U=w.classNames,R=q&&((S=p.arrowStyle)===null||S===void 0?void 0:S.top)||0,H=q&&((y=p.arrowStyle)===null||y===void 0?void 0:y.left)||0;R=R?R+"px":"",H=H?H+"px":"";var A={top:(H||"50%")+" 100% 0",tl:(H||"15px")+" 100% 0",tr:(H||C.clientWidth-15+"px")+" 100% 0",bottom:(H||"50%")+" 0 0",bl:(H||"15px")+" 0 0",br:(H||C.clientWidth-15+"px")+" 0 0",left:"100% "+(R||"50%")+" 0",lt:"100% "+(R||"15px")+" 0",lb:"100% "+(R||C.clientHeight-15+"px")+" 0",right:"0 "+(R||"50%")+" 0",rt:"0 "+(R||"15px")+" 0",rb:"0 "+(R||C.clientHeight-15+"px")+" 0"};if(U&&U.indexOf("zoom")>-1)return{transformOrigin:A[g]};if(U==="slideDynamicOrigin"){var L="0% 0%";return["top","tl","tr"].indexOf(g)>-1&&(L="100% 100%"),{transformOrigin:L}}return{}},p.getTransformTranslate=function(){if(p.getMergedProps(["classNames"]).classNames!=="slideDynamicOrigin")return"";switch(p.realPosition){case"bottom":case"bl":case"br":return"scaleY(0.9) translateY(-4px)";case"top":case"tl":case"tr":return"scaleY(0.9) translateY(4px)";default:return""}},p.getPopupStyle=function(){if(!(p.unmount||!p.popupContainer)){var g=p.popupContainer,S=p.triggerRef.current,y=p.getRootElement();if(!y.offsetParent&&!y.getClientRects().length)return p.state.popupStyle;var C=p.getMergedProps(),w=cM(C,S,y,g,p.mouseLocation),q=w.style,U=w.arrowStyle,R=w.realPosition;return p.realPosition=R||C.position,p.arrowStyle=U||{},ta(ta({},q),p.getTransformOrigin(p.realPosition))}},p.showPopup=function(g){g===void 0&&(g=function(){});var S=p.getPopupStyle();p.setState({popupStyle:S},g)},p.update=Kx(function(g){if(!(p.unmount||!p.state.popupVisible)){var S=p.getPopupStyle();p.setState({popupStyle:S},function(){g?.()})}}),p.getRootDOMNode=function(){return p.getRootElement()},p.updatePopupPosition=function(g,S){g===void 0&&(g=0);var y=p.state.popupVisible;if(y){if(g<4){p.updatePositionTimer=p.update(S);return}p.updatePositionTimer=setTimeout(function(){var C=p.getPopupStyle();p.setState({popupStyle:C},function(){S?.()})},g)}},p.setPopupVisible=function(g,S,y){S===void 0&&(S=0);var C=p.getMergedProps(["onVisibleChange","popupVisible"]),w=C.onVisibleChange,q=p.state.popupVisible;g!==q?p.delayToDo(S,function(){w&&w(g),"popupVisible"in C?y?.():g?p.setState({popupVisible:!0},function(){p.showPopup(y)}):p.setState({popupVisible:!1},function(){y?.()})}):y?.()},p.delayToDo=function(g,S){g?(p.clearDelayTimer(),p.delayTimer=setTimeout(function(){S(),p.clearDelayTimer()},g)):S()},p.onClickOutside=function(g){var S=p.getMergedProps(["onClickOutside","clickOutsideToClose"]),y=S.onClickOutside,C=S.clickOutsideToClose,w=p.getPopupElement(),q=p.getRootElement();!Px(w,g.target)&&!Px(q,g.target)&&!p.hasPopupMouseDown&&(y?.(),C&&!p.isBlurToHide()&&!p.isHoverTrigger()&&p.setPopupVisible(!1))},p.onKeyDown=function(g){var S=g.keyCode||g.which;p.triggerPropsEvent("onKeyDown",g),S===iO.code&&p.onPressEsc(g)},p.onPressEsc=function(g){var S=p.getMergedProps(["escToClose"]).escToClose;S&&g&&g.key===iO.key&&p.state.popupVisible&&p.setPopupVisible(!1)},p.onMouseEnter=function(g){var S=p.getMergedProps(["mouseEnterDelay"]).mouseEnterDelay;p.triggerPropsEvent("onMouseEnter",g),p.clearDelayTimer(),p.setPopupVisible(!0,S||0)},p.onMouseMove=function(g){p.triggerPropsEvent("onMouseMove",g),p.setMouseLocation(g),p.state.popupVisible&&p.update()},p.onMouseLeave=function(g){var S=p.getMergedProps(["mouseLeaveDelay"]).mouseLeaveDelay;p.clearDelayTimer(),p.triggerPropsEvent("onMouseLeave",g),p.isMouseLeaveToClose()&&p.state.popupVisible&&p.setPopupVisible(!1,S||0)},p.onPopupMouseEnter=function(){p.clearDelayTimer()},p.onPopupMouseLeave=function(g){p.onMouseLeave(g)},p.setMouseLocation=function(g){p.getMergedProps(["alignPoint"]).alignPoint&&(p.mouseLocation={clientX:g.clientX,clientY:g.clientY})},p.onContextMenu=function(g){g.preventDefault(),p.triggerPropsEvent("onContextMenu",g),p.setMouseLocation(g),p.state.popupVisible?p.getMergedProps(["alignPoint"]).alignPoint&&p.update():p.setPopupVisible(!0,0)},p.clickToHidePopup=function(g){var S=p.state.popupVisible;S&&(p.mousedownToHide=!0),p.triggerPropsEvent("onClick",g),p.isClickToHide()&&S&&p.setPopupVisible(!S,0)},p.onClick=function(g){var S=p.state.popupVisible;S&&(p.mousedownToHide=!0),p.triggerPropsEvent("onClick",g),p.setMouseLocation(g),!(!p.isClickToHide()&&S)&&p.setPopupVisible(!S,0)},p.onFocus=function(g){var S=p.getMergedProps(["focusDelay"]).focusDelay,y=function(){p.triggerPropsEvent("onFocus",g)};p.clearDelayTimer(),p.mousedownToHide||(p.state.popupVisible?y?.():p.setPopupVisible(!0,S||0,y)),p.mousedownToHide=!1},p.onBlur=function(g){p.setPopupVisible(!1,200,function(){return p.triggerPropsEvent("onBlur",g)})},p.onResize=function(){p.getMergedProps(["autoFixPosition"]).autoFixPosition&&p.state.popupVisible&&p.updatePopupPosition()},p.onPopupMouseDown=function(){p.hasPopupMouseDown=!0,clearTimeout(p.mouseDownTimeout),p.mouseDownTimeout=setTimeout(function(){p.hasPopupMouseDown=!1},0)},p.getChild=function(){var g,S=p.props.children,y=S,C=y&&typeof y!="string"&&y.type,w=S;if(["string","number"].indexOf(typeof S)>-1||O.Children.count(S)>1)w=O.createElement("span",null,S);else if(y&&C&&(C.__BYTE_BUTTON===!0||C.__BYTE_CHECKBOX===!0||C.__BYTE_SWITCH===!0||C.__BYTE_RADIO===!0||C==="button")&&y.props.disabled){var q=dM(y.props.style,["position","left","right","top","bottom","float","display","zIndex"]),U=q.picked,R=q.omitted;w=O.createElement("span",{className:(g=y.props)===null||g===void 0?void 0:g.className,style:ta(ta({display:"inline-block"},U),{cursor:"not-allowed"})},O.cloneElement(y,{style:ta(ta({},R),{pointerEvents:"none"}),className:void 0}))}return w||O.createElement("span",null)},p.appendToContainer=function(g){if(qi(p.rafId),p.isDidMount){var S=p.context.getPopupContainer,y=p.getMergedProps(["getPopupContainer"]).getPopupContainer,C=y||S,w=p.getRootElement(),q=C(w);if(q){q.appendChild(g);return}}p.rafId=so(function(){p.appendToContainer(g)})},p.getContainer=function(){var g=document.createElement("div");return g.style.width="100%",g.style.position="absolute",g.style.top="0",g.style.left="0",p.popupContainer=g,p.appendToContainer(g),g},p.triggerPropsEvent=function(g,S){var y=p.getChild(),C=y&&y.props&&y.props[g],w=p.getMergedProps([g])[g];Sc(C)&&C(S),Sc(w)&&w(S)},p.triggerOriginEvent=function(g){var S=p.getChild(),y=S&&S.props&&S.props[g],C=p.getMergedProps([g])[g];return Sc(C)&&Sc(y)?function(w){y(w),C(w)}:y||C};var b=p.getMergedProps(d),T="popupVisible"in b?b.popupVisible:b.defaultPopupVisible;return p.popupOpen=!!T,p.triggerRef=O.createRef(),p.state={popupVisible:!!T,popupStyle:{}},p}return f.getDerivedStateFromProps=function(d,s){return"popupVisible"in d&&d.popupVisible!==s.popupVisible?{popupVisible:d.popupVisible}:null},f.prototype.componentDidMount=function(){this.componentDidUpdate(this.getMergedProps()),this.isDidMount=!0,this.unmount=!1,this.childrenDom=this.getRootElement(),this.state.popupVisible&&(this.childrenDomSize=uO(this.childrenDom,{boundaryDistance:this.props.alignPoint?void 0:this.props.boundaryDistance,position:this.props.position}))},f.prototype.componentDidUpdate=function(d){var s=this.getMergedProps(d),p=this.getMergedProps();!s.popupVisible&&p.popupVisible&&this.update();var b=this.state.popupVisible;this.popupOpen=b;var T=p.getDocument;if(!b){this.offClickOutside(),this.offContainerResize(),this.offWindowResize(),this.offScrollListeners();return}var g=uO(this.childrenDom,{boundaryDistance:this.props.alignPoint?{}:this.props.boundaryDistance,position:this.props.position});if(JSON.stringify(g)!==JSON.stringify(this.childrenDomSize)&&(this.updatePopupPosition(),this.childrenDomSize=g),this.onContainerResize(),(p.updateOnScroll||p.containerScrollToClose)&&this.onContainersScroll(p),this.handleWindowResize||(u1(window,"resize",this.handleUpdatePosition),this.handleWindowResize=!0),!this.handleClickOutside){var S=Sc(T)&&T();S&&(u1(S,"mousedown",this.onClickOutside,{capture:yu(p.clickOutsideToClose)?p.clickOutsideToClose.capture:!1}),this.handleClickOutside=!0)}},f.prototype.componentWillUnmount=function(){this.unmount=!0,this.offClickOutside(),this.clearTimer(),this.offWindowResize(),this.offScrollListeners(),this.offContainerResize(),qi(this.rafId)},f.prototype.clearDelayTimer=function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)},f.prototype.render=function(){var d,s,p,b=this,T,g=this.getMergedProps(),S=g.children,y=g.style,C=g.className,w=g.arrowProps,q=g.disabled,U=g.popup,R=g.classNames,H=g.duration,A=g.unmountOnExit,L=g.alignPoint,B=g.autoAlignPopupWidth,P=g.position,Q=g.childrenPrefix,V=g.showArrow,J=g.popupStyle,ne=g.__onExit,ie=g.__onExited,W=S||S===0,me=this.context,ae=me.getPrefixCls,Te=me.zIndex,ce=me.rtl,te=this.state,Z=te.popupVisible,D=te.popupStyle;if(!U)return null;var k={},Y={onMouseDown:this.onPopupMouseDown};this.isHoverTrigger()&&!q?(k.onMouseEnter=this.onMouseEnter,k.onMouseLeave=this.onMouseLeave,this.isClickToHide()&&(k.onClick=this.clickToHidePopup),L&&(k.onMouseMove=this.onMouseMove),this.isPopupHoverHide()||(Y.onMouseEnter=this.onPopupMouseEnter,Y.onMouseLeave=this.onPopupMouseLeave)):(k.onMouseEnter=this.triggerOriginEvent("onMouseEnter"),k.onMouseLeave=this.triggerOriginEvent("onMouseLeave")),this.isContextMenuTrigger()&&!q?(k.onContextMenu=this.onContextMenu,k.onClick=this.clickToHidePopup):k.onContextMenu=this.triggerOriginEvent("onContextMenu"),this.isClickTrigger()&&!q?k.onClick=this.onClick:k.onClick=k.onClick||this.triggerOriginEvent("onClick"),this.isFocusTrigger()&&!q?(k.onFocus=this.onFocus,this.isBlurToHide()&&(k.onBlur=this.onBlur)):(k.onFocus=this.triggerOriginEvent("onFocus"),k.onBlur=this.triggerOriginEvent("onBlur")),q?k.onKeyDown=this.triggerOriginEvent("onKeyDown"):k.onKeyDown=this.onKeyDown;var ue=this.getChild(),M=O.Children.only(U());ue.props.className&&(k.className=ue.props.className),Q&&Z&&(k.className=k.className?k.className+" "+Q+"-open":Q+"-open"),this.isFocusTrigger()&&(k.tabIndex=q?-1:0);var K=ae("trigger"),re=Dn(K,Q,K+"-position-"+P,(d={},d[K+"-rtl"]=ce,d),C),le=W&&O.createElement(aO,{onResize:this.onResize,getTargetDOMNode:function(){return b.rootElementRef}},O.cloneElement(ue,ta(ta({},k),{ref:ZT(ue)?function(Oe){b.rootElementRef=Oe,mx(ue,Oe)}:void 0}))),be=O.createElement(kb,{in:!!Z,timeout:H,classNames:R,unmountOnExit:A,appear:!0,mountOnEnter:!0,onEnter:function(){b.triggerRefDestoried=!1;var Oe=b.getPopupElement();Oe&&(Oe.style.display="initial",Oe.style.pointerEvents="none",R==="slideDynamicOrigin"&&(Oe.style.transform=b.getTransformTranslate()))},onEntering:function(){var Oe=b.getPopupElement();Oe&&R==="slideDynamicOrigin"&&(Oe.style.transform="")},onEntered:function(){var Oe=b.getPopupElement();Oe&&(Oe.style.pointerEvents="auto",b.forceUpdate())},onExit:function(){var Oe=b.getPopupElement();Oe&&(Oe.style.pointerEvents="none",ne?.(Oe))},onExited:function(){var Oe=b.getPopupElement();Oe&&(Oe.style.display="none",A&&(b.triggerRefDestoried=!0),b.setState({popupStyle:{}}),ie?.(Oe))},nodeRef:this.triggerRef},O.createElement(aO,{onResize:function(){var Oe=b.triggerRef.current;if(Oe){var ze=b.getPopupStyle(),qe=b.props.style||{};Oe.style.top=String(qe.top||ze.top+"px"),Oe.style.left=String(qe.left||ze.left+"px")}b.onResize()},getTargetDOMNode:function(){return b.getPopupElement()}},O.createElement("span",ta({ref:this.triggerRef,"trigger-placement":this.realPosition,style:ta(ta(ta({width:B&&y?.width===void 0?(T=this.childrenDomSize)===null||T===void 0?void 0:T.width:""},D),{position:"absolute",zIndex:Te||""}),y)},Y,{className:re},i1(this.props)),O.createElement(M.type,ta({ref:M.ref},M.props,{style:ta(ta({},M.props.style),J)})),(V||w)&&O.createElement("div",{className:Dn(K+"-arrow-container",(s={},s[Q+"-arrow-container"]=Q,s))},O.createElement("div",ta({},w,{className:Dn(K+"-arrow",(p={},p[Q+"-arrow"]=Q,p),w?.className),style:ta(ta({},this.arrowStyle),w?.style)})))))),Me=Z||this.getPopupElement()&&!this.triggerRefDestoried?O.createElement(aM,{getContainer:this.getContainer},be):null;return W?O.createElement(O.Fragment,null,le,Me):Me},f.displayName="Trigger",f.contextType=Qa,f}(O.PureComponent),p1,cO;function sO(){if(cO)return p1;cO=1;var u=Array.isArray;return p1=u,p1}var h1,fO;function m1(){if(fO)return h1;fO=1;var u=Fh(),f=bu(),d="[object AsyncFunction]",s="[object Function]",p="[object GeneratorFunction]",b="[object Proxy]";function T(g){if(!f(g))return!1;var S=u(g);return S==s||S==p||S==d||S==b}return h1=T,h1}var v1,dO;function hM(){if(dO)return v1;dO=1;var u=js(),f=u["__core-js_shared__"];return v1=f,v1}var y1,pO;function mM(){if(pO)return y1;pO=1;var u=hM(),f=function(){var s=/[^.]+$/.exec(u&&u.keys&&u.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""}();function d(s){return!!f&&f in s}return y1=d,y1}var g1,hO;function vM(){if(hO)return g1;hO=1;var u=Function.prototype,f=u.toString;function d(s){if(s!=null){try{return f.call(s)}catch{}try{return s+""}catch{}}return""}return g1=d,g1}var b1,mO;function yM(){if(mO)return b1;mO=1;var u=m1(),f=mM(),d=bu(),s=vM(),p=/[\\^$.*+?()[\]{}|]/g,b=/^\[object .+?Constructor\]$/,T=Function.prototype,g=Object.prototype,S=T.toString,y=g.hasOwnProperty,C=RegExp("^"+S.call(y).replace(p,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function w(q){if(!d(q)||f(q))return!1;var U=u(q)?C:b;return U.test(s(q))}return b1=w,b1}var S1,vO;function gM(){if(vO)return S1;vO=1;function u(f,d){return f?.[d]}return S1=u,S1}var E1,yO;function T1(){if(yO)return E1;yO=1;var u=yM(),f=gM();function d(s,p){var b=f(s,p);return u(b)?b:void 0}return E1=d,E1}var x1,gO;function sg(){if(gO)return x1;gO=1;var u=T1(),f=u(Object,"create");return x1=f,x1}var O1,bO;function bM(){if(bO)return O1;bO=1;var u=sg();function f(){this.__data__=u?u(null):{},this.size=0}return O1=f,O1}var C1,SO;function SM(){if(SO)return C1;SO=1;function u(f){var d=this.has(f)&&delete this.__data__[f];return this.size-=d?1:0,d}return C1=u,C1}var _1,EO;function EM(){if(EO)return _1;EO=1;var u=sg(),f="__lodash_hash_undefined__",d=Object.prototype,s=d.hasOwnProperty;function p(b){var T=this.__data__;if(u){var g=T[b];return g===f?void 0:g}return s.call(T,b)?T[b]:void 0}return _1=p,_1}var A1,TO;function TM(){if(TO)return A1;TO=1;var u=sg(),f=Object.prototype,d=f.hasOwnProperty;function s(p){var b=this.__data__;return u?b[p]!==void 0:d.call(b,p)}return A1=s,A1}var w1,xO;function xM(){if(xO)return w1;xO=1;var u=sg(),f="__lodash_hash_undefined__";function d(s,p){var b=this.__data__;return this.size+=this.has(s)?0:1,b[s]=u&&p===void 0?f:p,this}return w1=d,w1}var D1,OO;function OM(){if(OO)return D1;OO=1;var u=bM(),f=SM(),d=EM(),s=TM(),p=xM();function b(T){var g=-1,S=T==null?0:T.length;for(this.clear();++g<S;){var y=T[g];this.set(y[0],y[1])}}return b.prototype.clear=u,b.prototype.delete=f,b.prototype.get=d,b.prototype.has=s,b.prototype.set=p,D1=b,D1}var M1,CO;function CM(){if(CO)return M1;CO=1;function u(){this.__data__=[],this.size=0}return M1=u,M1}var z1,_O;function fg(){if(_O)return z1;_O=1;function u(f,d){return f===d||f!==f&&d!==d}return z1=u,z1}var N1,AO;function dg(){if(AO)return N1;AO=1;var u=fg();function f(d,s){for(var p=d.length;p--;)if(u(d[p][0],s))return p;return-1}return N1=f,N1}var R1,wO;function _M(){if(wO)return R1;wO=1;var u=dg(),f=Array.prototype,d=f.splice;function s(p){var b=this.__data__,T=u(b,p);if(T<0)return!1;var g=b.length-1;return T==g?b.pop():d.call(b,T,1),--this.size,!0}return R1=s,R1}var q1,DO;function AM(){if(DO)return q1;DO=1;var u=dg();function f(d){var s=this.__data__,p=u(s,d);return p<0?void 0:s[p][1]}return q1=f,q1}var H1,MO;function wM(){if(MO)return H1;MO=1;var u=dg();function f(d){return u(this.__data__,d)>-1}return H1=f,H1}var U1,zO;function DM(){if(zO)return U1;zO=1;var u=dg();function f(d,s){var p=this.__data__,b=u(p,d);return b<0?(++this.size,p.push([d,s])):p[b][1]=s,this}return U1=f,U1}var j1,NO;function pg(){if(NO)return j1;NO=1;var u=CM(),f=_M(),d=AM(),s=wM(),p=DM();function b(T){var g=-1,S=T==null?0:T.length;for(this.clear();++g<S;){var y=T[g];this.set(y[0],y[1])}}return b.prototype.clear=u,b.prototype.delete=f,b.prototype.get=d,b.prototype.has=s,b.prototype.set=p,j1=b,j1}var k1,RO;function qO(){if(RO)return k1;RO=1;var u=T1(),f=js(),d=u(f,"Map");return k1=d,k1}var L1,HO;function MM(){if(HO)return L1;HO=1;var u=OM(),f=pg(),d=qO();function s(){this.size=0,this.__data__={hash:new u,map:new(d||f),string:new u}}return L1=s,L1}var B1,UO;function zM(){if(UO)return B1;UO=1;function u(f){var d=typeof f;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?f!=="__proto__":f===null}return B1=u,B1}var V1,jO;function hg(){if(jO)return V1;jO=1;var u=zM();function f(d,s){var p=d.__data__;return u(s)?p[typeof s=="string"?"string":"hash"]:p.map}return V1=f,V1}var Y1,kO;function NM(){if(kO)return Y1;kO=1;var u=hg();function f(d){var s=u(this,d).delete(d);return this.size-=s?1:0,s}return Y1=f,Y1}var $1,LO;function RM(){if(LO)return $1;LO=1;var u=hg();function f(d){return u(this,d).get(d)}return $1=f,$1}var G1,BO;function qM(){if(BO)return G1;BO=1;var u=hg();function f(d){return u(this,d).has(d)}return G1=f,G1}var X1,VO;function HM(){if(VO)return X1;VO=1;var u=hg();function f(d,s){var p=u(this,d),b=p.size;return p.set(d,s),this.size+=p.size==b?0:1,this}return X1=f,X1}var P1,YO;function UM(){if(YO)return P1;YO=1;var u=MM(),f=NM(),d=RM(),s=qM(),p=HM();function b(T){var g=-1,S=T==null?0:T.length;for(this.clear();++g<S;){var y=T[g];this.set(y[0],y[1])}}return b.prototype.clear=u,b.prototype.delete=f,b.prototype.get=d,b.prototype.has=s,b.prototype.set=p,P1=b,P1}function $O(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function GO(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?$O(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):$O(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function jM(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=GO(GO({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-right")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"m16 39.513 15.556-15.557L16 8.4"}))}var mg=O.forwardRef(jM);mg.defaultProps={isIcon:!0},mg.displayName="IconRight";function XO(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function PO(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?XO(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):XO(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function kM(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=PO(PO({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-left")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M32 8.4 16.444 23.956 32 39.513"}))}var vg=O.forwardRef(kM);vg.defaultProps={isIcon:!0},vg.displayName="IconLeft";var Q1,QO;function LM(){if(QO)return Q1;QO=1;var u=pg();function f(){this.__data__=new u,this.size=0}return Q1=f,Q1}var Z1,ZO;function BM(){if(ZO)return Z1;ZO=1;function u(f){var d=this.__data__,s=d.delete(f);return this.size=d.size,s}return Z1=u,Z1}var K1,KO;function VM(){if(KO)return K1;KO=1;function u(f){return this.__data__.get(f)}return K1=u,K1}var J1,JO;function YM(){if(JO)return J1;JO=1;function u(f){return this.__data__.has(f)}return J1=u,J1}var I1,IO;function $M(){if(IO)return I1;IO=1;var u=pg(),f=qO(),d=UM(),s=200;function p(b,T){var g=this.__data__;if(g instanceof u){var S=g.__data__;if(!f||S.length<s-1)return S.push([b,T]),this.size=++g.size,this;g=this.__data__=new d(S)}return g.set(b,T),this.size=g.size,this}return I1=p,I1}var W1,WO;function GM(){if(WO)return W1;WO=1;var u=pg(),f=LM(),d=BM(),s=VM(),p=YM(),b=$M();function T(g){var S=this.__data__=new u(g);this.size=S.size}return T.prototype.clear=f,T.prototype.delete=d,T.prototype.get=s,T.prototype.has=p,T.prototype.set=b,W1=T,W1}var F1,FO;function eC(){if(FO)return F1;FO=1;var u=T1(),f=function(){try{var d=u(Object,"defineProperty");return d({},"",{}),d}catch{}}();return F1=f,F1}var eS,tC;function tS(){if(tC)return eS;tC=1;var u=eC();function f(d,s,p){s=="__proto__"&&u?u(d,s,{configurable:!0,enumerable:!0,value:p,writable:!0}):d[s]=p}return eS=f,eS}var nS,nC;function aC(){if(nC)return nS;nC=1;var u=tS(),f=fg();function d(s,p,b){(b!==void 0&&!f(s[p],b)||b===void 0&&!(p in s))&&u(s,p,b)}return nS=d,nS}var aS,lC;function XM(){if(lC)return aS;lC=1;function u(f){return function(d,s,p){for(var b=-1,T=Object(d),g=p(d),S=g.length;S--;){var y=g[f?S:++b];if(s(T[y],y,T)===!1)break}return d}}return aS=u,aS}var lS,rC;function PM(){if(rC)return lS;rC=1;var u=XM(),f=u();return lS=f,lS}var lm={exports:{}};lm.exports;var iC;function QM(){return iC||(iC=1,function(u,f){var d=js(),s=f&&!f.nodeType&&f,p=s&&!0&&u&&!u.nodeType&&u,b=p&&p.exports===s,T=b?d.Buffer:void 0,g=T?T.allocUnsafe:void 0;function S(y,C){if(C)return y.slice();var w=y.length,q=g?g(w):new y.constructor(w);return y.copy(q),q}u.exports=S}(lm,lm.exports)),lm.exports}var rS,uC;function ZM(){if(uC)return rS;uC=1;var u=js(),f=u.Uint8Array;return rS=f,rS}var iS,oC;function KM(){if(oC)return iS;oC=1;var u=ZM();function f(d){var s=new d.constructor(d.byteLength);return new u(s).set(new u(d)),s}return iS=f,iS}var uS,cC;function JM(){if(cC)return uS;cC=1;var u=KM();function f(d,s){var p=s?u(d.buffer):d.buffer;return new d.constructor(p,d.byteOffset,d.length)}return uS=f,uS}var oS,sC;function IM(){if(sC)return oS;sC=1;function u(f,d){var s=-1,p=f.length;for(d||(d=Array(p));++s<p;)d[s]=f[s];return d}return oS=u,oS}var cS,fC;function WM(){if(fC)return cS;fC=1;var u=bu(),f=Object.create,d=function(){function s(){}return function(p){if(!u(p))return{};if(f)return f(p);s.prototype=p;var b=new s;return s.prototype=void 0,b}}();return cS=d,cS}var sS,dC;function FM(){if(dC)return sS;dC=1;function u(f,d){return function(s){return f(d(s))}}return sS=u,sS}var fS,pC;function hC(){if(pC)return fS;pC=1;var u=FM(),f=u(Object.getPrototypeOf,Object);return fS=f,fS}var dS,mC;function vC(){if(mC)return dS;mC=1;var u=Object.prototype;function f(d){var s=d&&d.constructor,p=typeof s=="function"&&s.prototype||u;return d===p}return dS=f,dS}var pS,yC;function ez(){if(yC)return pS;yC=1;var u=WM(),f=hC(),d=vC();function s(p){return typeof p.constructor=="function"&&!d(p)?u(f(p)):{}}return pS=s,pS}var hS,gC;function tz(){if(gC)return hS;gC=1;var u=Fh(),f=_d(),d="[object Arguments]";function s(p){return f(p)&&u(p)==d}return hS=s,hS}var mS,bC;function SC(){if(bC)return mS;bC=1;var u=tz(),f=_d(),d=Object.prototype,s=d.hasOwnProperty,p=d.propertyIsEnumerable,b=u(function(){return arguments}())?u:function(T){return f(T)&&s.call(T,"callee")&&!p.call(T,"callee")};return mS=b,mS}var vS,EC;function TC(){if(EC)return vS;EC=1;var u=9007199254740991;function f(d){return typeof d=="number"&&d>-1&&d%1==0&&d<=u}return vS=f,vS}var yS,xC;function gS(){if(xC)return yS;xC=1;var u=m1(),f=TC();function d(s){return s!=null&&f(s.length)&&!u(s)}return yS=d,yS}var bS,OC;function nz(){if(OC)return bS;OC=1;var u=gS(),f=_d();function d(s){return f(s)&&u(s)}return bS=d,bS}var rm={exports:{}},SS,CC;function az(){if(CC)return SS;CC=1;function u(){return!1}return SS=u,SS}rm.exports;var _C;function AC(){return _C||(_C=1,function(u,f){var d=js(),s=az(),p=f&&!f.nodeType&&f,b=p&&!0&&u&&!u.nodeType&&u,T=b&&b.exports===p,g=T?d.Buffer:void 0,S=g?g.isBuffer:void 0,y=S||s;u.exports=y}(rm,rm.exports)),rm.exports}var ES,wC;function lz(){if(wC)return ES;wC=1;var u=Fh(),f=hC(),d=_d(),s="[object Object]",p=Function.prototype,b=Object.prototype,T=p.toString,g=b.hasOwnProperty,S=T.call(Object);function y(C){if(!d(C)||u(C)!=s)return!1;var w=f(C);if(w===null)return!0;var q=g.call(w,"constructor")&&w.constructor;return typeof q=="function"&&q instanceof q&&T.call(q)==S}return ES=y,ES}var TS,DC;function rz(){if(DC)return TS;DC=1;var u=Fh(),f=TC(),d=_d(),s="[object Arguments]",p="[object Array]",b="[object Boolean]",T="[object Date]",g="[object Error]",S="[object Function]",y="[object Map]",C="[object Number]",w="[object Object]",q="[object RegExp]",U="[object Set]",R="[object String]",H="[object WeakMap]",A="[object ArrayBuffer]",L="[object DataView]",B="[object Float32Array]",P="[object Float64Array]",Q="[object Int8Array]",V="[object Int16Array]",J="[object Int32Array]",ne="[object Uint8Array]",ie="[object Uint8ClampedArray]",W="[object Uint16Array]",me="[object Uint32Array]",ae={};ae[B]=ae[P]=ae[Q]=ae[V]=ae[J]=ae[ne]=ae[ie]=ae[W]=ae[me]=!0,ae[s]=ae[p]=ae[A]=ae[b]=ae[L]=ae[T]=ae[g]=ae[S]=ae[y]=ae[C]=ae[w]=ae[q]=ae[U]=ae[R]=ae[H]=!1;function Te(ce){return d(ce)&&f(ce.length)&&!!ae[u(ce)]}return TS=Te,TS}var xS,MC;function iz(){if(MC)return xS;MC=1;function u(f){return function(d){return f(d)}}return xS=u,xS}var im={exports:{}};im.exports;var zC;function uz(){return zC||(zC=1,function(u,f){var d=Dx(),s=f&&!f.nodeType&&f,p=s&&!0&&u&&!u.nodeType&&u,b=p&&p.exports===s,T=b&&d.process,g=function(){try{var S=p&&p.require&&p.require("util").types;return S||T&&T.binding&&T.binding("util")}catch{}}();u.exports=g}(im,im.exports)),im.exports}var OS,NC;function RC(){if(NC)return OS;NC=1;var u=rz(),f=iz(),d=uz(),s=d&&d.isTypedArray,p=s?f(s):u;return OS=p,OS}var CS,qC;function HC(){if(qC)return CS;qC=1;function u(f,d){if(!(d==="constructor"&&typeof f[d]=="function")&&d!="__proto__")return f[d]}return CS=u,CS}var _S,UC;function oz(){if(UC)return _S;UC=1;var u=tS(),f=fg(),d=Object.prototype,s=d.hasOwnProperty;function p(b,T,g){var S=b[T];(!(s.call(b,T)&&f(S,g))||g===void 0&&!(T in b))&&u(b,T,g)}return _S=p,_S}var AS,jC;function cz(){if(jC)return AS;jC=1;var u=oz(),f=tS();function d(s,p,b,T){var g=!b;b||(b={});for(var S=-1,y=p.length;++S<y;){var C=p[S],w=T?T(b[C],s[C],C,b,s):void 0;w===void 0&&(w=s[C]),g?f(b,C,w):u(b,C,w)}return b}return AS=d,AS}var wS,kC;function sz(){if(kC)return wS;kC=1;function u(f,d){for(var s=-1,p=Array(f);++s<f;)p[s]=d(s);return p}return wS=u,wS}var DS,LC;function BC(){if(LC)return DS;LC=1;var u=9007199254740991,f=/^(?:0|[1-9]\d*)$/;function d(s,p){var b=typeof s;return p=p??u,!!p&&(b=="number"||b!="symbol"&&f.test(s))&&s>-1&&s%1==0&&s<p}return DS=d,DS}var MS,VC;function fz(){if(VC)return MS;VC=1;var u=sz(),f=SC(),d=sO(),s=AC(),p=BC(),b=RC(),T=Object.prototype,g=T.hasOwnProperty;function S(y,C){var w=d(y),q=!w&&f(y),U=!w&&!q&&s(y),R=!w&&!q&&!U&&b(y),H=w||q||U||R,A=H?u(y.length,String):[],L=A.length;for(var B in y)(C||g.call(y,B))&&!(H&&(B=="length"||U&&(B=="offset"||B=="parent")||R&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||p(B,L)))&&A.push(B);return A}return MS=S,MS}var zS,YC;function dz(){if(YC)return zS;YC=1;function u(f){var d=[];if(f!=null)for(var s in Object(f))d.push(s);return d}return zS=u,zS}var NS,$C;function pz(){if($C)return NS;$C=1;var u=bu(),f=vC(),d=dz(),s=Object.prototype,p=s.hasOwnProperty;function b(T){if(!u(T))return d(T);var g=f(T),S=[];for(var y in T)y=="constructor"&&(g||!p.call(T,y))||S.push(y);return S}return NS=b,NS}var RS,GC;function XC(){if(GC)return RS;GC=1;var u=fz(),f=pz(),d=gS();function s(p){return d(p)?u(p,!0):f(p)}return RS=s,RS}var qS,PC;function hz(){if(PC)return qS;PC=1;var u=cz(),f=XC();function d(s){return u(s,f(s))}return qS=d,qS}var HS,QC;function mz(){if(QC)return HS;QC=1;var u=aC(),f=QM(),d=JM(),s=IM(),p=ez(),b=SC(),T=sO(),g=nz(),S=AC(),y=m1(),C=bu(),w=lz(),q=RC(),U=HC(),R=hz();function H(A,L,B,P,Q,V,J){var ne=U(A,B),ie=U(L,B),W=J.get(ie);if(W){u(A,B,W);return}var me=V?V(ne,ie,B+"",A,L,J):void 0,ae=me===void 0;if(ae){var Te=T(ie),ce=!Te&&S(ie),te=!Te&&!ce&&q(ie);me=ie,Te||ce||te?T(ne)?me=ne:g(ne)?me=s(ne):ce?(ae=!1,me=f(ie,!0)):te?(ae=!1,me=d(ie,!0)):me=[]:w(ie)||b(ie)?(me=ne,b(ne)?me=R(ne):(!C(ne)||y(ne))&&(me=p(ie))):ae=!1}ae&&(J.set(ie,me),Q(me,ie,P,V,J),J.delete(ie)),u(A,B,me)}return HS=H,HS}var US,ZC;function vz(){if(ZC)return US;ZC=1;var u=GM(),f=aC(),d=PM(),s=mz(),p=bu(),b=XC(),T=HC();function g(S,y,C,w,q){S!==y&&d(y,function(U,R){if(q||(q=new u),p(U))s(S,y,R,C,g,w,q);else{var H=w?w(T(S,R),U,R+"",S,y,q):void 0;H===void 0&&(H=U),f(S,R,H)}},b)}return US=g,US}var jS,KC;function JC(){if(KC)return jS;KC=1;function u(f){return f}return jS=u,jS}var kS,IC;function yz(){if(IC)return kS;IC=1;function u(f,d,s){switch(s.length){case 0:return f.call(d);case 1:return f.call(d,s[0]);case 2:return f.call(d,s[0],s[1]);case 3:return f.call(d,s[0],s[1],s[2])}return f.apply(d,s)}return kS=u,kS}var LS,WC;function gz(){if(WC)return LS;WC=1;var u=yz(),f=Math.max;function d(s,p,b){return p=f(p===void 0?s.length-1:p,0),function(){for(var T=arguments,g=-1,S=f(T.length-p,0),y=Array(S);++g<S;)y[g]=T[p+g];g=-1;for(var C=Array(p+1);++g<p;)C[g]=T[g];return C[p]=b(y),u(s,this,C)}}return LS=d,LS}var BS,FC;function bz(){if(FC)return BS;FC=1;function u(f){return function(){return f}}return BS=u,BS}var VS,e2;function Sz(){if(e2)return VS;e2=1;var u=bz(),f=eC(),d=JC(),s=f?function(p,b){return f(p,"toString",{configurable:!0,enumerable:!1,value:u(b),writable:!0})}:d;return VS=s,VS}var YS,t2;function Ez(){if(t2)return YS;t2=1;var u=800,f=16,d=Date.now;function s(p){var b=0,T=0;return function(){var g=d(),S=f-(g-T);if(T=g,S>0){if(++b>=u)return arguments[0]}else b=0;return p.apply(void 0,arguments)}}return YS=s,YS}var $S,n2;function Tz(){if(n2)return $S;n2=1;var u=Sz(),f=Ez(),d=f(u);return $S=d,$S}var GS,a2;function xz(){if(a2)return GS;a2=1;var u=JC(),f=gz(),d=Tz();function s(p,b){return d(f(p,b,u),p+"")}return GS=s,GS}var XS,l2;function Oz(){if(l2)return XS;l2=1;var u=fg(),f=gS(),d=BC(),s=bu();function p(b,T,g){if(!s(g))return!1;var S=typeof T;return(S=="number"?f(g)&&d(T,g.length):S=="string"&&T in g)?u(g[T],b):!1}return XS=p,XS}var PS,r2;function Cz(){if(r2)return PS;r2=1;var u=xz(),f=Oz();function d(s){return u(function(p,b){var T=-1,g=b.length,S=g>1?b[g-1]:void 0,y=g>2?b[2]:void 0;for(S=s.length>3&&typeof S=="function"?(g--,S):void 0,y&&f(b[0],b[1],y)&&(S=g<3?void 0:S,g=1),p=Object(p);++T<g;){var C=b[T];C&&s(p,C,T,S)}return p})}return PS=d,PS}var QS,i2;function _z(){if(i2)return QS;i2=1;var u=vz(),f=Cz(),d=f(function(s,p,b){u(s,p,b)});return QS=d,QS}var Az=_z();const yg=sr(Az);var wz=Sx();const $l=sr(wz);var gg={exports:{}},Dz=gg.exports,u2;function Mz(){return u2||(u2=1,function(u,f){(function(d,s){u.exports=s()})(Dz,function(){var d={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},s=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,p=/\d/,b=/\d\d/,T=/\d\d?/,g=/\d*[^-_:/,()\s\d]+/,S={},y=function(A){return(A=+A)+(A>68?1900:2e3)},C=function(A){return function(L){this[A]=+L}},w=[/[+-]\d\d:?(\d\d)?|Z/,function(A){(this.zone||(this.zone={})).offset=function(L){if(!L||L==="Z")return 0;var B=L.match(/([+-]|\d\d)/g),P=60*B[1]+(+B[2]||0);return P===0?0:B[0]==="+"?-P:P}(A)}],q=function(A){var L=S[A];return L&&(L.indexOf?L:L.s.concat(L.f))},U=function(A,L){var B,P=S.meridiem;if(P){for(var Q=1;Q<=24;Q+=1)if(A.indexOf(P(Q,0,L))>-1){B=Q>12;break}}else B=A===(L?"pm":"PM");return B},R={A:[g,function(A){this.afternoon=U(A,!1)}],a:[g,function(A){this.afternoon=U(A,!0)}],Q:[p,function(A){this.month=3*(A-1)+1}],S:[p,function(A){this.milliseconds=100*+A}],SS:[b,function(A){this.milliseconds=10*+A}],SSS:[/\d{3}/,function(A){this.milliseconds=+A}],s:[T,C("seconds")],ss:[T,C("seconds")],m:[T,C("minutes")],mm:[T,C("minutes")],H:[T,C("hours")],h:[T,C("hours")],HH:[T,C("hours")],hh:[T,C("hours")],D:[T,C("day")],DD:[b,C("day")],Do:[g,function(A){var L=S.ordinal,B=A.match(/\d+/);if(this.day=B[0],L)for(var P=1;P<=31;P+=1)L(P).replace(/\[|\]/g,"")===A&&(this.day=P)}],w:[T,C("week")],ww:[b,C("week")],M:[T,C("month")],MM:[b,C("month")],MMM:[g,function(A){var L=q("months"),B=(q("monthsShort")||L.map(function(P){return P.slice(0,3)})).indexOf(A)+1;if(B<1)throw new Error;this.month=B%12||B}],MMMM:[g,function(A){var L=q("months").indexOf(A)+1;if(L<1)throw new Error;this.month=L%12||L}],Y:[/[+-]?\d+/,C("year")],YY:[b,function(A){this.year=y(A)}],YYYY:[/\d{4}/,C("year")],Z:w,ZZ:w};function H(A){var L,B;L=A,B=S&&S.formats;for(var P=(A=L.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(me,ae,Te){var ce=Te&&Te.toUpperCase();return ae||B[Te]||d[Te]||B[ce].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(te,Z,D){return Z||D.slice(1)})})).match(s),Q=P.length,V=0;V<Q;V+=1){var J=P[V],ne=R[J],ie=ne&&ne[0],W=ne&&ne[1];P[V]=W?{regex:ie,parser:W}:J.replace(/^\[|\]$/g,"")}return function(me){for(var ae={},Te=0,ce=0;Te<Q;Te+=1){var te=P[Te];if(typeof te=="string")ce+=te.length;else{var Z=te.regex,D=te.parser,k=me.slice(ce),Y=Z.exec(k)[0];D.call(ae,Y),me=me.replace(Y,"")}}return function(ue){var M=ue.afternoon;if(M!==void 0){var K=ue.hours;M?K<12&&(ue.hours+=12):K===12&&(ue.hours=0),delete ue.afternoon}}(ae),ae}}return function(A,L,B){B.p.customParseFormat=!0,A&&A.parseTwoDigitYear&&(y=A.parseTwoDigitYear);var P=L.prototype,Q=P.parse;P.parse=function(V){var J=V.date,ne=V.utc,ie=V.args;this.$u=ne;var W=ie[1];if(typeof W=="string"){var me=ie[2]===!0,ae=ie[3]===!0,Te=me||ae,ce=ie[2];ae&&(ce=ie[2]),S=this.$locale(),!me&&ce&&(S=B.Ls[ce]),this.$d=function(k,Y,ue,M){try{if(["x","X"].indexOf(Y)>-1)return new Date((Y==="X"?1e3:1)*k);var K=H(Y)(k),re=K.year,le=K.month,be=K.day,Me=K.hours,Oe=K.minutes,ze=K.seconds,qe=K.milliseconds,Be=K.zone,$e=K.week,Fe=new Date,Le=be||(re||le?1:Fe.getDate()),ye=re||Fe.getFullYear(),I=0;re&&!le||(I=le>0?le-1:Fe.getMonth());var se,Ue=Me||0,pe=Oe||0,Ve=ze||0,Ae=qe||0;return Be?new Date(Date.UTC(ye,I,Le,Ue,pe,Ve,Ae+60*Be.offset*1e3)):ue?new Date(Date.UTC(ye,I,Le,Ue,pe,Ve,Ae)):(se=new Date(ye,I,Le,Ue,pe,Ve,Ae),$e&&(se=M(se).week($e).toDate()),se)}catch{return new Date("")}}(J,W,ne,B),this.init(),ce&&ce!==!0&&(this.$L=this.locale(ce).$L),Te&&J!=this.format(W)&&(this.$d=new Date("")),S={}}else if(W instanceof Array)for(var te=W.length,Z=1;Z<=te;Z+=1){ie[1]=W[Z-1];var D=B.apply(this,ie);if(D.isValid()){this.$d=D.$d,this.$L=D.$L,this.init();break}Z===te&&(this.$d=new Date(""))}else Q.call(this,V)}}})}(gg)),gg.exports}var zz=Mz();const Nz=sr(zz);var bg={exports:{}},Rz=bg.exports,o2;function qz(){return o2||(o2=1,function(u,f){(function(d,s){u.exports=s()})(Rz,function(){return function(d,s,p){s.prototype.isBetween=function(b,T,g,S){var y=p(b),C=p(T),w=(S=S||"()")[0]==="(",q=S[1]===")";return(w?this.isAfter(y,g):!this.isBefore(y,g))&&(q?this.isBefore(C,g):!this.isAfter(C,g))||(w?this.isBefore(y,g):!this.isAfter(y,g))&&(q?this.isAfter(C,g):!this.isBefore(C,g))}}})}(bg)),bg.exports}var Hz=qz();const Uz=sr(Hz);var Sg={exports:{}},jz=Sg.exports,c2;function kz(){return c2||(c2=1,function(u,f){(function(d,s){u.exports=s()})(jz,function(){var d="week",s="year";return function(p,b,T){var g=b.prototype;g.week=function(S){if(S===void 0&&(S=null),S!==null)return this.add(7*(S-this.week()),"day");var y=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var C=T(this).startOf(s).add(1,s).date(y),w=T(this).endOf(d);if(C.isBefore(w))return 1}var q=T(this).startOf(s).date(y).startOf(d).subtract(1,"millisecond"),U=this.diff(q,d,!0);return U<0?T(this).startOf("week").week():Math.ceil(U)},g.weeks=function(S){return S===void 0&&(S=null),this.week(S)}}})}(Sg)),Sg.exports}var Lz=kz();const Bz=sr(Lz);var Eg={exports:{}},Vz=Eg.exports,s2;function Yz(){return s2||(s2=1,function(u,f){(function(d,s){u.exports=s()})(Vz,function(){return function(d,s){var p=s.prototype,b=p.format;p.format=function(T){var g=this,S=this.$locale();if(!this.isValid())return b.bind(this)(T);var y=this.$utils(),C=(T||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(w){switch(w){case"Q":return Math.ceil((g.$M+1)/3);case"Do":return S.ordinal(g.$D);case"gggg":return g.weekYear();case"GGGG":return g.isoWeekYear();case"wo":return S.ordinal(g.week(),"W");case"w":case"ww":return y.s(g.week(),w==="w"?1:2,"0");case"W":case"WW":return y.s(g.isoWeek(),w==="W"?1:2,"0");case"k":case"kk":return y.s(String(g.$H===0?24:g.$H),w==="k"?1:2,"0");case"X":return Math.floor(g.$d.getTime()/1e3);case"x":return g.$d.getTime();case"z":return"["+g.offsetName()+"]";case"zzz":return"["+g.offsetName("long")+"]";default:return w}});return b.bind(this)(C)}}})}(Eg)),Eg.exports}var $z=Yz();const Gz=sr($z);var Tg={exports:{}},Xz=Tg.exports,f2;function Pz(){return f2||(f2=1,function(u,f){(function(d,s){u.exports=s()})(Xz,function(){return function(d,s){s.prototype.weekYear=function(){var p=this.month(),b=this.week(),T=this.year();return b===1&&p===11?T+1:p===0&&b>=52?T-1:T}}})}(Tg)),Tg.exports}var Qz=Pz();const Zz=sr(Qz);var xg={exports:{}},Kz=xg.exports,d2;function Jz(){return d2||(d2=1,function(u,f){(function(d,s){u.exports=s()})(Kz,function(){var d="month",s="quarter";return function(p,b){var T=b.prototype;T.quarter=function(y){return this.$utils().u(y)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(y-1))};var g=T.add;T.add=function(y,C){return y=Number(y),this.$utils().p(C)===s?this.add(3*y,d):g.bind(this)(y,C)};var S=T.startOf;T.startOf=function(y,C){var w=this.$utils(),q=!!w.u(C)||C;if(w.p(y)===s){var U=this.quarter()-1;return q?this.month(3*U).startOf(d).startOf("day"):this.month(3*U+2).endOf(d).endOf("day")}return S.bind(this)(y,C)}}})}(xg)),xg.exports}var Iz=Jz();const Wz=sr(Iz);var Og={exports:{}},Fz=Og.exports,p2;function eN(){return p2||(p2=1,function(u,f){(function(d,s){u.exports=s()})(Fz,function(){var d="minute",s=/[+-]\d\d(?::?\d\d)?/g,p=/([+-]|\d\d)/g;return function(b,T,g){var S=T.prototype;g.utc=function(H){var A={date:H,utc:!0,args:arguments};return new T(A)},S.utc=function(H){var A=g(this.toDate(),{locale:this.$L,utc:!0});return H?A.add(this.utcOffset(),d):A},S.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var y=S.parse;S.parse=function(H){H.utc&&(this.$u=!0),this.$utils().u(H.$offset)||(this.$offset=H.$offset),y.call(this,H)};var C=S.init;S.init=function(){if(this.$u){var H=this.$d;this.$y=H.getUTCFullYear(),this.$M=H.getUTCMonth(),this.$D=H.getUTCDate(),this.$W=H.getUTCDay(),this.$H=H.getUTCHours(),this.$m=H.getUTCMinutes(),this.$s=H.getUTCSeconds(),this.$ms=H.getUTCMilliseconds()}else C.call(this)};var w=S.utcOffset;S.utcOffset=function(H,A){var L=this.$utils().u;if(L(H))return this.$u?0:L(this.$offset)?w.call(this):this.$offset;if(typeof H=="string"&&(H=function(V){V===void 0&&(V="");var J=V.match(s);if(!J)return null;var ne=(""+J[0]).match(p)||["-",0,0],ie=ne[0],W=60*+ne[1]+ +ne[2];return W===0?0:ie==="+"?W:-W}(H),H===null))return this;var B=Math.abs(H)<=16?60*H:H;if(B===0)return this.utc(A);var P=this.clone();if(A)return P.$offset=B,P.$u=!1,P;var Q=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(P=this.local().add(B+Q,d)).$offset=B,P.$x.$localOffset=Q,P};var q=S.format;S.format=function(H){var A=H||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return q.call(this,A)},S.valueOf=function(){var H=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*H},S.isUTC=function(){return!!this.$u},S.toISOString=function(){return this.toDate().toISOString()},S.toString=function(){return this.toDate().toUTCString()};var U=S.toDate;S.toDate=function(H){return H==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():U.call(this)};var R=S.diff;S.diff=function(H,A,L){if(H&&this.$u===H.$u)return R.call(this,H,A,L);var B=this.local(),P=g(H).local();return R.call(B,P,A,L)}}})}(Og)),Og.exports}var tN=eN();const nN=sr(tN);var Cg={exports:{}},aN=Cg.exports,h2;function lN(){return h2||(h2=1,function(u,f){(function(d,s){u.exports=s()})(aN,function(){var d={year:0,month:1,day:2,hour:3,minute:4,second:5},s={};return function(p,b,T){var g,S=function(q,U,R){R===void 0&&(R={});var H=new Date(q),A=function(L,B){B===void 0&&(B={});var P=B.timeZoneName||"short",Q=L+"|"+P,V=s[Q];return V||(V=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:L,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:P}),s[Q]=V),V}(U,R);return A.formatToParts(H)},y=function(q,U){for(var R=S(q,U),H=[],A=0;A<R.length;A+=1){var L=R[A],B=L.type,P=L.value,Q=d[B];Q>=0&&(H[Q]=parseInt(P,10))}var V=H[3],J=V===24?0:V,ne=H[0]+"-"+H[1]+"-"+H[2]+" "+J+":"+H[4]+":"+H[5]+":000",ie=+q;return(T.utc(ne).valueOf()-(ie-=ie%1e3))/6e4},C=b.prototype;C.tz=function(q,U){q===void 0&&(q=g);var R,H=this.utcOffset(),A=this.toDate(),L=A.toLocaleString("en-US",{timeZone:q}),B=Math.round((A-new Date(L))/1e3/60),P=15*-Math.round(A.getTimezoneOffset()/15)-B;if(!Number(P))R=this.utcOffset(0,U);else if(R=T(L,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(P,!0),U){var Q=R.utcOffset();R=R.add(H-Q,"minute")}return R.$x.$timezone=q,R},C.offsetName=function(q){var U=this.$x.$timezone||T.tz.guess(),R=S(this.valueOf(),U,{timeZoneName:q}).find(function(H){return H.type.toLowerCase()==="timezonename"});return R&&R.value};var w=C.startOf;C.startOf=function(q,U){if(!this.$x||!this.$x.$timezone)return w.call(this,q,U);var R=T(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return w.call(R,q,U).tz(this.$x.$timezone,!0)},T.tz=function(q,U,R){var H=R&&U,A=R||U||g,L=y(+T(),A);if(typeof q!="string")return T(q).tz(A);var B=function(J,ne,ie){var W=J-60*ne*1e3,me=y(W,ie);if(ne===me)return[W,ne];var ae=y(W-=60*(me-ne)*1e3,ie);return me===ae?[W,me]:[J-60*Math.min(me,ae)*1e3,Math.max(me,ae)]}(T.utc(q,H).valueOf(),L,A),P=B[0],Q=B[1],V=T(P).utcOffset(Q);return V.$x.$timezone=A,V},T.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},T.tz.setDefault=function(q){g=q}}})}(Cg)),Cg.exports}var rN=lN();const iN=sr(rN);var _g=function(){return _g=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},_g.apply(this,arguments)},uN=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},oN=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))},Ls=$l()._isAMomentObject;Ls&&($l.extend=function(){});var cN=function(u,f,d){d=function(b,T){if(Hr(b))return b.clone();var g=typeof T=="object"?T:{};return g.date=b,g.args=arguments,new f(g)};var s=f.prototype,p=s.$utils;s.$utils=function(){var b=p();return b.i=Hr,b},d.isDayjs=Hr};$l.extend(cN),$l.extend(Nz),$l.extend(Uz),$l.extend(Bz),$l.extend(Gz),$l.extend(Zz),$l.extend(Wz),$l.extend(nN),$l.extend(iN);var on=$l;function m2(u,f){var d=(u.day()-f+7)%7,s=u.clone().startOf("day").subtract(d,"day");return s.valueOf()}function sN(u,f,d){return m2(u,d)===m2(f,d)}var Hn={add:function(u,f,d){return Ls?u.clone().add(f,d):u.add(f,d)},subtract:function(u,f,d){return Ls?u.clone().subtract(f,d):u.subtract(f,d)},startOf:function(u,f){return Ls?u.clone().startOf(f):u.startOf(f)},endOf:function(u,f){return Ls?u.clone().endOf(f):u.endOf(f)},set:function(u,f,d){return Ls?u.clone().set(f,d):u.set(f,d)},isSameWeek:function(u,f,d,s){return Ls?sN(u,f,d):u.locale(_g(_g({},on.Ls[s]),{weekStart:d})).isSame(f,"week")}},fN={year:0,month:1,day:2,hour:3,minute:4,second:5},v2={},dN=function(u,f){var d=u+"|short",s=v2[d];return s||(s=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:u,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),v2[d]=s),s},pN=function(u,f){var d=new Date(u),s=dN(f);return s.formatToParts(d)},ZS=function(u,f){for(var d=pN(u,f),s=[],p=0;p<d.length;p+=1){var b=d[p],T=b.type,g=b.value,S=fN[T];S>=0&&(s[S]=parseInt(g,10))}var y=s[3],C=y===24?0:y,w=Date.UTC(s[0],s[1]-1,s[2],C,s[4],s[5],0),q=+u,U=q%1e3;return q-=U,(w-q)/(60*1e3)},hN=function(u,f,d){var s=u-f*60*1e3,p=ZS(s,d);if(f===p)return[s,f];s-=(p-f)*60*1e3;var b=ZS(s,d);return p===b?[s,p]:[u-Math.min(p,b)*60*1e3,Math.max(p,b)]};function y2(u,f){var d=ZS(u,f);return hN(u,d,f)[1]}function na(u,f){return xd(u)&&!f?on():Md(on(),u,f)}function Md(u,f,d,s){if(!u||xd(f)&&!d)return u;var p=-u.toDate().getTimezoneOffset(),b=xd(f)?d?y2(u.valueOf(),d):p:f,T=Math.abs(b)<=16?b*60:b,g=s?p-T:T-p,S=d?y2(on(u).valueOf()+g*60*1e3,d):b,y=g-(b-S),C=s||!xd(f)?g:y;return on(on(u).valueOf()+C*60*1e3)}function Su(u,f,d){return Md(u,f,d,!0)}function mN(u){var f=["H","h","m","s","A","a"],d="";return f.some(function(s){return u.indexOf(s)!==-1?(d=""+s+u.split(" "+s)[1],!0):!1}),d||"HH:mm:ss"}function Jn(u,f,d,s){if(u){var p=function(T,g){if(Hr(T))return on(T.valueOf());if(typeof T=="string"){var S=on(T,Yt(f)?f[g]:f);return S.isValid()?S:on(T,"YYYY-MM-DD")}return on(T)},b=function(T,g){return d!==void 0||s?Md(p(T,g),d,s):p(T,g)};return Yt(u)?u.map(function(T,g){return T?b(T,g):void 0}):b(u,0)}}function Bs(u,f){var d=u.year(),s=u.month(),p=u.date();if(f){var b=f;return b=Hn.set(b,"year",d),b=Hn.set(b,"month",s),b=Hn.set(b,"date",p),b}return u}function um(u,f){if(!u||!u[0]||!u[1])return u;var d=oN([],uN(u),!1);return d.sort(function(s,p){return s.valueOf()-p.valueOf()}),f&&u.length===2&&(d[0]=d[0].set("hour",u[0].get("hour")).set("minute",u[0].get("minute")).set("second",u[0].get("second")),d[1]=d[1].set("hour",u[1].get("hour")).set("minute",u[1].get("minute")).set("second",u[1].get("second"))),d}function vN(u,f){return f===void 0&&u===void 0?!1:f&&!u||!f&&u||on(f).valueOf()!==on(u).valueOf()}function yN(u,f){return f===void 0&&u===void 0?!1:f&&!u||!f&&u||Yt(f)&&Yt(u)&&on(f[0]).valueOf()!==on(u[0]).valueOf()||on(f[1]).valueOf()!==on(u[1]).valueOf()}function gN(u,f,d){return typeof u=="string"&&on(u,f).format(Yt(f)?f[d]:f)===u}function jr(u,f,d){var s=String(u),p=s.length<f?""+d+s:s;return p.length<f?jr(p,f,d):p}function g2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function b2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?g2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):g2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function bN(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=b2(b2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-double-left")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M36.857 9.9 22.715 24.042l14.142 14.142M25.544 9.9 11.402 24.042l14.142 14.142"}))}var Ag=O.forwardRef(bN);Ag.defaultProps={isIcon:!0},Ag.displayName="IconDoubleLeft";function S2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function E2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?S2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):S2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function SN(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=E2(E2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-double-right")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"m11.143 38.1 14.142-14.142L11.143 9.816M22.456 38.1l14.142-14.142L22.456 9.816"}))}var wg=O.forwardRef(SN);wg.defaultProps={isIcon:!0},wg.displayName="IconDoubleRight";var EN=$x();const TN=sr(EN);function KS(u,f){f===void 0&&(f=[]);var d=O.useRef(!1);O.useEffect(function(){d.current?u():d.current=!0},f)}var Dg=function(){return Dg=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Dg.apply(this,arguments)},xN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d},ON=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b};function CN(u,f){var d,s,p=u.style,b=u.className,T=u.prefixCls,g=u.allowClear,S=u.status,y=u.error,C=u.disabled,w=u.placeholder,q=u.format,U=u.size,R=u.onClear,H=u.editable,A=u.value,L=u.inputValue,B=u.onPressEnter,P=u.suffixIcon,Q=u.prefix,V=u.onChange,J=u.popupVisible,ne=u.isPlaceholder,ie=u.inputProps,W=xN(u,["style","className","prefixCls","allowClear","status","error","disabled","placeholder","format","size","onClear","editable","value","inputValue","onPressEnter","suffixIcon","prefix","onChange","popupVisible","isPlaceholder","inputProps"]),me=O.useContext(Qa),ae=me.getPrefixCls,Te=me.size,ce=me.locale,te=me.rtl,Z=O.useRef(null),D=ON(O.useState(!1),2),k=D[0],Y=D[1],ue=U||Te,M=O.useRef(null);O.useImperativeHandle(f,function(){return{focus:function(){Z.current&&Z.current.focus&&Z.current.focus()},blur:function(){Z.current&&Z.current.blur&&Z.current.blur()},getRootDOMNode:function(){return M.current}}});function K(Be){var $e;($e=ie?.onKeyDown)===null||$e===void 0||$e.call(ie,Be);var Fe=Be.keyCode||Be.which;Fe===d1.code&&B?.()}function re(Be){var $e;($e=ie?.onChange)===null||$e===void 0||$e.call(ie,Be),V?.(Be)}var le="";L!==void 0?le=L:A&&!Yt(A)&&(le=typeof q=="function"?q(A):A.locale(ce.dayjsLocale).format(q));var be=H?{}:{readOnly:!0},Me=T||ae("picker"),Oe=S||(y?"error":void 0),ze=k||J,qe=Dn(Me,Me+"-size-"+ue,(d={},d[Me+"-focused"]=ze,d[Me+"-disabled"]=C,d[Me+"-has-prefix"]=Q,d[Me+"-"+Oe]=Oe,d[Me+"-rtl"]=te,d),b);return O.createElement("div",Dg({style:p,className:qe,ref:M},Ih(W,["onChange","onPressEnter"])),Q&&O.createElement("div",{className:Me+"-prefix"},Q),O.createElement("div",{className:Dn(Me+"-input",(s={},s[Me+"-input-placeholder"]=ne,s))},O.createElement("input",Dg({ref:Z},ie,{disabled:C,placeholder:w,className:Me+"-start-time",value:le,onKeyDown:K,onChange:re},be,{onFocus:function(Be){var $e;Y(!0),($e=ie?.onFocus)===null||$e===void 0||$e.call(ie,Be)},onBlur:function(Be){var $e;Y(!1),($e=ie?.onBlur)===null||$e===void 0||$e.call(ie,Be)}}))),O.createElement("div",{className:Me+"-suffix"},g&&le&&O.createElement(gx,{prefix:Me,onClick:R,className:Me+"-clear-icon"},O.createElement(Ky,null)),O.createElement("span",{className:Me+"-suffix-icon"},P)))}const _N=O.forwardRef(CN);function T2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function x2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?T2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):T2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function AN(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=x2(x2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-calendar")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M7 22h34M14 5v8m20-8v8M8 41h32a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v30a1 1 0 0 0 1 1Z"}))}var Mg=O.forwardRef(AN);Mg.defaultProps={isIcon:!0},Mg.displayName="IconCalendar";function O2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function C2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?O2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):O2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function wN(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=C2(C2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-calendar-clock")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M7 22h34V10a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v30a1 1 0 0 0 1 1h18M34 5v8M14 5v8"}),O.createElement("path",{fill:"currentColor",fillRule:"evenodd",stroke:"none",d:"M36 44a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm1.5-9.75V29h-3v8.25H42v-3h-4.5Z",clipRule:"evenodd"}))}var zg=O.forwardRef(wN);zg.defaultProps={isIcon:!0},zg.displayName="IconCalendarClock";function DN(u,f){var d=u.prefixCls,s=u.shortcuts,p=s===void 0?[]:s,b=u.onSelectNow,T=u.nowText,g=u.showNowBtn,S=u.showTime,y=u.onMouseEnterShortcut,C=u.onMouseLeaveShortcut;function w(A){y&&y(A)}function q(A){C&&C(A)}function U(A,L){var B=u.onSelectShortcut;B&&B(A,L)}var R=Yt(p)&&p.length>0,H=g&&S&&!R;return O.createElement("div",{ref:f,className:d+"-shortcuts"},H&&O.createElement(fo,{size:"mini",onClick:b},T),R&&p.map(function(A,L){return O.createElement(fo,{key:L,size:"mini",onMouseEnter:function(){return w(A)},onMouseLeave:function(){return q(A)},onClick:function(B){return U(A,B)}},A.text)}))}const JS=O.forwardRef(DN);function _2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function A2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?_2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):_2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function MN(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=A2(A2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-link")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"m14.1 25.414-4.95 4.95a6 6 0 0 0 8.486 8.485l8.485-8.485a6 6 0 0 0 0-8.485m7.779.707 4.95-4.95a6 6 0 1 0-8.486-8.485l-8.485 8.485a6 6 0 0 0 0 8.485"}))}var IS=O.forwardRef(MN);IS.defaultProps={isIcon:!0},IS.displayName="IconLink";var WS=function(){return WS=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},WS.apply(this,arguments)},zN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d},NN={hoverable:!0};function RN(u,f){var d,s=O.useContext(Qa),p=s.getPrefixCls,b=s.componentConfig,T=s.rtl,g=Wh(u,NN,b?.Link),S=g.className,y=g.style,C=g.children,w=g.icon,q=g.status,U=g.disabled,R=g.hoverable,H=zN(g,["className","style","children","icon","status","disabled","hoverable"]),A=nM({onKeyDown:g.onKeyDown}),L=p("link"),B="href"in g?"a":"span",P=function(Q){U?(Q.preventDefault(),Q.stopPropagation()):g.onClick&&g.onClick(Q)};return O.createElement(B,WS({className:Dn(L,(d={},d[L+"-disabled"]=U,d[L+"-is-"+q]=q,d[L+"-with-icon"]=w,d[L+"-hoverless"]=!R,d[L+"-rtl"]=T,d),S),ref:f,tabIndex:U?-1:void 0},H,{style:y,onClick:P},A({onPressEnter:P})),w?O.createElement("span",{className:L+"-icon"},w===!0?O.createElement(IS,null):w):null,C)}var w2=O.forwardRef(RN);w2.displayName="Link";function D2(u){var f=u.showTime,d=u.prefixCls,s=u.DATEPICKER_LOCALE,p=u.disabled,b=u.onClickConfirmBtn,T=u.onClickSelectTimeBtn,g=u.isTimePanel,S=u.onSelectNow,y=u.showNowBtn,C=u.shortcuts,w=u.onMouseEnterShortcut,q=u.onMouseLeaveShortcut,U=u.onSelectShortcut,R=u.extra,H=u.mode,A=u.shortcutsPlacementLeft,L=Yt(C)&&C.length>0,B=y&&f&&!L,P=B||L&&!A;return O.createElement("div",{className:d+"-footer"},R&&O.createElement("div",{className:d+"-footer-extra-wrapper"},R),!f&&y&&H==="date"&&O.createElement("div",{className:d+"-footer-now-wrapper"},O.createElement(w2,{onClick:S},s.today)),P||f?O.createElement("div",{className:d+"-footer-btn-wrapper"},A?O.createElement("div",null):O.createElement(JS,{shortcuts:C,prefixCls:d,onSelectNow:S,nowText:s.now,showNowBtn:y,onMouseEnterShortcut:w,onMouseLeaveShortcut:q,onSelectShortcut:U,showTime:f}),f&&O.createElement(O.Fragment,null,O.createElement(fo,{type:"text",size:"mini",onClick:T,className:g?d+"-btn-select-date":d+"-btn-select-time"},g?s.selectDate:s.selectTime),O.createElement(fo,{className:d+"-btn-confirm",type:"primary",size:"mini",disabled:p,onClick:b},s.ok))):null)}const Vs=O.createContext({});function Ng(u){return u&&Yt(u)?Hr(u[0])&&Hr(u[1])?2:!Hr(u[0])&&!Hr(u[1])?0:1:0}function FS(u,f,d){if(typeof f!="function")return!1;var s=function(S,y,C){for(var w=y;w<=C;){var q=void 0;switch(S){case"date":{if(q=Hn.set(u,"date",w),!f(q))return!1;break}case"month":{if(q=Hn.set(u,"month",w),!FS(q,f,"month"))return!1;break}case"year":{if(q=Hn.set(u,"year",w),!FS(q,f,"year"))return!1;break}}w+=1}return!0};switch(d){case"date":case"week":return f(u);case"month":{var p=1,b=u.endOf("month").get("date");return s("date",p,b)}case"quarter":{var T=Math.floor(u.get("month")/3)*3,g=T+2;return s("month",T,g)}case"year":return s("month",0,11);default:return!1}}function M2(u){var f,d;return((d=(f=$l.Ls)===null||f===void 0?void 0:f[u])===null||d===void 0?void 0:d.weekStart)||0}function po(u,f){return u&&u.locale(f)}function ho(u,f){return Yt(u)?u[f]:u}var mo=function(){return mo=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},mo.apply(this,arguments)},vo=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b};function qN(u){var f=u.format,d=u.picker,s=u.showTime,p,b=u.mode||d.props.pickerType;switch(b){case"date":p=s?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD";break;case"month":p="YYYY-MM";break;case"year":p="YYYY";break;case"week":p="gggg-wo";break;case"quarter":p="YYYY-[Q]Q";break;default:p="YYYY-MM-DD"}return f&&(p=f),p}var z2={allowClear:!0,unmountOnExit:!0,position:"bl",editable:!0,showNowBtn:!0},HN={bottom:4},UN=function(u,f){var d=O.useContext(Qa),s=d.getPrefixCls,p=d.locale,b=d.size,T=d.componentConfig,g=d.rtl;g&&(z2.position="br");var S=Wh(u,z2,T?.DatePicker),y=S.allowClear,C=S.className,w=S.style,q=S.placeholder,U=S.getPopupContainer,R=S.disabled,H=S.position,A=S.error,L=S.status,B=S.unmountOnExit,P=S.editable,Q=S.triggerProps,V=S.picker,J=S.shortcuts,ne=S.onSelect,ie=S.onVisibleChange,W=S.value,me=S.onChange,ae=S.icons,Te=S.disabledDate,ce=S.showTime,te=S.showNowBtn,Z=S.onSelectShortcut,D=S.extra,k=S.shortcutsPlacementLeft,Y=S.onOk,ue=S.defaultPickerValue,M=S.pickerValue,K=S.onPickerValueChange,re=S.triggerElement,le=S.utcOffset,be=S.timezone,Me=S.panelRender,Oe=S.inputProps,ze=s("picker"),qe=p.DatePicker,Be=xd(S.dayStartOfWeek)?M2(p.dayjsLocale):S.dayStartOfWeek,$e=S.mode||V.props.pickerType,Fe=O.useRef(null),Le=O.useRef(null),ye=O.useRef(null);O.useImperativeHandle(f,function(){return{focus:function(){Fe.current&&Fe.current.focus&&Fe.current.focus()},blur:function(){Fe.current&&Fe.current.blur&&Fe.current.blur()}}},[]);var I=qN(S),se=I;typeof se=="function"&&(se=ce?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD");function Ue(){var Ie;return S.value?Ie=Jn(S.value,se,le,be):Ie=Jn(S.defaultValue,se,le,be),Ie}var pe=vo(O.useState(Ue()),2),Ve=pe[0],Ae=pe[1],We=vo(O.useState(S.popupVisible),2),Pe=We[0],Ne=We[1],Ze=vo(O.useState(!1),2),Ye=Ze[0],Ke=Ze[1],it=vo(O.useState(),2),Xe=it[0],dt=it[1],pt="popupVisible"in S?S.popupVisible:Pe,gt="value"in S?Jn(W,se,le,be):Ve,Jt=gt||Jn(ue,se)||na(),In=vo(O.useState(),2),Mn=In[0],En=In[1],yn=vo(O.useState(),2),aa=yn[0],Un=yn[1],Ut=vo(O.useState(),2),dn=Ut[0],Ua=Ut[1],xa=vo(O.useState(Jt),2),ja=xa[0],pn=xa[1],la=Jn(M,se)||ja,zn=dn||aa||gt,jn=vo(O.useState($e),2),fr=jn[0],yo=jn[1],Tc=yu(ce)&&Jn(ce.defaultValue,ce.format||"HH:mm:ss")||na(le,be),cn=zn||Tc;function Tn(){var Ie,ft;Fe.current&&((ft=(Ie=Fe.current).focus)===null||ft===void 0||ft.call(Ie))}function Pn(){Fe.current&&Fe.current.blur&&Fe.current.blur()}var il=am(le),dr=am(be);KS(function(){if(Ve&&(il!==le||be!==dr)){var Ie=Su(Ve,il,dr);Ae(Md(Ie,le,be))}},[le,il,be,dr]),O.useEffect(function(){En(void 0),dt(void 0),pt?(pn(Jt),k&&(ye.current.style.maxHeight=Le.current.clientHeight+"px")):(Un(void 0),Ua(void 0),setTimeout(function(){Ke(!1),yo($e),Pn()},100))},[pt]);function Cl(Ie){Ie?ra(Ie,function(){Tn()}):ra(!1)}function ma(Ie){K&&K(Ie.format(se),Ie)}function ra(Ie,ft){Ne(Ie),ie&&ie(Ie),ft?.()}function Je(Ie){Ie.stopPropagation(),Ae(void 0),Un(void 0),_l(void 0),S.onClear&&S.onClear()}function ia(){var Ie=po(zn,p.dayjsLocale);hn(),Y&&Y(Ie&&Ie.format(se),Ie)}function hn(){Ae(zn),_l(zn),ra(!1)}function ul(Ie,ft,xn){if(En(void 0),dt(void 0),ce){var jt=xn?ft:Bs(ft,cn);Un(jt),pn(jt);var oa=po(Su(jt,le,be),p.dayjsLocale);ne&&ne(oa.format(se),oa)}else{var oa=po(Su(ft,le,be).locale(p.dayjsLocale),p.dayjsLocale);ne&&ne(oa?oa.format(se):void 0,oa),Ae(ft),_l(ft),ra(!1)}}function _l(Ie){if(vN(Ie,gt)){var ft=po(Su(Ie,le,be),p.dayjsLocale);me&&me(ft?ft.format(se):void 0,ft)}}function Al(Ie,ft){var xn=zn||na(le,be),jt=Bs(xn,ft);Un(jt);var oa=po(Su(jt,le,be),p.dayjsLocale);ne&&ne(oa.format(se),oa)}function mn(Ie){return typeof Ie=="string"&&on(Ie,se).format(se)===Ie&&(typeof Te=="function"?!Te(on(Ie,se)):!0)}function kr(Ie){var ft=Ie.target.value;if(En(ft),pt||ra(!0),mn(ft)){var xn=Jn(ft,se);Un(xn),pn(xn),En(void 0)}}function ua(){zn?(hn(),Pn()):pt&&ra(!1)}function Qn(Ie,ft,xn){xn===void 0&&(xn=1);var jt;Ie==="prev"&&(jt=Hn.subtract(la,xn,ft)),Ie==="next"&&(jt=Hn.add(la,xn,ft)),ma(jt),pn(jt)}function wl(Ie){if(Ie===void 0&&(Ie=$e),Ie==="date"||Ie==="week")return{onPrev:function(){return Qn("prev","month")},onNext:function(){return Qn("next","month")},onSuperPrev:function(){return Qn("prev","year")},onSuperNext:function(){return Qn("next","year")}};if(Ie==="month"||Ie==="quarter")return{onSuperPrev:function(){return Qn("prev","year")},onSuperNext:function(){return Qn("next","year")}};if(Ie==="year")return{onSuperPrev:function(){return Qn("prev","year",10)},onSuperNext:function(){return Qn("next","year",10)}}}function Hi(){var Ie=po(na(le,be),p.dayjsLocale);ma(Ie),ul(Ie.format(se),Ie,!0)}function Ui(Ie,ft){if(!ft){var xn=ce?Bs(Ie,cn):Ie;dt(typeof I=="function"?I(Ie):xn.locale(p.dayjsLocale).format(se))}}function Eu(){dt(void 0)}function ji(Ie){if(typeof Ie.value=="function"&&Hr(Ie.value())){var ft=Jn(Ie.value(),se,le,be);pn(ft),ma(ft),Ua(ft)}}function ka(){var Ie=aa||gt||na(le,be);Ua(void 0),pn(Ie),ma(Ie)}function pr(Ie){if(Z&&Z(Ie),typeof Ie.value=="function"&&Hr(Ie.value())){var ft=Jn(Ie.value(),se,le,be);Ae(ft),_l(ft),ra(!1)}}function La(){Ke(!Ye)}function ki(Ie){var ft,xn=Dn(ze+"-container",(ft={},ft[ze+"-panel-only"]=Ie,ft[ze+"-container-shortcuts-placement-left"]=Yt(J)&&k,ft[ze+"-container-rtl"]=g,ft),Ie?C:""),jt={prefixCls:ze,showTime:ce,shortcuts:J,onSelectNow:Hi,showNowBtn:te,onMouseEnterShortcut:ji,onMouseLeaveShortcut:ka,onSelectShortcut:pr},oa=ce&&fr==="date"||D||Yt(J)&&J.length&&!k||!ce&&fr==="date"&&te,Tu=O.createElement(O.Fragment,null,O.cloneElement(V,mo(mo(mo({},Ih(S,["style"])),wl()),{getHeaderOperations:wl,onSelect:ul,onTimePickerSelect:Al,onSelectNow:Hi,popupVisible:pt,format:se,value:zn,pageShowDate:la,localeName:p.dayjsLocale,setPageShowDate:function(Gl){pn(Gl),ma(Gl)},timeValue:cn,isTimePanel:Ye,panelMode:fr,setPanelMode:yo,onMouseEnterCell:Ui,onMouseLeaveCell:Eu})),!!oa&&O.createElement(D2,mo({},jt,{DATEPICKER_LOCALE:qe,disabled:!zn,onClickConfirmBtn:ia,extra:D,mode:fr,shortcutsPlacementLeft:k,onClickSelectTimeBtn:La,isTimePanel:Ye}))),Oa=k?O.createElement(O.Fragment,null,O.createElement(JS,mo({ref:ye},jt)),O.createElement("div",{ref:Le,className:ze+"-panel-wrapper"},Tu)):Tu,hr=typeof Me=="function"?Me(Oa):Oa;return O.createElement("div",{className:xn,onClick:function(){Fe.current&&Fe.current.focus&&Fe.current.focus()},style:Ie?w:{}},hr)}var go=S.size||b,Ka=ae&&ae.inputSuffix===null?null:ae&&ae.inputSuffix||(ce?O.createElement(zg,null):O.createElement(Mg,null)),Zn={style:w,className:C,popupVisible:pt,format:I,disabled:R,error:A,status:L,size:go,onPressEnter:ua,onClear:Je,prefix:S.prefix,suffixIcon:Ka,editable:P&&typeof I!="function",allowClear:y};return O.createElement(Vs.Provider,{value:{utcOffset:le,timezone:be,weekStart:Be}},re===null?ki(!0):O.createElement(oO,mo({popup:ki,trigger:"click",clickToClose:!1,position:H,disabled:R,popupAlign:HN,getPopupContainer:U,onVisibleChange:Cl,popupVisible:pt,classNames:"slideDynamicOrigin",unmountOnExit:B},Q),re||O.createElement(_N,mo({},i1(S),Zn,{ref:Fe,placeholder:q||qe.placeholder[$e],popupVisible:pt,value:aa||gt,inputValue:Xe||Mn,prefixCls:ze,onChange:kr,isPlaceholder:!!Xe,inputProps:Oe}))))},jN=O.forwardRef(UN),om=function(){return om=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},om.apply(this,arguments)},kN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d},eE=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},N2=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))};function LN(u,f){var d,s=u.allowClear,p=u.error,b=u.status,T=u.style,g=u.className,S=u.disabled,y=u.placeholder,C=y===void 0?[]:y,w=u.value,q=w===void 0?[]:w,U=u.popupVisible,R=u.format,H=u.size,A=u.onClear,L=u.editable,B=u.inputValue,P=u.onPressEnter,Q=u.onPressTab,V=u.onChange,J=u.separator,ne=u.suffixIcon,ie=u.changeFocusedInputIndex,W=u.focusedInputIndex,me=u.isPlaceholder,ae=u.prefix,Te=u.inputProps,ce=Te===void 0?[]:Te,te=u.onBlur,Z=kN(u,["allowClear","error","status","style","className","disabled","placeholder","value","popupVisible","format","size","onClear","editable","inputValue","onPressEnter","onPressTab","onChange","separator","suffixIcon","changeFocusedInputIndex","focusedInputIndex","isPlaceholder","prefix","inputProps","onBlur"]),D=O.useContext(Qa),k=D.getPrefixCls,Y=D.size,ue=D.locale,M=D.rtl,K=O.useRef(null),re=O.useRef(null),le=O.useRef(null),be=eE(O.useState([!1,!1]),2),Me=be[0],Oe=be[1],ze=Yt(S)?S[0]:S,qe=Yt(S)?S[1]:S;O.useImperativeHandle(f,function(){return{focus:function(Ne){var Ze=typeof Ne=="number"?Ne:W,Ye=Ze===0?K:re;(W===0&&!ze||W===1&&!qe)&&Ye.current&&Ye.current.focus&&Ye.current.focus()},blur:function(){W===0&&K.current&&K.current.blur&&K.current.blur(),W===1&&re.current&&re.current.blur&&re.current.blur()},getRootDOMNode:function(){return le.current}}});function Be(Ne,Ze){var Ye,Ke;(Ke=(Ye=ce?.[Ze])===null||Ye===void 0?void 0:Ye.onClick)===null||Ke===void 0||Ke.call(Ye,Ne),W!==Ze&&ie(Ze)}function $e(Ne,Ze){var Ye,Ke,it=Ne.keyCode||Ne.which;(Ke=(Ye=ce?.[Ze])===null||Ye===void 0?void 0:Ye.onKeyDown)===null||Ke===void 0||Ke.call(Ye,Ne),it===d1.code&&P?.(),it===ID.code&&Q&&Q(Ne)}function Fe(Ne,Ze){var Ye,Ke;Ne.stopPropagation(),(Ke=(Ye=ce?.[Ze])===null||Ye===void 0?void 0:Ye.onChange)===null||Ke===void 0||Ke.call(Ye,Ne),V&&V(Ne)}function Le(Ne,Ze){var Ye,Ke;Oe(function(it){return it[Ze]=!1,N2([],eE(it),!1)}),(Ke=(Ye=ce?.[Ze])===null||Ye===void 0?void 0:Ye.onBlur)===null||Ke===void 0||Ke.call(Ye,Ne),te?.(Ne)}function ye(Ne,Ze){var Ye,Ke;(Ze===0||Ze===1)&&(Oe(function(it){return it[Ze]=!0,N2([],eE(it),!1)}),W!==Ze&&ie(Ze,!0)),(Ke=(Ye=ce?.[Ze])===null||Ye===void 0?void 0:Ye.onFocus)===null||Ke===void 0||Ke.call(Ye,Ne)}var I=k("picker"),se=H||Y,Ue=Me[0]||Me[1]||!!U,pe=b||(p?"error":void 0),Ve=Dn(I,I+"-range",I+"-size-"+se,(d={},d[I+"-focused"]=Ue,d[I+"-disabled"]=ze&&qe,d[I+"-"+pe]=pe,d[I+"-rtl"]=M,d[I+"-has-prefix"]=ae,d),g),Ae=function(Ne){var Ze=q[Ne]?q[Ne].locale(ue.dayjsLocale).format(Yt(R)?R[Ne]:R):"";return B&&Ne===W?B:Ze},We=L?{}:{readOnly:!0};function Pe(Ne){var Ze;return Dn(I+"-input",(Ze={},Ze[I+"-input-active"]=W===Ne,Ze[I+"-input-placeholder"]=me&&W===Ne,Ze))}return O.createElement("div",om({style:T,ref:le,className:Ve},Ih(Z,["onChange","onPressEnter"])),ae&&O.createElement("div",{className:I+"-prefix"},ae),O.createElement("div",{className:Pe(0)},O.createElement("input",om({ref:K},ce[0],{disabled:ze,placeholder:C[0],value:Ae(0),onChange:function(Ne){return Fe(Ne,0)},onKeyDown:function(Ne){return $e(Ne,0)},onClick:function(Ne){return Be(Ne,0)},onBlur:function(Ne){return Le(Ne,0)},onFocus:function(Ne){return ye(Ne,0)}},We))),O.createElement("span",{className:I+"-separator"},J||"-"),O.createElement("div",{className:Pe(1)},O.createElement("input",om({ref:re},ce[1],{disabled:qe,placeholder:C[1],value:Ae(1),onChange:function(Ne){return Fe(Ne,1)},onKeyDown:function(Ne){return $e(Ne,1)},onClick:function(Ne){return Be(Ne,1)},onBlur:function(Ne){return Le(Ne,1)},onFocus:function(Ne){return ye(Ne,1)}},We))),O.createElement("div",{className:I+"-suffix"},s&&q.length===2&&O.createElement(gx,{prefix:I,onClick:A,className:I+"-clear-icon"},O.createElement(Ky,null)),O.createElement("span",{className:I+"-suffix-icon"},ne)))}const BN=O.forwardRef(LN);function Rg(u){var f=["H","h","m","s","a","A"],d=[],s=!1;return f.forEach(function(p){u.indexOf(p)!==-1&&(d.push(p),(p==="a"||p==="A")&&(s=!0))}),{list:d,use12Hours:s}}var tE=new Map;function R2(u,f,d){tE.get(u)&&cancelAnimationFrame(tE.get(u)),d<=0&&(u.scrollTop=f),tE.set(u,requestAnimationFrame(function(){var s=new og({from:{scrollTop:u.scrollTop},to:{scrollTop:f},duration:d,onUpdate:function(p){u.scrollTop=p.scrollTop},easing:"quartInOut"});s.start()}))}function qg(u){var f=u.prefixCls,d=u.list,s=u.value,p=u.onHandleSelect,b=u.unit,T=u.popupVisible,g=u.scrollSticky,S=O.useRef(new Map),y=O.useRef(),C=O.useRef(),w=O.useRef(0),q=am(T),U=O.useRef(y.current&&y.current.scrollTop);O.useEffect(function(){var H=S.current.get(s);H&&T&&q&&(R2(y.current,H.offsetTop,150),U.current=H.offsetTop)},[s]),O.useEffect(function(){if(T&&T!==q){var H=S.current.get(s);H&&(R2(y.current,H.offsetTop,0),U.current=H.offsetTop)}},[T,q]),O.useEffect(function(){d.length<=1||(w.current=(C.current.clientHeight-y.current.clientHeight)/(d.length-1))},[d.length]);var R=O.useCallback(TN(function(){var H=y.current.scrollTop-U.current>0?Math.ceil:Math.floor,A=H(y.current.scrollTop/w.current);A!==s&&d[A]&&!d[A].disabled&&p(d[A].value,b)},100),[p]);return O.createElement("div",{className:Dn(f+"-list"),ref:y,onWheel:g?R:void 0},O.createElement("ul",{ref:C},d.map(function(H){var A;return O.createElement("li",{key:H.value,className:Dn(f+"-cell",(A={},A[f+"-cell-disabled"]=H.disabled,A[f+"-cell-selected"]=H.selected,A)),onClick:function(){return!H.disabled&&p(H.value,b)},ref:function(L){S.current.set(H.value,L)}},O.createElement("div",{className:f+"-cell-inner"},H.label))})))}const VN=O.createContext({});var zd=function(){return zd=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},zd.apply(this,arguments)},YN=["am","pm"];function $N(u){var f;return(f=u.use12Hours)!==null&&f!==void 0?f:Rg(u.format).use12Hours}function GN(u){var f=u.format,d=f===void 0?"HH:mm:ss":f,s=u.onSelect,p=u.popupVisible,b=u.step,T=b===void 0?{}:b,g=u.disabledHours,S=u.disabledMinutes,y=u.disabledSeconds,C=u.hideDisabledOptions,w=u.onConfirmValue,q=u.isRangePicker,U=u.confirmBtnDisabled,R=u.valueShow,H=u.setValueShow,A=u.extra,L=u.disableConfirm,B=u.hideFooter,P=u.showNowBtn,Q=P===void 0?!0:P,V=u.scrollSticky,J=O.useContext(Qa),ne=J.getPrefixCls,ie=J.locale,W=ne("timepicker"),me=O.useContext(VN),ae=me.utcOffset,Te=me.timezone,ce=Jn(R,d),te=ce&&ce.hour()>=12?"pm":"am",Z=$N(u),D=O.useCallback(function(se){var Ue=T.hour||1,pe=T.minute||1,Ve=T.second||1,Ae=[];if(se==="hour"){for(var We=0;We<(Z?12:24);We+=Ue)Ae.push(We);Z&&(Ae[0]=12)}if(se==="minute")for(var We=0;We<60;We+=pe)Ae.push(We);if(se==="second")for(var We=0;We<60;We+=Ve)Ae.push(We);return Ae},[T.hour,T.minute,T.second,Z]),k=D("hour"),Y=D("minute"),ue=D("second"),M=ce&&ce.hour();M=Z&&M>12?M-12:M,Z&&M===0&&te==="am"&&(M+=12);var K=ce&&ce.minute(),re=ce&&ce.second(),le=O.useCallback(function(se){switch(se){case"hour":return jr(typeof g=="function"?k.find(function(Ue){return g().indexOf(Ue)===-1})||0:k[0],2,"0");case"minute":return jr(typeof S=="function"?Y.find(function(Ue){return S(M).indexOf(Ue)===-1})||0:Y[0],2,"0");case"second":return jr(typeof y=="function"?ue.find(function(Ue){return y(M,K).indexOf(Ue)===-1})||0:ue[0],2,"0");default:return"00"}},[k,Y,ue,g,S,y,M,K]);function be(se,Ue){var pe,Ve,Ae,We=Rg(d).list.indexOf("A")!==-1,Pe=ce||on(le("hour")+":"+le("minute")+":"+le("second"),"HH:mm:ss"),Ne=Pe.hour(),Ze=Pe.minute(),Ye=Pe.second(),Ke=We?te.toUpperCase():te,it="HH:mm:ss",Xe;Z&&(We?it=it+" A":it=it+" a"),Z&&(Ne=Ne>12?Ne-12:Ne),Ue==="hour"&&(typeof S=="function"&&S(se).includes(Ze)&&(Ze=(pe=Y.find(function(dt){return S(se).indexOf(dt)===-1}))!==null&&pe!==void 0?pe:0),typeof y=="function"&&y(se,Ze).includes(Ye)&&(Ye=(Ve=ue.find(function(dt){return y(se,Ze).indexOf(dt)===-1}))!==null&&Ve!==void 0?Ve:0),Xe=on(se+":"+Ze+":"+Ye+" "+Ke,it,"en")),Ue==="minute"&&(typeof y=="function"&&y(Ne,se).includes(Ye)&&(Ye=(Ae=ue.find(function(dt){return y(Ne,se).indexOf(dt)===-1}))!==null&&Ae!==void 0?Ae:0),Xe=on(Ne+":"+se+":"+Ye+" "+Ke,it,"en")),Ue==="second"&&(Xe=on(Ne+":"+Ze+":"+se+" "+Ke,it,"en")),Ue==="ampm"&&(Xe=on(Ne+":"+Ze+":"+Ye+" "+(We?se.toUpperCase():se),it,"en")),Xe=on(Xe,it).locale(on.locale()),s&&s(Su(Xe,ae,Te).format(d),Su(Xe,ae,Te)),q||(H&&H(Xe),L&&w(Xe))}function Me(){ce&&w(ce)}function Oe(){var se=na(),Ue=na(ae,Te);s&&s(se.format(d),se),L?w(Ue):H&&H(Ue)}var ze={prefixCls:W,onHandleSelect:be,popupVisible:p,scrollSticky:V};function qe(){var se=C&&typeof g=="function"?k.filter(function(pe){return g().indexOf(pe)===-1}):k,Ue=se.map(function(pe){return{label:jr(""+pe,2,"0"),value:pe,selected:M!==void 0&&M===pe,disabled:typeof g=="function"&&g().indexOf(pe)!==-1}});return O.createElement(qg,zd({},ze,{list:Ue,value:M,unit:"hour"}))}function Be(){var se=C&&typeof S=="function"?Y.filter(function(pe){return S(M).indexOf(pe)===-1}):Y,Ue=se.map(function(pe){return{label:jr(""+pe,2,"0"),value:pe,selected:M!==void 0&&K===pe,disabled:typeof S=="function"&&S(M).indexOf(pe)!==-1}});return O.createElement(qg,zd({},ze,{list:Ue,value:K,unit:"minute"}))}function $e(){var se=C&&typeof y=="function"?ue.filter(function(pe){return y(M,K).indexOf(pe)===-1}):ue,Ue=se.map(function(pe){return{label:jr(""+pe,2,"0"),value:pe,selected:M!==void 0&&re===pe,disabled:typeof y=="function"&&y(M,K).indexOf(pe)!==-1}});return O.createElement(qg,zd({},ze,{list:Ue,value:re,unit:"second"}))}function Fe(){var se=Rg(d).list.indexOf("A")!==-1,Ue=YN.map(function(pe){return{label:se?pe.toUpperCase():pe,value:pe,selected:te===pe}});return O.createElement(qg,zd({},ze,{list:Ue,value:te,unit:"ampm"}))}var Le=Rg(d).list,ye=Dn(W),I=B||L&&q||!q&&L&&!Q;return O.createElement(O.Fragment,null,O.createElement("div",{className:ye},(Le.indexOf("H")!==-1||Le.indexOf("h")!==-1)&&qe(),Le.indexOf("m")!==-1&&Be(),Le.indexOf("s")!==-1&&$e(),Z&&Fe()),A&&O.createElement("div",{className:W+"-footer-extra-wrapper"},A),!I&&O.createElement("div",{className:W+"-footer-btn-wrapper"},!q&&Q?O.createElement(fo,{size:"mini",onClick:Oe},ie.TimePicker.now):O.createElement("div",null),!L&&O.createElement(fo,{type:"primary",size:"mini",onClick:Me,disabled:U||!ce},ie.TimePicker.ok)))}function Hg(u){var f=u.prefixCls,d=u.title,s=u.onPrev,p=u.onNext,b=u.onSuperPrev,T=u.onSuperNext,g=u.mode,S=u.value,y=u.onChangePanel,C=u.icons,w=C===void 0?{}:C,q=u.rtl,U=u.DATEPICKER_LOCALE,R=typeof s=="function",H=typeof b=="function",A=typeof p=="function",L=typeof T=="function",B=function(ie){var W;return Dn(f+"-header-icon",(W={},W[f+"-header-icon-hidden"]=!ie,W))};function P(){var ie=U?.Calendar||{},W=ie.monthBeforeYear,me=ie.monthFormat,ae=ie.yearFormat;if(d)return d;if(g==="date"||g==="week"){var Te=O.createElement("span",{key:"year-node",className:f+"-header-label",onClick:function(){return y("year")}},S.format(ae||"YYYY")),ce=O.createElement("span",{key:"month-node",className:f+"-header-label",onClick:function(){return y("month")}},S.format(me||"MM"));return W?[ce,Te]:[Te,ce]}if(g==="month"||g==="quarter")return O.createElement("span",{className:f+"-header-label",onClick:function(){return y("year")}},S.format(ae||"YYYY"))}var Q=w.prevDouble===null,V=w.prev===null,J=w.next===null,ne=w.nextDouble===null;return O.createElement("div",{className:f+"-header"},!Q&&O.createElement("div",{className:B(H),onClick:b},H&&(Q?null:w.prevDouble||(q?O.createElement(wg,null):O.createElement(Ag,null)))),!V&&O.createElement("div",{className:B(R),onClick:s},R&&(V?null:w.prev||(q?O.createElement(mg,null):O.createElement(vg,null)))),O.createElement("div",{className:f+"-header-value"},P()),!J&&O.createElement("div",{className:B(A),onClick:p},A&&(J?null:w.next||(q?O.createElement(vg,null):O.createElement(mg,null)))),!ne&&O.createElement("div",{className:B(L),onClick:T},L&&(ne?null:w.nextDouble||(q?O.createElement(Ag,null):O.createElement(wg,null)))))}function XN(u){var f=u.prefixCls,d=u.weekStart,s=u.isWeek,p=u.CALENDAR_LOCALE,b=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];b=b.slice(d).concat(b.slice(0,d)),s&&b.unshift("");var T=p.week.short;return O.createElement("div",{className:f+"-week-list"},b.map(function(g){return O.createElement("div",{className:f+"-week-list-item",key:g},g&&T[g])}))}function Nd(u,f){if(u&&Yt(u))return u[f]}function PN(u){var f=u.prefixCls,d=u.value,s=u.rangeValues,p=u.valueShowHover,b=u.isSameTime,T=u.mode,g=u.hideNotInViewDates,S=Ng(s),y=Ng(p),C=S!==2&&y===2?um(p):s,w=S===2?um(p):[];function q(U,R,H){if(R&&H)return b(U,R)||b(U,H)||U.isBetween(R,H,null)}return function(R,H,A,L){var B,P=Nd(C,0),Q=Nd(C,1),V=Nd(w,0),J=Nd(w,1),ne=!R.isPrev&&!R.isNext,ie=d&&b(R.time,d),W=b(R.time,na(A,L)),me=T!=="week"?ne:!0;T==="week"&&(W=na(A,L).isSame(R.time,"date")),T==="quarter"&&(W=na(A,L).isSame(R.time,"quarter"));function ae(M){return me&&!H&&M&&b(R.time,M)}var Te=ae(P),ce=ae(Q),te=ae(Nd(s,0)),Z=ae(Nd(s,1)),D=ae(V),k=ae(J),Y=!1;Te?Y=V&&P&&V.isBefore(P)&&q(P,V,J):ce&&(Y=J&&Q&&J.isAfter(Q)&&q(Q,V,J));var ue=!1;return D?ue=V&&P&&P.isBefore(V)&&q(V,P,Q):k&&(ue=J&&Q&&Q.isAfter(J)&&q(J,P,Q)),Dn(f+"-cell",(B={},B[f+"-cell-disabled"]=H,B[f+"-cell-hidden"]=g&&!ne,B[f+"-cell-in-view"]=ne,B[f+"-cell-today"]=W&&ne,B[f+"-cell-selected"]=ie||te||Z,B[f+"-cell-range-start"]=Te,B[f+"-cell-range-end"]=ce,B[f+"-cell-in-range"]=me&&!H&&q(R.time,P,Q),B[f+"-cell-hover-range-start"]=D,B[f+"-cell-hover-range-end"]=k,B[f+"-cell-hover-in-range"]=me&&!H&&q(R.time,V,J),B[f+"-cell-range-edge-in-hover-range"]=Y,B[f+"-cell-hover-range-edge-in-range"]=ue,B))}}var Ug=function(){return Ug=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Ug.apply(this,arguments)};function jg(u){var f=u.prefixCls,d=u.isWeek,s=u.disabledDate,p=u.onSelectDate,b=u.dateRender,T=u.onMouseEnterCell,g=u.onMouseLeaveCell,S=u.CALENDAR_LOCALE,y=u.rows,C=u.showWeekList,w=u.isSameTime,q=u.format,U=u.mode,R=O.useContext(Vs),H=R.utcOffset,A=R.timezone,L=R.weekStart,B=PN(Ug(Ug({},u),{isSameTime:w}));function P(Q){return Q.map(function(V,J){if(V.time){var ne=FS(V.time,s,U),ie=function(){return!ne&&p(V.time.format(q),V.time)};return O.createElement("div",{key:J,className:B(V,ne,H,A),onMouseEnter:function(){return T&&T(V.time,ne)},onMouseLeave:function(){return g&&g(V.time,ne)},onClick:ie},b?O.cloneElement(b(V.time)):O.createElement("div",{className:f+"-date"},O.createElement("div",{className:f+"-date-value"},V.name)))}if("weekOfYear"in V)return O.createElement("div",{key:J,className:Dn(f+"-cell",f+"-cell-week")},O.createElement("div",{className:f+"-date"},O.createElement("div",{className:f+"-date-value"},V.weekOfYear)))})}return O.createElement(O.Fragment,null,C&&O.createElement(XN,{prefixCls:f,weekStart:L,isWeek:d,CALENDAR_LOCALE:S}),O.createElement("div",{className:f+"-body"},y.map(function(Q,V){var J;return O.createElement("div",{key:V,className:Dn(f+"-row",(J={},J[f+"-row-week"]=d,J))},P(Q))})))}var kg=function(){return kg=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},kg.apply(this,arguments)},QN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function Rd(u){var f=u.pageShowDate,d=u.style,s=u.onMouseEnterCell,p=u.onMouseLeaveCell,b=u.dateRender,T=u.disabledDate,g=u.value,S=u.locale,y=u.isRangePicker,C=u.onSelect,w=u.rangeValues,q=u.onSuperPrev,U=u.onSuperNext,R=u.format,H=u.icons,A=QN(u,["pageShowDate","style","onMouseEnterCell","onMouseLeaveCell","dateRender","disabledDate","value","locale","isRangePicker","onSelect","rangeValues","onSuperPrev","onSuperNext","format","icons"]),L=O.useContext(Qa),B=L.locale,P=L.getPrefixCls,Q=L.rtl,V=yg(B.DatePicker,S),J=V.Calendar,ne=O.useContext(Vs),ie=ne.utcOffset,W=ne.timezone,me=P("panel-year"),ae=Dn(me),Te=y?{rangeValues:w}:{value:g},ce=f?f.year():na(ie,W).year(),te=Math.floor(ce/10)*10-1,Z=ng(3).map(function(ue){return""}),D=ng(4).map(function(ue){return Z}).map(function(ue,M){return ue.map(function(K,re){return{name:te+M*3+re,time:on(""+(te+M*3+re),"YYYY").endOf("year"),isPrev:M===0&&re===0,isNext:M===3&&re===2}})});function k(){return O.createElement(jg,kg({},A,Te,{prefixCls:P("picker"),rows:D,onSelectDate:C,isSameTime:function(ue,M){return ue.isSame(M,"year")},onMouseEnterCell:s,onMouseLeaveCell:p,dateRender:b,disabledDate:T,CALENDAR_LOCALE:J,mode:"year",format:R}))}var Y={onSuperPrev:q,onSuperNext:U};return O.createElement("div",{className:ae,style:d},O.createElement(Hg,kg({prefixCls:P("picker"),icons:H,title:D[0][1].name+" - "+D[3][2].name,rtl:Q},Y)),k())}var cm=function(){return cm=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},cm.apply(this,arguments)},ZN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function Lg(u){var f=u.pageShowDate,d=u.style,s=u.onMouseEnterCell,p=u.onMouseLeaveCell,b=u.dateRender,T=u.disabledDate,g=u.value,S=u.locale,y=u.isRangePicker,C=u.onSelect,w=u.rangeValues,q=u.onSuperPrev,U=u.onSuperNext,R=u.format,H=u.getHeaderOperations,A=u.setPageShowDate,L=u.icons,B=u.panelMode,P=u.setPanelMode,Q=ZN(u,["pageShowDate","style","onMouseEnterCell","onMouseLeaveCell","dateRender","disabledDate","value","locale","isRangePicker","onSelect","rangeValues","onSuperPrev","onSuperNext","format","getHeaderOperations","setPageShowDate","icons","panelMode","setPanelMode"]),V=O.useContext(Qa),J=V.locale,ne=V.getPrefixCls,ie=V.rtl,W=yg(J.DatePicker,S),me=W.Calendar,ae=ne("panel-month"),Te=Dn(ae),ce=y?{rangeValues:w}:{value:g},te=f.year(),Z=O.useMemo(function(){for(var ue=["January","February","March","April","May","June","July","August","September","October","November","December"].map(function(re,le){return{name:me.month.short[re],time:on(te+"-"+jr(le+1,2,"0"),"YYYY-MM").endOf("month")}}),M=Array(4),K=0;K<4;K++)M[K]=ue.slice(K*3,3*(K+1));return M},[te,me]);function D(){return O.createElement(jg,cm({},Q,ce,{prefixCls:ne("picker"),rows:Z,onSelectDate:C,isSameTime:function(ue,M){return ue.isSame(M,"month")},onMouseEnterCell:s,onMouseLeaveCell:p,dateRender:b,disabledDate:T,CALENDAR_LOCALE:me,mode:"month",format:R}))}var k={onSuperPrev:q,onSuperNext:U};function Y(ue){P(ue)}return B==="year"?O.createElement(Rd,cm({},H(B),{pageShowDate:f,onSelect:function(ue,M){P("month"),A(M)},disabledDate:T})):O.createElement("div",{className:Te,style:d},O.createElement(Hg,cm({},k,{DATEPICKER_LOCALE:W,icons:L,prefixCls:ne("picker"),value:f,mode:B,onChangePanel:Y,rtl:ie})),D())}var rl=function(){return rl=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},rl.apply(this,arguments)},KN=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d},JN=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},IN=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))},q2=42,nE=function(u){return{year:u.year(),month:u.month()+1,day:u.day(),name:u.date(),time:u}},WN=function(u){return rl(rl({},nE(Hn.startOf(u,"month"))),{days:u.daysInMonth()})};function FN(u,f){var d=u.dayStartOfWeek,s=u.isWeek,p=WN(f),b=ng(q2).map(function(){return{}}),T=p.day-d<0?7+(p.day-d):p.day-d;b[T]=rl({},p);for(var g=0;g<T;g++)b[T-g-1]=rl(rl({},nE(Hn.subtract(p.time,g+1,"day"))),{isPrev:!0});for(var g=0;g<q2-T-1;g++)b[T+g+1]=rl(rl({},nE(Hn.add(p.time,g+1,"day"))),{isNext:g>=p.days-1});for(var S=ng(6).map(function(){return[]}),g=0;g<6;g++)if(S[g]=b.slice(g*7,7*(g+1)),s){var y=S[g][0].time,C=IN([],JN(S[g]),!1);S[g].unshift({weekRows:C,weekOfYear:y.week()})}return S}function Bg(u){var f=u.isWeek,d=u.popupVisible,s=u.format,p=u.pageShowDate,b=u.showTime,T=u.style,g=u.timepickerProps,S=u.onMouseEnterCell,y=u.onMouseLeaveCell,C=u.dateRender,w=u.disabledDate,q=u.disabledTime,U=u.value,R=u.rangeValues,H=u.locale,A=u.isRangePicker,L=u.onSelect,B=u.onTimePickerSelect,P=u.onPrev,Q=u.onNext,V=u.onSuperPrev,J=u.onSuperNext,ne=u.isSameTime,ie=u.index,W=u.getHeaderOperations,me=u.setPageShowDate,ae=u.timeValue,Te=u.hideNotInViewDates,ce=u.icons,te=u.isTimePanel,Z=u.panelMode,D=u.setPanelMode,k=KN(u,["isWeek","popupVisible","format","pageShowDate","showTime","style","timepickerProps","onMouseEnterCell","onMouseLeaveCell","dateRender","disabledDate","disabledTime","value","rangeValues","locale","isRangePicker","onSelect","onTimePickerSelect","onPrev","onNext","onSuperPrev","onSuperNext","isSameTime","index","getHeaderOperations","setPageShowDate","timeValue","hideNotInViewDates","icons","isTimePanel","panelMode","setPanelMode"]),Y=O.useContext(Qa),ue=Y.locale,M=Y.getPrefixCls,K=Y.rtl,re=O.useContext(Vs),le=re.utcOffset,be=re.timezone,Me=re.weekStart,Oe=yg(ue.DatePicker,H),ze=M(f?"panel-week":"panel-date"),qe=Dn(ze),Be=A?{rangeValues:R}:{value:U},$e=yu(b)&&b.format||mN(s),Fe=ue.dayjsLocale,Le=O.useMemo(function(){return FN(rl(rl({},u),{dayStartOfWeek:Me}),p.locale(Fe))},[p.toString(),Me,Fe]),ye;A?ye=typeof q=="function"?q(R[ie],ie===0?"start":"end"):{}:ye=typeof q=="function"?q(Jn(U,s)):{};function I(){return O.createElement(jg,rl({},k,Be,{showWeekList:!0,isWeek:f,prefixCls:M("picker"),rows:Le,isSameTime:ne||function(Ve,Ae){return Ve.isSame(Ae,"day")},onSelectDate:L,onMouseEnterCell:S,onMouseLeaveCell:y,dateRender:C,disabledDate:w,CALENDAR_LOCALE:Oe.Calendar,mode:f?"week":"date",format:s,hideNotInViewDates:Te}))}function se(){var Ve=yu(b)?b:{};return O.createElement("div",{className:ze+"-timepicker"},O.createElement("header",{className:ze+"-timepicker-title"},Oe.selectTime),O.createElement(GN,rl({},Ih(g,["disableConfirm"]),Ve,ye,{hideFooter:!0,format:$e,valueShow:ae.format($e),onSelect:B,popupVisible:d,utcOffset:le,timezone:be})))}var Ue={onPrev:P,onSuperPrev:V,onNext:Q,onSuperNext:J,DATEPICKER_LOCALE:Oe};function pe(Ve){D(Ve)}return Z==="year"?O.createElement(Rd,rl({},W(Z),{pageShowDate:p,onSelect:function(Ve,Ae){D("month"),me(Ae)},disabledDate:w})):Z==="month"?O.createElement(Lg,rl({},W(Z),{setPageShowDate:me,pageShowDate:p,panelMode:Z,getHeaderOperations:W,onSelect:function(Ve,Ae){D("date"),me(Ae)},disabledDate:w,setPanelMode:D})):O.createElement("div",{className:qe,style:T},b&&te?se():O.createElement("div",{className:ze+"-inner"},O.createElement(Hg,rl({},Ue,{icons:ce,prefixCls:M("picker"),value:p,mode:Z,onChangePanel:pe,rtl:K})),I()))}var aE=function(){return aE=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},aE.apply(this,arguments)},eR=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function lE(u){var f=u.value,d=u.isRangePicker,s=u.rangeValues,p=u.onPrev,b=u.onNext,T=u.onSuperPrev,g=u.onSuperNext,S=u.localeName,y=eR(u,["value","isRangePicker","rangeValues","onPrev","onNext","onSuperPrev","onSuperNext","localeName"]),C=O.useContext(Vs).weekStart,w=d?{rangeValues:s}:{value:f},q={onPrev:p,onNext:b,onSuperPrev:T,onSuperNext:g};function U(R,H){return Hn.isSameWeek(R,H,C,S)}return O.createElement(Bg,aE({},y,w,q,{isWeek:!0,isSameTime:U,isRangePicker:d}))}var sm=function(){return sm=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},sm.apply(this,arguments)},tR=function(u,f){var d={};for(var s in u)Object.prototype.hasOwnProperty.call(u,s)&&f.indexOf(s)<0&&(d[s]=u[s]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var p=0,s=Object.getOwnPropertySymbols(u);p<s.length;p++)f.indexOf(s[p])<0&&Object.prototype.propertyIsEnumerable.call(u,s[p])&&(d[s[p]]=u[s[p]]);return d};function rE(u){var f=u.pageShowDate,d=u.style,s=u.onMouseEnterCell,p=u.onMouseLeaveCell,b=u.dateRender,T=u.disabledDate,g=u.value,S=u.locale,y=u.isRangePicker,C=u.onSelect,w=u.rangeValues,q=u.onSuperPrev,U=u.onSuperNext,R=u.format,H=u.getHeaderOperations,A=u.setPageShowDate,L=u.icons,B=u.panelMode,P=u.setPanelMode,Q=tR(u,["pageShowDate","style","onMouseEnterCell","onMouseLeaveCell","dateRender","disabledDate","value","locale","isRangePicker","onSelect","rangeValues","onSuperPrev","onSuperNext","format","getHeaderOperations","setPageShowDate","icons","panelMode","setPanelMode"]),V=O.useContext(Qa),J=V.locale,ne=V.getPrefixCls,ie=V.rtl,W=yg(J.DatePicker,S),me=W.Calendar,ae=ne("panel-quarter"),Te=Dn(ae),ce=y?{rangeValues:w}:{value:g},te=f.year(),Z=[[1,2,3,4].map(function(ue){return{name:"Q"+ue,time:on(te+"-"+jr((ue-1)*3+1,2,"0")+"-01")}})];function D(){return O.createElement(jg,sm({},Q,ce,{prefixCls:ne("picker"),rows:Z,onSelectDate:C,isSameTime:function(ue,M){return ue.isSame(M,"month")},onMouseEnterCell:s,onMouseLeaveCell:p,dateRender:b,disabledDate:T,CALENDAR_LOCALE:me,mode:"quarter",format:R}))}var k={onSuperPrev:q,onSuperNext:U};function Y(ue){P(ue)}return B==="year"?O.createElement(Rd,sm({},H(B),{pageShowDate:f,onSelect:function(ue,M){P("quarter"),A(M)},disabledDate:T})):O.createElement("div",{className:Te,style:d},O.createElement(Hg,sm({},k,{icons:L,prefixCls:ne("picker"),value:f,mode:B,onChangePanel:Y,DATEPICKER_LOCALE:W,rtl:ie})),O.createElement("div",{className:ae+"-wrapper"},D()))}var Ha=function(){return Ha=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Ha.apply(this,arguments)};function iE(u,f){for(var d=[],s=u;s<f;s++)d.push(s);return d}function nR(u){var f=u.mode,d=f===void 0?"date":f,s=u.showTime,p=u.disabledDate,b=u.disabledTime,T=u.format,g=u.dateRender,S=u.value,y=u.timeValues,C=u.icons,w=u.locale,q=u.pageShowDates,U=u.onMouseEnterCell,R=u.onMouseLeaveCell,H=u.onTimePickerSelect,A=u.onSelectPanel,L=u.onPrev,B=u.onSuperPrev,P=u.onNext,Q=u.onSuperNext,V=u.localeName,J=u.popupVisible,ne=u.timepickerProps,ie=u.getHeaderOperations,W=u.setRangePageShowDates,me=u.disabledTimePickerIndex,ae=u.hideNotInViewDates,Te=u.isTimePanel,ce=u.valueShowHover,te=u.panelModes,Z=u.setPanelModes,D=O.useContext(Qa).getPrefixCls,k=D("picker-range"),Y=O.useContext(Vs),ue=Y.utcOffset,M=Y.timezone,K=q[0]||na(ue,M),re=q[1]||na(ue,M),le=Jn(S,T),be={isRangePicker:!0,rangeValues:le,onMouseEnterCell:U,onMouseLeaveCell:R,locale:w,disabledDate:p,onSelect:A,dateRender:g,getHeaderOperations:ie,icons:C,valueShowHover:ce},Me={pageShowDate:K,panelMode:te[0],setPanelMode:function(Fe){return Z([Fe,te[1]])},format:ho(T,0)},Oe={pageShowDate:re,panelMode:te[1],setPanelMode:function(Fe){return Z([te[0],Fe])},format:ho(T,1)};function ze(){var Fe={onPrev:L,onSuperPrev:B},Le={onNext:P,onSuperNext:Q},ye=Ha(Ha({},be),{localeName:V,popupVisible:J,timepickerProps:ne,getHeaderOperations:ie,hideNotInViewDates:ae,isTimePanel:Te});if(d==="week")return O.createElement(O.Fragment,null,O.createElement(lE,Ha({setPageShowDate:function(pe){return W([pe,pe],0)}},Fe,ye,Me)),O.createElement(lE,Ha({setPageShowDate:function(pe){return W([Hn.subtract(pe,1,"month"),pe],1)}},Le,ye,Oe)));var I={disabledTime:b,showTime:s},se={};if(typeof me=="number"&&(se.disabledTime=function(){return{disabledHours:function(){return iE(0,24)},disabledMinutes:function(){return iE(0,60)},disabledSeconds:function(){return iE(0,60)}}},yu(s))){var Ue=Ha(Ha({},s),{defaultValue:void 0});se.showTime=Ha(Ha({},Ue),{hideDisabledOptions:!1})}return O.createElement(O.Fragment,null,O.createElement(Bg,Ha({},Fe,ye,I,me===0?se:{},{onTimePickerSelect:function(pe,Ve){H(0,pe,Ve)},index:0,setPageShowDate:function(pe){return W([pe,pe],0)},timeValue:y[0]},Me)),O.createElement(Bg,Ha({},Le,ye,I,me===1?se:{},{onTimePickerSelect:function(pe,Ve){H(1,pe,Ve)},index:1,setPageShowDate:function(pe){return W([Hn.subtract(pe,1,"month"),pe],1)},timeValue:y[1]},Oe)))}function qe(){var Fe={onSuperPrev:B},Le={onSuperNext:Q},ye=be;return O.createElement(O.Fragment,null,O.createElement(Lg,Ha({setPageShowDate:function(I){return W([I,I],0)}},Fe,ye,Me)),O.createElement(Lg,Ha({setPageShowDate:function(I){return W([Hn.subtract(I,1,"year"),I],1)}},Le,ye,Oe)))}function Be(){var Fe={onSuperPrev:B},Le={onSuperNext:Q},ye=be;return O.createElement(O.Fragment,null,O.createElement(Rd,Ha({},Fe,ye,{pageShowDate:K})),O.createElement(Rd,Ha({},Le,ye,{pageShowDate:re})))}function $e(){var Fe={onSuperPrev:B},Le={onSuperNext:Q},ye=be;return O.createElement(O.Fragment,null,O.createElement(rE,Ha({setPageShowDate:function(I){return W([I,I],0)}},Fe,ye,Me)),O.createElement(rE,Ha({setPageShowDate:function(I){return W([Hn.subtract(I,1,"year"),I],1)}},Le,ye,Oe)))}return O.createElement("div",{className:k},O.createElement("div",{className:k+"-wrapper"},(d==="date"||d==="week")&&ze(),d==="month"&&qe(),d==="year"&&Be(),d==="quarter"&&$e()))}var Ys=function(){return Ys=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},Ys.apply(this,arguments)},Za=function(u,f){var d=typeof Symbol=="function"&&u[Symbol.iterator];if(!d)return u;var s=d.call(u),p,b=[],T;try{for(;(f===void 0||f-- >0)&&!(p=s.next()).done;)b.push(p.value)}catch(g){T={error:g}}finally{try{p&&!p.done&&(d=s.return)&&d.call(s)}finally{if(T)throw T.error}}return b},qd=function(u,f,d){if(d||arguments.length===2)for(var s=0,p=f.length,b;s<p;s++)(b||!(s in f))&&(b||(b=Array.prototype.slice.call(f,0,s)),b[s]=f[s]);return u.concat(b||Array.prototype.slice.call(f))};function aR(u){var f=u.format,d=u.showTime,s=u.mode,p;switch(s){case"date":p=d?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD";break;case"month":p="YYYY-MM";break;case"year":p="YYYY";break;case"week":p="YYYY-wo";break;case"quarter":p="YYYY-[Q]Q";break;default:p="YYYY-MM-DD"}return f&&(p=f),p}var H2={allowClear:!0,unmountOnExit:!0,position:"bl",editable:!0,mode:"date"},lR={bottom:4},rR=function(u,f){var d,s,p=O.useContext(Qa),b=p.getPrefixCls,T=p.locale,g=p.size,S=p.componentConfig,y=p.rtl;y&&(H2.position="br");var C=Wh(u,H2,S?.DatePicker),w=C.allowClear,q=C.className,U=C.style,R=C.placeholder,H=C.getPopupContainer,A=C.disabled,L=C.position,B=C.error,P=C.status,Q=C.unmountOnExit,V=C.editable,J=C.triggerProps,ne=C.shortcuts,ie=C.onSelect,W=C.onVisibleChange,me=C.value,ae=C.onChange,Te=C.icons,ce=C.disabledDate,te=C.disabledTime,Z=C.mode,D=C.showTime,k=C.onSelectShortcut,Y=C.extra,ue=C.shortcutsPlacementLeft,M=C.onOk,K=C.defaultPickerValue,re=C.pickerValue,le=C.panelRender,be=C.onPickerValueChange,Me=C.triggerElement,Oe=C.clearRangeOnReselect,ze=C.separator,qe=C.utcOffset,Be=C.timezone,$e=C.inputProps,Fe=C.fixedTime,Le=b("picker-range"),ye=xd(C.dayStartOfWeek)?M2(T.dayjsLocale):C.dayStartOfWeek,I=O.useRef(null),se=O.useRef(null),Ue=O.useRef(null),pe=O.useRef(null),Ve=O.useRef(null);O.useImperativeHandle(f,function(){return{focus:function(he){I.current&&I.current.focus&&I.current.focus(he)},blur:function(){I.current&&I.current.blur&&I.current.blur()}}},[]);var Ae=aR(C);function We(){if(Yt(A)){if(A[0]&&!A[1])return 1;if(A[1]&&!A[0])return 0}}var Pe=We(),Ne=typeof Pe=="number",Ze=Ne?1^Pe:void 0,Ye=Za(O.useState(Ne?Pe:0),2),Ke=Ye[0],it=Ye[1];O.useEffect(function(){Ne&&it(Pe)},[A]);var Xe=1^Ke,dt=Za(O.useState(),2),pt=dt[0],gt=dt[1],Jt=Za(O.useState(),2),In=Jt[0],Mn=Jt[1],En=Za(O.useState(wl()),2),yn=En[0],aa=En[1],Un=Za(O.useState(),2),Ut=Un[0],dn=Un[1],Ua=Za(O.useState(),2),xa=Ua[0],ja=Ua[1],pn=Za(O.useState(),2),la=pn[0],zn=pn[1],jn=Za(O.useState(C.popupVisible),2),fr=jn[0],yo=jn[1],Tc=Za(O.useState([Z,Z]),2),cn=Tc[0],Tn=Tc[1],Pn=Za(O.useState(!1),2),il=Pn[0],dr=Pn[1],Cl="popupVisible"in C?C.popupVisible:fr,ma=Jn(me,Ae,qe,Be),ra="value"in C?ma:yn,Je=la||Ut||ra||[],ia=Ng(Ut||ra),hn=O.useRef(!0),ul=na(),_l=Md(ul,qe,Be);function Al(){var he=[],Qe=yu(D)&&D.defaultValue?Jn(D.defaultValue,D.format||"HH:mm:ss"):[];return he[0]=Je[0]||Qe[0]||_l,he[1]=Je[1]||Qe[1]||_l,he}var mn=Al(),kr=Ne?function(he){return Pe===0?he.isAfter(Je[1],Z):he.isBefore(Je[0],Z)}:void 0,ua=Me!==void 0,Qn=ua||Oe;function wl(){var he;if(C.value?he=Jn(C.value,Ae,qe,Be):he=Jn(C.defaultValue,Ae,qe,Be),Ne&&(!he||he&&!he[Xe])){var Qe=[];return Qe[Xe]=na(qe,Be),Qe}return he}var Hi=ra||Jn(K,Ae)||[ul,ul],Ui=Za(O.useState(Ie(Hi)),2),Eu=Ui[0],ji=Ui[1],ka=Ie(Jn(re,Ae,qe,Be))||Eu,pr=am(qe),La=am(Be);KS(function(){if(Yt(yn)&&(pr!==qe||Be!==La)){var he=yn.map(function(rt){return Su(rt,pr,La)}),Qe=he.map(function(rt){return Md(rt,qe,Be)});aa(Qe)}},[qe,pr,Be,La]),KS(function(){ji(Ie(Hi))},[Z]),O.useEffect(function(){Tn([Z,Z])},[Z]),O.useEffect(function(){if(Mn(void 0),gt(void 0),Cl){var he=Ie(Hi);dr(!1),Tn([Z,Z]),ji(he),Zn(he),dn(ra),ue&&(Ue.current.style.maxHeight=se.current.clientHeight+"px")}else dn(void 0),ja(void 0),zn(void 0),oa();hn.current=Cl},[Cl]);var ki=(d=ma?.[0])===null||d===void 0?void 0:d.format(ho(Ae,0)),go=(s=ma?.[1])===null||s===void 0?void 0:s.format(ho(Ae,1));O.useEffect(function(){dn(void 0),ja(void 0)},[ki,go]);function Ka(he,Qe){Qe===void 0&&(Qe=Ke);var rt=Ie(he,Qe);ji(rt),Zn(rt)}function Zn(he){ft([he[0],Eu[0]],Z)||be&&be(Yt(he)?he.map(function(Qe,rt){return Qe&&Qe.format(ho(Ae,rt))}):void 0,he)}function Ie(he,Qe){Qe===void 0&&(Qe=Ke);var rt=Qe===0||ft(he,Z);if(Yt(he)&&he.length<2)return xn(he[0]||na(qe,Be),Z,"prev");if(Yt(he)&&he.length===2)return he[Qe]?xn(he[Qe],Z,rt?"prev":"next"):xn(he[Qe===0?1:0]||na(qe,Be),Z,rt&&!he[Qe===0?1:0]?"prev":"next")}function ft(he,Qe){if(he&&he.length===2&&Vr(he))return(Qe==="date"||Qe==="week")&&he[0].isSame(he[1],"month")||(Qe==="month"||Qe==="quarter")&&he[0].isSame(he[1],"year")||Qe==="year"&&Math.floor(he[0].year()/10)===Math.floor(he[1].year()/10)}function xn(he,Qe,rt){he===void 0&&(he=na(qe,Be)),Qe===void 0&&(Qe=Z),rt===void 0&&(rt="prev");var st=rt==="prev";switch(Qe){case"date":case"week":return st?[he,Hn.add(he,1,"month")]:[Hn.subtract(he,1,"month"),he];case"month":case"quarter":return st?[he,Hn.add(he,1,"year")]:[Hn.subtract(he,1,"year"),he];case"year":return st?[he,Hn.add(he,10,"year")]:[Hn.subtract(he,10,"year"),he];default:return[]}}function jt(he){I.current&&I.current.focus&&I.current.focus(Ne?Pe:he)}function oa(){I.current&&I.current.blur&&I.current.blur()}function Tu(he){he?(setTimeout(function(){return jt()}),Oa(he)):Oa(!1)}function Oa(he){W&&W(he),yo(he)}function hr(he){he.stopPropagation();var Qe=qd([],Za(Je),!1);Ne?Qe[Pe]=void 0:Qe=void 0,aa(Qe),dn(Qe),xu(Qe),C.onClear&&C.onClear()}function Gl(he,Qe){if(it(he),Je&&Je.length&&!Qe){var rt=Ie(Je,he);ji(rt),Zn(rt)}}function Hd(he){var Qe=typeof kr=="function"?kr(he):!1,rt=typeof ce=="function"?ce(he):!1;return rt||Qe}function Ja(he){return gN(he,Ae,Ke)&&!Hd(Jn(he,Ae))}function xc(he){var Qe=qd([],Za(Je||[]),!1),rt=he.target.value;gt(rt),Cl||Oa(!0),Ja(rt)&&(Qe[Ke]=Jn(rt,Ae),dn(Qe),Ka(Qe),gt(void 0))}function Oc(){pt&>(void 0)}function xu(he){if(yN(ra,he)){var Qe=Yt(he)?he.map(function(rt){return po(Su(rt,qe,Be),T.dayjsLocale)}):void 0;ae&&ae(Yt(Qe)?Qe.map(function(rt,st){return rt&&rt.format(ho(Ae,st))}):void 0,Qe)}}function Li(){Yt(Ut)&&Ut.length?pt&&!Ja(pt)?gt(void 0):ia!==2?_c():ia===2&&Lr(Ut):Cl&&Oa(!1)}function Lr(he,Qe){var rt=he||Je;if(!(!rt||!rt[0]||!rt[1])){var st=um(rt,Fe);aa(st),xu(st),Me!==null&&!Qe&&Oa(!1)}}function $s(){Lr();var he=Je.map(function(Qe){return po(Qe,T.dayjsLocale)});M&&M(he.map(function(Qe,rt){return Qe&&Qe.format(ho(Ae,rt))}),he)}function Bi(){switch(Z){case"date":case"week":return"date";case"month":return"month";case"year":return"year";default:return}}function Gs(he){if(ia!==2)return!1;var Qe=Ut||ra;return!!(Ke===0&&he.isAfter(Qe[1],Bi())||Ke===1&&he.isBefore(Qe[0],Bi()))}function Cc(he,Qe){var rt=Gs(Qe)&&hn.current,st=Qn&&ia===2&&!Ne?[]:qd([],Za(Je),!1),sn=ua?ia===0||ia===2?0:1:Ke,$r=D?Bs(Qe,mn[sn]):Qe;rt?(st[sn]=$r,st[1^sn]=void 0):st[sn]=$r;var Gr=um(st,Fe);Br(Gr),gt(void 0),Mn(void 0);var Ac=Ng(st);Qn?ia===0||ia===2&&!Ne?ua?it(1):_c(!0):D||Lr(st):Ac<=1?_c(!0):ia===2&&hn.current&&!Ne?(hn.current=!1,_c(!0),!D&&!rt&&Lr(st,!0)):(hn.current=!1,!D&&!rt&&Lr(st))}function bo(he,Qe,rt){var st=Yt(Je)?qd([],Za(Je),!1):[],sn=Bs(st[he]||na(qe,Be),rt);st[he]=sn,Br(st)}function Br(he){dn(he),ja(void 0);var Qe=um(he,Fe),rt=Qe.map(function(st){return po(Su(st,qe,Be),T.dayjsLocale)});ie&&ie(rt.map(function(st,sn){return st&&st.format(ho(Ae,sn))}),rt,{type:Ke===1?"end":"start"})}function _c(he){Gl(Xe,he),setTimeout(function(){return jt(Xe)})}function Ud(he,Qe){var rt=qd([],Za(Je||[]),!1),st=Qn?ia===1:ia!==0;if(!Qe&&st&&!Gs(he)&&(rt[Ke]=Bs(he,mn[Ke]),ja(rt),gt(void 0)),!Qe){var sn=D?Bs(he,mn[Ke]):he;Mn(sn.locale(T.dayjsLocale).format(ho(Ae,Ke)))}}function So(){ja(void 0),Mn(void 0)}function Vr(he){return he&&Yt(he)&&he.length===2&&Hr(he[0])&&Hr(he[1])}function Eo(he){var Qe=typeof he.value=="function"&&he.value();return Vr(Qe)}function Vi(){clearTimeout(pe.current),clearTimeout(Ve.current),pe.current=null,Ve.current=null}function Ou(he){Vi(),pe.current=setTimeout(function(){if(Eo(he)){var Qe=Jn(he.value(),Ae,qe,Be);zn(Qe),Ka(Qe)}},50)}function jd(){Vi(),Ve.current=setTimeout(function(){zn(void 0),Ka(Ut||ra||[na(qe,Be),na(qe,Be)])},50)}function Xs(he){if(k&&k(he),Eo(he)){var Qe=Jn(he.value(),Ae,qe,Be);Lr(Qe)}}function Ia(he,Qe,rt){rt===void 0&&(rt=1);var st=he==="prev"?0:1,sn=qd([],Za(ka),!1);he==="prev"&&(sn[st]=Hn.subtract(ka[st],rt,Qe)),he==="next"&&(sn[st]=Hn.add(ka[st],rt,Qe)),sn=xn(sn[st],Z,he),Ka(sn)}function Yr(he){if(he===void 0&&(he=Z),he==="date"||he==="week")return{onPrev:function(){return Ia("prev","month")},onNext:function(){return Ia("next","month")},onSuperPrev:function(){return Ia("prev","year")},onSuperNext:function(){return Ia("next","year")}};if(he==="month"||he==="quarter")return{onSuperPrev:function(){return Ia("prev","year")},onSuperNext:function(){return Ia("next","year")}};if(he==="year")return{onSuperPrev:function(){return Ia("prev","year",10)},onSuperNext:function(){return Ia("next","year",10)}}}function Xl(){dr(!il)}function To(he){var Qe,rt=Dn(Le+"-container",(Qe={},Qe[Le+"-panel-only"]=he,Qe[Le+"-container-shortcuts-placement-left"]=Yt(ne)&&ue,Qe[Le+"-container-rtl"]=y,Qe),he?q:""),st={prefixCls:b("picker"),showTime:D,shortcuts:ne,onMouseEnterShortcut:Ou,onMouseLeaveShortcut:jd,onSelectShortcut:Xs},sn=D&&cn[0]==="date"&&cn[1]==="date"||Y||Yt(ne)&&ne.length&&!ue,$r=O.createElement(O.Fragment,null,O.createElement(nR,Ys({},C,Yr(),{getHeaderOperations:Yr,setRangePageShowDates:Ka,pageShowDates:ka,value:Je,format:Ae,onSelectPanel:Cc,onMouseEnterCell:Ud,onMouseLeaveCell:So,disabledDate:function(Qs){return Hd(Qs)},disabledTime:te,mode:Z,localeName:T.dayjsLocale,showTime:D,timeValues:la||mn,onTimePickerSelect:bo,popupVisible:Cl,disabledTimePickerIndex:Ze,isTimePanel:il,valueShowHover:xa,panelModes:cn,setPanelModes:Tn})),!!sn&&O.createElement(D2,Ys({},st,{DATEPICKER_LOCALE:T.DatePicker,disabled:!(Yt(Je)&&Je[0]&&Je[1]),onClickConfirmBtn:$s,extra:Y,shortcutsPlacementLeft:ue,onClickSelectTimeBtn:Xl,isTimePanel:il}))),Gr=ue?O.createElement(O.Fragment,null,O.createElement(JS,Ys({ref:Ue},st)),O.createElement("div",{ref:se,className:Le+"-panel-wrapper"},$r)):$r,Ac=typeof le=="function"?le(Gr):Gr;return O.createElement("div",{className:rt,onClick:function(){return jt()},style:he?U:{}},Ac)}var mr=C.size||g,vr=Yt(R)?R:T.DatePicker.placeholders[Z],Cu=Te&&Te.inputSuffix===null?null:Te&&Te.inputSuffix||(D?O.createElement(zg,null):O.createElement(Mg,null)),Yi={style:U,className:q,popupVisible:Cl,format:Ae,disabled:A,error:B,status:P,size:mr,onPressEnter:Li,onClear:hr,suffixIcon:Cu,editable:V,allowClear:w,prefix:C.prefix},Ps=Yt(A)?A[0]&&A[1]:A;return O.createElement(Vs.Provider,{value:{utcOffset:qe,timezone:Be,weekStart:ye}},Me===null?To(!0):O.createElement(oO,Ys({popup:To,trigger:"click",clickToClose:!1,position:L,disabled:Ps,popupAlign:lR,getPopupContainer:H,onVisibleChange:Tu,popupVisible:Cl,classNames:"slideDynamicOrigin",unmountOnExit:Q},J),Me||O.createElement(BN,Ys({},i1(C),Yi,{inputProps:$e,ref:I,placeholder:vr,value:Ut||ra,onChange:xc,inputValue:In||pt,changeFocusedInputIndex:Gl,focusedInputIndex:Ke,isPlaceholder:!!In,separator:ze,onBlur:Oc}))))},U2=O.forwardRef(rR);U2.displayName="RangePicker";var iR=function(){var u=function(f,d){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,p){s.__proto__=p}||function(s,p){for(var b in p)Object.prototype.hasOwnProperty.call(p,b)&&(s[b]=p[b])},u(f,d)};return function(f,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");u(f,d);function s(){this.constructor=f}f.prototype=d===null?Object.create(d):(s.prototype=d.prototype,new s)}}(),uE=function(){return uE=Object.assign||function(u){for(var f,d=1,s=arguments.length;d<s;d++){f=arguments[d];for(var p in f)Object.prototype.hasOwnProperty.call(f,p)&&(u[p]=f[p])}return u},uE.apply(this,arguments)};function fm(u,f){var d;return d=function(s){iR(p,s);function p(b){var T=s.call(this,b)||this;return T.refPicker=O.createRef(),T}return p.prototype.focus=function(){this.refPicker.current&&this.refPicker.current.focus&&this.refPicker.current.focus()},p.prototype.blur=function(){this.refPicker.current&&this.refPicker.current.blur&&this.refPicker.current.blur()},p.prototype.render=function(){return O.createElement(jN,uE({},this.props,{ref:this.refPicker,picker:u,mode:f.mode}))},p}(O.Component),d.displayName=f.displayName,d}var uR=fm(O.createElement(Bg,null),{displayName:"DatePicker",mode:"date"}),oR=fm(O.createElement(Lg,null),{displayName:"MonthPicker",mode:"month"}),cR=fm(O.createElement(Rd,null),{displayName:"YearPicker",mode:"year"}),sR=fm(O.createElement(lE,null),{displayName:"WeekPicker",mode:"week"}),fR=fm(O.createElement(rE,null),{displayName:"QuarterPicker",mode:"quarter"}),dR=U2;const pR=Object.assign(uR,{MonthPicker:oR,YearPicker:cR,WeekPicker:sR,QuarterPicker:fR,RangePicker:dR});function j2(u,f){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(u);f&&(s=s.filter(function(p){return Object.getOwnPropertyDescriptor(u,p).enumerable})),d.push.apply(d,s)}return d}function k2(u){for(var f=1;f<arguments.length;f++){var d=arguments[f]!=null?arguments[f]:{};f%2?j2(Object(d),!0).forEach(function(s){Ni(u,s,d[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):j2(Object(d)).forEach(function(s){Object.defineProperty(u,s,Object.getOwnPropertyDescriptor(d,s))})}return u}function hR(u,f){var d=O.useContext(Ri),s=d.prefixCls,p=s===void 0?"arco":s,b=u.spin,T=u.className,g=k2(k2({"aria-hidden":!0,focusable:!1,ref:f},u),{},{className:"".concat(T?T+" ":"").concat(p,"-icon ").concat(p,"-icon-info-circle")});return b&&(g.className="".concat(g.className," ").concat(p,"-icon-loading")),delete g.spin,delete g.isIcon,O.createElement("svg",Ol({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},g),O.createElement("path",{d:"M24 20v14m0-16v-4m18 10c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"}))}var oE=O.forwardRef(hR);oE.defaultProps={isIcon:!0},oE.displayName="IconInfoCircle";var Vg={exports:{}},dm={},Yg={exports:{}},cE={};/**
|
|
22
|
+
<%s key={someKey} {...props} />`,Me,nt,xt,nt),fe[nt+Me]=!0)}if(nt=null,de!==void 0&&(G(de),nt=""+de),Ae(ve)&&(G(ve.key),nt=""+ve.key),"key"in ve){de={};for(var Rt in ve)Rt!=="key"&&(de[Rt]=ve[Rt])}else de=ve;return nt&&pe(de,typeof M=="function"?M.displayName||M.name||"Unknown":M),m(M,nt,Pe,Le,Z(),de,lt,Je)}function Y(M){typeof M=="object"&&M!==null&&M.$$typeof===P&&M._store&&(M._store.validated=1)}var ye=te,P=Symbol.for("react.transitional.element"),V=Symbol.for("react.portal"),ze=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),le=Symbol.for("react.profiler"),ie=Symbol.for("react.consumer"),oe=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),we=Symbol.for("react.client.reference"),Te=ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ce=Object.prototype.hasOwnProperty,Ie=Array.isArray,F=console.createTask?console.createTask:function(){return null};ye={react_stack_bottom_frame:function(M){return M()}};var K,S={},R=ye.react_stack_bottom_frame.bind(ye,re)(),U=F(T(re)),fe={};xh.Fragment=ze,xh.jsx=function(M,ve,de,Me,Le){var Pe=1e4>Te.recentlyCreatedOwnerStacks++;return w(M,ve,de,!1,Me,Le,Pe?Error("react-stack-top-frame"):R,Pe?F(T(M)):U)},xh.jsxs=function(M,ve,de,Me,Le){var Pe=1e4>Te.recentlyCreatedOwnerStacks++;return w(M,ve,de,!0,Me,Le,Pe?Error("react-stack-top-frame"):R,Pe?F(T(M)):U)}}()),xh}var V0;function hS(){return V0||(V0=1,process.env.NODE_ENV==="production"?ym.exports=fS():ym.exports=dS()),ym.exports}var ne=hS();const G0=({variant:v="primary",loading:X=!1,children:G,...T})=>{const Z=re=>{switch(re){case"primary":return"primary";case"ghost":return"default";case"dashed":return"dashed";case"link":return"link";case"text":return"text";default:return"primary"}};return ne.jsx(qt.Button,{...T,type:Z(v),loading:X,ghost:v==="ghost",children:G})};G0.__docgenInfo={displayName:"Button",description:"基础按钮,用于触发操作",props:{variant:{name:"variant",required:!1,description:"视觉风格",type:{name:"ButtonVariant",raw:'"primary" | "ghost" | "dashed" | "link" | "text"'},defaultValue:{value:'"primary"'}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},children:{name:"children",required:!1,description:"按钮内容",type:{name:"ReactNode",raw:"React.ReactNode"}},size:{name:"size",required:!1,description:"按钮大小",type:{name:"ButtonSize",raw:'"small" | "middle" | "large"'}},disabled:{name:"disabled",required:!1,description:"是否禁用",type:{name:"boolean",raw:"boolean"}},onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"(event: MouseEvent) => void"}}}};const Y0=({title:v,children:X,bordered:G=!0,hoverable:T=!1,size:Z="default",...re})=>ne.jsx(qt.Card,{...re,title:v,bordered:G,hoverable:T,size:Z,children:X});Y0.__docgenInfo={displayName:"Card",description:"卡片容器,用于分组内容",props:{title:{name:"title",required:!1,description:"标题",type:{name:"ReactNode",raw:"React.ReactNode"}},children:{name:"children",required:!1,description:"内容区域",type:{name:"ReactNode",raw:"React.ReactNode"}},bordered:{name:"bordered",required:!1,description:"是否显示边框",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},hoverable:{name:"hoverable",required:!1,description:"是否可悬停",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},size:{name:"size",required:!1,description:"卡片大小",type:{name:"CardSize",raw:'"default" | "small"'},defaultValue:{value:'"default"'}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},actions:{name:"actions",required:!1,description:"卡片操作组",type:{name:"ReactNode[]",raw:"React.ReactNode[]"}}}};const L0=({showDefaultFooter:v=!0,...X})=>{const G=X.footer!==void 0?X.footer:v?(T,{OkBtn:Z,CancelBtn:re})=>ne.jsxs(ne.Fragment,{children:[ne.jsx(Z,{}),ne.jsx(re,{})]}):null;return ne.jsx(qt.Modal,{...X,footer:G})};L0.__docgenInfo={displayName:"AppModal",description:"应用级模态框组件,基于 Ant Design Modal 封装",props:{showDefaultFooter:{name:"showDefaultFooter",required:!1,description:"是否显示默认的确定和取消按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},title:{name:"title",required:!1,description:"模态框标题",type:{name:"ReactNode",raw:"React.ReactNode"}},open:{name:"open",required:!1,description:"是否显示模态框",type:{name:"boolean",raw:"boolean"}},onCancel:{name:"onCancel",required:!1,description:"取消按钮点击事件",type:{name:"function",raw:"(e: React.MouseEvent<HTMLElement>) => void"}},onOk:{name:"onOk",required:!1,description:"确定按钮点击事件",type:{name:"function",raw:"(e: React.MouseEvent<HTMLElement>) => void"}},children:{name:"children",required:!1,description:"模态框内容",type:{name:"ReactNode",raw:"React.ReactNode"}},width:{name:"width",required:!1,description:"模态框宽度",type:{name:"string | number",raw:"string | number"}},centered:{name:"centered",required:!1,description:"是否居中显示",type:{name:"boolean",raw:"boolean"}},maskClosable:{name:"maskClosable",required:!1,description:"点击蒙层是否允许关闭",type:{name:"boolean",raw:"boolean"}}}};const X0=({scrollX:v,showPagination:X=!0,defaultPageSize:G=10,...T})=>ne.jsx(qt.Table,{...T,scroll:{x:v||"max-content",y:"50vh"},pagination:X?{hideOnSinglePage:!0,showSizeChanger:!0,showQuickJumper:!0,defaultPageSize:G,...T.pagination}:!1});X0.__docgenInfo={displayName:"PageTable",description:"页面级表格组件,高度铺满容器,自动滚动",props:{scrollX:{name:"scrollX",required:!1,description:"水平滚动宽度",type:{name:"number",raw:"number"}},showPagination:{name:"showPagination",required:!1,description:"是否显示分页器",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},defaultPageSize:{name:"defaultPageSize",required:!1,description:"默认页面大小",type:{name:"number",raw:"number"},defaultValue:{value:"10"}},columns:{name:"columns",required:!1,description:"表格列配置",type:{name:"ColumnType[]",raw:"ColumnType<any>[]"}},dataSource:{name:"dataSource",required:!1,description:"数据源",type:{name:"any[]",raw:"any[]"}},loading:{name:"loading",required:!1,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},rowKey:{name:"rowKey",required:!1,description:"行数据的 Key",type:{name:"string | function",raw:"string | ((record: any) => string)"}}}};const pS=eo.createFromIconfontCN({scriptUrl:["https://at.alicdn.com/t/c/font_4968458_eh91gfr4j9e.js"]}),k0=({name:v,size:X,color:G,style:T,...Z})=>{const re={fontSize:X,color:G,...T};return ne.jsx(pS,{...Z,type:v,style:re})};k0.__docgenInfo={displayName:"XcIcon",description:"自定义图标组件,基于 iconfont",props:{name:{name:"name",required:!0,description:"图标名称",type:{name:"string",raw:"string"}},size:{name:"size",required:!1,description:"图标大小",type:{name:"number | string",raw:"number | string"}},color:{name:"color",required:!1,description:"图标颜色",type:{name:"string",raw:"string"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},style:{name:"style",required:!1,description:"自定义样式",type:{name:"CSSProperties",raw:"React.CSSProperties"}}}};const Q0=({loading:v,description:X="暂无数据",className:G,emptyChildren:T,loadingText:Z,emptyImage:re})=>v?ne.jsxs(qt.Flex,{className:`pt-10 w-full ${G||""}`,align:"center",justify:"center",vertical:!0,children:[ne.jsx(qt.Spin,{size:"large"}),Z&&ne.jsx("div",{className:"mt-4 text-gray-500",children:Z})]}):ne.jsx(qt.Flex,{className:`pt-10 w-full ${G||""}`,align:"center",justify:"center",children:ne.jsx(qt.Empty,{image:re,description:X,imageStyle:{height:180},children:T})});Q0.__docgenInfo={displayName:"EmptyAndSpin",description:"空状态和加载状态组合组件",props:{loading:{name:"loading",required:!0,description:"是否加载中",type:{name:"boolean",raw:"boolean"}},description:{name:"description",required:!1,description:"空状态描述",type:{name:"ReactNode",raw:"React.ReactNode"},defaultValue:{value:'"暂无数据"'}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},emptyChildren:{name:"emptyChildren",required:!1,description:"空状态额外内容",type:{name:"ReactNode",raw:"React.ReactNode"}},loadingText:{name:"loadingText",required:!1,description:"加载中提示文字",type:{name:"string",raw:"string"}},emptyImage:{name:"emptyImage",required:!1,description:"空状态图片",type:{name:"string",raw:"string"}}}};const Z0=({onClick:v,showText:X=!1,className:G,size:T="small",type:Z="default"})=>ne.jsx(qt.Button,{size:T,type:Z,icon:ne.jsx(eo.LeftOutlined,{}),className:`cursor-pointer ${G||""}`,onClick:v,children:X&&"返回"});Z0.__docgenInfo={displayName:"BackButton",description:"返回按钮组件",props:{onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"() => void"}},showText:{name:"showText",required:!1,description:"是否显示文字",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},size:{name:"size",required:!1,description:"按钮大小",type:{name:"ButtonSize",raw:'"small" | "middle" | "large"'},defaultValue:{value:'"small"'}},type:{name:"type",required:!1,description:"按钮类型",type:{name:"ButtonType",raw:'"primary" | "default" | "dashed" | "link" | "text"'},defaultValue:{value:'"default"'}}}};const $0=({removePadding:v=!0,className:X,...G})=>{const T=v?`px-0 h-auto ${X||""}`:X;return ne.jsx(qt.Button,{type:"link",...G,className:T,children:G.children})};$0.__docgenInfo={displayName:"LinkButton",description:"链接样式按钮组件,适用于表格操作列",props:{removePadding:{name:"removePadding",required:!1,description:"是否去除默认内边距",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},children:{name:"children",required:!1,description:"按钮内容",type:{name:"ReactNode",raw:"React.ReactNode"}},onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"(event: React.MouseEvent<HTMLButtonElement>) => void"}},disabled:{name:"disabled",required:!1,description:"是否禁用",type:{name:"boolean",raw:"boolean"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}}}};const{Option:yS}=qt.Select,J0=({columns:v,request:X,searchFields:G=[],showSearch:T=!0,showRefresh:Z=!0,defaultPageSize:re=10,pageSizeOptions:Ae=["10","20","50","100"],autoLoad:pe=!0,externalParams:D={},...m})=>{const[w,Y]=te.useState([]),[ye,P]=te.useState(!1),[V,ze]=te.useState({current:1,pageSize:re,total:0}),[$,le]=te.useState({}),[ie,oe]=te.useState({}),[se]=qt.Form.useForm(),qe=te.useRef(V);qe.current=V;const ge=te.useRef(D);ge.current=D;const Ee=te.useRef(!1),Ge=te.useMemo(()=>v.map(F=>{const{sortable:K,render:S,...R}=F;return{...R,sorter:K?!0:void 0,render:S||(U=>U)}}),[v]),ce=te.useCallback(async(F={})=>{if(X){P(!0);try{const K={page:qe.current.current,pageSize:qe.current.pageSize,sortField:ie.field,sortOrder:ie.order,searchParams:{...$,...ge.current},...F},S=await X(K);S.success&&(Y(S.data),ze(R=>({...R,total:S.total,current:K.page||R.current})))}catch(K){console.error("加载数据失败:",K)}finally{P(!1)}}},[X,ie,$]),we=te.useCallback(F=>{le(F),ze(K=>({...K,current:1}))},[]),Te=te.useCallback(()=>{se.resetFields(),le({}),ze(F=>({...F,current:1}))},[se]),Ce=te.useCallback(()=>{ce()},[ce]),Ie=te.useCallback((F,K,S)=>{const R={current:F.current||1,pageSize:F.pageSize||re,total:F.total||0},U={field:S?.field,order:S?.order};ze(R),oe(U)},[re]);return te.useEffect(()=>{const F=Object.keys(D).length>0;(pe&&!Ee.current||F)&&(ce(),Ee.current=!0)},[pe,D,ce]),ne.jsxs("div",{children:[T&&G.length>0&&ne.jsx(qt.Card,{size:"small",style:{marginBottom:16},children:ne.jsxs(qt.Form,{form:se,layout:"inline",onFinish:we,initialValues:G.reduce((F,K)=>(K.defaultValue!==void 0&&(F[K.key]=K.defaultValue),F),{}),children:[G.map(F=>ne.jsx(qt.Form.Item,{name:F.key,label:F.label,children:F.type==="input"?ne.jsx(qt.Input,{placeholder:F.placeholder||`请输入${F.label}`,style:{width:200}}):ne.jsx(qt.Select,{placeholder:F.placeholder||`请选择${F.label}`,style:{width:200},allowClear:!0,children:F.options?.map(K=>ne.jsx(yS,{value:K.value,children:K.label},K.value))})},F.key)),ne.jsx(qt.Form.Item,{children:ne.jsxs(qt.Space,{children:[ne.jsx(qt.Button,{type:"primary",htmlType:"submit",icon:ne.jsx(eo.SearchOutlined,{}),children:"查询"}),ne.jsx(qt.Button,{onClick:Te,children:"重置"}),Z&&ne.jsx(qt.Button,{icon:ne.jsx(eo.ReloadOutlined,{}),onClick:Ce,children:"刷新"})]})})]})}),ne.jsx(qt.Table,{...m,columns:Ge,dataSource:w,loading:ye,pagination:{...V,showSizeChanger:!0,showQuickJumper:!0,showTotal:(F,K)=>`第 ${K[0]}-${K[1]} 条/共 ${F} 条`,pageSizeOptions:Ae},onChange:Ie,scroll:{x:"max-content",y:"50vh"}})]})};J0.__docgenInfo={displayName:"AdvancedTable",description:"高阶表格组件,支持异步请求、搜索、排序等功能",props:{columns:{name:"columns",required:!0,description:"列配置",type:{name:"AdvancedColumnType[]",raw:"AdvancedColumnType<any>[]"}},request:{name:"request",required:!1,description:"异步请求函数",type:{name:"function",raw:"(params: RequestParams) => Promise<RequestResponse>"}},searchFields:{name:"searchFields",required:!1,description:"搜索字段配置",type:{name:"SearchFieldConfig[]",raw:"SearchFieldConfig[]"},defaultValue:{value:"[]"}},showSearch:{name:"showSearch",required:!1,description:"是否显示搜索区域",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},showRefresh:{name:"showRefresh",required:!1,description:"是否显示刷新按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},defaultPageSize:{name:"defaultPageSize",required:!1,description:"默认页面大小",type:{name:"number",raw:"number"},defaultValue:{value:"10"}},pageSizeOptions:{name:"pageSizeOptions",required:!1,description:"页面大小选项",type:{name:"string[]",raw:"string[]"},defaultValue:{value:'["10", "20", "50", "100"]'}},autoLoad:{name:"autoLoad",required:!1,description:"是否自动加载",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},externalParams:{name:"externalParams",required:!1,description:"外部请求参数",type:{name:"Record<string, any>",raw:"Record<string, any>"},defaultValue:{value:"{}"}}}};function fv(){return fv=Object.assign?Object.assign.bind():function(v){for(var X=1;X<arguments.length;X++){var G=arguments[X];for(var T in G)({}).hasOwnProperty.call(G,T)&&(v[T]=G[T])}return v},fv.apply(null,arguments)}function Ah(v){"@babel/helpers - typeof";return Ah=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},Ah(v)}function mS(v,X){if(Ah(v)!="object"||!v)return v;var G=v[Symbol.toPrimitive];if(G!==void 0){var T=G.call(v,X);if(Ah(T)!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(X==="string"?String:Number)(v)}function gS(v){var X=mS(v,"string");return Ah(X)=="symbol"?X:X+""}function vS(v,X,G){return(X=gS(X))in v?Object.defineProperty(v,X,{value:G,enumerable:!0,configurable:!0,writable:!0}):v[X]=G,v}var bS=te.createContext({prefixCls:"arco"});function K0(v,X){var G=Object.keys(v);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(v);X&&(T=T.filter(function(Z){return Object.getOwnPropertyDescriptor(v,Z).enumerable})),G.push.apply(G,T)}return G}function W0(v){for(var X=1;X<arguments.length;X++){var G=arguments[X]!=null?arguments[X]:{};X%2?K0(Object(G),!0).forEach(function(T){vS(v,T,G[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(G)):K0(Object(G)).forEach(function(T){Object.defineProperty(v,T,Object.getOwnPropertyDescriptor(G,T))})}return v}function SS(v,X){var G=te.useContext(bS),T=G.prefixCls,Z=T===void 0?"arco":T,re=v.spin,Ae=v.className,pe=W0(W0({"aria-hidden":!0,focusable:!1,ref:X},v),{},{className:"".concat(Ae?Ae+" ":"").concat(Z,"-icon ").concat(Z,"-icon-info-circle")});return re&&(pe.className="".concat(pe.className," ").concat(Z,"-icon-loading")),delete pe.spin,delete pe.isIcon,te.createElement("svg",fv({fill:"none",stroke:"currentColor",strokeWidth:"4",viewBox:"0 0 48 48"},pe),te.createElement("path",{d:"M24 20v14m0-16v-4m18 10c0 9.941-8.059 18-18 18S6 33.941 6 24 14.059 6 24 6s18 8.059 18 18Z"}))}var dv=te.forwardRef(SS);dv.defaultProps={isIcon:!0},dv.displayName="IconInfoCircle";var mm={exports:{}},Dh={},gm={exports:{}},hv={};/**
|
|
58
23
|
* @license React
|
|
59
24
|
* scheduler.production.js
|
|
60
25
|
*
|
|
@@ -62,7 +27,7 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var Le=Fe(ze,$e,be,Me,Oe
|
|
|
62
27
|
*
|
|
63
28
|
* This source code is licensed under the MIT license found in the
|
|
64
29
|
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/var
|
|
30
|
+
*/var F0;function TS(){return F0||(F0=1,function(v){function X(S,R){var U=S.length;S.push(R);e:for(;0<U;){var fe=U-1>>>1,M=S[fe];if(0<Z(M,R))S[fe]=R,S[U]=M,U=fe;else break e}}function G(S){return S.length===0?null:S[0]}function T(S){if(S.length===0)return null;var R=S[0],U=S.pop();if(U!==R){S[0]=U;e:for(var fe=0,M=S.length,ve=M>>>1;fe<ve;){var de=2*(fe+1)-1,Me=S[de],Le=de+1,Pe=S[Le];if(0>Z(Me,U))Le<M&&0>Z(Pe,Me)?(S[fe]=Pe,S[Le]=U,fe=Le):(S[fe]=Me,S[de]=U,fe=de);else if(Le<M&&0>Z(Pe,U))S[fe]=Pe,S[Le]=U,fe=Le;else break e}}return R}function Z(S,R){var U=S.sortIndex-R.sortIndex;return U!==0?U:S.id-R.id}if(v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var re=performance;v.unstable_now=function(){return re.now()}}else{var Ae=Date,pe=Ae.now();v.unstable_now=function(){return Ae.now()-pe}}var D=[],m=[],w=1,Y=null,ye=3,P=!1,V=!1,ze=!1,$=!1,le=typeof setTimeout=="function"?setTimeout:null,ie=typeof clearTimeout=="function"?clearTimeout:null,oe=typeof setImmediate<"u"?setImmediate:null;function se(S){for(var R=G(m);R!==null;){if(R.callback===null)T(m);else if(R.startTime<=S)T(m),R.sortIndex=R.expirationTime,X(D,R);else break;R=G(m)}}function qe(S){if(ze=!1,se(S),!V)if(G(D)!==null)V=!0,ge||(ge=!0,Ce());else{var R=G(m);R!==null&&K(qe,R.startTime-S)}}var ge=!1,Ee=-1,Ge=5,ce=-1;function we(){return $?!0:!(v.unstable_now()-ce<Ge)}function Te(){if($=!1,ge){var S=v.unstable_now();ce=S;var R=!0;try{e:{V=!1,ze&&(ze=!1,ie(Ee),Ee=-1),P=!0;var U=ye;try{t:{for(se(S),Y=G(D);Y!==null&&!(Y.expirationTime>S&&we());){var fe=Y.callback;if(typeof fe=="function"){Y.callback=null,ye=Y.priorityLevel;var M=fe(Y.expirationTime<=S);if(S=v.unstable_now(),typeof M=="function"){Y.callback=M,se(S),R=!0;break t}Y===G(D)&&T(D),se(S)}else T(D);Y=G(D)}if(Y!==null)R=!0;else{var ve=G(m);ve!==null&&K(qe,ve.startTime-S),R=!1}}break e}finally{Y=null,ye=U,P=!1}R=void 0}}finally{R?Ce():ge=!1}}}var Ce;if(typeof oe=="function")Ce=function(){oe(Te)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,F=Ie.port2;Ie.port1.onmessage=Te,Ce=function(){F.postMessage(null)}}else Ce=function(){le(Te,0)};function K(S,R){Ee=le(function(){S(v.unstable_now())},R)}v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(S){S.callback=null},v.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ge=0<S?Math.floor(1e3/S):5},v.unstable_getCurrentPriorityLevel=function(){return ye},v.unstable_next=function(S){switch(ye){case 1:case 2:case 3:var R=3;break;default:R=ye}var U=ye;ye=R;try{return S()}finally{ye=U}},v.unstable_requestPaint=function(){$=!0},v.unstable_runWithPriority=function(S,R){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var U=ye;ye=S;try{return R()}finally{ye=U}},v.unstable_scheduleCallback=function(S,R,U){var fe=v.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?fe+U:fe):U=fe,S){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=U+M,S={id:w++,callback:R,priorityLevel:S,startTime:U,expirationTime:M,sortIndex:-1},U>fe?(S.sortIndex=U,X(m,S),G(D)===null&&S===G(m)&&(ze?(ie(Ee),Ee=-1):ze=!0,K(qe,U-fe))):(S.sortIndex=M,X(D,S),V||P||(V=!0,ge||(ge=!0,Ce()))),S},v.unstable_shouldYield=we,v.unstable_wrapCallback=function(S){var R=ye;return function(){var U=ye;ye=R;try{return S.apply(this,arguments)}finally{ye=U}}}}(hv)),hv}var pv={};/**
|
|
66
31
|
* @license React
|
|
67
32
|
* scheduler.development.js
|
|
68
33
|
*
|
|
@@ -70,7 +35,7 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var Le=Fe(ze,$e,be,Me,Oe
|
|
|
70
35
|
*
|
|
71
36
|
* This source code is licensed under the MIT license found in the
|
|
72
37
|
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/var
|
|
38
|
+
*/var I0;function ES(){return I0||(I0=1,function(v){process.env.NODE_ENV!=="production"&&function(){function X(){if(qe=!1,ce){var S=v.unstable_now();Ce=S;var R=!0;try{e:{oe=!1,se&&(se=!1,Ee(we),we=-1),ie=!0;var U=le;try{t:{for(Ae(S),$=T(P);$!==null&&!($.expirationTime>S&&D());){var fe=$.callback;if(typeof fe=="function"){$.callback=null,le=$.priorityLevel;var M=fe($.expirationTime<=S);if(S=v.unstable_now(),typeof M=="function"){$.callback=M,Ae(S),R=!0;break t}$===T(P)&&Z(P),Ae(S)}else Z(P);$=T(P)}if($!==null)R=!0;else{var ve=T(V);ve!==null&&m(pe,ve.startTime-S),R=!1}}break e}finally{$=null,le=U,ie=!1}R=void 0}}finally{R?Ie():ce=!1}}}function G(S,R){var U=S.length;S.push(R);e:for(;0<U;){var fe=U-1>>>1,M=S[fe];if(0<re(M,R))S[fe]=R,S[U]=M,U=fe;else break e}}function T(S){return S.length===0?null:S[0]}function Z(S){if(S.length===0)return null;var R=S[0],U=S.pop();if(U!==R){S[0]=U;e:for(var fe=0,M=S.length,ve=M>>>1;fe<ve;){var de=2*(fe+1)-1,Me=S[de],Le=de+1,Pe=S[Le];if(0>re(Me,U))Le<M&&0>re(Pe,Me)?(S[fe]=Pe,S[Le]=U,fe=Le):(S[fe]=Me,S[de]=U,fe=de);else if(Le<M&&0>re(Pe,U))S[fe]=Pe,S[Le]=U,fe=Le;else break e}}return R}function re(S,R){var U=S.sortIndex-R.sortIndex;return U!==0?U:S.id-R.id}function Ae(S){for(var R=T(V);R!==null;){if(R.callback===null)Z(V);else if(R.startTime<=S)Z(V),R.sortIndex=R.expirationTime,G(P,R);else break;R=T(V)}}function pe(S){if(se=!1,Ae(S),!oe)if(T(P)!==null)oe=!0,ce||(ce=!0,Ie());else{var R=T(V);R!==null&&m(pe,R.startTime-S)}}function D(){return qe?!0:!(v.unstable_now()-Ce<Te)}function m(S,R){we=ge(function(){S(v.unstable_now())},R)}if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),v.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var w=performance;v.unstable_now=function(){return w.now()}}else{var Y=Date,ye=Y.now();v.unstable_now=function(){return Y.now()-ye}}var P=[],V=[],ze=1,$=null,le=3,ie=!1,oe=!1,se=!1,qe=!1,ge=typeof setTimeout=="function"?setTimeout:null,Ee=typeof clearTimeout=="function"?clearTimeout:null,Ge=typeof setImmediate<"u"?setImmediate:null,ce=!1,we=-1,Te=5,Ce=-1;if(typeof Ge=="function")var Ie=function(){Ge(X)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,K=F.port2;F.port1.onmessage=X,Ie=function(){K.postMessage(null)}}else Ie=function(){ge(X,0)};v.unstable_IdlePriority=5,v.unstable_ImmediatePriority=1,v.unstable_LowPriority=4,v.unstable_NormalPriority=3,v.unstable_Profiling=null,v.unstable_UserBlockingPriority=2,v.unstable_cancelCallback=function(S){S.callback=null},v.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Te=0<S?Math.floor(1e3/S):5},v.unstable_getCurrentPriorityLevel=function(){return le},v.unstable_next=function(S){switch(le){case 1:case 2:case 3:var R=3;break;default:R=le}var U=le;le=R;try{return S()}finally{le=U}},v.unstable_requestPaint=function(){qe=!0},v.unstable_runWithPriority=function(S,R){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var U=le;le=S;try{return R()}finally{le=U}},v.unstable_scheduleCallback=function(S,R,U){var fe=v.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?fe+U:fe):U=fe,S){case 1:var M=-1;break;case 2:M=250;break;case 5:M=1073741823;break;case 4:M=1e4;break;default:M=5e3}return M=U+M,S={id:ze++,callback:R,priorityLevel:S,startTime:U,expirationTime:M,sortIndex:-1},U>fe?(S.sortIndex=U,G(V,S),T(P)===null&&S===T(V)&&(se?(Ee(we),we=-1):se=!0,m(pe,U-fe))):(S.sortIndex=M,G(P,S),oe||ie||(oe=!0,ce||(ce=!0,Ie()))),S},v.unstable_shouldYield=D,v.unstable_wrapCallback=function(S){var R=le;return function(){var U=le;le=R;try{return S.apply(this,arguments)}finally{le=U}}},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()}(pv)),pv}var P0;function eb(){return P0||(P0=1,process.env.NODE_ENV==="production"?gm.exports=TS():gm.exports=ES()),gm.exports}/**
|
|
74
39
|
* @license React
|
|
75
40
|
* react-dom-client.production.js
|
|
76
41
|
*
|
|
@@ -78,15 +43,15 @@ Valid keys: `+JSON.stringify(Object.keys(M),null," "));var Le=Fe(ze,$e,be,Me,Oe
|
|
|
78
43
|
*
|
|
79
44
|
* This source code is licensed under the MIT license found in the
|
|
80
45
|
* LICENSE file in the root directory of this source tree.
|
|
81
|
-
*/var $2;function yR(){if($2)return dm;$2=1;var u=Y2(),f=O,d=xl;function s(n){var l="https://react.dev/errors/"+n;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)l+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+n+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function p(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function b(n){var l=n,r=n;if(n.alternate)for(;l.return;)l=l.return;else{n=l;do l=n,(l.flags&4098)!==0&&(r=l.return),n=l.return;while(n)}return l.tag===3?r:null}function T(n){if(n.tag===13){var l=n.memoizedState;if(l===null&&(n=n.alternate,n!==null&&(l=n.memoizedState)),l!==null)return l.dehydrated}return null}function g(n){if(b(n)!==n)throw Error(s(188))}function S(n){var l=n.alternate;if(!l){if(l=b(n),l===null)throw Error(s(188));return l!==n?null:n}for(var r=n,o=l;;){var m=r.return;if(m===null)break;var v=m.alternate;if(v===null){if(o=m.return,o!==null){r=o;continue}break}if(m.child===v.child){for(v=m.child;v;){if(v===r)return g(m),n;if(v===o)return g(m),l;v=v.sibling}throw Error(s(188))}if(r.return!==o.return)r=m,o=v;else{for(var _=!1,z=m.child;z;){if(z===r){_=!0,r=m,o=v;break}if(z===o){_=!0,o=m,r=v;break}z=z.sibling}if(!_){for(z=v.child;z;){if(z===r){_=!0,r=v,o=m;break}if(z===o){_=!0,o=v,r=m;break}z=z.sibling}if(!_)throw Error(s(189))}}if(r.alternate!==o)throw Error(s(190))}if(r.tag!==3)throw Error(s(188));return r.stateNode.current===r?n:l}function y(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n;for(n=n.child;n!==null;){if(l=y(n),l!==null)return l;n=n.sibling}return null}var C=Object.assign,w=Symbol.for("react.element"),q=Symbol.for("react.transitional.element"),U=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),H=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),B=Symbol.for("react.consumer"),P=Symbol.for("react.context"),Q=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),me=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function Te(n){return n===null||typeof n!="object"?null:(n=ae&&n[ae]||n["@@iterator"],typeof n=="function"?n:null)}var ce=Symbol.for("react.client.reference");function te(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===ce?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case R:return"Fragment";case A:return"Profiler";case H:return"StrictMode";case V:return"Suspense";case J:return"SuspenseList";case W:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case U:return"Portal";case P:return(n.displayName||"Context")+".Provider";case B:return(n._context.displayName||"Context")+".Consumer";case Q:var l=n.render;return n=n.displayName,n||(n=l.displayName||l.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case ne:return l=n.displayName||null,l!==null?l:te(n.type)||"Memo";case ie:l=n._payload,n=n._init;try{return te(n(l))}catch{}}return null}var Z=Array.isArray,D=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k=d.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y={pending:!1,data:null,method:null,action:null},ue=[],M=-1;function K(n){return{current:n}}function re(n){0>M||(n.current=ue[M],ue[M]=null,M--)}function le(n,l){M++,ue[M]=n.current,n.current=l}var be=K(null),Me=K(null),Oe=K(null),ze=K(null);function qe(n,l){switch(le(Oe,l),le(Me,n),le(be,null),l.nodeType){case 9:case 11:n=(n=l.documentElement)&&(n=n.namespaceURI)?iu(n):0;break;default:if(n=l.tagName,l=l.namespaceURI)l=iu(l),n=fs(l,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}re(be),le(be,n)}function Be(){re(be),re(Me),re(Oe)}function $e(n){n.memoizedState!==null&&le(ze,n);var l=be.current,r=fs(l,n.type);l!==r&&(le(Me,n),le(be,r))}function Fe(n){Me.current===n&&(re(be),re(Me)),ze.current===n&&(re(ze),El._currentValue=Y)}var Le=Object.prototype.hasOwnProperty,ye=u.unstable_scheduleCallback,I=u.unstable_cancelCallback,se=u.unstable_shouldYield,Ue=u.unstable_requestPaint,pe=u.unstable_now,Ve=u.unstable_getCurrentPriorityLevel,Ae=u.unstable_ImmediatePriority,We=u.unstable_UserBlockingPriority,Pe=u.unstable_NormalPriority,Ne=u.unstable_LowPriority,Ze=u.unstable_IdlePriority,Ye=u.log,Ke=u.unstable_setDisableYieldValue,it=null,Xe=null;function dt(n){if(typeof Ye=="function"&&Ke(n),Xe&&typeof Xe.setStrictMode=="function")try{Xe.setStrictMode(it,n)}catch{}}var pt=Math.clz32?Math.clz32:In,gt=Math.log,Jt=Math.LN2;function In(n){return n>>>=0,n===0?32:31-(gt(n)/Jt|0)|0}var Mn=256,En=4194304;function yn(n){var l=n&42;if(l!==0)return l;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 aa(n,l,r){var o=n.pendingLanes;if(o===0)return 0;var m=0,v=n.suspendedLanes,_=n.pingedLanes;n=n.warmLanes;var z=o&134217727;return z!==0?(o=z&~v,o!==0?m=yn(o):(_&=z,_!==0?m=yn(_):r||(r=z&~n,r!==0&&(m=yn(r))))):(z=o&~v,z!==0?m=yn(z):_!==0?m=yn(_):r||(r=o&~n,r!==0&&(m=yn(r)))),m===0?0:l!==0&&l!==m&&(l&v)===0&&(v=m&-m,r=l&-l,v>=r||v===32&&(r&4194048)!==0)?l:m}function Un(n,l){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&l)===0}function Ut(n,l){switch(n){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 dn(){var n=Mn;return Mn<<=1,(Mn&4194048)===0&&(Mn=256),n}function Ua(){var n=En;return En<<=1,(En&62914560)===0&&(En=4194304),n}function xa(n){for(var l=[],r=0;31>r;r++)l.push(n);return l}function ja(n,l){n.pendingLanes|=l,l!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function pn(n,l,r,o,m,v){var _=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 z=n.entanglements,$=n.expirationTimes,de=n.hiddenUpdates;for(r=_&~r;0<r;){var Re=31-pt(r),je=1<<Re;z[Re]=0,$[Re]=-1;var ge=de[Re];if(ge!==null)for(de[Re]=null,Re=0;Re<ge.length;Re++){var Ee=ge[Re];Ee!==null&&(Ee.lane&=-536870913)}r&=~je}o!==0&&la(n,o,0),v!==0&&m===0&&n.tag!==0&&(n.suspendedLanes|=v&~(_&~l))}function la(n,l,r){n.pendingLanes|=l,n.suspendedLanes&=~l;var o=31-pt(l);n.entangledLanes|=l,n.entanglements[o]=n.entanglements[o]|1073741824|r&4194090}function zn(n,l){var r=n.entangledLanes|=l;for(n=n.entanglements;r;){var o=31-pt(r),m=1<<o;m&l|n[o]&l&&(n[o]|=l),r&=~m}}function jn(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 fr(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function yo(){var n=k.p;return n!==0?n:(n=window.event,n===void 0?32:oy(n.type))}function Tc(n,l){var r=k.p;try{return k.p=n,l()}finally{k.p=r}}var cn=Math.random().toString(36).slice(2),Tn="__reactFiber$"+cn,Pn="__reactProps$"+cn,il="__reactContainer$"+cn,dr="__reactEvents$"+cn,Cl="__reactListeners$"+cn,ma="__reactHandles$"+cn,ra="__reactResources$"+cn,Je="__reactMarker$"+cn;function ia(n){delete n[Tn],delete n[Pn],delete n[dr],delete n[Cl],delete n[ma]}function hn(n){var l=n[Tn];if(l)return l;for(var r=n.parentNode;r;){if(l=r[il]||r[Tn]){if(r=l.alternate,l.child!==null||r!==null&&r.child!==null)for(n=Ma(n);n!==null;){if(r=n[Tn])return r;n=Ma(n)}return l}n=r,r=n.parentNode}return null}function ul(n){if(n=n[Tn]||n[il]){var l=n.tag;if(l===5||l===6||l===13||l===26||l===27||l===3)return n}return null}function _l(n){var l=n.tag;if(l===5||l===26||l===27||l===6)return n.stateNode;throw Error(s(33))}function Al(n){var l=n[ra];return l||(l=n[ra]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function mn(n){n[Je]=!0}var kr=new Set,ua={};function Qn(n,l){wl(n,l),wl(n+"Capture",l)}function wl(n,l){for(ua[n]=l,n=0;n<l.length;n++)kr.add(l[n])}var Hi=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]*$"),Ui={},Eu={};function ji(n){return Le.call(Eu,n)?!0:Le.call(Ui,n)?!1:Hi.test(n)?Eu[n]=!0:(Ui[n]=!0,!1)}function ka(n,l,r){if(ji(l))if(r===null)n.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":n.removeAttribute(l);return;case"boolean":var o=l.toLowerCase().slice(0,5);if(o!=="data-"&&o!=="aria-"){n.removeAttribute(l);return}}n.setAttribute(l,""+r)}}function pr(n,l,r){if(r===null)n.removeAttribute(l);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttribute(l,""+r)}}function La(n,l,r,o){if(o===null)n.removeAttribute(r);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttributeNS(l,r,""+o)}}var ki,go;function Ka(n){if(ki===void 0)try{throw Error()}catch(r){var l=r.stack.trim().match(/\n( *(at )?)/);ki=l&&l[1]||"",go=-1<r.stack.indexOf(`
|
|
82
|
-
at`)?" (<anonymous>)":-1<
|
|
83
|
-
`+
|
|
84
|
-
`),
|
|
85
|
-
`);for(
|
|
86
|
-
|
|
87
|
-
Error generating stack: `+
|
|
88
|
-
`+r.stack}}function jt(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function oa(n){var l=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Tu(n){var l=oa(n)?"checked":"value",r=Object.getOwnPropertyDescriptor(n.constructor.prototype,l),o=""+n[l];if(!n.hasOwnProperty(l)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var m=r.get,v=r.set;return Object.defineProperty(n,l,{configurable:!0,get:function(){return m.call(this)},set:function(_){o=""+_,v.call(this,_)}}),Object.defineProperty(n,l,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(_){o=""+_},stopTracking:function(){n._valueTracker=null,delete n[l]}}}}function Oa(n){n._valueTracker||(n._valueTracker=Tu(n))}function hr(n){if(!n)return!1;var l=n._valueTracker;if(!l)return!0;var r=l.getValue(),o="";return n&&(o=oa(n)?n.checked?"true":"false":n.value),n=o,n!==r?(l.setValue(n),!0):!1}function Gl(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 Hd=/[\n"\\]/g;function Ja(n){return n.replace(Hd,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function xc(n,l,r,o,m,v,_,z){n.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?n.type=_:n.removeAttribute("type"),l!=null?_==="number"?(l===0&&n.value===""||n.value!=l)&&(n.value=""+jt(l)):n.value!==""+jt(l)&&(n.value=""+jt(l)):_!=="submit"&&_!=="reset"||n.removeAttribute("value"),l!=null?xu(n,_,jt(l)):r!=null?xu(n,_,jt(r)):o!=null&&n.removeAttribute("value"),m==null&&v!=null&&(n.defaultChecked=!!v),m!=null&&(n.checked=m&&typeof m!="function"&&typeof m!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?n.name=""+jt(z):n.removeAttribute("name")}function Oc(n,l,r,o,m,v,_,z){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),l!=null||r!=null){if(!(v!=="submit"&&v!=="reset"||l!=null))return;r=r!=null?""+jt(r):"",l=l!=null?""+jt(l):r,z||l===n.value||(n.value=l),n.defaultValue=l}o=o??m,o=typeof o!="function"&&typeof o!="symbol"&&!!o,n.checked=z?n.checked:!!o,n.defaultChecked=!!o,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(n.name=_)}function xu(n,l,r){l==="number"&&Gl(n.ownerDocument)===n||n.defaultValue===""+r||(n.defaultValue=""+r)}function Li(n,l,r,o){if(n=n.options,l){l={};for(var m=0;m<r.length;m++)l["$"+r[m]]=!0;for(r=0;r<n.length;r++)m=l.hasOwnProperty("$"+n[r].value),n[r].selected!==m&&(n[r].selected=m),m&&o&&(n[r].defaultSelected=!0)}else{for(r=""+jt(r),l=null,m=0;m<n.length;m++){if(n[m].value===r){n[m].selected=!0,o&&(n[m].defaultSelected=!0);return}l!==null||n[m].disabled||(l=n[m])}l!==null&&(l.selected=!0)}}function Lr(n,l,r){if(l!=null&&(l=""+jt(l),l!==n.value&&(n.value=l),r==null)){n.defaultValue!==l&&(n.defaultValue=l);return}n.defaultValue=r!=null?""+jt(r):""}function $s(n,l,r,o){if(l==null){if(o!=null){if(r!=null)throw Error(s(92));if(Z(o)){if(1<o.length)throw Error(s(93));o=o[0]}r=o}r==null&&(r=""),l=r}r=jt(l),n.defaultValue=r,o=n.textContent,o===r&&o!==""&&o!==null&&(n.value=o)}function Bi(n,l){if(l){var r=n.firstChild;if(r&&r===n.lastChild&&r.nodeType===3){r.nodeValue=l;return}}n.textContent=l}var Gs=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 Cc(n,l,r){var o=l.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?o?n.setProperty(l,""):l==="float"?n.cssFloat="":n[l]="":o?n.setProperty(l,r):typeof r!="number"||r===0||Gs.has(l)?l==="float"?n.cssFloat=r:n[l]=(""+r).trim():n[l]=r+"px"}function bo(n,l,r){if(l!=null&&typeof l!="object")throw Error(s(62));if(n=n.style,r!=null){for(var o in r)!r.hasOwnProperty(o)||l!=null&&l.hasOwnProperty(o)||(o.indexOf("--")===0?n.setProperty(o,""):o==="float"?n.cssFloat="":n[o]="");for(var m in l)o=l[m],l.hasOwnProperty(m)&&r[m]!==o&&Cc(n,m,o)}else for(var v in l)l.hasOwnProperty(v)&&Cc(n,v,l[v])}function Br(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 _c=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"]]),Ud=/^[\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 So(n){return Ud.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}var Vr=null;function Eo(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var Vi=null,Ou=null;function jd(n){var l=ul(n);if(l&&(n=l.stateNode)){var r=n[Pn]||null;e:switch(n=l.stateNode,l.type){case"input":if(xc(n,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),l=r.name,r.type==="radio"&&l!=null){for(r=n;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+Ja(""+l)+'"][type="radio"]'),l=0;l<r.length;l++){var o=r[l];if(o!==n&&o.form===n.form){var m=o[Pn]||null;if(!m)throw Error(s(90));xc(o,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(l=0;l<r.length;l++)o=r[l],o.form===n.form&&hr(o)}break e;case"textarea":Lr(n,r.value,r.defaultValue);break e;case"select":l=r.value,l!=null&&Li(n,!!r.multiple,l,!1)}}}var Xs=!1;function Ia(n,l,r){if(Xs)return n(l,r);Xs=!0;try{var o=n(l);return o}finally{if(Xs=!1,(Vi!==null||Ou!==null)&&(Wo(),Vi&&(l=Vi,n=Ou,Ou=Vi=null,jd(l),n)))for(l=0;l<n.length;l++)jd(n[l])}}function Yr(n,l){var r=n.stateNode;if(r===null)return null;var o=r[Pn]||null;if(o===null)return null;r=o[l];e:switch(l){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)||(n=n.type,o=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!o;break e;default:n=!1}if(n)return null;if(r&&typeof r!="function")throw Error(s(231,l,typeof r));return r}var Xl=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),To=!1;if(Xl)try{var mr={};Object.defineProperty(mr,"passive",{get:function(){To=!0}}),window.addEventListener("test",mr,mr),window.removeEventListener("test",mr,mr)}catch{To=!1}var vr=null,Cu=null,Yi=null;function Ps(){if(Yi)return Yi;var n,l=Cu,r=l.length,o,m="value"in vr?vr.value:vr.textContent,v=m.length;for(n=0;n<r&&l[n]===m[n];n++);var _=r-n;for(o=1;o<=_&&l[r-o]===m[v-o];o++);return Yi=m.slice(n,1<o?1-o:void 0)}function he(n){var l=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&l===13&&(n=13)):n=l,n===10&&(n=13),32<=n||n===13?n:0}function Qe(){return!0}function rt(){return!1}function st(n){function l(r,o,m,v,_){this._reactName=r,this._targetInst=m,this.type=o,this.nativeEvent=v,this.target=_,this.currentTarget=null;for(var z in n)n.hasOwnProperty(z)&&(r=n[z],this[z]=r?r(v):v[z]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Qe:rt,this.isPropagationStopped=rt,this}return C(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Qe)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Qe)},persist:function(){},isPersistent:Qe}),l}var sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$r=st(sn),Gr=C({},sn,{view:0,detail:0}),Ac=st(Gr),Qs,kd,Zs,xo=C({},Gr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$i,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!==Zs&&(Zs&&n.type==="mousemove"?(Qs=n.screenX-Zs.screenX,kd=n.screenY-Zs.screenY):kd=Qs=0,Zs=n),Qs)},movementY:function(n){return"movementY"in n?n.movementY:kd}}),hm=st(xo),$g=C({},xo,{dataTransfer:0}),Gg=st($g),mE=C({},Gr,{relatedTarget:0}),mm=st(mE),vE=C({},sn,{animationName:0,elapsedTime:0,pseudoElement:0}),yE=st(vE),gE=C({},sn,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Ks=st(gE),Xg=C({},sn,{data:0}),vm=st(Xg),Pg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Qg={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"},ym={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zg(n){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(n):(n=ym[n])?!!l[n]:!1}function $i(){return Zg}var Oo=C({},Gr,{key:function(n){if(n.key){var l=Pg[n.key]||n.key;if(l!=="Unidentified")return l}return n.type==="keypress"?(n=he(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Qg[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$i,charCode:function(n){return n.type==="keypress"?he(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?he(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),yr=st(Oo),Dl=C({},xo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Js=st(Dl),Ld=C({},Gr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$i}),gm=st(Ld),ol=C({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kg=st(ol),Bd=C({},xo,{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}),Co=st(Bd),bm=C({},sn,{newState:0,oldState:0}),Jg=st(bm),Ig=[9,13,27,32],Is=Xl&&"CompositionEvent"in window,Ws=null;Xl&&"documentMode"in document&&(Ws=document.documentMode);var Sm=Xl&&"TextEvent"in window&&!Ws,Xr=Xl&&(!Is||Ws&&8<Ws&&11>=Ws),Em=" ",Vd=!1;function Fs(n,l){switch(n){case"keyup":return Ig.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _u(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var Au=!1;function Tm(n,l){switch(n){case"compositionend":return _u(l);case"keypress":return l.which!==32?null:(Vd=!0,Em);case"textInput":return n=l.data,n===Em&&Vd?null:n;default:return null}}function _o(n,l){if(Au)return n==="compositionend"||!Is&&Fs(n,l)?(n=Ps(),Yi=Cu=vr=null,Au=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return Xr&&l.locale!=="ko"?null:l.data;default:return null}}var Wg={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 Yd(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l==="input"?!!Wg[n.type]:l==="textarea"}function $d(n,l,r,o){Vi?Ou?Ou.push(o):Ou=[o]:Vi=o,l=ss(l,"onChange"),0<l.length&&(r=new $r("onChange","change",null,r,o),n.push({event:r,listeners:l}))}var gr=null,br=null;function xm(n){nc(n,0)}function Pr(n){var l=_l(n);if(hr(l))return n}function Om(n,l){if(n==="change")return l}var Cm=!1;if(Xl){var Ao;if(Xl){var wo="oninput"in document;if(!wo){var _m=document.createElement("div");_m.setAttribute("oninput","return;"),wo=typeof _m.oninput=="function"}Ao=wo}else Ao=!1;Cm=Ao&&(!document.documentMode||9<document.documentMode)}function wc(){gr&&(gr.detachEvent("onpropertychange",Am),br=gr=null)}function Am(n){if(n.propertyName==="value"&&Pr(br)){var l=[];$d(l,br,n,Eo(n)),Ia(xm,l)}}function Gd(n,l,r){n==="focusin"?(wc(),gr=l,br=r,gr.attachEvent("onpropertychange",Am)):n==="focusout"&&wc()}function wu(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return Pr(br)}function Gi(n,l){if(n==="click")return Pr(l)}function wm(n,l){if(n==="input"||n==="change")return Pr(l)}function Dm(n,l){return n===l&&(n!==0||1/n===1/l)||n!==n&&l!==l}var Ca=typeof Object.is=="function"?Object.is:Dm;function Du(n,l){if(Ca(n,l))return!0;if(typeof n!="object"||n===null||typeof l!="object"||l===null)return!1;var r=Object.keys(n),o=Object.keys(l);if(r.length!==o.length)return!1;for(o=0;o<r.length;o++){var m=r[o];if(!Le.call(l,m)||!Ca(n[m],l[m]))return!1}return!0}function Mu(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function gn(n,l){var r=Mu(n);n=0;for(var o;r;){if(r.nodeType===3){if(o=n+r.textContent.length,n<=l&&o>=l)return{node:r,offset:l-n};n=o}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Mu(r)}}function ef(n,l){return n&&l?n===l?!0:n&&n.nodeType===3?!1:l&&l.nodeType===3?ef(n,l.parentNode):"contains"in n?n.contains(l):n.compareDocumentPosition?!!(n.compareDocumentPosition(l)&16):!1:!1}function Mm(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var l=Gl(n.document);l instanceof n.HTMLIFrameElement;){try{var r=typeof l.contentWindow.location.href=="string"}catch{r=!1}if(r)n=l.contentWindow;else break;l=Gl(n.document)}return l}function tf(n){var l=n&&n.nodeName&&n.nodeName.toLowerCase();return l&&(l==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||l==="textarea"||n.contentEditable==="true")}var Do=Xl&&"documentMode"in document&&11>=document.documentMode,Qr=null,Sr=null,zu=null,Mo=!1;function Xd(n,l,r){var o=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;Mo||Qr==null||Qr!==Gl(o)||(o=Qr,"selectionStart"in o&&tf(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}),zu&&Du(zu,o)||(zu=o,o=ss(Sr,"onSelect"),0<o.length&&(l=new $r("onSelect","select",null,l,r),n.push({event:l,listeners:o}),l.target=Qr)))}function Xi(n,l){var r={};return r[n.toLowerCase()]=l.toLowerCase(),r["Webkit"+n]="webkit"+l,r["Moz"+n]="moz"+l,r}var zo={animationend:Xi("Animation","AnimationEnd"),animationiteration:Xi("Animation","AnimationIteration"),animationstart:Xi("Animation","AnimationStart"),transitionrun:Xi("Transition","TransitionRun"),transitionstart:Xi("Transition","TransitionStart"),transitioncancel:Xi("Transition","TransitionCancel"),transitionend:Xi("Transition","TransitionEnd")},Pl={},Er={};Xl&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete zo.animationend.animation,delete zo.animationiteration.animation,delete zo.animationstart.animation),"TransitionEvent"in window||delete zo.transitionend.transition);function Zr(n){if(Pl[n])return Pl[n];if(!zo[n])return n;var l=zo[n],r;for(r in l)if(l.hasOwnProperty(r)&&r in Er)return Pl[n]=l[r];return n}var Fg=Zr("animationend"),zm=Zr("animationiteration"),e0=Zr("animationstart"),Nm=Zr("transitionrun"),Pd=Zr("transitionstart"),t0=Zr("transitioncancel"),Rm=Zr("transitionend"),qm=new Map,Dc="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(" ");Dc.push("scrollEnd");function Ql(n,l){qm.set(n,l),Qn(l,[n])}var Hm=new WeakMap;function Ml(n,l){if(typeof n=="object"&&n!==null){var r=Hm.get(n);return r!==void 0?r:(l={value:n,source:l,stack:xn(l)},Hm.set(n,l),l)}return{value:n,source:l,stack:xn(l)}}var cl=[],Nu=0,Kr=0;function Tr(){for(var n=Nu,l=Kr=Nu=0;l<n;){var r=cl[l];cl[l++]=null;var o=cl[l];cl[l++]=null;var m=cl[l];cl[l++]=null;var v=cl[l];if(cl[l++]=null,o!==null&&m!==null){var _=o.pending;_===null?m.next=m:(m.next=_.next,_.next=m),o.pending=m}v!==0&&zc(r,m,v)}}function Ru(n,l,r,o){cl[Nu++]=n,cl[Nu++]=l,cl[Nu++]=r,cl[Nu++]=o,Kr|=o,n.lanes|=o,n=n.alternate,n!==null&&(n.lanes|=o)}function Mc(n,l,r,o){return Ru(n,l,r,o),nf(n)}function Jr(n,l){return Ru(n,null,null,l),nf(n)}function zc(n,l,r){n.lanes|=r;var o=n.alternate;o!==null&&(o.lanes|=r);for(var m=!1,v=n.return;v!==null;)v.childLanes|=r,o=v.alternate,o!==null&&(o.childLanes|=r),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(m=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,m&&l!==null&&(m=31-pt(r),n=v.hiddenUpdates,o=n[m],o===null?n[m]=[l]:o.push(l),l.lane=r|536870912),v):null}function nf(n){if(50<ls)throw ls=0,Hv=null,Error(s(185));for(var l=n.return;l!==null;)n=l,l=n.return;return n.tag===3?n.stateNode:null}var Nc={};function n0(n,l,r,o){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=l,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}function sl(n,l,r,o){return new n0(n,l,r,o)}function af(n){return n=n.prototype,!(!n||!n.isReactComponent)}function xr(n,l){var r=n.alternate;return r===null?(r=sl(n.tag,l,n.key,n.mode),r.elementType=n.elementType,r.type=n.type,r.stateNode=n.stateNode,r.alternate=n,n.alternate=r):(r.pendingProps=l,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,l=n.dependencies,r.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},r.sibling=n.sibling,r.index=n.index,r.ref=n.ref,r.refCleanup=n.refCleanup,r}function wt(n,l){n.flags&=65011714;var r=n.alternate;return r===null?(n.childLanes=0,n.lanes=l,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,l=r.dependencies,n.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),n}function Ge(n,l,r,o,m,v){var _=0;if(o=n,typeof n=="function")af(n)&&(_=1);else if(typeof n=="string")_=U0(n,r,be.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case W:return n=sl(31,r,l,m),n.elementType=W,n.lanes=v,n;case R:return Zl(r.children,m,v,l);case H:_=8,m|=24;break;case A:return n=sl(12,r,l,m|2),n.elementType=A,n.lanes=v,n;case V:return n=sl(13,r,l,m),n.elementType=V,n.lanes=v,n;case J:return n=sl(19,r,l,m),n.elementType=J,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case L:case P:_=10;break e;case B:_=9;break e;case Q:_=11;break e;case ne:_=14;break e;case ie:_=16,o=null;break e}_=29,r=Error(s(130,n===null?"null":typeof n,"")),o=null}return l=sl(_,r,l,m),l.elementType=n,l.type=o,l.lanes=v,l}function Zl(n,l,r,o){return n=sl(7,n,o,l),n.lanes=r,n}function Rc(n,l,r){return n=sl(6,n,null,l),n.lanes=r,n}function Nn(n,l,r){return l=sl(4,n.children!==null?n.children:[],n.key,l),l.lanes=r,l.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},l}var qu=[],Hu=0,lf=null,qc=0,Kl=[],fl=0,Pi=null,Or=1,kn="";function kt(n,l){qu[Hu++]=qc,qu[Hu++]=lf,lf=n,qc=l}function Qd(n,l,r){Kl[fl++]=Or,Kl[fl++]=kn,Kl[fl++]=Pi,Pi=n;var o=Or;n=kn;var m=32-pt(o)-1;o&=~(1<<m),r+=1;var v=32-pt(l)+m;if(30<v){var _=m-m%5;v=(o&(1<<_)-1).toString(32),o>>=_,m-=_,Or=1<<32-pt(l)+m|r<<m|o,kn=v+n}else Or=1<<v|r<<m|o,kn=n}function No(n){n.return!==null&&(kt(n,1),Qd(n,1,0))}function Ir(n){for(;n===lf;)lf=qu[--Hu],qu[Hu]=null,qc=qu[--Hu],qu[Hu]=null;for(;n===Pi;)Pi=Kl[--fl],Kl[fl]=null,kn=Kl[--fl],Kl[fl]=null,Or=Kl[--fl],Kl[fl]=null}var Kn=null,$t=null,Vt=!1,Jl=null,Il=!1,Ro=Error(s(519));function Qi(n){var l=Error(s(418,""));throw jc(Ml(l,n)),Ro}function rf(n){var l=n.stateNode,r=n.type,o=n.memoizedProps;switch(l[Tn]=n,l[Pn]=o,r){case"dialog":xt("cancel",l),xt("close",l);break;case"iframe":case"object":case"embed":xt("load",l);break;case"video":case"audio":for(r=0;r<Xf.length;r++)xt(Xf[r],l);break;case"source":xt("error",l);break;case"img":case"image":case"link":xt("error",l),xt("load",l);break;case"details":xt("toggle",l);break;case"input":xt("invalid",l),Oc(l,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),Oa(l);break;case"select":xt("invalid",l);break;case"textarea":xt("invalid",l),$s(l,o.value,o.defaultValue,o.children),Oa(l)}r=o.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||l.textContent===""+r||o.suppressHydrationWarning===!0||Kv(l.textContent,r)?(o.popover!=null&&(xt("beforetoggle",l),xt("toggle",l)),o.onScroll!=null&&xt("scroll",l),o.onScrollEnd!=null&&xt("scrollend",l),o.onClick!=null&&(l.onclick=ah),l=!0):l=!1,l||Qi(n)}function Um(n){for(Kn=n.return;Kn;)switch(Kn.tag){case 5:case 13:Il=!1;return;case 27:case 3:Il=!0;return;default:Kn=Kn.return}}function Hc(n){if(n!==Kn)return!1;if(!Vt)return Um(n),Vt=!0,!1;var l=n.tag,r;if((r=l!==3&&l!==27)&&((r=l===5)&&(r=n.type,r=!(r!=="form"&&r!=="button")||yi(n.type,n.memoizedProps)),r=!r),r&&$t&&Qi(n),Um(n),l===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(s(317));e:{for(n=n.nextSibling,l=0;n;){if(n.nodeType===8)if(r=n.data,r==="/$"){if(l===0){$t=Mr(n.nextSibling);break e}l--}else r!=="$"&&r!=="$!"&&r!=="$?"||l++;n=n.nextSibling}$t=null}}else l===27?(l=$t,Fu(n.type)?(n=eo,eo=null,$t=n):$t=l):$t=Kn?Mr(n.stateNode.nextSibling):null;return!0}function Uc(){$t=Kn=null,Vt=!1}function jm(){var n=Jl;return n!==null&&(yl===null?yl=n:yl.push.apply(yl,n),Jl=null),n}function jc(n){Jl===null?Jl=[n]:Jl.push(n)}var uf=K(null),Zi=null,Cr=null;function Ki(n,l,r){le(uf,l._currentValue),l._currentValue=r}function Wr(n){n._currentValue=uf.current,re(uf)}function Zd(n,l,r){for(;n!==null;){var o=n.alternate;if((n.childLanes&l)!==l?(n.childLanes|=l,o!==null&&(o.childLanes|=l)):o!==null&&(o.childLanes&l)!==l&&(o.childLanes|=l),n===r)break;n=n.return}}function km(n,l,r,o){var m=n.child;for(m!==null&&(m.return=n);m!==null;){var v=m.dependencies;if(v!==null){var _=m.child;v=v.firstContext;e:for(;v!==null;){var z=v;v=m;for(var $=0;$<l.length;$++)if(z.context===l[$]){v.lanes|=r,z=v.alternate,z!==null&&(z.lanes|=r),Zd(v.return,r,n),o||(_=null);break e}v=z.next}}else if(m.tag===18){if(_=m.return,_===null)throw Error(s(341));_.lanes|=r,v=_.alternate,v!==null&&(v.lanes|=r),Zd(_,r,n),_=null}else _=m.child;if(_!==null)_.return=m;else for(_=m;_!==null;){if(_===n){_=null;break}if(m=_.sibling,m!==null){m.return=_.return,_=m;break}_=_.return}m=_}}function kc(n,l,r,o){n=null;for(var m=l,v=!1;m!==null;){if(!v){if((m.flags&524288)!==0)v=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var _=m.alternate;if(_===null)throw Error(s(387));if(_=_.memoizedProps,_!==null){var z=m.type;Ca(m.pendingProps.value,_.value)||(n!==null?n.push(z):n=[z])}}else if(m===ze.current){if(_=m.alternate,_===null)throw Error(s(387));_.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(n!==null?n.push(El):n=[El])}m=m.return}n!==null&&km(l,n,r,o),l.flags|=262144}function of(n){for(n=n.firstContext;n!==null;){if(!Ca(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function Uu(n){Zi=n,Cr=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function va(n){return Lm(Zi,n)}function cf(n,l){return Zi===null&&Uu(n),Lm(n,l)}function Lm(n,l){var r=l._currentValue;if(l={context:l,memoizedValue:r,next:null},Cr===null){if(n===null)throw Error(s(308));Cr=l,n.dependencies={lanes:0,firstContext:l},n.flags|=524288}else Cr=Cr.next=l;return r}var Lc=typeof AbortController<"u"?AbortController:function(){var n=[],l=this.signal={aborted:!1,addEventListener:function(r,o){n.push(o)}};this.abort=function(){l.aborted=!0,n.forEach(function(r){return r()})}},Kd=u.unstable_scheduleCallback,a0=u.unstable_NormalPriority,ca={$$typeof:P,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Bc(){return{controller:new Lc,data:new Map,refCount:0}}function Fr(n){n.refCount--,n.refCount===0&&Kd(a0,function(){n.controller.abort()})}var ju=null,sf=0,Wl=0,sa=null;function Jd(n,l){if(ju===null){var r=ju=[];sf=0,Wl=tc(),sa={status:"pending",value:void 0,then:function(o){r.push(o)}}}return sf++,l.then(Id,Id),l}function Id(){if(--sf===0&&ju!==null){sa!==null&&(sa.status="fulfilled");var n=ju;ju=null,Wl=0,sa=null;for(var l=0;l<n.length;l++)(0,n[l])()}}function l0(n,l){var r=[],o={status:"pending",value:null,reason:null,then:function(m){r.push(m)}};return n.then(function(){o.status="fulfilled",o.value=l;for(var m=0;m<r.length;m++)(0,r[m])(l)},function(m){for(o.status="rejected",o.reason=m,m=0;m<r.length;m++)(0,r[m])(void 0)}),o}var Wd=D.S;D.S=function(n,l){typeof l=="object"&&l!==null&&typeof l.then=="function"&&Jd(n,l),Wd!==null&&Wd(n,l)};var ei=K(null);function ff(){var n=ei.current;return n!==null?n:fn.pooledCache}function qo(n,l){l===null?le(ei,ei.current):le(ei,l.pool)}function Fd(){var n=ff();return n===null?null:{parent:ca._currentValue,pool:n}}var ku=Error(s(460)),ep=Error(s(474)),df=Error(s(542)),tp={then:function(){}};function np(n){return n=n.status,n==="fulfilled"||n==="rejected"}function pf(){}function Bm(n,l,r){switch(r=n[r],r===void 0?n.push(l):r!==l&&(l.then(pf,pf),l=r),l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ym(n),n;default:if(typeof l.status=="string")l.then(pf,pf);else{if(n=fn,n!==null&&100<n.shellSuspendCounter)throw Error(s(482));n=l,n.status="pending",n.then(function(o){if(l.status==="pending"){var m=l;m.status="fulfilled",m.value=o}},function(o){if(l.status==="pending"){var m=l;m.status="rejected",m.reason=o}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw n=l.reason,Ym(n),n}throw Ho=l,ku}}var Ho=null;function Vm(){if(Ho===null)throw Error(s(459));var n=Ho;return Ho=null,n}function Ym(n){if(n===ku||n===df)throw Error(s(483))}var ti=!1;function ap(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function lp(n,l){n=n.updateQueue,l.updateQueue===n&&(l.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function dl(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function ni(n,l,r){var o=n.updateQueue;if(o===null)return null;if(o=o.shared,(Kt&2)!==0){var m=o.pending;return m===null?l.next=l:(l.next=m.next,m.next=l),o.pending=l,l=nf(n),zc(n,null,r),l}return Ru(n,o,l,r),nf(n)}function Uo(n,l,r){if(l=l.updateQueue,l!==null&&(l=l.shared,(r&4194048)!==0)){var o=l.lanes;o&=n.pendingLanes,r|=o,l.lanes=r,zn(n,r)}}function $m(n,l){var r=n.updateQueue,o=n.alternate;if(o!==null&&(o=o.updateQueue,r===o)){var m=null,v=null;if(r=r.firstBaseUpdate,r!==null){do{var _={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};v===null?m=v=_:v=v.next=_,r=r.next}while(r!==null);v===null?m=v=l:v=v.next=l}else m=v=l;r={baseState:o.baseState,firstBaseUpdate:m,lastBaseUpdate:v,shared:o.shared,callbacks:o.callbacks},n.updateQueue=r;return}n=r.lastBaseUpdate,n===null?r.firstBaseUpdate=l:n.next=l,r.lastBaseUpdate=l}var Gm=!1;function Vc(){if(Gm){var n=sa;if(n!==null)throw n}}function Ji(n,l,r,o){Gm=!1;var m=n.updateQueue;ti=!1;var v=m.firstBaseUpdate,_=m.lastBaseUpdate,z=m.shared.pending;if(z!==null){m.shared.pending=null;var $=z,de=$.next;$.next=null,_===null?v=de:_.next=de,_=$;var Re=n.alternate;Re!==null&&(Re=Re.updateQueue,z=Re.lastBaseUpdate,z!==_&&(z===null?Re.firstBaseUpdate=de:z.next=de,Re.lastBaseUpdate=$))}if(v!==null){var je=m.baseState;_=0,Re=de=$=null,z=v;do{var ge=z.lane&-536870913,Ee=ge!==z.lane;if(Ee?(Rt&ge)===ge:(o&ge)===ge){ge!==0&&ge===Wl&&(Gm=!0),Re!==null&&(Re=Re.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var ot=n,ct=z;ge=l;var Xt=r;switch(ct.tag){case 1:if(ot=ct.payload,typeof ot=="function"){je=ot.call(Xt,je,ge);break e}je=ot;break e;case 3:ot.flags=ot.flags&-65537|128;case 0:if(ot=ct.payload,ge=typeof ot=="function"?ot.call(Xt,je,ge):ot,ge==null)break e;je=C({},je,ge);break e;case 2:ti=!0}}ge=z.callback,ge!==null&&(n.flags|=64,Ee&&(n.flags|=8192),Ee=m.callbacks,Ee===null?m.callbacks=[ge]:Ee.push(ge))}else Ee={lane:ge,tag:z.tag,payload:z.payload,callback:z.callback,next:null},Re===null?(de=Re=Ee,$=je):Re=Re.next=Ee,_|=ge;if(z=z.next,z===null){if(z=m.shared.pending,z===null)break;Ee=z,z=Ee.next,Ee.next=null,m.lastBaseUpdate=Ee,m.shared.pending=null}}while(!0);Re===null&&($=je),m.baseState=$,m.firstBaseUpdate=de,m.lastBaseUpdate=Re,v===null&&(m.shared.lanes=0),au|=_,n.lanes=_,n.memoizedState=je}}function rp(n,l){if(typeof n!="function")throw Error(s(191,n));n.call(l)}function hf(n,l){var r=n.callbacks;if(r!==null)for(n.callbacks=null,n=0;n<r.length;n++)rp(r[n],l)}var jo=K(null),mf=K(0);function ya(n,l){n=nu,le(mf,n),le(jo,l),nu=n|l.baseLanes}function Yc(){le(mf,nu),le(jo,jo.current)}function $c(){nu=mf.current,re(jo),re(mf)}var Fl=0,Tt=null,Zt=null,Rn=null,vf=!1,zl=!1,Lu=!1,_r=0,Nl=0,Ii=null,Xm=0;function qn(){throw Error(s(321))}function ip(n,l){if(l===null)return!1;for(var r=0;r<l.length&&r<n.length;r++)if(!Ca(n[r],l[r]))return!1;return!0}function up(n,l,r,o,m,v){return Fl=v,Tt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,D.H=n===null||n.memoizedState===null?iv:uv,Lu=!1,v=r(o,m),Lu=!1,zl&&(v=Pm(l,r,o,m)),Bu(n),v}function Bu(n){D.H=Op;var l=Zt!==null&&Zt.next!==null;if(Fl=0,Rn=Zt=Tt=null,vf=!1,Nl=0,Ii=null,l)throw Error(s(300));n===null||fa||(n=n.dependencies,n!==null&&of(n)&&(fa=!0))}function Pm(n,l,r,o){Tt=n;var m=0;do{if(zl&&(Ii=null),Nl=0,zl=!1,25<=m)throw Error(s(301));if(m+=1,Rn=Zt=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}D.H=Wi,v=l(r,o)}while(zl);return v}function r0(){var n=D.H,l=n.useState()[0];return l=typeof l.then=="function"?gf(l):l,n=n.useState()[0],(Zt!==null?Zt.memoizedState:null)!==n&&(Tt.flags|=1024),l}function op(){var n=_r!==0;return _r=0,n}function Gc(n,l,r){l.updateQueue=n.updateQueue,l.flags&=-2053,n.lanes&=~r}function cp(n){if(vf){for(n=n.memoizedState;n!==null;){var l=n.queue;l!==null&&(l.pending=null),n=n.next}vf=!1}Fl=0,Rn=Zt=Tt=null,zl=!1,Nl=_r=0,Ii=null}function Ba(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rn===null?Tt.memoizedState=Rn=n:Rn=Rn.next=n,Rn}function Ln(){if(Zt===null){var n=Tt.alternate;n=n!==null?n.memoizedState:null}else n=Zt.next;var l=Rn===null?Tt.memoizedState:Rn.next;if(l!==null)Rn=l,Zt=n;else{if(n===null)throw Tt.alternate===null?Error(s(467)):Error(s(310));Zt=n,n={memoizedState:Zt.memoizedState,baseState:Zt.baseState,baseQueue:Zt.baseQueue,queue:Zt.queue,next:null},Rn===null?Tt.memoizedState=Rn=n:Rn=Rn.next=n}return Rn}function yf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gf(n){var l=Nl;return Nl+=1,Ii===null&&(Ii=[]),n=Bm(Ii,n,l),l=Tt,(Rn===null?l.memoizedState:Rn.next)===null&&(l=l.alternate,D.H=l===null||l.memoizedState===null?iv:uv),n}function Wn(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return gf(n);if(n.$$typeof===P)return va(n)}throw Error(s(438,String(n)))}function sp(n){var l=null,r=Tt.updateQueue;if(r!==null&&(l=r.memoCache),l==null){var o=Tt.alternate;o!==null&&(o=o.updateQueue,o!==null&&(o=o.memoCache,o!=null&&(l={data:o.data.map(function(m){return m.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),r===null&&(r=yf(),Tt.updateQueue=r),r.memoCache=l,r=l.data[l.index],r===void 0)for(r=l.data[l.index]=Array(n),o=0;o<n;o++)r[o]=me;return l.index++,r}function ai(n,l){return typeof l=="function"?l(n):l}function bf(n){var l=Ln();return fp(l,Zt,n)}function fp(n,l,r){var o=n.queue;if(o===null)throw Error(s(311));o.lastRenderedReducer=r;var m=n.baseQueue,v=o.pending;if(v!==null){if(m!==null){var _=m.next;m.next=v.next,v.next=_}l.baseQueue=m=v,o.pending=null}if(v=n.baseState,m===null)n.memoizedState=v;else{l=m.next;var z=_=null,$=null,de=l,Re=!1;do{var je=de.lane&-536870913;if(je!==de.lane?(Rt&je)===je:(Fl&je)===je){var ge=de.revertLane;if(ge===0)$!==null&&($=$.next={lane:0,revertLane:0,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),je===Wl&&(Re=!0);else if((Fl&ge)===ge){de=de.next,ge===Wl&&(Re=!0);continue}else je={lane:0,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},$===null?(z=$=je,_=v):$=$.next=je,Tt.lanes|=ge,au|=ge;je=de.action,Lu&&r(v,je),v=de.hasEagerState?de.eagerState:r(v,je)}else ge={lane:je,revertLane:de.revertLane,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},$===null?(z=$=ge,_=v):$=$.next=ge,Tt.lanes|=je,au|=je;de=de.next}while(de!==null&&de!==l);if($===null?_=v:$.next=z,!Ca(v,n.memoizedState)&&(fa=!0,Re&&(r=sa,r!==null)))throw r;n.memoizedState=v,n.baseState=_,n.baseQueue=$,o.lastRenderedState=v}return m===null&&(o.lanes=0),[n.memoizedState,o.dispatch]}function dp(n){var l=Ln(),r=l.queue;if(r===null)throw Error(s(311));r.lastRenderedReducer=n;var o=r.dispatch,m=r.pending,v=l.memoizedState;if(m!==null){r.pending=null;var _=m=m.next;do v=n(v,_.action),_=_.next;while(_!==m);Ca(v,l.memoizedState)||(fa=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),r.lastRenderedState=v}return[v,o]}function Sf(n,l,r){var o=Tt,m=Ln(),v=Vt;if(v){if(r===void 0)throw Error(s(407));r=r()}else r=l();var _=!Ca((Zt||m).memoizedState,r);_&&(m.memoizedState=r,fa=!0),m=m.queue;var z=Zm.bind(null,o,m,n);if(ln(2048,8,z,[n]),m.getSnapshot!==l||_||Rn!==null&&Rn.memoizedState.tag&1){if(o.flags|=2048,pl(9,xf(),Qm.bind(null,o,m,r,l),null),fn===null)throw Error(s(349));v||(Fl&124)!==0||pp(o,l,r)}return r}function pp(n,l,r){n.flags|=16384,n={getSnapshot:l,value:r},l=Tt.updateQueue,l===null?(l=yf(),Tt.updateQueue=l,l.stores=[n]):(r=l.stores,r===null?l.stores=[n]:r.push(n))}function Qm(n,l,r,o){l.value=r,l.getSnapshot=o,Km(l)&&hp(n)}function Zm(n,l,r){return r(function(){Km(l)&&hp(n)})}function Km(n){var l=n.getSnapshot;n=n.value;try{var r=l();return!Ca(n,r)}catch{return!0}}function hp(n){var l=Jr(n,2);l!==null&&Hl(l,n,2)}function Ef(n){var l=Ba();if(typeof n=="function"){var r=n;if(n=r(),Lu){dt(!0);try{r()}finally{dt(!1)}}}return l.memoizedState=l.baseState=n,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ai,lastRenderedState:n},l}function mp(n,l,r,o){return n.baseState=r,fp(n,Zt,typeof o=="function"?o:ai)}function i0(n,l,r,o,m){if(Vo(n))throw Error(s(485));if(n=l.action,n!==null){var v={payload:m,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){v.listeners.push(_)}};D.T!==null?r(!0):v.isTransition=!1,o(v),r=l.pending,r===null?(v.next=l.pending=v,vp(l,v)):(v.next=r.next,l.pending=r.next=v)}}function vp(n,l){var r=l.action,o=l.payload,m=n.state;if(l.isTransition){var v=D.T,_={};D.T=_;try{var z=r(m,o),$=D.S;$!==null&&$(_,z),Tf(n,l,z)}catch(de){gp(n,l,de)}finally{D.T=v}}else try{v=r(m,o),Tf(n,l,v)}catch(de){gp(n,l,de)}}function Tf(n,l,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(o){yp(n,l,o)},function(o){return gp(n,l,o)}):yp(n,l,r)}function yp(n,l,r){l.status="fulfilled",l.value=r,Jm(l),n.state=r,l=n.pending,l!==null&&(r=l.next,r===l?n.pending=null:(r=r.next,l.next=r,vp(n,r)))}function gp(n,l,r){var o=n.pending;if(n.pending=null,o!==null){o=o.next;do l.status="rejected",l.reason=r,Jm(l),l=l.next;while(l!==o)}n.action=null}function Jm(n){n=n.listeners;for(var l=0;l<n.length;l++)(0,n[l])()}function bp(n,l){return l}function Im(n,l){if(Vt){var r=fn.formState;if(r!==null){e:{var o=Tt;if(Vt){if($t){t:{for(var m=$t,v=Il;m.nodeType!==8;){if(!v){m=null;break t}if(m=Mr(m.nextSibling),m===null){m=null;break t}}v=m.data,m=v==="F!"||v==="F"?m:null}if(m){$t=Mr(m.nextSibling),o=m.data==="F!";break e}}Qi(o)}o=!1}o&&(l=r[0])}}return r=Ba(),r.memoizedState=r.baseState=l,o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:bp,lastRenderedState:l},r.queue=o,r=lv.bind(null,Tt,o),o.dispatch=r,o=Ef(!1),v=_f.bind(null,Tt,!1,o.queue),o=Ba(),m={state:l,dispatch:null,action:n,pending:null},o.queue=m,r=i0.bind(null,Tt,m,v,r),m.dispatch=r,o.memoizedState=n,[l,r,!1]}function li(n){var l=Ln();return Sp(l,Zt,n)}function Sp(n,l,r){if(l=fp(n,l,bp)[0],n=bf(ai)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var o=gf(l)}catch(_){throw _===ku?df:_}else o=l;l=Ln();var m=l.queue,v=m.dispatch;return r!==l.memoizedState&&(Tt.flags|=2048,pl(9,xf(),bE.bind(null,m,r),null)),[o,v,n]}function bE(n,l){n.action=l}function Ep(n){var l=Ln(),r=Zt;if(r!==null)return Sp(l,r,n);Ln(),l=l.memoizedState,r=Ln();var o=r.queue.dispatch;return r.memoizedState=n,[l,o,!1]}function pl(n,l,r,o){return n={tag:n,create:r,deps:o,inst:l,next:null},l=Tt.updateQueue,l===null&&(l=yf(),Tt.updateQueue=l),r=l.lastEffect,r===null?l.lastEffect=n.next=n:(o=r.next,r.next=n,n.next=o,l.lastEffect=n),n}function xf(){return{destroy:void 0,resource:void 0}}function Of(){return Ln().memoizedState}function Vu(n,l,r,o){var m=Ba();o=o===void 0?null:o,Tt.flags|=n,m.memoizedState=pl(1|l,xf(),r,o)}function ln(n,l,r,o){var m=Ln();o=o===void 0?null:o;var v=m.memoizedState.inst;Zt!==null&&o!==null&&ip(o,Zt.memoizedState.deps)?m.memoizedState=pl(l,v,r,o):(Tt.flags|=n,m.memoizedState=pl(1|l,v,r,o))}function u0(n,l){Vu(8390656,8,n,l)}function o0(n,l){ln(2048,8,n,l)}function Wm(n,l){return ln(4,2,n,l)}function Ar(n,l){return ln(4,4,n,l)}function Fm(n,l){if(typeof l=="function"){n=n();var r=l(n);return function(){typeof r=="function"?r():l(null)}}if(l!=null)return n=n(),l.current=n,function(){l.current=null}}function Tp(n,l,r){r=r!=null?r.concat([n]):null,ln(4,4,Fm.bind(null,l,n),r)}function ko(){}function Lo(n,l){var r=Ln();l=l===void 0?null:l;var o=r.memoizedState;return l!==null&&ip(l,o[1])?o[0]:(r.memoizedState=[n,l],n)}function ev(n,l){var r=Ln();l=l===void 0?null:l;var o=r.memoizedState;if(l!==null&&ip(l,o[1]))return o[0];if(o=n(),Lu){dt(!0);try{n()}finally{dt(!1)}}return r.memoizedState=[o,l],o}function Cf(n,l,r){return r===void 0||(Fl&1073741824)!==0?n.memoizedState=l:(n.memoizedState=r,n=Uv(),Tt.lanes|=n,au|=n,r)}function tv(n,l,r,o){return Ca(r,l)?r:jo.current!==null?(n=Cf(n,r,o),Ca(n,l)||(fa=!0),n):(Fl&42)===0?(fa=!0,n.memoizedState=r):(n=Uv(),Tt.lanes|=n,au|=n,l)}function c0(n,l,r,o,m){var v=k.p;k.p=v!==0&&8>v?v:8;var _=D.T,z={};D.T=z,_f(n,!1,l,r);try{var $=m(),de=D.S;if(de!==null&&de(z,$),$!==null&&typeof $=="object"&&typeof $.then=="function"){var Re=l0($,o);Bo(n,l,Re,ql(n))}else Bo(n,l,o,ql(n))}catch(je){Bo(n,l,{then:function(){},status:"rejected",reason:je},ql())}finally{k.p=v,D.T=_}}function SE(){}function xp(n,l,r,o){if(n.tag!==5)throw Error(s(476));var m=s0(n).queue;c0(n,m,l,Y,r===null?SE:function(){return Xc(n),r(o)})}function s0(n){var l=n.memoizedState;if(l!==null)return l;l={memoizedState:Y,baseState:Y,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ai,lastRenderedState:Y},next:null};var r={};return l.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ai,lastRenderedState:r},next:null},n.memoizedState=l,n=n.alternate,n!==null&&(n.memoizedState=l),l}function Xc(n){var l=s0(n).next.queue;Bo(n,l,{},ql())}function er(){return va(El)}function nv(){return Ln().memoizedState}function f0(){return Ln().memoizedState}function d0(n){for(var l=n.return;l!==null;){switch(l.tag){case 24:case 3:var r=ql();n=dl(r);var o=ni(l,n,r);o!==null&&(Hl(o,l,r),Uo(o,l,r)),l={cache:Bc()},n.payload=l;return}l=l.return}}function av(n,l,r){var o=ql();r={lane:o,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null},Vo(n)?p0(l,r):(r=Mc(n,l,r,o),r!==null&&(Hl(r,n,o),rv(r,l,o)))}function lv(n,l,r){var o=ql();Bo(n,l,r,o)}function Bo(n,l,r,o){var m={lane:o,revertLane:0,action:r,hasEagerState:!1,eagerState:null,next:null};if(Vo(n))p0(l,m);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var _=l.lastRenderedState,z=v(_,r);if(m.hasEagerState=!0,m.eagerState=z,Ca(z,_))return Ru(n,l,m,0),fn===null&&Tr(),!1}catch{}finally{}if(r=Mc(n,l,m,o),r!==null)return Hl(r,n,o),rv(r,l,o),!0}return!1}function _f(n,l,r,o){if(o={lane:2,revertLane:tc(),action:o,hasEagerState:!1,eagerState:null,next:null},Vo(n)){if(l)throw Error(s(479))}else l=Mc(n,r,o,2),l!==null&&Hl(l,n,2)}function Vo(n){var l=n.alternate;return n===Tt||l!==null&&l===Tt}function p0(n,l){zl=vf=!0;var r=n.pending;r===null?l.next=l:(l.next=r.next,r.next=l),n.pending=l}function rv(n,l,r){if((r&4194048)!==0){var o=l.lanes;o&=n.pendingLanes,r|=o,l.lanes=r,zn(n,r)}}var Op={readContext:va,use:Wn,useCallback:qn,useContext:qn,useEffect:qn,useImperativeHandle:qn,useLayoutEffect:qn,useInsertionEffect:qn,useMemo:qn,useReducer:qn,useRef:qn,useState:qn,useDebugValue:qn,useDeferredValue:qn,useTransition:qn,useSyncExternalStore:qn,useId:qn,useHostTransitionStatus:qn,useFormState:qn,useActionState:qn,useOptimistic:qn,useMemoCache:qn,useCacheRefresh:qn},iv={readContext:va,use:Wn,useCallback:function(n,l){return Ba().memoizedState=[n,l===void 0?null:l],n},useContext:va,useEffect:u0,useImperativeHandle:function(n,l,r){r=r!=null?r.concat([n]):null,Vu(4194308,4,Fm.bind(null,l,n),r)},useLayoutEffect:function(n,l){return Vu(4194308,4,n,l)},useInsertionEffect:function(n,l){Vu(4,2,n,l)},useMemo:function(n,l){var r=Ba();l=l===void 0?null:l;var o=n();if(Lu){dt(!0);try{n()}finally{dt(!1)}}return r.memoizedState=[o,l],o},useReducer:function(n,l,r){var o=Ba();if(r!==void 0){var m=r(l);if(Lu){dt(!0);try{r(l)}finally{dt(!1)}}}else m=l;return o.memoizedState=o.baseState=m,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:m},o.queue=n,n=n.dispatch=av.bind(null,Tt,n),[o.memoizedState,n]},useRef:function(n){var l=Ba();return n={current:n},l.memoizedState=n},useState:function(n){n=Ef(n);var l=n.queue,r=lv.bind(null,Tt,l);return l.dispatch=r,[n.memoizedState,r]},useDebugValue:ko,useDeferredValue:function(n,l){var r=Ba();return Cf(r,n,l)},useTransition:function(){var n=Ef(!1);return n=c0.bind(null,Tt,n.queue,!0,!1),Ba().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,l,r){var o=Tt,m=Ba();if(Vt){if(r===void 0)throw Error(s(407));r=r()}else{if(r=l(),fn===null)throw Error(s(349));(Rt&124)!==0||pp(o,l,r)}m.memoizedState=r;var v={value:r,getSnapshot:l};return m.queue=v,u0(Zm.bind(null,o,v,n),[n]),o.flags|=2048,pl(9,xf(),Qm.bind(null,o,v,r,l),null),r},useId:function(){var n=Ba(),l=fn.identifierPrefix;if(Vt){var r=kn,o=Or;r=(o&~(1<<32-pt(o)-1)).toString(32)+r,l="«"+l+"R"+r,r=_r++,0<r&&(l+="H"+r.toString(32)),l+="»"}else r=Xm++,l="«"+l+"r"+r.toString(32)+"»";return n.memoizedState=l},useHostTransitionStatus:er,useFormState:Im,useActionState:Im,useOptimistic:function(n){var l=Ba();l.memoizedState=l.baseState=n;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=r,l=_f.bind(null,Tt,!0,r),r.dispatch=l,[n,l]},useMemoCache:sp,useCacheRefresh:function(){return Ba().memoizedState=d0.bind(null,Tt)}},uv={readContext:va,use:Wn,useCallback:Lo,useContext:va,useEffect:o0,useImperativeHandle:Tp,useInsertionEffect:Wm,useLayoutEffect:Ar,useMemo:ev,useReducer:bf,useRef:Of,useState:function(){return bf(ai)},useDebugValue:ko,useDeferredValue:function(n,l){var r=Ln();return tv(r,Zt.memoizedState,n,l)},useTransition:function(){var n=bf(ai)[0],l=Ln().memoizedState;return[typeof n=="boolean"?n:gf(n),l]},useSyncExternalStore:Sf,useId:nv,useHostTransitionStatus:er,useFormState:li,useActionState:li,useOptimistic:function(n,l){var r=Ln();return mp(r,Zt,n,l)},useMemoCache:sp,useCacheRefresh:f0},Wi={readContext:va,use:Wn,useCallback:Lo,useContext:va,useEffect:o0,useImperativeHandle:Tp,useInsertionEffect:Wm,useLayoutEffect:Ar,useMemo:ev,useReducer:dp,useRef:Of,useState:function(){return dp(ai)},useDebugValue:ko,useDeferredValue:function(n,l){var r=Ln();return Zt===null?Cf(r,n,l):tv(r,Zt.memoizedState,n,l)},useTransition:function(){var n=dp(ai)[0],l=Ln().memoizedState;return[typeof n=="boolean"?n:gf(n),l]},useSyncExternalStore:Sf,useId:nv,useHostTransitionStatus:er,useFormState:Ep,useActionState:Ep,useOptimistic:function(n,l){var r=Ln();return Zt!==null?mp(r,Zt,n,l):(r.baseState=n,[n,r.queue.dispatch])},useMemoCache:sp,useCacheRefresh:f0},Yo=null,Pc=0;function Cp(n){var l=Pc;return Pc+=1,Yo===null&&(Yo=[]),Bm(Yo,n,l)}function $o(n,l){l=l.props.ref,n.ref=l!==void 0?l:null}function Va(n,l){throw l.$$typeof===w?Error(s(525)):(n=Object.prototype.toString.call(l),Error(s(31,n==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":n)))}function ov(n){var l=n._init;return l(n._payload)}function hl(n){function l(oe,ee){if(n){var fe=oe.deletions;fe===null?(oe.deletions=[ee],oe.flags|=16):fe.push(ee)}}function r(oe,ee){if(!n)return null;for(;ee!==null;)l(oe,ee),ee=ee.sibling;return null}function o(oe){for(var ee=new Map;oe!==null;)oe.key!==null?ee.set(oe.key,oe):ee.set(oe.index,oe),oe=oe.sibling;return ee}function m(oe,ee){return oe=xr(oe,ee),oe.index=0,oe.sibling=null,oe}function v(oe,ee,fe){return oe.index=fe,n?(fe=oe.alternate,fe!==null?(fe=fe.index,fe<ee?(oe.flags|=67108866,ee):fe):(oe.flags|=67108866,ee)):(oe.flags|=1048576,ee)}function _(oe){return n&&oe.alternate===null&&(oe.flags|=67108866),oe}function z(oe,ee,fe,He){return ee===null||ee.tag!==6?(ee=Rc(fe,oe.mode,He),ee.return=oe,ee):(ee=m(ee,fe),ee.return=oe,ee)}function $(oe,ee,fe,He){var nt=fe.type;return nt===R?Re(oe,ee,fe.props.children,He,fe.key):ee!==null&&(ee.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===ie&&ov(nt)===ee.type)?(ee=m(ee,fe.props),$o(ee,fe),ee.return=oe,ee):(ee=Ge(fe.type,fe.key,fe.props,null,oe.mode,He),$o(ee,fe),ee.return=oe,ee)}function de(oe,ee,fe,He){return ee===null||ee.tag!==4||ee.stateNode.containerInfo!==fe.containerInfo||ee.stateNode.implementation!==fe.implementation?(ee=Nn(fe,oe.mode,He),ee.return=oe,ee):(ee=m(ee,fe.children||[]),ee.return=oe,ee)}function Re(oe,ee,fe,He,nt){return ee===null||ee.tag!==7?(ee=Zl(fe,oe.mode,He,nt),ee.return=oe,ee):(ee=m(ee,fe),ee.return=oe,ee)}function je(oe,ee,fe){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return ee=Rc(""+ee,oe.mode,fe),ee.return=oe,ee;if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case q:return fe=Ge(ee.type,ee.key,ee.props,null,oe.mode,fe),$o(fe,ee),fe.return=oe,fe;case U:return ee=Nn(ee,oe.mode,fe),ee.return=oe,ee;case ie:var He=ee._init;return ee=He(ee._payload),je(oe,ee,fe)}if(Z(ee)||Te(ee))return ee=Zl(ee,oe.mode,fe,null),ee.return=oe,ee;if(typeof ee.then=="function")return je(oe,Cp(ee),fe);if(ee.$$typeof===P)return je(oe,cf(oe,ee),fe);Va(oe,ee)}return null}function ge(oe,ee,fe,He){var nt=ee!==null?ee.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint")return nt!==null?null:z(oe,ee,""+fe,He);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:return fe.key===nt?$(oe,ee,fe,He):null;case U:return fe.key===nt?de(oe,ee,fe,He):null;case ie:return nt=fe._init,fe=nt(fe._payload),ge(oe,ee,fe,He)}if(Z(fe)||Te(fe))return nt!==null?null:Re(oe,ee,fe,He,null);if(typeof fe.then=="function")return ge(oe,ee,Cp(fe),He);if(fe.$$typeof===P)return ge(oe,ee,cf(oe,fe),He);Va(oe,fe)}return null}function Ee(oe,ee,fe,He,nt){if(typeof He=="string"&&He!==""||typeof He=="number"||typeof He=="bigint")return oe=oe.get(fe)||null,z(ee,oe,""+He,nt);if(typeof He=="object"&&He!==null){switch(He.$$typeof){case q:return oe=oe.get(He.key===null?fe:He.key)||null,$(ee,oe,He,nt);case U:return oe=oe.get(He.key===null?fe:He.key)||null,de(ee,oe,He,nt);case ie:var Dt=He._init;return He=Dt(He._payload),Ee(oe,ee,fe,He,nt)}if(Z(He)||Te(He))return oe=oe.get(fe)||null,Re(ee,oe,He,nt,null);if(typeof He.then=="function")return Ee(oe,ee,fe,Cp(He),nt);if(He.$$typeof===P)return Ee(oe,ee,fe,cf(ee,He),nt);Va(ee,He)}return null}function ot(oe,ee,fe,He){for(var nt=null,Dt=null,ut=ee,mt=ee=0,Sa=null;ut!==null&&mt<fe.length;mt++){ut.index>mt?(Sa=ut,ut=null):Sa=ut.sibling;var Bt=ge(oe,ut,fe[mt],He);if(Bt===null){ut===null&&(ut=Sa);break}n&&ut&&Bt.alternate===null&&l(oe,ut),ee=v(Bt,ee,mt),Dt===null?nt=Bt:Dt.sibling=Bt,Dt=Bt,ut=Sa}if(mt===fe.length)return r(oe,ut),Vt&&kt(oe,mt),nt;if(ut===null){for(;mt<fe.length;mt++)ut=je(oe,fe[mt],He),ut!==null&&(ee=v(ut,ee,mt),Dt===null?nt=ut:Dt.sibling=ut,Dt=ut);return Vt&&kt(oe,mt),nt}for(ut=o(ut);mt<fe.length;mt++)Sa=Ee(ut,oe,mt,fe[mt],He),Sa!==null&&(n&&Sa.alternate!==null&&ut.delete(Sa.key===null?mt:Sa.key),ee=v(Sa,ee,mt),Dt===null?nt=Sa:Dt.sibling=Sa,Dt=Sa);return n&&ut.forEach(function(ro){return l(oe,ro)}),Vt&&kt(oe,mt),nt}function ct(oe,ee,fe,He){if(fe==null)throw Error(s(151));for(var nt=null,Dt=null,ut=ee,mt=ee=0,Sa=null,Bt=fe.next();ut!==null&&!Bt.done;mt++,Bt=fe.next()){ut.index>mt?(Sa=ut,ut=null):Sa=ut.sibling;var ro=ge(oe,ut,Bt.value,He);if(ro===null){ut===null&&(ut=Sa);break}n&&ut&&ro.alternate===null&&l(oe,ut),ee=v(ro,ee,mt),Dt===null?nt=ro:Dt.sibling=ro,Dt=ro,ut=Sa}if(Bt.done)return r(oe,ut),Vt&&kt(oe,mt),nt;if(ut===null){for(;!Bt.done;mt++,Bt=fe.next())Bt=je(oe,Bt.value,He),Bt!==null&&(ee=v(Bt,ee,mt),Dt===null?nt=Bt:Dt.sibling=Bt,Dt=Bt);return Vt&&kt(oe,mt),nt}for(ut=o(ut);!Bt.done;mt++,Bt=fe.next())Bt=Ee(ut,oe,mt,Bt.value,He),Bt!==null&&(n&&Bt.alternate!==null&&ut.delete(Bt.key===null?mt:Bt.key),ee=v(Bt,ee,mt),Dt===null?nt=Bt:Dt.sibling=Bt,Dt=Bt);return n&&ut.forEach(function(NE){return l(oe,NE)}),Vt&&kt(oe,mt),nt}function Xt(oe,ee,fe,He){if(typeof fe=="object"&&fe!==null&&fe.type===R&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case q:e:{for(var nt=fe.key;ee!==null;){if(ee.key===nt){if(nt=fe.type,nt===R){if(ee.tag===7){r(oe,ee.sibling),He=m(ee,fe.props.children),He.return=oe,oe=He;break e}}else if(ee.elementType===nt||typeof nt=="object"&&nt!==null&&nt.$$typeof===ie&&ov(nt)===ee.type){r(oe,ee.sibling),He=m(ee,fe.props),$o(He,fe),He.return=oe,oe=He;break e}r(oe,ee);break}else l(oe,ee);ee=ee.sibling}fe.type===R?(He=Zl(fe.props.children,oe.mode,He,fe.key),He.return=oe,oe=He):(He=Ge(fe.type,fe.key,fe.props,null,oe.mode,He),$o(He,fe),He.return=oe,oe=He)}return _(oe);case U:e:{for(nt=fe.key;ee!==null;){if(ee.key===nt)if(ee.tag===4&&ee.stateNode.containerInfo===fe.containerInfo&&ee.stateNode.implementation===fe.implementation){r(oe,ee.sibling),He=m(ee,fe.children||[]),He.return=oe,oe=He;break e}else{r(oe,ee);break}else l(oe,ee);ee=ee.sibling}He=Nn(fe,oe.mode,He),He.return=oe,oe=He}return _(oe);case ie:return nt=fe._init,fe=nt(fe._payload),Xt(oe,ee,fe,He)}if(Z(fe))return ot(oe,ee,fe,He);if(Te(fe)){if(nt=Te(fe),typeof nt!="function")throw Error(s(150));return fe=nt.call(fe),ct(oe,ee,fe,He)}if(typeof fe.then=="function")return Xt(oe,ee,Cp(fe),He);if(fe.$$typeof===P)return Xt(oe,ee,cf(oe,fe),He);Va(oe,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"||typeof fe=="bigint"?(fe=""+fe,ee!==null&&ee.tag===6?(r(oe,ee.sibling),He=m(ee,fe),He.return=oe,oe=He):(r(oe,ee),He=Rc(fe,oe.mode,He),He.return=oe,oe=He),_(oe)):r(oe,ee)}return function(oe,ee,fe,He){try{Pc=0;var nt=Xt(oe,ee,fe,He);return Yo=null,nt}catch(ut){if(ut===ku||ut===df)throw ut;var Dt=sl(29,ut,null,oe.mode);return Dt.lanes=He,Dt.return=oe,Dt}finally{}}}var Go=hl(!0),ri=hl(!1),Rl=K(null),Ya=null;function Fi(n){var l=n.alternate;le(rn,rn.current&1),le(Rl,n),Ya===null&&(l===null||jo.current!==null||l.memoizedState!==null)&&(Ya=n)}function ii(n){if(n.tag===22){if(le(rn,rn.current),le(Rl,n),Ya===null){var l=n.alternate;l!==null&&l.memoizedState!==null&&(Ya=n)}}else ui()}function ui(){le(rn,rn.current),le(Rl,Rl.current)}function wr(n){re(Rl),Ya===n&&(Ya=null),re(rn)}var rn=K(0);function Af(n){for(var l=n;l!==null;){if(l.tag===13){var r=l.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||Jf(r)))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}function Yu(n,l,r,o){l=n.memoizedState,r=r(o,l),r=r==null?l:C({},l,r),n.memoizedState=r,n.lanes===0&&(n.updateQueue.baseState=r)}var _p={enqueueSetState:function(n,l,r){n=n._reactInternals;var o=ql(),m=dl(o);m.payload=l,r!=null&&(m.callback=r),l=ni(n,m,o),l!==null&&(Hl(l,n,o),Uo(l,n,o))},enqueueReplaceState:function(n,l,r){n=n._reactInternals;var o=ql(),m=dl(o);m.tag=1,m.payload=l,r!=null&&(m.callback=r),l=ni(n,m,o),l!==null&&(Hl(l,n,o),Uo(l,n,o))},enqueueForceUpdate:function(n,l){n=n._reactInternals;var r=ql(),o=dl(r);o.tag=2,l!=null&&(o.callback=l),l=ni(n,o,r),l!==null&&(Hl(l,n,r),Uo(l,n,r))}};function Qc(n,l,r,o,m,v,_){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(o,v,_):l.prototype&&l.prototype.isPureReactComponent?!Du(r,o)||!Du(m,v):!0}function Xo(n,l,r,o){n=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(r,o),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(r,o),l.state!==n&&_p.enqueueReplaceState(l,l.state,null)}function $u(n,l){var r=l;if("ref"in l){r={};for(var o in l)o!=="ref"&&(r[o]=l[o])}if(n=n.defaultProps){r===l&&(r=C({},r));for(var m in n)r[m]===void 0&&(r[m]=n[m])}return r}var wf=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=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(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function Zc(n){wf(n)}function cv(n){console.error(n)}function Df(n){wf(n)}function Mf(n,l){try{var r=n.onUncaughtError;r(l.value,{componentStack:l.stack})}catch(o){setTimeout(function(){throw o})}}function sv(n,l,r){try{var o=n.onCaughtError;o(r.value,{componentStack:r.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function fv(n,l,r){return r=dl(r),r.tag=3,r.payload={element:null},r.callback=function(){Mf(n,l)},r}function dv(n){return n=dl(n),n.tag=3,n}function ml(n,l,r,o){var m=r.type.getDerivedStateFromError;if(typeof m=="function"){var v=o.value;n.payload=function(){return m(v)},n.callback=function(){sv(l,r,o)}}var _=r.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(n.callback=function(){sv(l,r,o),typeof m!="function"&&(Qu===null?Qu=new Set([this]):Qu.add(this));var z=o.stack;this.componentDidCatch(o.value,{componentStack:z!==null?z:""})})}function h0(n,l,r,o,m){if(r.flags|=32768,o!==null&&typeof o=="object"&&typeof o.then=="function"){if(l=r.alternate,l!==null&&kc(l,r,m,!0),r=Rl.current,r!==null){switch(r.tag){case 13:return Ya===null?ec():r.alternate===null&&$n===0&&($n=3),r.flags&=-257,r.flags|=65536,r.lanes=m,o===tp?r.flags|=16384:(l=r.updateQueue,l===null?r.updateQueue=new Set([o]):l.add(o),Wp(n,o,m)),!1;case 22:return r.flags|=65536,o===tp?r.flags|=16384:(l=r.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([o])},r.updateQueue=l):(r=l.retryQueue,r===null?l.retryQueue=new Set([o]):r.add(o)),Wp(n,o,m)),!1}throw Error(s(435,r.tag))}return Wp(n,o,m),ec(),!1}if(Vt)return l=Rl.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=m,o!==Ro&&(n=Error(s(422),{cause:o}),jc(Ml(n,r)))):(o!==Ro&&(l=Error(s(423),{cause:o}),jc(Ml(l,r))),n=n.current.alternate,n.flags|=65536,m&=-m,n.lanes|=m,o=Ml(o,r),m=fv(n.stateNode,o,m),$m(n,m),$n!==4&&($n=2)),!1;var v=Error(s(520),{cause:o});if(v=Ml(v,r),ts===null?ts=[v]:ts.push(v),$n!==4&&($n=2),l===null)return!0;o=Ml(o,r),r=l;do{switch(r.tag){case 3:return r.flags|=65536,n=m&-m,r.lanes|=n,n=fv(r.stateNode,o,n),$m(r,n),!1;case 1:if(l=r.type,v=r.stateNode,(r.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Qu===null||!Qu.has(v))))return r.flags|=65536,m&=-m,r.lanes|=m,m=dv(m),ml(m,n,r,o),$m(r,m),!1}r=r.return}while(r!==null);return!1}var Bn=Error(s(461)),fa=!1;function ga(n,l,r,o){l.child=n===null?ri(l,null,r,o):Go(l,n.child,r,o)}function m0(n,l,r,o,m){r=r.render;var v=l.ref;if("ref"in o){var _={};for(var z in o)z!=="ref"&&(_[z]=o[z])}else _=o;return Uu(l),o=up(n,l,r,_,v,m),z=op(),n!==null&&!fa?(Gc(n,l,m),oi(n,l,m)):(Vt&&z&&No(l),l.flags|=1,ga(n,l,o,m),l.child)}function eu(n,l,r,o,m){if(n===null){var v=r.type;return typeof v=="function"&&!af(v)&&v.defaultProps===void 0&&r.compare===null?(l.tag=15,l.type=v,Po(n,l,v,o,m)):(n=Ge(r.type,null,o,l,l.mode,m),n.ref=l.ref,n.return=l,l.child=n)}if(v=n.child,!Up(n,m)){var _=v.memoizedProps;if(r=r.compare,r=r!==null?r:Du,r(_,o)&&n.ref===l.ref)return oi(n,l,m)}return l.flags|=1,n=xr(v,o),n.ref=l.ref,n.return=l,l.child=n}function Po(n,l,r,o,m){if(n!==null){var v=n.memoizedProps;if(Du(v,o)&&n.ref===l.ref)if(fa=!1,l.pendingProps=o=v,Up(n,m))(n.flags&131072)!==0&&(fa=!0);else return l.lanes=n.lanes,oi(n,l,m)}return wp(n,l,r,o,m)}function Ap(n,l,r){var o=l.pendingProps,m=o.children,v=n!==null?n.memoizedState:null;if(o.mode==="hidden"){if((l.flags&128)!==0){if(o=v!==null?v.baseLanes|r:r,n!==null){for(m=l.child=n.child,v=0;m!==null;)v=v|m.lanes|m.childLanes,m=m.sibling;l.childLanes=v&~o}else l.childLanes=0,l.child=null;return Qo(n,l,o,r)}if((r&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},n!==null&&qo(l,v!==null?v.cachePool:null),v!==null?ya(l,v):Yc(),ii(l);else return l.lanes=l.childLanes=536870912,Qo(n,l,v!==null?v.baseLanes|r:r,r)}else v!==null?(qo(l,v.cachePool),ya(l,v),ui(),l.memoizedState=null):(n!==null&&qo(l,null),Yc(),ui());return ga(n,l,m,r),l.child}function Qo(n,l,r,o){var m=ff();return m=m===null?null:{parent:ca._currentValue,pool:m},l.memoizedState={baseLanes:r,cachePool:m},n!==null&&qo(l,null),Yc(),ii(l),n!==null&&kc(n,l,o,!0),null}function zf(n,l){var r=l.ref;if(r===null)n!==null&&n.ref!==null&&(l.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(s(284));(n===null||n.ref!==r)&&(l.flags|=4194816)}}function wp(n,l,r,o,m){return Uu(l),r=up(n,l,r,o,void 0,m),o=op(),n!==null&&!fa?(Gc(n,l,m),oi(n,l,m)):(Vt&&o&&No(l),l.flags|=1,ga(n,l,r,m),l.child)}function pv(n,l,r,o,m,v){return Uu(l),l.updateQueue=null,r=Pm(l,o,r,m),Bu(n),o=op(),n!==null&&!fa?(Gc(n,l,v),oi(n,l,v)):(Vt&&o&&No(l),l.flags|=1,ga(n,l,r,v),l.child)}function Dp(n,l,r,o,m){if(Uu(l),l.stateNode===null){var v=Nc,_=r.contextType;typeof _=="object"&&_!==null&&(v=va(_)),v=new r(o,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=_p,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=o,v.state=l.memoizedState,v.refs={},ap(l),_=r.contextType,v.context=typeof _=="object"&&_!==null?va(_):Nc,v.state=l.memoizedState,_=r.getDerivedStateFromProps,typeof _=="function"&&(Yu(l,r,_,o),v.state=l.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(_=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),_!==v.state&&_p.enqueueReplaceState(v,v.state,null),Ji(l,o,v,m),Vc(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),o=!0}else if(n===null){v=l.stateNode;var z=l.memoizedProps,$=$u(r,z);v.props=$;var de=v.context,Re=r.contextType;_=Nc,typeof Re=="object"&&Re!==null&&(_=va(Re));var je=r.getDerivedStateFromProps;Re=typeof je=="function"||typeof v.getSnapshotBeforeUpdate=="function",z=l.pendingProps!==z,Re||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(z||de!==_)&&Xo(l,v,o,_),ti=!1;var ge=l.memoizedState;v.state=ge,Ji(l,o,v,m),Vc(),de=l.memoizedState,z||ge!==de||ti?(typeof je=="function"&&(Yu(l,r,je,o),de=l.memoizedState),($=ti||Qc(l,r,$,o,ge,de,_))?(Re||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(l.flags|=4194308)):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=o,l.memoizedState=de),v.props=o,v.state=de,v.context=_,o=$):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),o=!1)}else{v=l.stateNode,lp(n,l),_=l.memoizedProps,Re=$u(r,_),v.props=Re,je=l.pendingProps,ge=v.context,de=r.contextType,$=Nc,typeof de=="object"&&de!==null&&($=va(de)),z=r.getDerivedStateFromProps,(de=typeof z=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(_!==je||ge!==$)&&Xo(l,v,o,$),ti=!1,ge=l.memoizedState,v.state=ge,Ji(l,o,v,m),Vc();var Ee=l.memoizedState;_!==je||ge!==Ee||ti||n!==null&&n.dependencies!==null&&of(n.dependencies)?(typeof z=="function"&&(Yu(l,r,z,o),Ee=l.memoizedState),(Re=ti||Qc(l,r,Re,o,ge,Ee,$)||n!==null&&n.dependencies!==null&&of(n.dependencies))?(de||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(o,Ee,$),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(o,Ee,$)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||_===n.memoizedProps&&ge===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===n.memoizedProps&&ge===n.memoizedState||(l.flags|=1024),l.memoizedProps=o,l.memoizedState=Ee),v.props=o,v.state=Ee,v.context=$,o=Re):(typeof v.componentDidUpdate!="function"||_===n.memoizedProps&&ge===n.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||_===n.memoizedProps&&ge===n.memoizedState||(l.flags|=1024),o=!1)}return v=o,zf(n,l),o=(l.flags&128)!==0,v||o?(v=l.stateNode,r=o&&typeof r.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,n!==null&&o?(l.child=Go(l,n.child,null,m),l.child=Go(l,null,r,m)):ga(n,l,r,m),l.memoizedState=v.state,n=l.child):n=oi(n,l,m),n}function Mp(n,l,r,o){return Uc(),l.flags|=256,ga(n,l,r,o),l.child}var zp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hv(n){return{baseLanes:n,cachePool:Fd()}}function mv(n,l,r){return n=n!==null?n.childLanes&~r:0,l&&(n|=ar),n}function vv(n,l,r){var o=l.pendingProps,m=!1,v=(l.flags&128)!==0,_;if((_=v)||(_=n!==null&&n.memoizedState===null?!1:(rn.current&2)!==0),_&&(m=!0,l.flags&=-129),_=(l.flags&32)!==0,l.flags&=-33,n===null){if(Vt){if(m?Fi(l):ui(),Vt){var z=$t,$;if($=z){e:{for($=z,z=Il;$.nodeType!==8;){if(!z){z=null;break e}if($=Mr($.nextSibling),$===null){z=null;break e}}z=$}z!==null?(l.memoizedState={dehydrated:z,treeContext:Pi!==null?{id:Or,overflow:kn}:null,retryLane:536870912,hydrationErrors:null},$=sl(18,null,null,0),$.stateNode=z,$.return=l,l.child=$,Kn=l,$t=null,$=!0):$=!1}$||Qi(l)}if(z=l.memoizedState,z!==null&&(z=z.dehydrated,z!==null))return Jf(z)?l.lanes=32:l.lanes=536870912,null;wr(l)}return z=o.children,o=o.fallback,m?(ui(),m=l.mode,z=Rp({mode:"hidden",children:z},m),o=Zl(o,m,r,null),z.return=l,o.return=l,z.sibling=o,l.child=z,m=l.child,m.memoizedState=hv(r),m.childLanes=mv(n,_,r),l.memoizedState=zp,o):(Fi(l),Np(l,z))}if($=n.memoizedState,$!==null&&(z=$.dehydrated,z!==null)){if(v)l.flags&256?(Fi(l),l.flags&=-257,l=Gu(n,l,r)):l.memoizedState!==null?(ui(),l.child=n.child,l.flags|=128,l=null):(ui(),m=o.fallback,z=l.mode,o=Rp({mode:"visible",children:o.children},z),m=Zl(m,z,r,null),m.flags|=2,o.return=l,m.return=l,o.sibling=m,l.child=o,Go(l,n.child,null,r),o=l.child,o.memoizedState=hv(r),o.childLanes=mv(n,_,r),l.memoizedState=zp,l=m);else if(Fi(l),Jf(z)){if(_=z.nextSibling&&z.nextSibling.dataset,_)var de=_.dgst;_=de,o=Error(s(419)),o.stack="",o.digest=_,jc({value:o,source:null,stack:null}),l=Gu(n,l,r)}else if(fa||kc(n,l,r,!1),_=(r&n.childLanes)!==0,fa||_){if(_=fn,_!==null&&(o=r&-r,o=(o&42)!==0?1:jn(o),o=(o&(_.suspendedLanes|r))!==0?0:o,o!==0&&o!==$.retryLane))throw $.retryLane=o,Jr(n,o),Hl(_,n,o),Bn;z.data==="$?"||ec(),l=Gu(n,l,r)}else z.data==="$?"?(l.flags|=192,l.child=n.child,l=null):(n=$.treeContext,$t=Mr(z.nextSibling),Kn=l,Vt=!0,Jl=null,Il=!1,n!==null&&(Kl[fl++]=Or,Kl[fl++]=kn,Kl[fl++]=Pi,Or=n.id,kn=n.overflow,Pi=l),l=Np(l,o.children),l.flags|=4096);return l}return m?(ui(),m=o.fallback,z=l.mode,$=n.child,de=$.sibling,o=xr($,{mode:"hidden",children:o.children}),o.subtreeFlags=$.subtreeFlags&65011712,de!==null?m=xr(de,m):(m=Zl(m,z,r,null),m.flags|=2),m.return=l,o.return=l,o.sibling=m,l.child=o,o=m,m=l.child,z=n.child.memoizedState,z===null?z=hv(r):($=z.cachePool,$!==null?(de=ca._currentValue,$=$.parent!==de?{parent:de,pool:de}:$):$=Fd(),z={baseLanes:z.baseLanes|r,cachePool:$}),m.memoizedState=z,m.childLanes=mv(n,_,r),l.memoizedState=zp,o):(Fi(l),r=n.child,n=r.sibling,r=xr(r,{mode:"visible",children:o.children}),r.return=l,r.sibling=null,n!==null&&(_=l.deletions,_===null?(l.deletions=[n],l.flags|=16):_.push(n)),l.child=r,l.memoizedState=null,r)}function Np(n,l){return l=Rp({mode:"visible",children:l},n.mode),l.return=n,n.child=l}function Rp(n,l){return n=sl(22,n,null,l),n.lanes=0,n.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},n}function Gu(n,l,r){return Go(l,n.child,null,r),n=Np(l,l.pendingProps.children),n.flags|=2,l.memoizedState=null,n}function Nf(n,l,r){n.lanes|=l;var o=n.alternate;o!==null&&(o.lanes|=l),Zd(n.return,l,r)}function qp(n,l,r,o,m){var v=n.memoizedState;v===null?n.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:o,tail:r,tailMode:m}:(v.isBackwards=l,v.rendering=null,v.renderingStartTime=0,v.last=o,v.tail=r,v.tailMode=m)}function Hp(n,l,r){var o=l.pendingProps,m=o.revealOrder,v=o.tail;if(ga(n,l,o.children,r),o=rn.current,(o&2)!==0)o=o&1|2,l.flags|=128;else{if(n!==null&&(n.flags&128)!==0)e:for(n=l.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Nf(n,r,l);else if(n.tag===19)Nf(n,r,l);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}o&=1}switch(le(rn,o),m){case"forwards":for(r=l.child,m=null;r!==null;)n=r.alternate,n!==null&&Af(n)===null&&(m=r),r=r.sibling;r=m,r===null?(m=l.child,l.child=null):(m=r.sibling,r.sibling=null),qp(l,!1,m,r,v);break;case"backwards":for(r=null,m=l.child,l.child=null;m!==null;){if(n=m.alternate,n!==null&&Af(n)===null){l.child=m;break}n=m.sibling,m.sibling=r,r=m,m=n}qp(l,!0,r,null,v);break;case"together":qp(l,!1,null,null,void 0);break;default:l.memoizedState=null}return l.child}function oi(n,l,r){if(n!==null&&(l.dependencies=n.dependencies),au|=l.lanes,(r&l.childLanes)===0)if(n!==null){if(kc(n,l,r,!1),(r&l.childLanes)===0)return null}else return null;if(n!==null&&l.child!==n.child)throw Error(s(153));if(l.child!==null){for(n=l.child,r=xr(n,n.pendingProps),l.child=r,r.return=l;n.sibling!==null;)n=n.sibling,r=r.sibling=xr(n,n.pendingProps),r.return=l;r.sibling=null}return l.child}function Up(n,l){return(n.lanes&l)!==0?!0:(n=n.dependencies,!!(n!==null&&of(n)))}function v0(n,l,r){switch(l.tag){case 3:qe(l,l.stateNode.containerInfo),Ki(l,ca,n.memoizedState.cache),Uc();break;case 27:case 5:$e(l);break;case 4:qe(l,l.stateNode.containerInfo);break;case 10:Ki(l,l.type,l.memoizedProps.value);break;case 13:var o=l.memoizedState;if(o!==null)return o.dehydrated!==null?(Fi(l),l.flags|=128,null):(r&l.child.childLanes)!==0?vv(n,l,r):(Fi(l),n=oi(n,l,r),n!==null?n.sibling:null);Fi(l);break;case 19:var m=(n.flags&128)!==0;if(o=(r&l.childLanes)!==0,o||(kc(n,l,r,!1),o=(r&l.childLanes)!==0),m){if(o)return Hp(n,l,r);l.flags|=128}if(m=l.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),le(rn,rn.current),o)break;return null;case 22:case 23:return l.lanes=0,Ap(n,l,r);case 24:Ki(l,ca,n.memoizedState.cache)}return oi(n,l,r)}function y0(n,l,r){if(n!==null)if(n.memoizedProps!==l.pendingProps)fa=!0;else{if(!Up(n,r)&&(l.flags&128)===0)return fa=!1,v0(n,l,r);fa=(n.flags&131072)!==0}else fa=!1,Vt&&(l.flags&1048576)!==0&&Qd(l,qc,l.index);switch(l.lanes=0,l.tag){case 16:e:{n=l.pendingProps;var o=l.elementType,m=o._init;if(o=m(o._payload),l.type=o,typeof o=="function")af(o)?(n=$u(o,n),l.tag=1,l=Dp(null,l,o,n,r)):(l.tag=0,l=wp(null,l,o,n,r));else{if(o!=null){if(m=o.$$typeof,m===Q){l.tag=11,l=m0(null,l,o,n,r);break e}else if(m===ne){l.tag=14,l=eu(null,l,o,n,r);break e}}throw l=te(o)||o,Error(s(306,l,""))}}return l;case 0:return wp(n,l,l.type,l.pendingProps,r);case 1:return o=l.type,m=$u(o,l.pendingProps),Dp(n,l,o,m,r);case 3:e:{if(qe(l,l.stateNode.containerInfo),n===null)throw Error(s(387));o=l.pendingProps;var v=l.memoizedState;m=v.element,lp(n,l),Ji(l,o,null,r);var _=l.memoizedState;if(o=_.cache,Ki(l,ca,o),o!==v.cache&&km(l,[ca],r,!0),Vc(),o=_.element,v.isDehydrated)if(v={element:o,isDehydrated:!1,cache:_.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=Mp(n,l,o,r);break e}else if(o!==m){m=Ml(Error(s(424)),l),jc(m),l=Mp(n,l,o,r);break e}else{switch(n=l.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for($t=Mr(n.firstChild),Kn=l,Vt=!0,Jl=null,Il=!0,r=ri(l,null,o,r),l.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(Uc(),o===m){l=oi(n,l,r);break e}ga(n,l,o,r)}l=l.child}return l;case 26:return zf(n,l),n===null?(r=R0(l.type,null,l.pendingProps,null))?l.memoizedState=r:Vt||(r=l.type,n=l.pendingProps,o=rr(Oe.current).createElement(r),o[Tn]=l,o[Pn]=n,vt(o,r,n),mn(o),l.stateNode=o):l.memoizedState=R0(l.type,n.memoizedProps,l.pendingProps,n.memoizedState),null;case 27:return $e(l),n===null&&Vt&&(o=l.stateNode=tt(l.type,l.pendingProps,Oe.current),Kn=l,Il=!0,m=$t,Fu(l.type)?(eo=m,$t=Mr(o.firstChild)):$t=m),ga(n,l,l.pendingProps.children,r),zf(n,l),n===null&&(l.flags|=4194304),l.child;case 5:return n===null&&Vt&&((m=o=$t)&&(o=ps(o,l.type,l.pendingProps,Il),o!==null?(l.stateNode=o,Kn=l,$t=Mr(o.firstChild),Il=!1,m=!0):m=!1),m||Qi(l)),$e(l),m=l.type,v=l.pendingProps,_=n!==null?n.memoizedProps:null,o=v.children,yi(m,v)?o=null:_!==null&&yi(m,_)&&(l.flags|=32),l.memoizedState!==null&&(m=up(n,l,r0,null,null,r),El._currentValue=m),zf(n,l),ga(n,l,o,r),l.child;case 6:return n===null&&Vt&&((n=r=$t)&&(r=DE(r,l.pendingProps,Il),r!==null?(l.stateNode=r,Kn=l,$t=null,n=!0):n=!1),n||Qi(l)),null;case 13:return vv(n,l,r);case 4:return qe(l,l.stateNode.containerInfo),o=l.pendingProps,n===null?l.child=Go(l,null,o,r):ga(n,l,o,r),l.child;case 11:return m0(n,l,l.type,l.pendingProps,r);case 7:return ga(n,l,l.pendingProps,r),l.child;case 8:return ga(n,l,l.pendingProps.children,r),l.child;case 12:return ga(n,l,l.pendingProps.children,r),l.child;case 10:return o=l.pendingProps,Ki(l,l.type,o.value),ga(n,l,o.children,r),l.child;case 9:return m=l.type._context,o=l.pendingProps.children,Uu(l),m=va(m),o=o(m),l.flags|=1,ga(n,l,o,r),l.child;case 14:return eu(n,l,l.type,l.pendingProps,r);case 15:return Po(n,l,l.type,l.pendingProps,r);case 19:return Hp(n,l,r);case 31:return o=l.pendingProps,r=l.mode,o={mode:o.mode,children:o.children},n===null?(r=Rp(o,r),r.ref=l.ref,l.child=r,r.return=l,l=r):(r=xr(n.child,o),r.ref=l.ref,l.child=r,r.return=l,l=r),l;case 22:return Ap(n,l,r);case 24:return Uu(l),o=va(ca),n===null?(m=ff(),m===null&&(m=fn,v=Bc(),m.pooledCache=v,v.refCount++,v!==null&&(m.pooledCacheLanes|=r),m=v),l.memoizedState={parent:o,cache:m},ap(l),Ki(l,ca,m)):((n.lanes&r)!==0&&(lp(n,l),Ji(l,null,null,r),Vc()),m=n.memoizedState,v=l.memoizedState,m.parent!==o?(m={parent:o,cache:o},l.memoizedState=m,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=m),Ki(l,ca,o)):(o=v.cache,Ki(l,ca,o),o!==m.cache&&km(l,[ca],r,!0))),ga(n,l,l.pendingProps.children,r),l.child;case 29:throw l.pendingProps}throw Error(s(156,l.tag))}function ci(n){n.flags|=4}function Kc(n,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!Fv(l)){if(l=Rl.current,l!==null&&((Rt&4194048)===Rt?Ya!==null:(Rt&62914560)!==Rt&&(Rt&536870912)===0||l!==Ya))throw Ho=tp,ep;n.flags|=8192}}function Rf(n,l){l!==null&&(n.flags|=4),n.flags&16384&&(l=n.tag!==22?Ua():536870912,n.lanes|=l,es|=l)}function Jc(n,l){if(!Vt)switch(n.tailMode){case"hidden":l=n.tail;for(var r=null;l!==null;)l.alternate!==null&&(r=l),l=l.sibling;r===null?n.tail=null:r.sibling=null;break;case"collapsed":r=n.tail;for(var o=null;r!==null;)r.alternate!==null&&(o=r),r=r.sibling;o===null?l||n.tail===null?n.tail=null:n.tail.sibling=null:o.sibling=null}}function ht(n){var l=n.alternate!==null&&n.alternate.child===n.child,r=0,o=0;if(l)for(var m=n.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags&65011712,o|=m.flags&65011712,m.return=n,m=m.sibling;else for(m=n.child;m!==null;)r|=m.lanes|m.childLanes,o|=m.subtreeFlags,o|=m.flags,m.return=n,m=m.sibling;return n.subtreeFlags|=o,n.childLanes=r,l}function yv(n,l,r){var o=l.pendingProps;switch(Ir(l),l.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(l),null;case 1:return ht(l),null;case 3:return r=l.stateNode,o=null,n!==null&&(o=n.memoizedState.cache),l.memoizedState.cache!==o&&(l.flags|=2048),Wr(ca),Be(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(n===null||n.child===null)&&(Hc(l)?ci(l):n===null||n.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,jm())),ht(l),null;case 26:return r=l.memoizedState,n===null?(ci(l),r!==null?(ht(l),Kc(l,r)):(ht(l),l.flags&=-16777217)):r?r!==n.memoizedState?(ci(l),ht(l),Kc(l,r)):(ht(l),l.flags&=-16777217):(n.memoizedProps!==o&&ci(l),ht(l),l.flags&=-16777217),null;case 27:Fe(l),r=Oe.current;var m=l.type;if(n!==null&&l.stateNode!=null)n.memoizedProps!==o&&ci(l);else{if(!o){if(l.stateNode===null)throw Error(s(166));return ht(l),null}n=be.current,Hc(l)?rf(l):(n=tt(m,o,r),l.stateNode=n,ci(l))}return ht(l),null;case 5:if(Fe(l),r=l.type,n!==null&&l.stateNode!=null)n.memoizedProps!==o&&ci(l);else{if(!o){if(l.stateNode===null)throw Error(s(166));return ht(l),null}if(n=be.current,Hc(l))rf(l);else{switch(m=rr(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 o.is=="string"?m.createElement("select",{is:o.is}):m.createElement("select"),o.multiple?n.multiple=!0:o.size&&(n.size=o.size);break;default:n=typeof o.is=="string"?m.createElement(r,{is:o.is}):m.createElement(r)}}n[Tn]=l,n[Pn]=o;e:for(m=l.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===l)break e;for(;m.sibling===null;){if(m.return===null||m.return===l)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}l.stateNode=n;e:switch(vt(n,r,o),r){case"button":case"input":case"select":case"textarea":n=!!o.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ci(l)}}return ht(l),l.flags&=-16777217,null;case 6:if(n&&l.stateNode!=null)n.memoizedProps!==o&&ci(l);else{if(typeof o!="string"&&l.stateNode===null)throw Error(s(166));if(n=Oe.current,Hc(l)){if(n=l.stateNode,r=l.memoizedProps,o=null,m=Kn,m!==null)switch(m.tag){case 27:case 5:o=m.memoizedProps}n[Tn]=l,n=!!(n.nodeValue===r||o!==null&&o.suppressHydrationWarning===!0||Kv(n.nodeValue,r)),n||Qi(l)}else n=rr(n).createTextNode(o),n[Tn]=l,l.stateNode=n}return ht(l),null;case 13:if(o=l.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(m=Hc(l),o!==null&&o.dehydrated!==null){if(n===null){if(!m)throw Error(s(318));if(m=l.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(s(317));m[Tn]=l}else Uc(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;ht(l),m=!1}else m=jm(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=m),m=!0;if(!m)return l.flags&256?(wr(l),l):(wr(l),null)}if(wr(l),(l.flags&128)!==0)return l.lanes=r,l;if(r=o!==null,n=n!==null&&n.memoizedState!==null,r){o=l.child,m=null,o.alternate!==null&&o.alternate.memoizedState!==null&&o.alternate.memoizedState.cachePool!==null&&(m=o.alternate.memoizedState.cachePool.pool);var v=null;o.memoizedState!==null&&o.memoizedState.cachePool!==null&&(v=o.memoizedState.cachePool.pool),v!==m&&(o.flags|=2048)}return r!==n&&r&&(l.child.flags|=8192),Rf(l,l.updateQueue),ht(l),null;case 4:return Be(),n===null&&Qv(l.stateNode.containerInfo),ht(l),null;case 10:return Wr(l.type),ht(l),null;case 19:if(re(rn),m=l.memoizedState,m===null)return ht(l),null;if(o=(l.flags&128)!==0,v=m.rendering,v===null)if(o)Jc(m,!1);else{if($n!==0||n!==null&&(n.flags&128)!==0)for(n=l.child;n!==null;){if(v=Af(n),v!==null){for(l.flags|=128,Jc(m,!1),n=v.updateQueue,l.updateQueue=n,Rf(l,n),l.subtreeFlags=0,n=r,r=l.child;r!==null;)wt(r,n),r=r.sibling;return le(rn,rn.current&1|2),l.child}n=n.sibling}m.tail!==null&&pe()>Xp&&(l.flags|=128,o=!0,Jc(m,!1),l.lanes=4194304)}else{if(!o)if(n=Af(v),n!==null){if(l.flags|=128,o=!0,n=n.updateQueue,l.updateQueue=n,Rf(l,n),Jc(m,!0),m.tail===null&&m.tailMode==="hidden"&&!v.alternate&&!Vt)return ht(l),null}else 2*pe()-m.renderingStartTime>Xp&&r!==536870912&&(l.flags|=128,o=!0,Jc(m,!1),l.lanes=4194304);m.isBackwards?(v.sibling=l.child,l.child=v):(n=m.last,n!==null?n.sibling=v:l.child=v,m.last=v)}return m.tail!==null?(l=m.tail,m.rendering=l,m.tail=l.sibling,m.renderingStartTime=pe(),l.sibling=null,n=rn.current,le(rn,o?n&1|2:n&1),l):(ht(l),null);case 22:case 23:return wr(l),$c(),o=l.memoizedState!==null,n!==null?n.memoizedState!==null!==o&&(l.flags|=8192):o&&(l.flags|=8192),o?(r&536870912)!==0&&(l.flags&128)===0&&(ht(l),l.subtreeFlags&6&&(l.flags|=8192)):ht(l),r=l.updateQueue,r!==null&&Rf(l,r.retryQueue),r=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),o=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(o=l.memoizedState.cachePool.pool),o!==r&&(l.flags|=2048),n!==null&&re(ei),null;case 24:return r=null,n!==null&&(r=n.memoizedState.cache),l.memoizedState.cache!==r&&(l.flags|=2048),Wr(ca),ht(l),null;case 25:return null;case 30:return null}throw Error(s(156,l.tag))}function EE(n,l){switch(Ir(l),l.tag){case 1:return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 3:return Wr(ca),Be(),n=l.flags,(n&65536)!==0&&(n&128)===0?(l.flags=n&-65537|128,l):null;case 26:case 27:case 5:return Fe(l),null;case 13:if(wr(l),n=l.memoizedState,n!==null&&n.dehydrated!==null){if(l.alternate===null)throw Error(s(340));Uc()}return n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 19:return re(rn),null;case 4:return Be(),null;case 10:return Wr(l.type),null;case 22:case 23:return wr(l),$c(),n!==null&&re(ei),n=l.flags,n&65536?(l.flags=n&-65537|128,l):null;case 24:return Wr(ca),null;case 25:return null;default:return null}}function gv(n,l){switch(Ir(l),l.tag){case 3:Wr(ca),Be();break;case 26:case 27:case 5:Fe(l);break;case 4:Be();break;case 13:wr(l);break;case 19:re(rn);break;case 10:Wr(l.type);break;case 22:case 23:wr(l),$c(),n!==null&&re(ei);break;case 24:Wr(ca)}}function qf(n,l){try{var r=l.updateQueue,o=r!==null?r.lastEffect:null;if(o!==null){var m=o.next;r=m;do{if((r.tag&n)===n){o=void 0;var v=r.create,_=r.inst;o=v(),_.destroy=o}r=r.next}while(r!==m)}}catch(z){Wt(l,l.return,z)}}function Xu(n,l,r){try{var o=l.updateQueue,m=o!==null?o.lastEffect:null;if(m!==null){var v=m.next;o=v;do{if((o.tag&n)===n){var _=o.inst,z=_.destroy;if(z!==void 0){_.destroy=void 0,m=l;var $=r,de=z;try{de()}catch(Re){Wt(m,$,Re)}}}o=o.next}while(o!==v)}}catch(Re){Wt(l,l.return,Re)}}function jp(n){var l=n.updateQueue;if(l!==null){var r=n.stateNode;try{hf(l,r)}catch(o){Wt(n,n.return,o)}}}function bv(n,l,r){r.props=$u(n.type,n.memoizedProps),r.state=n.memoizedState;try{r.componentWillUnmount()}catch(o){Wt(n,l,o)}}function Ic(n,l){try{var r=n.ref;if(r!==null){switch(n.tag){case 26:case 27:case 5:var o=n.stateNode;break;case 30:o=n.stateNode;break;default:o=n.stateNode}typeof r=="function"?n.refCleanup=r(o):r.current=o}}catch(m){Wt(n,l,m)}}function Dr(n,l){var r=n.ref,o=n.refCleanup;if(r!==null)if(typeof o=="function")try{o()}catch(m){Wt(n,l,m)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(m){Wt(n,l,m)}else r.current=null}function Wc(n){var l=n.type,r=n.memoizedProps,o=n.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":r.autoFocus&&o.focus();break e;case"img":r.src?o.src=r.src:r.srcSet&&(o.srcset=r.srcSet)}}catch(m){Wt(n,n.return,m)}}function Sv(n,l,r){try{var o=n.stateNode;_E(o,n.type,r,l),o[Pn]=l}catch(m){Wt(n,n.return,m)}}function g0(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&Fu(n.type)||n.tag===4}function tr(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&&Fu(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 Zo(n,l,r){var o=n.tag;if(o===5||o===6)n=n.stateNode,l?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(n,l):(l=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,l.appendChild(n),r=r._reactRootContainer,r!=null||l.onclick!==null||(l.onclick=ah));else if(o!==4&&(o===27&&Fu(n.type)&&(r=n.stateNode,l=null),n=n.child,n!==null))for(Zo(n,l,r),n=n.sibling;n!==null;)Zo(n,l,r),n=n.sibling}function kp(n,l,r){var o=n.tag;if(o===5||o===6)n=n.stateNode,l?r.insertBefore(n,l):r.appendChild(n);else if(o!==4&&(o===27&&Fu(n.type)&&(r=n.stateNode),n=n.child,n!==null))for(kp(n,l,r),n=n.sibling;n!==null;)kp(n,l,r),n=n.sibling}function Lp(n){var l=n.stateNode,r=n.memoizedProps;try{for(var o=n.type,m=l.attributes;m.length;)l.removeAttributeNode(m[0]);vt(l,o,r),l[Tn]=n,l[Pn]=r}catch(v){Wt(n,n.return,v)}}var si=!1,Vn=!1,Bp=!1,Vp=typeof WeakSet=="function"?WeakSet:Set,da=null;function Ev(n,l){if(n=n.containerInfo,Qf=Ff,n=Mm(n),tf(n)){if("selectionStart"in n)var r={start:n.selectionStart,end:n.selectionEnd};else e:{r=(r=n.ownerDocument)&&r.defaultView||window;var o=r.getSelection&&r.getSelection();if(o&&o.rangeCount!==0){r=o.anchorNode;var m=o.anchorOffset,v=o.focusNode;o=o.focusOffset;try{r.nodeType,v.nodeType}catch{r=null;break e}var _=0,z=-1,$=-1,de=0,Re=0,je=n,ge=null;t:for(;;){for(var Ee;je!==r||m!==0&&je.nodeType!==3||(z=_+m),je!==v||o!==0&&je.nodeType!==3||($=_+o),je.nodeType===3&&(_+=je.nodeValue.length),(Ee=je.firstChild)!==null;)ge=je,je=Ee;for(;;){if(je===n)break t;if(ge===r&&++de===m&&(z=_),ge===v&&++Re===o&&($=_),(Ee=je.nextSibling)!==null)break;je=ge,ge=je.parentNode}je=Ee}r=z===-1||$===-1?null:{start:z,end:$}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zf={focusedElem:n,selectionRange:r},Ff=!1,da=l;da!==null;)if(l=da,n=l.child,(l.subtreeFlags&1024)!==0&&n!==null)n.return=l,da=n;else for(;da!==null;){switch(l=da,v=l.alternate,n=l.flags,l.tag){case 0:break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,r=l,m=v.memoizedProps,v=v.memoizedState,o=r.stateNode;try{var ot=$u(r.type,m,r.elementType===r.type);n=o.getSnapshotBeforeUpdate(ot,v),o.__reactInternalSnapshotBeforeUpdate=n}catch(ct){Wt(r,r.return,ct)}}break;case 3:if((n&1024)!==0){if(n=l.stateNode.containerInfo,r=n.nodeType,r===9)Kf(n);else if(r===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":Kf(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=l.sibling,n!==null){n.return=l.return,da=n;break}da=l.return}}function Tv(n,l,r){var o=r.flags;switch(r.tag){case 0:case 11:case 15:di(n,r),o&4&&qf(5,r);break;case 1:if(di(n,r),o&4)if(n=r.stateNode,l===null)try{n.componentDidMount()}catch(_){Wt(r,r.return,_)}else{var m=$u(r.type,l.memoizedProps);l=l.memoizedState;try{n.componentDidUpdate(m,l,n.__reactInternalSnapshotBeforeUpdate)}catch(_){Wt(r,r.return,_)}}o&64&&jp(r),o&512&&Ic(r,r.return);break;case 3:if(di(n,r),o&64&&(n=r.updateQueue,n!==null)){if(l=null,r.child!==null)switch(r.child.tag){case 27:case 5:l=r.child.stateNode;break;case 1:l=r.child.stateNode}try{hf(n,l)}catch(_){Wt(r,r.return,_)}}break;case 27:l===null&&o&4&&Lp(r);case 26:case 5:di(n,r),l===null&&o&4&&Wc(r),o&512&&Ic(r,r.return);break;case 12:di(n,r);break;case 13:di(n,r),o&4&&Yp(n,r),o&64&&(n=r.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(r=TE.bind(null,r),ME(n,r))));break;case 22:if(o=r.memoizedState!==null||si,!o){l=l!==null&&l.memoizedState!==null||Vn,m=si;var v=Vn;si=o,(Vn=l)&&!v?Pu(n,r,(r.subtreeFlags&8772)!==0):di(n,r),si=m,Vn=v}break;case 30:break;default:di(n,r)}}function xv(n){var l=n.alternate;l!==null&&(n.alternate=null,xv(l)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(l=n.stateNode,l!==null&&ia(l)),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,_a=!1;function fi(n,l,r){for(r=r.child;r!==null;)zt(n,l,r),r=r.sibling}function zt(n,l,r){if(Xe&&typeof Xe.onCommitFiberUnmount=="function")try{Xe.onCommitFiberUnmount(it,r)}catch{}switch(r.tag){case 26:Vn||Dr(r,l),fi(n,l,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:Vn||Dr(r,l);var o=On,m=_a;Fu(r.type)&&(On=r.stateNode,_a=!1),fi(n,l,r),bl(r.stateNode),On=o,_a=m;break;case 5:Vn||Dr(r,l);case 6:if(o=On,m=_a,On=null,fi(n,l,r),On=o,_a=m,On!==null)if(_a)try{(On.nodeType===9?On.body:On.nodeName==="HTML"?On.ownerDocument.body:On).removeChild(r.stateNode)}catch(v){Wt(r,l,v)}else try{On.removeChild(r.stateNode)}catch(v){Wt(r,l,v)}break;case 18:On!==null&&(_a?(n=On,rh(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,r.stateNode),Si(n)):rh(On,r.stateNode));break;case 4:o=On,m=_a,On=r.stateNode.containerInfo,_a=!0,fi(n,l,r),On=o,_a=m;break;case 0:case 11:case 14:case 15:Vn||Xu(2,r,l),Vn||Xu(4,r,l),fi(n,l,r);break;case 1:Vn||(Dr(r,l),o=r.stateNode,typeof o.componentWillUnmount=="function"&&bv(r,l,o)),fi(n,l,r);break;case 21:fi(n,l,r);break;case 22:Vn=(o=Vn)||r.memoizedState!==null,fi(n,l,r),Vn=o;break;default:fi(n,l,r)}}function Yp(n,l){if(l.memoizedState===null&&(n=l.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Si(n)}catch(r){Wt(l,l.return,r)}}function Ov(n){switch(n.tag){case 13:case 19:var l=n.stateNode;return l===null&&(l=n.stateNode=new Vp),l;case 22:return n=n.stateNode,l=n._retryCache,l===null&&(l=n._retryCache=new Vp),l;default:throw Error(s(435,n.tag))}}function $p(n,l){var r=Ov(n);l.forEach(function(o){var m=xE.bind(null,n,o);r.has(o)||(r.add(o),o.then(m,m))})}function Wa(n,l){var r=l.deletions;if(r!==null)for(var o=0;o<r.length;o++){var m=r[o],v=n,_=l,z=_;e:for(;z!==null;){switch(z.tag){case 27:if(Fu(z.type)){On=z.stateNode,_a=!1;break e}break;case 5:On=z.stateNode,_a=!1;break e;case 3:case 4:On=z.stateNode.containerInfo,_a=!0;break e}z=z.return}if(On===null)throw Error(s(160));zt(v,_,m),On=null,_a=!1,v=m.alternate,v!==null&&(v.return=null),m.return=null}if(l.subtreeFlags&13878)for(l=l.child;l!==null;)Hf(l,n),l=l.sibling}var Fa=null;function Hf(n,l){var r=n.alternate,o=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:Wa(l,n),ba(n),o&4&&(Xu(3,n,n.return),qf(3,n),Xu(5,n,n.return));break;case 1:Wa(l,n),ba(n),o&512&&(Vn||r===null||Dr(r,r.return)),o&64&&si&&(n=n.updateQueue,n!==null&&(o=n.callbacks,o!==null&&(r=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=r===null?o:r.concat(o))));break;case 26:var m=Fa;if(Wa(l,n),ba(n),o&512&&(Vn||r===null||Dr(r,r.return)),o&4){var v=r!==null?r.memoizedState:null;if(o=n.memoizedState,r===null)if(o===null)if(n.stateNode===null){e:{o=n.type,r=n.memoizedProps,m=m.ownerDocument||m;t:switch(o){case"title":v=m.getElementsByTagName("title")[0],(!v||v[Je]||v[Tn]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=m.createElement(o),m.head.insertBefore(v,m.querySelector("head > title"))),vt(v,o,r),v[Tn]=n,mn(v),o=v;break e;case"link":var _=Iv("link","href",m).get(o+(r.href||""));if(_){for(var z=0;z<_.length;z++)if(v=_[z],v.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&v.getAttribute("rel")===(r.rel==null?null:r.rel)&&v.getAttribute("title")===(r.title==null?null:r.title)&&v.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){_.splice(z,1);break t}}v=m.createElement(o),vt(v,o,r),m.head.appendChild(v);break;case"meta":if(_=Iv("meta","content",m).get(o+(r.content||""))){for(z=0;z<_.length;z++)if(v=_[z],v.getAttribute("content")===(r.content==null?null:""+r.content)&&v.getAttribute("name")===(r.name==null?null:r.name)&&v.getAttribute("property")===(r.property==null?null:r.property)&&v.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&v.getAttribute("charset")===(r.charSet==null?null:r.charSet)){_.splice(z,1);break t}}v=m.createElement(o),vt(v,o,r),m.head.appendChild(v);break;default:throw Error(s(468,o))}v[Tn]=n,mn(v),o=v}n.stateNode=o}else Wv(m,n.type,n.stateNode);else n.stateNode=H0(m,o,n.memoizedProps);else v!==o?(v===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):v.count--,o===null?Wv(m,n.type,n.stateNode):H0(m,o,n.memoizedProps)):o===null&&n.stateNode!==null&&Sv(n,n.memoizedProps,r.memoizedProps)}break;case 27:Wa(l,n),ba(n),o&512&&(Vn||r===null||Dr(r,r.return)),r!==null&&o&4&&Sv(n,n.memoizedProps,r.memoizedProps);break;case 5:if(Wa(l,n),ba(n),o&512&&(Vn||r===null||Dr(r,r.return)),n.flags&32){m=n.stateNode;try{Bi(m,"")}catch(Ee){Wt(n,n.return,Ee)}}o&4&&n.stateNode!=null&&(m=n.memoizedProps,Sv(n,m,r!==null?r.memoizedProps:m)),o&1024&&(Bp=!0);break;case 6:if(Wa(l,n),ba(n),o&4){if(n.stateNode===null)throw Error(s(162));o=n.memoizedProps,r=n.stateNode;try{r.nodeValue=o}catch(Ee){Wt(n,n.return,Ee)}}break;case 3:if(ao=null,m=Fa,Fa=ih(l.containerInfo),Wa(l,n),Fa=m,ba(n),o&4&&r!==null&&r.memoizedState.isDehydrated)try{Si(l.containerInfo)}catch(Ee){Wt(n,n.return,Ee)}Bp&&(Bp=!1,Cv(n));break;case 4:o=Fa,Fa=ih(n.stateNode.containerInfo),Wa(l,n),ba(n),Fa=o;break;case 12:Wa(l,n),ba(n);break;case 13:Wa(l,n),ba(n),n.child.flags&8192&&n.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(Rv=pe()),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,$p(n,o)));break;case 22:m=n.memoizedState!==null;var $=r!==null&&r.memoizedState!==null,de=si,Re=Vn;if(si=de||m,Vn=Re||$,Wa(l,n),Vn=Re,si=de,ba(n),o&8192)e:for(l=n.stateNode,l._visibility=m?l._visibility&-2:l._visibility|1,m&&(r===null||$||si||Vn||Cn(n)),r=null,l=n;;){if(l.tag===5||l.tag===26){if(r===null){$=r=l;try{if(v=$.stateNode,m)_=v.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{z=$.stateNode;var je=$.memoizedProps.style,ge=je!=null&&je.hasOwnProperty("display")?je.display:null;z.style.display=ge==null||typeof ge=="boolean"?"":(""+ge).trim()}}catch(Ee){Wt($,$.return,Ee)}}}else if(l.tag===6){if(r===null){$=l;try{$.stateNode.nodeValue=m?"":$.memoizedProps}catch(Ee){Wt($,$.return,Ee)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===n)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;r===l&&(r=null),l=l.return}r===l&&(r=null),l.sibling.return=l.return,l=l.sibling}o&4&&(o=n.updateQueue,o!==null&&(r=o.retryQueue,r!==null&&(o.retryQueue=null,$p(n,r))));break;case 19:Wa(l,n),ba(n),o&4&&(o=n.updateQueue,o!==null&&(n.updateQueue=null,$p(n,o)));break;case 30:break;case 21:break;default:Wa(l,n),ba(n)}}function ba(n){var l=n.flags;if(l&2){try{for(var r,o=n.return;o!==null;){if(g0(o)){r=o;break}o=o.return}if(r==null)throw Error(s(160));switch(r.tag){case 27:var m=r.stateNode,v=tr(n);kp(n,v,m);break;case 5:var _=r.stateNode;r.flags&32&&(Bi(_,""),r.flags&=-33);var z=tr(n);kp(n,z,_);break;case 3:case 4:var $=r.stateNode.containerInfo,de=tr(n);Zo(n,de,$);break;default:throw Error(s(161))}}catch(Re){Wt(n,n.return,Re)}n.flags&=-3}l&4096&&(n.flags&=-4097)}function Cv(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var l=n;Cv(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),n=n.sibling}}function di(n,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)Tv(n,l.alternate,l),l=l.sibling}function Cn(n){for(n=n.child;n!==null;){var l=n;switch(l.tag){case 0:case 11:case 14:case 15:Xu(4,l,l.return),Cn(l);break;case 1:Dr(l,l.return);var r=l.stateNode;typeof r.componentWillUnmount=="function"&&bv(l,l.return,r),Cn(l);break;case 27:bl(l.stateNode);case 26:case 5:Dr(l,l.return),Cn(l);break;case 22:l.memoizedState===null&&Cn(l);break;case 30:Cn(l);break;default:Cn(l)}n=n.sibling}}function Pu(n,l,r){for(r=r&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var o=l.alternate,m=n,v=l,_=v.flags;switch(v.tag){case 0:case 11:case 15:Pu(m,v,r),qf(4,v);break;case 1:if(Pu(m,v,r),o=v,m=o.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(de){Wt(o,o.return,de)}if(o=v,m=o.updateQueue,m!==null){var z=o.stateNode;try{var $=m.shared.hiddenCallbacks;if($!==null)for(m.shared.hiddenCallbacks=null,m=0;m<$.length;m++)rp($[m],z)}catch(de){Wt(o,o.return,de)}}r&&_&64&&jp(v),Ic(v,v.return);break;case 27:Lp(v);case 26:case 5:Pu(m,v,r),r&&o===null&&_&4&&Wc(v),Ic(v,v.return);break;case 12:Pu(m,v,r);break;case 13:Pu(m,v,r),r&&_&4&&Yp(m,v);break;case 22:v.memoizedState===null&&Pu(m,v,r),Ic(v,v.return);break;case 30:break;default:Pu(m,v,r)}l=l.sibling}}function nr(n,l){var r=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),n=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(n=l.memoizedState.cachePool.pool),n!==r&&(n!=null&&n.refCount++,r!=null&&Fr(r))}function Gp(n,l){n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Fr(n))}function Aa(n,l,r,o){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)_v(n,l,r,o),l=l.sibling}function _v(n,l,r,o){var m=l.flags;switch(l.tag){case 0:case 11:case 15:Aa(n,l,r,o),m&2048&&qf(9,l);break;case 1:Aa(n,l,r,o);break;case 3:Aa(n,l,r,o),m&2048&&(n=null,l.alternate!==null&&(n=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==n&&(l.refCount++,n!=null&&Fr(n)));break;case 12:if(m&2048){Aa(n,l,r,o),n=l.stateNode;try{var v=l.memoizedProps,_=v.id,z=v.onPostCommit;typeof z=="function"&&z(_,l.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch($){Wt(l,l.return,$)}}else Aa(n,l,r,o);break;case 13:Aa(n,l,r,o);break;case 23:break;case 22:v=l.stateNode,_=l.alternate,l.memoizedState!==null?v._visibility&2?Aa(n,l,r,o):Gt(n,l):v._visibility&2?Aa(n,l,r,o):(v._visibility|=2,tu(n,l,r,o,(l.subtreeFlags&10256)!==0)),m&2048&&nr(_,l);break;case 24:Aa(n,l,r,o),m&2048&&Gp(l.alternate,l);break;default:Aa(n,l,r,o)}}function tu(n,l,r,o,m){for(m=m&&(l.subtreeFlags&10256)!==0,l=l.child;l!==null;){var v=n,_=l,z=r,$=o,de=_.flags;switch(_.tag){case 0:case 11:case 15:tu(v,_,z,$,m),qf(8,_);break;case 23:break;case 22:var Re=_.stateNode;_.memoizedState!==null?Re._visibility&2?tu(v,_,z,$,m):Gt(v,_):(Re._visibility|=2,tu(v,_,z,$,m)),m&&de&2048&&nr(_.alternate,_);break;case 24:tu(v,_,z,$,m),m&&de&2048&&Gp(_.alternate,_);break;default:tu(v,_,z,$,m)}l=l.sibling}}function Gt(n,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var r=n,o=l,m=o.flags;switch(o.tag){case 22:Gt(r,o),m&2048&&nr(o.alternate,o);break;case 24:Gt(r,o),m&2048&&Gp(o.alternate,o);break;default:Gt(r,o)}l=l.sibling}}var Ko=8192;function Yn(n){if(n.subtreeFlags&Ko)for(n=n.child;n!==null;)b0(n),n=n.sibling}function b0(n){switch(n.tag){case 26:Yn(n),n.flags&Ko&&n.memoizedState!==null&&k0(Fa,n.memoizedState,n.memoizedProps);break;case 5:Yn(n);break;case 3:case 4:var l=Fa;Fa=ih(n.stateNode.containerInfo),Yn(n),Fa=l;break;case 22:n.memoizedState===null&&(l=n.alternate,l!==null&&l.memoizedState!==null?(l=Ko,Ko=16777216,Yn(n),Ko=l):Yn(n));break;default:Yn(n)}}function Av(n){var l=n.alternate;if(l!==null&&(n=l.child,n!==null)){l.child=null;do l=n.sibling,n.sibling=null,n=l;while(n!==null)}}function Jo(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var r=0;r<l.length;r++){var o=l[r];da=o,Dv(o,n)}Av(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)wv(n),n=n.sibling}function wv(n){switch(n.tag){case 0:case 11:case 15:Jo(n),n.flags&2048&&Xu(9,n,n.return);break;case 3:Jo(n);break;case 12:Jo(n);break;case 22:var l=n.stateNode;n.memoizedState!==null&&l._visibility&2&&(n.return===null||n.return.tag!==13)?(l._visibility&=-3,el(n)):Jo(n);break;default:Jo(n)}}function el(n){var l=n.deletions;if((n.flags&16)!==0){if(l!==null)for(var r=0;r<l.length;r++){var o=l[r];da=o,Dv(o,n)}Av(n)}for(n=n.child;n!==null;){switch(l=n,l.tag){case 0:case 11:case 15:Xu(8,l,l.return),el(l);break;case 22:r=l.stateNode,r._visibility&2&&(r._visibility&=-3,el(l));break;default:el(l)}n=n.sibling}}function Dv(n,l){for(;da!==null;){var r=da;switch(r.tag){case 0:case 11:case 15:Xu(8,r,l);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var o=r.memoizedState.cachePool.pool;o!=null&&o.refCount++}break;case 24:Fr(r.memoizedState.cache)}if(o=r.child,o!==null)o.return=r,da=o;else e:for(r=n;da!==null;){o=da;var m=o.sibling,v=o.return;if(xv(o),o===r){da=null;break e}if(m!==null){m.return=v,da=m;break e}da=v}}}var Mv={getCacheForType:function(n){var l=va(ca),r=l.data.get(n);return r===void 0&&(r=n(),l.data.set(n,r)),r}},S0=typeof WeakMap=="function"?WeakMap:Map,Kt=0,fn=null,Nt=null,Rt=0,It=0,vl=null,pi=!1,Fc=!1,zv=!1,nu=0,$n=0,au=0,Io=0,hi=0,ar=0,es=0,ts=null,yl=null,Nv=!1,Rv=0,Xp=1/0,ns=null,Qu=null,wa=0,mi=null,as=null,Da=0,Pp=0,Qp=null,qv=null,ls=0,Hv=null;function ql(){if((Kt&2)!==0&&Rt!==0)return Rt&-Rt;if(D.T!==null){var n=Wl;return n!==0?n:tc()}return yo()}function Uv(){ar===0&&(ar=(Rt&536870912)===0||Vt?dn():536870912);var n=Rl.current;return n!==null&&(n.flags|=32),ar}function Hl(n,l,r){(n===fn&&(It===2||It===9)||n.cancelPendingCommit!==null)&&(vi(n,0),lu(n,Rt,ar,!1)),ja(n,r),((Kt&2)===0||n!==fn)&&(n===fn&&((Kt&2)===0&&(Io|=r),$n===4&&lu(n,Rt,ar,!1)),gl(n))}function rs(n,l,r){if((Kt&6)!==0)throw Error(s(327));var o=!r&&(l&124)===0&&(l&n.expiredLanes)===0||Un(n,l),m=o?kv(n,l):Zp(n,l,!0),v=o;do{if(m===0){Fc&&!o&&lu(n,l,0,!1);break}else{if(r=n.current.alternate,v&&!E0(r)){m=Zp(n,l,!1),v=!1;continue}if(m===2){if(v=l,n.errorRecoveryDisabledLanes&v)var _=0;else _=n.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){l=_;e:{var z=n;m=ts;var $=z.current.memoizedState.isDehydrated;if($&&(vi(z,_).flags|=256),_=Zp(z,_,!1),_!==2){if(zv&&!$){z.errorRecoveryDisabledLanes|=v,Io|=v,m=4;break e}v=yl,yl=m,v!==null&&(yl===null?yl=v:yl.push.apply(yl,v))}m=_}if(v=!1,m!==2)continue}}if(m===1){vi(n,0),lu(n,l,0,!0);break}e:{switch(o=n,v=m,v){case 0:case 1:throw Error(s(345));case 4:if((l&4194048)!==l)break;case 6:lu(o,l,ar,!pi);break e;case 2:yl=null;break;case 3:case 5:break;default:throw Error(s(329))}if((l&62914560)===l&&(m=Rv+300-pe(),10<m)){if(lu(o,l,ar,!pi),aa(o,0,!0)!==0)break e;o.timeoutHandle=lh(Uf.bind(null,o,r,yl,ns,Nv,l,ar,Io,es,pi,v,2,-0,0),m);break e}Uf(o,r,yl,ns,Nv,l,ar,Io,es,pi,v,0,-0,0)}}break}while(!0);gl(n)}function Uf(n,l,r,o,m,v,_,z,$,de,Re,je,ge,Ee){if(n.timeoutHandle=-1,je=l.subtreeFlags,(je&8192||(je&16785408)===16785408)&&(ys={stylesheets:null,count:0,unsuspend:j0},b0(l),je=ey(),je!==null)){n.cancelPendingCommit=je(O0.bind(null,n,l,v,r,o,m,_,z,$,Re,1,ge,Ee)),lu(n,v,_,!de);return}O0(n,l,v,r,o,m,_,z,$)}function E0(n){for(var l=n;;){var r=l.tag;if((r===0||r===11||r===15)&&l.flags&16384&&(r=l.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var o=0;o<r.length;o++){var m=r[o],v=m.getSnapshot;m=m.value;try{if(!Ca(v(),m))return!1}catch{return!1}}if(r=l.child,l.subtreeFlags&16384&&r!==null)r.return=l,l=r;else{if(l===n)break;for(;l.sibling===null;){if(l.return===null||l.return===n)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function lu(n,l,r,o){l&=~hi,l&=~Io,n.suspendedLanes|=l,n.pingedLanes&=~l,o&&(n.warmLanes|=l),o=n.expirationTimes;for(var m=l;0<m;){var v=31-pt(m),_=1<<v;o[v]=-1,m&=~_}r!==0&&la(n,r,l)}function Wo(){return(Kt&6)===0?(Bf(0),!1):!0}function Zu(){if(Nt!==null){if(It===0)var n=Nt.return;else n=Nt,Cr=Zi=null,cp(n),Yo=null,Pc=0,n=Nt;for(;n!==null;)gv(n.alternate,n),n=n.return;Nt=null}}function vi(n,l){var r=n.timeoutHandle;r!==-1&&(n.timeoutHandle=-1,AE(r)),r=n.cancelPendingCommit,r!==null&&(n.cancelPendingCommit=null,r()),Zu(),fn=n,Nt=r=xr(n.current,null),Rt=l,It=0,vl=null,pi=!1,Fc=Un(n,l),zv=!1,es=ar=hi=Io=au=$n=0,yl=ts=null,Nv=!1,(l&8)!==0&&(l|=l&32);var o=n.entangledLanes;if(o!==0)for(n=n.entanglements,o&=l;0<o;){var m=31-pt(o),v=1<<m;l|=n[m],o&=~v}return nu=l,Tr(),r}function jv(n,l){Tt=null,D.H=Op,l===ku||l===df?(l=Vm(),It=3):l===ep?(l=Vm(),It=4):It=l===Bn?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,vl=l,Nt===null&&($n=1,Mf(n,Ml(l,n.current)))}function T0(){var n=D.H;return D.H=Op,n===null?Op:n}function Fo(){var n=D.A;return D.A=Mv,n}function ec(){$n=4,pi||(Rt&4194048)!==Rt&&Rl.current!==null||(Fc=!0),(au&134217727)===0&&(Io&134217727)===0||fn===null||lu(fn,Rt,ar,!1)}function Zp(n,l,r){var o=Kt;Kt|=2;var m=T0(),v=Fo();(fn!==n||Rt!==l)&&(ns=null,vi(n,l)),l=!1;var _=$n;e:do try{if(It!==0&&Nt!==null){var z=Nt,$=vl;switch(It){case 8:Zu(),_=6;break e;case 3:case 2:case 9:case 6:Rl.current===null&&(l=!0);var de=It;if(It=0,vl=null,is(n,z,$,de),r&&Fc){_=0;break e}break;default:de=It,It=0,vl=null,is(n,z,$,de)}}Kp(),_=$n;break}catch(Re){jv(n,Re)}while(!0);return l&&n.shellSuspendCounter++,Cr=Zi=null,Kt=o,D.H=m,D.A=v,Nt===null&&(fn=null,Rt=0,Tr()),_}function Kp(){for(;Nt!==null;)Bv(Nt)}function kv(n,l){var r=Kt;Kt|=2;var o=T0(),m=Fo();fn!==n||Rt!==l?(ns=null,Xp=pe()+500,vi(n,l)):Fc=Un(n,l);e:do try{if(It!==0&&Nt!==null){l=Nt;var v=vl;t:switch(It){case 1:It=0,vl=null,is(n,l,v,1);break;case 2:case 9:if(np(v)){It=0,vl=null,Vv(l);break}l=function(){It!==2&&It!==9||fn!==n||(It=7),gl(n)},v.then(l,l);break e;case 3:It=7;break e;case 4:It=5;break e;case 7:np(v)?(It=0,vl=null,Vv(l)):(It=0,vl=null,is(n,l,v,7));break;case 5:var _=null;switch(Nt.tag){case 26:_=Nt.memoizedState;case 5:case 27:var z=Nt;if(!_||Fv(_)){It=0,vl=null;var $=z.sibling;if($!==null)Nt=$;else{var de=z.return;de!==null?(Nt=de,jf(de)):Nt=null}break t}}It=0,vl=null,is(n,l,v,5);break;case 6:It=0,vl=null,is(n,l,v,6);break;case 8:Zu(),$n=6;break e;default:throw Error(s(462))}}Lv();break}catch(Re){jv(n,Re)}while(!0);return Cr=Zi=null,D.H=o,D.A=m,Kt=r,Nt!==null?0:(fn=null,Rt=0,Tr(),$n)}function Lv(){for(;Nt!==null&&!se();)Bv(Nt)}function Bv(n){var l=y0(n.alternate,n,nu);n.memoizedProps=n.pendingProps,l===null?jf(n):Nt=l}function Vv(n){var l=n,r=l.alternate;switch(l.tag){case 15:case 0:l=pv(r,l,l.pendingProps,l.type,void 0,Rt);break;case 11:l=pv(r,l,l.pendingProps,l.type.render,l.ref,Rt);break;case 5:cp(l);default:gv(r,l),l=Nt=wt(l,nu),l=y0(r,l,nu)}n.memoizedProps=n.pendingProps,l===null?jf(n):Nt=l}function is(n,l,r,o){Cr=Zi=null,cp(l),Yo=null,Pc=0;var m=l.return;try{if(h0(n,m,l,r,Rt)){$n=1,Mf(n,Ml(r,n.current)),Nt=null;return}}catch(v){if(m!==null)throw Nt=m,v;$n=1,Mf(n,Ml(r,n.current)),Nt=null;return}l.flags&32768?(Vt||o===1?n=!0:Fc||(Rt&536870912)!==0?n=!1:(pi=n=!0,(o===2||o===9||o===3||o===6)&&(o=Rl.current,o!==null&&o.tag===13&&(o.flags|=16384))),x0(l,n)):jf(l)}function jf(n){var l=n;do{if((l.flags&32768)!==0){x0(l,pi);return}n=l.return;var r=yv(l.alternate,l,nu);if(r!==null){Nt=r;return}if(l=l.sibling,l!==null){Nt=l;return}Nt=l=n}while(l!==null);$n===0&&($n=5)}function x0(n,l){do{var r=EE(n.alternate,n);if(r!==null){r.flags&=32767,Nt=r;return}if(r=n.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!l&&(n=n.sibling,n!==null)){Nt=n;return}Nt=n=r}while(n!==null);$n=6,Nt=null}function O0(n,l,r,o,m,v,_,z,$){n.cancelPendingCommit=null;do Ip();while(wa!==0);if((Kt&6)!==0)throw Error(s(327));if(l!==null){if(l===n.current)throw Error(s(177));if(v=l.lanes|l.childLanes,v|=Kr,pn(n,r,v,_,z,$),n===fn&&(Nt=fn=null,Rt=0),as=l,mi=n,Da=r,Pp=v,Qp=m,qv=o,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,OE(Pe,function(){return Yv(),null})):(n.callbackNode=null,n.callbackPriority=0),o=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||o){o=D.T,D.T=null,m=k.p,k.p=2,_=Kt,Kt|=4;try{Ev(n,l,r)}finally{Kt=_,k.p=m,D.T=o}}wa=1,C0(),kf(),Jp()}}function C0(){if(wa===1){wa=0;var n=mi,l=as,r=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||r){r=D.T,D.T=null;var o=k.p;k.p=2;var m=Kt;Kt|=4;try{Hf(l,n);var v=Zf,_=Mm(n.containerInfo),z=v.focusedElem,$=v.selectionRange;if(_!==z&&z&&z.ownerDocument&&ef(z.ownerDocument.documentElement,z)){if($!==null&&tf(z)){var de=$.start,Re=$.end;if(Re===void 0&&(Re=de),"selectionStart"in z)z.selectionStart=de,z.selectionEnd=Math.min(Re,z.value.length);else{var je=z.ownerDocument||document,ge=je&&je.defaultView||window;if(ge.getSelection){var Ee=ge.getSelection(),ot=z.textContent.length,ct=Math.min($.start,ot),Xt=$.end===void 0?ct:Math.min($.end,ot);!Ee.extend&&ct>Xt&&(_=Xt,Xt=ct,ct=_);var oe=gn(z,ct),ee=gn(z,Xt);if(oe&&ee&&(Ee.rangeCount!==1||Ee.anchorNode!==oe.node||Ee.anchorOffset!==oe.offset||Ee.focusNode!==ee.node||Ee.focusOffset!==ee.offset)){var fe=je.createRange();fe.setStart(oe.node,oe.offset),Ee.removeAllRanges(),ct>Xt?(Ee.addRange(fe),Ee.extend(ee.node,ee.offset)):(fe.setEnd(ee.node,ee.offset),Ee.addRange(fe))}}}}for(je=[],Ee=z;Ee=Ee.parentNode;)Ee.nodeType===1&&je.push({element:Ee,left:Ee.scrollLeft,top:Ee.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<je.length;z++){var He=je[z];He.element.scrollLeft=He.left,He.element.scrollTop=He.top}}Ff=!!Qf,Zf=Qf=null}finally{Kt=m,k.p=o,D.T=r}}n.current=l,wa=2}}function kf(){if(wa===2){wa=0;var n=mi,l=as,r=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||r){r=D.T,D.T=null;var o=k.p;k.p=2;var m=Kt;Kt|=4;try{Tv(n,l.alternate,l)}finally{Kt=m,k.p=o,D.T=r}}wa=3}}function Jp(){if(wa===4||wa===3){wa=0,Ue();var n=mi,l=as,r=Da,o=qv;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?wa=5:(wa=0,as=mi=null,_0(n,n.pendingLanes));var m=n.pendingLanes;if(m===0&&(Qu=null),fr(r),l=l.stateNode,Xe&&typeof Xe.onCommitFiberRoot=="function")try{Xe.onCommitFiberRoot(it,l,void 0,(l.current.flags&128)===128)}catch{}if(o!==null){l=D.T,m=k.p,k.p=2,D.T=null;try{for(var v=n.onRecoverableError,_=0;_<o.length;_++){var z=o[_];v(z.value,{componentStack:z.stack})}}finally{D.T=l,k.p=m}}(Da&3)!==0&&Ip(),gl(n),m=n.pendingLanes,(r&4194090)!==0&&(m&42)!==0?n===Hv?ls++:(ls=0,Hv=n):ls=0,Bf(0)}}function _0(n,l){(n.pooledCacheLanes&=l)===0&&(l=n.pooledCache,l!=null&&(n.pooledCache=null,Fr(l)))}function Ip(n){return C0(),kf(),Jp(),Yv()}function Yv(){if(wa!==5)return!1;var n=mi,l=Pp;Pp=0;var r=fr(Da),o=D.T,m=k.p;try{k.p=32>r?32:r,D.T=null,r=Qp,Qp=null;var v=mi,_=Da;if(wa=0,as=mi=null,Da=0,(Kt&6)!==0)throw Error(s(331));var z=Kt;if(Kt|=4,wv(v.current),_v(v,v.current,_,r),Kt=z,Bf(0,!1),Xe&&typeof Xe.onPostCommitFiberRoot=="function")try{Xe.onPostCommitFiberRoot(it,v)}catch{}return!0}finally{k.p=m,D.T=o,_0(n,l)}}function $v(n,l,r){l=Ml(r,l),l=fv(n.stateNode,l,2),n=ni(n,l,2),n!==null&&(ja(n,2),gl(n))}function Wt(n,l,r){if(n.tag===3)$v(n,n,r);else for(;l!==null;){if(l.tag===3){$v(l,n,r);break}else if(l.tag===1){var o=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Qu===null||!Qu.has(o))){n=Ml(r,n),r=dv(2),o=ni(l,r,2),o!==null&&(ml(r,o,l,n),ja(o,2),gl(o));break}}l=l.return}}function Wp(n,l,r){var o=n.pingCache;if(o===null){o=n.pingCache=new S0;var m=new Set;o.set(l,m)}else m=o.get(l),m===void 0&&(m=new Set,o.set(l,m));m.has(r)||(zv=!0,m.add(r),n=Gv.bind(null,n,l,r),l.then(n,n))}function Gv(n,l,r){var o=n.pingCache;o!==null&&o.delete(l),n.pingedLanes|=n.suspendedLanes&r,n.warmLanes&=~r,fn===n&&(Rt&r)===r&&($n===4||$n===3&&(Rt&62914560)===Rt&&300>pe()-Rv?(Kt&2)===0&&vi(n,0):hi|=r,es===Rt&&(es=0)),gl(n)}function Xv(n,l){l===0&&(l=Ua()),n=Jr(n,l),n!==null&&(ja(n,l),gl(n))}function TE(n){var l=n.memoizedState,r=0;l!==null&&(r=l.retryLane),Xv(n,r)}function xE(n,l){var r=0;switch(n.tag){case 13:var o=n.stateNode,m=n.memoizedState;m!==null&&(r=m.retryLane);break;case 19:o=n.stateNode;break;case 22:o=n.stateNode._retryCache;break;default:throw Error(s(314))}o!==null&&o.delete(l),Xv(n,r)}function OE(n,l){return ye(n,l)}var Fp=null,Ku=null,Lf=!1,us=!1,eh=!1,Ju=0;function gl(n){n!==Ku&&n.next===null&&(Ku===null?Fp=Ku=n:Ku=Ku.next=n),us=!0,Lf||(Lf=!0,D0())}function Bf(n,l){if(!eh&&us){eh=!0;do for(var r=!1,o=Fp;o!==null;){if(n!==0){var m=o.pendingLanes;if(m===0)var v=0;else{var _=o.suspendedLanes,z=o.pingedLanes;v=(1<<31-pt(42|n)+1)-1,v&=m&~(_&~z),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(r=!0,Yf(o,v))}else v=Rt,v=aa(o,o===fn?v:0,o.cancelPendingCommit!==null||o.timeoutHandle!==-1),(v&3)===0||Un(o,v)||(r=!0,Yf(o,v));o=o.next}while(r);eh=!1}}function A0(){Vf()}function Vf(){us=Lf=!1;var n=0;Ju!==0&&(uu()&&(n=Ju),Ju=0);for(var l=pe(),r=null,o=Fp;o!==null;){var m=o.next,v=Pv(o,l);v===0?(o.next=null,r===null?Fp=m:r.next=m,m===null&&(Ku=r)):(r=o,(n!==0||(v&3)!==0)&&(us=!0)),o=m}Bf(n)}function Pv(n,l){for(var r=n.suspendedLanes,o=n.pingedLanes,m=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var _=31-pt(v),z=1<<_,$=m[_];$===-1?((z&r)===0||(z&o)!==0)&&(m[_]=Ut(z,l)):$<=l&&(n.expiredLanes|=z),v&=~z}if(l=fn,r=Rt,r=aa(n,n===l?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o=n.callbackNode,r===0||n===l&&(It===2||It===9)||n.cancelPendingCommit!==null)return o!==null&&o!==null&&I(o),n.callbackNode=null,n.callbackPriority=0;if((r&3)===0||Un(n,r)){if(l=r&-r,l===n.callbackPriority)return l;switch(o!==null&&I(o),fr(r)){case 2:case 8:r=We;break;case 32:r=Pe;break;case 268435456:r=Ze;break;default:r=Pe}return o=w0.bind(null,n),r=ye(r,o),n.callbackPriority=l,n.callbackNode=r,l}return o!==null&&o!==null&&I(o),n.callbackPriority=2,n.callbackNode=null,2}function w0(n,l){if(wa!==0&&wa!==5)return n.callbackNode=null,n.callbackPriority=0,null;var r=n.callbackNode;if(Ip()&&n.callbackNode!==r)return null;var o=Rt;return o=aa(n,n===fn?o:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),o===0?null:(rs(n,o,l),Pv(n,pe()),n.callbackNode!=null&&n.callbackNode===r?w0.bind(null,n):null)}function Yf(n,l){if(Ip())return null;rs(n,l,!0)}function D0(){wE(function(){(Kt&6)!==0?ye(Ae,A0):Vf()})}function tc(){return Ju===0&&(Ju=dn()),Ju}function th(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:So(""+n)}function $f(n,l){var r=l.ownerDocument.createElement("input");return r.name=l.name,r.value=l.value,n.id&&r.setAttribute("form",n.id),l.parentNode.insertBefore(r,l),n=new FormData(n),r.parentNode.removeChild(r),n}function M0(n,l,r,o,m){if(l==="submit"&&r&&r.stateNode===m){var v=th((m[Pn]||null).action),_=o.submitter;_&&(l=(l=_[Pn]||null)?th(l.formAction):_.getAttribute("formAction"),l!==null&&(v=l,_=null));var z=new $r("action","action",null,o,m);n.push({event:z,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(Ju!==0){var $=_?$f(m,_):new FormData(m);xp(r,{pending:!0,data:$,method:m.method,action:v},null,$)}}else typeof v=="function"&&(z.preventDefault(),$=_?$f(m,_):new FormData(m),xp(r,{pending:!0,data:$,method:m.method,action:v},v,$))},currentTarget:m}]})}}for(var Gn=0;Gn<Dc.length;Gn++){var Gf=Dc[Gn],CE=Gf.toLowerCase(),At=Gf[0].toUpperCase()+Gf.slice(1);Ql(CE,"on"+At)}Ql(Fg,"onAnimationEnd"),Ql(zm,"onAnimationIteration"),Ql(e0,"onAnimationStart"),Ql("dblclick","onDoubleClick"),Ql("focusin","onFocus"),Ql("focusout","onBlur"),Ql(Nm,"onTransitionRun"),Ql(Pd,"onTransitionStart"),Ql(t0,"onTransitionCancel"),Ql(Rm,"onTransitionEnd"),wl("onMouseEnter",["mouseout","mouseover"]),wl("onMouseLeave",["mouseout","mouseover"]),wl("onPointerEnter",["pointerout","pointerover"]),wl("onPointerLeave",["pointerout","pointerover"]),Qn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Qn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Qn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Qn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Qn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Xf="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(" "),Iu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xf));function nc(n,l){l=(l&4)!==0;for(var r=0;r<n.length;r++){var o=n[r],m=o.event;o=o.listeners;e:{var v=void 0;if(l)for(var _=o.length-1;0<=_;_--){var z=o[_],$=z.instance,de=z.currentTarget;if(z=z.listener,$!==v&&m.isPropagationStopped())break e;v=z,m.currentTarget=de;try{v(m)}catch(Re){wf(Re)}m.currentTarget=null,v=$}else for(_=0;_<o.length;_++){if(z=o[_],$=z.instance,de=z.currentTarget,z=z.listener,$!==v&&m.isPropagationStopped())break e;v=z,m.currentTarget=de;try{v(m)}catch(Re){wf(Re)}m.currentTarget=null,v=$}}}}function xt(n,l){var r=l[dr];r===void 0&&(r=l[dr]=new Set);var o=n+"__bubble";r.has(o)||(nh(l,n,2,!1),r.add(o))}function os(n,l,r){var o=0;l&&(o|=4),nh(r,n,o,l)}var cs="_reactListening"+Math.random().toString(36).slice(2);function Qv(n){if(!n[cs]){n[cs]=!0,kr.forEach(function(r){r!=="selectionchange"&&(Iu.has(r)||os(r,!1,n),os(r,!0,n))});var l=n.nodeType===9?n:n.ownerDocument;l===null||l[cs]||(l[cs]=!0,os("selectionchange",!1,l))}}function nh(n,l,r,o){switch(oy(l)){case 2:var m=L0;break;case 8:m=B0;break;default:m=iy}r=m.bind(null,l,r,n),m=void 0,!To||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(m=!0),o?m!==void 0?n.addEventListener(l,r,{capture:!0,passive:m}):n.addEventListener(l,r,!0):m!==void 0?n.addEventListener(l,r,{passive:m}):n.addEventListener(l,r,!1)}function lr(n,l,r,o,m){var v=o;if((l&1)===0&&(l&2)===0&&o!==null)e:for(;;){if(o===null)return;var _=o.tag;if(_===3||_===4){var z=o.stateNode.containerInfo;if(z===m)break;if(_===4)for(_=o.return;_!==null;){var $=_.tag;if(($===3||$===4)&&_.stateNode.containerInfo===m)return;_=_.return}for(;z!==null;){if(_=hn(z),_===null)return;if($=_.tag,$===5||$===6||$===26||$===27){o=v=_;continue e}z=z.parentNode}}o=o.return}Ia(function(){var de=v,Re=Eo(r),je=[];e:{var ge=qm.get(n);if(ge!==void 0){var Ee=$r,ot=n;switch(n){case"keypress":if(he(r)===0)break e;case"keydown":case"keyup":Ee=yr;break;case"focusin":ot="focus",Ee=mm;break;case"focusout":ot="blur",Ee=mm;break;case"beforeblur":case"afterblur":Ee=mm;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":Ee=hm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Ee=Gg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Ee=gm;break;case Fg:case zm:case e0:Ee=yE;break;case Rm:Ee=Kg;break;case"scroll":case"scrollend":Ee=Ac;break;case"wheel":Ee=Co;break;case"copy":case"cut":case"paste":Ee=Ks;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Ee=Js;break;case"toggle":case"beforetoggle":Ee=Jg}var ct=(l&4)!==0,Xt=!ct&&(n==="scroll"||n==="scrollend"),oe=ct?ge!==null?ge+"Capture":null:ge;ct=[];for(var ee=de,fe;ee!==null;){var He=ee;if(fe=He.stateNode,He=He.tag,He!==5&&He!==26&&He!==27||fe===null||oe===null||(He=Yr(ee,oe),He!=null&&ct.push(ru(ee,He,fe))),Xt)break;ee=ee.return}0<ct.length&&(ge=new Ee(ge,ot,null,r,Re),je.push({event:ge,listeners:ct}))}}if((l&7)===0){e:{if(ge=n==="mouseover"||n==="pointerover",Ee=n==="mouseout"||n==="pointerout",ge&&r!==Vr&&(ot=r.relatedTarget||r.fromElement)&&(hn(ot)||ot[il]))break e;if((Ee||ge)&&(ge=Re.window===Re?Re:(ge=Re.ownerDocument)?ge.defaultView||ge.parentWindow:window,Ee?(ot=r.relatedTarget||r.toElement,Ee=de,ot=ot?hn(ot):null,ot!==null&&(Xt=b(ot),ct=ot.tag,ot!==Xt||ct!==5&&ct!==27&&ct!==6)&&(ot=null)):(Ee=null,ot=de),Ee!==ot)){if(ct=hm,He="onMouseLeave",oe="onMouseEnter",ee="mouse",(n==="pointerout"||n==="pointerover")&&(ct=Js,He="onPointerLeave",oe="onPointerEnter",ee="pointer"),Xt=Ee==null?ge:_l(Ee),fe=ot==null?ge:_l(ot),ge=new ct(He,ee+"leave",Ee,r,Re),ge.target=Xt,ge.relatedTarget=fe,He=null,hn(Re)===de&&(ct=new ct(oe,ee+"enter",ot,r,Re),ct.target=fe,ct.relatedTarget=Xt,He=ct),Xt=He,Ee&&ot)t:{for(ct=Ee,oe=ot,ee=0,fe=ct;fe;fe=Wu(fe))ee++;for(fe=0,He=oe;He;He=Wu(He))fe++;for(;0<ee-fe;)ct=Wu(ct),ee--;for(;0<fe-ee;)oe=Wu(oe),fe--;for(;ee--;){if(ct===oe||oe!==null&&ct===oe.alternate)break t;ct=Wu(ct),oe=Wu(oe)}ct=null}else ct=null;Ee!==null&&Pf(je,ge,Ee,ct,!1),ot!==null&&Xt!==null&&Pf(je,Xt,ot,ct,!0)}}e:{if(ge=de?_l(de):window,Ee=ge.nodeName&&ge.nodeName.toLowerCase(),Ee==="select"||Ee==="input"&&ge.type==="file")var nt=Om;else if(Yd(ge))if(Cm)nt=wm;else{nt=wu;var Dt=Gd}else Ee=ge.nodeName,!Ee||Ee.toLowerCase()!=="input"||ge.type!=="checkbox"&&ge.type!=="radio"?de&&Br(de.elementType)&&(nt=Om):nt=Gi;if(nt&&(nt=nt(n,de))){$d(je,nt,r,Re);break e}Dt&&Dt(n,ge,de),n==="focusout"&&de&&ge.type==="number"&&de.memoizedProps.value!=null&&xu(ge,"number",ge.value)}switch(Dt=de?_l(de):window,n){case"focusin":(Yd(Dt)||Dt.contentEditable==="true")&&(Qr=Dt,Sr=de,zu=null);break;case"focusout":zu=Sr=Qr=null;break;case"mousedown":Mo=!0;break;case"contextmenu":case"mouseup":case"dragend":Mo=!1,Xd(je,r,Re);break;case"selectionchange":if(Do)break;case"keydown":case"keyup":Xd(je,r,Re)}var ut;if(Is)e:{switch(n){case"compositionstart":var mt="onCompositionStart";break e;case"compositionend":mt="onCompositionEnd";break e;case"compositionupdate":mt="onCompositionUpdate";break e}mt=void 0}else Au?Fs(n,r)&&(mt="onCompositionEnd"):n==="keydown"&&r.keyCode===229&&(mt="onCompositionStart");mt&&(Xr&&r.locale!=="ko"&&(Au||mt!=="onCompositionStart"?mt==="onCompositionEnd"&&Au&&(ut=Ps()):(vr=Re,Cu="value"in vr?vr.value:vr.textContent,Au=!0)),Dt=ss(de,mt),0<Dt.length&&(mt=new vm(mt,n,null,r,Re),je.push({event:mt,listeners:Dt}),ut?mt.data=ut:(ut=_u(r),ut!==null&&(mt.data=ut)))),(ut=Sm?Tm(n,r):_o(n,r))&&(mt=ss(de,"onBeforeInput"),0<mt.length&&(Dt=new vm("onBeforeInput","beforeinput",null,r,Re),je.push({event:Dt,listeners:mt}),Dt.data=ut)),M0(je,n,de,r,Re)}nc(je,l)})}function ru(n,l,r){return{instance:n,listener:l,currentTarget:r}}function ss(n,l){for(var r=l+"Capture",o=[];n!==null;){var m=n,v=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||v===null||(m=Yr(n,r),m!=null&&o.unshift(ru(n,m,v)),m=Yr(n,l),m!=null&&o.push(ru(n,m,v))),n.tag===3)return o;n=n.return}return[]}function Wu(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function Pf(n,l,r,o,m){for(var v=l._reactName,_=[];r!==null&&r!==o;){var z=r,$=z.alternate,de=z.stateNode;if(z=z.tag,$!==null&&$===o)break;z!==5&&z!==26&&z!==27||de===null||($=de,m?(de=Yr(r,v),de!=null&&_.unshift(ru(r,de,$))):m||(de=Yr(r,v),de!=null&&_.push(ru(r,de,$)))),r=r.return}_.length!==0&&n.push({event:l,listeners:_})}var Ul=/\r\n?/g,Zv=/\u0000|\uFFFD/g;function z0(n){return(typeof n=="string"?n:""+n).replace(Ul,`
|
|
89
|
-
`).replace(Zv,"")}function Kv(n,l){return l=z0(l),z0(n)===l}function ah(){}function bt(n,l,r,o,m,v){switch(r){case"children":typeof o=="string"?l==="body"||l==="textarea"&&o===""||Bi(n,o):(typeof o=="number"||typeof o=="bigint")&&l!=="body"&&Bi(n,""+o);break;case"className":pr(n,"class",o);break;case"tabIndex":pr(n,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":pr(n,r,o);break;case"style":bo(n,o,v);break;case"data":if(l!=="object"){pr(n,"data",o);break}case"src":case"href":if(o===""&&(l!=="a"||r!=="href")){n.removeAttribute(r);break}if(o==null||typeof o=="function"||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(r);break}o=So(""+o),n.setAttribute(r,o);break;case"action":case"formAction":if(typeof o=="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 v=="function"&&(r==="formAction"?(l!=="input"&&bt(n,l,"name",m.name,m,null),bt(n,l,"formEncType",m.formEncType,m,null),bt(n,l,"formMethod",m.formMethod,m,null),bt(n,l,"formTarget",m.formTarget,m,null)):(bt(n,l,"encType",m.encType,m,null),bt(n,l,"method",m.method,m,null),bt(n,l,"target",m.target,m,null)));if(o==null||typeof o=="symbol"||typeof o=="boolean"){n.removeAttribute(r);break}o=So(""+o),n.setAttribute(r,o);break;case"onClick":o!=null&&(n.onclick=ah);break;case"onScroll":o!=null&&xt("scroll",n);break;case"onScrollEnd":o!=null&&xt("scrollend",n);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(s(61));if(r=o.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"multiple":n.multiple=o&&typeof o!="function"&&typeof o!="symbol";break;case"muted":n.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"){n.removeAttribute("xlink:href");break}r=So(""+o),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":o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(r,""+o):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":o&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(r,""):n.removeAttribute(r);break;case"capture":case"download":o===!0?n.setAttribute(r,""):o!==!1&&o!=null&&typeof o!="function"&&typeof o!="symbol"?n.setAttribute(r,o):n.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":o!=null&&typeof o!="function"&&typeof o!="symbol"&&!isNaN(o)&&1<=o?n.setAttribute(r,o):n.removeAttribute(r);break;case"rowSpan":case"start":o==null||typeof o=="function"||typeof o=="symbol"||isNaN(o)?n.removeAttribute(r):n.setAttribute(r,o);break;case"popover":xt("beforetoggle",n),xt("toggle",n),ka(n,"popover",o);break;case"xlinkActuate":La(n,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":La(n,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":La(n,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":La(n,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":La(n,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":La(n,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":La(n,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":La(n,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":La(n,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":ka(n,"is",o);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=_c.get(r)||r,ka(n,r,o))}}function xe(n,l,r,o,m,v){switch(r){case"style":bo(n,o,v);break;case"dangerouslySetInnerHTML":if(o!=null){if(typeof o!="object"||!("__html"in o))throw Error(s(61));if(r=o.__html,r!=null){if(m.children!=null)throw Error(s(60));n.innerHTML=r}}break;case"children":typeof o=="string"?Bi(n,o):(typeof o=="number"||typeof o=="bigint")&&Bi(n,""+o);break;case"onScroll":o!=null&&xt("scroll",n);break;case"onScrollEnd":o!=null&&xt("scrollend",n);break;case"onClick":o!=null&&(n.onclick=ah);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!ua.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(m=r.endsWith("Capture"),l=r.slice(2,m?r.length-7:void 0),v=n[Pn]||null,v=v!=null?v[r]:null,typeof v=="function"&&n.removeEventListener(l,v,m),typeof o=="function")){typeof v!="function"&&v!==null&&(r in n?n[r]=null:n.hasAttribute(r)&&n.removeAttribute(r)),n.addEventListener(l,o,m);break e}r in n?n[r]=o:o===!0?n.setAttribute(r,""):ka(n,r,o)}}}function vt(n,l,r){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":xt("error",n),xt("load",n);var o=!1,m=!1,v;for(v in r)if(r.hasOwnProperty(v)){var _=r[v];if(_!=null)switch(v){case"src":o=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:bt(n,l,v,_,r,null)}}m&&bt(n,l,"srcSet",r.srcSet,r,null),o&&bt(n,l,"src",r.src,r,null);return;case"input":xt("invalid",n);var z=v=_=m=null,$=null,de=null;for(o in r)if(r.hasOwnProperty(o)){var Re=r[o];if(Re!=null)switch(o){case"name":m=Re;break;case"type":_=Re;break;case"checked":$=Re;break;case"defaultChecked":de=Re;break;case"value":v=Re;break;case"defaultValue":z=Re;break;case"children":case"dangerouslySetInnerHTML":if(Re!=null)throw Error(s(137,l));break;default:bt(n,l,o,Re,r,null)}}Oc(n,v,z,$,de,_,m,!1),Oa(n);return;case"select":xt("invalid",n),o=_=v=null;for(m in r)if(r.hasOwnProperty(m)&&(z=r[m],z!=null))switch(m){case"value":v=z;break;case"defaultValue":_=z;break;case"multiple":o=z;default:bt(n,l,m,z,r,null)}l=v,r=_,n.multiple=!!o,l!=null?Li(n,!!o,l,!1):r!=null&&Li(n,!!o,r,!0);return;case"textarea":xt("invalid",n),v=m=o=null;for(_ in r)if(r.hasOwnProperty(_)&&(z=r[_],z!=null))switch(_){case"value":o=z;break;case"defaultValue":m=z;break;case"children":v=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(s(91));break;default:bt(n,l,_,z,r,null)}$s(n,o,m,v),Oa(n);return;case"option":for($ in r)if(r.hasOwnProperty($)&&(o=r[$],o!=null))switch($){case"selected":n.selected=o&&typeof o!="function"&&typeof o!="symbol";break;default:bt(n,l,$,o,r,null)}return;case"dialog":xt("beforetoggle",n),xt("toggle",n),xt("cancel",n),xt("close",n);break;case"iframe":case"object":xt("load",n);break;case"video":case"audio":for(o=0;o<Xf.length;o++)xt(Xf[o],n);break;case"image":xt("error",n),xt("load",n);break;case"details":xt("toggle",n);break;case"embed":case"source":case"link":xt("error",n),xt("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(de in r)if(r.hasOwnProperty(de)&&(o=r[de],o!=null))switch(de){case"children":case"dangerouslySetInnerHTML":throw Error(s(137,l));default:bt(n,l,de,o,r,null)}return;default:if(Br(l)){for(Re in r)r.hasOwnProperty(Re)&&(o=r[Re],o!==void 0&&xe(n,l,Re,o,r,void 0));return}}for(z in r)r.hasOwnProperty(z)&&(o=r[z],o!=null&&bt(n,l,z,o,r,null))}function _E(n,l,r,o){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,v=null,_=null,z=null,$=null,de=null,Re=null;for(Ee in r){var je=r[Ee];if(r.hasOwnProperty(Ee)&&je!=null)switch(Ee){case"checked":break;case"value":break;case"defaultValue":$=je;default:o.hasOwnProperty(Ee)||bt(n,l,Ee,null,o,je)}}for(var ge in o){var Ee=o[ge];if(je=r[ge],o.hasOwnProperty(ge)&&(Ee!=null||je!=null))switch(ge){case"type":v=Ee;break;case"name":m=Ee;break;case"checked":de=Ee;break;case"defaultChecked":Re=Ee;break;case"value":_=Ee;break;case"defaultValue":z=Ee;break;case"children":case"dangerouslySetInnerHTML":if(Ee!=null)throw Error(s(137,l));break;default:Ee!==je&&bt(n,l,ge,Ee,o,je)}}xc(n,_,z,$,de,Re,v,m);return;case"select":Ee=_=z=ge=null;for(v in r)if($=r[v],r.hasOwnProperty(v)&&$!=null)switch(v){case"value":break;case"multiple":Ee=$;default:o.hasOwnProperty(v)||bt(n,l,v,null,o,$)}for(m in o)if(v=o[m],$=r[m],o.hasOwnProperty(m)&&(v!=null||$!=null))switch(m){case"value":ge=v;break;case"defaultValue":z=v;break;case"multiple":_=v;default:v!==$&&bt(n,l,m,v,o,$)}l=z,r=_,o=Ee,ge!=null?Li(n,!!r,ge,!1):!!o!=!!r&&(l!=null?Li(n,!!r,l,!0):Li(n,!!r,r?[]:"",!1));return;case"textarea":Ee=ge=null;for(z in r)if(m=r[z],r.hasOwnProperty(z)&&m!=null&&!o.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:bt(n,l,z,null,o,m)}for(_ in o)if(m=o[_],v=r[_],o.hasOwnProperty(_)&&(m!=null||v!=null))switch(_){case"value":ge=m;break;case"defaultValue":Ee=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(s(91));break;default:m!==v&&bt(n,l,_,m,o,v)}Lr(n,ge,Ee);return;case"option":for(var ot in r)if(ge=r[ot],r.hasOwnProperty(ot)&&ge!=null&&!o.hasOwnProperty(ot))switch(ot){case"selected":n.selected=!1;break;default:bt(n,l,ot,null,o,ge)}for($ in o)if(ge=o[$],Ee=r[$],o.hasOwnProperty($)&&ge!==Ee&&(ge!=null||Ee!=null))switch($){case"selected":n.selected=ge&&typeof ge!="function"&&typeof ge!="symbol";break;default:bt(n,l,$,ge,o,Ee)}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 ct in r)ge=r[ct],r.hasOwnProperty(ct)&&ge!=null&&!o.hasOwnProperty(ct)&&bt(n,l,ct,null,o,ge);for(de in o)if(ge=o[de],Ee=r[de],o.hasOwnProperty(de)&&ge!==Ee&&(ge!=null||Ee!=null))switch(de){case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(s(137,l));break;default:bt(n,l,de,ge,o,Ee)}return;default:if(Br(l)){for(var Xt in r)ge=r[Xt],r.hasOwnProperty(Xt)&&ge!==void 0&&!o.hasOwnProperty(Xt)&&xe(n,l,Xt,void 0,o,ge);for(Re in o)ge=o[Re],Ee=r[Re],!o.hasOwnProperty(Re)||ge===Ee||ge===void 0&&Ee===void 0||xe(n,l,Re,ge,o,Ee);return}}for(var oe in r)ge=r[oe],r.hasOwnProperty(oe)&&ge!=null&&!o.hasOwnProperty(oe)&&bt(n,l,oe,null,o,ge);for(je in o)ge=o[je],Ee=r[je],!o.hasOwnProperty(je)||ge===Ee||ge==null&&Ee==null||bt(n,l,je,ge,o,Ee)}var Qf=null,Zf=null;function rr(n){return n.nodeType===9?n:n.ownerDocument}function iu(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 fs(n,l){if(n===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&l==="foreignObject"?0:n}function yi(n,l){return n==="textarea"||n==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var ds=null;function uu(){var n=window.event;return n&&n.type==="popstate"?n===ds?!1:(ds=n,!0):(ds=null,!1)}var lh=typeof setTimeout=="function"?setTimeout:void 0,AE=typeof clearTimeout=="function"?clearTimeout:void 0,N0=typeof Promise=="function"?Promise:void 0,wE=typeof queueMicrotask=="function"?queueMicrotask:typeof N0<"u"?function(n){return N0.resolve(null).then(n).catch(gi)}:lh;function gi(n){setTimeout(function(){throw n})}function Fu(n){return n==="head"}function rh(n,l){var r=l,o=0,m=0;do{var v=r.nextSibling;if(n.removeChild(r),v&&v.nodeType===8)if(r=v.data,r==="/$"){if(0<o&&8>o){r=o;var _=n.ownerDocument;if(r&1&&bl(_.documentElement),r&2&&bl(_.body),r&4)for(r=_.head,bl(r),_=r.firstChild;_;){var z=_.nextSibling,$=_.nodeName;_[Je]||$==="SCRIPT"||$==="STYLE"||$==="LINK"&&_.rel.toLowerCase()==="stylesheet"||r.removeChild(_),_=z}}if(m===0){n.removeChild(v),Si(l);return}m--}else r==="$"||r==="$?"||r==="$!"?m++:o=r.charCodeAt(0)-48;else o=0;r=v}while(r);Si(l)}function Kf(n){var l=n.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var r=l;switch(l=l.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Kf(r),ia(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}n.removeChild(r)}}function ps(n,l,r,o){for(;n.nodeType===1;){var m=r;if(n.nodeName.toLowerCase()!==l.toLowerCase()){if(!o&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(o){if(!n[Je])switch(l){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==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(v=n.getAttribute("src"),(v!==(m.src==null?null:m.src)||n.getAttribute("type")!==(m.type==null?null:m.type)||n.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(l==="input"&&n.type==="hidden"){var v=m.name==null?null:""+m.name;if(m.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=Mr(n.nextSibling),n===null)break}return null}function DE(n,l,r){if(l==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=Mr(n.nextSibling),n===null))return null;return n}function Jf(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState==="complete"}function ME(n,l){var r=n.ownerDocument;if(n.data!=="$?"||r.readyState==="complete")l();else{var o=function(){l(),r.removeEventListener("DOMContentLoaded",o)};r.addEventListener("DOMContentLoaded",o),n._reactRetry=o}}function Mr(n){for(;n!=null;n=n.nextSibling){var l=n.nodeType;if(l===1||l===3)break;if(l===8){if(l=n.data,l==="$"||l==="$!"||l==="$?"||l==="F!"||l==="F")break;if(l==="/$")return null}}return n}var eo=null;function Ma(n){n=n.previousSibling;for(var l=0;n;){if(n.nodeType===8){var r=n.data;if(r==="$"||r==="$!"||r==="$?"){if(l===0)return n;l--}else r==="/$"&&l++}n=n.previousSibling}return null}function tt(n,l,r){switch(l=rr(r),n){case"html":if(n=l.documentElement,!n)throw Error(s(452));return n;case"head":if(n=l.head,!n)throw Error(s(453));return n;case"body":if(n=l.body,!n)throw Error(s(454));return n;default:throw Error(s(451))}}function bl(n){for(var l=n.attributes;l.length;)n.removeAttributeNode(l[0]);ia(n)}var Xn=new Map,$a=new Set;function ih(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var ou=k.d;k.d={f:uh,r:oh,D:cu,C:ch,L:to,m:Ga,X:no,S:Sl,M:Jv};function uh(){var n=ou.f(),l=Wo();return n||l}function oh(n){var l=ul(n);l!==null&&l.tag===5&&l.type==="form"?Xc(l):ou.r(n)}var za=typeof document>"u"?null:document;function zr(n,l,r){var o=za;if(o&&typeof l=="string"&&l){var m=Ja(l);m='link[rel="'+n+'"][href="'+m+'"]',typeof r=="string"&&(m+='[crossorigin="'+r+'"]'),$a.has(m)||($a.add(m),n={rel:n,crossOrigin:r,href:l},o.querySelector(m)===null&&(l=o.createElement("link"),vt(l,"link",n),mn(l),o.head.appendChild(l)))}}function cu(n){ou.D(n),zr("dns-prefetch",n,null)}function ch(n,l){ou.C(n,l),zr("preconnect",n,l)}function to(n,l,r){ou.L(n,l,r);var o=za;if(o&&n&&l){var m='link[rel="preload"][as="'+Ja(l)+'"]';l==="image"&&r&&r.imageSrcSet?(m+='[imagesrcset="'+Ja(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(m+='[imagesizes="'+Ja(r.imageSizes)+'"]')):m+='[href="'+Ja(n)+'"]';var v=m;switch(l){case"style":v=hs(n);break;case"script":v=ir(n)}Xn.has(v)||(n=C({rel:"preload",href:l==="image"&&r&&r.imageSrcSet?void 0:n,as:l},r),Xn.set(v,n),o.querySelector(m)!==null||l==="style"&&o.querySelector(ms(v))||l==="script"&&o.querySelector(ac(v))||(l=o.createElement("link"),vt(l,"link",n),mn(l),o.head.appendChild(l)))}}function Ga(n,l){ou.m(n,l);var r=za;if(r&&n){var o=l&&typeof l.as=="string"?l.as:"script",m='link[rel="modulepreload"][as="'+Ja(o)+'"][href="'+Ja(n)+'"]',v=m;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=ir(n)}if(!Xn.has(v)&&(n=C({rel:"modulepreload",href:n},l),Xn.set(v,n),r.querySelector(m)===null)){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(ac(v)))return}o=r.createElement("link"),vt(o,"link",n),mn(o),r.head.appendChild(o)}}}function Sl(n,l,r){ou.S(n,l,r);var o=za;if(o&&n){var m=Al(o).hoistableStyles,v=hs(n);l=l||"default";var _=m.get(v);if(!_){var z={loading:0,preload:null};if(_=o.querySelector(ms(v)))z.loading=5;else{n=C({rel:"stylesheet",href:n,"data-precedence":l},r),(r=Xn.get(v))&&fh(n,r);var $=_=o.createElement("link");mn($),vt($,"link",n),$._p=new Promise(function(de,Re){$.onload=de,$.onerror=Re}),$.addEventListener("load",function(){z.loading|=1}),$.addEventListener("error",function(){z.loading|=2}),z.loading|=4,sh(_,l,o)}_={type:"stylesheet",instance:_,count:1,state:z},m.set(v,_)}}}function no(n,l){ou.X(n,l);var r=za;if(r&&n){var o=Al(r).hoistableScripts,m=ir(n),v=o.get(m);v||(v=r.querySelector(ac(m)),v||(n=C({src:n,async:!0},l),(l=Xn.get(m))&&dh(n,l),v=r.createElement("script"),mn(v),vt(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(m,v))}}function Jv(n,l){ou.M(n,l);var r=za;if(r&&n){var o=Al(r).hoistableScripts,m=ir(n),v=o.get(m);v||(v=r.querySelector(ac(m)),v||(n=C({src:n,async:!0,type:"module"},l),(l=Xn.get(m))&&dh(n,l),v=r.createElement("script"),mn(v),vt(v,"link",n),r.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},o.set(m,v))}}function R0(n,l,r,o){var m=(m=Oe.current)?ih(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"?(l=hs(r.href),r=Al(m).hoistableStyles,o=r.get(l),o||(o={type:"style",instance:null,count:0,state:null},r.set(l,o)),o):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){n=hs(r.href);var v=Al(m).hoistableStyles,_=v.get(n);if(_||(m=m.ownerDocument||m,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,_),(v=m.querySelector(ms(n)))&&!v._p&&(_.instance=v,_.state.loading=5),Xn.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},Xn.set(n,r),v||q0(m,n,r,_.state))),l&&o===null)throw Error(s(528,""));return _}if(l&&o!==null)throw Error(s(529,""));return null;case"script":return l=r.async,r=r.src,typeof r=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=ir(r),r=Al(m).hoistableScripts,o=r.get(l),o||(o={type:"script",instance:null,count:0,state:null},r.set(l,o)),o):{type:"void",instance:null,count:0,state:null};default:throw Error(s(444,n))}}function hs(n){return'href="'+Ja(n)+'"'}function ms(n){return'link[rel="stylesheet"]['+n+"]"}function vs(n){return C({},n,{"data-precedence":n.precedence,precedence:null})}function q0(n,l,r,o){n.querySelector('link[rel="preload"][as="style"]['+l+"]")?o.loading=1:(l=n.createElement("link"),o.preload=l,l.addEventListener("load",function(){return o.loading|=1}),l.addEventListener("error",function(){return o.loading|=2}),vt(l,"link",r),mn(l),n.head.appendChild(l))}function ir(n){return'[src="'+Ja(n)+'"]'}function ac(n){return"script[async]"+n}function H0(n,l,r){if(l.count++,l.instance===null)switch(l.type){case"style":var o=n.querySelector('style[data-href~="'+Ja(r.href)+'"]');if(o)return l.instance=o,mn(o),o;var m=C({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return o=(n.ownerDocument||n).createElement("style"),mn(o),vt(o,"style",m),sh(o,r.precedence,n),l.instance=o;case"stylesheet":m=hs(r.href);var v=n.querySelector(ms(m));if(v)return l.state.loading|=4,l.instance=v,mn(v),v;o=vs(r),(m=Xn.get(m))&&fh(o,m),v=(n.ownerDocument||n).createElement("link"),mn(v);var _=v;return _._p=new Promise(function(z,$){_.onload=z,_.onerror=$}),vt(v,"link",o),l.state.loading|=4,sh(v,r.precedence,n),l.instance=v;case"script":return v=ir(r.src),(m=n.querySelector(ac(v)))?(l.instance=m,mn(m),m):(o=r,(m=Xn.get(v))&&(o=C({},r),dh(o,m)),n=n.ownerDocument||n,m=n.createElement("script"),mn(m),vt(m,"link",o),n.head.appendChild(m),l.instance=m);case"void":return null;default:throw Error(s(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(o=l.instance,l.state.loading|=4,sh(o,r.precedence,n));return l.instance}function sh(n,l,r){for(var o=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=o.length?o[o.length-1]:null,v=m,_=0;_<o.length;_++){var z=o[_];if(z.dataset.precedence===l)v=z;else if(v!==m)break}v?v.parentNode.insertBefore(n,v.nextSibling):(l=r.nodeType===9?r.head:r,l.insertBefore(n,l.firstChild))}function fh(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.title==null&&(n.title=l.title)}function dh(n,l){n.crossOrigin==null&&(n.crossOrigin=l.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=l.referrerPolicy),n.integrity==null&&(n.integrity=l.integrity)}var ao=null;function Iv(n,l,r){if(ao===null){var o=new Map,m=ao=new Map;m.set(r,o)}else m=ao,o=m.get(r),o||(o=new Map,m.set(r,o));if(o.has(n))return o;for(o.set(n,null),r=r.getElementsByTagName(n),m=0;m<r.length;m++){var v=r[m];if(!(v[Je]||v[Tn]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var _=v.getAttribute(l)||"";_=n+_;var z=o.get(_);z?z.push(v):o.set(_,[v])}}return o}function Wv(n,l,r){n=n.ownerDocument||n,n.head.insertBefore(r,l==="title"?n.querySelector("head > title"):null)}function U0(n,l,r){if(r===1||l.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return n=l.disabled,typeof l.precedence=="string"&&n==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function Fv(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}var ys=null;function j0(){}function k0(n,l,r){if(ys===null)throw Error(s(475));var o=ys;if(l.type==="stylesheet"&&(typeof r.media!="string"||matchMedia(r.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var m=hs(r.href),v=n.querySelector(ms(m));if(v){n=v._p,n!==null&&typeof n=="object"&&typeof n.then=="function"&&(o.count++,o=If.bind(o),n.then(o,o)),l.state.loading|=4,l.instance=v,mn(v);return}v=n.ownerDocument||n,r=vs(r),(m=Xn.get(m))&&fh(r,m),v=v.createElement("link"),mn(v);var _=v;_._p=new Promise(function(z,$){_.onload=z,_.onerror=$}),vt(v,"link",r),l.instance=v}o.stylesheets===null&&(o.stylesheets=new Map),o.stylesheets.set(l,n),(n=l.state.preload)&&(l.state.loading&3)===0&&(o.count++,l=If.bind(o),n.addEventListener("load",l),n.addEventListener("error",l))}}function ey(){if(ys===null)throw Error(s(475));var n=ys;return n.stylesheets&&n.count===0&&Wf(n,n.stylesheets),0<n.count?function(l){var r=setTimeout(function(){if(n.stylesheets&&Wf(n,n.stylesheets),n.unsuspend){var o=n.unsuspend;n.unsuspend=null,o()}},6e4);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(r)}}:null}function If(){if(this.count--,this.count===0){if(this.stylesheets)Wf(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var gs=null;function Wf(n,l){n.stylesheets=null,n.unsuspend!==null&&(n.count++,gs=new Map,l.forEach(jl,n),gs=null,If.call(n))}function jl(n,l){if(!(l.state.loading&4)){var r=gs.get(n);if(r)var o=r.get(null);else{r=new Map,gs.set(n,r);for(var m=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<m.length;v++){var _=m[v];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(r.set(_.dataset.precedence,_),o=_)}o&&r.set(null,o)}m=l.instance,_=m.getAttribute("data-precedence"),v=r.get(_)||o,v===o&&r.set(null,m),r.set(_,m),this.count++,o=If.bind(this),m.addEventListener("load",o),m.addEventListener("error",o),v?v.parentNode.insertBefore(m,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(m,n.firstChild)),l.state.loading|=4}}var El={$$typeof:P,Provider:null,Consumer:null,_currentValue:Y,_currentValue2:Y,_threadCount:0};function zE(n,l,r,o,m,v,_,z){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=xa(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xa(0),this.hiddenUpdates=xa(null),this.identifierPrefix=o,this.onUncaughtError=m,this.onCaughtError=v,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function ty(n,l,r,o,m,v,_,z,$,de,Re,je){return n=new zE(n,l,r,_,z,$,de,je),l=1,v===!0&&(l|=24),v=sl(3,null,null,l),n.current=v,v.stateNode=n,l=Bc(),l.refCount++,n.pooledCache=l,l.refCount++,v.memoizedState={element:o,isDehydrated:r,cache:l},ap(v),n}function ny(n){return n?(n=Nc,n):Nc}function ay(n,l,r,o,m,v){m=ny(m),o.context===null?o.context=m:o.pendingContext=m,o=dl(l),o.payload={element:r},v=v===void 0?null:v,v!==null&&(o.callback=v),r=ni(n,o,l),r!==null&&(Hl(r,n,l),Uo(r,n,l))}function ly(n,l){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var r=n.retryLane;n.retryLane=r!==0&&r<l?r:l}}function ph(n,l){ly(n,l),(n=n.alternate)&&ly(n,l)}function ry(n){if(n.tag===13){var l=Jr(n,67108864);l!==null&&Hl(l,n,67108864),ph(n,67108864)}}var Ff=!0;function L0(n,l,r,o){var m=D.T;D.T=null;var v=k.p;try{k.p=2,iy(n,l,r,o)}finally{k.p=v,D.T=m}}function B0(n,l,r,o){var m=D.T;D.T=null;var v=k.p;try{k.p=8,iy(n,l,r,o)}finally{k.p=v,D.T=m}}function iy(n,l,r,o){if(Ff){var m=hh(o);if(m===null)lr(n,l,o,mh,r),lc(n,o);else if(Y0(m,n,l,r,o))o.stopPropagation();else if(lc(n,o),l&4&&-1<V0.indexOf(n)){for(;m!==null;){var v=ul(m);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var _=yn(v.pendingLanes);if(_!==0){var z=v;for(z.pendingLanes|=2,z.entangledLanes|=2;_;){var $=1<<31-pt(_);z.entanglements[1]|=$,_&=~$}gl(v),(Kt&6)===0&&(Xp=pe()+500,Bf(0))}}break;case 13:z=Jr(v,2),z!==null&&Hl(z,v,2),Wo(),ph(v,2)}if(v=hh(o),v===null&&lr(n,l,o,mh,r),v===m)break;m=v}m!==null&&o.stopPropagation()}else lr(n,l,o,null,r)}}function hh(n){return n=Eo(n),uy(n)}var mh=null;function uy(n){if(mh=null,n=hn(n),n!==null){var l=b(n);if(l===null)n=null;else{var r=l.tag;if(r===13){if(n=T(l),n!==null)return n;n=null}else if(r===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;n=null}else l!==n&&(n=null)}}return mh=n,null}function oy(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(Ve()){case Ae:return 2;case We:return 8;case Pe:case Ne:return 32;case Ze:return 268435456;default:return 32}default:return 32}}var bs=!1,bi=null,su=null,fu=null,ed=new Map,td=new Map,lo=[],V0="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 lc(n,l){switch(n){case"focusin":case"focusout":bi=null;break;case"dragenter":case"dragleave":su=null;break;case"mouseover":case"mouseout":fu=null;break;case"pointerover":case"pointerout":ed.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":td.delete(l.pointerId)}}function rc(n,l,r,o,m,v){return n===null||n.nativeEvent!==v?(n={blockedOn:l,domEventName:r,eventSystemFlags:o,nativeEvent:v,targetContainers:[m]},l!==null&&(l=ul(l),l!==null&&ry(l)),n):(n.eventSystemFlags|=o,l=n.targetContainers,m!==null&&l.indexOf(m)===-1&&l.push(m),n)}function Y0(n,l,r,o,m){switch(l){case"focusin":return bi=rc(bi,n,l,r,o,m),!0;case"dragenter":return su=rc(su,n,l,r,o,m),!0;case"mouseover":return fu=rc(fu,n,l,r,o,m),!0;case"pointerover":var v=m.pointerId;return ed.set(v,rc(ed.get(v)||null,n,l,r,o,m)),!0;case"gotpointercapture":return v=m.pointerId,td.set(v,rc(td.get(v)||null,n,l,r,o,m)),!0}return!1}function cy(n){var l=hn(n.target);if(l!==null){var r=b(l);if(r!==null){if(l=r.tag,l===13){if(l=T(r),l!==null){n.blockedOn=l,Tc(n.priority,function(){if(r.tag===13){var o=ql();o=jn(o);var m=Jr(r,o);m!==null&&Hl(m,r,o),ph(r,o)}});return}}else if(l===3&&r.stateNode.current.memoizedState.isDehydrated){n.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}n.blockedOn=null}function nd(n){if(n.blockedOn!==null)return!1;for(var l=n.targetContainers;0<l.length;){var r=hh(n.nativeEvent);if(r===null){r=n.nativeEvent;var o=new r.constructor(r.type,r);Vr=o,r.target.dispatchEvent(o),Vr=null}else return l=ul(r),l!==null&&ry(l),n.blockedOn=r,!1;l.shift()}return!0}function ad(n,l,r){nd(n)&&r.delete(l)}function Ss(){bs=!1,bi!==null&&nd(bi)&&(bi=null),su!==null&&nd(su)&&(su=null),fu!==null&&nd(fu)&&(fu=null),ed.forEach(ad),td.forEach(ad)}function vh(n,l){n.blockedOn===l&&(n.blockedOn=null,bs||(bs=!0,u.unstable_scheduleCallback(u.unstable_NormalPriority,Ss)))}var ic=null;function sy(n){ic!==n&&(ic=n,u.unstable_scheduleCallback(u.unstable_NormalPriority,function(){ic===n&&(ic=null);for(var l=0;l<n.length;l+=3){var r=n[l],o=n[l+1],m=n[l+2];if(typeof o!="function"){if(uy(o||r)===null)continue;break}var v=ul(r);v!==null&&(n.splice(l,3),l-=3,xp(v,{pending:!0,data:m,method:r.method,action:o},o,m))}}))}function Si(n){function l($){return vh($,n)}bi!==null&&vh(bi,n),su!==null&&vh(su,n),fu!==null&&vh(fu,n),ed.forEach(l),td.forEach(l);for(var r=0;r<lo.length;r++){var o=lo[r];o.blockedOn===n&&(o.blockedOn=null)}for(;0<lo.length&&(r=lo[0],r.blockedOn===null);)cy(r),r.blockedOn===null&&lo.shift();if(r=(n.ownerDocument||n).$$reactFormReplay,r!=null)for(o=0;o<r.length;o+=3){var m=r[o],v=r[o+1],_=m[Pn]||null;if(typeof v=="function")_||sy(r);else if(_){var z=null;if(v&&v.hasAttribute("formAction")){if(m=v,_=v[Pn]||null)z=_.formAction;else if(uy(m)!==null)continue}else z=_.action;typeof z=="function"?r[o+1]=z:(r.splice(o,3),o-=3),sy(r)}}}function fy(n){this._internalRoot=n}yh.prototype.render=fy.prototype.render=function(n){var l=this._internalRoot;if(l===null)throw Error(s(409));var r=l.current,o=ql();ay(r,o,n,l,null,null)},yh.prototype.unmount=fy.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var l=n.containerInfo;ay(n.current,2,null,n,null,null),Wo(),l[il]=null}};function yh(n){this._internalRoot=n}yh.prototype.unstable_scheduleHydration=function(n){if(n){var l=yo();n={blockedOn:null,target:n,priority:l};for(var r=0;r<lo.length&&l!==0&&l<lo[r].priority;r++);lo.splice(r,0,n),r===0&&cy(n)}};var dy=f.version;if(dy!=="19.1.1")throw Error(s(527,dy,"19.1.1"));k.findDOMNode=function(n){var l=n._reactInternals;if(l===void 0)throw typeof n.render=="function"?Error(s(188)):(n=Object.keys(n).join(","),Error(s(268,n)));return n=S(l),n=n!==null?y(n):null,n=n===null?null:n.stateNode,n};var tl={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ld=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ld.isDisabled&&ld.supportsFiber)try{it=ld.inject(tl),Xe=ld}catch{}}return dm.createRoot=function(n,l){if(!p(n))throw Error(s(299));var r=!1,o="",m=Zc,v=cv,_=Df,z=null;return l!=null&&(l.unstable_strictMode===!0&&(r=!0),l.identifierPrefix!==void 0&&(o=l.identifierPrefix),l.onUncaughtError!==void 0&&(m=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(_=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(z=l.unstable_transitionCallbacks)),l=ty(n,1,!1,null,null,r,o,m,v,_,z,null),n[il]=l.current,Qv(n),new fy(l)},dm.hydrateRoot=function(n,l,r){if(!p(n))throw Error(s(299));var o=!1,m="",v=Zc,_=cv,z=Df,$=null,de=null;return r!=null&&(r.unstable_strictMode===!0&&(o=!0),r.identifierPrefix!==void 0&&(m=r.identifierPrefix),r.onUncaughtError!==void 0&&(v=r.onUncaughtError),r.onCaughtError!==void 0&&(_=r.onCaughtError),r.onRecoverableError!==void 0&&(z=r.onRecoverableError),r.unstable_transitionCallbacks!==void 0&&($=r.unstable_transitionCallbacks),r.formState!==void 0&&(de=r.formState)),l=ty(n,1,!0,l,r??null,o,m,v,_,z,$,de),l.context=ny(null),r=l.current,o=ql(),o=jn(o),m=dl(o),m.callback=null,ni(r,m,o),r=o,l.current.lanes=r,ja(l,r),gl(l),n[il]=l.current,Qv(n),new yh(l)},dm.version="19.1.1",dm}var pm={};/**
|
|
46
|
+
*/var tb;function xS(){if(tb)return Dh;tb=1;var v=eb(),X=te,G=rv;function T(l){var n="https://react.dev/errors/"+l;if(1<arguments.length){n+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)n+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+l+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Z(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function re(l){var n=l,u=l;if(l.alternate)for(;n.return;)n=n.return;else{l=n;do n=l,(n.flags&4098)!==0&&(u=n.return),l=n.return;while(l)}return n.tag===3?u:null}function Ae(l){if(l.tag===13){var n=l.memoizedState;if(n===null&&(l=l.alternate,l!==null&&(n=l.memoizedState)),n!==null)return n.dehydrated}return null}function pe(l){if(re(l)!==l)throw Error(T(188))}function D(l){var n=l.alternate;if(!n){if(n=re(l),n===null)throw Error(T(188));return n!==l?null:l}for(var u=l,c=n;;){var r=u.return;if(r===null)break;var f=r.alternate;if(f===null){if(c=r.return,c!==null){u=c;continue}break}if(r.child===f.child){for(f=r.child;f;){if(f===u)return pe(r),l;if(f===c)return pe(r),n;f=f.sibling}throw Error(T(188))}if(u.return!==c.return)u=r,c=f;else{for(var p=!1,y=r.child;y;){if(y===u){p=!0,u=r,c=f;break}if(y===c){p=!0,c=r,u=f;break}y=y.sibling}if(!p){for(y=f.child;y;){if(y===u){p=!0,u=f,c=r;break}if(y===c){p=!0,c=f,u=r;break}y=y.sibling}if(!p)throw Error(T(189))}}if(u.alternate!==c)throw Error(T(190))}if(u.tag!==3)throw Error(T(188));return u.stateNode.current===u?l:n}function m(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l;for(l=l.child;l!==null;){if(n=m(l),n!==null)return n;l=l.sibling}return null}var w=Object.assign,Y=Symbol.for("react.element"),ye=Symbol.for("react.transitional.element"),P=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),ze=Symbol.for("react.strict_mode"),$=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),ie=Symbol.for("react.consumer"),oe=Symbol.for("react.context"),se=Symbol.for("react.forward_ref"),qe=Symbol.for("react.suspense"),ge=Symbol.for("react.suspense_list"),Ee=Symbol.for("react.memo"),Ge=Symbol.for("react.lazy"),ce=Symbol.for("react.activity"),we=Symbol.for("react.memo_cache_sentinel"),Te=Symbol.iterator;function Ce(l){return l===null||typeof l!="object"?null:(l=Te&&l[Te]||l["@@iterator"],typeof l=="function"?l:null)}var Ie=Symbol.for("react.client.reference");function F(l){if(l==null)return null;if(typeof l=="function")return l.$$typeof===Ie?null:l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case V:return"Fragment";case $:return"Profiler";case ze:return"StrictMode";case qe:return"Suspense";case ge:return"SuspenseList";case ce:return"Activity"}if(typeof l=="object")switch(l.$$typeof){case P:return"Portal";case oe:return(l.displayName||"Context")+".Provider";case ie:return(l._context.displayName||"Context")+".Consumer";case se:var n=l.render;return l=l.displayName,l||(l=n.displayName||n.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case Ee:return n=l.displayName||null,n!==null?n:F(l.type)||"Memo";case Ge:n=l._payload,l=l._init;try{return F(l(n))}catch{}}return null}var K=Array.isArray,S=X.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=G.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,U={pending:!1,data:null,method:null,action:null},fe=[],M=-1;function ve(l){return{current:l}}function de(l){0>M||(l.current=fe[M],fe[M]=null,M--)}function Me(l,n){M++,fe[M]=l.current,l.current=n}var Le=ve(null),Pe=ve(null),lt=ve(null),Je=ve(null);function nt(l,n){switch(Me(lt,n),Me(Pe,l),Me(Le,null),n.nodeType){case 9:case 11:l=(l=n.documentElement)&&(l=l.namespaceURI)?Ju(l):0;break;default:if(l=n.tagName,n=n.namespaceURI)n=Ju(n),l=Zo(n,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}de(Le),Me(Le,l)}function xt(){de(Le),de(Pe),de(lt)}function Rt(l){l.memoizedState!==null&&Me(Je,l);var n=Le.current,u=Zo(n,l.type);n!==u&&(Me(Pe,l),Me(Le,u))}function gl(l){Pe.current===l&&(de(Le),de(Pe)),Je.current===l&&(de(Je),Ca._currentValue=U)}var Ja=Object.prototype.hasOwnProperty,ue=v.unstable_scheduleCallback,he=v.unstable_cancelCallback,Se=v.unstable_shouldYield,Re=v.unstable_requestPaint,be=v.unstable_now,Oe=v.unstable_getCurrentPriorityLevel,xe=v.unstable_ImmediatePriority,Xe=v.unstable_UserBlockingPriority,Ue=v.unstable_NormalPriority,Qe=v.unstable_LowPriority,Fe=v.unstable_IdlePriority,Ye=v.log,at=v.unstable_setDisableYieldValue,Ot=null,Ne=null;function St(l){if(typeof Ye=="function"&&at(l),Ne&&typeof Ne.setStrictMode=="function")try{Ne.setStrictMode(Ot,l)}catch{}}var Tt=Math.clz32?Math.clz32:ma,wt=Math.log,Wt=Math.LN2;function ma(l){return l>>>=0,l===0?32:31-(wt(l)/Wt|0)|0}var Jl=256,Kl=4194304;function zl(l){var n=l&42;if(n!==0)return n;switch(l&-l){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 l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function gn(l,n,u){var c=l.pendingLanes;if(c===0)return 0;var r=0,f=l.suspendedLanes,p=l.pingedLanes;l=l.warmLanes;var y=c&134217727;return y!==0?(c=y&~f,c!==0?r=zl(c):(p&=y,p!==0?r=zl(p):u||(u=y&~l,u!==0&&(r=zl(u))))):(y=c&~f,y!==0?r=zl(y):p!==0?r=zl(p):u||(u=c&~l,u!==0&&(r=zl(u)))),r===0?0:n!==0&&n!==r&&(n&f)===0&&(f=r&-r,u=n&-n,f>=u||f===32&&(u&4194048)!==0)?n:r}function Ha(l,n){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&n)===0}function tl(l,n){switch(l){case 1:case 2:case 4:case 8:case 64:return n+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 n+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 wl(){var l=Jl;return Jl<<=1,(Jl&4194048)===0&&(Jl=256),l}function zu(){var l=Kl;return Kl<<=1,(Kl&62914560)===0&&(Kl=4194304),l}function Ka(l){for(var n=[],u=0;31>u;u++)n.push(l);return n}function ui(l,n){l.pendingLanes|=n,n!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function ua(l,n,u,c,r,f){var p=l.pendingLanes;l.pendingLanes=u,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=u,l.entangledLanes&=u,l.errorRecoveryDisabledLanes&=u,l.shellSuspendCounter=0;var y=l.entanglements,E=l.expirationTimes,N=l.hiddenUpdates;for(u=p&~u;0<u;){var I=31-Tt(u),ae=1<<I;y[I]=0,E[I]=-1;var _=N[I];if(_!==null)for(N[I]=null,I=0;I<_.length;I++){var j=_[I];j!==null&&(j.lane&=-536870913)}u&=~ae}c!==0&&Wa(l,c,0),f!==0&&r===0&&l.tag!==0&&(l.suspendedLanes|=f&~(p&~n))}function Wa(l,n,u){l.pendingLanes|=n,l.suspendedLanes&=~n;var c=31-Tt(n);l.entangledLanes|=n,l.entanglements[c]=l.entanglements[c]|1073741824|u&4194090}function _n(l,n){var u=l.entangledLanes|=n;for(l=l.entanglements;u;){var c=31-Tt(u),r=1<<c;r&n|l[c]&n&&(l[c]|=n),u&=~r}}function Wl(l){switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=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:l=128;break;case 268435456:l=134217728;break;default:l=0}return l}function Pr(l){return l&=-l,2<l?8<l?(l&134217727)!==0?32:268435456:8:2}function bm(){var l=R.p;return l!==0?l:(l=window.event,l===void 0?32:Cy(l.type))}function bv(l,n){var u=R.p;try{return R.p=l,n()}finally{R.p=u}}var vl=Math.random().toString(36).slice(2),Ol="__reactFiber$"+vl,ia="__reactProps$"+vl,to="__reactContainer$"+vl,ef="__reactEvents$"+vl,Sm="__reactListeners$"+vl,tf="__reactHandles$"+vl,Tm="__reactResources$"+vl,Be="__reactMarker$"+vl;function ms(l){delete l[Ol],delete l[ia],delete l[ef],delete l[Sm],delete l[tf]}function _l(l){var n=l[Ol];if(n)return n;for(var u=l.parentNode;u;){if(n=u[to]||u[Ol]){if(u=n.alternate,n.child!==null||u!==null&&u.child!==null)for(l=Xl(l);l!==null;){if(u=l[Ol])return u;l=Xl(l)}return n}l=u,u=l.parentNode}return null}function Ki(l){if(l=l[Ol]||l[to]){var n=l.tag;if(n===5||n===6||n===13||n===26||n===27||n===3)return l}return null}function gs(l){var n=l.tag;if(n===5||n===26||n===27||n===6)return l.stateNode;throw Error(T(33))}function Ou(l){var n=l[Tm];return n||(n=l[Tm]={hoistableStyles:new Map,hoistableScripts:new Map}),n}function bl(l){l[Be]=!0}var vs=new Set,Na={};function ii(l,n){ci(l,n),ci(l+"Capture",n)}function ci(l,n){for(Na[l]=n,l=0;l<n.length;l++)vs.add(n[l])}var Em=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]*$"),lf={},Oh={};function xm(l){return Ja.call(Oh,l)?!0:Ja.call(lf,l)?!1:Em.test(l)?Oh[l]=!0:(lf[l]=!0,!1)}function Mu(l,n,u){if(xm(n))if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":l.removeAttribute(n);return;case"boolean":var c=n.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){l.removeAttribute(n);return}}l.setAttribute(n,""+u)}}function bs(l,n,u){if(u===null)l.removeAttribute(n);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(n);return}l.setAttribute(n,""+u)}}function Bn(l,n,u,c){if(c===null)l.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttributeNS(n,u,""+c)}}var af,Mh;function Wi(l){if(af===void 0)try{throw Error()}catch(u){var n=u.stack.trim().match(/\n( *(at )?)/);af=n&&n[1]||"",Mh=-1<u.stack.indexOf(`
|
|
47
|
+
at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
48
|
+
`+af+l+Mh}var ca=!1;function oi(l,n){if(!l||ca)return"";ca=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(n){var ae=function(){throw Error()};if(Object.defineProperty(ae.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ae,[])}catch(j){var _=j}Reflect.construct(l,[],ae)}else{try{ae.call()}catch(j){_=j}l.call(ae.prototype)}}else{try{throw Error()}catch(j){_=j}(ae=l())&&typeof ae.catch=="function"&&ae.catch(function(){})}}catch(j){if(j&&_&&typeof j.stack=="string")return[j.stack,_.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=c.DetermineComponentFrameRoot(),p=f[0],y=f[1];if(p&&y){var E=p.split(`
|
|
49
|
+
`),N=y.split(`
|
|
50
|
+
`);for(r=c=0;c<E.length&&!E[c].includes("DetermineComponentFrameRoot");)c++;for(;r<N.length&&!N[r].includes("DetermineComponentFrameRoot");)r++;if(c===E.length||r===N.length)for(c=E.length-1,r=N.length-1;1<=c&&0<=r&&E[c]!==N[r];)r--;for(;1<=c&&0<=r;c--,r--)if(E[c]!==N[r]){if(c!==1||r!==1)do if(c--,r--,0>r||E[c]!==N[r]){var I=`
|
|
51
|
+
`+E[c].replace(" at new "," at ");return l.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",l.displayName)),I}while(1<=c&&0<=r);break}}}finally{ca=!1,Error.prepareStackTrace=u}return(u=l?l.displayName||l.name:"")?Wi(u):""}function Fi(l){switch(l.tag){case 26:case 27:case 5:return Wi(l.type);case 16:return Wi("Lazy");case 13:return Wi("Suspense");case 19:return Wi("SuspenseList");case 0:case 15:return oi(l.type,!1);case 11:return oi(l.type.render,!1);case 1:return oi(l.type,!0);case 31:return Wi("Activity");default:return""}}function Rh(l){try{var n="";do n+=Fi(l),l=l.return;while(l);return n}catch(u){return`
|
|
52
|
+
Error generating stack: `+u.message+`
|
|
53
|
+
`+u.stack}}function Fl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function Ss(l){var n=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ch(l){var n=Ss(l)?"checked":"value",u=Object.getOwnPropertyDescriptor(l.constructor.prototype,n),c=""+l[n];if(!l.hasOwnProperty(n)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var r=u.get,f=u.set;return Object.defineProperty(l,n,{configurable:!0,get:function(){return r.call(this)},set:function(p){c=""+p,f.call(this,p)}}),Object.defineProperty(l,n,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(p){c=""+p},stopTracking:function(){l._valueTracker=null,delete l[n]}}}}function si(l){l._valueTracker||(l._valueTracker=Ch(l))}function Ii(l){if(!l)return!1;var n=l._valueTracker;if(!n)return!0;var u=n.getValue(),c="";return l&&(c=Ss(l)?l.checked?"true":"false":l.value),l=c,l!==u?(n.setValue(l),!0):!1}function lo(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Sv=/[\n"\\]/g;function Fa(l){return l.replace(Sv,function(n){return"\\"+n.charCodeAt(0).toString(16)+" "})}function nf(l,n,u,c,r,f,p,y){l.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?l.type=p:l.removeAttribute("type"),n!=null?p==="number"?(n===0&&l.value===""||l.value!=n)&&(l.value=""+Fl(n)):l.value!==""+Fl(n)&&(l.value=""+Fl(n)):p!=="submit"&&p!=="reset"||l.removeAttribute("value"),n!=null?Ts(l,p,Fl(n)):u!=null?Ts(l,p,Fl(u)):c!=null&&l.removeAttribute("value"),r==null&&f!=null&&(l.defaultChecked=!!f),r!=null&&(l.checked=r&&typeof r!="function"&&typeof r!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?l.name=""+Fl(y):l.removeAttribute("name")}function uf(l,n,u,c,r,f,p,y){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(l.type=f),n!=null||u!=null){if(!(f!=="submit"&&f!=="reset"||n!=null))return;u=u!=null?""+Fl(u):"",n=n!=null?""+Fl(n):u,y||n===l.value||(l.value=n),l.defaultValue=n}c=c??r,c=typeof c!="function"&&typeof c!="symbol"&&!!c,l.checked=y?l.checked:!!c,l.defaultChecked=!!c,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(l.name=p)}function Ts(l,n,u){n==="number"&&lo(l.ownerDocument)===l||l.defaultValue===""+u||(l.defaultValue=""+u)}function Pi(l,n,u,c){if(l=l.options,n){n={};for(var r=0;r<u.length;r++)n["$"+u[r]]=!0;for(u=0;u<l.length;u++)r=n.hasOwnProperty("$"+l[u].value),l[u].selected!==r&&(l[u].selected=r),r&&c&&(l[u].defaultSelected=!0)}else{for(u=""+Fl(u),n=null,r=0;r<l.length;r++){if(l[r].value===u){l[r].selected=!0,c&&(l[r].defaultSelected=!0);return}n!==null||l[r].disabled||(n=l[r])}n!==null&&(n.selected=!0)}}function Uh(l,n,u){if(n!=null&&(n=""+Fl(n),n!==l.value&&(l.value=n),u==null)){l.defaultValue!==n&&(l.defaultValue=n);return}l.defaultValue=u!=null?""+Fl(u):""}function Hh(l,n,u,c){if(n==null){if(c!=null){if(u!=null)throw Error(T(92));if(K(c)){if(1<c.length)throw Error(T(93));c=c[0]}u=c}u==null&&(u=""),n=u}u=Fl(n),l.defaultValue=u,c=l.textContent,c===u&&c!==""&&c!==null&&(l.value=c)}function ao(l,n){if(n){var u=l.firstChild;if(u&&u===l.lastChild&&u.nodeType===3){u.nodeValue=n;return}}l.textContent=n}var Am=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 cf(l,n,u){var c=n.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?l.setProperty(n,""):n==="float"?l.cssFloat="":l[n]="":c?l.setProperty(n,u):typeof u!="number"||u===0||Am.has(n)?n==="float"?l.cssFloat=u:l[n]=(""+u).trim():l[n]=u+"px"}function Es(l,n,u){if(n!=null&&typeof n!="object")throw Error(T(62));if(l=l.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||n!=null&&n.hasOwnProperty(c)||(c.indexOf("--")===0?l.setProperty(c,""):c==="float"?l.cssFloat="":l[c]="");for(var r in n)c=n[r],n.hasOwnProperty(r)&&u[r]!==c&&cf(l,r,c)}else for(var f in n)n.hasOwnProperty(f)&&cf(l,f,n[f])}function ec(l){if(l.indexOf("-")===-1)return!1;switch(l){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 Tv=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"]]),Dm=/^[\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 xs(l){return Dm.test(""+l)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":l}var tc=null;function of(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var no=null,uo=null;function zm(l){var n=Ki(l);if(n&&(l=n.stateNode)){var u=l[ia]||null;e:switch(l=n.stateNode,n.type){case"input":if(nf(l,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),n=u.name,u.type==="radio"&&n!=null){for(u=l;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+Fa(""+n)+'"][type="radio"]'),n=0;n<u.length;n++){var c=u[n];if(c!==l&&c.form===l.form){var r=c[ia]||null;if(!r)throw Error(T(90));nf(c,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(n=0;n<u.length;n++)c=u[n],c.form===l.form&&Ii(c)}break e;case"textarea":Uh(l,u.value,u.defaultValue);break e;case"select":n=u.value,n!=null&&Pi(l,!!u.multiple,n,!1)}}}var Nh=!1;function io(l,n,u){if(Nh)return l(n,u);Nh=!0;try{var c=l(n);return c}finally{if(Nh=!1,(no!==null||uo!==null)&&(Nc(),no&&(n=no,l=uo,uo=no=null,zm(n),l)))for(n=0;n<l.length;n++)zm(l[n])}}function lc(l,n){var u=l.stateNode;if(u===null)return null;var c=u[ia]||null;if(c===null)return null;u=c[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(l=l.type,c=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!c;break e;default:l=!1}if(l)return null;if(u&&typeof u!="function")throw Error(T(231,n,typeof u));return u}var jn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sf=!1;if(jn)try{var Ru={};Object.defineProperty(Ru,"passive",{get:function(){sf=!0}}),window.addEventListener("test",Ru,Ru),window.removeEventListener("test",Ru,Ru)}catch{sf=!1}var Cu=null,co=null,ac=null;function qh(){if(ac)return ac;var l,n=co,u=n.length,c,r="value"in Cu?Cu.value:Cu.textContent,f=r.length;for(l=0;l<u&&n[l]===r[l];l++);var p=u-l;for(c=1;c<=p&&n[u-c]===r[f-c];c++);return ac=r.slice(l,1<c?1-c:void 0)}function Bl(l){var n=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&n===13&&(l=13)):l=n,l===10&&(l=13),32<=l||l===13?l:0}function rf(){return!0}function ff(){return!1}function oa(l){function n(u,c,r,f,p){this._reactName=u,this._targetInst=r,this.type=c,this.nativeEvent=f,this.target=p,this.currentTarget=null;for(var y in l)l.hasOwnProperty(y)&&(u=l[y],this[y]=u?u(f):f[y]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?rf:ff,this.isPropagationStopped=ff,this}return w(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=rf)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=rf)},persist:function(){},isPersistent:rf}),n}var ri={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},df=oa(ri),As=w({},ri,{view:0,detail:0}),Om=oa(As),wh,hf,Ds,nc=w({},As,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uu,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ds&&(Ds&&l.type==="mousemove"?(wh=l.screenX-Ds.screenX,hf=l.screenY-Ds.screenY):hf=wh=0,Ds=l),wh)},movementY:function(l){return"movementY"in l?l.movementY:hf}}),_h=oa(nc),Mm=w({},nc,{dataTransfer:0}),Rm=oa(Mm),Ev=w({},As,{relatedTarget:0}),Bh=oa(Ev),xv=w({},ri,{animationName:0,elapsedTime:0,pseudoElement:0}),Av=oa(xv),Dv=w({},ri,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),zs=oa(Dv),Cm=w({},ri,{data:0}),jh=oa(Cm),Um={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Hm={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"},Vh={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nm(l){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(l):(l=Vh[l])?!!n[l]:!1}function Uu(){return Nm}var uc=w({},As,{key:function(l){if(l.key){var n=Um[l.key]||l.key;if(n!=="Unidentified")return n}return l.type==="keypress"?(l=Bl(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?Hm[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uu,charCode:function(l){return l.type==="keypress"?Bl(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?Bl(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),vn=oa(uc),qa=w({},nc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Os=oa(qa),pf=w({},As,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uu}),Gh=oa(pf),ga=w({},ri,{propertyName:0,elapsedTime:0,pseudoElement:0}),qm=oa(ga),yf=w({},nc,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),ic=oa(yf),Yh=w({},ri,{newState:0,oldState:0}),wm=oa(Yh),_m=[9,13,27,32],Ms=jn&&"CompositionEvent"in window,Rs=null;jn&&"documentMode"in document&&(Rs=document.documentMode);var Lh=jn&&"TextEvent"in window&&!Rs,Vn=jn&&(!Ms||Rs&&8<Rs&&11>=Rs),Xh=" ",mf=!1;function Cs(l,n){switch(l){case"keyup":return _m.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fi(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var di=!1;function kh(l,n){switch(l){case"compositionend":return fi(n);case"keypress":return n.which!==32?null:(mf=!0,Xh);case"textInput":return l=n.data,l===Xh&&mf?null:l;default:return null}}function cc(l,n){if(di)return l==="compositionend"||!Ms&&Cs(l,n)?(l=qh(),ac=co=Cu=null,di=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return Vn&&n.locale!=="ko"?null:n.data;default:return null}}var Bm={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 gf(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n==="input"?!!Bm[l.type]:n==="textarea"}function vf(l,n,u,c){no?uo?uo.push(c):uo=[c]:no=c,n=Qo(n,"onChange"),0<n.length&&(u=new df("onChange","change",null,u,c),l.push({event:u,listeners:n}))}var bn=null,Sn=null;function Qh(l){Bc(l,0)}function Gn(l){var n=gs(l);if(Ii(n))return l}function Zh(l,n){if(l==="change")return n}var $h=!1;if(jn){var oc;if(jn){var sc="oninput"in document;if(!sc){var Jh=document.createElement("div");Jh.setAttribute("oninput","return;"),sc=typeof Jh.oninput=="function"}oc=sc}else oc=!1;$h=oc&&(!document.documentMode||9<document.documentMode)}function oo(){bn&&(bn.detachEvent("onpropertychange",Kh),Sn=bn=null)}function Kh(l){if(l.propertyName==="value"&&Gn(Sn)){var n=[];vf(n,Sn,l,of(l)),io(Qh,n)}}function bf(l,n,u){l==="focusin"?(oo(),bn=n,Sn=u,bn.attachEvent("onpropertychange",Kh)):l==="focusout"&&oo()}function hi(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return Gn(Sn)}function Hu(l,n){if(l==="click")return Gn(n)}function Wh(l,n){if(l==="input"||l==="change")return Gn(n)}function Fh(l,n){return l===n&&(l!==0||1/l===1/n)||l!==l&&n!==n}var jl=typeof Object.is=="function"?Object.is:Fh;function pi(l,n){if(jl(l,n))return!0;if(typeof l!="object"||l===null||typeof n!="object"||n===null)return!1;var u=Object.keys(l),c=Object.keys(n);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var r=u[c];if(!Ja.call(n,r)||!jl(l[r],n[r]))return!1}return!0}function yi(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function Zt(l,n){var u=yi(l);l=0;for(var c;u;){if(u.nodeType===3){if(c=l+u.textContent.length,l<=n&&c>=n)return{node:u,offset:n-l};l=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=yi(u)}}function Us(l,n){return l&&n?l===n?!0:l&&l.nodeType===3?!1:n&&n.nodeType===3?Us(l,n.parentNode):"contains"in l?l.contains(n):l.compareDocumentPosition?!!(l.compareDocumentPosition(n)&16):!1:!1}function Ih(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var n=lo(l.document);n instanceof l.HTMLIFrameElement;){try{var u=typeof n.contentWindow.location.href=="string"}catch{u=!1}if(u)l=n.contentWindow;else break;n=lo(l.document)}return n}function Hs(l){var n=l&&l.nodeName&&l.nodeName.toLowerCase();return n&&(n==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||n==="textarea"||l.contentEditable==="true")}var rc=jn&&"documentMode"in document&&11>=document.documentMode,Yn=null,Tn=null,mi=null,fc=!1;function Sf(l,n,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;fc||Yn==null||Yn!==lo(c)||(c=Yn,"selectionStart"in c&&Hs(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),mi&&pi(mi,c)||(mi=c,c=Qo(Tn,"onSelect"),0<c.length&&(n=new df("onSelect","select",null,n,u),l.push({event:n,listeners:c}),n.target=Yn)))}function Nu(l,n){var u={};return u[l.toLowerCase()]=n.toLowerCase(),u["Webkit"+l]="webkit"+n,u["Moz"+l]="moz"+n,u}var dc={animationend:Nu("Animation","AnimationEnd"),animationiteration:Nu("Animation","AnimationIteration"),animationstart:Nu("Animation","AnimationStart"),transitionrun:Nu("Transition","TransitionRun"),transitionstart:Nu("Transition","TransitionStart"),transitioncancel:Nu("Transition","TransitionCancel"),transitionend:Nu("Transition","TransitionEnd")},Ia={},En={};jn&&(En=document.createElement("div").style,"AnimationEvent"in window||(delete dc.animationend.animation,delete dc.animationiteration.animation,delete dc.animationstart.animation),"TransitionEvent"in window||delete dc.transitionend.transition);function Ln(l){if(Ia[l])return Ia[l];if(!dc[l])return l;var n=dc[l],u;for(u in n)if(n.hasOwnProperty(u)&&u in En)return Ia[l]=n[u];return l}var jm=Ln("animationend"),Ph=Ln("animationiteration"),Vm=Ln("animationstart"),ep=Ln("transitionrun"),Tf=Ln("transitionstart"),Gm=Ln("transitioncancel"),tp=Ln("transitionend"),lp=new Map,so="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(" ");so.push("scrollEnd");function Pa(l,n){lp.set(l,n),ii(n,[l])}var ap=new WeakMap;function wa(l,n){if(typeof l=="object"&&l!==null){var u=ap.get(l);return u!==void 0?u:(n={value:l,source:n,stack:Rh(n)},ap.set(l,n),n)}return{value:l,source:n,stack:Rh(n)}}var va=[],gi=0,Xn=0;function xn(){for(var l=gi,n=Xn=gi=0;n<l;){var u=va[n];va[n++]=null;var c=va[n];va[n++]=null;var r=va[n];va[n++]=null;var f=va[n];if(va[n++]=null,c!==null&&r!==null){var p=c.pending;p===null?r.next=r:(r.next=p.next,p.next=r),c.pending=r}f!==0&&fo(u,r,f)}}function vi(l,n,u,c){va[gi++]=l,va[gi++]=n,va[gi++]=u,va[gi++]=c,Xn|=c,l.lanes|=c,l=l.alternate,l!==null&&(l.lanes|=c)}function ro(l,n,u,c){return vi(l,n,u,c),Ns(l)}function kn(l,n){return vi(l,null,null,n),Ns(l)}function fo(l,n,u){l.lanes|=u;var c=l.alternate;c!==null&&(c.lanes|=u);for(var r=!1,f=l.return;f!==null;)f.childLanes|=u,c=f.alternate,c!==null&&(c.childLanes|=u),f.tag===22&&(l=f.stateNode,l===null||l._visibility&1||(r=!0)),l=f,f=f.return;return l.tag===3?(f=l.stateNode,r&&n!==null&&(r=31-Tt(u),l=f.hiddenUpdates,c=l[r],c===null?l[r]=[n]:c.push(n),n.lane=u|536870912),f):null}function Ns(l){if(50<Vo)throw Vo=0,ay=null,Error(T(185));for(var n=l.return;n!==null;)l=n,n=l.return;return l.tag===3?l.stateNode:null}var ho={};function Ym(l,n,u,c){this.tag=l,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ba(l,n,u,c){return new Ym(l,n,u,c)}function qs(l){return l=l.prototype,!(!l||!l.isReactComponent)}function An(l,n){var u=l.alternate;return u===null?(u=ba(l.tag,n,l.key,l.mode),u.elementType=l.elementType,u.type=l.type,u.stateNode=l.stateNode,u.alternate=l,l.alternate=u):(u.pendingProps=n,u.type=l.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=l.flags&65011712,u.childLanes=l.childLanes,u.lanes=l.lanes,u.child=l.child,u.memoizedProps=l.memoizedProps,u.memoizedState=l.memoizedState,u.updateQueue=l.updateQueue,n=l.dependencies,u.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},u.sibling=l.sibling,u.index=l.index,u.ref=l.ref,u.refCleanup=l.refCleanup,u}function ht(l,n){l.flags&=65011714;var u=l.alternate;return u===null?(l.childLanes=0,l.lanes=n,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,n=u.dependencies,l.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext}),l}function me(l,n,u,c,r,f){var p=0;if(c=l,typeof l=="function")qs(l)&&(p=1);else if(typeof l=="string")p=Tg(l,u,Le.current)?26:l==="html"||l==="head"||l==="body"?27:5;else e:switch(l){case ce:return l=ba(31,u,n,r),l.elementType=ce,l.lanes=f,l;case V:return en(u.children,r,f,n);case ze:p=8,r|=24;break;case $:return l=ba(12,u,n,r|2),l.elementType=$,l.lanes=f,l;case qe:return l=ba(13,u,n,r),l.elementType=qe,l.lanes=f,l;case ge:return l=ba(19,u,n,r),l.elementType=ge,l.lanes=f,l;default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case le:case oe:p=10;break e;case ie:p=9;break e;case se:p=11;break e;case Ee:p=14;break e;case Ge:p=16,c=null;break e}p=29,u=Error(T(130,l===null?"null":typeof l,"")),c=null}return n=ba(p,u,n,r),n.elementType=l,n.type=c,n.lanes=f,n}function en(l,n,u,c){return l=ba(7,l,c,n),l.lanes=u,l}function po(l,n,u){return l=ba(6,l,null,n),l.lanes=u,l}function ll(l,n,u){return n=ba(4,l.children!==null?l.children:[],l.key,n),n.lanes=u,n.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},n}var bi=[],Si=0,ws=null,yo=0,tn=[],Sa=0,qu=null,Dn=1,ul="";function At(l,n){bi[Si++]=yo,bi[Si++]=ws,ws=l,yo=n}function Ef(l,n,u){tn[Sa++]=Dn,tn[Sa++]=ul,tn[Sa++]=qu,qu=l;var c=Dn;l=ul;var r=32-Tt(c)-1;c&=~(1<<r),u+=1;var f=32-Tt(n)+r;if(30<f){var p=r-r%5;f=(c&(1<<p)-1).toString(32),c>>=p,r-=p,Dn=1<<32-Tt(n)+r|u<<r|c,ul=f+l}else Dn=1<<f|u<<r|c,ul=l}function hc(l){l.return!==null&&(At(l,1),Ef(l,1,0))}function Qn(l){for(;l===ws;)ws=bi[--Si],bi[Si]=null,yo=bi[--Si],bi[Si]=null;for(;l===qu;)qu=tn[--Sa],tn[Sa]=null,ul=tn[--Sa],tn[Sa]=null,Dn=tn[--Sa],tn[Sa]=null}var hl=null,Ct=null,Mt=!1,ln=null,an=!1,pc=Error(T(519));function wu(l){var n=Error(T(418,""));throw vo(wa(n,l)),pc}function _s(l){var n=l.stateNode,u=l.type,c=l.memoizedProps;switch(n[Ol]=l,n[ia]=c,u){case"dialog":ot("cancel",n),ot("close",n);break;case"iframe":case"object":case"embed":ot("load",n);break;case"video":case"audio":for(u=0;u<Tr.length;u++)ot(Tr[u],n);break;case"source":ot("error",n);break;case"img":case"image":case"link":ot("error",n),ot("load",n);break;case"details":ot("toggle",n);break;case"input":ot("invalid",n),uf(n,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),si(n);break;case"select":ot("invalid",n);break;case"textarea":ot("invalid",n),Hh(n,c.value,c.defaultValue,c.children),si(n)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||n.textContent===""+u||c.suppressHydrationWarning===!0||gy(n.textContent,u)?(c.popover!=null&&(ot("beforetoggle",n),ot("toggle",n)),c.onScroll!=null&&ot("scroll",n),c.onScrollEnd!=null&&ot("scrollend",n),c.onClick!=null&&(n.onclick=Hd),n=!0):n=!1,n||wu(l)}function np(l){for(hl=l.return;hl;)switch(hl.tag){case 5:case 13:an=!1;return;case 27:case 3:an=!0;return;default:hl=hl.return}}function mo(l){if(l!==hl)return!1;if(!Mt)return np(l),Mt=!0,!1;var n=l.tag,u;if((u=n!==3&&n!==27)&&((u=n===5)&&(u=l.type,u=!(u!=="form"&&u!=="button")||fu(l.type,l.memoizedProps)),u=!u),u&&Ct&&wu(l),np(l),n===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(T(317));e:{for(l=l.nextSibling,n=0;l;){if(l.nodeType===8)if(u=l.data,u==="/$"){if(n===0){Ct=Un(l.nextSibling);break e}n--}else u!=="$"&&u!=="$!"&&u!=="$?"||n++;l=l.nextSibling}Ct=null}}else n===27?(n=Ct,ji(l.type)?(l=Vi,Vi=null,Ct=l):Ct=n):Ct=hl?Un(l.stateNode.nextSibling):null;return!0}function go(){Ct=hl=null,Mt=!1}function up(){var l=ln;return l!==null&&(za===null?za=l:za.push.apply(za,l),ln=null),l}function vo(l){ln===null?ln=[l]:ln.push(l)}var Bs=ve(null),_u=null,zn=null;function Bu(l,n,u){Me(Bs,n._currentValue),n._currentValue=u}function Zn(l){l._currentValue=Bs.current,de(Bs)}function xf(l,n,u){for(;l!==null;){var c=l.alternate;if((l.childLanes&n)!==n?(l.childLanes|=n,c!==null&&(c.childLanes|=n)):c!==null&&(c.childLanes&n)!==n&&(c.childLanes|=n),l===u)break;l=l.return}}function ip(l,n,u,c){var r=l.child;for(r!==null&&(r.return=l);r!==null;){var f=r.dependencies;if(f!==null){var p=r.child;f=f.firstContext;e:for(;f!==null;){var y=f;f=r;for(var E=0;E<n.length;E++)if(y.context===n[E]){f.lanes|=u,y=f.alternate,y!==null&&(y.lanes|=u),xf(f.return,u,l),c||(p=null);break e}f=y.next}}else if(r.tag===18){if(p=r.return,p===null)throw Error(T(341));p.lanes|=u,f=p.alternate,f!==null&&(f.lanes|=u),xf(p,u,l),p=null}else p=r.child;if(p!==null)p.return=r;else for(p=r;p!==null;){if(p===l){p=null;break}if(r=p.sibling,r!==null){r.return=p.return,p=r;break}p=p.return}r=p}}function bo(l,n,u,c){l=null;for(var r=n,f=!1;r!==null;){if(!f){if((r.flags&524288)!==0)f=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var p=r.alternate;if(p===null)throw Error(T(387));if(p=p.memoizedProps,p!==null){var y=r.type;jl(r.pendingProps.value,p.value)||(l!==null?l.push(y):l=[y])}}else if(r===Je.current){if(p=r.alternate,p===null)throw Error(T(387));p.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(l!==null?l.push(Ca):l=[Ca])}r=r.return}l!==null&&ip(n,l,u,c),n.flags|=262144}function js(l){for(l=l.firstContext;l!==null;){if(!jl(l.context._currentValue,l.memoizedValue))return!0;l=l.next}return!1}function Ti(l){_u=l,zn=null,l=l.dependencies,l!==null&&(l.firstContext=null)}function Ml(l){return cp(_u,l)}function Vs(l,n){return _u===null&&Ti(l),cp(l,n)}function cp(l,n){var u=n._currentValue;if(n={context:n,memoizedValue:u,next:null},zn===null){if(l===null)throw Error(T(308));zn=n,l.dependencies={lanes:0,firstContext:n},l.flags|=524288}else zn=zn.next=n;return u}var So=typeof AbortController<"u"?AbortController:function(){var l=[],n=this.signal={aborted:!1,addEventListener:function(u,c){l.push(c)}};this.abort=function(){n.aborted=!0,l.forEach(function(u){return u()})}},Af=v.unstable_scheduleCallback,Lm=v.unstable_NormalPriority,Sl={$$typeof:oe,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function To(){return{controller:new So,data:new Map,refCount:0}}function $n(l){l.refCount--,l.refCount===0&&Af(Lm,function(){l.controller.abort()})}var Ei=null,Gs=0,nn=0,Tl=null;function Df(l,n){if(Ei===null){var u=Ei=[];Gs=0,nn=_c(),Tl={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Gs++,n.then(zf,zf),n}function zf(){if(--Gs===0&&Ei!==null){Tl!==null&&(Tl.status="fulfilled");var l=Ei;Ei=null,nn=0,Tl=null;for(var n=0;n<l.length;n++)(0,l[n])()}}function Xm(l,n){var u=[],c={status:"pending",value:null,reason:null,then:function(r){u.push(r)}};return l.then(function(){c.status="fulfilled",c.value=n;for(var r=0;r<u.length;r++)(0,u[r])(n)},function(r){for(c.status="rejected",c.reason=r,r=0;r<u.length;r++)(0,u[r])(void 0)}),c}var Of=S.S;S.S=function(l,n){typeof n=="object"&&n!==null&&typeof n.then=="function"&&Df(l,n),Of!==null&&Of(l,n)};var Jn=ve(null);function Ys(){var l=Jn.current;return l!==null?l:kt.pooledCache}function yc(l,n){n===null?Me(Jn,Jn.current):Me(Jn,n.pool)}function Mf(){var l=Ys();return l===null?null:{parent:Sl._currentValue,pool:l}}var xi=Error(T(460)),Rf=Error(T(474)),Ls=Error(T(542)),Cf={then:function(){}};function Uf(l){return l=l.status,l==="fulfilled"||l==="rejected"}function Xs(){}function op(l,n,u){switch(u=l[u],u===void 0?l.push(n):u!==n&&(n.then(Xs,Xs),n=u),n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,rp(l),l;default:if(typeof n.status=="string")n.then(Xs,Xs);else{if(l=kt,l!==null&&100<l.shellSuspendCounter)throw Error(T(482));l=n,l.status="pending",l.then(function(c){if(n.status==="pending"){var r=n;r.status="fulfilled",r.value=c}},function(c){if(n.status==="pending"){var r=n;r.status="rejected",r.reason=c}})}switch(n.status){case"fulfilled":return n.value;case"rejected":throw l=n.reason,rp(l),l}throw mc=n,xi}}var mc=null;function sp(){if(mc===null)throw Error(T(459));var l=mc;return mc=null,l}function rp(l){if(l===xi||l===Ls)throw Error(T(483))}var Kn=!1;function Hf(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Nf(l,n){l=l.updateQueue,n.updateQueue===l&&(n.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,callbacks:null})}function Ta(l){return{lane:l,tag:0,payload:null,callback:null,next:null}}function Wn(l,n,u){var c=l.updateQueue;if(c===null)return null;if(c=c.shared,(Bt&2)!==0){var r=c.pending;return r===null?n.next=n:(n.next=r.next,r.next=n),c.pending=n,n=Ns(l),fo(l,null,u),n}return vi(l,c,n,u),Ns(l)}function gc(l,n,u){if(n=n.updateQueue,n!==null&&(n=n.shared,(u&4194048)!==0)){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,_n(l,u)}}function fp(l,n){var u=l.updateQueue,c=l.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var r=null,f=null;if(u=u.firstBaseUpdate,u!==null){do{var p={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};f===null?r=f=p:f=f.next=p,u=u.next}while(u!==null);f===null?r=f=n:f=f.next=n}else r=f=n;u={baseState:c.baseState,firstBaseUpdate:r,lastBaseUpdate:f,shared:c.shared,callbacks:c.callbacks},l.updateQueue=u;return}l=u.lastBaseUpdate,l===null?u.firstBaseUpdate=n:l.next=n,u.lastBaseUpdate=n}var dp=!1;function Eo(){if(dp){var l=Tl;if(l!==null)throw l}}function ju(l,n,u,c){dp=!1;var r=l.updateQueue;Kn=!1;var f=r.firstBaseUpdate,p=r.lastBaseUpdate,y=r.shared.pending;if(y!==null){r.shared.pending=null;var E=y,N=E.next;E.next=null,p===null?f=N:p.next=N,p=E;var I=l.alternate;I!==null&&(I=I.updateQueue,y=I.lastBaseUpdate,y!==p&&(y===null?I.firstBaseUpdate=N:y.next=N,I.lastBaseUpdate=E))}if(f!==null){var ae=r.baseState;p=0,I=N=E=null,y=f;do{var _=y.lane&-536870913,j=_!==y.lane;if(j?(vt&_)===_:(c&_)===_){_!==0&&_===nn&&(dp=!0),I!==null&&(I=I.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var Ze=l,$e=y;_=n;var Ht=u;switch($e.tag){case 1:if(Ze=$e.payload,typeof Ze=="function"){ae=Ze.call(Ht,ae,_);break e}ae=Ze;break e;case 3:Ze.flags=Ze.flags&-65537|128;case 0:if(Ze=$e.payload,_=typeof Ze=="function"?Ze.call(Ht,ae,_):Ze,_==null)break e;ae=w({},ae,_);break e;case 2:Kn=!0}}_=y.callback,_!==null&&(l.flags|=64,j&&(l.flags|=8192),j=r.callbacks,j===null?r.callbacks=[_]:j.push(_))}else j={lane:_,tag:y.tag,payload:y.payload,callback:y.callback,next:null},I===null?(N=I=j,E=ae):I=I.next=j,p|=_;if(y=y.next,y===null){if(y=r.shared.pending,y===null)break;j=y,y=j.next,j.next=null,r.lastBaseUpdate=j,r.shared.pending=null}}while(!0);I===null&&(E=ae),r.baseState=E,r.firstBaseUpdate=N,r.lastBaseUpdate=I,f===null&&(r.shared.lanes=0),Qu|=p,l.lanes=p,l.memoizedState=ae}}function qf(l,n){if(typeof l!="function")throw Error(T(191,l));l.call(n)}function ks(l,n){var u=l.callbacks;if(u!==null)for(l.callbacks=null,l=0;l<u.length;l++)qf(u[l],n)}var vc=ve(null),Qs=ve(0);function Rl(l,n){l=ku,Me(Qs,l),Me(vc,n),ku=l|n.baseLanes}function xo(){Me(Qs,ku),Me(vc,vc.current)}function Ao(){ku=Qs.current,de(vc),de(Qs)}var un=0,ct=null,_t=null,al=null,Zs=!1,_a=!1,Ai=!1,On=0,Ba=0,Vu=null,hp=0;function nl(){throw Error(T(321))}function wf(l,n){if(n===null)return!1;for(var u=0;u<n.length&&u<l.length;u++)if(!jl(l[u],n[u]))return!1;return!0}function _f(l,n,u,c,r,f){return un=f,ct=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,S.H=l===null||l.memoizedState===null?Mp:Rp,Ai=!1,f=u(c,r),Ai=!1,_a&&(f=pp(n,u,c,r)),Di(l),f}function Di(l){S.H=Pf;var n=_t!==null&&_t.next!==null;if(un=0,al=_t=ct=null,Zs=!1,Ba=0,Vu=null,n)throw Error(T(300));l===null||El||(l=l.dependencies,l!==null&&js(l)&&(El=!0))}function pp(l,n,u,c){ct=l;var r=0;do{if(_a&&(Vu=null),Ba=0,_a=!1,25<=r)throw Error(T(301));if(r+=1,al=_t=null,l.updateQueue!=null){var f=l.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}S.H=Gu,f=n(u,c)}while(_a);return f}function km(){var l=S.H,n=l.useState()[0];return n=typeof n.then=="function"?Js(n):n,l=l.useState()[0],(_t!==null?_t.memoizedState:null)!==l&&(ct.flags|=1024),n}function Bf(){var l=On!==0;return On=0,l}function Do(l,n,u){n.updateQueue=l.updateQueue,n.flags&=-2053,l.lanes&=~u}function jf(l){if(Zs){for(l=l.memoizedState;l!==null;){var n=l.queue;n!==null&&(n.pending=null),l=l.next}Zs=!1}un=0,al=_t=ct=null,_a=!1,Ba=On=0,Vu=null}function Il(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return al===null?ct.memoizedState=al=l:al=al.next=l,al}function il(){if(_t===null){var l=ct.alternate;l=l!==null?l.memoizedState:null}else l=_t.next;var n=al===null?ct.memoizedState:al.next;if(n!==null)al=n,_t=l;else{if(l===null)throw ct.alternate===null?Error(T(467)):Error(T(310));_t=l,l={memoizedState:_t.memoizedState,baseState:_t.baseState,baseQueue:_t.baseQueue,queue:_t.queue,next:null},al===null?ct.memoizedState=al=l:al=al.next=l}return al}function $s(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Js(l){var n=Ba;return Ba+=1,Vu===null&&(Vu=[]),l=op(Vu,l,n),n=ct,(al===null?n.memoizedState:al.next)===null&&(n=n.alternate,S.H=n===null||n.memoizedState===null?Mp:Rp),l}function pl(l){if(l!==null&&typeof l=="object"){if(typeof l.then=="function")return Js(l);if(l.$$typeof===oe)return Ml(l)}throw Error(T(438,String(l)))}function Vf(l){var n=null,u=ct.updateQueue;if(u!==null&&(n=u.memoCache),n==null){var c=ct.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(n={data:c.data.map(function(r){return r.slice()}),index:0})))}if(n==null&&(n={data:[],index:0}),u===null&&(u=$s(),ct.updateQueue=u),u.memoCache=n,u=n.data[n.index],u===void 0)for(u=n.data[n.index]=Array(l),c=0;c<l;c++)u[c]=we;return n.index++,u}function Fn(l,n){return typeof n=="function"?n(l):n}function Ks(l){var n=il();return Gf(n,_t,l)}function Gf(l,n,u){var c=l.queue;if(c===null)throw Error(T(311));c.lastRenderedReducer=u;var r=l.baseQueue,f=c.pending;if(f!==null){if(r!==null){var p=r.next;r.next=f.next,f.next=p}n.baseQueue=r=f,c.pending=null}if(f=l.baseState,r===null)l.memoizedState=f;else{n=r.next;var y=p=null,E=null,N=n,I=!1;do{var ae=N.lane&-536870913;if(ae!==N.lane?(vt&ae)===ae:(un&ae)===ae){var _=N.revertLane;if(_===0)E!==null&&(E=E.next={lane:0,revertLane:0,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null}),ae===nn&&(I=!0);else if((un&_)===_){N=N.next,_===nn&&(I=!0);continue}else ae={lane:0,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(y=E=ae,p=f):E=E.next=ae,ct.lanes|=_,Qu|=_;ae=N.action,Ai&&u(f,ae),f=N.hasEagerState?N.eagerState:u(f,ae)}else _={lane:ae,revertLane:N.revertLane,action:N.action,hasEagerState:N.hasEagerState,eagerState:N.eagerState,next:null},E===null?(y=E=_,p=f):E=E.next=_,ct.lanes|=ae,Qu|=ae;N=N.next}while(N!==null&&N!==n);if(E===null?p=f:E.next=y,!jl(f,l.memoizedState)&&(El=!0,I&&(u=Tl,u!==null)))throw u;l.memoizedState=f,l.baseState=p,l.baseQueue=E,c.lastRenderedState=f}return r===null&&(c.lanes=0),[l.memoizedState,c.dispatch]}function Yf(l){var n=il(),u=n.queue;if(u===null)throw Error(T(311));u.lastRenderedReducer=l;var c=u.dispatch,r=u.pending,f=n.memoizedState;if(r!==null){u.pending=null;var p=r=r.next;do f=l(f,p.action),p=p.next;while(p!==r);jl(f,n.memoizedState)||(El=!0),n.memoizedState=f,n.baseQueue===null&&(n.baseState=f),u.lastRenderedState=f}return[f,c]}function Ws(l,n,u){var c=ct,r=il(),f=Mt;if(f){if(u===void 0)throw Error(T(407));u=u()}else u=n();var p=!jl((_t||r).memoizedState,u);p&&(r.memoizedState=u,El=!0),r=r.queue;var y=mp.bind(null,c,r,l);if(Yt(2048,8,y,[l]),r.getSnapshot!==n||p||al!==null&&al.memoizedState.tag&1){if(c.flags|=2048,Ea(9,Ps(),yp.bind(null,c,r,u,n),null),kt===null)throw Error(T(349));f||(un&124)!==0||Lf(c,n,u)}return u}function Lf(l,n,u){l.flags|=16384,l={getSnapshot:n,value:u},n=ct.updateQueue,n===null?(n=$s(),ct.updateQueue=n,n.stores=[l]):(u=n.stores,u===null?n.stores=[l]:u.push(l))}function yp(l,n,u,c){n.value=u,n.getSnapshot=c,gp(n)&&Xf(l)}function mp(l,n,u){return u(function(){gp(n)&&Xf(l)})}function gp(l){var n=l.getSnapshot;l=l.value;try{var u=n();return!jl(l,u)}catch{return!0}}function Xf(l){var n=kn(l,2);n!==null&&Ga(n,l,2)}function Fs(l){var n=Il();if(typeof l=="function"){var u=l;if(l=u(),Ai){St(!0);try{u()}finally{St(!1)}}}return n.memoizedState=n.baseState=l,n.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:l},n}function kf(l,n,u,c){return l.baseState=u,Gf(l,_t,typeof c=="function"?c:Fn)}function Qm(l,n,u,c,r){if(Ec(l))throw Error(T(485));if(l=n.action,l!==null){var f={payload:r,action:l,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){f.listeners.push(p)}};S.T!==null?u(!0):f.isTransition=!1,c(f),u=n.pending,u===null?(f.next=n.pending=f,Qf(n,f)):(f.next=u.next,n.pending=u.next=f)}}function Qf(l,n){var u=n.action,c=n.payload,r=l.state;if(n.isTransition){var f=S.T,p={};S.T=p;try{var y=u(r,c),E=S.S;E!==null&&E(p,y),Is(l,n,y)}catch(N){$f(l,n,N)}finally{S.T=f}}else try{f=u(r,c),Is(l,n,f)}catch(N){$f(l,n,N)}}function Is(l,n,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){Zf(l,n,c)},function(c){return $f(l,n,c)}):Zf(l,n,u)}function Zf(l,n,u){n.status="fulfilled",n.value=u,vp(n),l.state=u,n=l.pending,n!==null&&(u=n.next,u===n?l.pending=null:(u=u.next,n.next=u,Qf(l,u)))}function $f(l,n,u){var c=l.pending;if(l.pending=null,c!==null){c=c.next;do n.status="rejected",n.reason=u,vp(n),n=n.next;while(n!==c)}l.action=null}function vp(l){l=l.listeners;for(var n=0;n<l.length;n++)(0,l[n])()}function Jf(l,n){return n}function bp(l,n){if(Mt){var u=kt.formState;if(u!==null){e:{var c=ct;if(Mt){if(Ct){t:{for(var r=Ct,f=an;r.nodeType!==8;){if(!f){r=null;break t}if(r=Un(r.nextSibling),r===null){r=null;break t}}f=r.data,r=f==="F!"||f==="F"?r:null}if(r){Ct=Un(r.nextSibling),c=r.data==="F!";break e}}wu(c)}c=!1}c&&(n=u[0])}}return u=Il(),u.memoizedState=u.baseState=n,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jf,lastRenderedState:n},u.queue=c,u=zp.bind(null,ct,c),c.dispatch=u,c=Fs(!1),f=lr.bind(null,ct,!1,c.queue),c=Il(),r={state:n,dispatch:null,action:l,pending:null},c.queue=r,u=Qm.bind(null,ct,r,f,u),r.dispatch=u,c.memoizedState=l,[n,u,!1]}function In(l){var n=il();return Kf(n,_t,l)}function Kf(l,n,u){if(n=Gf(l,n,Jf)[0],l=Ks(Fn)[0],typeof n=="object"&&n!==null&&typeof n.then=="function")try{var c=Js(n)}catch(p){throw p===xi?Ls:p}else c=n;n=il();var r=n.queue,f=r.dispatch;return u!==n.memoizedState&&(ct.flags|=2048,Ea(9,Ps(),zv.bind(null,r,u),null)),[c,f,l]}function zv(l,n){l.action=n}function Wf(l){var n=il(),u=_t;if(u!==null)return Kf(n,u,l);il(),n=n.memoizedState,u=il();var c=u.queue.dispatch;return u.memoizedState=l,[n,c,!1]}function Ea(l,n,u,c){return l={tag:l,create:u,deps:c,inst:n,next:null},n=ct.updateQueue,n===null&&(n=$s(),ct.updateQueue=n),u=n.lastEffect,u===null?n.lastEffect=l.next=l:(c=u.next,u.next=l,l.next=c,n.lastEffect=l),l}function Ps(){return{destroy:void 0,resource:void 0}}function er(){return il().memoizedState}function zi(l,n,u,c){var r=Il();c=c===void 0?null:c,ct.flags|=l,r.memoizedState=Ea(1|n,Ps(),u,c)}function Yt(l,n,u,c){var r=il();c=c===void 0?null:c;var f=r.memoizedState.inst;_t!==null&&c!==null&&wf(c,_t.memoizedState.deps)?r.memoizedState=Ea(n,f,u,c):(ct.flags|=l,r.memoizedState=Ea(1|n,f,u,c))}function Zm(l,n){zi(8390656,8,l,n)}function $m(l,n){Yt(2048,8,l,n)}function Sp(l,n){return Yt(4,2,l,n)}function Mn(l,n){return Yt(4,4,l,n)}function Tp(l,n){if(typeof n=="function"){l=l();var u=n(l);return function(){typeof u=="function"?u():n(null)}}if(n!=null)return l=l(),n.current=l,function(){n.current=null}}function Ff(l,n,u){u=u!=null?u.concat([l]):null,Yt(4,4,Tp.bind(null,n,l),u)}function bc(){}function Sc(l,n){var u=il();n=n===void 0?null:n;var c=u.memoizedState;return n!==null&&wf(n,c[1])?c[0]:(u.memoizedState=[l,n],l)}function Ep(l,n){var u=il();n=n===void 0?null:n;var c=u.memoizedState;if(n!==null&&wf(n,c[1]))return c[0];if(c=l(),Ai){St(!0);try{l()}finally{St(!1)}}return u.memoizedState=[c,n],c}function tr(l,n,u){return u===void 0||(un&1073741824)!==0?l.memoizedState=n:(l.memoizedState=u,l=ny(),ct.lanes|=l,Qu|=l,u)}function xp(l,n,u,c){return jl(u,n)?u:vc.current!==null?(l=tr(l,u,c),jl(l,n)||(El=!0),l):(un&42)===0?(El=!0,l.memoizedState=u):(l=ny(),ct.lanes|=l,Qu|=l,n)}function Jm(l,n,u,c,r){var f=R.p;R.p=f!==0&&8>f?f:8;var p=S.T,y={};S.T=y,lr(l,!1,n,u);try{var E=r(),N=S.S;if(N!==null&&N(y,E),E!==null&&typeof E=="object"&&typeof E.then=="function"){var I=Xm(E,c);Tc(l,n,I,Va(l))}else Tc(l,n,c,Va(l))}catch(ae){Tc(l,n,{then:function(){},status:"rejected",reason:ae},Va())}finally{R.p=f,S.T=p}}function Ov(){}function If(l,n,u,c){if(l.tag!==5)throw Error(T(476));var r=Km(l).queue;Jm(l,r,n,U,u===null?Ov:function(){return zo(l),u(c)})}function Km(l){var n=l.memoizedState;if(n!==null)return n;n={memoizedState:U,baseState:U,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:U},next:null};var u={};return n.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Fn,lastRenderedState:u},next:null},l.memoizedState=n,l=l.alternate,l!==null&&(l.memoizedState=n),n}function zo(l){var n=Km(l).next.queue;Tc(l,n,{},Va())}function cn(){return Ml(Ca)}function Ap(){return il().memoizedState}function Wm(){return il().memoizedState}function Fm(l){for(var n=l.return;n!==null;){switch(n.tag){case 24:case 3:var u=Va();l=Ta(u);var c=Wn(n,l,u);c!==null&&(Ga(c,n,u),gc(c,n,u)),n={cache:To()},l.payload=n;return}n=n.return}}function Dp(l,n,u){var c=Va();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},Ec(l)?Im(n,u):(u=ro(l,n,u,c),u!==null&&(Ga(u,l,c),Op(u,n,c)))}function zp(l,n,u){var c=Va();Tc(l,n,u,c)}function Tc(l,n,u,c){var r={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(Ec(l))Im(n,r);else{var f=l.alternate;if(l.lanes===0&&(f===null||f.lanes===0)&&(f=n.lastRenderedReducer,f!==null))try{var p=n.lastRenderedState,y=f(p,u);if(r.hasEagerState=!0,r.eagerState=y,jl(y,p))return vi(l,n,r,0),kt===null&&xn(),!1}catch{}finally{}if(u=ro(l,n,r,c),u!==null)return Ga(u,l,c),Op(u,n,c),!0}return!1}function lr(l,n,u,c){if(c={lane:2,revertLane:_c(),action:c,hasEagerState:!1,eagerState:null,next:null},Ec(l)){if(n)throw Error(T(479))}else n=ro(l,u,c,2),n!==null&&Ga(n,l,2)}function Ec(l){var n=l.alternate;return l===ct||n!==null&&n===ct}function Im(l,n){_a=Zs=!0;var u=l.pending;u===null?n.next=n:(n.next=u.next,u.next=n),l.pending=n}function Op(l,n,u){if((u&4194048)!==0){var c=n.lanes;c&=l.pendingLanes,u|=c,n.lanes=u,_n(l,u)}}var Pf={readContext:Ml,use:pl,useCallback:nl,useContext:nl,useEffect:nl,useImperativeHandle:nl,useLayoutEffect:nl,useInsertionEffect:nl,useMemo:nl,useReducer:nl,useRef:nl,useState:nl,useDebugValue:nl,useDeferredValue:nl,useTransition:nl,useSyncExternalStore:nl,useId:nl,useHostTransitionStatus:nl,useFormState:nl,useActionState:nl,useOptimistic:nl,useMemoCache:nl,useCacheRefresh:nl},Mp={readContext:Ml,use:pl,useCallback:function(l,n){return Il().memoizedState=[l,n===void 0?null:n],l},useContext:Ml,useEffect:Zm,useImperativeHandle:function(l,n,u){u=u!=null?u.concat([l]):null,zi(4194308,4,Tp.bind(null,n,l),u)},useLayoutEffect:function(l,n){return zi(4194308,4,l,n)},useInsertionEffect:function(l,n){zi(4,2,l,n)},useMemo:function(l,n){var u=Il();n=n===void 0?null:n;var c=l();if(Ai){St(!0);try{l()}finally{St(!1)}}return u.memoizedState=[c,n],c},useReducer:function(l,n,u){var c=Il();if(u!==void 0){var r=u(n);if(Ai){St(!0);try{u(n)}finally{St(!1)}}}else r=n;return c.memoizedState=c.baseState=r,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:r},c.queue=l,l=l.dispatch=Dp.bind(null,ct,l),[c.memoizedState,l]},useRef:function(l){var n=Il();return l={current:l},n.memoizedState=l},useState:function(l){l=Fs(l);var n=l.queue,u=zp.bind(null,ct,n);return n.dispatch=u,[l.memoizedState,u]},useDebugValue:bc,useDeferredValue:function(l,n){var u=Il();return tr(u,l,n)},useTransition:function(){var l=Fs(!1);return l=Jm.bind(null,ct,l.queue,!0,!1),Il().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,n,u){var c=ct,r=Il();if(Mt){if(u===void 0)throw Error(T(407));u=u()}else{if(u=n(),kt===null)throw Error(T(349));(vt&124)!==0||Lf(c,n,u)}r.memoizedState=u;var f={value:u,getSnapshot:n};return r.queue=f,Zm(mp.bind(null,c,f,l),[l]),c.flags|=2048,Ea(9,Ps(),yp.bind(null,c,f,u,n),null),u},useId:function(){var l=Il(),n=kt.identifierPrefix;if(Mt){var u=ul,c=Dn;u=(c&~(1<<32-Tt(c)-1)).toString(32)+u,n="«"+n+"R"+u,u=On++,0<u&&(n+="H"+u.toString(32)),n+="»"}else u=hp++,n="«"+n+"r"+u.toString(32)+"»";return l.memoizedState=n},useHostTransitionStatus:cn,useFormState:bp,useActionState:bp,useOptimistic:function(l){var n=Il();n.memoizedState=n.baseState=l;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return n.queue=u,n=lr.bind(null,ct,!0,u),u.dispatch=n,[l,n]},useMemoCache:Vf,useCacheRefresh:function(){return Il().memoizedState=Fm.bind(null,ct)}},Rp={readContext:Ml,use:pl,useCallback:Sc,useContext:Ml,useEffect:$m,useImperativeHandle:Ff,useInsertionEffect:Sp,useLayoutEffect:Mn,useMemo:Ep,useReducer:Ks,useRef:er,useState:function(){return Ks(Fn)},useDebugValue:bc,useDeferredValue:function(l,n){var u=il();return xp(u,_t.memoizedState,l,n)},useTransition:function(){var l=Ks(Fn)[0],n=il().memoizedState;return[typeof l=="boolean"?l:Js(l),n]},useSyncExternalStore:Ws,useId:Ap,useHostTransitionStatus:cn,useFormState:In,useActionState:In,useOptimistic:function(l,n){var u=il();return kf(u,_t,l,n)},useMemoCache:Vf,useCacheRefresh:Wm},Gu={readContext:Ml,use:pl,useCallback:Sc,useContext:Ml,useEffect:$m,useImperativeHandle:Ff,useInsertionEffect:Sp,useLayoutEffect:Mn,useMemo:Ep,useReducer:Yf,useRef:er,useState:function(){return Yf(Fn)},useDebugValue:bc,useDeferredValue:function(l,n){var u=il();return _t===null?tr(u,l,n):xp(u,_t.memoizedState,l,n)},useTransition:function(){var l=Yf(Fn)[0],n=il().memoizedState;return[typeof l=="boolean"?l:Js(l),n]},useSyncExternalStore:Ws,useId:Ap,useHostTransitionStatus:cn,useFormState:Wf,useActionState:Wf,useOptimistic:function(l,n){var u=il();return _t!==null?kf(u,_t,l,n):(u.baseState=l,[l,u.queue.dispatch])},useMemoCache:Vf,useCacheRefresh:Wm},xc=null,Oo=0;function ed(l){var n=Oo;return Oo+=1,xc===null&&(xc=[]),op(xc,l,n)}function Ac(l,n){n=n.props.ref,l.ref=n!==void 0?n:null}function Pl(l,n){throw n.$$typeof===Y?Error(T(525)):(l=Object.prototype.toString.call(n),Error(T(31,l==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":l)))}function Cp(l){var n=l._init;return n(l._payload)}function xa(l){function n(C,O){if(l){var H=C.deletions;H===null?(C.deletions=[O],C.flags|=16):H.push(O)}}function u(C,O){if(!l)return null;for(;O!==null;)n(C,O),O=O.sibling;return null}function c(C){for(var O=new Map;C!==null;)C.key!==null?O.set(C.key,C):O.set(C.index,C),C=C.sibling;return O}function r(C,O){return C=An(C,O),C.index=0,C.sibling=null,C}function f(C,O,H){return C.index=H,l?(H=C.alternate,H!==null?(H=H.index,H<O?(C.flags|=67108866,O):H):(C.flags|=67108866,O)):(C.flags|=1048576,O)}function p(C){return l&&C.alternate===null&&(C.flags|=67108866),C}function y(C,O,H,ee){return O===null||O.tag!==6?(O=po(H,C.mode,ee),O.return=C,O):(O=r(O,H),O.return=C,O)}function E(C,O,H,ee){var _e=H.type;return _e===V?I(C,O,H.props.children,ee,H.key):O!==null&&(O.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===Ge&&Cp(_e)===O.type)?(O=r(O,H.props),Ac(O,H),O.return=C,O):(O=me(H.type,H.key,H.props,null,C.mode,ee),Ac(O,H),O.return=C,O)}function N(C,O,H,ee){return O===null||O.tag!==4||O.stateNode.containerInfo!==H.containerInfo||O.stateNode.implementation!==H.implementation?(O=ll(H,C.mode,ee),O.return=C,O):(O=r(O,H.children||[]),O.return=C,O)}function I(C,O,H,ee,_e){return O===null||O.tag!==7?(O=en(H,C.mode,ee,_e),O.return=C,O):(O=r(O,H),O.return=C,O)}function ae(C,O,H){if(typeof O=="string"&&O!==""||typeof O=="number"||typeof O=="bigint")return O=po(""+O,C.mode,H),O.return=C,O;if(typeof O=="object"&&O!==null){switch(O.$$typeof){case ye:return H=me(O.type,O.key,O.props,null,C.mode,H),Ac(H,O),H.return=C,H;case P:return O=ll(O,C.mode,H),O.return=C,O;case Ge:var ee=O._init;return O=ee(O._payload),ae(C,O,H)}if(K(O)||Ce(O))return O=en(O,C.mode,H,null),O.return=C,O;if(typeof O.then=="function")return ae(C,ed(O),H);if(O.$$typeof===oe)return ae(C,Vs(C,O),H);Pl(C,O)}return null}function _(C,O,H,ee){var _e=O!==null?O.key:null;if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return _e!==null?null:y(C,O,""+H,ee);if(typeof H=="object"&&H!==null){switch(H.$$typeof){case ye:return H.key===_e?E(C,O,H,ee):null;case P:return H.key===_e?N(C,O,H,ee):null;case Ge:return _e=H._init,H=_e(H._payload),_(C,O,H,ee)}if(K(H)||Ce(H))return _e!==null?null:I(C,O,H,ee,null);if(typeof H.then=="function")return _(C,O,ed(H),ee);if(H.$$typeof===oe)return _(C,O,Vs(C,H),ee);Pl(C,H)}return null}function j(C,O,H,ee,_e){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return C=C.get(H)||null,y(O,C,""+ee,_e);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case ye:return C=C.get(ee.key===null?H:ee.key)||null,E(O,C,ee,_e);case P:return C=C.get(ee.key===null?H:ee.key)||null,N(O,C,ee,_e);case Ge:var pt=ee._init;return ee=pt(ee._payload),j(C,O,H,ee,_e)}if(K(ee)||Ce(ee))return C=C.get(H)||null,I(O,C,ee,_e,null);if(typeof ee.then=="function")return j(C,O,H,ed(ee),_e);if(ee.$$typeof===oe)return j(C,O,H,Vs(O,ee),_e);Pl(O,ee)}return null}function Ze(C,O,H,ee){for(var _e=null,pt=null,ke=O,We=O=0,Hl=null;ke!==null&&We<H.length;We++){ke.index>We?(Hl=ke,ke=null):Hl=ke.sibling;var zt=_(C,ke,H[We],ee);if(zt===null){ke===null&&(ke=Hl);break}l&&ke&&zt.alternate===null&&n(C,ke),O=f(zt,O,We),pt===null?_e=zt:pt.sibling=zt,pt=zt,ke=Hl}if(We===H.length)return u(C,ke),Mt&&At(C,We),_e;if(ke===null){for(;We<H.length;We++)ke=ae(C,H[We],ee),ke!==null&&(O=f(ke,O,We),pt===null?_e=ke:pt.sibling=ke,pt=ke);return Mt&&At(C,We),_e}for(ke=c(ke);We<H.length;We++)Hl=j(ke,C,We,H[We],ee),Hl!==null&&(l&&Hl.alternate!==null&&ke.delete(Hl.key===null?We:Hl.key),O=f(Hl,O,We),pt===null?_e=Hl:pt.sibling=Hl,pt=Hl);return l&&ke.forEach(function(ki){return n(C,ki)}),Mt&&At(C,We),_e}function $e(C,O,H,ee){if(H==null)throw Error(T(151));for(var _e=null,pt=null,ke=O,We=O=0,Hl=null,zt=H.next();ke!==null&&!zt.done;We++,zt=H.next()){ke.index>We?(Hl=ke,ke=null):Hl=ke.sibling;var ki=_(C,ke,zt.value,ee);if(ki===null){ke===null&&(ke=Hl);break}l&&ke&&ki.alternate===null&&n(C,ke),O=f(ki,O,We),pt===null?_e=ki:pt.sibling=ki,pt=ki,ke=Hl}if(zt.done)return u(C,ke),Mt&&At(C,We),_e;if(ke===null){for(;!zt.done;We++,zt=H.next())zt=ae(C,zt.value,ee),zt!==null&&(O=f(zt,O,We),pt===null?_e=zt:pt.sibling=zt,pt=zt);return Mt&&At(C,We),_e}for(ke=c(ke);!zt.done;We++,zt=H.next())zt=j(ke,C,We,zt.value,ee),zt!==null&&(l&&zt.alternate!==null&&ke.delete(zt.key===null?We:zt.key),O=f(zt,O,We),pt===null?_e=zt:pt.sibling=zt,pt=zt);return l&&ke.forEach(function(Vv){return n(C,Vv)}),Mt&&At(C,We),_e}function Ht(C,O,H,ee){if(typeof H=="object"&&H!==null&&H.type===V&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case ye:e:{for(var _e=H.key;O!==null;){if(O.key===_e){if(_e=H.type,_e===V){if(O.tag===7){u(C,O.sibling),ee=r(O,H.props.children),ee.return=C,C=ee;break e}}else if(O.elementType===_e||typeof _e=="object"&&_e!==null&&_e.$$typeof===Ge&&Cp(_e)===O.type){u(C,O.sibling),ee=r(O,H.props),Ac(ee,H),ee.return=C,C=ee;break e}u(C,O);break}else n(C,O);O=O.sibling}H.type===V?(ee=en(H.props.children,C.mode,ee,H.key),ee.return=C,C=ee):(ee=me(H.type,H.key,H.props,null,C.mode,ee),Ac(ee,H),ee.return=C,C=ee)}return p(C);case P:e:{for(_e=H.key;O!==null;){if(O.key===_e)if(O.tag===4&&O.stateNode.containerInfo===H.containerInfo&&O.stateNode.implementation===H.implementation){u(C,O.sibling),ee=r(O,H.children||[]),ee.return=C,C=ee;break e}else{u(C,O);break}else n(C,O);O=O.sibling}ee=ll(H,C.mode,ee),ee.return=C,C=ee}return p(C);case Ge:return _e=H._init,H=_e(H._payload),Ht(C,O,H,ee)}if(K(H))return Ze(C,O,H,ee);if(Ce(H)){if(_e=Ce(H),typeof _e!="function")throw Error(T(150));return H=_e.call(H),$e(C,O,H,ee)}if(typeof H.then=="function")return Ht(C,O,ed(H),ee);if(H.$$typeof===oe)return Ht(C,O,Vs(C,H),ee);Pl(C,H)}return typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint"?(H=""+H,O!==null&&O.tag===6?(u(C,O.sibling),ee=r(O,H),ee.return=C,C=ee):(u(C,O),ee=po(H,C.mode,ee),ee.return=C,C=ee),p(C)):u(C,O)}return function(C,O,H,ee){try{Oo=0;var _e=Ht(C,O,H,ee);return xc=null,_e}catch(ke){if(ke===xi||ke===Ls)throw ke;var pt=ba(29,ke,null,C.mode);return pt.lanes=ee,pt.return=C,pt}finally{}}}var Dc=xa(!0),Pn=xa(!1),ja=ve(null),ea=null;function Yu(l){var n=l.alternate;Me(Lt,Lt.current&1),Me(ja,l),ea===null&&(n===null||vc.current!==null||n.memoizedState!==null)&&(ea=l)}function eu(l){if(l.tag===22){if(Me(Lt,Lt.current),Me(ja,l),ea===null){var n=l.alternate;n!==null&&n.memoizedState!==null&&(ea=l)}}else tu()}function tu(){Me(Lt,Lt.current),Me(ja,ja.current)}function Rn(l){de(ja),ea===l&&(ea=null),de(Lt)}var Lt=ve(0);function ar(l){for(var n=l;n!==null;){if(n.tag===13){var u=n.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||zr(u)))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&128)!==0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}function Oi(l,n,u,c){n=l.memoizedState,u=u(c,n),u=u==null?n:w({},n,u),l.memoizedState=u,l.lanes===0&&(l.updateQueue.baseState=u)}var td={enqueueSetState:function(l,n,u){l=l._reactInternals;var c=Va(),r=Ta(c);r.payload=n,u!=null&&(r.callback=u),n=Wn(l,r,c),n!==null&&(Ga(n,l,c),gc(n,l,c))},enqueueReplaceState:function(l,n,u){l=l._reactInternals;var c=Va(),r=Ta(c);r.tag=1,r.payload=n,u!=null&&(r.callback=u),n=Wn(l,r,c),n!==null&&(Ga(n,l,c),gc(n,l,c))},enqueueForceUpdate:function(l,n){l=l._reactInternals;var u=Va(),c=Ta(u);c.tag=2,n!=null&&(c.callback=n),n=Wn(l,c,u),n!==null&&(Ga(n,l,u),gc(n,l,u))}};function Mo(l,n,u,c,r,f,p){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(c,f,p):n.prototype&&n.prototype.isPureReactComponent?!pi(u,c)||!pi(r,f):!0}function zc(l,n,u,c){l=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(u,c),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(u,c),n.state!==l&&td.enqueueReplaceState(n,n.state,null)}function Mi(l,n){var u=n;if("ref"in n){u={};for(var c in n)c!=="ref"&&(u[c]=n[c])}if(l=l.defaultProps){u===n&&(u=w({},u));for(var r in l)u[r]===void 0&&(u[r]=l[r])}return u}var nr=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var n=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(n))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function Ro(l){nr(l)}function Up(l){console.error(l)}function ur(l){nr(l)}function ir(l,n){try{var u=l.onUncaughtError;u(n.value,{componentStack:n.stack})}catch(c){setTimeout(function(){throw c})}}function Hp(l,n,u){try{var c=l.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:n.tag===1?n.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function Np(l,n,u){return u=Ta(u),u.tag=3,u.payload={element:null},u.callback=function(){ir(l,n)},u}function qp(l){return l=Ta(l),l.tag=3,l}function Aa(l,n,u,c){var r=u.type.getDerivedStateFromError;if(typeof r=="function"){var f=c.value;l.payload=function(){return r(f)},l.callback=function(){Hp(n,u,c)}}var p=u.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(l.callback=function(){Hp(n,u,c),typeof r!="function"&&(Hi===null?Hi=new Set([this]):Hi.add(this));var y=c.stack;this.componentDidCatch(c.value,{componentStack:y!==null?y:""})})}function Pm(l,n,u,c,r){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(n=u.alternate,n!==null&&bo(n,u,r,!0),u=ja.current,u!==null){switch(u.tag){case 13:return ea===null?wc():u.alternate===null&&rl===0&&(rl=3),u.flags&=-257,u.flags|=65536,u.lanes=r,c===Cf?u.flags|=16384:(n=u.updateQueue,n===null?u.updateQueue=new Set([c]):n.add(c),Od(l,c,r)),!1;case 22:return u.flags|=65536,c===Cf?u.flags|=16384:(n=u.updateQueue,n===null?(n={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=n):(u=n.retryQueue,u===null?n.retryQueue=new Set([c]):u.add(c)),Od(l,c,r)),!1}throw Error(T(435,u.tag))}return Od(l,c,r),wc(),!1}if(Mt)return n=ja.current,n!==null?((n.flags&65536)===0&&(n.flags|=256),n.flags|=65536,n.lanes=r,c!==pc&&(l=Error(T(422),{cause:c}),vo(wa(l,u)))):(c!==pc&&(n=Error(T(423),{cause:c}),vo(wa(n,u))),l=l.current.alternate,l.flags|=65536,r&=-r,l.lanes|=r,c=wa(c,u),r=Np(l.stateNode,c,r),fp(l,r),rl!==4&&(rl=2)),!1;var f=Error(T(520),{cause:c});if(f=wa(f,u),_o===null?_o=[f]:_o.push(f),rl!==4&&(rl=2),n===null)return!0;c=wa(c,u),u=n;do{switch(u.tag){case 3:return u.flags|=65536,l=r&-r,u.lanes|=l,l=Np(u.stateNode,c,l),fp(u,l),!1;case 1:if(n=u.type,f=u.stateNode,(u.flags&128)===0&&(typeof n.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(Hi===null||!Hi.has(f))))return u.flags|=65536,r&=-r,u.lanes|=r,r=qp(r),Aa(r,l,u,c),fp(u,r),!1}u=u.return}while(u!==null);return!1}var cl=Error(T(461)),El=!1;function Cl(l,n,u,c){n.child=l===null?Pn(n,null,u,c):Dc(n,l.child,u,c)}function eg(l,n,u,c,r){u=u.render;var f=n.ref;if("ref"in c){var p={};for(var y in c)y!=="ref"&&(p[y]=c[y])}else p=c;return Ti(n),c=_f(l,n,u,p,f,r),y=Bf(),l!==null&&!El?(Do(l,n,r),lu(l,n,r)):(Mt&&y&&hc(n),n.flags|=1,Cl(l,n,c,r),n.child)}function Lu(l,n,u,c,r){if(l===null){var f=u.type;return typeof f=="function"&&!qs(f)&&f.defaultProps===void 0&&u.compare===null?(n.tag=15,n.type=f,Oc(l,n,f,c,r)):(l=me(u.type,null,c,n,n.mode,r),l.ref=n.ref,l.return=n,n.child=l)}if(f=l.child,!fd(l,r)){var p=f.memoizedProps;if(u=u.compare,u=u!==null?u:pi,u(p,c)&&l.ref===n.ref)return lu(l,n,r)}return n.flags|=1,l=An(f,c),l.ref=n.ref,l.return=n,n.child=l}function Oc(l,n,u,c,r){if(l!==null){var f=l.memoizedProps;if(pi(f,c)&&l.ref===n.ref)if(El=!1,n.pendingProps=c=f,fd(l,r))(l.flags&131072)!==0&&(El=!0);else return n.lanes=l.lanes,lu(l,n,r)}return ad(l,n,u,c,r)}function ld(l,n,u){var c=n.pendingProps,r=c.children,f=l!==null?l.memoizedState:null;if(c.mode==="hidden"){if((n.flags&128)!==0){if(c=f!==null?f.baseLanes|u:u,l!==null){for(r=n.child=l.child,f=0;r!==null;)f=f|r.lanes|r.childLanes,r=r.sibling;n.childLanes=f&~c}else n.childLanes=0,n.child=null;return Mc(l,n,c,u)}if((u&536870912)!==0)n.memoizedState={baseLanes:0,cachePool:null},l!==null&&yc(n,f!==null?f.cachePool:null),f!==null?Rl(n,f):xo(),eu(n);else return n.lanes=n.childLanes=536870912,Mc(l,n,f!==null?f.baseLanes|u:u,u)}else f!==null?(yc(n,f.cachePool),Rl(n,f),tu(),n.memoizedState=null):(l!==null&&yc(n,null),xo(),tu());return Cl(l,n,r,u),n.child}function Mc(l,n,u,c){var r=Ys();return r=r===null?null:{parent:Sl._currentValue,pool:r},n.memoizedState={baseLanes:u,cachePool:r},l!==null&&yc(n,null),xo(),eu(n),l!==null&&bo(l,n,c,!0),null}function cr(l,n){var u=n.ref;if(u===null)l!==null&&l.ref!==null&&(n.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(T(284));(l===null||l.ref!==u)&&(n.flags|=4194816)}}function ad(l,n,u,c,r){return Ti(n),u=_f(l,n,u,c,void 0,r),c=Bf(),l!==null&&!El?(Do(l,n,r),lu(l,n,r)):(Mt&&c&&hc(n),n.flags|=1,Cl(l,n,u,r),n.child)}function wp(l,n,u,c,r,f){return Ti(n),n.updateQueue=null,u=pp(n,c,u,r),Di(l),c=Bf(),l!==null&&!El?(Do(l,n,f),lu(l,n,f)):(Mt&&c&&hc(n),n.flags|=1,Cl(l,n,u,f),n.child)}function nd(l,n,u,c,r){if(Ti(n),n.stateNode===null){var f=ho,p=u.contextType;typeof p=="object"&&p!==null&&(f=Ml(p)),f=new u(c,f),n.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=td,n.stateNode=f,f._reactInternals=n,f=n.stateNode,f.props=c,f.state=n.memoizedState,f.refs={},Hf(n),p=u.contextType,f.context=typeof p=="object"&&p!==null?Ml(p):ho,f.state=n.memoizedState,p=u.getDerivedStateFromProps,typeof p=="function"&&(Oi(n,u,p,c),f.state=n.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(p=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),p!==f.state&&td.enqueueReplaceState(f,f.state,null),ju(n,c,f,r),Eo(),f.state=n.memoizedState),typeof f.componentDidMount=="function"&&(n.flags|=4194308),c=!0}else if(l===null){f=n.stateNode;var y=n.memoizedProps,E=Mi(u,y);f.props=E;var N=f.context,I=u.contextType;p=ho,typeof I=="object"&&I!==null&&(p=Ml(I));var ae=u.getDerivedStateFromProps;I=typeof ae=="function"||typeof f.getSnapshotBeforeUpdate=="function",y=n.pendingProps!==y,I||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y||N!==p)&&zc(n,f,c,p),Kn=!1;var _=n.memoizedState;f.state=_,ju(n,c,f,r),Eo(),N=n.memoizedState,y||_!==N||Kn?(typeof ae=="function"&&(Oi(n,u,ae,c),N=n.memoizedState),(E=Kn||Mo(n,u,E,c,_,N,p))?(I||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(n.flags|=4194308)):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=c,n.memoizedState=N),f.props=c,f.state=N,f.context=p,c=E):(typeof f.componentDidMount=="function"&&(n.flags|=4194308),c=!1)}else{f=n.stateNode,Nf(l,n),p=n.memoizedProps,I=Mi(u,p),f.props=I,ae=n.pendingProps,_=f.context,N=u.contextType,E=ho,typeof N=="object"&&N!==null&&(E=Ml(N)),y=u.getDerivedStateFromProps,(N=typeof y=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(p!==ae||_!==E)&&zc(n,f,c,E),Kn=!1,_=n.memoizedState,f.state=_,ju(n,c,f,r),Eo();var j=n.memoizedState;p!==ae||_!==j||Kn||l!==null&&l.dependencies!==null&&js(l.dependencies)?(typeof y=="function"&&(Oi(n,u,y,c),j=n.memoizedState),(I=Kn||Mo(n,u,I,c,_,j,E)||l!==null&&l.dependencies!==null&&js(l.dependencies))?(N||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(c,j,E),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(c,j,E)),typeof f.componentDidUpdate=="function"&&(n.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof f.componentDidUpdate!="function"||p===l.memoizedProps&&_===l.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===l.memoizedProps&&_===l.memoizedState||(n.flags|=1024),n.memoizedProps=c,n.memoizedState=j),f.props=c,f.state=j,f.context=E,c=I):(typeof f.componentDidUpdate!="function"||p===l.memoizedProps&&_===l.memoizedState||(n.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===l.memoizedProps&&_===l.memoizedState||(n.flags|=1024),c=!1)}return f=c,cr(l,n),c=(n.flags&128)!==0,f||c?(f=n.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:f.render(),n.flags|=1,l!==null&&c?(n.child=Dc(n,l.child,null,r),n.child=Dc(n,null,u,r)):Cl(l,n,u,r),n.memoizedState=f.state,l=n.child):l=lu(l,n,r),l}function ud(l,n,u,c){return go(),n.flags|=256,Cl(l,n,u,c),n.child}var id={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function _p(l){return{baseLanes:l,cachePool:Mf()}}function Bp(l,n,u){return l=l!==null?l.childLanes&~u:0,n&&(l|=rn),l}function jp(l,n,u){var c=n.pendingProps,r=!1,f=(n.flags&128)!==0,p;if((p=f)||(p=l!==null&&l.memoizedState===null?!1:(Lt.current&2)!==0),p&&(r=!0,n.flags&=-129),p=(n.flags&32)!==0,n.flags&=-33,l===null){if(Mt){if(r?Yu(n):tu(),Mt){var y=Ct,E;if(E=y){e:{for(E=y,y=an;E.nodeType!==8;){if(!y){y=null;break e}if(E=Un(E.nextSibling),E===null){y=null;break e}}y=E}y!==null?(n.memoizedState={dehydrated:y,treeContext:qu!==null?{id:Dn,overflow:ul}:null,retryLane:536870912,hydrationErrors:null},E=ba(18,null,null,0),E.stateNode=y,E.return=n,n.child=E,hl=n,Ct=null,E=!0):E=!1}E||wu(n)}if(y=n.memoizedState,y!==null&&(y=y.dehydrated,y!==null))return zr(y)?n.lanes=32:n.lanes=536870912,null;Rn(n)}return y=c.children,c=c.fallback,r?(tu(),r=n.mode,y=od({mode:"hidden",children:y},r),c=en(c,r,u,null),y.return=n,c.return=n,y.sibling=c,n.child=y,r=n.child,r.memoizedState=_p(u),r.childLanes=Bp(l,p,u),n.memoizedState=id,c):(Yu(n),cd(n,y))}if(E=l.memoizedState,E!==null&&(y=E.dehydrated,y!==null)){if(f)n.flags&256?(Yu(n),n.flags&=-257,n=Ri(l,n,u)):n.memoizedState!==null?(tu(),n.child=l.child,n.flags|=128,n=null):(tu(),r=c.fallback,y=n.mode,c=od({mode:"visible",children:c.children},y),r=en(r,y,u,null),r.flags|=2,c.return=n,r.return=n,c.sibling=r,n.child=c,Dc(n,l.child,null,u),c=n.child,c.memoizedState=_p(u),c.childLanes=Bp(l,p,u),n.memoizedState=id,n=r);else if(Yu(n),zr(y)){if(p=y.nextSibling&&y.nextSibling.dataset,p)var N=p.dgst;p=N,c=Error(T(419)),c.stack="",c.digest=p,vo({value:c,source:null,stack:null}),n=Ri(l,n,u)}else if(El||bo(l,n,u,!1),p=(u&l.childLanes)!==0,El||p){if(p=kt,p!==null&&(c=u&-u,c=(c&42)!==0?1:Wl(c),c=(c&(p.suspendedLanes|u))!==0?0:c,c!==0&&c!==E.retryLane))throw E.retryLane=c,kn(l,c),Ga(p,l,c),cl;y.data==="$?"||wc(),n=Ri(l,n,u)}else y.data==="$?"?(n.flags|=192,n.child=l.child,n=null):(l=E.treeContext,Ct=Un(y.nextSibling),hl=n,Mt=!0,ln=null,an=!1,l!==null&&(tn[Sa++]=Dn,tn[Sa++]=ul,tn[Sa++]=qu,Dn=l.id,ul=l.overflow,qu=n),n=cd(n,c.children),n.flags|=4096);return n}return r?(tu(),r=c.fallback,y=n.mode,E=l.child,N=E.sibling,c=An(E,{mode:"hidden",children:c.children}),c.subtreeFlags=E.subtreeFlags&65011712,N!==null?r=An(N,r):(r=en(r,y,u,null),r.flags|=2),r.return=n,c.return=n,c.sibling=r,n.child=c,c=r,r=n.child,y=l.child.memoizedState,y===null?y=_p(u):(E=y.cachePool,E!==null?(N=Sl._currentValue,E=E.parent!==N?{parent:N,pool:N}:E):E=Mf(),y={baseLanes:y.baseLanes|u,cachePool:E}),r.memoizedState=y,r.childLanes=Bp(l,p,u),n.memoizedState=id,c):(Yu(n),u=l.child,l=u.sibling,u=An(u,{mode:"visible",children:c.children}),u.return=n,u.sibling=null,l!==null&&(p=n.deletions,p===null?(n.deletions=[l],n.flags|=16):p.push(l)),n.child=u,n.memoizedState=null,u)}function cd(l,n){return n=od({mode:"visible",children:n},l.mode),n.return=l,l.child=n}function od(l,n){return l=ba(22,l,null,n),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function Ri(l,n,u){return Dc(n,l.child,null,u),l=cd(n,n.pendingProps.children),l.flags|=2,n.memoizedState=null,l}function or(l,n,u){l.lanes|=n;var c=l.alternate;c!==null&&(c.lanes|=n),xf(l.return,n,u)}function sd(l,n,u,c,r){var f=l.memoizedState;f===null?l.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:r}:(f.isBackwards=n,f.rendering=null,f.renderingStartTime=0,f.last=c,f.tail=u,f.tailMode=r)}function rd(l,n,u){var c=n.pendingProps,r=c.revealOrder,f=c.tail;if(Cl(l,n,c.children,u),c=Lt.current,(c&2)!==0)c=c&1|2,n.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=n.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&or(l,u,n);else if(l.tag===19)or(l,u,n);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===n)break e;for(;l.sibling===null;){if(l.return===null||l.return===n)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}c&=1}switch(Me(Lt,c),r){case"forwards":for(u=n.child,r=null;u!==null;)l=u.alternate,l!==null&&ar(l)===null&&(r=u),u=u.sibling;u=r,u===null?(r=n.child,n.child=null):(r=u.sibling,u.sibling=null),sd(n,!1,r,u,f);break;case"backwards":for(u=null,r=n.child,n.child=null;r!==null;){if(l=r.alternate,l!==null&&ar(l)===null){n.child=r;break}l=r.sibling,r.sibling=u,u=r,r=l}sd(n,!0,u,null,f);break;case"together":sd(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function lu(l,n,u){if(l!==null&&(n.dependencies=l.dependencies),Qu|=n.lanes,(u&n.childLanes)===0)if(l!==null){if(bo(l,n,u,!1),(u&n.childLanes)===0)return null}else return null;if(l!==null&&n.child!==l.child)throw Error(T(153));if(n.child!==null){for(l=n.child,u=An(l,l.pendingProps),n.child=u,u.return=n;l.sibling!==null;)l=l.sibling,u=u.sibling=An(l,l.pendingProps),u.return=n;u.sibling=null}return n.child}function fd(l,n){return(l.lanes&n)!==0?!0:(l=l.dependencies,!!(l!==null&&js(l)))}function tg(l,n,u){switch(n.tag){case 3:nt(n,n.stateNode.containerInfo),Bu(n,Sl,l.memoizedState.cache),go();break;case 27:case 5:Rt(n);break;case 4:nt(n,n.stateNode.containerInfo);break;case 10:Bu(n,n.type,n.memoizedProps.value);break;case 13:var c=n.memoizedState;if(c!==null)return c.dehydrated!==null?(Yu(n),n.flags|=128,null):(u&n.child.childLanes)!==0?jp(l,n,u):(Yu(n),l=lu(l,n,u),l!==null?l.sibling:null);Yu(n);break;case 19:var r=(l.flags&128)!==0;if(c=(u&n.childLanes)!==0,c||(bo(l,n,u,!1),c=(u&n.childLanes)!==0),r){if(c)return rd(l,n,u);n.flags|=128}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Me(Lt,Lt.current),c)break;return null;case 22:case 23:return n.lanes=0,ld(l,n,u);case 24:Bu(n,Sl,l.memoizedState.cache)}return lu(l,n,u)}function lg(l,n,u){if(l!==null)if(l.memoizedProps!==n.pendingProps)El=!0;else{if(!fd(l,u)&&(n.flags&128)===0)return El=!1,tg(l,n,u);El=(l.flags&131072)!==0}else El=!1,Mt&&(n.flags&1048576)!==0&&Ef(n,yo,n.index);switch(n.lanes=0,n.tag){case 16:e:{l=n.pendingProps;var c=n.elementType,r=c._init;if(c=r(c._payload),n.type=c,typeof c=="function")qs(c)?(l=Mi(c,l),n.tag=1,n=nd(null,n,c,l,u)):(n.tag=0,n=ad(null,n,c,l,u));else{if(c!=null){if(r=c.$$typeof,r===se){n.tag=11,n=eg(null,n,c,l,u);break e}else if(r===Ee){n.tag=14,n=Lu(null,n,c,l,u);break e}}throw n=F(c)||c,Error(T(306,n,""))}}return n;case 0:return ad(l,n,n.type,n.pendingProps,u);case 1:return c=n.type,r=Mi(c,n.pendingProps),nd(l,n,c,r,u);case 3:e:{if(nt(n,n.stateNode.containerInfo),l===null)throw Error(T(387));c=n.pendingProps;var f=n.memoizedState;r=f.element,Nf(l,n),ju(n,c,null,u);var p=n.memoizedState;if(c=p.cache,Bu(n,Sl,c),c!==f.cache&&ip(n,[Sl],u,!0),Eo(),c=p.element,f.isDehydrated)if(f={element:c,isDehydrated:!1,cache:p.cache},n.updateQueue.baseState=f,n.memoizedState=f,n.flags&256){n=ud(l,n,c,u);break e}else if(c!==r){r=wa(Error(T(424)),n),vo(r),n=ud(l,n,c,u);break e}else{switch(l=n.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(Ct=Un(l.firstChild),hl=n,Mt=!0,ln=null,an=!0,u=Pn(n,null,c,u),n.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(go(),c===r){n=lu(l,n,u);break e}Cl(l,n,c,u)}n=n.child}return n;case 26:return cr(l,n),l===null?(u=vg(n.type,null,n.pendingProps,null))?n.memoizedState=u:Mt||(u=n.type,l=n.pendingProps,c=dn(lt.current).createElement(u),c[Ol]=n,c[ia]=l,et(c,u,l),bl(c),n.stateNode=c):n.memoizedState=vg(n.type,l.memoizedProps,n.pendingProps,l.memoizedState),null;case 27:return Rt(n),l===null&&Mt&&(c=n.stateNode=He(n.type,n.pendingProps,lt.current),hl=n,an=!0,r=Ct,ji(n.type)?(Vi=r,Ct=Un(c.firstChild)):Ct=r),Cl(l,n,n.pendingProps.children,u),cr(l,n),l===null&&(n.flags|=4194304),n.child;case 5:return l===null&&Mt&&((r=c=Ct)&&(c=Jo(c,n.type,n.pendingProps,an),c!==null?(n.stateNode=c,hl=n,Ct=Un(c.firstChild),an=!1,r=!0):r=!1),r||wu(n)),Rt(n),r=n.type,f=n.pendingProps,p=l!==null?l.memoizedProps:null,c=f.children,fu(r,f)?c=null:p!==null&&fu(r,p)&&(n.flags|=32),n.memoizedState!==null&&(r=_f(l,n,km,null,null,u),Ca._currentValue=r),cr(l,n),Cl(l,n,c,u),n.child;case 6:return l===null&&Mt&&((l=u=Ct)&&(u=_v(u,n.pendingProps,an),u!==null?(n.stateNode=u,hl=n,Ct=null,l=!0):l=!1),l||wu(n)),null;case 13:return jp(l,n,u);case 4:return nt(n,n.stateNode.containerInfo),c=n.pendingProps,l===null?n.child=Dc(n,null,c,u):Cl(l,n,c,u),n.child;case 11:return eg(l,n,n.type,n.pendingProps,u);case 7:return Cl(l,n,n.pendingProps,u),n.child;case 8:return Cl(l,n,n.pendingProps.children,u),n.child;case 12:return Cl(l,n,n.pendingProps.children,u),n.child;case 10:return c=n.pendingProps,Bu(n,n.type,c.value),Cl(l,n,c.children,u),n.child;case 9:return r=n.type._context,c=n.pendingProps.children,Ti(n),r=Ml(r),c=c(r),n.flags|=1,Cl(l,n,c,u),n.child;case 14:return Lu(l,n,n.type,n.pendingProps,u);case 15:return Oc(l,n,n.type,n.pendingProps,u);case 19:return rd(l,n,u);case 31:return c=n.pendingProps,u=n.mode,c={mode:c.mode,children:c.children},l===null?(u=od(c,u),u.ref=n.ref,n.child=u,u.return=n,n=u):(u=An(l.child,c),u.ref=n.ref,n.child=u,u.return=n,n=u),n;case 22:return ld(l,n,u);case 24:return Ti(n),c=Ml(Sl),l===null?(r=Ys(),r===null&&(r=kt,f=To(),r.pooledCache=f,f.refCount++,f!==null&&(r.pooledCacheLanes|=u),r=f),n.memoizedState={parent:c,cache:r},Hf(n),Bu(n,Sl,r)):((l.lanes&u)!==0&&(Nf(l,n),ju(n,null,null,u),Eo()),r=l.memoizedState,f=n.memoizedState,r.parent!==c?(r={parent:c,cache:c},n.memoizedState=r,n.lanes===0&&(n.memoizedState=n.updateQueue.baseState=r),Bu(n,Sl,c)):(c=f.cache,Bu(n,Sl,c),c!==r.cache&&ip(n,[Sl],u,!0))),Cl(l,n,n.pendingProps.children,u),n.child;case 29:throw n.pendingProps}throw Error(T(156,n.tag))}function au(l){l.flags|=4}function Co(l,n){if(n.type!=="stylesheet"||(n.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!Ty(n)){if(n=ja.current,n!==null&&((vt&4194048)===vt?ea!==null:(vt&62914560)!==vt&&(vt&536870912)===0||n!==ea))throw mc=Cf,Rf;l.flags|=8192}}function sr(l,n){n!==null&&(l.flags|=4),l.flags&16384&&(n=l.tag!==22?zu():536870912,l.lanes|=n,wo|=n)}function Uo(l,n){if(!Mt)switch(l.tailMode){case"hidden":n=l.tail;for(var u=null;n!==null;)n.alternate!==null&&(u=n),n=n.sibling;u===null?l.tail=null:u.sibling=null;break;case"collapsed":u=l.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?n||l.tail===null?l.tail=null:l.tail.sibling=null:c.sibling=null}}function Ke(l){var n=l.alternate!==null&&l.alternate.child===l.child,u=0,c=0;if(n)for(var r=l.child;r!==null;)u|=r.lanes|r.childLanes,c|=r.subtreeFlags&65011712,c|=r.flags&65011712,r.return=l,r=r.sibling;else for(r=l.child;r!==null;)u|=r.lanes|r.childLanes,c|=r.subtreeFlags,c|=r.flags,r.return=l,r=r.sibling;return l.subtreeFlags|=c,l.childLanes=u,n}function Vp(l,n,u){var c=n.pendingProps;switch(Qn(n),n.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(n),null;case 1:return Ke(n),null;case 3:return u=n.stateNode,c=null,l!==null&&(c=l.memoizedState.cache),n.memoizedState.cache!==c&&(n.flags|=2048),Zn(Sl),xt(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(l===null||l.child===null)&&(mo(n)?au(n):l===null||l.memoizedState.isDehydrated&&(n.flags&256)===0||(n.flags|=1024,up())),Ke(n),null;case 26:return u=n.memoizedState,l===null?(au(n),u!==null?(Ke(n),Co(n,u)):(Ke(n),n.flags&=-16777217)):u?u!==l.memoizedState?(au(n),Ke(n),Co(n,u)):(Ke(n),n.flags&=-16777217):(l.memoizedProps!==c&&au(n),Ke(n),n.flags&=-16777217),null;case 27:gl(n),u=lt.current;var r=n.type;if(l!==null&&n.stateNode!=null)l.memoizedProps!==c&&au(n);else{if(!c){if(n.stateNode===null)throw Error(T(166));return Ke(n),null}l=Le.current,mo(n)?_s(n):(l=He(r,c,u),n.stateNode=l,au(n))}return Ke(n),null;case 5:if(gl(n),u=n.type,l!==null&&n.stateNode!=null)l.memoizedProps!==c&&au(n);else{if(!c){if(n.stateNode===null)throw Error(T(166));return Ke(n),null}if(l=Le.current,mo(n))_s(n);else{switch(r=dn(lt.current),l){case 1:l=r.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:l=r.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":l=r.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":l=r.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":l=r.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof c.is=="string"?r.createElement("select",{is:c.is}):r.createElement("select"),c.multiple?l.multiple=!0:c.size&&(l.size=c.size);break;default:l=typeof c.is=="string"?r.createElement(u,{is:c.is}):r.createElement(u)}}l[Ol]=n,l[ia]=c;e:for(r=n.child;r!==null;){if(r.tag===5||r.tag===6)l.appendChild(r.stateNode);else if(r.tag!==4&&r.tag!==27&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}n.stateNode=l;e:switch(et(l,u,c),u){case"button":case"input":case"select":case"textarea":l=!!c.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&au(n)}}return Ke(n),n.flags&=-16777217,null;case 6:if(l&&n.stateNode!=null)l.memoizedProps!==c&&au(n);else{if(typeof c!="string"&&n.stateNode===null)throw Error(T(166));if(l=lt.current,mo(n)){if(l=n.stateNode,u=n.memoizedProps,c=null,r=hl,r!==null)switch(r.tag){case 27:case 5:c=r.memoizedProps}l[Ol]=n,l=!!(l.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||gy(l.nodeValue,u)),l||wu(n)}else l=dn(l).createTextNode(c),l[Ol]=n,n.stateNode=l}return Ke(n),null;case 13:if(c=n.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(r=mo(n),c!==null&&c.dehydrated!==null){if(l===null){if(!r)throw Error(T(318));if(r=n.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(T(317));r[Ol]=n}else go(),(n.flags&128)===0&&(n.memoizedState=null),n.flags|=4;Ke(n),r=!1}else r=up(),l!==null&&l.memoizedState!==null&&(l.memoizedState.hydrationErrors=r),r=!0;if(!r)return n.flags&256?(Rn(n),n):(Rn(n),null)}if(Rn(n),(n.flags&128)!==0)return n.lanes=u,n;if(u=c!==null,l=l!==null&&l.memoizedState!==null,u){c=n.child,r=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(r=c.alternate.memoizedState.cachePool.pool);var f=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(f=c.memoizedState.cachePool.pool),f!==r&&(c.flags|=2048)}return u!==l&&u&&(n.child.flags|=8192),sr(n,n.updateQueue),Ke(n),null;case 4:return xt(),l===null&&yy(n.stateNode.containerInfo),Ke(n),null;case 10:return Zn(n.type),Ke(n),null;case 19:if(de(Lt),r=n.memoizedState,r===null)return Ke(n),null;if(c=(n.flags&128)!==0,f=r.rendering,f===null)if(c)Uo(r,!1);else{if(rl!==0||l!==null&&(l.flags&128)!==0)for(l=n.child;l!==null;){if(f=ar(l),f!==null){for(n.flags|=128,Uo(r,!1),l=f.updateQueue,n.updateQueue=l,sr(n,l),n.subtreeFlags=0,l=u,u=n.child;u!==null;)ht(u,l),u=u.sibling;return Me(Lt,Lt.current&1|2),n.child}l=l.sibling}r.tail!==null&&be()>Sd&&(n.flags|=128,c=!0,Uo(r,!1),n.lanes=4194304)}else{if(!c)if(l=ar(f),l!==null){if(n.flags|=128,c=!0,l=l.updateQueue,n.updateQueue=l,sr(n,l),Uo(r,!0),r.tail===null&&r.tailMode==="hidden"&&!f.alternate&&!Mt)return Ke(n),null}else 2*be()-r.renderingStartTime>Sd&&u!==536870912&&(n.flags|=128,c=!0,Uo(r,!1),n.lanes=4194304);r.isBackwards?(f.sibling=n.child,n.child=f):(l=r.last,l!==null?l.sibling=f:n.child=f,r.last=f)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.renderingStartTime=be(),n.sibling=null,l=Lt.current,Me(Lt,c?l&1|2:l&1),n):(Ke(n),null);case 22:case 23:return Rn(n),Ao(),c=n.memoizedState!==null,l!==null?l.memoizedState!==null!==c&&(n.flags|=8192):c&&(n.flags|=8192),c?(u&536870912)!==0&&(n.flags&128)===0&&(Ke(n),n.subtreeFlags&6&&(n.flags|=8192)):Ke(n),u=n.updateQueue,u!==null&&sr(n,u.retryQueue),u=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),c=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(c=n.memoizedState.cachePool.pool),c!==u&&(n.flags|=2048),l!==null&&de(Jn),null;case 24:return u=null,l!==null&&(u=l.memoizedState.cache),n.memoizedState.cache!==u&&(n.flags|=2048),Zn(Sl),Ke(n),null;case 25:return null;case 30:return null}throw Error(T(156,n.tag))}function Mv(l,n){switch(Qn(n),n.tag){case 1:return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 3:return Zn(Sl),xt(),l=n.flags,(l&65536)!==0&&(l&128)===0?(n.flags=l&-65537|128,n):null;case 26:case 27:case 5:return gl(n),null;case 13:if(Rn(n),l=n.memoizedState,l!==null&&l.dehydrated!==null){if(n.alternate===null)throw Error(T(340));go()}return l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 19:return de(Lt),null;case 4:return xt(),null;case 10:return Zn(n.type),null;case 22:case 23:return Rn(n),Ao(),l!==null&&de(Jn),l=n.flags,l&65536?(n.flags=l&-65537|128,n):null;case 24:return Zn(Sl),null;case 25:return null;default:return null}}function Gp(l,n){switch(Qn(n),n.tag){case 3:Zn(Sl),xt();break;case 26:case 27:case 5:gl(n);break;case 4:xt();break;case 13:Rn(n);break;case 19:de(Lt);break;case 10:Zn(n.type);break;case 22:case 23:Rn(n),Ao(),l!==null&&de(Jn);break;case 24:Zn(Sl)}}function rr(l,n){try{var u=n.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var r=c.next;u=r;do{if((u.tag&l)===l){c=void 0;var f=u.create,p=u.inst;c=f(),p.destroy=c}u=u.next}while(u!==r)}}catch(y){Vt(n,n.return,y)}}function Ci(l,n,u){try{var c=n.updateQueue,r=c!==null?c.lastEffect:null;if(r!==null){var f=r.next;c=f;do{if((c.tag&l)===l){var p=c.inst,y=p.destroy;if(y!==void 0){p.destroy=void 0,r=n;var E=u,N=y;try{N()}catch(I){Vt(r,E,I)}}}c=c.next}while(c!==f)}}catch(I){Vt(n,n.return,I)}}function dd(l){var n=l.updateQueue;if(n!==null){var u=l.stateNode;try{ks(n,u)}catch(c){Vt(l,l.return,c)}}}function Yp(l,n,u){u.props=Mi(l.type,l.memoizedProps),u.state=l.memoizedState;try{u.componentWillUnmount()}catch(c){Vt(l,n,c)}}function Ho(l,n){try{var u=l.ref;if(u!==null){switch(l.tag){case 26:case 27:case 5:var c=l.stateNode;break;case 30:c=l.stateNode;break;default:c=l.stateNode}typeof u=="function"?l.refCleanup=u(c):u.current=c}}catch(r){Vt(l,n,r)}}function Cn(l,n){var u=l.ref,c=l.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(r){Vt(l,n,r)}finally{l.refCleanup=null,l=l.alternate,l!=null&&(l.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(r){Vt(l,n,r)}else u.current=null}function No(l){var n=l.type,u=l.memoizedProps,c=l.stateNode;try{e:switch(n){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(r){Vt(l,l.return,r)}}function Lp(l,n,u){try{var c=l.stateNode;Nv(c,l.type,u,n),c[ia]=n}catch(r){Vt(l,l.return,r)}}function ag(l){return l.tag===5||l.tag===3||l.tag===26||l.tag===27&&ji(l.type)||l.tag===4}function on(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||ag(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.tag===27&&ji(l.type)||l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function Rc(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(l,n):(n=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,n.appendChild(l),u=u._reactRootContainer,u!=null||n.onclick!==null||(n.onclick=Hd));else if(c!==4&&(c===27&&ji(l.type)&&(u=l.stateNode,n=null),l=l.child,l!==null))for(Rc(l,n,u),l=l.sibling;l!==null;)Rc(l,n,u),l=l.sibling}function hd(l,n,u){var c=l.tag;if(c===5||c===6)l=l.stateNode,n?u.insertBefore(l,n):u.appendChild(l);else if(c!==4&&(c===27&&ji(l.type)&&(u=l.stateNode),l=l.child,l!==null))for(hd(l,n,u),l=l.sibling;l!==null;)hd(l,n,u),l=l.sibling}function pd(l){var n=l.stateNode,u=l.memoizedProps;try{for(var c=l.type,r=n.attributes;r.length;)n.removeAttributeNode(r[0]);et(n,c,u),n[Ol]=l,n[ia]=u}catch(f){Vt(l,l.return,f)}}var nu=!1,ol=!1,yd=!1,md=typeof WeakSet=="function"?WeakSet:Set,xl=null;function Xp(l,n){if(l=l.containerInfo,xr=Rr,l=Ih(l),Hs(l)){if("selectionStart"in l)var u={start:l.selectionStart,end:l.selectionEnd};else e:{u=(u=l.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var r=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{u.nodeType,f.nodeType}catch{u=null;break e}var p=0,y=-1,E=-1,N=0,I=0,ae=l,_=null;t:for(;;){for(var j;ae!==u||r!==0&&ae.nodeType!==3||(y=p+r),ae!==f||c!==0&&ae.nodeType!==3||(E=p+c),ae.nodeType===3&&(p+=ae.nodeValue.length),(j=ae.firstChild)!==null;)_=ae,ae=j;for(;;){if(ae===l)break t;if(_===u&&++N===r&&(y=p),_===f&&++I===c&&(E=p),(j=ae.nextSibling)!==null)break;ae=_,_=ae.parentNode}ae=j}u=y===-1||E===-1?null:{start:y,end:E}}else u=null}u=u||{start:0,end:0}}else u=null;for(Ar={focusedElem:l,selectionRange:u},Rr=!1,xl=n;xl!==null;)if(n=xl,l=n.child,(n.subtreeFlags&1024)!==0&&l!==null)l.return=n,xl=l;else for(;xl!==null;){switch(n=xl,f=n.alternate,l=n.flags,n.tag){case 0:break;case 11:case 15:break;case 1:if((l&1024)!==0&&f!==null){l=void 0,u=n,r=f.memoizedProps,f=f.memoizedState,c=u.stateNode;try{var Ze=Mi(u.type,r,u.elementType===u.type);l=c.getSnapshotBeforeUpdate(Ze,f),c.__reactInternalSnapshotBeforeUpdate=l}catch($e){Vt(u,u.return,$e)}}break;case 3:if((l&1024)!==0){if(l=n.stateNode.containerInfo,u=l.nodeType,u===9)Dr(l);else if(u===1)switch(l.nodeName){case"HEAD":case"HTML":case"BODY":Dr(l);break;default:l.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((l&1024)!==0)throw Error(T(163))}if(l=n.sibling,l!==null){l.return=n.return,xl=l;break}xl=n.return}}function kp(l,n,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:iu(l,u),c&4&&rr(5,u);break;case 1:if(iu(l,u),c&4)if(l=u.stateNode,n===null)try{l.componentDidMount()}catch(p){Vt(u,u.return,p)}else{var r=Mi(u.type,n.memoizedProps);n=n.memoizedState;try{l.componentDidUpdate(r,n,l.__reactInternalSnapshotBeforeUpdate)}catch(p){Vt(u,u.return,p)}}c&64&&dd(u),c&512&&Ho(u,u.return);break;case 3:if(iu(l,u),c&64&&(l=u.updateQueue,l!==null)){if(n=null,u.child!==null)switch(u.child.tag){case 27:case 5:n=u.child.stateNode;break;case 1:n=u.child.stateNode}try{ks(l,n)}catch(p){Vt(u,u.return,p)}}break;case 27:n===null&&c&4&&pd(u);case 26:case 5:iu(l,u),n===null&&c&4&&No(u),c&512&&Ho(u,u.return);break;case 12:iu(l,u);break;case 13:iu(l,u),c&4&&gd(l,u),c&64&&(l=u.memoizedState,l!==null&&(l=l.dehydrated,l!==null&&(u=Rv.bind(null,u),Bv(l,u))));break;case 22:if(c=u.memoizedState!==null||nu,!c){n=n!==null&&n.memoizedState!==null||ol,r=nu;var f=ol;nu=c,(ol=n)&&!f?Ui(l,u,(u.subtreeFlags&8772)!==0):iu(l,u),nu=r,ol=f}break;case 30:break;default:iu(l,u)}}function Qp(l){var n=l.alternate;n!==null&&(l.alternate=null,Qp(n)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(n=l.stateNode,n!==null&&ms(n)),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}var Ft=null,Vl=!1;function uu(l,n,u){for(u=u.child;u!==null;)mt(l,n,u),u=u.sibling}function mt(l,n,u){if(Ne&&typeof Ne.onCommitFiberUnmount=="function")try{Ne.onCommitFiberUnmount(Ot,u)}catch{}switch(u.tag){case 26:ol||Cn(u,n),uu(l,n,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:ol||Cn(u,n);var c=Ft,r=Vl;ji(u.type)&&(Ft=u.stateNode,Vl=!1),uu(l,n,u),Ma(u.stateNode),Ft=c,Vl=r;break;case 5:ol||Cn(u,n);case 6:if(c=Ft,r=Vl,Ft=null,uu(l,n,u),Ft=c,Vl=r,Ft!==null)if(Vl)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(u.stateNode)}catch(f){Vt(u,n,f)}else try{Ft.removeChild(u.stateNode)}catch(f){Vt(u,n,f)}break;case 18:Ft!==null&&(Vl?(l=Ft,qd(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,u.stateNode),pu(l)):qd(Ft,u.stateNode));break;case 4:c=Ft,r=Vl,Ft=u.stateNode.containerInfo,Vl=!0,uu(l,n,u),Ft=c,Vl=r;break;case 0:case 11:case 14:case 15:ol||Ci(2,u,n),ol||Ci(4,u,n),uu(l,n,u);break;case 1:ol||(Cn(u,n),c=u.stateNode,typeof c.componentWillUnmount=="function"&&Yp(u,n,c)),uu(l,n,u);break;case 21:uu(l,n,u);break;case 22:ol=(c=ol)||u.memoizedState!==null,uu(l,n,u),ol=c;break;default:uu(l,n,u)}}function gd(l,n){if(n.memoizedState===null&&(l=n.alternate,l!==null&&(l=l.memoizedState,l!==null&&(l=l.dehydrated,l!==null))))try{pu(l)}catch(u){Vt(n,n.return,u)}}function Zp(l){switch(l.tag){case 13:case 19:var n=l.stateNode;return n===null&&(n=l.stateNode=new md),n;case 22:return l=l.stateNode,n=l._retryCache,n===null&&(n=l._retryCache=new md),n;default:throw Error(T(435,l.tag))}}function vd(l,n){var u=Zp(l);n.forEach(function(c){var r=Cv.bind(null,l,c);u.has(c)||(u.add(c),c.then(r,r))})}function sa(l,n){var u=n.deletions;if(u!==null)for(var c=0;c<u.length;c++){var r=u[c],f=l,p=n,y=p;e:for(;y!==null;){switch(y.tag){case 27:if(ji(y.type)){Ft=y.stateNode,Vl=!1;break e}break;case 5:Ft=y.stateNode,Vl=!1;break e;case 3:case 4:Ft=y.stateNode.containerInfo,Vl=!0;break e}y=y.return}if(Ft===null)throw Error(T(160));mt(f,p,r),Ft=null,Vl=!1,f=r.alternate,f!==null&&(f.return=null),r.return=null}if(n.subtreeFlags&13878)for(n=n.child;n!==null;)fr(n,l),n=n.sibling}var ra=null;function fr(l,n){var u=l.alternate,c=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:sa(n,l),Ul(l),c&4&&(Ci(3,l,l.return),rr(3,l),Ci(5,l,l.return));break;case 1:sa(n,l),Ul(l),c&512&&(ol||u===null||Cn(u,u.return)),c&64&&nu&&(l=l.updateQueue,l!==null&&(c=l.callbacks,c!==null&&(u=l.shared.hiddenCallbacks,l.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var r=ra;if(sa(n,l),Ul(l),c&512&&(ol||u===null||Cn(u,u.return)),c&4){var f=u!==null?u.memoizedState:null;if(c=l.memoizedState,u===null)if(c===null)if(l.stateNode===null){e:{c=l.type,u=l.memoizedProps,r=r.ownerDocument||r;t:switch(c){case"title":f=r.getElementsByTagName("title")[0],(!f||f[Be]||f[Ol]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=r.createElement(c),r.head.insertBefore(f,r.querySelector("head > title"))),et(f,c,u),f[Ol]=l,bl(f),c=f;break e;case"link":var p=by("link","href",r).get(c+(u.href||""));if(p){for(var y=0;y<p.length;y++)if(f=p[y],f.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&f.getAttribute("rel")===(u.rel==null?null:u.rel)&&f.getAttribute("title")===(u.title==null?null:u.title)&&f.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){p.splice(y,1);break t}}f=r.createElement(c),et(f,c,u),r.head.appendChild(f);break;case"meta":if(p=by("meta","content",r).get(c+(u.content||""))){for(y=0;y<p.length;y++)if(f=p[y],f.getAttribute("content")===(u.content==null?null:""+u.content)&&f.getAttribute("name")===(u.name==null?null:u.name)&&f.getAttribute("property")===(u.property==null?null:u.property)&&f.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&f.getAttribute("charset")===(u.charSet==null?null:u.charSet)){p.splice(y,1);break t}}f=r.createElement(c),et(f,c,u),r.head.appendChild(f);break;default:throw Error(T(468,c))}f[Ol]=l,bl(f),c=f}l.stateNode=c}else Sy(r,l.type,l.stateNode);else l.stateNode=Sg(r,c,l.memoizedProps);else f!==c?(f===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):f.count--,c===null?Sy(r,l.type,l.stateNode):Sg(r,c,l.memoizedProps)):c===null&&l.stateNode!==null&&Lp(l,l.memoizedProps,u.memoizedProps)}break;case 27:sa(n,l),Ul(l),c&512&&(ol||u===null||Cn(u,u.return)),u!==null&&c&4&&Lp(l,l.memoizedProps,u.memoizedProps);break;case 5:if(sa(n,l),Ul(l),c&512&&(ol||u===null||Cn(u,u.return)),l.flags&32){r=l.stateNode;try{ao(r,"")}catch(j){Vt(l,l.return,j)}}c&4&&l.stateNode!=null&&(r=l.memoizedProps,Lp(l,r,u!==null?u.memoizedProps:r)),c&1024&&(yd=!0);break;case 6:if(sa(n,l),Ul(l),c&4){if(l.stateNode===null)throw Error(T(162));c=l.memoizedProps,u=l.stateNode;try{u.nodeValue=c}catch(j){Vt(l,l.return,j)}}break;case 3:if(Li=null,r=ra,ra=wd(n.containerInfo),sa(n,l),ra=r,Ul(l),c&4&&u!==null&&u.memoizedState.isDehydrated)try{pu(n.containerInfo)}catch(j){Vt(l,l.return,j)}yd&&(yd=!1,$p(l));break;case 4:c=ra,ra=wd(l.stateNode.containerInfo),sa(n,l),Ul(l),ra=c;break;case 12:sa(n,l),Ul(l);break;case 13:sa(n,l),Ul(l),l.child.flags&8192&&l.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(ty=be()),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,vd(l,c)));break;case 22:r=l.memoizedState!==null;var E=u!==null&&u.memoizedState!==null,N=nu,I=ol;if(nu=N||r,ol=I||E,sa(n,l),ol=I,nu=N,Ul(l),c&8192)e:for(n=l.stateNode,n._visibility=r?n._visibility&-2:n._visibility|1,r&&(u===null||E||nu||ol||It(l)),u=null,n=l;;){if(n.tag===5||n.tag===26){if(u===null){E=u=n;try{if(f=E.stateNode,r)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{y=E.stateNode;var ae=E.memoizedProps.style,_=ae!=null&&ae.hasOwnProperty("display")?ae.display:null;y.style.display=_==null||typeof _=="boolean"?"":(""+_).trim()}}catch(j){Vt(E,E.return,j)}}}else if(n.tag===6){if(u===null){E=n;try{E.stateNode.nodeValue=r?"":E.memoizedProps}catch(j){Vt(E,E.return,j)}}}else if((n.tag!==22&&n.tag!==23||n.memoizedState===null||n===l)&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===l)break e;for(;n.sibling===null;){if(n.return===null||n.return===l)break e;u===n&&(u=null),n=n.return}u===n&&(u=null),n.sibling.return=n.return,n=n.sibling}c&4&&(c=l.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,vd(l,u))));break;case 19:sa(n,l),Ul(l),c&4&&(c=l.updateQueue,c!==null&&(l.updateQueue=null,vd(l,c)));break;case 30:break;case 21:break;default:sa(n,l),Ul(l)}}function Ul(l){var n=l.flags;if(n&2){try{for(var u,c=l.return;c!==null;){if(ag(c)){u=c;break}c=c.return}if(u==null)throw Error(T(160));switch(u.tag){case 27:var r=u.stateNode,f=on(l);hd(l,f,r);break;case 5:var p=u.stateNode;u.flags&32&&(ao(p,""),u.flags&=-33);var y=on(l);hd(l,y,p);break;case 3:case 4:var E=u.stateNode.containerInfo,N=on(l);Rc(l,N,E);break;default:throw Error(T(161))}}catch(I){Vt(l,l.return,I)}l.flags&=-3}n&4096&&(l.flags&=-4097)}function $p(l){if(l.subtreeFlags&1024)for(l=l.child;l!==null;){var n=l;$p(n),n.tag===5&&n.flags&1024&&n.stateNode.reset(),l=l.sibling}}function iu(l,n){if(n.subtreeFlags&8772)for(n=n.child;n!==null;)kp(l,n.alternate,n),n=n.sibling}function It(l){for(l=l.child;l!==null;){var n=l;switch(n.tag){case 0:case 11:case 14:case 15:Ci(4,n,n.return),It(n);break;case 1:Cn(n,n.return);var u=n.stateNode;typeof u.componentWillUnmount=="function"&&Yp(n,n.return,u),It(n);break;case 27:Ma(n.stateNode);case 26:case 5:Cn(n,n.return),It(n);break;case 22:n.memoizedState===null&&It(n);break;case 30:It(n);break;default:It(n)}l=l.sibling}}function Ui(l,n,u){for(u=u&&(n.subtreeFlags&8772)!==0,n=n.child;n!==null;){var c=n.alternate,r=l,f=n,p=f.flags;switch(f.tag){case 0:case 11:case 15:Ui(r,f,u),rr(4,f);break;case 1:if(Ui(r,f,u),c=f,r=c.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(N){Vt(c,c.return,N)}if(c=f,r=c.updateQueue,r!==null){var y=c.stateNode;try{var E=r.shared.hiddenCallbacks;if(E!==null)for(r.shared.hiddenCallbacks=null,r=0;r<E.length;r++)qf(E[r],y)}catch(N){Vt(c,c.return,N)}}u&&p&64&&dd(f),Ho(f,f.return);break;case 27:pd(f);case 26:case 5:Ui(r,f,u),u&&c===null&&p&4&&No(f),Ho(f,f.return);break;case 12:Ui(r,f,u);break;case 13:Ui(r,f,u),u&&p&4&&gd(r,f);break;case 22:f.memoizedState===null&&Ui(r,f,u),Ho(f,f.return);break;case 30:break;default:Ui(r,f,u)}n=n.sibling}}function sn(l,n){var u=null;l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(u=l.memoizedState.cachePool.pool),l=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),l!==u&&(l!=null&&l.refCount++,u!=null&&$n(u))}function bd(l,n){l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&$n(l))}function Gl(l,n,u,c){if(n.subtreeFlags&10256)for(n=n.child;n!==null;)Jp(l,n,u,c),n=n.sibling}function Jp(l,n,u,c){var r=n.flags;switch(n.tag){case 0:case 11:case 15:Gl(l,n,u,c),r&2048&&rr(9,n);break;case 1:Gl(l,n,u,c);break;case 3:Gl(l,n,u,c),r&2048&&(l=null,n.alternate!==null&&(l=n.alternate.memoizedState.cache),n=n.memoizedState.cache,n!==l&&(n.refCount++,l!=null&&$n(l)));break;case 12:if(r&2048){Gl(l,n,u,c),l=n.stateNode;try{var f=n.memoizedProps,p=f.id,y=f.onPostCommit;typeof y=="function"&&y(p,n.alternate===null?"mount":"update",l.passiveEffectDuration,-0)}catch(E){Vt(n,n.return,E)}}else Gl(l,n,u,c);break;case 13:Gl(l,n,u,c);break;case 23:break;case 22:f=n.stateNode,p=n.alternate,n.memoizedState!==null?f._visibility&2?Gl(l,n,u,c):Ut(l,n):f._visibility&2?Gl(l,n,u,c):(f._visibility|=2,Xu(l,n,u,c,(n.subtreeFlags&10256)!==0)),r&2048&&sn(p,n);break;case 24:Gl(l,n,u,c),r&2048&&bd(n.alternate,n);break;default:Gl(l,n,u,c)}}function Xu(l,n,u,c,r){for(r=r&&(n.subtreeFlags&10256)!==0,n=n.child;n!==null;){var f=l,p=n,y=u,E=c,N=p.flags;switch(p.tag){case 0:case 11:case 15:Xu(f,p,y,E,r),rr(8,p);break;case 23:break;case 22:var I=p.stateNode;p.memoizedState!==null?I._visibility&2?Xu(f,p,y,E,r):Ut(f,p):(I._visibility|=2,Xu(f,p,y,E,r)),r&&N&2048&&sn(p.alternate,p);break;case 24:Xu(f,p,y,E,r),r&&N&2048&&bd(p.alternate,p);break;default:Xu(f,p,y,E,r)}n=n.sibling}}function Ut(l,n){if(n.subtreeFlags&10256)for(n=n.child;n!==null;){var u=l,c=n,r=c.flags;switch(c.tag){case 22:Ut(u,c),r&2048&&sn(c.alternate,c);break;case 24:Ut(u,c),r&2048&&bd(c.alternate,c);break;default:Ut(u,c)}n=n.sibling}}var Cc=8192;function sl(l){if(l.subtreeFlags&Cc)for(l=l.child;l!==null;)ng(l),l=l.sibling}function ng(l){switch(l.tag){case 26:sl(l),l.flags&Cc&&l.memoizedState!==null&&xg(ra,l.memoizedState,l.memoizedProps);break;case 5:sl(l);break;case 3:case 4:var n=ra;ra=wd(l.stateNode.containerInfo),sl(l),ra=n;break;case 22:l.memoizedState===null&&(n=l.alternate,n!==null&&n.memoizedState!==null?(n=Cc,Cc=16777216,sl(l),Cc=n):sl(l));break;default:sl(l)}}function Kp(l){var n=l.alternate;if(n!==null&&(l=n.child,l!==null)){n.child=null;do n=l.sibling,l.sibling=null,l=n;while(l!==null)}}function Uc(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];xl=c,Fp(c,l)}Kp(l)}if(l.subtreeFlags&10256)for(l=l.child;l!==null;)Wp(l),l=l.sibling}function Wp(l){switch(l.tag){case 0:case 11:case 15:Uc(l),l.flags&2048&&Ci(9,l,l.return);break;case 3:Uc(l);break;case 12:Uc(l);break;case 22:var n=l.stateNode;l.memoizedState!==null&&n._visibility&2&&(l.return===null||l.return.tag!==13)?(n._visibility&=-3,fa(l)):Uc(l);break;default:Uc(l)}}function fa(l){var n=l.deletions;if((l.flags&16)!==0){if(n!==null)for(var u=0;u<n.length;u++){var c=n[u];xl=c,Fp(c,l)}Kp(l)}for(l=l.child;l!==null;){switch(n=l,n.tag){case 0:case 11:case 15:Ci(8,n,n.return),fa(n);break;case 22:u=n.stateNode,u._visibility&2&&(u._visibility&=-3,fa(n));break;default:fa(n)}l=l.sibling}}function Fp(l,n){for(;xl!==null;){var u=xl;switch(u.tag){case 0:case 11:case 15:Ci(8,u,n);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:$n(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,xl=c;else e:for(u=l;xl!==null;){c=xl;var r=c.sibling,f=c.return;if(Qp(c),c===u){xl=null;break e}if(r!==null){r.return=f,xl=r;break e}xl=f}}}var Ip={getCacheForType:function(l){var n=Ml(Sl),u=n.data.get(l);return u===void 0&&(u=l(),n.data.set(l,u)),u}},ug=typeof WeakMap=="function"?WeakMap:Map,Bt=0,kt=null,gt=null,vt=0,jt=0,Da=null,cu=!1,qo=!1,Pp=!1,ku=0,rl=0,Qu=0,Hc=0,ou=0,rn=0,wo=0,_o=null,za=null,ey=!1,ty=0,Sd=1/0,Bo=null,Hi=null,Yl=0,su=null,jo=null,Ll=0,Td=0,Ed=null,ly=null,Vo=0,ay=null;function Va(){if((Bt&2)!==0&&vt!==0)return vt&-vt;if(S.T!==null){var l=nn;return l!==0?l:_c()}return bm()}function ny(){rn===0&&(rn=(vt&536870912)===0||Mt?wl():536870912);var l=ja.current;return l!==null&&(l.flags|=32),rn}function Ga(l,n,u){(l===kt&&(jt===2||jt===9)||l.cancelPendingCommit!==null)&&(ru(l,0),Zu(l,vt,rn,!1)),ui(l,u),((Bt&2)===0||l!==kt)&&(l===kt&&((Bt&2)===0&&(Hc|=u),rl===4&&Zu(l,vt,rn,!1)),Oa(l))}function Go(l,n,u){if((Bt&6)!==0)throw Error(T(327));var c=!u&&(n&124)===0&&(n&l.expiredLanes)===0||Ha(l,n),r=c?iy(l,n):xd(l,n,!0),f=c;do{if(r===0){qo&&!c&&Zu(l,n,0,!1);break}else{if(u=l.current.alternate,f&&!ig(u)){r=xd(l,n,!1),f=!1;continue}if(r===2){if(f=n,l.errorRecoveryDisabledLanes&f)var p=0;else p=l.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){n=p;e:{var y=l;r=_o;var E=y.current.memoizedState.isDehydrated;if(E&&(ru(y,p).flags|=256),p=xd(y,p,!1),p!==2){if(Pp&&!E){y.errorRecoveryDisabledLanes|=f,Hc|=f,r=4;break e}f=za,za=r,f!==null&&(za===null?za=f:za.push.apply(za,f))}r=p}if(f=!1,r!==2)continue}}if(r===1){ru(l,0),Zu(l,n,0,!0);break}e:{switch(c=l,f=r,f){case 0:case 1:throw Error(T(345));case 4:if((n&4194048)!==n)break;case 6:Zu(c,n,rn,!cu);break e;case 2:za=null;break;case 3:case 5:break;default:throw Error(T(329))}if((n&62914560)===n&&(r=ty+300-be(),10<r)){if(Zu(c,n,rn,!cu),gn(c,0,!0)!==0)break e;c.timeoutHandle=Nd(dr.bind(null,c,u,za,Bo,ey,n,rn,Hc,wo,cu,f,2,-0,0),r);break e}dr(c,u,za,Bo,ey,n,rn,Hc,wo,cu,f,0,-0,0)}}break}while(!0);Oa(l)}function dr(l,n,u,c,r,f,p,y,E,N,I,ae,_,j){if(l.timeoutHandle=-1,ae=n.subtreeFlags,(ae&8192||(ae&16785408)===16785408)&&(Io={stylesheets:null,count:0,unsuspend:Eg},ng(n),ae=Ey(),ae!==null)){l.cancelPendingCommit=ae(sg.bind(null,l,n,f,u,c,r,p,y,E,I,1,_,j)),Zu(l,f,p,!N);return}sg(l,n,f,u,c,r,p,y,E)}function ig(l){for(var n=l;;){var u=n.tag;if((u===0||u===11||u===15)&&n.flags&16384&&(u=n.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var r=u[c],f=r.getSnapshot;r=r.value;try{if(!jl(f(),r))return!1}catch{return!1}}if(u=n.child,n.subtreeFlags&16384&&u!==null)u.return=n,n=u;else{if(n===l)break;for(;n.sibling===null;){if(n.return===null||n.return===l)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Zu(l,n,u,c){n&=~ou,n&=~Hc,l.suspendedLanes|=n,l.pingedLanes&=~n,c&&(l.warmLanes|=n),c=l.expirationTimes;for(var r=n;0<r;){var f=31-Tt(r),p=1<<f;c[f]=-1,r&=~p}u!==0&&Wa(l,u,n)}function Nc(){return(Bt&6)===0?(mr(0),!1):!0}function Ni(){if(gt!==null){if(jt===0)var l=gt.return;else l=gt,zn=_u=null,jf(l),xc=null,Oo=0,l=gt;for(;l!==null;)Gp(l.alternate,l),l=l.return;gt=null}}function ru(l,n){var u=l.timeoutHandle;u!==-1&&(l.timeoutHandle=-1,qv(u)),u=l.cancelPendingCommit,u!==null&&(l.cancelPendingCommit=null,u()),Ni(),kt=l,gt=u=An(l.current,null),vt=n,jt=0,Da=null,cu=!1,qo=Ha(l,n),Pp=!1,wo=rn=ou=Hc=Qu=rl=0,za=_o=null,ey=!1,(n&8)!==0&&(n|=n&32);var c=l.entangledLanes;if(c!==0)for(l=l.entanglements,c&=n;0<c;){var r=31-Tt(c),f=1<<r;n|=l[r],c&=~f}return ku=n,xn(),u}function uy(l,n){ct=null,S.H=Pf,n===xi||n===Ls?(n=sp(),jt=3):n===Rf?(n=sp(),jt=4):jt=n===cl?8:n!==null&&typeof n=="object"&&typeof n.then=="function"?6:1,Da=n,gt===null&&(rl=1,ir(l,wa(n,l.current)))}function cg(){var l=S.H;return S.H=Pf,l===null?Pf:l}function qc(){var l=S.A;return S.A=Ip,l}function wc(){rl=4,cu||(vt&4194048)!==vt&&ja.current!==null||(qo=!0),(Qu&134217727)===0&&(Hc&134217727)===0||kt===null||Zu(kt,vt,rn,!1)}function xd(l,n,u){var c=Bt;Bt|=2;var r=cg(),f=qc();(kt!==l||vt!==n)&&(Bo=null,ru(l,n)),n=!1;var p=rl;e:do try{if(jt!==0&>!==null){var y=gt,E=Da;switch(jt){case 8:Ni(),p=6;break e;case 3:case 2:case 9:case 6:ja.current===null&&(n=!0);var N=jt;if(jt=0,Da=null,Yo(l,y,E,N),u&&qo){p=0;break e}break;default:N=jt,jt=0,Da=null,Yo(l,y,E,N)}}Ad(),p=rl;break}catch(I){uy(l,I)}while(!0);return n&&l.shellSuspendCounter++,zn=_u=null,Bt=c,S.H=r,S.A=f,gt===null&&(kt=null,vt=0,xn()),p}function Ad(){for(;gt!==null;)oy(gt)}function iy(l,n){var u=Bt;Bt|=2;var c=cg(),r=qc();kt!==l||vt!==n?(Bo=null,Sd=be()+500,ru(l,n)):qo=Ha(l,n);e:do try{if(jt!==0&>!==null){n=gt;var f=Da;t:switch(jt){case 1:jt=0,Da=null,Yo(l,n,f,1);break;case 2:case 9:if(Uf(f)){jt=0,Da=null,sy(n);break}n=function(){jt!==2&&jt!==9||kt!==l||(jt=7),Oa(l)},f.then(n,n);break e;case 3:jt=7;break e;case 4:jt=5;break e;case 7:Uf(f)?(jt=0,Da=null,sy(n)):(jt=0,Da=null,Yo(l,n,f,7));break;case 5:var p=null;switch(gt.tag){case 26:p=gt.memoizedState;case 5:case 27:var y=gt;if(!p||Ty(p)){jt=0,Da=null;var E=y.sibling;if(E!==null)gt=E;else{var N=y.return;N!==null?(gt=N,hr(N)):gt=null}break t}}jt=0,Da=null,Yo(l,n,f,5);break;case 6:jt=0,Da=null,Yo(l,n,f,6);break;case 8:Ni(),rl=6;break e;default:throw Error(T(462))}}cy();break}catch(I){uy(l,I)}while(!0);return zn=_u=null,S.H=c,S.A=r,Bt=u,gt!==null?0:(kt=null,vt=0,xn(),rl)}function cy(){for(;gt!==null&&!Se();)oy(gt)}function oy(l){var n=lg(l.alternate,l,ku);l.memoizedProps=l.pendingProps,n===null?hr(l):gt=n}function sy(l){var n=l,u=n.alternate;switch(n.tag){case 15:case 0:n=wp(u,n,n.pendingProps,n.type,void 0,vt);break;case 11:n=wp(u,n,n.pendingProps,n.type.render,n.ref,vt);break;case 5:jf(n);default:Gp(u,n),n=gt=ht(n,ku),n=lg(u,n,ku)}l.memoizedProps=l.pendingProps,n===null?hr(l):gt=n}function Yo(l,n,u,c){zn=_u=null,jf(n),xc=null,Oo=0;var r=n.return;try{if(Pm(l,r,n,u,vt)){rl=1,ir(l,wa(u,l.current)),gt=null;return}}catch(f){if(r!==null)throw gt=r,f;rl=1,ir(l,wa(u,l.current)),gt=null;return}n.flags&32768?(Mt||c===1?l=!0:qo||(vt&536870912)!==0?l=!1:(cu=l=!0,(c===2||c===9||c===3||c===6)&&(c=ja.current,c!==null&&c.tag===13&&(c.flags|=16384))),og(n,l)):hr(n)}function hr(l){var n=l;do{if((n.flags&32768)!==0){og(n,cu);return}l=n.return;var u=Vp(n.alternate,n,ku);if(u!==null){gt=u;return}if(n=n.sibling,n!==null){gt=n;return}gt=n=l}while(n!==null);rl===0&&(rl=5)}function og(l,n){do{var u=Mv(l.alternate,l);if(u!==null){u.flags&=32767,gt=u;return}if(u=l.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!n&&(l=l.sibling,l!==null)){gt=l;return}gt=l=u}while(l!==null);rl=6,gt=null}function sg(l,n,u,c,r,f,p,y,E){l.cancelPendingCommit=null;do zd();while(Yl!==0);if((Bt&6)!==0)throw Error(T(327));if(n!==null){if(n===l.current)throw Error(T(177));if(f=n.lanes|n.childLanes,f|=Xn,ua(l,u,f,p,y,E),l===kt&&(gt=kt=null,vt=0),jo=n,su=l,Ll=u,Td=f,Ed=r,ly=c,(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?(l.callbackNode=null,l.callbackPriority=0,Uv(Ue,function(){return ry(),null})):(l.callbackNode=null,l.callbackPriority=0),c=(n.flags&13878)!==0,(n.subtreeFlags&13878)!==0||c){c=S.T,S.T=null,r=R.p,R.p=2,p=Bt,Bt|=4;try{Xp(l,n,u)}finally{Bt=p,R.p=r,S.T=c}}Yl=1,rg(),pr(),Dd()}}function rg(){if(Yl===1){Yl=0;var l=su,n=jo,u=(n.flags&13878)!==0;if((n.subtreeFlags&13878)!==0||u){u=S.T,S.T=null;var c=R.p;R.p=2;var r=Bt;Bt|=4;try{fr(n,l);var f=Ar,p=Ih(l.containerInfo),y=f.focusedElem,E=f.selectionRange;if(p!==y&&y&&y.ownerDocument&&Us(y.ownerDocument.documentElement,y)){if(E!==null&&Hs(y)){var N=E.start,I=E.end;if(I===void 0&&(I=N),"selectionStart"in y)y.selectionStart=N,y.selectionEnd=Math.min(I,y.value.length);else{var ae=y.ownerDocument||document,_=ae&&ae.defaultView||window;if(_.getSelection){var j=_.getSelection(),Ze=y.textContent.length,$e=Math.min(E.start,Ze),Ht=E.end===void 0?$e:Math.min(E.end,Ze);!j.extend&&$e>Ht&&(p=Ht,Ht=$e,$e=p);var C=Zt(y,$e),O=Zt(y,Ht);if(C&&O&&(j.rangeCount!==1||j.anchorNode!==C.node||j.anchorOffset!==C.offset||j.focusNode!==O.node||j.focusOffset!==O.offset)){var H=ae.createRange();H.setStart(C.node,C.offset),j.removeAllRanges(),$e>Ht?(j.addRange(H),j.extend(O.node,O.offset)):(H.setEnd(O.node,O.offset),j.addRange(H))}}}}for(ae=[],j=y;j=j.parentNode;)j.nodeType===1&&ae.push({element:j,left:j.scrollLeft,top:j.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<ae.length;y++){var ee=ae[y];ee.element.scrollLeft=ee.left,ee.element.scrollTop=ee.top}}Rr=!!xr,Ar=xr=null}finally{Bt=r,R.p=c,S.T=u}}l.current=n,Yl=2}}function pr(){if(Yl===2){Yl=0;var l=su,n=jo,u=(n.flags&8772)!==0;if((n.subtreeFlags&8772)!==0||u){u=S.T,S.T=null;var c=R.p;R.p=2;var r=Bt;Bt|=4;try{kp(l,n.alternate,n)}finally{Bt=r,R.p=c,S.T=u}}Yl=3}}function Dd(){if(Yl===4||Yl===3){Yl=0,Re();var l=su,n=jo,u=Ll,c=ly;(n.subtreeFlags&10256)!==0||(n.flags&10256)!==0?Yl=5:(Yl=0,jo=su=null,fg(l,l.pendingLanes));var r=l.pendingLanes;if(r===0&&(Hi=null),Pr(u),n=n.stateNode,Ne&&typeof Ne.onCommitFiberRoot=="function")try{Ne.onCommitFiberRoot(Ot,n,void 0,(n.current.flags&128)===128)}catch{}if(c!==null){n=S.T,r=R.p,R.p=2,S.T=null;try{for(var f=l.onRecoverableError,p=0;p<c.length;p++){var y=c[p];f(y.value,{componentStack:y.stack})}}finally{S.T=n,R.p=r}}(Ll&3)!==0&&zd(),Oa(l),r=l.pendingLanes,(u&4194090)!==0&&(r&42)!==0?l===ay?Vo++:(Vo=0,ay=l):Vo=0,mr(0)}}function fg(l,n){(l.pooledCacheLanes&=n)===0&&(n=l.pooledCache,n!=null&&(l.pooledCache=null,$n(n)))}function zd(l){return rg(),pr(),Dd(),ry()}function ry(){if(Yl!==5)return!1;var l=su,n=Td;Td=0;var u=Pr(Ll),c=S.T,r=R.p;try{R.p=32>u?32:u,S.T=null,u=Ed,Ed=null;var f=su,p=Ll;if(Yl=0,jo=su=null,Ll=0,(Bt&6)!==0)throw Error(T(331));var y=Bt;if(Bt|=4,Wp(f.current),Jp(f,f.current,p,u),Bt=y,mr(0,!1),Ne&&typeof Ne.onPostCommitFiberRoot=="function")try{Ne.onPostCommitFiberRoot(Ot,f)}catch{}return!0}finally{R.p=r,S.T=c,fg(l,n)}}function fy(l,n,u){n=wa(u,n),n=Np(l.stateNode,n,2),l=Wn(l,n,2),l!==null&&(ui(l,2),Oa(l))}function Vt(l,n,u){if(l.tag===3)fy(l,l,u);else for(;n!==null;){if(n.tag===3){fy(n,l,u);break}else if(n.tag===1){var c=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Hi===null||!Hi.has(c))){l=wa(u,l),u=qp(2),c=Wn(n,u,2),c!==null&&(Aa(u,c,n,l),ui(c,2),Oa(c));break}}n=n.return}}function Od(l,n,u){var c=l.pingCache;if(c===null){c=l.pingCache=new ug;var r=new Set;c.set(n,r)}else r=c.get(n),r===void 0&&(r=new Set,c.set(n,r));r.has(u)||(Pp=!0,r.add(u),l=dy.bind(null,l,n,u),n.then(l,l))}function dy(l,n,u){var c=l.pingCache;c!==null&&c.delete(n),l.pingedLanes|=l.suspendedLanes&u,l.warmLanes&=~u,kt===l&&(vt&u)===u&&(rl===4||rl===3&&(vt&62914560)===vt&&300>be()-ty?(Bt&2)===0&&ru(l,0):ou|=u,wo===vt&&(wo=0)),Oa(l)}function hy(l,n){n===0&&(n=zu()),l=kn(l,n),l!==null&&(ui(l,n),Oa(l))}function Rv(l){var n=l.memoizedState,u=0;n!==null&&(u=n.retryLane),hy(l,u)}function Cv(l,n){var u=0;switch(l.tag){case 13:var c=l.stateNode,r=l.memoizedState;r!==null&&(u=r.retryLane);break;case 19:c=l.stateNode;break;case 22:c=l.stateNode._retryCache;break;default:throw Error(T(314))}c!==null&&c.delete(n),hy(l,u)}function Uv(l,n){return ue(l,n)}var Md=null,qi=null,yr=!1,Lo=!1,Rd=!1,wi=0;function Oa(l){l!==qi&&l.next===null&&(qi===null?Md=qi=l:qi=qi.next=l),Lo=!0,yr||(yr=!0,pg())}function mr(l,n){if(!Rd&&Lo){Rd=!0;do for(var u=!1,c=Md;c!==null;){if(l!==0){var r=c.pendingLanes;if(r===0)var f=0;else{var p=c.suspendedLanes,y=c.pingedLanes;f=(1<<31-Tt(42|l)+1)-1,f&=r&~(p&~y),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(u=!0,vr(c,f))}else f=vt,f=gn(c,c===kt?f:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(f&3)===0||Ha(c,f)||(u=!0,vr(c,f));c=c.next}while(u);Rd=!1}}function dg(){gr()}function gr(){Lo=yr=!1;var l=0;wi!==0&&(Ku()&&(l=wi),wi=0);for(var n=be(),u=null,c=Md;c!==null;){var r=c.next,f=py(c,n);f===0?(c.next=null,u===null?Md=r:u.next=r,r===null&&(qi=u)):(u=c,(l!==0||(f&3)!==0)&&(Lo=!0)),c=r}mr(l)}function py(l,n){for(var u=l.suspendedLanes,c=l.pingedLanes,r=l.expirationTimes,f=l.pendingLanes&-62914561;0<f;){var p=31-Tt(f),y=1<<p,E=r[p];E===-1?((y&u)===0||(y&c)!==0)&&(r[p]=tl(y,n)):E<=n&&(l.expiredLanes|=y),f&=~y}if(n=kt,u=vt,u=gn(l,l===n?u:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c=l.callbackNode,u===0||l===n&&(jt===2||jt===9)||l.cancelPendingCommit!==null)return c!==null&&c!==null&&he(c),l.callbackNode=null,l.callbackPriority=0;if((u&3)===0||Ha(l,u)){if(n=u&-u,n===l.callbackPriority)return n;switch(c!==null&&he(c),Pr(u)){case 2:case 8:u=Xe;break;case 32:u=Ue;break;case 268435456:u=Fe;break;default:u=Ue}return c=hg.bind(null,l),u=ue(u,c),l.callbackPriority=n,l.callbackNode=u,n}return c!==null&&c!==null&&he(c),l.callbackPriority=2,l.callbackNode=null,2}function hg(l,n){if(Yl!==0&&Yl!==5)return l.callbackNode=null,l.callbackPriority=0,null;var u=l.callbackNode;if(zd()&&l.callbackNode!==u)return null;var c=vt;return c=gn(l,l===kt?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),c===0?null:(Go(l,c,n),py(l,be()),l.callbackNode!=null&&l.callbackNode===u?hg.bind(null,l):null)}function vr(l,n){if(zd())return null;Go(l,n,!0)}function pg(){wv(function(){(Bt&6)!==0?ue(xe,dg):gr()})}function _c(){return wi===0&&(wi=wl()),wi}function Cd(l){return l==null||typeof l=="symbol"||typeof l=="boolean"?null:typeof l=="function"?l:xs(""+l)}function br(l,n){var u=n.ownerDocument.createElement("input");return u.name=n.name,u.value=n.value,l.id&&u.setAttribute("form",l.id),n.parentNode.insertBefore(u,n),l=new FormData(l),u.parentNode.removeChild(u),l}function yg(l,n,u,c,r){if(n==="submit"&&u&&u.stateNode===r){var f=Cd((r[ia]||null).action),p=c.submitter;p&&(n=(n=p[ia]||null)?Cd(n.formAction):p.getAttribute("formAction"),n!==null&&(f=n,p=null));var y=new df("action","action",null,c,r);l.push({event:y,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(wi!==0){var E=p?br(r,p):new FormData(r);If(u,{pending:!0,data:E,method:r.method,action:f},null,E)}}else typeof f=="function"&&(y.preventDefault(),E=p?br(r,p):new FormData(r),If(u,{pending:!0,data:E,method:r.method,action:f},f,E))},currentTarget:r}]})}}for(var fl=0;fl<so.length;fl++){var Sr=so[fl],Hv=Sr.toLowerCase(),dt=Sr[0].toUpperCase()+Sr.slice(1);Pa(Hv,"on"+dt)}Pa(jm,"onAnimationEnd"),Pa(Ph,"onAnimationIteration"),Pa(Vm,"onAnimationStart"),Pa("dblclick","onDoubleClick"),Pa("focusin","onFocus"),Pa("focusout","onBlur"),Pa(ep,"onTransitionRun"),Pa(Tf,"onTransitionStart"),Pa(Gm,"onTransitionCancel"),Pa(tp,"onTransitionEnd"),ci("onMouseEnter",["mouseout","mouseover"]),ci("onMouseLeave",["mouseout","mouseover"]),ci("onPointerEnter",["pointerout","pointerover"]),ci("onPointerLeave",["pointerout","pointerover"]),ii("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),ii("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),ii("onBeforeInput",["compositionend","keypress","textInput","paste"]),ii("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),ii("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),ii("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tr="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(" "),_i=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tr));function Bc(l,n){n=(n&4)!==0;for(var u=0;u<l.length;u++){var c=l[u],r=c.event;c=c.listeners;e:{var f=void 0;if(n)for(var p=c.length-1;0<=p;p--){var y=c[p],E=y.instance,N=y.currentTarget;if(y=y.listener,E!==f&&r.isPropagationStopped())break e;f=y,r.currentTarget=N;try{f(r)}catch(I){nr(I)}r.currentTarget=null,f=E}else for(p=0;p<c.length;p++){if(y=c[p],E=y.instance,N=y.currentTarget,y=y.listener,E!==f&&r.isPropagationStopped())break e;f=y,r.currentTarget=N;try{f(r)}catch(I){nr(I)}r.currentTarget=null,f=E}}}}function ot(l,n){var u=n[ef];u===void 0&&(u=n[ef]=new Set);var c=l+"__bubble";u.has(c)||(Ud(n,l,2,!1),u.add(c))}function Xo(l,n,u){var c=0;n&&(c|=4),Ud(u,l,c,n)}var ko="_reactListening"+Math.random().toString(36).slice(2);function yy(l){if(!l[ko]){l[ko]=!0,vs.forEach(function(u){u!=="selectionchange"&&(_i.has(u)||Xo(u,!1,l),Xo(u,!0,l))});var n=l.nodeType===9?l:l.ownerDocument;n===null||n[ko]||(n[ko]=!0,Xo("selectionchange",!1,n))}}function Ud(l,n,u,c){switch(Cy(n)){case 2:var r=Ag;break;case 8:r=Dg;break;default:r=My}u=r.bind(null,n,u,l),r=void 0,!sf||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(r=!0),c?r!==void 0?l.addEventListener(n,u,{capture:!0,passive:r}):l.addEventListener(n,u,!0):r!==void 0?l.addEventListener(n,u,{passive:r}):l.addEventListener(n,u,!1)}function fn(l,n,u,c,r){var f=c;if((n&1)===0&&(n&2)===0&&c!==null)e:for(;;){if(c===null)return;var p=c.tag;if(p===3||p===4){var y=c.stateNode.containerInfo;if(y===r)break;if(p===4)for(p=c.return;p!==null;){var E=p.tag;if((E===3||E===4)&&p.stateNode.containerInfo===r)return;p=p.return}for(;y!==null;){if(p=_l(y),p===null)return;if(E=p.tag,E===5||E===6||E===26||E===27){c=f=p;continue e}y=y.parentNode}}c=c.return}io(function(){var N=f,I=of(u),ae=[];e:{var _=lp.get(l);if(_!==void 0){var j=df,Ze=l;switch(l){case"keypress":if(Bl(u)===0)break e;case"keydown":case"keyup":j=vn;break;case"focusin":Ze="focus",j=Bh;break;case"focusout":Ze="blur",j=Bh;break;case"beforeblur":case"afterblur":j=Bh;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":j=_h;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":j=Rm;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":j=Gh;break;case jm:case Ph:case Vm:j=Av;break;case tp:j=qm;break;case"scroll":case"scrollend":j=Om;break;case"wheel":j=ic;break;case"copy":case"cut":case"paste":j=zs;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":j=Os;break;case"toggle":case"beforetoggle":j=wm}var $e=(n&4)!==0,Ht=!$e&&(l==="scroll"||l==="scrollend"),C=$e?_!==null?_+"Capture":null:_;$e=[];for(var O=N,H;O!==null;){var ee=O;if(H=ee.stateNode,ee=ee.tag,ee!==5&&ee!==26&&ee!==27||H===null||C===null||(ee=lc(O,C),ee!=null&&$e.push($u(O,ee,H))),Ht)break;O=O.return}0<$e.length&&(_=new j(_,Ze,null,u,I),ae.push({event:_,listeners:$e}))}}if((n&7)===0){e:{if(_=l==="mouseover"||l==="pointerover",j=l==="mouseout"||l==="pointerout",_&&u!==tc&&(Ze=u.relatedTarget||u.fromElement)&&(_l(Ze)||Ze[to]))break e;if((j||_)&&(_=I.window===I?I:(_=I.ownerDocument)?_.defaultView||_.parentWindow:window,j?(Ze=u.relatedTarget||u.toElement,j=N,Ze=Ze?_l(Ze):null,Ze!==null&&(Ht=re(Ze),$e=Ze.tag,Ze!==Ht||$e!==5&&$e!==27&&$e!==6)&&(Ze=null)):(j=null,Ze=N),j!==Ze)){if($e=_h,ee="onMouseLeave",C="onMouseEnter",O="mouse",(l==="pointerout"||l==="pointerover")&&($e=Os,ee="onPointerLeave",C="onPointerEnter",O="pointer"),Ht=j==null?_:gs(j),H=Ze==null?_:gs(Ze),_=new $e(ee,O+"leave",j,u,I),_.target=Ht,_.relatedTarget=H,ee=null,_l(I)===N&&($e=new $e(C,O+"enter",Ze,u,I),$e.target=H,$e.relatedTarget=Ht,ee=$e),Ht=ee,j&&Ze)t:{for($e=j,C=Ze,O=0,H=$e;H;H=Bi(H))O++;for(H=0,ee=C;ee;ee=Bi(ee))H++;for(;0<O-H;)$e=Bi($e),O--;for(;0<H-O;)C=Bi(C),H--;for(;O--;){if($e===C||C!==null&&$e===C.alternate)break t;$e=Bi($e),C=Bi(C)}$e=null}else $e=null;j!==null&&Er(ae,_,j,$e,!1),Ze!==null&&Ht!==null&&Er(ae,Ht,Ze,$e,!0)}}e:{if(_=N?gs(N):window,j=_.nodeName&&_.nodeName.toLowerCase(),j==="select"||j==="input"&&_.type==="file")var _e=Zh;else if(gf(_))if($h)_e=Wh;else{_e=hi;var pt=bf}else j=_.nodeName,!j||j.toLowerCase()!=="input"||_.type!=="checkbox"&&_.type!=="radio"?N&&ec(N.elementType)&&(_e=Zh):_e=Hu;if(_e&&(_e=_e(l,N))){vf(ae,_e,u,I);break e}pt&&pt(l,_,N),l==="focusout"&&N&&_.type==="number"&&N.memoizedProps.value!=null&&Ts(_,"number",_.value)}switch(pt=N?gs(N):window,l){case"focusin":(gf(pt)||pt.contentEditable==="true")&&(Yn=pt,Tn=N,mi=null);break;case"focusout":mi=Tn=Yn=null;break;case"mousedown":fc=!0;break;case"contextmenu":case"mouseup":case"dragend":fc=!1,Sf(ae,u,I);break;case"selectionchange":if(rc)break;case"keydown":case"keyup":Sf(ae,u,I)}var ke;if(Ms)e:{switch(l){case"compositionstart":var We="onCompositionStart";break e;case"compositionend":We="onCompositionEnd";break e;case"compositionupdate":We="onCompositionUpdate";break e}We=void 0}else di?Cs(l,u)&&(We="onCompositionEnd"):l==="keydown"&&u.keyCode===229&&(We="onCompositionStart");We&&(Vn&&u.locale!=="ko"&&(di||We!=="onCompositionStart"?We==="onCompositionEnd"&&di&&(ke=qh()):(Cu=I,co="value"in Cu?Cu.value:Cu.textContent,di=!0)),pt=Qo(N,We),0<pt.length&&(We=new jh(We,l,null,u,I),ae.push({event:We,listeners:pt}),ke?We.data=ke:(ke=fi(u),ke!==null&&(We.data=ke)))),(ke=Lh?kh(l,u):cc(l,u))&&(We=Qo(N,"onBeforeInput"),0<We.length&&(pt=new jh("onBeforeInput","beforeinput",null,u,I),ae.push({event:pt,listeners:We}),pt.data=ke)),yg(ae,l,N,u,I)}Bc(ae,n)})}function $u(l,n,u){return{instance:l,listener:n,currentTarget:u}}function Qo(l,n){for(var u=n+"Capture",c=[];l!==null;){var r=l,f=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||f===null||(r=lc(l,u),r!=null&&c.unshift($u(l,r,f)),r=lc(l,n),r!=null&&c.push($u(l,r,f))),l.tag===3)return c;l=l.return}return[]}function Bi(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5&&l.tag!==27);return l||null}function Er(l,n,u,c,r){for(var f=n._reactName,p=[];u!==null&&u!==c;){var y=u,E=y.alternate,N=y.stateNode;if(y=y.tag,E!==null&&E===c)break;y!==5&&y!==26&&y!==27||N===null||(E=N,r?(N=lc(u,f),N!=null&&p.unshift($u(u,N,E))):r||(N=lc(u,f),N!=null&&p.push($u(u,N,E)))),u=u.return}p.length!==0&&l.push({event:n,listeners:p})}var Ya=/\r\n?/g,my=/\u0000|\uFFFD/g;function mg(l){return(typeof l=="string"?l:""+l).replace(Ya,`
|
|
54
|
+
`).replace(my,"")}function gy(l,n){return n=mg(n),mg(l)===n}function Hd(){}function ut(l,n,u,c,r,f){switch(u){case"children":typeof c=="string"?n==="body"||n==="textarea"&&c===""||ao(l,c):(typeof c=="number"||typeof c=="bigint")&&n!=="body"&&ao(l,""+c);break;case"className":bs(l,"class",c);break;case"tabIndex":bs(l,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":bs(l,u,c);break;case"style":Es(l,c,f);break;case"data":if(n!=="object"){bs(l,"data",c);break}case"src":case"href":if(c===""&&(n!=="a"||u!=="href")){l.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=xs(""+c),l.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){l.setAttribute(u,"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 f=="function"&&(u==="formAction"?(n!=="input"&&ut(l,n,"name",r.name,r,null),ut(l,n,"formEncType",r.formEncType,r,null),ut(l,n,"formMethod",r.formMethod,r,null),ut(l,n,"formTarget",r.formTarget,r,null)):(ut(l,n,"encType",r.encType,r,null),ut(l,n,"method",r.method,r,null),ut(l,n,"target",r.target,r,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){l.removeAttribute(u);break}c=xs(""+c),l.setAttribute(u,c);break;case"onClick":c!=null&&(l.onclick=Hd);break;case"onScroll":c!=null&&ot("scroll",l);break;case"onScrollEnd":c!=null&&ot("scrollend",l);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(T(61));if(u=c.__html,u!=null){if(r.children!=null)throw Error(T(60));l.innerHTML=u}}break;case"multiple":l.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":l.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){l.removeAttribute("xlink:href");break}u=xs(""+c),l.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""+c):l.removeAttribute(u);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":c&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,""):l.removeAttribute(u);break;case"capture":case"download":c===!0?l.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?l.setAttribute(u,c):l.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?l.setAttribute(u,c):l.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?l.removeAttribute(u):l.setAttribute(u,c);break;case"popover":ot("beforetoggle",l),ot("toggle",l),Mu(l,"popover",c);break;case"xlinkActuate":Bn(l,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Bn(l,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Bn(l,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Bn(l,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Bn(l,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Bn(l,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Bn(l,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Mu(l,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Tv.get(u)||u,Mu(l,u,c))}}function L(l,n,u,c,r,f){switch(u){case"style":Es(l,c,f);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(T(61));if(u=c.__html,u!=null){if(r.children!=null)throw Error(T(60));l.innerHTML=u}}break;case"children":typeof c=="string"?ao(l,c):(typeof c=="number"||typeof c=="bigint")&&ao(l,""+c);break;case"onScroll":c!=null&&ot("scroll",l);break;case"onScrollEnd":c!=null&&ot("scrollend",l);break;case"onClick":c!=null&&(l.onclick=Hd);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Na.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(r=u.endsWith("Capture"),n=u.slice(2,r?u.length-7:void 0),f=l[ia]||null,f=f!=null?f[u]:null,typeof f=="function"&&l.removeEventListener(n,f,r),typeof c=="function")){typeof f!="function"&&f!==null&&(u in l?l[u]=null:l.hasAttribute(u)&&l.removeAttribute(u)),l.addEventListener(n,c,r);break e}u in l?l[u]=c:c===!0?l.setAttribute(u,""):Mu(l,u,c)}}}function et(l,n,u){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ot("error",l),ot("load",l);var c=!1,r=!1,f;for(f in u)if(u.hasOwnProperty(f)){var p=u[f];if(p!=null)switch(f){case"src":c=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(T(137,n));default:ut(l,n,f,p,u,null)}}r&&ut(l,n,"srcSet",u.srcSet,u,null),c&&ut(l,n,"src",u.src,u,null);return;case"input":ot("invalid",l);var y=f=p=r=null,E=null,N=null;for(c in u)if(u.hasOwnProperty(c)){var I=u[c];if(I!=null)switch(c){case"name":r=I;break;case"type":p=I;break;case"checked":E=I;break;case"defaultChecked":N=I;break;case"value":f=I;break;case"defaultValue":y=I;break;case"children":case"dangerouslySetInnerHTML":if(I!=null)throw Error(T(137,n));break;default:ut(l,n,c,I,u,null)}}uf(l,f,y,E,N,p,r,!1),si(l);return;case"select":ot("invalid",l),c=p=f=null;for(r in u)if(u.hasOwnProperty(r)&&(y=u[r],y!=null))switch(r){case"value":f=y;break;case"defaultValue":p=y;break;case"multiple":c=y;default:ut(l,n,r,y,u,null)}n=f,u=p,l.multiple=!!c,n!=null?Pi(l,!!c,n,!1):u!=null&&Pi(l,!!c,u,!0);return;case"textarea":ot("invalid",l),f=r=c=null;for(p in u)if(u.hasOwnProperty(p)&&(y=u[p],y!=null))switch(p){case"value":c=y;break;case"defaultValue":r=y;break;case"children":f=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(T(91));break;default:ut(l,n,p,y,u,null)}Hh(l,c,r,f),si(l);return;case"option":for(E in u)if(u.hasOwnProperty(E)&&(c=u[E],c!=null))switch(E){case"selected":l.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:ut(l,n,E,c,u,null)}return;case"dialog":ot("beforetoggle",l),ot("toggle",l),ot("cancel",l),ot("close",l);break;case"iframe":case"object":ot("load",l);break;case"video":case"audio":for(c=0;c<Tr.length;c++)ot(Tr[c],l);break;case"image":ot("error",l),ot("load",l);break;case"details":ot("toggle",l);break;case"embed":case"source":case"link":ot("error",l),ot("load",l);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(N in u)if(u.hasOwnProperty(N)&&(c=u[N],c!=null))switch(N){case"children":case"dangerouslySetInnerHTML":throw Error(T(137,n));default:ut(l,n,N,c,u,null)}return;default:if(ec(n)){for(I in u)u.hasOwnProperty(I)&&(c=u[I],c!==void 0&&L(l,n,I,c,u,void 0));return}}for(y in u)u.hasOwnProperty(y)&&(c=u[y],c!=null&&ut(l,n,y,c,u,null))}function Nv(l,n,u,c){switch(n){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,f=null,p=null,y=null,E=null,N=null,I=null;for(j in u){var ae=u[j];if(u.hasOwnProperty(j)&&ae!=null)switch(j){case"checked":break;case"value":break;case"defaultValue":E=ae;default:c.hasOwnProperty(j)||ut(l,n,j,null,c,ae)}}for(var _ in c){var j=c[_];if(ae=u[_],c.hasOwnProperty(_)&&(j!=null||ae!=null))switch(_){case"type":f=j;break;case"name":r=j;break;case"checked":N=j;break;case"defaultChecked":I=j;break;case"value":p=j;break;case"defaultValue":y=j;break;case"children":case"dangerouslySetInnerHTML":if(j!=null)throw Error(T(137,n));break;default:j!==ae&&ut(l,n,_,j,c,ae)}}nf(l,p,y,E,N,I,f,r);return;case"select":j=p=y=_=null;for(f in u)if(E=u[f],u.hasOwnProperty(f)&&E!=null)switch(f){case"value":break;case"multiple":j=E;default:c.hasOwnProperty(f)||ut(l,n,f,null,c,E)}for(r in c)if(f=c[r],E=u[r],c.hasOwnProperty(r)&&(f!=null||E!=null))switch(r){case"value":_=f;break;case"defaultValue":y=f;break;case"multiple":p=f;default:f!==E&&ut(l,n,r,f,c,E)}n=y,u=p,c=j,_!=null?Pi(l,!!u,_,!1):!!c!=!!u&&(n!=null?Pi(l,!!u,n,!0):Pi(l,!!u,u?[]:"",!1));return;case"textarea":j=_=null;for(y in u)if(r=u[y],u.hasOwnProperty(y)&&r!=null&&!c.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:ut(l,n,y,null,c,r)}for(p in c)if(r=c[p],f=u[p],c.hasOwnProperty(p)&&(r!=null||f!=null))switch(p){case"value":_=r;break;case"defaultValue":j=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(T(91));break;default:r!==f&&ut(l,n,p,r,c,f)}Uh(l,_,j);return;case"option":for(var Ze in u)if(_=u[Ze],u.hasOwnProperty(Ze)&&_!=null&&!c.hasOwnProperty(Ze))switch(Ze){case"selected":l.selected=!1;break;default:ut(l,n,Ze,null,c,_)}for(E in c)if(_=c[E],j=u[E],c.hasOwnProperty(E)&&_!==j&&(_!=null||j!=null))switch(E){case"selected":l.selected=_&&typeof _!="function"&&typeof _!="symbol";break;default:ut(l,n,E,_,c,j)}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 u)_=u[$e],u.hasOwnProperty($e)&&_!=null&&!c.hasOwnProperty($e)&&ut(l,n,$e,null,c,_);for(N in c)if(_=c[N],j=u[N],c.hasOwnProperty(N)&&_!==j&&(_!=null||j!=null))switch(N){case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(T(137,n));break;default:ut(l,n,N,_,c,j)}return;default:if(ec(n)){for(var Ht in u)_=u[Ht],u.hasOwnProperty(Ht)&&_!==void 0&&!c.hasOwnProperty(Ht)&&L(l,n,Ht,void 0,c,_);for(I in c)_=c[I],j=u[I],!c.hasOwnProperty(I)||_===j||_===void 0&&j===void 0||L(l,n,I,_,c,j);return}}for(var C in u)_=u[C],u.hasOwnProperty(C)&&_!=null&&!c.hasOwnProperty(C)&&ut(l,n,C,null,c,_);for(ae in c)_=c[ae],j=u[ae],!c.hasOwnProperty(ae)||_===j||_==null&&j==null||ut(l,n,ae,_,c,j)}var xr=null,Ar=null;function dn(l){return l.nodeType===9?l:l.ownerDocument}function Ju(l){switch(l){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zo(l,n){if(l===0)switch(n){case"svg":return 1;case"math":return 2;default:return 0}return l===1&&n==="foreignObject"?0:l}function fu(l,n){return l==="textarea"||l==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.children=="bigint"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var $o=null;function Ku(){var l=window.event;return l&&l.type==="popstate"?l===$o?!1:($o=l,!0):($o=null,!1)}var Nd=typeof setTimeout=="function"?setTimeout:void 0,qv=typeof clearTimeout=="function"?clearTimeout:void 0,gg=typeof Promise=="function"?Promise:void 0,wv=typeof queueMicrotask=="function"?queueMicrotask:typeof gg<"u"?function(l){return gg.resolve(null).then(l).catch(du)}:Nd;function du(l){setTimeout(function(){throw l})}function ji(l){return l==="head"}function qd(l,n){var u=n,c=0,r=0;do{var f=u.nextSibling;if(l.removeChild(u),f&&f.nodeType===8)if(u=f.data,u==="/$"){if(0<c&&8>c){u=c;var p=l.ownerDocument;if(u&1&&Ma(p.documentElement),u&2&&Ma(p.body),u&4)for(u=p.head,Ma(u),p=u.firstChild;p;){var y=p.nextSibling,E=p.nodeName;p[Be]||E==="SCRIPT"||E==="STYLE"||E==="LINK"&&p.rel.toLowerCase()==="stylesheet"||u.removeChild(p),p=y}}if(r===0){l.removeChild(f),pu(n);return}r--}else u==="$"||u==="$?"||u==="$!"?r++:c=u.charCodeAt(0)-48;else c=0;u=f}while(u);pu(n)}function Dr(l){var n=l.firstChild;for(n&&n.nodeType===10&&(n=n.nextSibling);n;){var u=n;switch(n=n.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":Dr(u),ms(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}l.removeChild(u)}}function Jo(l,n,u,c){for(;l.nodeType===1;){var r=u;if(l.nodeName.toLowerCase()!==n.toLowerCase()){if(!c&&(l.nodeName!=="INPUT"||l.type!=="hidden"))break}else if(c){if(!l[Be])switch(n){case"meta":if(!l.hasAttribute("itemprop"))break;return l;case"link":if(f=l.getAttribute("rel"),f==="stylesheet"&&l.hasAttribute("data-precedence"))break;if(f!==r.rel||l.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||l.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||l.getAttribute("title")!==(r.title==null?null:r.title))break;return l;case"style":if(l.hasAttribute("data-precedence"))break;return l;case"script":if(f=l.getAttribute("src"),(f!==(r.src==null?null:r.src)||l.getAttribute("type")!==(r.type==null?null:r.type)||l.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&f&&l.hasAttribute("async")&&!l.hasAttribute("itemprop"))break;return l;default:return l}}else if(n==="input"&&l.type==="hidden"){var f=r.name==null?null:""+r.name;if(r.type==="hidden"&&l.getAttribute("name")===f)return l}else return l;if(l=Un(l.nextSibling),l===null)break}return null}function _v(l,n,u){if(n==="")return null;for(;l.nodeType!==3;)if((l.nodeType!==1||l.nodeName!=="INPUT"||l.type!=="hidden")&&!u||(l=Un(l.nextSibling),l===null))return null;return l}function zr(l){return l.data==="$!"||l.data==="$?"&&l.ownerDocument.readyState==="complete"}function Bv(l,n){var u=l.ownerDocument;if(l.data!=="$?"||u.readyState==="complete")n();else{var c=function(){n(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),l._reactRetry=c}}function Un(l){for(;l!=null;l=l.nextSibling){var n=l.nodeType;if(n===1||n===3)break;if(n===8){if(n=l.data,n==="$"||n==="$!"||n==="$?"||n==="F!"||n==="F")break;if(n==="/$")return null}}return l}var Vi=null;function Xl(l){l=l.previousSibling;for(var n=0;l;){if(l.nodeType===8){var u=l.data;if(u==="$"||u==="$!"||u==="$?"){if(n===0)return l;n--}else u==="/$"&&n++}l=l.previousSibling}return null}function He(l,n,u){switch(n=dn(u),l){case"html":if(l=n.documentElement,!l)throw Error(T(452));return l;case"head":if(l=n.head,!l)throw Error(T(453));return l;case"body":if(l=n.body,!l)throw Error(T(454));return l;default:throw Error(T(451))}}function Ma(l){for(var n=l.attributes;n.length;)l.removeAttributeNode(n[0]);ms(l)}var dl=new Map,ta=new Set;function wd(l){return typeof l.getRootNode=="function"?l.getRootNode():l.nodeType===9?l:l.ownerDocument}var Wu=R.d;R.d={f:_d,r:Bd,D:Fu,C:jd,L:Gi,m:la,X:Yi,S:Ra,M:vy};function _d(){var l=Wu.f(),n=Nc();return l||n}function Bd(l){var n=Ki(l);n!==null&&n.tag===5&&n.type==="form"?zo(n):Wu.r(l)}var kl=typeof document>"u"?null:document;function Hn(l,n,u){var c=kl;if(c&&typeof n=="string"&&n){var r=Fa(n);r='link[rel="'+l+'"][href="'+r+'"]',typeof u=="string"&&(r+='[crossorigin="'+u+'"]'),ta.has(r)||(ta.add(r),l={rel:l,crossOrigin:u,href:n},c.querySelector(r)===null&&(n=c.createElement("link"),et(n,"link",l),bl(n),c.head.appendChild(n)))}}function Fu(l){Wu.D(l),Hn("dns-prefetch",l,null)}function jd(l,n){Wu.C(l,n),Hn("preconnect",l,n)}function Gi(l,n,u){Wu.L(l,n,u);var c=kl;if(c&&l&&n){var r='link[rel="preload"][as="'+Fa(n)+'"]';n==="image"&&u&&u.imageSrcSet?(r+='[imagesrcset="'+Fa(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(r+='[imagesizes="'+Fa(u.imageSizes)+'"]')):r+='[href="'+Fa(l)+'"]';var f=r;switch(n){case"style":f=Ko(l);break;case"script":f=hn(l)}dl.has(f)||(l=w({rel:"preload",href:n==="image"&&u&&u.imageSrcSet?void 0:l,as:n},u),dl.set(f,l),c.querySelector(r)!==null||n==="style"&&c.querySelector(Wo(f))||n==="script"&&c.querySelector(jc(f))||(n=c.createElement("link"),et(n,"link",l),bl(n),c.head.appendChild(n)))}}function la(l,n){Wu.m(l,n);var u=kl;if(u&&l){var c=n&&typeof n.as=="string"?n.as:"script",r='link[rel="modulepreload"][as="'+Fa(c)+'"][href="'+Fa(l)+'"]',f=r;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=hn(l)}if(!dl.has(f)&&(l=w({rel:"modulepreload",href:l},n),dl.set(f,l),u.querySelector(r)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(jc(f)))return}c=u.createElement("link"),et(c,"link",l),bl(c),u.head.appendChild(c)}}}function Ra(l,n,u){Wu.S(l,n,u);var c=kl;if(c&&l){var r=Ou(c).hoistableStyles,f=Ko(l);n=n||"default";var p=r.get(f);if(!p){var y={loading:0,preload:null};if(p=c.querySelector(Wo(f)))y.loading=5;else{l=w({rel:"stylesheet",href:l,"data-precedence":n},u),(u=dl.get(f))&&Gd(l,u);var E=p=c.createElement("link");bl(E),et(E,"link",l),E._p=new Promise(function(N,I){E.onload=N,E.onerror=I}),E.addEventListener("load",function(){y.loading|=1}),E.addEventListener("error",function(){y.loading|=2}),y.loading|=4,Vd(p,n,c)}p={type:"stylesheet",instance:p,count:1,state:y},r.set(f,p)}}}function Yi(l,n){Wu.X(l,n);var u=kl;if(u&&l){var c=Ou(u).hoistableScripts,r=hn(l),f=c.get(r);f||(f=u.querySelector(jc(r)),f||(l=w({src:l,async:!0},n),(n=dl.get(r))&&Yd(l,n),f=u.createElement("script"),bl(f),et(f,"link",l),u.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},c.set(r,f))}}function vy(l,n){Wu.M(l,n);var u=kl;if(u&&l){var c=Ou(u).hoistableScripts,r=hn(l),f=c.get(r);f||(f=u.querySelector(jc(r)),f||(l=w({src:l,async:!0,type:"module"},n),(n=dl.get(r))&&Yd(l,n),f=u.createElement("script"),bl(f),et(f,"link",l),u.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},c.set(r,f))}}function vg(l,n,u,c){var r=(r=lt.current)?wd(r):null;if(!r)throw Error(T(446));switch(l){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(n=Ko(u.href),u=Ou(r).hoistableStyles,c=u.get(n),c||(c={type:"style",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){l=Ko(u.href);var f=Ou(r).hoistableStyles,p=f.get(l);if(p||(r=r.ownerDocument||r,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(l,p),(f=r.querySelector(Wo(l)))&&!f._p&&(p.instance=f,p.state.loading=5),dl.has(l)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},dl.set(l,u),f||bg(r,l,u,p.state))),n&&c===null)throw Error(T(528,""));return p}if(n&&c!==null)throw Error(T(529,""));return null;case"script":return n=u.async,u=u.src,typeof u=="string"&&n&&typeof n!="function"&&typeof n!="symbol"?(n=hn(u),u=Ou(r).hoistableScripts,c=u.get(n),c||(c={type:"script",instance:null,count:0,state:null},u.set(n,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(T(444,l))}}function Ko(l){return'href="'+Fa(l)+'"'}function Wo(l){return'link[rel="stylesheet"]['+l+"]"}function Fo(l){return w({},l,{"data-precedence":l.precedence,precedence:null})}function bg(l,n,u,c){l.querySelector('link[rel="preload"][as="style"]['+n+"]")?c.loading=1:(n=l.createElement("link"),c.preload=n,n.addEventListener("load",function(){return c.loading|=1}),n.addEventListener("error",function(){return c.loading|=2}),et(n,"link",u),bl(n),l.head.appendChild(n))}function hn(l){return'[src="'+Fa(l)+'"]'}function jc(l){return"script[async]"+l}function Sg(l,n,u){if(n.count++,n.instance===null)switch(n.type){case"style":var c=l.querySelector('style[data-href~="'+Fa(u.href)+'"]');if(c)return n.instance=c,bl(c),c;var r=w({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(l.ownerDocument||l).createElement("style"),bl(c),et(c,"style",r),Vd(c,u.precedence,l),n.instance=c;case"stylesheet":r=Ko(u.href);var f=l.querySelector(Wo(r));if(f)return n.state.loading|=4,n.instance=f,bl(f),f;c=Fo(u),(r=dl.get(r))&&Gd(c,r),f=(l.ownerDocument||l).createElement("link"),bl(f);var p=f;return p._p=new Promise(function(y,E){p.onload=y,p.onerror=E}),et(f,"link",c),n.state.loading|=4,Vd(f,u.precedence,l),n.instance=f;case"script":return f=hn(u.src),(r=l.querySelector(jc(f)))?(n.instance=r,bl(r),r):(c=u,(r=dl.get(f))&&(c=w({},u),Yd(c,r)),l=l.ownerDocument||l,r=l.createElement("script"),bl(r),et(r,"link",c),l.head.appendChild(r),n.instance=r);case"void":return null;default:throw Error(T(443,n.type))}else n.type==="stylesheet"&&(n.state.loading&4)===0&&(c=n.instance,n.state.loading|=4,Vd(c,u.precedence,l));return n.instance}function Vd(l,n,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=c.length?c[c.length-1]:null,f=r,p=0;p<c.length;p++){var y=c[p];if(y.dataset.precedence===n)f=y;else if(f!==r)break}f?f.parentNode.insertBefore(l,f.nextSibling):(n=u.nodeType===9?u.head:u,n.insertBefore(l,n.firstChild))}function Gd(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.title==null&&(l.title=n.title)}function Yd(l,n){l.crossOrigin==null&&(l.crossOrigin=n.crossOrigin),l.referrerPolicy==null&&(l.referrerPolicy=n.referrerPolicy),l.integrity==null&&(l.integrity=n.integrity)}var Li=null;function by(l,n,u){if(Li===null){var c=new Map,r=Li=new Map;r.set(u,c)}else r=Li,c=r.get(u),c||(c=new Map,r.set(u,c));if(c.has(l))return c;for(c.set(l,null),u=u.getElementsByTagName(l),r=0;r<u.length;r++){var f=u[r];if(!(f[Be]||f[Ol]||l==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var p=f.getAttribute(n)||"";p=l+p;var y=c.get(p);y?y.push(f):c.set(p,[f])}}return c}function Sy(l,n,u){l=l.ownerDocument||l,l.head.insertBefore(u,n==="title"?l.querySelector("head > title"):null)}function Tg(l,n,u){if(u===1||n.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof n.precedence!="string"||typeof n.href!="string"||n.href==="")break;return!0;case"link":if(typeof n.rel!="string"||typeof n.href!="string"||n.href===""||n.onLoad||n.onError)break;switch(n.rel){case"stylesheet":return l=n.disabled,typeof n.precedence=="string"&&l==null;default:return!0}case"script":if(n.async&&typeof n.async!="function"&&typeof n.async!="symbol"&&!n.onLoad&&!n.onError&&n.src&&typeof n.src=="string")return!0}return!1}function Ty(l){return!(l.type==="stylesheet"&&(l.state.loading&3)===0)}var Io=null;function Eg(){}function xg(l,n,u){if(Io===null)throw Error(T(475));var c=Io;if(n.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=Ko(u.href),f=l.querySelector(Wo(r));if(f){l=f._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(c.count++,c=Or.bind(c),l.then(c,c)),n.state.loading|=4,n.instance=f,bl(f);return}f=l.ownerDocument||l,u=Fo(u),(r=dl.get(r))&&Gd(u,r),f=f.createElement("link"),bl(f);var p=f;p._p=new Promise(function(y,E){p.onload=y,p.onerror=E}),et(f,"link",u),n.instance=f}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(n,l),(l=n.state.preload)&&(n.state.loading&3)===0&&(c.count++,n=Or.bind(c),l.addEventListener("load",n),l.addEventListener("error",n))}}function Ey(){if(Io===null)throw Error(T(475));var l=Io;return l.stylesheets&&l.count===0&&Mr(l,l.stylesheets),0<l.count?function(n){var u=setTimeout(function(){if(l.stylesheets&&Mr(l,l.stylesheets),l.unsuspend){var c=l.unsuspend;l.unsuspend=null,c()}},6e4);return l.unsuspend=n,function(){l.unsuspend=null,clearTimeout(u)}}:null}function Or(){if(this.count--,this.count===0){if(this.stylesheets)Mr(this,this.stylesheets);else if(this.unsuspend){var l=this.unsuspend;this.unsuspend=null,l()}}}var Po=null;function Mr(l,n){l.stylesheets=null,l.unsuspend!==null&&(l.count++,Po=new Map,n.forEach(La,l),Po=null,Or.call(l))}function La(l,n){if(!(n.state.loading&4)){var u=Po.get(l);if(u)var c=u.get(null);else{u=new Map,Po.set(l,u);for(var r=l.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<r.length;f++){var p=r[f];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(u.set(p.dataset.precedence,p),c=p)}c&&u.set(null,c)}r=n.instance,p=r.getAttribute("data-precedence"),f=u.get(p)||c,f===c&&u.set(null,r),u.set(p,r),this.count++,c=Or.bind(this),r.addEventListener("load",c),r.addEventListener("error",c),f?f.parentNode.insertBefore(r,f.nextSibling):(l=l.nodeType===9?l.head:l,l.insertBefore(r,l.firstChild)),n.state.loading|=4}}var Ca={$$typeof:oe,Provider:null,Consumer:null,_currentValue:U,_currentValue2:U,_threadCount:0};function jv(l,n,u,c,r,f,p,y){this.tag=1,this.containerInfo=l,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=Ka(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ka(0),this.hiddenUpdates=Ka(null),this.identifierPrefix=c,this.onUncaughtError=r,this.onCaughtError=f,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=y,this.incompleteTransitions=new Map}function xy(l,n,u,c,r,f,p,y,E,N,I,ae){return l=new jv(l,n,u,p,y,E,N,ae),n=1,f===!0&&(n|=24),f=ba(3,null,null,n),l.current=f,f.stateNode=l,n=To(),n.refCount++,l.pooledCache=n,n.refCount++,f.memoizedState={element:c,isDehydrated:u,cache:n},Hf(f),l}function Ay(l){return l?(l=ho,l):ho}function Dy(l,n,u,c,r,f){r=Ay(r),c.context===null?c.context=r:c.pendingContext=r,c=Ta(n),c.payload={element:u},f=f===void 0?null:f,f!==null&&(c.callback=f),u=Wn(l,c,n),u!==null&&(Ga(u,l,n),gc(u,l,n))}function zy(l,n){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var u=l.retryLane;l.retryLane=u!==0&&u<n?u:n}}function Ld(l,n){zy(l,n),(l=l.alternate)&&zy(l,n)}function Oy(l){if(l.tag===13){var n=kn(l,67108864);n!==null&&Ga(n,l,67108864),Ld(l,67108864)}}var Rr=!0;function Ag(l,n,u,c){var r=S.T;S.T=null;var f=R.p;try{R.p=2,My(l,n,u,c)}finally{R.p=f,S.T=r}}function Dg(l,n,u,c){var r=S.T;S.T=null;var f=R.p;try{R.p=8,My(l,n,u,c)}finally{R.p=f,S.T=r}}function My(l,n,u,c){if(Rr){var r=Xd(c);if(r===null)fn(l,n,c,kd,u),Vc(l,c);else if(Og(r,l,n,u,c))c.stopPropagation();else if(Vc(l,c),n&4&&-1<zg.indexOf(l)){for(;r!==null;){var f=Ki(r);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var p=zl(f.pendingLanes);if(p!==0){var y=f;for(y.pendingLanes|=2,y.entangledLanes|=2;p;){var E=1<<31-Tt(p);y.entanglements[1]|=E,p&=~E}Oa(f),(Bt&6)===0&&(Sd=be()+500,mr(0))}}break;case 13:y=kn(f,2),y!==null&&Ga(y,f,2),Nc(),Ld(f,2)}if(f=Xd(c),f===null&&fn(l,n,c,kd,u),f===r)break;r=f}r!==null&&c.stopPropagation()}else fn(l,n,c,null,u)}}function Xd(l){return l=of(l),Ry(l)}var kd=null;function Ry(l){if(kd=null,l=_l(l),l!==null){var n=re(l);if(n===null)l=null;else{var u=n.tag;if(u===13){if(l=Ae(n),l!==null)return l;l=null}else if(u===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;l=null}else n!==l&&(l=null)}}return kd=l,null}function Cy(l){switch(l){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(Oe()){case xe:return 2;case Xe:return 8;case Ue:case Qe:return 32;case Fe:return 268435456;default:return 32}default:return 32}}var es=!1,hu=null,Iu=null,Pu=null,Cr=new Map,Ur=new Map,Xi=[],zg="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 Vc(l,n){switch(l){case"focusin":case"focusout":hu=null;break;case"dragenter":case"dragleave":Iu=null;break;case"mouseover":case"mouseout":Pu=null;break;case"pointerover":case"pointerout":Cr.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ur.delete(n.pointerId)}}function Gc(l,n,u,c,r,f){return l===null||l.nativeEvent!==f?(l={blockedOn:n,domEventName:u,eventSystemFlags:c,nativeEvent:f,targetContainers:[r]},n!==null&&(n=Ki(n),n!==null&&Oy(n)),l):(l.eventSystemFlags|=c,n=l.targetContainers,r!==null&&n.indexOf(r)===-1&&n.push(r),l)}function Og(l,n,u,c,r){switch(n){case"focusin":return hu=Gc(hu,l,n,u,c,r),!0;case"dragenter":return Iu=Gc(Iu,l,n,u,c,r),!0;case"mouseover":return Pu=Gc(Pu,l,n,u,c,r),!0;case"pointerover":var f=r.pointerId;return Cr.set(f,Gc(Cr.get(f)||null,l,n,u,c,r)),!0;case"gotpointercapture":return f=r.pointerId,Ur.set(f,Gc(Ur.get(f)||null,l,n,u,c,r)),!0}return!1}function Uy(l){var n=_l(l.target);if(n!==null){var u=re(n);if(u!==null){if(n=u.tag,n===13){if(n=Ae(u),n!==null){l.blockedOn=n,bv(l.priority,function(){if(u.tag===13){var c=Va();c=Wl(c);var r=kn(u,c);r!==null&&Ga(r,u,c),Ld(u,c)}});return}}else if(n===3&&u.stateNode.current.memoizedState.isDehydrated){l.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}l.blockedOn=null}function Hr(l){if(l.blockedOn!==null)return!1;for(var n=l.targetContainers;0<n.length;){var u=Xd(l.nativeEvent);if(u===null){u=l.nativeEvent;var c=new u.constructor(u.type,u);tc=c,u.target.dispatchEvent(c),tc=null}else return n=Ki(u),n!==null&&Oy(n),l.blockedOn=u,!1;n.shift()}return!0}function Nr(l,n,u){Hr(l)&&u.delete(n)}function ts(){es=!1,hu!==null&&Hr(hu)&&(hu=null),Iu!==null&&Hr(Iu)&&(Iu=null),Pu!==null&&Hr(Pu)&&(Pu=null),Cr.forEach(Nr),Ur.forEach(Nr)}function Qd(l,n){l.blockedOn===n&&(l.blockedOn=null,es||(es=!0,v.unstable_scheduleCallback(v.unstable_NormalPriority,ts)))}var Yc=null;function Hy(l){Yc!==l&&(Yc=l,v.unstable_scheduleCallback(v.unstable_NormalPriority,function(){Yc===l&&(Yc=null);for(var n=0;n<l.length;n+=3){var u=l[n],c=l[n+1],r=l[n+2];if(typeof c!="function"){if(Ry(c||u)===null)continue;break}var f=Ki(u);f!==null&&(l.splice(n,3),n-=3,If(f,{pending:!0,data:r,method:u.method,action:c},c,r))}}))}function pu(l){function n(E){return Qd(E,l)}hu!==null&&Qd(hu,l),Iu!==null&&Qd(Iu,l),Pu!==null&&Qd(Pu,l),Cr.forEach(n),Ur.forEach(n);for(var u=0;u<Xi.length;u++){var c=Xi[u];c.blockedOn===l&&(c.blockedOn=null)}for(;0<Xi.length&&(u=Xi[0],u.blockedOn===null);)Uy(u),u.blockedOn===null&&Xi.shift();if(u=(l.ownerDocument||l).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var r=u[c],f=u[c+1],p=r[ia]||null;if(typeof f=="function")p||Hy(u);else if(p){var y=null;if(f&&f.hasAttribute("formAction")){if(r=f,p=f[ia]||null)y=p.formAction;else if(Ry(r)!==null)continue}else y=p.action;typeof y=="function"?u[c+1]=y:(u.splice(c,3),c-=3),Hy(u)}}}function Ny(l){this._internalRoot=l}Zd.prototype.render=Ny.prototype.render=function(l){var n=this._internalRoot;if(n===null)throw Error(T(409));var u=n.current,c=Va();Dy(u,c,l,n,null,null)},Zd.prototype.unmount=Ny.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var n=l.containerInfo;Dy(l.current,2,null,l,null,null),Nc(),n[to]=null}};function Zd(l){this._internalRoot=l}Zd.prototype.unstable_scheduleHydration=function(l){if(l){var n=bm();l={blockedOn:null,target:l,priority:n};for(var u=0;u<Xi.length&&n!==0&&n<Xi[u].priority;u++);Xi.splice(u,0,l),u===0&&Uy(l)}};var qy=X.version;if(qy!=="19.1.1")throw Error(T(527,qy,"19.1.1"));R.findDOMNode=function(l){var n=l._reactInternals;if(n===void 0)throw typeof l.render=="function"?Error(T(188)):(l=Object.keys(l).join(","),Error(T(268,l)));return l=D(n),l=l!==null?m(l):null,l=l===null?null:l.stateNode,l};var da={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:S,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qr.isDisabled&&qr.supportsFiber)try{Ot=qr.inject(da),Ne=qr}catch{}}return Dh.createRoot=function(l,n){if(!Z(l))throw Error(T(299));var u=!1,c="",r=Ro,f=Up,p=ur,y=null;return n!=null&&(n.unstable_strictMode===!0&&(u=!0),n.identifierPrefix!==void 0&&(c=n.identifierPrefix),n.onUncaughtError!==void 0&&(r=n.onUncaughtError),n.onCaughtError!==void 0&&(f=n.onCaughtError),n.onRecoverableError!==void 0&&(p=n.onRecoverableError),n.unstable_transitionCallbacks!==void 0&&(y=n.unstable_transitionCallbacks)),n=xy(l,1,!1,null,null,u,c,r,f,p,y,null),l[to]=n.current,yy(l),new Ny(n)},Dh.hydrateRoot=function(l,n,u){if(!Z(l))throw Error(T(299));var c=!1,r="",f=Ro,p=Up,y=ur,E=null,N=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(r=u.identifierPrefix),u.onUncaughtError!==void 0&&(f=u.onUncaughtError),u.onCaughtError!==void 0&&(p=u.onCaughtError),u.onRecoverableError!==void 0&&(y=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(E=u.unstable_transitionCallbacks),u.formState!==void 0&&(N=u.formState)),n=xy(l,1,!0,n,u??null,c,r,f,p,y,E,N),n.context=Ay(null),u=n.current,c=Va(),c=Wl(c),r=Ta(c),r.callback=null,Wn(u,r,c),u=c,n.current.lanes=u,ui(n,u),Oa(n),l[to]=n.current,yy(l),new Zd(n)},Dh.version="19.1.1",Dh}var zh={};/**
|
|
90
55
|
* @license React
|
|
91
56
|
* react-dom-client.development.js
|
|
92
57
|
*
|
|
@@ -94,61 +59,61 @@ Error generating stack: `+r.message+`
|
|
|
94
59
|
*
|
|
95
60
|
* This source code is licensed under the MIT license found in the
|
|
96
61
|
* LICENSE file in the root directory of this source tree.
|
|
97
|
-
*/var G2;function gR(){return G2||(G2=1,process.env.NODE_ENV!=="production"&&function(){function u(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function f(e,t,a,i){if(a>=t.length)return i;var c=t[a],h=bt(e)?e.slice():At({},e);return h[c]=f(e[c],t,a+1,i),h}function d(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return s(e,t,a,0)}}function s(e,t,a,i){var c=t[i],h=bt(e)?e.slice():At({},e);return i+1===t.length?(h[a[i]]=h[c],bt(h)?h.splice(c,1):delete h[c]):h[c]=s(e[c],t,a,i+1),h}function p(e,t,a){var i=t[a],c=bt(e)?e.slice():At({},e);return a+1===t.length?(bt(c)?c.splice(i,1):delete c[i],c):(c[i]=p(e[i],t,a+1),c)}function b(){return!1}function T(){return null}function g(){}function S(){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 y(){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 C(){}function w(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function q(e,t,a,i){return new Ws(e,t,a,i)}function U(e,t){e.context===Es&&(Wt(e.current,2,t,e,null,null),Po())}function R(e,t){if(Ti!==null){var a=t.staleFamilies;t=t.updatedFamilies,Kc(),Is(e.current,t,a),Po()}}function H(e){Ti=e}function A(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function L(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function B(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 P(e){if(L(e)!==e)throw Error("Unable to find node on an unmounted component.")}function Q(e){var t=e.alternate;if(!t){if(t=L(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var c=a.return;if(c===null)break;var h=c.alternate;if(h===null){if(i=c.return,i!==null){a=i;continue}break}if(c.child===h.child){for(h=c.child;h;){if(h===a)return P(c),e;if(h===i)return P(c),t;h=h.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=c,i=h;else{for(var E=!1,x=c.child;x;){if(x===a){E=!0,a=c,i=h;break}if(x===i){E=!0,i=c,a=h;break}x=x.sibling}if(!E){for(x=h.child;x;){if(x===a){E=!0,a=h,i=c;break}if(x===i){E=!0,i=h,a=c;break}x=x.sibling}if(!E)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)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(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function V(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=V(e),t!==null)return t;e=e.sibling}return null}function J(e){return e===null||typeof e!="object"?null:(e=Kv&&e[Kv]||e["@@iterator"],typeof e=="function"?e:null)}function ne(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ah?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case xt:return"Fragment";case cs:return"Profiler";case os:return"StrictMode";case ss:return"Suspense";case Wu:return"SuspenseList";case Zv: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 nc:return"Portal";case lr:return(e.displayName||"Context")+".Provider";case nh:return(e._context.displayName||"Context")+".Consumer";case ru:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Pf:return t=e.displayName||null,t!==null?t:ne(e.type)||"Memo";case Ul:t=e._payload,e=e._init;try{return ne(e(t))}catch{}}return null}function ie(e){return typeof e.tag=="number"?W(e):typeof e.name=="string"?e.name:null}function W(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 ne(t);case 8:return t===os?"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 a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return W(e.return)}return null}function me(e){return{current:e}}function ae(e,t){0>rr?console.error("Unexpected pop."):(t!==Zf[rr]&&console.error("Unexpected Fiber popped."),e.current=Qf[rr],Qf[rr]=null,Zf[rr]=null,rr--)}function Te(e,t,a){rr++,Qf[rr]=e.current,Zf[rr]=a,e.current=t}function ce(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 te(e,t){Te(yi,t,e),Te(fs,e,e),Te(iu,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?It(t):vc;break;default:if(a=t.tagName,t=t.namespaceURI)t=It(t),t=vl(t,a);else switch(a){case"svg":t=Xh;break;case"math":t=gb;break;default:t=vc}}a=a.toLowerCase(),a=Lr(null,a),a={context:t,ancestorInfo:a},ae(iu,e),Te(iu,a,e)}function Z(e){ae(iu,e),ae(fs,e),ae(yi,e)}function D(){return ce(iu.current)}function k(e){e.memoizedState!==null&&Te(ds,e,e);var t=ce(iu.current),a=e.type,i=vl(t.context,a);a=Lr(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(Te(fs,e,e),Te(iu,i,e))}function Y(e){fs.current===e&&(ae(iu,e),ae(fs,e)),ds.current===e&&(ae(ds,e),Gy._currentValue=Td)}function ue(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function M(e){try{return K(e),!1}catch{return!0}}function K(e){return""+e}function re(e,t){if(M(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,ue(e)),K(e)}function le(e,t){if(M(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,ue(e)),K(e)}function be(e){if(M(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.",ue(e)),K(e)}function Me(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{eo=t.inject(e),Ma=t}catch(a){console.error("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function Oe(e){if(typeof ME=="function"&&Mr(e),Ma&&typeof Ma.setStrictMode=="function")try{Ma.setStrictMode(eo,e)}catch(t){bl||(bl=!0,console.error("React instrumentation encountered an error: %s",t))}}function ze(e){tt=e}function qe(){tt!==null&&typeof tt.markCommitStopped=="function"&&tt.markCommitStopped()}function Be(e){tt!==null&&typeof tt.markComponentRenderStarted=="function"&&tt.markComponentRenderStarted(e)}function $e(){tt!==null&&typeof tt.markComponentRenderStopped=="function"&&tt.markComponentRenderStopped()}function Fe(e){tt!==null&&typeof tt.markRenderStarted=="function"&&tt.markRenderStarted(e)}function Le(){tt!==null&&typeof tt.markRenderStopped=="function"&&tt.markRenderStopped()}function ye(e,t){tt!==null&&typeof tt.markStateUpdateScheduled=="function"&&tt.markStateUpdateScheduled(e,t)}function I(e){return e>>>=0,e===0?32:31-(ih(e)/ou|0)|0}function se(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 Ue(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 pe(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var c=0,h=e.suspendedLanes,E=e.pingedLanes;e=e.warmLanes;var x=i&134217727;return x!==0?(i=x&~h,i!==0?c=Ue(i):(E&=x,E!==0?c=Ue(E):a||(a=x&~e,a!==0&&(c=Ue(a))))):(x=i&~h,x!==0?c=Ue(x):E!==0?c=Ue(E):a||(a=i&~e,a!==0&&(c=Ue(a)))),c===0?0:t!==0&&t!==c&&(t&h)===0&&(h=c&-c,a=t&-t,h>=a||h===32&&(a&4194048)!==0)?t:c}function Ve(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function Ae(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 We(){var e=uh;return uh<<=1,(uh&4194048)===0&&(uh=256),e}function Pe(){var e=oh;return oh<<=1,(oh&62914560)===0&&(oh=4194304),e}function Ne(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Ze(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ye(e,t,a,i,c,h){var E=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var x=e.entanglements,N=e.expirationTimes,j=e.hiddenUpdates;for(a=E&~a;0<a;){var Se=31-$a(a),_e=1<<Se;x[Se]=0,N[Se]=-1;var ve=j[Se];if(ve!==null)for(j[Se]=null,Se=0;Se<ve.length;Se++){var we=ve[Se];we!==null&&(we.lane&=-536870913)}a&=~_e}i!==0&&Ke(e,i,0),h!==0&&c===0&&e.tag!==0&&(e.suspendedLanes|=h&~(E&~t))}function Ke(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-$a(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function it(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-$a(a),c=1<<i;c&t|e[i]&t&&(e[i]|=t),a&=~c}}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 dt(e,t,a){if(Xn)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-$a(a),c=1<<i;e[i].add(t),a&=~c}}function pt(e,t){if(Xn)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var c=31-$a(t);e=1<<c,c=a[c],0<c.size&&(c.forEach(function(h){var E=h.alternate;E!==null&&i.has(E)||i.add(h)}),c.clear()),t&=~e}}function gt(e){return e&=-e,za<e?zr<e?(e&134217727)!==0?cu:ch:zr:za}function Jt(){var e=vt.p;return e!==0?e:(e=window.event,e===void 0?cu:eh(e.type))}function In(e,t){var a=vt.p;try{return vt.p=e,t()}finally{vt.p=a}}function Mn(e){delete e[Ga],delete e[Sl],delete e[Jv],delete e[R0],delete e[hs]}function En(e){var t=e[Ga];if(t)return t;for(var a=e.parentNode;a;){if(t=a[no]||a[Ga]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=ls(e);e!==null;){if(a=e[Ga])return a;e=ls(e)}return t}e=a,a=e.parentNode}return null}function yn(e){if(e=e[Ga]||e[no]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function aa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Un(e){var t=e[ms];return t||(t=e[ms]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Ut(e){e[vs]=!0}function dn(e,t){Ua(e,t),Ua(e+"Capture",t)}function Ua(e,t){ir[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),ir[e]=t;var a=e.toLowerCase();for(ac[a]=e,e==="onDoubleClick"&&(ac.ondblclick=e),e=0;e<t.length;e++)q0.add(t[e])}function xa(e,t){H0[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 ja(e){return uu.call(dh,e)?!0:uu.call(fh,e)?!1:sh.test(e)?dh[e]=!0:(fh[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function pn(e,t,a){if(ja(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(re(a,t),e===""+a?a:e)}}function la(e,t,a){if(ja(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}re(a,t),e.setAttribute(t,""+a)}}function zn(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}re(a,t),e.setAttribute(t,""+a)}}function jn(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}re(i,a),e.setAttributeNS(t,a,""+i)}}function fr(){}function yo(){if(ao===0){Iv=console.log,Wv=console.info,U0=console.warn,Fv=console.error,ys=console.group,j0=console.groupCollapsed,k0=console.groupEnd;var e={configurable:!0,enumerable:!0,value:fr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ao++}function Tc(){if(ao--,ao===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:At({},e,{value:Iv}),info:At({},e,{value:Wv}),warn:At({},e,{value:U0}),error:At({},e,{value:Fv}),group:At({},e,{value:ys}),groupCollapsed:At({},e,{value:j0}),groupEnd:At({},e,{value:k0})})}0>ao&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function cn(e){if(ey===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ey=t&&t[1]||"",If=-1<a.stack.indexOf(`
|
|
62
|
+
*/var lb;function AS(){return lb||(lb=1,process.env.NODE_ENV!=="production"&&function(){function v(e,t){for(e=e.memoizedState;e!==null&&0<t;)e=e.next,t--;return e}function X(e,t,a,i){if(a>=t.length)return i;var o=t[a],s=ut(e)?e.slice():dt({},e);return s[o]=X(e[o],t,a+1,i),s}function G(e,t,a){if(t.length!==a.length)console.warn("copyWithRename() expects paths of the same length");else{for(var i=0;i<a.length-1;i++)if(t[i]!==a[i]){console.warn("copyWithRename() expects paths to be the same except for the deepest key");return}return T(e,t,a,0)}}function T(e,t,a,i){var o=t[i],s=ut(e)?e.slice():dt({},e);return i+1===t.length?(s[a[i]]=s[o],ut(s)?s.splice(o,1):delete s[o]):s[o]=T(e[o],t,a,i+1),s}function Z(e,t,a){var i=t[a],o=ut(e)?e.slice():dt({},e);return a+1===t.length?(ut(o)?o.splice(i,1):delete o[i],o):(o[i]=Z(e[i],t,a+1),o)}function re(){return!1}function Ae(){return null}function pe(){}function D(){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 m(){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 w(){}function Y(e){var t=[];return e.forEach(function(a){t.push(a)}),t.sort().join(", ")}function ye(e,t,a,i){return new Rs(e,t,a,i)}function P(e,t){e.context===ls&&(Vt(e.current,2,t,e,null,null),Oc())}function V(e,t){if(mu!==null){var a=t.staleFamilies;t=t.updatedFamilies,Co(),Ms(e.current,t,a),Oc()}}function ze(e){mu=e}function $(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function le(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function ie(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 oe(e){if(le(e)!==e)throw Error("Unable to find node on an unmounted component.")}function se(e){var t=e.alternate;if(!t){if(t=le(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var a=e,i=t;;){var o=a.return;if(o===null)break;var s=o.alternate;if(s===null){if(i=o.return,i!==null){a=i;continue}break}if(o.child===s.child){for(s=o.child;s;){if(s===a)return oe(o),e;if(s===i)return oe(o),t;s=s.sibling}throw Error("Unable to find node on an unmounted component.")}if(a.return!==i.return)a=o,i=s;else{for(var d=!1,h=o.child;h;){if(h===a){d=!0,a=o,i=s;break}if(h===i){d=!0,i=o,a=s;break}h=h.sibling}if(!d){for(h=s.child;h;){if(h===a){d=!0,a=s,i=o;break}if(h===i){d=!0,i=s,a=o;break}h=h.sibling}if(!d)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(a.alternate!==i)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(a.tag!==3)throw Error("Unable to find node on an unmounted component.");return a.stateNode.current===a?e:t}function qe(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=qe(e),t!==null)return t;e=e.sibling}return null}function ge(e){return e===null||typeof e!="object"?null:(e=gy&&e[gy]||e["@@iterator"],typeof e=="function"?e:null)}function Ee(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Hd?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case ot:return"Fragment";case ko:return"Profiler";case Xo:return"StrictMode";case Qo:return"Suspense";case Bi:return"SuspenseList";case my: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 Bc:return"Portal";case fn:return(e.displayName||"Context")+".Provider";case Ud:return(e._context.displayName||"Context")+".Consumer";case $u:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Er:return t=e.displayName||null,t!==null?t:Ee(e.type)||"Memo";case Ya:t=e._payload,e=e._init;try{return Ee(e(t))}catch{}}return null}function Ge(e){return typeof e.tag=="number"?ce(e):typeof e.name=="string"?e.name:null}function ce(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 Ee(t);case 8:return t===Xo?"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 a=t.length-1;0<=a;a--)if(typeof t[a].name=="string")return t[a].name}if(e.return!==null)return ce(e.return)}return null}function we(e){return{current:e}}function Te(e,t){0>dn?console.error("Unexpected pop."):(t!==Ar[dn]&&console.error("Unexpected Fiber popped."),e.current=xr[dn],xr[dn]=null,Ar[dn]=null,dn--)}function Ce(e,t,a){dn++,xr[dn]=e.current,Ar[dn]=a,e.current=t}function Ie(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 F(e,t){Ce(fu,t,e),Ce(Zo,e,e),Ce(Ju,null,e);var a=t.nodeType;switch(a){case 9:case 11:a=a===9?"#document":"#fragment",t=(t=t.documentElement)&&(t=t.namespaceURI)?jt(t):Fc;break;default:if(a=t.tagName,t=t.namespaceURI)t=jt(t),t=Da(t,a);else switch(a){case"svg":t=Sh;break;case"math":t=av;break;default:t=Fc}}a=a.toLowerCase(),a=Uh(null,a),a={context:t,ancestorInfo:a},Te(Ju,e),Ce(Ju,a,e)}function K(e){Te(Ju,e),Te(Zo,e),Te(fu,e)}function S(){return Ie(Ju.current)}function R(e){e.memoizedState!==null&&Ce($o,e,e);var t=Ie(Ju.current),a=e.type,i=Da(t.context,a);a=Uh(t.ancestorInfo,a),i={context:i,ancestorInfo:a},t!==i&&(Ce(Zo,e,e),Ce(Ju,i,e))}function U(e){Zo.current===e&&(Te(Ju,e),Te(Zo,e)),$o.current===e&&(Te($o,e),dm._currentValue=Ir)}function fe(e){return typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function M(e){try{return ve(e),!1}catch{return!0}}function ve(e){return""+e}function de(e,t){if(M(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,fe(e)),ve(e)}function Me(e,t){if(M(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,fe(e)),ve(e)}function Le(e){if(M(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.",fe(e)),ve(e)}function Pe(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{Vi=t.inject(e),Xl=t}catch(a){console.error("React instrumentation encountered an error: %s.",a)}return!!t.checkDCE}function lt(e){if(typeof Bv=="function"&&Un(e),Xl&&typeof Xl.setStrictMode=="function")try{Xl.setStrictMode(Vi,e)}catch(t){Ma||(Ma=!0,console.error("React instrumentation encountered an error: %s",t))}}function Je(e){He=e}function nt(){He!==null&&typeof He.markCommitStopped=="function"&&He.markCommitStopped()}function xt(e){He!==null&&typeof He.markComponentRenderStarted=="function"&&He.markComponentRenderStarted(e)}function Rt(){He!==null&&typeof He.markComponentRenderStopped=="function"&&He.markComponentRenderStopped()}function gl(e){He!==null&&typeof He.markRenderStarted=="function"&&He.markRenderStarted(e)}function Ja(){He!==null&&typeof He.markRenderStopped=="function"&&He.markRenderStopped()}function ue(e,t){He!==null&&typeof He.markStateUpdateScheduled=="function"&&He.markStateUpdateScheduled(e,t)}function he(e){return e>>>=0,e===0?32:31-(wd(e)/Wu|0)|0}function Se(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 Re(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 be(e,t,a){var i=e.pendingLanes;if(i===0)return 0;var o=0,s=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var h=i&134217727;return h!==0?(i=h&~s,i!==0?o=Re(i):(d&=h,d!==0?o=Re(d):a||(a=h&~e,a!==0&&(o=Re(a))))):(h=i&~s,h!==0?o=Re(h):d!==0?o=Re(d):a||(a=i&~e,a!==0&&(o=Re(a)))),o===0?0:t!==0&&t!==o&&(t&s)===0&&(s=o&-o,a=t&-t,s>=a||s===32&&(a&4194048)!==0)?t:o}function Oe(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function xe(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 Xe(){var e=_d;return _d<<=1,(_d&4194048)===0&&(_d=256),e}function Ue(){var e=Bd;return Bd<<=1,(Bd&62914560)===0&&(Bd=4194304),e}function Qe(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Fe(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ye(e,t,a,i,o,s){var d=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var h=e.entanglements,g=e.expirationTimes,b=e.hiddenUpdates;for(a=d&~a;0<a;){var B=31-ta(a),Q=1<<B;h[B]=0,g[B]=-1;var q=b[B];if(q!==null)for(b[B]=null,B=0;B<q.length;B++){var J=q[B];J!==null&&(J.lane&=-536870913)}a&=~Q}i!==0&&at(e,i,0),s!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=s&~(d&~t))}function at(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-ta(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|a&4194090}function Ot(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var i=31-ta(a),o=1<<i;o&t|e[i]&t&&(e[i]|=t),a&=~o}}function Ne(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 St(e,t,a){if(dl)for(e=e.pendingUpdatersLaneMap;0<a;){var i=31-ta(a),o=1<<i;e[i].add(t),a&=~o}}function Tt(e,t){if(dl)for(var a=e.pendingUpdatersLaneMap,i=e.memoizedUpdaters;0<t;){var o=31-ta(t);e=1<<o,o=a[o],0<o.size&&(o.forEach(function(s){var d=s.alternate;d!==null&&i.has(d)||i.add(s)}),o.clear()),t&=~e}}function wt(e){return e&=-e,kl<e?Hn<e?(e&134217727)!==0?Fu:jd:Hn:kl}function Wt(){var e=et.p;return e!==0?e:(e=window.event,e===void 0?Fu:Rd(e.type))}function ma(e,t){var a=et.p;try{return et.p=e,t()}finally{et.p=a}}function Jl(e){delete e[la],delete e[Ra],delete e[vy],delete e[vg],delete e[Ko]}function Kl(e){var t=e[la];if(t)return t;for(var a=e.parentNode;a;){if(t=a[Yi]||a[la]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=Vo(e);e!==null;){if(a=e[la])return a;e=Vo(e)}return t}e=a,a=e.parentNode}return null}function zl(e){if(e=e[la]||e[Yi]){var t=e.tag;if(t===5||t===6||t===13||t===26||t===27||t===3)return e}return null}function gn(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error("getNodeFromInstance: Invalid argument.")}function Ha(e){var t=e[Wo];return t||(t=e[Wo]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function tl(e){e[Fo]=!0}function wl(e,t){zu(e,t),zu(e+"Capture",t)}function zu(e,t){hn[e]&&console.error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),hn[e]=t;var a=e.toLowerCase();for(jc[a]=e,e==="onDoubleClick"&&(jc.ondblclick=e),e=0;e<t.length;e++)bg.add(t[e])}function Ka(e,t){Sg[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 ui(e){return Ku.call(Yd,e)?!0:Ku.call(Gd,e)?!1:Vd.test(e)?Yd[e]=!0:(Gd[e]=!0,console.error("Invalid attribute name: `%s`",e),!1)}function ua(e,t,a){if(ui(t)){if(!e.hasAttribute(t)){switch(typeof a){case"symbol":case"object":return a;case"function":return a;case"boolean":if(a===!1)return a}return a===void 0?void 0:null}return e=e.getAttribute(t),e===""&&a===!0?!0:(de(a,t),e===""+a?a:e)}}function Wa(e,t,a){if(ui(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}de(a,t),e.setAttribute(t,""+a)}}function _n(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}de(a,t),e.setAttribute(t,""+a)}}function Wl(e,t,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}de(i,a),e.setAttributeNS(t,a,""+i)}}function Pr(){}function bm(){if(Li===0){by=console.log,Sy=console.info,Tg=console.warn,Ty=console.error,Io=console.group,Eg=console.groupCollapsed,xg=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Pr,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Li++}function bv(){if(Li--,Li===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:dt({},e,{value:by}),info:dt({},e,{value:Sy}),warn:dt({},e,{value:Tg}),error:dt({},e,{value:Ty}),group:dt({},e,{value:Io}),groupCollapsed:dt({},e,{value:Eg}),groupEnd:dt({},e,{value:xg})})}0>Li&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function vl(e){if(Ey===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Ey=t&&t[1]||"",Or=-1<a.stack.indexOf(`
|
|
98
63
|
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
99
|
-
`+
|
|
100
|
-
`),
|
|
101
|
-
`);for(
|
|
102
|
-
`+
|
|
64
|
+
`+Ey+e+Or}function Ol(e,t){if(!e||Po)return"";var a=Mr.get(e);if(a!==void 0)return a;Po=!0,a=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var i=null;i=L.H,L.H=null,bm();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var q=function(){throw Error()};if(Object.defineProperty(q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(q,[])}catch(je){var J=je}Reflect.construct(e,[],q)}else{try{q.call()}catch(je){J=je}e.call(q.prototype)}}else{try{throw Error()}catch(je){J=je}(q=e())&&typeof q.catch=="function"&&q.catch(function(){})}}catch(je){if(je&&J&&typeof je.stack=="string")return[je.stack,J.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var d=o.DetermineComponentFrameRoot(),h=d[0],g=d[1];if(h&&g){var b=h.split(`
|
|
65
|
+
`),B=g.split(`
|
|
66
|
+
`);for(d=s=0;s<b.length&&!b[s].includes("DetermineComponentFrameRoot");)s++;for(;d<B.length&&!B[d].includes("DetermineComponentFrameRoot");)d++;if(s===b.length||d===B.length)for(s=b.length-1,d=B.length-1;1<=s&&0<=d&&b[s]!==B[d];)d--;for(;1<=s&&0<=d;s--,d--)if(b[s]!==B[d]){if(s!==1||d!==1)do if(s--,d--,0>d||b[s]!==B[d]){var Q=`
|
|
67
|
+
`+b[s].replace(" at new "," at ");return e.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",e.displayName)),typeof e=="function"&&Mr.set(e,Q),Q}while(1<=s&&0<=d);break}}}finally{Po=!1,L.H=i,bv(),Error.prepareStackTrace=a}return b=(b=e?e.displayName||e.name:"")?vl(b):"",typeof e=="function"&&Mr.set(e,b),b}function ia(e){var t=Error.prepareStackTrace;if(Error.prepareStackTrace=void 0,e=e.stack,Error.prepareStackTrace=t,e.startsWith(`Error: react-stack-top-frame
|
|
103
68
|
`)&&(e=e.slice(29)),t=e.indexOf(`
|
|
104
69
|
`),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
|
|
105
|
-
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function
|
|
106
|
-
Error generating stack: `+
|
|
107
|
-
`+
|
|
108
|
-
`+i))}else if(e.debugStack!=null){var
|
|
109
|
-
`+
|
|
110
|
-
Error generating stack: `+
|
|
111
|
-
`+
|
|
112
|
-
|
|
113
|
-
Check the render method of \``+e+"`.":""}function
|
|
114
|
-
`;if(typeof t=="string"){for(var
|
|
115
|
-
`+
|
|
116
|
-
`}return
|
|
117
|
-
`}function
|
|
118
|
-
`:0<i?a+"<"+e+" "+
|
|
70
|
+
`,t)),t!==-1)e=e.slice(0,t);else return"";return e}function to(e){switch(e.tag){case 26:case 27:case 5:return vl(e.type);case 16:return vl("Lazy");case 13:return vl("Suspense");case 19:return vl("SuspenseList");case 0:case 15:return Ol(e.type,!1);case 11:return Ol(e.type.render,!1);case 1:return Ol(e.type,!0);case 31:return vl("Activity");default:return""}}function ef(e){try{var t="";do{t+=to(e);var a=e._debugInfo;if(a)for(var i=a.length-1;0<=i;i--){var o=a[i];if(typeof o.name=="string"){var s=t,d=o.env,h=vl(o.name+(d?" ["+d+"]":""));t=s+h}}e=e.return}while(e);return t}catch(g){return`
|
|
71
|
+
Error generating stack: `+g.message+`
|
|
72
|
+
`+g.stack}}function Sm(e){return(e=e?e.displayName||e.name:"")?vl(e):""}function tf(){if(La===null)return null;var e=La._debugOwner;return e!=null?Ge(e):null}function Tm(){if(La===null)return"";var e=La;try{var t="";switch(e.tag===6&&(e=e.return),e.tag){case 26:case 27:case 5:t+=vl(e.type);break;case 13:t+=vl("Suspense");break;case 19:t+=vl("SuspenseList");break;case 31:t+=vl("Activity");break;case 30:case 0:case 15:case 1:e._debugOwner||t!==""||(t+=Sm(e.type));break;case 11:e._debugOwner||t!==""||(t+=Sm(e.type.render))}for(;e;)if(typeof e.tag=="number"){var a=e;e=a._debugOwner;var i=a._debugStack;e&&i&&(typeof i!="string"&&(a._debugStack=i=ia(i)),i!==""&&(t+=`
|
|
73
|
+
`+i))}else if(e.debugStack!=null){var o=e.debugStack;(e=e.owner)&&o&&(t+=`
|
|
74
|
+
`+ia(o))}else break;var s=t}catch(d){s=`
|
|
75
|
+
Error generating stack: `+d.message+`
|
|
76
|
+
`+d.stack}return s}function Be(e,t,a,i,o,s,d){var h=La;ms(e);try{return e!==null&&e._debugTask?e._debugTask.run(t.bind(null,a,i,o,s,d)):t(a,i,o,s,d)}finally{ms(h)}throw Error("runWithFiberInDEV should never be called in production. This is a bug in React.")}function ms(e){L.getCurrentStack=e===null?null:Tm,Ca=!1,La=e}function _l(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return Le(e),e;default:return""}}function Ki(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function gs(e){var t=Ki(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);Le(e[t]);var i=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var o=a.get,s=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(d){Le(d),i=""+d,s.call(this,d)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return i},setValue:function(d){Le(d),i=""+d},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ou(e){e._valueTracker||(e._valueTracker=gs(e))}function bl(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),i="";return e&&(i=Ki(e)?e.checked?"true":"false":e.value),e=i,e!==a?(t.setValue(e),!0):!1}function vs(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 Na(e){return e.replace(jv,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function ii(e,t){t.checked===void 0||t.defaultChecked===void 0||Ay||(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",tf()||"A component",t.type),Ay=!0),t.value===void 0||t.defaultValue===void 0||xy||(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",tf()||"A component",t.type),xy=!0)}function ci(e,t,a,i,o,s,d,h){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?(de(d,"type"),e.type=d):e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+_l(t)):e.value!==""+_l(t)&&(e.value=""+_l(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?lf(e,d,_l(t)):a!=null?lf(e,d,_l(a)):i!=null&&e.removeAttribute("value"),o==null&&s!=null&&(e.defaultChecked=!!s),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),h!=null&&typeof h!="function"&&typeof h!="symbol"&&typeof h!="boolean"?(de(h,"name"),e.name=""+_l(h)):e.removeAttribute("name")}function Em(e,t,a,i,o,s,d,h){if(s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"&&(de(s,"type"),e.type=s),t!=null||a!=null){if(!(s!=="submit"&&s!=="reset"||t!=null))return;a=a!=null?""+_l(a):"",t=t!=null?""+_l(t):a,h||t===e.value||(e.value=t),e.defaultValue=t}i=i??o,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=h?e.checked:!!i,e.defaultChecked=!!i,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(de(d,"name"),e.name=d)}function lf(e,t,a){t==="number"&&vs(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function Oh(e,t){t.value==null&&(typeof t.children=="object"&&t.children!==null?Sr.Children.forEach(t.children,function(a){a==null||typeof a=="string"||typeof a=="number"||typeof a=="bigint"||zy||(zy=!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||Ld||(Ld=!0,console.error("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))),t.selected==null||Dy||(console.error("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Dy=!0)}function xm(){var e=tf();return e?`
|
|
77
|
+
|
|
78
|
+
Check the render method of \``+e+"`.":""}function Mu(e,t,a,i){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&i&&(e[a].defaultSelected=!0)}else{for(a=""+_l(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,i&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function bs(e,t){for(e=0;e<Rr.length;e++){var a=Rr[e];if(t[a]!=null){var i=ut(t[a]);t.multiple&&!i?console.error("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",a,xm()):!t.multiple&&i&&console.error("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",a,xm())}}t.value===void 0||t.defaultValue===void 0||Oy||(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"),Oy=!0)}function Bn(e,t){t.value===void 0||t.defaultValue===void 0||Ag||(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",tf()||"A component"),Ag=!0),t.children!=null&&t.value==null&&console.error("Use the `defaultValue` or `value` props instead of setting children on <textarea>.")}function af(e,t,a){if(t!=null&&(t=""+_l(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+_l(a):""}function Mh(e,t,a,i){if(t==null){if(i!=null){if(a!=null)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ut(i)){if(1<i.length)throw Error("<textarea> can only have at most one child.");i=i[0]}a=i}a==null&&(a=""),t=a}a=_l(t),e.defaultValue=a,i=e.textContent,i===a&&i!==""&&i!==null&&(e.value=i)}function Wi(e,t){return e.serverProps===void 0&&e.serverTail.length===0&&e.children.length===1&&3<e.distanceFromLeaf&&e.distanceFromLeaf>15-t?Wi(e.children[0],t):e}function ca(e){return" "+" ".repeat(e)}function oi(e){return"+ "+" ".repeat(e)}function Fi(e){return"- "+" ".repeat(e)}function Rh(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 Fl(e,t){return Dg.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 Ss(e,t,a){var i=120-2*a;if(t===null)return oi(a)+Fl(e,i)+`
|
|
79
|
+
`;if(typeof t=="string"){for(var o=0;o<t.length&&o<e.length&&t.charCodeAt(o)===e.charCodeAt(o);o++);return o>i-8&&10<o&&(e="..."+e.slice(o-8),t="..."+t.slice(o-8)),oi(a)+Fl(e,i)+`
|
|
80
|
+
`+Fi(a)+Fl(t,i)+`
|
|
81
|
+
`}return ca(a)+Fl(e,i)+`
|
|
82
|
+
`}function Ch(e){return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/,function(t,a){return a})}function si(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(ut(e))return"[...]";if(e.$$typeof===_i)return(t=Ee(e.type))?"<"+t+">":"<...>";var a=Ch(e);if(a==="Object"){a="",t-=2;for(var i in e)if(e.hasOwnProperty(i)){var o=JSON.stringify(i);if(o!=='"'+i+'"'&&(i=o),t-=i.length-2,o=si(e[i],15>t?t:15),t-=o.length,0>t){a+=a===""?"...":", ...";break}a+=(a===""?"":",")+i+":"+o}return"{"+a+"}"}return a;case"function":return(t=e.displayName||e.name)?"function "+t:"function";default:return String(e)}}function Ii(e,t){return typeof e!="string"||Dg.test(e)?"{"+si(e,t-2)+"}":e.length>t-2?5>t?'"..."':'"'+e.slice(0,t-5)+'..."':'"'+e+'"'}function lo(e,t,a){var i=120-a.length-e.length,o=[],s;for(s in t)if(t.hasOwnProperty(s)&&s!=="children"){var d=Ii(t[s],120-a.length-s.length-1);i-=s.length+d.length+2,o.push(s+"="+d)}return o.length===0?a+"<"+e+`>
|
|
83
|
+
`:0<i?a+"<"+e+" "+o.join(" ")+`>
|
|
119
84
|
`:a+"<"+e+`
|
|
120
|
-
`+a+" "+
|
|
85
|
+
`+a+" "+o.join(`
|
|
121
86
|
`+a+" ")+`
|
|
122
87
|
`+a+`>
|
|
123
|
-
`}function
|
|
124
|
-
`,i+=
|
|
125
|
-
`):i+=
|
|
126
|
-
`}for(var
|
|
127
|
-
`);return i}function
|
|
128
|
-
`+
|
|
129
|
-
`:(
|
|
130
|
-
`,
|
|
131
|
-
`)}else
|
|
132
|
-
`}
|
|
133
|
-
`}}),
|
|
134
|
-
`:
|
|
135
|
-
`+
|
|
136
|
-
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(
|
|
137
|
-
`}function
|
|
138
|
-
`+
|
|
139
|
-
`,t++)}if(i="",
|
|
140
|
-
`,t++}else e.serverProps===null?(i=
|
|
141
|
-
`),
|
|
142
|
-
`):
|
|
143
|
-
|
|
144
|
-
`+
|
|
145
|
-
This will cause a hydration error.%s`,
|
|
146
|
-
This will cause a hydration error.%s`,
|
|
147
|
-
See this log for the ancestor stack trace.`,i,
|
|
88
|
+
`}function Sv(e,t,a){var i="",o=dt({},t),s;for(s in e)if(e.hasOwnProperty(s)){delete o[s];var d=120-2*a-s.length-2,h=si(e[s],d);t.hasOwnProperty(s)?(d=si(t[s],d),i+=oi(a)+s+": "+h+`
|
|
89
|
+
`,i+=Fi(a)+s+": "+d+`
|
|
90
|
+
`):i+=oi(a)+s+": "+h+`
|
|
91
|
+
`}for(var g in o)o.hasOwnProperty(g)&&(e=si(o[g],120-2*a-g.length-2),i+=Fi(a)+g+": "+e+`
|
|
92
|
+
`);return i}function Fa(e,t,a,i){var o="",s=new Map;for(b in a)a.hasOwnProperty(b)&&s.set(b.toLowerCase(),b);if(s.size===1&&s.has("children"))o+=lo(e,t,ca(i));else{for(var d in t)if(t.hasOwnProperty(d)&&d!=="children"){var h=120-2*(i+1)-d.length-1,g=s.get(d.toLowerCase());if(g!==void 0){s.delete(d.toLowerCase());var b=t[d];g=a[g];var B=Ii(b,h);h=Ii(g,h),typeof b=="object"&&b!==null&&typeof g=="object"&&g!==null&&Ch(b)==="Object"&&Ch(g)==="Object"&&(2<Object.keys(b).length||2<Object.keys(g).length||-1<B.indexOf("...")||-1<h.indexOf("..."))?o+=ca(i+1)+d+`={{
|
|
93
|
+
`+Sv(b,g,i+2)+ca(i+1)+`}}
|
|
94
|
+
`:(o+=oi(i+1)+d+"="+B+`
|
|
95
|
+
`,o+=Fi(i+1)+d+"="+h+`
|
|
96
|
+
`)}else o+=ca(i+1)+d+"="+Ii(t[d],h)+`
|
|
97
|
+
`}s.forEach(function(Q){if(Q!=="children"){var q=120-2*(i+1)-Q.length-1;o+=Fi(i+1)+Q+"="+Ii(a[Q],q)+`
|
|
98
|
+
`}}),o=o===""?ca(i)+"<"+e+`>
|
|
99
|
+
`:ca(i)+"<"+e+`
|
|
100
|
+
`+o+ca(i)+`>
|
|
101
|
+
`}return e=a.children,t=t.children,typeof e=="string"||typeof e=="number"||typeof e=="bigint"?(s="",(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(s=""+t),o+=Ss(s,""+e,i+1)):(typeof t=="string"||typeof t=="number"||typeof t=="bigint")&&(o=e==null?o+Ss(""+t,null,i+1):o+Ss(""+t,void 0,i+1)),o}function nf(e,t){var a=Rh(e);if(a===null){for(a="",e=e.child;e;)a+=nf(e,t),e=e.sibling;return a}return ca(t)+"<"+a+`>
|
|
102
|
+
`}function uf(e,t){var a=Wi(e,t);if(a!==e&&(e.children.length!==1||e.children[0]!==a))return ca(t)+`...
|
|
103
|
+
`+uf(a,t+1);a="";var i=e.fiber._debugInfo;if(i)for(var o=0;o<i.length;o++){var s=i[o].name;typeof s=="string"&&(a+=ca(t)+"<"+s+`>
|
|
104
|
+
`,t++)}if(i="",o=e.fiber.pendingProps,e.fiber.tag===6)i=Ss(o,e.serverProps,t),t++;else if(s=Rh(e.fiber),s!==null)if(e.serverProps===void 0){i=t;var d=120-2*i-s.length-2,h="";for(b in o)if(o.hasOwnProperty(b)&&b!=="children"){var g=Ii(o[b],15);if(d-=b.length+g.length+2,0>d){h+=" ...";break}h+=" "+b+"="+g}i=ca(i)+"<"+s+h+`>
|
|
105
|
+
`,t++}else e.serverProps===null?(i=lo(s,o,oi(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."):(i=Fa(s,o,e.serverProps,t),t++);var b="";for(o=e.fiber.child,s=0;o&&s<e.children.length;)d=e.children[s],d.fiber===o?(b+=uf(d,t),s++):b+=nf(o,t),o=o.sibling;for(o&&0<e.children.length&&(b+=ca(t)+`...
|
|
106
|
+
`),o=e.serverTail,e.serverProps===null&&t--,e=0;e<o.length;e++)s=o[e],b=typeof s=="string"?b+(Fi(t)+Fl(s,120-2*t)+`
|
|
107
|
+
`):b+lo(s.type,s.props,Fi(t));return a+i+b}function Ts(e){try{return`
|
|
108
|
+
|
|
109
|
+
`+uf(e,0)}catch{return""}}function Pi(e,t,a){for(var i=t,o=null,s=0;i;)i===e&&(s=0),o={fiber:i,children:o!==null?[o]:[],serverProps:i===t?a:i===e?null:void 0,serverTail:[],distanceFromLeaf:s},s++,i=i.return;return o!==null?Ts(o).replaceAll(/^[+-]/gm,">"):""}function Uh(e,t){var a=dt({},e||Cy),i={tag:t};return Xd.indexOf(t)!==-1&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),kd.indexOf(t)!==-1&&(a.pTagInButtonScope=null),My.indexOf(t)!==-1&&t!=="address"&&t!=="div"&&t!=="p"&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=i,t==="form"&&(a.formTag=i),t==="a"&&(a.aTagInScope=i),t==="button"&&(a.buttonTagInScope=i),t==="nobr"&&(a.nobrTagInScope=i),t==="p"&&(a.pTagInButtonScope=i),t==="li"&&(a.listItemTagAutoclosing=i),(t==="dd"||t==="dt")&&(a.dlItemTagAutoclosing=i),t==="#document"||t==="html"?a.containerTagInScope=null:a.containerTagInScope||(a.containerTagInScope=i),e!==null||t!=="#document"&&t!=="html"&&t!=="body"?a.implicitRootScope===!0&&(a.implicitRootScope=!1):a.implicitRootScope=!0,a}function Hh(e,t,a){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(a)break;return e==="head"||e==="body"||e==="frameset";case"frameset":return e==="frame";case"#document":if(!a)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 Ry.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 a||t===null;case"html":return a&&t==="#document"||t===null;case"body":return a&&(t==="#document"||t==="html")||t===null}return!0}function ao(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 Am(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 cf(e,t){t=t||Cy;var a=t.current;if(t=(a=Hh(e,a&&a.tag,t.implicitRootScope)?null:a)?null:ao(e,t),t=a||t,!t)return!0;var i=t.tag;if(t=String(!!a)+"|"+e+"|"+i,es[t])return!1;es[t]=!0;var o=(t=La)?Am(t.return,i):null,s=t!==null&&o!==null?Pi(o,t,null):"",d="<"+e+">";return a?(a="",i==="table"&&e==="tr"&&(a+=" 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
|
|
110
|
+
This will cause a hydration error.%s`,d,i,a,s)):console.error(`In HTML, %s cannot be a descendant of <%s>.
|
|
111
|
+
This will cause a hydration error.%s`,d,i,s),t&&(e=t.return,o===null||e===null||o===e&&e._debugOwner===t._debugOwner||Be(o,function(){console.error(`<%s> cannot contain a nested %s.
|
|
112
|
+
See this log for the ancestor stack trace.`,i,d)})),!1}function Es(e,t,a){if(a||Hh("#text",t,!1))return!0;if(a="#text|"+t,es[a])return!1;es[a]=!0;var i=(a=La)?Am(a,t):null;return a=a!==null&&i!==null?Pi(i,a,a.tag!==6?{children:null}:null):"",/\S/.test(e)?console.error(`In HTML, text nodes cannot be a child of <%s>.
|
|
148
113
|
This will cause a hydration error.%s`,t,a):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.
|
|
149
|
-
This will cause a hydration error.%s`,t,a),!1}function Br(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function _c(e){return e.replace(lo,function(t,a){return a.toUpperCase()})}function Ud(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?lc.hasOwnProperty(t)&&lc[t]||(lc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,_c(t.replace(td,"ms-")))):ed.test(t)?lc.hasOwnProperty(t)&&lc[t]||(lc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!V0.test(a)||rc.hasOwnProperty(a)&&rc[a]||(rc[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(V0,""))),typeof a=="number"&&(isNaN(a)?Y0||(Y0=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||cy||(cy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||nd.has(t)?t==="float"?e.cssFloat=a:(le(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function So(e,t,a){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,a!=null){if(t){var i={};if(a){for(var c in a)if(a.hasOwnProperty(c)&&!t.hasOwnProperty(c))for(var h=bi[c]||[c],E=0;E<h.length;E++)i[h[E]]=c}for(var x in t)if(t.hasOwnProperty(x)&&(!a||a[x]!==t[x]))for(c=bi[x]||[x],h=0;h<c.length;h++)i[c[h]]=x;x={};for(var N in t)for(c=bi[N]||[N],h=0;h<c.length;h++)x[c[h]]=N;N={};for(var j in i)if(c=i[j],(h=x[j])&&c!==h&&(E=c+","+h,!N[E])){N[E]=!0,E=console;var Se=t[c];E.error.call(E,"%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.",Se==null||typeof Se=="boolean"||Se===""?"Removing":"Updating",c,h)}}for(var _e in a)!a.hasOwnProperty(_e)||t!=null&&t.hasOwnProperty(_e)||(_e.indexOf("--")===0?e.setProperty(_e,""):_e==="float"?e.cssFloat="":e[_e]="");for(var ve in t)j=t[ve],t.hasOwnProperty(ve)&&a[ve]!==j&&Ud(e,ve,j)}else for(i in t)t.hasOwnProperty(i)&&Ud(e,i,t[i])}function Vr(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 Eo(e){return vh.get(e)||e}function Vi(e,t){if(uu.call(Si,t)&&Si[t])return!0;if(yh.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=sy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),Si[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),Si[t]=!0}if(fy.test(t)){if(e=t.toLowerCase(),e=sy.hasOwnProperty(e)?e:null,e==null)return Si[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),Si[t]=!0)}return!0}function Ou(e,t){var a=[],i;for(i in t)Vi(e,i)||a.push(i);t=a.map(function(c){return"`"+c+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function jd(e,t,a,i){if(uu.call(tl,t)&&tl[t])return!0;var c=t.toLowerCase();if(c==="onfocusin"||c==="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."),tl[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(c)?e[c]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),tl[t]=!0;if(ld.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),tl[t]=!0}else if(ld.test(t))return n.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),tl[t]=!0;if(l.test(t)||r.test(t))return!0;if(c==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),tl[t]=!0;if(c==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),tl[t]=!0;if(c==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),tl[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),tl[t]=!0;if(ic.hasOwnProperty(c)){if(c=ic[c],c!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,c),tl[t]=!0}else if(t!==c)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,c),tl[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 a){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 c=t.toLowerCase().slice(0,5),c==="data-"||c==="aria-"?!0:(a?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()}.',a,t,t,a,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.',a,t,t,a,t,t,t),tl[t]=!0)}case"function":case"symbol":return tl[t]=!0,!1;case"string":if(a==="false"||a==="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}?",a,t,a==="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,a),tl[t]=!0}}return!0}function Xs(e,t,a){var i=[],c;for(c in t)jd(e,c,t[c],a)||i.push(c);t=i.map(function(h){return"`"+h+"`"}).join(", "),i.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<i.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 Ia(e){return o.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yr(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function Xl(e){var t=yn(e);if(t&&(e=t.stateNode)){var a=e[Sl]||null;e:switch(e=t.stateNode,t.type){case"input":if(wl(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(re(t,"name"),a=a.querySelectorAll('input[name="'+ua(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var c=i[Sl]||null;if(!c)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");wl(i,c.value,c.defaultValue,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&mn(i)}break e;case"textarea":ki(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&ka(e,!!a.multiple,t,!1)}}}function To(e,t,a){if(z)return e(t,a);z=!0;try{var i=e(t);return i}finally{if(z=!1,(v!==null||_!==null)&&(Po(),v&&(t=v,e=_,_=v=null,Xl(t),e)))for(t=0;t<e.length;t++)Xl(e[t])}}function mr(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Sl]||null;if(i===null)return null;a=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function vr(){if(Ee)return Ee;var e,t=ge,a=t.length,i,c="value"in je?je.value:je.textContent,h=c.length;for(e=0;e<a&&t[e]===c[e];e++);var E=a-e;for(i=1;i<=E&&t[a-i]===c[h-i];i++);return Ee=c.slice(e,1<i?1-i:void 0)}function Cu(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 Yi(){return!0}function Ps(){return!1}function he(e){function t(a,i,c,h,E){this._reactName=a,this._targetInst=c,this.type=i,this.nativeEvent=h,this.target=E,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(a=e[x],this[x]=a?a(h):h[x]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Yi:Ps,this.isPropagationStopped=Ps,this}return At(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=Yi)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=Yi)},persist:function(){},isPersistent:Yi}),t}function Qe(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=VR[e])?!!t[e]:!1}function rt(){return Qe}function st(e,t){switch(e){case"keyup":return FR.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==e_;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function sn(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function $r(e,t){switch(e){case"compositionend":return sn(t);case"keypress":return t.which!==n_?null:(l_=!0,a_);case"textInput":return e=t.data,e===a_&&l_?null:e;default:return null}}function Gr(e,t){if(gh)return e==="compositionend"||!RE&&st(e,t)?(e=vr(),Ee=ge=je=null,gh=!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 t_&&t.locale!=="ko"?null:t.data;default:return null}}function Ac(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!t3[e.type]:t==="textarea"}function Qs(e){if(!$)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 kd(e,t,a,i){v?_?_.push(i):_=[i]:v=i,t=Hf(t,"onChange"),0<t.length&&(a=new ct("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function Zs(e){fi(e,0)}function xo(e){var t=aa(e);if(mn(t))return e}function hm(e,t){if(e==="change")return t}function $g(){hy&&(hy.detachEvent("onpropertychange",Gg),my=hy=null)}function Gg(e){if(e.propertyName==="value"&&xo(my)){var t=[];kd(t,my,e,Yr(e)),To(Zs,t)}}function mE(e,t,a){e==="focusin"?($g(),hy=t,my=a,hy.attachEvent("onpropertychange",Gg)):e==="focusout"&&$g()}function mm(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return xo(my)}function vE(e,t){if(e==="click")return xo(t)}function yE(e,t){if(e==="input"||e==="change")return xo(t)}function gE(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function Ks(e,t){if(kl(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var c=a[i];if(!uu.call(t,c)||!kl(e[c],t[c]))return!1}return!0}function Xg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vm(e,t){var a=Xg(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Xg(a)}}function Pg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Pg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qg(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=kr(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=kr(e.document)}return t}function ym(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 Zg(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;HE||bh==null||bh!==kr(i)||(i=bh,"selectionStart"in i&&ym(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),vy&&Ks(vy,i)||(vy=i,i=Hf(qE,"onSelect"),0<i.length&&(t=new ct("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=bh)))}function $i(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function Oo(e){if(UE[e])return UE[e];if(!Sh[e])return e;var t=Sh[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in i_)return UE[e]=t[a];return e}function yr(e,t){f_.set(e,t),dn(t,[e])}function Dl(e,t){if(typeof e=="object"&&e!==null){var a=kE.get(e);return a!==void 0?a:(t={value:e,source:t,stack:dr(t)},kE.set(e,t),t)}return{value:e,source:t,stack:dr(t)}}function Js(){for(var e=Eh,t=LE=Eh=0;t<e;){var a=Ei[t];Ei[t++]=null;var i=Ei[t];Ei[t++]=null;var c=Ei[t];Ei[t++]=null;var h=Ei[t];if(Ei[t++]=null,i!==null&&c!==null){var E=i.pending;E===null?c.next=c:(c.next=E.next,E.next=c),i.pending=c}h!==0&&Kg(a,c,h)}}function Ld(e,t,a,i){Ei[Eh++]=e,Ei[Eh++]=t,Ei[Eh++]=a,Ei[Eh++]=i,LE|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function gm(e,t,a,i){return Ld(e,t,a,i),Bd(e)}function ol(e,t){return Ld(e,null,null,t),Bd(e)}function Kg(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var c=!1,h=e.return;h!==null;)h.childLanes|=a,i=h.alternate,i!==null&&(i.childLanes|=a),h.tag===22&&(e=h.stateNode,e===null||e._visibility&$0||(c=!0)),e=h,h=h.return;return e.tag===3?(h=e.stateNode,c&&t!==null&&(c=31-$a(a),e=h.hiddenUpdates,i=e[c],i===null?e[c]=[t]:i.push(t),t.lane=a|536870912),h):null}function Bd(e){if(ky>O3)throw yd=ky=0,Ly=mT=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.");yd>C3&&(yd=0,Ly=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&&Dr(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&Dr(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function Co(e){if(Ti===null)return e;var t=Ti(e);return t===void 0?e:t.current}function bm(e){if(Ti===null)return e;var t=Ti(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=Co(e.render),e.render!==t)?(t={$$typeof:ru,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function Jg(e,t){if(Ti===null)return!1;var a=e.elementType;t=t.type;var i=!1,c=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||c===Ul)&&(i=!0);break;case 11:(c===ru||c===Ul)&&(i=!0);break;case 14:case 15:(c===Pf||c===Ul)&&(i=!0);break;default:return!1}return!!(i&&(e=Ti(a),e!==void 0&&e===Ti(t)))}function Ig(e){Ti!==null&&typeof WeakSet=="function"&&(Th===null&&(Th=new WeakSet),Th.add(e))}function Is(e,t,a){var i=e.alternate,c=e.child,h=e.sibling,E=e.tag,x=e.type,N=null;switch(E){case 0:case 15:case 1:N=x;break;case 11:N=x.render}if(Ti===null)throw Error("Expected resolveFamily to be set during hot reload.");var j=!1;x=!1,N!==null&&(N=Ti(N),N!==void 0&&(a.has(N)?x=!0:t.has(N)&&(E===1?x=!0:j=!0))),Th!==null&&(Th.has(e)||i!==null&&Th.has(i))&&(x=!0),x&&(e._debugNeedsRemount=!0),(x||j)&&(i=ol(e,2),i!==null&&Bn(i,e,2)),c===null||x||Is(c,t,a),h!==null&&Is(h,t,a)}function Ws(e,t,a,i){this.tag=e,this.key=a,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=i,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,p_||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Sm(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xr(e,t){var a=e.alternate;switch(a===null?(a=q(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=Co(e.type);break;case 1:a.type=Co(e.type);break;case 11:a.type=bm(e.type)}return a}function Em(e,t){e.flags&=65011714;var a=e.alternate;return a===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=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function Vd(e,t,a,i,c,h){var E=0,x=e;if(typeof e=="function")Sm(e)&&(E=1),x=Co(x);else if(typeof e=="string")E=D(),E=is(e,a,E)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case Zv:return t=q(31,a,t,c),t.elementType=Zv,t.lanes=h,t;case xt:return _u(a.children,c,h,t);case os:E=8,c|=Tl,c|=du;break;case cs:return e=a,i=c,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=q(12,e,t,i|nl),t.elementType=cs,t.lanes=h,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case ss:return t=q(13,a,t,c),t.elementType=ss,t.lanes=h,t;case Wu:return t=q(19,a,t,c),t.elementType=Wu,t.lanes=h,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Qv:case lr:E=10;break e;case nh:E=9;break e;case ru:E=11,x=bm(x);break e;case Pf:E=14;break e;case Ul:E=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?a="null":bt(e)?a="array":e!==void 0&&e.$$typeof===Iu?(a="<"+(ne(e.type)||"Unknown")+" />",x=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(E=i?ie(i):null)&&(x+=`
|
|
114
|
+
This will cause a hydration error.%s`,t,a),!1}function ec(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}function Tv(e){return e.replace(Xi,function(t,a){return a.toUpperCase()})}function Dm(e,t,a){var i=t.indexOf("--")===0;i||(-1<t.indexOf("-")?Vc.hasOwnProperty(t)&&Vc[t]||(Vc[t]=!0,console.error("Unsupported style property %s. Did you mean %s?",t,Tv(t.replace(Ur,"ms-")))):Cr.test(t)?Vc.hasOwnProperty(t)&&Vc[t]||(Vc[t]=!0,console.error("Unsupported vendor-prefixed style property %s. Did you mean %s?",t,t.charAt(0).toUpperCase()+t.slice(1))):!zg.test(a)||Gc.hasOwnProperty(a)&&Gc[a]||(Gc[a]=!0,console.error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,t,a.replace(zg,""))),typeof a=="number"&&(isNaN(a)?Og||(Og=!0,console.error("`NaN` is an invalid value for the `%s` css style property.",t)):isFinite(a)||Uy||(Uy=!0,console.error("`Infinity` is an invalid value for the `%s` css style property.",t)))),a==null||typeof a=="boolean"||a===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,a):typeof a!="number"||a===0||Hr.has(t)?t==="float"?e.cssFloat=a:(Me(a,t),e[t]=(""+a).trim()):e[t]=a+"px"}function xs(e,t,a){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,a!=null){if(t){var i={};if(a){for(var o in a)if(a.hasOwnProperty(o)&&!t.hasOwnProperty(o))for(var s=hu[o]||[o],d=0;d<s.length;d++)i[s[d]]=o}for(var h in t)if(t.hasOwnProperty(h)&&(!a||a[h]!==t[h]))for(o=hu[h]||[h],s=0;s<o.length;s++)i[o[s]]=h;h={};for(var g in t)for(o=hu[g]||[g],s=0;s<o.length;s++)h[o[s]]=g;g={};for(var b in i)if(o=i[b],(s=h[b])&&o!==s&&(d=o+","+s,!g[d])){g[d]=!0,d=console;var B=t[o];d.error.call(d,"%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.",B==null||typeof B=="boolean"||B===""?"Removing":"Updating",o,s)}}for(var Q in a)!a.hasOwnProperty(Q)||t!=null&&t.hasOwnProperty(Q)||(Q.indexOf("--")===0?e.setProperty(Q,""):Q==="float"?e.cssFloat="":e[Q]="");for(var q in t)b=t[q],t.hasOwnProperty(q)&&a[q]!==b&&Dm(e,q,b)}else for(i in t)t.hasOwnProperty(i)&&Dm(e,i,t[i])}function tc(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 of(e){return Qd.get(e)||e}function no(e,t){if(Ku.call(pu,t)&&pu[t])return!0;if(Zd.test(t)){if(e="aria-"+t.slice(4).toLowerCase(),e=Hy.hasOwnProperty(e)?e:null,e==null)return console.error("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),pu[t]=!0;if(t!==e)return console.error("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,e),pu[t]=!0}if(Ny.test(t)){if(e=t.toLowerCase(),e=Hy.hasOwnProperty(e)?e:null,e==null)return pu[t]=!0,!1;t!==e&&(console.error("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,e),pu[t]=!0)}return!0}function uo(e,t){var a=[],i;for(i in t)no(e,i)||a.push(i);t=a.map(function(o){return"`"+o+"`"}).join(", "),a.length===1?console.error("Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e):1<a.length&&console.error("Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",t,e)}function zm(e,t,a,i){if(Ku.call(da,t)&&da[t])return!0;var o=t.toLowerCase();if(o==="onfocusin"||o==="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."),da[t]=!0;if(typeof a=="function"&&(e==="form"&&t==="action"||e==="input"&&t==="formAction"||e==="button"&&t==="formAction"))return!0;if(i!=null){if(e=i.possibleRegistrationNames,i.registrationNameDependencies.hasOwnProperty(t))return!0;if(i=e.hasOwnProperty(o)?e[o]:null,i!=null)return console.error("Invalid event handler property `%s`. Did you mean `%s`?",t,i),da[t]=!0;if(qr.test(t))return console.error("Unknown event handler property `%s`. It will be ignored.",t),da[t]=!0}else if(qr.test(t))return l.test(t)&&console.error("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),da[t]=!0;if(n.test(t)||u.test(t))return!0;if(o==="innerhtml")return console.error("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),da[t]=!0;if(o==="aria")return console.error("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),da[t]=!0;if(o==="is"&&a!==null&&a!==void 0&&typeof a!="string")return console.error("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof a),da[t]=!0;if(typeof a=="number"&&isNaN(a))return console.error("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),da[t]=!0;if(Yc.hasOwnProperty(o)){if(o=Yc[o],o!==t)return console.error("Invalid DOM property `%s`. Did you mean `%s`?",t,o),da[t]=!0}else if(t!==o)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,o),da[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 a){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 o=t.toLowerCase().slice(0,5),o==="data-"||o==="aria-"?!0:(a?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()}.',a,t,t,a,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.',a,t,t,a,t,t,t),da[t]=!0)}case"function":case"symbol":return da[t]=!0,!1;case"string":if(a==="false"||a==="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}?",a,t,a==="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,a),da[t]=!0}}return!0}function Nh(e,t,a){var i=[],o;for(o in t)zm(e,o,t[o],a)||i.push(o);t=i.map(function(s){return"`"+s+"`"}).join(", "),i.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<i.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 io(e){return c.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function lc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}function jn(e){var t=zl(e);if(t&&(e=t.stateNode)){var a=e[Ra]||null;e:switch(e=t.stateNode,t.type){case"input":if(ci(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(de(t,"name"),a=a.querySelectorAll('input[name="'+Na(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var i=a[t];if(i!==e&&i.form===e.form){var o=i[Ra]||null;if(!o)throw Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");ci(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)i=a[t],i.form===e.form&&bl(i)}break e;case"textarea":af(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Mu(e,!!a.multiple,t,!1)}}}function sf(e,t,a){if(y)return e(t,a);y=!0;try{var i=e(t);return i}finally{if(y=!1,(f!==null||p!==null)&&(Oc(),f&&(t=f,e=p,p=f=null,jn(t),e)))for(t=0;t<e.length;t++)jn(e[t])}}function Ru(e,t){var a=e.stateNode;if(a===null)return null;var i=a[Ra]||null;if(i===null)return null;a=i[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":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}function Cu(){if(j)return j;var e,t=_,a=t.length,i,o="value"in ae?ae.value:ae.textContent,s=o.length;for(e=0;e<a&&t[e]===o[e];e++);var d=a-e;for(i=1;i<=d&&t[a-i]===o[s-i];i++);return j=o.slice(e,1<i?1-i:void 0)}function co(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 ac(){return!0}function qh(){return!1}function Bl(e){function t(a,i,o,s,d){this._reactName=a,this._targetInst=o,this.type=i,this.nativeEvent=s,this.target=d,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(a=e[h],this[h]=a?a(s):s[h]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?ac:qh,this.isPropagationStopped=qh,this}return dt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=ac)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=ac)},persist:function(){},isPersistent:ac}),t}function rf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=FS[e])?!!t[e]:!1}function ff(){return rf}function oa(e,t){switch(e){case"keyup":return sT.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==hb;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ri(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}function df(e,t){switch(e){case"compositionend":return ri(t);case"keypress":return t.which!==yb?null:(gb=!0,mb);case"textInput":return e=t.data,e===mb&&gb?null:e;default:return null}}function As(e,t){if($d)return e==="compositionend"||!Gv&&oa(e,t)?(e=Cu(),j=_=ae=null,$d=!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 pb&&t.locale!=="ko"?null:t.data;default:return null}}function Om(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!fT[e.type]:t==="textarea"}function wh(e){if(!E)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 hf(e,t,a,i){f?p?p.push(i):p=[i]:f=i,t=fr(t,"onChange"),0<t.length&&(a=new $e("onChange","change",null,a,i),e.push({event:a,listeners:t}))}function Ds(e){uu(e,0)}function nc(e){var t=gn(e);if(bl(t))return e}function _h(e,t){if(e==="change")return t}function Mm(){_y&&(_y.detachEvent("onpropertychange",Rm),By=_y=null)}function Rm(e){if(e.propertyName==="value"&&nc(By)){var t=[];hf(t,By,e,lc(e)),sf(Ds,t)}}function Ev(e,t,a){e==="focusin"?(Mm(),_y=t,By=a,_y.attachEvent("onpropertychange",Rm)):e==="focusout"&&Mm()}function Bh(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return nc(By)}function xv(e,t){if(e==="click")return nc(t)}function Av(e,t){if(e==="input"||e==="change")return nc(t)}function Dv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}function zs(e,t){if(Xa(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),i=Object.keys(t);if(a.length!==i.length)return!1;for(i=0;i<a.length;i++){var o=a[i];if(!Ku.call(t,o)||!Xa(e[o],t[o]))return!1}return!0}function Cm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function jh(e,t){var a=Cm(e);e=0;for(var i;a;){if(a.nodeType===3){if(i=e+a.textContent.length,e<=t&&i>=t)return{node:a,offset:t-e};e=i}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Cm(a)}}function Um(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Um(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Hm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=vs(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=vs(e.document)}return t}function Vh(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 Nm(e,t,a){var i=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Lv||Jd==null||Jd!==vs(i)||(i=Jd,"selectionStart"in i&&Vh(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),jy&&zs(jy,i)||(jy=i,i=fr(Yv,"onSelect"),0<i.length&&(t=new $e("onSelect","select",null,t,a),e.push({event:t,listeners:i}),t.target=Jd)))}function Uu(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}function uc(e){if(Xv[e])return Xv[e];if(!Kd[e])return e;var t=Kd[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in bb)return Xv[e]=t[a];return e}function vn(e,t){Ab.set(e,t),wl(t,[e])}function qa(e,t){if(typeof e=="object"&&e!==null){var a=Qv.get(e);return a!==void 0?a:(t={value:e,source:t,stack:ef(t)},Qv.set(e,t),t)}return{value:e,source:t,stack:ef(t)}}function Os(){for(var e=Wd,t=Zv=Wd=0;t<e;){var a=yu[t];yu[t++]=null;var i=yu[t];yu[t++]=null;var o=yu[t];yu[t++]=null;var s=yu[t];if(yu[t++]=null,i!==null&&o!==null){var d=i.pending;d===null?o.next=o:(o.next=d.next,d.next=o),i.pending=o}s!==0&&qm(a,o,s)}}function pf(e,t,a,i){yu[Wd++]=e,yu[Wd++]=t,yu[Wd++]=a,yu[Wd++]=i,Zv|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Gh(e,t,a,i){return pf(e,t,a,i),yf(e)}function ga(e,t){return pf(e,null,null,t),yf(e)}function qm(e,t,a){e.lanes|=a;var i=e.alternate;i!==null&&(i.lanes|=a);for(var o=!1,s=e.return;s!==null;)s.childLanes|=a,i=s.alternate,i!==null&&(i.childLanes|=a),s.tag===22&&(e=s.stateNode,e===null||e._visibility&Mg||(o=!0)),e=s,s=s.return;return e.tag===3?(s=e.stateNode,o&&t!==null&&(o=31-ta(a),e=s.hiddenUpdates,i=e[o],i===null?e[o]=[t]:i.push(t),t.lane=a|536870912),s):null}function yf(e){if(im>qT)throw $r=im=0,cm=E0=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.");$r>wT&&($r=0,cm=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&&Cn(e);for(var t=e,a=t.return;a!==null;)t.alternate===null&&(t.flags&4098)!==0&&Cn(e),t=a,a=t.return;return t.tag===3?t.stateNode:null}function ic(e){if(mu===null)return e;var t=mu(e);return t===void 0?e:t.current}function Yh(e){if(mu===null)return e;var t=mu(e);return t===void 0?e!=null&&typeof e.render=="function"&&(t=ic(e.render),e.render!==t)?(t={$$typeof:$u,render:t},e.displayName!==void 0&&(t.displayName=e.displayName),t):e:t.current}function wm(e,t){if(mu===null)return!1;var a=e.elementType;t=t.type;var i=!1,o=typeof t=="object"&&t!==null?t.$$typeof:null;switch(e.tag){case 1:typeof t=="function"&&(i=!0);break;case 0:(typeof t=="function"||o===Ya)&&(i=!0);break;case 11:(o===$u||o===Ya)&&(i=!0);break;case 14:case 15:(o===Er||o===Ya)&&(i=!0);break;default:return!1}return!!(i&&(e=mu(a),e!==void 0&&e===mu(t)))}function _m(e){mu!==null&&typeof WeakSet=="function"&&(Fd===null&&(Fd=new WeakSet),Fd.add(e))}function Ms(e,t,a){var i=e.alternate,o=e.child,s=e.sibling,d=e.tag,h=e.type,g=null;switch(d){case 0:case 15:case 1:g=h;break;case 11:g=h.render}if(mu===null)throw Error("Expected resolveFamily to be set during hot reload.");var b=!1;h=!1,g!==null&&(g=mu(g),g!==void 0&&(a.has(g)?h=!0:t.has(g)&&(d===1?h=!0:b=!0))),Fd!==null&&(Fd.has(e)||i!==null&&Fd.has(i))&&(h=!0),h&&(e._debugNeedsRemount=!0),(h||b)&&(i=ga(e,2),i!==null&&cl(i,e,2)),o===null||h||Ms(o,t,a),s!==null&&Ms(s,t,a)}function Rs(e,t,a,i){this.tag=e,this.key=a,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=i,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,zb||typeof Object.preventExtensions!="function"||Object.preventExtensions(this)}function Lh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vn(e,t){var a=e.alternate;switch(a===null?(a=ye(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a._debugOwner=e._debugOwner,a._debugStack=e._debugStack,a._debugTask=e._debugTask,a._debugHookTypes=e._debugHookTypes,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null,a.actualDuration=-0,a.actualStartTime=-1.1),a.flags=e.flags&65011712,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a.selfBaseDuration=e.selfBaseDuration,a.treeBaseDuration=e.treeBaseDuration,a._debugInfo=e._debugInfo,a._debugNeedsRemount=e._debugNeedsRemount,a.tag){case 0:case 15:a.type=ic(e.type);break;case 1:a.type=ic(e.type);break;case 11:a.type=Yh(e.type)}return a}function Xh(e,t){e.flags&=65011714;var a=e.alternate;return a===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=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext,_debugThenableState:t._debugThenableState},e.selfBaseDuration=a.selfBaseDuration,e.treeBaseDuration=a.treeBaseDuration),e}function mf(e,t,a,i,o,s){var d=0,h=e;if(typeof e=="function")Lh(e)&&(d=1),h=ic(h);else if(typeof e=="string")d=S(),d=Yo(e,a,d)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case my:return t=ye(31,a,t,o),t.elementType=my,t.lanes=s,t;case ot:return fi(a.children,o,s,t);case Xo:d=8,o|=Ua,o|=ei;break;case ko:return e=a,i=o,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=ye(12,e,t,i|ha),t.elementType=ko,t.lanes=s,t.stateNode={effectDuration:0,passiveEffectDuration:0},t;case Qo:return t=ye(13,a,t,o),t.elementType=Qo,t.lanes=s,t;case Bi:return t=ye(19,a,t,o),t.elementType=Bi,t.lanes=s,t;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yy:case fn:d=10;break e;case Ud:d=9;break e;case $u:d=11,h=Yh(h);break e;case Er:d=14;break e;case Ya:d=16,h=null;break e}h="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(h+=" 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?a="null":ut(e)?a="array":e!==void 0&&e.$$typeof===_i?(a="<"+(Ee(e.type)||"Unknown")+" />",h=" Did you accidentally export a JSX literal instead of a component?"):a=typeof e,(d=i?Ge(i):null)&&(h+=`
|
|
150
115
|
|
|
151
|
-
Check the render method of \``+
|
|
116
|
+
Check the render method of \``+d+"`."),d=29,a=Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(a+"."+h)),h=null}return t=ye(d,a,t,o),t.elementType=e,t.type=h,t.lanes=s,t._debugOwner=i,t}function Cs(e,t,a){return t=mf(e.type,e.key,e.props,e._owner,t,a),t._debugOwner=e._owner,t._debugStack=e._debugStack,t._debugTask=e._debugTask,t}function fi(e,t,a,i){return e=ye(7,e,i,t),e.lanes=a,e}function di(e,t,a){return e=ye(6,e,null,t),e.lanes=a,e}function kh(e,t,a){return t=ye(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function cc(e,t){bn(),Id[Pd++]=Cg,Id[Pd++]=Rg,Rg=e,Cg=t}function Bm(e,t,a){bn(),gu[vu++]=Xc,gu[vu++]=kc,gu[vu++]=wr,wr=e;var i=Xc;e=kc;var o=32-ta(i)-1;i&=~(1<<o),a+=1;var s=32-ta(t)+o;if(30<s){var d=o-o%5;s=(i&(1<<d)-1).toString(32),i>>=d,o-=d,Xc=1<<32-ta(t)+o|a<<o|i,kc=s+e}else Xc=1<<s|a<<o|i,kc=e}function gf(e){bn(),e.return!==null&&(cc(e,1),Bm(e,1,0))}function vf(e){for(;e===Rg;)Rg=Id[--Pd],Id[Pd]=null,Cg=Id[--Pd],Id[Pd]=null;for(;e===wr;)wr=gu[--vu],gu[vu]=null,kc=gu[--vu],gu[vu]=null,Xc=gu[--vu],gu[vu]=null}function bn(){Nt||console.error("Expected to be hydrating. This is a bug in React. Please file an issue.")}function Sn(e,t){if(e.return===null){if(bu===null)bu={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t};else{if(bu.fiber!==e)throw Error("Saw multiple hydration diff roots in a pass. This is a bug in React.");bu.distanceFromLeaf>t&&(bu.distanceFromLeaf=t)}return bu}var a=Sn(e.return,t+1).children;return 0<a.length&&a[a.length-1].fiber===e?(a=a[a.length-1],a.distanceFromLeaf>t&&(a.distanceFromLeaf=t),a):(t={fiber:e,children:[],serverProps:void 0,serverTail:[],distanceFromLeaf:t},a.push(t),t)}function Qh(e,t){Qc||(e=Sn(e,0),e.serverProps=null,t!==null&&(t=Td(t),e.serverTail.push(t)))}function Gn(e){var t="",a=bu;throw a!==null&&(bu=null,t=Ts(a)),oo(qa(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:
|
|
152
117
|
|
|
153
118
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
154
119
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -158,7 +123,7 @@ Check the render method of \``+E+"`."),E=29,a=Error("Element type is invalid: ex
|
|
|
158
123
|
|
|
159
124
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
160
125
|
|
|
161
|
-
https://react.dev/link/hydration-mismatch`+t),e))
|
|
126
|
+
https://react.dev/link/hydration-mismatch`+t),e)),$v}function Zh(e){var t=e.stateNode,a=e.type,i=e.memoizedProps;switch(t[la]=e,t[Ra]=i,iu(a,i),a){case"dialog":mt("cancel",t),mt("close",t);break;case"iframe":case"object":case"embed":mt("load",t);break;case"video":case"audio":for(a=0;a<om.length;a++)mt(om[a],t);break;case"source":mt("error",t);break;case"img":case"image":case"link":mt("error",t),mt("load",t);break;case"details":mt("toggle",t);break;case"input":Ka("input",i),mt("invalid",t),ii(t,i),Em(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0),Ou(t);break;case"option":Oh(t,i);break;case"select":Ka("select",i),mt("invalid",t),bs(t,i);break;case"textarea":Ka("textarea",i),mt("invalid",t),Bn(t,i),Mh(t,i.value,i.defaultValue,i.children),Ou(t)}a=i.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||i.suppressHydrationWarning===!0||Jp(t.textContent,a)?(i.popover!=null&&(mt("beforetoggle",t),mt("toggle",t)),i.onScroll!=null&&mt("scroll",t),i.onScrollEnd!=null&&mt("scrollend",t),i.onClick!=null&&(t.onclick=Xu),t=!0):t=!1,t||Gn(e)}function $h(e){for(ka=e.return;ka;)switch(ka.tag){case 5:case 13:Qi=!1;return;case 27:case 3:Qi=!0;return;default:ka=ka.return}}function oc(e){if(e!==ka)return!1;if(!Nt)return $h(e),Nt=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||cu(e.type,e.memoizedProps)),a=!a),a&&yl){for(a=yl;a;){var i=Sn(e,0),o=Td(a);i.serverTail.push(o),a=o.type==="Suspense"?ly(a):Ll(a.nextSibling)}Gn(e)}if($h(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.");yl=ly(e)}else t===27?(t=yl,ou(e.type)?(e=q0,q0=null,yl=e):yl=t):yl=ka?Ll(e.stateNode.nextSibling):null;return!0}function sc(){yl=ka=null,Qc=Nt=!1}function Jh(){var e=_r;return e!==null&&($a===null?$a=e:$a.push.apply($a,e),_r=null),e}function oo(e){_r===null?_r=[e]:_r.push(e)}function Kh(){var e=bu;if(e!==null){bu=null;for(var t=Ts(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:
|
|
162
127
|
|
|
163
128
|
- A server/client branch \`if (typeof window !== 'undefined')\`.
|
|
164
129
|
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
|
|
@@ -168,56 +133,56 @@ https://react.dev/link/hydration-mismatch`+t),e)),BE}function Om(e){var t=e.stat
|
|
|
168
133
|
|
|
169
134
|
It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
|
|
170
135
|
|
|
171
|
-
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function
|
|
136
|
+
%s%s`,"https://react.dev/link/hydration-mismatch",t)})}}function bf(){eh=Ug=null,th=!1}function hi(e,t,a){Ce(Jv,t._currentValue,e),t._currentValue=a,Ce(Kv,t._currentRenderer,e),t._currentRenderer!==void 0&&t._currentRenderer!==null&&t._currentRenderer!==Cb&&console.error("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Cb}function Hu(e,t){e._currentValue=Jv.current;var a=Kv.current;Te(Kv,t),e._currentRenderer=a,Te(Jv,t)}function Wh(e,t,a){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===a)break;e=e.return}e!==a&&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 Fh(e,t,a,i){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var s=o.dependencies;if(s!==null){var d=o.child;s=s.firstContext;e:for(;s!==null;){var h=s;s=o;for(var g=0;g<t.length;g++)if(h.context===t[g]){s.lanes|=a,h=s.alternate,h!==null&&(h.lanes|=a),Wh(s.return,a,e),i||(d=null);break e}s=h.next}}else if(o.tag===18){if(d=o.return,d===null)throw Error("We just came from a parent so we must have had a parent. This is a bug in React.");d.lanes|=a,s=d.alternate,s!==null&&(s.lanes|=a),Wh(d,a,e),d=null}else d=o.child;if(d!==null)d.return=o;else for(d=o;d!==null;){if(d===e){d=null;break}if(o=d.sibling,o!==null){o.return=d.return,d=o;break}d=d.return}o=d}}function jl(e,t,a,i){e=null;for(var o=t,s=!1;o!==null;){if(!s){if((o.flags&524288)!==0)s=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var d=o.alternate;if(d===null)throw Error("Should have a current fiber. This is a bug in React.");if(d=d.memoizedProps,d!==null){var h=o.type;Xa(o.pendingProps.value,d.value)||(e!==null?e.push(h):e=[h])}}else if(o===$o.current){if(d=o.alternate,d===null)throw Error("Should have a current fiber. This is a bug in React.");d.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(dm):e=[dm])}o=o.return}e!==null&&Fh(t,e,a,i),t.flags|=262144}function pi(e){for(e=e.firstContext;e!==null;){if(!Xa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function yi(e){Ug=e,eh=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Zt(e){return th&&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()."),Ih(Ug,e)}function Us(e,t){return Ug===null&&yi(e),Ih(e,t)}function Ih(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},eh===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().");eh=t,e.dependencies={lanes:0,firstContext:t,_debugThenableState:null},e.flags|=524288}else eh=eh.next=t;return a}function Hs(){return{controller:new bT,data:new Map,refCount:0}}function rc(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 Yn(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&&ST(TT,function(){e.controller.abort()})}function Tn(){var e=Br;return Br=0,e}function mi(e){var t=Br;return Br=e,t}function fc(e){var t=Br;return Br+=e,t}function Sf(e){pn=lh(),0>e.actualStartTime&&(e.actualStartTime=pn)}function Nu(e){if(0<=pn){var t=lh()-pn;e.actualDuration+=t,e.selfBaseDuration=t,pn=-1}}function dc(e){if(0<=pn){var t=lh()-pn;e.actualDuration+=t,pn=-1}}function Ia(){if(0<=pn){var e=lh()-pn;pn=-1,Br+=e}}function En(){pn=lh()}function Ln(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function jm(e,t){if(Vy===null){var a=Vy=[];Wv=0,jr=Xp(),ah={status:"pending",value:void 0,then:function(i){a.push(i)}}}return Wv++,t.then(Ph,Ph),t}function Ph(){if(--Wv===0&&Vy!==null){ah!==null&&(ah.status="fulfilled");var e=Vy;Vy=null,jr=0,ah=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Vm(e,t){var a=[],i={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(i.status="rejected",i.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),i}function ep(){var e=Vr.current;return e!==null?e:$t.pooledCache}function Tf(e,t){t===null?Ce(Vr,Vr.current,e):Ce(Vr,t.pool,e)}function Gm(){var e=ep();return e===null?null:{parent:Ql._currentValue,pool:e}}function tp(){return{didWarnAboutUncachedPromise:!1,thenables:[]}}function lp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function so(){}function Pa(e,t,a){L.actQueue!==null&&(L.didUsePromise=!0);var i=e.thenables;switch(a=i[a],a===void 0?i.push(t):a!==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(so,so),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wa(e),e;default:if(typeof t.status=="string")t.then(so,so);else{if(e=$t,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(o){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=o}},function(o){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=o}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,wa(e),e}throw $y=t,Bg=!0,Zy}}function ap(){if($y===null)throw Error("Expected a suspended thenable. This is a bug in React. Please file an issue.");var e=$y;return $y=null,Bg=!1,e}function wa(e){if(e===Zy||e===_g)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 va(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gi(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 Xn(e){return{lane:e,tag:wb,payload:null,callback:null,next:null}}function xn(e,t,a){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,Pv===i&&!jb){var o=ce(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.
|
|
172
137
|
|
|
173
|
-
Please update the following component: %s`,
|
|
174
|
-
`,a+=
|
|
138
|
+
Please update the following component: %s`,o),jb=!0}return(Gt&Za)!==Nn?(o=i.pending,o===null?t.next=t:(t.next=o.next,o.next=t),i.pending=t,t=yf(e),qm(e,null,a),t):(pf(e,i,t,a),yf(e))}function vi(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Ot(e,a)}}function ro(e,t){var a=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,a===i)){var o=null,s=null;if(a=a.firstBaseUpdate,a!==null){do{var d={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};s===null?o=s=d:s=s.next=d,a=a.next}while(a!==null);s===null?o=s=t:s=s.next=t}else o=s=t;a={baseState:i.baseState,firstBaseUpdate:o,lastBaseUpdate:s,shared:i.shared,callbacks:i.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}function kn(){if(e0){var e=ah;if(e!==null)throw e}}function fo(e,t,a,i){e0=!1;var o=e.updateQueue;as=!1,Pv=o.shared;var s=o.firstBaseUpdate,d=o.lastBaseUpdate,h=o.shared.pending;if(h!==null){o.shared.pending=null;var g=h,b=g.next;g.next=null,d===null?s=b:d.next=b,d=g;var B=e.alternate;B!==null&&(B=B.updateQueue,h=B.lastBaseUpdate,h!==d&&(h===null?B.firstBaseUpdate=b:h.next=b,B.lastBaseUpdate=g))}if(s!==null){var Q=o.baseState;d=0,B=b=g=null,h=s;do{var q=h.lane&-536870913,J=q!==h.lane;if(J?(Et&q)===q:(i&q)===q){q!==0&&q===jr&&(e0=!0),B!==null&&(B=B.next={lane:0,tag:h.tag,payload:h.payload,callback:null,next:null});e:{q=e;var je=h,tt=t,Jt=a;switch(je.tag){case _b:if(je=je.payload,typeof je=="function"){th=!0;var Dt=je.call(Jt,Q,tt);if(q.mode&Ua){lt(!0);try{je.call(Jt,Q,tt)}finally{lt(!1)}}th=!1,Q=Dt;break e}Q=je;break e;case Iv:q.flags=q.flags&-65537|128;case wb:if(Dt=je.payload,typeof Dt=="function"){if(th=!0,je=Dt.call(Jt,Q,tt),q.mode&Ua){lt(!0);try{Dt.call(Jt,Q,tt)}finally{lt(!1)}}th=!1}else je=Dt;if(je==null)break e;Q=dt({},Q,je);break e;case Bb:as=!0}}q=h.callback,q!==null&&(e.flags|=64,J&&(e.flags|=8192),J=o.callbacks,J===null?o.callbacks=[q]:J.push(q))}else J={lane:q,tag:h.tag,payload:h.payload,callback:h.callback,next:null},B===null?(b=B=J,g=Q):B=B.next=J,d|=q;if(h=h.next,h===null){if(h=o.shared.pending,h===null)break;J=h,h=J.next,J.next=null,o.lastBaseUpdate=J,o.shared.pending=null}}while(!0);B===null&&(g=Q),o.baseState=g,o.firstBaseUpdate=b,o.lastBaseUpdate=B,s===null&&(o.shared.lanes=0),cs|=d,e.lanes=d,e.memoizedState=Q}Pv=null}function Ns(e,t){if(typeof e!="function")throw Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function ho(e,t){var a=e.shared.hiddenCallbacks;if(a!==null)for(e.shared.hiddenCallbacks=null,e=0;e<a.length;e++)Ns(a[e],t)}function Ym(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)Ns(a[e],t)}function ba(e,t){var a=Ji;Ce(jg,a,e),Ce(nh,t,e),Ji=a|t.baseLanes}function qs(e){Ce(jg,Ji,e),Ce(nh,nh.current,e)}function An(e){Ji=jg.current,Te(nh,e),Te(jg,e)}function ht(){var e=k;Eu===null?Eu=[e]:Eu.push(e)}function me(){var e=k;if(Eu!==null&&($c++,Eu[$c]!==e)){var t=ce(it);if(!Vb.has(t)&&(Vb.add(t),Eu!==null)){for(var a="",i=0;i<=$c;i++){var o=Eu[i],s=i===$c?e:o;for(o=i+1+". "+o;30>o.length;)o+=" ";o+=s+`
|
|
139
|
+
`,a+=o}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
|
|
175
140
|
|
|
176
141
|
Previous render Next render
|
|
177
142
|
------------------------------------------------------
|
|
178
143
|
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
179
|
-
`,t,a)}}}function
|
|
144
|
+
`,t,a)}}}function en(e){e==null||ut(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.",k,typeof e)}function po(){var e=ce(it);Yb.has(e)||(Yb.add(e),console.error("ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",e))}function ll(){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:
|
|
180
145
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
181
146
|
2. You might be breaking the Rules of Hooks
|
|
182
147
|
3. You might have more than one copy of React in the same app
|
|
183
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function
|
|
148
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function bi(e,t){if(Ky)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.",k),!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.
|
|
184
149
|
|
|
185
150
|
Previous: %s
|
|
186
|
-
Incoming: %s`,Ce,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!kl(e[a],t[a]))return!1;return!0}function Hu(e,t,a,i,c,h){xs=h,St=t,wi=e!==null?e._debugHookTypes:null,dc=-1,Ay=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(h=W(St),ZE.has(h)||(ZE.add(h),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.",h===null?"An unknown Component":"<"+h+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,xe.H=e!==null&&e.memoizedState!==null?JE:wi!==null?D_:KE,fd=h=(t.mode&Tl)!==_n;var E=IE(a,i,c);if(fd=!1,zh&&(E=qc(t,a,i,c)),h){Oe(!0);try{E=qc(t,a,i,c)}finally{Oe(!1)}}return lf(e,t),E}function lf(e,t){t._debugHookTypes=wi,t.dependencies===null?fc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:fc}):t.dependencies._debugThenableState=fc,xe.H=nb;var a=vn!==null&&vn.next!==null;if(xs=0,wi=Ce=Ea=vn=St=null,dc=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),eb=!1,_y=0,fc=null,a)throw Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");e===null||Xa||(e=e.dependencies,e!==null&&Du(e)&&(Xa=!0)),W0?(W0=!1,e=!0):e=!1,e&&(t=W(t)||"Unknown",A_.has(t)||ZE.has(t)||(A_.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 qc(e,t,a,i){St=e;var c=0;do{if(zh&&(fc=null),_y=0,zh=!1,c>=p3)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(c+=1,Ay=!1,Ea=vn=null,e.updateQueue!=null){var h=e.updateQueue;h.lastEffect=null,h.events=null,h.stores=null,h.memoCache!=null&&(h.memoCache.index=0)}dc=-1,xe.H=M_,h=IE(t,a,i)}while(zh);return h}function Kl(){var e=xe.H,t=e.useState()[0];return t=typeof t.then=="function"?No(t):t,e=e.useState()[0],(vn!==null?vn.memoizedState:null)!==e&&(St.flags|=1024),t}function fl(){var e=tb!==0;return tb=0,e}function Pi(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&du)!==_n?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Or(e){if(eb){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}eb=!1}xs=0,wi=Ea=vn=St=null,dc=-1,Ce=null,zh=!1,_y=tb=0,fc=null}function kn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ea===null?St.memoizedState=Ea=e:Ea=Ea.next=e,Ea}function kt(){if(vn===null){var e=St.alternate;e=e!==null?e.memoizedState:null}else e=vn.next;var t=Ea===null?St.memoizedState:Ea.next;if(t!==null)Ea=t,vn=e;else{if(e===null)throw St.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.");vn=e,e={memoizedState:vn.memoizedState,baseState:vn.baseState,baseQueue:vn.baseQueue,queue:vn.queue,next:null},Ea===null?St.memoizedState=Ea=e:Ea=Ea.next=e}return Ea}function Qd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function No(e){var t=_y;return _y+=1,fc===null&&(fc=Rm()),e=Ql(fc,e,t),t=St,(Ea===null?t.memoizedState:Ea.next)===null&&(t=t.alternate,xe.H=t!==null&&t.memoizedState!==null?JE:KE),e}function Ir(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return No(e);if(e.$$typeof===lr)return gn(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function Kn(e){var t=null,a=St.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=St.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(c){return c.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Qd(),St.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||Ay)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=z0;else a.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.",a.length,e);return t.index++,a}function $t(e,t){return typeof t=="function"?t(e):t}function Vt(e,t,a){var i=kn();if(a!==void 0){var c=a(t);if(fd){Oe(!0);try{a(t)}finally{Oe(!1)}}}else c=t;return i.memoizedState=i.baseState=c,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:c},i.queue=e,e=e.dispatch=Gm.bind(null,St,e),[i.memoizedState,e]}function Jl(e){var t=kt();return Il(t,vn,e)}function Il(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var c=e.baseQueue,h=i.pending;if(h!==null){if(c!==null){var E=c.next;c.next=h.next,h.next=E}t.baseQueue!==c&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=c=h,i.pending=null}if(h=e.baseState,c===null)e.memoizedState=h;else{t=c.next;var x=E=null,N=null,j=t,Se=!1;do{var _e=j.lane&-536870913;if(_e!==j.lane?(Ht&_e)===_e:(xs&_e)===_e){var ve=j.revertLane;if(ve===0)N!==null&&(N=N.next={lane:0,revertLane:0,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null}),_e===od&&(Se=!0);else if((xs&ve)===ve){j=j.next,ve===od&&(Se=!0);continue}else _e={lane:0,revertLane:j.revertLane,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},N===null?(x=N=_e,E=h):N=N.next=_e,St.lanes|=ve,_s|=ve;_e=j.action,fd&&a(h,_e),h=j.hasEagerState?j.eagerState:a(h,_e)}else ve={lane:_e,revertLane:j.revertLane,action:j.action,hasEagerState:j.hasEagerState,eagerState:j.eagerState,next:null},N===null?(x=N=ve,E=h):N=N.next=ve,St.lanes|=_e,_s|=_e;j=j.next}while(j!==null&&j!==t);if(N===null?E=h:N.next=x,!kl(h,e.memoizedState)&&(Xa=!0,Se&&(a=wh,a!==null)))throw a;e.memoizedState=h,e.baseState=E,e.baseQueue=N,i.lastRenderedState=h}return c===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function Ro(e){var t=kt(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,c=a.pending,h=t.memoizedState;if(c!==null){a.pending=null;var E=c=c.next;do h=e(h,E.action),E=E.next;while(E!==c);kl(h,t.memoizedState)||(Xa=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),a.lastRenderedState=h}return[h,i]}function Qi(e,t,a){var i=St,c=kn();if(Pt){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var h=a();Mh||h===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),Mh=!0)}else{if(h=t(),Mh||(a=t(),kl(h,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Mh=!0)),bn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Ht&124)!==0||Um(i,t,h)}return c.memoizedState=h,a={value:h,getSnapshot:t},c.queue=a,Jd(Uc.bind(null,i,a,e),[e]),i.flags|=2048,Fr(Ai|Ra,ju(),Hc.bind(null,i,a,h,t),null),h}function rf(e,t,a){var i=St,c=kt(),h=Pt;if(h){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!Mh){var E=t();kl(a,E)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),Mh=!0)}(E=!kl((vn||c).memoizedState,a))&&(c.memoizedState=a,Xa=!0),c=c.queue;var x=Uc.bind(null,i,c,e);if(sa(2048,Ra,x,[e]),c.getSnapshot!==t||E||Ea!==null&&Ea.memoizedState.tag&Ai){if(i.flags|=2048,Fr(Ai|Ra,ju(),Hc.bind(null,i,c,a,t),null),bn===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h||(xs&124)!==0||Um(i,t,a)}return a}function Um(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=St.updateQueue,t===null?(t=Qd(),St.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function Hc(e,t,a,i){t.value=a,t.getSnapshot=i,jm(t)&&jc(e)}function Uc(e,t,a){return a(function(){jm(t)&&jc(e)})}function jm(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!kl(e,a)}catch{return!0}}function jc(e){var t=ol(e,2);t!==null&&Bn(t,e,2)}function uf(e){var t=kn();if(typeof e=="function"){var a=e;if(e=a(),fd){Oe(!0);try{a()}finally{Oe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:$t,lastRenderedState:e},t}function Zi(e){e=uf(e);var t=e.queue,a=Vc.bind(null,St,t);return t.dispatch=a,[e.memoizedState,a]}function Cr(e){var t=kn();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=rp.bind(null,St,!0,a),a.dispatch=t,[e,t]}function Ki(e,t){var a=kt();return Wr(a,vn,e,t)}function Wr(e,t,a,i){return e.baseState=a,Il(e,vn,typeof i=="function"?i:$t)}function Zd(e,t){var a=kt();return vn!==null?Wr(a,vn,e,t):(a.baseState=e,[e,a.queue.dispatch])}function km(e,t,a,i,c){if(hf(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var h={payload:c,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(E){h.listeners.push(E)}};xe.T!==null?a(!0):h.isTransition=!1,i(h),a=t.pending,a===null?(h.next=t.pending=h,kc(t,h)):(h.next=a.next,t.pending=a.next=h)}}function kc(e,t){var a=t.action,i=t.payload,c=e.state;if(t.isTransition){var h=xe.T,E={};xe.T=E,xe.T._updatedFibers=new Set;try{var x=a(c,i),N=xe.S;N!==null&&N(E,x),of(e,t,x)}catch(j){va(e,t,j)}finally{xe.T=h,h===null&&E._updatedFibers&&(e=E._updatedFibers.size,E._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{E=a(c,i),of(e,t,E)}catch(j){va(e,t,j)}}function of(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(a.then(function(i){Uu(e,t,i)},function(i){return va(e,t,i)}),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.")):Uu(e,t,a)}function Uu(e,t,a){t.status="fulfilled",t.value=a,cf(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,kc(e,a)))}function va(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,cf(t),t=t.next;while(t!==i)}e.action=null}function cf(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Lm(e,t){return t}function Lc(e,t){if(Pt){var a=bn.formState;if(a!==null){e:{var i=St;if(Pt){if(Fn){t:{for(var c=Fn,h=io;c.nodeType!==8;){if(!h){c=null;break t}if(c=Da(c.nextSibling),c===null){c=null;break t}}h=c.data,c=h===xT||h===wA?c:null}if(c){Fn=Da(c.nextSibling),i=c.data===xT;break e}}Pr(i)}i=!1}i&&(t=a[0])}}return a=kn(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Lm,lastRenderedState:t},a.queue=i,a=Vc.bind(null,St,i),i.dispatch=a,i=uf(!1),h=rp.bind(null,St,!1,i.queue),i=kn(),c={state:t,dispatch:null,action:e,pending:null},i.queue=c,a=km.bind(null,St,c,h,a),c.dispatch=a,i.memoizedState=e,[t,a,!1]}function Kd(e){var t=kt();return a0(t,vn,e)}function a0(e,t,a){if(t=Il(e,t,Lm)[0],e=Jl($t)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=No(t)}catch(E){throw E===Oy?I0:E}else i=t;t=kt();var c=t.queue,h=c.dispatch;return a!==t.memoizedState&&(St.flags|=2048,Fr(Ai|Ra,ju(),ca.bind(null,c,a),null)),[i,h,e]}function ca(e,t){e.action=t}function Bc(e){var t=kt(),a=vn;if(a!==null)return a0(t,a,e);kt(),t=t.memoizedState,a=kt();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function Fr(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=St.updateQueue,t===null&&(t=Qd(),St.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function ju(){return{destroy:void 0,resource:void 0}}function sf(e){var t=kn();return e={current:e},t.memoizedState=e}function Wl(e,t,a,i){var c=kn();i=i===void 0?null:i,St.flags|=e,c.memoizedState=Fr(Ai|t,ju(),a,i)}function sa(e,t,a,i){var c=kt();i=i===void 0?null:i;var h=c.memoizedState.inst;vn!==null&&i!==null&&qu(i,vn.memoizedState.deps)?c.memoizedState=Fr(t,h,a,i):(St.flags|=e,c.memoizedState=Fr(Ai|t,h,a,i))}function Jd(e,t){(St.mode&du)!==_n&&(St.mode&d_)===_n?Wl(276826112,Ra,e,t):Wl(8390656,Ra,e,t)}function Id(e,t){var a=4194308;return(St.mode&du)!==_n&&(a|=134217728),Wl(a,al,e,t)}function l0(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():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 Wd(e,t,a){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"),a=a!=null?a.concat([e]):null;var i=4194308;(St.mode&du)!==_n&&(i|=134217728),Wl(i,al,l0.bind(null,t,e),a)}function ei(e,t,a){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"),a=a!=null?a.concat([e]):null,sa(4,al,l0.bind(null,t,e),a)}function ff(e,t){return kn().memoizedState=[e,t===void 0?null:t],e}function qo(e,t){var a=kt();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&qu(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function Fd(e,t){var a=kn();t=t===void 0?null:t;var i=e();if(fd){Oe(!0);try{e()}finally{Oe(!1)}}return a.memoizedState=[i,t],i}function ku(e,t){var a=kt();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&qu(t,i[1]))return i[0];if(i=e(),fd){Oe(!0);try{e()}finally{Oe(!1)}}return a.memoizedState=[i,t],i}function ep(e,t){var a=kn();return np(a,e,t)}function df(e,t){var a=kt();return pf(a,vn.memoizedState,e,t)}function tp(e,t){var a=kt();return vn===null?np(a,e,t):pf(a,vn.memoizedState,e,t)}function np(e,t,a){return a===void 0||(xs&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=h0(),St.lanes|=e,_s|=e,a)}function pf(e,t,a,i){return kl(a,t)?a:Dh.current!==null?(e=np(e,a,i),kl(e,t)||(Xa=!0),e):(xs&42)===0?(Xa=!0,e.memoizedState=a):(e=h0(),St.lanes|=e,_s|=e,t)}function Bm(e,t,a,i,c){var h=vt.p;vt.p=h!==0&&h<zr?h:zr;var E=xe.T,x={};xe.T=x,rp(e,!1,t,a),x._updatedFibers=new Set;try{var N=c(),j=xe.S;if(j!==null&&j(x,N),N!==null&&typeof N=="object"&&typeof N.then=="function"){var Se=e0(N,i);Ji(e,t,Se,ml(e))}else Ji(e,t,i,ml(e))}catch(_e){Ji(e,t,{then:function(){},status:"rejected",reason:_e},ml(e))}finally{vt.p=h,xe.T=E,E===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 Ho(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var c=Vm(e).queue;Bm(e,c,t,Td,a===null?C:function(){return Ym(e),a(i)})}function Vm(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Td,baseState:Td,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$t,lastRenderedState:Td},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:$t,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ym(e){xe.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=Vm(e).next.queue;Ji(e,t,{},ml(e))}function ti(){var e=uf(!1);return e=Bm.bind(null,St,e.queue,!0,!1),kn().memoizedState=e,[!1,e]}function ap(){var e=Jl($t)[0],t=kt().memoizedState;return[typeof e=="boolean"?e:No(e),t]}function lp(){var e=Ro($t)[0],t=kt().memoizedState;return[typeof e=="boolean"?e:No(e),t]}function dl(){return gn(Gy)}function ni(){var e=kn(),t=bn.identifierPrefix;if(Pt){var a=cc,i=oc;a=(i&~(1<<32-$a(i)-1)).toString(32)+a,t="«"+t+"R"+a,a=tb++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=d3++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t}function Uo(){return kn().memoizedState=$m.bind(null,St)}function $m(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=ml(a);e=Kr(i);var c=Tr(a,e,i);c!==null&&(Bn(c,a,i),Ru(c,a,i)),a=tf(),t!=null&&c!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:a};return}a=a.return}}function Gm(e,t,a){var i=arguments;typeof i[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()."),i=ml(e);var c={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};hf(e)?jo(t,c):(c=gm(e,t,c,i),c!==null&&(Bn(c,e,i),mf(c,t,i))),ye(e,i)}function Vc(e,t,a){var i=arguments;typeof i[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()."),i=ml(e),Ji(e,t,a,i),ye(e,i)}function Ji(e,t,a,i){var c={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(hf(e))jo(t,c);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=t.lastRenderedReducer,h!==null)){var E=xe.H;xe.H=hu;try{var x=t.lastRenderedState,N=h(x,a);if(c.hasEagerState=!0,c.eagerState=N,kl(N,x))return Ld(e,t,c,0),bn===null&&Js(),!1}catch{}finally{xe.H=E}}if(a=gm(e,t,c,i),a!==null)return Bn(a,e,i),mf(a,t,i),!0}return!1}function rp(e,t,a,i){if(xe.T===null&&od===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."),i={lane:2,revertLane:Ev(),action:i,hasEagerState:!1,eagerState:null,next:null},hf(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=gm(e,a,i,2),t!==null&&Bn(t,e,2);ye(e,2)}function hf(e){var t=e.alternate;return e===St||t!==null&&t===St}function jo(e,t){zh=eb=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function mf(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,it(e,a)}}function ya(e){var t=Mt;return e!=null&&(Mt=t===null?e:t.concat(e)),t}function Yc(e,t,a){for(var i=Object.keys(e.props),c=0;c<i.length;c++){var h=i[c];if(h!=="children"&&h!=="key"){t===null&&(t=Fs(e,a.mode,0),t._debugInfo=Mt,t.return=a),Je(t,function(E){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",E)},h);break}}}function $c(e){var t=wy;return wy+=1,Nh===null&&(Nh=Rm()),Ql(Nh,e,t)}function Fl(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Tt(e,t){throw t.$$typeof===Xf?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
151
|
+
Incoming: %s`,k,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var a=0;a<t.length&&a<e.length;a++)if(!Xa(e[a],t[a]))return!1;return!0}function Si(e,t,a,i,o,s){ns=s,it=t,Eu=e!==null?e._debugHookTypes:null,$c=-1,Ky=e!==null&&e.type!==t.type,(Object.prototype.toString.call(a)==="[object AsyncFunction]"||Object.prototype.toString.call(a)==="[object AsyncGeneratorFunction]")&&(s=ce(it),t0.has(s)||(t0.add(s),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.",s===null?"An unknown Component":"<"+s+">"))),t.memoizedState=null,t.updateQueue=null,t.lanes=0,L.H=e!==null&&e.memoizedState!==null?a0:Eu!==null?Lb:l0,Yr=s=(t.mode&Ua)!==Pt;var d=n0(a,i,o);if(Yr=!1,ih&&(d=yo(t,a,i,o)),s){lt(!0);try{d=yo(t,a,i,o)}finally{lt(!1)}}return ws(e,t),d}function ws(e,t){t._debugHookTypes=Eu,t.dependencies===null?Zc!==null&&(t.dependencies={lanes:0,firstContext:null,_debugThenableState:Zc}):t.dependencies._debugThenableState=Zc,L.H=Yg;var a=Qt!==null&&Qt.next!==null;if(ns=0,Eu=k=Nl=Qt=it=null,$c=-1,e!==null&&(e.flags&65011712)!==(t.flags&65011712)&&console.error("Internal React error: Expected static flag was missing. Please notify the React team."),Vg=!1,Jy=0,Zc=null,a)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&&pi(e)&&(aa=!0)),Bg?(Bg=!1,e=!0):e=!1,e&&(t=ce(t)||"Unknown",Gb.has(t)||t0.has(t)||(Gb.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 yo(e,t,a,i){it=e;var o=0;do{if(ih&&(Zc=null),Jy=0,ih=!1,o>=xT)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(o+=1,Ky=!1,Nl=Qt=null,e.updateQueue!=null){var s=e.updateQueue;s.lastEffect=null,s.events=null,s.stores=null,s.memoCache!=null&&(s.memoCache.index=0)}$c=-1,L.H=Xb,s=n0(t,a,i)}while(ih);return s}function tn(){var e=L.H,t=e.useState()[0];return t=typeof t.then=="function"?hc(t):t,e=e.useState()[0],(Qt!==null?Qt.memoizedState:null)!==e&&(it.flags|=1024),t}function Sa(){var e=Gg!==0;return Gg=0,e}function qu(e,t,a){t.updateQueue=e.updateQueue,t.flags=(t.mode&ei)!==Pt?t.flags&-402655237:t.flags&-2053,e.lanes&=~a}function Dn(e){if(Vg){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Vg=!1}ns=0,Eu=Nl=Qt=it=null,$c=-1,k=null,ih=!1,Jy=Gg=0,Zc=null}function ul(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nl===null?it.memoizedState=Nl=e:Nl=Nl.next=e,Nl}function At(){if(Qt===null){var e=it.alternate;e=e!==null?e.memoizedState:null}else e=Qt.next;var t=Nl===null?it.memoizedState:Nl.next;if(t!==null)Nl=t,Qt=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.");Qt=e,e={memoizedState:Qt.memoizedState,baseState:Qt.baseState,baseQueue:Qt.baseQueue,queue:Qt.queue,next:null},Nl===null?it.memoizedState=Nl=e:Nl=Nl.next=e}return Nl}function Ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function hc(e){var t=Jy;return Jy+=1,Zc===null&&(Zc=tp()),e=Pa(Zc,e,t),t=it,(Nl===null?t.memoizedState:Nl.next)===null&&(t=t.alternate,L.H=t!==null&&t.memoizedState!==null?a0:l0),e}function Qn(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return hc(e);if(e.$$typeof===fn)return Zt(e)}throw Error("An unsupported type was passed to use(): "+String(e))}function hl(e){var t=null,a=it.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var i=it.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=Ef(),it.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0||Ky)for(a=t.data[t.index]=Array(e),i=0;i<e;i++)a[i]=mg;else a.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.",a.length,e);return t.index++,a}function Ct(e,t){return typeof t=="function"?t(e):t}function Mt(e,t,a){var i=ul();if(a!==void 0){var o=a(t);if(Yr){lt(!0);try{a(t)}finally{lt(!1)}}}else o=t;return i.memoizedState=i.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},i.queue=e,e=e.dispatch=dp.bind(null,it,e),[i.memoizedState,e]}function ln(e){var t=At();return an(t,Qt,e)}function an(e,t,a){var i=e.queue;if(i===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");i.lastRenderedReducer=a;var o=e.baseQueue,s=i.pending;if(s!==null){if(o!==null){var d=o.next;o.next=s.next,s.next=d}t.baseQueue!==o&&console.error("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),t.baseQueue=o=s,i.pending=null}if(s=e.baseState,o===null)e.memoizedState=s;else{t=o.next;var h=d=null,g=null,b=t,B=!1;do{var Q=b.lane&-536870913;if(Q!==b.lane?(Et&Q)===Q:(ns&Q)===Q){var q=b.revertLane;if(q===0)g!==null&&(g=g.next={lane:0,revertLane:0,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null}),Q===jr&&(B=!0);else if((ns&q)===q){b=b.next,q===jr&&(B=!0);continue}else Q={lane:0,revertLane:b.revertLane,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},g===null?(h=g=Q,d=s):g=g.next=Q,it.lanes|=q,cs|=q;Q=b.action,Yr&&a(s,Q),s=b.hasEagerState?b.eagerState:a(s,Q)}else q={lane:Q,revertLane:b.revertLane,action:b.action,hasEagerState:b.hasEagerState,eagerState:b.eagerState,next:null},g===null?(h=g=q,d=s):g=g.next=q,it.lanes|=Q,cs|=Q;b=b.next}while(b!==null&&b!==t);if(g===null?d=s:g.next=h,!Xa(s,e.memoizedState)&&(aa=!0,B&&(a=ah,a!==null)))throw a;e.memoizedState=s,e.baseState=d,e.baseQueue=g,i.lastRenderedState=s}return o===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function pc(e){var t=At(),a=t.queue;if(a===null)throw Error("Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)");a.lastRenderedReducer=e;var i=a.dispatch,o=a.pending,s=t.memoizedState;if(o!==null){a.pending=null;var d=o=o.next;do s=e(s,d.action),d=d.next;while(d!==o);Xa(s,t.memoizedState)||(aa=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),a.lastRenderedState=s}return[s,i]}function wu(e,t,a){var i=it,o=ul();if(Nt){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");var s=a();uh||s===a()||(console.error("The result of getServerSnapshot should be cached to avoid an infinite loop"),uh=!0)}else{if(s=t(),uh||(a=t(),Xa(s,a)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uh=!0)),$t===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");(Et&124)!==0||np(i,t,s)}return o.memoizedState=s,a={value:s,getSnapshot:t},o.queue=a,Df(go.bind(null,i,a,e),[e]),i.flags|=2048,$n(Tu|Zl,Ei(),mo.bind(null,i,a,s,t),null),s}function _s(e,t,a){var i=it,o=At(),s=Nt;if(s){if(a===void 0)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");a=a()}else if(a=t(),!uh){var d=t();Xa(a,d)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),uh=!0)}(d=!Xa((Qt||o).memoizedState,a))&&(o.memoizedState=a,aa=!0),o=o.queue;var h=go.bind(null,i,o,e);if(Tl(2048,Zl,h,[e]),o.getSnapshot!==t||d||Nl!==null&&Nl.memoizedState.tag&Tu){if(i.flags|=2048,$n(Tu|Zl,Ei(),mo.bind(null,i,o,a,t),null),$t===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");s||(ns&124)!==0||np(i,t,a)}return a}function np(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=it.updateQueue,t===null?(t=Ef(),it.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function mo(e,t,a,i){t.value=a,t.getSnapshot=i,up(t)&&vo(e)}function go(e,t,a){return a(function(){up(t)&&vo(e)})}function up(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!Xa(e,a)}catch{return!0}}function vo(e){var t=ga(e,2);t!==null&&cl(t,e,2)}function Bs(e){var t=ul();if(typeof e=="function"){var a=e;if(e=a(),Yr){lt(!0);try{a()}finally{lt(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ct,lastRenderedState:e},t}function _u(e){e=Bs(e);var t=e.queue,a=Eo.bind(null,it,t);return t.dispatch=a,[e.memoizedState,a]}function zn(e){var t=ul();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=qf.bind(null,it,!0,a),a.dispatch=t,[e,t]}function Bu(e,t){var a=At();return Zn(a,Qt,e,t)}function Zn(e,t,a,i){return e.baseState=a,an(e,Qt,typeof i=="function"?i:Ct)}function xf(e,t){var a=At();return Qt!==null?Zn(a,Qt,e,t):(a.baseState=e,[e,a.queue.dispatch])}function ip(e,t,a,i,o){if(ks(e))throw Error("Cannot update form state while rendering.");if(e=t.action,e!==null){var s={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(d){s.listeners.push(d)}};L.T!==null?a(!0):s.isTransition=!1,i(s),a=t.pending,a===null?(s.next=t.pending=s,bo(t,s)):(s.next=a.next,t.pending=a.next=s)}}function bo(e,t){var a=t.action,i=t.payload,o=e.state;if(t.isTransition){var s=L.T,d={};L.T=d,L.T._updatedFibers=new Set;try{var h=a(o,i),g=L.S;g!==null&&g(d,h),js(e,t,h)}catch(b){Ml(e,t,b)}finally{L.T=s,s===null&&d._updatedFibers&&(e=d._updatedFibers.size,d._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{d=a(o,i),js(e,t,d)}catch(b){Ml(e,t,b)}}function js(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?(a.then(function(i){Ti(e,t,i)},function(i){return Ml(e,t,i)}),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.")):Ti(e,t,a)}function Ti(e,t,a){t.status="fulfilled",t.value=a,Vs(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,bo(e,a)))}function Ml(e,t,a){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=a,Vs(t),t=t.next;while(t!==i)}e.action=null}function Vs(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function cp(e,t){return t}function So(e,t){if(Nt){var a=$t.formState;if(a!==null){e:{var i=it;if(Nt){if(yl){t:{for(var o=yl,s=Qi;o.nodeType!==8;){if(!s){o=null;break t}if(o=Ll(o.nextSibling),o===null){o=null;break t}}s=o.data,o=s===C0||s===Y1?o:null}if(o){yl=Ll(o.nextSibling),i=o.data===C0;break e}}Gn(i)}i=!1}i&&(t=a[0])}}return a=ul(),a.memoizedState=a.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cp,lastRenderedState:t},a.queue=i,a=Eo.bind(null,it,i),i.dispatch=a,i=Bs(!1),s=qf.bind(null,it,!1,i.queue),i=ul(),o={state:t,dispatch:null,action:e,pending:null},i.queue=o,a=ip.bind(null,it,o,s,a),o.dispatch=a,i.memoizedState=e,[t,a,!1]}function Af(e){var t=At();return Lm(t,Qt,e)}function Lm(e,t,a){if(t=an(e,t,cp)[0],e=ln(Ct)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=hc(t)}catch(d){throw d===Zy?_g:d}else i=t;t=At();var o=t.queue,s=o.dispatch;return a!==t.memoizedState&&(it.flags|=2048,$n(Tu|Zl,Ei(),Sl.bind(null,o,a),null)),[i,s,e]}function Sl(e,t){e.action=t}function To(e){var t=At(),a=Qt;if(a!==null)return Lm(t,a,e);At(),t=t.memoizedState,a=At();var i=a.queue.dispatch;return a.memoizedState=e,[t,i,!1]}function $n(e,t,a,i){return e={tag:e,create:a,deps:i,inst:t,next:null},t=it.updateQueue,t===null&&(t=Ef(),it.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(i=a.next,a.next=e,e.next=i,t.lastEffect=e),e}function Ei(){return{destroy:void 0,resource:void 0}}function Gs(e){var t=ul();return e={current:e},t.memoizedState=e}function nn(e,t,a,i){var o=ul();i=i===void 0?null:i,it.flags|=e,o.memoizedState=$n(Tu|t,Ei(),a,i)}function Tl(e,t,a,i){var o=At();i=i===void 0?null:i;var s=o.memoizedState.inst;Qt!==null&&i!==null&&bi(i,Qt.memoizedState.deps)?o.memoizedState=$n(t,s,a,i):(it.flags|=e,o.memoizedState=$n(Tu|t,s,a,i))}function Df(e,t){(it.mode&ei)!==Pt&&(it.mode&Db)===Pt?nn(276826112,Zl,e,t):nn(8390656,Zl,e,t)}function zf(e,t){var a=4194308;return(it.mode&ei)!==Pt&&(a|=134217728),nn(a,pa,e,t)}function Xm(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():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 Of(e,t,a){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"),a=a!=null?a.concat([e]):null;var i=4194308;(it.mode&ei)!==Pt&&(i|=134217728),nn(i,pa,Xm.bind(null,t,e),a)}function Jn(e,t,a){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"),a=a!=null?a.concat([e]):null,Tl(4,pa,Xm.bind(null,t,e),a)}function Ys(e,t){return ul().memoizedState=[e,t===void 0?null:t],e}function yc(e,t){var a=At();t=t===void 0?null:t;var i=a.memoizedState;return t!==null&&bi(t,i[1])?i[0]:(a.memoizedState=[e,t],e)}function Mf(e,t){var a=ul();t=t===void 0?null:t;var i=e();if(Yr){lt(!0);try{e()}finally{lt(!1)}}return a.memoizedState=[i,t],i}function xi(e,t){var a=At();t=t===void 0?null:t;var i=a.memoizedState;if(t!==null&&bi(t,i[1]))return i[0];if(i=e(),Yr){lt(!0);try{e()}finally{lt(!1)}}return a.memoizedState=[i,t],i}function Rf(e,t){var a=ul();return Uf(a,e,t)}function Ls(e,t){var a=At();return Xs(a,Qt.memoizedState,e,t)}function Cf(e,t){var a=At();return Qt===null?Uf(a,e,t):Xs(a,Qt.memoizedState,e,t)}function Uf(e,t,a){return a===void 0||(ns&1073741824)!==0?e.memoizedState=t:(e.memoizedState=a,e=Pm(),it.lanes|=e,cs|=e,a)}function Xs(e,t,a,i){return Xa(a,t)?a:nh.current!==null?(e=Uf(e,a,i),Xa(e,t)||(aa=!0),e):(ns&42)===0?(aa=!0,e.memoizedState=a):(e=Pm(),it.lanes|=e,cs|=e,t)}function op(e,t,a,i,o){var s=et.p;et.p=s!==0&&s<Hn?s:Hn;var d=L.T,h={};L.T=h,qf(e,!1,t,a),h._updatedFibers=new Set;try{var g=o(),b=L.S;if(b!==null&&b(h,g),g!==null&&typeof g=="object"&&typeof g.then=="function"){var B=Vm(g,i);ju(e,t,B,Aa(e))}else ju(e,t,i,Aa(e))}catch(Q){ju(e,t,{then:function(){},status:"rejected",reason:Q},Aa(e))}finally{et.p=s,L.T=d,d===null&&h._updatedFibers&&(e=h._updatedFibers.size,h._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 mc(e,t,a,i){if(e.tag!==5)throw Error("Expected the form instance to be a HostComponent. This is a bug in React.");var o=sp(e).queue;op(e,o,t,Ir,a===null?w:function(){return rp(e),a(i)})}function sp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ir,baseState:Ir,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ct,lastRenderedState:Ir},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ct,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function rp(e){L.T===null&&console.error("requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition.");var t=sp(e).next.queue;ju(e,t,{},Aa(e))}function Kn(){var e=Bs(!1);return e=op.bind(null,it,e.queue,!0,!1),ul().memoizedState=e,[!1,e]}function Hf(){var e=ln(Ct)[0],t=At().memoizedState;return[typeof e=="boolean"?e:hc(e),t]}function Nf(){var e=pc(Ct)[0],t=At().memoizedState;return[typeof e=="boolean"?e:hc(e),t]}function Ta(){return Zt(dm)}function Wn(){var e=ul(),t=$t.identifierPrefix;if(Nt){var a=kc,i=Xc;a=(i&~(1<<32-ta(i)-1)).toString(32)+a,t="«"+t+"R"+a,a=Gg++,0<a&&(t+="H"+a.toString(32)),t+="»"}else a=ET++,t="«"+t+"r"+a.toString(32)+"»";return e.memoizedState=t}function gc(){return ul().memoizedState=fp.bind(null,it)}function fp(e,t){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=Aa(a);e=Xn(i);var o=xn(a,e,i);o!==null&&(cl(o,a,i),vi(o,a,i)),a=Hs(),t!=null&&o!==null&&console.error("The seed argument is not enabled outside experimental channels."),e.payload={cache:a};return}a=a.return}}function dp(e,t,a){var i=arguments;typeof i[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()."),i=Aa(e);var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};ks(e)?vc(t,o):(o=Gh(e,t,o,i),o!==null&&(cl(o,e,i),Qs(o,t,i))),ue(e,i)}function Eo(e,t,a){var i=arguments;typeof i[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()."),i=Aa(e),ju(e,t,a,i),ue(e,i)}function ju(e,t,a,i){var o={lane:i,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ks(e))vc(t,o);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null)){var d=L.H;L.H=li;try{var h=t.lastRenderedState,g=s(h,a);if(o.hasEagerState=!0,o.eagerState=g,Xa(g,h))return pf(e,t,o,0),$t===null&&Os(),!1}catch{}finally{L.H=d}}if(a=Gh(e,t,o,i),a!==null)return cl(a,e,i),Qs(a,t,i),!0}return!1}function qf(e,t,a,i){if(L.T===null&&jr===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."),i={lane:2,revertLane:Xp(),action:i,hasEagerState:!1,eagerState:null,next:null},ks(e)){if(t)throw Error("Cannot update optimistic state while rendering.");console.error("Cannot call startTransition while rendering.")}else t=Gh(e,a,i,2),t!==null&&cl(t,e,2);ue(e,2)}function ks(e){var t=e.alternate;return e===it||t!==null&&t===it}function vc(e,t){ih=Vg=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Qs(e,t,a){if((a&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,a|=i,t.lanes=a,Ot(e,a)}}function Rl(e){var t=yt;return e!=null&&(yt=t===null?e:t.concat(e)),t}function xo(e,t,a){for(var i=Object.keys(e.props),o=0;o<i.length;o++){var s=i[o];if(s!=="children"&&s!=="key"){t===null&&(t=Cs(e,a.mode,0),t._debugInfo=yt,t.return=a),Be(t,function(d){console.error("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",d)},s);break}}}function Ao(e){var t=Wy;return Wy+=1,ch===null&&(ch=tp()),Pa(ch,e,t)}function un(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function ct(e,t){throw t.$$typeof===Tr?Error(`A React Element from an older version of React was rendered. This is not supported. It can happen if:
|
|
187
152
|
- Multiple copies of the "react" package is used.
|
|
188
153
|
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
|
|
189
|
-
- 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
|
|
154
|
+
- 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 _t(e,t){var a=ce(e)||"Component";n1[a]||(n1[a]=!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.
|
|
190
155
|
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.
|
|
191
|
-
<%s>{%s}</%s>`,t,t,a,t,a))}function
|
|
156
|
+
<%s>{%s}</%s>`,t,t,a,t,a))}function al(e,t){var a=ce(e)||"Component";u1[a]||(u1[a]=!0,t=String(t),e.tag===3?console.error(`Symbols are not valid as a React child.
|
|
192
157
|
root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
|
|
193
|
-
<%s>%s</%s>`,a,t,a))}function vf(e){function t(G,X){if(e){var F=G.deletions;F===null?(G.deletions=[X],G.flags|=16):F.push(X)}}function a(G,X){if(!e)return null;for(;X!==null;)t(G,X),X=X.sibling;return null}function i(G){for(var X=new Map;G!==null;)G.key!==null?X.set(G.key,G):X.set(G.index,G),G=G.sibling;return X}function c(G,X){return G=Xr(G,X),G.index=0,G.sibling=null,G}function h(G,X,F){return G.index=F,e?(F=G.alternate,F!==null?(F=F.index,F<X?(G.flags|=67108866,X):F):(G.flags|=67108866,X)):(G.flags|=1048576,X)}function E(G){return e&&G.alternate===null&&(G.flags|=67108866),G}function x(G,X,F,De){return X===null||X.tag!==6?(X=Au(F,G.mode,De),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Mt,X):(X=c(X,F),X.return=G,X._debugInfo=Mt,X)}function N(G,X,F,De){var et=F.type;return et===xt?(X=Se(G,X,F.props.children,De,F.key),Yc(F,X,G),X):X!==null&&(X.elementType===et||Jg(X,F)||typeof et=="object"&&et!==null&&et.$$typeof===Ul&&Os(et)===X.type)?(X=c(X,F.props),Fl(X,F),X.return=G,X._debugOwner=F._owner,X._debugInfo=Mt,X):(X=Fs(F,G.mode,De),Fl(X,F),X.return=G,X._debugInfo=Mt,X)}function j(G,X,F,De){return X===null||X.tag!==4||X.stateNode.containerInfo!==F.containerInfo||X.stateNode.implementation!==F.implementation?(X=Tm(F,G.mode,De),X.return=G,X._debugInfo=Mt,X):(X=c(X,F.children||[]),X.return=G,X._debugInfo=Mt,X)}function Se(G,X,F,De,et){return X===null||X.tag!==7?(X=_u(F,G.mode,De,et),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Mt,X):(X=c(X,F),X.return=G,X._debugInfo=Mt,X)}function _e(G,X,F){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return X=Au(""+X,G.mode,F),X.return=G,X._debugOwner=G,X._debugTask=G._debugTask,X._debugInfo=Mt,X;if(typeof X=="object"&&X!==null){switch(X.$$typeof){case Iu:return F=Fs(X,G.mode,F),Fl(F,X),F.return=G,G=ya(X._debugInfo),F._debugInfo=Mt,Mt=G,F;case nc:return X=Tm(X,G.mode,F),X.return=G,X._debugInfo=Mt,X;case Ul:var De=ya(X._debugInfo);return X=Os(X),G=_e(G,X,F),Mt=De,G}if(bt(X)||J(X))return F=_u(X,G.mode,F,null),F.return=G,F._debugOwner=G,F._debugTask=G._debugTask,G=ya(X._debugInfo),F._debugInfo=Mt,Mt=G,F;if(typeof X.then=="function")return De=ya(X._debugInfo),G=_e(G,$c(X),F),Mt=De,G;if(X.$$typeof===lr)return _e(G,ef(G,X),F);Tt(G,X)}return typeof X=="function"&&Zt(G,X),typeof X=="symbol"&&Rn(G,X),null}function ve(G,X,F,De){var et=X!==null?X.key:null;if(typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint")return et!==null?null:x(G,X,""+F,De);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case Iu:return F.key===et?(et=ya(F._debugInfo),G=N(G,X,F,De),Mt=et,G):null;case nc:return F.key===et?j(G,X,F,De):null;case Ul:return et=ya(F._debugInfo),F=Os(F),G=ve(G,X,F,De),Mt=et,G}if(bt(F)||J(F))return et!==null?null:(et=ya(F._debugInfo),G=Se(G,X,F,De,null),Mt=et,G);if(typeof F.then=="function")return et=ya(F._debugInfo),G=ve(G,X,$c(F),De),Mt=et,G;if(F.$$typeof===lr)return ve(G,X,ef(G,F),De);Tt(G,F)}return typeof F=="function"&&Zt(G,F),typeof F=="symbol"&&Rn(G,F),null}function we(G,X,F,De,et){if(typeof De=="string"&&De!==""||typeof De=="number"||typeof De=="bigint")return G=G.get(F)||null,x(X,G,""+De,et);if(typeof De=="object"&&De!==null){switch(De.$$typeof){case Iu:return F=G.get(De.key===null?F:De.key)||null,G=ya(De._debugInfo),X=N(X,F,De,et),Mt=G,X;case nc:return G=G.get(De.key===null?F:De.key)||null,j(X,G,De,et);case Ul:var Ot=ya(De._debugInfo);return De=Os(De),X=we(G,X,F,De,et),Mt=Ot,X}if(bt(De)||J(De))return F=G.get(F)||null,G=ya(De._debugInfo),X=Se(X,F,De,et,null),Mt=G,X;if(typeof De.then=="function")return Ot=ya(De._debugInfo),X=we(G,X,F,$c(De),et),Mt=Ot,X;if(De.$$typeof===lr)return we(G,X,F,ef(X,De),et);Tt(X,De)}return typeof De=="function"&&Zt(X,De),typeof De=="symbol"&&Rn(X,De),null}function at(G,X,F,De){if(typeof F!="object"||F===null)return De;switch(F.$$typeof){case Iu:case nc:g(G,X,F);var et=F.key;if(typeof et!="string")break;if(De===null){De=new Set,De.add(et);break}if(!De.has(et)){De.add(et);break}Je(X,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.",et)});break;case Ul:F=Os(F),at(G,X,F,De)}return De}function yt(G,X,F,De){for(var et=null,Ot=null,lt=null,Ct=X,_t=X=0,An=null;Ct!==null&&_t<F.length;_t++){Ct.index>_t?(An=Ct,Ct=null):An=Ct.sibling;var ha=ve(G,Ct,F[_t],De);if(ha===null){Ct===null&&(Ct=An);break}et=at(G,ha,F[_t],et),e&&Ct&&ha.alternate===null&&t(G,Ct),X=h(ha,X,_t),lt===null?Ot=ha:lt.sibling=ha,lt=ha,Ct=An}if(_t===F.length)return a(G,Ct),Pt&&_o(G,_t),Ot;if(Ct===null){for(;_t<F.length;_t++)Ct=_e(G,F[_t],De),Ct!==null&&(et=at(G,Ct,F[_t],et),X=h(Ct,X,_t),lt===null?Ot=Ct:lt.sibling=Ct,lt=Ct);return Pt&&_o(G,_t),Ot}for(Ct=i(Ct);_t<F.length;_t++)An=we(Ct,G,_t,F[_t],De),An!==null&&(et=at(G,An,F[_t],et),e&&An.alternate!==null&&Ct.delete(An.key===null?_t:An.key),X=h(An,X,_t),lt===null?Ot=An:lt.sibling=An,lt=An);return e&&Ct.forEach(function(gc){return t(G,gc)}),Pt&&_o(G,_t),Ot}function Sn(G,X,F,De){if(F==null)throw Error("An iterable object provided no iterator.");for(var et=null,Ot=null,lt=X,Ct=X=0,_t=null,An=null,ha=F.next();lt!==null&&!ha.done;Ct++,ha=F.next()){lt.index>Ct?(_t=lt,lt=null):_t=lt.sibling;var gc=ve(G,lt,ha.value,De);if(gc===null){lt===null&&(lt=_t);break}An=at(G,gc,ha.value,An),e&<&&gc.alternate===null&&t(G,lt),X=h(gc,X,Ct),Ot===null?et=gc:Ot.sibling=gc,Ot=gc,lt=_t}if(ha.done)return a(G,lt),Pt&&_o(G,Ct),et;if(lt===null){for(;!ha.done;Ct++,ha=F.next())lt=_e(G,ha.value,De),lt!==null&&(An=at(G,lt,ha.value,An),X=h(lt,X,Ct),Ot===null?et=lt:Ot.sibling=lt,Ot=lt);return Pt&&_o(G,Ct),et}for(lt=i(lt);!ha.done;Ct++,ha=F.next())_t=we(lt,G,Ct,ha.value,De),_t!==null&&(An=at(G,_t,ha.value,An),e&&_t.alternate!==null&<.delete(_t.key===null?Ct:_t.key),X=h(_t,X,Ct),Ot===null?et=_t:Ot.sibling=_t,Ot=_t);return e&<.forEach(function(L3){return t(G,L3)}),Pt&&_o(G,Ct),et}function Lt(G,X,F,De){if(typeof F=="object"&&F!==null&&F.type===xt&&F.key===null&&(Yc(F,null,G),F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case Iu:var et=ya(F._debugInfo);e:{for(var Ot=F.key;X!==null;){if(X.key===Ot){if(Ot=F.type,Ot===xt){if(X.tag===7){a(G,X.sibling),De=c(X,F.props.children),De.return=G,De._debugOwner=F._owner,De._debugInfo=Mt,Yc(F,De,G),G=De;break e}}else if(X.elementType===Ot||Jg(X,F)||typeof Ot=="object"&&Ot!==null&&Ot.$$typeof===Ul&&Os(Ot)===X.type){a(G,X.sibling),De=c(X,F.props),Fl(De,F),De.return=G,De._debugOwner=F._owner,De._debugInfo=Mt,G=De;break e}a(G,X);break}else t(G,X);X=X.sibling}F.type===xt?(De=_u(F.props.children,G.mode,De,F.key),De.return=G,De._debugOwner=G,De._debugTask=G._debugTask,De._debugInfo=Mt,Yc(F,De,G),G=De):(De=Fs(F,G.mode,De),Fl(De,F),De.return=G,De._debugInfo=Mt,G=De)}return G=E(G),Mt=et,G;case nc:e:{for(et=F,F=et.key;X!==null;){if(X.key===F)if(X.tag===4&&X.stateNode.containerInfo===et.containerInfo&&X.stateNode.implementation===et.implementation){a(G,X.sibling),De=c(X,et.children||[]),De.return=G,G=De;break e}else{a(G,X);break}else t(G,X);X=X.sibling}De=Tm(et,G.mode,De),De.return=G,G=De}return E(G);case Ul:return et=ya(F._debugInfo),F=Os(F),G=Lt(G,X,F,De),Mt=et,G}if(bt(F))return et=ya(F._debugInfo),G=yt(G,X,F,De),Mt=et,G;if(J(F)){if(et=ya(F._debugInfo),Ot=J(F),typeof Ot!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var lt=Ot.call(F);return lt===F?(G.tag!==0||Object.prototype.toString.call(G.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(lt)!=="[object Generator]")&&($_||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."),$_=!0):F.entries!==Ot||FE||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),FE=!0),G=Sn(G,X,lt,De),Mt=et,G}if(typeof F.then=="function")return et=ya(F._debugInfo),G=Lt(G,X,$c(F),De),Mt=et,G;if(F.$$typeof===lr)return Lt(G,X,ef(G,F),De);Tt(G,F)}return typeof F=="string"&&F!==""||typeof F=="number"||typeof F=="bigint"?(et=""+F,X!==null&&X.tag===6?(a(G,X.sibling),De=c(X,et),De.return=G,G=De):(a(G,X),De=Au(et,G.mode,De),De.return=G,De._debugOwner=G,De._debugTask=G._debugTask,De._debugInfo=Mt,G=De),E(G)):(typeof F=="function"&&Zt(G,F),typeof F=="symbol"&&Rn(G,F),a(G,X))}return function(G,X,F,De){var et=Mt;Mt=null;try{wy=0;var Ot=Lt(G,X,F,De);return Nh=null,Ot}catch(An){if(An===Oy||An===I0)throw An;var lt=q(29,An,null,G.mode);lt.lanes=De,lt.return=G;var Ct=lt._debugInfo=Mt;if(lt._debugOwner=G._debugOwner,lt._debugTask=G._debugTask,Ct!=null){for(var _t=Ct.length-1;0<=_t;_t--)if(typeof Ct[_t].stack=="string"){lt._debugOwner=Ct[_t],lt._debugTask=Ct[_t].debugTask;break}}return lt}finally{Mt=et}}}function zl(e){var t=e.alternate;Te(qa,qa.current&qh,e),Te(Di,e,e),oo===null&&(t===null||Dh.current!==null||t.memoizedState!==null)&&(oo=e)}function Lu(e){if(e.tag===22){if(Te(qa,qa.current,e),Te(Di,e,e),oo===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(oo=e)}}else _r(e)}function _r(e){Te(qa,qa.current,e),Te(Di,Di.current,e)}function Nl(e){ae(Di,e),oo===e&&(oo=null),ae(qa,e)}function Ii(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data===mc||mi(a)))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 Xm(e){if(e!==null&&typeof e!="function"){var t=String(e);lA.has(t)||(lA.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function qn(e,t,a,i){var c=e.memoizedState,h=a(i,c);if(e.mode&Tl){Oe(!0);try{h=a(i,c)}finally{Oe(!1)}}h===void 0&&(t=ne(t)||"Component",eA.has(t)||(eA.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),c=h==null?c:At({},c,h),e.memoizedState=c,e.lanes===0&&(e.updateQueue.baseState=c)}function ip(e,t,a,i,c,h,E){var x=e.stateNode;if(typeof x.shouldComponentUpdate=="function"){if(a=x.shouldComponentUpdate(i,h,E),e.mode&Tl){Oe(!0);try{a=x.shouldComponentUpdate(i,h,E)}finally{Oe(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",ne(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!Ks(a,i)||!Ks(c,h):!0}function up(e,t,a,i){var c=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==c&&(e=W(e)||"Component",K_.has(e)||(K_.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),eT.enqueueReplaceState(t,t.state,null))}function Bu(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=At({},a));for(var c in e)a[c]===void 0&&(a[c]=e[c])}return a}function Pm(e){tT(e),console.warn(`%s
|
|
158
|
+
<%s>%s</%s>`,a,t,a))}function Zs(e){function t(x,A){if(e){var z=x.deletions;z===null?(x.deletions=[A],x.flags|=16):z.push(A)}}function a(x,A){if(!e)return null;for(;A!==null;)t(x,A),A=A.sibling;return null}function i(x){for(var A=new Map;x!==null;)x.key!==null?A.set(x.key,x):A.set(x.index,x),x=x.sibling;return A}function o(x,A){return x=Vn(x,A),x.index=0,x.sibling=null,x}function s(x,A,z){return x.index=z,e?(z=x.alternate,z!==null?(z=z.index,z<A?(x.flags|=67108866,A):z):(x.flags|=67108866,A)):(x.flags|=1048576,A)}function d(x){return e&&x.alternate===null&&(x.flags|=67108866),x}function h(x,A,z,W){return A===null||A.tag!==6?(A=di(z,x.mode,W),A.return=x,A._debugOwner=x,A._debugTask=x._debugTask,A._debugInfo=yt,A):(A=o(A,z),A.return=x,A._debugInfo=yt,A)}function g(x,A,z,W){var De=z.type;return De===ot?(A=B(x,A,z.props.children,W,z.key),xo(z,A,x),A):A!==null&&(A.elementType===De||wm(A,z)||typeof De=="object"&&De!==null&&De.$$typeof===Ya&&us(De)===A.type)?(A=o(A,z.props),un(A,z),A.return=x,A._debugOwner=z._owner,A._debugInfo=yt,A):(A=Cs(z,x.mode,W),un(A,z),A.return=x,A._debugInfo=yt,A)}function b(x,A,z,W){return A===null||A.tag!==4||A.stateNode.containerInfo!==z.containerInfo||A.stateNode.implementation!==z.implementation?(A=kh(z,x.mode,W),A.return=x,A._debugInfo=yt,A):(A=o(A,z.children||[]),A.return=x,A._debugInfo=yt,A)}function B(x,A,z,W,De){return A===null||A.tag!==7?(A=fi(z,x.mode,W,De),A.return=x,A._debugOwner=x,A._debugTask=x._debugTask,A._debugInfo=yt,A):(A=o(A,z),A.return=x,A._debugInfo=yt,A)}function Q(x,A,z){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return A=di(""+A,x.mode,z),A.return=x,A._debugOwner=x,A._debugTask=x._debugTask,A._debugInfo=yt,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case _i:return z=Cs(A,x.mode,z),un(z,A),z.return=x,x=Rl(A._debugInfo),z._debugInfo=yt,yt=x,z;case Bc:return A=kh(A,x.mode,z),A.return=x,A._debugInfo=yt,A;case Ya:var W=Rl(A._debugInfo);return A=us(A),x=Q(x,A,z),yt=W,x}if(ut(A)||ge(A))return z=fi(A,x.mode,z,null),z.return=x,z._debugOwner=x,z._debugTask=x._debugTask,x=Rl(A._debugInfo),z._debugInfo=yt,yt=x,z;if(typeof A.then=="function")return W=Rl(A._debugInfo),x=Q(x,Ao(A),z),yt=W,x;if(A.$$typeof===fn)return Q(x,Us(x,A),z);ct(x,A)}return typeof A=="function"&&_t(x,A),typeof A=="symbol"&&al(x,A),null}function q(x,A,z,W){var De=A!==null?A.key:null;if(typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint")return De!==null?null:h(x,A,""+z,W);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case _i:return z.key===De?(De=Rl(z._debugInfo),x=g(x,A,z,W),yt=De,x):null;case Bc:return z.key===De?b(x,A,z,W):null;case Ya:return De=Rl(z._debugInfo),z=us(z),x=q(x,A,z,W),yt=De,x}if(ut(z)||ge(z))return De!==null?null:(De=Rl(z._debugInfo),x=B(x,A,z,W,null),yt=De,x);if(typeof z.then=="function")return De=Rl(z._debugInfo),x=q(x,A,Ao(z),W),yt=De,x;if(z.$$typeof===fn)return q(x,A,Us(x,z),W);ct(x,z)}return typeof z=="function"&&_t(x,z),typeof z=="symbol"&&al(x,z),null}function J(x,A,z,W,De){if(typeof W=="string"&&W!==""||typeof W=="number"||typeof W=="bigint")return x=x.get(z)||null,h(A,x,""+W,De);if(typeof W=="object"&&W!==null){switch(W.$$typeof){case _i:return z=x.get(W.key===null?z:W.key)||null,x=Rl(W._debugInfo),A=g(A,z,W,De),yt=x,A;case Bc:return x=x.get(W.key===null?z:W.key)||null,b(A,x,W,De);case Ya:var st=Rl(W._debugInfo);return W=us(W),A=J(x,A,z,W,De),yt=st,A}if(ut(W)||ge(W))return z=x.get(z)||null,x=Rl(W._debugInfo),A=B(A,z,W,De,null),yt=x,A;if(typeof W.then=="function")return st=Rl(W._debugInfo),A=J(x,A,z,Ao(W),De),yt=st,A;if(W.$$typeof===fn)return J(x,A,z,Us(A,W),De);ct(A,W)}return typeof W=="function"&&_t(A,W),typeof W=="symbol"&&al(A,W),null}function je(x,A,z,W){if(typeof z!="object"||z===null)return W;switch(z.$$typeof){case _i:case Bc:pe(x,A,z);var De=z.key;if(typeof De!="string")break;if(W===null){W=new Set,W.add(De);break}if(!W.has(De)){W.add(De);break}Be(A,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.",De)});break;case Ya:z=us(z),je(x,A,z,W)}return W}function tt(x,A,z,W){for(var De=null,st=null,Ve=null,rt=A,ft=A=0,el=null;rt!==null&&ft<z.length;ft++){rt.index>ft?(el=rt,rt=null):el=rt.sibling;var Dl=q(x,rt,z[ft],W);if(Dl===null){rt===null&&(rt=el);break}De=je(x,Dl,z[ft],De),e&&rt&&Dl.alternate===null&&t(x,rt),A=s(Dl,A,ft),Ve===null?st=Dl:Ve.sibling=Dl,Ve=Dl,rt=el}if(ft===z.length)return a(x,rt),Nt&&cc(x,ft),st;if(rt===null){for(;ft<z.length;ft++)rt=Q(x,z[ft],W),rt!==null&&(De=je(x,rt,z[ft],De),A=s(rt,A,ft),Ve===null?st=rt:Ve.sibling=rt,Ve=rt);return Nt&&cc(x,ft),st}for(rt=i(rt);ft<z.length;ft++)el=J(rt,x,ft,z[ft],W),el!==null&&(De=je(x,el,z[ft],De),e&&el.alternate!==null&&rt.delete(el.key===null?ft:el.key),A=s(el,A,ft),Ve===null?st=el:Ve.sibling=el,Ve=el);return e&&rt.forEach(function(Pc){return t(x,Pc)}),Nt&&cc(x,ft),st}function Jt(x,A,z,W){if(z==null)throw Error("An iterable object provided no iterator.");for(var De=null,st=null,Ve=A,rt=A=0,ft=null,el=null,Dl=z.next();Ve!==null&&!Dl.done;rt++,Dl=z.next()){Ve.index>rt?(ft=Ve,Ve=null):ft=Ve.sibling;var Pc=q(x,Ve,Dl.value,W);if(Pc===null){Ve===null&&(Ve=ft);break}el=je(x,Pc,Dl.value,el),e&&Ve&&Pc.alternate===null&&t(x,Ve),A=s(Pc,A,rt),st===null?De=Pc:st.sibling=Pc,st=Pc,Ve=ft}if(Dl.done)return a(x,Ve),Nt&&cc(x,rt),De;if(Ve===null){for(;!Dl.done;rt++,Dl=z.next())Ve=Q(x,Dl.value,W),Ve!==null&&(el=je(x,Ve,Dl.value,el),A=s(Ve,A,rt),st===null?De=Ve:st.sibling=Ve,st=Ve);return Nt&&cc(x,rt),De}for(Ve=i(Ve);!Dl.done;rt++,Dl=z.next())ft=J(Ve,x,rt,Dl.value,W),ft!==null&&(el=je(x,ft,Dl.value,el),e&&ft.alternate!==null&&Ve.delete(ft.key===null?rt:ft.key),A=s(ft,A,rt),st===null?De=ft:st.sibling=ft,st=ft);return e&&Ve.forEach(function(KT){return t(x,KT)}),Nt&&cc(x,rt),De}function Dt(x,A,z,W){if(typeof z=="object"&&z!==null&&z.type===ot&&z.key===null&&(xo(z,null,x),z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case _i:var De=Rl(z._debugInfo);e:{for(var st=z.key;A!==null;){if(A.key===st){if(st=z.type,st===ot){if(A.tag===7){a(x,A.sibling),W=o(A,z.props.children),W.return=x,W._debugOwner=z._owner,W._debugInfo=yt,xo(z,W,x),x=W;break e}}else if(A.elementType===st||wm(A,z)||typeof st=="object"&&st!==null&&st.$$typeof===Ya&&us(st)===A.type){a(x,A.sibling),W=o(A,z.props),un(W,z),W.return=x,W._debugOwner=z._owner,W._debugInfo=yt,x=W;break e}a(x,A);break}else t(x,A);A=A.sibling}z.type===ot?(W=fi(z.props.children,x.mode,W,z.key),W.return=x,W._debugOwner=x,W._debugTask=x._debugTask,W._debugInfo=yt,xo(z,W,x),x=W):(W=Cs(z,x.mode,W),un(W,z),W.return=x,W._debugInfo=yt,x=W)}return x=d(x),yt=De,x;case Bc:e:{for(De=z,z=De.key;A!==null;){if(A.key===z)if(A.tag===4&&A.stateNode.containerInfo===De.containerInfo&&A.stateNode.implementation===De.implementation){a(x,A.sibling),W=o(A,De.children||[]),W.return=x,x=W;break e}else{a(x,A);break}else t(x,A);A=A.sibling}W=kh(De,x.mode,W),W.return=x,x=W}return d(x);case Ya:return De=Rl(z._debugInfo),z=us(z),x=Dt(x,A,z,W),yt=De,x}if(ut(z))return De=Rl(z._debugInfo),x=tt(x,A,z,W),yt=De,x;if(ge(z)){if(De=Rl(z._debugInfo),st=ge(z),typeof st!="function")throw Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");var Ve=st.call(z);return Ve===z?(x.tag!==0||Object.prototype.toString.call(x.type)!=="[object GeneratorFunction]"||Object.prototype.toString.call(Ve)!=="[object Generator]")&&(l1||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."),l1=!0):z.entries!==st||i0||(console.error("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),i0=!0),x=Jt(x,A,Ve,W),yt=De,x}if(typeof z.then=="function")return De=Rl(z._debugInfo),x=Dt(x,A,Ao(z),W),yt=De,x;if(z.$$typeof===fn)return Dt(x,A,Us(x,z),W);ct(x,z)}return typeof z=="string"&&z!==""||typeof z=="number"||typeof z=="bigint"?(De=""+z,A!==null&&A.tag===6?(a(x,A.sibling),W=o(A,De),W.return=x,x=W):(a(x,A),W=di(De,x.mode,W),W.return=x,W._debugOwner=x,W._debugTask=x._debugTask,W._debugInfo=yt,x=W),d(x)):(typeof z=="function"&&_t(x,z),typeof z=="symbol"&&al(x,z),a(x,A))}return function(x,A,z,W){var De=yt;yt=null;try{Wy=0;var st=Dt(x,A,z,W);return ch=null,st}catch(el){if(el===Zy||el===_g)throw el;var Ve=ye(29,el,null,x.mode);Ve.lanes=W,Ve.return=x;var rt=Ve._debugInfo=yt;if(Ve._debugOwner=x._debugOwner,Ve._debugTask=x._debugTask,rt!=null){for(var ft=rt.length-1;0<=ft;ft--)if(typeof rt[ft].stack=="string"){Ve._debugOwner=rt[ft],Ve._debugTask=rt[ft].debugTask;break}}return Ve}finally{yt=De}}}function _a(e){var t=e.alternate;Ce($l,$l.current&sh,e),Ce(xu,e,e),$i===null&&(t===null||nh.current!==null||t.memoizedState!==null)&&($i=e)}function Ai(e){if(e.tag===22){if(Ce($l,$l.current,e),Ce(xu,e,e),$i===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&($i=e)}}else On(e)}function On(e){Ce($l,$l.current,e),Ce(xu,xu.current,e)}function Ba(e){Te(xu,e),$i===e&&($i=null),Te($l,e)}function Vu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data===Wc||su(a)))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 hp(e){if(e!==null&&typeof e!="function"){var t=String(e);g1.has(t)||(g1.add(t),console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",e))}}function nl(e,t,a,i){var o=e.memoizedState,s=a(i,o);if(e.mode&Ua){lt(!0);try{s=a(i,o)}finally{lt(!1)}}s===void 0&&(t=Ee(t)||"Component",h1.has(t)||(h1.add(t),console.error("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",t))),o=s==null?o:dt({},o,s),e.memoizedState=o,e.lanes===0&&(e.updateQueue.baseState=o)}function wf(e,t,a,i,o,s,d){var h=e.stateNode;if(typeof h.shouldComponentUpdate=="function"){if(a=h.shouldComponentUpdate(i,s,d),e.mode&Ua){lt(!0);try{a=h.shouldComponentUpdate(i,s,d)}finally{lt(!1)}}return a===void 0&&console.error("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ee(t)||"Component"),a}return t.prototype&&t.prototype.isPureReactComponent?!zs(a,i)||!zs(o,s):!0}function _f(e,t,a,i){var o=t.state;typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,i),t.state!==o&&(e=ce(e)||"Component",o1.has(e)||(o1.add(e),console.error("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",e)),c0.enqueueReplaceState(t,t.state,null))}function Di(e,t){var a=t;if("ref"in t){a={};for(var i in t)i!=="ref"&&(a[i]=t[i])}if(e=e.defaultProps){a===t&&(a=dt({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function pp(e){o0(e),console.warn(`%s
|
|
194
159
|
|
|
195
160
|
%s
|
|
196
|
-
`,
|
|
197
|
-
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function
|
|
161
|
+
`,rh?"An error occurred in the <"+rh+"> component.":"An error occurred in one of your React components.",`Consider adding an error boundary to your tree to customize error handling behavior.
|
|
162
|
+
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`)}function km(e){var t=rh?"The above error occurred in the <"+rh+"> component.":"The above error occurred in one of your React components.",a="React will try to recreate this component tree from scratch using the error boundary you provided, "+((s0||"Anonymous")+".");if(typeof e=="object"&&e!==null&&typeof e.environmentName=="string"){var i=e.environmentName;e=[`%o
|
|
198
163
|
|
|
199
164
|
%s
|
|
200
165
|
|
|
201
166
|
%s
|
|
202
|
-
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,
|
|
167
|
+
`,e,t,a].slice(0),typeof e[0]=="string"?e.splice(0,1,K1+e[0],W1,iv+i+iv,F1):e.splice(0,0,K1,W1,iv+i+iv,F1),e.unshift(console),i=$T.apply(console.error,e),i()}else console.error(`%o
|
|
203
168
|
|
|
204
169
|
%s
|
|
205
170
|
|
|
206
171
|
%s
|
|
207
|
-
`,e,t,a)}function
|
|
172
|
+
`,e,t,a)}function Bf(e){o0(e)}function Do(e,t){try{rh=t.source?ce(t.source):null,s0=null;var a=t.value;if(L.actQueue!==null)L.thrownErrors.push(a);else{var i=e.onUncaughtError;i(a,{componentStack:t.stack})}}catch(o){setTimeout(function(){throw o})}}function jf(e,t,a){try{rh=a.source?ce(a.source):null,s0=ce(t);var i=e.onCaughtError;i(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Il(e,t,a){return a=Xn(a),a.tag=Iv,a.payload={element:null},a.callback=function(){Be(t.source,Do,e,t)},a}function il(e){return e=Xn(e),e.tag=Iv,e}function $s(e,t,a,i){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var s=i.value;e.payload=function(){return o(s)},e.callback=function(){_m(a),Be(i.source,jf,t,a,i)}}var d=a.stateNode;d!==null&&typeof d.componentDidCatch=="function"&&(e.callback=function(){_m(a),Be(i.source,jf,t,a,i),typeof o!="function"&&(ss===null?ss=new Set([this]):ss.add(this)),AT(this,i),typeof o=="function"||(a.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.",ce(a)||"Unknown")})}function Js(e,t,a,i,o){if(a.flags|=32768,dl&&No(e,o),i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=a.alternate,t!==null&&jl(t,a,o,!0),Nt&&(Qc=!0),a=xu.current,a!==null){switch(a.tag){case 13:return $i===null?nd():a.alternate===null&&ml===Kc&&(ml=h0),a.flags&=-257,a.flags|=65536,a.lanes=o,i===Fv?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([i]):t.add(i),Vp(e,i,o)),!1;case 22:return a.flags|=65536,i===Fv?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([i]):a.add(i)),Vp(e,i,o)),!1}throw Error("Unexpected Suspense handler tag ("+a.tag+"). This is a bug in React.")}return Vp(e,i,o),nd(),!1}if(Nt)return Qc=!0,t=xu.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,i!==$v&&oo(qa(Error("There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",{cause:i}),a))):(i!==$v&&oo(qa(Error("There was an error while hydrating but React was able to recover by instead client rendering the entire root.",{cause:i}),a)),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,i=qa(i,a),o=Il(e.stateNode,i,o),ro(e,o),ml!==Lr&&(ml=ph)),!1;var s=qa(Error("There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",{cause:i}),a);if(nm===null?nm=[s]:nm.push(s),ml!==Lr&&(ml=ph),t===null)return!0;i=qa(i,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Il(a.stateNode,i,e),ro(a,e),!1;case 1:if(t=a.type,s=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||s!==null&&typeof s.componentDidCatch=="function"&&(ss===null||!ss.has(s))))return a.flags|=65536,o&=-o,a.lanes|=o,o=il(o),$s(o,e,a,i),ro(a,o),!1}a=a.return}while(a!==null);return!1}function pl(e,t,a,i){t.child=e===null?i1(t,null,a,i):oh(t,e.child,a,i)}function Vf(e,t,a,i,o){a=a.render;var s=t.ref;if("ref"in i){var d={};for(var h in i)h!=="ref"&&(d[h]=i[h])}else d=i;return yi(t),xt(t),i=Si(e,t,a,d,s,o),h=Sa(),Rt(),e!==null&&!aa?(qu(e,t,o),In(e,t,o)):(Nt&&h&&gf(t),t.flags|=1,pl(e,t,i,o),t.child)}function Fn(e,t,a,i,o){if(e===null){var s=a.type;return typeof s=="function"&&!Lh(s)&&s.defaultProps===void 0&&a.compare===null?(a=ic(s),t.tag=15,t.type=a,Xf(t,s),Ks(e,t,a,i,o)):(e=mf(a.type,null,i,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!Kf(e,o)){var d=s.memoizedProps;if(a=a.compare,a=a!==null?a:zs,a(d,i)&&e.ref===t.ref)return In(e,t,o)}return t.flags|=1,e=Vn(s,i),e.ref=t.ref,e.return=t,t.child=e}function Ks(e,t,a,i,o){if(e!==null){var s=e.memoizedProps;if(zs(s,i)&&e.ref===t.ref&&t.type===e.type)if(aa=!1,t.pendingProps=i=s,Kf(e,o))(e.flags&131072)!==0&&(aa=!0);else return t.lanes=e.lanes,In(e,t,o)}return Lf(e,t,a,i,o)}function Gf(e,t,a){var i=t.pendingProps,o=i.children,s=e!==null?e.memoizedState:null;if(i.mode==="hidden"){if((t.flags&128)!==0){if(i=s!==null?s.baseLanes|a:a,e!==null){for(o=t.child=e.child,s=0;o!==null;)s=s|o.lanes|o.childLanes,o=o.sibling;t.childLanes=s&~i}else t.childLanes=0,t.child=null;return Yf(e,t,i,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Tf(t,s!==null?s.cachePool:null),s!==null?ba(t,s):qs(t),Ai(t);else return t.lanes=t.childLanes=536870912,Yf(e,t,s!==null?s.baseLanes|a:a,a)}else s!==null?(Tf(t,s.cachePool),ba(t,s),On(t),t.memoizedState=null):(e!==null&&Tf(t,null),qs(t),On(t));return pl(e,t,o,a),t.child}function Yf(e,t,a,i){var o=ep();return o=o===null?null:{parent:Ql._currentValue,pool:o},t.memoizedState={baseLanes:a,cachePool:o},e!==null&&Tf(t,null),qs(t),Ai(t),e!==null&&jl(e,t,i,!0),null}function Ws(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error("Expected ref to be a function, an object returned by React.createRef(), or undefined/null.");(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Lf(e,t,a,i,o){if(a.prototype&&typeof a.prototype.render=="function"){var s=Ee(a)||"Unknown";b1[s]||(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.",s,s),b1[s]=!0)}return t.mode&Ua&&ti.recordLegacyContextWarning(t,null),e===null&&(Xf(t,t.type),a.contextTypes&&(s=Ee(a)||"Unknown",T1[s]||(T1[s]=!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)",s)))),yi(t),xt(t),a=Si(e,t,a,i,void 0,o),i=Sa(),Rt(),e!==null&&!aa?(qu(e,t,o),In(e,t,o)):(Nt&&i&&gf(t),t.flags|=1,pl(e,t,a,o),t.child)}function yp(e,t,a,i,o,s){return yi(t),xt(t),$c=-1,Ky=e!==null&&e.type!==t.type,t.updateQueue=null,a=yo(t,i,a,o),ws(e,t),i=Sa(),Rt(),e!==null&&!aa?(qu(e,t,s),In(e,t,s)):(Nt&&i&&gf(t),t.flags|=1,pl(e,t,a,s),t.child)}function mp(e,t,a,i,o){switch(Ae(t)){case!1:var s=t.stateNode,d=new t.type(t.memoizedProps,s.context).state;s.updater.enqueueSetState(s,d,null);break;case!0:t.flags|=128,t.flags|=65536,s=Error("Simulated error coming from DevTools");var h=o&-o;if(t.lanes|=h,d=$t,d===null)throw Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");h=il(h),$s(h,d,t,qa(s,t)),ro(t,h)}if(yi(t),t.stateNode===null){if(d=ls,s=a.contextType,"contextType"in a&&s!==null&&(s===void 0||s.$$typeof!==fn)&&!m1.has(a)&&(m1.add(a),h=s===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 s!="object"?" However, it is set to a "+typeof s+".":s.$$typeof===Ud?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(s).join(", ")+"}.",console.error("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Ee(a)||"Component",h)),typeof s=="object"&&s!==null&&(d=Zt(s)),s=new a(i,d),t.mode&Ua){lt(!0);try{s=new a(i,d)}finally{lt(!1)}}if(d=t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=c0,t.stateNode=s,s._reactInternals=t,s._reactInternalInstance=c1,typeof a.getDerivedStateFromProps=="function"&&d===null&&(d=Ee(a)||"Component",s1.has(d)||(s1.add(d),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.",d,s.state===null?"null":"undefined",d))),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"){var g=h=d=null;if(typeof s.componentWillMount=="function"&&s.componentWillMount.__suppressDeprecationWarning!==!0?d="componentWillMount":typeof s.UNSAFE_componentWillMount=="function"&&(d="UNSAFE_componentWillMount"),typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps.__suppressDeprecationWarning!==!0?h="componentWillReceiveProps":typeof s.UNSAFE_componentWillReceiveProps=="function"&&(h="UNSAFE_componentWillReceiveProps"),typeof s.componentWillUpdate=="function"&&s.componentWillUpdate.__suppressDeprecationWarning!==!0?g="componentWillUpdate":typeof s.UNSAFE_componentWillUpdate=="function"&&(g="UNSAFE_componentWillUpdate"),d!==null||h!==null||g!==null){s=Ee(a)||"Component";var b=typeof a.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";f1.has(s)||(f1.add(s),console.error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
208
173
|
|
|
209
174
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
210
175
|
|
|
211
176
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
212
|
-
https://react.dev/link/unsafe-component-lifecycles`,
|
|
213
|
-
`+
|
|
214
|
-
`+
|
|
215
|
-
`+
|
|
216
|
-
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=ne(t)||"Unknown",cA[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),cA[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=ne(t)||"Unknown",uA[t]||(console.error("%s: Function components do not support contextType.",t),uA[t]=!0))}function Ef(e){return{baseLanes:e,cachePool:t0()}}function mp(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=qr),e}function i0(e,t,a){var i,c=t.pendingProps;b(t)&&(t.flags|=128);var h=!1,E=(t.flags&128)!==0;if((i=E)||(i=e!==null&&e.memoizedState===null?!1:(qa.current&Dy)!==0),i&&(h=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(Pt){if(h?zl(t):_r(t),Pt){var x=Fn,N;if(!(N=!x)){e:{var j=x;for(N=io;j.nodeType!==8;){if(!N){N=null;break e}if(j=Da(j.nextSibling),j===null){N=null;break e}}N=j}N!==null?(gr(),t.memoizedState={dehydrated:N,treeContext:rd!==null?{id:oc,overflow:cc}:null,retryLane:536870912,hydrationErrors:null},j=q(18,null,null,_n),j.stateNode=N,j.return=t,t.child=j,Ll=t,Fn=null,N=!0):N=!1,N=!N}N&&(xm(t,x),Pr(t))}if(x=t.memoizedState,x!==null&&(x=x.dehydrated,x!==null))return mi(x)?t.lanes=32:t.lanes=536870912,null;Nl(t)}return x=c.children,c=c.fallback,h?(_r(t),h=t.mode,x=Tf({mode:"hidden",children:x},h),c=_u(c,h,a,null),x.return=t,c.return=t,x.sibling=c,t.child=x,h=t.child,h.memoizedState=Ef(a),h.childLanes=mp(e,i,a),t.memoizedState=lT,c):(zl(t),vp(t,x))}var Se=e.memoizedState;if(Se!==null&&(x=Se.dehydrated,x!==null)){if(E)t.flags&256?(zl(t),t.flags&=-257,t=yp(e,t,a)):t.memoizedState!==null?(_r(t),t.child=e.child,t.flags|=128,t=null):(_r(t),h=c.fallback,x=t.mode,c=Tf({mode:"visible",children:c.children},x),h=_u(h,x,a,null),h.flags|=2,c.return=t,h.return=t,c.sibling=h,t.child=c,Rh(t,e.child,null,a),c=t.child,c.memoizedState=Ef(a),c.childLanes=mp(e,i,a),t.memoizedState=lT,t=h);else if(zl(t),Pt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),mi(x)){if(i=x.nextSibling&&x.nextSibling.dataset,i){N=i.dgst;var _e=i.msg;j=i.stck;var ve=i.cstck}x=_e,i=N,c=j,N=h=ve,h=Error(x||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),h.stack=c||"",h.digest=i,i=N===void 0?null:N,c={value:h,source:null,stack:i},typeof i=="string"&&kE.set(h,c),wc(c),t=yp(e,t,a)}else if(Xa||Ca(e,t,a,!1),i=(a&e.childLanes)!==0,Xa||i){if(i=bn,i!==null&&(c=a&-a,c=(c&42)!==0?1:Xe(c),c=(c&(i.suspendedLanes|a))!==0?0:c,c!==0&&c!==Se.retryLane))throw Se.retryLane=c,ol(e,c),Bn(i,e,c),rA;x.data===mc||Dp(),t=yp(e,t,a)}else x.data===mc?(t.flags|=192,t.child=e.child,t=null):(e=Se.treeContext,Fn=Da(x.nextSibling),Ll=t,Pt=!0,id=null,sc=!1,Ci=null,io=!1,e!==null&&(gr(),xi[Oi++]=oc,xi[Oi++]=cc,xi[Oi++]=rd,oc=e.id,cc=e.overflow,rd=t),t=vp(t,c.children),t.flags|=4096);return t}return h?(_r(t),h=c.fallback,x=t.mode,N=e.child,j=N.sibling,c=Xr(N,{mode:"hidden",children:c.children}),c.subtreeFlags=N.subtreeFlags&65011712,j!==null?h=Xr(j,h):(h=_u(h,x,a,null),h.flags|=2),h.return=t,c.return=t,c.sibling=h,t.child=c,c=h,h=t.child,x=e.child.memoizedState,x===null?x=Ef(a):(N=x.cachePool,N!==null?(j=Na._currentValue,N=N.parent!==j?{parent:j,pool:j}:N):N=t0(),x={baseLanes:x.baseLanes|a,cachePool:N}),h.memoizedState=x,h.childLanes=mp(e,i,a),t.memoizedState=lT,c):(zl(t),a=e.child,e=a.sibling,a=Xr(a,{mode:"visible",children:c.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function vp(e,t){return t=Tf({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Tf(e,t){return e=q(22,e,null,t),e.lanes=0,e.stateNode={_visibility:$0,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function yp(e,t,a){return Rh(t,e.child,null,a),e=vp(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function gp(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),wm(e.return,t,a)}function Jm(e,t){var a=bt(e);return e=!a&&typeof J(e)=="function",a||e?(a=a?"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>",a,t,a),!1):!0}function bp(e,t,a,i,c){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:c}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=i,h.tail=a,h.tailMode=c)}function Im(e,t,a){var i=t.pendingProps,c=i.revealOrder,h=i.tail;if(i=i.children,c!==void 0&&c!=="forwards"&&c!=="backwards"&&c!=="together"&&!sA[c])if(sA[c]=!0,typeof c=="string")switch(c.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',c,c.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.',c,c.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',c)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',c);h===void 0||aT[h]||(h!=="collapsed"&&h!=="hidden"?(aT[h]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',h)):c!=="forwards"&&c!=="backwards"&&(aT[h]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',h)));e:if((c==="forwards"||c==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(bt(i)){for(var E=0;E<i.length;E++)if(!Jm(i[E],E))break e}else if(E=J(i),typeof E=="function"){if(E=E.call(i))for(var x=E.next(),N=0;!x.done;x=E.next()){if(!Jm(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?',c);if(Wn(e,t,i,a),i=qa.current,(i&Dy)!==0)i=i&qh|Dy,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&&gp(e,a,t);else if(e.tag===19)gp(e,a,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}i&=qh}switch(Te(qa,i,t),c){case"forwards":for(a=t.child,c=null;a!==null;)e=a.alternate,e!==null&&Ii(e)===null&&(c=a),a=a.sibling;a=c,a===null?(c=t.child,t.child=null):(c=a.sibling,a.sibling=null),bp(t,!1,c,a,h);break;case"backwards":for(a=null,c=t.child,t.child=null;c!==null;){if(e=c.alternate,e!==null&&Ii(e)===null){t.child=c;break}e=c.sibling,c.sibling=a,a=c,c=e}bp(t,!0,a,null,h);break;case"together":bp(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function li(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),ur=-1,_s|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ca(e,t,a,!1),(a&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,a=Xr(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Xr(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Sp(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Du(e)))}function bE(e,t,a){switch(t.tag){case 3:te(t,t.stateNode.containerInfo),wu(t,Na,e.memoizedState.cache),wo();break;case 27:case 5:k(t);break;case 4:te(t,t.stateNode.containerInfo);break;case 10:wu(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(zl(t),t.flags|=128,null):(a&t.child.childLanes)!==0?i0(e,t,a):(zl(t),e=li(e,t,a),e!==null?e.sibling:null);zl(t);break;case 19:var c=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(Ca(e,t,a,!1),i=(a&t.childLanes)!==0),c){if(i)return Im(e,t,a);t.flags|=128}if(c=t.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Te(qa,qa.current,t),i)break;return null;case 22:case 23:return t.lanes=0,fp(e,t,a);case 24:wu(t,Na,e.memoizedState.cache)}return li(e,t,a)}function Ep(e,t,a){if(t._debugNeedsRemount&&e!==null){a=Vd(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var c=i.child;if(c===null)throw Error("Expected parent to have a child.");for(;c.sibling!==t;)if(c=c.sibling,c===null)throw Error("Expected to find the previous sibling.");c.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)Xa=!0;else{if(!Sp(e,a)&&(t.flags&128)===0)return Xa=!1,bE(e,t,a);Xa=(e.flags&131072)!==0}else Xa=!1,(i=Pt)&&(gr(),i=(t.flags&1048576)!==0),i&&(i=t.index,gr(),Wg(t,X0,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=Os(t.elementType),t.type=e,typeof e=="function")Sm(e)?(i=Bu(e,i),t.tag=1,t.type=e=Co(e),t=Zm(null,t,e,i,a)):(t.tag=0,hp(t,e),t.type=e=Co(e),t=pp(null,t,e,i,a));else{if(e!=null){if(c=e.$$typeof,c===ru){t.tag=11,t.type=e=bm(e),t=sp(null,t,e,i,a);break e}else if(c===Pf){t.tag=14,t=ai(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Ul&&(t=" Did you wrap a component in React.lazy() more than once?"),e=ne(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 pp(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,c=Bu(i,t.pendingProps),Zm(e,t,i,c,a);case 3:e:{if(te(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var h=t.memoizedState;c=h.element,Nu(e,t),zc(t,i,null,a);var E=t.memoizedState;if(i=E.cache,wu(t,Na,i),i!==h.cache&&Dm(t,[Na],a,!0),Jr(),i=E.element,h.isDehydrated)if(h={element:i,isDehydrated:!1,cache:E.cache},t.updateQueue.baseState=h,t.memoizedState=h,t.flags&256){t=Km(e,t,i,a);break e}else if(i!==c){c=Dl(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),wc(c),t=Km(e,t,i,a);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(Fn=Da(e.firstChild),Ll=t,Pt=!0,id=null,sc=!1,Ci=null,io=!0,e=Q_(t,null,i,a),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(wo(),i===c){t=li(e,t,a);break e}Wn(e,t,i,a)}t=t.child}return t;case 26:return Sf(e,t),e===null?(e=lu(t.type,null,t.pendingProps,null))?t.memoizedState=e:Pt||(e=t.type,a=t.pendingProps,i=ce(yi.current),i=Rt(i).createElement(e),i[Ga]=t,i[Sl]=a,Yn(i,e,a),Ut(i),t.stateNode=i):t.memoizedState=lu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return k(t),e===null&&Pt&&(i=ce(yi.current),c=D(),i=t.stateNode=Uv(t.type,t.pendingProps,i,c,!1),sc||(c=fn(i,t.type,t.pendingProps,c),c!==null&&(br(t,0).serverProps=c)),Ll=t,io=!0,c=Fn,hi(t.type)?(AT=c,Fn=Da(i.firstChild)):Fn=c),Wn(e,t,t.pendingProps.children,a),Sf(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Pt&&(h=D(),i=Cc(t.type,h.ancestorInfo),c=Fn,(E=!c)||(E=Qu(c,t.type,t.pendingProps,io),E!==null?(t.stateNode=E,sc||(h=fn(E,t.type,t.pendingProps,h),h!==null&&(br(t,0).serverProps=h)),Ll=t,Fn=Da(E.firstChild),io=!1,h=!0):h=!1,E=!h),E&&(i&&xm(t,c),Pr(t))),k(t),c=t.type,h=t.pendingProps,E=e!==null?e.memoizedProps:null,i=h.children,pi(c,h)?i=null:E!==null&&pi(c,E)&&(t.flags|=32),t.memoizedState!==null&&(c=Hu(e,t,Kl,null,null,a),Gy._currentValue=c),Sf(e,t),Wn(e,t,i,a),t.child;case 6:return e===null&&Pt&&(e=t.pendingProps,a=D(),i=a.ancestorInfo.current,e=i!=null?bo(e,i.tag,a.ancestorInfo.implicitRootScope):!0,a=Fn,(i=!a)||(i=wa(a,t.pendingProps,io),i!==null?(t.stateNode=i,Ll=t,Fn=null,i=!0):i=!1,i=!i),i&&(e&&xm(t,a),Pr(t))),null;case 13:return i0(e,t,a);case 4:return te(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Rh(t,null,i,a):Wn(e,t,i,a),t.child;case 11:return sp(e,t,t.type,t.pendingProps,a);case 7:return Wn(e,t,t.pendingProps,a),t.child;case 8:return Wn(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,Wn(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,c=t.pendingProps,h=c.value,"value"in c||fA||(fA=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),wu(t,i,h),Wn(e,t,c.children,a),t.child;case 9:return c=t.type._context,i=t.pendingProps.children,typeof i!="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."),Mu(t),c=gn(c),Be(t),i=IE(i,c,void 0),$e(),t.flags|=1,Wn(e,t,i,a),t.child;case 14:return ai(e,t,t.type,t.pendingProps,a);case 15:return bf(e,t,t.type,t.pendingProps,a);case 19:return Im(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(e=Tf(i,a),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Xr(e.child,i),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return fp(e,t,a);case 24:return Mu(t),i=gn(Na),e===null?(c=Nm(),c===null&&(c=bn,h=tf(),c.pooledCache=h,Do(h),h!==null&&(c.pooledCacheLanes|=a),c=h),t.memoizedState={parent:i,cache:c},cl(t),wu(t,Na,c)):((e.lanes&a)!==0&&(Nu(e,t),zc(t,null,null,a),Jr()),c=e.memoizedState,h=t.memoizedState,c.parent!==i?(c={parent:i,cache:i},t.memoizedState=c,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=c),wu(t,Na,i)):(i=h.cache,wu(t,Na,i),i!==c.cache&&Dm(t,[Na],a,!0))),Wn(e,t,t.pendingProps.children,a),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 pl(e){e.flags|=4}function xf(e,t){if(t.type!=="stylesheet"||(t.state.loading&Mi)!==Ed)e.flags&=-16777217;else if(e.flags|=16777216,!jf(t)){if(t=Di.current,t!==null&&((Ht&4194048)===Ht?oo!==null:(Ht&62914560)!==Ht&&(Ht&536870912)===0||t!==oo))throw Cy=GE,E_;e.flags|=8192}}function Of(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Pe():536870912,e.lanes|=t,md|=t)}function Vu(e,t){if(!Pt)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function ln(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&nl)!==_n){for(var c=e.selfBaseDuration,h=e.child;h!==null;)a|=h.lanes|h.childLanes,i|=h.subtreeFlags&65011712,i|=h.flags&65011712,c+=h.treeBaseDuration,h=h.sibling;e.treeBaseDuration=c}else for(c=e.child;c!==null;)a|=c.lanes|c.childLanes,i|=c.subtreeFlags&65011712,i|=c.flags&65011712,c.return=e,c=c.sibling;else if((e.mode&nl)!==_n){c=e.actualDuration,h=e.selfBaseDuration;for(var E=e.child;E!==null;)a|=E.lanes|E.childLanes,i|=E.subtreeFlags,i|=E.flags,c+=E.actualDuration,h+=E.treeBaseDuration,E=E.sibling;e.actualDuration=c,e.treeBaseDuration=h}else for(c=e.child;c!==null;)a|=c.lanes|c.childLanes,i|=c.subtreeFlags,i|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function u0(e,t,a){var i=t.pendingProps;switch($d(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ln(t),null;case 1:return ln(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Gi(Na,t),Z(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Ao(t)?(Am(),pl(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,_m())),ln(t),null;case 26:return a=t.memoizedState,e===null?(pl(t),a!==null?(ln(t),xf(t,a)):(ln(t),t.flags&=-16777217)):a?a!==e.memoizedState?(pl(t),ln(t),xf(t,a)):(ln(t),t.flags&=-16777217):(e.memoizedProps!==i&&pl(t),ln(t),t.flags&=-16777217),null;case 27:Y(t),a=ce(yi.current);var c=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pl(t);else{if(!i){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 ln(t),null}e=D(),Ao(t)?Om(t):(e=Uv(c,i,a,e,!0),t.stateNode=e,pl(t))}return ln(t),null;case 5:if(Y(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&pl(t);else{if(!i){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 ln(t),null}if(c=D(),Ao(t))Om(t);else{switch(e=ce(yi.current),Cc(a,c.ancestorInfo),c=c.context,e=Rt(e),c){case Xh:e=e.createElementNS(Ss,a);break;case gb:e=e.createElementNS(ad,a);break;default:switch(a){case"svg":e=e.createElementNS(Ss,a);break;case"math":e=e.createElementNS(ad,a);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?e.createElement("select",{is:i.is}):e.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?e.createElement(a,{is:i.is}):e.createElement(a),a.indexOf("-")===-1&&(a!==a.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||uu.call(MA,a)||(MA[a]=!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.",a)))}}e[Ga]=t,e[Sl]=i;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)e.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=e;e:switch(Yn(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&pl(t)}}return ln(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&pl(t);else{if(typeof i!="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=ce(yi.current),a=D(),Ao(t)){e=t.stateNode,a=t.memoizedProps,c=!sc,i=null;var h=Ll;if(h!==null)switch(h.tag){case 3:c&&(c=Qp(e,a,i),c!==null&&(br(t,0).serverProps=c));break;case 27:case 5:i=h.memoizedProps,c&&(c=Qp(e,a,i),c!==null&&(br(t,0).serverProps=c))}e[Ga]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||_v(e.nodeValue,a)),e||Pr(t)}else c=a.ancestorInfo.current,c!=null&&bo(i,c.tag,a.ancestorInfo.implicitRootScope),e=Rt(e).createTextNode(i),e[Ga]=t,t.stateNode=e}return ln(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(c=Ao(t),i!==null&&i.dehydrated!==null){if(e===null){if(!c)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(c=t.memoizedState,c=c!==null?c.dehydrated:null,!c)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");c[Ga]=t,ln(t),(t.mode&nl)!==_n&&i!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration))}else Am(),wo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,ln(t),(t.mode&nl)!==_n&&i!==null&&(c=t.child,c!==null&&(t.treeBaseDuration-=c.treeBaseDuration));c=!1}else c=_m(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=c),c=!0;if(!c)return t.flags&256?(Nl(t),t):(Nl(t),null)}return Nl(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&nl)!==_n&&Zr(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,c=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(c=i.alternate.memoizedState.cachePool.pool),h=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(h=i.memoizedState.cachePool.pool),h!==c&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),Of(t,t.updateQueue),ln(t),(t.mode&nl)!==_n&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return Z(t),e===null&&Ov(t.stateNode.containerInfo),ln(t),null;case 10:return Gi(t.type,t),ln(t),null;case 19:if(ae(qa,t),c=t.memoizedState,c===null)return ln(t),null;if(i=(t.flags&128)!==0,h=c.rendering,h===null)if(i)Vu(c,!1);else{if(ea!==hc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(h=Ii(e),h!==null){for(t.flags|=128,Vu(c,!1),e=h.updateQueue,t.updateQueue=e,Of(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Em(a,e),a=a.sibling;return Te(qa,qa.current&qh|Dy,t),t.child}e=e.sibling}c.tail!==null&&gi()>ib&&(t.flags|=128,i=!0,Vu(c,!1),t.lanes=4194304)}else{if(!i)if(e=Ii(h),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,Of(t,e),Vu(c,!0),c.tail===null&&c.tailMode==="hidden"&&!h.alternate&&!Pt)return ln(t),null}else 2*gi()-c.renderingStartTime>ib&&a!==536870912&&(t.flags|=128,i=!0,Vu(c,!1),t.lanes=4194304);c.isBackwards?(h.sibling=t.child,t.child=h):(e=c.last,e!==null?e.sibling=h:t.child=h,c.last=h)}return c.tail!==null?(e=c.tail,c.rendering=e,c.tail=e.sibling,c.renderingStartTime=gi(),e.sibling=null,a=qa.current,a=i?a&qh|Dy:a&qh,Te(qa,a,t),e):(ln(t),null);case 22:case 23:return Nl(t),xr(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(ln(t),t.subtreeFlags&6&&(t.flags|=8192)):ln(t),a=t.updateQueue,a!==null&&Of(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&ae(cd,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Gi(Na,t),ln(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 o0(e,t){switch($d(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&nl)!==_n&&Zr(t),t):null;case 3:return Gi(Na,t),Z(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Y(t),null;case 13:if(Nl(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.");wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&nl)!==_n&&Zr(t),t):null;case 19:return ae(qa,t),null;case 4:return Z(t),null;case 10:return Gi(t.type,t),null;case 22:case 23:return Nl(t),xr(t),e!==null&&ae(cd,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&nl)!==_n&&Zr(t),t):null;case 24:return Gi(Na,t),null;case 25:return null;default:return null}}function Wm(e,t){switch($d(t),t.tag){case 3:Gi(Na,t),Z(t);break;case 26:case 27:case 5:Y(t);break;case 4:Z(t);break;case 13:Nl(t);break;case 19:ae(qa,t);break;case 10:Gi(t.type,t);break;case 22:case 23:Nl(t),xr(t),e!==null&&ae(cd,t);break;case 24:Gi(Na,t)}}function Ar(e){return(e.mode&nl)!==_n}function Fm(e,t){Ar(e)?(Er(),ko(t,e),Pl()):ko(t,e)}function Tp(e,t,a){Ar(e)?(Er(),Lo(a,e,t),Pl()):Lo(a,e,t)}function ko(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var c=i.next;a=c;do{if((a.tag&e)===e&&((e&Ra)!==_i?tt!==null&&typeof tt.markComponentPassiveEffectMountStarted=="function"&&tt.markComponentPassiveEffectMountStarted(t):(e&al)!==_i&&tt!==null&&typeof tt.markComponentLayoutEffectMountStarted=="function"&&tt.markComponentLayoutEffectMountStarted(t),i=void 0,(e&Bl)!==_i&&($h=!0),i=Je(t,m3,a),(e&Bl)!==_i&&($h=!1),(e&Ra)!==_i?tt!==null&&typeof tt.markComponentPassiveEffectMountStopped=="function"&&tt.markComponentPassiveEffectMountStopped():(e&al)!==_i&&tt!==null&&typeof tt.markComponentLayoutEffectMountStopped=="function"&&tt.markComponentLayoutEffectMountStopped(),i!==void 0&&typeof i!="function")){var h=void 0;h=(a.tag&al)!==0?"useLayoutEffect":(a.tag&Bl)!==0?"useInsertionEffect":"useEffect";var E=void 0;E=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
177
|
+
https://react.dev/link/unsafe-component-lifecycles`,s,b,d!==null?`
|
|
178
|
+
`+d:"",h!==null?`
|
|
179
|
+
`+h:"",g!==null?`
|
|
180
|
+
`+g:""))}}s=t.stateNode,d=Ee(a)||"Component",s.render||(a.prototype&&typeof a.prototype.render=="function"?console.error("No `render` method found on the %s instance: did you accidentally return an object from the constructor?",d):console.error("No `render` method found on the %s instance: you may have forgotten to define `render`.",d)),!s.getInitialState||s.getInitialState.isReactClassApproved||s.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?",d),s.getDefaultProps&&!s.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.",d),s.contextType&&console.error("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",d),a.childContextTypes&&!y1.has(a)&&(y1.add(a),console.error("%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",d)),a.contextTypes&&!p1.has(a)&&(p1.add(a),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)",d)),typeof s.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.",d),a.prototype&&a.prototype.isPureReactComponent&&typeof s.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.",Ee(a)||"A pure component"),typeof s.componentDidUnmount=="function"&&console.error("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",d),typeof s.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().",d),typeof s.componentWillRecieveProps=="function"&&console.error("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",d),typeof s.UNSAFE_componentWillRecieveProps=="function"&&console.error("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",d),h=s.props!==i,s.props!==void 0&&h&&console.error("When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",d),s.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.",d,d),typeof s.getSnapshotBeforeUpdate!="function"||typeof s.componentDidUpdate=="function"||r1.has(a)||(r1.add(a),console.error("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ee(a))),typeof s.getDerivedStateFromProps=="function"&&console.error("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof s.getDerivedStateFromError=="function"&&console.error("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",d),typeof a.getSnapshotBeforeUpdate=="function"&&console.error("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",d),(h=s.state)&&(typeof h!="object"||ut(h))&&console.error("%s.state: must be set to an object or null",d),typeof s.getChildContext=="function"&&typeof a.childContextTypes!="object"&&console.error("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",d),s=t.stateNode,s.props=i,s.state=t.memoizedState,s.refs={},va(t),d=a.contextType,s.context=typeof d=="object"&&d!==null?Zt(d):ls,s.state===i&&(d=Ee(a)||"Component",d1.has(d)||(d1.add(d),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.",d))),t.mode&Ua&&ti.recordLegacyContextWarning(t,s),ti.recordUnsafeLifecycleWarnings(t,s),s.state=t.memoizedState,d=a.getDerivedStateFromProps,typeof d=="function"&&(nl(t,a,d,i),s.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(d=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),d!==s.state&&(console.error("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ce(t)||"Component"),c0.enqueueReplaceState(s,s.state,null)),fo(t,i,s,o),kn(),s.state=t.memoizedState),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ei)!==Pt&&(t.flags|=134217728),s=!0}else if(e===null){s=t.stateNode;var B=t.memoizedProps;h=Di(a,B),s.props=h;var Q=s.context;g=a.contextType,d=ls,typeof g=="object"&&g!==null&&(d=Zt(g)),b=a.getDerivedStateFromProps,g=typeof b=="function"||typeof s.getSnapshotBeforeUpdate=="function",B=t.pendingProps!==B,g||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(B||Q!==d)&&_f(t,s,i,d),as=!1;var q=t.memoizedState;s.state=q,fo(t,i,s,o),kn(),Q=t.memoizedState,B||q!==Q||as?(typeof b=="function"&&(nl(t,a,b,i),Q=t.memoizedState),(h=as||wf(t,a,h,i,q,Q,d))?(g||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ei)!==Pt&&(t.flags|=134217728)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ei)!==Pt&&(t.flags|=134217728),t.memoizedProps=i,t.memoizedState=Q),s.props=i,s.state=Q,s.context=d,s=h):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),(t.mode&ei)!==Pt&&(t.flags|=134217728),s=!1)}else{s=t.stateNode,gi(e,t),d=t.memoizedProps,g=Di(a,d),s.props=g,b=t.pendingProps,q=s.context,Q=a.contextType,h=ls,typeof Q=="object"&&Q!==null&&(h=Zt(Q)),B=a.getDerivedStateFromProps,(Q=typeof B=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(d!==b||q!==h)&&_f(t,s,i,h),as=!1,q=t.memoizedState,s.state=q,fo(t,i,s,o),kn();var J=t.memoizedState;d!==b||q!==J||as||e!==null&&e.dependencies!==null&&pi(e.dependencies)?(typeof B=="function"&&(nl(t,a,B,i),J=t.memoizedState),(g=as||wf(t,a,g,i,q,J,h)||e!==null&&e.dependencies!==null&&pi(e.dependencies))?(Q||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(i,J,h),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(i,J,h)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=J),s.props=i,s.state=J,s.context=h,s=g):(typeof s.componentDidUpdate!="function"||d===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||d===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),s=!1)}if(h=s,Ws(e,t),d=(t.flags&128)!==0,h||d){if(h=t.stateNode,ms(t),d&&typeof a.getDerivedStateFromError!="function")a=null,pn=-1;else{if(xt(t),a=Zb(h),t.mode&Ua){lt(!0);try{Zb(h)}finally{lt(!1)}}Rt()}t.flags|=1,e!==null&&d?(t.child=oh(t,e.child,null,o),t.child=oh(t,null,a,o)):pl(e,t,a,o),t.memoizedState=h.state,e=t.child}else e=In(e,t,o);return o=t.stateNode,s&&o.props!==i&&(fh||console.error("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ce(t)||"a component"),fh=!0),e}function gp(e,t,a,i){return sc(),t.flags|=256,pl(e,t,a,i),t.child}function Xf(e,t){t&&t.childContextTypes&&console.error(`childContextTypes cannot be defined on a function component.
|
|
181
|
+
%s.childContextTypes = ...`,t.displayName||t.name||"Component"),typeof t.getDerivedStateFromProps=="function"&&(e=Ee(t)||"Unknown",E1[e]||(console.error("%s: Function components do not support getDerivedStateFromProps.",e),E1[e]=!0)),typeof t.contextType=="object"&&t.contextType!==null&&(t=Ee(t)||"Unknown",S1[t]||(console.error("%s: Function components do not support contextType.",t),S1[t]=!0))}function Fs(e){return{baseLanes:e,cachePool:Gm()}}function kf(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=wn),e}function Qm(e,t,a){var i,o=t.pendingProps;re(t)&&(t.flags|=128);var s=!1,d=(t.flags&128)!==0;if((i=d)||(i=e!==null&&e.memoizedState===null?!1:($l.current&Fy)!==0),i&&(s=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(Nt){if(s?_a(t):On(t),Nt){var h=yl,g;if(!(g=!h)){e:{var b=h;for(g=Qi;b.nodeType!==8;){if(!g){g=null;break e}if(b=Ll(b.nextSibling),b===null){g=null;break e}}g=b}g!==null?(bn(),t.memoizedState={dehydrated:g,treeContext:wr!==null?{id:Xc,overflow:kc}:null,retryLane:536870912,hydrationErrors:null},b=ye(18,null,null,Pt),b.stateNode=g,b.return=t,t.child=b,ka=t,yl=null,g=!0):g=!1,g=!g}g&&(Qh(t,h),Gn(t))}if(h=t.memoizedState,h!==null&&(h=h.dehydrated,h!==null))return su(h)?t.lanes=32:t.lanes=536870912,null;Ba(t)}return h=o.children,o=o.fallback,s?(On(t),s=t.mode,h=Is({mode:"hidden",children:h},s),o=fi(o,s,a,null),h.return=t,o.return=t,h.sibling=o,t.child=h,s=t.child,s.memoizedState=Fs(a),s.childLanes=kf(e,i,a),t.memoizedState=f0,o):(_a(t),Qf(t,h))}var B=e.memoizedState;if(B!==null&&(h=B.dehydrated,h!==null)){if(d)t.flags&256?(_a(t),t.flags&=-257,t=Zf(e,t,a)):t.memoizedState!==null?(On(t),t.child=e.child,t.flags|=128,t=null):(On(t),s=o.fallback,h=t.mode,o=Is({mode:"visible",children:o.children},h),s=fi(s,h,a,null),s.flags|=2,o.return=t,s.return=t,o.sibling=s,t.child=o,oh(t,e.child,null,a),o=t.child,o.memoizedState=Fs(a),o.childLanes=kf(e,i,a),t.memoizedState=f0,t=s);else if(_a(t),Nt&&console.error("We should not be hydrating here. This is a bug in React. Please file a bug."),su(h)){if(i=h.nextSibling&&h.nextSibling.dataset,i){g=i.dgst;var Q=i.msg;b=i.stck;var q=i.cstck}h=Q,i=g,o=b,g=s=q,s=Error(h||"The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s.stack=o||"",s.digest=i,i=g===void 0?null:g,o={value:s,source:null,stack:i},typeof i=="string"&&Qv.set(s,o),oo(o),t=Zf(e,t,a)}else if(aa||jl(e,t,a,!1),i=(a&e.childLanes)!==0,aa||i){if(i=$t,i!==null&&(o=a&-a,o=(o&42)!==0?1:Ne(o),o=(o&(i.suspendedLanes|a))!==0?0:o,o!==0&&o!==B.retryLane))throw B.retryLane=o,ga(e,o),cl(i,e,o),v1;h.data===Wc||nd(),t=Zf(e,t,a)}else h.data===Wc?(t.flags|=192,t.child=e.child,t=null):(e=B.treeContext,yl=Ll(h.nextSibling),ka=t,Nt=!0,_r=null,Qc=!1,bu=null,Qi=!1,e!==null&&(bn(),gu[vu++]=Xc,gu[vu++]=kc,gu[vu++]=wr,Xc=e.id,kc=e.overflow,wr=t),t=Qf(t,o.children),t.flags|=4096);return t}return s?(On(t),s=o.fallback,h=t.mode,g=e.child,b=g.sibling,o=Vn(g,{mode:"hidden",children:o.children}),o.subtreeFlags=g.subtreeFlags&65011712,b!==null?s=Vn(b,s):(s=fi(s,h,a,null),s.flags|=2),s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,h=e.child.memoizedState,h===null?h=Fs(a):(g=h.cachePool,g!==null?(b=Ql._currentValue,g=g.parent!==b?{parent:b,pool:b}:g):g=Gm(),h={baseLanes:h.baseLanes|a,cachePool:g}),s.memoizedState=h,s.childLanes=kf(e,i,a),t.memoizedState=f0,o):(_a(t),a=e.child,e=a.sibling,a=Vn(a,{mode:"visible",children:o.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function Qf(e,t){return t=Is({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Is(e,t){return e=ye(22,e,null,t),e.lanes=0,e.stateNode={_visibility:Mg,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Zf(e,t,a){return oh(t,e.child,null,a),e=Qf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function $f(e,t,a){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Wh(e.return,t,a)}function vp(e,t){var a=ut(e);return e=!a&&typeof ge(e)=="function",a||e?(a=a?"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>",a,t,a),!1):!0}function Jf(e,t,a,i,o){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:a,tailMode:o}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=i,s.tail=a,s.tailMode=o)}function bp(e,t,a){var i=t.pendingProps,o=i.revealOrder,s=i.tail;if(i=i.children,o!==void 0&&o!=="forwards"&&o!=="backwards"&&o!=="together"&&!x1[o])if(x1[o]=!0,typeof o=="string")switch(o.toLowerCase()){case"together":case"forwards":case"backwards":console.error('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',o,o.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.',o,o.toLowerCase());break;default:console.error('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o)}else console.error('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',o);s===void 0||r0[s]||(s!=="collapsed"&&s!=="hidden"?(r0[s]=!0,console.error('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',s)):o!=="forwards"&&o!=="backwards"&&(r0[s]=!0,console.error('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',s)));e:if((o==="forwards"||o==="backwards")&&i!==void 0&&i!==null&&i!==!1)if(ut(i)){for(var d=0;d<i.length;d++)if(!vp(i[d],d))break e}else if(d=ge(i),typeof d=="function"){if(d=d.call(i))for(var h=d.next(),g=0;!h.done;h=d.next()){if(!vp(h.value,g))break e;g++}}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?',o);if(pl(e,t,i,a),i=$l.current,(i&Fy)!==0)i=i&sh|Fy,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&&$f(e,a,t);else if(e.tag===19)$f(e,a,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}i&=sh}switch(Ce($l,i,t),o){case"forwards":for(a=t.child,o=null;a!==null;)e=a.alternate,e!==null&&Vu(e)===null&&(o=a),a=a.sibling;a=o,a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),Jf(t,!1,o,a,s);break;case"backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Vu(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}Jf(t,!0,a,null,s);break;case"together":Jf(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function In(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),pn=-1,cs|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(jl(e,t,a,!1),(a&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,a=Vn(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=Vn(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function Kf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&pi(e)))}function zv(e,t,a){switch(t.tag){case 3:F(t,t.stateNode.containerInfo),hi(t,Ql,e.memoizedState.cache),sc();break;case 27:case 5:R(t);break;case 4:F(t,t.stateNode.containerInfo);break;case 10:hi(t,t.type,t.memoizedProps.value);break;case 12:(a&t.childLanes)!==0&&(t.flags|=4),t.flags|=2048;var i=t.stateNode;i.effectDuration=-0,i.passiveEffectDuration=-0;break;case 13:if(i=t.memoizedState,i!==null)return i.dehydrated!==null?(_a(t),t.flags|=128,null):(a&t.child.childLanes)!==0?Qm(e,t,a):(_a(t),e=In(e,t,a),e!==null?e.sibling:null);_a(t);break;case 19:var o=(e.flags&128)!==0;if(i=(a&t.childLanes)!==0,i||(jl(e,t,a,!1),i=(a&t.childLanes)!==0),o){if(i)return bp(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ce($l,$l.current,t),i)break;return null;case 22:case 23:return t.lanes=0,Gf(e,t,a);case 24:hi(t,Ql,e.memoizedState.cache)}return In(e,t,a)}function Wf(e,t,a){if(t._debugNeedsRemount&&e!==null){a=mf(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes),a._debugStack=t._debugStack,a._debugTask=t._debugTask;var i=t.return;if(i===null)throw Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,a.index=t.index,a.sibling=t.sibling,a.return=t.return,a.ref=t.ref,a._debugInfo=t._debugInfo,t===i.child)i.child=a;else{var o=i.child;if(o===null)throw Error("Expected parent to have a child.");for(;o.sibling!==t;)if(o=o.sibling,o===null)throw Error("Expected to find the previous sibling.");o.sibling=a}return t=i.deletions,t===null?(i.deletions=[e],i.flags|=16):t.push(e),a.flags|=2,a}if(e!==null)if(e.memoizedProps!==t.pendingProps||t.type!==e.type)aa=!0;else{if(!Kf(e,a)&&(t.flags&128)===0)return aa=!1,zv(e,t,a);aa=(e.flags&131072)!==0}else aa=!1,(i=Nt)&&(bn(),i=(t.flags&1048576)!==0),i&&(i=t.index,bn(),Bm(t,Cg,i));switch(t.lanes=0,t.tag){case 16:e:if(i=t.pendingProps,e=us(t.elementType),t.type=e,typeof e=="function")Lh(e)?(i=Di(e,i),t.tag=1,t.type=e=ic(e),t=mp(null,t,e,i,a)):(t.tag=0,Xf(t,e),t.type=e=ic(e),t=Lf(null,t,e,i,a));else{if(e!=null){if(o=e.$$typeof,o===$u){t.tag=11,t.type=e=Yh(e),t=Vf(null,t,e,i,a);break e}else if(o===Er){t.tag=14,t=Fn(null,t,e,i,a);break e}}throw t="",e!==null&&typeof e=="object"&&e.$$typeof===Ya&&(t=" Did you wrap a component in React.lazy() more than once?"),e=Ee(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 Lf(e,t,t.type,t.pendingProps,a);case 1:return i=t.type,o=Di(i,t.pendingProps),mp(e,t,i,o,a);case 3:e:{if(F(t,t.stateNode.containerInfo),e===null)throw Error("Should have a current fiber. This is a bug in React.");i=t.pendingProps;var s=t.memoizedState;o=s.element,gi(e,t),fo(t,i,null,a);var d=t.memoizedState;if(i=d.cache,hi(t,Ql,i),i!==s.cache&&Fh(t,[Ql],a,!0),kn(),i=d.element,s.isDehydrated)if(s={element:i,isDehydrated:!1,cache:d.cache},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){t=gp(e,t,i,a);break e}else if(i!==o){o=qa(Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t),oo(o),t=gp(e,t,i,a);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(yl=Ll(e.firstChild),ka=t,Nt=!0,_r=null,Qc=!1,bu=null,Qi=!0,e=i1(t,null,i,a),t.child=e;e;)e.flags=e.flags&-3|4096,e=e.sibling}else{if(sc(),i===o){t=In(e,t,a);break e}pl(e,t,i,a)}t=t.child}return t;case 26:return Ws(e,t),e===null?(e=Zu(t.type,null,t.pendingProps,null))?t.memoizedState=e:Nt||(e=t.type,a=t.pendingProps,i=Ie(fu.current),i=vt(i).createElement(e),i[la]=t,i[Ra]=a,sl(i,e,a),tl(i),t.stateNode=i):t.memoizedState=Zu(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return R(t),e===null&&Nt&&(i=Ie(fu.current),o=S(),i=t.stateNode=ny(t.type,t.pendingProps,i,o,!1),Qc||(o=kt(i,t.type,t.pendingProps,o),o!==null&&(Sn(t,0).serverProps=o)),ka=t,Qi=!0,o=yl,ou(t.type)?(q0=o,yl=Ll(i.firstChild)):yl=o),pl(e,t,t.pendingProps.children,a),Ws(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Nt&&(s=S(),i=cf(t.type,s.ancestorInfo),o=yl,(d=!o)||(d=Hi(o,t.type,t.pendingProps,Qi),d!==null?(t.stateNode=d,Qc||(s=kt(d,t.type,t.pendingProps,s),s!==null&&(Sn(t,0).serverProps=s)),ka=t,yl=Ll(d.firstChild),Qi=!1,s=!0):s=!1,d=!s),d&&(i&&Qh(t,o),Gn(t))),R(t),o=t.type,s=t.pendingProps,d=e!==null?e.memoizedProps:null,i=s.children,cu(o,s)?i=null:d!==null&&cu(o,d)&&(t.flags|=32),t.memoizedState!==null&&(o=Si(e,t,tn,null,null,a),dm._currentValue=o),Ws(e,t),pl(e,t,i,a),t.child;case 6:return e===null&&Nt&&(e=t.pendingProps,a=S(),i=a.ancestorInfo.current,e=i!=null?Es(e,i.tag,a.ancestorInfo.implicitRootScope):!0,a=yl,(i=!a)||(i=Yl(a,t.pendingProps,Qi),i!==null?(t.stateNode=i,ka=t,yl=null,i=!0):i=!1,i=!i),i&&(e&&Qh(t,a),Gn(t))),null;case 13:return Qm(e,t,a);case 4:return F(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=oh(t,null,i,a):pl(e,t,i,a),t.child;case 11:return Vf(e,t,t.type,t.pendingProps,a);case 7:return pl(e,t,t.pendingProps,a),t.child;case 8:return pl(e,t,t.pendingProps.children,a),t.child;case 12:return t.flags|=4,t.flags|=2048,i=t.stateNode,i.effectDuration=-0,i.passiveEffectDuration=-0,pl(e,t,t.pendingProps.children,a),t.child;case 10:return i=t.type,o=t.pendingProps,s=o.value,"value"in o||A1||(A1=!0,console.error("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?")),hi(t,i,s),pl(e,t,o.children,a),t.child;case 9:return o=t.type._context,i=t.pendingProps.children,typeof i!="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."),yi(t),o=Zt(o),xt(t),i=n0(i,o,void 0),Rt(),t.flags|=1,pl(e,t,i,a),t.child;case 14:return Fn(e,t,t.type,t.pendingProps,a);case 15:return Ks(e,t,t.type,t.pendingProps,a);case 19:return bp(e,t,a);case 31:return i=t.pendingProps,a=t.mode,i={mode:i.mode,children:i.children},e===null?(e=Is(i,a),e.ref=t.ref,t.child=e,e.return=t,t=e):(e=Vn(e.child,i),e.ref=t.ref,t.child=e,e.return=t,t=e),t;case 22:return Gf(e,t,a);case 24:return yi(t),i=Zt(Ql),e===null?(o=ep(),o===null&&(o=$t,s=Hs(),o.pooledCache=s,rc(s),s!==null&&(o.pooledCacheLanes|=a),o=s),t.memoizedState={parent:i,cache:o},va(t),hi(t,Ql,o)):((e.lanes&a)!==0&&(gi(e,t),fo(t,null,null,a),kn()),o=e.memoizedState,s=t.memoizedState,o.parent!==i?(o={parent:i,cache:i},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),hi(t,Ql,i)):(i=s.cache,hi(t,Ql,i),i!==o.cache&&Fh(t,[Ql],a,!0))),pl(e,t,t.pendingProps.children,a),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 Ea(e){e.flags|=4}function Ps(e,t){if(t.type!=="stylesheet"||(t.state.loading&Au)!==Fr)e.flags&=-16777217;else if(e.flags|=16777216,!hr(t)){if(t=xu.current,t!==null&&((Et&4194048)===Et?$i!==null:(Et&62914560)!==Et&&(Et&536870912)===0||t!==$i))throw $y=Fv,qb;e.flags|=8192}}function er(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Ue():536870912,e.lanes|=t,Qr|=t)}function zi(e,t){if(!Nt)switch(e.tailMode){case"hidden":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null;break;case"collapsed":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null}}function Yt(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,i=0;if(t)if((e.mode&ha)!==Pt){for(var o=e.selfBaseDuration,s=e.child;s!==null;)a|=s.lanes|s.childLanes,i|=s.subtreeFlags&65011712,i|=s.flags&65011712,o+=s.treeBaseDuration,s=s.sibling;e.treeBaseDuration=o}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags&65011712,i|=o.flags&65011712,o.return=e,o=o.sibling;else if((e.mode&ha)!==Pt){o=e.actualDuration,s=e.selfBaseDuration;for(var d=e.child;d!==null;)a|=d.lanes|d.childLanes,i|=d.subtreeFlags,i|=d.flags,o+=d.actualDuration,s+=d.treeBaseDuration,d=d.sibling;e.actualDuration=o,e.treeBaseDuration=s}else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,i|=o.subtreeFlags,i|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=i,e.childLanes=a,t}function Zm(e,t,a){var i=t.pendingProps;switch(vf(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yt(t),null;case 1:return Yt(t),null;case 3:return a=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Hu(Ql,t),K(t),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(oc(t)?(Kh(),Ea(t)):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Jh())),Yt(t),null;case 26:return a=t.memoizedState,e===null?(Ea(t),a!==null?(Yt(t),Ps(t,a)):(Yt(t),t.flags&=-16777217)):a?a!==e.memoizedState?(Ea(t),Yt(t),Ps(t,a)):(Yt(t),t.flags&=-16777217):(e.memoizedProps!==i&&Ea(t),Yt(t),t.flags&=-16777217),null;case 27:U(t),a=Ie(fu.current);var o=t.type;if(e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Ea(t);else{if(!i){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 Yt(t),null}e=S(),oc(t)?Zh(t):(e=ny(o,i,a,e,!0),t.stateNode=e,Ea(t))}return Yt(t),null;case 5:if(U(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Ea(t);else{if(!i){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 Yt(t),null}if(o=S(),oc(t))Zh(t);else{switch(e=Ie(fu.current),cf(a,o.ancestorInfo),o=o.context,e=vt(e),o){case Sh:e=e.createElementNS(ts,a);break;case av:e=e.createElementNS(Nr,a);break;default:switch(a){case"svg":e=e.createElementNS(ts,a);break;case"math":e=e.createElementNS(Nr,a);break;case"script":e=e.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof i.is=="string"?e.createElement("select",{is:i.is}):e.createElement("select"),i.multiple?e.multiple=!0:i.size&&(e.size=i.size);break;default:e=typeof i.is=="string"?e.createElement(a,{is:i.is}):e.createElement(a),a.indexOf("-")===-1&&(a!==a.toLowerCase()&&console.error("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",a),Object.prototype.toString.call(e)!=="[object HTMLUnknownElement]"||Ku.call(X1,a)||(X1[a]=!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.",a)))}}e[la]=t,e[Ra]=i;e:for(o=t.child;o!==null;){if(o.tag===5||o.tag===6)e.appendChild(o.stateNode);else if(o.tag!==4&&o.tag!==27&&o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;o.sibling===null;){if(o.return===null||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(sl(e,a,i),a){case"button":case"input":case"select":case"textarea":e=!!i.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&Ea(t)}}return Yt(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Ea(t);else{if(typeof i!="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=Ie(fu.current),a=S(),oc(t)){e=t.stateNode,a=t.memoizedProps,o=!Qc,i=null;var s=ka;if(s!==null)switch(s.tag){case 3:o&&(o=Ed(e,a,i),o!==null&&(Sn(t,0).serverProps=o));break;case 27:case 5:i=s.memoizedProps,o&&(o=Ed(e,a,i),o!==null&&(Sn(t,0).serverProps=o))}e[la]=t,e=!!(e.nodeValue===a||i!==null&&i.suppressHydrationWarning===!0||Jp(e.nodeValue,a)),e||Gn(t)}else o=a.ancestorInfo.current,o!=null&&Es(i,o.tag,a.ancestorInfo.implicitRootScope),e=vt(e).createTextNode(i),e[la]=t,t.stateNode=e}return Yt(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=oc(t),i!==null&&i.dehydrated!==null){if(e===null){if(!o)throw Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");o[la]=t,Yt(t),(t.mode&ha)!==Pt&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration))}else Kh(),sc(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4,Yt(t),(t.mode&ha)!==Pt&&i!==null&&(o=t.child,o!==null&&(t.treeBaseDuration-=o.treeBaseDuration));o=!1}else o=Jh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Ba(t),t):(Ba(t),null)}return Ba(t),(t.flags&128)!==0?(t.lanes=a,(t.mode&ha)!==Pt&&Ln(t),t):(a=i!==null,e=e!==null&&e.memoizedState!==null,a&&(i=t.child,o=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(o=i.alternate.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==o&&(i.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),er(t,t.updateQueue),Yt(t),(t.mode&ha)!==Pt&&a&&(e=t.child,e!==null&&(t.treeBaseDuration-=e.treeBaseDuration)),null);case 4:return K(t),e===null&&Zp(t.stateNode.containerInfo),Yt(t),null;case 10:return Hu(t.type,t),Yt(t),null;case 19:if(Te($l,t),o=t.memoizedState,o===null)return Yt(t),null;if(i=(t.flags&128)!==0,s=o.rendering,s===null)if(i)zi(o,!1);else{if(ml!==Kc||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(s=Vu(e),s!==null){for(t.flags|=128,zi(o,!1),e=s.updateQueue,t.updateQueue=e,er(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)Xh(a,e),a=a.sibling;return Ce($l,$l.current&sh|Fy,t),t.child}e=e.sibling}o.tail!==null&&du()>Qg&&(t.flags|=128,i=!0,zi(o,!1),t.lanes=4194304)}else{if(!i)if(e=Vu(s),e!==null){if(t.flags|=128,i=!0,e=e.updateQueue,t.updateQueue=e,er(t,e),zi(o,!0),o.tail===null&&o.tailMode==="hidden"&&!s.alternate&&!Nt)return Yt(t),null}else 2*du()-o.renderingStartTime>Qg&&a!==536870912&&(t.flags|=128,i=!0,zi(o,!1),t.lanes=4194304);o.isBackwards?(s.sibling=t.child,t.child=s):(e=o.last,e!==null?e.sibling=s:t.child=s,o.last=s)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=du(),e.sibling=null,a=$l.current,a=i?a&sh|Fy:a&sh,Ce($l,a,t),e):(Yt(t),null);case 22:case 23:return Ba(t),An(t),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(a&536870912)!==0&&(t.flags&128)===0&&(Yt(t),t.subtreeFlags&6&&(t.flags|=8192)):Yt(t),a=t.updateQueue,a!==null&&er(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==a&&(t.flags|=2048),e!==null&&Te(Vr,t),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Hu(Ql,t),Yt(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 $m(e,t){switch(vf(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ha)!==Pt&&Ln(t),t):null;case 3:return Hu(Ql,t),K(t),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return U(t),null;case 13:if(Ba(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.");sc()}return e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ha)!==Pt&&Ln(t),t):null;case 19:return Te($l,t),null;case 4:return K(t),null;case 10:return Hu(t.type,t),null;case 22:case 23:return Ba(t),An(t),e!==null&&Te(Vr,t),e=t.flags,e&65536?(t.flags=e&-65537|128,(t.mode&ha)!==Pt&&Ln(t),t):null;case 24:return Hu(Ql,t),null;case 25:return null;default:return null}}function Sp(e,t){switch(vf(t),t.tag){case 3:Hu(Ql,t),K(t);break;case 26:case 27:case 5:U(t);break;case 4:K(t);break;case 13:Ba(t);break;case 19:Te($l,t);break;case 10:Hu(t.type,t);break;case 22:case 23:Ba(t),An(t),e!==null&&Te(Vr,t);break;case 24:Hu(Ql,t)}}function Mn(e){return(e.mode&ha)!==Pt}function Tp(e,t){Mn(e)?(En(),bc(t,e),Ia()):bc(t,e)}function Ff(e,t,a){Mn(e)?(En(),Sc(a,e,t),Ia()):Sc(a,e,t)}function bc(e,t){try{var a=t.updateQueue,i=a!==null?a.lastEffect:null;if(i!==null){var o=i.next;a=o;do{if((a.tag&e)===e&&((e&Zl)!==Su?He!==null&&typeof He.markComponentPassiveEffectMountStarted=="function"&&He.markComponentPassiveEffectMountStarted(t):(e&pa)!==Su&&He!==null&&typeof He.markComponentLayoutEffectMountStarted=="function"&&He.markComponentLayoutEffectMountStarted(t),i=void 0,(e&Qa)!==Su&&(vh=!0),i=Be(t,DT,a),(e&Qa)!==Su&&(vh=!1),(e&Zl)!==Su?He!==null&&typeof He.markComponentPassiveEffectMountStopped=="function"&&He.markComponentPassiveEffectMountStopped():(e&pa)!==Su&&He!==null&&typeof He.markComponentLayoutEffectMountStopped=="function"&&He.markComponentLayoutEffectMountStopped(),i!==void 0&&typeof i!="function")){var s=void 0;s=(a.tag&pa)!==0?"useLayoutEffect":(a.tag&Qa)!==0?"useInsertionEffect":"useEffect";var d=void 0;d=i===null?" You returned null. If your effect does not require clean up, return undefined (or nothing).":typeof i.then=="function"?`
|
|
217
182
|
|
|
218
|
-
It looks like you wrote `+
|
|
183
|
+
It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
|
|
219
184
|
|
|
220
|
-
`+
|
|
185
|
+
`+s+`(() => {
|
|
221
186
|
async function fetchData() {
|
|
222
187
|
// You can await here
|
|
223
188
|
const response = await MyAPI.getData(someId);
|
|
@@ -226,11 +191,11 @@ It looks like you wrote `+h+`(async () => ...) or returned a Promise. Instead, w
|
|
|
226
191
|
fetchData();
|
|
227
192
|
}, [someId]); // Or [] if effect doesn't need props or state
|
|
228
193
|
|
|
229
|
-
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,Je(t,function(x,N){console.error("%s must not return anything besides a function, which is used for clean-up.%s",x,N)},h,E)}a=a.next}while(a!==c)}}catch(x){ht(t,t.return,x)}}function Lo(e,t,a){try{var i=t.updateQueue,c=i!==null?i.lastEffect:null;if(c!==null){var h=c.next;i=h;do{if((i.tag&e)===e){var E=i.inst,x=E.destroy;x!==void 0&&(E.destroy=void 0,(e&Ra)!==_i?tt!==null&&typeof tt.markComponentPassiveEffectUnmountStarted=="function"&&tt.markComponentPassiveEffectUnmountStarted(t):(e&al)!==_i&&tt!==null&&typeof tt.markComponentLayoutEffectUnmountStarted=="function"&&tt.markComponentLayoutEffectUnmountStarted(t),(e&Bl)!==_i&&($h=!0),c=t,Je(c,v3,c,a,x),(e&Bl)!==_i&&($h=!1),(e&Ra)!==_i?tt!==null&&typeof tt.markComponentPassiveEffectUnmountStopped=="function"&&tt.markComponentPassiveEffectUnmountStopped():(e&al)!==_i&&tt!==null&&typeof tt.markComponentLayoutEffectUnmountStopped=="function"&&tt.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==h)}}catch(N){ht(t,t.return,N)}}function ev(e,t){Ar(e)?(Er(),ko(t,e),Pl()):ko(t,e)}function Cf(e,t,a){Ar(e)?(Er(),Lo(a,e,t),Pl()):Lo(a,e,t)}function tv(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||Uh||(a.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.",W(e)||"instance"),a.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.",W(e)||"instance"));try{Je(e,n0,t,a)}catch(i){ht(e,e.return,i)}}}function c0(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function SE(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||Uh||(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.",W(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.",W(e)||"instance"));try{var c=Bu(e.type,a,e.elementType===e.type),h=Je(e,c0,t,c,i);a=dA,h!==void 0||a.has(e.type)||(a.add(e.type),Je(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",W(e))})),t.__reactInternalSnapshotBeforeUpdate=h}catch(E){ht(e,e.return,E)}}function xp(e,t,a){a.props=Bu(e.type,e.memoizedProps),a.state=e.memoizedState,Ar(e)?(Er(),Je(e,L_,e,t,a),Pl()):Je(e,L_,e,t,a)}function s0(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(Ar(e))try{Er(),e.refCleanup=t(a)}finally{Pl()}else e.refCleanup=t(a);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().",W(e)),t.current=a}}function Xc(e,t){try{Je(e,s0,e)}catch(a){ht(e,t,a)}}function er(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(Ar(e))try{Er(),Je(e,i)}finally{Pl(e)}else Je(e,i)}catch(c){ht(e,t,c)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(Ar(e))try{Er(),Je(e,a,null)}finally{Pl(e)}else Je(e,a,null)}catch(c){ht(e,t,c)}else a.current=null}function nv(e,t,a,i){var c=e.memoizedProps,h=c.id,E=c.onCommit;c=c.onRender,t=t===null?"mount":"update",Z0&&(t="nested-update"),typeof c=="function"&&c(h,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof E=="function"&&E(e.memoizedProps.id,t,i,a)}function f0(e,t,a,i){var c=e.memoizedProps;e=c.id,c=c.onPostCommit,t=t===null?"mount":"update",Z0&&(t="nested-update"),typeof c=="function"&&c(e,t,i,a)}function d0(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{Je(e,nu,i,t,a,e)}catch(c){ht(e,e.return,c)}}function av(e,t,a){try{Je(e,$n,e.stateNode,e.type,a,t,e)}catch(i){ht(e,e.return,i)}}function lv(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&hi(e.type)||e.tag===4}function Bo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lv(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&&hi(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 _f(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=tu));else if(i!==4&&(i===27&&hi(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(_f(e,t,a),e=e.sibling;e!==null;)_f(e,t,a),e=e.sibling}function Vo(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&hi(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Vo(e,t,a),e=e.sibling;e!==null;)Vo(e,t,a),e=e.sibling}function p0(e){for(var t,a=e.return;a!==null;){if(lv(a)){t=a;break}a=a.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,a=Bo(e),Vo(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(au(a),t.flags&=-33),t=Bo(e),Vo(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=Bo(e),_f(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function rv(e){var t=e.stateNode,a=e.memoizedProps;try{Je(e,Hl,e.type,a,t,e)}catch(i){ht(e,e.return,i)}}function Op(e,t){if(e=e.containerInfo,OT=Tb,e=Qg(e),ym(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var c=i.anchorOffset,h=i.focusNode;i=i.focusOffset;try{a.nodeType,h.nodeType}catch{a=null;break e}var E=0,x=-1,N=-1,j=0,Se=0,_e=e,ve=null;t:for(;;){for(var we;_e!==a||c!==0&&_e.nodeType!==3||(x=E+c),_e!==h||i!==0&&_e.nodeType!==3||(N=E+i),_e.nodeType===3&&(E+=_e.nodeValue.length),(we=_e.firstChild)!==null;)ve=_e,_e=we;for(;;){if(_e===e)break t;if(ve===a&&++j===c&&(x=E),ve===h&&++Se===i&&(N=E),(we=_e.nextSibling)!==null)break;_e=ve,ve=_e.parentNode}_e=we}a=x===-1||N===-1?null:{start:x,end:N}}else a=null}a=a||{start:0,end:0}}else a=null;for(CT={focusedElem:e,selectionRange:a},Tb=!1,Pa=t;Pa!==null;)if(t=Pa,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,Pa=e;else for(;Pa!==null;){switch(e=t=Pa,a=e.alternate,c=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(c&1024)!==0&&a!==null&&SE(e,a);break;case 3:if((c&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)ns(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":ns(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((c&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,Pa=e;break}Pa=t.return}}function iv(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:ri(e,a),i&4&&Fm(a,al|Ai);break;case 1:if(ri(e,a),i&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||Uh||(e.props!==a.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.",W(a)||"instance"),e.state!==a.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.",W(a)||"instance")),Ar(a)?(Er(),Je(a,WE,a,e),Pl()):Je(a,WE,a,e);else{var c=Bu(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||Uh||(e.props!==a.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.",W(a)||"instance"),e.state!==a.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.",W(a)||"instance")),Ar(a)?(Er(),Je(a,U_,a,e,c,t,e.__reactInternalSnapshotBeforeUpdate),Pl()):Je(a,U_,a,e,c,t,e.__reactInternalSnapshotBeforeUpdate)}i&64&&tv(a),i&512&&Xc(a,a.return);break;case 3:if(t=Sr(),ri(e,a),i&64&&(i=a.updateQueue,i!==null)){if(c=null,a.child!==null)switch(a.child.tag){case 27:case 5:c=a.child.stateNode;break;case 1:c=a.child.stateNode}try{Je(a,n0,i,c)}catch(E){ht(a,a.return,E)}}e.effectDuration+=zu(t);break;case 27:t===null&&i&4&&rv(a);case 26:case 5:ri(e,a),t===null&&i&4&&d0(a),i&512&&Xc(a,a.return);break;case 12:if(i&4){i=Sr(),ri(e,a),e=a.stateNode,e.effectDuration+=Mo(i);try{Je(a,nv,a,t,Q0,e.effectDuration)}catch(E){ht(a,a.return,E)}}else ri(e,a);break;case 13:ri(e,a),i&4&&Pc(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=qf.bind(null,a),as(e,a))));break;case 22:if(i=a.memoizedState!==null||pc,!i){t=t!==null&&t.memoizedState!==null||pa,c=pc;var h=pa;pc=i,(pa=t)&&!h?ii(e,a,(a.subtreeFlags&8772)!==0):ri(e,a),pc=c,pa=h}break;case 30:break;default:ri(e,a)}}function uv(e){var t=e.alternate;t!==null&&(e.alternate=null,uv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Mn(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 Wi(e,t,a){for(a=a.child;a!==null;)Yo(e,t,a),a=a.sibling}function Yo(e,t,a){if(Ma&&typeof Ma.onCommitFiberUnmount=="function")try{Ma.onCommitFiberUnmount(eo,a)}catch(h){bl||(bl=!0,console.error("React instrumentation encountered an error: %s",h))}switch(a.tag){case 26:pa||er(a,t),Wi(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:pa||er(a,t);var i=Ta,c=or;hi(a.type)&&(Ta=a.stateNode,or=!1),Wi(e,t,a),Je(a,rs,a.stateNode),Ta=i,or=c;break;case 5:pa||er(a,t);case 6:if(i=Ta,c=or,Ta=null,Wi(e,t,a),Ta=i,or=c,Ta!==null)if(or)try{Je(a,es,Ta,a.stateNode)}catch(h){ht(a,t,h)}else try{Je(a,ar,Ta,a.stateNode)}catch(h){ht(a,t,h)}break;case 18:Ta!==null&&(or?(e=Ta,ts(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),tc(e)):ts(Ta,a.stateNode));break;case 4:i=Ta,c=or,Ta=a.stateNode.containerInfo,or=!0,Wi(e,t,a),Ta=i,or=c;break;case 0:case 11:case 14:case 15:pa||Lo(Bl,a,t),pa||Tp(a,t,al),Wi(e,t,a);break;case 1:pa||(er(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&xp(a,t,i)),Wi(e,t,a);break;case 21:Wi(e,t,a);break;case 22:pa=(i=pa)||a.memoizedState!==null,Wi(e,t,a),pa=i;break;default:Wi(e,t,a)}}function Pc(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Je(t,ql,e)}catch(a){ht(t,t.return,a)}}function Cp(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new pA),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new pA),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function $o(e,t){var a=Cp(e);t.forEach(function(i){var c=Xu.bind(null,e,i);if(!a.has(i)){if(a.add(i),Xn)if(jh!==null&&kh!==null)Wc(kh,jh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(c,c)}})}function Va(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var c=e,h=t,E=a[i],x=h;e:for(;x!==null;){switch(x.tag){case 27:if(hi(x.type)){Ta=x.stateNode,or=!1;break e}break;case 5:Ta=x.stateNode,or=!1;break e;case 3:case 4:Ta=x.stateNode.containerInfo,or=!0;break e}x=x.return}if(Ta===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Yo(c,h,E),Ta=null,or=!1,c=E,h=c.alternate,h!==null&&(h.return=null),c.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)ov(t,e),t=t.sibling}function ov(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Va(t,e),hl(e),i&4&&(Lo(Bl|Ai,e,e.return),ko(Bl|Ai,e),Tp(e,e.return,al|Ai));break;case 1:Va(t,e),hl(e),i&512&&(pa||a===null||er(a,a.return)),i&64&&pc&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var c=mu;if(Va(t,e),hl(e),i&512&&(pa||a===null||er(a,a.return)),i&4)if(t=a!==null?a.memoizedState:null,i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,t=c.ownerDocument||c;t:switch(i){case"title":c=t.getElementsByTagName("title")[0],(!c||c[vs]||c[Ga]||c.namespaceURI===Ss||c.hasAttribute("itemprop"))&&(c=t.createElement(i),t.head.insertBefore(c,t.querySelector("head > title"))),Yn(c,i,a),c[Ga]=e,Ut(c),i=c;break e;case"link":var h=Bv("link","href",t).get(i+(a.href||""));if(h){for(var E=0;E<h.length;E++)if(c=h[E],c.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&c.getAttribute("rel")===(a.rel==null?null:a.rel)&&c.getAttribute("title")===(a.title==null?null:a.title)&&c.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){h.splice(E,1);break t}}c=t.createElement(i),Yn(c,i,a),t.head.appendChild(c);break;case"meta":if(h=Bv("meta","content",t).get(i+(a.content||""))){for(E=0;E<h.length;E++)if(c=h[E],re(a.content,"content"),c.getAttribute("content")===(a.content==null?null:""+a.content)&&c.getAttribute("name")===(a.name==null?null:a.name)&&c.getAttribute("property")===(a.property==null?null:a.property)&&c.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&c.getAttribute("charset")===(a.charSet==null?null:a.charSet)){h.splice(E,1);break t}}c=t.createElement(i),Yn(c,i,a),t.head.appendChild(c);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+i+'". This is a bug in React.')}c[Ga]=e,Ut(c),i=c}e.stateNode=i}else Vv(c,e.type,e.stateNode);else e.stateNode=Zp(c,i,e.memoizedProps);else t!==i?(t===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):t.count--,i===null?Vv(c,e.type,e.stateNode):Zp(c,i,e.memoizedProps)):i===null&&e.stateNode!==null&&av(e,e.memoizedProps,a.memoizedProps);break;case 27:Va(t,e),hl(e),i&512&&(pa||a===null||er(a,a.return)),a!==null&&i&4&&av(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Va(t,e),hl(e),i&512&&(pa||a===null||er(a,a.return)),e.flags&32){t=e.stateNode;try{Je(e,au,t)}catch(Se){ht(e,e.return,Se)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,av(e,t,a!==null?a.memoizedProps:t)),i&1024&&(rT=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Va(t,e),hl(e),i&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.");i=e.memoizedProps,a=a!==null?a.memoizedProps:i,t=e.stateNode;try{Je(e,Io,t,a,i)}catch(Se){ht(e,e.return,Se)}}break;case 3:if(c=Sr(),bb=null,h=mu,mu=Uf(t.containerInfo),Va(t,e),mu=h,hl(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Je(e,Hv,t.containerInfo)}catch(Se){ht(e,e.return,Se)}rT&&(rT=!1,Go(e)),t.effectDuration+=zu(c);break;case 4:i=mu,mu=Uf(e.stateNode.containerInfo),Va(t,e),hl(e),mu=i;break;case 12:i=Sr(),Va(t,e),hl(e),e.stateNode.effectDuration+=Mo(i);break;case 13:Va(t,e),hl(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(fT=gi()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,$o(e,i)));break;case 22:c=e.memoizedState!==null;var x=a!==null&&a.memoizedState!==null,N=pc,j=pa;if(pc=N||c,pa=j||x,Va(t,e),pa=j,pc=N,hl(e),i&8192)e:for(t=e.stateNode,t._visibility=c?t._visibility&~$0:t._visibility|$0,c&&(a===null||x||pc||pa||Ya(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){x=a=t;try{h=x.stateNode,c?Je(x,yl,h):Je(x,Rv,x.stateNode,x.memoizedProps)}catch(Se){ht(x,x.return,Se)}}}else if(t.tag===6){if(a===null){x=t;try{E=x.stateNode,c?Je(x,Nv,E):Je(x,Xp,E,x.memoizedProps)}catch(Se){ht(x,x.return,Se)}}}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;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,$o(e,a))));break;case 19:Va(t,e),hl(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,$o(e,i)));break;case 30:break;case 21:break;default:Va(t,e),hl(e)}}function hl(e){var t=e.flags;if(t&2){try{Je(e,p0,e)}catch(a){ht(e,e.return,a)}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 ri(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)iv(e,t.alternate,t),t=t.sibling}function Rl(e){switch(e.tag){case 0:case 11:case 14:case 15:Tp(e,e.return,al),Ya(e);break;case 1:er(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&xp(e,e.return,t),Ya(e);break;case 27:Je(e,rs,e.stateNode);case 26:case 5:er(e,e.return),Ya(e);break;case 22:e.memoizedState===null&&Ya(e);break;case 30:Ya(e);break;default:Ya(e)}}function Ya(e){for(e=e.child;e!==null;)Rl(e),e=e.sibling}function Fi(e,t,a,i){var c=a.flags;switch(a.tag){case 0:case 11:case 15:ii(e,a,i),Fm(a,al);break;case 1:if(ii(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&Je(a,WE,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{Je(a,Nc,t,e)}catch(h){ht(a,a.return,h)}}i&&c&64&&tv(a),Xc(a,a.return);break;case 27:rv(a);case 26:case 5:ii(e,a,i),i&&t===null&&c&4&&d0(a),Xc(a,a.return);break;case 12:if(i&&c&4){c=Sr(),ii(e,a,i),i=a.stateNode,i.effectDuration+=Mo(c);try{Je(a,nv,a,t,Q0,i.effectDuration)}catch(h){ht(a,a.return,h)}}else ii(e,a,i);break;case 13:ii(e,a,i),i&&c&4&&Pc(e,a);break;case 22:a.memoizedState===null&&ii(e,a,i),Xc(a,a.return);break;case 30:break;default:ii(e,a,i)}}function ii(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Fi(e,t.alternate,t,a),t=t.sibling}function ui(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&Do(e),a!=null&&Qr(a))}function wr(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(Do(t),e!=null&&Qr(e))}function rn(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Af(e,t,a,i),t=t.sibling}function Af(e,t,a,i){var c=t.flags;switch(t.tag){case 0:case 11:case 15:rn(e,t,a,i),c&2048&&ev(t,Ra|Ai);break;case 1:rn(e,t,a,i);break;case 3:var h=Sr();rn(e,t,a,i),c&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(Do(t),a!=null&&Qr(a))),e.passiveEffectDuration+=zu(h);break;case 12:if(c&2048){c=Sr(),rn(e,t,a,i),e=t.stateNode,e.passiveEffectDuration+=Mo(c);try{Je(t,f0,t,t.alternate,Q0,e.passiveEffectDuration)}catch(x){ht(t,t.return,x)}}else rn(e,t,a,i);break;case 13:rn(e,t,a,i);break;case 23:break;case 22:h=t.stateNode;var E=t.alternate;t.memoizedState!==null?h._visibility&uc?rn(e,t,a,i):Qc(e,t):h._visibility&uc?rn(e,t,a,i):(h._visibility|=uc,Yu(e,t,a,i,(t.subtreeFlags&10256)!==0)),c&2048&&ui(E,t);break;case 24:rn(e,t,a,i),c&2048&&wr(t.alternate,t);break;default:rn(e,t,a,i)}}function Yu(e,t,a,i,c){for(c=c&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)_p(e,t,a,i,c),t=t.sibling}function _p(e,t,a,i,c){var h=t.flags;switch(t.tag){case 0:case 11:case 15:Yu(e,t,a,i,c),ev(t,Ra);break;case 23:break;case 22:var E=t.stateNode;t.memoizedState!==null?E._visibility&uc?Yu(e,t,a,i,c):Qc(e,t):(E._visibility|=uc,Yu(e,t,a,i,c)),c&&h&2048&&ui(t.alternate,t);break;case 24:Yu(e,t,a,i,c),c&&h&2048&&wr(t.alternate,t);break;default:Yu(e,t,a,i,c)}}function Qc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,c=i.flags;switch(i.tag){case 22:Qc(a,i),c&2048&&ui(i.alternate,i);break;case 24:Qc(a,i),c&2048&&wr(i.alternate,i);break;default:Qc(a,i)}t=t.sibling}}function Xo(e){if(e.subtreeFlags&My)for(e=e.child;e!==null;)$u(e),e=e.sibling}function $u(e){switch(e.tag){case 26:Xo(e),e.flags&My&&e.memoizedState!==null&&O0(mu,e.memoizedState,e.memoizedProps);break;case 5:Xo(e);break;case 3:case 4:var t=mu;mu=Uf(e.stateNode.containerInfo),Xo(e),mu=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=My,My=16777216,Xo(e),My=t):Xo(e));break;default:Xo(e)}}function wf(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 Zc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Pa=i,sv(i,e)}wf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)cv(e),e=e.sibling}function cv(e){switch(e.tag){case 0:case 11:case 15:Zc(e),e.flags&2048&&Cf(e,e.return,Ra|Ai);break;case 3:var t=Sr();Zc(e),e.stateNode.passiveEffectDuration+=zu(t);break;case 12:t=Sr(),Zc(e),e.stateNode.passiveEffectDuration+=Mo(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&uc&&(e.return===null||e.return.tag!==13)?(t._visibility&=~uc,Df(e)):Zc(e);break;default:Zc(e)}}function Df(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];Pa=i,sv(i,e)}wf(e)}for(e=e.child;e!==null;)Mf(e),e=e.sibling}function Mf(e){switch(e.tag){case 0:case 11:case 15:Cf(e,e.return,Ra),Df(e);break;case 22:var t=e.stateNode;t._visibility&uc&&(t._visibility&=~uc,Df(e));break;default:Df(e)}}function sv(e,t){for(;Pa!==null;){var a=Pa,i=a;switch(i.tag){case 0:case 11:case 15:Cf(i,t,Ra);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(i=i.memoizedState.cachePool.pool,i!=null&&Do(i));break;case 24:Qr(i.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,Pa=i;else e:for(a=e;Pa!==null;){i=Pa;var c=i.sibling,h=i.return;if(uv(i),i===a){Pa=null;break e}if(c!==null){c.return=h,Pa=c;break e}Pa=h}}}function fv(){g3.forEach(function(e){return e()})}function dv(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||xe.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function ml(e){if((Ft&Vl)!==Nr&&Ht!==0)return Ht&-Ht;var t=xe.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=od,e!==0?e:Ev()):Jt()}function h0(){qr===0&&(qr=(Ht&536870912)===0||Pt?We():536870912);var e=Di.current;return e!==null&&(e.flags|=32),qr}function Bn(e,t,a){if($h&&console.error("useInsertionEffect must not schedule updates."),vT&&(ub=!0),(e===bn&&(un===pd||un===hd)||e.cancelPendingCommit!==null)&&(Qo(e,0),eu(e,Ht,qr,!1)),Ze(e,a),(Ft&Vl)!==0&&e===bn){if(El)switch(t.tag){case 0:case 11:case 15:e=qt&&W(qt)||"Unknown",xA.has(e)||(xA.add(e),t=W(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:TA||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),TA=!0)}}else Xn&&dt(e,t,a),g0(t),e===bn&&((Ft&Vl)===Nr&&(As|=a),ea===dd&&eu(e,Ht,qr,!1)),tr(e)}function fa(e,t,a){if((Ft&(Vl|vu))!==Nr)throw Error("Should not already be working.");var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Ve(e,t),c=i?hv(e,t):Mp(e,t,!0),h=i;do{if(c===hc){Vh&&!i&&eu(e,t,0,!1);break}else{if(a=e.current.alternate,h&&!m0(a)){c=Mp(e,t,!1),h=!1;continue}if(c===Lh){if(h=t,e.errorRecoveryDisabledLanes&h)var E=0;else E=e.pendingLanes&-536870913,E=E!==0?E:E&536870912?536870912:0;if(E!==0){t=E;e:{c=e;var x=E;E=Uy;var N=c.current.memoizedState.isDehydrated;if(N&&(Qo(c,x).flags|=256),x=Mp(c,x,!1),x!==Lh){if(cT&&!N){c.errorRecoveryDisabledLanes|=h,As|=h,c=dd;break e}c=Yl,Yl=E,c!==null&&(Yl===null?Yl=c:Yl.push.apply(Yl,c))}c=x}if(h=!1,c!==Lh)continue}}if(c===Ny){Qo(e,0),eu(e,t,0,!0);break}e:{switch(i=e,c){case hc:case Ny:throw Error("Root did not complete. This is a bug in React.");case dd:if((t&4194048)!==t)break;case lb:eu(i,t,qr,!Cs);break e;case Lh:Yl=null;break;case iT:case hA:break;default:throw Error("Unknown root exit status.")}if(xe.actQueue!==null)Hp(i,a,t,Yl,jy,rb,qr,As,md);else{if((t&62914560)===t&&(h=fT+vA-gi(),10<h)){if(eu(i,t,qr,!Cs),pe(i,0,!0)!==0)break e;i.timeoutHandle=zA(ga.bind(null,i,a,Yl,jy,rb,t,qr,As,md,Cs,c,T3,g_,0),h);break e}ga(i,a,Yl,jy,rb,t,qr,As,md,Cs,c,S3,g_,0)}}}break}while(!0);tr(e)}function ga(e,t,a,i,c,h,E,x,N,j,Se,_e,ve,we){if(e.timeoutHandle=Sd,_e=t.subtreeFlags,(_e&8192||(_e&16785408)===16785408)&&($y={stylesheets:null,count:0,unsuspend:x0},$u(t),_e=C0(),_e!==null)){e.cancelPendingCommit=_e(Hp.bind(null,e,t,h,a,i,c,E,x,N,Se,E3,ve,we)),eu(e,h,E,!j);return}Hp(e,t,h,a,i,c,E,x,N)}function m0(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var c=a[i],h=c.getSnapshot;c=c.value;try{if(!kl(h(),c))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 eu(e,t,a,i){t&=~sT,t&=~As,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var c=t;0<c;){var h=31-$a(c),E=1<<h;i[h]=-1,c&=~E}a!==0&&Ke(e,a,t)}function Po(){return(Ft&(Vl|vu))===Nr?(Zo(0),!1):!0}function Ap(){if(qt!==null){if(un===cr)var e=qt.return;else e=qt,Gd(),Or(e),Nh=null,wy=0,e=qt;for(;e!==null;)Wm(e.alternate,e),e=e.return;qt=null}}function Qo(e,t){var a=e.timeoutHandle;a!==Sd&&(e.timeoutHandle=Sd,H3(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Ap(),bn=e,qt=a=Xr(e.current,null),Ht=t,un=cr,Rr=null,Cs=!1,Vh=Ve(e,t),cT=!1,ea=hc,md=qr=sT=As=_s=0,Yl=Uy=null,rb=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var c=31-$a(i),h=1<<c;t|=e[c],i&=~h}return co=t,Js(),t=v_(),1e3<t-m_&&(xe.recentlyCreatedOwnerStacks=0,m_=t),pu.discardPendingWarnings(),a}function zf(e,t){St=null,xe.H=nb,xe.getCurrentStack=null,El=!1,jl=null,t===Oy||t===I0?(t=Hm(),un=qy):t===E_?(t=Hm(),un=mA):un=t===rA?oT:t!==null&&typeof t=="object"&&typeof t.then=="function"?Bh:Ry,Rr=t;var a=qt;if(a===null)ea=Ny,Gc(e,Dl(t,e.current));else switch(a.mode&nl&&Xi(a),$e(),un){case Ry:tt!==null&&typeof tt.markComponentErrored=="function"&&tt.markComponentErrored(a,t,Ht);break;case pd:case hd:case qy:case Bh:case Hy:tt!==null&&typeof tt.markComponentSuspended=="function"&&tt.markComponentSuspended(a,t,Ht)}}function wp(){var e=xe.H;return xe.H=nb,e===null?nb:e}function pv(){var e=xe.A;return xe.A=y3,e}function Dp(){ea=dd,Cs||(Ht&4194048)!==Ht&&Di.current!==null||(Vh=!0),(_s&134217727)===0&&(As&134217727)===0||bn===null||eu(bn,Ht,qr,!1)}function Mp(e,t,a){var i=Ft;Ft|=Vl;var c=wp(),h=pv();if(bn!==e||Ht!==t){if(Xn){var E=e.memoizedUpdaters;0<E.size&&(Wc(e,Ht),E.clear()),pt(e,t)}jy=null,Qo(e,t)}Fe(t),t=!1,E=ea;e:do try{if(un!==cr&&qt!==null){var x=qt,N=Rr;switch(un){case oT:Ap(),E=lb;break e;case qy:case pd:case hd:case Bh:Di.current===null&&(t=!0);var j=un;if(un=cr,Rr=null,Gu(e,x,N,j),a&&Vh){E=hc;break e}break;default:j=un,un=cr,Rr=null,Gu(e,x,N,j)}}zp(),E=ea;break}catch(Se){zf(e,Se)}while(!0);return t&&e.shellSuspendCounter++,Gd(),Ft=i,xe.H=c,xe.A=h,Le(),qt===null&&(bn=null,Ht=0,Js()),E}function zp(){for(;qt!==null;)vv(qt)}function hv(e,t){var a=Ft;Ft|=Vl;var i=wp(),c=pv();if(bn!==e||Ht!==t){if(Xn){var h=e.memoizedUpdaters;0<h.size&&(Wc(e,Ht),h.clear()),pt(e,t)}jy=null,ib=gi()+yA,Qo(e,t)}else Vh=Ve(e,t);Fe(t);e:do try{if(un!==cr&&qt!==null)t:switch(t=qt,h=Rr,un){case Ry:un=cr,Rr=null,Gu(e,t,h,Ry);break;case pd:case hd:if(qm(h)){un=cr,Rr=null,Np(t);break}t=function(){un!==pd&&un!==hd||bn!==e||(un=Hy),tr(e)},h.then(t,t);break e;case qy:un=Hy;break e;case mA:un=uT;break e;case Hy:qm(h)?(un=cr,Rr=null,Np(t)):(un=cr,Rr=null,Gu(e,t,h,Hy));break;case uT:var E=null;switch(qt.tag){case 26:E=qt.memoizedState;case 5:case 27:var x=qt;if(!E||jf(E)){un=cr,Rr=null;var N=x.sibling;if(N!==null)qt=N;else{var j=x.return;j!==null?(qt=j,Nf(j)):qt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}un=cr,Rr=null,Gu(e,t,h,uT);break;case Bh:un=cr,Rr=null,Gu(e,t,h,Bh);break;case oT:Ap(),ea=lb;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}xe.actQueue!==null?zp():mv();break}catch(Se){zf(e,Se)}while(!0);return Gd(),xe.H=i,xe.A=c,Ft=a,qt!==null?(tt!==null&&typeof tt.markRenderYielded=="function"&&tt.markRenderYielded(),hc):(Le(),bn=null,Ht=0,Js(),ea)}function mv(){for(;qt!==null&&!N0();)vv(qt)}function vv(e){var t=e.alternate;(e.mode&nl)!==_n?(Xd(e),t=Je(e,Ep,t,e,co),Xi(e)):t=Je(e,Ep,t,e,co),e.memoizedProps=e.pendingProps,t===null?Nf(e):qt=t}function Np(e){var t=Je(e,Rp,e);e.memoizedProps=e.pendingProps,t===null?Nf(e):qt=t}function Rp(e){var t=e.alternate,a=(e.mode&nl)!==_n;switch(a&&Xd(e),e.tag){case 15:case 0:t=Qm(t,e,e.pendingProps,e.type,void 0,Ht);break;case 11:t=Qm(t,e,e.pendingProps,e.type.render,e.ref,Ht);break;case 5:Or(e);default:Wm(t,e),e=qt=Em(e,co),t=Ep(t,e,co)}return a&&Xi(e),t}function Gu(e,t,a,i){Gd(),Or(t),Nh=null,wy=0;var c=t.return;try{if(gf(e,c,t,a,Ht)){ea=Ny,Gc(e,Dl(a,e.current)),qt=null;return}}catch(h){if(c!==null)throw qt=c,h;ea=Ny,Gc(e,Dl(a,e.current)),qt=null;return}t.flags&32768?(Pt||i===Ry?e=!0:Vh||(Ht&536870912)!==0?e=!1:(Cs=e=!0,(i===pd||i===hd||i===qy||i===Bh)&&(i=Di.current,i!==null&&i.tag===13&&(i.flags|=16384))),qp(t,e)):Nf(t)}function Nf(e){var t=e;do{if((t.flags&32768)!==0){qp(t,Cs);return}var a=t.alternate;if(e=t.return,Xd(t),a=Je(t,u0,a,t,co),(t.mode&nl)!==_n&&zo(t),a!==null){qt=a;return}if(t=t.sibling,t!==null){qt=t;return}qt=t=e}while(t!==null);ea===hc&&(ea=hA)}function qp(e,t){do{var a=o0(e.alternate,e);if(a!==null){a.flags&=32767,qt=a;return}if((e.mode&nl)!==_n){zo(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){qt=e;return}qt=e=a}while(e!==null);ea=lb,qt=null}function Hp(e,t,a,i,c,h,E,x,N){e.cancelPendingCommit=null;do Kc();while(ll!==vd);if(pu.flushLegacyContextWarning(),pu.flushPendingUnsafeLifecycleWarnings(),(Ft&(Vl|vu))!==Nr)throw Error("Should not already be working.");if(tt!==null&&typeof tt.markCommitStarted=="function"&&tt.markCommitStarted(a),t===null)qe();else{if(a===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(h=t.lanes|t.childLanes,h|=LE,Ye(e,a,h,E,x,N),e===bn&&(qt=bn=null,Ht=0),Yh=t,Ds=e,Ms=a,pT=h,hT=c,EA=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Sv(ps,function(){return Rf(),null})):(e.callbackNode=null,e.callbackPriority=0),Q0=Ah(),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=xe.T,xe.T=null,c=vt.p,vt.p=za,E=Ft,Ft|=vu;try{Op(e,t,a)}finally{Ft=E,vt.p=c,xe.T=i}}ll=gA,oi(),Up(),v0()}}function oi(){if(ll===gA){ll=vd;var e=Ds,t=Yh,a=Ms,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=xe.T,xe.T=null;var c=vt.p;vt.p=za;var h=Ft;Ft|=vu;try{jh=a,kh=e,ov(t,e),kh=jh=null,a=CT;var E=Qg(e.containerInfo),x=a.focusedElem,N=a.selectionRange;if(E!==x&&x&&x.ownerDocument&&Pg(x.ownerDocument.documentElement,x)){if(N!==null&&ym(x)){var j=N.start,Se=N.end;if(Se===void 0&&(Se=j),"selectionStart"in x)x.selectionStart=j,x.selectionEnd=Math.min(Se,x.value.length);else{var _e=x.ownerDocument||document,ve=_e&&_e.defaultView||window;if(ve.getSelection){var we=ve.getSelection(),at=x.textContent.length,yt=Math.min(N.start,at),Sn=N.end===void 0?yt:Math.min(N.end,at);!we.extend&&yt>Sn&&(E=Sn,Sn=yt,yt=E);var Lt=vm(x,yt),G=vm(x,Sn);if(Lt&&G&&(we.rangeCount!==1||we.anchorNode!==Lt.node||we.anchorOffset!==Lt.offset||we.focusNode!==G.node||we.focusOffset!==G.offset)){var X=_e.createRange();X.setStart(Lt.node,Lt.offset),we.removeAllRanges(),yt>Sn?(we.addRange(X),we.extend(G.node,G.offset)):(X.setEnd(G.node,G.offset),we.addRange(X))}}}}for(_e=[],we=x;we=we.parentNode;)we.nodeType===1&&_e.push({element:we,left:we.scrollLeft,top:we.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;x<_e.length;x++){var F=_e[x];F.element.scrollLeft=F.left,F.element.scrollTop=F.top}}Tb=!!OT,CT=OT=null}finally{Ft=h,vt.p=c,xe.T=i}}e.current=t,ll=bA}}function Up(){if(ll===bA){ll=vd;var e=Ds,t=Yh,a=Ms,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=xe.T,xe.T=null;var c=vt.p;vt.p=za;var h=Ft;Ft|=vu;try{tt!==null&&typeof tt.markLayoutEffectsStarted=="function"&&tt.markLayoutEffectsStarted(a),jh=a,kh=e,iv(e,t.alternate,t),kh=jh=null,tt!==null&&typeof tt.markLayoutEffectsStopped=="function"&&tt.markLayoutEffectsStopped()}finally{Ft=h,vt.p=c,xe.T=i}}ll=SA}}function v0(){if(ll===x3||ll===SA){ll=vd,wE();var e=Ds,t=Yh,a=Ms,i=EA,c=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;c?ll=dT:(ll=vd,Yh=Ds=null,ci(e,e.pendingLanes),yd=0,Ly=null);var h=e.pendingLanes;if(h===0&&(ws=null),c||Ic(e),c=gt(a),t=t.stateNode,Ma&&typeof Ma.onCommitFiberRoot=="function")try{var E=(t.current.flags&128)===128;switch(c){case za:var x=rh;break;case zr:x=Kf;break;case cu:x=ps;break;case ch:x=Jf;break;default:x=ps}Ma.onCommitFiberRoot(eo,t,x,E)}catch(_e){bl||(bl=!0,console.error("React instrumentation encountered an error: %s",_e))}if(Xn&&e.memoizedUpdaters.clear(),fv(),i!==null){E=xe.T,x=vt.p,vt.p=za,xe.T=null;try{var N=e.onRecoverableError;for(t=0;t<i.length;t++){var j=i[t],Se=y0(j.stack);Je(j.source,N,j.value,Se)}}finally{xe.T=E,vt.p=x}}(Ms&3)!==0&&Kc(),tr(e),h=e.pendingLanes,(a&4194090)!==0&&(h&42)!==0?(K0=!0,e===mT?ky++:(ky=0,mT=e)):ky=0,Zo(0),qe()}}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 ci(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Qr(t)))}function Kc(e){return oi(),Up(),v0(),Rf()}function Rf(){if(ll!==dT)return!1;var e=Ds,t=pT;pT=0;var a=gt(Ms),i=cu>a?cu:a;a=xe.T;var c=vt.p;try{vt.p=i,xe.T=null,i=hT,hT=null;var h=Ds,E=Ms;if(ll=vd,Yh=Ds=null,Ms=0,(Ft&(Vl|vu))!==Nr)throw Error("Cannot flush passive effects while already rendering.");vT=!0,ub=!1,tt!==null&&typeof tt.markPassiveEffectsStarted=="function"&&tt.markPassiveEffectsStarted(E);var x=Ft;if(Ft|=vu,cv(h.current),Af(h,h.current,E,i),tt!==null&&typeof tt.markPassiveEffectsStopped=="function"&&tt.markPassiveEffectsStopped(),Ic(h),Ft=x,Zo(0,!1),ub?h===Ly?yd++:(yd=0,Ly=h):yd=0,ub=vT=!1,Ma&&typeof Ma.onPostCommitFiberRoot=="function")try{Ma.onPostCommitFiberRoot(eo,h)}catch(j){bl||(bl=!0,console.error("React instrumentation encountered an error: %s",j))}var N=h.current.stateNode;return N.effectDuration=0,N.passiveEffectDuration=0,!0}finally{vt.p=c,xe.T=a,ci(e,t)}}function Jc(e,t,a){t=Dl(a,t),t=Ba(e.stateNode,t,2),e=Tr(e,t,2),e!==null&&(Ze(e,2),tr(e))}function ht(e,t,a){if($h=!1,e.tag===3)Jc(e,e,a);else{for(;t!==null;){if(t.tag===3){Jc(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ws===null||!ws.has(i))){e=Dl(a,e),a=Ln(2),i=Tr(t,a,2),i!==null&&(yf(a,i,t,e),Ze(i,2),tr(i));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.
|
|
194
|
+
Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching`:" You returned: "+i,Be(t,function(h,g){console.error("%s must not return anything besides a function, which is used for clean-up.%s",h,g)},s,d)}a=a.next}while(a!==o)}}catch(h){Ke(t,t.return,h)}}function Sc(e,t,a){try{var i=t.updateQueue,o=i!==null?i.lastEffect:null;if(o!==null){var s=o.next;i=s;do{if((i.tag&e)===e){var d=i.inst,h=d.destroy;h!==void 0&&(d.destroy=void 0,(e&Zl)!==Su?He!==null&&typeof He.markComponentPassiveEffectUnmountStarted=="function"&&He.markComponentPassiveEffectUnmountStarted(t):(e&pa)!==Su&&He!==null&&typeof He.markComponentLayoutEffectUnmountStarted=="function"&&He.markComponentLayoutEffectUnmountStarted(t),(e&Qa)!==Su&&(vh=!0),o=t,Be(o,zT,o,a,h),(e&Qa)!==Su&&(vh=!1),(e&Zl)!==Su?He!==null&&typeof He.markComponentPassiveEffectUnmountStopped=="function"&&He.markComponentPassiveEffectUnmountStopped():(e&pa)!==Su&&He!==null&&typeof He.markComponentLayoutEffectUnmountStopped=="function"&&He.markComponentLayoutEffectUnmountStopped())}i=i.next}while(i!==s)}}catch(g){Ke(t,t.return,g)}}function Ep(e,t){Mn(e)?(En(),bc(t,e),Ia()):bc(t,e)}function tr(e,t,a){Mn(e)?(En(),Sc(a,e,t),Ia()):Sc(a,e,t)}function xp(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;e.type.defaultProps||"ref"in e.memoizedProps||fh||(a.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.",ce(e)||"instance"),a.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.",ce(e)||"instance"));try{Be(e,Ym,t,a)}catch(i){Ke(e,e.return,i)}}}function Jm(e,t,a){return e.getSnapshotBeforeUpdate(t,a)}function Ov(e,t){var a=t.memoizedProps,i=t.memoizedState;t=e.stateNode,e.type.defaultProps||"ref"in e.memoizedProps||fh||(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.",ce(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.",ce(e)||"instance"));try{var o=Di(e.type,a,e.elementType===e.type),s=Be(e,Jm,t,o,i);a=D1,s!==void 0||a.has(e.type)||(a.add(e.type),Be(e,function(){console.error("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ce(e))})),t.__reactInternalSnapshotBeforeUpdate=s}catch(d){Ke(e,e.return,d)}}function If(e,t,a){a.props=Di(e.type,e.memoizedProps),a.state=e.memoizedState,Mn(e)?(En(),Be(e,Ib,e,t,a),Ia()):Be(e,Ib,e,t,a)}function Km(e){var t=e.ref;if(t!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}if(typeof t=="function")if(Mn(e))try{En(),e.refCleanup=t(a)}finally{Ia()}else e.refCleanup=t(a);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().",ce(e)),t.current=a}}function zo(e,t){try{Be(e,Km,e)}catch(a){Ke(e,t,a)}}function cn(e,t){var a=e.ref,i=e.refCleanup;if(a!==null)if(typeof i=="function")try{if(Mn(e))try{En(),Be(e,i)}finally{Ia(e)}else Be(e,i)}catch(o){Ke(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{if(Mn(e))try{En(),Be(e,a,null)}finally{Ia(e)}else Be(e,a,null)}catch(o){Ke(e,t,o)}else a.current=null}function Ap(e,t,a,i){var o=e.memoizedProps,s=o.id,d=o.onCommit;o=o.onRender,t=t===null?"mount":"update",Ng&&(t="nested-update"),typeof o=="function"&&o(s,t,e.actualDuration,e.treeBaseDuration,e.actualStartTime,a),typeof d=="function"&&d(e.memoizedProps.id,t,i,a)}function Wm(e,t,a,i){var o=e.memoizedProps;e=o.id,o=o.onPostCommit,t=t===null?"mount":"update",Ng&&(t="nested-update"),typeof o=="function"&&o(e,t,i,a)}function Fm(e){var t=e.type,a=e.memoizedProps,i=e.stateNode;try{Be(e,ku,i,t,a,e)}catch(o){Ke(e,e.return,o)}}function Dp(e,t,a){try{Be(e,rl,e.stateNode,e.type,a,t,e)}catch(i){Ke(e,e.return,i)}}function zp(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ou(e.type)||e.tag===4}function Tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zp(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&&ou(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 lr(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(e,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(e),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Xu));else if(i!==4&&(i===27&&ou(e.type)&&(a=e.stateNode,t=null),e=e.child,e!==null))for(lr(e,t,a),e=e.sibling;e!==null;)lr(e,t,a),e=e.sibling}function Ec(e,t,a){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?a.insertBefore(e,t):a.appendChild(e);else if(i!==4&&(i===27&&ou(e.type)&&(a=e.stateNode),e=e.child,e!==null))for(Ec(e,t,a),e=e.sibling;e!==null;)Ec(e,t,a),e=e.sibling}function Im(e){for(var t,a=e.return;a!==null;){if(zp(a)){t=a;break}a=a.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,a=Tc(e),Ec(e,a,t);break;case 5:a=t.stateNode,t.flags&32&&(Qu(a),t.flags&=-33),t=Tc(e),Ec(e,t,a);break;case 3:case 4:t=t.stateNode.containerInfo,a=Tc(e),lr(e,a,t);break;default:throw Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Op(e){var t=e.stateNode,a=e.memoizedProps;try{Be(e,Ga,e.type,a,t,e)}catch(i){Ke(e,e.return,i)}}function Pf(e,t){if(e=e.containerInfo,U0=cv,e=Hm(e),Vh(e)){if("selectionStart"in e)var a={start:e.selectionStart,end:e.selectionEnd};else e:{a=(a=e.ownerDocument)&&a.defaultView||window;var i=a.getSelection&&a.getSelection();if(i&&i.rangeCount!==0){a=i.anchorNode;var o=i.anchorOffset,s=i.focusNode;i=i.focusOffset;try{a.nodeType,s.nodeType}catch{a=null;break e}var d=0,h=-1,g=-1,b=0,B=0,Q=e,q=null;t:for(;;){for(var J;Q!==a||o!==0&&Q.nodeType!==3||(h=d+o),Q!==s||i!==0&&Q.nodeType!==3||(g=d+i),Q.nodeType===3&&(d+=Q.nodeValue.length),(J=Q.firstChild)!==null;)q=Q,Q=J;for(;;){if(Q===e)break t;if(q===a&&++b===o&&(h=d),q===s&&++B===i&&(g=d),(J=Q.nextSibling)!==null)break;Q=q,q=Q.parentNode}Q=J}a=h===-1||g===-1?null:{start:h,end:g}}else a=null}a=a||{start:0,end:0}}else a=null;for(H0={focusedElem:e,selectionRange:a},cv=!1,na=t;na!==null;)if(t=na,e=t.child,(t.subtreeFlags&1024)!==0&&e!==null)e.return=t,na=e;else for(;na!==null;){switch(e=t=na,a=e.alternate,o=e.flags,e.tag){case 0:break;case 11:case 15:break;case 1:(o&1024)!==0&&a!==null&&Ov(e,a);break;case 3:if((o&1024)!==0){if(e=e.stateNode.containerInfo,a=e.nodeType,a===9)Bo(e);else if(a===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Bo(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((o&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,na=e;break}na=t.return}}function Mp(e,t,a){var i=a.flags;switch(a.tag){case 0:case 11:case 15:Pn(e,a),i&4&&Tp(a,pa|Tu);break;case 1:if(Pn(e,a),i&4)if(e=a.stateNode,t===null)a.type.defaultProps||"ref"in a.memoizedProps||fh||(e.props!==a.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.",ce(a)||"instance"),e.state!==a.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.",ce(a)||"instance")),Mn(a)?(En(),Be(a,u0,a,e),Ia()):Be(a,u0,a,e);else{var o=Di(a.type,t.memoizedProps);t=t.memoizedState,a.type.defaultProps||"ref"in a.memoizedProps||fh||(e.props!==a.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.",ce(a)||"instance"),e.state!==a.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.",ce(a)||"instance")),Mn(a)?(En(),Be(a,Kb,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate),Ia()):Be(a,Kb,a,e,o,t,e.__reactInternalSnapshotBeforeUpdate)}i&64&&xp(a),i&512&&zo(a,a.return);break;case 3:if(t=Tn(),Pn(e,a),i&64&&(i=a.updateQueue,i!==null)){if(o=null,a.child!==null)switch(a.child.tag){case 27:case 5:o=a.child.stateNode;break;case 1:o=a.child.stateNode}try{Be(a,Ym,i,o)}catch(d){Ke(a,a.return,d)}}e.effectDuration+=mi(t);break;case 27:t===null&&i&4&&Op(a);case 26:case 5:Pn(e,a),t===null&&i&4&&Fm(a),i&512&&zo(a,a.return);break;case 12:if(i&4){i=Tn(),Pn(e,a),e=a.stateNode,e.effectDuration+=fc(i);try{Be(a,Ap,a,t,Hg,e.effectDuration)}catch(d){Ke(a,a.return,d)}}else Pn(e,a);break;case 13:Pn(e,a),i&4&&Oo(e,a),i&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=rr.bind(null,a),jo(e,a))));break;case 22:if(i=a.memoizedState!==null||Jc,!i){t=t!==null&&t.memoizedState!==null||Al,o=Jc;var s=Al;Jc=i,(Al=t)&&!s?eu(e,a,(a.subtreeFlags&8772)!==0):Pn(e,a),Jc=o,Al=s}break;case 30:break;default:Pn(e,a)}}function Rp(e){var t=e.alternate;t!==null&&(e.alternate=null,Rp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Jl(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 Gu(e,t,a){for(a=a.child;a!==null;)xc(e,t,a),a=a.sibling}function xc(e,t,a){if(Xl&&typeof Xl.onCommitFiberUnmount=="function")try{Xl.onCommitFiberUnmount(Vi,a)}catch(s){Ma||(Ma=!0,console.error("React instrumentation encountered an error: %s",s))}switch(a.tag){case 26:Al||cn(a,t),Gu(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Al||cn(a,t);var i=ql,o=yn;ou(a.type)&&(ql=a.stateNode,yn=!1),Gu(e,t,a),Be(a,Go,a.stateNode),ql=i,yn=o;break;case 5:Al||cn(a,t);case 6:if(i=ql,o=yn,ql=null,Gu(e,t,a),ql=i,yn=o,ql!==null)if(yn)try{Be(a,wo,ql,a.stateNode)}catch(s){Ke(a,t,s)}else try{Be(a,rn,ql,a.stateNode)}catch(s){Ke(a,t,s)}break;case 18:ql!==null&&(yn?(e=ql,_o(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),_c(e)):_o(ql,a.stateNode));break;case 4:i=ql,o=yn,ql=a.stateNode.containerInfo,yn=!0,Gu(e,t,a),ql=i,yn=o;break;case 0:case 11:case 14:case 15:Al||Sc(Qa,a,t),Al||Ff(a,t,pa),Gu(e,t,a);break;case 1:Al||(cn(a,t),i=a.stateNode,typeof i.componentWillUnmount=="function"&&If(a,t,i)),Gu(e,t,a);break;case 21:Gu(e,t,a);break;case 22:Al=(i=Al)||a.memoizedState!==null,Gu(e,t,a),Al=i;break;default:Gu(e,t,a)}}function Oo(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Be(t,Va,e)}catch(a){Ke(t,t.return,a)}}function ed(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new z1),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new z1),t;default:throw Error("Unexpected Suspense handler tag ("+e.tag+"). This is a bug in React.")}}function Ac(e,t){var a=ed(e);t.forEach(function(i){var o=Ci.bind(null,e,i);if(!a.has(i)){if(a.add(i),dl)if(dh!==null&&hh!==null)No(hh,dh);else throw Error("Expected finished root and lanes to be set. This is a bug in React.");i.then(o,o)}})}function Pl(e,t){var a=t.deletions;if(a!==null)for(var i=0;i<a.length;i++){var o=e,s=t,d=a[i],h=s;e:for(;h!==null;){switch(h.tag){case 27:if(ou(h.type)){ql=h.stateNode,yn=!1;break e}break;case 5:ql=h.stateNode,yn=!1;break e;case 3:case 4:ql=h.stateNode.containerInfo,yn=!0;break e}h=h.return}if(ql===null)throw Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");xc(o,s,d),ql=null,yn=!1,o=d,s=o.alternate,s!==null&&(s.return=null),o.return=null}if(t.subtreeFlags&13878)for(t=t.child;t!==null;)Cp(t,e),t=t.sibling}function Cp(e,t){var a=e.alternate,i=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Pl(t,e),xa(e),i&4&&(Sc(Qa|Tu,e,e.return),bc(Qa|Tu,e),Ff(e,e.return,pa|Tu));break;case 1:Pl(t,e),xa(e),i&512&&(Al||a===null||cn(a,a.return)),i&64&&Jc&&(e=e.updateQueue,e!==null&&(i=e.callbacks,i!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?i:a.concat(i))));break;case 26:var o=ai;if(Pl(t,e),xa(e),i&512&&(Al||a===null||cn(a,a.return)),i&4)if(t=a!==null?a.memoizedState:null,i=e.memoizedState,a===null)if(i===null)if(e.stateNode===null){e:{i=e.type,a=e.memoizedProps,t=o.ownerDocument||o;t:switch(i){case"title":o=t.getElementsByTagName("title")[0],(!o||o[Fo]||o[la]||o.namespaceURI===ts||o.hasAttribute("itemprop"))&&(o=t.createElement(i),t.head.insertBefore(o,t.querySelector("head > title"))),sl(o,i,a),o[la]=e,tl(o),i=o;break e;case"link":var s=oy("link","href",t).get(i+(a.href||""));if(s){for(var d=0;d<s.length;d++)if(o=s[d],o.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&o.getAttribute("rel")===(a.rel==null?null:a.rel)&&o.getAttribute("title")===(a.title==null?null:a.title)&&o.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){s.splice(d,1);break t}}o=t.createElement(i),sl(o,i,a),t.head.appendChild(o);break;case"meta":if(s=oy("meta","content",t).get(i+(a.content||""))){for(d=0;d<s.length;d++)if(o=s[d],de(a.content,"content"),o.getAttribute("content")===(a.content==null?null:""+a.content)&&o.getAttribute("name")===(a.name==null?null:a.name)&&o.getAttribute("property")===(a.property==null?null:a.property)&&o.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&o.getAttribute("charset")===(a.charSet==null?null:a.charSet)){s.splice(d,1);break t}}o=t.createElement(i),sl(o,i,a),t.head.appendChild(o);break;default:throw Error('getNodesForType encountered a type it did not expect: "'+i+'". This is a bug in React.')}o[la]=e,tl(o),i=o}e.stateNode=i}else sy(o,e.type,e.stateNode);else e.stateNode=xd(o,i,e.memoizedProps);else t!==i?(t===null?a.stateNode!==null&&(a=a.stateNode,a.parentNode.removeChild(a)):t.count--,i===null?sy(o,e.type,e.stateNode):xd(o,i,e.memoizedProps)):i===null&&e.stateNode!==null&&Dp(e,e.memoizedProps,a.memoizedProps);break;case 27:Pl(t,e),xa(e),i&512&&(Al||a===null||cn(a,a.return)),a!==null&&i&4&&Dp(e,e.memoizedProps,a.memoizedProps);break;case 5:if(Pl(t,e),xa(e),i&512&&(Al||a===null||cn(a,a.return)),e.flags&32){t=e.stateNode;try{Be(e,Qu,t)}catch(B){Ke(e,e.return,B)}}i&4&&e.stateNode!=null&&(t=e.memoizedProps,Dp(e,t,a!==null?a.memoizedProps:t)),i&1024&&(d0=!0,e.type!=="form"&&console.error("Unexpected host component type. Expected a form. This is a bug in React."));break;case 6:if(Pl(t,e),xa(e),i&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.");i=e.memoizedProps,a=a!==null?a.memoizedProps:i,t=e.stateNode;try{Be(e,Hc,t,a,i)}catch(B){Ke(e,e.return,B)}}break;case 3:if(o=Tn(),nv=null,s=ai,ai=dr(t.containerInfo),Pl(t,e),ai=s,xa(e),i&4&&a!==null&&a.memoizedState.isDehydrated)try{Be(e,ay,t.containerInfo)}catch(B){Ke(e,e.return,B)}d0&&(d0=!1,Dc(e)),t.effectDuration+=mi(o);break;case 4:i=ai,ai=dr(e.stateNode.containerInfo),Pl(t,e),xa(e),ai=i;break;case 12:i=Tn(),Pl(t,e),xa(e),e.stateNode.effectDuration+=fc(i);break;case 13:Pl(t,e),xa(e),e.child.flags&8192&&e.memoizedState!==null!=(a!==null&&a.memoizedState!==null)&&(v0=du()),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Ac(e,i)));break;case 22:o=e.memoizedState!==null;var h=a!==null&&a.memoizedState!==null,g=Jc,b=Al;if(Jc=g||o,Al=b||h,Pl(t,e),Al=b,Jc=g,xa(e),i&8192)e:for(t=e.stateNode,t._visibility=o?t._visibility&~Mg:t._visibility|Mg,o&&(a===null||h||Jc||Al||ea(e)),a=null,t=e;;){if(t.tag===5||t.tag===26){if(a===null){h=a=t;try{s=h.stateNode,o?Be(h,za,s):Be(h,ty,h.stateNode,h.memoizedProps)}catch(B){Ke(h,h.return,B)}}}else if(t.tag===6){if(a===null){h=t;try{d=h.stateNode,o?Be(h,ey,d):Be(h,Sd,d,h.memoizedProps)}catch(B){Ke(h,h.return,B)}}}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;a===t&&(a=null),t=t.return}a===t&&(a=null),t.sibling.return=t.return,t=t.sibling}i&4&&(i=e.updateQueue,i!==null&&(a=i.retryQueue,a!==null&&(i.retryQueue=null,Ac(e,a))));break;case 19:Pl(t,e),xa(e),i&4&&(i=e.updateQueue,i!==null&&(e.updateQueue=null,Ac(e,i)));break;case 30:break;case 21:break;default:Pl(t,e),xa(e)}}function xa(e){var t=e.flags;if(t&2){try{Be(e,Im,e)}catch(a){Ke(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Dc(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Dc(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function Pn(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Mp(e,t.alternate,t),t=t.sibling}function ja(e){switch(e.tag){case 0:case 11:case 14:case 15:Ff(e,e.return,pa),ea(e);break;case 1:cn(e,e.return);var t=e.stateNode;typeof t.componentWillUnmount=="function"&&If(e,e.return,t),ea(e);break;case 27:Be(e,Go,e.stateNode);case 26:case 5:cn(e,e.return),ea(e);break;case 22:e.memoizedState===null&&ea(e);break;case 30:ea(e);break;default:ea(e)}}function ea(e){for(e=e.child;e!==null;)ja(e),e=e.sibling}function Yu(e,t,a,i){var o=a.flags;switch(a.tag){case 0:case 11:case 15:eu(e,a,i),Tp(a,pa);break;case 1:if(eu(e,a,i),t=a.stateNode,typeof t.componentDidMount=="function"&&Be(a,u0,a,t),t=a.updateQueue,t!==null){e=a.stateNode;try{Be(a,ho,t,e)}catch(s){Ke(a,a.return,s)}}i&&o&64&&xp(a),zo(a,a.return);break;case 27:Op(a);case 26:case 5:eu(e,a,i),i&&t===null&&o&4&&Fm(a),zo(a,a.return);break;case 12:if(i&&o&4){o=Tn(),eu(e,a,i),i=a.stateNode,i.effectDuration+=fc(o);try{Be(a,Ap,a,t,Hg,i.effectDuration)}catch(s){Ke(a,a.return,s)}}else eu(e,a,i);break;case 13:eu(e,a,i),i&&o&4&&Oo(e,a);break;case 22:a.memoizedState===null&&eu(e,a,i),zo(a,a.return);break;case 30:break;default:eu(e,a,i)}}function eu(e,t,a){for(a=a&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;)Yu(e,t.alternate,t,a),t=t.sibling}function tu(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&rc(e),a!=null&&Yn(a))}function Rn(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(rc(t),e!=null&&Yn(e))}function Lt(e,t,a,i){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)ar(e,t,a,i),t=t.sibling}function ar(e,t,a,i){var o=t.flags;switch(t.tag){case 0:case 11:case 15:Lt(e,t,a,i),o&2048&&Ep(t,Zl|Tu);break;case 1:Lt(e,t,a,i);break;case 3:var s=Tn();Lt(e,t,a,i),o&2048&&(a=null,t.alternate!==null&&(a=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==a&&(rc(t),a!=null&&Yn(a))),e.passiveEffectDuration+=mi(s);break;case 12:if(o&2048){o=Tn(),Lt(e,t,a,i),e=t.stateNode,e.passiveEffectDuration+=fc(o);try{Be(t,Wm,t,t.alternate,Hg,e.passiveEffectDuration)}catch(h){Ke(t,t.return,h)}}else Lt(e,t,a,i);break;case 13:Lt(e,t,a,i);break;case 23:break;case 22:s=t.stateNode;var d=t.alternate;t.memoizedState!==null?s._visibility&Lc?Lt(e,t,a,i):Mo(e,t):s._visibility&Lc?Lt(e,t,a,i):(s._visibility|=Lc,Oi(e,t,a,i,(t.subtreeFlags&10256)!==0)),o&2048&&tu(d,t);break;case 24:Lt(e,t,a,i),o&2048&&Rn(t.alternate,t);break;default:Lt(e,t,a,i)}}function Oi(e,t,a,i,o){for(o=o&&(t.subtreeFlags&10256)!==0,t=t.child;t!==null;)td(e,t,a,i,o),t=t.sibling}function td(e,t,a,i,o){var s=t.flags;switch(t.tag){case 0:case 11:case 15:Oi(e,t,a,i,o),Ep(t,Zl);break;case 23:break;case 22:var d=t.stateNode;t.memoizedState!==null?d._visibility&Lc?Oi(e,t,a,i,o):Mo(e,t):(d._visibility|=Lc,Oi(e,t,a,i,o)),o&&s&2048&&tu(t.alternate,t);break;case 24:Oi(e,t,a,i,o),o&&s&2048&&Rn(t.alternate,t);break;default:Oi(e,t,a,i,o)}}function Mo(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,i=t,o=i.flags;switch(i.tag){case 22:Mo(a,i),o&2048&&tu(i.alternate,i);break;case 24:Mo(a,i),o&2048&&Rn(i.alternate,i);break;default:Mo(a,i)}t=t.sibling}}function zc(e){if(e.subtreeFlags&Iy)for(e=e.child;e!==null;)Mi(e),e=e.sibling}function Mi(e){switch(e.tag){case 26:zc(e),e.flags&Iy&&e.memoizedState!==null&&sg(ai,e.memoizedState,e.memoizedProps);break;case 5:zc(e);break;case 3:case 4:var t=ai;ai=dr(e.stateNode.containerInfo),zc(e),ai=t;break;case 22:e.memoizedState===null&&(t=e.alternate,t!==null&&t.memoizedState!==null?(t=Iy,Iy=16777216,zc(e),Iy=t):zc(e));break;default:zc(e)}}function nr(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 Ro(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];na=i,Hp(i,e)}nr(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Up(e),e=e.sibling}function Up(e){switch(e.tag){case 0:case 11:case 15:Ro(e),e.flags&2048&&tr(e,e.return,Zl|Tu);break;case 3:var t=Tn();Ro(e),e.stateNode.passiveEffectDuration+=mi(t);break;case 12:t=Tn(),Ro(e),e.stateNode.passiveEffectDuration+=fc(t);break;case 22:t=e.stateNode,e.memoizedState!==null&&t._visibility&Lc&&(e.return===null||e.return.tag!==13)?(t._visibility&=~Lc,ur(e)):Ro(e);break;default:Ro(e)}}function ur(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var i=t[a];na=i,Hp(i,e)}nr(e)}for(e=e.child;e!==null;)ir(e),e=e.sibling}function ir(e){switch(e.tag){case 0:case 11:case 15:tr(e,e.return,Zl),ur(e);break;case 22:var t=e.stateNode;t._visibility&Lc&&(t._visibility&=~Lc,ur(e));break;default:ur(e)}}function Hp(e,t){for(;na!==null;){var a=na,i=a;switch(i.tag){case 0:case 11:case 15:tr(i,t,Zl);break;case 23:case 22:i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(i=i.memoizedState.cachePool.pool,i!=null&&rc(i));break;case 24:Yn(i.memoizedState.cache)}if(i=a.child,i!==null)i.return=a,na=i;else e:for(a=e;na!==null;){i=na;var o=i.sibling,s=i.return;if(Rp(i),i===a){na=null;break e}if(o!==null){o.return=s,na=o;break e}na=s}}}function Np(){MT.forEach(function(e){return e()})}function qp(){var e=typeof IS_REACT_ACT_ENVIRONMENT<"u"?IS_REACT_ACT_ENVIRONMENT:void 0;return e||L.actQueue===null||console.error("The current testing environment is not configured to support act(...)"),e}function Aa(e){if((Gt&Za)!==Nn&&Et!==0)return Et&-Et;var t=L.T;return t!==null?(t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e),e=jr,e!==0?e:Xp()):Wt()}function Pm(){wn===0&&(wn=(Et&536870912)===0||Nt?Xe():536870912);var e=xu.current;return e!==null&&(e.flags|=32),wn}function cl(e,t,a){if(vh&&console.error("useInsertionEffect must not schedule updates."),x0&&(Zg=!0),(e===$t&&(Xt===Xr||Xt===kr)||e.cancelPendingCommit!==null)&&(Mc(e,0),Lu(e,Et,wn,!1)),Fe(e,a),(Gt&Za)!==0&&e===$t){if(Ca)switch(t.tag){case 0:case 11:case 15:e=bt&&ce(bt)||"Unknown",_1.has(e)||(_1.add(e),t=ce(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:w1||(console.error("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),w1=!0)}}else dl&&St(e,t,a),ag(t),e===$t&&((Gt&Za)===Nn&&(os|=a),ml===Lr&&Lu(e,Et,wn,!1)),on(e)}function El(e,t,a){if((Gt&(Za|ni))!==Nn)throw Error("Should not already be working.");var i=!a&&(t&124)===0&&(t&e.expiredLanes)===0||Oe(e,t),o=i?_p(e,t):ud(e,t,!0),s=i;do{if(o===Kc){mh&&!i&&Lu(e,t,0,!1);break}else{if(a=e.current.alternate,s&&!eg(a)){o=ud(e,t,!1),s=!1;continue}if(o===ph){if(s=t,e.errorRecoveryDisabledLanes&s)var d=0;else d=e.pendingLanes&-536870913,d=d!==0?d:d&536870912?536870912:0;if(d!==0){t=d;e:{o=e;var h=d;d=nm;var g=o.current.memoizedState.isDehydrated;if(g&&(Mc(o,h).flags|=256),h=ud(o,h,!1),h!==ph){if(m0&&!g){o.errorRecoveryDisabledLanes|=s,os|=s,o=Lr;break e}o=$a,$a=d,o!==null&&($a===null?$a=o:$a.push.apply($a,o))}o=h}if(s=!1,o!==ph)continue}}if(o===em){Mc(e,0),Lu(e,t,0,!0);break}e:{switch(i=e,o){case Kc:case em:throw Error("Root did not complete. This is a bug in React.");case Lr:if((t&4194048)!==t)break;case Xg:Lu(i,t,wn,!is);break e;case ph:$a=null;break;case h0:case O1:break;default:throw Error("Unknown root exit status.")}if(L.actQueue!==null)rd(i,a,t,$a,um,kg,wn,os,Qr);else{if((t&62914560)===t&&(s=v0+R1-du(),10<s)){if(Lu(i,t,wn,!is),be(i,0,!0)!==0)break e;i.timeoutHandle=k1(Cl.bind(null,i,a,$a,um,kg,t,wn,os,Qr,is,o,HT,Ub,0),s);break e}Cl(i,a,$a,um,kg,t,wn,os,Qr,is,o,CT,Ub,0)}}}break}while(!0);on(e)}function Cl(e,t,a,i,o,s,d,h,g,b,B,Q,q,J){if(e.timeoutHandle=Wr,Q=t.subtreeFlags,(Q&8192||(Q&16785408)===16785408)&&(fm={stylesheets:null,count:0,unsuspend:og},Mi(t),Q=rg(),Q!==null)){e.cancelPendingCommit=Q(rd.bind(null,e,t,s,a,i,o,d,h,g,B,UT,q,J)),Lu(e,s,d,!b);return}rd(e,t,s,a,i,o,d,h,g)}function eg(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var i=0;i<a.length;i++){var o=a[i],s=o.getSnapshot;o=o.value;try{if(!Xa(s(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;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 Lu(e,t,a,i){t&=~g0,t&=~os,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var o=t;0<o;){var s=31-ta(o),d=1<<s;i[s]=-1,o&=~d}a!==0&&at(e,a,t)}function Oc(){return(Gt&(Za|ni))===Nn?(Rc(0),!1):!0}function ld(){if(bt!==null){if(Xt===mn)var e=bt.return;else e=bt,bf(),Dn(e),ch=null,Wy=0,e=bt;for(;e!==null;)Sp(e.alternate,e),e=e.return;bt=null}}function Mc(e,t){var a=e.timeoutHandle;a!==Wr&&(e.timeoutHandle=Wr,QT(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),ld(),$t=e,bt=a=Vn(e.current,null),Et=t,Xt=mn,qn=null,is=!1,mh=Oe(e,t),m0=!1,ml=Kc,Qr=wn=g0=os=cs=0,$a=nm=null,kg=!1,(t&8)!==0&&(t|=t&32);var i=e.entangledLanes;if(i!==0)for(e=e.entanglements,i&=t;0<i;){var o=31-ta(i),s=1<<o;t|=e[o],i&=~s}return Ji=t,Os(),t=Rb(),1e3<t-Mb&&(L.recentlyCreatedOwnerStacks=0,Mb=t),ti.discardPendingWarnings(),a}function cr(e,t){it=null,L.H=Yg,L.getCurrentStack=null,Ca=!1,La=null,t===Zy||t===_g?(t=ap(),Xt=lm):t===qb?(t=ap(),Xt=M1):Xt=t===v1?y0:t!==null&&typeof t=="object"&&typeof t.then=="function"?yh:tm,qn=t;var a=bt;if(a===null)ml=em,Do(e,qa(t,e.current));else switch(a.mode&ha&&Nu(a),Rt(),Xt){case tm:He!==null&&typeof He.markComponentErrored=="function"&&He.markComponentErrored(a,t,Et);break;case Xr:case kr:case lm:case yh:case am:He!==null&&typeof He.markComponentSuspended=="function"&&He.markComponentSuspended(a,t,Et)}}function ad(){var e=L.H;return L.H=Yg,e===null?Yg:e}function wp(){var e=L.A;return L.A=OT,e}function nd(){ml=Lr,is||(Et&4194048)!==Et&&xu.current!==null||(mh=!0),(cs&134217727)===0&&(os&134217727)===0||$t===null||Lu($t,Et,wn,!1)}function ud(e,t,a){var i=Gt;Gt|=Za;var o=ad(),s=wp();if($t!==e||Et!==t){if(dl){var d=e.memoizedUpdaters;0<d.size&&(No(e,Et),d.clear()),Tt(e,t)}um=null,Mc(e,t)}gl(t),t=!1,d=ml;e:do try{if(Xt!==mn&&bt!==null){var h=bt,g=qn;switch(Xt){case y0:ld(),d=Xg;break e;case lm:case Xr:case kr:case yh:xu.current===null&&(t=!0);var b=Xt;if(Xt=mn,qn=null,Ri(e,h,g,b),a&&mh){d=Kc;break e}break;default:b=Xt,Xt=mn,qn=null,Ri(e,h,g,b)}}id(),d=ml;break}catch(B){cr(e,B)}while(!0);return t&&e.shellSuspendCounter++,bf(),Gt=i,L.H=o,L.A=s,Ja(),bt===null&&($t=null,Et=0,Os()),d}function id(){for(;bt!==null;)jp(bt)}function _p(e,t){var a=Gt;Gt|=Za;var i=ad(),o=wp();if($t!==e||Et!==t){if(dl){var s=e.memoizedUpdaters;0<s.size&&(No(e,Et),s.clear()),Tt(e,t)}um=null,Qg=du()+C1,Mc(e,t)}else mh=Oe(e,t);gl(t);e:do try{if(Xt!==mn&&bt!==null)t:switch(t=bt,s=qn,Xt){case tm:Xt=mn,qn=null,Ri(e,t,s,tm);break;case Xr:case kr:if(lp(s)){Xt=mn,qn=null,cd(t);break}t=function(){Xt!==Xr&&Xt!==kr||$t!==e||(Xt=am),on(e)},s.then(t,t);break e;case lm:Xt=am;break e;case M1:Xt=p0;break e;case am:lp(s)?(Xt=mn,qn=null,cd(t)):(Xt=mn,qn=null,Ri(e,t,s,am));break;case p0:var d=null;switch(bt.tag){case 26:d=bt.memoizedState;case 5:case 27:var h=bt;if(!d||hr(d)){Xt=mn,qn=null;var g=h.sibling;if(g!==null)bt=g;else{var b=h.return;b!==null?(bt=b,or(b)):bt=null}break t}break;default:console.error("Unexpected type of fiber triggered a suspensey commit. This is a bug in React.")}Xt=mn,qn=null,Ri(e,t,s,p0);break;case yh:Xt=mn,qn=null,Ri(e,t,s,yh);break;case y0:ld(),ml=Xg;break e;default:throw Error("Unexpected SuspendedReason. This is a bug in React.")}L.actQueue!==null?id():Bp();break}catch(B){cr(e,B)}while(!0);return bf(),L.H=i,L.A=o,Gt=a,bt!==null?(He!==null&&typeof He.markRenderYielded=="function"&&He.markRenderYielded(),Kc):(Ja(),$t=null,Et=0,Os(),ml)}function Bp(){for(;bt!==null&&!gg();)jp(bt)}function jp(e){var t=e.alternate;(e.mode&ha)!==Pt?(Sf(e),t=Be(e,Wf,t,e,Ji),Nu(e)):t=Be(e,Wf,t,e,Ji),e.memoizedProps=e.pendingProps,t===null?or(e):bt=t}function cd(e){var t=Be(e,od,e);e.memoizedProps=e.pendingProps,t===null?or(e):bt=t}function od(e){var t=e.alternate,a=(e.mode&ha)!==Pt;switch(a&&Sf(e),e.tag){case 15:case 0:t=yp(t,e,e.pendingProps,e.type,void 0,Et);break;case 11:t=yp(t,e,e.pendingProps,e.type.render,e.ref,Et);break;case 5:Dn(e);default:Sp(t,e),e=bt=Xh(e,Ji),t=Wf(t,e,Ji)}return a&&Nu(e),t}function Ri(e,t,a,i){bf(),Dn(t),ch=null,Wy=0;var o=t.return;try{if(Js(e,o,t,a,Et)){ml=em,Do(e,qa(a,e.current)),bt=null;return}}catch(s){if(o!==null)throw bt=o,s;ml=em,Do(e,qa(a,e.current)),bt=null;return}t.flags&32768?(Nt||i===tm?e=!0:mh||(Et&536870912)!==0?e=!1:(is=e=!0,(i===Xr||i===kr||i===lm||i===yh)&&(i=xu.current,i!==null&&i.tag===13&&(i.flags|=16384))),sd(t,e)):or(t)}function or(e){var t=e;do{if((t.flags&32768)!==0){sd(t,is);return}var a=t.alternate;if(e=t.return,Sf(t),a=Be(t,Zm,a,t,Ji),(t.mode&ha)!==Pt&&dc(t),a!==null){bt=a;return}if(t=t.sibling,t!==null){bt=t;return}bt=t=e}while(t!==null);ml===Kc&&(ml=O1)}function sd(e,t){do{var a=$m(e.alternate,e);if(a!==null){a.flags&=32767,bt=a;return}if((e.mode&ha)!==Pt){dc(e),a=e.actualDuration;for(var i=e.child;i!==null;)a+=i.actualDuration,i=i.sibling;e.actualDuration=a}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){bt=e;return}bt=e=a}while(e!==null);ml=Xg,bt=null}function rd(e,t,a,i,o,s,d,h,g){e.cancelPendingCommit=null;do Co();while(ya!==Zr);if(ti.flushLegacyContextWarning(),ti.flushPendingUnsafeLifecycleWarnings(),(Gt&(Za|ni))!==Nn)throw Error("Should not already be working.");if(He!==null&&typeof He.markCommitStarted=="function"&&He.markCommitStarted(a),t===null)nt();else{if(a===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(s=t.lanes|t.childLanes,s|=Zv,Ye(e,a,s,d,h,g),e===$t&&(bt=$t=null,Et=0),gh=t,rs=e,fs=a,S0=s,T0=o,q1=i,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Lp(Jo,function(){return sr(),null})):(e.callbackNode=null,e.callbackPriority=0),Hg=lh(),i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null,o=et.p,et.p=kl,d=Gt,Gt|=ni;try{Pf(e,t,a)}finally{Gt=d,et.p=o,L.T=i}}ya=U1,lu(),fd(),tg()}}function lu(){if(ya===U1){ya=Zr;var e=rs,t=gh,a=fs,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=L.T,L.T=null;var o=et.p;et.p=kl;var s=Gt;Gt|=ni;try{dh=a,hh=e,Cp(t,e),hh=dh=null,a=H0;var d=Hm(e.containerInfo),h=a.focusedElem,g=a.selectionRange;if(d!==h&&h&&h.ownerDocument&&Um(h.ownerDocument.documentElement,h)){if(g!==null&&Vh(h)){var b=g.start,B=g.end;if(B===void 0&&(B=b),"selectionStart"in h)h.selectionStart=b,h.selectionEnd=Math.min(B,h.value.length);else{var Q=h.ownerDocument||document,q=Q&&Q.defaultView||window;if(q.getSelection){var J=q.getSelection(),je=h.textContent.length,tt=Math.min(g.start,je),Jt=g.end===void 0?tt:Math.min(g.end,je);!J.extend&&tt>Jt&&(d=Jt,Jt=tt,tt=d);var Dt=jh(h,tt),x=jh(h,Jt);if(Dt&&x&&(J.rangeCount!==1||J.anchorNode!==Dt.node||J.anchorOffset!==Dt.offset||J.focusNode!==x.node||J.focusOffset!==x.offset)){var A=Q.createRange();A.setStart(Dt.node,Dt.offset),J.removeAllRanges(),tt>Jt?(J.addRange(A),J.extend(x.node,x.offset)):(A.setEnd(x.node,x.offset),J.addRange(A))}}}}for(Q=[],J=h;J=J.parentNode;)J.nodeType===1&&Q.push({element:J,left:J.scrollLeft,top:J.scrollTop});for(typeof h.focus=="function"&&h.focus(),h=0;h<Q.length;h++){var z=Q[h];z.element.scrollLeft=z.left,z.element.scrollTop=z.top}}cv=!!U0,H0=U0=null}finally{Gt=s,et.p=o,L.T=i}}e.current=t,ya=H1}}function fd(){if(ya===H1){ya=Zr;var e=rs,t=gh,a=fs,i=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||i){i=L.T,L.T=null;var o=et.p;et.p=kl;var s=Gt;Gt|=ni;try{He!==null&&typeof He.markLayoutEffectsStarted=="function"&&He.markLayoutEffectsStarted(a),dh=a,hh=e,Mp(e,t.alternate,t),hh=dh=null,He!==null&&typeof He.markLayoutEffectsStopped=="function"&&He.markLayoutEffectsStopped()}finally{Gt=s,et.p=o,L.T=i}}ya=N1}}function tg(){if(ya===NT||ya===N1){ya=Zr,wv();var e=rs,t=gh,a=fs,i=q1,o=(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0;o?ya=b0:(ya=Zr,gh=rs=null,au(e,e.pendingLanes),$r=0,cm=null);var s=e.pendingLanes;if(s===0&&(ss=null),o||Ho(e),o=wt(a),t=t.stateNode,Xl&&typeof Xl.onCommitFiberRoot=="function")try{var d=(t.current.flags&128)===128;switch(o){case kl:var h=qd;break;case Hn:h=Dr;break;case Fu:h=Jo;break;case jd:h=zr;break;default:h=Jo}Xl.onCommitFiberRoot(Vi,t,h,d)}catch(Q){Ma||(Ma=!0,console.error("React instrumentation encountered an error: %s",Q))}if(dl&&e.memoizedUpdaters.clear(),Np(),i!==null){d=L.T,h=et.p,et.p=kl,L.T=null;try{var g=e.onRecoverableError;for(t=0;t<i.length;t++){var b=i[t],B=lg(b.stack);Be(b.source,g,b.value,B)}}finally{L.T=d,et.p=h}}(fs&3)!==0&&Co(),on(e),s=e.pendingLanes,(a&4194090)!==0&&(s&42)!==0?(qg=!0,e===E0?im++:(im=0,E0=e)):im=0,Rc(0),nt()}}function lg(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 au(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Yn(t)))}function Co(e){return lu(),fd(),tg(),sr()}function sr(){if(ya!==b0)return!1;var e=rs,t=S0;S0=0;var a=wt(fs),i=Fu>a?Fu:a;a=L.T;var o=et.p;try{et.p=i,L.T=null,i=T0,T0=null;var s=rs,d=fs;if(ya=Zr,gh=rs=null,fs=0,(Gt&(Za|ni))!==Nn)throw Error("Cannot flush passive effects while already rendering.");x0=!0,Zg=!1,He!==null&&typeof He.markPassiveEffectsStarted=="function"&&He.markPassiveEffectsStarted(d);var h=Gt;if(Gt|=ni,Up(s.current),ar(s,s.current,d,i),He!==null&&typeof He.markPassiveEffectsStopped=="function"&&He.markPassiveEffectsStopped(),Ho(s),Gt=h,Rc(0,!1),Zg?s===cm?$r++:($r=0,cm=s):$r=0,Zg=x0=!1,Xl&&typeof Xl.onPostCommitFiberRoot=="function")try{Xl.onPostCommitFiberRoot(Vi,s)}catch(b){Ma||(Ma=!0,console.error("React instrumentation encountered an error: %s",b))}var g=s.current.stateNode;return g.effectDuration=0,g.passiveEffectDuration=0,!0}finally{et.p=o,L.T=a,au(e,t)}}function Uo(e,t,a){t=qa(a,t),t=Il(e.stateNode,t,2),e=xn(e,t,2),e!==null&&(Fe(e,2),on(e))}function Ke(e,t,a){if(vh=!1,e.tag===3)Uo(e,e,a);else{for(;t!==null;){if(t.tag===3){Uo(t,e,a);return}if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&(ss===null||!ss.has(i))){e=qa(a,e),a=il(2),i=xn(t,a,2),i!==null&&($s(a,i,t,e),Fe(i,2),on(i));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.
|
|
230
195
|
|
|
231
196
|
Error message:
|
|
232
197
|
|
|
233
|
-
%s`,a)}}function
|
|
198
|
+
%s`,a)}}function Vp(e,t,a){var i=e.pingCache;if(i===null){i=e.pingCache=new RT;var o=new Set;i.set(t,o)}else o=i.get(t),o===void 0&&(o=new Set,i.set(t,o));o.has(a)||(m0=!0,o.add(a),i=Mv.bind(null,e,t,a),dl&&No(e,a),t.then(i,i))}function Mv(e,t,a){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,qp()&&L.actQueue===null&&console.error(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
|
|
234
199
|
|
|
235
200
|
When testing, code that resolves suspended data should be wrapped into act(...):
|
|
236
201
|
|
|
@@ -239,7 +204,7 @@ act(() => {
|
|
|
239
204
|
});
|
|
240
205
|
/* assert on the output */
|
|
241
206
|
|
|
242
|
-
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`)
|
|
207
|
+
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`),$t===e&&(Et&a)===a&&(ml===Lr||ml===h0&&(Et&62914560)===Et&&du()-v0<R1?(Gt&Za)===Nn&&Mc(e,0):g0|=a,Qr===Et&&(Qr=0)),on(e)}function Gp(e,t){t===0&&(t=Ue()),e=ga(e,t),e!==null&&(Fe(e,t),on(e))}function rr(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Gp(e,a)}function Ci(e,t){var a=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}i!==null&&i.delete(t),Gp(e,a)}function dd(e,t,a){if((t.subtreeFlags&67117056)!==0)for(t=t.child;t!==null;){var i=e,o=t,s=o.type===Xo;s=a||s,o.tag!==22?o.flags&67108864?s&&Be(o,Yp,i,o,(o.mode&Db)===Pt):dd(i,o,s):o.memoizedState===null&&(s&&o.flags&8192?Be(o,Yp,i,o):o.subtreeFlags&67108864&&Be(o,dd,i,o,s)),t=t.sibling}}function Yp(e,t){var a=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!0;lt(!0);try{ja(t),a&&ir(t),Yu(e,t.alternate,t,!1),a&&td(e,t,0,null,!1,0)}finally{lt(!1)}}function Ho(e){var t=!0;e.current.mode&(Ua|ei)||(t=!1),dd(e,e.current,t)}function Cn(e){if((Gt&Za)===Nn){var t=e.tag;if(t===3||t===1||t===0||t===11||t===14||t===15){if(t=ce(e)||"ReactComponent",$g!==null){if($g.has(t))return;$g.add(t)}else $g=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 No(e,t){dl&&e.memoizedUpdaters.forEach(function(a){St(e,a,t)})}function Lp(e,t){var a=L.actQueue;return a!==null?(a.push(t),_T):Nd(e,t)}function ag(e){qp()&&L.actQueue===null&&Be(e,function(){console.error(`An update to %s inside a test was not wrapped in act(...).
|
|
243
208
|
|
|
244
209
|
When testing, code that causes React state updates should be wrapped into act(...):
|
|
245
210
|
|
|
@@ -248,70 +213,70 @@ act(() => {
|
|
|
248
213
|
});
|
|
249
214
|
/* assert on the output */
|
|
250
215
|
|
|
251
|
-
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`,W(e))})}function tr(e){e!==Gh&&e.next===null&&(Gh===null?cb=Gh=e:Gh=Gh.next=e),sb=!0,xe.actQueue!==null?gT||(gT=!0,da()):yT||(yT=!0,da())}function Zo(e,t){if(!bT&&sb){bT=!0;do for(var a=!1,i=cb;i!==null;){if(e!==0){var c=i.pendingLanes;if(c===0)var h=0;else{var E=i.suspendedLanes,x=i.pingedLanes;h=(1<<31-$a(42|e)+1)-1,h&=c&~(E&~x),h=h&201326741?h&201326741|1:h?h|2:0}h!==0&&(a=!0,Bp(i,h))}else h=Ht,h=pe(i,i===bn?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Sd),(h&3)===0||Ve(i,h)||(a=!0,Bp(i,h));i=i.next}while(a);bT=!1}}function kp(){Lp()}function Lp(){sb=gT=yT=!1;var e=0;gd!==0&&(Fc()&&(e=gd),gd=0);for(var t=gi(),a=null,i=cb;i!==null;){var c=i.next,h=si(i,t);h===0?(i.next=null,a===null?cb=c:a.next=c,c===null&&(Gh=a)):(a=i,(e!==0||(h&3)!==0)&&(sb=!0)),i=c}Zo(e)}function si(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,c=e.expirationTimes,h=e.pendingLanes&-62914561;0<h;){var E=31-$a(h),x=1<<E,N=c[E];N===-1?((x&a)===0||(x&i)!==0)&&(c[E]=Ae(x,t)):N<=t&&(e.expiredLanes|=x),h&=~x}if(t=bn,a=Ht,a=pe(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Sd),i=e.callbackNode,a===0||e===t&&(un===pd||un===hd)||e.cancelPendingCommit!==null)return i!==null&&Vp(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Ve(e,a)){if(t=a&-a,t!==e.callbackPriority||xe.actQueue!==null&&i!==ST)Vp(i);else return t;switch(gt(a)){case za:case zr:a=Kf;break;case cu:a=ps;break;case ch:a=Jf;break;default:a=ps}return i=Vn.bind(null,e),xe.actQueue!==null?(xe.actQueue.push(i),a=ST):a=lh(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&Vp(i),e.callbackPriority=2,e.callbackNode=null,2}function Vn(e,t){if(K0=Z0=!1,ll!==vd&&ll!==dT)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Kc()&&e.callbackNode!==a)return null;var i=Ht;return i=pe(e,e===bn?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Sd),i===0?null:(fa(e,i,t),si(e,gi()),e.callbackNode!=null&&e.callbackNode===a?Vn.bind(null,e):null)}function Bp(e,t){if(Kc())return null;Z0=K0,K0=!1,fa(e,t,!0)}function Vp(e){e!==ST&&e!==null&&AE(e)}function da(){xe.actQueue!==null&&xe.actQueue.push(function(){return Lp(),null}),U3(function(){(Ft&(Vl|vu))!==Nr?lh(rh,kp):Lp()})}function Ev(){return gd===0&&(gd=We()),gd}function Tv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(re(e,"action"),Ia(""+e))}function xv(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function On(e,t,a,i,c){if(t==="submit"&&a&&a.stateNode===c){var h=Tv((c[Sl]||null).action),E=i.submitter;E&&(t=(t=E[Sl]||null)?Tv(t.formAction):E.getAttribute("formAction"),t!==null&&(h=t,E=null));var x=new ct("action","action",null,i,c);e.push({event:x,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(gd!==0){var N=E?xv(c,E):new FormData(c),j={pending:!0,data:N,method:c.method,action:h};Object.freeze(j),Ho(a,j,null,N)}}else typeof h=="function"&&(x.preventDefault(),N=E?xv(c,E):new FormData(c),j={pending:!0,data:N,method:c.method,action:h},Object.freeze(j),Ho(a,j,h,N))},currentTarget:c}]})}}function _a(e,t,a){e.currentTarget=a;try{t(e)}catch(i){tT(i)}e.currentTarget=null}function fi(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var c=void 0,h=i.event;if(i=i.listeners,t)for(var E=i.length-1;0<=E;E--){var x=i[E],N=x.instance,j=x.currentTarget;if(x=x.listener,N!==c&&h.isPropagationStopped())break e;N!==null?Je(N,_a,h,x,j):_a(h,x,j),c=N}else for(E=0;E<i.length;E++){if(x=i[E],N=x.instance,j=x.currentTarget,x=x.listener,N!==c&&h.isPropagationStopped())break e;N!==null?Je(N,_a,h,x,j):_a(h,x,j),c=N}}}}function zt(e,t){ET.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[Jv];a===void 0&&(a=t[Jv]=new Set);var i=e+"__bubble";a.has(i)||($p(t,e,2,!1),a.add(i))}function Yp(e,t,a){ET.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 i=0;t&&(i|=4),$p(a,e,i,t)}function Ov(e){if(!e[fb]){e[fb]=!0,q0.forEach(function(a){a!=="selectionchange"&&(ET.has(a)||Yp(a,!1,e),Yp(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[fb]||(t[fb]=!0,Yp("selectionchange",!1,t))}}function $p(e,t,a,i){switch(eh(t)){case za:var c=OE;break;case zr:c=Fp;break;default:c=Ku}a=c.bind(null,t,a,e),c=void 0,!de||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(c=!0),i?c!==void 0?e.addEventListener(t,a,{capture:!0,passive:c}):e.addEventListener(t,a,!0):c!==void 0?e.addEventListener(t,a,{passive:c}):e.addEventListener(t,a,!1)}function Wa(e,t,a,i,c){var h=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var E=i.tag;if(E===3||E===4){var x=i.stateNode.containerInfo;if(x===c)break;if(E===4)for(E=i.return;E!==null;){var N=E.tag;if((N===3||N===4)&&E.stateNode.containerInfo===c)return;E=E.return}for(;x!==null;){if(E=En(x),E===null)return;if(N=E.tag,N===5||N===6||N===26||N===27){i=h=E;continue e}x=x.parentNode}}i=i.return}To(function(){var j=h,Se=Yr(a),_e=[];e:{var ve=f_.get(e);if(ve!==void 0){var we=ct,at=e;switch(e){case"keypress":if(Cu(a)===0)break e;case"keydown":case"keyup":we=$R;break;case"focusin":at="focus",we=Bt;break;case"focusout":at="blur",we=Bt;break;case"beforeblur":case"afterblur":we=Bt;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":we=Dt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":we=mt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":we=PR;break;case u_:case o_:case c_:we=NE;break;case s_:we=ZR;break;case"scroll":case"scrollend":we=oe;break;case"wheel":we=JR;break;case"copy":case"cut":case"paste":we=UR;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":we=F2;break;case"toggle":case"beforetoggle":we=WR}var yt=(t&4)!==0,Sn=!yt&&(e==="scroll"||e==="scrollend"),Lt=yt?ve!==null?ve+"Capture":null:ve;yt=[];for(var G=j,X;G!==null;){var F=G;if(X=F.stateNode,F=F.tag,F!==5&&F!==26&&F!==27||X===null||Lt===null||(F=mr(G,Lt),F!=null&&yt.push(Fa(G,F,X))),Sn)break;G=G.return}0<yt.length&&(ve=new we(ve,at,null,a,Se),_e.push({event:ve,listeners:yt}))}}if((t&7)===0){e:{if(ve=e==="mouseover"||e==="pointerover",we=e==="mouseout"||e==="pointerout",ve&&a!==m&&(at=a.relatedTarget||a.fromElement)&&(En(at)||at[no]))break e;if((we||ve)&&(ve=Se.window===Se?Se:(ve=Se.ownerDocument)?ve.defaultView||ve.parentWindow:window,we?(at=a.relatedTarget||a.toElement,we=j,at=at?En(at):null,at!==null&&(Sn=L(at),yt=at.tag,at!==Sn||yt!==5&&yt!==27&&yt!==6)&&(at=null)):(we=null,at=j),we!==at)){if(yt=Dt,F="onMouseLeave",Lt="onMouseEnter",G="mouse",(e==="pointerout"||e==="pointerover")&&(yt=F2,F="onPointerLeave",Lt="onPointerEnter",G="pointer"),Sn=we==null?ve:aa(we),X=at==null?ve:aa(at),ve=new yt(F,G+"leave",we,a,Se),ve.target=Sn,ve.relatedTarget=X,F=null,En(Se)===j&&(yt=new yt(Lt,G+"enter",at,a,Se),yt.target=X,yt.relatedTarget=Sn,F=yt),Sn=F,we&&at)t:{for(yt=we,Lt=at,G=0,X=yt;X;X=ba(X))G++;for(X=0,F=Lt;F;F=ba(F))X++;for(;0<G-X;)yt=ba(yt),G--;for(;0<X-G;)Lt=ba(Lt),X--;for(;G--;){if(yt===Lt||Lt!==null&&yt===Lt.alternate)break t;yt=ba(yt),Lt=ba(Lt)}yt=null}else yt=null;we!==null&&Cv(_e,ve,we,yt,!1),at!==null&&Sn!==null&&Cv(_e,Sn,at,yt,!0)}}e:{if(ve=j?aa(j):window,we=ve.nodeName&&ve.nodeName.toLowerCase(),we==="select"||we==="input"&&ve.type==="file")var De=hm;else if(Ac(ve))if(r_)De=yE;else{De=mm;var et=mE}else we=ve.nodeName,!we||we.toLowerCase()!=="input"||ve.type!=="checkbox"&&ve.type!=="radio"?j&&Vr(j.elementType)&&(De=hm):De=vE;if(De&&(De=De(e,j))){kd(_e,De,a,Se);break e}et&&et(e,ve,j),e==="focusout"&&j&&ve.type==="number"&&j.memoizedProps.value!=null&&Ui(ve,"number",ve.value)}switch(et=j?aa(j):window,e){case"focusin":(Ac(et)||et.contentEditable==="true")&&(bh=et,qE=j,vy=null);break;case"focusout":vy=qE=bh=null;break;case"mousedown":HE=!0;break;case"contextmenu":case"mouseup":case"dragend":HE=!1,Zg(_e,a,Se);break;case"selectionchange":if(n3)break;case"keydown":case"keyup":Zg(_e,a,Se)}var Ot;if(RE)e:{switch(e){case"compositionstart":var lt="onCompositionStart";break e;case"compositionend":lt="onCompositionEnd";break e;case"compositionupdate":lt="onCompositionUpdate";break e}lt=void 0}else gh?st(e,a)&&(lt="onCompositionEnd"):e==="keydown"&&a.keyCode===e_&&(lt="onCompositionStart");lt&&(t_&&a.locale!=="ko"&&(gh||lt!=="onCompositionStart"?lt==="onCompositionEnd"&&gh&&(Ot=vr()):(je=Se,ge="value"in je?je.value:je.textContent,gh=!0)),et=Hf(j,lt),0<et.length&&(lt=new W2(lt,e,null,a,Se),_e.push({event:lt,listeners:et}),Ot?lt.data=Ot:(Ot=sn(a),Ot!==null&&(lt.data=Ot)))),(Ot=e3?$r(e,a):Gr(e,a))&&(lt=Hf(j,"onBeforeInput"),0<lt.length&&(et=new kR("onBeforeInput","beforeinput",null,a,Se),_e.push({event:et,listeners:lt}),et.data=Ot)),On(_e,e,j,a,Se)}fi(_e,t)})}function Fa(e,t,a){return{instance:e,listener:t,currentTarget:a}}function Hf(e,t){for(var a=t+"Capture",i=[];e!==null;){var c=e,h=c.stateNode;if(c=c.tag,c!==5&&c!==26&&c!==27||h===null||(c=mr(e,a),c!=null&&i.unshift(Fa(e,c,h)),c=mr(e,t),c!=null&&i.push(Fa(e,c,h))),e.tag===3)return i;e=e.return}return[]}function ba(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Cv(e,t,a,i,c){for(var h=t._reactName,E=[];a!==null&&a!==i;){var x=a,N=x.alternate,j=x.stateNode;if(x=x.tag,N!==null&&N===i)break;x!==5&&x!==26&&x!==27||j===null||(N=j,c?(j=mr(a,h),j!=null&&E.unshift(Fa(a,j,N))):c||(j=mr(a,h),j!=null&&E.push(Fa(a,j,N)))),a=a.return}E.length!==0&&e.push({event:t,listeners:E})}function di(e,t){Ou(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||dy||(dy=!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 a={registrationNameDependencies:ir,possibleRegistrationNames:ac};Vr(e)||typeof t.is=="string"||Xs(e,t,a),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,a,i){t!==a&&(a=Aa(a),Aa(t)!==a&&(i[e]=t))}function Pu(e,t,a){t.forEach(function(i){a[Av(i)]=i==="style"?Jo(e):e.getAttribute(i)})}function nr(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 Gp(e,t){return e=e.namespaceURI===ad||e.namespaceURI===Ss?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Aa(e){return M(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.",ue(e)),K(e)),(typeof e=="string"?e:""+e).replace(A3,`
|
|
252
|
-
`).replace(w3,"")}function _v(e,t){return t=Aa(t),Aa(e)===t}function tu(){}function Gt(e,t,a,i,c,h){switch(a){case"children":typeof i=="string"?(bo(i,t,!1),t==="body"||t==="textarea"&&i===""||Br(e,i)):(typeof i=="number"||typeof i=="bigint")&&(bo(""+i,t,!1),t!=="body"&&Br(e,""+i));break;case"className":zn(e,"class",i);break;case"tabIndex":zn(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":zn(e,a,i);break;case"style":So(e,i,h);break;case"data":if(t!=="object"){zn(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="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.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}re(i,a),i=Ia(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(c.encType==null&&c.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.")),c.target==null||pb||(pb=!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"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||c.type==="submit"||c.type==="image"||db?t!=="button"||c.type==null||c.type==="submit"||db?typeof i=="function"&&(c.name==null||_A||(_A=!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.')),c.formEncType==null&&c.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.")),c.formTarget==null||pb||(pb=!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."))):(db=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(db=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"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 h=="function"&&(a==="formAction"?(t!=="input"&&Gt(e,t,"name",c.name,c,null),Gt(e,t,"formEncType",c.formEncType,c,null),Gt(e,t,"formMethod",c.formMethod,c,null),Gt(e,t,"formTarget",c.formTarget,c,null)):(Gt(e,t,"encType",c.encType,c,null),Gt(e,t,"method",c.method,c,null),Gt(e,t,"target",c.target,c,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}re(i,a),i=Ia(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&nr(a,i),e.onclick=tu);break;case"onScroll":i!=null&&(typeof i!="function"&&nr(a,i),zt("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&nr(a,i),zt("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}re(i,a),a=Ia(""+i),e.setAttributeNS(bd,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(re(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||mb[a]||(mb[a]=!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.",a));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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(re(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(re(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(re(i,a),e.setAttribute(a,i));break;case"popover":zt("beforetoggle",e),zt("toggle",e),la(e,"popover",i);break;case"xlinkActuate":jn(e,bd,"xlink:actuate",i);break;case"xlinkArcrole":jn(e,bd,"xlink:arcrole",i);break;case"xlinkRole":jn(e,bd,"xlink:role",i);break;case"xlinkShow":jn(e,bd,"xlink:show",i);break;case"xlinkTitle":jn(e,bd,"xlink:title",i);break;case"xlinkType":jn(e,bd,"xlink:type",i);break;case"xmlBase":jn(e,TT,"xml:base",i);break;case"xmlLang":jn(e,TT,"xml:lang",i);break;case"xmlSpace":jn(e,TT,"xml:space",i);break;case"is":h!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),la(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":AA||i==null||typeof i!="object"||(AA=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=Eo(a),la(e,a,i)):ir.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&nr(a,i)}}function Ko(e,t,a,i,c,h){switch(a){case"style":So(e,i,h);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(c.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?Br(e,i):(typeof i=="number"||typeof i=="bigint")&&Br(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&nr(a,i),zt("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&nr(a,i),zt("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&nr(a,i),e.onclick=tu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(ir.hasOwnProperty(a))i!=null&&typeof i!="function"&&nr(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(c=a.endsWith("Capture"),t=a.slice(2,c?a.length-7:void 0),h=e[Sl]||null,h=h!=null?h[a]:null,typeof h=="function"&&e.removeEventListener(t,h,c),typeof i=="function")){typeof h!="function"&&h!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,c);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):la(e,a,i)}}}function Yn(e,t,a){switch(di(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zt("error",e),zt("load",e);var i=!1,c=!1,h;for(h in a)if(a.hasOwnProperty(h)){var E=a[h];if(E!=null)switch(h){case"src":i=!0;break;case"srcSet":c=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Gt(e,t,h,E,a,null)}}c&&Gt(e,t,"srcSet",a.srcSet,a,null),i&&Gt(e,t,"src",a.src,a,null);return;case"input":xa("input",a),zt("invalid",e);var x=h=E=c=null,N=null,j=null;for(i in a)if(a.hasOwnProperty(i)){var Se=a[i];if(Se!=null)switch(i){case"name":c=Se;break;case"type":E=Se;break;case"checked":N=Se;break;case"defaultChecked":j=Se;break;case"value":h=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:Gt(e,t,i,Se,a,null)}}Qn(e,a),Hi(e,h,x,N,j,E,c,!1),Al(e);return;case"select":xa("select",a),zt("invalid",e),i=E=h=null;for(c in a)if(a.hasOwnProperty(c)&&(x=a[c],x!=null))switch(c){case"value":h=x;break;case"defaultValue":E=x;break;case"multiple":i=x;default:Gt(e,t,c,x,a,null)}pr(e,a),t=h,a=E,e.multiple=!!i,t!=null?ka(e,!!i,t,!1):a!=null&&ka(e,!!i,a,!0);return;case"textarea":xa("textarea",a),zt("invalid",e),h=c=i=null;for(E in a)if(a.hasOwnProperty(E)&&(x=a[E],x!=null))switch(E){case"value":i=x;break;case"defaultValue":c=x;break;case"children":h=x;break;case"dangerouslySetInnerHTML":if(x!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Gt(e,t,E,x,a,null)}La(e,a),go(e,i,c,h),Al(e);return;case"option":Eu(e,a);for(N in a)if(a.hasOwnProperty(N)&&(i=a[N],i!=null))switch(N){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Gt(e,t,N,i,a,null)}return;case"dialog":zt("beforetoggle",e),zt("toggle",e),zt("cancel",e),zt("close",e);break;case"iframe":case"object":zt("load",e);break;case"video":case"audio":for(i=0;i<By.length;i++)zt(By[i],e);break;case"image":zt("error",e),zt("load",e);break;case"details":zt("toggle",e);break;case"embed":case"source":case"link":zt("error",e),zt("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(j in a)if(a.hasOwnProperty(j)&&(i=a[j],i!=null))switch(j){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Gt(e,t,j,i,a,null)}return;default:if(Vr(t)){for(Se in a)a.hasOwnProperty(Se)&&(i=a[Se],i!==void 0&&Ko(e,t,Se,i,a,void 0));return}}for(x in a)a.hasOwnProperty(x)&&(i=a[x],i!=null&&Gt(e,t,x,i,a,null))}function b0(e,t,a,i){switch(di(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var c=null,h=null,E=null,x=null,N=null,j=null,Se=null;for(we in a){var _e=a[we];if(a.hasOwnProperty(we)&&_e!=null)switch(we){case"checked":break;case"value":break;case"defaultValue":N=_e;default:i.hasOwnProperty(we)||Gt(e,t,we,null,i,_e)}}for(var ve in i){var we=i[ve];if(_e=a[ve],i.hasOwnProperty(ve)&&(we!=null||_e!=null))switch(ve){case"type":h=we;break;case"name":c=we;break;case"checked":j=we;break;case"defaultChecked":Se=we;break;case"value":E=we;break;case"defaultValue":x=we;break;case"children":case"dangerouslySetInnerHTML":if(we!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:we!==_e&&Gt(e,t,ve,we,i,_e)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||CA||(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"),CA=!0),!t||i||OA||(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"),OA=!0),wl(e,E,x,N,j,Se,h,c);return;case"select":we=E=x=ve=null;for(h in a)if(N=a[h],a.hasOwnProperty(h)&&N!=null)switch(h){case"value":break;case"multiple":we=N;default:i.hasOwnProperty(h)||Gt(e,t,h,null,i,N)}for(c in i)if(h=i[c],N=a[c],i.hasOwnProperty(c)&&(h!=null||N!=null))switch(c){case"value":ve=h;break;case"defaultValue":x=h;break;case"multiple":E=h;default:h!==N&&Gt(e,t,c,h,i,N)}i=x,t=E,a=we,ve!=null?ka(e,!!t,ve,!1):!!a!=!!t&&(i!=null?ka(e,!!t,i,!0):ka(e,!!t,t?[]:"",!1));return;case"textarea":we=ve=null;for(x in a)if(c=a[x],a.hasOwnProperty(x)&&c!=null&&!i.hasOwnProperty(x))switch(x){case"value":break;case"children":break;default:Gt(e,t,x,null,i,c)}for(E in i)if(c=i[E],h=a[E],i.hasOwnProperty(E)&&(c!=null||h!=null))switch(E){case"value":ve=c;break;case"defaultValue":we=c;break;case"children":break;case"dangerouslySetInnerHTML":if(c!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:c!==h&&Gt(e,t,E,c,i,h)}ki(e,ve,we);return;case"option":for(var at in a)if(ve=a[at],a.hasOwnProperty(at)&&ve!=null&&!i.hasOwnProperty(at))switch(at){case"selected":e.selected=!1;break;default:Gt(e,t,at,null,i,ve)}for(N in i)if(ve=i[N],we=a[N],i.hasOwnProperty(N)&&ve!==we&&(ve!=null||we!=null))switch(N){case"selected":e.selected=ve&&typeof ve!="function"&&typeof ve!="symbol";break;default:Gt(e,t,N,ve,i,we)}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 yt in a)ve=a[yt],a.hasOwnProperty(yt)&&ve!=null&&!i.hasOwnProperty(yt)&&Gt(e,t,yt,null,i,ve);for(j in i)if(ve=i[j],we=a[j],i.hasOwnProperty(j)&&ve!==we&&(ve!=null||we!=null))switch(j){case"children":case"dangerouslySetInnerHTML":if(ve!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Gt(e,t,j,ve,i,we)}return;default:if(Vr(t)){for(var Sn in a)ve=a[Sn],a.hasOwnProperty(Sn)&&ve!==void 0&&!i.hasOwnProperty(Sn)&&Ko(e,t,Sn,void 0,i,ve);for(Se in i)ve=i[Se],we=a[Se],!i.hasOwnProperty(Se)||ve===we||ve===void 0&&we===void 0||Ko(e,t,Se,ve,i,we);return}}for(var Lt in a)ve=a[Lt],a.hasOwnProperty(Lt)&&ve!=null&&!i.hasOwnProperty(Lt)&&Gt(e,t,Lt,null,i,ve);for(_e in i)ve=i[_e],we=a[_e],!i.hasOwnProperty(_e)||ve===we||ve==null&&we==null||Gt(e,t,_e,ve,i,we)}function Av(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Jo(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function wv(e,t,a){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 i,c=i="",h;for(h in t)if(t.hasOwnProperty(h)){var E=t[h];E!=null&&typeof E!="boolean"&&E!==""&&(h.indexOf("--")===0?(le(E,h),i+=c+h+":"+(""+E).trim()):typeof E!="number"||E===0||nd.has(h)?(le(E,h),i+=c+h.replace(su,"-$1").toLowerCase().replace(fu,"-ms-")+":"+(""+E).trim()):i+=c+h.replace(su,"-$1").toLowerCase().replace(fu,"-ms-")+":"+E+"px",c=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Aa(i),Aa(t)!==i&&(a.style=Jo(e)))}}function el(e,t,a,i,c,h){if(c.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(re(i,t),e===""+i)return}Cn(t,e,i,h)}function Dv(e,t,a,i,c,h){if(c.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}Cn(t,e,i,h)}function Mv(e,t,a,i,c,h){if(c.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(re(i,a),e===""+i)return}Cn(t,e,i,h)}function S0(e,t,a,i,c,h){if(c.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(re(i,t),e===""+i))return}Cn(t,e,i,h)}function Kt(e,t,a,i,c,h){if(c.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(re(i,t),a=Ia(""+i),e===a)return}Cn(t,e,i,h)}function fn(e,t,a,i){for(var c={},h=new Set,E=e.attributes,x=0;x<E.length;x++)switch(E[x].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:h.add(E[x].name)}if(Vr(t)){for(var N in a)if(a.hasOwnProperty(N)){var j=a[N];if(j!=null){if(ir.hasOwnProperty(N))typeof j!="function"&&nr(N,j);else if(a.suppressHydrationWarning!==!0)switch(N){case"children":typeof j!="string"&&typeof j!="number"||Cn("children",e.textContent,j,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":E=e.innerHTML,j=j?j.__html:void 0,j!=null&&(j=Gp(e,j),Cn(N,E,j,c));continue;case"style":h.delete(N),wv(e,j,c);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":h.delete(N.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",N);continue;case"className":h.delete("class"),E=pn(e,"class",j),Cn("className",E,j,c);continue;default:i.context===vc&&t!=="svg"&&t!=="math"?h.delete(N.toLowerCase()):h.delete(N),E=pn(e,N,j),Cn(N,E,j,c)}}}}else for(j in a)if(a.hasOwnProperty(j)&&(N=a[j],N!=null)){if(ir.hasOwnProperty(j))typeof N!="function"&&nr(j,N);else if(a.suppressHydrationWarning!==!0)switch(j){case"children":typeof N!="string"&&typeof N!="number"||Cn("children",e.textContent,N,c);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":E=e.innerHTML,N=N?N.__html:void 0,N!=null&&(N=Gp(e,N),E!==N&&(c[j]={__html:E}));continue;case"className":el(e,j,"class",N,h,c);continue;case"tabIndex":el(e,j,"tabindex",N,h,c);continue;case"style":h.delete(j),wv(e,N,c);continue;case"multiple":h.delete(j),Cn(j,e.multiple,N,c);continue;case"muted":h.delete(j),Cn(j,e.muted,N,c);continue;case"autoFocus":h.delete("autofocus"),Cn(j,e.autofocus,N,c);continue;case"data":if(t!=="object"){h.delete(j),E=e.getAttribute("data"),Cn(j,E,N,c);continue}case"src":case"href":if(!(N!==""||t==="a"&&j==="href"||t==="object"&&j==="data")){console.error(j==="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.',j,j);continue}Kt(e,j,j,N,h,c);continue;case"action":case"formAction":if(E=e.getAttribute(j),typeof N=="function"){h.delete(j.toLowerCase()),j==="formAction"?(h.delete("name"),h.delete("formenctype"),h.delete("formmethod"),h.delete("formtarget")):(h.delete("enctype"),h.delete("method"),h.delete("target"));continue}else if(E===D3){h.delete(j.toLowerCase()),Cn(j,"function",N,c);continue}Kt(e,j,j.toLowerCase(),N,h,c);continue;case"xlinkHref":Kt(e,j,"xlink:href",N,h,c);continue;case"contentEditable":Mv(e,j,"contenteditable",N,h,c);continue;case"spellCheck":Mv(e,j,"spellcheck",N,h,c);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Mv(e,j,j,N,h,c);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":Dv(e,j,j.toLowerCase(),N,h,c);continue;case"capture":case"download":e:{x=e;var Se=E=j,_e=c;if(h.delete(Se),x=x.getAttribute(Se),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(re(N,E),x===""+N)break e}Cn(E,x,N,_e)}continue;case"cols":case"rows":case"size":case"span":e:{if(x=e,Se=E=j,_e=c,h.delete(Se),x=x.getAttribute(Se),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)&&(re(N,E),x===""+N))break e}Cn(E,x,N,_e)}continue;case"rowSpan":S0(e,j,"rowspan",N,h,c);continue;case"start":S0(e,j,j,N,h,c);continue;case"xHeight":el(e,j,"x-height",N,h,c);continue;case"xlinkActuate":el(e,j,"xlink:actuate",N,h,c);continue;case"xlinkArcrole":el(e,j,"xlink:arcrole",N,h,c);continue;case"xlinkRole":el(e,j,"xlink:role",N,h,c);continue;case"xlinkShow":el(e,j,"xlink:show",N,h,c);continue;case"xlinkTitle":el(e,j,"xlink:title",N,h,c);continue;case"xlinkType":el(e,j,"xlink:type",N,h,c);continue;case"xmlBase":el(e,j,"xml:base",N,h,c);continue;case"xmlLang":el(e,j,"xml:lang",N,h,c);continue;case"xmlSpace":el(e,j,"xml:space",N,h,c);continue;case"inert":N!==""||mb[j]||(mb[j]=!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.",j)),Dv(e,j,j,N,h,c);continue;default:if(!(2<j.length)||j[0]!=="o"&&j[0]!=="O"||j[1]!=="n"&&j[1]!=="N"){x=Eo(j),E=!1,i.context===vc&&t!=="svg"&&t!=="math"?h.delete(x.toLowerCase()):(Se=j.toLowerCase(),Se=ic.hasOwnProperty(Se)&&ic[Se]||null,Se!==null&&Se!==j&&(E=!0,h.delete(Se)),h.delete(x));e:if(Se=e,_e=x,x=N,ja(_e))if(Se.hasAttribute(_e))Se=Se.getAttribute(_e),re(x,_e),x=Se===""+x?x:Se;else{switch(typeof x){case"function":case"symbol":break e;case"boolean":if(Se=_e.toLowerCase().slice(0,5),Se!=="data-"&&Se!=="aria-")break e}x=x===void 0?void 0:null}else x=void 0;E||Cn(j,x,N,c)}}}return 0<h.size&&a.suppressHydrationWarning!==!0&&Pu(e,h,c),Object.keys(c).length===0?null:c}function Nt(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 Rt(e){return e.nodeType===9?e:e.ownerDocument}function It(e){switch(e){case Ss:return Xh;case ad:return gb;default:return vc}}function vl(e,t){if(e===vc)switch(t){case"svg":return Xh;case"math":return gb;default:return vc}return e===Xh&&t==="foreignObject"?vc:e}function pi(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 Fc(){var e=window.event;return e&&e.type==="popstate"?e===_T?!1:(_T=e,!0):(_T=null,!1)}function zv(e){setTimeout(function(){throw e})}function nu(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function $n(e,t,a,i){b0(e,t,a,i),e[Sl]=i}function au(e){Br(e,"")}function Io(e,t,a){e.nodeValue=a}function hi(e){return e==="head"}function ar(e,t){e.removeChild(t)}function es(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function ts(e,t){var a=t,i=0,c=0;do{var h=a.nextSibling;if(e.removeChild(a),h&&h.nodeType===8)if(a=h.data,a===yb){if(0<i&&8>i){a=i;var E=e.ownerDocument;if(a&z3&&rs(E.documentElement),a&N3&&rs(E.body),a&R3)for(a=E.head,rs(a),E=a.firstChild;E;){var x=E.nextSibling,N=E.nodeName;E[vs]||N==="SCRIPT"||N==="STYLE"||N==="LINK"&&E.rel.toLowerCase()==="stylesheet"||a.removeChild(E),E=x}}if(c===0){e.removeChild(h),tc(t);return}c--}else a===vb||a===mc||a===Vy?c++:i=a.charCodeAt(0)-48;else i=0;a=h}while(a);tc(t)}function yl(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function Nv(e){e.nodeValue=""}function Rv(e,t){t=t[q3],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Xp(e,t){e.nodeValue=t}function ns(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":ns(a),Mn(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Qu(e,t,a,i){for(;e.nodeType===1;){var c=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[vs])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(h=e.getAttribute("rel"),h==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(h!==c.rel||e.getAttribute("href")!==(c.href==null||c.href===""?null:c.href)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin)||e.getAttribute("title")!==(c.title==null?null:c.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(h=e.getAttribute("src"),(h!==(c.src==null?null:c.src)||e.getAttribute("type")!==(c.type==null?null:c.type)||e.getAttribute("crossorigin")!==(c.crossOrigin==null?null:c.crossOrigin))&&h&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){re(c.name,"name");var h=c.name==null?null:""+c.name;if(c.type==="hidden"&&e.getAttribute("name")===h)return e}else return e;if(e=Da(e.nextSibling),e===null)break}return null}function wa(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Da(e.nextSibling),e===null))return null;return e}function mi(e){return e.data===Vy||e.data===mc&&e.ownerDocument.readyState===DA}function as(e,t){var a=e.ownerDocument;if(e.data!==mc||a.readyState===DA)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Da(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===vb||t===Vy||t===mc||t===xT||t===wA)break;if(t===yb)return null}}return e}function Pp(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,c=0;c<i.length;c++){var h=i[c];a[Av(h.name)]=h.name.toLowerCase()==="style"?Jo(e):h.value}return{type:t,props:a}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Qp(e,t,a){return a===null||a[M3]!==!0?(e.nodeValue===t?e=null:(t=Aa(t),e=Aa(e.nodeValue)===t?null:e.nodeValue),e):null}function qv(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===yb){if(t===0)return Da(e.nextSibling);t--}else a!==vb&&a!==Vy&&a!==mc||t++}e=e.nextSibling}return null}function ls(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===vb||a===Vy||a===mc){if(t===0)return e;t--}else a===yb&&t++}e=e.previousSibling}return null}function Hv(e){tc(e)}function ql(e){tc(e)}function Uv(e,t,a,i,c){switch(c&&Cc(e,i.ancestorInfo),t=Rt(a),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 Hl(e,t,a,i){if(!a[no]&&yn(a)){var c=a.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.",c,c,c)}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(c=a.attributes;c.length;)a.removeAttributeNode(c[0]);Yn(a,e,t),a[Ga]=i,a[Sl]=t}function rs(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Mn(e)}function Uf(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function E0(e,t,a){var i=Ph;if(i&&typeof t=="string"&&t){var c=ua(t);c='link[rel="'+e+'"][href="'+c+'"]',typeof a=="string"&&(c+='[crossorigin="'+a+'"]'),HA.has(c)||(HA.add(c),e={rel:e,crossOrigin:a,href:t},i.querySelector(c)===null&&(t=i.createElement("link"),Yn(t,"link",e),Ut(t),i.head.appendChild(t)))}}function lu(e,t,a,i){var c=(c=yi.current)?Uf(c):null;if(!c)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 a.precedence=="string"&&typeof a.href=="string"?(a=Zu(a.href),t=Un(c).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Zu(a.href);var h=Un(c).hoistableStyles,E=h.get(e);if(!E&&(c=c.ownerDocument||c,E={type:"stylesheet",instance:null,count:0,state:{loading:Ed,preload:null}},h.set(e,E),(h=c.querySelector(vi(e)))&&!h._p&&(E.instance=h,E.state.loading=Yy|Mi),!zi.has(e))){var x={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};zi.set(e,x),h||T0(c,e,x,E.state)}if(t&&i===null)throw a=`
|
|
216
|
+
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`,ce(e))})}function on(e){e!==bh&&e.next===null&&(bh===null?Jg=bh=e:bh=bh.next=e),Kg=!0,L.actQueue!==null?D0||(D0=!0,xl()):A0||(A0=!0,xl())}function Rc(e,t){if(!z0&&Kg){z0=!0;do for(var a=!1,i=Jg;i!==null;){if(e!==0){var o=i.pendingLanes;if(o===0)var s=0;else{var d=i.suspendedLanes,h=i.pingedLanes;s=(1<<31-ta(42|e)+1)-1,s&=o&~(d&~h),s=s&201326741?s&201326741|1:s?s|2:0}s!==0&&(a=!0,yd(i,s))}else s=Et,s=be(i,i===$t?s:0,i.cancelPendingCommit!==null||i.timeoutHandle!==Wr),(s&3)===0||Oe(i,s)||(a=!0,yd(i,s));i=i.next}while(a);z0=!1}}function hd(){pd()}function pd(){Kg=D0=A0=!1;var e=0;Jr!==0&&(qo()&&(e=Jr),Jr=0);for(var t=du(),a=null,i=Jg;i!==null;){var o=i.next,s=nu(i,t);s===0?(i.next=null,a===null?Jg=o:a.next=o,o===null&&(bh=a)):(a=i,(e!==0||(s&3)!==0)&&(Kg=!0)),i=o}Rc(e)}function nu(e,t){for(var a=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,s=e.pendingLanes&-62914561;0<s;){var d=31-ta(s),h=1<<d,g=o[d];g===-1?((h&a)===0||(h&i)!==0)&&(o[d]=xe(h,t)):g<=t&&(e.expiredLanes|=h),s&=~h}if(t=$t,a=Et,a=be(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Wr),i=e.callbackNode,a===0||e===t&&(Xt===Xr||Xt===kr)||e.cancelPendingCommit!==null)return i!==null&&md(i),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Oe(e,a)){if(t=a&-a,t!==e.callbackPriority||L.actQueue!==null&&i!==O0)md(i);else return t;switch(wt(a)){case kl:case Hn:a=Dr;break;case Fu:a=Jo;break;case jd:a=zr;break;default:a=Jo}return i=ol.bind(null,e),L.actQueue!==null?(L.actQueue.push(i),a=O0):a=Nd(a,i),e.callbackPriority=t,e.callbackNode=a,t}return i!==null&&md(i),e.callbackPriority=2,e.callbackNode=null,2}function ol(e,t){if(qg=Ng=!1,ya!==Zr&&ya!==b0)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(Co()&&e.callbackNode!==a)return null;var i=Et;return i=be(e,e===$t?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==Wr),i===0?null:(El(e,i,t),nu(e,du()),e.callbackNode!=null&&e.callbackNode===a?ol.bind(null,e):null)}function yd(e,t){if(Co())return null;Ng=qg,qg=!1,El(e,t,!0)}function md(e){e!==O0&&e!==null&&qv(e)}function xl(){L.actQueue!==null&&L.actQueue.push(function(){return pd(),null}),ZT(function(){(Gt&(Za|ni))!==Nn?Nd(qd,hd):pd()})}function Xp(){return Jr===0&&(Jr=Xe()),Jr}function kp(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:(de(e,"action"),io(""+e))}function Qp(e,t){var a=t.ownerDocument.createElement("input");return a.name=t.name,a.value=t.value,e.id&&a.setAttribute("form",e.id),t.parentNode.insertBefore(a,t),e=new FormData(e),a.parentNode.removeChild(a),e}function Ft(e,t,a,i,o){if(t==="submit"&&a&&a.stateNode===o){var s=kp((o[Ra]||null).action),d=i.submitter;d&&(t=(t=d[Ra]||null)?kp(t.formAction):d.getAttribute("formAction"),t!==null&&(s=t,d=null));var h=new $e("action","action",null,i,o);e.push({event:h,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Jr!==0){var g=d?Qp(o,d):new FormData(o),b={pending:!0,data:g,method:o.method,action:s};Object.freeze(b),mc(a,b,null,g)}}else typeof s=="function"&&(h.preventDefault(),g=d?Qp(o,d):new FormData(o),b={pending:!0,data:g,method:o.method,action:s},Object.freeze(b),mc(a,b,s,g))},currentTarget:o}]})}}function Vl(e,t,a){e.currentTarget=a;try{t(e)}catch(i){o0(i)}e.currentTarget=null}function uu(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var i=e[a];e:{var o=void 0,s=i.event;if(i=i.listeners,t)for(var d=i.length-1;0<=d;d--){var h=i[d],g=h.instance,b=h.currentTarget;if(h=h.listener,g!==o&&s.isPropagationStopped())break e;g!==null?Be(g,Vl,s,h,b):Vl(s,h,b),o=g}else for(d=0;d<i.length;d++){if(h=i[d],g=h.instance,b=h.currentTarget,h=h.listener,g!==o&&s.isPropagationStopped())break e;g!==null?Be(g,Vl,s,h,b):Vl(s,h,b),o=g}}}}function mt(e,t){M0.has(e)||console.error('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var a=t[vy];a===void 0&&(a=t[vy]=new Set);var i=e+"__bubble";a.has(i)||(vd(t,e,2,!1),a.add(i))}function gd(e,t,a){M0.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 i=0;t&&(i|=4),vd(a,e,i,t)}function Zp(e){if(!e[Wg]){e[Wg]=!0,bg.forEach(function(a){a!=="selectionchange"&&(M0.has(a)||gd(a,!1,e),gd(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wg]||(t[Wg]=!0,gd("selectionchange",!1,t))}}function vd(e,t,a,i){switch(Rd(t)){case kl:var o=Uv;break;case Hn:o=Md;break;default:o=qi}a=o.bind(null,t,a,e),o=void 0,!N||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),i?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function sa(e,t,a,i,o){var s=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var d=i.tag;if(d===3||d===4){var h=i.stateNode.containerInfo;if(h===o)break;if(d===4)for(d=i.return;d!==null;){var g=d.tag;if((g===3||g===4)&&d.stateNode.containerInfo===o)return;d=d.return}for(;h!==null;){if(d=Kl(h),d===null)return;if(g=d.tag,g===5||g===6||g===26||g===27){i=s=d;continue e}h=h.parentNode}}i=i.return}sf(function(){var b=s,B=lc(a),Q=[];e:{var q=Ab.get(e);if(q!==void 0){var J=$e,je=e;switch(e){case"keypress":if(co(a)===0)break e;case"keydown":case"keyup":J=PS;break;case"focusin":je="focus",J=zt;break;case"focusout":je="blur",J=zt;break;case"beforeblur":case"afterblur":J=zt;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=pt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=We;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=lT;break;case Sb:case Tb:case Eb:J=Vv;break;case xb:J=nT;break;case"scroll":case"scrollend":J=C;break;case"wheel":J=iT;break;case"copy":case"cut":case"paste":J=ZS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=db;break;case"toggle":case"beforetoggle":J=oT}var tt=(t&4)!==0,Jt=!tt&&(e==="scroll"||e==="scrollend"),Dt=tt?q!==null?q+"Capture":null:q;tt=[];for(var x=b,A;x!==null;){var z=x;if(A=z.stateNode,z=z.tag,z!==5&&z!==26&&z!==27||A===null||Dt===null||(z=Ru(x,Dt),z!=null&&tt.push(ra(x,z,A))),Jt)break;x=x.return}0<tt.length&&(q=new J(q,je,null,a,B),Q.push({event:q,listeners:tt}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",q&&a!==r&&(je=a.relatedTarget||a.fromElement)&&(Kl(je)||je[Yi]))break e;if((J||q)&&(q=B.window===B?B:(q=B.ownerDocument)?q.defaultView||q.parentWindow:window,J?(je=a.relatedTarget||a.toElement,J=b,je=je?Kl(je):null,je!==null&&(Jt=le(je),tt=je.tag,je!==Jt||tt!==5&&tt!==27&&tt!==6)&&(je=null)):(J=null,je=b),J!==je)){if(tt=pt,z="onMouseLeave",Dt="onMouseEnter",x="mouse",(e==="pointerout"||e==="pointerover")&&(tt=db,z="onPointerLeave",Dt="onPointerEnter",x="pointer"),Jt=J==null?q:gn(J),A=je==null?q:gn(je),q=new tt(z,x+"leave",J,a,B),q.target=Jt,q.relatedTarget=A,z=null,Kl(B)===b&&(tt=new tt(Dt,x+"enter",je,a,B),tt.target=A,tt.relatedTarget=Jt,z=tt),Jt=z,J&&je)t:{for(tt=J,Dt=je,x=0,A=tt;A;A=Ul(A))x++;for(A=0,z=Dt;z;z=Ul(z))A++;for(;0<x-A;)tt=Ul(tt),x--;for(;0<A-x;)Dt=Ul(Dt),A--;for(;x--;){if(tt===Dt||Dt!==null&&tt===Dt.alternate)break t;tt=Ul(tt),Dt=Ul(Dt)}tt=null}else tt=null;J!==null&&$p(Q,q,J,tt,!1),je!==null&&Jt!==null&&$p(Q,Jt,je,tt,!0)}}e:{if(q=b?gn(b):window,J=q.nodeName&&q.nodeName.toLowerCase(),J==="select"||J==="input"&&q.type==="file")var W=_h;else if(Om(q))if(vb)W=Av;else{W=Bh;var De=Ev}else J=q.nodeName,!J||J.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?b&&tc(b.elementType)&&(W=_h):W=xv;if(W&&(W=W(e,b))){hf(Q,W,a,B);break e}De&&De(e,q,b),e==="focusout"&&b&&q.type==="number"&&b.memoizedProps.value!=null&&lf(q,"number",q.value)}switch(De=b?gn(b):window,e){case"focusin":(Om(De)||De.contentEditable==="true")&&(Jd=De,Yv=b,jy=null);break;case"focusout":jy=Yv=Jd=null;break;case"mousedown":Lv=!0;break;case"contextmenu":case"mouseup":case"dragend":Lv=!1,Nm(Q,a,B);break;case"selectionchange":if(dT)break;case"keydown":case"keyup":Nm(Q,a,B)}var st;if(Gv)e:{switch(e){case"compositionstart":var Ve="onCompositionStart";break e;case"compositionend":Ve="onCompositionEnd";break e;case"compositionupdate":Ve="onCompositionUpdate";break e}Ve=void 0}else $d?oa(e,a)&&(Ve="onCompositionEnd"):e==="keydown"&&a.keyCode===hb&&(Ve="onCompositionStart");Ve&&(pb&&a.locale!=="ko"&&($d||Ve!=="onCompositionStart"?Ve==="onCompositionEnd"&&$d&&(st=Cu()):(ae=B,_="value"in ae?ae.value:ae.textContent,$d=!0)),De=fr(b,Ve),0<De.length&&(Ve=new fb(Ve,e,null,a,B),Q.push({event:Ve,listeners:De}),st?Ve.data=st:(st=ri(a),st!==null&&(Ve.data=st)))),(st=rT?df(e,a):As(e,a))&&(Ve=fr(b,"onBeforeInput"),0<Ve.length&&(De=new JS("onBeforeInput","beforeinput",null,a,B),Q.push({event:De,listeners:Ve}),De.data=st)),Ft(Q,e,b,a,B)}uu(Q,t)})}function ra(e,t,a){return{instance:e,listener:t,currentTarget:a}}function fr(e,t){for(var a=t+"Capture",i=[];e!==null;){var o=e,s=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||s===null||(o=Ru(e,a),o!=null&&i.unshift(ra(e,o,s)),o=Ru(e,t),o!=null&&i.push(ra(e,o,s))),e.tag===3)return i;e=e.return}return[]}function Ul(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function $p(e,t,a,i,o){for(var s=t._reactName,d=[];a!==null&&a!==i;){var h=a,g=h.alternate,b=h.stateNode;if(h=h.tag,g!==null&&g===i)break;h!==5&&h!==26&&h!==27||b===null||(g=b,o?(b=Ru(a,s),b!=null&&d.unshift(ra(a,b,g))):o||(b=Ru(a,s),b!=null&&d.push(ra(a,b,g)))),a=a.return}d.length!==0&&e.push({event:t,listeners:d})}function iu(e,t){uo(e,t),e!=="input"&&e!=="textarea"&&e!=="select"||t==null||t.value!==null||qy||(qy=!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 a={registrationNameDependencies:hn,possibleRegistrationNames:jc};tc(e)||typeof t.is=="string"||Nh(e,t,a),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 It(e,t,a,i){t!==a&&(a=Gl(a),Gl(t)!==a&&(i[e]=t))}function Ui(e,t,a){t.forEach(function(i){a[Kp(i)]=i==="style"?Uc(e):e.getAttribute(i)})}function sn(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 bd(e,t){return e=e.namespaceURI===Nr||e.namespaceURI===ts?e.ownerDocument.createElementNS(e.namespaceURI,e.tagName):e.ownerDocument.createElement(e.tagName),e.innerHTML=t,e.innerHTML}function Gl(e){return M(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.",fe(e)),ve(e)),(typeof e=="string"?e:""+e).replace(BT,`
|
|
217
|
+
`).replace(jT,"")}function Jp(e,t){return t=Gl(t),Gl(e)===t}function Xu(){}function Ut(e,t,a,i,o,s){switch(a){case"children":typeof i=="string"?(Es(i,t,!1),t==="body"||t==="textarea"&&i===""||ec(e,i)):(typeof i=="number"||typeof i=="bigint")&&(Es(""+i,t,!1),t!=="body"&&ec(e,""+i));break;case"className":_n(e,"class",i);break;case"tabIndex":_n(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":_n(e,a,i);break;case"style":xs(e,i,s);break;case"data":if(t!=="object"){_n(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||a!=="href")){console.error(a==="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.',a,a),e.removeAttribute(a);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}de(i,a),i=io(""+i),e.setAttribute(a,i);break;case"action":case"formAction":if(i!=null&&(t==="form"?a==="formAction"?console.error("You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."):typeof i=="function"&&(o.encType==null&&o.method==null||Pg||(Pg=!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.")),o.target==null||Ig||(Ig=!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"?a==="action"?console.error("You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."):t!=="input"||o.type==="submit"||o.type==="image"||Fg?t!=="button"||o.type==null||o.type==="submit"||Fg?typeof i=="function"&&(o.name==null||V1||(V1=!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.')),o.formEncType==null&&o.formMethod==null||Pg||(Pg=!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.")),o.formTarget==null||Ig||(Ig=!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."))):(Fg=!0,console.error('A button can only specify a formAction along with type="submit" or no type.')):(Fg=!0,console.error('An input can only specify a formAction along with type="submit" or type="image".')):console.error(a==="action"?"You can only pass the action prop to <form>.":"You can only pass the formAction prop to <input> or <button>.")),typeof i=="function"){e.setAttribute(a,"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 s=="function"&&(a==="formAction"?(t!=="input"&&Ut(e,t,"name",o.name,o,null),Ut(e,t,"formEncType",o.formEncType,o,null),Ut(e,t,"formMethod",o.formMethod,o,null),Ut(e,t,"formTarget",o.formTarget,o,null)):(Ut(e,t,"encType",o.encType,o,null),Ut(e,t,"method",o.method,o,null),Ut(e,t,"target",o.target,o,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(a);break}de(i,a),i=io(""+i),e.setAttribute(a,i);break;case"onClick":i!=null&&(typeof i!="function"&&sn(a,i),e.onclick=Xu);break;case"onScroll":i!=null&&(typeof i!="function"&&sn(a,i),mt("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&sn(a,i),mt("scrollend",e));break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}de(i,a),a=io(""+i),e.setAttributeNS(Kr,"xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?(de(i,a),e.setAttribute(a,""+i)):e.removeAttribute(a);break;case"inert":i!==""||ev[a]||(ev[a]=!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.",a));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":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":i===!0?e.setAttribute(a,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?(de(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?(de(i,a),e.setAttribute(a,i)):e.removeAttribute(a);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(a):(de(i,a),e.setAttribute(a,i));break;case"popover":mt("beforetoggle",e),mt("toggle",e),Wa(e,"popover",i);break;case"xlinkActuate":Wl(e,Kr,"xlink:actuate",i);break;case"xlinkArcrole":Wl(e,Kr,"xlink:arcrole",i);break;case"xlinkRole":Wl(e,Kr,"xlink:role",i);break;case"xlinkShow":Wl(e,Kr,"xlink:show",i);break;case"xlinkTitle":Wl(e,Kr,"xlink:title",i);break;case"xlinkType":Wl(e,Kr,"xlink:type",i);break;case"xmlBase":Wl(e,R0,"xml:base",i);break;case"xmlLang":Wl(e,R0,"xml:lang",i);break;case"xmlSpace":Wl(e,R0,"xml:space",i);break;case"is":s!=null&&console.error('Cannot update the "is" prop after it has been initialized.'),Wa(e,"is",i);break;case"innerText":case"textContent":break;case"popoverTarget":G1||i==null||typeof i!="object"||(G1=!0,console.error("The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",i));default:!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N"?(a=of(a),Wa(e,a,i)):hn.hasOwnProperty(a)&&i!=null&&typeof i!="function"&&sn(a,i)}}function Cc(e,t,a,i,o,s){switch(a){case"style":xs(e,i,s);break;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information.");if(a=i.__html,a!=null){if(o.children!=null)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");e.innerHTML=a}}break;case"children":typeof i=="string"?ec(e,i):(typeof i=="number"||typeof i=="bigint")&&ec(e,""+i);break;case"onScroll":i!=null&&(typeof i!="function"&&sn(a,i),mt("scroll",e));break;case"onScrollEnd":i!=null&&(typeof i!="function"&&sn(a,i),mt("scrollend",e));break;case"onClick":i!=null&&(typeof i!="function"&&sn(a,i),e.onclick=Xu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(hn.hasOwnProperty(a))i!=null&&typeof i!="function"&&sn(a,i);else e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),t=a.slice(2,o?a.length-7:void 0),s=e[Ra]||null,s=s!=null?s[a]:null,typeof s=="function"&&e.removeEventListener(t,s,o),typeof i=="function")){typeof s!="function"&&s!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(t,i,o);break e}a in e?e[a]=i:i===!0?e.setAttribute(a,""):Wa(e,a,i)}}}function sl(e,t,a){switch(iu(t,a),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":mt("error",e),mt("load",e);var i=!1,o=!1,s;for(s in a)if(a.hasOwnProperty(s)){var d=a[s];if(d!=null)switch(s){case"src":i=!0;break;case"srcSet":o=!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,s,d,a,null)}}o&&Ut(e,t,"srcSet",a.srcSet,a,null),i&&Ut(e,t,"src",a.src,a,null);return;case"input":Ka("input",a),mt("invalid",e);var h=s=d=o=null,g=null,b=null;for(i in a)if(a.hasOwnProperty(i)){var B=a[i];if(B!=null)switch(i){case"name":o=B;break;case"type":d=B;break;case"checked":g=B;break;case"defaultChecked":b=B;break;case"value":s=B;break;case"defaultValue":h=B;break;case"children":case"dangerouslySetInnerHTML":if(B!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,i,B,a,null)}}ii(e,a),Em(e,s,h,g,b,d,o,!1),Ou(e);return;case"select":Ka("select",a),mt("invalid",e),i=d=s=null;for(o in a)if(a.hasOwnProperty(o)&&(h=a[o],h!=null))switch(o){case"value":s=h;break;case"defaultValue":d=h;break;case"multiple":i=h;default:Ut(e,t,o,h,a,null)}bs(e,a),t=s,a=d,e.multiple=!!i,t!=null?Mu(e,!!i,t,!1):a!=null&&Mu(e,!!i,a,!0);return;case"textarea":Ka("textarea",a),mt("invalid",e),s=o=i=null;for(d in a)if(a.hasOwnProperty(d)&&(h=a[d],h!=null))switch(d){case"value":i=h;break;case"defaultValue":o=h;break;case"children":s=h;break;case"dangerouslySetInnerHTML":if(h!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:Ut(e,t,d,h,a,null)}Bn(e,a),Mh(e,i,o,s),Ou(e);return;case"option":Oh(e,a);for(g in a)if(a.hasOwnProperty(g)&&(i=a[g],i!=null))switch(g){case"selected":e.selected=i&&typeof i!="function"&&typeof i!="symbol";break;default:Ut(e,t,g,i,a,null)}return;case"dialog":mt("beforetoggle",e),mt("toggle",e),mt("cancel",e),mt("close",e);break;case"iframe":case"object":mt("load",e);break;case"video":case"audio":for(i=0;i<om.length;i++)mt(om[i],e);break;case"image":mt("error",e),mt("load",e);break;case"details":mt("toggle",e);break;case"embed":case"source":case"link":mt("error",e),mt("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(b in a)if(a.hasOwnProperty(b)&&(i=a[b],i!=null))switch(b){case"children":case"dangerouslySetInnerHTML":throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:Ut(e,t,b,i,a,null)}return;default:if(tc(t)){for(B in a)a.hasOwnProperty(B)&&(i=a[B],i!==void 0&&Cc(e,t,B,i,a,void 0));return}}for(h in a)a.hasOwnProperty(h)&&(i=a[h],i!=null&&Ut(e,t,h,i,a,null))}function ng(e,t,a,i){switch(iu(t,i),t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,s=null,d=null,h=null,g=null,b=null,B=null;for(J in a){var Q=a[J];if(a.hasOwnProperty(J)&&Q!=null)switch(J){case"checked":break;case"value":break;case"defaultValue":g=Q;default:i.hasOwnProperty(J)||Ut(e,t,J,null,i,Q)}}for(var q in i){var J=i[q];if(Q=a[q],i.hasOwnProperty(q)&&(J!=null||Q!=null))switch(q){case"type":s=J;break;case"name":o=J;break;case"checked":b=J;break;case"defaultChecked":B=J;break;case"value":d=J;break;case"defaultValue":h=J;break;case"children":case"dangerouslySetInnerHTML":if(J!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:J!==Q&&Ut(e,t,q,J,i,Q)}}t=a.type==="checkbox"||a.type==="radio"?a.checked!=null:a.value!=null,i=i.type==="checkbox"||i.type==="radio"?i.checked!=null:i.value!=null,t||!i||j1||(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"),j1=!0),!t||i||B1||(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"),B1=!0),ci(e,d,h,g,b,B,s,o);return;case"select":J=d=h=q=null;for(s in a)if(g=a[s],a.hasOwnProperty(s)&&g!=null)switch(s){case"value":break;case"multiple":J=g;default:i.hasOwnProperty(s)||Ut(e,t,s,null,i,g)}for(o in i)if(s=i[o],g=a[o],i.hasOwnProperty(o)&&(s!=null||g!=null))switch(o){case"value":q=s;break;case"defaultValue":h=s;break;case"multiple":d=s;default:s!==g&&Ut(e,t,o,s,i,g)}i=h,t=d,a=J,q!=null?Mu(e,!!t,q,!1):!!a!=!!t&&(i!=null?Mu(e,!!t,i,!0):Mu(e,!!t,t?[]:"",!1));return;case"textarea":J=q=null;for(h in a)if(o=a[h],a.hasOwnProperty(h)&&o!=null&&!i.hasOwnProperty(h))switch(h){case"value":break;case"children":break;default:Ut(e,t,h,null,i,o)}for(d in i)if(o=i[d],s=a[d],i.hasOwnProperty(d)&&(o!=null||s!=null))switch(d){case"value":q=o;break;case"defaultValue":J=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");break;default:o!==s&&Ut(e,t,d,o,i,s)}af(e,q,J);return;case"option":for(var je in a)if(q=a[je],a.hasOwnProperty(je)&&q!=null&&!i.hasOwnProperty(je))switch(je){case"selected":e.selected=!1;break;default:Ut(e,t,je,null,i,q)}for(g in i)if(q=i[g],J=a[g],i.hasOwnProperty(g)&&q!==J&&(q!=null||J!=null))switch(g){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:Ut(e,t,g,q,i,J)}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 a)q=a[tt],a.hasOwnProperty(tt)&&q!=null&&!i.hasOwnProperty(tt)&&Ut(e,t,tt,null,i,q);for(b in i)if(q=i[b],J=a[b],i.hasOwnProperty(b)&&q!==J&&(q!=null||J!=null))switch(b){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(t+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");break;default:Ut(e,t,b,q,i,J)}return;default:if(tc(t)){for(var Jt in a)q=a[Jt],a.hasOwnProperty(Jt)&&q!==void 0&&!i.hasOwnProperty(Jt)&&Cc(e,t,Jt,void 0,i,q);for(B in i)q=i[B],J=a[B],!i.hasOwnProperty(B)||q===J||q===void 0&&J===void 0||Cc(e,t,B,q,i,J);return}}for(var Dt in a)q=a[Dt],a.hasOwnProperty(Dt)&&q!=null&&!i.hasOwnProperty(Dt)&&Ut(e,t,Dt,null,i,q);for(Q in i)q=i[Q],J=a[Q],!i.hasOwnProperty(Q)||q===J||q==null&&J==null||Ut(e,t,Q,q,i,J)}function Kp(e){switch(e){case"class":return"className";case"for":return"htmlFor";default:return e}}function Uc(e){var t={};e=e.style;for(var a=0;a<e.length;a++){var i=e[a];t[i]=e.getPropertyValue(i)}return t}function Wp(e,t,a){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 i,o=i="",s;for(s in t)if(t.hasOwnProperty(s)){var d=t[s];d!=null&&typeof d!="boolean"&&d!==""&&(s.indexOf("--")===0?(Me(d,s),i+=o+s+":"+(""+d).trim()):typeof d!="number"||d===0||Hr.has(s)?(Me(d,s),i+=o+s.replace(Iu,"-$1").toLowerCase().replace(Pu,"-ms-")+":"+(""+d).trim()):i+=o+s.replace(Iu,"-$1").toLowerCase().replace(Pu,"-ms-")+":"+d+"px",o=";")}i=i||null,t=e.getAttribute("style"),t!==i&&(i=Gl(i),Gl(t)!==i&&(a.style=Uc(e)))}}function fa(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(de(i,t),e===""+i)return}It(t,e,i,s)}function Fp(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null){switch(typeof i){case"function":case"symbol":return}if(!i)return}else switch(typeof i){case"function":case"symbol":break;default:if(i)return}It(t,e,i,s)}function Ip(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":return}else if(i!=null)switch(typeof i){case"function":case"symbol":break;default:if(de(i,a),e===""+i)return}It(t,e,i,s)}function ug(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return;default:if(isNaN(i))return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(!isNaN(i)&&(de(i,t),e===""+i))return}It(t,e,i,s)}function Bt(e,t,a,i,o,s){if(o.delete(a),e=e.getAttribute(a),e===null)switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":return}else if(i!=null)switch(typeof i){case"function":case"symbol":case"boolean":break;default:if(de(i,t),a=io(""+i),e===a)return}It(t,e,i,s)}function kt(e,t,a,i){for(var o={},s=new Set,d=e.attributes,h=0;h<d.length;h++)switch(d[h].name.toLowerCase()){case"value":break;case"checked":break;case"selected":break;default:s.add(d[h].name)}if(tc(t)){for(var g in a)if(a.hasOwnProperty(g)){var b=a[g];if(b!=null){if(hn.hasOwnProperty(g))typeof b!="function"&&sn(g,b);else if(a.suppressHydrationWarning!==!0)switch(g){case"children":typeof b!="string"&&typeof b!="number"||It("children",e.textContent,b,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,b=b?b.__html:void 0,b!=null&&(b=bd(e,b),It(g,d,b,o));continue;case"style":s.delete(g),Wp(e,b,o);continue;case"offsetParent":case"offsetTop":case"offsetLeft":case"offsetWidth":case"offsetHeight":case"isContentEditable":case"outerText":case"outerHTML":s.delete(g.toLowerCase()),console.error("Assignment to read-only property will result in a no-op: `%s`",g);continue;case"className":s.delete("class"),d=ua(e,"class",b),It("className",d,b,o);continue;default:i.context===Fc&&t!=="svg"&&t!=="math"?s.delete(g.toLowerCase()):s.delete(g),d=ua(e,g,b),It(g,d,b,o)}}}}else for(b in a)if(a.hasOwnProperty(b)&&(g=a[b],g!=null)){if(hn.hasOwnProperty(b))typeof g!="function"&&sn(b,g);else if(a.suppressHydrationWarning!==!0)switch(b){case"children":typeof g!="string"&&typeof g!="number"||It("children",e.textContent,g,o);continue;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"value":case"checked":case"selected":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":continue;case"dangerouslySetInnerHTML":d=e.innerHTML,g=g?g.__html:void 0,g!=null&&(g=bd(e,g),d!==g&&(o[b]={__html:d}));continue;case"className":fa(e,b,"class",g,s,o);continue;case"tabIndex":fa(e,b,"tabindex",g,s,o);continue;case"style":s.delete(b),Wp(e,g,o);continue;case"multiple":s.delete(b),It(b,e.multiple,g,o);continue;case"muted":s.delete(b),It(b,e.muted,g,o);continue;case"autoFocus":s.delete("autofocus"),It(b,e.autofocus,g,o);continue;case"data":if(t!=="object"){s.delete(b),d=e.getAttribute("data"),It(b,d,g,o);continue}case"src":case"href":if(!(g!==""||t==="a"&&b==="href"||t==="object"&&b==="data")){console.error(b==="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.',b,b);continue}Bt(e,b,b,g,s,o);continue;case"action":case"formAction":if(d=e.getAttribute(b),typeof g=="function"){s.delete(b.toLowerCase()),b==="formAction"?(s.delete("name"),s.delete("formenctype"),s.delete("formmethod"),s.delete("formtarget")):(s.delete("enctype"),s.delete("method"),s.delete("target"));continue}else if(d===VT){s.delete(b.toLowerCase()),It(b,"function",g,o);continue}Bt(e,b,b.toLowerCase(),g,s,o);continue;case"xlinkHref":Bt(e,b,"xlink:href",g,s,o);continue;case"contentEditable":Ip(e,b,"contenteditable",g,s,o);continue;case"spellCheck":Ip(e,b,"spellcheck",g,s,o);continue;case"draggable":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":Ip(e,b,b,g,s,o);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":Fp(e,b,b.toLowerCase(),g,s,o);continue;case"capture":case"download":e:{h=e;var B=d=b,Q=o;if(s.delete(B),h=h.getAttribute(B),h===null)switch(typeof g){case"undefined":case"function":case"symbol":break e;default:if(g===!1)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":break;case"boolean":if(g===!0&&h==="")break e;break;default:if(de(g,d),h===""+g)break e}It(d,h,g,Q)}continue;case"cols":case"rows":case"size":case"span":e:{if(h=e,B=d=b,Q=o,s.delete(B),h=h.getAttribute(B),h===null)switch(typeof g){case"undefined":case"function":case"symbol":case"boolean":break e;default:if(isNaN(g)||1>g)break e}else if(g!=null)switch(typeof g){case"function":case"symbol":case"boolean":break;default:if(!(isNaN(g)||1>g)&&(de(g,d),h===""+g))break e}It(d,h,g,Q)}continue;case"rowSpan":ug(e,b,"rowspan",g,s,o);continue;case"start":ug(e,b,b,g,s,o);continue;case"xHeight":fa(e,b,"x-height",g,s,o);continue;case"xlinkActuate":fa(e,b,"xlink:actuate",g,s,o);continue;case"xlinkArcrole":fa(e,b,"xlink:arcrole",g,s,o);continue;case"xlinkRole":fa(e,b,"xlink:role",g,s,o);continue;case"xlinkShow":fa(e,b,"xlink:show",g,s,o);continue;case"xlinkTitle":fa(e,b,"xlink:title",g,s,o);continue;case"xlinkType":fa(e,b,"xlink:type",g,s,o);continue;case"xmlBase":fa(e,b,"xml:base",g,s,o);continue;case"xmlLang":fa(e,b,"xml:lang",g,s,o);continue;case"xmlSpace":fa(e,b,"xml:space",g,s,o);continue;case"inert":g!==""||ev[b]||(ev[b]=!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.",b)),Fp(e,b,b,g,s,o);continue;default:if(!(2<b.length)||b[0]!=="o"&&b[0]!=="O"||b[1]!=="n"&&b[1]!=="N"){h=of(b),d=!1,i.context===Fc&&t!=="svg"&&t!=="math"?s.delete(h.toLowerCase()):(B=b.toLowerCase(),B=Yc.hasOwnProperty(B)&&Yc[B]||null,B!==null&&B!==b&&(d=!0,s.delete(B)),s.delete(h));e:if(B=e,Q=h,h=g,ui(Q))if(B.hasAttribute(Q))B=B.getAttribute(Q),de(h,Q),h=B===""+h?h:B;else{switch(typeof h){case"function":case"symbol":break e;case"boolean":if(B=Q.toLowerCase().slice(0,5),B!=="data-"&&B!=="aria-")break e}h=h===void 0?void 0:null}else h=void 0;d||It(b,h,g,o)}}}return 0<s.size&&a.suppressHydrationWarning!==!0&&Ui(e,s,o),Object.keys(o).length===0?null:o}function gt(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 vt(e){return e.nodeType===9?e:e.ownerDocument}function jt(e){switch(e){case ts:return Sh;case Nr:return av;default:return Fc}}function Da(e,t){if(e===Fc)switch(t){case"svg":return Sh;case"math":return av;default:return Fc}return e===Sh&&t==="foreignObject"?Fc:e}function cu(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 qo(){var e=window.event;return e&&e.type==="popstate"?e===N0?!1:(N0=e,!0):(N0=null,!1)}function Pp(e){setTimeout(function(){throw e})}function ku(e,t,a){switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&e.focus();break;case"img":a.src?e.src=a.src:a.srcSet&&(e.srcset=a.srcSet)}}function rl(e,t,a,i){ng(e,t,a,i),e[Ra]=i}function Qu(e){ec(e,"")}function Hc(e,t,a){e.nodeValue=a}function ou(e){return e==="head"}function rn(e,t){e.removeChild(t)}function wo(e,t){(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e).removeChild(t)}function _o(e,t){var a=t,i=0,o=0;do{var s=a.nextSibling;if(e.removeChild(a),s&&s.nodeType===8)if(a=s.data,a===lv){if(0<i&&8>i){a=i;var d=e.ownerDocument;if(a&YT&&Go(d.documentElement),a<&&Go(d.body),a&XT)for(a=d.head,Go(a),d=a.firstChild;d;){var h=d.nextSibling,g=d.nodeName;d[Fo]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&d.rel.toLowerCase()==="stylesheet"||a.removeChild(d),d=h}}if(o===0){e.removeChild(s),_c(t);return}o--}else a===tv||a===Wc||a===sm?o++:i=a.charCodeAt(0)-48;else i=0;a=s}while(a);_c(t)}function za(e){e=e.style,typeof e.setProperty=="function"?e.setProperty("display","none","important"):e.display="none"}function ey(e){e.nodeValue=""}function ty(e,t){t=t[kT],t=t!=null&&t.hasOwnProperty("display")?t.display:null,e.style.display=t==null||typeof t=="boolean"?"":(""+t).trim()}function Sd(e,t){e.nodeValue=t}function Bo(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":Bo(a),Jl(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Hi(e,t,a,i){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[Fo])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(s=e.getAttribute("rel"),s==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(s!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(s=e.getAttribute("src"),(s!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&s&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){de(o.name,"name");var s=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===s)return e}else return e;if(e=Ll(e.nextSibling),e===null)break}return null}function Yl(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Ll(e.nextSibling),e===null))return null;return e}function su(e){return e.data===sm||e.data===Wc&&e.ownerDocument.readyState===L1}function jo(e,t){var a=e.ownerDocument;if(e.data!==Wc||a.readyState===L1)t();else{var i=function(){t(),a.removeEventListener("DOMContentLoaded",i)};a.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Ll(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===tv||t===sm||t===Wc||t===C0||t===Y1)break;if(t===lv)return null}}return e}function Td(e){if(e.nodeType===1){for(var t=e.nodeName.toLowerCase(),a={},i=e.attributes,o=0;o<i.length;o++){var s=i[o];a[Kp(s.name)]=s.name.toLowerCase()==="style"?Uc(e):s.value}return{type:t,props:a}}return e.nodeType===8?{type:"Suspense",props:{}}:e.nodeValue}function Ed(e,t,a){return a===null||a[GT]!==!0?(e.nodeValue===t?e=null:(t=Gl(t),e=Gl(e.nodeValue)===t?null:e.nodeValue),e):null}function ly(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===lv){if(t===0)return Ll(e.nextSibling);t--}else a!==tv&&a!==sm&&a!==Wc||t++}e=e.nextSibling}return null}function Vo(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a===tv||a===sm||a===Wc){if(t===0)return e;t--}else a===lv&&t++}e=e.previousSibling}return null}function ay(e){_c(e)}function Va(e){_c(e)}function ny(e,t,a,i,o){switch(o&&cf(e,i.ancestorInfo),t=vt(a),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 Ga(e,t,a,i){if(!a[Yi]&&zl(a)){var o=a.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.",o,o,o)}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(o=a.attributes;o.length;)a.removeAttributeNode(o[0]);sl(a,e,t),a[la]=i,a[Ra]=t}function Go(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Jl(e)}function dr(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}function ig(e,t,a){var i=Th;if(i&&typeof t=="string"&&t){var o=Na(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),J1.has(o)||(J1.add(o),e={rel:e,crossOrigin:a,href:t},i.querySelector(o)===null&&(t=i.createElement("link"),sl(t,"link",e),tl(t),i.head.appendChild(t)))}}function Zu(e,t,a,i){var o=(o=fu.current)?dr(o):null;if(!o)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 a.precedence=="string"&&typeof a.href=="string"?(a=Ni(a.href),t=Ha(o).hoistableStyles,i=t.get(a),i||(i={type:"style",instance:null,count:0,state:null},t.set(a,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=Ni(a.href);var s=Ha(o).hoistableStyles,d=s.get(e);if(!d&&(o=o.ownerDocument||o,d={type:"stylesheet",instance:null,count:0,state:{loading:Fr,preload:null}},s.set(e,d),(s=o.querySelector(ru(e)))&&!s._p&&(d.instance=s,d.state.loading=rm|Au),!Du.has(e))){var h={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy};Du.set(e,h),s||cg(o,e,h,d.state)}if(t&&i===null)throw a=`
|
|
253
218
|
|
|
254
|
-
- `+
|
|
255
|
-
+ `+
|
|
219
|
+
- `+Nc(t)+`
|
|
220
|
+
+ `+Nc(a),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."+a);return d}if(t&&i!==null)throw a=`
|
|
256
221
|
|
|
257
|
-
- `+
|
|
258
|
-
+ `+Wo(a),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."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=Fo(a),t=Un(c).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{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 Wo(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):uu.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):uu.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):uu.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Zu(e){return'href="'+ua(e)+'"'}function vi(e){return'link[rel="stylesheet"]['+e+"]"}function jv(e){return At({},e,{"data-precedence":e.precedence,precedence:null})}function T0(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=Yy:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=Yy}),t.addEventListener("error",function(){return i.loading|=RA}),Yn(t,"link",a),Ut(t),e.head.appendChild(t))}function Fo(e){return'[src="'+ua(e)+'"]'}function ec(e){return"script[async]"+e}function Zp(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+ua(a.href)+'"]');if(i)return t.instance=i,Ut(i),i;var c=At({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),Ut(i),Yn(i,"style",c),Kp(i,a.precedence,e),t.instance=i;case"stylesheet":c=Zu(a.href);var h=e.querySelector(vi(c));if(h)return t.state.loading|=Mi,t.instance=h,Ut(h),h;i=jv(a),(c=zi.get(c))&&kv(i,c),h=(e.ownerDocument||e).createElement("link"),Ut(h);var E=h;return E._p=new Promise(function(x,N){E.onload=x,E.onerror=N}),Yn(h,"link",i),t.state.loading|=Mi,Kp(h,a.precedence,e),t.instance=h;case"script":return h=Fo(a.src),(c=e.querySelector(ec(h)))?(t.instance=c,Ut(c),c):(i=a,(c=zi.get(h))&&(i=At({},a),Lv(i,c)),e=e.ownerDocument||e,c=e.createElement("script"),Ut(c),Yn(c,"link",i),e.head.appendChild(c),t.instance=c);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&Mi)===Ed&&(i=t.instance,t.state.loading|=Mi,Kp(i,a.precedence,e));return t.instance}function Kp(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),c=i.length?i[i.length-1]:null,h=c,E=0;E<i.length;E++){var x=i[E];if(x.dataset.precedence===t)h=x;else if(h!==c)break}h?h.parentNode.insertBefore(e,h.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function kv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Lv(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function Bv(e,t,a){if(bb===null){var i=new Map,c=bb=new Map;c.set(a,i)}else c=bb,i=c.get(a),i||(i=new Map,c.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),c=0;c<a.length;c++){var h=a[c];if(!(h[vs]||h[Ga]||e==="link"&&h.getAttribute("rel")==="stylesheet")&&h.namespaceURI!==Ss){var E=h.getAttribute(t)||"";E=e+E;var x=i.get(E);x?x.push(h):i.set(E,[h])}}return i}function Vv(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function is(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===Xh||t.itemProp!=null)return!i||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===""){i&&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 c=t.onError,h=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),c&&a.push("`onError`"),h!=null&&a.push("`disabled`"),c=Nt(a,"and"),c+=a.length===1?" prop":" props",h=a.length===1?"an "+c:"the "+c,a.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,h,c)}i&&(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"&&i&&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"){i&&(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":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function jf(e){return!(e.type==="stylesheet"&&(e.state.loading&qA)===Ed)}function x0(){}function O0(e,t,a){if($y===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var i=$y;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&Mi)===Ed){if(t.instance===null){var c=Zu(a.href),h=e.querySelector(vi(c));if(h){e=h._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=kf.bind(i),e.then(i,i)),t.state.loading|=Mi,t.instance=h,Ut(h);return}h=e.ownerDocument||e,a=jv(a),(c=zi.get(c))&&kv(a,c),h=h.createElement("link"),Ut(h);var E=h;E._p=new Promise(function(x,N){E.onload=x,E.onerror=N}),Yn(h,"link",a),t.instance=h}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&qA)===Ed&&(i.count++,t=kf.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function C0(){if($y===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=$y;return e.stylesheets&&e.count===0&&Jp(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Jp(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function kf(){if(this.count--,this.count===0){if(this.stylesheets)Jp(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Jp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Sb=new Map,t.forEach(_0,e),Sb=null,kf.call(e))}function _0(e,t){if(!(t.state.loading&Mi)){var a=Sb.get(e);if(a)var i=a.get(wT);else{a=new Map,Sb.set(e,a);for(var c=e.querySelectorAll("link[data-precedence],style[data-precedence]"),h=0;h<c.length;h++){var E=c[h];(E.nodeName==="LINK"||E.getAttribute("media")!=="not all")&&(a.set(E.dataset.precedence,E),i=E)}i&&a.set(wT,i)}c=t.instance,E=c.getAttribute("data-precedence"),h=a.get(E)||i,h===i&&a.set(wT,c),a.set(E,c),this.count++,i=kf.bind(this),c.addEventListener("load",i),c.addEventListener("error",i),h?h.parentNode.insertBefore(c,h.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(c,e.firstChild)),t.state.loading|=Mi}}function Ip(e,t,a,i,c,h,E,x){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Sd,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ne(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ne(0),this.hiddenUpdates=Ne(null),this.identifierPrefix=i,this.onUncaughtError=c,this.onCaughtError=h,this.onRecoverableError=E,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=a?"hydrateRoot()":"createRoot()"}function Yv(e,t,a,i,c,h,E,x,N,j,Se,_e){return e=new Ip(e,t,a,E,x,N,j,_e),t=i3,h===!0&&(t|=Tl|du),Xn&&(t|=nl),h=q(3,null,null,t),e.current=h,h.stateNode=e,t=tf(),Do(t),e.pooledCache=t,Do(t),h.memoizedState={element:i,isDehydrated:a,cache:t},cl(h),e}function $v(e){return e?(e=Es,e):Es}function Wt(e,t,a,i,c,h){if(Ma&&typeof Ma.onScheduleFiberRoot=="function")try{Ma.onScheduleFiberRoot(eo,i,a)}catch(E){bl||(bl=!0,console.error("React instrumentation encountered an error: %s",E))}tt!==null&&typeof tt.markRenderScheduled=="function"&&tt.markRenderScheduled(t),c=$v(c),i.context===null?i.context=c:i.pendingContext=c,El&&jl!==null&&!LA&&(LA=!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.
|
|
222
|
+
- `+Nc(t)+`
|
|
223
|
+
+ `+Nc(a),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."+a);return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=qc(a),t=Ha(o).hoistableScripts,i=t.get(a),i||(i={type:"script",instance:null,count:0,state:null},t.set(a,i)),i):{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 Nc(e){var t=0,a="<link";return typeof e.rel=="string"?(t++,a+=' rel="'+e.rel+'"'):Ku.call(e,"rel")&&(t++,a+=' rel="'+(e.rel===null?"null":"invalid type "+typeof e.rel)+'"'),typeof e.href=="string"?(t++,a+=' href="'+e.href+'"'):Ku.call(e,"href")&&(t++,a+=' href="'+(e.href===null?"null":"invalid type "+typeof e.href)+'"'),typeof e.precedence=="string"?(t++,a+=' precedence="'+e.precedence+'"'):Ku.call(e,"precedence")&&(t++,a+=" precedence={"+(e.precedence===null?"null":"invalid type "+typeof e.precedence)+"}"),Object.getOwnPropertyNames(e).length>t&&(a+=" ..."),a+" />"}function Ni(e){return'href="'+Na(e)+'"'}function ru(e){return'link[rel="stylesheet"]['+e+"]"}function uy(e){return dt({},e,{"data-precedence":e.precedence,precedence:null})}function cg(e,t,a,i){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?i.loading=rm:(t=e.createElement("link"),i.preload=t,t.addEventListener("load",function(){return i.loading|=rm}),t.addEventListener("error",function(){return i.loading|=Z1}),sl(t,"link",a),tl(t),e.head.appendChild(t))}function qc(e){return'[src="'+Na(e)+'"]'}function wc(e){return"script[async]"+e}function xd(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector('style[data-href~="'+Na(a.href)+'"]');if(i)return t.instance=i,tl(i),i;var o=dt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),tl(i),sl(i,"style",o),Ad(i,a.precedence,e),t.instance=i;case"stylesheet":o=Ni(a.href);var s=e.querySelector(ru(o));if(s)return t.state.loading|=Au,t.instance=s,tl(s),s;i=uy(a),(o=Du.get(o))&&iy(i,o),s=(e.ownerDocument||e).createElement("link"),tl(s);var d=s;return d._p=new Promise(function(h,g){d.onload=h,d.onerror=g}),sl(s,"link",i),t.state.loading|=Au,Ad(s,a.precedence,e),t.instance=s;case"script":return s=qc(a.src),(o=e.querySelector(wc(s)))?(t.instance=o,tl(o),o):(i=a,(o=Du.get(s))&&(i=dt({},a),cy(i,o)),e=e.ownerDocument||e,o=e.createElement("script"),tl(o),sl(o,"link",i),e.head.appendChild(o),t.instance=o);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)===Fr&&(i=t.instance,t.state.loading|=Au,Ad(i,a.precedence,e));return t.instance}function Ad(e,t,a){for(var i=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=i.length?i[i.length-1]:null,s=o,d=0;d<i.length;d++){var h=i[d];if(h.dataset.precedence===t)s=h;else if(s!==o)break}s?s.parentNode.insertBefore(e,s.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function iy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function cy(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}function oy(e,t,a){if(nv===null){var i=new Map,o=nv=new Map;o.set(a,i)}else o=nv,i=o.get(a),i||(i=new Map,o.set(a,i));if(i.has(e))return i;for(i.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var s=a[o];if(!(s[Fo]||s[la]||e==="link"&&s.getAttribute("rel")==="stylesheet")&&s.namespaceURI!==ts){var d=s.getAttribute(t)||"";d=e+d;var h=i.get(d);h?h.push(s):i.set(d,[s])}}return i}function sy(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function Yo(e,t,a){var i=!a.ancestorInfo.containerTagInScope;if(a.context===Sh||t.itemProp!=null)return!i||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===""){i&&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 o=t.onError,s=t.disabled;a=[],t.onLoad&&a.push("`onLoad`"),o&&a.push("`onError`"),s!=null&&a.push("`disabled`"),o=gt(a,"and"),o+=a.length===1?" prop":" props",s=a.length===1?"an "+o:"the "+o,a.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,s,o)}i&&(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"&&i&&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"){i&&(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":i&&console.error("Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",e)}return!1}function hr(e){return!(e.type==="stylesheet"&&(e.state.loading&$1)===Fr)}function og(){}function sg(e,t,a){if(fm===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var i=fm;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(t.state.loading&Au)===Fr){if(t.instance===null){var o=Ni(a.href),s=e.querySelector(ru(o));if(s){e=s._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(i.count++,i=pr.bind(i),e.then(i,i)),t.state.loading|=Au,t.instance=s,tl(s);return}s=e.ownerDocument||e,a=uy(a),(o=Du.get(o))&&iy(a,o),s=s.createElement("link"),tl(s);var d=s;d._p=new Promise(function(h,g){d.onload=h,d.onerror=g}),sl(s,"link",a),t.instance=s}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(t,e),(e=t.state.preload)&&(t.state.loading&$1)===Fr&&(i.count++,t=pr.bind(i),e.addEventListener("load",t),e.addEventListener("error",t))}}function rg(){if(fm===null)throw Error("Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.");var e=fm;return e.stylesheets&&e.count===0&&Dd(e,e.stylesheets),0<e.count?function(t){var a=setTimeout(function(){if(e.stylesheets&&Dd(e,e.stylesheets),e.unsuspend){var i=e.unsuspend;e.unsuspend=null,i()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(a)}}:null}function pr(){if(this.count--,this.count===0){if(this.stylesheets)Dd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}function Dd(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,uv=new Map,t.forEach(fg,e),uv=null,pr.call(e))}function fg(e,t){if(!(t.state.loading&Au)){var a=uv.get(e);if(a)var i=a.get(w0);else{a=new Map,uv.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),s=0;s<o.length;s++){var d=o[s];(d.nodeName==="LINK"||d.getAttribute("media")!=="not all")&&(a.set(d.dataset.precedence,d),i=d)}i&&a.set(w0,i)}o=t.instance,d=o.getAttribute("data-precedence"),s=a.get(d)||i,s===i&&a.set(w0,o),a.set(d,o),this.count++,i=pr.bind(this),o.addEventListener("load",i),o.addEventListener("error",i),s?s.parentNode.insertBefore(o,s.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=Au}}function zd(e,t,a,i,o,s,d,h){for(this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=Wr,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=i,this.onUncaughtError=o,this.onCaughtError=s,this.onRecoverableError=d,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=h,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=a?"hydrateRoot()":"createRoot()"}function ry(e,t,a,i,o,s,d,h,g,b,B,Q){return e=new zd(e,t,a,d,h,g,b,Q),t=mT,s===!0&&(t|=Ua|ei),dl&&(t|=ha),s=ye(3,null,null,t),e.current=s,s.stateNode=e,t=Hs(),rc(t),e.pooledCache=t,rc(t),s.memoizedState={element:i,isDehydrated:a,cache:t},va(s),e}function fy(e){return e?(e=ls,e):ls}function Vt(e,t,a,i,o,s){if(Xl&&typeof Xl.onScheduleFiberRoot=="function")try{Xl.onScheduleFiberRoot(Vi,i,a)}catch(d){Ma||(Ma=!0,console.error("React instrumentation encountered an error: %s",d))}He!==null&&typeof He.markRenderScheduled=="function"&&He.markRenderScheduled(t),o=fy(o),i.context===null?i.context=o:i.pendingContext=o,Ca&&La!==null&&!I1&&(I1=!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.
|
|
259
224
|
|
|
260
|
-
Check the render method of %s.`,W(jl)||"Unknown")),i=Kr(t),i.payload={element:a},h=h===void 0?null:h,h!==null&&(typeof h!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",h),i.callback=h),a=Tr(e,i,t),a!==null&&(Bn(a,e,t),Ru(a,e,t))}function Wp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function Gv(e,t){Wp(e,t),(e=e.alternate)&&Wp(e,t)}function Xv(e){if(e.tag===13){var t=ol(e,67108864);t!==null&&Bn(t,e,67108864),Gv(e,67108864)}}function TE(){return jl}function xE(){for(var e=new Map,t=1,a=0;31>a;a++){var i=se(t);e.set(t,i),t*=2}return e}function OE(e,t,a,i){var c=xe.T;xe.T=null;var h=vt.p;try{vt.p=za,Ku(e,t,a,i)}finally{vt.p=h,xe.T=c}}function Fp(e,t,a,i){var c=xe.T;xe.T=null;var h=vt.p;try{vt.p=zr,Ku(e,t,a,i)}finally{vt.p=h,xe.T=c}}function Ku(e,t,a,i){if(Tb){var c=Lf(i);if(c===null)Wa(e,t,i,xb,a),Ju(e,i);else if(Bf(c,e,t,a,i))i.stopPropagation();else if(Ju(e,i),t&4&&-1<k3.indexOf(e)){for(;c!==null;){var h=yn(c);if(h!==null)switch(h.tag){case 3:if(h=h.stateNode,h.current.memoizedState.isDehydrated){var E=Ue(h.pendingLanes);if(E!==0){var x=h;for(x.pendingLanes|=2,x.entangledLanes|=2;E;){var N=1<<31-$a(E);x.entanglements[1]|=N,E&=~N}tr(h),(Ft&(Vl|vu))===Nr&&(ib=gi()+yA,Zo(0))}}break;case 13:x=ol(h,2),x!==null&&Bn(x,h,2),Po(),Gv(h,2)}if(h=Lf(i),h===null&&Wa(e,t,i,xb,a),h===c)break;c=h}c!==null&&i.stopPropagation()}else Wa(e,t,i,null,a)}}function Lf(e){return e=Yr(e),us(e)}function us(e){if(xb=null,e=En(e),e!==null){var t=L(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=B(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return xb=e,null}function eh(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 za;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 zr;case"message":switch(Fu()){case rh:return za;case Kf:return zr;case ps:case DE:return cu;case Jf:return ch;default:return cu}default:return cu}}function Ju(e,t){switch(e){case"focusin":case"focusout":zs=null;break;case"dragenter":case"dragleave":Ns=null;break;case"mouseover":case"mouseout":Rs=null;break;case"pointerover":case"pointerout":Xy.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Py.delete(t.pointerId)}}function gl(e,t,a,i,c,h){return e===null||e.nativeEvent!==h?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:h,targetContainers:[c]},t!==null&&(t=yn(t),t!==null&&Xv(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,c!==null&&t.indexOf(c)===-1&&t.push(c),e)}function Bf(e,t,a,i,c){switch(t){case"focusin":return zs=gl(zs,e,t,a,i,c),!0;case"dragenter":return Ns=gl(Ns,e,t,a,i,c),!0;case"mouseover":return Rs=gl(Rs,e,t,a,i,c),!0;case"pointerover":var h=c.pointerId;return Xy.set(h,gl(Xy.get(h)||null,e,t,a,i,c)),!0;case"gotpointercapture":return h=c.pointerId,Py.set(h,gl(Py.get(h)||null,e,t,a,i,c)),!0}return!1}function A0(e){var t=En(e.target);if(t!==null){var a=L(t);if(a!==null){if(t=a.tag,t===13){if(t=B(a),t!==null){e.blockedOn=t,In(e.priority,function(){if(a.tag===13){var i=ml(a);i=Xe(i);var c=ol(a,i);c!==null&&Bn(c,a,i),Gv(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Vf(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=Lf(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),c=i;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=c,a.target.dispatchEvent(i),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=yn(a),t!==null&&Xv(t),e.blockedOn=a,!1;t.shift()}return!0}function Pv(e,t,a){Vf(e)&&a.delete(t)}function w0(){DT=!1,zs!==null&&Vf(zs)&&(zs=null),Ns!==null&&Vf(Ns)&&(Ns=null),Rs!==null&&Vf(Rs)&&(Rs=null),Xy.forEach(Pv),Py.forEach(Pv)}function Yf(e,t){e.blockedOn===t&&(e.blockedOn=null,DT||(DT=!0,Gn.unstable_scheduleCallback(Gn.unstable_NormalPriority,w0)))}function D0(e){Ob!==e&&(Ob=e,Gn.unstable_scheduleCallback(Gn.unstable_NormalPriority,function(){Ob===e&&(Ob=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],c=e[t+2];if(typeof i!="function"){if(us(i||a)===null)continue;break}var h=yn(a);h!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:c,method:a.method,action:i},Object.freeze(a),Ho(h,a,i,c))}}))}function tc(e){function t(N){return Yf(N,e)}zs!==null&&Yf(zs,e),Ns!==null&&Yf(Ns,e),Rs!==null&&Yf(Rs,e),Xy.forEach(t),Py.forEach(t);for(var a=0;a<qs.length;a++){var i=qs[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<qs.length&&(a=qs[0],a.blockedOn===null);)A0(a),a.blockedOn===null&&qs.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var c=a[i],h=a[i+1],E=c[Sl]||null;if(typeof h=="function")E||D0(a);else if(E){var x=null;if(h&&h.hasAttribute("formAction")){if(c=h,E=h[Sl]||null)x=E.formAction;else if(us(c)!==null)continue}else x=E.action;typeof x=="function"?a[i+1]=x:(a.splice(i,3),i-=3),D0(a)}}}function th(e){this._internalRoot=e}function $f(e){this._internalRoot=e}function M0(e){e[no]&&(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 Gn=Y2(),Gf=O,CE=xl,At=Object.assign,Xf=Symbol.for("react.element"),Iu=Symbol.for("react.transitional.element"),nc=Symbol.for("react.portal"),xt=Symbol.for("react.fragment"),os=Symbol.for("react.strict_mode"),cs=Symbol.for("react.profiler"),Qv=Symbol.for("react.provider"),nh=Symbol.for("react.consumer"),lr=Symbol.for("react.context"),ru=Symbol.for("react.forward_ref"),ss=Symbol.for("react.suspense"),Wu=Symbol.for("react.suspense_list"),Pf=Symbol.for("react.memo"),Ul=Symbol.for("react.lazy"),Zv=Symbol.for("react.activity"),z0=Symbol.for("react.memo_cache_sentinel"),Kv=Symbol.iterator,ah=Symbol.for("react.client.reference"),bt=Array.isArray,xe=Gf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vt=CE.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,_E=Object.freeze({pending:!1,data:null,method:null,action:null}),Qf=[],Zf=[],rr=-1,iu=me(null),fs=me(null),yi=me(null),ds=me(null),uu=Object.prototype.hasOwnProperty,lh=Gn.unstable_scheduleCallback,AE=Gn.unstable_cancelCallback,N0=Gn.unstable_shouldYield,wE=Gn.unstable_requestPaint,gi=Gn.unstable_now,Fu=Gn.unstable_getCurrentPriorityLevel,rh=Gn.unstable_ImmediatePriority,Kf=Gn.unstable_UserBlockingPriority,ps=Gn.unstable_NormalPriority,DE=Gn.unstable_LowPriority,Jf=Gn.unstable_IdlePriority,ME=Gn.log,Mr=Gn.unstable_setDisableYieldValue,eo=null,Ma=null,tt=null,bl=!1,Xn=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",$a=Math.clz32?Math.clz32:I,ih=Math.log,ou=Math.LN2,uh=256,oh=4194304,za=2,zr=8,cu=32,ch=268435456,to=Math.random().toString(36).slice(2),Ga="__reactFiber$"+to,Sl="__reactProps$"+to,no="__reactContainer$"+to,Jv="__reactEvents$"+to,R0="__reactListeners$"+to,hs="__reactHandles$"+to,ms="__reactResources$"+to,vs="__reactMarker$"+to,q0=new Set,ir={},ac={},H0={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},sh=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]*$"),fh={},dh={},ao=0,Iv,Wv,U0,Fv,ys,j0,k0;fr.__reactDisabledLog=!0;var ey,If,gs=!1,Wf=new(typeof WeakMap=="function"?WeakMap:Map),jl=null,El=!1,zE=/[\n"\\]/g,ty=!1,ny=!1,ay=!1,ly=!1,ph=!1,ry=!1,Ff=["value","defaultValue"],L0=!1,B0=/["'&<>\n\t]|^\s|\s$/,iy="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(" "),hh="applet caption html table td th marquee object template foreignObject desc title".split(" "),mh=hh.concat(["button"]),uy="dd dt li option optgroup p rp rt".split(" "),oy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},bs={},bi={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"]},su=/([A-Z])/g,fu=/^ms-/,ed=/^(?:webkit|moz|o)[A-Z]/,td=/^-ms-/,lo=/-(.)/g,V0=/;\s*$/,lc={},rc={},Y0=!1,cy=!1,nd=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(" ")),ad="http://www.w3.org/1998/Math/MathML",Ss="http://www.w3.org/2000/svg",vh=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"]]),ic={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"},sy={"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},Si={},fy=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]*$"),yh=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]*$"),dy=!1,tl={},ld=/^on./,n=/^on[^A-Z]/,l=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]*$"),o=/^[\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,v=null,_=null,z=!1,$=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),de=!1;if($)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){de=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch{de=!1}var je=null,ge=null,Ee=null,ot={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ct=he(ot),Xt=At({},ot,{view:0,detail:0}),oe=he(Xt),ee,fe,He,nt=At({},Xt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:rt,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!==He&&(He&&e.type==="mousemove"?(ee=e.screenX-He.screenX,fe=e.screenY-He.screenY):fe=ee=0,He=e),ee)},movementY:function(e){return"movementY"in e?e.movementY:fe}}),Dt=he(nt),ut=At({},nt,{dataTransfer:0}),mt=he(ut),Sa=At({},Xt,{relatedTarget:0}),Bt=he(Sa),ro=At({},ot,{animationName:0,elapsedTime:0,pseudoElement:0}),NE=he(ro),HR=At({},ot,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),UR=he(HR),jR=At({},ot,{data:0}),W2=he(jR),kR=W2,LR={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BR={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"},VR={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},YR=At({},Xt,{key:function(e){if(e.key){var t=LR[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Cu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?BR[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:rt,charCode:function(e){return e.type==="keypress"?Cu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),$R=he(YR),GR=At({},nt,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),F2=he(GR),XR=At({},Xt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:rt}),PR=he(XR),QR=At({},ot,{propertyName:0,elapsedTime:0,pseudoElement:0}),ZR=he(QR),KR=At({},nt,{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}),JR=he(KR),IR=At({},ot,{newState:0,oldState:0}),WR=he(IR),FR=[9,13,27,32],e_=229,RE=$&&"CompositionEvent"in window,py=null;$&&"documentMode"in document&&(py=document.documentMode);var e3=$&&"TextEvent"in window&&!py,t_=$&&(!RE||py&&8<py&&11>=py),n_=32,a_=String.fromCharCode(n_),l_=!1,gh=!1,t3={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},hy=null,my=null,r_=!1;$&&(r_=Qs("input")&&(!document.documentMode||9<document.documentMode));var kl=typeof Object.is=="function"?Object.is:gE,n3=$&&"documentMode"in document&&11>=document.documentMode,bh=null,qE=null,vy=null,HE=!1,Sh={animationend:$i("Animation","AnimationEnd"),animationiteration:$i("Animation","AnimationIteration"),animationstart:$i("Animation","AnimationStart"),transitionrun:$i("Transition","TransitionRun"),transitionstart:$i("Transition","TransitionStart"),transitioncancel:$i("Transition","TransitionCancel"),transitionend:$i("Transition","TransitionEnd")},UE={},i_={};$&&(i_=document.createElement("div").style,"AnimationEvent"in window||(delete Sh.animationend.animation,delete Sh.animationiteration.animation,delete Sh.animationstart.animation),"TransitionEvent"in window||delete Sh.transitionend.transition);var u_=Oo("animationend"),o_=Oo("animationiteration"),c_=Oo("animationstart"),a3=Oo("transitionrun"),l3=Oo("transitionstart"),r3=Oo("transitioncancel"),s_=Oo("transitionend"),f_=new Map,jE="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(" ");jE.push("scrollEnd");var kE=new WeakMap,$0=1,uc=2,Ei=[],Eh=0,LE=0,Es={};Object.freeze(Es);var Ti=null,Th=null,_n=0,i3=1,nl=2,Tl=8,du=16,d_=64,p_=!1;try{var h_=Object.preventExtensions({})}catch{p_=!0}var xh=[],Oh=0,G0=null,X0=0,xi=[],Oi=0,rd=null,oc=1,cc="",Ll=null,Fn=null,Pt=!1,sc=!1,Ci=null,id=null,io=!1,BE=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."),m_=0;if(typeof performance=="object"&&typeof performance.now=="function")var u3=performance,v_=function(){return u3.now()};else{var o3=Date;v_=function(){return o3.now()}}var VE=me(null),YE=me(null),y_={},P0=null,Ch=null,_h=!1,c3=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},s3=Gn.unstable_scheduleCallback,f3=Gn.unstable_NormalPriority,Na={$$typeof:lr,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},Ah=Gn.unstable_now,g_=-0,Q0=-0,ur=-1.1,ud=-0,Z0=!1,K0=!1,yy=null,$E=0,od=0,wh=null,b_=xe.S;xe.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&Fg(e,t),b_!==null&&b_(e,t)};var cd=me(null),pu={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},gy=[],by=[],Sy=[],Ey=[],Ty=[],xy=[],sd=new Set;pu.recordUnsafeLifecycleWarnings=function(e,t){sd.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&gy.push(e),e.mode&Tl&&typeof t.UNSAFE_componentWillMount=="function"&&by.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Sy.push(e),e.mode&Tl&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Ey.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&Ty.push(e),e.mode&Tl&&typeof t.UNSAFE_componentWillUpdate=="function"&&xy.push(e))},pu.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<gy.length&&(gy.forEach(function(x){e.add(W(x)||"Component"),sd.add(x.type)}),gy=[]);var t=new Set;0<by.length&&(by.forEach(function(x){t.add(W(x)||"Component"),sd.add(x.type)}),by=[]);var a=new Set;0<Sy.length&&(Sy.forEach(function(x){a.add(W(x)||"Component"),sd.add(x.type)}),Sy=[]);var i=new Set;0<Ey.length&&(Ey.forEach(function(x){i.add(W(x)||"Component"),sd.add(x.type)}),Ey=[]);var c=new Set;0<Ty.length&&(Ty.forEach(function(x){c.add(W(x)||"Component"),sd.add(x.type)}),Ty=[]);var h=new Set;if(0<xy.length&&(xy.forEach(function(x){h.add(W(x)||"Component"),sd.add(x.type)}),xy=[]),0<t.size){var E=w(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.
|
|
225
|
+
Check the render method of %s.`,ce(La)||"Unknown")),i=Xn(t),i.payload={element:a},s=s===void 0?null:s,s!==null&&(typeof s!="function"&&console.error("Expected the last optional `callback` argument to be a function. Instead received: %s.",s),i.callback=s),a=xn(e,i,t),a!==null&&(cl(a,e,t),vi(a,e,t))}function Od(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function dy(e,t){Od(e,t),(e=e.alternate)&&Od(e,t)}function hy(e){if(e.tag===13){var t=ga(e,67108864);t!==null&&cl(t,e,67108864),dy(e,67108864)}}function Rv(){return La}function Cv(){for(var e=new Map,t=1,a=0;31>a;a++){var i=Se(t);e.set(t,i),t*=2}return e}function Uv(e,t,a,i){var o=L.T;L.T=null;var s=et.p;try{et.p=kl,qi(e,t,a,i)}finally{et.p=s,L.T=o}}function Md(e,t,a,i){var o=L.T;L.T=null;var s=et.p;try{et.p=Hn,qi(e,t,a,i)}finally{et.p=s,L.T=o}}function qi(e,t,a,i){if(cv){var o=yr(i);if(o===null)sa(e,t,i,ov,a),wi(e,i);else if(mr(o,e,t,a,i))i.stopPropagation();else if(wi(e,i),t&4&&-1<JT.indexOf(e)){for(;o!==null;){var s=zl(o);if(s!==null)switch(s.tag){case 3:if(s=s.stateNode,s.current.memoizedState.isDehydrated){var d=Re(s.pendingLanes);if(d!==0){var h=s;for(h.pendingLanes|=2,h.entangledLanes|=2;d;){var g=1<<31-ta(d);h.entanglements[1]|=g,d&=~g}on(s),(Gt&(Za|ni))===Nn&&(Qg=du()+C1,Rc(0))}}break;case 13:h=ga(s,2),h!==null&&cl(h,s,2),Oc(),dy(s,2)}if(s=yr(i),s===null&&sa(e,t,i,ov,a),s===o)break;o=s}o!==null&&i.stopPropagation()}else sa(e,t,i,null,a)}}function yr(e){return e=lc(e),Lo(e)}function Lo(e){if(ov=null,e=Kl(e),e!==null){var t=le(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=ie(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return ov=e,null}function Rd(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 kl;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 Hn;case"message":switch(ji()){case qd:return kl;case Dr:return Hn;case Jo:case _v:return Fu;case zr:return jd;default:return Fu}default:return Fu}}function wi(e,t){switch(e){case"focusin":case"focusout":ds=null;break;case"dragenter":case"dragleave":hs=null;break;case"mouseover":case"mouseout":ps=null;break;case"pointerover":case"pointerout":hm.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pm.delete(t.pointerId)}}function Oa(e,t,a,i,o,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:a,eventSystemFlags:i,nativeEvent:s,targetContainers:[o]},t!==null&&(t=zl(t),t!==null&&hy(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function mr(e,t,a,i,o){switch(t){case"focusin":return ds=Oa(ds,e,t,a,i,o),!0;case"dragenter":return hs=Oa(hs,e,t,a,i,o),!0;case"mouseover":return ps=Oa(ps,e,t,a,i,o),!0;case"pointerover":var s=o.pointerId;return hm.set(s,Oa(hm.get(s)||null,e,t,a,i,o)),!0;case"gotpointercapture":return s=o.pointerId,pm.set(s,Oa(pm.get(s)||null,e,t,a,i,o)),!0}return!1}function dg(e){var t=Kl(e.target);if(t!==null){var a=le(t);if(a!==null){if(t=a.tag,t===13){if(t=ie(a),t!==null){e.blockedOn=t,ma(e.priority,function(){if(a.tag===13){var i=Aa(a);i=Ne(i);var o=ga(a,i);o!==null&&cl(o,a,i),dy(a,i)}});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function gr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=yr(e.nativeEvent);if(a===null){a=e.nativeEvent;var i=new a.constructor(a.type,a),o=i;r!==null&&console.error("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),r=o,a.target.dispatchEvent(i),r===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."),r=null}else return t=zl(a),t!==null&&hy(t),e.blockedOn=a,!1;t.shift()}return!0}function py(e,t,a){gr(e)&&a.delete(t)}function hg(){_0=!1,ds!==null&&gr(ds)&&(ds=null),hs!==null&&gr(hs)&&(hs=null),ps!==null&&gr(ps)&&(ps=null),hm.forEach(py),pm.forEach(py)}function vr(e,t){e.blockedOn===t&&(e.blockedOn=null,_0||(_0=!0,fl.unstable_scheduleCallback(fl.unstable_NormalPriority,hg)))}function pg(e){sv!==e&&(sv=e,fl.unstable_scheduleCallback(fl.unstable_NormalPriority,function(){sv===e&&(sv=null);for(var t=0;t<e.length;t+=3){var a=e[t],i=e[t+1],o=e[t+2];if(typeof i!="function"){if(Lo(i||a)===null)continue;break}var s=zl(a);s!==null&&(e.splice(t,3),t-=3,a={pending:!0,data:o,method:a.method,action:i},Object.freeze(a),mc(s,a,i,o))}}))}function _c(e){function t(g){return vr(g,e)}ds!==null&&vr(ds,e),hs!==null&&vr(hs,e),ps!==null&&vr(ps,e),hm.forEach(t),pm.forEach(t);for(var a=0;a<ys.length;a++){var i=ys[a];i.blockedOn===e&&(i.blockedOn=null)}for(;0<ys.length&&(a=ys[0],a.blockedOn===null);)dg(a),a.blockedOn===null&&ys.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(i=0;i<a.length;i+=3){var o=a[i],s=a[i+1],d=o[Ra]||null;if(typeof s=="function")d||pg(a);else if(d){var h=null;if(s&&s.hasAttribute("formAction")){if(o=s,d=s[Ra]||null)h=d.formAction;else if(Lo(o)!==null)continue}else h=d.action;typeof h=="function"?a[i+1]=h:(a.splice(i,3),i-=3),pg(a)}}}function Cd(e){this._internalRoot=e}function br(e){this._internalRoot=e}function yg(e){e[Yi]&&(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 fl=eb(),Sr=te,Hv=rv,dt=Object.assign,Tr=Symbol.for("react.element"),_i=Symbol.for("react.transitional.element"),Bc=Symbol.for("react.portal"),ot=Symbol.for("react.fragment"),Xo=Symbol.for("react.strict_mode"),ko=Symbol.for("react.profiler"),yy=Symbol.for("react.provider"),Ud=Symbol.for("react.consumer"),fn=Symbol.for("react.context"),$u=Symbol.for("react.forward_ref"),Qo=Symbol.for("react.suspense"),Bi=Symbol.for("react.suspense_list"),Er=Symbol.for("react.memo"),Ya=Symbol.for("react.lazy"),my=Symbol.for("react.activity"),mg=Symbol.for("react.memo_cache_sentinel"),gy=Symbol.iterator,Hd=Symbol.for("react.client.reference"),ut=Array.isArray,L=Sr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,et=Hv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nv=Object.freeze({pending:!1,data:null,method:null,action:null}),xr=[],Ar=[],dn=-1,Ju=we(null),Zo=we(null),fu=we(null),$o=we(null),Ku=Object.prototype.hasOwnProperty,Nd=fl.unstable_scheduleCallback,qv=fl.unstable_cancelCallback,gg=fl.unstable_shouldYield,wv=fl.unstable_requestPaint,du=fl.unstable_now,ji=fl.unstable_getCurrentPriorityLevel,qd=fl.unstable_ImmediatePriority,Dr=fl.unstable_UserBlockingPriority,Jo=fl.unstable_NormalPriority,_v=fl.unstable_LowPriority,zr=fl.unstable_IdlePriority,Bv=fl.log,Un=fl.unstable_setDisableYieldValue,Vi=null,Xl=null,He=null,Ma=!1,dl=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u",ta=Math.clz32?Math.clz32:he,wd=Math.log,Wu=Math.LN2,_d=256,Bd=4194304,kl=2,Hn=8,Fu=32,jd=268435456,Gi=Math.random().toString(36).slice(2),la="__reactFiber$"+Gi,Ra="__reactProps$"+Gi,Yi="__reactContainer$"+Gi,vy="__reactEvents$"+Gi,vg="__reactListeners$"+Gi,Ko="__reactHandles$"+Gi,Wo="__reactResources$"+Gi,Fo="__reactMarker$"+Gi,bg=new Set,hn={},jc={},Sg={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},Vd=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]*$"),Gd={},Yd={},Li=0,by,Sy,Tg,Ty,Io,Eg,xg;Pr.__reactDisabledLog=!0;var Ey,Or,Po=!1,Mr=new(typeof WeakMap=="function"?WeakMap:Map),La=null,Ca=!1,jv=/[\n"\\]/g,xy=!1,Ay=!1,Dy=!1,zy=!1,Ld=!1,Oy=!1,Rr=["value","defaultValue"],Ag=!1,Dg=/["'&<>\n\t]|^\s|\s$/,My="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(" "),Xd="applet caption html table td th marquee object template foreignObject desc title".split(" "),kd=Xd.concat(["button"]),Ry="dd dt li option optgroup p rp rt".split(" "),Cy={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null,containerTagInScope:null,implicitRootScope:!1},es={},hu={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"]},Iu=/([A-Z])/g,Pu=/^ms-/,Cr=/^(?:webkit|moz|o)[A-Z]/,Ur=/^-ms-/,Xi=/-(.)/g,zg=/;\s*$/,Vc={},Gc={},Og=!1,Uy=!1,Hr=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(" ")),Nr="http://www.w3.org/1998/Math/MathML",ts="http://www.w3.org/2000/svg",Qd=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"]]),Yc={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"},Hy={"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},pu={},Ny=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]*$"),Zd=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]*$"),qy=!1,da={},qr=/^on./,l=/^on[^A-Z]/,n=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]*$"),u=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]*$"),c=/^[\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,r=null,f=null,p=null,y=!1,E=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),N=!1;if(E)try{var I={};Object.defineProperty(I,"passive",{get:function(){N=!0}}),window.addEventListener("test",I,I),window.removeEventListener("test",I,I)}catch{N=!1}var ae=null,_=null,j=null,Ze={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$e=Bl(Ze),Ht=dt({},Ze,{view:0,detail:0}),C=Bl(Ht),O,H,ee,_e=dt({},Ht,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ff,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!==ee&&(ee&&e.type==="mousemove"?(O=e.screenX-ee.screenX,H=e.screenY-ee.screenY):H=O=0,ee=e),O)},movementY:function(e){return"movementY"in e?e.movementY:H}}),pt=Bl(_e),ke=dt({},_e,{dataTransfer:0}),We=Bl(ke),Hl=dt({},Ht,{relatedTarget:0}),zt=Bl(Hl),ki=dt({},Ze,{animationName:0,elapsedTime:0,pseudoElement:0}),Vv=Bl(ki),QS=dt({},Ze,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ZS=Bl(QS),$S=dt({},Ze,{data:0}),fb=Bl($S),JS=fb,KS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},WS={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"},FS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},IS=dt({},Ht,{key:function(e){if(e.key){var t=KS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=co(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?WS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ff,charCode:function(e){return e.type==="keypress"?co(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?co(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),PS=Bl(IS),eT=dt({},_e,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),db=Bl(eT),tT=dt({},Ht,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ff}),lT=Bl(tT),aT=dt({},Ze,{propertyName:0,elapsedTime:0,pseudoElement:0}),nT=Bl(aT),uT=dt({},_e,{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}),iT=Bl(uT),cT=dt({},Ze,{newState:0,oldState:0}),oT=Bl(cT),sT=[9,13,27,32],hb=229,Gv=E&&"CompositionEvent"in window,wy=null;E&&"documentMode"in document&&(wy=document.documentMode);var rT=E&&"TextEvent"in window&&!wy,pb=E&&(!Gv||wy&&8<wy&&11>=wy),yb=32,mb=String.fromCharCode(yb),gb=!1,$d=!1,fT={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},_y=null,By=null,vb=!1;E&&(vb=wh("input")&&(!document.documentMode||9<document.documentMode));var Xa=typeof Object.is=="function"?Object.is:Dv,dT=E&&"documentMode"in document&&11>=document.documentMode,Jd=null,Yv=null,jy=null,Lv=!1,Kd={animationend:Uu("Animation","AnimationEnd"),animationiteration:Uu("Animation","AnimationIteration"),animationstart:Uu("Animation","AnimationStart"),transitionrun:Uu("Transition","TransitionRun"),transitionstart:Uu("Transition","TransitionStart"),transitioncancel:Uu("Transition","TransitionCancel"),transitionend:Uu("Transition","TransitionEnd")},Xv={},bb={};E&&(bb=document.createElement("div").style,"AnimationEvent"in window||(delete Kd.animationend.animation,delete Kd.animationiteration.animation,delete Kd.animationstart.animation),"TransitionEvent"in window||delete Kd.transitionend.transition);var Sb=uc("animationend"),Tb=uc("animationiteration"),Eb=uc("animationstart"),hT=uc("transitionrun"),pT=uc("transitionstart"),yT=uc("transitioncancel"),xb=uc("transitionend"),Ab=new Map,kv="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(" ");kv.push("scrollEnd");var Qv=new WeakMap,Mg=1,Lc=2,yu=[],Wd=0,Zv=0,ls={};Object.freeze(ls);var mu=null,Fd=null,Pt=0,mT=1,ha=2,Ua=8,ei=16,Db=64,zb=!1;try{var Ob=Object.preventExtensions({})}catch{zb=!0}var Id=[],Pd=0,Rg=null,Cg=0,gu=[],vu=0,wr=null,Xc=1,kc="",ka=null,yl=null,Nt=!1,Qc=!1,bu=null,_r=null,Qi=!1,$v=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."),Mb=0;if(typeof performance=="object"&&typeof performance.now=="function")var gT=performance,Rb=function(){return gT.now()};else{var vT=Date;Rb=function(){return vT.now()}}var Jv=we(null),Kv=we(null),Cb={},Ug=null,eh=null,th=!1,bT=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},ST=fl.unstable_scheduleCallback,TT=fl.unstable_NormalPriority,Ql={$$typeof:fn,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_currentRenderer:null,_currentRenderer2:null},lh=fl.unstable_now,Ub=-0,Hg=-0,pn=-1.1,Br=-0,Ng=!1,qg=!1,Vy=null,Wv=0,jr=0,ah=null,Hb=L.S;L.S=function(e,t){typeof t=="object"&&t!==null&&typeof t.then=="function"&&jm(e,t),Hb!==null&&Hb(e,t)};var Vr=we(null),ti={recordUnsafeLifecycleWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},Gy=[],Yy=[],Ly=[],Xy=[],ky=[],Qy=[],Gr=new Set;ti.recordUnsafeLifecycleWarnings=function(e,t){Gr.has(e.type)||(typeof t.componentWillMount=="function"&&t.componentWillMount.__suppressDeprecationWarning!==!0&&Gy.push(e),e.mode&Ua&&typeof t.UNSAFE_componentWillMount=="function"&&Yy.push(e),typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps.__suppressDeprecationWarning!==!0&&Ly.push(e),e.mode&Ua&&typeof t.UNSAFE_componentWillReceiveProps=="function"&&Xy.push(e),typeof t.componentWillUpdate=="function"&&t.componentWillUpdate.__suppressDeprecationWarning!==!0&&ky.push(e),e.mode&Ua&&typeof t.UNSAFE_componentWillUpdate=="function"&&Qy.push(e))},ti.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;0<Gy.length&&(Gy.forEach(function(h){e.add(ce(h)||"Component"),Gr.add(h.type)}),Gy=[]);var t=new Set;0<Yy.length&&(Yy.forEach(function(h){t.add(ce(h)||"Component"),Gr.add(h.type)}),Yy=[]);var a=new Set;0<Ly.length&&(Ly.forEach(function(h){a.add(ce(h)||"Component"),Gr.add(h.type)}),Ly=[]);var i=new Set;0<Xy.length&&(Xy.forEach(function(h){i.add(ce(h)||"Component"),Gr.add(h.type)}),Xy=[]);var o=new Set;0<ky.length&&(ky.forEach(function(h){o.add(ce(h)||"Component"),Gr.add(h.type)}),ky=[]);var s=new Set;if(0<Qy.length&&(Qy.forEach(function(h){s.add(ce(h)||"Component"),Gr.add(h.type)}),Qy=[]),0<t.size){var d=Y(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.
|
|
261
226
|
|
|
262
227
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
263
228
|
|
|
264
|
-
Please update the following components: %s`,
|
|
229
|
+
Please update the following components: %s`,d)}0<i.size&&(d=Y(i),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.
|
|
265
230
|
|
|
266
231
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
267
232
|
* 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
|
|
268
233
|
|
|
269
|
-
Please update the following components: %s`,
|
|
234
|
+
Please update the following components: %s`,d)),0<s.size&&(d=Y(s),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.
|
|
270
235
|
|
|
271
236
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
272
237
|
|
|
273
|
-
Please update the following components: %s`,
|
|
238
|
+
Please update the following components: %s`,d)),0<e.size&&(d=Y(e),console.warn(`componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
274
239
|
|
|
275
240
|
* Move code with side effects to componentDidMount, and set initial state in the constructor.
|
|
276
241
|
* 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.
|
|
277
242
|
|
|
278
|
-
Please update the following components: %s`,
|
|
243
|
+
Please update the following components: %s`,d)),0<a.size&&(d=Y(a),console.warn(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
279
244
|
|
|
280
245
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
281
246
|
* 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
|
|
282
247
|
* 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.
|
|
283
248
|
|
|
284
|
-
Please update the following components: %s`,
|
|
249
|
+
Please update the following components: %s`,d)),0<o.size&&(d=Y(o),console.warn(`componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.
|
|
285
250
|
|
|
286
251
|
* Move data fetching code or side effects to componentDidUpdate.
|
|
287
252
|
* 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.
|
|
288
253
|
|
|
289
|
-
Please update the following components: %s`,
|
|
254
|
+
Please update the following components: %s`,d))};var wg=new Map,Nb=new Set;ti.recordLegacyContextWarning=function(e,t){for(var a=null,i=e;i!==null;)i.mode&Ua&&(a=i),i=i.return;a===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."):!Nb.has(e.type)&&(i=wg.get(a),e.type.contextTypes!=null||e.type.childContextTypes!=null||t!==null&&typeof t.getChildContext=="function")&&(i===void 0&&(i=[],wg.set(a,i)),i.push(e))},ti.flushLegacyContextWarning=function(){wg.forEach(function(e){if(e.length!==0){var t=e[0],a=new Set;e.forEach(function(o){a.add(ce(o)||"Component"),Nb.add(o.type)});var i=Y(a);Be(t,function(){console.error(`Legacy context API has been detected within a strict-mode tree.
|
|
290
255
|
|
|
291
256
|
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
|
|
292
257
|
|
|
293
258
|
Please update the following components: %s
|
|
294
259
|
|
|
295
|
-
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},pu.discardPendingWarnings=function(){gy=[],by=[],Sy=[],Ey=[],Ty=[],xy=[],J0=new Map};var Oy=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`."),E_=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."),I0=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."),GE={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.')}},Cy=null,W0=!1,_i=0,Ai=1,Bl=2,al=4,Ra=8,T_=0,x_=1,O_=2,XE=3,Ts=!1,C_=!1,PE=null,QE=!1,Dh=me(null),F0=me(0),Mh,__=new Set,A_=new Set,ZE=new Set,w_=new Set,xs=0,St=null,vn=null,Ea=null,eb=!1,zh=!1,fd=!1,tb=0,_y=0,fc=null,d3=0,p3=25,Ce=null,wi=null,dc=-1,Ay=!1,nb={readContext:gn,use:Ir,useCallback:Nn,useContext:Nn,useEffect:Nn,useImperativeHandle:Nn,useLayoutEffect:Nn,useInsertionEffect:Nn,useMemo:Nn,useReducer:Nn,useRef:Nn,useState:Nn,useDebugValue:Nn,useDeferredValue:Nn,useTransition:Nn,useSyncExternalStore:Nn,useId:Nn,useHostTransitionStatus:Nn,useFormState:Nn,useActionState:Nn,useOptimistic:Nn,useMemoCache:Nn,useCacheRefresh:Nn},KE=null,D_=null,JE=null,M_=null,uo=null,hu=null,ab=null;KE={readContext:function(e){return gn(e)},use:Ir,useCallback:function(e,t){return Ce="useCallback",wt(),Zl(t),ff(e,t)},useContext:function(e){return Ce="useContext",wt(),gn(e)},useEffect:function(e,t){return Ce="useEffect",wt(),Zl(t),Jd(e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",wt(),Zl(a),Wd(e,t,a)},useInsertionEffect:function(e,t){Ce="useInsertionEffect",wt(),Zl(t),Wl(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",wt(),Zl(t),Id(e,t)},useMemo:function(e,t){Ce="useMemo",wt(),Zl(t);var a=xe.H;xe.H=uo;try{return Fd(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",wt();var i=xe.H;xe.H=uo;try{return Vt(e,t,a)}finally{xe.H=i}},useRef:function(e){return Ce="useRef",wt(),sf(e)},useState:function(e){Ce="useState",wt();var t=xe.H;xe.H=uo;try{return Zi(e)}finally{xe.H=t}},useDebugValue:function(){Ce="useDebugValue",wt()},useDeferredValue:function(e,t){return Ce="useDeferredValue",wt(),ep(e,t)},useTransition:function(){return Ce="useTransition",wt(),ti()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",wt(),Qi(e,t,a)},useId:function(){return Ce="useId",wt(),ni()},useFormState:function(e,t){return Ce="useFormState",wt(),Rc(),Lc(e,t)},useActionState:function(e,t){return Ce="useActionState",wt(),Lc(e,t)},useOptimistic:function(e){return Ce="useOptimistic",wt(),Cr(e)},useHostTransitionStatus:dl,useMemoCache:Kn,useCacheRefresh:function(){return Ce="useCacheRefresh",wt(),Uo()}},D_={readContext:function(e){return gn(e)},use:Ir,useCallback:function(e,t){return Ce="useCallback",Ge(),ff(e,t)},useContext:function(e){return Ce="useContext",Ge(),gn(e)},useEffect:function(e,t){return Ce="useEffect",Ge(),Jd(e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",Ge(),Wd(e,t,a)},useInsertionEffect:function(e,t){Ce="useInsertionEffect",Ge(),Wl(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",Ge(),Id(e,t)},useMemo:function(e,t){Ce="useMemo",Ge();var a=xe.H;xe.H=uo;try{return Fd(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",Ge();var i=xe.H;xe.H=uo;try{return Vt(e,t,a)}finally{xe.H=i}},useRef:function(e){return Ce="useRef",Ge(),sf(e)},useState:function(e){Ce="useState",Ge();var t=xe.H;xe.H=uo;try{return Zi(e)}finally{xe.H=t}},useDebugValue:function(){Ce="useDebugValue",Ge()},useDeferredValue:function(e,t){return Ce="useDeferredValue",Ge(),ep(e,t)},useTransition:function(){return Ce="useTransition",Ge(),ti()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",Ge(),Qi(e,t,a)},useId:function(){return Ce="useId",Ge(),ni()},useActionState:function(e,t){return Ce="useActionState",Ge(),Lc(e,t)},useFormState:function(e,t){return Ce="useFormState",Ge(),Rc(),Lc(e,t)},useOptimistic:function(e){return Ce="useOptimistic",Ge(),Cr(e)},useHostTransitionStatus:dl,useMemoCache:Kn,useCacheRefresh:function(){return Ce="useCacheRefresh",Ge(),Uo()}},JE={readContext:function(e){return gn(e)},use:Ir,useCallback:function(e,t){return Ce="useCallback",Ge(),qo(e,t)},useContext:function(e){return Ce="useContext",Ge(),gn(e)},useEffect:function(e,t){Ce="useEffect",Ge(),sa(2048,Ra,e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",Ge(),ei(e,t,a)},useInsertionEffect:function(e,t){return Ce="useInsertionEffect",Ge(),sa(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",Ge(),sa(4,al,e,t)},useMemo:function(e,t){Ce="useMemo",Ge();var a=xe.H;xe.H=hu;try{return ku(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",Ge();var i=xe.H;xe.H=hu;try{return Jl(e,t,a)}finally{xe.H=i}},useRef:function(){return Ce="useRef",Ge(),kt().memoizedState},useState:function(){Ce="useState",Ge();var e=xe.H;xe.H=hu;try{return Jl($t)}finally{xe.H=e}},useDebugValue:function(){Ce="useDebugValue",Ge()},useDeferredValue:function(e,t){return Ce="useDeferredValue",Ge(),df(e,t)},useTransition:function(){return Ce="useTransition",Ge(),ap()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",Ge(),rf(e,t,a)},useId:function(){return Ce="useId",Ge(),kt().memoizedState},useFormState:function(e){return Ce="useFormState",Ge(),Rc(),Kd(e)},useActionState:function(e){return Ce="useActionState",Ge(),Kd(e)},useOptimistic:function(e,t){return Ce="useOptimistic",Ge(),Ki(e,t)},useHostTransitionStatus:dl,useMemoCache:Kn,useCacheRefresh:function(){return Ce="useCacheRefresh",Ge(),kt().memoizedState}},M_={readContext:function(e){return gn(e)},use:Ir,useCallback:function(e,t){return Ce="useCallback",Ge(),qo(e,t)},useContext:function(e){return Ce="useContext",Ge(),gn(e)},useEffect:function(e,t){Ce="useEffect",Ge(),sa(2048,Ra,e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",Ge(),ei(e,t,a)},useInsertionEffect:function(e,t){return Ce="useInsertionEffect",Ge(),sa(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",Ge(),sa(4,al,e,t)},useMemo:function(e,t){Ce="useMemo",Ge();var a=xe.H;xe.H=ab;try{return ku(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",Ge();var i=xe.H;xe.H=ab;try{return Ro(e,t,a)}finally{xe.H=i}},useRef:function(){return Ce="useRef",Ge(),kt().memoizedState},useState:function(){Ce="useState",Ge();var e=xe.H;xe.H=ab;try{return Ro($t)}finally{xe.H=e}},useDebugValue:function(){Ce="useDebugValue",Ge()},useDeferredValue:function(e,t){return Ce="useDeferredValue",Ge(),tp(e,t)},useTransition:function(){return Ce="useTransition",Ge(),lp()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",Ge(),rf(e,t,a)},useId:function(){return Ce="useId",Ge(),kt().memoizedState},useFormState:function(e){return Ce="useFormState",Ge(),Rc(),Bc(e)},useActionState:function(e){return Ce="useActionState",Ge(),Bc(e)},useOptimistic:function(e,t){return Ce="useOptimistic",Ge(),Zd(e,t)},useHostTransitionStatus:dl,useMemoCache:Kn,useCacheRefresh:function(){return Ce="useCacheRefresh",Ge(),kt().memoizedState}},uo={readContext:function(e){return y(),gn(e)},use:function(e){return S(),Ir(e)},useCallback:function(e,t){return Ce="useCallback",S(),wt(),ff(e,t)},useContext:function(e){return Ce="useContext",S(),wt(),gn(e)},useEffect:function(e,t){return Ce="useEffect",S(),wt(),Jd(e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",S(),wt(),Wd(e,t,a)},useInsertionEffect:function(e,t){Ce="useInsertionEffect",S(),wt(),Wl(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",S(),wt(),Id(e,t)},useMemo:function(e,t){Ce="useMemo",S(),wt();var a=xe.H;xe.H=uo;try{return Fd(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",S(),wt();var i=xe.H;xe.H=uo;try{return Vt(e,t,a)}finally{xe.H=i}},useRef:function(e){return Ce="useRef",S(),wt(),sf(e)},useState:function(e){Ce="useState",S(),wt();var t=xe.H;xe.H=uo;try{return Zi(e)}finally{xe.H=t}},useDebugValue:function(){Ce="useDebugValue",S(),wt()},useDeferredValue:function(e,t){return Ce="useDeferredValue",S(),wt(),ep(e,t)},useTransition:function(){return Ce="useTransition",S(),wt(),ti()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",S(),wt(),Qi(e,t,a)},useId:function(){return Ce="useId",S(),wt(),ni()},useFormState:function(e,t){return Ce="useFormState",S(),wt(),Lc(e,t)},useActionState:function(e,t){return Ce="useActionState",S(),wt(),Lc(e,t)},useOptimistic:function(e){return Ce="useOptimistic",S(),wt(),Cr(e)},useMemoCache:function(e){return S(),Kn(e)},useHostTransitionStatus:dl,useCacheRefresh:function(){return Ce="useCacheRefresh",wt(),Uo()}},hu={readContext:function(e){return y(),gn(e)},use:function(e){return S(),Ir(e)},useCallback:function(e,t){return Ce="useCallback",S(),Ge(),qo(e,t)},useContext:function(e){return Ce="useContext",S(),Ge(),gn(e)},useEffect:function(e,t){Ce="useEffect",S(),Ge(),sa(2048,Ra,e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",S(),Ge(),ei(e,t,a)},useInsertionEffect:function(e,t){return Ce="useInsertionEffect",S(),Ge(),sa(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",S(),Ge(),sa(4,al,e,t)},useMemo:function(e,t){Ce="useMemo",S(),Ge();var a=xe.H;xe.H=hu;try{return ku(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",S(),Ge();var i=xe.H;xe.H=hu;try{return Jl(e,t,a)}finally{xe.H=i}},useRef:function(){return Ce="useRef",S(),Ge(),kt().memoizedState},useState:function(){Ce="useState",S(),Ge();var e=xe.H;xe.H=hu;try{return Jl($t)}finally{xe.H=e}},useDebugValue:function(){Ce="useDebugValue",S(),Ge()},useDeferredValue:function(e,t){return Ce="useDeferredValue",S(),Ge(),df(e,t)},useTransition:function(){return Ce="useTransition",S(),Ge(),ap()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",S(),Ge(),rf(e,t,a)},useId:function(){return Ce="useId",S(),Ge(),kt().memoizedState},useFormState:function(e){return Ce="useFormState",S(),Ge(),Kd(e)},useActionState:function(e){return Ce="useActionState",S(),Ge(),Kd(e)},useOptimistic:function(e,t){return Ce="useOptimistic",S(),Ge(),Ki(e,t)},useMemoCache:function(e){return S(),Kn(e)},useHostTransitionStatus:dl,useCacheRefresh:function(){return Ce="useCacheRefresh",Ge(),kt().memoizedState}},ab={readContext:function(e){return y(),gn(e)},use:function(e){return S(),Ir(e)},useCallback:function(e,t){return Ce="useCallback",S(),Ge(),qo(e,t)},useContext:function(e){return Ce="useContext",S(),Ge(),gn(e)},useEffect:function(e,t){Ce="useEffect",S(),Ge(),sa(2048,Ra,e,t)},useImperativeHandle:function(e,t,a){return Ce="useImperativeHandle",S(),Ge(),ei(e,t,a)},useInsertionEffect:function(e,t){return Ce="useInsertionEffect",S(),Ge(),sa(4,Bl,e,t)},useLayoutEffect:function(e,t){return Ce="useLayoutEffect",S(),Ge(),sa(4,al,e,t)},useMemo:function(e,t){Ce="useMemo",S(),Ge();var a=xe.H;xe.H=hu;try{return ku(e,t)}finally{xe.H=a}},useReducer:function(e,t,a){Ce="useReducer",S(),Ge();var i=xe.H;xe.H=hu;try{return Ro(e,t,a)}finally{xe.H=i}},useRef:function(){return Ce="useRef",S(),Ge(),kt().memoizedState},useState:function(){Ce="useState",S(),Ge();var e=xe.H;xe.H=hu;try{return Ro($t)}finally{xe.H=e}},useDebugValue:function(){Ce="useDebugValue",S(),Ge()},useDeferredValue:function(e,t){return Ce="useDeferredValue",S(),Ge(),tp(e,t)},useTransition:function(){return Ce="useTransition",S(),Ge(),lp()},useSyncExternalStore:function(e,t,a){return Ce="useSyncExternalStore",S(),Ge(),rf(e,t,a)},useId:function(){return Ce="useId",S(),Ge(),kt().memoizedState},useFormState:function(e){return Ce="useFormState",S(),Ge(),Bc(e)},useActionState:function(e){return Ce="useActionState",S(),Ge(),Bc(e)},useOptimistic:function(e,t){return Ce="useOptimistic",S(),Ge(),Zd(e,t)},useMemoCache:function(e){return S(),Kn(e)},useHostTransitionStatus:dl,useCacheRefresh:function(){return Ce="useCacheRefresh",Ge(),kt().memoizedState}};var z_={react_stack_bottom_frame:function(e,t,a){var i=El;El=!0;try{return e(t,a)}finally{El=i}}},IE=z_.react_stack_bottom_frame.bind(z_),N_={react_stack_bottom_frame:function(e){var t=El;El=!0;try{return e.render()}finally{El=t}}},R_=N_.react_stack_bottom_frame.bind(N_),q_={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){ht(e,e.return,a)}}},WE=q_.react_stack_bottom_frame.bind(q_),H_={react_stack_bottom_frame:function(e,t,a,i,c){try{t.componentDidUpdate(a,i,c)}catch(h){ht(e,e.return,h)}}},U_=H_.react_stack_bottom_frame.bind(H_),j_={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},h3=j_.react_stack_bottom_frame.bind(j_),k_={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){ht(e,t,i)}}},L_=k_.react_stack_bottom_frame.bind(k_),B_={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}},m3=B_.react_stack_bottom_frame.bind(B_),V_={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){ht(e,t,i)}}},v3=V_.react_stack_bottom_frame.bind(V_),Y_={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},Os=Y_.react_stack_bottom_frame.bind(Y_),Nh=null,wy=0,Mt=null,FE,$_=FE=!1,G_={},X_={},P_={};g=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._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.");a._store.validated=1;var i=W(e),c=i||"null";if(!G_[c]){G_[c]=!0,a=a._owner,e=e._debugOwner;var h="";e&&typeof e.tag=="number"&&(c=W(e))&&(h=`
|
|
260
|
+
Learn more about this warning here: https://react.dev/link/legacy-context`,i)})}})},ti.discardPendingWarnings=function(){Gy=[],Yy=[],Ly=[],Xy=[],ky=[],Qy=[],wg=new Map};var Zy=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`."),qb=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."),_g=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."),Fv={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.')}},$y=null,Bg=!1,Su=0,Tu=1,Qa=2,pa=4,Zl=8,wb=0,_b=1,Bb=2,Iv=3,as=!1,jb=!1,Pv=null,e0=!1,nh=we(null),jg=we(0),uh,Vb=new Set,Gb=new Set,t0=new Set,Yb=new Set,ns=0,it=null,Qt=null,Nl=null,Vg=!1,ih=!1,Yr=!1,Gg=0,Jy=0,Zc=null,ET=0,xT=25,k=null,Eu=null,$c=-1,Ky=!1,Yg={readContext:Zt,use:Qn,useCallback:ll,useContext:ll,useEffect:ll,useImperativeHandle:ll,useLayoutEffect:ll,useInsertionEffect:ll,useMemo:ll,useReducer:ll,useRef:ll,useState:ll,useDebugValue:ll,useDeferredValue:ll,useTransition:ll,useSyncExternalStore:ll,useId:ll,useHostTransitionStatus:ll,useFormState:ll,useActionState:ll,useOptimistic:ll,useMemoCache:ll,useCacheRefresh:ll},l0=null,Lb=null,a0=null,Xb=null,Zi=null,li=null,Lg=null;l0={readContext:function(e){return Zt(e)},use:Qn,useCallback:function(e,t){return k="useCallback",ht(),en(t),Ys(e,t)},useContext:function(e){return k="useContext",ht(),Zt(e)},useEffect:function(e,t){return k="useEffect",ht(),en(t),Df(e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",ht(),en(a),Of(e,t,a)},useInsertionEffect:function(e,t){k="useInsertionEffect",ht(),en(t),nn(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",ht(),en(t),zf(e,t)},useMemo:function(e,t){k="useMemo",ht(),en(t);var a=L.H;L.H=Zi;try{return Mf(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",ht();var i=L.H;L.H=Zi;try{return Mt(e,t,a)}finally{L.H=i}},useRef:function(e){return k="useRef",ht(),Gs(e)},useState:function(e){k="useState",ht();var t=L.H;L.H=Zi;try{return _u(e)}finally{L.H=t}},useDebugValue:function(){k="useDebugValue",ht()},useDeferredValue:function(e,t){return k="useDeferredValue",ht(),Rf(e,t)},useTransition:function(){return k="useTransition",ht(),Kn()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",ht(),wu(e,t,a)},useId:function(){return k="useId",ht(),Wn()},useFormState:function(e,t){return k="useFormState",ht(),po(),So(e,t)},useActionState:function(e,t){return k="useActionState",ht(),So(e,t)},useOptimistic:function(e){return k="useOptimistic",ht(),zn(e)},useHostTransitionStatus:Ta,useMemoCache:hl,useCacheRefresh:function(){return k="useCacheRefresh",ht(),gc()}},Lb={readContext:function(e){return Zt(e)},use:Qn,useCallback:function(e,t){return k="useCallback",me(),Ys(e,t)},useContext:function(e){return k="useContext",me(),Zt(e)},useEffect:function(e,t){return k="useEffect",me(),Df(e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",me(),Of(e,t,a)},useInsertionEffect:function(e,t){k="useInsertionEffect",me(),nn(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",me(),zf(e,t)},useMemo:function(e,t){k="useMemo",me();var a=L.H;L.H=Zi;try{return Mf(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",me();var i=L.H;L.H=Zi;try{return Mt(e,t,a)}finally{L.H=i}},useRef:function(e){return k="useRef",me(),Gs(e)},useState:function(e){k="useState",me();var t=L.H;L.H=Zi;try{return _u(e)}finally{L.H=t}},useDebugValue:function(){k="useDebugValue",me()},useDeferredValue:function(e,t){return k="useDeferredValue",me(),Rf(e,t)},useTransition:function(){return k="useTransition",me(),Kn()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",me(),wu(e,t,a)},useId:function(){return k="useId",me(),Wn()},useActionState:function(e,t){return k="useActionState",me(),So(e,t)},useFormState:function(e,t){return k="useFormState",me(),po(),So(e,t)},useOptimistic:function(e){return k="useOptimistic",me(),zn(e)},useHostTransitionStatus:Ta,useMemoCache:hl,useCacheRefresh:function(){return k="useCacheRefresh",me(),gc()}},a0={readContext:function(e){return Zt(e)},use:Qn,useCallback:function(e,t){return k="useCallback",me(),yc(e,t)},useContext:function(e){return k="useContext",me(),Zt(e)},useEffect:function(e,t){k="useEffect",me(),Tl(2048,Zl,e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",me(),Jn(e,t,a)},useInsertionEffect:function(e,t){return k="useInsertionEffect",me(),Tl(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",me(),Tl(4,pa,e,t)},useMemo:function(e,t){k="useMemo",me();var a=L.H;L.H=li;try{return xi(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",me();var i=L.H;L.H=li;try{return ln(e,t,a)}finally{L.H=i}},useRef:function(){return k="useRef",me(),At().memoizedState},useState:function(){k="useState",me();var e=L.H;L.H=li;try{return ln(Ct)}finally{L.H=e}},useDebugValue:function(){k="useDebugValue",me()},useDeferredValue:function(e,t){return k="useDeferredValue",me(),Ls(e,t)},useTransition:function(){return k="useTransition",me(),Hf()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",me(),_s(e,t,a)},useId:function(){return k="useId",me(),At().memoizedState},useFormState:function(e){return k="useFormState",me(),po(),Af(e)},useActionState:function(e){return k="useActionState",me(),Af(e)},useOptimistic:function(e,t){return k="useOptimistic",me(),Bu(e,t)},useHostTransitionStatus:Ta,useMemoCache:hl,useCacheRefresh:function(){return k="useCacheRefresh",me(),At().memoizedState}},Xb={readContext:function(e){return Zt(e)},use:Qn,useCallback:function(e,t){return k="useCallback",me(),yc(e,t)},useContext:function(e){return k="useContext",me(),Zt(e)},useEffect:function(e,t){k="useEffect",me(),Tl(2048,Zl,e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",me(),Jn(e,t,a)},useInsertionEffect:function(e,t){return k="useInsertionEffect",me(),Tl(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",me(),Tl(4,pa,e,t)},useMemo:function(e,t){k="useMemo",me();var a=L.H;L.H=Lg;try{return xi(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",me();var i=L.H;L.H=Lg;try{return pc(e,t,a)}finally{L.H=i}},useRef:function(){return k="useRef",me(),At().memoizedState},useState:function(){k="useState",me();var e=L.H;L.H=Lg;try{return pc(Ct)}finally{L.H=e}},useDebugValue:function(){k="useDebugValue",me()},useDeferredValue:function(e,t){return k="useDeferredValue",me(),Cf(e,t)},useTransition:function(){return k="useTransition",me(),Nf()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",me(),_s(e,t,a)},useId:function(){return k="useId",me(),At().memoizedState},useFormState:function(e){return k="useFormState",me(),po(),To(e)},useActionState:function(e){return k="useActionState",me(),To(e)},useOptimistic:function(e,t){return k="useOptimistic",me(),xf(e,t)},useHostTransitionStatus:Ta,useMemoCache:hl,useCacheRefresh:function(){return k="useCacheRefresh",me(),At().memoizedState}},Zi={readContext:function(e){return m(),Zt(e)},use:function(e){return D(),Qn(e)},useCallback:function(e,t){return k="useCallback",D(),ht(),Ys(e,t)},useContext:function(e){return k="useContext",D(),ht(),Zt(e)},useEffect:function(e,t){return k="useEffect",D(),ht(),Df(e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",D(),ht(),Of(e,t,a)},useInsertionEffect:function(e,t){k="useInsertionEffect",D(),ht(),nn(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",D(),ht(),zf(e,t)},useMemo:function(e,t){k="useMemo",D(),ht();var a=L.H;L.H=Zi;try{return Mf(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",D(),ht();var i=L.H;L.H=Zi;try{return Mt(e,t,a)}finally{L.H=i}},useRef:function(e){return k="useRef",D(),ht(),Gs(e)},useState:function(e){k="useState",D(),ht();var t=L.H;L.H=Zi;try{return _u(e)}finally{L.H=t}},useDebugValue:function(){k="useDebugValue",D(),ht()},useDeferredValue:function(e,t){return k="useDeferredValue",D(),ht(),Rf(e,t)},useTransition:function(){return k="useTransition",D(),ht(),Kn()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",D(),ht(),wu(e,t,a)},useId:function(){return k="useId",D(),ht(),Wn()},useFormState:function(e,t){return k="useFormState",D(),ht(),So(e,t)},useActionState:function(e,t){return k="useActionState",D(),ht(),So(e,t)},useOptimistic:function(e){return k="useOptimistic",D(),ht(),zn(e)},useMemoCache:function(e){return D(),hl(e)},useHostTransitionStatus:Ta,useCacheRefresh:function(){return k="useCacheRefresh",ht(),gc()}},li={readContext:function(e){return m(),Zt(e)},use:function(e){return D(),Qn(e)},useCallback:function(e,t){return k="useCallback",D(),me(),yc(e,t)},useContext:function(e){return k="useContext",D(),me(),Zt(e)},useEffect:function(e,t){k="useEffect",D(),me(),Tl(2048,Zl,e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",D(),me(),Jn(e,t,a)},useInsertionEffect:function(e,t){return k="useInsertionEffect",D(),me(),Tl(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",D(),me(),Tl(4,pa,e,t)},useMemo:function(e,t){k="useMemo",D(),me();var a=L.H;L.H=li;try{return xi(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",D(),me();var i=L.H;L.H=li;try{return ln(e,t,a)}finally{L.H=i}},useRef:function(){return k="useRef",D(),me(),At().memoizedState},useState:function(){k="useState",D(),me();var e=L.H;L.H=li;try{return ln(Ct)}finally{L.H=e}},useDebugValue:function(){k="useDebugValue",D(),me()},useDeferredValue:function(e,t){return k="useDeferredValue",D(),me(),Ls(e,t)},useTransition:function(){return k="useTransition",D(),me(),Hf()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",D(),me(),_s(e,t,a)},useId:function(){return k="useId",D(),me(),At().memoizedState},useFormState:function(e){return k="useFormState",D(),me(),Af(e)},useActionState:function(e){return k="useActionState",D(),me(),Af(e)},useOptimistic:function(e,t){return k="useOptimistic",D(),me(),Bu(e,t)},useMemoCache:function(e){return D(),hl(e)},useHostTransitionStatus:Ta,useCacheRefresh:function(){return k="useCacheRefresh",me(),At().memoizedState}},Lg={readContext:function(e){return m(),Zt(e)},use:function(e){return D(),Qn(e)},useCallback:function(e,t){return k="useCallback",D(),me(),yc(e,t)},useContext:function(e){return k="useContext",D(),me(),Zt(e)},useEffect:function(e,t){k="useEffect",D(),me(),Tl(2048,Zl,e,t)},useImperativeHandle:function(e,t,a){return k="useImperativeHandle",D(),me(),Jn(e,t,a)},useInsertionEffect:function(e,t){return k="useInsertionEffect",D(),me(),Tl(4,Qa,e,t)},useLayoutEffect:function(e,t){return k="useLayoutEffect",D(),me(),Tl(4,pa,e,t)},useMemo:function(e,t){k="useMemo",D(),me();var a=L.H;L.H=li;try{return xi(e,t)}finally{L.H=a}},useReducer:function(e,t,a){k="useReducer",D(),me();var i=L.H;L.H=li;try{return pc(e,t,a)}finally{L.H=i}},useRef:function(){return k="useRef",D(),me(),At().memoizedState},useState:function(){k="useState",D(),me();var e=L.H;L.H=li;try{return pc(Ct)}finally{L.H=e}},useDebugValue:function(){k="useDebugValue",D(),me()},useDeferredValue:function(e,t){return k="useDeferredValue",D(),me(),Cf(e,t)},useTransition:function(){return k="useTransition",D(),me(),Nf()},useSyncExternalStore:function(e,t,a){return k="useSyncExternalStore",D(),me(),_s(e,t,a)},useId:function(){return k="useId",D(),me(),At().memoizedState},useFormState:function(e){return k="useFormState",D(),me(),To(e)},useActionState:function(e){return k="useActionState",D(),me(),To(e)},useOptimistic:function(e,t){return k="useOptimistic",D(),me(),xf(e,t)},useMemoCache:function(e){return D(),hl(e)},useHostTransitionStatus:Ta,useCacheRefresh:function(){return k="useCacheRefresh",me(),At().memoizedState}};var kb={react_stack_bottom_frame:function(e,t,a){var i=Ca;Ca=!0;try{return e(t,a)}finally{Ca=i}}},n0=kb.react_stack_bottom_frame.bind(kb),Qb={react_stack_bottom_frame:function(e){var t=Ca;Ca=!0;try{return e.render()}finally{Ca=t}}},Zb=Qb.react_stack_bottom_frame.bind(Qb),$b={react_stack_bottom_frame:function(e,t){try{t.componentDidMount()}catch(a){Ke(e,e.return,a)}}},u0=$b.react_stack_bottom_frame.bind($b),Jb={react_stack_bottom_frame:function(e,t,a,i,o){try{t.componentDidUpdate(a,i,o)}catch(s){Ke(e,e.return,s)}}},Kb=Jb.react_stack_bottom_frame.bind(Jb),Wb={react_stack_bottom_frame:function(e,t){var a=t.stack;e.componentDidCatch(t.value,{componentStack:a!==null?a:""})}},AT=Wb.react_stack_bottom_frame.bind(Wb),Fb={react_stack_bottom_frame:function(e,t,a){try{a.componentWillUnmount()}catch(i){Ke(e,t,i)}}},Ib=Fb.react_stack_bottom_frame.bind(Fb),Pb={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}},DT=Pb.react_stack_bottom_frame.bind(Pb),e1={react_stack_bottom_frame:function(e,t,a){try{a()}catch(i){Ke(e,t,i)}}},zT=e1.react_stack_bottom_frame.bind(e1),t1={react_stack_bottom_frame:function(e){var t=e._init;return t(e._payload)}},us=t1.react_stack_bottom_frame.bind(t1),ch=null,Wy=0,yt=null,i0,l1=i0=!1,a1={},n1={},u1={};pe=function(e,t,a){if(a!==null&&typeof a=="object"&&a._store&&(!a._store.validated&&a.key==null||a._store.validated===2)){if(typeof a._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.");a._store.validated=1;var i=ce(e),o=i||"null";if(!a1[o]){a1[o]=!0,a=a._owner,e=e._debugOwner;var s="";e&&typeof e.tag=="number"&&(o=ce(e))&&(s=`
|
|
296
261
|
|
|
297
|
-
Check the render method of \``+
|
|
262
|
+
Check the render method of \``+o+"`."),s||i&&(s=`
|
|
298
263
|
|
|
299
|
-
Check the top-level render call using <`+i+">.");var E="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=W(a):typeof a.name=="string"&&(i=a.name),i&&(E=" It was passed a child from "+i+".")),Je(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.',h,E)})}}};var Rh=vf(!0),Q_=vf(!1),Di=me(null),oo=null,qh=1,Dy=2,qa=me(0),Z_={},K_=new Set,J_=new Set,I_=new Set,W_=new Set,F_=new Set,eA=new Set,tA=new Set,nA=new Set,aA=new Set,lA=new Set;Object.freeze(Z_);var eT={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=ml(e),c=Kr(i);c.payload=t,a!=null&&(Xm(a),c.callback=a),t=Tr(e,c,i),t!==null&&(Bn(t,e,i),Ru(t,e,i)),ye(e,i)},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=ml(e),c=Kr(i);c.tag=x_,c.payload=t,a!=null&&(Xm(a),c.callback=a),t=Tr(e,c,i),t!==null&&(Bn(t,e,i),Ru(t,e,i)),ye(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=ml(e),i=Kr(a);i.tag=O_,t!=null&&(Xm(t),i.callback=t),t=Tr(e,i,a),t!==null&&(Bn(t,e,a),Ru(t,e,a)),tt!==null&&typeof tt.markForceUpdateScheduled=="function"&&tt.markForceUpdateScheduled(e,a)}},tT=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)},Hh=null,nT=null,rA=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."),Xa=!1,iA={},uA={},oA={},cA={},Uh=!1,sA={},aT={},lT={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},fA=!1,dA=null;dA=new Set;var pc=!1,pa=!1,rT=!1,pA=typeof WeakSet=="function"?WeakSet:Set,Pa=null,jh=null,kh=null,Ta=null,or=!1,mu=null,My=8192,y3={getCacheForType:function(e){var t=gn(Na),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},getOwner:function(){return jl}};if(typeof Symbol=="function"&&Symbol.for){var zy=Symbol.for;zy("selector.component"),zy("selector.has_pseudo_class"),zy("selector.role"),zy("selector.test_id"),zy("selector.text")}var g3=[],b3=typeof WeakMap=="function"?WeakMap:Map,Nr=0,Vl=2,vu=4,hc=0,Ny=1,Lh=2,iT=3,dd=4,lb=6,hA=5,Ft=Nr,bn=null,qt=null,Ht=0,cr=0,Ry=1,pd=2,qy=3,mA=4,uT=5,Bh=6,Hy=7,oT=8,hd=9,un=cr,Rr=null,Cs=!1,Vh=!1,cT=!1,co=0,ea=hc,_s=0,As=0,sT=0,qr=0,md=0,Uy=null,Yl=null,rb=!1,fT=0,vA=300,ib=1/0,yA=500,jy=null,ws=null,S3=0,E3=1,T3=2,vd=0,gA=1,bA=2,SA=3,x3=4,dT=5,ll=0,Ds=null,Yh=null,Ms=0,pT=0,hT=null,EA=null,O3=50,ky=0,mT=null,vT=!1,ub=!1,C3=50,yd=0,Ly=null,$h=!1,ob=null,TA=!1,xA=new Set,_3={},cb=null,Gh=null,yT=!1,gT=!1,sb=!1,bT=!1,gd=0,ST={};(function(){for(var e=0;e<jE.length;e++){var t=jE[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),yr(a,"on"+t)}yr(u_,"onAnimationEnd"),yr(o_,"onAnimationIteration"),yr(c_,"onAnimationStart"),yr("dblclick","onDoubleClick"),yr("focusin","onFocus"),yr("focusout","onBlur"),yr(a3,"onTransitionRun"),yr(l3,"onTransitionStart"),yr(r3,"onTransitionCancel"),yr(s_,"onTransitionEnd")})(),Ua("onMouseEnter",["mouseout","mouseover"]),Ua("onMouseLeave",["mouseout","mouseover"]),Ua("onPointerEnter",["pointerout","pointerover"]),Ua("onPointerLeave",["pointerout","pointerover"]),dn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),dn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),dn("onBeforeInput",["compositionend","keypress","textInput","paste"]),dn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),dn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),dn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var By="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(" "),ET=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(By)),fb="_reactListening"+Math.random().toString(36).slice(2),OA=!1,CA=!1,db=!1,_A=!1,pb=!1,hb=!1,AA=!1,mb={},A3=/\r\n?/g,w3=/\u0000|\uFFFD/g,bd="http://www.w3.org/1999/xlink",TT="http://www.w3.org/XML/1998/namespace",D3="javascript:throw new Error('React form unexpectedly submitted.')",M3="suppressHydrationWarning",vb="$",yb="/$",mc="$?",Vy="$!",z3=1,N3=2,R3=4,xT="F!",wA="F",DA="complete",q3="style",vc=0,Xh=1,gb=2,OT=null,CT=null,MA={dialog:!0,webview:!0},_T=null,zA=typeof setTimeout=="function"?setTimeout:void 0,H3=typeof clearTimeout=="function"?clearTimeout:void 0,Sd=-1,NA=typeof Promise=="function"?Promise:void 0,U3=typeof queueMicrotask=="function"?queueMicrotask:typeof NA<"u"?function(e){return NA.resolve(null).then(e).catch(zv)}:zA,AT=null,Ed=0,Yy=1,RA=2,qA=3,Mi=4,zi=new Map,HA=new Set,yc=vt.d;vt.d={f:function(){var e=yc.f(),t=Po();return e||t},r:function(e){var t=yn(e);t!==null&&t.tag===5&&t.type==="form"?Ym(t):yc.r(e)},D:function(e){yc.D(e),E0("dns-prefetch",e,null)},C:function(e,t){yc.C(e,t),E0("preconnect",e,t)},L:function(e,t,a){yc.L(e,t,a);var i=Ph;if(i&&e&&t){var c='link[rel="preload"][as="'+ua(t)+'"]';t==="image"&&a&&a.imageSrcSet?(c+='[imagesrcset="'+ua(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(c+='[imagesizes="'+ua(a.imageSizes)+'"]')):c+='[href="'+ua(e)+'"]';var h=c;switch(t){case"style":h=Zu(e);break;case"script":h=Fo(e)}zi.has(h)||(e=At({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),zi.set(h,e),i.querySelector(c)!==null||t==="style"&&i.querySelector(vi(h))||t==="script"&&i.querySelector(ec(h))||(t=i.createElement("link"),Yn(t,"link",e),Ut(t),i.head.appendChild(t)))}},m:function(e,t){yc.m(e,t);var a=Ph;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",c='link[rel="modulepreload"][as="'+ua(i)+'"][href="'+ua(e)+'"]',h=c;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":h=Fo(e)}if(!zi.has(h)&&(e=At({rel:"modulepreload",href:e},t),zi.set(h,e),a.querySelector(c)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ec(h)))return}i=a.createElement("link"),Yn(i,"link",e),Ut(i),a.head.appendChild(i)}}},X:function(e,t){yc.X(e,t);var a=Ph;if(a&&e){var i=Un(a).hoistableScripts,c=Fo(e),h=i.get(c);h||(h=a.querySelector(ec(c)),h||(e=At({src:e,async:!0},t),(t=zi.get(c))&&Lv(e,t),h=a.createElement("script"),Ut(h),Yn(h,"link",e),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},i.set(c,h))}},S:function(e,t,a){yc.S(e,t,a);var i=Ph;if(i&&e){var c=Un(i).hoistableStyles,h=Zu(e);t=t||"default";var E=c.get(h);if(!E){var x={loading:Ed,preload:null};if(E=i.querySelector(vi(h)))x.loading=Yy|Mi;else{e=At({rel:"stylesheet",href:e,"data-precedence":t},a),(a=zi.get(h))&&kv(e,a);var N=E=i.createElement("link");Ut(N),Yn(N,"link",e),N._p=new Promise(function(j,Se){N.onload=j,N.onerror=Se}),N.addEventListener("load",function(){x.loading|=Yy}),N.addEventListener("error",function(){x.loading|=RA}),x.loading|=Mi,Kp(E,t,i)}E={type:"stylesheet",instance:E,count:1,state:x},c.set(h,E)}}},M:function(e,t){yc.M(e,t);var a=Ph;if(a&&e){var i=Un(a).hoistableScripts,c=Fo(e),h=i.get(c);h||(h=a.querySelector(ec(c)),h||(e=At({src:e,async:!0,type:"module"},t),(t=zi.get(c))&&Lv(e,t),h=a.createElement("script"),Ut(h),Yn(h,"link",e),a.head.appendChild(h)),h={type:"script",instance:h,count:1,state:null},i.set(c,h))}}};var Ph=typeof document>"u"?null:document,bb=null,$y=null,wT=null,Sb=null,Td=_E,Gy={$$typeof:lr,Provider:null,Consumer:null,_currentValue:Td,_currentValue2:Td,_threadCount:0},UA="%c%s%c ",jA="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",kA="",Eb=" ",j3=Function.prototype.bind,LA=!1,BA=null,VA=null,YA=null,$A=null,GA=null,XA=null,PA=null,QA=null,ZA=null;BA=function(e,t,a,i){t=u(e,t),t!==null&&(a=f(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=At({},e.memoizedProps),a=ol(e,2),a!==null&&Bn(a,e,2))},VA=function(e,t,a){t=u(e,t),t!==null&&(a=p(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=At({},e.memoizedProps),a=ol(e,2),a!==null&&Bn(a,e,2))},YA=function(e,t,a,i){t=u(e,t),t!==null&&(a=d(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=At({},e.memoizedProps),a=ol(e,2),a!==null&&Bn(a,e,2))},$A=function(e,t,a){e.pendingProps=f(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ol(e,2),t!==null&&Bn(t,e,2)},GA=function(e,t){e.pendingProps=p(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ol(e,2),t!==null&&Bn(t,e,2)},XA=function(e,t,a){e.pendingProps=d(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ol(e,2),t!==null&&Bn(t,e,2)},PA=function(e){var t=ol(e,2);t!==null&&Bn(t,e,2)},QA=function(e){T=e},ZA=function(e){b=e};var Tb=!0,xb=null,DT=!1,zs=null,Ns=null,Rs=null,Xy=new Map,Py=new Map,qs=[],k3="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(" "),Ob=null;if($f.prototype.render=th.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[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()."):A(a[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 a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,c=ml(i);Wt(i,c,a,t,null,null)},$f.prototype.unmount=th.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;(Ft&(Vl|vu))!==Nr&&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."),Wt(e.current,2,null,e,null,null),Po(),t[no]=null}},$f.prototype.unstable_scheduleHydration=function(e){if(e){var t=Jt();e={blockedOn:null,target:e,priority:t};for(var a=0;a<qs.length&&t!==0&&t<qs[a].priority;a++);qs.splice(a,0,e),a===0&&A0(e)}},function(){var e=Gf.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
264
|
+
Check the top-level render call using <`+i+">.");var d="";a!=null&&e!==a&&(i=null,typeof a.tag=="number"?i=ce(a):typeof a.name=="string"&&(i=a.name),i&&(d=" It was passed a child from "+i+".")),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.',s,d)})}}};var oh=Zs(!0),i1=Zs(!1),xu=we(null),$i=null,sh=1,Fy=2,$l=we(0),c1={},o1=new Set,s1=new Set,r1=new Set,f1=new Set,d1=new Set,h1=new Set,p1=new Set,y1=new Set,m1=new Set,g1=new Set;Object.freeze(c1);var c0={enqueueSetState:function(e,t,a){e=e._reactInternals;var i=Aa(e),o=Xn(i);o.payload=t,a!=null&&(hp(a),o.callback=a),t=xn(e,o,i),t!==null&&(cl(t,e,i),vi(t,e,i)),ue(e,i)},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var i=Aa(e),o=Xn(i);o.tag=_b,o.payload=t,a!=null&&(hp(a),o.callback=a),t=xn(e,o,i),t!==null&&(cl(t,e,i),vi(t,e,i)),ue(e,i)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Aa(e),i=Xn(a);i.tag=Bb,t!=null&&(hp(t),i.callback=t),t=xn(e,i,a),t!==null&&(cl(t,e,a),vi(t,e,a)),He!==null&&typeof He.markForceUpdateScheduled=="function"&&He.markForceUpdateScheduled(e,a)}},o0=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)},rh=null,s0=null,v1=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,b1={},S1={},T1={},E1={},fh=!1,x1={},r0={},f0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null},A1=!1,D1=null;D1=new Set;var Jc=!1,Al=!1,d0=!1,z1=typeof WeakSet=="function"?WeakSet:Set,na=null,dh=null,hh=null,ql=null,yn=!1,ai=null,Iy=8192,OT={getCacheForType:function(e){var t=Zt(Ql),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},getOwner:function(){return La}};if(typeof Symbol=="function"&&Symbol.for){var Py=Symbol.for;Py("selector.component"),Py("selector.has_pseudo_class"),Py("selector.role"),Py("selector.test_id"),Py("selector.text")}var MT=[],RT=typeof WeakMap=="function"?WeakMap:Map,Nn=0,Za=2,ni=4,Kc=0,em=1,ph=2,h0=3,Lr=4,Xg=6,O1=5,Gt=Nn,$t=null,bt=null,Et=0,mn=0,tm=1,Xr=2,lm=3,M1=4,p0=5,yh=6,am=7,y0=8,kr=9,Xt=mn,qn=null,is=!1,mh=!1,m0=!1,Ji=0,ml=Kc,cs=0,os=0,g0=0,wn=0,Qr=0,nm=null,$a=null,kg=!1,v0=0,R1=300,Qg=1/0,C1=500,um=null,ss=null,CT=0,UT=1,HT=2,Zr=0,U1=1,H1=2,N1=3,NT=4,b0=5,ya=0,rs=null,gh=null,fs=0,S0=0,T0=null,q1=null,qT=50,im=0,E0=null,x0=!1,Zg=!1,wT=50,$r=0,cm=null,vh=!1,$g=null,w1=!1,_1=new Set,_T={},Jg=null,bh=null,A0=!1,D0=!1,Kg=!1,z0=!1,Jr=0,O0={};(function(){for(var e=0;e<kv.length;e++){var t=kv[e],a=t.toLowerCase();t=t[0].toUpperCase()+t.slice(1),vn(a,"on"+t)}vn(Sb,"onAnimationEnd"),vn(Tb,"onAnimationIteration"),vn(Eb,"onAnimationStart"),vn("dblclick","onDoubleClick"),vn("focusin","onFocus"),vn("focusout","onBlur"),vn(hT,"onTransitionRun"),vn(pT,"onTransitionStart"),vn(yT,"onTransitionCancel"),vn(xb,"onTransitionEnd")})(),zu("onMouseEnter",["mouseout","mouseover"]),zu("onMouseLeave",["mouseout","mouseover"]),zu("onPointerEnter",["pointerout","pointerover"]),zu("onPointerLeave",["pointerout","pointerover"]),wl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wl("onBeforeInput",["compositionend","keypress","textInput","paste"]),wl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var om="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(" "),M0=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(om)),Wg="_reactListening"+Math.random().toString(36).slice(2),B1=!1,j1=!1,Fg=!1,V1=!1,Ig=!1,Pg=!1,G1=!1,ev={},BT=/\r\n?/g,jT=/\u0000|\uFFFD/g,Kr="http://www.w3.org/1999/xlink",R0="http://www.w3.org/XML/1998/namespace",VT="javascript:throw new Error('React form unexpectedly submitted.')",GT="suppressHydrationWarning",tv="$",lv="/$",Wc="$?",sm="$!",YT=1,LT=2,XT=4,C0="F!",Y1="F",L1="complete",kT="style",Fc=0,Sh=1,av=2,U0=null,H0=null,X1={dialog:!0,webview:!0},N0=null,k1=typeof setTimeout=="function"?setTimeout:void 0,QT=typeof clearTimeout=="function"?clearTimeout:void 0,Wr=-1,Q1=typeof Promise=="function"?Promise:void 0,ZT=typeof queueMicrotask=="function"?queueMicrotask:typeof Q1<"u"?function(e){return Q1.resolve(null).then(e).catch(Pp)}:k1,q0=null,Fr=0,rm=1,Z1=2,$1=3,Au=4,Du=new Map,J1=new Set,Ic=et.d;et.d={f:function(){var e=Ic.f(),t=Oc();return e||t},r:function(e){var t=zl(e);t!==null&&t.tag===5&&t.type==="form"?rp(t):Ic.r(e)},D:function(e){Ic.D(e),ig("dns-prefetch",e,null)},C:function(e,t){Ic.C(e,t),ig("preconnect",e,t)},L:function(e,t,a){Ic.L(e,t,a);var i=Th;if(i&&e&&t){var o='link[rel="preload"][as="'+Na(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+Na(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+Na(a.imageSizes)+'"]')):o+='[href="'+Na(e)+'"]';var s=o;switch(t){case"style":s=Ni(e);break;case"script":s=qc(e)}Du.has(s)||(e=dt({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Du.set(s,e),i.querySelector(o)!==null||t==="style"&&i.querySelector(ru(s))||t==="script"&&i.querySelector(wc(s))||(t=i.createElement("link"),sl(t,"link",e),tl(t),i.head.appendChild(t)))}},m:function(e,t){Ic.m(e,t);var a=Th;if(a&&e){var i=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+Na(i)+'"][href="'+Na(e)+'"]',s=o;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":s=qc(e)}if(!Du.has(s)&&(e=dt({rel:"modulepreload",href:e},t),Du.set(s,e),a.querySelector(o)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(wc(s)))return}i=a.createElement("link"),sl(i,"link",e),tl(i),a.head.appendChild(i)}}},X:function(e,t){Ic.X(e,t);var a=Th;if(a&&e){var i=Ha(a).hoistableScripts,o=qc(e),s=i.get(o);s||(s=a.querySelector(wc(o)),s||(e=dt({src:e,async:!0},t),(t=Du.get(o))&&cy(e,t),s=a.createElement("script"),tl(s),sl(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}},S:function(e,t,a){Ic.S(e,t,a);var i=Th;if(i&&e){var o=Ha(i).hoistableStyles,s=Ni(e);t=t||"default";var d=o.get(s);if(!d){var h={loading:Fr,preload:null};if(d=i.querySelector(ru(s)))h.loading=rm|Au;else{e=dt({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Du.get(s))&&iy(e,a);var g=d=i.createElement("link");tl(g),sl(g,"link",e),g._p=new Promise(function(b,B){g.onload=b,g.onerror=B}),g.addEventListener("load",function(){h.loading|=rm}),g.addEventListener("error",function(){h.loading|=Z1}),h.loading|=Au,Ad(d,t,i)}d={type:"stylesheet",instance:d,count:1,state:h},o.set(s,d)}}},M:function(e,t){Ic.M(e,t);var a=Th;if(a&&e){var i=Ha(a).hoistableScripts,o=qc(e),s=i.get(o);s||(s=a.querySelector(wc(o)),s||(e=dt({src:e,async:!0,type:"module"},t),(t=Du.get(o))&&cy(e,t),s=a.createElement("script"),tl(s),sl(s,"link",e),a.head.appendChild(s)),s={type:"script",instance:s,count:1,state:null},i.set(o,s))}}};var Th=typeof document>"u"?null:document,nv=null,fm=null,w0=null,uv=null,Ir=Nv,dm={$$typeof:fn,Provider:null,Consumer:null,_currentValue:Ir,_currentValue2:Ir,_threadCount:0},K1="%c%s%c ",W1="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",F1="",iv=" ",$T=Function.prototype.bind,I1=!1,P1=null,eS=null,tS=null,lS=null,aS=null,nS=null,uS=null,iS=null,cS=null;P1=function(e,t,a,i){t=v(e,t),t!==null&&(a=X(t.memoizedState,a,0,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&cl(a,e,2))},eS=function(e,t,a){t=v(e,t),t!==null&&(a=Z(t.memoizedState,a,0),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&cl(a,e,2))},tS=function(e,t,a,i){t=v(e,t),t!==null&&(a=G(t.memoizedState,a,i),t.memoizedState=a,t.baseState=a,e.memoizedProps=dt({},e.memoizedProps),a=ga(e,2),a!==null&&cl(a,e,2))},lS=function(e,t,a){e.pendingProps=X(e.memoizedProps,t,0,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&cl(t,e,2)},aS=function(e,t){e.pendingProps=Z(e.memoizedProps,t,0),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&cl(t,e,2)},nS=function(e,t,a){e.pendingProps=G(e.memoizedProps,t,a),e.alternate&&(e.alternate.pendingProps=e.pendingProps),t=ga(e,2),t!==null&&cl(t,e,2)},uS=function(e){var t=ga(e,2);t!==null&&cl(t,e,2)},iS=function(e){Ae=e},cS=function(e){re=e};var cv=!0,ov=null,_0=!1,ds=null,hs=null,ps=null,hm=new Map,pm=new Map,ys=[],JT="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(" "),sv=null;if(br.prototype.render=Cd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error("Cannot update an unmounted root.");var a=arguments;typeof a[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()."):$(a[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 a[1]<"u"&&console.error("You passed a second argument to root.render(...) but it only accepts one argument."),a=e;var i=t.current,o=Aa(i);Vt(i,o,a,t,null,null)},br.prototype.unmount=Cd.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&(Za|ni))!==Nn&&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),Oc(),t[Yi]=null}},br.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wt();e={blockedOn:null,target:e,priority:t};for(var a=0;a<ys.length&&t!==0&&t<ys[a].priority;a++);ys.splice(a,0,e),a===0&&dg(e)}},function(){var e=Sr.version;if(e!=="19.1.1")throw Error(`Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
|
|
300
265
|
- react: `+(e+`
|
|
301
266
|
- react-dom: 19.1.1
|
|
302
|
-
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"),
|
|
303
|
-
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}
|
|
267
|
+
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=se(t),e=e!==null?qe(e):null,e=e===null?null:e.stateNode,e},!function(){var e={bundleType:1,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:L,reconcilerVersion:"19.1.1"};return e.overrideHookState=P1,e.overrideHookStateDeletePath=eS,e.overrideHookStateRenamePath=tS,e.overrideProps=lS,e.overridePropsDeletePath=aS,e.overridePropsRenamePath=nS,e.scheduleUpdate=uS,e.setErrorHandler=iS,e.setSuspenseHandler=cS,e.scheduleRefresh=V,e.scheduleRoot=P,e.setRefreshHandler=ze,e.getCurrentFiber=Rv,e.getLaneLabelMap=Cv,e.injectProfilingHooks=Je,Pe(e)}()&&E&&window.top===window.self&&(-1<navigator.userAgent.indexOf("Chrome")&&navigator.userAgent.indexOf("Edge")===-1||-1<navigator.userAgent.indexOf("Firefox"))){var oS=window.location.protocol;/^(https?|file):$/.test(oS)&&console.info("%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools"+(oS==="file:"?`
|
|
268
|
+
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq`:""),"font-weight:bold")}zh.createRoot=function(e,t){if(!$(e))throw Error("Target container is not a DOM element.");yg(e);var a=!1,i="",o=pp,s=km,d=Bf,h=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===_i&&console.error(`You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:
|
|
304
269
|
|
|
305
270
|
let root = createRoot(domContainer);
|
|
306
|
-
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(c=t.onUncaughtError),t.onCaughtError!==void 0&&(h=t.onCaughtError),t.onRecoverableError!==void 0&&(E=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(x=t.unstable_transitionCallbacks)),t=Yv(e,1,!1,null,null,a,i,c,h,E,x,null),e[no]=t.current,Ov(e),new th(t)},pm.hydrateRoot=function(e,t,a){if(!A(e))throw Error("Target container is not a DOM element.");M0(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,c="",h=Pm,E=r0,x=op,N=null,j=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(h=a.onUncaughtError),a.onCaughtError!==void 0&&(E=a.onCaughtError),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(N=a.unstable_transitionCallbacks),a.formState!==void 0&&(j=a.formState)),t=Yv(e,1,!0,t,a??null,i,c,h,E,x,N,j),t.context=$v(null),a=t.current,i=ml(a),i=Xe(i),c=Kr(i),c.callback=null,Tr(a,c,i),a=i,t.current.lanes=a,Ze(t,a),tr(t),e[no]=t.current,Ov(e),new $f(t)},pm.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),pm}var X2;function bR(){if(X2)return Vg.exports;X2=1;function u(){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(u)}catch(f){console.error(f)}}}return process.env.NODE_ENV==="production"?(u(),Vg.exports=yR()):Vg.exports=gR(),Vg.exports}var SR=bR();function fE(u,f,d){if(!u.current)return;const s=new Set,p={};for(const w of f)w.exclusionGroup&&w.exclusionGroup!=="separator"&&(s.add(w.exclusionGroup),p[w.exclusionGroup]||(p[w.exclusionGroup]=[]),p[w.exclusionGroup].push({type:w.type,key:w.key,exclusionGroup:w.exclusionGroup}));const b={};for(const w of s){b[w]=!1;for(const q of p[w])if(q.type==="upload"&&q.key){if(d[q.key]!==null&&d[q.key]!==void 0){b[w]=!0;break}}else if(q.type==="variable"&&q.key){const U=u.current.querySelector(`[data-type="variable"][data-key="${q.key}"]`);if(U&&U.innerText.replace(/[\u200B\n]/g,"").trim().length>0){b[w]=!0;break}}}const T=f.some(w=>w.exclusionGroup==="separator"),S=Object.keys(b).filter(w=>b[w]).length>0;let y=null;if(S&&T){for(const w of f)if(w.exclusionGroup&&w.exclusionGroup!=="separator"&&b[w.exclusionGroup]){y=w.exclusionGroup;break}}for(const w of s){const q=u.current.querySelectorAll(`[data-group="${w}"]`);T&&S&&y?w===y?q.forEach(U=>{U.classList.contains("required-upload-group")?U.style.setProperty("display","inline-flex","important"):(U.classList.contains("exclusion-wrapper"),U.style.setProperty("display","inline-block","important"))}):q.forEach(U=>{U.style.display="none",U.style.setProperty("display","none","important")}):q.forEach(U=>{U.classList.contains("required-upload-group")?U.style.setProperty("display","inline-flex","important"):(U.classList.contains("exclusion-wrapper"),U.style.setProperty("display","inline-block","important"))})}u.current.querySelectorAll('[data-group="separator"]').forEach(w=>{w.style.display=S?"none":"inline"})}function dE(u,f,d,s){if(!u.current){s(!1);return}const p=[];for(let S=0;S<f.length;S++){const y=f[S];if((y.type==="variable"||y.type==="upload"||y.type==="multi-variable"||y.type==="select"||y.type==="textarea"||y.type==="richtext"||y.type==="datepicker")&&y.required&&y.key){p.push({exclusionGroup:y.exclusionGroup||"",key:y.key,type:y.type==="multi-variable"?"variable":y.type,isMultiVariable:y.type==="multi-variable",minCount:y.type==="multi-variable"?y.minCount:void 0});continue}if(y.type==="text"&&y.className?.includes("rte-text-required")&&y.exclusionGroup)for(let C=S+1;C<f.length;C++){const w=f[C];if(w.exclusionGroup===y.exclusionGroup&&(w.type==="variable"||w.type==="upload"||w.type==="select"||w.type==="textarea"||w.type==="richtext"||w.type==="datepicker")&&w.key){p.push({exclusionGroup:y.exclusionGroup,key:w.key,type:w.type});break}}}const b=f.some(S=>S.exclusionGroup==="separator");let T=!1;if(b&&p.length>1){const S=f.findIndex(w=>w.exclusionGroup==="separator"),y=p.filter(w=>f.findIndex(U=>(U.type==="variable"||U.type==="upload"||U.type==="select"||U.type==="textarea"||U.type==="richtext"||U.type==="datepicker")&&U.key===w.key&&U.exclusionGroup===w.exclusionGroup)<S),C=p.filter(w=>f.findIndex(U=>(U.type==="variable"||U.type==="upload"||U.type==="select"||U.type==="textarea"||U.type==="richtext")&&U.key===w.key&&U.exclusionGroup===w.exclusionGroup)>S);T=y.length>0&&C.length>0}if(p.length===0){if(f.length===0){if(!u.current){s(!1);return}const S=u.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";s(S.length>0);return}s(!0);return}const g=p.filter(S=>{if(!u.current)return!1;if(S.exclusionGroup){const y=u.current.querySelectorAll(`[data-group="${S.exclusionGroup}"]`);if(y.length>0)return y[0].style.display!=="none"}if(S.type==="upload"&&S.key){const y=u.current.querySelector(`[data-type="upload"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}else if(S.type==="variable"&&S.key)if(S.isMultiVariable){const y=u.current.querySelectorAll(`[data-type="variable"][data-multi-key="${S.key}"]`);if(y.length>0){const C=y[0],w=C.closest("[data-group]")||C.parentElement;return w?w.style.display!=="none":!0}}else{const y=u.current.querySelector(`[data-type="variable"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}else if(S.type==="select"&&S.key){const y=u.current.querySelector(`[data-type="select"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}else if(S.type==="textarea"&&S.key){const y=u.current.querySelector(`[data-type="textarea"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}else if(S.type==="richtext"&&S.key){const y=u.current.querySelector(`[data-type="richtext"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}else if(S.type==="datepicker"&&S.key){const y=u.current.querySelector(`[data-type="datepicker"][data-key="${S.key}"]`);if(y){const C=y.closest("[data-group]")||y.parentElement;return C?C.style.display!=="none":!0}}return!1});if(g.length===0){s(!0);return}if(T){let S=!1;for(const y of g)if(y.type==="upload"&&y.key){if(d[y.key]!==null&&d[y.key]!==void 0){S=!0;break}}else if(y.type==="variable"&&y.key)if(y.isMultiVariable){const C=u.current.querySelectorAll(`[data-type="variable"][data-multi-key="${y.key}"]`);let w=0;for(const U of Array.from(C))U.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(w+=1);const q=y.minCount&&y.minCount>0?y.minCount:1;if(w>=q){S=!0;break}}else{const C=u.current.querySelector(`[data-type="variable"][data-key="${y.key}"]`);if(C&&C.innerText.replace(/[\u200B\n]/g,"").trim().length>0){S=!0;break}}else if(y.type==="select"&&y.key){const C=u.current.querySelector(`[data-type="select"][data-key="${y.key}"]`);if(C&&(C.value||"").trim().length>0){S=!0;break}}else if(y.type==="textarea"&&y.key){const C=u.current.querySelector(`[data-type="textarea"][data-key="${y.key}"]`);if(C&&(C.value||"").trim().length>0){S=!0;break}}else if(y.type==="richtext"&&y.key){const C=u.current.querySelector(`[data-type="richtext"][data-key="${y.key}"]`);if(C&&(C.textContent||"").replace(/[\u200B]/g,"").trim().length>0){S=!0;break}}else if(y.type==="datepicker"&&y.key){const C=u.current.querySelector(`[data-type="datepicker"][data-key="${y.key}"]`);if(C&&(C.getAttribute("data-value")||"").trim().length>0){S=!0;break}}s(S)}else{let S=!0;for(const y of g)if(y.type==="upload"&&y.key){if(d[y.key]===null||d[y.key]===void 0){S=!1;break}}else if(y.type==="variable"&&y.key)if(y.isMultiVariable){const C=u.current.querySelectorAll(`[data-type="variable"][data-multi-key="${y.key}"]`);let w=0;for(const U of Array.from(C))U.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(w+=1);const q=y.minCount&&y.minCount>0?y.minCount:1;if(w<q){S=!1;break}}else{const C=u.current.querySelector(`[data-type="variable"][data-key="${y.key}"]`);if(!C){S=!1;break}if(C.innerText.replace(/[\u200B\n]/g,"").trim().length===0){S=!1;break}}else if(y.type==="select"&&y.key){const C=u.current.querySelector(`[data-type="select"][data-key="${y.key}"]`);if(!C||(C.value||"").trim().length===0){S=!1;break}}else if(y.type==="textarea"&&y.key){const C=u.current.querySelector(`[data-type="textarea"][data-key="${y.key}"]`);if(!C||(C.value||"").trim().length===0){S=!1;break}}else if(y.type==="richtext"&&y.key){const C=u.current.querySelector(`[data-type="richtext"][data-key="${y.key}"]`);if(!C||(C.textContent||"").replace(/[\u200B]/g,"").trim().length===0){S=!1;break}}else if(y.type==="datepicker"&&y.key){const C=u.current.querySelector(`[data-type="datepicker"][data-key="${y.key}"]`);if(!C||(C.getAttribute("data-value")||"").trim().length===0){S=!1;break}}s(S)}}function pE(u,f){if(!u.current)return;u.current.querySelectorAll('[data-type="variable"]').forEach(s=>{const p=s.innerText.replace(/\n/g,"");p.replace(/\u200B/g,"")?s.classList.remove("show-placeholder"):(p!==""&&(s.innerText=""),s.classList.add("show-placeholder"))})}function ER(u,f,d,s,p,b={},T){if(!u.current)return;let g="",S=0;for(;S<f.length;){const y=f[S],C=S+1<f.length?f[S+1]:null;if(y.type==="text"&&(y.text?.includes("icon-bitian")||y.className==="rte-text-required")&&C){const A=C.type==="upload"&&C.exclusionGroup==="fileInput"&&y.exclusionGroup==="fileInput"&&y.exclusionGroup===C.exclusionGroup,L=C.type==="variable"&&C.exclusionGroup==="textInput"&&y.exclusionGroup==="textInput"&&y.exclusionGroup===C.exclusionGroup;if(A){const P=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,Q="</span>";let V="";y.className?V=`<span class="${y.className}">${y.text??""}</span>`:V=y.text??"";const J=C,ne=d[J.key]!==null&&d[J.key]!==void 0,ie=ne?d[J.key]:null,W=ne?d[J.key]?.name:J.text,me=ne?"":"hidden",ae=J.tooltip&&!ne?"":"hidden",Te=ne?"has-file":"",ce=ne&&W?` data-file-name="${W.replace(/"/g,""")}"`:"";let te="";ne&&ie&&(ie.type?.startsWith("image/")?te=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(ie)}" alt="preview" />`:te="<i class='iconfont icon-exlwenjian'></i>");const Z=`<span contenteditable="false" data-type="upload" data-key="${J.key}" class="upload-chip"><span class="upload-inner-wrapper ${Te}"><span class="upload-icon">${te}</span><span class="upload-label"${ce}>${W||J.text}</span>${J.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${ae}" data-upload-key="${J.key}" data-tooltip="${J.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${me}" title="移除文件">×</span></span></span>`;g+=P+V+Z+Q,S+=2;continue}if(L){const P=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,Q="</span>";let V="";y.className?V=`<span class="${y.className}">${y.text??""}</span>`:V=y.text??"";const J=C,ie=(J.key?p[J.key]:void 0)||J.text||"",W=!ie,me=W?"":ie,ae=W?"show-placeholder":"",Te=J.exclusionGroup?` data-group="${J.exclusionGroup}"`:"",ce=J.tooltip?` data-tooltip="${J.tooltip.replace(/"/g,""")}" data-variable-key="${J.key||""}"`:"",te=J.tooltip&&W?"":"hidden",Z=`<span contenteditable="true" data-type="variable" data-key="${J.key}" data-placeholder="${J.placeholder||""}"${Te}${ce} class="variable-chip ${ae}">${me}${J.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${te}" data-variable-key="${J.key}" data-tooltip="${J.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;g+=P+V+Z+Q,S+=2;continue}}const q=y.exclusionGroup?`data-group="${y.exclusionGroup}"`:"",U=y.exclusionGroup?`<span ${q} class="exclusion-wrapper">`:"",R=y.exclusionGroup?"</span>":"";let H="";if(y.type==="tag"){const L=s||T==="hideTagClose"?"":'<span class="tag-close-btn" title="Clear (ESC)"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"/></svg></span>',B=s?' data-locked="true"':"",P=y.tooltip?` data-tooltip="${y.tooltip.replace(/"/g,""")}" data-tag-key="${y.key||""}"`:"";H=`<span contenteditable="false" class="tag-node group"${B}${P}><span class="tag-label">${y.text}</span>${L}</span>`}else if(y.type==="text"){const A=s?' data-locked="true" contenteditable="false"':' contenteditable="false"',B=(y.text??"").replace(/\n/g,"<br/>");y.className?H=`<span class="${y.className}"${A}>${B}</span>`:H=s?`<span${A}>${B}</span>`:`<span contenteditable="false">${B}</span>`}else if(y.type==="variable"&&y.key){const L=p[y.key]||y.text||"",B=!L,P=B?"":L,Q=B?"show-placeholder":"",V=y.exclusionGroup?` data-group="${y.exclusionGroup}"`:"",J=y.tooltip?` data-tooltip="${y.tooltip.replace(/"/g,""")}" data-variable-key="${y.key||""}"`:"",ne=y.tooltip&&B?"":"hidden",ie=`<span contenteditable="true" data-type="variable" data-key="${y.key}" data-placeholder="${y.placeholder||""}"${V}${J} class="variable-chip ${Q}">${P}${y.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${ne}" data-variable-key="${y.key}" data-tooltip="${y.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;y.required?H=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${ie}</span>`:H=ie}else if(y.type==="upload"&&y.key){const A=d[y.key]!==null&&d[y.key]!==void 0,L=A?d[y.key]:null,B=A?d[y.key]?.name:y.text,P=A?"":"hidden",Q=y.tooltip&&!A?"":"hidden",V=A?"has-file":"",J=A&&B?` data-file-name="${B.replace(/"/g,""")}"`:"";let ne="";A&&L&&(L.type?.startsWith("image/")?ne=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(L)}" alt="preview" />`:ne="<i class='iconfont icon-exlwenjian'></i>");const ie=`<span contenteditable="false" data-type="upload" data-key="${y.key}" class="upload-chip"><span class="upload-inner-wrapper ${V}"><span class="upload-icon">${ne}</span><span class="upload-label"${J}>${B||y.text}</span>${y.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${Q}" data-upload-key="${y.key}" data-tooltip="${y.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${P}" title="移除文件">×</span></span></span>`;y.required?H=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${ie}</span>`:H=ie}else if(y.type==="select"&&y.key){const A=p[y.key]||"",L=(y.options||[]).map(Q=>{const V=A===Q.value?"selected":"";return`<option value="${Q.value}" ${V}>${Q.label}</option>`}).join(""),B=y.placeholder?`<option value="" ${A?"":"selected"} disabled hidden>${y.placeholder}</option>`:"",P=`<select data-type="select" data-key="${y.key}" class="rte-select">${B}${L}</select>`;y.required?H=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${P}</span>`:H=P}else if(y.type==="textarea"&&y.key){const A=p[y.key]||"",L=y.maxHeight||252,B=y.expandable!==!1,P=y.placeholder?` placeholder="${y.placeholder}"`:"",Q=`<textarea data-type="textarea" data-key="${y.key}" class="rte-textarea" data-max-height="${L}" style="max-height:${L}px;"${P}>${A}</textarea>`,V=B?`<button type="button" class="rte-textarea-toggle" data-key="${y.key}" data-expanded="false">展开</button>`:"",J=`<div class="rte-textarea-wrapper" data-key="${y.key}">${Q}${V}</div>`;y.required?H=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${J}</span>`:H=J}else if(y.type==="richtext"&&y.key){const A=p[y.key]||y.text||"",L=y.minHeight||140,B=y.placeholder?` data-placeholder="${y.placeholder}"`:"",P=y.expandable!==!1,Q=A,V=`<div contenteditable="true" data-type="richtext" data-key="${y.key}" class="rte-richtext"${B} style="min-height:${L}px;">${Q}</div>`,J=P?`<button type="button" class="rte-richtext-toggle" data-key="${y.key}" data-expanded="false">展开</button>`:"",ne=`<div class="rte-richtext-wrapper" data-key="${y.key}">${V}${J}</div>`,ie=`<div class="rte-richtext-container" data-key="${y.key}">${ne}</div>`;y.required?H=`<div ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group rte-richtext-required"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${ie}</div>`:H=ie}else if(y.type==="datepicker"&&y.key){const A=p[y.key]||"",L=y.placeholder?` data-placeholder="${y.placeholder}"`:"",B=`<div data-type="datepicker" data-key="${y.key}" data-value="${A}" class="rte-datepicker-host"${L}></div>`;y.required?H=`<span ${y.exclusionGroup?`data-group="${y.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${B}</span>`:H=B}else if(y.type==="multi-variable"&&y.key){const A=y.maxCount||9,L=b[y.key]||1,B=Math.min(L,A);if(y.required){const P=`<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`,Q=y.exclusionGroup?`data-group="${y.exclusionGroup}"`:"";let V="";for(let J=0;J<B;J++){const ne=`${y.key}_${J}`,ie=p[ne]||"",W=!ie,me=W?"":ie,ae=W?"show-placeholder":"",Te=y.tooltip?` data-tooltip="${y.tooltip.replace(/"/g,""")}" data-variable-key="${y.key||""}"`:"",ce=y.tooltip&&W?"":"hidden",te=`<span contenteditable="true" data-type="variable" data-key="${ne}" data-multi-key="${y.key}" data-index="${J}" data-placeholder="${y.placeholder||""}"${Te} class="variable-chip ${ae}">${me}${y.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${ce}" data-variable-key="${y.key}" data-tooltip="${y.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;J===0?V+=`<span ${Q} class="exclusion-wrapper required-upload-group required-multi-first">${P}${te}</span>`:V+=te}H=V}else{let P="";for(let Q=0;Q<B;Q++){const V=`${y.key}_${Q}`,J=p[V]||"",ne=!J,ie=ne?"":J,W=ne?"show-placeholder":"",me=y.tooltip?` data-tooltip="${y.tooltip.replace(/"/g,""")}" data-variable-key="${y.key||""}"`:"",ae=y.tooltip&&ne?"":"hidden",Te=`<span contenteditable="true" data-type="variable" data-key="${V}" data-multi-key="${y.key}" data-index="${Q}" data-placeholder="${y.placeholder||""}"${me} class="variable-chip ${W}">${ie}${y.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${ae}" data-variable-key="${y.key}" data-tooltip="${y.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;P+=Te}H=P}}g+=U+H+R,S++}u.current&&(u.current.innerHTML=g,setTimeout(()=>{if(!u.current)return;u.current.querySelectorAll('[data-type="variable"]').forEach(C=>{const w=C.innerText.replace(/\n/g,"");w.replace(/\u200B/g,"")?C.classList.remove("show-placeholder"):(w!==""&&(C.innerText=""),C.classList.add("show-placeholder"))})},0))}function TR(u,f,d,s,p={},b,T,g){const S=O.useCallback(()=>{if(!u.current)return;if(f.length===0){u.current.innerHTML="";return}let y={};const w=u.current.__tempVariableValues;if(w?(y=w,setTimeout(()=>{if(u.current){const q=u.current;q.__tempVariableValues===w&&delete q.__tempVariableValues}},100)):(u.current.querySelectorAll('[data-type="variable"]').forEach(L=>{const B=L.dataset.key;if(B){const P=L.innerText.replace(/[\u200B\n]/g,"").trim();P&&(y[B]=P)}}),u.current.querySelectorAll('[data-type="select"]').forEach(L=>{const B=L.dataset.key;if(B){const P=L.value.trim();P&&(y[B]=P)}}),u.current.querySelectorAll('[data-type="textarea"]').forEach(L=>{const B=L.dataset.key;if(B){const P=L.value.replace(/[\u200B]/g,"").trim();P&&(y[B]=P)}}),u.current.querySelectorAll('[data-type="richtext"]').forEach(L=>{const B=L.dataset.key;if(B){const P=(L.textContent||"").replace(/[\u200B]/g,"").trim();P&&(y[B]=P)}}),u.current.querySelectorAll('[data-type="datepicker"]').forEach(L=>{const B=L.dataset.key;if(B){const P=(L.getAttribute("data-value")||"").trim();P&&(y[B]=P)}})),ER(u,f,d,s,y,p,g),b?.current){const{key:q,offset:U}=b.current;setTimeout(()=>{if(!u.current)return;const R=u.current.querySelector(`[data-type="variable"][data-key="${q}"]`);if(R){try{const H=document.createRange(),A=document.createTreeWalker(R,NodeFilter.SHOW_TEXT,null);let L=0,B=null,P=0;for(;A.nextNode();){const Q=A.currentNode,V=Q.textContent?.length||0;if(L+V>=U){B=Q,P=U-L;break}L+=V}if(B){H.setStart(B,Math.min(P,B.textContent?.length||0)),H.collapse(!0);const Q=window.getSelection();Q&&(Q.removeAllRanges(),Q.addRange(H),R.focus())}else{H.selectNodeContents(R),H.collapse(!1);const Q=window.getSelection();Q&&(Q.removeAllRanges(),Q.addRange(H),R.focus())}}catch{const H=document.createRange();H.selectNodeContents(R),H.collapse(!1);const A=window.getSelection();A&&(A.removeAllRanges(),A.addRange(H),R.focus())}b.current=null}},0)}},[f,d,s,u,p,b,T,g]);O.useEffect(()=>{S()},[S])}function xR(u,f,d,s){O.useEffect(()=>{const p=u.current;if(!p)return;const b=g=>{const S=g.target?.closest(".upload-info-icon");if(S&&S.classList.contains("upload-info-icon")){const C=S.dataset.uploadKey;C&&s({key:C,anchorEl:S,type:"upload"});return}const y=g.target?.closest('[data-type="upload"]');if(y){const C=y.dataset.key;if(C){const w=d[C];w&&w.type&&w.type.startsWith("image/")&&s({key:C,anchorEl:y,type:"upload-preview"})}}},T=g=>{const S=g.target?.closest(".upload-info-icon"),y=g.relatedTarget;if(S&&S.classList.contains("upload-info-icon")){!y||!p.contains(y)?s(null):y.closest(".upload-info-icon")||s(null);return}const C=g.target?.closest('[data-type="upload"]');if(C){const w=y;if(w&&C.contains(w))return;s(null)}};return p.addEventListener("mouseover",b,!0),p.addEventListener("mouseout",T,!0),()=>{p.removeEventListener("mouseover",b,!0),p.removeEventListener("mouseout",T,!0)}},[f,d,u,s])}function OR(u,f,d,s){O.useEffect(()=>{if(!u.current)return;const p=S=>{if(s==="hideTagClose")return;const y=S.currentTarget,C=y.dataset.tooltip,w=y.dataset.tagKey||"";C&&d({key:w,anchorEl:y,type:"tag"})},b=()=>{d(null)};let T;const g=()=>{if(!u.current)return;u.current.querySelectorAll(".tag-node[data-tooltip]").forEach(y=>{y.addEventListener("mouseenter",p),y.addEventListener("mouseleave",b)})};return T=requestAnimationFrame(()=>{T=requestAnimationFrame(g)}),()=>{cancelAnimationFrame(T),u.current&&u.current.querySelectorAll(".tag-node[data-tooltip]").forEach(y=>{y.removeEventListener("mouseenter",p),y.removeEventListener("mouseleave",b)})}},[f,u,d,s])}function CR(u,f,d){O.useEffect(()=>{const s=u.current;if(!s)return;const p=T=>{const g=T.target?.closest(".variable-info-icon");if(g&&g.classList.contains("variable-info-icon")){const S=g.dataset.variableKey;S&&d({key:S,anchorEl:g,type:"variable"})}},b=T=>{const g=T.target?.closest(".variable-info-icon"),S=T.relatedTarget;g&&g.classList.contains("variable-info-icon")&&(!S||!s.contains(S)?d(null):S.closest(".variable-info-icon")||d(null))};return s.addEventListener("mouseover",p,!0),s.addEventListener("mouseout",b,!0),()=>{s.removeEventListener("mouseover",p,!0),s.removeEventListener("mouseout",b,!0)}},[f,u,d])}function _R(u,f,d,s){O.useEffect(()=>{if(!u.current)return;const p=S=>{const y=S.currentTarget;y.dataset.fileName&&s({key:"",anchorEl:y,type:"upload-label"})},b=()=>{s(null)};let T;const g=()=>{if(!u.current)return;u.current.querySelectorAll(".upload-label[data-file-name]").forEach(y=>{y.addEventListener("mouseenter",p),y.addEventListener("mouseleave",b)})};return T=requestAnimationFrame(()=>{T=requestAnimationFrame(g)}),()=>{cancelAnimationFrame(T),u.current&&u.current.querySelectorAll(".upload-label[data-file-name]").forEach(y=>{y.removeEventListener("mouseenter",p),y.removeEventListener("mouseleave",b)})}},[f,d,u,s])}function AR(u,f,d,s){O.useEffect(()=>{fE(u,f,d),dE(u,f,d,s)},[d,f,u,s])}function wR(u,f){O.useEffect(()=>{if(!u.current)return;let d=!1,s=0;const p=()=>{d=!0},b=()=>{d=!1,s=Date.now()};let T=!1,g=0;const S=()=>{T=!0},y=()=>{T=!1,g=Date.now()},C=()=>{g=Date.now()},w=()=>{if(!u.current)return;const U=window.getSelection();if(!U||U.rangeCount===0||f.current||d||T||Date.now()-g<500)return;const R=U.getRangeAt(0);if(!R.collapsed)return u.current.contains(R.commonAncestorContainer),void 0;const H=U.anchorNode;if(!H||!u.current.contains(H))return;let A=null;if(H.nodeType===Node.ELEMENT_NODE?A=H.closest('[data-type="variable"]'):H.nodeType===Node.TEXT_NODE&&H.parentElement&&(A=H.parentElement.closest('[data-type="variable"]')),!A){if(Date.now()-s>500)return;const L=u.current.querySelectorAll('[data-type="variable"]');if(L.length>0){let B=null;for(const P of Array.from(L))if(P.style.display!=="none"){B=P;break}if(!B&&L.length>0&&(B=L[0]),B){const P=document.createRange();P.selectNodeContents(B),P.collapse(!1),U.removeAllRanges(),U.addRange(P),B.focus()}else U.removeAllRanges()}else U.removeAllRanges()}},q=u.current;return q&&(q.addEventListener("compositionstart",S),q.addEventListener("compositionend",y),q.addEventListener("input",C)),document.addEventListener("mousedown",p),document.addEventListener("mouseup",b),document.addEventListener("selectionchange",w),()=>{const U=u.current;U&&(U.removeEventListener("compositionstart",S),U.removeEventListener("compositionend",y),U.removeEventListener("input",C)),document.removeEventListener("mousedown",p),document.removeEventListener("mouseup",b),document.removeEventListener("selectionchange",w)}},[u,f])}const P2=({config:u,onSend:f,isProcessing:d=!1,disabled:s=!1,width:p,lockStructure:b=!1,agentOptions:T=[],onAgentSelect:g,onAgentExit:S,loading:y=!1,placeholder:C,border:w,background:q="transparent",hideButtons:U})=>{const R=O.useRef(null),H=O.useRef(null),[A,L]=O.useState({}),[B,P]=O.useState(null),[Q,V]=O.useState(null),J=O.useRef(!1),ne=O.useRef(null),[ie,W]=O.useState(!1),me=O.useRef(null),[ae,Te]=O.useState(!0),[ce,te]=O.useState(()=>{const ye={};return u.forEach(I=>{I.type==="multi-variable"&&I.key&&(ye[I.key]=1)}),ye}),Z=O.useRef({}),D=O.useRef({}),k=O.useRef({});O.useEffect(()=>{D.current=A},[A]),O.useEffect(()=>{k.current=ce},[ce]);const Y=O.useCallback(ye=>ye.find(se=>se.type==="tag")?.text||null,[]),ue=O.useRef(u),M=O.useRef(null);O.useEffect(()=>{const ye=Y(ue.current),I=Y(u);if(ye&&ye!==I&&R.current){const se={};R.current.querySelectorAll('[data-type="variable"]').forEach(Ae=>{const We=Ae.dataset.key;if(We){const Pe=Ae.innerText.replace(/[\u200B\n]/g,"").trim();Pe&&(se[We]=Pe)}}),R.current.querySelectorAll('[data-type="select"]').forEach(Ae=>{const We=Ae.dataset.key;if(We){const Pe=Ae.value.trim();Pe&&(se[We]=Pe)}}),R.current.querySelectorAll('[data-type="textarea"]').forEach(Ae=>{const We=Ae.dataset.key;if(We){const Pe=Ae.value.replace(/[\u200B]/g,"").trim();Pe&&(se[We]=Pe)}}),Z.current[ye]={variableValues:se,files:{...D.current},multiVariableCounts:{...k.current}}}if(I&&Z.current[I]){const se=Z.current[I];M.current=se,L(se.files),te(se.multiVariableCounts)}else if(I){M.current=null;const se={};u.forEach(Ue=>{Ue.type==="multi-variable"&&Ue.key&&(se[Ue.key]=1)}),te(se),L({})}else M.current=null,te({}),L({});ue.current=u},[u,Y]),O.useLayoutEffect(()=>{M.current&&R.current&&(R.current.__tempVariableValues=M.current.variableValues,setTimeout(()=>{M.current&&(M.current=null)},0))}),TR(R,u,A,b,ce,me,void 0,U),xR(R,u,A,V),OR(R,u,V,U),_R(R,u,A,V),CR(R,u,V),AR(R,u,A,W),wR(R,J),O.useEffect(()=>{if(!R.current)return;R.current.querySelectorAll('[data-type="datepicker"]').forEach(I=>{const se=I,Ue=se.dataset.key||"";if(se.__dpRoot)return;const pe=SR.createRoot(se);se.__dpRoot=pe;const Ve=se.getAttribute("data-placeholder")||"",Ae=se.getAttribute("data-value")||"",We=Ae?$l(Ae):void 0;pe.render(ke.jsx(pR,{className:"rte-datepicker-input",placeholder:Ve,prefix:ke.jsx(oE,{}),value:We,onChange:(Pe,Ne)=>{const Ze=Array.isArray(Ne)?Ne[0]:Ne;se.setAttribute("data-value",Ze||"");const Ye=R.current;Ye&&(Ye.__tempVariableValues={...Ye.__tempVariableValues||{},[Ue]:Ze||""})}}))})},[u,ce]),O.useEffect(()=>{if(u.length>0){Te(!1);return}const ye=()=>{if(!R.current){Te(!0);return}const se=R.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"",Ue=R.current.querySelectorAll('[data-type="variable"]'),pe=R.current.querySelectorAll('[data-type="upload"]');let Ve=!1;Ue.forEach(We=>{(We.textContent?.replace(/[\u200B\n]/g,"").trim()||"")&&(Ve=!0)}),pe.forEach(We=>{We.querySelector(".upload-inner-wrapper.has-file")&&(Ve=!0)});const Ae=!se&&!Ve;Te(Ae),u.length===0&&W(!Ae)};ye();const I=new MutationObserver(ye);return R.current&&I.observe(R.current,{childList:!0,subtree:!0,characterData:!0}),()=>{I.disconnect()}},[u]);const K=ye=>{if(s){ye.preventDefault();return}ye.preventDefault();const I=ye.clipboardData.getData("text/plain"),se=window.getSelection();if(se&&se.rangeCount>0){const Ue=se.anchorNode;if(Ue){let pe=null;if(Ue.nodeType===Node.ELEMENT_NODE?pe=Ue.closest('[data-type="variable"]'):Ue.nodeType===Node.TEXT_NODE&&Ue.parentElement&&(pe=Ue.parentElement.closest('[data-type="variable"]')),pe){const Ve=pe.dataset.multiKey;if(Ve){const Ae=/[、,,\s\n\r\t]+/,We=I.split(Ae).map(Pe=>Pe.trim()).filter(Pe=>Pe.length>0);if(console.log("[Paste Event] 粘贴的内容:",I),console.log("[Paste Event] 拆分后的值:",We),We.length>1){const Pe=parseInt(pe.dataset.index||"0",10),Ne=u.find(Jt=>Jt.type==="multi-variable"&&Jt.key===Ve)?.maxCount||9,Ze=ce[Ve]||1,Ye=Math.min(Pe+We.length,Ne);Ye>Ze&&te(gt=>({...gt,[Ve]:Ye}));const Ke=[];for(let gt=0;gt<Ze;gt++){const Jt=`${Ve}_${gt}`,In=R.current.querySelector(`[data-type="variable"][data-key="${Jt}"][data-multi-key="${Ve}"]`);if(In){const Mn=In.innerText.replace(/[\u200B\n]/g,"").trim();Ke.push(Mn)}}Ke.splice(Pe,1,...We.slice(0,Ne-Pe));const it=Ke.slice(0,Ne);it.length>0&&it[it.length-1]!==""&&it.length<Ne&&it.push("");const Xe=Math.max(it.length,1),dt={};it.forEach((gt,Jt)=>{gt&&(dt[`${Ve}_${Jt}`]=gt)}),R.current.querySelectorAll('[data-type="variable"]').forEach(gt=>{const Jt=gt.dataset.key,In=gt.dataset.multiKey;if(Jt&&In!==Ve){const Mn=gt.innerText.replace(/[\u200B\n]/g,"").trim();Mn&&(dt[Jt]=Mn)}}),R.current.__tempVariableValues=dt,te(gt=>({...gt,[Ve]:Xe})),console.log("[Paste Event] 粘贴完成,已填充到多个输入框,值:",it);return}else We.length===1&&console.log("[Paste Event] 粘贴单个值,将在失去焦点时检查是否需要拆分")}}}}document.execCommand("insertText",!1,I),Be(),setTimeout(()=>{const Ue=window.getSelection();if(Ue&&Ue.rangeCount>0){const pe=Ue.anchorNode;if(pe){let Ve=null;if(pe.nodeType===Node.ELEMENT_NODE?Ve=pe.closest('[data-type="variable"][data-multi-key]'):pe.nodeType===Node.TEXT_NODE&&pe.parentElement&&(Ve=pe.parentElement.closest('[data-type="variable"][data-multi-key]')),Ve){const Ae=Ve.innerText.replace(/[\u200B\n]/g,"").trim();/[、,,\s]+/.test(Ae)&&(console.log("[Paste Event] 粘贴后检测到分隔符,内容:",Ae),console.log("[Paste Event] 提示:失去焦点后将自动拆分"))}}}},0)},re=ye=>{if(ye.target.files&&ye.target.files[0]&&B){const I=ye.target.files[0],se=B;L(Ue=>({...Ue,[se]:I}))}ye.target&&(ye.target.value=""),P(null)},le=ye=>{L(I=>{const se={...I};return delete se[ye],se})},be=ye=>{const I=ye.target;if(I.closest(".tag-close-btn")){if(ye.preventDefault(),ye.stopPropagation(),b)return;V(null),S?S():R.current&&(R.current.innerHTML="",R.current.focus());return}if(b){const pe=I.closest(".tag-node"),Ve=I.closest('[data-type="text"]');if(pe||Ve){ye.preventDefault(),ye.stopPropagation();const Ae=window.getSelection();Ae&&Ae.removeAllRanges();return}}I.closest('[data-type="variable"]')||(ne.current={x:ye.clientX,y:ye.clientY},J.current=!1,I.closest(".file-remove-btn")&&(ye.preventDefault(),ye.stopPropagation()))},Me=ye=>{if(!ye.target.closest('[data-type="variable"]')&&ne.current){const Ue=Math.abs(ye.clientX-ne.current.x),pe=Math.abs(ye.clientY-ne.current.y);(Ue>3||pe>3)&&(J.current=!0)}},Oe=ye=>{if(ye.target.closest('[data-type="variable"]')){ne.current=null,J.current=!1;return}ne.current=null,J.current=!1},ze=ye=>{if(s)return;const I=ye.target;if(I.closest('[data-type="datepicker"]'))return;if(I.closest(".tag-close-btn")){ye.preventDefault(),ye.stopPropagation();return}if(u.length===0)return;const pe=(Ye,Ke)=>{if(!R.current)return;Array.from(R.current.children).forEach(Xe=>{if(Xe!==Ye)if(Ke)Xe.dataset.prevDisplay===void 0&&(Xe.dataset.prevDisplay=Xe.style.display||""),Xe.style.setProperty("display","none","important");else if(Xe.dataset.prevDisplay!==void 0){const dt=Xe.dataset.prevDisplay;dt?Xe.style.display=dt:Xe.style.removeProperty("display"),delete Xe.dataset.prevDisplay}else Xe.style.removeProperty("display")})},Ve=I.closest(".rte-textarea-toggle");if(Ve){ye.preventDefault(),ye.stopPropagation();const Ye=Ve.closest(".rte-textarea-wrapper"),Ke=Ye?.querySelector('[data-type="textarea"]'),Xe=!(Ve.getAttribute("data-expanded")==="true");Ve.setAttribute("data-expanded",String(Xe)),Ve.textContent=Xe?"收起":"展开",Ye&&Ye.classList.toggle("rte-textarea-expanded",Xe);const dt=Ye?.closest(".rte-textarea-required");if(dt?dt.classList.toggle("rte-textarea-overlay",Xe):Ye&&Ye.classList.toggle("rte-textarea-overlay",Xe),Ke)if(Xe)Ke.classList.add("rte-textarea-expanded"),Ke.style.maxHeight="none",Ke.style.height="100%";else{Ke.classList.remove("rte-textarea-expanded");const pt=Ke.dataset.maxHeight||"252";Ke.style.maxHeight=`${pt}px`,Ke.style.height="auto"}R.current&&(Xe?R.current.classList.add("rte-overlay-active"):R.current.classList.remove("rte-overlay-active"));return}const Ae=I.closest(".rte-richtext-toggle");if(Ae){ye.preventDefault(),ye.stopPropagation();const Ye=Ae.closest(".rte-richtext-wrapper"),Ke=Ye?.querySelector('[data-type="richtext"]'),Xe=!(Ae.getAttribute("data-expanded")==="true");Ae.setAttribute("data-expanded",String(Xe)),Ae.textContent=Xe?"收起":"展开";const dt=Ye?.closest(".rte-richtext-required");dt?dt.classList.toggle("rte-richtext-expanded",Xe):Ye&&Ye.classList.toggle("rte-richtext-expanded",Xe);const pt=Ye?.closest(".exclusion-wrapper")||Ye?.parentElement;Ke&&(Xe?(Ke.style.height="100%",Ke.style.overflow="auto"):(Ke.style.height="",Ke.style.overflow="")),pt&&(pt.classList.toggle("rte-richtext-host-expanded",Xe),pe(pt,Xe)),R.current&&R.current.classList.toggle("rte-richtext-fullscreen-active",Xe);return}if(I.closest('[data-type="text"]')){ye.preventDefault(),ye.stopPropagation();const Ye=window.getSelection();Ye&&Ye.removeAllRanges();return}if(b&&I.closest(".tag-node")){ye.preventDefault(),ye.stopPropagation();const Ke=window.getSelection();Ke&&Ke.removeAllRanges();return}if(I.closest('[data-type="variable"]')){if(J.current)return;setTimeout(()=>{const Ye=window.getSelection();Ye&&!Ye.isCollapsed||pE(R)},10);return}const Ne=I.closest(".file-remove-btn");if(Ne){ye.preventDefault(),ye.stopPropagation();const Ke=Ne.closest('[data-type="upload"]')?.dataset.key;Ke&&le(Ke);return}const Ze=I.closest('[data-type="upload"]');if(Ze){const Ye=Ze.dataset.key;Ye&&(P(Ye),H.current?.click());return}},qe=ye=>{const se=ye.target.closest('[data-type="variable"]');if(se){const Ue=window.getSelection();if(Ue){const pe=document.createRange(),Ve=se.textContent||"";if(Ve.replace(/\u200B/g,"")){let We=0,Pe=Ve.length;Ve.startsWith("")&&(We=1),Ve.endsWith("")&&Ve.length>1&&(Pe=Ve.length-1);const Ne=se.firstChild;Ne&&Ne.nodeType===Node.TEXT_NODE?(pe.setStart(Ne,We),pe.setEnd(Ne,Pe)):pe.selectNodeContents(se)}else pe.selectNodeContents(se),pe.collapse(!0);Ue.removeAllRanges(),Ue.addRange(pe)}}},Be=()=>{if(u.length===0){if(R.current){const se=!(R.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"");Te(se),W(!se)}return}if(pE(R),R.current&&R.current.querySelectorAll('[data-type="variable"]').forEach(se=>{const Ue=se.querySelector(".variable-info-icon");if(Ue){let pe=!1;const Ve=document.createTreeWalker(se,NodeFilter.SHOW_TEXT,{acceptNode:Ae=>Ue.contains(Ae)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});for(;Ve.nextNode();)if(Ve.currentNode.textContent?.replace(/[\u200B\n]/g,"").trim()){pe=!0;break}pe?Ue.classList.add("hidden"):Ue.classList.remove("hidden")}}),fE(R,u,A),dE(R,u,A,W),!R.current)return;u.filter(I=>I.type==="multi-variable"&&I.key).forEach(I=>{if(!I.key)return;const se=I.maxCount||9,Ue=ce[I.key]||1,pe=[];for(let Ne=0;Ne<Ue;Ne++){const Ze=`${I.key}_${Ne}`,Ye=R.current.querySelector(`[data-type="variable"][data-key="${Ze}"][data-multi-key="${I.key}"]`);if(Ye){const Ke=Ye.innerText.replace(/[\u200B\n]/g,"").trim();pe.push(Ke)}}const Ae=(pe[pe.length-1]||"")==="";let We=!1,Pe=-1;for(let Ne=0;Ne<pe.length-1;Ne++)if(pe[Ne]===""){We=!0,Pe=Ne;break}if(We&&Pe>=0){const Ne=window.getSelection();if(Ne&&Ne.rangeCount>0){const Xe=Ne.getRangeAt(0),dt=Xe.startContainer,pt=dt.nodeType===Node.ELEMENT_NODE?dt.closest('[data-type="variable"][data-multi-key]'):dt.parentElement?.closest('[data-type="variable"][data-multi-key]');if(pt){const gt=pt.dataset.key;if(gt){const Jt=document.createRange();Jt.setStartBefore(pt),Jt.setEnd(Xe.startContainer,Xe.startOffset);const In=Jt.toString().length;me.current={key:gt,offset:In}}}}const Ze=[...pe];for(let Xe=Pe;Xe<Ze.length-1;Xe++)Ze[Xe]=Ze[Xe+1];Ze.pop();const Ye={};Ze.forEach((Xe,dt)=>{Xe&&(Ye[`${I.key}_${dt}`]=Xe)});const Ke=Math.max(Ae?Ze.length:Ze.length+1,1);R.current.querySelectorAll('[data-type="variable"]').forEach(Xe=>{const dt=Xe.dataset.key,pt=Xe.dataset.multiKey;if(dt&&pt!==I.key){const gt=Xe.innerText.replace(/[\u200B\n]/g,"").trim();gt&&(Ye[dt]=gt)}}),R.current.__tempVariableValues=Ye,te(Xe=>({...Xe,[I.key]:Ke}));return}if(!Ae){const Ne=Ue-1,Ze=`${I.key}_${Ne}`,Ye=R.current.querySelector(`[data-type="variable"][data-key="${Ze}"][data-multi-key="${I.key}"]`);if(Ye&&Ye.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&Ue<se){const it=window.getSelection();if(it&&it.rangeCount>0){const Xe=it.getRangeAt(0),dt=Xe.startContainer,pt=dt.nodeType===Node.ELEMENT_NODE?dt.closest('[data-type="variable"][data-multi-key]'):dt.parentElement?.closest('[data-type="variable"][data-multi-key]');if(pt){const gt=pt.dataset.key;if(gt){const Jt=document.createRange();Jt.setStartBefore(pt),Jt.setEnd(Xe.startContainer,Xe.startOffset);const In=Jt.toString().length;me.current={key:gt,offset:In}}}}te(Xe=>({...Xe,[I.key]:Ue+1}))}}})};O.useLayoutEffect(()=>{const ye=R.current;if(!ye)return;const I=new Map,se=Ve=>{const Ae=Ve.target,We=Ve.relatedTarget;!Ae||!R.current||!R.current.contains(Ae)||We&&R.current.contains(We)||setTimeout(()=>{if(R.current){if(u.length===0){const Pe=R.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";W(Pe.length>0);return}pE(R),fE(R,u,A),dE(R,u,A,W)}},0)};ye.addEventListener("blur",se,!0);const Ue=()=>{if(!R.current)return;I.forEach((We,Pe)=>{Pe.removeEventListener("blur",We,!1)}),I.clear();const Ve=R.current.querySelectorAll('[data-type="variable"][data-multi-key]'),Ae=We=>{We.stopPropagation(),We.stopImmediatePropagation();const Pe=We.target;if(!Pe||!R.current||!R.current.contains(Pe))return;const Ne=Pe.closest('[data-type="variable"][data-multi-key]');if(!Ne||!R.current.contains(Ne))return;let Ze=!1;if(I.forEach((Jt,In)=>{(In===Ne||In.contains(Pe))&&(Ze=!0)}),!Ze)return;const Ye=Ne.dataset.multiKey,Ke=Ne.dataset.key,it=Ne.dataset.index;if(!Ye||!Ke||it===void 0)return;const Xe=We.relatedTarget;if(!(!Xe||!R.current.contains(Xe)))return;const pt=Ne.innerText.replace(/[\u200B\n]/g,"").trim();console.log("[Blur Event] 失去焦点的 multi-variable 输入框:",{multiKey:Ye,currentKey:Ke,index:it,content:pt});const gt=/[、,,\s]+/;if(gt.test(pt)){const Jt=pt.split(gt).map(En=>En.trim()).filter(En=>En.length>0);console.log("[Blur Event] 拆分前的内容:",pt),console.log("[Blur Event] 拆分后的部分:",Jt);const Mn=Jt.slice(0,9);if(console.log("[Blur Event] 有效的部分(最多9个):",Mn),Mn.length>1){const En=u.find(yn=>yn.type==="multi-variable"&&yn.key===Ye);if(En){const yn=ce[Ye]||1,aa=parseInt(it,10),Un=En.maxCount||9,Ut=[];for(let pn=0;pn<yn;pn++){const la=`${Ye}_${pn}`,zn=R.current.querySelector(`[data-type="variable"][data-key="${la}"][data-multi-key="${Ye}"]`);if(zn){const jn=zn.innerText.replace(/[\u200B\n]/g,"").trim();Ut.push(jn)}}console.log("[Blur Event] 拆分前的所有值:",Ut),console.log("[Blur Event] 当前索引:",aa),console.log("[Blur Event] 要插入的值:",Mn),Ut.splice(aa,1,...Mn);const dn=Ut.slice(0,Un);console.log("[Blur Event] 拆分后的所有值:",dn),dn.length>0&&dn[dn.length-1]!==""&&dn.length<Un&&dn.push("");const Ua=Math.max(dn.length,1),xa={};dn.forEach((pn,la)=>{pn&&(xa[`${Ye}_${la}`]=pn)}),R.current.querySelectorAll('[data-type="variable"]').forEach(pn=>{const la=pn.dataset.key,zn=pn.dataset.multiKey;if(la&&zn!==Ye){const jn=pn.innerText.replace(/[\u200B\n]/g,"").trim();jn&&(xa[la]=jn)}}),R.current.__tempVariableValues=xa,te(pn=>({...pn,[Ye]:Ua}))}}}};Ve.forEach(We=>{We.addEventListener("blur",Ae,!1),I.set(We,Ae)})},pe=setTimeout(()=>{Ue()},0);return()=>{clearTimeout(pe),ye.removeEventListener("blur",se,!0),I.forEach((Ve,Ae)=>{Ae.removeEventListener("blur",Ve,!1)}),I.clear()}},[u,ce,A]);const $e=ye=>{if(s){ye.preventDefault();return}const I=window.getSelection();if(I&&I.rangeCount>0){const se=I.anchorNode;let Ue=null;if(se&&(se.nodeType===Node.ELEMENT_NODE?Ue=se.closest('[data-type="text"]'):se.nodeType===Node.TEXT_NODE&&se.parentElement&&(Ue=se.parentElement.closest('[data-type="text"]'))),Ue){if(ye.preventDefault(),ye.stopPropagation(),R.current){const pe=R.current.querySelector('[data-type="variable"], [data-type="upload"]');pe&&pe.focus()}return}}if(b&&I&&I.rangeCount>0){const se=I.anchorNode;let Ue=null;if(se&&(se.nodeType===Node.ELEMENT_NODE?Ue=se.closest(".tag-node"):se.nodeType===Node.TEXT_NODE&&se.parentElement&&(Ue=se.parentElement.closest(".tag-node"))),Ue){if(ye.preventDefault(),ye.stopPropagation(),R.current){const pe=R.current.querySelector('[data-type="variable"], [data-type="upload"]');pe&&pe.focus()}return}}if(ye.key==="Enter"&&!ye.shiftKey&&(ye.preventDefault(),Fe()),ye.key==="Escape"&&R.current){if(b){ye.preventDefault();return}R.current.innerHTML="",R.current.focus()}if(ye.key==="Backspace"){const se=window.getSelection();if(se&&se.rangeCount>0){const Ue=se.getRangeAt(0),pe=se.anchorNode;if(b){let Ae=null,We=null;if(pe&&(pe.nodeType===Node.ELEMENT_NODE?(Ae=pe.closest(".tag-node"),We=pe.closest('[data-type="text"]')):pe.nodeType===Node.TEXT_NODE&&pe.parentElement&&(Ae=pe.parentElement.closest(".tag-node"),We=pe.parentElement.closest('[data-type="text"]'))),(Ae||We)&&Ue.collapsed&&Ue.startOffset===0){ye.preventDefault();return}}let Ve=null;if(pe&&(pe.nodeType===Node.ELEMENT_NODE?Ve=pe.closest('[data-type="variable"]'):pe.nodeType===Node.TEXT_NODE&&pe.parentElement&&(Ve=pe.parentElement.closest('[data-type="variable"]'))),Ve){if(!Ue.collapsed)return;const Ae=Ve.innerText;if(Ae===""||Ae===""){ye.preventDefault();return}if(Ue.startOffset===0){ye.preventDefault();return}if(Ae.startsWith("")&&Ue.startOffset===1){ye.preventDefault();return}}}}},Fe=()=>{if(d||s||y||!ie||!R.current)return;if(u.length===0){const Ve=R.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";if(!Ve)return;f(Ve,Ve);return}const ye=R.current;let I="";const se={},Ue=Ve=>{if(!(Ve.nodeType===Node.ELEMENT_NODE&&Ve.style.display==="none")){if(Ve.nodeType===Node.TEXT_NODE)I+=(Ve.textContent||"").replace(/\u200B/g,"");else if(Ve.nodeType===Node.ELEMENT_NODE){const Ae=Ve,We=Ae.dataset.type,Pe=Ae.dataset.key;if(We==="variable"&&Pe){let Ne="";const Ze=document.createTreeWalker(Ae,NodeFilter.SHOW_TEXT,{acceptNode:Ke=>{const it=Ae.querySelector(".variable-info-icon");return it&&it.contains(Ke)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});for(;Ze.nextNode();)Ne+=Ze.currentNode.textContent||"";const Ye=Ne.replace(/[\u200B\n]/g,"").trim();if(Ye){const Ke=Ae.dataset.multiKey;if(Ke){(!se[Ke]||!Array.isArray(se[Ke]))&&(se[Ke]=[]);const it=se[Ke];it.push(Ye),it.length>1&&(I+=" "),I+=Ye}else se[Pe]=Ye,I+=Ye}}else if(We==="select"&&Pe){const Ne=Ae,Ze=(Ne.value||"").trim();if(Ze){se[Pe]=Ze;const Ye=Ne.selectedOptions?.[0];I+=Ye?.textContent||Ze}}else if(We==="textarea"&&Pe){const Ze=(Ae.value||"").replace(/\u200B/g,"").trim();Ze&&(se[Pe]=Ze,I+=Ze)}else if(We==="richtext"&&Pe){const Ze=(Ae.textContent||"").replace(/\u200B/g,"").trim();Ze&&(se[Pe]=Ze,I+=Ze)}else if(We==="datepicker"&&Pe){const Ze=(Ae.getAttribute("data-value")||"").trim();Ze&&(se[Pe]=Ze,I+=Ze)}else if(We==="upload"&&Pe)se[Pe]=A[Pe]??null,A[Pe]&&(I+=` [附带文件: ${A[Pe]?.name}] `);else{if(Ae.classList.contains("tag-close-btn")||Ae.classList.contains("file-remove-btn"))return;Ae.getAttribute("contenteditable")==="false"&&!We&&Ae.classList.contains("tag-node")?I+=Ae.innerText:Ae.childNodes.forEach(Ue)}}}};if(ye.childNodes.forEach(Ue),I=I.trim(),!I)return;const pe=new FormData;pe.append("fullPrompt",I),Object.keys(se).forEach(Ve=>{const Ae=se[Ve];Ae!=null&&(Ae instanceof File?pe.append(Ve,Ae):Array.isArray(Ae)?u.some(Pe=>Pe.type==="multi-variable"&&Pe.key===Ve)?Ae.forEach(Pe=>{Pe!=null&&Pe!==""&&pe.append(Ve,String(Pe))}):Ae.forEach((Pe,Ne)=>{Pe!=null&&(Pe instanceof File?pe.append(`${Ve}[${Ne}]`,Pe):typeof Pe=="string"?pe.append(`${Ve}[${Ne}]`,Pe):pe.append(`${Ve}[${Ne}]`,String(Pe)))}):typeof Ae=="string"?pe.append(Ve,Ae):pe.append(Ve,String(Ae)))}),f(pe,I)},Le={...p?{width:typeof p=="number"?`${p}px`:p}:{},...w?{border:w}:{},...q?{background:q}:{}};return ke.jsxs("div",{className:"rich-text-editor",style:Le,"data-disabled":s,children:[ke.jsx("div",{ref:R,className:`rte-editor ${u.length===0?"rte-editor-default":""} ${ae&&C?"rte-editor-empty":""}`,contentEditable:u.length===0,suppressContentEditableWarning:!0,"data-placeholder":C,onMouseDown:be,onMouseMove:Me,onMouseUp:Oe,onClick:ze,onDoubleClick:qe,onInput:Be,onKeyDown:$e,onPaste:K}),ke.jsx("input",{type:"file",ref:H,className:"rte-file-input",accept:".csv,.xlsx,.xls,.txt,.pdf,image/*",onChange:re}),ke.jsxs("div",{className:"rich-text-editor-footer",children:[ke.jsx("div",{className:"rich-text-editor-footer-left",children:ke.jsxs("div",{className:"rich-text-editor-brand",children:[ke.jsxs("div",{className:"rte-brand-badge",children:[ke.jsx("img",{src:"https://oospublic.sealseek.cn/file/website/ball.png",alt:""}),ke.jsx("span",{className:"rte-brand-text",children:"SealSeek 1.0"})]}),U!=="hideAgent"&&ke.jsx(Qt.Dropdown,{placement:"top",menu:{items:T.map(ye=>({key:ye.key,label:ke.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[ye.icon&&ke.jsx("i",{className:ye.icon}),ke.jsx("span",{children:ye.label})]}),onClick:()=>{g?.(ye)}}))},trigger:["click"],disabled:s||d,children:ke.jsxs("div",{className:"rte-agent-badge",style:{cursor:T.length>0?"pointer":"default"},children:[ke.jsx("i",{className:"iconfont icon-zhinengti"}),ke.jsx("span",{className:"rte-agent-text",children:"智能体"})]})})]})}),ke.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(()=>{const ye=u.find(se=>se.type==="tag");if(!ye||!ye.text)return null;const I=T.find(se=>se.label===ye.text);return!I||I.points===void 0||I.points===null?null:ke.jsxs("div",{className:"rte-points-badge",children:[ke.jsx("i",{className:"iconfont icon-jifen",style:{marginRight:"4px"}}),ke.jsxs("span",{style:{fontSize:"16px"},children:["-",String(I.points)]})]})})(),ke.jsx("button",{type:"button",onClick:Fe,disabled:d||s||y||!ie,className:"rich-text-editor-send-button",children:d||y?ke.jsx("span",{className:"rte-send-spinner"}):ke.jsx("i",{className:"iconfont icon-fasong"})})]})]}),Q?.anchorEl&&(()=>{if(!document.body.contains(Q.anchorEl))return null;let ye="",I={background:"var(--neutral-800, #262626)"};if(Q.type==="upload")ye=u.find(pe=>pe.type==="upload"&&pe.key===Q.key)?.tooltip||"";else if(Q.type==="tag")ye=Q.anchorEl.dataset.tooltip||"";else if(Q.type==="upload-label")ye=Q.anchorEl.dataset.fileName||"";else if(Q.type==="variable")ye=Q.anchorEl.dataset.tooltip||"";else if(Q.type==="upload-preview"){const Ue=A[Q.key];if(Ue&&Ue.type&&Ue.type.startsWith("image/")){const pe=URL.createObjectURL(Ue);ye=ke.jsx("div",{style:{width:120,height:120,display:"flex",alignItems:"center",justifyContent:"center"},children:ke.jsx("img",{src:pe,style:{maxWidth:120,maxHeight:120,objectFit:"contain"}})}),I={background:"#fff",padding:4},setTimeout(()=>URL.revokeObjectURL(pe),1e3)}else ye=""}if(!ye)return null;const se=Q.type==="upload-preview"?"#0A0A0A":"#fff";return xl.createPortal(ke.jsx(Qt.Tooltip,{arrow:!1,title:ke.jsx("div",{style:{maxWidth:"200px",fontSize:"12px",color:se},children:ye}),open:!0,placement:"top",getPopupContainer:()=>document.body,overlayInnerStyle:I,children:ke.jsx("div",{style:{position:"fixed",left:`${Q.anchorEl.getBoundingClientRect().left}px`,top:`${Q.anchorEl.getBoundingClientRect().top}px`,width:`${Q.anchorEl.offsetWidth}px`,height:`${Q.anchorEl.offsetHeight}px`,pointerEvents:"none"}})}),document.body)})()]})};P2.__docgenInfo={displayName:"RichTextEditor",description:"结构化富文本输入组件,支持标签、变量输入块、文件上传以及互斥显示逻辑。",props:{config:{name:"config",required:!0,description:"结构化输入配置节点数组",type:{name:"InputNode[]",raw:"InputNode[]"}},onSend:{name:"onSend",required:!0,description:"点击发送按钮时的回调,返回数据与拼接后的 Prompt",type:{name:"function",raw:"(data: Record<string, any>, fullPrompt: string) => void"}},isProcessing:{name:"isProcessing",required:!1,description:"是否处于处理状态(禁用输入与发送)",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}}}};const Q2="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==",DR=[{label:"5页",value:5},{label:"10页",value:10},{label:"15页",value:15},{label:"30页",value:30}],MR=({autoLoading:u,batchSize:f,loadingProgress:d,loadIcon:s,onBatchSizeChange:p,onLoadNextPage:b,onStartAutoLoad:T,onStopLoad:g})=>u&&d?ke.jsxs("div",{className:"auto_load_progress",children:[s||ke.jsx("img",{src:Q2,alt:"自动加载",width:14,height:14}),ke.jsxs("span",{children:["正在加载第",d.currentPage,"/",d.totalPages,"页"]}),ke.jsx(Qt.Progress,{percent:d.percentage,type:"line",size:[160,8]}),ke.jsx("span",{onClick:g,className:"auto_load_stop_btn",children:"停止加载"})]}):ke.jsxs("div",{className:"auto_load_container",children:[ke.jsx("div",{onClick:b,className:"auto_load_next_btn",style:{backgroundColor:u?"#f5f5f5":"#2563eb"},children:"加载下一页"}),ke.jsxs("div",{className:"right_control_wrap",style:{backgroundColor:u?"#f5f5f5":"#2563eb"},children:[ke.jsxs("div",{className:"auto_load_btn",onClick:u?void 0:T,children:[s||ke.jsx("img",{src:Q2,alt:"自动加载",width:14,height:14}),ke.jsx("span",{children:"自动加载"})]}),ke.jsx(Qt.Select,{value:f,onChange:p,options:DR,disabled:u,size:"small",className:"auto_load_select",popupMatchSelectWidth:84})]})]}),zR=({current:u,loadIcon:f,pageSize:d,total:s,cachedPages:p,loadedCount:b,autoLoading:T=!1,loadingProgress:g,onChange:S,onLoadNextPage:y,onStartAutoLoad:C,onStopLoading:w})=>{const[q,U]=O.useState(5),R=Math.ceil(s/d),H=O.useMemo(()=>p.length>=R,[p,R]),A=()=>Array.from({length:R},(P,Q)=>Q+1).filter(P=>!p.includes(P)).slice(0,q),L=(B,P,Q)=>{const V=p.includes(B);return P==="prev"||P==="next"||P==="jump-prev"||P==="jump-next"?ke.jsx("div",{className:"pageBox",children:Q}):ke.jsxs("div",{className:"pageBox",style:{backgroundColor:u===B?"#2563EB":"#f5f5f5",color:u===B?"#fff":V?"#171717":"#a3a3a3"},children:[B,!V&&ke.jsx("span",{className:"unload_spot"})]})};return ke.jsxs("div",{className:"pagination_footer",children:[ke.jsxs("div",{className:"pagination_leftWrap",children:[ke.jsxs("span",{className:"pagination_total",children:[ke.jsx(bc.InfoCircleOutlined,{style:{color:"#2563EB",marginRight:"4px"}}),"已加载: ",b,"/",s,"条数据"]}),!H&&ke.jsx(MR,{loadIcon:f||void 0,autoLoading:T,batchSize:q,loadingProgress:g,disabled:!y||!C,onBatchSizeChange:U,onLoadNextPage:()=>y?.(),onStartAutoLoad:()=>{const B=A();C?.(B)},onStopLoad:()=>w?.()})]}),ke.jsx(Qt.Pagination,{current:u,pageSize:d,total:s,onChange:B=>S(B),showSizeChanger:!1,showQuickJumper:!1,showTotal:(B,P)=>"",itemRender:L})]})},Z2=u=>{const{loading:f,autoLoading:d,loadingProgress:s,columns:p=[],dataSource:b=[],total:T,current:g,pageSize:S,cachedPages:y,onChangePage:C,onLoadNextPage:w,onStartAutoLoad:q,onStopLoading:U,...R}=u,H=O.useRef(null),A=O.useCallback(L=>{C(L),y.includes(L)&&H.current?.scrollTo({key:`${(L-1)*S+1}`})},[g]);return ke.jsxs("div",{className:"flex flex-col",children:[ke.jsx(Qt.Table,{ref:H,...R,columns:p,dataSource:b,pagination:!1,virtual:!0}),ke.jsx(zR,{loading:f,autoLoading:d,loadingProgress:s,current:g,pageSize:S,total:T,loadedCount:b.length,cachedPages:y,onChange:A,onLoadNextPage:w,onStartAutoLoad:q,onStopLoading:U})]})};Z2.__docgenInfo={displayName:"VirtualTable",description:"虚拟滚动表格组件,支持分页、数据缓存和自动加载功能。",props:{loading:{description:"加载状态",name:"loading",required:!0,type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},total:{description:"总数据条数",name:"total",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"0"}},current:{description:"当前页码",name:"current",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"1"}},pageSize:{description:"每页数据条数",name:"pageSize",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"10"}},cachedPages:{description:"已缓存的页码数组",name:"cachedPages",required:!0,type:{name:"number[]",raw:"number[]"},defaultValue:{value:"[]"}},dataSource:{description:"数据源",name:"dataSource",required:!0,type:{name:"Array<T>",raw:"Array<T>"},defaultValue:{value:"[]"}},onChangePage:{description:"页码变更回调函数",name:"onChangePage",required:!0,type:{name:"function",raw:"function(page: number): void"},defaultValue:{value:"-"}},autoLoading:{description:"是否正在自动加载",name:"autoLoading",required:!0,type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},loadingProgress:{description:"加载进度信息",name:"loadingProgress",required:!0,type:{name:"object",raw:"{percentage: 0, currentPage: 1, totalPages: 5}"},defaultValue:{value:"-"}},onLoadNextPage:{description:"加载下一页回调函数",name:"onLoadNextPage",required:!1,type:{name:"function",raw:"function(page: number): void"},defaultValue:{value:"-"}},onStartAutoLoad:{description:"开始自动加载回调函数",name:"onStartAutoLoad",required:!1,type:{name:"function",raw:"function(loadNextPages: number[]): void"},defaultValue:{value:"-"}},onStopLoading:{description:"停止加载回调函数",name:"onStopLoading",required:!1,type:{name:"function",raw:"function(): void"},defaultValue:{value:"-"}},columns:{description:"表格列配置",name:"columns",required:!0,type:{name:"Array<object>",raw:"Array<object>"},defaultValue:{value:"[]"}}}};const K2=({texts:u=[],placeholder:f="请输入内容",animationSpeed:d=100,autoPlay:s=!0,value:p,onChange:b,...T})=>{const[g,S]=O.useState(""),[y,C]=O.useState(0),[w,q]=O.useState(!1),[U,R]=O.useState(!1),[H,A]=O.useState(!1),L=O.useRef(void 0),B=O.useRef(void 0),P=O.useRef(u),Q=O.useRef(y),V=O.useRef(U),J=O.useRef(g);O.useEffect(()=>{P.current=u,Q.current=y,V.current=U,J.current=g});const ne=O.useCallback((te,Z)=>{let D=0;A(!0);const k=()=>{D<te.length?(S(te.slice(0,D+1)),D++,B.current=window.setTimeout(k,d)):(A(!1),Z?.())};k()},[d]),ie=O.useCallback(te=>{let Z=J.current.length;const D=()=>{Z>0?(S(J.current.slice(0,Z-1)),Z--,B.current=window.setTimeout(D,d/2)):te?.()};D()},[d]),W=O.useCallback(()=>{if(P.current.length===0||V.current)return;q(!0);const te=P.current[Q.current];J.current?ie(()=>{ne(te,()=>{L.current=window.setTimeout(()=>{C(Z=>(Z+1)%P.current.length),q(!1)},2e3)})}):ne(te,()=>{L.current=window.setTimeout(()=>{C(Z=>(Z+1)%P.current.length),q(!1)},2e3)})},[ie,ne]);O.useEffect(()=>(s&&u.length>0&&!U&&W(),()=>{L.current&&window.clearTimeout(L.current),B.current&&window.clearTimeout(B.current)}),[y,U,s,u.length,W]),O.useEffect(()=>{!w&&s&&u.length>0&&!U&&W()},[y,w,s,u.length,U,W]);const me=te=>{R(!0),L.current&&window.clearTimeout(L.current),B.current&&window.clearTimeout(B.current),q(!1),A(!1),T.onFocus?.(te)},ae=te=>{R(!1),!p&&u.length>0&&(S(""),C(0)),T.onBlur?.(te)},Te=te=>{b?.(te.target.value),T.onChange?.(te)},ce=()=>U||p?f:g||f;return ke.jsxs("div",{style:{position:"relative"},children:[ke.jsx(Qt.Input,{...T,value:p,onChange:Te,onFocus:me,onBlur:ae,placeholder:ce(),style:{...T.style,position:"relative",zIndex:1}}),!U&&!p&&g&&ke.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",paddingLeft:11,paddingRight:11,color:"#bfbfbf",pointerEvents:"none",zIndex:2,fontSize:14,fontFamily:"inherit"},children:[ke.jsx("span",{children:g}),H&&ke.jsx("span",{style:{display:"inline-block",width:1,height:"1.2em",backgroundColor:"#1890ff",marginLeft:2,animation:"blink 1s infinite"}})]}),ke.jsx("style",{children:`
|
|
271
|
+
root.render(<App />);`),t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(d=t.onRecoverableError),t.unstable_transitionCallbacks!==void 0&&(h=t.unstable_transitionCallbacks)),t=ry(e,1,!1,null,null,a,i,o,s,d,h,null),e[Yi]=t.current,Zp(e),new Cd(t)},zh.hydrateRoot=function(e,t,a){if(!$(e))throw Error("Target container is not a DOM element.");yg(e),t===void 0&&console.error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var i=!1,o="",s=pp,d=km,h=Bf,g=null,b=null;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(s=a.onUncaughtError),a.onCaughtError!==void 0&&(d=a.onCaughtError),a.onRecoverableError!==void 0&&(h=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(g=a.unstable_transitionCallbacks),a.formState!==void 0&&(b=a.formState)),t=ry(e,1,!0,t,a??null,i,o,s,d,h,g,b),t.context=fy(null),a=t.current,i=Aa(a),i=Ne(i),o=Xn(i),o.callback=null,xn(a,o,i),a=i,t.current.lanes=a,Fe(t,a),on(t),e[Yi]=t.current,Zp(e),new br(t)},zh.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),zh}var ab;function DS(){if(ab)return mm.exports;ab=1;function v(){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(v)}catch(X){console.error(X)}}}return process.env.NODE_ENV==="production"?(v(),mm.exports=xS()):mm.exports=AS(),mm.exports}var zS=DS(),vm={exports:{}},OS=vm.exports,nb;function MS(){return nb||(nb=1,function(v,X){(function(G,T){v.exports=T()})(OS,function(){var G=1e3,T=6e4,Z=36e5,re="millisecond",Ae="second",pe="minute",D="hour",m="day",w="week",Y="month",ye="quarter",P="year",V="date",ze="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,le=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,ie={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var K=["th","st","nd","rd"],S=F%100;return"["+F+(K[(S-20)%10]||K[S]||K[0])+"]"}},oe=function(F,K,S){var R=String(F);return!R||R.length>=K?F:""+Array(K+1-R.length).join(S)+F},se={s:oe,z:function(F){var K=-F.utcOffset(),S=Math.abs(K),R=Math.floor(S/60),U=S%60;return(K<=0?"+":"-")+oe(R,2,"0")+":"+oe(U,2,"0")},m:function F(K,S){if(K.date()<S.date())return-F(S,K);var R=12*(S.year()-K.year())+(S.month()-K.month()),U=K.clone().add(R,Y),fe=S-U<0,M=K.clone().add(R+(fe?-1:1),Y);return+(-(R+(S-U)/(fe?U-M:M-U))||0)},a:function(F){return F<0?Math.ceil(F)||0:Math.floor(F)},p:function(F){return{M:Y,y:P,w,d:m,D:V,h:D,m:pe,s:Ae,ms:re,Q:ye}[F]||String(F||"").toLowerCase().replace(/s$/,"")},u:function(F){return F===void 0}},qe="en",ge={};ge[qe]=ie;var Ee="$isDayjsObject",Ge=function(F){return F instanceof Ce||!(!F||!F[Ee])},ce=function F(K,S,R){var U;if(!K)return qe;if(typeof K=="string"){var fe=K.toLowerCase();ge[fe]&&(U=fe),S&&(ge[fe]=S,U=fe);var M=K.split("-");if(!U&&M.length>1)return F(M[0])}else{var ve=K.name;ge[ve]=K,U=ve}return!R&&U&&(qe=U),U||!R&&qe},we=function(F,K){if(Ge(F))return F.clone();var S=typeof K=="object"?K:{};return S.date=F,S.args=arguments,new Ce(S)},Te=se;Te.l=ce,Te.i=Ge,Te.w=function(F,K){return we(F,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var Ce=function(){function F(S){this.$L=ce(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[Ee]=!0}var K=F.prototype;return K.parse=function(S){this.$d=function(R){var U=R.date,fe=R.utc;if(U===null)return new Date(NaN);if(Te.u(U))return new Date;if(U instanceof Date)return new Date(U);if(typeof U=="string"&&!/Z$/i.test(U)){var M=U.match($);if(M){var ve=M[2]-1||0,de=(M[7]||"0").substring(0,3);return fe?new Date(Date.UTC(M[1],ve,M[3]||1,M[4]||0,M[5]||0,M[6]||0,de)):new Date(M[1],ve,M[3]||1,M[4]||0,M[5]||0,M[6]||0,de)}}return new Date(U)}(S),this.init()},K.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},K.$utils=function(){return Te},K.isValid=function(){return this.$d.toString()!==ze},K.isSame=function(S,R){var U=we(S);return this.startOf(R)<=U&&U<=this.endOf(R)},K.isAfter=function(S,R){return we(S)<this.startOf(R)},K.isBefore=function(S,R){return this.endOf(R)<we(S)},K.$g=function(S,R,U){return Te.u(S)?this[R]:this.set(U,S)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(S,R){var U=this,fe=!!Te.u(R)||R,M=Te.p(S),ve=function(xt,Rt){var gl=Te.w(U.$u?Date.UTC(U.$y,Rt,xt):new Date(U.$y,Rt,xt),U);return fe?gl:gl.endOf(m)},de=function(xt,Rt){return Te.w(U.toDate()[xt].apply(U.toDate("s"),(fe?[0,0,0,0]:[23,59,59,999]).slice(Rt)),U)},Me=this.$W,Le=this.$M,Pe=this.$D,lt="set"+(this.$u?"UTC":"");switch(M){case P:return fe?ve(1,0):ve(31,11);case Y:return fe?ve(1,Le):ve(0,Le+1);case w:var Je=this.$locale().weekStart||0,nt=(Me<Je?Me+7:Me)-Je;return ve(fe?Pe-nt:Pe+(6-nt),Le);case m:case V:return de(lt+"Hours",0);case D:return de(lt+"Minutes",1);case pe:return de(lt+"Seconds",2);case Ae:return de(lt+"Milliseconds",3);default:return this.clone()}},K.endOf=function(S){return this.startOf(S,!1)},K.$set=function(S,R){var U,fe=Te.p(S),M="set"+(this.$u?"UTC":""),ve=(U={},U[m]=M+"Date",U[V]=M+"Date",U[Y]=M+"Month",U[P]=M+"FullYear",U[D]=M+"Hours",U[pe]=M+"Minutes",U[Ae]=M+"Seconds",U[re]=M+"Milliseconds",U)[fe],de=fe===m?this.$D+(R-this.$W):R;if(fe===Y||fe===P){var Me=this.clone().set(V,1);Me.$d[ve](de),Me.init(),this.$d=Me.set(V,Math.min(this.$D,Me.daysInMonth())).$d}else ve&&this.$d[ve](de);return this.init(),this},K.set=function(S,R){return this.clone().$set(S,R)},K.get=function(S){return this[Te.p(S)]()},K.add=function(S,R){var U,fe=this;S=Number(S);var M=Te.p(R),ve=function(Le){var Pe=we(fe);return Te.w(Pe.date(Pe.date()+Math.round(Le*S)),fe)};if(M===Y)return this.set(Y,this.$M+S);if(M===P)return this.set(P,this.$y+S);if(M===m)return ve(1);if(M===w)return ve(7);var de=(U={},U[pe]=T,U[D]=Z,U[Ae]=G,U)[M]||1,Me=this.$d.getTime()+S*de;return Te.w(Me,this)},K.subtract=function(S,R){return this.add(-1*S,R)},K.format=function(S){var R=this,U=this.$locale();if(!this.isValid())return U.invalidDate||ze;var fe=S||"YYYY-MM-DDTHH:mm:ssZ",M=Te.z(this),ve=this.$H,de=this.$m,Me=this.$M,Le=U.weekdays,Pe=U.months,lt=U.meridiem,Je=function(Rt,gl,Ja,ue){return Rt&&(Rt[gl]||Rt(R,fe))||Ja[gl].slice(0,ue)},nt=function(Rt){return Te.s(ve%12||12,Rt,"0")},xt=lt||function(Rt,gl,Ja){var ue=Rt<12?"AM":"PM";return Ja?ue.toLowerCase():ue};return fe.replace(le,function(Rt,gl){return gl||function(Ja){switch(Ja){case"YY":return String(R.$y).slice(-2);case"YYYY":return Te.s(R.$y,4,"0");case"M":return Me+1;case"MM":return Te.s(Me+1,2,"0");case"MMM":return Je(U.monthsShort,Me,Pe,3);case"MMMM":return Je(Pe,Me);case"D":return R.$D;case"DD":return Te.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Je(U.weekdaysMin,R.$W,Le,2);case"ddd":return Je(U.weekdaysShort,R.$W,Le,3);case"dddd":return Le[R.$W];case"H":return String(ve);case"HH":return Te.s(ve,2,"0");case"h":return nt(1);case"hh":return nt(2);case"a":return xt(ve,de,!0);case"A":return xt(ve,de,!1);case"m":return String(de);case"mm":return Te.s(de,2,"0");case"s":return String(R.$s);case"ss":return Te.s(R.$s,2,"0");case"SSS":return Te.s(R.$ms,3,"0");case"Z":return M}return null}(Rt)||M.replace(":","")})},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(S,R,U){var fe,M=this,ve=Te.p(R),de=we(S),Me=(de.utcOffset()-this.utcOffset())*T,Le=this-de,Pe=function(){return Te.m(M,de)};switch(ve){case P:fe=Pe()/12;break;case Y:fe=Pe();break;case ye:fe=Pe()/3;break;case w:fe=(Le-Me)/6048e5;break;case m:fe=(Le-Me)/864e5;break;case D:fe=Le/Z;break;case pe:fe=Le/T;break;case Ae:fe=Le/G;break;default:fe=Le}return U?fe:Te.a(fe)},K.daysInMonth=function(){return this.endOf(Y).$D},K.$locale=function(){return ge[this.$L]},K.locale=function(S,R){if(!S)return this.$L;var U=this.clone(),fe=ce(S,R,!0);return fe&&(U.$L=fe),U},K.clone=function(){return Te.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},F}(),Ie=Ce.prototype;return we.prototype=Ie,[["$ms",re],["$s",Ae],["$m",pe],["$H",D],["$W",m],["$M",Y],["$y",P],["$D",V]].forEach(function(F){Ie[F[1]]=function(K){return this.$g(K,F[0],F[1])}}),we.extend=function(F,K){return F.$i||(F(K,Ce,we),F.$i=!0),we},we.locale=ce,we.isDayjs=Ge,we.unix=function(F){return we(1e3*F)},we.en=ge[qe],we.Ls=ge,we.p={},we})}(vm)),vm.exports}var RS=MS();const CS=rS(RS);function yv(v,X,G){if(!v.current)return;const T=new Set,Z={};for(const Y of X)Y.exclusionGroup&&Y.exclusionGroup!=="separator"&&(T.add(Y.exclusionGroup),Z[Y.exclusionGroup]||(Z[Y.exclusionGroup]=[]),Z[Y.exclusionGroup].push({type:Y.type,key:Y.key,exclusionGroup:Y.exclusionGroup}));const re={};for(const Y of T){re[Y]=!1;for(const ye of Z[Y])if(ye.type==="upload"&&ye.key){if(G[ye.key]!==null&&G[ye.key]!==void 0){re[Y]=!0;break}}else if(ye.type==="variable"&&ye.key){const P=v.current.querySelector(`[data-type="variable"][data-key="${ye.key}"]`);if(P&&P.innerText.replace(/[\u200B\n]/g,"").trim().length>0){re[Y]=!0;break}}}const Ae=X.some(Y=>Y.exclusionGroup==="separator"),D=Object.keys(re).filter(Y=>re[Y]).length>0;let m=null;if(D&&Ae){for(const Y of X)if(Y.exclusionGroup&&Y.exclusionGroup!=="separator"&&re[Y.exclusionGroup]){m=Y.exclusionGroup;break}}for(const Y of T){const ye=v.current.querySelectorAll(`[data-group="${Y}"]`);Ae&&D&&m?Y===m?ye.forEach(P=>{P.classList.contains("required-upload-group")?P.style.setProperty("display","inline-flex","important"):(P.classList.contains("exclusion-wrapper"),P.style.setProperty("display","inline-block","important"))}):ye.forEach(P=>{P.style.display="none",P.style.setProperty("display","none","important")}):ye.forEach(P=>{P.classList.contains("required-upload-group")?P.style.setProperty("display","inline-flex","important"):(P.classList.contains("exclusion-wrapper"),P.style.setProperty("display","inline-block","important"))})}v.current.querySelectorAll('[data-group="separator"]').forEach(Y=>{Y.style.display=D?"none":"inline"})}function mv(v,X,G,T){if(!v.current){T(!1);return}const Z=[];for(let D=0;D<X.length;D++){const m=X[D];if((m.type==="variable"||m.type==="upload"||m.type==="multi-variable"||m.type==="select"||m.type==="textarea"||m.type==="richtext"||m.type==="datepicker")&&m.required&&m.key){Z.push({exclusionGroup:m.exclusionGroup||"",key:m.key,type:m.type==="multi-variable"?"variable":m.type,isMultiVariable:m.type==="multi-variable",minCount:m.type==="multi-variable"?m.minCount:void 0});continue}if(m.type==="text"&&m.className?.includes("rte-text-required")&&m.exclusionGroup)for(let w=D+1;w<X.length;w++){const Y=X[w];if(Y.exclusionGroup===m.exclusionGroup&&(Y.type==="variable"||Y.type==="upload"||Y.type==="select"||Y.type==="textarea"||Y.type==="richtext"||Y.type==="datepicker")&&Y.key){Z.push({exclusionGroup:m.exclusionGroup,key:Y.key,type:Y.type});break}}}const re=X.some(D=>D.exclusionGroup==="separator");let Ae=!1;if(re&&Z.length>1){const D=X.findIndex(Y=>Y.exclusionGroup==="separator"),m=Z.filter(Y=>X.findIndex(P=>(P.type==="variable"||P.type==="upload"||P.type==="select"||P.type==="textarea"||P.type==="richtext"||P.type==="datepicker")&&P.key===Y.key&&P.exclusionGroup===Y.exclusionGroup)<D),w=Z.filter(Y=>X.findIndex(P=>(P.type==="variable"||P.type==="upload"||P.type==="select"||P.type==="textarea"||P.type==="richtext")&&P.key===Y.key&&P.exclusionGroup===Y.exclusionGroup)>D);Ae=m.length>0&&w.length>0}if(Z.length===0){if(X.length===0){if(!v.current){T(!1);return}const D=v.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";T(D.length>0);return}T(!0);return}const pe=Z.filter(D=>{if(!v.current)return!1;if(D.exclusionGroup){const m=v.current.querySelectorAll(`[data-group="${D.exclusionGroup}"]`);if(m.length>0)return m[0].style.display!=="none"}if(D.type==="upload"&&D.key){const m=v.current.querySelector(`[data-type="upload"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}else if(D.type==="variable"&&D.key)if(D.isMultiVariable){const m=v.current.querySelectorAll(`[data-type="variable"][data-multi-key="${D.key}"]`);if(m.length>0){const w=m[0],Y=w.closest("[data-group]")||w.parentElement;return Y?Y.style.display!=="none":!0}}else{const m=v.current.querySelector(`[data-type="variable"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}else if(D.type==="select"&&D.key){const m=v.current.querySelector(`[data-type="select"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}else if(D.type==="textarea"&&D.key){const m=v.current.querySelector(`[data-type="textarea"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}else if(D.type==="richtext"&&D.key){const m=v.current.querySelector(`[data-type="richtext"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}else if(D.type==="datepicker"&&D.key){const m=v.current.querySelector(`[data-type="datepicker"][data-key="${D.key}"]`);if(m){const w=m.closest("[data-group]")||m.parentElement;return w?w.style.display!=="none":!0}}return!1});if(pe.length===0){T(!0);return}if(Ae){let D=!1;for(const m of pe)if(m.type==="upload"&&m.key){if(G[m.key]!==null&&G[m.key]!==void 0){D=!0;break}}else if(m.type==="variable"&&m.key)if(m.isMultiVariable){const w=v.current.querySelectorAll(`[data-type="variable"][data-multi-key="${m.key}"]`);let Y=0;for(const P of Array.from(w))P.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(Y+=1);const ye=m.minCount&&m.minCount>0?m.minCount:1;if(Y>=ye){D=!0;break}}else{const w=v.current.querySelector(`[data-type="variable"][data-key="${m.key}"]`);if(w&&w.innerText.replace(/[\u200B\n]/g,"").trim().length>0){D=!0;break}}else if(m.type==="select"&&m.key){const w=v.current.querySelector(`[data-type="select"][data-key="${m.key}"]`);if(w&&(w.value||"").trim().length>0){D=!0;break}}else if(m.type==="textarea"&&m.key){const w=v.current.querySelector(`[data-type="textarea"][data-key="${m.key}"]`);if(w&&(w.value||"").trim().length>0){D=!0;break}}else if(m.type==="richtext"&&m.key){const w=v.current.querySelector(`[data-type="richtext"][data-key="${m.key}"]`);if(w&&(w.textContent||"").replace(/[\u200B]/g,"").trim().length>0){D=!0;break}}else if(m.type==="datepicker"&&m.key){const w=v.current.querySelector(`[data-type="datepicker"][data-key="${m.key}"]`);if(w&&(w.getAttribute("data-value")||"").trim().length>0){D=!0;break}}T(D)}else{let D=!0;for(const m of pe)if(m.type==="upload"&&m.key){if(G[m.key]===null||G[m.key]===void 0){D=!1;break}}else if(m.type==="variable"&&m.key)if(m.isMultiVariable){const w=v.current.querySelectorAll(`[data-type="variable"][data-multi-key="${m.key}"]`);let Y=0;for(const P of Array.from(w))P.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(Y+=1);const ye=m.minCount&&m.minCount>0?m.minCount:1;if(Y<ye){D=!1;break}}else{const w=v.current.querySelector(`[data-type="variable"][data-key="${m.key}"]`);if(!w){D=!1;break}if(w.innerText.replace(/[\u200B\n]/g,"").trim().length===0){D=!1;break}}else if(m.type==="select"&&m.key){const w=v.current.querySelector(`[data-type="select"][data-key="${m.key}"]`);if(!w||(w.value||"").trim().length===0){D=!1;break}}else if(m.type==="textarea"&&m.key){const w=v.current.querySelector(`[data-type="textarea"][data-key="${m.key}"]`);if(!w||(w.value||"").trim().length===0){D=!1;break}}else if(m.type==="richtext"&&m.key){const w=v.current.querySelector(`[data-type="richtext"][data-key="${m.key}"]`);if(!w||(w.textContent||"").replace(/[\u200B]/g,"").trim().length===0){D=!1;break}}else if(m.type==="datepicker"&&m.key){const w=v.current.querySelector(`[data-type="datepicker"][data-key="${m.key}"]`);if(!w||(w.getAttribute("data-value")||"").trim().length===0){D=!1;break}}T(D)}}function gv(v,X){if(!v.current)return;v.current.querySelectorAll('[data-type="variable"]').forEach(T=>{const Z=T.innerText.replace(/\n/g,"");Z.replace(/\u200B/g,"")?T.classList.remove("show-placeholder"):(Z!==""&&(T.innerText=""),T.classList.add("show-placeholder"))})}function US(v,X,G,T,Z,re={},Ae){if(!v.current)return;let pe="",D=0;for(;D<X.length;){const m=X[D],w=D+1<X.length?X[D+1]:null;if(m.type==="text"&&(m.text?.includes("icon-bitian")||m.className==="rte-text-required")&&w){const $=w.type==="upload"&&w.exclusionGroup==="fileInput"&&m.exclusionGroup==="fileInput"&&m.exclusionGroup===w.exclusionGroup,le=w.type==="variable"&&w.exclusionGroup==="textInput"&&m.exclusionGroup==="textInput"&&m.exclusionGroup===w.exclusionGroup;if($){const oe=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,se="</span>";let qe="";m.className?qe=`<span class="${m.className}">${m.text??""}</span>`:qe=m.text??"";const ge=w,Ee=G[ge.key]!==null&&G[ge.key]!==void 0,Ge=Ee?G[ge.key]:null,ce=Ee?G[ge.key]?.name:ge.text,we=Ee?"":"hidden",Te=ge.tooltip&&!Ee?"":"hidden",Ce=Ee?"has-file":"",Ie=Ee&&ce?` data-file-name="${ce.replace(/"/g,""")}"`:"";let F="";Ee&&Ge&&(Ge.type?.startsWith("image/")?F=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(Ge)}" alt="preview" />`:F="<i class='iconfont icon-exlwenjian'></i>");const K=`<span contenteditable="false" data-type="upload" data-key="${ge.key}" class="upload-chip"><span class="upload-inner-wrapper ${Ce}"><span class="upload-icon">${F}</span><span class="upload-label"${Ie}>${ce||ge.text}</span>${ge.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${Te}" data-upload-key="${ge.key}" data-tooltip="${ge.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${we}" title="移除文件">×</span></span></span>`;pe+=oe+qe+K+se,D+=2;continue}if(le){const oe=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,se="</span>";let qe="";m.className?qe=`<span class="${m.className}">${m.text??""}</span>`:qe=m.text??"";const ge=w,Ge=(ge.key?Z[ge.key]:void 0)||ge.text||"",ce=!Ge,we=ce?"":Ge,Te=ce?"show-placeholder":"",Ce=ge.exclusionGroup?` data-group="${ge.exclusionGroup}"`:"",Ie=ge.tooltip?` data-tooltip="${ge.tooltip.replace(/"/g,""")}" data-variable-key="${ge.key||""}"`:"",F=ge.tooltip&&ce?"":"hidden",K=`<span contenteditable="true" data-type="variable" data-key="${ge.key}" data-placeholder="${ge.placeholder||""}"${Ce}${Ie} class="variable-chip ${Te}">${we}${ge.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${F}" data-variable-key="${ge.key}" data-tooltip="${ge.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;pe+=oe+qe+K+se,D+=2;continue}}const ye=m.exclusionGroup?`data-group="${m.exclusionGroup}"`:"",P=m.exclusionGroup?`<span ${ye} class="exclusion-wrapper">`:"",V=m.exclusionGroup?"</span>":"";let ze="";if(m.type==="tag"){const le=T||Ae==="hideTagClose"?"":'<span class="tag-close-btn" title="Clear (ESC)"><svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"/></svg></span>',ie=T?' data-locked="true"':"",oe=m.tooltip?` data-tooltip="${m.tooltip.replace(/"/g,""")}" data-tag-key="${m.key||""}"`:"";ze=`<span contenteditable="false" class="tag-node group"${ie}${oe}><span class="tag-label">${m.text}</span>${le}</span>`}else if(m.type==="text"){const $=T?' data-locked="true" contenteditable="false"':' contenteditable="false"',ie=(m.text??"").replace(/\n/g,"<br/>");m.className?ze=`<span class="${m.className}"${$}>${ie}</span>`:ze=T?`<span${$}>${ie}</span>`:`<span contenteditable="false">${ie}</span>`}else if(m.type==="variable"&&m.key){const le=Z[m.key]||m.text||"",ie=!le,oe=ie?"":le,se=ie?"show-placeholder":"",qe=m.exclusionGroup?` data-group="${m.exclusionGroup}"`:"",ge=m.tooltip?` data-tooltip="${m.tooltip.replace(/"/g,""")}" data-variable-key="${m.key||""}"`:"",Ee=m.tooltip&&ie?"":"hidden",Ge=`<span contenteditable="true" data-type="variable" data-key="${m.key}" data-placeholder="${m.placeholder||""}"${qe}${ge} class="variable-chip ${se}">${oe}${m.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${Ee}" data-variable-key="${m.key}" data-tooltip="${m.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;m.required?ze=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${Ge}</span>`:ze=Ge}else if(m.type==="upload"&&m.key){const $=G[m.key]!==null&&G[m.key]!==void 0,le=$?G[m.key]:null,ie=$?G[m.key]?.name:m.text,oe=$?"":"hidden",se=m.tooltip&&!$?"":"hidden",qe=$?"has-file":"",ge=$&&ie?` data-file-name="${ie.replace(/"/g,""")}"`:"";let Ee="";$&&le&&(le.type?.startsWith("image/")?Ee=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(le)}" alt="preview" />`:Ee="<i class='iconfont icon-exlwenjian'></i>");const Ge=`<span contenteditable="false" data-type="upload" data-key="${m.key}" class="upload-chip"><span class="upload-inner-wrapper ${qe}"><span class="upload-icon">${Ee}</span><span class="upload-label"${ge}>${ie||m.text}</span>${m.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${se}" data-upload-key="${m.key}" data-tooltip="${m.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${oe}" title="移除文件">×</span></span></span>`;m.required?ze=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${Ge}</span>`:ze=Ge}else if(m.type==="select"&&m.key){const $=Z[m.key]||"",le=(m.options||[]).map(se=>{const qe=$===se.value?"selected":"";return`<option value="${se.value}" ${qe}>${se.label}</option>`}).join(""),ie=m.placeholder?`<option value="" ${$?"":"selected"} disabled hidden>${m.placeholder}</option>`:"",oe=`<select data-type="select" data-key="${m.key}" class="rte-select">${ie}${le}</select>`;m.required?ze=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${oe}</span>`:ze=oe}else if(m.type==="textarea"&&m.key){const $=Z[m.key]||"",le=m.maxHeight||252,ie=m.expandable!==!1,oe=m.placeholder?` placeholder="${m.placeholder}"`:"",se=`<textarea data-type="textarea" data-key="${m.key}" class="rte-textarea" data-max-height="${le}" style="max-height:${le}px;"${oe}>${$}</textarea>`,qe=ie?`<button type="button" class="rte-textarea-toggle" data-key="${m.key}" data-expanded="false">展开</button>`:"",ge=`<div class="rte-textarea-wrapper" data-key="${m.key}">${se}${qe}</div>`;m.required?ze=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${ge}</span>`:ze=ge}else if(m.type==="richtext"&&m.key){const $=Z[m.key]||m.text||"",le=m.minHeight||140,ie=m.placeholder?` data-placeholder="${m.placeholder}"`:"",oe=m.expandable!==!1,se=$.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),qe=`<div contenteditable="true" data-type="richtext" data-key="${m.key}" class="rte-richtext"${ie} style="min-height:${le}px;">${se}</div>`,ge=oe?`<button type="button" class="rte-richtext-toggle" data-key="${m.key}" data-expanded="false">展开</button>`:"",Ee=`<div class="rte-richtext-wrapper" data-key="${m.key}">${qe}${ge}</div>`,Ge=`<div class="rte-richtext-container" data-key="${m.key}">${Ee}</div>`;m.required?ze=`<div ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group rte-richtext-required"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${Ge}</div>`:ze=Ge}else if(m.type==="datepicker"&&m.key){const $=Z[m.key]||"",le=m.placeholder?` data-placeholder="${m.placeholder}"`:"",ie=`<div data-type="datepicker" data-key="${m.key}" data-value="${$}" class="rte-datepicker-host"${le}></div>`;m.required?ze=`<span ${m.exclusionGroup?`data-group="${m.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${ie}</span>`:ze=ie}else if(m.type==="multi-variable"&&m.key){const $=m.maxCount||9,le=re[m.key]||1,ie=Math.min(le,$);if(m.required){const oe=`<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`,se=m.exclusionGroup?`data-group="${m.exclusionGroup}"`:"";let qe="";for(let ge=0;ge<ie;ge++){const Ee=`${m.key}_${ge}`,Ge=Z[Ee]||"",ce=!Ge,we=ce?"":Ge,Te=ce?"show-placeholder":"",Ce=m.tooltip?` data-tooltip="${m.tooltip.replace(/"/g,""")}" data-variable-key="${m.key||""}"`:"",Ie=m.tooltip&&ce?"":"hidden",F=`<span contenteditable="true" data-type="variable" data-key="${Ee}" data-multi-key="${m.key}" data-index="${ge}" data-placeholder="${m.placeholder||""}"${Ce} class="variable-chip ${Te}">${we}${m.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${Ie}" data-variable-key="${m.key}" data-tooltip="${m.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;ge===0?qe+=`<span ${se} class="exclusion-wrapper required-upload-group required-multi-first">${oe}${F}</span>`:qe+=F}ze=qe}else{let oe="";for(let se=0;se<ie;se++){const qe=`${m.key}_${se}`,ge=Z[qe]||"",Ee=!ge,Ge=Ee?"":ge,ce=Ee?"show-placeholder":"",we=m.tooltip?` data-tooltip="${m.tooltip.replace(/"/g,""")}" data-variable-key="${m.key||""}"`:"",Te=m.tooltip&&Ee?"":"hidden",Ce=`<span contenteditable="true" data-type="variable" data-key="${qe}" data-multi-key="${m.key}" data-index="${se}" data-placeholder="${m.placeholder||""}"${we} class="variable-chip ${ce}">${Ge}${m.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${Te}" data-variable-key="${m.key}" data-tooltip="${m.tooltip.replace(/"/g,""")}" title="提示"></i>`:""}</span>`;oe+=Ce}ze=oe}}pe+=P+ze+V,D++}v.current&&(v.current.innerHTML=pe,setTimeout(()=>{if(!v.current)return;v.current.querySelectorAll('[data-type="variable"]').forEach(w=>{const Y=w.innerText.replace(/\n/g,"");Y.replace(/\u200B/g,"")?w.classList.remove("show-placeholder"):(Y!==""&&(w.innerText=""),w.classList.add("show-placeholder"))})},0))}function HS(v,X,G,T,Z={},re,Ae,pe){const D=te.useCallback(()=>{if(!v.current)return;if(X.length===0){v.current.innerHTML="";return}let m={};const Y=v.current.__tempVariableValues;if(Y?(m=Y,setTimeout(()=>{if(v.current){const ye=v.current;ye.__tempVariableValues===Y&&delete ye.__tempVariableValues}},100)):(v.current.querySelectorAll('[data-type="variable"]').forEach(le=>{const ie=le.dataset.key;if(ie){const oe=le.innerText.replace(/[\u200B\n]/g,"").trim();oe&&(m[ie]=oe)}}),v.current.querySelectorAll('[data-type="select"]').forEach(le=>{const ie=le.dataset.key;if(ie){const oe=le.value.trim();oe&&(m[ie]=oe)}}),v.current.querySelectorAll('[data-type="textarea"]').forEach(le=>{const ie=le.dataset.key;if(ie){const oe=le.value.replace(/[\u200B]/g,"").trim();oe&&(m[ie]=oe)}}),v.current.querySelectorAll('[data-type="richtext"]').forEach(le=>{const ie=le.dataset.key;if(ie){const oe=(le.textContent||"").replace(/[\u200B]/g,"").trim();oe&&(m[ie]=oe)}}),v.current.querySelectorAll('[data-type="datepicker"]').forEach(le=>{const ie=le.dataset.key;if(ie){const oe=(le.getAttribute("data-value")||"").trim();oe&&(m[ie]=oe)}})),US(v,X,G,T,m,Z,pe),re?.current){const{key:ye,offset:P}=re.current;setTimeout(()=>{if(!v.current)return;const V=v.current.querySelector(`[data-type="variable"][data-key="${ye}"]`);if(V){try{const ze=document.createRange(),$=document.createTreeWalker(V,NodeFilter.SHOW_TEXT,null);let le=0,ie=null,oe=0;for(;$.nextNode();){const se=$.currentNode,qe=se.textContent?.length||0;if(le+qe>=P){ie=se,oe=P-le;break}le+=qe}if(ie){ze.setStart(ie,Math.min(oe,ie.textContent?.length||0)),ze.collapse(!0);const se=window.getSelection();se&&(se.removeAllRanges(),se.addRange(ze),V.focus())}else{ze.selectNodeContents(V),ze.collapse(!1);const se=window.getSelection();se&&(se.removeAllRanges(),se.addRange(ze),V.focus())}}catch{const ze=document.createRange();ze.selectNodeContents(V),ze.collapse(!1);const $=window.getSelection();$&&($.removeAllRanges(),$.addRange(ze),V.focus())}re.current=null}},0)}},[X,G,T,v,Z,re,Ae,pe]);te.useEffect(()=>{D()},[D])}function NS(v,X,G,T){te.useEffect(()=>{const Z=v.current;if(!Z)return;const re=pe=>{const D=pe.target?.closest(".upload-info-icon");if(D&&D.classList.contains("upload-info-icon")){const w=D.dataset.uploadKey;w&&T({key:w,anchorEl:D,type:"upload"});return}const m=pe.target?.closest('[data-type="upload"]');if(m){const w=m.dataset.key;if(w){const Y=G[w];Y&&Y.type&&Y.type.startsWith("image/")&&T({key:w,anchorEl:m,type:"upload-preview"})}}},Ae=pe=>{const D=pe.target?.closest(".upload-info-icon"),m=pe.relatedTarget;if(D&&D.classList.contains("upload-info-icon")){!m||!Z.contains(m)?T(null):m.closest(".upload-info-icon")||T(null);return}const w=pe.target?.closest('[data-type="upload"]');if(w){const Y=m;if(Y&&w.contains(Y))return;T(null)}};return Z.addEventListener("mouseover",re,!0),Z.addEventListener("mouseout",Ae,!0),()=>{Z.removeEventListener("mouseover",re,!0),Z.removeEventListener("mouseout",Ae,!0)}},[X,G,v,T])}function qS(v,X,G,T){te.useEffect(()=>{if(!v.current)return;const Z=D=>{if(T==="hideTagClose")return;const m=D.currentTarget,w=m.dataset.tooltip,Y=m.dataset.tagKey||"";w&&G({key:Y,anchorEl:m,type:"tag"})},re=()=>{G(null)};let Ae;const pe=()=>{if(!v.current)return;v.current.querySelectorAll(".tag-node[data-tooltip]").forEach(m=>{m.addEventListener("mouseenter",Z),m.addEventListener("mouseleave",re)})};return Ae=requestAnimationFrame(()=>{Ae=requestAnimationFrame(pe)}),()=>{cancelAnimationFrame(Ae),v.current&&v.current.querySelectorAll(".tag-node[data-tooltip]").forEach(m=>{m.removeEventListener("mouseenter",Z),m.removeEventListener("mouseleave",re)})}},[X,v,G,T])}function wS(v,X,G){te.useEffect(()=>{const T=v.current;if(!T)return;const Z=Ae=>{const pe=Ae.target?.closest(".variable-info-icon");if(pe&&pe.classList.contains("variable-info-icon")){const D=pe.dataset.variableKey;D&&G({key:D,anchorEl:pe,type:"variable"})}},re=Ae=>{const pe=Ae.target?.closest(".variable-info-icon"),D=Ae.relatedTarget;pe&&pe.classList.contains("variable-info-icon")&&(!D||!T.contains(D)?G(null):D.closest(".variable-info-icon")||G(null))};return T.addEventListener("mouseover",Z,!0),T.addEventListener("mouseout",re,!0),()=>{T.removeEventListener("mouseover",Z,!0),T.removeEventListener("mouseout",re,!0)}},[X,v,G])}function _S(v,X,G,T){te.useEffect(()=>{if(!v.current)return;const Z=D=>{const m=D.currentTarget;m.dataset.fileName&&T({key:"",anchorEl:m,type:"upload-label"})},re=()=>{T(null)};let Ae;const pe=()=>{if(!v.current)return;v.current.querySelectorAll(".upload-label[data-file-name]").forEach(m=>{m.addEventListener("mouseenter",Z),m.addEventListener("mouseleave",re)})};return Ae=requestAnimationFrame(()=>{Ae=requestAnimationFrame(pe)}),()=>{cancelAnimationFrame(Ae),v.current&&v.current.querySelectorAll(".upload-label[data-file-name]").forEach(m=>{m.removeEventListener("mouseenter",Z),m.removeEventListener("mouseleave",re)})}},[X,G,v,T])}function BS(v,X,G,T){te.useEffect(()=>{yv(v,X,G),mv(v,X,G,T)},[G,X,v,T])}function jS(v,X){te.useEffect(()=>{if(!v.current)return;let G=!1,T=0;const Z=()=>{G=!0},re=()=>{G=!1,T=Date.now()};let Ae=!1,pe=0;const D=()=>{Ae=!0},m=()=>{Ae=!1,pe=Date.now()},w=()=>{pe=Date.now()},Y=()=>{if(!v.current)return;const P=window.getSelection();if(!P||P.rangeCount===0||X.current||G||Ae||Date.now()-pe<500)return;const V=P.getRangeAt(0);if(!V.collapsed)return v.current.contains(V.commonAncestorContainer),void 0;const ze=P.anchorNode;if(!ze||!v.current.contains(ze))return;let $=null;if(ze.nodeType===Node.ELEMENT_NODE?$=ze.closest('[data-type="variable"]'):ze.nodeType===Node.TEXT_NODE&&ze.parentElement&&($=ze.parentElement.closest('[data-type="variable"]')),!$){if(Date.now()-T>500)return;const le=v.current.querySelectorAll('[data-type="variable"]');if(le.length>0){let ie=null;for(const oe of Array.from(le))if(oe.style.display!=="none"){ie=oe;break}if(!ie&&le.length>0&&(ie=le[0]),ie){const oe=document.createRange();oe.selectNodeContents(ie),oe.collapse(!1),P.removeAllRanges(),P.addRange(oe),ie.focus()}else P.removeAllRanges()}else P.removeAllRanges()}},ye=v.current;return ye&&(ye.addEventListener("compositionstart",D),ye.addEventListener("compositionend",m),ye.addEventListener("input",w)),document.addEventListener("mousedown",Z),document.addEventListener("mouseup",re),document.addEventListener("selectionchange",Y),()=>{const P=v.current;P&&(P.removeEventListener("compositionstart",D),P.removeEventListener("compositionend",m),P.removeEventListener("input",w)),document.removeEventListener("mousedown",Z),document.removeEventListener("mouseup",re),document.removeEventListener("selectionchange",Y)}},[v,X])}const ub=({config:v,onSend:X,isProcessing:G=!1,disabled:T=!1,width:Z,lockStructure:re=!1,agentOptions:Ae=[],onAgentSelect:pe,onAgentExit:D,loading:m=!1,placeholder:w,border:Y,background:ye="transparent",hideButtons:P})=>{const V=te.useRef(null),ze=te.useRef(null),[$,le]=te.useState({}),[ie,oe]=te.useState(null),[se,qe]=te.useState(null),ge=te.useRef(!1),Ee=te.useRef(null),[Ge,ce]=te.useState(!1),we=te.useRef(null),[Te,Ce]=te.useState(!0),[Ie,F]=te.useState(()=>{const ue={};return v.forEach(he=>{he.type==="multi-variable"&&he.key&&(ue[he.key]=1)}),ue}),K=te.useRef({}),S=te.useRef({}),R=te.useRef({});te.useEffect(()=>{S.current=$},[$]),te.useEffect(()=>{R.current=Ie},[Ie]);const U=te.useCallback(ue=>ue.find(Se=>Se.type==="tag")?.text||null,[]),fe=te.useRef(v),M=te.useRef(null);te.useEffect(()=>{const ue=U(fe.current),he=U(v);if(ue&&ue!==he&&V.current){const Se={};V.current.querySelectorAll('[data-type="variable"]').forEach(xe=>{const Xe=xe.dataset.key;if(Xe){const Ue=xe.innerText.replace(/[\u200B\n]/g,"").trim();Ue&&(Se[Xe]=Ue)}}),V.current.querySelectorAll('[data-type="select"]').forEach(xe=>{const Xe=xe.dataset.key;if(Xe){const Ue=xe.value.trim();Ue&&(Se[Xe]=Ue)}}),V.current.querySelectorAll('[data-type="textarea"]').forEach(xe=>{const Xe=xe.dataset.key;if(Xe){const Ue=xe.value.replace(/[\u200B]/g,"").trim();Ue&&(Se[Xe]=Ue)}}),K.current[ue]={variableValues:Se,files:{...S.current},multiVariableCounts:{...R.current}}}if(he&&K.current[he]){const Se=K.current[he];M.current=Se,le(Se.files),F(Se.multiVariableCounts)}else if(he){M.current=null;const Se={};v.forEach(Re=>{Re.type==="multi-variable"&&Re.key&&(Se[Re.key]=1)}),F(Se),le({})}else M.current=null,F({}),le({});fe.current=v},[v,U]),te.useLayoutEffect(()=>{M.current&&V.current&&(V.current.__tempVariableValues=M.current.variableValues,setTimeout(()=>{M.current&&(M.current=null)},0))}),HS(V,v,$,re,Ie,we,void 0,P),NS(V,v,$,qe),qS(V,v,qe,P),_S(V,v,$,qe),wS(V,v,qe),BS(V,v,$,ce),jS(V,ge),te.useEffect(()=>{if(!V.current)return;V.current.querySelectorAll('[data-type="datepicker"]').forEach(he=>{const Se=he,Re=Se.dataset.key||"";if(Se.__dpRoot)return;const be=zS.createRoot(Se);Se.__dpRoot=be;const Oe=Se.getAttribute("data-placeholder")||"",xe=Se.getAttribute("data-value")||"",Xe=xe?CS(xe):void 0;be.render(ne.jsx(sS.DatePicker,{className:"rte-datepicker-input",placeholder:Oe,prefix:ne.jsx(dv,{}),value:Xe,onChange:(Ue,Qe)=>{const Fe=Array.isArray(Qe)?Qe[0]:Qe;Se.setAttribute("data-value",Fe||"");const Ye=V.current;Ye&&(Ye.__tempVariableValues={...Ye.__tempVariableValues||{},[Re]:Fe||""})}}))})},[v,Ie]),te.useEffect(()=>{if(v.length>0){Ce(!1);return}const ue=()=>{if(!V.current){Ce(!0);return}const Se=V.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"",Re=V.current.querySelectorAll('[data-type="variable"]'),be=V.current.querySelectorAll('[data-type="upload"]');let Oe=!1;Re.forEach(Xe=>{(Xe.textContent?.replace(/[\u200B\n]/g,"").trim()||"")&&(Oe=!0)}),be.forEach(Xe=>{Xe.querySelector(".upload-inner-wrapper.has-file")&&(Oe=!0)});const xe=!Se&&!Oe;Ce(xe),v.length===0&&ce(!xe)};ue();const he=new MutationObserver(ue);return V.current&&he.observe(V.current,{childList:!0,subtree:!0,characterData:!0}),()=>{he.disconnect()}},[v]);const ve=ue=>{if(T){ue.preventDefault();return}ue.preventDefault();const he=ue.clipboardData.getData("text/plain"),Se=window.getSelection();if(Se&&Se.rangeCount>0){const Re=Se.anchorNode;if(Re){let be=null;if(Re.nodeType===Node.ELEMENT_NODE?be=Re.closest('[data-type="variable"]'):Re.nodeType===Node.TEXT_NODE&&Re.parentElement&&(be=Re.parentElement.closest('[data-type="variable"]')),be){const Oe=be.dataset.multiKey;if(Oe){const xe=/[、,,\s\n\r\t]+/,Xe=he.split(xe).map(Ue=>Ue.trim()).filter(Ue=>Ue.length>0);if(console.log("[Paste Event] 粘贴的内容:",he),console.log("[Paste Event] 拆分后的值:",Xe),Xe.length>1){const Ue=parseInt(be.dataset.index||"0",10),Qe=v.find(Wt=>Wt.type==="multi-variable"&&Wt.key===Oe)?.maxCount||9,Fe=Ie[Oe]||1,Ye=Math.min(Ue+Xe.length,Qe);Ye>Fe&&F(wt=>({...wt,[Oe]:Ye}));const at=[];for(let wt=0;wt<Fe;wt++){const Wt=`${Oe}_${wt}`,ma=V.current.querySelector(`[data-type="variable"][data-key="${Wt}"][data-multi-key="${Oe}"]`);if(ma){const Jl=ma.innerText.replace(/[\u200B\n]/g,"").trim();at.push(Jl)}}at.splice(Ue,1,...Xe.slice(0,Qe-Ue));const Ot=at.slice(0,Qe);Ot.length>0&&Ot[Ot.length-1]!==""&&Ot.length<Qe&&Ot.push("");const Ne=Math.max(Ot.length,1),St={};Ot.forEach((wt,Wt)=>{wt&&(St[`${Oe}_${Wt}`]=wt)}),V.current.querySelectorAll('[data-type="variable"]').forEach(wt=>{const Wt=wt.dataset.key,ma=wt.dataset.multiKey;if(Wt&&ma!==Oe){const Jl=wt.innerText.replace(/[\u200B\n]/g,"").trim();Jl&&(St[Wt]=Jl)}}),V.current.__tempVariableValues=St,F(wt=>({...wt,[Oe]:Ne})),console.log("[Paste Event] 粘贴完成,已填充到多个输入框,值:",Ot);return}else Xe.length===1&&console.log("[Paste Event] 粘贴单个值,将在失去焦点时检查是否需要拆分")}}}}document.execCommand("insertText",!1,he),xt(),setTimeout(()=>{const Re=window.getSelection();if(Re&&Re.rangeCount>0){const be=Re.anchorNode;if(be){let Oe=null;if(be.nodeType===Node.ELEMENT_NODE?Oe=be.closest('[data-type="variable"][data-multi-key]'):be.nodeType===Node.TEXT_NODE&&be.parentElement&&(Oe=be.parentElement.closest('[data-type="variable"][data-multi-key]')),Oe){const xe=Oe.innerText.replace(/[\u200B\n]/g,"").trim();/[、,,\s]+/.test(xe)&&(console.log("[Paste Event] 粘贴后检测到分隔符,内容:",xe),console.log("[Paste Event] 提示:失去焦点后将自动拆分"))}}}},0)},de=ue=>{if(ue.target.files&&ue.target.files[0]&&ie){const he=ue.target.files[0],Se=ie;le(Re=>({...Re,[Se]:he}))}ue.target&&(ue.target.value=""),oe(null)},Me=ue=>{le(he=>{const Se={...he};return delete Se[ue],Se})},Le=ue=>{const he=ue.target;if(he.closest(".tag-close-btn")){if(ue.preventDefault(),ue.stopPropagation(),re)return;qe(null),D?D():V.current&&(V.current.innerHTML="",V.current.focus());return}if(re){const be=he.closest(".tag-node"),Oe=he.closest('[data-type="text"]');if(be||Oe){ue.preventDefault(),ue.stopPropagation();const xe=window.getSelection();xe&&xe.removeAllRanges();return}}he.closest('[data-type="variable"]')||(Ee.current={x:ue.clientX,y:ue.clientY},ge.current=!1,he.closest(".file-remove-btn")&&(ue.preventDefault(),ue.stopPropagation()))},Pe=ue=>{if(!ue.target.closest('[data-type="variable"]')&&Ee.current){const Re=Math.abs(ue.clientX-Ee.current.x),be=Math.abs(ue.clientY-Ee.current.y);(Re>3||be>3)&&(ge.current=!0)}},lt=ue=>{if(ue.target.closest('[data-type="variable"]')){Ee.current=null,ge.current=!1;return}Ee.current=null,ge.current=!1},Je=ue=>{if(T)return;const he=ue.target;if(he.closest('[data-type="datepicker"]'))return;if(he.closest(".tag-close-btn")){ue.preventDefault(),ue.stopPropagation();return}if(v.length===0)return;const be=(Ye,at)=>{if(!V.current)return;Array.from(V.current.children).forEach(Ne=>{if(Ne!==Ye)if(at)Ne.dataset.prevDisplay===void 0&&(Ne.dataset.prevDisplay=Ne.style.display||""),Ne.style.setProperty("display","none","important");else if(Ne.dataset.prevDisplay!==void 0){const St=Ne.dataset.prevDisplay;St?Ne.style.display=St:Ne.style.removeProperty("display"),delete Ne.dataset.prevDisplay}else Ne.style.removeProperty("display")})},Oe=he.closest(".rte-textarea-toggle");if(Oe){ue.preventDefault(),ue.stopPropagation();const Ye=Oe.closest(".rte-textarea-wrapper"),at=Ye?.querySelector('[data-type="textarea"]'),Ne=!(Oe.getAttribute("data-expanded")==="true");Oe.setAttribute("data-expanded",String(Ne)),Oe.textContent=Ne?"收起":"展开",Ye&&Ye.classList.toggle("rte-textarea-expanded",Ne);const St=Ye?.closest(".rte-textarea-required");if(St?St.classList.toggle("rte-textarea-overlay",Ne):Ye&&Ye.classList.toggle("rte-textarea-overlay",Ne),at)if(Ne)at.classList.add("rte-textarea-expanded"),at.style.maxHeight="none",at.style.height="100%";else{at.classList.remove("rte-textarea-expanded");const Tt=at.dataset.maxHeight||"252";at.style.maxHeight=`${Tt}px`,at.style.height="auto"}V.current&&(Ne?V.current.classList.add("rte-overlay-active"):V.current.classList.remove("rte-overlay-active"));return}const xe=he.closest(".rte-richtext-toggle");if(xe){ue.preventDefault(),ue.stopPropagation();const Ye=xe.closest(".rte-richtext-wrapper"),at=Ye?.querySelector('[data-type="richtext"]'),Ne=!(xe.getAttribute("data-expanded")==="true");xe.setAttribute("data-expanded",String(Ne)),xe.textContent=Ne?"收起":"展开";const St=Ye?.closest(".rte-richtext-required");St?St.classList.toggle("rte-richtext-expanded",Ne):Ye&&Ye.classList.toggle("rte-richtext-expanded",Ne);const Tt=Ye?.closest(".exclusion-wrapper")||Ye?.parentElement;at&&(Ne?(at.style.height="100%",at.style.overflow="auto"):(at.style.height="",at.style.overflow="")),Tt&&(Tt.classList.toggle("rte-richtext-host-expanded",Ne),be(Tt,Ne)),V.current&&V.current.classList.toggle("rte-richtext-fullscreen-active",Ne);return}if(he.closest('[data-type="text"]')){ue.preventDefault(),ue.stopPropagation();const Ye=window.getSelection();Ye&&Ye.removeAllRanges();return}if(re&&he.closest(".tag-node")){ue.preventDefault(),ue.stopPropagation();const at=window.getSelection();at&&at.removeAllRanges();return}if(he.closest('[data-type="variable"]')){if(ge.current)return;setTimeout(()=>{const Ye=window.getSelection();Ye&&!Ye.isCollapsed||gv(V)},10);return}const Qe=he.closest(".file-remove-btn");if(Qe){ue.preventDefault(),ue.stopPropagation();const at=Qe.closest('[data-type="upload"]')?.dataset.key;at&&Me(at);return}const Fe=he.closest('[data-type="upload"]');if(Fe){const Ye=Fe.dataset.key;Ye&&(oe(Ye),ze.current?.click());return}},nt=ue=>{const Se=ue.target.closest('[data-type="variable"]');if(Se){const Re=window.getSelection();if(Re){const be=document.createRange(),Oe=Se.textContent||"";if(Oe.replace(/\u200B/g,"")){let Xe=0,Ue=Oe.length;Oe.startsWith("")&&(Xe=1),Oe.endsWith("")&&Oe.length>1&&(Ue=Oe.length-1);const Qe=Se.firstChild;Qe&&Qe.nodeType===Node.TEXT_NODE?(be.setStart(Qe,Xe),be.setEnd(Qe,Ue)):be.selectNodeContents(Se)}else be.selectNodeContents(Se),be.collapse(!0);Re.removeAllRanges(),Re.addRange(be)}}},xt=()=>{if(v.length===0){if(V.current){const Se=!(V.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"");Ce(Se),ce(!Se)}return}if(gv(V),V.current&&V.current.querySelectorAll('[data-type="variable"]').forEach(Se=>{const Re=Se.querySelector(".variable-info-icon");if(Re){let be=!1;const Oe=document.createTreeWalker(Se,NodeFilter.SHOW_TEXT,{acceptNode:xe=>Re.contains(xe)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});for(;Oe.nextNode();)if(Oe.currentNode.textContent?.replace(/[\u200B\n]/g,"").trim()){be=!0;break}be?Re.classList.add("hidden"):Re.classList.remove("hidden")}}),yv(V,v,$),mv(V,v,$,ce),!V.current)return;v.filter(he=>he.type==="multi-variable"&&he.key).forEach(he=>{if(!he.key)return;const Se=he.maxCount||9,Re=Ie[he.key]||1,be=[];for(let Qe=0;Qe<Re;Qe++){const Fe=`${he.key}_${Qe}`,Ye=V.current.querySelector(`[data-type="variable"][data-key="${Fe}"][data-multi-key="${he.key}"]`);if(Ye){const at=Ye.innerText.replace(/[\u200B\n]/g,"").trim();be.push(at)}}const xe=(be[be.length-1]||"")==="";let Xe=!1,Ue=-1;for(let Qe=0;Qe<be.length-1;Qe++)if(be[Qe]===""){Xe=!0,Ue=Qe;break}if(Xe&&Ue>=0){const Qe=window.getSelection();if(Qe&&Qe.rangeCount>0){const Ne=Qe.getRangeAt(0),St=Ne.startContainer,Tt=St.nodeType===Node.ELEMENT_NODE?St.closest('[data-type="variable"][data-multi-key]'):St.parentElement?.closest('[data-type="variable"][data-multi-key]');if(Tt){const wt=Tt.dataset.key;if(wt){const Wt=document.createRange();Wt.setStartBefore(Tt),Wt.setEnd(Ne.startContainer,Ne.startOffset);const ma=Wt.toString().length;we.current={key:wt,offset:ma}}}}const Fe=[...be];for(let Ne=Ue;Ne<Fe.length-1;Ne++)Fe[Ne]=Fe[Ne+1];Fe.pop();const Ye={};Fe.forEach((Ne,St)=>{Ne&&(Ye[`${he.key}_${St}`]=Ne)});const at=Math.max(xe?Fe.length:Fe.length+1,1);V.current.querySelectorAll('[data-type="variable"]').forEach(Ne=>{const St=Ne.dataset.key,Tt=Ne.dataset.multiKey;if(St&&Tt!==he.key){const wt=Ne.innerText.replace(/[\u200B\n]/g,"").trim();wt&&(Ye[St]=wt)}}),V.current.__tempVariableValues=Ye,F(Ne=>({...Ne,[he.key]:at}));return}if(!xe){const Qe=Re-1,Fe=`${he.key}_${Qe}`,Ye=V.current.querySelector(`[data-type="variable"][data-key="${Fe}"][data-multi-key="${he.key}"]`);if(Ye&&Ye.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&Re<Se){const Ot=window.getSelection();if(Ot&&Ot.rangeCount>0){const Ne=Ot.getRangeAt(0),St=Ne.startContainer,Tt=St.nodeType===Node.ELEMENT_NODE?St.closest('[data-type="variable"][data-multi-key]'):St.parentElement?.closest('[data-type="variable"][data-multi-key]');if(Tt){const wt=Tt.dataset.key;if(wt){const Wt=document.createRange();Wt.setStartBefore(Tt),Wt.setEnd(Ne.startContainer,Ne.startOffset);const ma=Wt.toString().length;we.current={key:wt,offset:ma}}}}F(Ne=>({...Ne,[he.key]:Re+1}))}}})};te.useLayoutEffect(()=>{const ue=V.current;if(!ue)return;const he=new Map,Se=Oe=>{const xe=Oe.target,Xe=Oe.relatedTarget;!xe||!V.current||!V.current.contains(xe)||Xe&&V.current.contains(Xe)||setTimeout(()=>{if(V.current){if(v.length===0){const Ue=V.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";ce(Ue.length>0);return}gv(V),yv(V,v,$),mv(V,v,$,ce)}},0)};ue.addEventListener("blur",Se,!0);const Re=()=>{if(!V.current)return;he.forEach((Xe,Ue)=>{Ue.removeEventListener("blur",Xe,!1)}),he.clear();const Oe=V.current.querySelectorAll('[data-type="variable"][data-multi-key]'),xe=Xe=>{Xe.stopPropagation(),Xe.stopImmediatePropagation();const Ue=Xe.target;if(!Ue||!V.current||!V.current.contains(Ue))return;const Qe=Ue.closest('[data-type="variable"][data-multi-key]');if(!Qe||!V.current.contains(Qe))return;let Fe=!1;if(he.forEach((Wt,ma)=>{(ma===Qe||ma.contains(Ue))&&(Fe=!0)}),!Fe)return;const Ye=Qe.dataset.multiKey,at=Qe.dataset.key,Ot=Qe.dataset.index;if(!Ye||!at||Ot===void 0)return;const Ne=Xe.relatedTarget;if(!(!Ne||!V.current.contains(Ne)))return;const Tt=Qe.innerText.replace(/[\u200B\n]/g,"").trim();console.log("[Blur Event] 失去焦点的 multi-variable 输入框:",{multiKey:Ye,currentKey:at,index:Ot,content:Tt});const wt=/[、,,\s]+/;if(wt.test(Tt)){const Wt=Tt.split(wt).map(Kl=>Kl.trim()).filter(Kl=>Kl.length>0);console.log("[Blur Event] 拆分前的内容:",Tt),console.log("[Blur Event] 拆分后的部分:",Wt);const Jl=Wt.slice(0,9);if(console.log("[Blur Event] 有效的部分(最多9个):",Jl),Jl.length>1){const Kl=v.find(zl=>zl.type==="multi-variable"&&zl.key===Ye);if(Kl){const zl=Ie[Ye]||1,gn=parseInt(Ot,10),Ha=Kl.maxCount||9,tl=[];for(let ua=0;ua<zl;ua++){const Wa=`${Ye}_${ua}`,_n=V.current.querySelector(`[data-type="variable"][data-key="${Wa}"][data-multi-key="${Ye}"]`);if(_n){const Wl=_n.innerText.replace(/[\u200B\n]/g,"").trim();tl.push(Wl)}}console.log("[Blur Event] 拆分前的所有值:",tl),console.log("[Blur Event] 当前索引:",gn),console.log("[Blur Event] 要插入的值:",Jl),tl.splice(gn,1,...Jl);const wl=tl.slice(0,Ha);console.log("[Blur Event] 拆分后的所有值:",wl),wl.length>0&&wl[wl.length-1]!==""&&wl.length<Ha&&wl.push("");const zu=Math.max(wl.length,1),Ka={};wl.forEach((ua,Wa)=>{ua&&(Ka[`${Ye}_${Wa}`]=ua)}),V.current.querySelectorAll('[data-type="variable"]').forEach(ua=>{const Wa=ua.dataset.key,_n=ua.dataset.multiKey;if(Wa&&_n!==Ye){const Wl=ua.innerText.replace(/[\u200B\n]/g,"").trim();Wl&&(Ka[Wa]=Wl)}}),V.current.__tempVariableValues=Ka,F(ua=>({...ua,[Ye]:zu}))}}}};Oe.forEach(Xe=>{Xe.addEventListener("blur",xe,!1),he.set(Xe,xe)})},be=setTimeout(()=>{Re()},0);return()=>{clearTimeout(be),ue.removeEventListener("blur",Se,!0),he.forEach((Oe,xe)=>{xe.removeEventListener("blur",Oe,!1)}),he.clear()}},[v,Ie,$]);const Rt=ue=>{if(T){ue.preventDefault();return}const he=window.getSelection();if(he&&he.rangeCount>0){const Se=he.anchorNode;let Re=null;if(Se&&(Se.nodeType===Node.ELEMENT_NODE?Re=Se.closest('[data-type="text"]'):Se.nodeType===Node.TEXT_NODE&&Se.parentElement&&(Re=Se.parentElement.closest('[data-type="text"]'))),Re){if(ue.preventDefault(),ue.stopPropagation(),V.current){const be=V.current.querySelector('[data-type="variable"], [data-type="upload"]');be&&be.focus()}return}}if(re&&he&&he.rangeCount>0){const Se=he.anchorNode;let Re=null;if(Se&&(Se.nodeType===Node.ELEMENT_NODE?Re=Se.closest(".tag-node"):Se.nodeType===Node.TEXT_NODE&&Se.parentElement&&(Re=Se.parentElement.closest(".tag-node"))),Re){if(ue.preventDefault(),ue.stopPropagation(),V.current){const be=V.current.querySelector('[data-type="variable"], [data-type="upload"]');be&&be.focus()}return}}if(ue.key==="Enter"&&!ue.shiftKey&&(ue.preventDefault(),gl()),ue.key==="Escape"&&V.current){if(re){ue.preventDefault();return}V.current.innerHTML="",V.current.focus()}if(ue.key==="Backspace"){const Se=window.getSelection();if(Se&&Se.rangeCount>0){const Re=Se.getRangeAt(0),be=Se.anchorNode;if(re){let xe=null,Xe=null;if(be&&(be.nodeType===Node.ELEMENT_NODE?(xe=be.closest(".tag-node"),Xe=be.closest('[data-type="text"]')):be.nodeType===Node.TEXT_NODE&&be.parentElement&&(xe=be.parentElement.closest(".tag-node"),Xe=be.parentElement.closest('[data-type="text"]'))),(xe||Xe)&&Re.collapsed&&Re.startOffset===0){ue.preventDefault();return}}let Oe=null;if(be&&(be.nodeType===Node.ELEMENT_NODE?Oe=be.closest('[data-type="variable"]'):be.nodeType===Node.TEXT_NODE&&be.parentElement&&(Oe=be.parentElement.closest('[data-type="variable"]'))),Oe){if(!Re.collapsed)return;const xe=Oe.innerText;if(xe===""||xe===""){ue.preventDefault();return}if(Re.startOffset===0){ue.preventDefault();return}if(xe.startsWith("")&&Re.startOffset===1){ue.preventDefault();return}}}}},gl=()=>{if(G||T||m||!Ge||!V.current)return;if(v.length===0){const Oe=V.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";if(!Oe)return;X(Oe,Oe);return}const ue=V.current;let he="";const Se={},Re=Oe=>{if(!(Oe.nodeType===Node.ELEMENT_NODE&&Oe.style.display==="none")){if(Oe.nodeType===Node.TEXT_NODE)he+=(Oe.textContent||"").replace(/\u200B/g,"");else if(Oe.nodeType===Node.ELEMENT_NODE){const xe=Oe,Xe=xe.dataset.type,Ue=xe.dataset.key;if(Xe==="variable"&&Ue){let Qe="";const Fe=document.createTreeWalker(xe,NodeFilter.SHOW_TEXT,{acceptNode:at=>{const Ot=xe.querySelector(".variable-info-icon");return Ot&&Ot.contains(at)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});for(;Fe.nextNode();)Qe+=Fe.currentNode.textContent||"";const Ye=Qe.replace(/[\u200B\n]/g,"").trim();if(Ye){const at=xe.dataset.multiKey;if(at){(!Se[at]||!Array.isArray(Se[at]))&&(Se[at]=[]);const Ot=Se[at];Ot.push(Ye),Ot.length>1&&(he+=" "),he+=Ye}else Se[Ue]=Ye,he+=Ye}}else if(Xe==="select"&&Ue){const Qe=xe,Fe=(Qe.value||"").trim();if(Fe){Se[Ue]=Fe;const Ye=Qe.selectedOptions?.[0];he+=Ye?.textContent||Fe}}else if(Xe==="textarea"&&Ue){const Fe=(xe.value||"").replace(/\u200B/g,"").trim();Fe&&(Se[Ue]=Fe,he+=Fe)}else if(Xe==="richtext"&&Ue){const Fe=(xe.textContent||"").replace(/\u200B/g,"").trim();Fe&&(Se[Ue]=Fe,he+=Fe)}else if(Xe==="datepicker"&&Ue){const Fe=(xe.getAttribute("data-value")||"").trim();Fe&&(Se[Ue]=Fe,he+=Fe)}else if(Xe==="upload"&&Ue)Se[Ue]=$[Ue]??null,$[Ue]&&(he+=` [附带文件: ${$[Ue]?.name}] `);else{if(xe.classList.contains("tag-close-btn")||xe.classList.contains("file-remove-btn"))return;xe.getAttribute("contenteditable")==="false"&&!Xe&&xe.classList.contains("tag-node")?he+=xe.innerText:xe.childNodes.forEach(Re)}}}};if(ue.childNodes.forEach(Re),he=he.trim(),!he)return;const be=new FormData;be.append("fullPrompt",he),Object.keys(Se).forEach(Oe=>{const xe=Se[Oe];xe!=null&&(xe instanceof File?be.append(Oe,xe):Array.isArray(xe)?v.some(Ue=>Ue.type==="multi-variable"&&Ue.key===Oe)?xe.forEach(Ue=>{Ue!=null&&Ue!==""&&be.append(Oe,String(Ue))}):xe.forEach((Ue,Qe)=>{Ue!=null&&(Ue instanceof File?be.append(`${Oe}[${Qe}]`,Ue):typeof Ue=="string"?be.append(`${Oe}[${Qe}]`,Ue):be.append(`${Oe}[${Qe}]`,String(Ue)))}):typeof xe=="string"?be.append(Oe,xe):be.append(Oe,String(xe)))}),X(be,he)},Ja={...Z?{width:typeof Z=="number"?`${Z}px`:Z}:{},...Y?{border:Y}:{},...ye?{background:ye}:{}};return ne.jsxs("div",{className:"rich-text-editor",style:Ja,"data-disabled":T,children:[ne.jsx("div",{ref:V,className:`rte-editor ${v.length===0?"rte-editor-default":""} ${Te&&w?"rte-editor-empty":""}`,contentEditable:v.length===0,suppressContentEditableWarning:!0,"data-placeholder":w,onMouseDown:Le,onMouseMove:Pe,onMouseUp:lt,onClick:Je,onDoubleClick:nt,onInput:xt,onKeyDown:Rt,onPaste:ve}),ne.jsx("input",{type:"file",ref:ze,className:"rte-file-input",accept:".csv,.xlsx,.xls,.txt,.pdf,image/*",onChange:de}),ne.jsxs("div",{className:"rich-text-editor-footer",children:[ne.jsx("div",{className:"rich-text-editor-footer-left",children:ne.jsxs("div",{className:"rich-text-editor-brand",children:[ne.jsxs("div",{className:"rte-brand-badge",children:[ne.jsx("img",{src:"https://oospublic.sealseek.cn/file/website/ball.png",alt:""}),ne.jsx("span",{className:"rte-brand-text",children:"SealSeek 1.0"})]}),P!=="hideAgent"&&ne.jsx(qt.Dropdown,{placement:"top",menu:{items:Ae.map(ue=>({key:ue.key,label:ne.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[ue.icon&&ne.jsx("i",{className:ue.icon}),ne.jsx("span",{children:ue.label})]}),onClick:()=>{pe?.(ue)}}))},trigger:["click"],disabled:T||G,children:ne.jsxs("div",{className:"rte-agent-badge",style:{cursor:Ae.length>0?"pointer":"default"},children:[ne.jsx("i",{className:"iconfont icon-zhinengti"}),ne.jsx("span",{className:"rte-agent-text",children:"智能体"})]})})]})}),ne.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(()=>{const ue=v.find(Se=>Se.type==="tag");if(!ue||!ue.text)return null;const he=Ae.find(Se=>Se.label===ue.text);return!he||he.points===void 0||he.points===null?null:ne.jsxs("div",{className:"rte-points-badge",children:[ne.jsx("i",{className:"iconfont icon-jifen",style:{marginRight:"4px"}}),ne.jsxs("span",{style:{fontSize:"16px"},children:["-",String(he.points)]})]})})(),ne.jsx("button",{type:"button",onClick:gl,disabled:G||T||m||!Ge,className:"rich-text-editor-send-button",children:G||m?ne.jsx("span",{className:"rte-send-spinner"}):ne.jsx("i",{className:"iconfont icon-fasong"})})]})]}),se?.anchorEl&&(()=>{if(!document.body.contains(se.anchorEl))return null;let ue="",he={background:"var(--neutral-800, #262626)"};if(se.type==="upload")ue=v.find(be=>be.type==="upload"&&be.key===se.key)?.tooltip||"";else if(se.type==="tag")ue=se.anchorEl.dataset.tooltip||"";else if(se.type==="upload-label")ue=se.anchorEl.dataset.fileName||"";else if(se.type==="variable")ue=se.anchorEl.dataset.tooltip||"";else if(se.type==="upload-preview"){const Re=$[se.key];if(Re&&Re.type&&Re.type.startsWith("image/")){const be=URL.createObjectURL(Re);ue=ne.jsx("div",{style:{width:120,height:120,display:"flex",alignItems:"center",justifyContent:"center"},children:ne.jsx("img",{src:be,style:{maxWidth:120,maxHeight:120,objectFit:"contain"}})}),he={background:"#fff",padding:4},setTimeout(()=>URL.revokeObjectURL(be),1e3)}else ue=""}if(!ue)return null;const Se=se.type==="upload-preview"?"#0A0A0A":"#fff";return rv.createPortal(ne.jsx(qt.Tooltip,{arrow:!1,title:ne.jsx("div",{style:{maxWidth:"200px",fontSize:"12px",color:Se},children:ue}),open:!0,placement:"top",getPopupContainer:()=>document.body,overlayInnerStyle:he,children:ne.jsx("div",{style:{position:"fixed",left:`${se.anchorEl.getBoundingClientRect().left}px`,top:`${se.anchorEl.getBoundingClientRect().top}px`,width:`${se.anchorEl.offsetWidth}px`,height:`${se.anchorEl.offsetHeight}px`,pointerEvents:"none"}})}),document.body)})()]})};ub.__docgenInfo={displayName:"RichTextEditor",description:"结构化富文本输入组件,支持标签、变量输入块、文件上传以及互斥显示逻辑。",props:{config:{name:"config",required:!0,description:"结构化输入配置节点数组",type:{name:"InputNode[]",raw:"InputNode[]"}},onSend:{name:"onSend",required:!0,description:"点击发送按钮时的回调,返回数据与拼接后的 Prompt",type:{name:"function",raw:"(data: Record<string, any>, fullPrompt: string) => void"}},isProcessing:{name:"isProcessing",required:!1,description:"是否处于处理状态(禁用输入与发送)",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}}}};const ib="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==",VS=[{label:"5页",value:5},{label:"10页",value:10},{label:"15页",value:15},{label:"30页",value:30}],GS=({autoLoading:v,batchSize:X,loadingProgress:G,loadIcon:T,onBatchSizeChange:Z,onLoadNextPage:re,onStartAutoLoad:Ae,onStopLoad:pe})=>v&&G?ne.jsxs("div",{className:"auto_load_progress",children:[T||ne.jsx("img",{src:ib,alt:"自动加载",width:14,height:14}),ne.jsxs("span",{children:["正在加载第",G.currentPage,"/",G.totalPages,"页"]}),ne.jsx(qt.Progress,{percent:G.percentage,type:"line",size:[160,8]}),ne.jsx("span",{onClick:pe,className:"auto_load_stop_btn",children:"停止加载"})]}):ne.jsxs("div",{className:"auto_load_container",children:[ne.jsx("div",{onClick:re,className:"auto_load_next_btn",style:{backgroundColor:v?"#f5f5f5":"#2563eb"},children:"加载下一页"}),ne.jsxs("div",{className:"right_control_wrap",style:{backgroundColor:v?"#f5f5f5":"#2563eb"},children:[ne.jsxs("div",{className:"auto_load_btn",onClick:v?void 0:Ae,children:[T||ne.jsx("img",{src:ib,alt:"自动加载",width:14,height:14}),ne.jsx("span",{children:"自动加载"})]}),ne.jsx(qt.Select,{value:X,onChange:Z,options:VS,disabled:v,size:"small",className:"auto_load_select",popupMatchSelectWidth:84})]})]}),YS=({current:v,loadIcon:X,pageSize:G,total:T,cachedPages:Z,loadedCount:re,autoLoading:Ae=!1,loadingProgress:pe,onChange:D,onLoadNextPage:m,onStartAutoLoad:w,onStopLoading:Y})=>{const[ye,P]=te.useState(5),V=Math.ceil(T/G),ze=te.useMemo(()=>Z.length>=V,[Z,V]),$=()=>Array.from({length:V},(oe,se)=>se+1).filter(oe=>!Z.includes(oe)).slice(0,ye),le=(ie,oe,se)=>{const qe=Z.includes(ie);return oe==="prev"||oe==="next"||oe==="jump-prev"||oe==="jump-next"?ne.jsx("div",{className:"pageBox",children:se}):ne.jsxs("div",{className:"pageBox",style:{backgroundColor:v===ie?"#2563EB":"#f5f5f5",color:v===ie?"#fff":qe?"#171717":"#a3a3a3"},children:[ie,!qe&&ne.jsx("span",{className:"unload_spot"})]})};return ne.jsxs("div",{className:"pagination_footer",children:[ne.jsxs("div",{className:"pagination_leftWrap",children:[ne.jsxs("span",{className:"pagination_total",children:[ne.jsx(eo.InfoCircleOutlined,{style:{color:"#2563EB",marginRight:"4px"}}),"已加载: ",re,"/",T,"条数据"]}),!ze&&ne.jsx(GS,{loadIcon:X||void 0,autoLoading:Ae,batchSize:ye,loadingProgress:pe,disabled:!m||!w,onBatchSizeChange:P,onLoadNextPage:()=>m?.(),onStartAutoLoad:()=>{const ie=$();w?.(ie)},onStopLoad:()=>Y?.()})]}),ne.jsx(qt.Pagination,{current:v,pageSize:G,total:T,onChange:ie=>D(ie),showSizeChanger:!1,showQuickJumper:!1,showTotal:(ie,oe)=>"",itemRender:le})]})},cb=v=>{const{loading:X,autoLoading:G,loadingProgress:T,columns:Z=[],dataSource:re=[],total:Ae,current:pe,pageSize:D,cachedPages:m,onChangePage:w,onLoadNextPage:Y,onStartAutoLoad:ye,onStopLoading:P,...V}=v,ze=te.useRef(null),$=te.useCallback(le=>{w(le),m.includes(le)&&ze.current?.scrollTo({key:`${(le-1)*D+1}`})},[pe]);return ne.jsxs("div",{className:"flex flex-col",children:[ne.jsx(qt.Table,{ref:ze,...V,columns:Z,dataSource:re,pagination:!1,virtual:!0}),ne.jsx(YS,{loading:X,autoLoading:G,loadingProgress:T,current:pe,pageSize:D,total:Ae,loadedCount:re.length,cachedPages:m,onChange:$,onLoadNextPage:Y,onStartAutoLoad:ye,onStopLoading:P})]})};cb.__docgenInfo={displayName:"VirtualTable",description:"虚拟滚动表格组件,支持分页、数据缓存和自动加载功能。",props:{loading:{description:"加载状态",name:"loading",required:!0,type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},total:{description:"总数据条数",name:"total",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"0"}},current:{description:"当前页码",name:"current",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"1"}},pageSize:{description:"每页数据条数",name:"pageSize",required:!0,type:{name:"number",raw:"number"},defaultValue:{value:"10"}},cachedPages:{description:"已缓存的页码数组",name:"cachedPages",required:!0,type:{name:"number[]",raw:"number[]"},defaultValue:{value:"[]"}},dataSource:{description:"数据源",name:"dataSource",required:!0,type:{name:"Array<T>",raw:"Array<T>"},defaultValue:{value:"[]"}},onChangePage:{description:"页码变更回调函数",name:"onChangePage",required:!0,type:{name:"function",raw:"function(page: number): void"},defaultValue:{value:"-"}},autoLoading:{description:"是否正在自动加载",name:"autoLoading",required:!0,type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},loadingProgress:{description:"加载进度信息",name:"loadingProgress",required:!0,type:{name:"object",raw:"{percentage: 0, currentPage: 1, totalPages: 5}"},defaultValue:{value:"-"}},onLoadNextPage:{description:"加载下一页回调函数",name:"onLoadNextPage",required:!1,type:{name:"function",raw:"function(page: number): void"},defaultValue:{value:"-"}},onStartAutoLoad:{description:"开始自动加载回调函数",name:"onStartAutoLoad",required:!1,type:{name:"function",raw:"function(loadNextPages: number[]): void"},defaultValue:{value:"-"}},onStopLoading:{description:"停止加载回调函数",name:"onStopLoading",required:!1,type:{name:"function",raw:"function(): void"},defaultValue:{value:"-"}},columns:{description:"表格列配置",name:"columns",required:!0,type:{name:"Array<object>",raw:"Array<object>"},defaultValue:{value:"[]"}}}};const ob=({texts:v=[],placeholder:X="请输入内容",animationSpeed:G=100,autoPlay:T=!0,value:Z,onChange:re,...Ae})=>{const[pe,D]=te.useState(""),[m,w]=te.useState(0),[Y,ye]=te.useState(!1),[P,V]=te.useState(!1),[ze,$]=te.useState(!1),le=te.useRef(void 0),ie=te.useRef(void 0),oe=te.useRef(v),se=te.useRef(m),qe=te.useRef(P),ge=te.useRef(pe);te.useEffect(()=>{oe.current=v,se.current=m,qe.current=P,ge.current=pe});const Ee=te.useCallback((F,K)=>{let S=0;$(!0);const R=()=>{S<F.length?(D(F.slice(0,S+1)),S++,ie.current=window.setTimeout(R,G)):($(!1),K?.())};R()},[G]),Ge=te.useCallback(F=>{let K=ge.current.length;const S=()=>{K>0?(D(ge.current.slice(0,K-1)),K--,ie.current=window.setTimeout(S,G/2)):F?.()};S()},[G]),ce=te.useCallback(()=>{if(oe.current.length===0||qe.current)return;ye(!0);const F=oe.current[se.current];ge.current?Ge(()=>{Ee(F,()=>{le.current=window.setTimeout(()=>{w(K=>(K+1)%oe.current.length),ye(!1)},2e3)})}):Ee(F,()=>{le.current=window.setTimeout(()=>{w(K=>(K+1)%oe.current.length),ye(!1)},2e3)})},[Ge,Ee]);te.useEffect(()=>(T&&v.length>0&&!P&&ce(),()=>{le.current&&window.clearTimeout(le.current),ie.current&&window.clearTimeout(ie.current)}),[m,P,T,v.length,ce]),te.useEffect(()=>{!Y&&T&&v.length>0&&!P&&ce()},[m,Y,T,v.length,P,ce]);const we=F=>{V(!0),le.current&&window.clearTimeout(le.current),ie.current&&window.clearTimeout(ie.current),ye(!1),$(!1),Ae.onFocus?.(F)},Te=F=>{V(!1),!Z&&v.length>0&&(D(""),w(0)),Ae.onBlur?.(F)},Ce=F=>{re?.(F.target.value),Ae.onChange?.(F)},Ie=()=>P||Z?X:pe||X;return ne.jsxs("div",{style:{position:"relative"},children:[ne.jsx(qt.Input,{...Ae,value:Z,onChange:Ce,onFocus:we,onBlur:Te,placeholder:Ie(),style:{...Ae.style,position:"relative",zIndex:1}}),!P&&!Z&&pe&&ne.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",paddingLeft:11,paddingRight:11,color:"#bfbfbf",pointerEvents:"none",zIndex:2,fontSize:14,fontFamily:"inherit"},children:[ne.jsx("span",{children:pe}),ze&&ne.jsx("span",{style:{display:"inline-block",width:1,height:"1.2em",backgroundColor:"#1890ff",marginLeft:2,animation:"blink 1s infinite"}})]}),ne.jsx("style",{children:`
|
|
307
272
|
@keyframes blink {
|
|
308
273
|
0%, 50% { opacity: 1; }
|
|
309
274
|
51%, 100% { opacity: 0; }
|
|
310
275
|
}
|
|
311
|
-
`})]})};
|
|
276
|
+
`})]})};ob.__docgenInfo={displayName:"DynamicInput",description:"动态文案输入框组件,支持流式文字动画效果",props:{texts:{name:"texts",required:!0,description:"动态展示的文案数组",type:{name:"string[]",raw:"string[]"}},placeholder:{name:"placeholder",required:!1,description:"输入框占位符",type:{name:"string",raw:"string"},defaultValue:{value:'"请输入内容"'}},animationSpeed:{name:"animationSpeed",required:!1,description:"动画速度(毫秒)",type:{name:"number",raw:"number"},defaultValue:{value:"100"}},autoPlay:{name:"autoPlay",required:!1,description:"是否自动播放动画",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},value:{name:"value",required:!1,description:"输入框值",type:{name:"string",raw:"string"}},onChange:{name:"onChange",required:!1,description:"输入框变化回调",type:{name:"function",raw:"(value: string) => void"}}}};const sb=({texts:v=[],placeholder:X="请输入内容",animationSpeed:G=100,autoPlay:T=!0,value:Z="",onChange:re,onSubmit:Ae,maxLength:pe=500,showCount:D=!0,submitText:m="发送",disabled:w=!1,rows:Y=4,style:ye,...P})=>{const[V,ze]=te.useState(""),[$,le]=te.useState(0),[ie,oe]=te.useState(!1),[se,qe]=te.useState(!1),[ge,Ee]=te.useState(!1),[Ge,ce]=te.useState(Z||""),we=te.useRef(void 0),Te=te.useRef(void 0),Ce=te.useRef(v),Ie=te.useRef($),F=te.useRef(se),K=te.useRef(V),S=te.useRef(null);te.useEffect(()=>{Ce.current=v,Ie.current=$,F.current=se,K.current=V});const R=te.useCallback((Je,nt)=>{let xt=0;Ee(!0);const Rt=()=>{xt<Je.length?(ze(Je.slice(0,xt+1)),xt++,Te.current=window.setTimeout(Rt,G)):(Ee(!1),nt?.())};Rt()},[G]),U=te.useCallback(Je=>{let nt=K.current.length;const xt=()=>{nt>0?(ze(K.current.slice(0,nt-1)),nt--,Te.current=window.setTimeout(xt,G/2)):Je?.()};xt()},[G]),fe=te.useCallback(()=>{if(Ce.current.length===0||F.current)return;oe(!0);const Je=Ce.current[Ie.current];K.current?U(()=>{R(Je,()=>{we.current=window.setTimeout(()=>{le(nt=>(nt+1)%Ce.current.length),oe(!1)},2e3)})}):R(Je,()=>{we.current=window.setTimeout(()=>{le(nt=>(nt+1)%Ce.current.length),oe(!1)},2e3)})},[U,R]);te.useEffect(()=>(T&&v.length>0&&!se&&fe(),()=>{we.current&&window.clearTimeout(we.current),Te.current&&window.clearTimeout(Te.current)}),[$,se,T,v.length,fe]),te.useEffect(()=>{!ie&&T&&v.length>0&&!se&&fe()},[$,ie,T,v.length,se,fe]);const M=Je=>{qe(!0),we.current&&window.clearTimeout(we.current),Te.current&&window.clearTimeout(Te.current),oe(!1),Ee(!1),P.onFocus?.(Je)},ve=Je=>{qe(!1),!Z&&v.length>0&&(ze(""),le(0)),P.onBlur?.(Je)},de=Je=>{const nt=Je.target.value;pe&&nt.length>pe||(re?re(nt):ce(nt),P.onChange?.(Je))},Me=()=>{const Je=re?Z:Ge;Je.trim()&&!w&&(Ae?.(Je),re||ce(""))},Le=Je=>{(Je.ctrlKey||Je.metaKey)&&Je.key==="Enter"&&(Je.preventDefault(),Me()),P.onKeyDown?.(Je)},Pe=re?Z:Ge,lt=w||!Pe.trim()||(pe?Pe.length>pe:!1);return ne.jsxs("div",{style:{position:"relative",...ye},children:[ne.jsxs("div",{style:{position:"relative"},children:[ne.jsx("textarea",{ref:S,value:re?Z:Ge,onChange:de,onFocus:Je=>{Je.target.style.borderColor="#1890ff",Je.target.style.boxShadow="0 0 0 2px rgba(24, 144, 255, 0.2)",M(Je)},onBlur:Je=>{Je.target.style.borderColor="#d9d9d9",Je.target.style.boxShadow="none",ve(Je)},onKeyDown:Le,placeholder:se||Pe?X:"",maxLength:pe,rows:Y,disabled:w,style:{width:"100%",minHeight:`${Y*24+16}px`,padding:"8px 60px 8px 12px",border:"1px solid #d9d9d9",borderRadius:"6px",fontSize:"14px",lineHeight:"1.5",fontFamily:"inherit",resize:"vertical",outline:"none",transition:"border-color 0.3s, box-shadow 0.3s",backgroundColor:"#fff",...P.style},...P}),!se&&!Pe&&V&&ne.jsxs("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"flex-start",paddingTop:8,paddingLeft:12,paddingRight:12,color:"#bfbfbf",pointerEvents:"none",zIndex:2,fontSize:14,fontFamily:"inherit",lineHeight:"1.5"},children:[ne.jsx("span",{children:V}),ge&&ne.jsx("span",{style:{display:"inline-block",width:1,height:"1.2em",backgroundColor:"#1890ff",marginLeft:2,animation:"blink 1s infinite"}})]}),ne.jsx("div",{style:{position:"absolute",bottom:8,right:8,zIndex:3},children:ne.jsx(qt.Button,{type:"primary",size:"small",icon:ne.jsx(eo.SendOutlined,{}),onClick:Me,disabled:lt,style:{borderRadius:6,minWidth:32,height:32,display:"flex",alignItems:"center",justifyContent:"center"},children:m})})]}),D&&ne.jsxs("div",{style:{marginTop:4,textAlign:"right",fontSize:"12px",color:"#999"},children:[Pe.length,"/",pe]}),ne.jsx("style",{children:`
|
|
312
277
|
@keyframes blink {
|
|
313
278
|
0%, 50% { opacity: 1; }
|
|
314
279
|
51%, 100% { opacity: 0; }
|
|
315
280
|
}
|
|
316
|
-
`})]})};
|
|
281
|
+
`})]})};sb.__docgenInfo={displayName:"DynamicTextArea",description:"动态文案文本域组件,支持流式文字动画效果",props:{texts:{name:"texts",required:!0,description:"动态展示的文案数组",type:{name:"string[]",raw:"string[]"}},placeholder:{name:"placeholder",required:!1,description:"输入框占位符",type:{name:"string",raw:"string"},defaultValue:{value:'"请输入内容"'}},animationSpeed:{name:"animationSpeed",required:!1,description:"动画速度(毫秒)",type:{name:"number",raw:"number"},defaultValue:{value:"100"}},autoPlay:{name:"autoPlay",required:!1,description:"是否自动播放动画",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},value:{name:"value",required:!1,description:"输入框值",type:{name:"string",raw:"string"}},onChange:{name:"onChange",required:!1,description:"输入框变化回调",type:{name:"function",raw:"(value: string) => void"}},onSubmit:{name:"onSubmit",required:!1,description:"提交回调",type:{name:"function",raw:"(value: string) => void"}},maxLength:{name:"maxLength",required:!1,description:"最大输入字数",type:{name:"number",raw:"number"},defaultValue:{value:"500"}},showCount:{name:"showCount",required:!1,description:"是否显示字数统计",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},submitText:{name:"submitText",required:!1,description:"提交按钮文本",type:{name:"string",raw:"string"},defaultValue:{value:'"发送"'}},disabled:{name:"disabled",required:!1,description:"是否禁用提交按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"false"}},rows:{name:"rows",required:!1,description:"文本域行数",type:{name:"number",raw:"number"},defaultValue:{value:"4"}}}};const vv=({src:v,poster:X,width:G=300,height:T,videoWidth:Z,videoHeight:re,showPlayButton:Ae=!0,autoPlayOnHover:pe=!0,onClick:D,onVideoLoaded:m,onVideoPlay:w,onVideoPause:Y,onVideoEnded:ye,className:P,style:V,...ze})=>{const $=te.useRef(null),[le,ie]=te.useState(!1),[oe,se]=te.useState(!1),[qe,ge]=te.useState(!1),Ee=te.useCallback(()=>{$.current&&($.current.play(),ie(!0),w?.())},[w]),Ge=te.useCallback(()=>{$.current&&($.current.pause(),ie(!1),Y?.())},[Y]),ce=te.useCallback(R=>{R.stopPropagation(),le?Ge():Ee()},[le,Ee,Ge]),we=te.useCallback(()=>{se(!0),pe&&!le&&Ee()},[pe,le,Ee]),Te=te.useCallback(()=>{se(!1),pe&&le&&Ge()},[pe,le,Ge]),Ce=te.useCallback(()=>{ge(!0),m?.()},[m]),Ie=te.useCallback(()=>{ie(!0),w?.()},[w]),F=te.useCallback(()=>{ie(!1),Y?.()},[Y]),K=te.useCallback(()=>{ie(!1),ye?.()},[ye]),S=te.useCallback(R=>{D?.(R)},[D]);return ne.jsx(qt.Card,{...ze,className:`video-card ${P||""}`,style:{width:G,height:T,padding:0,overflow:"hidden",cursor:D?"pointer":"default",border:"none",borderRadius:0,...V},bordered:!1,onMouseEnter:we,onMouseLeave:Te,onClick:S,children:ne.jsxs("div",{className:"video-card-container",children:[ne.jsx("video",{ref:$,src:v,poster:X,preload:"metadata",onLoadedData:Ce,onPlay:Ie,onPause:F,onEnded:K,muted:!0,loop:!0}),Ae&&ne.jsx("div",{className:`video-play-button ${oe?"hovered":""}`,onClick:ce,children:le?ne.jsx(eo.PauseCircleOutlined,{className:"play-icon"}):ne.jsx(eo.PlayCircleOutlined,{className:"play-icon"})}),!qe&&ne.jsx("div",{className:"video-loading-mask",children:ne.jsx("div",{className:"loading-spinner"})})]})})};vv.__docgenInfo={displayName:"VideoCard",description:"视频卡片组件,支持鼠标悬浮播放控制",props:{src:{name:"src",required:!0,description:"视频源地址",type:{name:"string",raw:"string"}},poster:{name:"poster",required:!1,description:"视频海报图片",type:{name:"string",raw:"string"}},width:{name:"width",required:!1,description:"卡片宽度",type:{name:"number | string",raw:"number | string"},defaultValue:{value:"300"}},height:{name:"height",required:!1,description:"卡片高度",type:{name:"number | string",raw:"number | string"}},videoWidth:{name:"videoWidth",required:!1,description:"视频宽度",type:{name:"number | string",raw:"number | string"},defaultValue:{value:'"100%"'}},videoHeight:{name:"videoHeight",required:!1,description:"视频高度",type:{name:"number | string",raw:"number | string"},defaultValue:{value:'"100%"'}},showPlayButton:{name:"showPlayButton",required:!1,description:"是否显示播放按钮",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},autoPlayOnHover:{name:"autoPlayOnHover",required:!1,description:"是否自动播放(鼠标悬浮时)",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},onClick:{name:"onClick",required:!1,description:"点击事件",type:{name:"function",raw:"(event: React.MouseEvent<HTMLDivElement>) => void"}},onVideoLoaded:{name:"onVideoLoaded",required:!1,description:"视频加载完成事件",type:{name:"function",raw:"() => void"}},onVideoPlay:{name:"onVideoPlay",required:!1,description:"视频播放事件",type:{name:"function",raw:"() => void"}},onVideoPause:{name:"onVideoPause",required:!1,description:"视频暂停事件",type:{name:"function",raw:"() => void"}},onVideoEnded:{name:"onVideoEnded",required:!1,description:"视频结束事件",type:{name:"function",raw:"() => void"}},className:{name:"className",required:!1,description:"自定义样式类名",type:{name:"string",raw:"string"}},style:{name:"style",required:!1,description:"自定义样式",type:{name:"CSSProperties",raw:"React.CSSProperties"}}}};const LS=v=>[".mp4",".webm",".ogg",".mov",".avi",".wmv",".flv",".mkv"].some(G=>v.toLowerCase().includes(G)),XS=v=>v.type?v.type:LS(v.url)?"video":"image",rb=({items:v,columns:X,gap:G=0,responsive:T=!0,breakpoints:Z={xs:1,sm:2,md:3,lg:4,xl:5,xxl:6},className:re,style:Ae,onClick:pe})=>{const D=te.useRef(null),[m,w]=te.useState(X||Z.md||3),Y=te.useRef(new Map),ye=te.useCallback(()=>{if(!T||X)return X||Z.md||3;const $=window.innerWidth;return $<576?Z.xs||1:$<768?Z.sm||2:$<992?Z.md||3:$<1200?Z.lg||4:$<1600?Z.xl||5:Z.xxl||6},[T,X,Z]),P=te.useCallback(()=>{if(!D.current)return;const $=m,le=D.current,oe=(le.offsetWidth-G*($-1))/$,se=new Array($).fill(0);v.forEach((ge,Ee)=>{const Ge=ge.id||Ee,ce=Y.current.get(Ge);if(!ce)return;const we=Math.min(...se),Te=se.indexOf(we),Ce=Te*(oe+G),Ie=se[Te];ce.style.position="absolute",ce.style.left=`${Ce}px`,ce.style.top=`${Ie}px`,ce.style.width=`${oe}px`,se[Te]+=ce.offsetHeight+G});const qe=Math.max(...se);le.style.height=`${qe}px`},[v,m,G]);te.useEffect(()=>{const $=()=>{const le=ye();le!==m&&w(le)};if(T)return window.addEventListener("resize",$),$(),()=>window.removeEventListener("resize",$)},[T,ye,m]),te.useEffect(()=>{const $=setTimeout(()=>{P()},100);return()=>clearTimeout($)},[v,m,P]);const V=te.useCallback(()=>{P()},[P]),ze=te.useCallback($=>{pe&&pe($),$.onClick?.($)},[pe]);return ne.jsx("div",{ref:D,className:`waterfall-container ${re||""}`,style:{position:"relative",width:"100%",...Ae},children:v.map(($,le)=>{const ie=$.id||le,oe=XS($);return ne.jsx("div",{ref:se=>{se?Y.current.set(ie,se):Y.current.delete(ie)},className:"waterfall-item",children:oe==="video"?ne.jsx("div",{style:{width:"100%",position:"relative",paddingBottom:"56.25%",cursor:pe||$.onClick?"pointer":"default"},children:ne.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:ne.jsx(vv,{src:$.url,poster:$.poster,width:"100%",height:"100%",onClick:()=>ze($),onVideoLoaded:V,autoPlayOnHover:!0,showPlayButton:!1})})}):ne.jsx("div",{className:"waterfall-image-wrapper",onClick:()=>ze($),style:{cursor:pe||$.onClick?"pointer":"default"},children:ne.jsx("img",{src:$.url,alt:`瀑布流图片 ${le+1}`,className:"waterfall-image",onLoad:V,onError:V,style:{display:"block",width:"100%",height:"auto"}})})},ie)})})};rb.__docgenInfo={displayName:"Waterfall",description:"瀑布流布局组件,支持图片和视频混合展示",props:{items:{name:"items",required:!0,description:"媒体资源数组",type:{name:"WaterfallItem[]",raw:"WaterfallItem[]"}},columns:{name:"columns",required:!1,description:"列数(默认会根据屏幕宽度自动响应)",type:{name:"number",raw:"number"}},gap:{name:"gap",required:!1,description:"间隔大小",type:{name:"number",raw:"number"},defaultValue:{value:"0"}},responsive:{name:"responsive",required:!1,description:"是否启用响应式布局",type:{name:"boolean",raw:"boolean"},defaultValue:{value:"true"}},breakpoints:{name:"breakpoints",required:!1,description:"响应式断点配置",type:{name:"object",raw:"{ xs?: number; sm?: number; md?: number; lg?: number; xl?: number; xxl?: number; }"}},className:{name:"className",required:!1,description:"自定义类名",type:{name:"string",raw:"string"}},style:{name:"style",required:!1,description:"自定义样式",type:{name:"CSSProperties",raw:"React.CSSProperties"}},onClick:{name:"onClick",required:!1,description:"点击回调",type:{name:"function",raw:"(item: any) => void"}}}};const kS={algorithm:qt.theme.defaultAlgorithm,token:{colorPrimary:"#3b82f6",colorSuccess:"#10b981",colorWarning:"#f59e0b",colorError:"#ef4444",colorInfo:"#3b82f6",colorBgBase:"#ffffff",colorBgContainer:"#ffffff",colorBgElevated:"#ffffff",colorBgLayout:"#f8fafc",colorTextBase:"#1e293b",colorText:"#1e293b",colorTextSecondary:"#64748b",colorTextTertiary:"#94a3b8",colorTextQuaternary:"#cbd5e1",colorBorder:"#e2e8f0",colorBorderSecondary:"#f1f5f9",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",boxShadowSecondary:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",borderRadius:8,borderRadiusLG:12,borderRadiusSM:6,fontFamily:"Inter, system-ui, Arial, sans-serif",fontSize:14,fontSizeLG:16,fontSizeSM:12,padding:16,paddingLG:24,paddingSM:12,paddingXS:8,controlHeight:32,controlHeightLG:40,controlHeightSM:24},components:{Button:{borderRadius:8,controlHeight:32,fontWeight:500},Card:{borderRadiusLG:12,boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)"},Input:{borderRadius:8,controlHeight:32},Table:{borderRadiusLG:8,headerBg:"#f8fafc",headerColor:"#374151"}}};Kt.AdvancedTable=J0,Kt.AppModal=L0,Kt.BackButton=Z0,Kt.Button=G0,Kt.Card=Y0,Kt.DynamicInput=ob,Kt.DynamicTextArea=sb,Kt.EmptyAndSpin=Q0,Kt.LinkButton=$0,Kt.PageTable=X0,Kt.RichTextEditor=ub,Kt.VideoCard=vv,Kt.VirtualTable=cb,Kt.Waterfall=rb,Kt.XcIcon=k0,Kt.lightTheme=kS,Object.defineProperty(Kt,Symbol.toStringTag,{value:"Module"})});
|
|
317
282
|
//# sourceMappingURL=index.umd.js.map
|