bi-components-library 1.0.24 → 1.0.26

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/index.umd.js CHANGED
@@ -1,282 +1,12 @@
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
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
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
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
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
- let props = %s;
19
- <%s {...props} />
20
- React keys must be passed directly to JSX without using spread:
21
- let props = %s;
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={};/**
23
- * @license React
24
- * scheduler.production.js
25
- *
26
- * Copyright (c) Meta Platforms, Inc. and 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 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={};/**
31
- * @license React
32
- * scheduler.development.js
33
- *
34
- * Copyright (c) Meta Platforms, Inc. and affiliates.
35
- *
36
- * This source code is licensed under the MIT license found in the
37
- * LICENSE file in the root directory of this source tree.
38
- */var 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}/**
39
- * @license React
40
- * react-dom-client.production.js
41
- *
42
- * Copyright (c) Meta Platforms, Inc. and affiliates.
43
- *
44
- * This source code is licensed under the MIT license found in the
45
- * LICENSE file in the root directory of this source tree.
46
- */var 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&&gt!==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&&gt!==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={};/**
55
- * @license React
56
- * react-dom-client.development.js
57
- *
58
- * Copyright (c) Meta Platforms, Inc. and affiliates.
59
- *
60
- * This source code is licensed under the MIT license found in the
61
- * LICENSE file in the root directory of this source tree.
62
- */var 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(`
63
- at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
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
68
- `)&&(e=e.slice(29)),t=e.indexOf(`
69
- `),t!==-1&&(e=e.slice(t+1)),t=e.indexOf("react_stack_bottom_frame"),t!==-1&&(t=e.lastIndexOf(`
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(" ")+`>
84
- `:a+"<"+e+`
85
- `+a+" "+o.join(`
86
- `+a+" ")+`
87
- `+a+`>
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>.
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.
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+=`
115
-
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:
117
-
118
- - A server/client branch \`if (typeof window !== 'undefined')\`.
119
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
120
- - Date formatting in a user's locale which doesn't match the server.
121
- - External changing data without sending a snapshot of it along with the HTML.
122
- - Invalid HTML tag nesting.
123
-
124
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
125
-
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:
127
-
128
- - A server/client branch \`if (typeof window !== 'undefined')\`.
129
- - Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
130
- - Date formatting in a user's locale which doesn't match the server.
131
- - External changing data without sending a snapshot of it along with the HTML.
132
- - Invalid HTML tag nesting.
133
-
134
- It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.
135
-
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.
137
-
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
140
-
141
- Previous render Next render
142
- ------------------------------------------------------
143
- %s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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:
145
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
146
- 2. You might be breaking the Rules of Hooks
147
- 3. You might have more than one copy of React in the same app
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.
149
-
150
- Previous: %s
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:
152
- - Multiple copies of the "react" package is used.
153
- - A library pre-bundled an old copy of "react" or "react/jsx-runtime".
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.
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.
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.
157
- root.render(%s)`,t):console.error(`Symbols are not valid as a React child.
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
159
-
160
- %s
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
163
-
164
- %s
165
-
166
- %s
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
168
-
169
- %s
170
-
171
- %s
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.
173
-
174
- %s uses %s but also contains the following legacy lifecycles:%s%s%s
175
-
176
- The above lifecycles should be removed. Learn more about this warning here:
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"?`
182
-
183
- It looks like you wrote `+s+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
184
-
185
- `+s+`(() => {
186
- async function fetchData() {
187
- // You can await here
188
- const response = await MyAPI.getData(someId);
189
- // ...
190
- }
191
- fetchData();
192
- }, [someId]); // Or [] if effect doesn't need props or state
193
-
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.
195
-
196
- Error message:
197
-
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(...).
199
-
200
- When testing, code that resolves suspended data should be wrapped into act(...):
201
-
202
- act(() => {
203
- /* finish loading suspended data */
204
- });
205
- /* assert on the output */
206
-
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(...).
208
-
209
- When testing, code that causes React state updates should be wrapped into act(...):
210
-
211
- act(() => {
212
- /* fire events that update state */
213
- });
214
- /* assert on the output */
215
-
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&LT&&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=`
218
-
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=`
221
-
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.
224
-
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.
226
-
227
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
228
-
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.
230
-
231
- * Move data fetching code or side effects to componentDidUpdate.
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
233
-
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.
235
-
236
- * Move data fetching code or side effects to componentDidUpdate.
237
-
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.
239
-
240
- * Move code with side effects to componentDidMount, and set initial state in the constructor.
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.
242
-
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.
244
-
245
- * Move data fetching code or side effects to componentDidUpdate.
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
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.
248
-
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.
250
-
251
- * Move data fetching code or side effects to componentDidUpdate.
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.
253
-
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.
255
-
256
- The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
257
-
258
- Please update the following components: %s
259
-
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=`
261
-
262
- Check the render method of \``+o+"`."),s||i&&(s=`
263
-
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:
265
- - react: `+(e+`
266
- - react-dom: 19.1.1
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:
269
-
270
- let root = createRoot(domContainer);
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,"&quot;")}"`:"";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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}"`:"";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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}" 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,"&quot;")}" 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:`
1
+ (function(X,n){typeof exports=="object"&&typeof module<"u"?n(exports,require("react/jsx-runtime"),require("react"),require("antd"),require("@ant-design/icons"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react","antd","@ant-design/icons","react-dom"],n):(X=typeof globalThis<"u"?globalThis:X||self,n(X.SealSeekBIComponents={},X.React,X.React,X.antd,X.AntdIcons,X.ReactDOM))})(this,function(X,n,l,W,de,Qe){"use strict";const Le=({variant:t="primary",loading:v=!1,children:u,...i})=>{const d=E=>{switch(E){case"primary":return"primary";case"ghost":return"default";case"dashed":return"dashed";case"link":return"link";case"text":return"text";default:return"primary"}};return n.jsx(W.Button,{...i,type:d(t),loading:v,ghost:t==="ghost",children:u})};Le.__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 Be=({title:t,children:v,bordered:u=!0,hoverable:i=!1,size:d="default",...E})=>n.jsx(W.Card,{...E,title:t,bordered:u,hoverable:i,size:d,children:v});Be.__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 Ve=({showDefaultFooter:t=!0,...v})=>{const u=v.footer!==void 0?v.footer:t?(i,{OkBtn:d,CancelBtn:E})=>n.jsxs(n.Fragment,{children:[n.jsx(d,{}),n.jsx(E,{})]}):null;return n.jsx(W.Modal,{...v,footer:u})};Ve.__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 _e=({scrollX:t,showPagination:v=!0,defaultPageSize:u=10,...i})=>n.jsx(W.Table,{...i,scroll:{x:t||"max-content",y:"50vh"},pagination:v?{hideOnSinglePage:!0,showSizeChanger:!0,showQuickJumper:!0,defaultPageSize:u,...i.pagination}:!1});_e.__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 Re=de.createFromIconfontCN({scriptUrl:["https://at.alicdn.com/t/c/font_4968458_eh91gfr4j9e.js"]}),De=({name:t,size:v,color:u,style:i,...d})=>{const E={fontSize:v,color:u,...i};return n.jsx(Re,{...d,type:t,style:E})};De.__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 Pe=({loading:t,description:v="暂无数据",className:u,emptyChildren:i,loadingText:d,emptyImage:E})=>t?n.jsxs(W.Flex,{className:`pt-10 w-full ${u||""}`,align:"center",justify:"center",vertical:!0,children:[n.jsx(W.Spin,{size:"large"}),d&&n.jsx("div",{className:"mt-4 text-gray-500",children:d})]}):n.jsx(W.Flex,{className:`pt-10 w-full ${u||""}`,align:"center",justify:"center",children:n.jsx(W.Empty,{image:E,description:v,imageStyle:{height:180},children:i})});Pe.__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 Ge=({onClick:t,showText:v=!1,className:u,size:i="small",type:d="default"})=>n.jsx(W.Button,{size:i,type:d,icon:n.jsx(de.LeftOutlined,{}),className:`cursor-pointer ${u||""}`,onClick:t,children:v&&"返回"});Ge.__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 Me=({removePadding:t=!0,className:v,...u})=>{const i=t?`px-0 h-auto ${v||""}`:v;return n.jsx(W.Button,{type:"link",...u,className:i,children:u.children})};Me.__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:Ye}=W.Select,He=({columns:t,request:v,searchFields:u=[],showSearch:i=!0,showRefresh:d=!0,defaultPageSize:E=10,pageSizeOptions:V=["10","20","50","100"],autoLoad:C=!0,externalParams:a={},...e})=>{const[r,s]=l.useState([]),[B,m]=l.useState(!1),[o,A]=l.useState({current:1,pageSize:E,total:0}),[c,g]=l.useState({}),[y,x]=l.useState({}),[h]=W.Form.useForm(),D=l.useRef(o);D.current=o;const $=l.useRef(a);$.current=a;const P=l.useRef(!1),F=l.useMemo(()=>t.map(S=>{const{sortable:H,render:ee,...ne}=S;return{...ne,sorter:H?!0:void 0,render:ee||(se=>se)}}),[t]),M=l.useCallback(async(S={})=>{if(v){m(!0);try{const H={page:D.current.current,pageSize:D.current.pageSize,sortField:y.field,sortOrder:y.order,searchParams:{...c,...$.current},...S},ee=await v(H);ee.success&&(s(ee.data),A(ne=>({...ne,total:ee.total,current:H.page||ne.current})))}catch(H){console.error("加载数据失败:",H)}finally{m(!1)}}},[v,y,c]),K=l.useCallback(S=>{g(S),A(H=>({...H,current:1}))},[]),J=l.useCallback(()=>{h.resetFields(),g({}),A(S=>({...S,current:1}))},[h]),Q=l.useCallback(()=>{M()},[M]),Z=l.useCallback((S,H,ee)=>{const ne={current:S.current||1,pageSize:S.pageSize||E,total:S.total||0},se={field:ee?.field,order:ee?.order};A(ne),x(se)},[E]);return l.useEffect(()=>{const S=Object.keys(a).length>0;(C&&!P.current||S)&&(M(),P.current=!0)},[C,a,M]),n.jsxs("div",{children:[i&&u.length>0&&n.jsx(W.Card,{size:"small",style:{marginBottom:16},children:n.jsxs(W.Form,{form:h,layout:"inline",onFinish:K,initialValues:u.reduce((S,H)=>(H.defaultValue!==void 0&&(S[H.key]=H.defaultValue),S),{}),children:[u.map(S=>n.jsx(W.Form.Item,{name:S.key,label:S.label,children:S.type==="input"?n.jsx(W.Input,{placeholder:S.placeholder||`请输入${S.label}`,style:{width:200}}):n.jsx(W.Select,{placeholder:S.placeholder||`请选择${S.label}`,style:{width:200},allowClear:!0,children:S.options?.map(H=>n.jsx(Ye,{value:H.value,children:H.label},H.value))})},S.key)),n.jsx(W.Form.Item,{children:n.jsxs(W.Space,{children:[n.jsx(W.Button,{type:"primary",htmlType:"submit",icon:n.jsx(de.SearchOutlined,{}),children:"查询"}),n.jsx(W.Button,{onClick:J,children:"重置"}),d&&n.jsx(W.Button,{icon:n.jsx(de.ReloadOutlined,{}),onClick:Q,children:"刷新"})]})})]})}),n.jsx(W.Table,{...e,columns:F,dataSource:r,loading:B,pagination:{...o,showSizeChanger:!0,showQuickJumper:!0,showTotal:(S,H)=>`第 ${H[0]}-${H[1]} 条/共 ${S} 条`,pageSizeOptions:V},onChange:Z,scroll:{x:"max-content",y:"50vh"}})]})};He.__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 Ee(t,v,u){if(!t.current)return;const i=new Set,d={};for(const s of v)s.exclusionGroup&&s.exclusionGroup!=="separator"&&(i.add(s.exclusionGroup),d[s.exclusionGroup]||(d[s.exclusionGroup]=[]),d[s.exclusionGroup].push({type:s.type,key:s.key,exclusionGroup:s.exclusionGroup}));const E={};for(const s of i){E[s]=!1;for(const B of d[s])if(B.type==="upload"&&B.key){if(u[B.key]!==null&&u[B.key]!==void 0){E[s]=!0;break}}else if(B.type==="variable"&&B.key){const m=t.current.querySelector(`[data-type="variable"][data-key="${B.key}"]`);if(m&&m.innerText.replace(/[\u200B\n]/g,"").trim().length>0){E[s]=!0;break}}}const V=v.some(s=>s.exclusionGroup==="separator"),a=Object.keys(E).filter(s=>E[s]).length>0;let e=null;if(a&&V){for(const s of v)if(s.exclusionGroup&&s.exclusionGroup!=="separator"&&E[s.exclusionGroup]){e=s.exclusionGroup;break}}for(const s of i){const B=t.current.querySelectorAll(`[data-group="${s}"]`);V&&a&&e?s===e?B.forEach(m=>{m.classList.contains("required-upload-group")?m.style.setProperty("display","inline-flex","important"):(m.classList.contains("exclusion-wrapper"),m.style.setProperty("display","inline-block","important"))}):B.forEach(m=>{m.style.display="none",m.style.setProperty("display","none","important")}):B.forEach(m=>{m.classList.contains("required-upload-group")?m.style.setProperty("display","inline-flex","important"):(m.classList.contains("exclusion-wrapper"),m.style.setProperty("display","inline-block","important"))})}t.current.querySelectorAll('[data-group="separator"]').forEach(s=>{s.style.display=a?"none":"inline"})}function Ce(t,v,u,i){if(!t.current){i(!1);return}const d=[];for(let a=0;a<v.length;a++){const e=v[a];if((e.type==="variable"||e.type==="upload"||e.type==="multi-variable"||e.type==="select"||e.type==="textarea"||e.type==="richtext"||e.type==="datepicker")&&e.required&&e.key){d.push({exclusionGroup:e.exclusionGroup||"",key:e.key,type:e.type==="multi-variable"?"variable":e.type,isMultiVariable:e.type==="multi-variable",minCount:e.type==="multi-variable"?e.minCount:void 0});continue}if(e.type==="text"&&e.className?.includes("rte-text-required")&&e.exclusionGroup)for(let r=a+1;r<v.length;r++){const s=v[r];if(s.exclusionGroup===e.exclusionGroup&&(s.type==="variable"||s.type==="upload"||s.type==="select"||s.type==="textarea"||s.type==="richtext"||s.type==="datepicker")&&s.key){d.push({exclusionGroup:e.exclusionGroup,key:s.key,type:s.type});break}}}const E=v.some(a=>a.exclusionGroup==="separator");let V=!1;if(E&&d.length>1){const a=v.findIndex(s=>s.exclusionGroup==="separator"),e=d.filter(s=>v.findIndex(m=>(m.type==="variable"||m.type==="upload"||m.type==="select"||m.type==="textarea"||m.type==="richtext"||m.type==="datepicker")&&m.key===s.key&&m.exclusionGroup===s.exclusionGroup)<a),r=d.filter(s=>v.findIndex(m=>(m.type==="variable"||m.type==="upload"||m.type==="select"||m.type==="textarea"||m.type==="richtext")&&m.key===s.key&&m.exclusionGroup===s.exclusionGroup)>a);V=e.length>0&&r.length>0}if(d.length===0){if(v.length===0){if(!t.current){i(!1);return}const a=t.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";i(a.length>0);return}i(!0);return}const C=d.filter(a=>{if(!t.current)return!1;if(a.exclusionGroup){const e=t.current.querySelectorAll(`[data-group="${a.exclusionGroup}"]`);if(e.length>0)return e[0].style.display!=="none"}if(a.type==="upload"&&a.key){const e=t.current.querySelector(`[data-type="upload"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}else if(a.type==="variable"&&a.key)if(a.isMultiVariable){const e=t.current.querySelectorAll(`[data-type="variable"][data-multi-key="${a.key}"]`);if(e.length>0){const r=e[0],s=r.closest("[data-group]")||r.parentElement;return s?s.style.display!=="none":!0}}else{const e=t.current.querySelector(`[data-type="variable"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}else if(a.type==="select"&&a.key){const e=t.current.querySelector(`[data-type="select"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}else if(a.type==="textarea"&&a.key){const e=t.current.querySelector(`[data-type="textarea"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}else if(a.type==="richtext"&&a.key){const e=t.current.querySelector(`[data-type="richtext"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}else if(a.type==="datepicker"&&a.key){const e=t.current.querySelector(`[data-type="datepicker"][data-key="${a.key}"]`);if(e){const r=e.closest("[data-group]")||e.parentElement;return r?r.style.display!=="none":!0}}return!1});if(C.length===0){i(!0);return}if(V){let a=!1;for(const e of C)if(e.type==="upload"&&e.key){if(u[e.key]!==null&&u[e.key]!==void 0){a=!0;break}}else if(e.type==="variable"&&e.key)if(e.isMultiVariable){const r=t.current.querySelectorAll(`[data-type="variable"][data-multi-key="${e.key}"]`);let s=0;for(const m of Array.from(r))m.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(s+=1);const B=e.minCount&&e.minCount>0?e.minCount:1;if(s>=B){a=!0;break}}else{const r=t.current.querySelector(`[data-type="variable"][data-key="${e.key}"]`);if(r&&r.innerText.replace(/[\u200B\n]/g,"").trim().length>0){a=!0;break}}else if(e.type==="select"&&e.key){const r=t.current.querySelector(`[data-type="select"][data-key="${e.key}"]`);if(r&&(r.value||"").trim().length>0){a=!0;break}}else if(e.type==="textarea"&&e.key){const r=t.current.querySelector(`[data-type="textarea"][data-key="${e.key}"]`);if(r&&(r.value||"").trim().length>0){a=!0;break}}else if(e.type==="richtext"&&e.key){const r=t.current.querySelector(`[data-type="richtext"][data-key="${e.key}"]`);if(r&&(r.textContent||"").replace(/[\u200B]/g,"").trim().length>0){a=!0;break}}else if(e.type==="datepicker"&&e.key){const r=t.current.querySelector(`[data-type="datepicker"][data-key="${e.key}"]`);if(r&&(r.getAttribute("data-value")||"").trim().length>0){a=!0;break}}i(a)}else{let a=!0;for(const e of C)if(e.type==="upload"&&e.key){if(u[e.key]===null||u[e.key]===void 0){a=!1;break}}else if(e.type==="variable"&&e.key)if(e.isMultiVariable){const r=t.current.querySelectorAll(`[data-type="variable"][data-multi-key="${e.key}"]`);let s=0;for(const m of Array.from(r))m.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&(s+=1);const B=e.minCount&&e.minCount>0?e.minCount:1;if(s<B){a=!1;break}}else{const r=t.current.querySelector(`[data-type="variable"][data-key="${e.key}"]`);if(!r){a=!1;break}if(r.innerText.replace(/[\u200B\n]/g,"").trim().length===0){a=!1;break}}else if(e.type==="select"&&e.key){const r=t.current.querySelector(`[data-type="select"][data-key="${e.key}"]`);if(!r||(r.value||"").trim().length===0){a=!1;break}}else if(e.type==="textarea"&&e.key){const r=t.current.querySelector(`[data-type="textarea"][data-key="${e.key}"]`);if(!r||(r.value||"").trim().length===0){a=!1;break}}else if(e.type==="richtext"&&e.key){const r=t.current.querySelector(`[data-type="richtext"][data-key="${e.key}"]`);if(!r||(r.textContent||"").replace(/[\u200B]/g,"").trim().length===0){a=!1;break}}else if(e.type==="datepicker"&&e.key){const r=t.current.querySelector(`[data-type="datepicker"][data-key="${e.key}"]`);if(!r||(r.getAttribute("data-value")||"").trim().length===0){a=!1;break}}i(a)}}function qe(t,v){if(!t.current)return;t.current.querySelectorAll('[data-type="variable"]').forEach(i=>{const d=i.innerText.replace(/\n/g,"");d.replace(/\u200B/g,"")?i.classList.remove("show-placeholder"):(d!=="​"&&(i.innerText="​"),i.classList.add("show-placeholder"))})}function Ze(t,v,u,i,d,E={},V){if(!t.current)return;let C="",a=0;for(;a<v.length;){const e=v[a],r=a+1<v.length?v[a+1]:null;if(e.type==="text"&&(e.text?.includes("icon-bitian")||e.className==="rte-text-required")&&r){const c=r.type==="upload"&&r.exclusionGroup==="fileInput"&&e.exclusionGroup==="fileInput"&&e.exclusionGroup===r.exclusionGroup,g=r.type==="variable"&&r.exclusionGroup==="textInput"&&e.exclusionGroup==="textInput"&&e.exclusionGroup===r.exclusionGroup;if(c){const x=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,h="</span>";let D="";e.className?D=`<span class="${e.className}">${e.text??""}</span>`:D=e.text??"";const $=r,P=u[$.key]!==null&&u[$.key]!==void 0,F=P?u[$.key]:null,M=P?u[$.key]?.name:$.text,K=P?"":"hidden",J=$.tooltip&&!P?"":"hidden",Q=P?"has-file":"",Z=P&&M?` data-file-name="${M.replace(/"/g,"&quot;")}"`:"";let S="";P&&F&&(F.type?.startsWith("image/")?S=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(F)}" alt="preview" />`:S="<i class='iconfont icon-exlwenjian'></i>");const H=`<span contenteditable="false" data-type="upload" data-key="${$.key}" class="upload-chip"><span class="upload-inner-wrapper ${Q}"><span class="upload-icon">${S}</span><span class="upload-label"${Z}>${M||$.text}</span>${$.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${J}" data-upload-key="${$.key}" data-tooltip="${$.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${K}" title="移除文件">×</span></span></span>`;C+=x+D+H+h,a+=2;continue}if(g){const x=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group">`,h="</span>";let D="";e.className?D=`<span class="${e.className}">${e.text??""}</span>`:D=e.text??"";const $=r,F=($.key?d[$.key]:void 0)||$.text||"",M=!F,K=M?"​":F,J=M?"show-placeholder":"",Q=$.exclusionGroup?` data-group="${$.exclusionGroup}"`:"",Z=$.tooltip?` data-tooltip="${$.tooltip.replace(/"/g,"&quot;")}" data-variable-key="${$.key||""}"`:"",S=$.tooltip&&M?"":"hidden",H=`<span contenteditable="true" data-type="variable" data-key="${$.key}" data-placeholder="${$.placeholder||""}"${Q}${Z} class="variable-chip ${J}">${K}${$.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${S}" data-variable-key="${$.key}" data-tooltip="${$.tooltip.replace(/"/g,"&quot;")}" title="提示"></i>`:""}</span>`;C+=x+D+H+h,a+=2;continue}}const B=e.exclusionGroup?`data-group="${e.exclusionGroup}"`:"",m=e.exclusionGroup?`<span ${B} class="exclusion-wrapper">`:"",o=e.exclusionGroup?"</span>":"";let A="";if(e.type==="tag"){const g=i||V==="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>',y=i?' data-locked="true"':"",x=e.tooltip?` data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" data-tag-key="${e.key||""}"`:"";A=`<span contenteditable="false" class="tag-node group"${y}${x}><span class="tag-label">${e.text}</span>${g}</span>`}else if(e.type==="text"){const c=i?' data-locked="true" contenteditable="false"':' contenteditable="false"',y=(e.text??"").replace(/\n/g,"<br/>");e.className?A=`<span class="${e.className}"${c}>${y}</span>`:A=i?`<span${c}>${y}</span>`:`<span contenteditable="false">${y}</span>`}else if(e.type==="variable"&&e.key){const g=d[e.key]||e.text||"",y=!g,x=y?"​":g,h=y?"show-placeholder":"",D=e.exclusionGroup?` data-group="${e.exclusionGroup}"`:"",$=e.tooltip?` data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" data-variable-key="${e.key||""}"`:"",P=e.tooltip&&y?"":"hidden",F=`<span contenteditable="true" data-type="variable" data-key="${e.key}" data-placeholder="${e.placeholder||""}"${D}${$} class="variable-chip ${h}">${x}${e.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${P}" data-variable-key="${e.key}" data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" title="提示"></i>`:""}</span>`;e.required?A=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${F}</span>`:A=F}else if(e.type==="upload"&&e.key){const c=u[e.key]!==null&&u[e.key]!==void 0,g=c?u[e.key]:null,y=c?u[e.key]?.name:e.text,x=c?"":"hidden",h=e.tooltip&&!c?"":"hidden",D=c?"has-file":"",$=c&&y?` data-file-name="${y.replace(/"/g,"&quot;")}"`:"";let P="";c&&g&&(g.type?.startsWith("image/")?P=`<img class="upload-icon-img upload-icon-preview" src="${URL.createObjectURL(g)}" alt="preview" />`:P="<i class='iconfont icon-exlwenjian'></i>");const F=`<span contenteditable="false" data-type="upload" data-key="${e.key}" class="upload-chip"><span class="upload-inner-wrapper ${D}"><span class="upload-icon">${P}</span><span class="upload-label"${$}>${y||e.text}</span>${e.tooltip?`<i contenteditable="false" class="iconfont icon-tishi upload-info-icon ${h}" data-upload-key="${e.key}" data-tooltip="${e.tooltip}" title="提示"></i>`:""}<span class="file-remove-btn ${x}" title="移除文件">×</span></span></span>`;e.required?A=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${F}</span>`:A=F}else if(e.type==="select"&&e.key){const c=d[e.key]||"",g=(e.options||[]).map(h=>{const D=c===h.value?"selected":"";return`<option value="${h.value}" ${D}>${h.label}</option>`}).join(""),y=e.placeholder?`<option value="" ${c?"":"selected"} disabled hidden>${e.placeholder}</option>`:"",x=`<select data-type="select" data-key="${e.key}" class="rte-select">${y}${g}</select>`;e.required?A=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${x}</span>`:A=x}else if(e.type==="textarea"&&e.key){const c=d[e.key]||"",g=e.maxHeight||252,y=e.expandable!==!1,x=e.placeholder?` placeholder="${e.placeholder}"`:"",h=`<textarea data-type="textarea" data-key="${e.key}" class="rte-textarea" data-max-height="${g}" style="max-height:${g}px;"${x}>${c}</textarea>`,D=y?`<button type="button" class="rte-textarea-toggle" data-key="${e.key}" data-expanded="false">展开</button>`:"",$=`<div class="rte-textarea-wrapper" data-key="${e.key}">${h}${D}</div>`;e.required?A=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${$}</span>`:A=$}else if(e.type==="richtext"&&e.key){const c=d[e.key]||e.text||"",g=e.minHeight||140,y=e.placeholder?` data-placeholder="${e.placeholder}"`:"",x=e.expandable!==!1,h=c.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;"),D=`<div contenteditable="true" data-type="richtext" data-key="${e.key}" class="rte-richtext"${y} style="min-height:${g}px;">${h}</div>`,$=x?`<button type="button" class="rte-richtext-toggle" data-key="${e.key}" data-expanded="false">展开</button>`:"",P=`<div class="rte-richtext-wrapper" data-key="${e.key}">${D}${$}</div>`,F=`<div class="rte-richtext-container" data-key="${e.key}">${P}</div>`;e.required?A=`<div ${e.exclusionGroup?`data-group="${e.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>${F}</div>`:A=F}else if(e.type==="datepicker"&&e.key){const c=d[e.key]||"",g=e.placeholder?` data-placeholder="${e.placeholder}"`:"",y=`<div data-type="datepicker" data-key="${e.key}" data-value="${c}" class="rte-datepicker-host"${g}></div>`;e.required?A=`<span ${e.exclusionGroup?`data-group="${e.exclusionGroup}"`:""} class="exclusion-wrapper required-upload-group"><span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>${y}</span>`:A=y}else if(e.type==="multi-variable"&&e.key){const c=e.maxCount||9,g=E[e.key]||1,y=Math.min(g,c);if(e.required){const x=`<span class="rte-text-required"><i class='iconfont icon-bitian' style='font-size: 10px;'></i></span>`,h=e.exclusionGroup?`data-group="${e.exclusionGroup}"`:"";let D="";for(let $=0;$<y;$++){const P=`${e.key}_${$}`,F=d[P]||"",M=!F,K=M?"​":F,J=M?"show-placeholder":"",Q=e.tooltip?` data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" data-variable-key="${e.key||""}"`:"",Z=e.tooltip&&M?"":"hidden",S=`<span contenteditable="true" data-type="variable" data-key="${P}" data-multi-key="${e.key}" data-index="${$}" data-placeholder="${e.placeholder||""}"${Q} class="variable-chip ${J}">${K}${e.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${Z}" data-variable-key="${e.key}" data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" title="提示"></i>`:""}</span>`;$===0?D+=`<span ${h} class="exclusion-wrapper required-upload-group required-multi-first">${x}${S}</span>`:D+=S}A=D}else{let x="";for(let h=0;h<y;h++){const D=`${e.key}_${h}`,$=d[D]||"",P=!$,F=P?"​":$,M=P?"show-placeholder":"",K=e.tooltip?` data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" data-variable-key="${e.key||""}"`:"",J=e.tooltip&&P?"":"hidden",Q=`<span contenteditable="true" data-type="variable" data-key="${D}" data-multi-key="${e.key}" data-index="${h}" data-placeholder="${e.placeholder||""}"${K} class="variable-chip ${M}">${F}${e.tooltip?`<i contenteditable="false" class="iconfont icon-tishi variable-info-icon ${J}" data-variable-key="${e.key}" data-tooltip="${e.tooltip.replace(/"/g,"&quot;")}" title="提示"></i>`:""}</span>`;x+=Q}A=x}}C+=m+A+o,a++}t.current&&(t.current.innerHTML=C,setTimeout(()=>{if(!t.current)return;t.current.querySelectorAll('[data-type="variable"]').forEach(r=>{const s=r.innerText.replace(/\n/g,"");s.replace(/\u200B/g,"")?r.classList.remove("show-placeholder"):(s!=="​"&&(r.innerText="​"),r.classList.add("show-placeholder"))})},0))}function et(t,v,u,i,d={},E,V,C){const a=l.useCallback(()=>{if(!t.current)return;if(v.length===0){t.current.innerHTML="";return}let e={};const s=t.current.__tempVariableValues;if(s?(e=s,setTimeout(()=>{if(t.current){const B=t.current;B.__tempVariableValues===s&&delete B.__tempVariableValues}},100)):(t.current.querySelectorAll('[data-type="variable"]').forEach(g=>{const y=g.dataset.key;if(y){const x=g.innerText.replace(/[\u200B\n]/g,"").trim();x&&(e[y]=x)}}),t.current.querySelectorAll('[data-type="select"]').forEach(g=>{const y=g.dataset.key;if(y){const x=g.value.trim();x&&(e[y]=x)}}),t.current.querySelectorAll('[data-type="textarea"]').forEach(g=>{const y=g.dataset.key;if(y){const x=g.value.replace(/[\u200B]/g,"").trim();x&&(e[y]=x)}}),t.current.querySelectorAll('[data-type="richtext"]').forEach(g=>{const y=g.dataset.key;if(y){const x=(g.textContent||"").replace(/[\u200B]/g,"").trim();x&&(e[y]=x)}}),t.current.querySelectorAll('[data-type="datepicker"]').forEach(g=>{const y=g.dataset.key;if(y){const x=(g.getAttribute("data-value")||"").trim();x&&(e[y]=x)}})),Ze(t,v,u,i,e,d,C),E?.current){const{key:B,offset:m}=E.current;setTimeout(()=>{if(!t.current)return;const o=t.current.querySelector(`[data-type="variable"][data-key="${B}"]`);if(o){try{const A=document.createRange(),c=document.createTreeWalker(o,NodeFilter.SHOW_TEXT,null);let g=0,y=null,x=0;for(;c.nextNode();){const h=c.currentNode,D=h.textContent?.length||0;if(g+D>=m){y=h,x=m-g;break}g+=D}if(y){A.setStart(y,Math.min(x,y.textContent?.length||0)),A.collapse(!0);const h=window.getSelection();h&&(h.removeAllRanges(),h.addRange(A),o.focus())}else{A.selectNodeContents(o),A.collapse(!1);const h=window.getSelection();h&&(h.removeAllRanges(),h.addRange(A),o.focus())}}catch{const A=document.createRange();A.selectNodeContents(o),A.collapse(!1);const c=window.getSelection();c&&(c.removeAllRanges(),c.addRange(A),o.focus())}E.current=null}},0)}},[v,u,i,t,d,E,V,C]);l.useEffect(()=>{a()},[a])}function tt(t,v,u,i){l.useEffect(()=>{const d=t.current;if(!d)return;const E=C=>{const a=C.target?.closest(".upload-info-icon");if(a&&a.classList.contains("upload-info-icon")){const r=a.dataset.uploadKey;r&&i({key:r,anchorEl:a,type:"upload"});return}const e=C.target?.closest('[data-type="upload"]');if(e){const r=e.dataset.key;if(r){const s=u[r];s&&s.type&&s.type.startsWith("image/")&&i({key:r,anchorEl:e,type:"upload-preview"})}}},V=C=>{const a=C.target?.closest(".upload-info-icon"),e=C.relatedTarget;if(a&&a.classList.contains("upload-info-icon")){!e||!d.contains(e)?i(null):e.closest(".upload-info-icon")||i(null);return}const r=C.target?.closest('[data-type="upload"]');if(r){const s=e;if(s&&r.contains(s))return;i(null)}};return d.addEventListener("mouseover",E,!0),d.addEventListener("mouseout",V,!0),()=>{d.removeEventListener("mouseover",E,!0),d.removeEventListener("mouseout",V,!0)}},[v,u,t,i])}function at(t,v,u,i){l.useEffect(()=>{if(!t.current)return;const d=a=>{if(i==="hideTagClose")return;const e=a.currentTarget,r=e.dataset.tooltip,s=e.dataset.tagKey||"";r&&u({key:s,anchorEl:e,type:"tag"})},E=()=>{u(null)};let V;const C=()=>{if(!t.current)return;t.current.querySelectorAll(".tag-node[data-tooltip]").forEach(e=>{e.addEventListener("mouseenter",d),e.addEventListener("mouseleave",E)})};return V=requestAnimationFrame(()=>{V=requestAnimationFrame(C)}),()=>{cancelAnimationFrame(V),t.current&&t.current.querySelectorAll(".tag-node[data-tooltip]").forEach(e=>{e.removeEventListener("mouseenter",d),e.removeEventListener("mouseleave",E)})}},[v,t,u,i])}function nt(t,v,u){l.useEffect(()=>{const i=t.current;if(!i)return;const d=V=>{const C=V.target?.closest(".variable-info-icon");if(C&&C.classList.contains("variable-info-icon")){const a=C.dataset.variableKey;a&&u({key:a,anchorEl:C,type:"variable"})}},E=V=>{const C=V.target?.closest(".variable-info-icon"),a=V.relatedTarget;C&&C.classList.contains("variable-info-icon")&&(!a||!i.contains(a)?u(null):a.closest(".variable-info-icon")||u(null))};return i.addEventListener("mouseover",d,!0),i.addEventListener("mouseout",E,!0),()=>{i.removeEventListener("mouseover",d,!0),i.removeEventListener("mouseout",E,!0)}},[v,t,u])}function rt(t,v,u,i){l.useEffect(()=>{if(!t.current)return;const d=a=>{const e=a.currentTarget;e.dataset.fileName&&i({key:"",anchorEl:e,type:"upload-label"})},E=()=>{i(null)};let V;const C=()=>{if(!t.current)return;t.current.querySelectorAll(".upload-label[data-file-name]").forEach(e=>{e.addEventListener("mouseenter",d),e.addEventListener("mouseleave",E)})};return V=requestAnimationFrame(()=>{V=requestAnimationFrame(C)}),()=>{cancelAnimationFrame(V),t.current&&t.current.querySelectorAll(".upload-label[data-file-name]").forEach(e=>{e.removeEventListener("mouseenter",d),e.removeEventListener("mouseleave",E)})}},[v,u,t,i])}function ot(t,v,u,i){l.useEffect(()=>{Ee(t,v,u),Ce(t,v,u,i)},[u,v,t,i])}function lt(t,v){l.useEffect(()=>{if(!t.current)return;let u=!1,i=0;const d=()=>{u=!0},E=()=>{u=!1,i=Date.now()};let V=!1,C=0;const a=()=>{V=!0},e=()=>{V=!1,C=Date.now()},r=()=>{C=Date.now()},s=()=>{if(!t.current)return;const m=window.getSelection();if(!m||m.rangeCount===0||v.current||u||V||Date.now()-C<500)return;const o=m.getRangeAt(0);if(!o.collapsed)return t.current.contains(o.commonAncestorContainer),void 0;const A=m.anchorNode;if(!A||!t.current.contains(A))return;let c=null;if(A.nodeType===Node.ELEMENT_NODE?c=A.closest('[data-type="variable"]'):A.nodeType===Node.TEXT_NODE&&A.parentElement&&(c=A.parentElement.closest('[data-type="variable"]')),!c){if(Date.now()-i>500)return;const g=t.current.querySelectorAll('[data-type="variable"]');if(g.length>0){let y=null;for(const x of Array.from(g))if(x.style.display!=="none"){y=x;break}if(!y&&g.length>0&&(y=g[0]),y){const x=document.createRange();x.selectNodeContents(y),x.collapse(!1),m.removeAllRanges(),m.addRange(x),y.focus()}else m.removeAllRanges()}else m.removeAllRanges()}},B=t.current;return B&&(B.addEventListener("compositionstart",a),B.addEventListener("compositionend",e),B.addEventListener("input",r)),document.addEventListener("mousedown",d),document.addEventListener("mouseup",E),document.addEventListener("selectionchange",s),()=>{const m=t.current;m&&(m.removeEventListener("compositionstart",a),m.removeEventListener("compositionend",e),m.removeEventListener("input",r)),document.removeEventListener("mousedown",d),document.removeEventListener("mouseup",E),document.removeEventListener("selectionchange",s)}},[t,v])}const Oe=({config:t,onSend:v,isProcessing:u=!1,disabled:i=!1,width:d,lockStructure:E=!1,agentOptions:V=[],onAgentSelect:C,onAgentExit:a,loading:e=!1,placeholder:r,border:s,background:B="transparent",hideButtons:m})=>{const o=l.useRef(null),A=l.useRef(null),[c,g]=l.useState({}),[y,x]=l.useState(null),[h,D]=l.useState(null),$=l.useRef(!1),P=l.useRef(null),[F,M]=l.useState(!1),K=l.useRef(null),[J,Q]=l.useState(!0),[Z,S]=l.useState(()=>{const p={};return t.forEach(f=>{f.type==="multi-variable"&&f.key&&(p[f.key]=1)}),p}),H=l.useRef({}),ee=l.useRef({}),ne=l.useRef({});l.useEffect(()=>{ee.current=c},[c]),l.useEffect(()=>{ne.current=Z},[Z]);const se=l.useCallback(p=>p.find(b=>b.type==="tag")?.text||null,[]),fe=l.useRef(t),ie=l.useRef(null);l.useEffect(()=>{const p=se(fe.current),f=se(t);if(p&&p!==f&&o.current){const b={};o.current.querySelectorAll('[data-type="variable"]').forEach(w=>{const _=w.dataset.key;if(_){const T=w.innerText.replace(/[\u200B\n]/g,"").trim();T&&(b[_]=T)}}),o.current.querySelectorAll('[data-type="select"]').forEach(w=>{const _=w.dataset.key;if(_){const T=w.value.trim();T&&(b[_]=T)}}),o.current.querySelectorAll('[data-type="textarea"]').forEach(w=>{const _=w.dataset.key;if(_){const T=w.value.replace(/[\u200B]/g,"").trim();T&&(b[_]=T)}}),H.current[p]={variableValues:b,files:{...ee.current},multiVariableCounts:{...ne.current}}}if(f&&H.current[f]){const b=H.current[f];ie.current=b,g(b.files),S(b.multiVariableCounts)}else if(f){ie.current=null;const b={};t.forEach(N=>{N.type==="multi-variable"&&N.key&&(b[N.key]=1)}),S(b),g({})}else ie.current=null,S({}),g({});fe.current=t},[t,se]),l.useLayoutEffect(()=>{ie.current&&o.current&&(o.current.__tempVariableValues=ie.current.variableValues,setTimeout(()=>{ie.current&&(ie.current=null)},0))}),et(o,t,c,E,Z,K,void 0,m),tt(o,t,c,D),at(o,t,D,m),rt(o,t,c,D),nt(o,t,D),ot(o,t,c,M),lt(o,$),l.useEffect(()=>{if(t.length>0){Q(!1);return}const p=()=>{if(!o.current){Q(!0);return}const b=o.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"",N=o.current.querySelectorAll('[data-type="variable"]'),k=o.current.querySelectorAll('[data-type="upload"]');let q=!1;N.forEach(_=>{(_.textContent?.replace(/[\u200B\n]/g,"").trim()||"")&&(q=!0)}),k.forEach(_=>{_.querySelector(".upload-inner-wrapper.has-file")&&(q=!0)});const w=!b&&!q;Q(w),t.length===0&&M(!w)};p();const f=new MutationObserver(p);return o.current&&f.observe(o.current,{childList:!0,subtree:!0,characterData:!0}),()=>{f.disconnect()}},[t]);const Se=p=>{if(i){p.preventDefault();return}p.preventDefault();const f=p.clipboardData.getData("text/plain"),b=window.getSelection();if(b&&b.rangeCount>0){const N=b.anchorNode;if(N){let k=null;if(N.nodeType===Node.ELEMENT_NODE?k=N.closest('[data-type="variable"]'):N.nodeType===Node.TEXT_NODE&&N.parentElement&&(k=N.parentElement.closest('[data-type="variable"]')),k){const q=k.dataset.multiKey;if(q){const w=/[、,,\s\n\r\t]+/,_=f.split(w).map(T=>T.trim()).filter(T=>T.length>0);if(console.log("[Paste Event] 粘贴的内容:",f),console.log("[Paste Event] 拆分后的值:",_),_.length>1){const T=parseInt(k.dataset.index||"0",10),G=t.find(ae=>ae.type==="multi-variable"&&ae.key===q)?.maxCount||9,z=Z[q]||1,I=Math.min(T+_.length,G);I>z&&S(U=>({...U,[q]:I}));const O=[];for(let U=0;U<z;U++){const ae=`${q}_${U}`,oe=o.current.querySelector(`[data-type="variable"][data-key="${ae}"][data-multi-key="${q}"]`);if(oe){const ue=oe.innerText.replace(/[\u200B\n]/g,"").trim();O.push(ue)}}O.splice(T,1,..._.slice(0,G-T));const R=O.slice(0,G);R.length>0&&R[R.length-1]!==""&&R.length<G&&R.push("");const L=Math.max(R.length,1),Y={};R.forEach((U,ae)=>{U&&(Y[`${q}_${ae}`]=U)}),o.current.querySelectorAll('[data-type="variable"]').forEach(U=>{const ae=U.dataset.key,oe=U.dataset.multiKey;if(ae&&oe!==q){const ue=U.innerText.replace(/[\u200B\n]/g,"").trim();ue&&(Y[ae]=ue)}}),o.current.__tempVariableValues=Y,S(U=>({...U,[q]:L})),console.log("[Paste Event] 粘贴完成,已填充到多个输入框,值:",R);return}else _.length===1&&console.log("[Paste Event] 粘贴单个值,将在失去焦点时检查是否需要拆分")}}}}document.execCommand("insertText",!1,f),ce(),setTimeout(()=>{const N=window.getSelection();if(N&&N.rangeCount>0){const k=N.anchorNode;if(k){let q=null;if(k.nodeType===Node.ELEMENT_NODE?q=k.closest('[data-type="variable"][data-multi-key]'):k.nodeType===Node.TEXT_NODE&&k.parentElement&&(q=k.parentElement.closest('[data-type="variable"][data-multi-key]')),q){const w=q.innerText.replace(/[\u200B\n]/g,"").trim();/[、,,\s]+/.test(w)&&(console.log("[Paste Event] 粘贴后检测到分隔符,内容:",w),console.log("[Paste Event] 提示:失去焦点后将自动拆分"))}}}},0)},$e=p=>{if(p.target.files&&p.target.files[0]&&y){const f=p.target.files[0],b=y;g(N=>({...N,[b]:f}))}p.target&&(p.target.value=""),x(null)},he=p=>{g(f=>{const b={...f};return delete b[p],b})},Ne=p=>{const f=p.target;if(f.closest(".tag-close-btn")){if(p.preventDefault(),p.stopPropagation(),E)return;D(null),a?a():o.current&&(o.current.innerHTML="",o.current.focus());return}if(E){const k=f.closest(".tag-node"),q=f.closest('[data-type="text"]');if(k||q){p.preventDefault(),p.stopPropagation();const w=window.getSelection();w&&w.removeAllRanges();return}}f.closest('[data-type="variable"]')||(P.current={x:p.clientX,y:p.clientY},$.current=!1,f.closest(".file-remove-btn")&&(p.preventDefault(),p.stopPropagation()))},ye=p=>{if(!p.target.closest('[data-type="variable"]')&&P.current){const N=Math.abs(p.clientX-P.current.x),k=Math.abs(p.clientY-P.current.y);(N>3||k>3)&&($.current=!0)}},Ae=p=>{if(p.target.closest('[data-type="variable"]')){P.current=null,$.current=!1;return}P.current=null,$.current=!1},j=p=>{if(i)return;const f=p.target;if(f.closest('[data-type="datepicker"]'))return;if(f.closest(".tag-close-btn")){p.preventDefault(),p.stopPropagation();return}if(t.length===0)return;const k=(I,O)=>{if(!o.current)return;Array.from(o.current.children).forEach(L=>{if(L!==I)if(O)L.dataset.prevDisplay===void 0&&(L.dataset.prevDisplay=L.style.display||""),L.style.setProperty("display","none","important");else if(L.dataset.prevDisplay!==void 0){const Y=L.dataset.prevDisplay;Y?L.style.display=Y:L.style.removeProperty("display"),delete L.dataset.prevDisplay}else L.style.removeProperty("display")})},q=f.closest(".rte-textarea-toggle");if(q){p.preventDefault(),p.stopPropagation();const I=q.closest(".rte-textarea-wrapper"),O=I?.querySelector('[data-type="textarea"]'),L=!(q.getAttribute("data-expanded")==="true");q.setAttribute("data-expanded",String(L)),q.textContent=L?"收起":"展开",I&&I.classList.toggle("rte-textarea-expanded",L);const Y=I?.closest(".rte-textarea-required");if(Y?Y.classList.toggle("rte-textarea-overlay",L):I&&I.classList.toggle("rte-textarea-overlay",L),O)if(L)O.classList.add("rte-textarea-expanded"),O.style.maxHeight="none",O.style.height="100%";else{O.classList.remove("rte-textarea-expanded");const te=O.dataset.maxHeight||"252";O.style.maxHeight=`${te}px`,O.style.height="auto"}o.current&&(L?o.current.classList.add("rte-overlay-active"):o.current.classList.remove("rte-overlay-active"));return}const w=f.closest(".rte-richtext-toggle");if(w){p.preventDefault(),p.stopPropagation();const I=w.closest(".rte-richtext-wrapper"),O=I?.querySelector('[data-type="richtext"]'),L=!(w.getAttribute("data-expanded")==="true");w.setAttribute("data-expanded",String(L)),w.textContent=L?"收起":"展开";const Y=I?.closest(".rte-richtext-required");Y?Y.classList.toggle("rte-richtext-expanded",L):I&&I.classList.toggle("rte-richtext-expanded",L);const te=I?.closest(".exclusion-wrapper")||I?.parentElement;O&&(L?(O.style.height="100%",O.style.overflow="auto"):(O.style.height="",O.style.overflow="")),te&&(te.classList.toggle("rte-richtext-host-expanded",L),k(te,L)),o.current&&o.current.classList.toggle("rte-richtext-fullscreen-active",L);return}if(f.closest('[data-type="text"]')){p.preventDefault(),p.stopPropagation();const I=window.getSelection();I&&I.removeAllRanges();return}if(E&&f.closest(".tag-node")){p.preventDefault(),p.stopPropagation();const O=window.getSelection();O&&O.removeAllRanges();return}if(f.closest('[data-type="variable"]')){if($.current)return;setTimeout(()=>{const I=window.getSelection();I&&!I.isCollapsed||qe(o)},10);return}const G=f.closest(".file-remove-btn");if(G){p.preventDefault(),p.stopPropagation();const O=G.closest('[data-type="upload"]')?.dataset.key;O&&he(O);return}const z=f.closest('[data-type="upload"]');if(z){const I=z.dataset.key;I&&(x(I),A.current?.click());return}},re=p=>{const b=p.target.closest('[data-type="variable"]');if(b){const N=window.getSelection();if(N){const k=document.createRange(),q=b.textContent||"";if(q.replace(/\u200B/g,"")){let _=0,T=q.length;q.startsWith("​")&&(_=1),q.endsWith("​")&&q.length>1&&(T=q.length-1);const G=b.firstChild;G&&G.nodeType===Node.TEXT_NODE?(k.setStart(G,_),k.setEnd(G,T)):k.selectNodeContents(b)}else k.selectNodeContents(b),k.collapse(!0);N.removeAllRanges(),N.addRange(k)}}},ce=()=>{if(t.length===0){if(o.current){const b=!(o.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"");Q(b),M(!b)}return}if(qe(o),o.current&&o.current.querySelectorAll('[data-type="variable"]').forEach(b=>{const N=b.querySelector(".variable-info-icon");if(N){let k=!1;const q=document.createTreeWalker(b,NodeFilter.SHOW_TEXT,{acceptNode:w=>N.contains(w)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});for(;q.nextNode();)if(q.currentNode.textContent?.replace(/[\u200B\n]/g,"").trim()){k=!0;break}k?N.classList.add("hidden"):N.classList.remove("hidden")}}),Ee(o,t,c),Ce(o,t,c,M),!o.current)return;t.filter(f=>f.type==="multi-variable"&&f.key).forEach(f=>{if(!f.key)return;const b=f.maxCount||9,N=Z[f.key]||1,k=[];for(let G=0;G<N;G++){const z=`${f.key}_${G}`,I=o.current.querySelector(`[data-type="variable"][data-key="${z}"][data-multi-key="${f.key}"]`);if(I){const O=I.innerText.replace(/[\u200B\n]/g,"").trim();k.push(O)}}const w=(k[k.length-1]||"")==="";let _=!1,T=-1;for(let G=0;G<k.length-1;G++)if(k[G]===""){_=!0,T=G;break}if(_&&T>=0){const G=window.getSelection();if(G&&G.rangeCount>0){const L=G.getRangeAt(0),Y=L.startContainer,te=Y.nodeType===Node.ELEMENT_NODE?Y.closest('[data-type="variable"][data-multi-key]'):Y.parentElement?.closest('[data-type="variable"][data-multi-key]');if(te){const U=te.dataset.key;if(U){const ae=document.createRange();ae.setStartBefore(te),ae.setEnd(L.startContainer,L.startOffset);const oe=ae.toString().length;K.current={key:U,offset:oe}}}}const z=[...k];for(let L=T;L<z.length-1;L++)z[L]=z[L+1];z.pop();const I={};z.forEach((L,Y)=>{L&&(I[`${f.key}_${Y}`]=L)});const O=Math.max(w?z.length:z.length+1,1);o.current.querySelectorAll('[data-type="variable"]').forEach(L=>{const Y=L.dataset.key,te=L.dataset.multiKey;if(Y&&te!==f.key){const U=L.innerText.replace(/[\u200B\n]/g,"").trim();U&&(I[Y]=U)}}),o.current.__tempVariableValues=I,S(L=>({...L,[f.key]:O}));return}if(!w){const G=N-1,z=`${f.key}_${G}`,I=o.current.querySelector(`[data-type="variable"][data-key="${z}"][data-multi-key="${f.key}"]`);if(I&&I.innerText.replace(/[\u200B\n]/g,"").trim().length>0&&N<b){const R=window.getSelection();if(R&&R.rangeCount>0){const L=R.getRangeAt(0),Y=L.startContainer,te=Y.nodeType===Node.ELEMENT_NODE?Y.closest('[data-type="variable"][data-multi-key]'):Y.parentElement?.closest('[data-type="variable"][data-multi-key]');if(te){const U=te.dataset.key;if(U){const ae=document.createRange();ae.setStartBefore(te),ae.setEnd(L.startContainer,L.startOffset);const oe=ae.toString().length;K.current={key:U,offset:oe}}}}S(L=>({...L,[f.key]:N+1}))}}})};l.useLayoutEffect(()=>{const p=o.current;if(!p)return;const f=new Map,b=q=>{const w=q.target,_=q.relatedTarget;!w||!o.current||!o.current.contains(w)||_&&o.current.contains(_)||setTimeout(()=>{if(o.current){if(t.length===0){const T=o.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";M(T.length>0);return}qe(o),Ee(o,t,c),Ce(o,t,c,M)}},0)};p.addEventListener("blur",b,!0);const N=()=>{if(!o.current)return;f.forEach((_,T)=>{T.removeEventListener("blur",_,!1)}),f.clear();const q=o.current.querySelectorAll('[data-type="variable"][data-multi-key]'),w=_=>{_.stopPropagation(),_.stopImmediatePropagation();const T=_.target;if(!T||!o.current||!o.current.contains(T))return;const G=T.closest('[data-type="variable"][data-multi-key]');if(!G||!o.current.contains(G))return;let z=!1;if(f.forEach((ae,oe)=>{(oe===G||oe.contains(T))&&(z=!0)}),!z)return;const I=G.dataset.multiKey,O=G.dataset.key,R=G.dataset.index;if(!I||!O||R===void 0)return;const L=_.relatedTarget;if(!(!L||!o.current.contains(L)))return;const te=G.innerText.replace(/[\u200B\n]/g,"").trim();console.log("[Blur Event] 失去焦点的 multi-variable 输入框:",{multiKey:I,currentKey:O,index:R,content:te});const U=/[、,,\s]+/;if(U.test(te)){const ae=te.split(U).map(me=>me.trim()).filter(me=>me.length>0);console.log("[Blur Event] 拆分前的内容:",te),console.log("[Blur Event] 拆分后的部分:",ae);const ue=ae.slice(0,9);if(console.log("[Blur Event] 有效的部分(最多9个):",ue),ue.length>1){const me=t.find(be=>be.type==="multi-variable"&&be.key===I);if(me){const be=Z[I]||1,Xe=parseInt(R,10),Je=me.maxCount||9,xe=[];for(let le=0;le<be;le++){const ge=`${I}_${le}`,ke=o.current.querySelector(`[data-type="variable"][data-key="${ge}"][data-multi-key="${I}"]`);if(ke){const we=ke.innerText.replace(/[\u200B\n]/g,"").trim();xe.push(we)}}console.log("[Blur Event] 拆分前的所有值:",xe),console.log("[Blur Event] 当前索引:",Xe),console.log("[Blur Event] 要插入的值:",ue),xe.splice(Xe,1,...ue);const pe=xe.slice(0,Je);console.log("[Blur Event] 拆分后的所有值:",pe),pe.length>0&&pe[pe.length-1]!==""&&pe.length<Je&&pe.push("");const yt=Math.max(pe.length,1),Ie={};pe.forEach((le,ge)=>{le&&(Ie[`${I}_${ge}`]=le)}),o.current.querySelectorAll('[data-type="variable"]').forEach(le=>{const ge=le.dataset.key,ke=le.dataset.multiKey;if(ge&&ke!==I){const we=le.innerText.replace(/[\u200B\n]/g,"").trim();we&&(Ie[ge]=we)}}),o.current.__tempVariableValues=Ie,S(le=>({...le,[I]:yt}))}}}};q.forEach(_=>{_.addEventListener("blur",w,!1),f.set(_,w)})},k=setTimeout(()=>{N()},0);return()=>{clearTimeout(k),p.removeEventListener("blur",b,!0),f.forEach((q,w)=>{w.removeEventListener("blur",q,!1)}),f.clear()}},[t,Z,c]);const ve=p=>{if(i){p.preventDefault();return}const f=window.getSelection();if(f&&f.rangeCount>0){const b=f.anchorNode;let N=null;if(b&&(b.nodeType===Node.ELEMENT_NODE?N=b.closest('[data-type="text"]'):b.nodeType===Node.TEXT_NODE&&b.parentElement&&(N=b.parentElement.closest('[data-type="text"]'))),N){if(p.preventDefault(),p.stopPropagation(),o.current){const k=o.current.querySelector('[data-type="variable"], [data-type="upload"]');k&&k.focus()}return}}if(E&&f&&f.rangeCount>0){const b=f.anchorNode;let N=null;if(b&&(b.nodeType===Node.ELEMENT_NODE?N=b.closest(".tag-node"):b.nodeType===Node.TEXT_NODE&&b.parentElement&&(N=b.parentElement.closest(".tag-node"))),N){if(p.preventDefault(),p.stopPropagation(),o.current){const k=o.current.querySelector('[data-type="variable"], [data-type="upload"]');k&&k.focus()}return}}if(p.key==="Enter"&&!p.shiftKey&&(p.preventDefault(),Ue()),p.key==="Escape"&&o.current){if(E){p.preventDefault();return}o.current.innerHTML="",o.current.focus()}if(p.key==="Backspace"){const b=window.getSelection();if(b&&b.rangeCount>0){const N=b.getRangeAt(0),k=b.anchorNode;if(E){let w=null,_=null;if(k&&(k.nodeType===Node.ELEMENT_NODE?(w=k.closest(".tag-node"),_=k.closest('[data-type="text"]')):k.nodeType===Node.TEXT_NODE&&k.parentElement&&(w=k.parentElement.closest(".tag-node"),_=k.parentElement.closest('[data-type="text"]'))),(w||_)&&N.collapsed&&N.startOffset===0){p.preventDefault();return}}let q=null;if(k&&(k.nodeType===Node.ELEMENT_NODE?q=k.closest('[data-type="variable"]'):k.nodeType===Node.TEXT_NODE&&k.parentElement&&(q=k.parentElement.closest('[data-type="variable"]'))),q){if(!N.collapsed)return;const w=q.innerText;if(w==="​"||w===""){p.preventDefault();return}if(N.startOffset===0){p.preventDefault();return}if(w.startsWith("​")&&N.startOffset===1){p.preventDefault();return}}}}},Ue=()=>{if(u||i||e||!F||!o.current)return;if(t.length===0){const q=o.current.textContent?.replace(/[\u200B\n]/g,"").trim()||"";if(!q)return;v(q,q);return}const p=o.current;let f="";const b={},N=q=>{if(!(q.nodeType===Node.ELEMENT_NODE&&q.style.display==="none")){if(q.nodeType===Node.TEXT_NODE)f+=(q.textContent||"").replace(/\u200B/g,"");else if(q.nodeType===Node.ELEMENT_NODE){const w=q,_=w.dataset.type,T=w.dataset.key;if(_==="variable"&&T){let G="";const z=document.createTreeWalker(w,NodeFilter.SHOW_TEXT,{acceptNode:O=>{const R=w.querySelector(".variable-info-icon");return R&&R.contains(O)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}});for(;z.nextNode();)G+=z.currentNode.textContent||"";const I=G.replace(/[\u200B\n]/g,"").trim();if(I){const O=w.dataset.multiKey;if(O){(!b[O]||!Array.isArray(b[O]))&&(b[O]=[]);const R=b[O];R.push(I),R.length>1&&(f+=" "),f+=I}else b[T]=I,f+=I}}else if(_==="select"&&T){const G=w,z=(G.value||"").trim();if(z){b[T]=z;const I=G.selectedOptions?.[0];f+=I?.textContent||z}}else if(_==="textarea"&&T){const z=(w.value||"").replace(/\u200B/g,"").trim();z&&(b[T]=z,f+=z)}else if(_==="richtext"&&T){const z=(w.textContent||"").replace(/\u200B/g,"").trim();z&&(b[T]=z,f+=z)}else if(_==="datepicker"&&T){const z=(w.getAttribute("data-value")||"").trim();z&&(b[T]=z,f+=z)}else if(_==="upload"&&T)b[T]=c[T]??null,c[T]&&(f+=` [附带文件: ${c[T]?.name}] `);else{if(w.classList.contains("tag-close-btn")||w.classList.contains("file-remove-btn"))return;w.getAttribute("contenteditable")==="false"&&!_&&w.classList.contains("tag-node")?f+=w.innerText:w.childNodes.forEach(N)}}}};if(p.childNodes.forEach(N),f=f.trim(),!f)return;const k=new FormData;k.append("fullPrompt",f),Object.keys(b).forEach(q=>{const w=b[q];w!=null&&(w instanceof File?k.append(q,w):Array.isArray(w)?t.some(T=>T.type==="multi-variable"&&T.key===q)?w.forEach(T=>{T!=null&&T!==""&&k.append(q,String(T))}):w.forEach((T,G)=>{T!=null&&(T instanceof File?k.append(`${q}[${G}]`,T):typeof T=="string"?k.append(`${q}[${G}]`,T):k.append(`${q}[${G}]`,String(T)))}):typeof w=="string"?k.append(q,w):k.append(q,String(w)))}),v(k,f)},ft={...d?{width:typeof d=="number"?`${d}px`:d}:{},...s?{border:s}:{},...B?{background:B}:{}};return n.jsxs("div",{className:"rich-text-editor",style:ft,"data-disabled":i,children:[n.jsx("div",{ref:o,className:`rte-editor ${t.length===0?"rte-editor-default":""} ${J&&r?"rte-editor-empty":""}`,contentEditable:t.length===0,suppressContentEditableWarning:!0,"data-placeholder":r,onMouseDown:Ne,onMouseMove:ye,onMouseUp:Ae,onClick:j,onDoubleClick:re,onInput:ce,onKeyDown:ve,onPaste:Se}),n.jsx("input",{type:"file",ref:A,className:"rte-file-input",accept:".csv,.xlsx,.xls,.txt,.pdf,image/*",onChange:$e}),n.jsxs("div",{className:"rich-text-editor-footer",children:[n.jsx("div",{className:"rich-text-editor-footer-left",children:n.jsxs("div",{className:"rich-text-editor-brand",children:[n.jsxs("div",{className:"rte-brand-badge",children:[n.jsx("img",{src:"https://oospublic.sealseek.cn/file/website/ball.png",alt:""}),n.jsx("span",{className:"rte-brand-text",children:"SealSeek 1.0"})]}),m!=="hideAgent"&&n.jsx(W.Dropdown,{placement:"top",menu:{items:V.map(p=>({key:p.key,label:n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[p.icon&&n.jsx("i",{className:p.icon}),n.jsx("span",{children:p.label})]}),onClick:()=>{C?.(p)}}))},trigger:["click"],disabled:i||u,children:n.jsxs("div",{className:"rte-agent-badge",style:{cursor:V.length>0?"pointer":"default"},children:[n.jsx("i",{className:"iconfont icon-zhinengti"}),n.jsx("span",{className:"rte-agent-text",children:"智能体"})]})})]})}),n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:[(()=>{const p=t.find(b=>b.type==="tag");if(!p||!p.text)return null;const f=V.find(b=>b.label===p.text);return!f||f.points===void 0||f.points===null?null:n.jsxs("div",{className:"rte-points-badge",children:[n.jsx("i",{className:"iconfont icon-jifen",style:{marginRight:"4px"}}),n.jsxs("span",{style:{fontSize:"16px"},children:["-",String(f.points)]})]})})(),n.jsx("button",{type:"button",onClick:Ue,disabled:u||i||e||!F,className:"rich-text-editor-send-button",children:u||e?n.jsx("span",{className:"rte-send-spinner"}):n.jsx("i",{className:"iconfont icon-fasong"})})]})]}),h?.anchorEl&&(()=>{if(!document.body.contains(h.anchorEl))return null;let p="",f={background:"var(--neutral-800, #262626)"};if(h.type==="upload")p=t.find(k=>k.type==="upload"&&k.key===h.key)?.tooltip||"";else if(h.type==="tag")p=h.anchorEl.dataset.tooltip||"";else if(h.type==="upload-label")p=h.anchorEl.dataset.fileName||"";else if(h.type==="variable")p=h.anchorEl.dataset.tooltip||"";else if(h.type==="upload-preview"){const N=c[h.key];if(N&&N.type&&N.type.startsWith("image/")){const k=URL.createObjectURL(N);p=n.jsx("div",{style:{width:120,height:120,display:"flex",alignItems:"center",justifyContent:"center"},children:n.jsx("img",{src:k,style:{maxWidth:120,maxHeight:120,objectFit:"contain"}})}),f={background:"#fff",padding:4},setTimeout(()=>URL.revokeObjectURL(k),1e3)}else p=""}if(!p)return null;const b=h.type==="upload-preview"?"#0A0A0A":"#fff";return Qe.createPortal(n.jsx(W.Tooltip,{arrow:!1,title:n.jsx("div",{style:{maxWidth:"200px",fontSize:"12px",color:b},children:p}),open:!0,placement:"top",getPopupContainer:()=>document.body,overlayInnerStyle:f,children:n.jsx("div",{style:{position:"fixed",left:`${h.anchorEl.getBoundingClientRect().left}px`,top:`${h.anchorEl.getBoundingClientRect().top}px`,width:`${h.anchorEl.offsetWidth}px`,height:`${h.anchorEl.offsetHeight}px`,pointerEvents:"none"}})}),document.body)})()]})};Oe.__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 Fe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFSSURBVHgB3ZTtccIwDIaVXv83I2SDZgSP0BHMBG0naEZhA2boBGQDswHdQJUOGRxjO0Z8HPDe6eJzJD2W4gjgEYSIn2xwK6EIFHqBGysJpMP3ZB0oRbEtmal1NtIxl4OWWsoxEsvqofJ0rgTNASOYq+7SXKDsuYvAcgkq/PWwBLQWqIfdjeRStaBUc4qzgLi9/BzJNmS/sh6bpvmrTfSFacU3scWy1mQryWdSnXiFE8QVUJINLTuyhWzzz/1OZmTN9hEckqtfUOwIGlGCpVRjE+94JFqpMtTeVzO8/UmPxpZU8Qa7aln8Tb9pfwla4WHWrjPvvbbnTBsX7PmLs83EDAH0BxSw1G31+/1FoDg/vPcXR+wocQS1apj4+P92FfhOoLyuBfYlmPgYnGoCjWADzAkzUyJ430awLmphPaxWQVU22BuuApPkHaanjcXSN3t6/QNjTMSJWDcs1QAAAABJRU5ErkJggg==",st=[{label:"5页",value:5},{label:"10页",value:10},{label:"15页",value:15},{label:"30页",value:30}],it=({autoLoading:t,batchSize:v,loadingProgress:u,loadIcon:i,onBatchSizeChange:d,onLoadNextPage:E,onStartAutoLoad:V,onStopLoad:C})=>t&&u?n.jsxs("div",{className:"auto_load_progress",children:[i||n.jsx("img",{src:Fe,alt:"自动加载",width:14,height:14}),n.jsxs("span",{children:["正在加载第",u.currentPage,"/",u.totalPages,"页"]}),n.jsx(W.Progress,{percent:u.percentage,type:"line",size:[160,8]}),n.jsx("span",{onClick:C,className:"auto_load_stop_btn",children:"停止加载"})]}):n.jsxs("div",{className:"auto_load_container",children:[n.jsx("div",{onClick:E,className:"auto_load_next_btn",style:{backgroundColor:t?"#f5f5f5":"#2563eb"},children:"加载下一页"}),n.jsxs("div",{className:"right_control_wrap",style:{backgroundColor:t?"#f5f5f5":"#2563eb"},children:[n.jsxs("div",{className:"auto_load_btn",onClick:t?void 0:V,children:[i||n.jsx("img",{src:Fe,alt:"自动加载",width:14,height:14}),n.jsx("span",{children:"自动加载"})]}),n.jsx(W.Select,{value:v,onChange:d,options:st,disabled:t,size:"small",className:"auto_load_select",popupMatchSelectWidth:84})]})]}),ct=({current:t,loadIcon:v,pageSize:u,total:i,cachedPages:d,loadedCount:E,autoLoading:V=!1,loadingProgress:C,onChange:a,onLoadNextPage:e,onStartAutoLoad:r,onStopLoading:s})=>{const[B,m]=l.useState(5),o=Math.ceil(i/u),A=l.useMemo(()=>d.length>=o,[d,o]),c=()=>Array.from({length:o},(x,h)=>h+1).filter(x=>!d.includes(x)).slice(0,B),g=(y,x,h)=>{const D=d.includes(y);return x==="prev"||x==="next"||x==="jump-prev"||x==="jump-next"?n.jsx("div",{className:"pageBox",children:h}):n.jsxs("div",{className:"pageBox",style:{backgroundColor:t===y?"#2563EB":"#f5f5f5",color:t===y?"#fff":D?"#171717":"#a3a3a3"},children:[y,!D&&n.jsx("span",{className:"unload_spot"})]})};return n.jsxs("div",{className:"pagination_footer",children:[n.jsxs("div",{className:"pagination_leftWrap",children:[n.jsxs("span",{className:"pagination_total",children:[n.jsx(de.InfoCircleOutlined,{style:{color:"#2563EB",marginRight:"4px"}}),"已加载: ",E,"/",i,"条数据"]}),!A&&n.jsx(it,{loadIcon:v||void 0,autoLoading:V,batchSize:B,loadingProgress:C,disabled:!e||!r,onBatchSizeChange:m,onLoadNextPage:()=>e?.(),onStartAutoLoad:()=>{const y=c();r?.(y)},onStopLoad:()=>s?.()})]}),n.jsx(W.Pagination,{current:t,pageSize:u,total:i,onChange:y=>a(y),showSizeChanger:!1,showQuickJumper:!1,showTotal:(y,x)=>"",itemRender:g})]})},ze=t=>{const{loading:v,autoLoading:u,loadingProgress:i,columns:d=[],dataSource:E=[],total:V,current:C,pageSize:a,cachedPages:e,onChangePage:r,onLoadNextPage:s,onStartAutoLoad:B,onStopLoading:m,...o}=t,A=l.useRef(null),c=l.useCallback(g=>{r(g),e.includes(g)&&A.current?.scrollTo({key:`${(g-1)*a+1}`})},[C]);return n.jsxs("div",{className:"flex flex-col",children:[n.jsx(W.Table,{ref:A,...o,columns:d,dataSource:E,pagination:!1,virtual:!0}),n.jsx(ct,{loading:v,autoLoading:u,loadingProgress:i,current:C,pageSize:a,total:V,loadedCount:E.length,cachedPages:e,onChange:c,onLoadNextPage:s,onStartAutoLoad:B,onStopLoading:m})]})};ze.__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 We=({texts:t=[],placeholder:v="请输入内容",animationSpeed:u=100,autoPlay:i=!0,value:d,onChange:E,...V})=>{const[C,a]=l.useState(""),[e,r]=l.useState(0),[s,B]=l.useState(!1),[m,o]=l.useState(!1),[A,c]=l.useState(!1),g=l.useRef(void 0),y=l.useRef(void 0),x=l.useRef(t),h=l.useRef(e),D=l.useRef(m),$=l.useRef(C);l.useEffect(()=>{x.current=t,h.current=e,D.current=m,$.current=C});const P=l.useCallback((S,H)=>{let ee=0;c(!0);const ne=()=>{ee<S.length?(a(S.slice(0,ee+1)),ee++,y.current=window.setTimeout(ne,u)):(c(!1),H?.())};ne()},[u]),F=l.useCallback(S=>{let H=$.current.length;const ee=()=>{H>0?(a($.current.slice(0,H-1)),H--,y.current=window.setTimeout(ee,u/2)):S?.()};ee()},[u]),M=l.useCallback(()=>{if(x.current.length===0||D.current)return;B(!0);const S=x.current[h.current];$.current?F(()=>{P(S,()=>{g.current=window.setTimeout(()=>{r(H=>(H+1)%x.current.length),B(!1)},2e3)})}):P(S,()=>{g.current=window.setTimeout(()=>{r(H=>(H+1)%x.current.length),B(!1)},2e3)})},[F,P]);l.useEffect(()=>(i&&t.length>0&&!m&&M(),()=>{g.current&&window.clearTimeout(g.current),y.current&&window.clearTimeout(y.current)}),[e,m,i,t.length,M]),l.useEffect(()=>{!s&&i&&t.length>0&&!m&&M()},[e,s,i,t.length,m,M]);const K=S=>{o(!0),g.current&&window.clearTimeout(g.current),y.current&&window.clearTimeout(y.current),B(!1),c(!1),V.onFocus?.(S)},J=S=>{o(!1),!d&&t.length>0&&(a(""),r(0)),V.onBlur?.(S)},Q=S=>{E?.(S.target.value),V.onChange?.(S)},Z=()=>m||d?v:C||v;return n.jsxs("div",{style:{position:"relative"},children:[n.jsx(W.Input,{...V,value:d,onChange:Q,onFocus:K,onBlur:J,placeholder:Z(),style:{...V.style,position:"relative",zIndex:1}}),!m&&!d&&C&&n.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:[n.jsx("span",{children:C}),A&&n.jsx("span",{style:{display:"inline-block",width:1,height:"1.2em",backgroundColor:"#1890ff",marginLeft:2,animation:"blink 1s infinite"}})]}),n.jsx("style",{children:`
272
2
  @keyframes blink {
273
3
  0%, 50% { opacity: 1; }
274
4
  51%, 100% { opacity: 0; }
275
5
  }
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:`
6
+ `})]})};We.__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 je=({texts:t=[],placeholder:v="请输入内容",animationSpeed:u=100,autoPlay:i=!0,value:d="",onChange:E,onSubmit:V,maxLength:C=500,showCount:a=!0,submitText:e="发送",disabled:r=!1,rows:s=4,style:B,...m})=>{const[o,A]=l.useState(""),[c,g]=l.useState(0),[y,x]=l.useState(!1),[h,D]=l.useState(!1),[$,P]=l.useState(!1),[F,M]=l.useState(d||""),K=l.useRef(void 0),J=l.useRef(void 0),Q=l.useRef(t),Z=l.useRef(c),S=l.useRef(h),H=l.useRef(o),ee=l.useRef(null);l.useEffect(()=>{Q.current=t,Z.current=c,S.current=h,H.current=o});const ne=l.useCallback((j,re)=>{let ce=0;P(!0);const ve=()=>{ce<j.length?(A(j.slice(0,ce+1)),ce++,J.current=window.setTimeout(ve,u)):(P(!1),re?.())};ve()},[u]),se=l.useCallback(j=>{let re=H.current.length;const ce=()=>{re>0?(A(H.current.slice(0,re-1)),re--,J.current=window.setTimeout(ce,u/2)):j?.()};ce()},[u]),fe=l.useCallback(()=>{if(Q.current.length===0||S.current)return;x(!0);const j=Q.current[Z.current];H.current?se(()=>{ne(j,()=>{K.current=window.setTimeout(()=>{g(re=>(re+1)%Q.current.length),x(!1)},2e3)})}):ne(j,()=>{K.current=window.setTimeout(()=>{g(re=>(re+1)%Q.current.length),x(!1)},2e3)})},[se,ne]);l.useEffect(()=>(i&&t.length>0&&!h&&fe(),()=>{K.current&&window.clearTimeout(K.current),J.current&&window.clearTimeout(J.current)}),[c,h,i,t.length,fe]),l.useEffect(()=>{!y&&i&&t.length>0&&!h&&fe()},[c,y,i,t.length,h,fe]);const ie=j=>{D(!0),K.current&&window.clearTimeout(K.current),J.current&&window.clearTimeout(J.current),x(!1),P(!1),m.onFocus?.(j)},Se=j=>{D(!1),!d&&t.length>0&&(A(""),g(0)),m.onBlur?.(j)},$e=j=>{const re=j.target.value;C&&re.length>C||(E?E(re):M(re),m.onChange?.(j))},he=()=>{const j=E?d:F;j.trim()&&!r&&(V?.(j),E||M(""))},Ne=j=>{(j.ctrlKey||j.metaKey)&&j.key==="Enter"&&(j.preventDefault(),he()),m.onKeyDown?.(j)},ye=E?d:F,Ae=r||!ye.trim()||(C?ye.length>C:!1);return n.jsxs("div",{style:{position:"relative",...B},children:[n.jsxs("div",{style:{position:"relative"},children:[n.jsx("textarea",{ref:ee,value:E?d:F,onChange:$e,onFocus:j=>{j.target.style.borderColor="#1890ff",j.target.style.boxShadow="0 0 0 2px rgba(24, 144, 255, 0.2)",ie(j)},onBlur:j=>{j.target.style.borderColor="#d9d9d9",j.target.style.boxShadow="none",Se(j)},onKeyDown:Ne,placeholder:h||ye?v:"",maxLength:C,rows:s,disabled:r,style:{width:"100%",minHeight:`${s*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",...m.style},...m}),!h&&!ye&&o&&n.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:[n.jsx("span",{children:o}),$&&n.jsx("span",{style:{display:"inline-block",width:1,height:"1.2em",backgroundColor:"#1890ff",marginLeft:2,animation:"blink 1s infinite"}})]}),n.jsx("div",{style:{position:"absolute",bottom:8,right:8,zIndex:3},children:n.jsx(W.Button,{type:"primary",size:"small",icon:n.jsx(de.SendOutlined,{}),onClick:he,disabled:Ae,style:{borderRadius:6,minWidth:32,height:32,display:"flex",alignItems:"center",justifyContent:"center"},children:e})})]}),a&&n.jsxs("div",{style:{marginTop:4,textAlign:"right",fontSize:"12px",color:"#999"},children:[ye.length,"/",C]}),n.jsx("style",{children:`
277
7
  @keyframes blink {
278
8
  0%, 50% { opacity: 1; }
279
9
  51%, 100% { opacity: 0; }
280
10
  }
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"})});
11
+ `})]})};je.__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 Te=({src:t,poster:v,width:u=300,height:i,videoWidth:d,videoHeight:E,showPlayButton:V=!0,autoPlayOnHover:C=!0,onClick:a,onVideoLoaded:e,onVideoPlay:r,onVideoPause:s,onVideoEnded:B,className:m,style:o,...A})=>{const c=l.useRef(null),[g,y]=l.useState(!1),[x,h]=l.useState(!1),[D,$]=l.useState(!1),P=l.useCallback(()=>{c.current&&(c.current.play(),y(!0),r?.())},[r]),F=l.useCallback(()=>{c.current&&(c.current.pause(),y(!1),s?.())},[s]),M=l.useCallback(ne=>{ne.stopPropagation(),g?F():P()},[g,P,F]),K=l.useCallback(()=>{h(!0),C&&!g&&P()},[C,g,P]),J=l.useCallback(()=>{h(!1),C&&g&&F()},[C,g,F]),Q=l.useCallback(()=>{$(!0),e?.()},[e]),Z=l.useCallback(()=>{y(!0),r?.()},[r]),S=l.useCallback(()=>{y(!1),s?.()},[s]),H=l.useCallback(()=>{y(!1),B?.()},[B]),ee=l.useCallback(ne=>{a?.(ne)},[a]);return n.jsx(W.Card,{...A,className:`video-card ${m||""}`,style:{width:u,height:i,padding:0,overflow:"hidden",cursor:a?"pointer":"default",border:"none",borderRadius:0,...o},bordered:!1,onMouseEnter:K,onMouseLeave:J,onClick:ee,children:n.jsxs("div",{className:"video-card-container",children:[n.jsx("video",{ref:c,src:t,poster:v,preload:"metadata",onLoadedData:Q,onPlay:Z,onPause:S,onEnded:H,muted:!0,loop:!0}),V&&n.jsx("div",{className:`video-play-button ${x?"hovered":""}`,onClick:M,children:g?n.jsx(de.PauseCircleOutlined,{className:"play-icon"}):n.jsx(de.PlayCircleOutlined,{className:"play-icon"})}),!D&&n.jsx("div",{className:"video-loading-mask",children:n.jsx("div",{className:"loading-spinner"})})]})})};Te.__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 ut=t=>[".mp4",".webm",".ogg",".mov",".avi",".wmv",".flv",".mkv"].some(u=>t.toLowerCase().includes(u)),dt=t=>t.type?t.type:ut(t.url)?"video":"image",Ke=({items:t,columns:v,gap:u=0,responsive:i=!0,breakpoints:d={xs:1,sm:2,md:3,lg:4,xl:5,xxl:6},className:E,style:V,onClick:C})=>{const a=l.useRef(null),[e,r]=l.useState(v||d.md||3),s=l.useRef(new Map),B=l.useCallback(()=>{if(!i||v)return v||d.md||3;const c=window.innerWidth;return c<576?d.xs||1:c<768?d.sm||2:c<992?d.md||3:c<1200?d.lg||4:c<1600?d.xl||5:d.xxl||6},[i,v,d]),m=l.useCallback(()=>{if(!a.current)return;const c=e,g=a.current,x=(g.offsetWidth-u*(c-1))/c,h=new Array(c).fill(0);t.forEach(($,P)=>{const F=$.id||P,M=s.current.get(F);if(!M)return;const K=Math.min(...h),J=h.indexOf(K),Q=J*(x+u),Z=h[J];M.style.position="absolute",M.style.left=`${Q}px`,M.style.top=`${Z}px`,M.style.width=`${x}px`,h[J]+=M.offsetHeight+u});const D=Math.max(...h);g.style.height=`${D}px`},[t,e,u]);l.useEffect(()=>{const c=()=>{const g=B();g!==e&&r(g)};if(i)return window.addEventListener("resize",c),c(),()=>window.removeEventListener("resize",c)},[i,B,e]),l.useEffect(()=>{const c=setTimeout(()=>{m()},100);return()=>clearTimeout(c)},[t,e,m]);const o=l.useCallback(()=>{m()},[m]),A=l.useCallback(c=>{C&&C(c),c.onClick?.(c)},[C]);return n.jsx("div",{ref:a,className:`waterfall-container ${E||""}`,style:{position:"relative",width:"100%",...V},children:t.map((c,g)=>{const y=c.id||g,x=dt(c);return n.jsx("div",{ref:h=>{h?s.current.set(y,h):s.current.delete(y)},className:"waterfall-item",children:x==="video"?n.jsx("div",{style:{width:"100%",position:"relative",paddingBottom:"56.25%",cursor:C||c.onClick?"pointer":"default"},children:n.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:n.jsx(Te,{src:c.url,poster:c.poster,width:"100%",height:"100%",onClick:()=>A(c),onVideoLoaded:o,autoPlayOnHover:!0,showPlayButton:!1})})}):n.jsx("div",{className:"waterfall-image-wrapper",onClick:()=>A(c),style:{cursor:C||c.onClick?"pointer":"default"},children:n.jsx("img",{src:c.url,alt:`瀑布流图片 ${g+1}`,className:"waterfall-image",onLoad:o,onError:o,style:{display:"block",width:"100%",height:"auto"}})})},y)})})};Ke.__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 pt={algorithm:W.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"}}};X.AdvancedTable=He,X.AppModal=Ve,X.BackButton=Ge,X.Button=Le,X.Card=Be,X.DynamicInput=We,X.DynamicTextArea=je,X.EmptyAndSpin=Pe,X.LinkButton=Me,X.PageTable=_e,X.RichTextEditor=Oe,X.VideoCard=Te,X.VirtualTable=ze,X.Waterfall=Ke,X.XcIcon=De,X.lightTheme=pt,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})});
282
12
  //# sourceMappingURL=index.umd.js.map