banhaten-ui 0.0.11 → 0.0.12
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.cjs +2 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +417 -0
- package/dist/index.js +4526 -0
- package/dist/index.js.map +1 -0
- package/package.json +2 -2
- package/dist/assets/index-BGiF-5-q.js +0 -120
- package/dist/index.html +0 -20
- /package/dist/{assets/index-CxVUKmCr.css → style.css} +0 -0
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=n(l);fetch(l.href,o)}})();function pd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ia={exports:{}},Dl={},Da={exports:{}},D={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react.production.min.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Facebook, Inc. and its 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 kr=Symbol.for("react.element"),md=Symbol.for("react.portal"),hd=Symbol.for("react.fragment"),gd=Symbol.for("react.strict_mode"),vd=Symbol.for("react.profiler"),xd=Symbol.for("react.provider"),yd=Symbol.for("react.context"),wd=Symbol.for("react.forward_ref"),kd=Symbol.for("react.suspense"),Sd=Symbol.for("react.memo"),Cd=Symbol.for("react.lazy"),ys=Symbol.iterator;function Nd(e){return e===null||typeof e!="object"?null:(e=ys&&e[ys]||e["@@iterator"],typeof e=="function"?e:null)}var Fa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Aa=Object.assign,Ba={};function Pn(e,t,n){this.props=e,this.context=t,this.refs=Ba,this.updater=n||Fa}Pn.prototype.isReactComponent={};Pn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Pn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ua(){}Ua.prototype=Pn.prototype;function Ci(e,t,n){this.props=e,this.context=t,this.refs=Ba,this.updater=n||Fa}var Ni=Ci.prototype=new Ua;Ni.constructor=Ci;Aa(Ni,Pn.prototype);Ni.isPureReactComponent=!0;var ws=Array.isArray,Va=Object.prototype.hasOwnProperty,ji={current:null},$a={key:!0,ref:!0,__self:!0,__source:!0};function Wa(e,t,n){var r,l={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)Va.call(t,r)&&!$a.hasOwnProperty(r)&&(l[r]=t[r]);var s=arguments.length-2;if(s===1)l.children=n;else if(1<s){for(var a=Array(s),c=0;c<s;c++)a[c]=arguments[c+2];l.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)l[r]===void 0&&(l[r]=s[r]);return{$$typeof:kr,type:e,key:o,ref:i,props:l,_owner:ji.current}}function jd(e,t){return{$$typeof:kr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function bi(e){return typeof e=="object"&&e!==null&&e.$$typeof===kr}function bd(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ks=/\/+/g;function eo(e,t){return typeof e=="object"&&e!==null&&e.key!=null?bd(""+e.key):t.toString(36)}function Jr(e,t,n,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case kr:case md:i=!0}}if(i)return i=e,l=l(i),e=r===""?"."+eo(i,0):r,ws(l)?(n="",e!=null&&(n=e.replace(ks,"$&/")+"/"),Jr(l,t,n,"",function(c){return c})):l!=null&&(bi(l)&&(l=jd(l,n+(!l.key||i&&i.key===l.key?"":(""+l.key).replace(ks,"$&/")+"/")+e)),t.push(l)),1;if(i=0,r=r===""?".":r+":",ws(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+eo(o,s);i+=Jr(o,t,n,a,l)}else if(a=Nd(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;)o=o.value,a=r+eo(o,s++),i+=Jr(o,t,n,a,l);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Lr(e,t,n){if(e==null)return e;var r=[],l=0;return Jr(e,r,"","",function(o){return t.call(n,o,l++)}),r}function Ed(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ne={current:null},qr={transition:null},_d={ReactCurrentDispatcher:Ne,ReactCurrentBatchConfig:qr,ReactCurrentOwner:ji};function Ha(){throw Error("act(...) is not supported in production builds of React.")}D.Children={map:Lr,forEach:function(e,t,n){Lr(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Lr(e,function(){t++}),t},toArray:function(e){return Lr(e,function(t){return t})||[]},only:function(e){if(!bi(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};D.Component=Pn;D.Fragment=hd;D.Profiler=vd;D.PureComponent=Ci;D.StrictMode=gd;D.Suspense=kd;D.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_d;D.act=Ha;D.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Aa({},e.props),l=e.key,o=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,i=ji.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)Va.call(t,a)&&!$a.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var c=0;c<a;c++)s[c]=arguments[c+2];r.children=s}return{$$typeof:kr,type:e.type,key:l,ref:o,props:r,_owner:i}};D.createContext=function(e){return e={$$typeof:yd,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:xd,_context:e},e.Consumer=e};D.createElement=Wa;D.createFactory=function(e){var t=Wa.bind(null,e);return t.type=e,t};D.createRef=function(){return{current:null}};D.forwardRef=function(e){return{$$typeof:wd,render:e}};D.isValidElement=bi;D.lazy=function(e){return{$$typeof:Cd,_payload:{_status:-1,_result:e},_init:Ed}};D.memo=function(e,t){return{$$typeof:Sd,type:e,compare:t===void 0?null:t}};D.startTransition=function(e){var t=qr.transition;qr.transition={};try{e()}finally{qr.transition=t}};D.unstable_act=Ha;D.useCallback=function(e,t){return Ne.current.useCallback(e,t)};D.useContext=function(e){return Ne.current.useContext(e)};D.useDebugValue=function(){};D.useDeferredValue=function(e){return Ne.current.useDeferredValue(e)};D.useEffect=function(e,t){return Ne.current.useEffect(e,t)};D.useId=function(){return Ne.current.useId()};D.useImperativeHandle=function(e,t,n){return Ne.current.useImperativeHandle(e,t,n)};D.useInsertionEffect=function(e,t){return Ne.current.useInsertionEffect(e,t)};D.useLayoutEffect=function(e,t){return Ne.current.useLayoutEffect(e,t)};D.useMemo=function(e,t){return Ne.current.useMemo(e,t)};D.useReducer=function(e,t,n){return Ne.current.useReducer(e,t,n)};D.useRef=function(e){return Ne.current.useRef(e)};D.useState=function(e){return Ne.current.useState(e)};D.useSyncExternalStore=function(e,t,n){return Ne.current.useSyncExternalStore(e,t,n)};D.useTransition=function(){return Ne.current.useTransition()};D.version="18.3.1";Da.exports=D;var V=Da.exports;const Qt=pd(V);/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its 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 zd=V,Pd=Symbol.for("react.element"),Ld=Symbol.for("react.fragment"),Rd=Object.prototype.hasOwnProperty,Td=zd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Od={key:!0,ref:!0,__self:!0,__source:!0};function Qa(e,t,n){var r,l={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)Rd.call(t,r)&&!Od.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)l[r]===void 0&&(l[r]=t[r]);return{$$typeof:Pd,type:e,key:o,ref:i,props:l,_owner:Td.current}}Dl.Fragment=Ld;Dl.jsx=Qa;Dl.jsxs=Qa;Ia.exports=Dl;var u=Ia.exports,Ga={exports:{}},Ie={},Ka={exports:{}},Xa={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* scheduler.production.min.js
|
|
20
|
-
*
|
|
21
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
22
|
-
*
|
|
23
|
-
* This source code is licensed under the MIT license found in the
|
|
24
|
-
* LICENSE file in the root directory of this source tree.
|
|
25
|
-
*/(function(e){function t(y,O){var M=y.length;y.push(O);e:for(;0<M;){var Q=M-1>>>1,J=y[Q];if(0<l(J,O))y[Q]=O,y[M]=J,M=Q;else break e}}function n(y){return y.length===0?null:y[0]}function r(y){if(y.length===0)return null;var O=y[0],M=y.pop();if(M!==O){y[0]=M;e:for(var Q=0,J=y.length,oe=J>>>1;Q<oe;){var te=2*(Q+1)-1,vt=y[te],et=te+1,K=y[et];if(0>l(vt,M))et<J&&0>l(K,vt)?(y[Q]=K,y[et]=M,Q=et):(y[Q]=vt,y[te]=M,Q=te);else if(et<J&&0>l(K,M))y[Q]=K,y[et]=M,Q=et;else break e}}return O}function l(y,O){var M=y.sortIndex-O.sortIndex;return M!==0?M:y.id-O.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var a=[],c=[],g=1,h=null,m=3,x=!1,k=!1,S=!1,E=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(y){for(var O=n(c);O!==null;){if(O.callback===null)r(c);else if(O.startTime<=y)r(c),O.sortIndex=O.expirationTime,t(a,O);else break;O=n(c)}}function v(y){if(S=!1,p(y),!k)if(n(a)!==null)k=!0,le(b);else{var O=n(c);O!==null&&ve(v,O.startTime-y)}}function b(y,O){k=!1,S&&(S=!1,f(w),w=-1),x=!0;var M=m;try{for(p(O),h=n(a);h!==null&&(!(h.expirationTime>O)||y&&!$());){var Q=h.callback;if(typeof Q=="function"){h.callback=null,m=h.priorityLevel;var J=Q(h.expirationTime<=O);O=e.unstable_now(),typeof J=="function"?h.callback=J:h===n(a)&&r(a),p(O)}else r(a);h=n(a)}if(h!==null)var oe=!0;else{var te=n(c);te!==null&&ve(v,te.startTime-O),oe=!1}return oe}finally{h=null,m=M,x=!1}}var C=!1,N=null,w=-1,L=5,T=-1;function $(){return!(e.unstable_now()-T<L)}function se(){if(N!==null){var y=e.unstable_now();T=y;var O=!0;try{O=N(!0,y)}finally{O?B():(C=!1,N=null)}}else C=!1}var B;if(typeof d=="function")B=function(){d(se)};else if(typeof MessageChannel<"u"){var re=new MessageChannel,ee=re.port2;re.port1.onmessage=se,B=function(){ee.postMessage(null)}}else B=function(){E(se,0)};function le(y){N=y,C||(C=!0,B())}function ve(y,O){w=E(function(){y(e.unstable_now())},O)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(y){y.callback=null},e.unstable_continueExecution=function(){k||x||(k=!0,le(b))},e.unstable_forceFrameRate=function(y){0>y||125<y?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):L=0<y?Math.floor(1e3/y):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(y){switch(m){case 1:case 2:case 3:var O=3;break;default:O=m}var M=m;m=O;try{return y()}finally{m=M}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(y,O){switch(y){case 1:case 2:case 3:case 4:case 5:break;default:y=3}var M=m;m=y;try{return O()}finally{m=M}},e.unstable_scheduleCallback=function(y,O,M){var Q=e.unstable_now();switch(typeof M=="object"&&M!==null?(M=M.delay,M=typeof M=="number"&&0<M?Q+M:Q):M=Q,y){case 1:var J=-1;break;case 2:J=250;break;case 5:J=1073741823;break;case 4:J=1e4;break;default:J=5e3}return J=M+J,y={id:g++,callback:O,priorityLevel:y,startTime:M,expirationTime:J,sortIndex:-1},M>Q?(y.sortIndex=M,t(c,y),n(a)===null&&y===n(c)&&(S?(f(w),w=-1):S=!0,ve(v,M-Q))):(y.sortIndex=J,t(a,y),k||x||(k=!0,le(b))),y},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(y){var O=m;return function(){var M=m;m=O;try{return y.apply(this,arguments)}finally{m=M}}}})(Xa);Ka.exports=Xa;var Md=Ka.exports;/**
|
|
26
|
-
* @license React
|
|
27
|
-
* react-dom.production.min.js
|
|
28
|
-
*
|
|
29
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the MIT license found in the
|
|
32
|
-
* LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/var Id=V,Me=Md;function j(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Ya=new Set,lr={};function en(e,t){Cn(e,t),Cn(e+"Capture",t)}function Cn(e,t){for(lr[e]=t,e=0;e<t.length;e++)Ya.add(t[e])}var ft=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),zo=Object.prototype.hasOwnProperty,Dd=/^[: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]*$/,Ss={},Cs={};function Fd(e){return zo.call(Cs,e)?!0:zo.call(Ss,e)?!1:Dd.test(e)?Cs[e]=!0:(Ss[e]=!0,!1)}function Ad(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Bd(e,t,n,r){if(t===null||typeof t>"u"||Ad(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function je(e,t,n,r,l,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ge={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ge[e]=new je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ge[t]=new je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ge[e]=new je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ge[e]=new je(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ge[e]=new je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ge[e]=new je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ge[e]=new je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ge[e]=new je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ge[e]=new je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ei=/[\-:]([a-z])/g;function _i(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ei,_i);ge[t]=new je(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ei,_i);ge[t]=new je(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ei,_i);ge[t]=new je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ge[e]=new je(e,1,!1,e.toLowerCase(),null,!1,!1)});ge.xlinkHref=new je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ge[e]=new je(e,1,!1,e.toLowerCase(),null,!0,!0)});function zi(e,t,n,r){var l=ge.hasOwnProperty(t)?ge[t]:null;(l!==null?l.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Bd(t,n,l,r)&&(n=null),r||l===null?Fd(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):l.mustUseProperty?e[l.propertyName]=n===null?l.type===3?!1:"":n:(t=l.attributeName,r=l.attributeNamespace,n===null?e.removeAttribute(t):(l=l.type,n=l===3||l===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var gt=Id.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Rr=Symbol.for("react.element"),ln=Symbol.for("react.portal"),on=Symbol.for("react.fragment"),Pi=Symbol.for("react.strict_mode"),Po=Symbol.for("react.profiler"),Za=Symbol.for("react.provider"),Ja=Symbol.for("react.context"),Li=Symbol.for("react.forward_ref"),Lo=Symbol.for("react.suspense"),Ro=Symbol.for("react.suspense_list"),Ri=Symbol.for("react.memo"),kt=Symbol.for("react.lazy"),qa=Symbol.for("react.offscreen"),Ns=Symbol.iterator;function In(e){return e===null||typeof e!="object"?null:(e=Ns&&e[Ns]||e["@@iterator"],typeof e=="function"?e:null)}var Z=Object.assign,to;function Hn(e){if(to===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);to=t&&t[1]||""}return`
|
|
34
|
-
`+to+e}var no=!1;function ro(e,t){if(!e||no)return"";no=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var l=c.stack.split(`
|
|
35
|
-
`),o=r.stack.split(`
|
|
36
|
-
`),i=l.length-1,s=o.length-1;1<=i&&0<=s&&l[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(l[i]!==o[s]){if(i!==1||s!==1)do if(i--,s--,0>s||l[i]!==o[s]){var a=`
|
|
37
|
-
`+l[i].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=i&&0<=s);break}}}finally{no=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hn(e):""}function Ud(e){switch(e.tag){case 5:return Hn(e.type);case 16:return Hn("Lazy");case 13:return Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 2:case 15:return e=ro(e.type,!1),e;case 11:return e=ro(e.type.render,!1),e;case 1:return e=ro(e.type,!0),e;default:return""}}function To(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case on:return"Fragment";case ln:return"Portal";case Po:return"Profiler";case Pi:return"StrictMode";case Lo:return"Suspense";case Ro:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ja:return(e.displayName||"Context")+".Consumer";case Za:return(e._context.displayName||"Context")+".Provider";case Li:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ri:return t=e.displayName||null,t!==null?t:To(e.type)||"Memo";case kt:t=e._payload,e=e._init;try{return To(e(t))}catch{}}return null}function Vd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.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 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return To(t);case 8:return t===Pi?"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 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function eu(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $d(e){var t=eu(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Tr(e){e._valueTracker||(e._valueTracker=$d(e))}function tu(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=eu(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function cl(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 Oo(e,t){var n=t.checked;return Z({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function js(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function nu(e,t){t=t.checked,t!=null&&zi(e,"checked",t,!1)}function Mo(e,t){nu(e,t);var n=Mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Io(e,t.type,n):t.hasOwnProperty("defaultValue")&&Io(e,t.type,Mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function bs(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Io(e,t,n){(t!=="number"||cl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qn=Array.isArray;function vn(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l<n.length;l++)t["$"+n[l]]=!0;for(n=0;n<e.length;n++)l=t.hasOwnProperty("$"+e[n].value),e[n].selected!==l&&(e[n].selected=l),l&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Mt(n),t=null,l=0;l<e.length;l++){if(e[l].value===n){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Do(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return Z({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Es(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if(Qn(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Mt(n)}}function ru(e,t){var n=Mt(t.value),r=Mt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function _s(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function lu(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Fo(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?lu(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Or,ou=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,l){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,l)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Or=Or||document.createElement("div"),Or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function or(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Xn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wd=["Webkit","ms","Moz","O"];Object.keys(Xn).forEach(function(e){Wd.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xn[t]=Xn[e]})});function iu(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Xn.hasOwnProperty(e)&&Xn[e]?(""+t).trim():t+"px"}function su(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=iu(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Hd=Z({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ao(e,t){if(t){if(Hd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Bo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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}}var Uo=null;function Ti(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Vo=null,xn=null,yn=null;function zs(e){if(e=Nr(e)){if(typeof Vo!="function")throw Error(j(280));var t=e.stateNode;t&&(t=Vl(t),Vo(e.stateNode,e.type,t))}}function au(e){xn?yn?yn.push(e):yn=[e]:xn=e}function uu(){if(xn){var e=xn,t=yn;if(yn=xn=null,zs(e),t)for(e=0;e<t.length;e++)zs(t[e])}}function cu(e,t){return e(t)}function du(){}var lo=!1;function fu(e,t,n){if(lo)return e(t,n);lo=!0;try{return cu(e,t,n)}finally{lo=!1,(xn!==null||yn!==null)&&(du(),uu())}}function ir(e,t){var n=e.stateNode;if(n===null)return null;var r=Vl(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(j(231,t,typeof n));return n}var $o=!1;if(ft)try{var Dn={};Object.defineProperty(Dn,"passive",{get:function(){$o=!0}}),window.addEventListener("test",Dn,Dn),window.removeEventListener("test",Dn,Dn)}catch{$o=!1}function Qd(e,t,n,r,l,o,i,s,a){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(g){this.onError(g)}}var Yn=!1,dl=null,fl=!1,Wo=null,Gd={onError:function(e){Yn=!0,dl=e}};function Kd(e,t,n,r,l,o,i,s,a){Yn=!1,dl=null,Qd.apply(Gd,arguments)}function Xd(e,t,n,r,l,o,i,s,a){if(Kd.apply(this,arguments),Yn){if(Yn){var c=dl;Yn=!1,dl=null}else throw Error(j(198));fl||(fl=!0,Wo=c)}}function tn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function pu(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 Ps(e){if(tn(e)!==e)throw Error(j(188))}function Yd(e){var t=e.alternate;if(!t){if(t=tn(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var l=n.return;if(l===null)break;var o=l.alternate;if(o===null){if(r=l.return,r!==null){n=r;continue}break}if(l.child===o.child){for(o=l.child;o;){if(o===n)return Ps(l),e;if(o===r)return Ps(l),t;o=o.sibling}throw Error(j(188))}if(n.return!==r.return)n=l,r=o;else{for(var i=!1,s=l.child;s;){if(s===n){i=!0,n=l,r=o;break}if(s===r){i=!0,r=l,n=o;break}s=s.sibling}if(!i){for(s=o.child;s;){if(s===n){i=!0,n=o,r=l;break}if(s===r){i=!0,r=o,n=l;break}s=s.sibling}if(!i)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function mu(e){return e=Yd(e),e!==null?hu(e):null}function hu(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=hu(e);if(t!==null)return t;e=e.sibling}return null}var gu=Me.unstable_scheduleCallback,Ls=Me.unstable_cancelCallback,Zd=Me.unstable_shouldYield,Jd=Me.unstable_requestPaint,ne=Me.unstable_now,qd=Me.unstable_getCurrentPriorityLevel,Oi=Me.unstable_ImmediatePriority,vu=Me.unstable_UserBlockingPriority,pl=Me.unstable_NormalPriority,ef=Me.unstable_LowPriority,xu=Me.unstable_IdlePriority,Fl=null,lt=null;function tf(e){if(lt&&typeof lt.onCommitFiberRoot=="function")try{lt.onCommitFiberRoot(Fl,e,void 0,(e.current.flags&128)===128)}catch{}}var Ze=Math.clz32?Math.clz32:lf,nf=Math.log,rf=Math.LN2;function lf(e){return e>>>=0,e===0?32:31-(nf(e)/rf|0)|0}var Mr=64,Ir=4194304;function Gn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ml(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~l;s!==0?r=Gn(s):(o&=i,o!==0&&(r=Gn(o)))}else i=n&~l,i!==0?r=Gn(i):o!==0&&(r=Gn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,o=t&-t,l>=o||l===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ze(t),l=1<<n,r|=e[n],t&=~l;return r}function of(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64: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:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function sf(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-Ze(o),s=1<<i,a=l[i];a===-1?(!(s&n)||s&r)&&(l[i]=of(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Ho(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function yu(){var e=Mr;return Mr<<=1,!(Mr&4194240)&&(Mr=64),e}function oo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Sr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function af(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var l=31-Ze(n),o=1<<l;t[l]=0,r[l]=-1,e[l]=-1,n&=~o}}function Mi(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),l=1<<r;l&t|e[r]&t&&(e[r]|=t),n&=~l}}var A=0;function wu(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ku,Ii,Su,Cu,Nu,Qo=!1,Dr=[],Et=null,_t=null,zt=null,sr=new Map,ar=new Map,Ct=[],uf="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 submit".split(" ");function Rs(e,t){switch(e){case"focusin":case"focusout":Et=null;break;case"dragenter":case"dragleave":_t=null;break;case"mouseover":case"mouseout":zt=null;break;case"pointerover":case"pointerout":sr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ar.delete(t.pointerId)}}function Fn(e,t,n,r,l,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[l]},t!==null&&(t=Nr(t),t!==null&&Ii(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function cf(e,t,n,r,l){switch(t){case"focusin":return Et=Fn(Et,e,t,n,r,l),!0;case"dragenter":return _t=Fn(_t,e,t,n,r,l),!0;case"mouseover":return zt=Fn(zt,e,t,n,r,l),!0;case"pointerover":var o=l.pointerId;return sr.set(o,Fn(sr.get(o)||null,e,t,n,r,l)),!0;case"gotpointercapture":return o=l.pointerId,ar.set(o,Fn(ar.get(o)||null,e,t,n,r,l)),!0}return!1}function ju(e){var t=$t(e.target);if(t!==null){var n=tn(t);if(n!==null){if(t=n.tag,t===13){if(t=pu(n),t!==null){e.blockedOn=t,Nu(e.priority,function(){Su(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function el(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Go(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Uo=r,n.target.dispatchEvent(r),Uo=null}else return t=Nr(n),t!==null&&Ii(t),e.blockedOn=n,!1;t.shift()}return!0}function Ts(e,t,n){el(e)&&n.delete(t)}function df(){Qo=!1,Et!==null&&el(Et)&&(Et=null),_t!==null&&el(_t)&&(_t=null),zt!==null&&el(zt)&&(zt=null),sr.forEach(Ts),ar.forEach(Ts)}function An(e,t){e.blockedOn===t&&(e.blockedOn=null,Qo||(Qo=!0,Me.unstable_scheduleCallback(Me.unstable_NormalPriority,df)))}function ur(e){function t(l){return An(l,e)}if(0<Dr.length){An(Dr[0],e);for(var n=1;n<Dr.length;n++){var r=Dr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(Et!==null&&An(Et,e),_t!==null&&An(_t,e),zt!==null&&An(zt,e),sr.forEach(t),ar.forEach(t),n=0;n<Ct.length;n++)r=Ct[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&(n=Ct[0],n.blockedOn===null);)ju(n),n.blockedOn===null&&Ct.shift()}var wn=gt.ReactCurrentBatchConfig,hl=!0;function ff(e,t,n,r){var l=A,o=wn.transition;wn.transition=null;try{A=1,Di(e,t,n,r)}finally{A=l,wn.transition=o}}function pf(e,t,n,r){var l=A,o=wn.transition;wn.transition=null;try{A=4,Di(e,t,n,r)}finally{A=l,wn.transition=o}}function Di(e,t,n,r){if(hl){var l=Go(e,t,n,r);if(l===null)go(e,t,r,gl,n),Rs(e,r);else if(cf(l,e,t,n,r))r.stopPropagation();else if(Rs(e,r),t&4&&-1<uf.indexOf(e)){for(;l!==null;){var o=Nr(l);if(o!==null&&ku(o),o=Go(e,t,n,r),o===null&&go(e,t,r,gl,n),o===l)break;l=o}l!==null&&r.stopPropagation()}else go(e,t,r,null,n)}}var gl=null;function Go(e,t,n,r){if(gl=null,e=Ti(r),e=$t(e),e!==null)if(t=tn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=pu(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return gl=e,null}function bu(e){switch(e){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"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 1;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"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(qd()){case Oi:return 1;case vu:return 4;case pl:case ef:return 16;case xu:return 536870912;default:return 16}default:return 16}}var jt=null,Fi=null,tl=null;function Eu(){if(tl)return tl;var e,t=Fi,n=t.length,r,l="value"in jt?jt.value:jt.textContent,o=l.length;for(e=0;e<n&&t[e]===l[e];e++);var i=n-e;for(r=1;r<=i&&t[n-r]===l[o-r];r++);return tl=l.slice(e,1<r?1-r:void 0)}function nl(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 Fr(){return!0}function Os(){return!1}function De(e){function t(n,r,l,o,i){this._reactName=n,this._targetInst=l,this.type=r,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Fr:Os,this.isPropagationStopped=Os,this}return Z(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Fr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Fr)},persist:function(){},isPersistent:Fr}),t}var Ln={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ai=De(Ln),Cr=Z({},Ln,{view:0,detail:0}),mf=De(Cr),io,so,Bn,Al=Z({},Cr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bi,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!==Bn&&(Bn&&e.type==="mousemove"?(io=e.screenX-Bn.screenX,so=e.screenY-Bn.screenY):so=io=0,Bn=e),io)},movementY:function(e){return"movementY"in e?e.movementY:so}}),Ms=De(Al),hf=Z({},Al,{dataTransfer:0}),gf=De(hf),vf=Z({},Cr,{relatedTarget:0}),ao=De(vf),xf=Z({},Ln,{animationName:0,elapsedTime:0,pseudoElement:0}),yf=De(xf),wf=Z({},Ln,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),kf=De(wf),Sf=Z({},Ln,{data:0}),Is=De(Sf),Cf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Nf={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"},jf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function bf(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=jf[e])?!!t[e]:!1}function Bi(){return bf}var Ef=Z({},Cr,{key:function(e){if(e.key){var t=Cf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=nl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Nf[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bi,charCode:function(e){return e.type==="keypress"?nl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?nl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),_f=De(Ef),zf=Z({},Al,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Ds=De(zf),Pf=Z({},Cr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bi}),Lf=De(Pf),Rf=Z({},Ln,{propertyName:0,elapsedTime:0,pseudoElement:0}),Tf=De(Rf),Of=Z({},Al,{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}),Mf=De(Of),If=[9,13,27,32],Ui=ft&&"CompositionEvent"in window,Zn=null;ft&&"documentMode"in document&&(Zn=document.documentMode);var Df=ft&&"TextEvent"in window&&!Zn,_u=ft&&(!Ui||Zn&&8<Zn&&11>=Zn),Fs=" ",As=!1;function zu(e,t){switch(e){case"keyup":return If.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Pu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var sn=!1;function Ff(e,t){switch(e){case"compositionend":return Pu(t);case"keypress":return t.which!==32?null:(As=!0,Fs);case"textInput":return e=t.data,e===Fs&&As?null:e;default:return null}}function Af(e,t){if(sn)return e==="compositionend"||!Ui&&zu(e,t)?(e=Eu(),tl=Fi=jt=null,sn=!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 _u&&t.locale!=="ko"?null:t.data;default:return null}}var Bf={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 Bs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Bf[e.type]:t==="textarea"}function Lu(e,t,n,r){au(r),t=vl(t,"onChange"),0<t.length&&(n=new Ai("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Jn=null,cr=null;function Uf(e){Vu(e,0)}function Bl(e){var t=cn(e);if(tu(t))return e}function Vf(e,t){if(e==="change")return t}var Ru=!1;if(ft){var uo;if(ft){var co="oninput"in document;if(!co){var Us=document.createElement("div");Us.setAttribute("oninput","return;"),co=typeof Us.oninput=="function"}uo=co}else uo=!1;Ru=uo&&(!document.documentMode||9<document.documentMode)}function Vs(){Jn&&(Jn.detachEvent("onpropertychange",Tu),cr=Jn=null)}function Tu(e){if(e.propertyName==="value"&&Bl(cr)){var t=[];Lu(t,cr,e,Ti(e)),fu(Uf,t)}}function $f(e,t,n){e==="focusin"?(Vs(),Jn=t,cr=n,Jn.attachEvent("onpropertychange",Tu)):e==="focusout"&&Vs()}function Wf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Bl(cr)}function Hf(e,t){if(e==="click")return Bl(t)}function Qf(e,t){if(e==="input"||e==="change")return Bl(t)}function Gf(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var qe=typeof Object.is=="function"?Object.is:Gf;function dr(e,t){if(qe(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var l=n[r];if(!zo.call(t,l)||!qe(e[l],t[l]))return!1}return!0}function $s(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ws(e,t){var n=$s(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=$s(n)}}function Ou(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ou(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Mu(){for(var e=window,t=cl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=cl(e.document)}return t}function Vi(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 Kf(e){var t=Mu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ou(n.ownerDocument.documentElement,n)){if(r!==null&&Vi(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,o=Math.min(r.start,l);r=r.end===void 0?o:Math.min(r.end,l),!e.extend&&o>r&&(l=r,r=o,o=l),l=Ws(n,o);var i=Ws(n,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Xf=ft&&"documentMode"in document&&11>=document.documentMode,an=null,Ko=null,qn=null,Xo=!1;function Hs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Xo||an==null||an!==cl(r)||(r=an,"selectionStart"in r&&Vi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),qn&&dr(qn,r)||(qn=r,r=vl(Ko,"onSelect"),0<r.length&&(t=new Ai("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=an)))}function Ar(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var un={animationend:Ar("Animation","AnimationEnd"),animationiteration:Ar("Animation","AnimationIteration"),animationstart:Ar("Animation","AnimationStart"),transitionend:Ar("Transition","TransitionEnd")},fo={},Iu={};ft&&(Iu=document.createElement("div").style,"AnimationEvent"in window||(delete un.animationend.animation,delete un.animationiteration.animation,delete un.animationstart.animation),"TransitionEvent"in window||delete un.transitionend.transition);function Ul(e){if(fo[e])return fo[e];if(!un[e])return e;var t=un[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Iu)return fo[e]=t[n];return e}var Du=Ul("animationend"),Fu=Ul("animationiteration"),Au=Ul("animationstart"),Bu=Ul("transitionend"),Uu=new Map,Qs="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dt(e,t){Uu.set(e,t),en(t,[e])}for(var po=0;po<Qs.length;po++){var mo=Qs[po],Yf=mo.toLowerCase(),Zf=mo[0].toUpperCase()+mo.slice(1);Dt(Yf,"on"+Zf)}Dt(Du,"onAnimationEnd");Dt(Fu,"onAnimationIteration");Dt(Au,"onAnimationStart");Dt("dblclick","onDoubleClick");Dt("focusin","onFocus");Dt("focusout","onBlur");Dt(Bu,"onTransitionEnd");Cn("onMouseEnter",["mouseout","mouseover"]);Cn("onMouseLeave",["mouseout","mouseover"]);Cn("onPointerEnter",["pointerout","pointerover"]);Cn("onPointerLeave",["pointerout","pointerover"]);en("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));en("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));en("onBeforeInput",["compositionend","keypress","textInput","paste"]);en("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));en("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));en("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kn="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(" "),Jf=new Set("cancel close invalid load scroll toggle".split(" ").concat(Kn));function Gs(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Xd(r,t,void 0,e),e.currentTarget=null}function Vu(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],l=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],a=s.instance,c=s.currentTarget;if(s=s.listener,a!==o&&l.isPropagationStopped())break e;Gs(l,s,c),o=a}else for(i=0;i<r.length;i++){if(s=r[i],a=s.instance,c=s.currentTarget,s=s.listener,a!==o&&l.isPropagationStopped())break e;Gs(l,s,c),o=a}}}if(fl)throw e=Wo,fl=!1,Wo=null,e}function W(e,t){var n=t[ei];n===void 0&&(n=t[ei]=new Set);var r=e+"__bubble";n.has(r)||($u(t,e,2,!1),n.add(r))}function ho(e,t,n){var r=0;t&&(r|=4),$u(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function fr(e){if(!e[Br]){e[Br]=!0,Ya.forEach(function(n){n!=="selectionchange"&&(Jf.has(n)||ho(n,!1,e),ho(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Br]||(t[Br]=!0,ho("selectionchange",!1,t))}}function $u(e,t,n,r){switch(bu(t)){case 1:var l=ff;break;case 4:l=pf;break;default:l=Di}n=l.bind(null,t,n,e),l=void 0,!$o||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(t,n,{capture:!0,passive:l}):e.addEventListener(t,n,!0):l!==void 0?e.addEventListener(t,n,{passive:l}):e.addEventListener(t,n,!1)}function go(e,t,n,r,l){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var i=r.tag;if(i===3||i===4){var s=r.stateNode.containerInfo;if(s===l||s.nodeType===8&&s.parentNode===l)break;if(i===4)for(i=r.return;i!==null;){var a=i.tag;if((a===3||a===4)&&(a=i.stateNode.containerInfo,a===l||a.nodeType===8&&a.parentNode===l))return;i=i.return}for(;s!==null;){if(i=$t(s),i===null)return;if(a=i.tag,a===5||a===6){r=o=i;continue e}s=s.parentNode}}r=r.return}fu(function(){var c=o,g=Ti(n),h=[];e:{var m=Uu.get(e);if(m!==void 0){var x=Ai,k=e;switch(e){case"keypress":if(nl(n)===0)break e;case"keydown":case"keyup":x=_f;break;case"focusin":k="focus",x=ao;break;case"focusout":k="blur",x=ao;break;case"beforeblur":case"afterblur":x=ao;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Ms;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=gf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Lf;break;case Du:case Fu:case Au:x=yf;break;case Bu:x=Tf;break;case"scroll":x=mf;break;case"wheel":x=Mf;break;case"copy":case"cut":case"paste":x=kf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Ds}var S=(t&4)!==0,E=!S&&e==="scroll",f=S?m!==null?m+"Capture":null:m;S=[];for(var d=c,p;d!==null;){p=d;var v=p.stateNode;if(p.tag===5&&v!==null&&(p=v,f!==null&&(v=ir(d,f),v!=null&&S.push(pr(d,v,p)))),E)break;d=d.return}0<S.length&&(m=new x(m,k,null,n,g),h.push({event:m,listeners:S}))}}if(!(t&7)){e:{if(m=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",m&&n!==Uo&&(k=n.relatedTarget||n.fromElement)&&($t(k)||k[pt]))break e;if((x||m)&&(m=g.window===g?g:(m=g.ownerDocument)?m.defaultView||m.parentWindow:window,x?(k=n.relatedTarget||n.toElement,x=c,k=k?$t(k):null,k!==null&&(E=tn(k),k!==E||k.tag!==5&&k.tag!==6)&&(k=null)):(x=null,k=c),x!==k)){if(S=Ms,v="onMouseLeave",f="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(S=Ds,v="onPointerLeave",f="onPointerEnter",d="pointer"),E=x==null?m:cn(x),p=k==null?m:cn(k),m=new S(v,d+"leave",x,n,g),m.target=E,m.relatedTarget=p,v=null,$t(g)===c&&(S=new S(f,d+"enter",k,n,g),S.target=p,S.relatedTarget=E,v=S),E=v,x&&k)t:{for(S=x,f=k,d=0,p=S;p;p=nn(p))d++;for(p=0,v=f;v;v=nn(v))p++;for(;0<d-p;)S=nn(S),d--;for(;0<p-d;)f=nn(f),p--;for(;d--;){if(S===f||f!==null&&S===f.alternate)break t;S=nn(S),f=nn(f)}S=null}else S=null;x!==null&&Ks(h,m,x,S,!1),k!==null&&E!==null&&Ks(h,E,k,S,!0)}}e:{if(m=c?cn(c):window,x=m.nodeName&&m.nodeName.toLowerCase(),x==="select"||x==="input"&&m.type==="file")var b=Vf;else if(Bs(m))if(Ru)b=Qf;else{b=Wf;var C=$f}else(x=m.nodeName)&&x.toLowerCase()==="input"&&(m.type==="checkbox"||m.type==="radio")&&(b=Hf);if(b&&(b=b(e,c))){Lu(h,b,n,g);break e}C&&C(e,m,c),e==="focusout"&&(C=m._wrapperState)&&C.controlled&&m.type==="number"&&Io(m,"number",m.value)}switch(C=c?cn(c):window,e){case"focusin":(Bs(C)||C.contentEditable==="true")&&(an=C,Ko=c,qn=null);break;case"focusout":qn=Ko=an=null;break;case"mousedown":Xo=!0;break;case"contextmenu":case"mouseup":case"dragend":Xo=!1,Hs(h,n,g);break;case"selectionchange":if(Xf)break;case"keydown":case"keyup":Hs(h,n,g)}var N;if(Ui)e:{switch(e){case"compositionstart":var w="onCompositionStart";break e;case"compositionend":w="onCompositionEnd";break e;case"compositionupdate":w="onCompositionUpdate";break e}w=void 0}else sn?zu(e,n)&&(w="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(w="onCompositionStart");w&&(_u&&n.locale!=="ko"&&(sn||w!=="onCompositionStart"?w==="onCompositionEnd"&&sn&&(N=Eu()):(jt=g,Fi="value"in jt?jt.value:jt.textContent,sn=!0)),C=vl(c,w),0<C.length&&(w=new Is(w,e,null,n,g),h.push({event:w,listeners:C}),N?w.data=N:(N=Pu(n),N!==null&&(w.data=N)))),(N=Df?Ff(e,n):Af(e,n))&&(c=vl(c,"onBeforeInput"),0<c.length&&(g=new Is("onBeforeInput","beforeinput",null,n,g),h.push({event:g,listeners:c}),g.data=N))}Vu(h,t)})}function pr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function vl(e,t){for(var n=t+"Capture",r=[];e!==null;){var l=e,o=l.stateNode;l.tag===5&&o!==null&&(l=o,o=ir(e,n),o!=null&&r.unshift(pr(e,o,l)),o=ir(e,t),o!=null&&r.push(pr(e,o,l))),e=e.return}return r}function nn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Ks(e,t,n,r,l){for(var o=t._reactName,i=[];n!==null&&n!==r;){var s=n,a=s.alternate,c=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&c!==null&&(s=c,l?(a=ir(n,o),a!=null&&i.unshift(pr(n,a,s))):l||(a=ir(n,o),a!=null&&i.push(pr(n,a,s)))),n=n.return}i.length!==0&&e.push({event:t,listeners:i})}var qf=/\r\n?/g,ep=/\u0000|\uFFFD/g;function Xs(e){return(typeof e=="string"?e:""+e).replace(qf,`
|
|
38
|
-
`).replace(ep,"")}function Ur(e,t,n){if(t=Xs(t),Xs(e)!==t&&n)throw Error(j(425))}function xl(){}var Yo=null,Zo=null;function Jo(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qo=typeof setTimeout=="function"?setTimeout:void 0,tp=typeof clearTimeout=="function"?clearTimeout:void 0,Ys=typeof Promise=="function"?Promise:void 0,np=typeof queueMicrotask=="function"?queueMicrotask:typeof Ys<"u"?function(e){return Ys.resolve(null).then(e).catch(rp)}:qo;function rp(e){setTimeout(function(){throw e})}function vo(e,t){var n=t,r=0;do{var l=n.nextSibling;if(e.removeChild(n),l&&l.nodeType===8)if(n=l.data,n==="/$"){if(r===0){e.removeChild(l),ur(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=l}while(n);ur(t)}function Pt(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==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Zs(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Rn=Math.random().toString(36).slice(2),rt="__reactFiber$"+Rn,mr="__reactProps$"+Rn,pt="__reactContainer$"+Rn,ei="__reactEvents$"+Rn,lp="__reactListeners$"+Rn,op="__reactHandles$"+Rn;function $t(e){var t=e[rt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pt]||n[rt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Zs(e);e!==null;){if(n=e[rt])return n;e=Zs(e)}return t}e=n,n=e.parentNode}return null}function Nr(e){return e=e[rt]||e[pt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function cn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function Vl(e){return e[mr]||null}var ti=[],dn=-1;function Ft(e){return{current:e}}function H(e){0>dn||(e.current=ti[dn],ti[dn]=null,dn--)}function U(e,t){dn++,ti[dn]=e.current,e.current=t}var It={},ke=Ft(It),_e=Ft(!1),Xt=It;function Nn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in n)l[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function ze(e){return e=e.childContextTypes,e!=null}function yl(){H(_e),H(ke)}function Js(e,t,n){if(ke.current!==It)throw Error(j(168));U(ke,t),U(_e,n)}function Wu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(j(108,Vd(e)||"Unknown",l));return Z({},n,r)}function wl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Xt=ke.current,U(ke,e),U(_e,_e.current),!0}function qs(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=Wu(e,t,Xt),r.__reactInternalMemoizedMergedChildContext=e,H(_e),H(ke),U(ke,e)):H(_e),U(_e,n)}var at=null,$l=!1,xo=!1;function Hu(e){at===null?at=[e]:at.push(e)}function ip(e){$l=!0,Hu(e)}function At(){if(!xo&&at!==null){xo=!0;var e=0,t=A;try{var n=at;for(A=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}at=null,$l=!1}catch(l){throw at!==null&&(at=at.slice(e+1)),gu(Oi,At),l}finally{A=t,xo=!1}}return null}var fn=[],pn=0,kl=null,Sl=0,Ae=[],Be=0,Yt=null,ut=1,ct="";function Ut(e,t){fn[pn++]=Sl,fn[pn++]=kl,kl=e,Sl=t}function Qu(e,t,n){Ae[Be++]=ut,Ae[Be++]=ct,Ae[Be++]=Yt,Yt=e;var r=ut;e=ct;var l=32-Ze(r)-1;r&=~(1<<l),n+=1;var o=32-Ze(t)+l;if(30<o){var i=l-l%5;o=(r&(1<<i)-1).toString(32),r>>=i,l-=i,ut=1<<32-Ze(t)+l|n<<l|r,ct=o+e}else ut=1<<o|n<<l|r,ct=e}function $i(e){e.return!==null&&(Ut(e,1),Qu(e,1,0))}function Wi(e){for(;e===kl;)kl=fn[--pn],fn[pn]=null,Sl=fn[--pn],fn[pn]=null;for(;e===Yt;)Yt=Ae[--Be],Ae[Be]=null,ct=Ae[--Be],Ae[Be]=null,ut=Ae[--Be],Ae[Be]=null}var Oe=null,Te=null,G=!1,Ye=null;function Gu(e,t){var n=Ue(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function ea(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Oe=e,Te=Pt(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Oe=e,Te=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Yt!==null?{id:ut,overflow:ct}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ue(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Oe=e,Te=null,!0):!1;default:return!1}}function ni(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ri(e){if(G){var t=Te;if(t){var n=t;if(!ea(e,t)){if(ni(e))throw Error(j(418));t=Pt(n.nextSibling);var r=Oe;t&&ea(e,t)?Gu(r,n):(e.flags=e.flags&-4097|2,G=!1,Oe=e)}}else{if(ni(e))throw Error(j(418));e.flags=e.flags&-4097|2,G=!1,Oe=e}}}function ta(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Oe=e}function Vr(e){if(e!==Oe)return!1;if(!G)return ta(e),G=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Jo(e.type,e.memoizedProps)),t&&(t=Te)){if(ni(e))throw Ku(),Error(j(418));for(;t;)Gu(e,t),t=Pt(t.nextSibling)}if(ta(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Te=Pt(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Te=null}}else Te=Oe?Pt(e.stateNode.nextSibling):null;return!0}function Ku(){for(var e=Te;e;)e=Pt(e.nextSibling)}function jn(){Te=Oe=null,G=!1}function Hi(e){Ye===null?Ye=[e]:Ye.push(e)}var sp=gt.ReactCurrentBatchConfig;function Un(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var l=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(i){var s=l.refs;i===null?delete s[o]:s[o]=i},t._stringRef=o,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function $r(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function na(e){var t=e._init;return t(e._payload)}function Xu(e){function t(f,d){if(e){var p=f.deletions;p===null?(f.deletions=[d],f.flags|=16):p.push(d)}}function n(f,d){if(!e)return null;for(;d!==null;)t(f,d),d=d.sibling;return null}function r(f,d){for(f=new Map;d!==null;)d.key!==null?f.set(d.key,d):f.set(d.index,d),d=d.sibling;return f}function l(f,d){return f=Ot(f,d),f.index=0,f.sibling=null,f}function o(f,d,p){return f.index=p,e?(p=f.alternate,p!==null?(p=p.index,p<d?(f.flags|=2,d):p):(f.flags|=2,d)):(f.flags|=1048576,d)}function i(f){return e&&f.alternate===null&&(f.flags|=2),f}function s(f,d,p,v){return d===null||d.tag!==6?(d=jo(p,f.mode,v),d.return=f,d):(d=l(d,p),d.return=f,d)}function a(f,d,p,v){var b=p.type;return b===on?g(f,d,p.props.children,v,p.key):d!==null&&(d.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===kt&&na(b)===d.type)?(v=l(d,p.props),v.ref=Un(f,d,p),v.return=f,v):(v=ul(p.type,p.key,p.props,null,f.mode,v),v.ref=Un(f,d,p),v.return=f,v)}function c(f,d,p,v){return d===null||d.tag!==4||d.stateNode.containerInfo!==p.containerInfo||d.stateNode.implementation!==p.implementation?(d=bo(p,f.mode,v),d.return=f,d):(d=l(d,p.children||[]),d.return=f,d)}function g(f,d,p,v,b){return d===null||d.tag!==7?(d=Kt(p,f.mode,v,b),d.return=f,d):(d=l(d,p),d.return=f,d)}function h(f,d,p){if(typeof d=="string"&&d!==""||typeof d=="number")return d=jo(""+d,f.mode,p),d.return=f,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Rr:return p=ul(d.type,d.key,d.props,null,f.mode,p),p.ref=Un(f,null,d),p.return=f,p;case ln:return d=bo(d,f.mode,p),d.return=f,d;case kt:var v=d._init;return h(f,v(d._payload),p)}if(Qn(d)||In(d))return d=Kt(d,f.mode,p,null),d.return=f,d;$r(f,d)}return null}function m(f,d,p,v){var b=d!==null?d.key:null;if(typeof p=="string"&&p!==""||typeof p=="number")return b!==null?null:s(f,d,""+p,v);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Rr:return p.key===b?a(f,d,p,v):null;case ln:return p.key===b?c(f,d,p,v):null;case kt:return b=p._init,m(f,d,b(p._payload),v)}if(Qn(p)||In(p))return b!==null?null:g(f,d,p,v,null);$r(f,p)}return null}function x(f,d,p,v,b){if(typeof v=="string"&&v!==""||typeof v=="number")return f=f.get(p)||null,s(d,f,""+v,b);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Rr:return f=f.get(v.key===null?p:v.key)||null,a(d,f,v,b);case ln:return f=f.get(v.key===null?p:v.key)||null,c(d,f,v,b);case kt:var C=v._init;return x(f,d,p,C(v._payload),b)}if(Qn(v)||In(v))return f=f.get(p)||null,g(d,f,v,b,null);$r(d,v)}return null}function k(f,d,p,v){for(var b=null,C=null,N=d,w=d=0,L=null;N!==null&&w<p.length;w++){N.index>w?(L=N,N=null):L=N.sibling;var T=m(f,N,p[w],v);if(T===null){N===null&&(N=L);break}e&&N&&T.alternate===null&&t(f,N),d=o(T,d,w),C===null?b=T:C.sibling=T,C=T,N=L}if(w===p.length)return n(f,N),G&&Ut(f,w),b;if(N===null){for(;w<p.length;w++)N=h(f,p[w],v),N!==null&&(d=o(N,d,w),C===null?b=N:C.sibling=N,C=N);return G&&Ut(f,w),b}for(N=r(f,N);w<p.length;w++)L=x(N,f,w,p[w],v),L!==null&&(e&&L.alternate!==null&&N.delete(L.key===null?w:L.key),d=o(L,d,w),C===null?b=L:C.sibling=L,C=L);return e&&N.forEach(function($){return t(f,$)}),G&&Ut(f,w),b}function S(f,d,p,v){var b=In(p);if(typeof b!="function")throw Error(j(150));if(p=b.call(p),p==null)throw Error(j(151));for(var C=b=null,N=d,w=d=0,L=null,T=p.next();N!==null&&!T.done;w++,T=p.next()){N.index>w?(L=N,N=null):L=N.sibling;var $=m(f,N,T.value,v);if($===null){N===null&&(N=L);break}e&&N&&$.alternate===null&&t(f,N),d=o($,d,w),C===null?b=$:C.sibling=$,C=$,N=L}if(T.done)return n(f,N),G&&Ut(f,w),b;if(N===null){for(;!T.done;w++,T=p.next())T=h(f,T.value,v),T!==null&&(d=o(T,d,w),C===null?b=T:C.sibling=T,C=T);return G&&Ut(f,w),b}for(N=r(f,N);!T.done;w++,T=p.next())T=x(N,f,w,T.value,v),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?w:T.key),d=o(T,d,w),C===null?b=T:C.sibling=T,C=T);return e&&N.forEach(function(se){return t(f,se)}),G&&Ut(f,w),b}function E(f,d,p,v){if(typeof p=="object"&&p!==null&&p.type===on&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case Rr:e:{for(var b=p.key,C=d;C!==null;){if(C.key===b){if(b=p.type,b===on){if(C.tag===7){n(f,C.sibling),d=l(C,p.props.children),d.return=f,f=d;break e}}else if(C.elementType===b||typeof b=="object"&&b!==null&&b.$$typeof===kt&&na(b)===C.type){n(f,C.sibling),d=l(C,p.props),d.ref=Un(f,C,p),d.return=f,f=d;break e}n(f,C);break}else t(f,C);C=C.sibling}p.type===on?(d=Kt(p.props.children,f.mode,v,p.key),d.return=f,f=d):(v=ul(p.type,p.key,p.props,null,f.mode,v),v.ref=Un(f,d,p),v.return=f,f=v)}return i(f);case ln:e:{for(C=p.key;d!==null;){if(d.key===C)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=bo(p,f.mode,v),d.return=f,f=d}return i(f);case kt:return C=p._init,E(f,d,C(p._payload),v)}if(Qn(p))return k(f,d,p,v);if(In(p))return S(f,d,p,v);$r(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=jo(p,f.mode,v),d.return=f,f=d),i(f)):n(f,d)}return E}var bn=Xu(!0),Yu=Xu(!1),Cl=Ft(null),Nl=null,mn=null,Qi=null;function Gi(){Qi=mn=Nl=null}function Ki(e){var t=Cl.current;H(Cl),e._currentValue=t}function li(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function kn(e,t){Nl=e,Qi=mn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ee=!0),e.firstContext=null)}function $e(e){var t=e._currentValue;if(Qi!==e)if(e={context:e,memoizedValue:t,next:null},mn===null){if(Nl===null)throw Error(j(308));mn=e,Nl.dependencies={lanes:0,firstContext:e}}else mn=mn.next=e;return t}var Wt=null;function Xi(e){Wt===null?Wt=[e]:Wt.push(e)}function Zu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Xi(t)):(n.next=l.next,l.next=n),t.interleaved=n,mt(e,r)}function mt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var St=!1;function Yi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ju(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function dt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Lt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,F&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,mt(e,n)}return l=r.interleaved,l===null?(t.next=t,Xi(r)):(t.next=l.next,l.next=t),r.interleaved=t,mt(e,n)}function rl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mi(e,n)}}function ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?l=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?l=o=t:o=o.next=t}else l=o=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function jl(e,t,n,r){var l=e.updateQueue;St=!1;var o=l.firstBaseUpdate,i=l.lastBaseUpdate,s=l.shared.pending;if(s!==null){l.shared.pending=null;var a=s,c=a.next;a.next=null,i===null?o=c:i.next=c,i=a;var g=e.alternate;g!==null&&(g=g.updateQueue,s=g.lastBaseUpdate,s!==i&&(s===null?g.firstBaseUpdate=c:s.next=c,g.lastBaseUpdate=a))}if(o!==null){var h=l.baseState;i=0,g=c=a=null,s=o;do{var m=s.lane,x=s.eventTime;if((r&m)===m){g!==null&&(g=g.next={eventTime:x,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var k=e,S=s;switch(m=t,x=n,S.tag){case 1:if(k=S.payload,typeof k=="function"){h=k.call(x,h,m);break e}h=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=S.payload,m=typeof k=="function"?k.call(x,h,m):k,m==null)break e;h=Z({},h,m);break e;case 2:St=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=l.effects,m===null?l.effects=[s]:m.push(s))}else x={eventTime:x,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},g===null?(c=g=x,a=h):g=g.next=x,i|=m;if(s=s.next,s===null){if(s=l.shared.pending,s===null)break;m=s,s=m.next,m.next=null,l.lastBaseUpdate=m,l.shared.pending=null}}while(!0);if(g===null&&(a=h),l.baseState=a,l.firstBaseUpdate=c,l.lastBaseUpdate=g,t=l.shared.interleaved,t!==null){l=t;do i|=l.lane,l=l.next;while(l!==t)}else o===null&&(l.shared.lanes=0);Jt|=i,e.lanes=i,e.memoizedState=h}}function la(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],l=r.callback;if(l!==null){if(r.callback=null,r=n,typeof l!="function")throw Error(j(191,l));l.call(r)}}}var jr={},ot=Ft(jr),hr=Ft(jr),gr=Ft(jr);function Ht(e){if(e===jr)throw Error(j(174));return e}function Zi(e,t){switch(U(gr,t),U(hr,e),U(ot,jr),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Fo(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Fo(t,e)}H(ot),U(ot,t)}function En(){H(ot),H(hr),H(gr)}function qu(e){Ht(gr.current);var t=Ht(ot.current),n=Fo(t,e.type);t!==n&&(U(hr,e),U(ot,n))}function Ji(e){hr.current===e&&(H(ot),H(hr))}var X=Ft(0);function bl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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}var yo=[];function qi(){for(var e=0;e<yo.length;e++)yo[e]._workInProgressVersionPrimary=null;yo.length=0}var ll=gt.ReactCurrentDispatcher,wo=gt.ReactCurrentBatchConfig,Zt=0,Y=null,ce=null,fe=null,El=!1,er=!1,vr=0,ap=0;function xe(){throw Error(j(321))}function es(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qe(e[n],t[n]))return!1;return!0}function ts(e,t,n,r,l,o){if(Zt=o,Y=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ll.current=e===null||e.memoizedState===null?fp:pp,e=n(r,l),er){o=0;do{if(er=!1,vr=0,25<=o)throw Error(j(301));o+=1,fe=ce=null,t.updateQueue=null,ll.current=mp,e=n(r,l)}while(er)}if(ll.current=_l,t=ce!==null&&ce.next!==null,Zt=0,fe=ce=Y=null,El=!1,t)throw Error(j(300));return e}function ns(){var e=vr!==0;return vr=0,e}function nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return fe===null?Y.memoizedState=fe=e:fe=fe.next=e,fe}function We(){if(ce===null){var e=Y.alternate;e=e!==null?e.memoizedState:null}else e=ce.next;var t=fe===null?Y.memoizedState:fe.next;if(t!==null)fe=t,ce=e;else{if(e===null)throw Error(j(310));ce=e,e={memoizedState:ce.memoizedState,baseState:ce.baseState,baseQueue:ce.baseQueue,queue:ce.queue,next:null},fe===null?Y.memoizedState=fe=e:fe=fe.next=e}return fe}function xr(e,t){return typeof t=="function"?t(e):t}function ko(e){var t=We(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=ce,l=r.baseQueue,o=n.pending;if(o!==null){if(l!==null){var i=l.next;l.next=o.next,o.next=i}r.baseQueue=l=o,n.pending=null}if(l!==null){o=l.next,r=r.baseState;var s=i=null,a=null,c=o;do{var g=c.lane;if((Zt&g)===g)a!==null&&(a=a.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var h={lane:g,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};a===null?(s=a=h,i=r):a=a.next=h,Y.lanes|=g,Jt|=g}c=c.next}while(c!==null&&c!==o);a===null?i=r:a.next=s,qe(r,t.memoizedState)||(Ee=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){l=e;do o=l.lane,Y.lanes|=o,Jt|=o,l=l.next;while(l!==e)}else l===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function So(e){var t=We(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,l=n.pending,o=t.memoizedState;if(l!==null){n.pending=null;var i=l=l.next;do o=e(o,i.action),i=i.next;while(i!==l);qe(o,t.memoizedState)||(Ee=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ec(){}function tc(e,t){var n=Y,r=We(),l=t(),o=!qe(r.memoizedState,l);if(o&&(r.memoizedState=l,Ee=!0),r=r.queue,rs(lc.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||fe!==null&&fe.memoizedState.tag&1){if(n.flags|=2048,yr(9,rc.bind(null,n,r,l,t),void 0,null),pe===null)throw Error(j(349));Zt&30||nc(n,t,l)}return l}function nc(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function rc(e,t,n,r){t.value=n,t.getSnapshot=r,oc(t)&&ic(e)}function lc(e,t,n){return n(function(){oc(t)&&ic(e)})}function oc(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!qe(e,n)}catch{return!0}}function ic(e){var t=mt(e,1);t!==null&&Je(t,e,1,-1)}function oa(e){var t=nt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xr,lastRenderedState:e},t.queue=e,e=e.dispatch=dp.bind(null,Y,e),[t.memoizedState,e]}function yr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Y.updateQueue,t===null?(t={lastEffect:null,stores:null},Y.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function sc(){return We().memoizedState}function ol(e,t,n,r){var l=nt();Y.flags|=e,l.memoizedState=yr(1|t,n,void 0,r===void 0?null:r)}function Wl(e,t,n,r){var l=We();r=r===void 0?null:r;var o=void 0;if(ce!==null){var i=ce.memoizedState;if(o=i.destroy,r!==null&&es(r,i.deps)){l.memoizedState=yr(t,n,o,r);return}}Y.flags|=e,l.memoizedState=yr(1|t,n,o,r)}function ia(e,t){return ol(8390656,8,e,t)}function rs(e,t){return Wl(2048,8,e,t)}function ac(e,t){return Wl(4,2,e,t)}function uc(e,t){return Wl(4,4,e,t)}function cc(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function dc(e,t,n){return n=n!=null?n.concat([e]):null,Wl(4,4,cc.bind(null,t,e),n)}function ls(){}function fc(e,t){var n=We();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&es(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function pc(e,t){var n=We();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&es(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function mc(e,t,n){return Zt&21?(qe(n,t)||(n=yu(),Y.lanes|=n,Jt|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ee=!0),e.memoizedState=n)}function up(e,t){var n=A;A=n!==0&&4>n?n:4,e(!0);var r=wo.transition;wo.transition={};try{e(!1),t()}finally{A=n,wo.transition=r}}function hc(){return We().memoizedState}function cp(e,t,n){var r=Tt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},gc(e))vc(t,n);else if(n=Zu(e,t,n,r),n!==null){var l=Ce();Je(n,e,r,l),xc(n,t,r)}}function dp(e,t,n){var r=Tt(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(gc(e))vc(t,l);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(l.hasEagerState=!0,l.eagerState=s,qe(s,i)){var a=t.interleaved;a===null?(l.next=l,Xi(t)):(l.next=a.next,a.next=l),t.interleaved=l;return}}catch{}finally{}n=Zu(e,t,l,r),n!==null&&(l=Ce(),Je(n,e,r,l),xc(n,t,r))}}function gc(e){var t=e.alternate;return e===Y||t!==null&&t===Y}function vc(e,t){er=El=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function xc(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mi(e,n)}}var _l={readContext:$e,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useInsertionEffect:xe,useLayoutEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useMutableSource:xe,useSyncExternalStore:xe,useId:xe,unstable_isNewReconciler:!1},fp={readContext:$e,useCallback:function(e,t){return nt().memoizedState=[e,t===void 0?null:t],e},useContext:$e,useEffect:ia,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ol(4194308,4,cc.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ol(4194308,4,e,t)},useInsertionEffect:function(e,t){return ol(4,2,e,t)},useMemo:function(e,t){var n=nt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=nt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=cp.bind(null,Y,e),[r.memoizedState,e]},useRef:function(e){var t=nt();return e={current:e},t.memoizedState=e},useState:oa,useDebugValue:ls,useDeferredValue:function(e){return nt().memoizedState=e},useTransition:function(){var e=oa(!1),t=e[0];return e=up.bind(null,e[1]),nt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Y,l=nt();if(G){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),pe===null)throw Error(j(349));Zt&30||nc(r,t,n)}l.memoizedState=n;var o={value:n,getSnapshot:t};return l.queue=o,ia(lc.bind(null,r,o,e),[e]),r.flags|=2048,yr(9,rc.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=nt(),t=pe.identifierPrefix;if(G){var n=ct,r=ut;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=vr++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ap++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},pp={readContext:$e,useCallback:fc,useContext:$e,useEffect:rs,useImperativeHandle:dc,useInsertionEffect:ac,useLayoutEffect:uc,useMemo:pc,useReducer:ko,useRef:sc,useState:function(){return ko(xr)},useDebugValue:ls,useDeferredValue:function(e){var t=We();return mc(t,ce.memoizedState,e)},useTransition:function(){var e=ko(xr)[0],t=We().memoizedState;return[e,t]},useMutableSource:ec,useSyncExternalStore:tc,useId:hc,unstable_isNewReconciler:!1},mp={readContext:$e,useCallback:fc,useContext:$e,useEffect:rs,useImperativeHandle:dc,useInsertionEffect:ac,useLayoutEffect:uc,useMemo:pc,useReducer:So,useRef:sc,useState:function(){return So(xr)},useDebugValue:ls,useDeferredValue:function(e){var t=We();return ce===null?t.memoizedState=e:mc(t,ce.memoizedState,e)},useTransition:function(){var e=So(xr)[0],t=We().memoizedState;return[e,t]},useMutableSource:ec,useSyncExternalStore:tc,useId:hc,unstable_isNewReconciler:!1};function Ke(e,t){if(e&&e.defaultProps){t=Z({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function oi(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Z({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Hl={isMounted:function(e){return(e=e._reactInternals)?tn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Ce(),l=Tt(e),o=dt(r,l);o.payload=t,n!=null&&(o.callback=n),t=Lt(e,o,l),t!==null&&(Je(t,e,l,r),rl(t,e,l))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Ce(),l=Tt(e),o=dt(r,l);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=Lt(e,o,l),t!==null&&(Je(t,e,l,r),rl(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Ce(),r=Tt(e),l=dt(n,r);l.tag=2,t!=null&&(l.callback=t),t=Lt(e,l,r),t!==null&&(Je(t,e,r,n),rl(t,e,r))}};function sa(e,t,n,r,l,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,i):t.prototype&&t.prototype.isPureReactComponent?!dr(n,r)||!dr(l,o):!0}function yc(e,t,n){var r=!1,l=It,o=t.contextType;return typeof o=="object"&&o!==null?o=$e(o):(l=ze(t)?Xt:ke.current,r=t.contextTypes,o=(r=r!=null)?Nn(e,l):It),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Hl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=o),t}function aa(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Hl.enqueueReplaceState(t,t.state,null)}function ii(e,t,n,r){var l=e.stateNode;l.props=n,l.state=e.memoizedState,l.refs={},Yi(e);var o=t.contextType;typeof o=="object"&&o!==null?l.context=$e(o):(o=ze(t)?Xt:ke.current,l.context=Nn(e,o)),l.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(oi(e,t,o,n),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&Hl.enqueueReplaceState(l,l.state,null),jl(e,n,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function _n(e,t){try{var n="",r=t;do n+=Ud(r),r=r.return;while(r);var l=n}catch(o){l=`
|
|
39
|
-
Error generating stack: `+o.message+`
|
|
40
|
-
`+o.stack}return{value:e,source:t,stack:l,digest:null}}function Co(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function si(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var hp=typeof WeakMap=="function"?WeakMap:Map;function wc(e,t,n){n=dt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Pl||(Pl=!0,vi=r),si(e,t)},n}function kc(e,t,n){n=dt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=t.value;n.payload=function(){return r(l)},n.callback=function(){si(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){si(e,t),typeof r!="function"&&(Rt===null?Rt=new Set([this]):Rt.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function ua(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new hp;var l=new Set;r.set(t,l)}else l=r.get(t),l===void 0&&(l=new Set,r.set(t,l));l.has(n)||(l.add(n),e=zp.bind(null,e,t,n),t.then(e,e))}function ca(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function da(e,t,n,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=dt(-1,1),t.tag=2,Lt(n,t,1))),n.lanes|=1),e)}var gp=gt.ReactCurrentOwner,Ee=!1;function Se(e,t,n,r){t.child=e===null?Yu(t,null,n,r):bn(t,e.child,n,r)}function fa(e,t,n,r,l){n=n.render;var o=t.ref;return kn(t,l),r=ts(e,t,n,r,o,l),n=ns(),e!==null&&!Ee?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,ht(e,t,l)):(G&&n&&$i(t),t.flags|=1,Se(e,t,r,l),t.child)}function pa(e,t,n,r,l){if(e===null){var o=n.type;return typeof o=="function"&&!fs(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Sc(e,t,o,r,l)):(e=ul(n.type,null,r,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&l)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:dr,n(i,r)&&e.ref===t.ref)return ht(e,t,l)}return t.flags|=1,e=Ot(o,r),e.ref=t.ref,e.return=t,t.child=e}function Sc(e,t,n,r,l){if(e!==null){var o=e.memoizedProps;if(dr(o,r)&&e.ref===t.ref)if(Ee=!1,t.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(Ee=!0);else return t.lanes=e.lanes,ht(e,t,l)}return ai(e,t,n,r,l)}function Cc(e,t,n){var r=t.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},U(gn,Re),Re|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,U(gn,Re),Re|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,U(gn,Re),Re|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,U(gn,Re),Re|=r;return Se(e,t,l,n),t.child}function Nc(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ai(e,t,n,r,l){var o=ze(n)?Xt:ke.current;return o=Nn(t,o),kn(t,l),n=ts(e,t,n,r,o,l),r=ns(),e!==null&&!Ee?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,ht(e,t,l)):(G&&r&&$i(t),t.flags|=1,Se(e,t,n,l),t.child)}function ma(e,t,n,r,l){if(ze(n)){var o=!0;wl(t)}else o=!1;if(kn(t,l),t.stateNode===null)il(e,t),yc(t,n,r),ii(t,n,r,l),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var a=i.context,c=n.contextType;typeof c=="object"&&c!==null?c=$e(c):(c=ze(n)?Xt:ke.current,c=Nn(t,c));var g=n.getDerivedStateFromProps,h=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||a!==c)&&aa(t,i,r,c),St=!1;var m=t.memoizedState;i.state=m,jl(t,r,i,l),a=t.memoizedState,s!==r||m!==a||_e.current||St?(typeof g=="function"&&(oi(t,n,g,r),a=t.memoizedState),(s=St||sa(t,n,s,r,m,a,c))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),i.props=r,i.state=a,i.context=c,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Ju(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Ke(t.type,s),i.props=c,h=t.pendingProps,m=i.context,a=n.contextType,typeof a=="object"&&a!==null?a=$e(a):(a=ze(n)?Xt:ke.current,a=Nn(t,a));var x=n.getDerivedStateFromProps;(g=typeof x=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==h||m!==a)&&aa(t,i,r,a),St=!1,m=t.memoizedState,i.state=m,jl(t,r,i,l);var k=t.memoizedState;s!==h||m!==k||_e.current||St?(typeof x=="function"&&(oi(t,n,x,r),k=t.memoizedState),(c=St||sa(t,n,c,r,m,k,a)||!1)?(g||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,k,a),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,k,a)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=k),i.props=r,i.state=k,i.context=a,r=c):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),r=!1)}return ui(e,t,n,r,o,l)}function ui(e,t,n,r,l,o){Nc(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return l&&qs(t,n,!1),ht(e,t,o);r=t.stateNode,gp.current=t;var s=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=bn(t,e.child,null,o),t.child=bn(t,null,s,o)):Se(e,t,s,o),t.memoizedState=r.state,l&&qs(t,n,!0),t.child}function jc(e){var t=e.stateNode;t.pendingContext?Js(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Js(e,t.context,!1),Zi(e,t.containerInfo)}function ha(e,t,n,r,l){return jn(),Hi(l),t.flags|=256,Se(e,t,n,r),t.child}var ci={dehydrated:null,treeContext:null,retryLane:0};function di(e){return{baseLanes:e,cachePool:null,transitions:null}}function bc(e,t,n){var r=t.pendingProps,l=X.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(l&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),U(X,l&1),e===null)return ri(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=Kl(i,r,0,null),e=Kt(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=di(n),t.memoizedState=ci,e):os(t,i));if(l=e.memoizedState,l!==null&&(s=l.dehydrated,s!==null))return vp(e,t,i,r,s,l,n);if(o){o=r.fallback,i=t.mode,l=e.child,s=l.sibling;var a={mode:"hidden",children:r.children};return!(i&1)&&t.child!==l?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Ot(l,a),r.subtreeFlags=l.subtreeFlags&14680064),s!==null?o=Ot(s,o):(o=Kt(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?di(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=ci,r}return o=e.child,e=o.sibling,r=Ot(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function os(e,t){return t=Kl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Wr(e,t,n,r){return r!==null&&Hi(r),bn(t,e.child,null,n),e=os(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vp(e,t,n,r,l,o,i){if(n)return t.flags&256?(t.flags&=-257,r=Co(Error(j(422))),Wr(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,l=t.mode,r=Kl({mode:"visible",children:r.children},l,0,null),o=Kt(o,l,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&bn(t,e.child,null,i),t.child.memoizedState=di(i),t.memoizedState=ci,o);if(!(t.mode&1))return Wr(e,t,i,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(j(419)),r=Co(o,r,void 0),Wr(e,t,i,r)}if(s=(i&e.childLanes)!==0,Ee||s){if(r=pe,r!==null){switch(i&-i){case 4:l=2;break;case 16:l=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|i)?0:l,l!==0&&l!==o.retryLane&&(o.retryLane=l,mt(e,l),Je(r,e,l,-1))}return ds(),r=Co(Error(j(421))),Wr(e,t,i,r)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=Pp.bind(null,e),l._reactRetry=t,null):(e=o.treeContext,Te=Pt(l.nextSibling),Oe=t,G=!0,Ye=null,e!==null&&(Ae[Be++]=ut,Ae[Be++]=ct,Ae[Be++]=Yt,ut=e.id,ct=e.overflow,Yt=t),t=os(t,r.children),t.flags|=4096,t)}function ga(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),li(e.return,t,n)}function No(e,t,n,r,l){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:l}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=l)}function Ec(e,t,n){var r=t.pendingProps,l=r.revealOrder,o=r.tail;if(Se(e,t,r.children,n),r=X.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&ga(e,n,t);else if(e.tag===19)ga(e,n,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}r&=1}if(U(X,r),!(t.mode&1))t.memoizedState=null;else switch(l){case"forwards":for(n=t.child,l=null;n!==null;)e=n.alternate,e!==null&&bl(e)===null&&(l=n),n=n.sibling;n=l,n===null?(l=t.child,t.child=null):(l=n.sibling,n.sibling=null),No(t,!1,l,n,o);break;case"backwards":for(n=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&bl(e)===null){t.child=l;break}e=l.sibling,l.sibling=n,n=l,l=e}No(t,!0,n,null,o);break;case"together":No(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function il(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ht(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Jt|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=Ot(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Ot(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function xp(e,t,n){switch(t.tag){case 3:jc(t),jn();break;case 5:qu(t);break;case 1:ze(t.type)&&wl(t);break;case 4:Zi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,l=t.memoizedProps.value;U(Cl,r._currentValue),r._currentValue=l;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(U(X,X.current&1),t.flags|=128,null):n&t.child.childLanes?bc(e,t,n):(U(X,X.current&1),e=ht(e,t,n),e!==null?e.sibling:null);U(X,X.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Ec(e,t,n);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),U(X,X.current),r)break;return null;case 22:case 23:return t.lanes=0,Cc(e,t,n)}return ht(e,t,n)}var _c,fi,zc,Pc;_c=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};fi=function(){};zc=function(e,t,n,r){var l=e.memoizedProps;if(l!==r){e=t.stateNode,Ht(ot.current);var o=null;switch(n){case"input":l=Oo(e,l),r=Oo(e,r),o=[];break;case"select":l=Z({},l,{value:void 0}),r=Z({},r,{value:void 0}),o=[];break;case"textarea":l=Do(e,l),r=Do(e,r),o=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=xl)}Ao(n,r);var i;n=null;for(c in l)if(!r.hasOwnProperty(c)&&l.hasOwnProperty(c)&&l[c]!=null)if(c==="style"){var s=l[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(lr.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var a=r[c];if(s=l!=null?l[c]:void 0,r.hasOwnProperty(c)&&a!==s&&(a!=null||s!=null))if(c==="style")if(s){for(i in s)!s.hasOwnProperty(i)||a&&a.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in a)a.hasOwnProperty(i)&&s[i]!==a[i]&&(n||(n={}),n[i]=a[i])}else n||(o||(o=[]),o.push(c,n)),n=a;else c==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(c,a)):c==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(c,""+a):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(lr.hasOwnProperty(c)?(a!=null&&c==="onScroll"&&W("scroll",e),o||s===a||(o=[])):(o=o||[]).push(c,a))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};Pc=function(e,t,n,r){n!==r&&(t.flags|=4)};function Vn(e,t){if(!G)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ye(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)n|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function yp(e,t,n){var r=t.pendingProps;switch(Wi(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ye(t),null;case 1:return ze(t.type)&&yl(),ye(t),null;case 3:return r=t.stateNode,En(),H(_e),H(ke),qi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Vr(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ye!==null&&(wi(Ye),Ye=null))),fi(e,t),ye(t),null;case 5:Ji(t);var l=Ht(gr.current);if(n=t.type,e!==null&&t.stateNode!=null)zc(e,t,n,r,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return ye(t),null}if(e=Ht(ot.current),Vr(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[rt]=t,r[mr]=o,e=(t.mode&1)!==0,n){case"dialog":W("cancel",r),W("close",r);break;case"iframe":case"object":case"embed":W("load",r);break;case"video":case"audio":for(l=0;l<Kn.length;l++)W(Kn[l],r);break;case"source":W("error",r);break;case"img":case"image":case"link":W("error",r),W("load",r);break;case"details":W("toggle",r);break;case"input":js(r,o),W("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},W("invalid",r);break;case"textarea":Es(r,o),W("invalid",r)}Ao(n,o),l=null;for(var i in o)if(o.hasOwnProperty(i)){var s=o[i];i==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&Ur(r.textContent,s,e),l=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&Ur(r.textContent,s,e),l=["children",""+s]):lr.hasOwnProperty(i)&&s!=null&&i==="onScroll"&&W("scroll",r)}switch(n){case"input":Tr(r),bs(r,o,!0);break;case"textarea":Tr(r),_s(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=xl)}r=l,t.updateQueue=r,r!==null&&(t.flags|=4)}else{i=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=lu(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[rt]=t,e[mr]=r,_c(e,t,!1,!1),t.stateNode=e;e:{switch(i=Bo(n,r),n){case"dialog":W("cancel",e),W("close",e),l=r;break;case"iframe":case"object":case"embed":W("load",e),l=r;break;case"video":case"audio":for(l=0;l<Kn.length;l++)W(Kn[l],e);l=r;break;case"source":W("error",e),l=r;break;case"img":case"image":case"link":W("error",e),W("load",e),l=r;break;case"details":W("toggle",e),l=r;break;case"input":js(e,r),l=Oo(e,r),W("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=Z({},r,{value:void 0}),W("invalid",e);break;case"textarea":Es(e,r),l=Do(e,r),W("invalid",e);break;default:l=r}Ao(n,l),s=l;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?su(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&ou(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&or(e,a):typeof a=="number"&&or(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(lr.hasOwnProperty(o)?a!=null&&o==="onScroll"&&W("scroll",e):a!=null&&zi(e,o,a,i))}switch(n){case"input":Tr(e),bs(e,r,!1);break;case"textarea":Tr(e),_s(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Mt(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?vn(e,!!r.multiple,o,!1):r.defaultValue!=null&&vn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=xl)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ye(t),null;case 6:if(e&&t.stateNode!=null)Pc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=Ht(gr.current),Ht(ot.current),Vr(t)){if(r=t.stateNode,n=t.memoizedProps,r[rt]=t,(o=r.nodeValue!==n)&&(e=Oe,e!==null))switch(e.tag){case 3:Ur(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ur(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[rt]=t,t.stateNode=r}return ye(t),null;case 13:if(H(X),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(G&&Te!==null&&t.mode&1&&!(t.flags&128))Ku(),jn(),t.flags|=98560,o=!1;else if(o=Vr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(j(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(j(317));o[rt]=t}else jn(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ye(t),o=!1}else Ye!==null&&(wi(Ye),Ye=null),o=!0;if(!o)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||X.current&1?de===0&&(de=3):ds())),t.updateQueue!==null&&(t.flags|=4),ye(t),null);case 4:return En(),fi(e,t),e===null&&fr(t.stateNode.containerInfo),ye(t),null;case 10:return Ki(t.type._context),ye(t),null;case 17:return ze(t.type)&&yl(),ye(t),null;case 19:if(H(X),o=t.memoizedState,o===null)return ye(t),null;if(r=(t.flags&128)!==0,i=o.rendering,i===null)if(r)Vn(o,!1);else{if(de!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=bl(e),i!==null){for(t.flags|=128,Vn(o,!1),r=i.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return U(X,X.current&1|2),t.child}e=e.sibling}o.tail!==null&&ne()>zn&&(t.flags|=128,r=!0,Vn(o,!1),t.lanes=4194304)}else{if(!r)if(e=bl(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Vn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!G)return ye(t),null}else 2*ne()-o.renderingStartTime>zn&&n!==1073741824&&(t.flags|=128,r=!0,Vn(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ne(),t.sibling=null,n=X.current,U(X,r?n&1|2:n&1),t):(ye(t),null);case 22:case 23:return cs(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Re&1073741824&&(ye(t),t.subtreeFlags&6&&(t.flags|=8192)):ye(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function wp(e,t){switch(Wi(t),t.tag){case 1:return ze(t.type)&&yl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return En(),H(_e),H(ke),qi(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ji(t),null;case 13:if(H(X),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));jn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return H(X),null;case 4:return En(),null;case 10:return Ki(t.type._context),null;case 22:case 23:return cs(),null;case 24:return null;default:return null}}var Hr=!1,we=!1,kp=typeof WeakSet=="function"?WeakSet:Set,_=null;function hn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){q(e,t,r)}else n.current=null}function pi(e,t,n){try{n()}catch(r){q(e,t,r)}}var va=!1;function Sp(e,t){if(Yo=hl,e=Mu(),Vi(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,a=-1,c=0,g=0,h=e,m=null;t:for(;;){for(var x;h!==n||l!==0&&h.nodeType!==3||(s=i+l),h!==o||r!==0&&h.nodeType!==3||(a=i+r),h.nodeType===3&&(i+=h.nodeValue.length),(x=h.firstChild)!==null;)m=h,h=x;for(;;){if(h===e)break t;if(m===n&&++c===l&&(s=i),m===o&&++g===r&&(a=i),(x=h.nextSibling)!==null)break;h=m,m=h.parentNode}h=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Zo={focusedElem:e,selectionRange:n},hl=!1,_=t;_!==null;)if(t=_,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,_=e;else for(;_!==null;){t=_;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var S=k.memoizedProps,E=k.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?S:Ke(t.type,S),E);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(v){q(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,_=e;break}_=t.return}return k=va,va=!1,k}function tr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var o=l.destroy;l.destroy=void 0,o!==void 0&&pi(t,n,o)}l=l.next}while(l!==r)}}function Ql(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function mi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Lc(e){var t=e.alternate;t!==null&&(e.alternate=null,Lc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[rt],delete t[mr],delete t[ei],delete t[lp],delete t[op])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rc(e){return e.tag===5||e.tag===3||e.tag===4}function xa(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Rc(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.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 hi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=xl));else if(r!==4&&(e=e.child,e!==null))for(hi(e,t,n),e=e.sibling;e!==null;)hi(e,t,n),e=e.sibling}function gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(gi(e,t,n),e=e.sibling;e!==null;)gi(e,t,n),e=e.sibling}var me=null,Xe=!1;function xt(e,t,n){for(n=n.child;n!==null;)Tc(e,t,n),n=n.sibling}function Tc(e,t,n){if(lt&&typeof lt.onCommitFiberUnmount=="function")try{lt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:we||hn(n,t);case 6:var r=me,l=Xe;me=null,xt(e,t,n),me=r,Xe=l,me!==null&&(Xe?(e=me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):me.removeChild(n.stateNode));break;case 18:me!==null&&(Xe?(e=me,n=n.stateNode,e.nodeType===8?vo(e.parentNode,n):e.nodeType===1&&vo(e,n),ur(e)):vo(me,n.stateNode));break;case 4:r=me,l=Xe,me=n.stateNode.containerInfo,Xe=!0,xt(e,t,n),me=r,Xe=l;break;case 0:case 11:case 14:case 15:if(!we&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var o=l,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&pi(n,t,i),l=l.next}while(l!==r)}xt(e,t,n);break;case 1:if(!we&&(hn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){q(n,t,s)}xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(we=(r=we)||n.memoizedState!==null,xt(e,t,n),we=r):xt(e,t,n);break;default:xt(e,t,n)}}function ya(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new kp),t.forEach(function(r){var l=Lp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Qe(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var l=n[r];try{var o=e,i=t,s=i;e:for(;s!==null;){switch(s.tag){case 5:me=s.stateNode,Xe=!1;break e;case 3:me=s.stateNode.containerInfo,Xe=!0;break e;case 4:me=s.stateNode.containerInfo,Xe=!0;break e}s=s.return}if(me===null)throw Error(j(160));Tc(o,i,l),me=null,Xe=!1;var a=l.alternate;a!==null&&(a.return=null),l.return=null}catch(c){q(l,t,c)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Oc(t,e),t=t.sibling}function Oc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Qe(t,e),tt(e),r&4){try{tr(3,e,e.return),Ql(3,e)}catch(S){q(e,e.return,S)}try{tr(5,e,e.return)}catch(S){q(e,e.return,S)}}break;case 1:Qe(t,e),tt(e),r&512&&n!==null&&hn(n,n.return);break;case 5:if(Qe(t,e),tt(e),r&512&&n!==null&&hn(n,n.return),e.flags&32){var l=e.stateNode;try{or(l,"")}catch(S){q(e,e.return,S)}}if(r&4&&(l=e.stateNode,l!=null)){var o=e.memoizedProps,i=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&nu(l,o),Bo(s,i);var c=Bo(s,o);for(i=0;i<a.length;i+=2){var g=a[i],h=a[i+1];g==="style"?su(l,h):g==="dangerouslySetInnerHTML"?ou(l,h):g==="children"?or(l,h):zi(l,g,h,c)}switch(s){case"input":Mo(l,o);break;case"textarea":ru(l,o);break;case"select":var m=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!o.multiple;var x=o.value;x!=null?vn(l,!!o.multiple,x,!1):m!==!!o.multiple&&(o.defaultValue!=null?vn(l,!!o.multiple,o.defaultValue,!0):vn(l,!!o.multiple,o.multiple?[]:"",!1))}l[mr]=o}catch(S){q(e,e.return,S)}}break;case 6:if(Qe(t,e),tt(e),r&4){if(e.stateNode===null)throw Error(j(162));l=e.stateNode,o=e.memoizedProps;try{l.nodeValue=o}catch(S){q(e,e.return,S)}}break;case 3:if(Qe(t,e),tt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ur(t.containerInfo)}catch(S){q(e,e.return,S)}break;case 4:Qe(t,e),tt(e);break;case 13:Qe(t,e),tt(e),l=e.child,l.flags&8192&&(o=l.memoizedState!==null,l.stateNode.isHidden=o,!o||l.alternate!==null&&l.alternate.memoizedState!==null||(as=ne())),r&4&&ya(e);break;case 22:if(g=n!==null&&n.memoizedState!==null,e.mode&1?(we=(c=we)||g,Qe(t,e),we=c):Qe(t,e),tt(e),r&8192){if(c=e.memoizedState!==null,(e.stateNode.isHidden=c)&&!g&&e.mode&1)for(_=e,g=e.child;g!==null;){for(h=_=g;_!==null;){switch(m=_,x=m.child,m.tag){case 0:case 11:case 14:case 15:tr(4,m,m.return);break;case 1:hn(m,m.return);var k=m.stateNode;if(typeof k.componentWillUnmount=="function"){r=m,n=m.return;try{t=r,k.props=t.memoizedProps,k.state=t.memoizedState,k.componentWillUnmount()}catch(S){q(r,n,S)}}break;case 5:hn(m,m.return);break;case 22:if(m.memoizedState!==null){ka(h);continue}}x!==null?(x.return=m,_=x):ka(h)}g=g.sibling}e:for(g=null,h=e;;){if(h.tag===5){if(g===null){g=h;try{l=h.stateNode,c?(o=l.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=h.stateNode,a=h.memoizedProps.style,i=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=iu("display",i))}catch(S){q(e,e.return,S)}}}else if(h.tag===6){if(g===null)try{h.stateNode.nodeValue=c?"":h.memoizedProps}catch(S){q(e,e.return,S)}}else if((h.tag!==22&&h.tag!==23||h.memoizedState===null||h===e)&&h.child!==null){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;h.sibling===null;){if(h.return===null||h.return===e)break e;g===h&&(g=null),h=h.return}g===h&&(g=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:Qe(t,e),tt(e),r&4&&ya(e);break;case 21:break;default:Qe(t,e),tt(e)}}function tt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Rc(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(or(l,""),r.flags&=-33);var o=xa(e);gi(e,o,l);break;case 3:case 4:var i=r.stateNode.containerInfo,s=xa(e);hi(e,s,i);break;default:throw Error(j(161))}}catch(a){q(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Cp(e,t,n){_=e,Mc(e)}function Mc(e,t,n){for(var r=(e.mode&1)!==0;_!==null;){var l=_,o=l.child;if(l.tag===22&&r){var i=l.memoizedState!==null||Hr;if(!i){var s=l.alternate,a=s!==null&&s.memoizedState!==null||we;s=Hr;var c=we;if(Hr=i,(we=a)&&!c)for(_=l;_!==null;)i=_,a=i.child,i.tag===22&&i.memoizedState!==null?Sa(l):a!==null?(a.return=i,_=a):Sa(l);for(;o!==null;)_=o,Mc(o),o=o.sibling;_=l,Hr=s,we=c}wa(e)}else l.subtreeFlags&8772&&o!==null?(o.return=l,_=o):wa(e)}}function wa(e){for(;_!==null;){var t=_;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:we||Ql(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!we)if(n===null)r.componentDidMount();else{var l=t.elementType===t.type?n.memoizedProps:Ke(t.type,n.memoizedProps);r.componentDidUpdate(l,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&la(t,o,r);break;case 3:var i=t.updateQueue;if(i!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}la(t,i,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var c=t.alternate;if(c!==null){var g=c.memoizedState;if(g!==null){var h=g.dehydrated;h!==null&&ur(h)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}we||t.flags&512&&mi(t)}catch(m){q(t,t.return,m)}}if(t===e){_=null;break}if(n=t.sibling,n!==null){n.return=t.return,_=n;break}_=t.return}}function ka(e){for(;_!==null;){var t=_;if(t===e){_=null;break}var n=t.sibling;if(n!==null){n.return=t.return,_=n;break}_=t.return}}function Sa(e){for(;_!==null;){var t=_;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ql(4,t)}catch(a){q(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var l=t.return;try{r.componentDidMount()}catch(a){q(t,l,a)}}var o=t.return;try{mi(t)}catch(a){q(t,o,a)}break;case 5:var i=t.return;try{mi(t)}catch(a){q(t,i,a)}}}catch(a){q(t,t.return,a)}if(t===e){_=null;break}var s=t.sibling;if(s!==null){s.return=t.return,_=s;break}_=t.return}}var Np=Math.ceil,zl=gt.ReactCurrentDispatcher,is=gt.ReactCurrentOwner,Ve=gt.ReactCurrentBatchConfig,F=0,pe=null,ie=null,he=0,Re=0,gn=Ft(0),de=0,wr=null,Jt=0,Gl=0,ss=0,nr=null,be=null,as=0,zn=1/0,st=null,Pl=!1,vi=null,Rt=null,Qr=!1,bt=null,Ll=0,rr=0,xi=null,sl=-1,al=0;function Ce(){return F&6?ne():sl!==-1?sl:sl=ne()}function Tt(e){return e.mode&1?F&2&&he!==0?he&-he:sp.transition!==null?(al===0&&(al=yu()),al):(e=A,e!==0||(e=window.event,e=e===void 0?16:bu(e.type)),e):1}function Je(e,t,n,r){if(50<rr)throw rr=0,xi=null,Error(j(185));Sr(e,n,r),(!(F&2)||e!==pe)&&(e===pe&&(!(F&2)&&(Gl|=n),de===4&&Nt(e,he)),Pe(e,r),n===1&&F===0&&!(t.mode&1)&&(zn=ne()+500,$l&&At()))}function Pe(e,t){var n=e.callbackNode;sf(e,t);var r=ml(e,e===pe?he:0);if(r===0)n!==null&&Ls(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ls(n),t===1)e.tag===0?ip(Ca.bind(null,e)):Hu(Ca.bind(null,e)),np(function(){!(F&6)&&At()}),n=null;else{switch(wu(r)){case 1:n=Oi;break;case 4:n=vu;break;case 16:n=pl;break;case 536870912:n=xu;break;default:n=pl}n=$c(n,Ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Ic(e,t){if(sl=-1,al=0,F&6)throw Error(j(327));var n=e.callbackNode;if(Sn()&&e.callbackNode!==n)return null;var r=ml(e,e===pe?he:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Rl(e,r);else{t=r;var l=F;F|=2;var o=Fc();(pe!==e||he!==t)&&(st=null,zn=ne()+500,Gt(e,t));do try{Ep();break}catch(s){Dc(e,s)}while(!0);Gi(),zl.current=o,F=l,ie!==null?t=0:(pe=null,he=0,t=de)}if(t!==0){if(t===2&&(l=Ho(e),l!==0&&(r=l,t=yi(e,l))),t===1)throw n=wr,Gt(e,0),Nt(e,r),Pe(e,ne()),n;if(t===6)Nt(e,r);else{if(l=e.current.alternate,!(r&30)&&!jp(l)&&(t=Rl(e,r),t===2&&(o=Ho(e),o!==0&&(r=o,t=yi(e,o))),t===1))throw n=wr,Gt(e,0),Nt(e,r),Pe(e,ne()),n;switch(e.finishedWork=l,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:Vt(e,be,st);break;case 3:if(Nt(e,r),(r&130023424)===r&&(t=as+500-ne(),10<t)){if(ml(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){Ce(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=qo(Vt.bind(null,e,be,st),t);break}Vt(e,be,st);break;case 4:if(Nt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,l=-1;0<r;){var i=31-Ze(r);o=1<<i,i=t[i],i>l&&(l=i),r&=~o}if(r=l,r=ne()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Np(r/1960))-r,10<r){e.timeoutHandle=qo(Vt.bind(null,e,be,st),r);break}Vt(e,be,st);break;case 5:Vt(e,be,st);break;default:throw Error(j(329))}}}return Pe(e,ne()),e.callbackNode===n?Ic.bind(null,e):null}function yi(e,t){var n=nr;return e.current.memoizedState.isDehydrated&&(Gt(e,t).flags|=256),e=Rl(e,t),e!==2&&(t=be,be=n,t!==null&&wi(t)),e}function wi(e){be===null?be=e:be.push.apply(be,e)}function jp(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var l=n[r],o=l.getSnapshot;l=l.value;try{if(!qe(o(),l))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;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 Nt(e,t){for(t&=~ss,t&=~Gl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ze(t),r=1<<n;e[n]=-1,t&=~r}}function Ca(e){if(F&6)throw Error(j(327));Sn();var t=ml(e,0);if(!(t&1))return Pe(e,ne()),null;var n=Rl(e,t);if(e.tag!==0&&n===2){var r=Ho(e);r!==0&&(t=r,n=yi(e,r))}if(n===1)throw n=wr,Gt(e,0),Nt(e,t),Pe(e,ne()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Vt(e,be,st),Pe(e,ne()),null}function us(e,t){var n=F;F|=1;try{return e(t)}finally{F=n,F===0&&(zn=ne()+500,$l&&At())}}function qt(e){bt!==null&&bt.tag===0&&!(F&6)&&Sn();var t=F;F|=1;var n=Ve.transition,r=A;try{if(Ve.transition=null,A=1,e)return e()}finally{A=r,Ve.transition=n,F=t,!(F&6)&&At()}}function cs(){Re=gn.current,H(gn)}function Gt(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,tp(n)),ie!==null)for(n=ie.return;n!==null;){var r=n;switch(Wi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&yl();break;case 3:En(),H(_e),H(ke),qi();break;case 5:Ji(r);break;case 4:En();break;case 13:H(X);break;case 19:H(X);break;case 10:Ki(r.type._context);break;case 22:case 23:cs()}n=n.return}if(pe=e,ie=e=Ot(e.current,null),he=Re=t,de=0,wr=null,ss=Gl=Jt=0,be=nr=null,Wt!==null){for(t=0;t<Wt.length;t++)if(n=Wt[t],r=n.interleaved,r!==null){n.interleaved=null;var l=r.next,o=n.pending;if(o!==null){var i=o.next;o.next=l,r.next=i}n.pending=r}Wt=null}return e}function Dc(e,t){do{var n=ie;try{if(Gi(),ll.current=_l,El){for(var r=Y.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}El=!1}if(Zt=0,fe=ce=Y=null,er=!1,vr=0,is.current=null,n===null||n.return===null){de=1,wr=t,ie=null;break}e:{var o=e,i=n.return,s=n,a=t;if(t=he,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var c=a,g=s,h=g.tag;if(!(g.mode&1)&&(h===0||h===11||h===15)){var m=g.alternate;m?(g.updateQueue=m.updateQueue,g.memoizedState=m.memoizedState,g.lanes=m.lanes):(g.updateQueue=null,g.memoizedState=null)}var x=ca(i);if(x!==null){x.flags&=-257,da(x,i,s,o,t),x.mode&1&&ua(o,c,t),t=x,a=c;var k=t.updateQueue;if(k===null){var S=new Set;S.add(a),t.updateQueue=S}else k.add(a);break e}else{if(!(t&1)){ua(o,c,t),ds();break e}a=Error(j(426))}}else if(G&&s.mode&1){var E=ca(i);if(E!==null){!(E.flags&65536)&&(E.flags|=256),da(E,i,s,o,t),Hi(_n(a,s));break e}}o=a=_n(a,s),de!==4&&(de=2),nr===null?nr=[o]:nr.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var f=wc(o,a,t);ra(o,f);break e;case 1:s=a;var d=o.type,p=o.stateNode;if(!(o.flags&128)&&(typeof d.getDerivedStateFromError=="function"||p!==null&&typeof p.componentDidCatch=="function"&&(Rt===null||!Rt.has(p)))){o.flags|=65536,t&=-t,o.lanes|=t;var v=kc(o,s,t);ra(o,v);break e}}o=o.return}while(o!==null)}Bc(n)}catch(b){t=b,ie===n&&n!==null&&(ie=n=n.return);continue}break}while(!0)}function Fc(){var e=zl.current;return zl.current=_l,e===null?_l:e}function ds(){(de===0||de===3||de===2)&&(de=4),pe===null||!(Jt&268435455)&&!(Gl&268435455)||Nt(pe,he)}function Rl(e,t){var n=F;F|=2;var r=Fc();(pe!==e||he!==t)&&(st=null,Gt(e,t));do try{bp();break}catch(l){Dc(e,l)}while(!0);if(Gi(),F=n,zl.current=r,ie!==null)throw Error(j(261));return pe=null,he=0,de}function bp(){for(;ie!==null;)Ac(ie)}function Ep(){for(;ie!==null&&!Zd();)Ac(ie)}function Ac(e){var t=Vc(e.alternate,e,Re);e.memoizedProps=e.pendingProps,t===null?Bc(e):ie=t,is.current=null}function Bc(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=wp(n,t),n!==null){n.flags&=32767,ie=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{de=6,ie=null;return}}else if(n=yp(n,t,Re),n!==null){ie=n;return}if(t=t.sibling,t!==null){ie=t;return}ie=t=e}while(t!==null);de===0&&(de=5)}function Vt(e,t,n){var r=A,l=Ve.transition;try{Ve.transition=null,A=1,_p(e,t,n,r)}finally{Ve.transition=l,A=r}return null}function _p(e,t,n,r){do Sn();while(bt!==null);if(F&6)throw Error(j(327));n=e.finishedWork;var l=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(af(e,o),e===pe&&(ie=pe=null,he=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Qr||(Qr=!0,$c(pl,function(){return Sn(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=Ve.transition,Ve.transition=null;var i=A;A=1;var s=F;F|=4,is.current=null,Sp(e,n),Oc(n,e),Kf(Zo),hl=!!Yo,Zo=Yo=null,e.current=n,Cp(n),Jd(),F=s,A=i,Ve.transition=o}else e.current=n;if(Qr&&(Qr=!1,bt=e,Ll=l),o=e.pendingLanes,o===0&&(Rt=null),tf(n.stateNode),Pe(e,ne()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)l=t[n],r(l.value,{componentStack:l.stack,digest:l.digest});if(Pl)throw Pl=!1,e=vi,vi=null,e;return Ll&1&&e.tag!==0&&Sn(),o=e.pendingLanes,o&1?e===xi?rr++:(rr=0,xi=e):rr=0,At(),null}function Sn(){if(bt!==null){var e=wu(Ll),t=Ve.transition,n=A;try{if(Ve.transition=null,A=16>e?16:e,bt===null)var r=!1;else{if(e=bt,bt=null,Ll=0,F&6)throw Error(j(331));var l=F;for(F|=4,_=e.current;_!==null;){var o=_,i=o.child;if(_.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var c=s[a];for(_=c;_!==null;){var g=_;switch(g.tag){case 0:case 11:case 15:tr(8,g,o)}var h=g.child;if(h!==null)h.return=g,_=h;else for(;_!==null;){g=_;var m=g.sibling,x=g.return;if(Lc(g),g===c){_=null;break}if(m!==null){m.return=x,_=m;break}_=x}}}var k=o.alternate;if(k!==null){var S=k.child;if(S!==null){k.child=null;do{var E=S.sibling;S.sibling=null,S=E}while(S!==null)}}_=o}}if(o.subtreeFlags&2064&&i!==null)i.return=o,_=i;else e:for(;_!==null;){if(o=_,o.flags&2048)switch(o.tag){case 0:case 11:case 15:tr(9,o,o.return)}var f=o.sibling;if(f!==null){f.return=o.return,_=f;break e}_=o.return}}var d=e.current;for(_=d;_!==null;){i=_;var p=i.child;if(i.subtreeFlags&2064&&p!==null)p.return=i,_=p;else e:for(i=d;_!==null;){if(s=_,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Ql(9,s)}}catch(b){q(s,s.return,b)}if(s===i){_=null;break e}var v=s.sibling;if(v!==null){v.return=s.return,_=v;break e}_=s.return}}if(F=l,At(),lt&&typeof lt.onPostCommitFiberRoot=="function")try{lt.onPostCommitFiberRoot(Fl,e)}catch{}r=!0}return r}finally{A=n,Ve.transition=t}}return!1}function Na(e,t,n){t=_n(n,t),t=wc(e,t,1),e=Lt(e,t,1),t=Ce(),e!==null&&(Sr(e,1,t),Pe(e,t))}function q(e,t,n){if(e.tag===3)Na(e,e,n);else for(;t!==null;){if(t.tag===3){Na(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Rt===null||!Rt.has(r))){e=_n(n,e),e=kc(t,e,1),t=Lt(t,e,1),e=Ce(),t!==null&&(Sr(t,1,e),Pe(t,e));break}}t=t.return}}function zp(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Ce(),e.pingedLanes|=e.suspendedLanes&n,pe===e&&(he&n)===n&&(de===4||de===3&&(he&130023424)===he&&500>ne()-as?Gt(e,0):ss|=n),Pe(e,t)}function Uc(e,t){t===0&&(e.mode&1?(t=Ir,Ir<<=1,!(Ir&130023424)&&(Ir=4194304)):t=1);var n=Ce();e=mt(e,t),e!==null&&(Sr(e,t,n),Pe(e,n))}function Pp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Uc(e,n)}function Lp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),Uc(e,n)}var Vc;Vc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||_e.current)Ee=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ee=!1,xp(e,t,n);Ee=!!(e.flags&131072)}else Ee=!1,G&&t.flags&1048576&&Qu(t,Sl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;il(e,t),e=t.pendingProps;var l=Nn(t,ke.current);kn(t,n),l=ts(null,t,r,e,l,n);var o=ns();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(r)?(o=!0,wl(t)):o=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Yi(t),l.updater=Hl,t.stateNode=l,l._reactInternals=t,ii(t,r,e,n),t=ui(null,t,r,!0,o,n)):(t.tag=0,G&&o&&$i(t),Se(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(il(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Tp(r),e=Ke(r,e),l){case 0:t=ai(null,t,r,e,n);break e;case 1:t=ma(null,t,r,e,n);break e;case 11:t=fa(null,t,r,e,n);break e;case 14:t=pa(null,t,r,Ke(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),ai(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),ma(e,t,r,l,n);case 3:e:{if(jc(t),e===null)throw Error(j(387));r=t.pendingProps,o=t.memoizedState,l=o.element,Ju(e,t),jl(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){l=_n(Error(j(423)),t),t=ha(e,t,r,n,l);break e}else if(r!==l){l=_n(Error(j(424)),t),t=ha(e,t,r,n,l);break e}else for(Te=Pt(t.stateNode.containerInfo.firstChild),Oe=t,G=!0,Ye=null,n=Yu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(jn(),r===l){t=ht(e,t,n);break e}Se(e,t,r,n)}t=t.child}return t;case 5:return qu(t),e===null&&ri(t),r=t.type,l=t.pendingProps,o=e!==null?e.memoizedProps:null,i=l.children,Jo(r,l)?i=null:o!==null&&Jo(r,o)&&(t.flags|=32),Nc(e,t),Se(e,t,i,n),t.child;case 6:return e===null&&ri(t),null;case 13:return bc(e,t,n);case 4:return Zi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=bn(t,null,r,n):Se(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),fa(e,t,r,l,n);case 7:return Se(e,t,t.pendingProps,n),t.child;case 8:return Se(e,t,t.pendingProps.children,n),t.child;case 12:return Se(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,o=t.memoizedProps,i=l.value,U(Cl,r._currentValue),r._currentValue=i,o!==null)if(qe(o.value,i)){if(o.children===l.children&&!_e.current){t=ht(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=dt(-1,n&-n),a.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var g=c.pending;g===null?a.next=a:(a.next=g.next,g.next=a),c.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),li(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(j(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),li(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Se(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,kn(t,n),l=$e(l),r=r(l),t.flags|=1,Se(e,t,r,n),t.child;case 14:return r=t.type,l=Ke(r,t.pendingProps),l=Ke(r.type,l),pa(e,t,r,l,n);case 15:return Sc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Ke(r,l),il(e,t),t.tag=1,ze(r)?(e=!0,wl(t)):e=!1,kn(t,n),yc(t,r,l),ii(t,r,l,n),ui(null,t,r,!0,e,n);case 19:return Ec(e,t,n);case 22:return Cc(e,t,n)}throw Error(j(156,t.tag))};function $c(e,t){return gu(e,t)}function Rp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ue(e,t,n,r){return new Rp(e,t,n,r)}function fs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tp(e){if(typeof e=="function")return fs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Ri)return 14}return 2}function Ot(e,t){var n=e.alternate;return n===null?(n=Ue(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ul(e,t,n,r,l,o){var i=2;if(r=e,typeof e=="function")fs(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case on:return Kt(n.children,l,o,t);case Pi:i=8,l|=8;break;case Po:return e=Ue(12,n,t,l|2),e.elementType=Po,e.lanes=o,e;case Lo:return e=Ue(13,n,t,l),e.elementType=Lo,e.lanes=o,e;case Ro:return e=Ue(19,n,t,l),e.elementType=Ro,e.lanes=o,e;case qa:return Kl(n,l,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Za:i=10;break e;case Ja:i=9;break e;case Li:i=11;break e;case Ri:i=14;break e;case kt:i=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=Ue(i,n,t,l),t.elementType=e,t.type=r,t.lanes=o,t}function Kt(e,t,n,r){return e=Ue(7,e,r,t),e.lanes=n,e}function Kl(e,t,n,r){return e=Ue(22,e,r,t),e.elementType=qa,e.lanes=n,e.stateNode={isHidden:!1},e}function jo(e,t,n){return e=Ue(6,e,null,t),e.lanes=n,e}function bo(e,t,n){return t=Ue(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Op(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=oo(0),this.expirationTimes=oo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oo(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function ps(e,t,n,r,l,o,i,s,a){return e=new Op(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ue(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yi(o),e}function Mp(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ln,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Wc(e){if(!e)return It;e=e._reactInternals;e:{if(tn(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(ze(n))return Wu(e,n,t)}return t}function Hc(e,t,n,r,l,o,i,s,a){return e=ps(n,r,!0,e,l,o,i,s,a),e.context=Wc(null),n=e.current,r=Ce(),l=Tt(n),o=dt(r,l),o.callback=t??null,Lt(n,o,l),e.current.lanes=l,Sr(e,l,r),Pe(e,r),e}function Xl(e,t,n,r){var l=t.current,o=Ce(),i=Tt(l);return n=Wc(n),t.context===null?t.context=n:t.pendingContext=n,t=dt(o,i),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Lt(l,t,i),e!==null&&(Je(e,l,i,o),rl(e,l,i)),i}function Tl(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function ja(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ms(e,t){ja(e,t),(e=e.alternate)&&ja(e,t)}function Ip(){return null}var Qc=typeof reportError=="function"?reportError:function(e){console.error(e)};function hs(e){this._internalRoot=e}Yl.prototype.render=hs.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Xl(e,t,null,null)};Yl.prototype.unmount=hs.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;qt(function(){Xl(null,e,null,null)}),t[pt]=null}};function Yl(e){this._internalRoot=e}Yl.prototype.unstable_scheduleHydration=function(e){if(e){var t=Cu();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ct.length&&t!==0&&t<Ct[n].priority;n++);Ct.splice(n,0,e),n===0&&ju(e)}};function gs(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Zl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function ba(){}function Dp(e,t,n,r,l){if(l){if(typeof r=="function"){var o=r;r=function(){var c=Tl(i);o.call(c)}}var i=Hc(t,r,e,0,null,!1,!1,"",ba);return e._reactRootContainer=i,e[pt]=i.current,fr(e.nodeType===8?e.parentNode:e),qt(),i}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var s=r;r=function(){var c=Tl(a);s.call(c)}}var a=ps(e,0,!1,null,null,!1,!1,"",ba);return e._reactRootContainer=a,e[pt]=a.current,fr(e.nodeType===8?e.parentNode:e),qt(function(){Xl(t,a,n,r)}),a}function Jl(e,t,n,r,l){var o=n._reactRootContainer;if(o){var i=o;if(typeof l=="function"){var s=l;l=function(){var a=Tl(i);s.call(a)}}Xl(t,i,e,l)}else i=Dp(n,t,e,l,r);return Tl(i)}ku=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Gn(t.pendingLanes);n!==0&&(Mi(t,n|1),Pe(t,ne()),!(F&6)&&(zn=ne()+500,At()))}break;case 13:qt(function(){var r=mt(e,1);if(r!==null){var l=Ce();Je(r,e,1,l)}}),ms(e,1)}};Ii=function(e){if(e.tag===13){var t=mt(e,134217728);if(t!==null){var n=Ce();Je(t,e,134217728,n)}ms(e,134217728)}};Su=function(e){if(e.tag===13){var t=Tt(e),n=mt(e,t);if(n!==null){var r=Ce();Je(n,e,t,r)}ms(e,t)}};Cu=function(){return A};Nu=function(e,t){var n=A;try{return A=e,t()}finally{A=n}};Vo=function(e,t,n){switch(t){case"input":if(Mo(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var l=Vl(r);if(!l)throw Error(j(90));tu(r),Mo(r,l)}}}break;case"textarea":ru(e,n);break;case"select":t=n.value,t!=null&&vn(e,!!n.multiple,t,!1)}};cu=us;du=qt;var Fp={usingClientEntryPoint:!1,Events:[Nr,cn,Vl,au,uu,us]},$n={findFiberByHostInstance:$t,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ap={bundleType:$n.bundleType,version:$n.version,rendererPackageName:$n.rendererPackageName,rendererConfig:$n.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:gt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=mu(e),e===null?null:e.stateNode},findFiberByHostInstance:$n.findFiberByHostInstance||Ip,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gr.isDisabled&&Gr.supportsFiber)try{Fl=Gr.inject(Ap),lt=Gr}catch{}}Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Fp;Ie.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!gs(t))throw Error(j(200));return Mp(e,t,null,n)};Ie.createRoot=function(e,t){if(!gs(e))throw Error(j(299));var n=!1,r="",l=Qc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=ps(e,1,!1,null,null,n,!1,r,l),e[pt]=t.current,fr(e.nodeType===8?e.parentNode:e),new hs(t)};Ie.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=mu(t),e=e===null?null:e.stateNode,e};Ie.flushSync=function(e){return qt(e)};Ie.hydrate=function(e,t,n){if(!Zl(t))throw Error(j(200));return Jl(null,e,t,!0,n)};Ie.hydrateRoot=function(e,t,n){if(!gs(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,l=!1,o="",i=Qc;if(n!=null&&(n.unstable_strictMode===!0&&(l=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(i=n.onRecoverableError)),t=Hc(t,null,e,1,n??null,l,!1,o,i),e[pt]=t.current,fr(e),r)for(e=0;e<r.length;e++)n=r[e],l=n._getVersion,l=l(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,l]:t.mutableSourceEagerHydrationData.push(n,l);return new Yl(t)};Ie.render=function(e,t,n){if(!Zl(t))throw Error(j(200));return Jl(null,e,t,!1,n)};Ie.unmountComponentAtNode=function(e){if(!Zl(e))throw Error(j(40));return e._reactRootContainer?(qt(function(){Jl(null,null,e,!1,function(){e._reactRootContainer=null,e[pt]=null})}),!0):!1};Ie.unstable_batchedUpdates=us;Ie.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Zl(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Jl(e,t,n,!1,r)};Ie.version="18.3.1-next-f1338f8080-20240426";function Gc(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gc)}catch(e){console.error(e)}}Gc(),Ga.exports=Ie;var Bp=Ga.exports,Kc,Ea=Bp;Kc=Ea.createRoot,Ea.hydrateRoot;function Xc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var l=e.length;for(t=0;t<l;t++)e[t]&&(n=Xc(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function br(){for(var e,t,n=0,r="",l=arguments.length;n<l;n++)(e=arguments[n])&&(t=Xc(e))&&(r&&(r+=" "),r+=t);return r}const Up=(e,t)=>{const n=new Array(e.length+t.length);for(let r=0;r<e.length;r++)n[r]=e[r];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Vp=(e,t)=>({classGroupId:e,validator:t}),Yc=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Ol="-",_a=[],$p="arbitrary..",Wp=e=>{const t=Qp(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return Hp(i);const s=i.split(Ol),a=s[0]===""&&s.length>1?1:0;return Zc(s,a,t)},getConflictingClassGroupIds:(i,s)=>{if(s){const a=r[i],c=n[i];return a?c?Up(c,a):a:c||_a}return n[i]||_a}}},Zc=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;const l=e[t],o=n.nextPart.get(l);if(o){const c=Zc(e,t+1,o);if(c)return c}const i=n.validators;if(i===null)return;const s=t===0?e.join(Ol):e.slice(t).join(Ol),a=i.length;for(let c=0;c<a;c++){const g=i[c];if(g.validator(s))return g.classGroupId}},Hp=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?$p+r:void 0})(),Qp=e=>{const{theme:t,classGroups:n}=e;return Gp(n,t)},Gp=(e,t)=>{const n=Yc();for(const r in e){const l=e[r];vs(l,n,r,t)}return n},vs=(e,t,n,r)=>{const l=e.length;for(let o=0;o<l;o++){const i=e[o];Kp(i,t,n,r)}},Kp=(e,t,n,r)=>{if(typeof e=="string"){Xp(e,t,n);return}if(typeof e=="function"){Yp(e,t,n,r);return}Zp(e,t,n,r)},Xp=(e,t,n)=>{const r=e===""?t:Jc(t,e);r.classGroupId=n},Yp=(e,t,n,r)=>{if(Jp(e)){vs(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Vp(n,e))},Zp=(e,t,n,r)=>{const l=Object.entries(e),o=l.length;for(let i=0;i<o;i++){const[s,a]=l[i];vs(a,Jc(t,s),n,r)}},Jc=(e,t)=>{let n=e;const r=t.split(Ol),l=r.length;for(let o=0;o<l;o++){const i=r[o];let s=n.nextPart.get(i);s||(s=Yc(),n.nextPart.set(i,s)),n=s}return n},Jp=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,qp=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const l=(o,i)=>{n[o]=i,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(o){let i=n[o];if(i!==void 0)return i;if((i=r[o])!==void 0)return l(o,i),i},set(o,i){o in n?n[o]=i:l(o,i)}}},ki="!",za=":",em=[],Pa=(e,t,n,r,l)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:l}),tm=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=l=>{const o=[];let i=0,s=0,a=0,c;const g=l.length;for(let S=0;S<g;S++){const E=l[S];if(i===0&&s===0){if(E===za){o.push(l.slice(a,S)),a=S+1;continue}if(E==="/"){c=S;continue}}E==="["?i++:E==="]"?i--:E==="("?s++:E===")"&&s--}const h=o.length===0?l:l.slice(a);let m=h,x=!1;h.endsWith(ki)?(m=h.slice(0,-1),x=!0):h.startsWith(ki)&&(m=h.slice(1),x=!0);const k=c&&c>a?c-a:void 0;return Pa(o,x,m,k)};if(t){const l=t+za,o=r;r=i=>i.startsWith(l)?o(i.slice(l.length)):Pa(em,!1,i,void 0,!0)}if(n){const l=r;r=o=>n({className:o,parseClassName:l})}return r},nm=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let l=[];for(let o=0;o<n.length;o++){const i=n[o],s=i[0]==="[",a=t.has(i);s||a?(l.length>0&&(l.sort(),r.push(...l),l=[]),r.push(i)):l.push(i)}return l.length>0&&(l.sort(),r.push(...l)),r}},rm=e=>({cache:qp(e.cacheSize),parseClassName:tm(e),sortModifiers:nm(e),...Wp(e)}),lm=/\s+/,om=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:l,sortModifiers:o}=t,i=[],s=e.trim().split(lm);let a="";for(let c=s.length-1;c>=0;c-=1){const g=s[c],{isExternal:h,modifiers:m,hasImportantModifier:x,baseClassName:k,maybePostfixModifierPosition:S}=n(g);if(h){a=g+(a.length>0?" "+a:a);continue}let E=!!S,f=r(E?k.substring(0,S):k);if(!f){if(!E){a=g+(a.length>0?" "+a:a);continue}if(f=r(k),!f){a=g+(a.length>0?" "+a:a);continue}E=!1}const d=m.length===0?"":m.length===1?m[0]:o(m).join(":"),p=x?d+ki:d,v=p+f;if(i.indexOf(v)>-1)continue;i.push(v);const b=l(f,E);for(let C=0;C<b.length;++C){const N=b[C];i.push(p+N)}a=g+(a.length>0?" "+a:a)}return a},im=(...e)=>{let t=0,n,r,l="";for(;t<e.length;)(n=e[t++])&&(r=qc(n))&&(l&&(l+=" "),l+=r);return l},qc=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=qc(e[r]))&&(n&&(n+=" "),n+=t);return n},sm=(e,...t)=>{let n,r,l,o;const i=a=>{const c=t.reduce((g,h)=>h(g),e());return n=rm(c),r=n.cache.get,l=n.cache.set,o=s,s(a)},s=a=>{const c=r(a);if(c)return c;const g=om(a,n);return l(a,g),g};return o=i,(...a)=>o(im(...a))},am=[],ae=e=>{const t=n=>n[e]||am;return t.isThemeGetter=!0,t},ed=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,td=/^\((?:(\w[\w-]*):)?(.+)\)$/i,um=/^\d+\/\d+$/,cm=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,fm=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,pm=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mm=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,rn=e=>um.test(e),I=e=>!!e&&!Number.isNaN(Number(e)),yt=e=>!!e&&Number.isInteger(Number(e)),Eo=e=>e.endsWith("%")&&I(e.slice(0,-1)),it=e=>cm.test(e),hm=()=>!0,gm=e=>dm.test(e)&&!fm.test(e),nd=()=>!1,vm=e=>pm.test(e),xm=e=>mm.test(e),ym=e=>!z(e)&&!P(e),wm=e=>Tn(e,od,nd),z=e=>ed.test(e),Bt=e=>Tn(e,id,gm),_o=e=>Tn(e,jm,I),La=e=>Tn(e,rd,nd),km=e=>Tn(e,ld,xm),Kr=e=>Tn(e,sd,vm),P=e=>td.test(e),Wn=e=>On(e,id),Sm=e=>On(e,bm),Ra=e=>On(e,rd),Cm=e=>On(e,od),Nm=e=>On(e,ld),Xr=e=>On(e,sd,!0),Tn=(e,t,n)=>{const r=ed.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},On=(e,t,n=!1)=>{const r=td.exec(e);return r?r[1]?t(r[1]):n:!1},rd=e=>e==="position"||e==="percentage",ld=e=>e==="image"||e==="url",od=e=>e==="length"||e==="size"||e==="bg-size",id=e=>e==="length",jm=e=>e==="number",bm=e=>e==="family-name",sd=e=>e==="shadow",Em=()=>{const e=ae("color"),t=ae("font"),n=ae("text"),r=ae("font-weight"),l=ae("tracking"),o=ae("leading"),i=ae("breakpoint"),s=ae("container"),a=ae("spacing"),c=ae("radius"),g=ae("shadow"),h=ae("inset-shadow"),m=ae("text-shadow"),x=ae("drop-shadow"),k=ae("blur"),S=ae("perspective"),E=ae("aspect"),f=ae("ease"),d=ae("animate"),p=()=>["auto","avoid","all","avoid-page","page","left","right","column"],v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],b=()=>[...v(),P,z],C=()=>["auto","hidden","clip","visible","scroll"],N=()=>["auto","contain","none"],w=()=>[P,z,a],L=()=>[rn,"full","auto",...w()],T=()=>[yt,"none","subgrid",P,z],$=()=>["auto",{span:["full",yt,P,z]},yt,P,z],se=()=>[yt,"auto",P,z],B=()=>["auto","min","max","fr",P,z],re=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ee=()=>["start","end","center","stretch","center-safe","end-safe"],le=()=>["auto",...w()],ve=()=>[rn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],y=()=>[e,P,z],O=()=>[...v(),Ra,La,{position:[P,z]}],M=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Q=()=>["auto","cover","contain",Cm,wm,{size:[P,z]}],J=()=>[Eo,Wn,Bt],oe=()=>["","none","full",c,P,z],te=()=>["",I,Wn,Bt],vt=()=>["solid","dashed","dotted","double"],et=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[I,Eo,Ra,La],xs=()=>["","none",k,P,z],_r=()=>["none",I,P,z],zr=()=>["none",I,P,z],ql=()=>[I,P,z],Pr=()=>[rn,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[it],breakpoint:[it],color:[hm],container:[it],"drop-shadow":[it],ease:["in","out","in-out"],font:[ym],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[it],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[it],shadow:[it],spacing:["px",I],text:[it],"text-shadow":[it],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",rn,z,P,E]}],container:["container"],columns:[{columns:[I,z,P,s]}],"break-after":[{"break-after":p()}],"break-before":[{"break-before":p()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{start:L()}],end:[{end:L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[yt,"auto",P,z]}],basis:[{basis:[rn,"full","auto",s,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[I,rn,"auto","initial","none",z]}],grow:[{grow:["",I,P,z]}],shrink:[{shrink:["",I,P,z]}],order:[{order:[yt,"first","last","none",P,z]}],"grid-cols":[{"grid-cols":T()}],"col-start-end":[{col:$()}],"col-start":[{"col-start":se()}],"col-end":[{"col-end":se()}],"grid-rows":[{"grid-rows":T()}],"row-start-end":[{row:$()}],"row-start":[{"row-start":se()}],"row-end":[{"row-end":se()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":B()}],"auto-rows":[{"auto-rows":B()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...re(),"normal"]}],"justify-items":[{"justify-items":[...ee(),"normal"]}],"justify-self":[{"justify-self":["auto",...ee()]}],"align-content":[{content:["normal",...re()]}],"align-items":[{items:[...ee(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ee(),{baseline:["","last"]}]}],"place-content":[{"place-content":re()}],"place-items":[{"place-items":[...ee(),"baseline"]}],"place-self":[{"place-self":["auto",...ee()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:le()}],mx:[{mx:le()}],my:[{my:le()}],ms:[{ms:le()}],me:[{me:le()}],mt:[{mt:le()}],mr:[{mr:le()}],mb:[{mb:le()}],ml:[{ml:le()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:ve()}],w:[{w:[s,"screen",...ve()]}],"min-w":[{"min-w":[s,"screen","none",...ve()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...ve()]}],h:[{h:["screen","lh",...ve()]}],"min-h":[{"min-h":["screen","lh","none",...ve()]}],"max-h":[{"max-h":["screen","lh",...ve()]}],"font-size":[{text:["base",n,Wn,Bt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,P,_o]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Eo,z]}],"font-family":[{font:[Sm,z,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[l,P,z]}],"line-clamp":[{"line-clamp":[I,"none",P,_o]}],leading:[{leading:[o,...w()]}],"list-image":[{"list-image":["none",P,z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",P,z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:y()}],"text-color":[{text:y()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...vt(),"wavy"]}],"text-decoration-thickness":[{decoration:[I,"from-font","auto",P,Bt]}],"text-decoration-color":[{decoration:y()}],"underline-offset":[{"underline-offset":[I,"auto",P,z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P,z]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P,z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:M()}],"bg-size":[{bg:Q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},yt,P,z],radial:["",P,z],conic:[yt,P,z]},Nm,km]}],"bg-color":[{bg:y()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:y()}],"gradient-via":[{via:y()}],"gradient-to":[{to:y()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:te()}],"border-w-x":[{"border-x":te()}],"border-w-y":[{"border-y":te()}],"border-w-s":[{"border-s":te()}],"border-w-e":[{"border-e":te()}],"border-w-t":[{"border-t":te()}],"border-w-r":[{"border-r":te()}],"border-w-b":[{"border-b":te()}],"border-w-l":[{"border-l":te()}],"divide-x":[{"divide-x":te()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":te()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...vt(),"hidden","none"]}],"divide-style":[{divide:[...vt(),"hidden","none"]}],"border-color":[{border:y()}],"border-color-x":[{"border-x":y()}],"border-color-y":[{"border-y":y()}],"border-color-s":[{"border-s":y()}],"border-color-e":[{"border-e":y()}],"border-color-t":[{"border-t":y()}],"border-color-r":[{"border-r":y()}],"border-color-b":[{"border-b":y()}],"border-color-l":[{"border-l":y()}],"divide-color":[{divide:y()}],"outline-style":[{outline:[...vt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[I,P,z]}],"outline-w":[{outline:["",I,Wn,Bt]}],"outline-color":[{outline:y()}],shadow:[{shadow:["","none",g,Xr,Kr]}],"shadow-color":[{shadow:y()}],"inset-shadow":[{"inset-shadow":["none",h,Xr,Kr]}],"inset-shadow-color":[{"inset-shadow":y()}],"ring-w":[{ring:te()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:y()}],"ring-offset-w":[{"ring-offset":[I,Bt]}],"ring-offset-color":[{"ring-offset":y()}],"inset-ring-w":[{"inset-ring":te()}],"inset-ring-color":[{"inset-ring":y()}],"text-shadow":[{"text-shadow":["none",m,Xr,Kr]}],"text-shadow-color":[{"text-shadow":y()}],opacity:[{opacity:[I,P,z]}],"mix-blend":[{"mix-blend":[...et(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":et()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[I]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":y()}],"mask-image-linear-to-color":[{"mask-linear-to":y()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":y()}],"mask-image-t-to-color":[{"mask-t-to":y()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":y()}],"mask-image-r-to-color":[{"mask-r-to":y()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":y()}],"mask-image-b-to-color":[{"mask-b-to":y()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":y()}],"mask-image-l-to-color":[{"mask-l-to":y()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":y()}],"mask-image-x-to-color":[{"mask-x-to":y()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":y()}],"mask-image-y-to-color":[{"mask-y-to":y()}],"mask-image-radial":[{"mask-radial":[P,z]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":y()}],"mask-image-radial-to-color":[{"mask-radial-to":y()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":v()}],"mask-image-conic-pos":[{"mask-conic":[I]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":y()}],"mask-image-conic-to-color":[{"mask-conic-to":y()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:M()}],"mask-size":[{mask:Q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",P,z]}],filter:[{filter:["","none",P,z]}],blur:[{blur:xs()}],brightness:[{brightness:[I,P,z]}],contrast:[{contrast:[I,P,z]}],"drop-shadow":[{"drop-shadow":["","none",x,Xr,Kr]}],"drop-shadow-color":[{"drop-shadow":y()}],grayscale:[{grayscale:["",I,P,z]}],"hue-rotate":[{"hue-rotate":[I,P,z]}],invert:[{invert:["",I,P,z]}],saturate:[{saturate:[I,P,z]}],sepia:[{sepia:["",I,P,z]}],"backdrop-filter":[{"backdrop-filter":["","none",P,z]}],"backdrop-blur":[{"backdrop-blur":xs()}],"backdrop-brightness":[{"backdrop-brightness":[I,P,z]}],"backdrop-contrast":[{"backdrop-contrast":[I,P,z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",I,P,z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[I,P,z]}],"backdrop-invert":[{"backdrop-invert":["",I,P,z]}],"backdrop-opacity":[{"backdrop-opacity":[I,P,z]}],"backdrop-saturate":[{"backdrop-saturate":[I,P,z]}],"backdrop-sepia":[{"backdrop-sepia":["",I,P,z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",P,z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[I,"initial",P,z]}],ease:[{ease:["linear","initial",f,P,z]}],delay:[{delay:[I,P,z]}],animate:[{animate:["none",d,P,z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,P,z]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:_r()}],"rotate-x":[{"rotate-x":_r()}],"rotate-y":[{"rotate-y":_r()}],"rotate-z":[{"rotate-z":_r()}],scale:[{scale:zr()}],"scale-x":[{"scale-x":zr()}],"scale-y":[{"scale-y":zr()}],"scale-z":[{"scale-z":zr()}],"scale-3d":["scale-3d"],skew:[{skew:ql()}],"skew-x":[{"skew-x":ql()}],"skew-y":[{"skew-y":ql()}],transform:[{transform:[P,z,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Pr()}],"translate-x":[{"translate-x":Pr()}],"translate-y":[{"translate-y":Pr()}],"translate-z":[{"translate-z":Pr()}],"translate-none":["translate-none"],accent:[{accent:y()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:y()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P,z]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P,z]}],fill:[{fill:["none",...y()]}],"stroke-w":[{stroke:[I,Wn,Bt,_o]}],stroke:[{stroke:["none",...y()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Er=sm(Em);/**
|
|
41
|
-
* @license lucide-react v0.554.0 - ISC
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the ISC license.
|
|
44
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/const _m=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),zm=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Ta=e=>{const t=zm(e);return t.charAt(0).toUpperCase()+t.slice(1)},ad=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),Pm=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
|
46
|
-
* @license lucide-react v0.554.0 - ISC
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the ISC license.
|
|
49
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/var Lm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
|
51
|
-
* @license lucide-react v0.554.0 - ISC
|
|
52
|
-
*
|
|
53
|
-
* This source code is licensed under the ISC license.
|
|
54
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
55
|
-
*/const Rm=V.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:o,iconNode:i,...s},a)=>V.createElement("svg",{ref:a,...Lm,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ad("lucide",l),...!o&&!Pm(s)&&{"aria-hidden":"true"},...s},[...i.map(([c,g])=>V.createElement(c,g)),...Array.isArray(o)?o:[o]]));/**
|
|
56
|
-
* @license lucide-react v0.554.0 - ISC
|
|
57
|
-
*
|
|
58
|
-
* This source code is licensed under the ISC license.
|
|
59
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
60
|
-
*/const He=(e,t)=>{const n=V.forwardRef(({className:r,...l},o)=>V.createElement(Rm,{ref:o,iconNode:t,className:ad(`lucide-${_m(Ta(e))}`,`lucide-${e}`,r),...l}));return n.displayName=Ta(e),n};/**
|
|
61
|
-
* @license lucide-react v0.554.0 - ISC
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the ISC license.
|
|
64
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/const Tm=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Om=He("check",Tm);/**
|
|
66
|
-
* @license lucide-react v0.554.0 - ISC
|
|
67
|
-
*
|
|
68
|
-
* This source code is licensed under the ISC license.
|
|
69
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
70
|
-
*/const Mm=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],Im=He("chevron-down",Mm);/**
|
|
71
|
-
* @license lucide-react v0.554.0 - ISC
|
|
72
|
-
*
|
|
73
|
-
* This source code is licensed under the ISC license.
|
|
74
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
75
|
-
*/const Dm=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Fm=He("chevron-up",Dm);/**
|
|
76
|
-
* @license lucide-react v0.554.0 - ISC
|
|
77
|
-
*
|
|
78
|
-
* This source code is licensed under the ISC license.
|
|
79
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/const Am=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Bm=He("circle-alert",Am);/**
|
|
81
|
-
* @license lucide-react v0.554.0 - ISC
|
|
82
|
-
*
|
|
83
|
-
* This source code is licensed under the ISC license.
|
|
84
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
85
|
-
*/const Um=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Vm=He("circle-check-big",Um);/**
|
|
86
|
-
* @license lucide-react v0.554.0 - ISC
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the ISC license.
|
|
89
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/const $m=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Wm=He("circle",$m);/**
|
|
91
|
-
* @license lucide-react v0.554.0 - ISC
|
|
92
|
-
*
|
|
93
|
-
* This source code is licensed under the ISC license.
|
|
94
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
95
|
-
*/const Hm=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],ud=He("info",Hm);/**
|
|
96
|
-
* @license lucide-react v0.554.0 - ISC
|
|
97
|
-
*
|
|
98
|
-
* This source code is licensed under the ISC license.
|
|
99
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
100
|
-
*/const Qm=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Gm=He("loader-circle",Qm);/**
|
|
101
|
-
* @license lucide-react v0.554.0 - ISC
|
|
102
|
-
*
|
|
103
|
-
* This source code is licensed under the ISC license.
|
|
104
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
105
|
-
*/const Km=[["path",{d:"M5 12h14",key:"1ays0h"}]],Xm=He("minus",Km);/**
|
|
106
|
-
* @license lucide-react v0.554.0 - ISC
|
|
107
|
-
*
|
|
108
|
-
* This source code is licensed under the ISC license.
|
|
109
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/const Ym=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Si=He("plus",Ym);/**
|
|
111
|
-
* @license lucide-react v0.554.0 - ISC
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the ISC license.
|
|
114
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/const Zm=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Jm=He("triangle-alert",Zm);/**
|
|
116
|
-
* @license lucide-react v0.554.0 - ISC
|
|
117
|
-
*
|
|
118
|
-
* This source code is licensed under the ISC license.
|
|
119
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
120
|
-
*/const qm=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],e0=He("x",qm);function Ge(...e){return Er(br(e))}const t0={primary:Ge("bg-primary-600 text-white","hover:bg-primary-700","active:bg-primary-800","shadow-solid hover:shadow-solid-hover active:shadow-solid-active","dark:bg-primary-500 dark:text-white","dark:hover:bg-primary-600","dark:active:bg-primary-700"),soft:Ge("bg-primary-50 text-primary-700","hover:bg-primary-100","active:bg-primary-200","shadow-soft hover:shadow-soft-hover active:shadow-soft-active","dark:bg-primary-950 dark:text-primary-300","dark:hover:bg-primary-900","dark:active:bg-primary-800"),secondary:Ge("bg-neutral-800 text-white","hover:bg-neutral-900","active:bg-black","shadow-secondary hover:shadow-secondary-hover active:shadow-secondary-active","dark:bg-neutral-700 dark:text-neutral-100","dark:hover:bg-neutral-600","dark:active:bg-neutral-500"),dashed:Ge("bg-white text-neutral-700 border border-dashed border-neutral-300","hover:bg-neutral-50 hover:border-neutral-400","active:bg-neutral-100","shadow-outline hover:shadow-outline-hover active:shadow-outline-active","dark:bg-neutral-900 dark:text-neutral-300 dark:border-neutral-700","dark:hover:bg-neutral-800 dark:hover:border-neutral-600","dark:active:bg-neutral-700"),white:Ge("bg-white text-neutral-900","hover:bg-neutral-50","active:bg-neutral-100","shadow-white hover:shadow-white-hover active:shadow-white-active","dark:bg-neutral-100 dark:text-neutral-900","dark:hover:bg-neutral-200","dark:active:bg-neutral-300"),outline:Ge("bg-white text-neutral-700 border border-neutral-300","hover:bg-neutral-50 hover:border-neutral-400","active:bg-neutral-100","shadow-outline hover:shadow-outline-hover active:shadow-outline-active","dark:bg-neutral-900 dark:text-neutral-300 dark:border-neutral-700","dark:hover:bg-neutral-800 dark:hover:border-neutral-600","dark:active:bg-neutral-700"),ghost:Ge("bg-transparent text-neutral-700","hover:bg-neutral-100","active:bg-neutral-200","shadow-none","dark:text-neutral-300","dark:hover:bg-neutral-800","dark:active:bg-neutral-700"),"ghost-primary":Ge("bg-transparent text-primary-600","hover:bg-primary-50","active:bg-primary-100","shadow-none","dark:text-primary-400","dark:hover:bg-primary-950","dark:active:bg-primary-900"),danger:Ge("bg-critical-600 text-white","hover:bg-critical-700","active:bg-critical-800","shadow-solid hover:shadow-solid-hover active:shadow-solid-active","dark:bg-critical-500 dark:text-white","dark:hover:bg-critical-600","dark:active:bg-critical-700"),"soft-danger":Ge("bg-critical-50 text-critical-700","hover:bg-critical-100","active:bg-critical-200","shadow-soft hover:shadow-soft-hover active:shadow-soft-active","dark:bg-critical-950 dark:text-critical-300","dark:hover:bg-critical-900","dark:active:bg-critical-800")},n0={xs:"h-btn-xs pl-3 pr-1.5 py-2 gap-0.5",sm:"h-btn-sm pl-3 pr-2 py-2 gap-1",md:"h-btn-md pl-3 pr-2.5 py-0 gap-1",lg:"h-btn-lg pl-3 pr-3 py-3 gap-1"},r0={xs:"h-btn-xs w-btn-xs p-0",sm:"h-btn-sm w-btn-sm p-0",md:"h-btn-md w-btn-md p-0",lg:"h-btn-lg w-btn-lg p-0"},ue=V.forwardRef(({variant:e="primary",size:t="md",loading:n=!1,disabled:r=!1,fullWidth:l=!1,iconLeft:o,iconRight:i,startIcon:s,endIcon:a,icon:c,rtl:g=!1,children:h,className:m,...x},k)=>{const S=c&&!h,E=o||s,f=i||a,d=Ge("inline-flex items-center justify-center","font-sans text-btn font-medium","rounded-control","transition-all duration-150 ease-in-out","focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2","cursor-pointer",t0[e],S?r0[t]:n0[t],g&&"font-sans-rtl",l&&"w-full",(r||n)&&"opacity-50 cursor-not-allowed shadow-none pointer-events-none",m);return u.jsxs("button",{ref:k,type:"button",disabled:r||n,dir:g?"rtl":void 0,className:d,...x,children:[n?u.jsx(Gm,{className:"h-[20px] w-[20px] animate-spin"}):S?u.jsx("span",{className:"flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px]",children:c}):null,!S&&!n&&u.jsx(u.Fragment,{children:g?u.jsxs(u.Fragment,{children:[f&&u.jsx("span",{className:"flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] mr-1",children:f}),h&&u.jsx("span",{className:"truncate",children:h}),E&&u.jsx("span",{className:"flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] ml-1",children:E})]}):u.jsxs(u.Fragment,{children:[E&&u.jsx("span",{className:"flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] mr-1",children:E}),h&&u.jsx("span",{className:"truncate",children:h}),f&&u.jsx("span",{className:"flex items-center justify-center h-[20px] w-[20px] [&>svg]:h-[20px] [&>svg]:w-[20px] ml-1",children:f})]})}),n&&!S&&h&&u.jsx("span",{className:"truncate ml-1",children:h})]})});ue.displayName="Button";var cd={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Oa=Qt.createContext&&Qt.createContext(cd),l0=["attr","size","title"];function o0(e,t){if(e==null)return{};var n=i0(e,t),r,l;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(l=0;l<o.length;l++)r=o[l],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function i0(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}function Ml(){return Ml=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ml.apply(this,arguments)}function Ma(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(l){return Object.getOwnPropertyDescriptor(e,l).enumerable})),n.push.apply(n,r)}return n}function Il(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ma(Object(n),!0).forEach(function(r){s0(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ma(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function s0(e,t,n){return t=a0(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a0(e){var t=u0(e,"string");return typeof t=="symbol"?t:t+""}function u0(e,t){if(typeof e!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function dd(e){return e&&e.map((t,n)=>Qt.createElement(t.tag,Il({key:n},t.attr),dd(t.child)))}function Mn(e){return t=>Qt.createElement(c0,Ml({attr:Il({},e.attr)},t),dd(e.child))}function c0(e){var t=n=>{var{attr:r,size:l,title:o}=e,i=o0(e,l0),s=l||n.size||"1em",a;return n.className&&(a=n.className),e.className&&(a=(a?a+" ":"")+e.className),Qt.createElement("svg",Ml({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,i,{className:a,style:Il(Il({color:e.color||n.color},n.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&Qt.createElement("title",null,o),e.children)};return Oa!==void 0?Qt.createElement(Oa.Consumer,null,n=>t(n)):t(cd)}function d0(e){return Mn({attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"},child:[]}]})(e)}function f0(e){return Mn({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z"},child:[]}]})(e)}function p0(e){return Mn({attr:{viewBox:"0 0 488 512"},child:[{tag:"path",attr:{d:"M488 261.8C488 403.3 391.1 504 248 504 110.8 504 0 393.2 0 256S110.8 8 248 8c66.8 0 123 24.5 166.3 64.9l-67.5 64.9C258.5 52.6 94.3 116.6 94.3 256c0 86.5 69.1 156.6 153.7 156.6 98.2 0 135-70.4 140.8-106.9H248v-85.3h236.1c2.3 12.7 3.9 24.9 3.9 41.4z"},child:[]}]})(e)}function m0(e){return Mn({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(e)}function h0(e){return Mn({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"},child:[]}]})(e)}function g0(e){return Mn({attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},child:[]}]})(e)}function wt(...e){return Er(br(e))}const v0={Facebook:"Sign in with Facebook",LinkedIn:"Sign in with LinkedIn",Apple:"Sign in with Apple",WhatsApp:"Sign in with WhatsApp",Google:"Sign in with Google",X:"Sign in with X"},x0={Facebook:"تسجيل الدخول باستخدام فيسبوك",LinkedIn:"تسجيل الدخول باستخدام لينكد إن",Apple:"تسجيل الدخول باستخدام آبل",WhatsApp:"تسجيل الدخول باستخدام واتساب",Google:"تسجيل الدخول باستخدام جوجل",X:"تسجيل الدخول باستخدام إكس"},y0={Facebook:{bg:"bg-social-facebook",hoverBg:"hover:bg-[#166FE5]",focusRing:"focus-visible:ring-[#1460CC]",text:"text-white",border:"border-social-facebook",textColor:"text-social-facebook"},LinkedIn:{bg:"bg-social-linkedin",hoverBg:"hover:bg-[#09599A]",focusRing:"focus-visible:ring-[#084C82]",text:"text-white",border:"border-social-linkedin",textColor:"text-social-linkedin"},Apple:{bg:"bg-social-apple",hoverBg:"hover:bg-[#1a1a1a]",focusRing:"focus-visible:ring-[#333333]",text:"text-white",border:"border-social-apple",textColor:"text-social-apple"},WhatsApp:{bg:"bg-social-whatsapp",hoverBg:"hover:bg-[#22C55E]",focusRing:"focus-visible:ring-[#1FA855]",text:"text-white",border:"border-social-whatsapp",textColor:"text-social-whatsapp"},Google:{bg:"bg-social-google",hoverBg:"hover:bg-[#357AE5]",focusRing:"focus-visible:ring-[#2E6FD6]",text:"text-white",border:"border-social-google",textColor:"text-social-google"},X:{bg:"bg-social-twitter",hoverBg:"hover:bg-[#1A91E0]",focusRing:"focus-visible:ring-[#1781CE]",text:"text-white",border:"border-social-twitter",textColor:"text-social-twitter"}},w0=e=>({Facebook:u.jsx(f0,{size:20}),LinkedIn:u.jsx(m0,{size:20}),Apple:u.jsx(d0,{size:20}),WhatsApp:u.jsx(h0,{size:20}),Google:u.jsx(p0,{size:20}),X:u.jsx(g0,{size:20})})[e],k0=V.forwardRef(({platform:e,type:t="Default",style:n="Solid",rtl:r=!1,disabled:l=!1,className:o,...i},s)=>{const a=r,c=t==="IconOnly",g=n==="Outlined",h=y0[e],m=w0(e),x=a?x0[e]:v0[e],k=wt("inline-flex items-center justify-center","font-sans text-btn font-medium","rounded-control","transition-all duration-150 ease-in-out","focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2","cursor-pointer","relative",c?"h-9 w-9 p-0":"h-9 pl-3 pr-3 py-0 gap-0.5",a&&"font-sans-rtl",l&&"opacity-50 cursor-not-allowed pointer-events-none",o),S=wt(n==="Solid"?wt(h.bg,h.text,h.hoverBg,h.focusRing,"border border-transparent","shadow-component-default","hover:shadow-component-hover","focus-visible:shadow-component-focus"):wt("bg-white",h.border,h.textColor,"border","shadow-outline","hover:bg-neutral-50","hover:shadow-outline-hover",h.focusRing)),E=wt("flex items-center justify-center flex-shrink-0","h-[20px] w-[20px]",c?"":"mr-0.5",g&&h.textColor),f=()=>u.jsx("span",{className:E,children:m});return u.jsx("button",{ref:s,type:"button",disabled:l,dir:a?"rtl":void 0,className:wt(k,S),...i,children:a?u.jsxs(u.Fragment,{children:[!c&&u.jsx("span",{className:wt("truncate relative z-10",g&&h.textColor),children:x}),f()]}):u.jsxs(u.Fragment,{children:[f(),!c&&u.jsx("span",{className:wt("truncate relative z-10",g&&h.textColor),children:x})]})})});k0.displayName="SocialButton";function R(...e){return Er(br(e))}const S0=V.forwardRef(({items:e=[],size:t="md",type:n="Default",rtl:r=!1,rtlLabels:l=[],className:o,...i},s)=>{const c={xs:{height:"h-[32px]",padding:n==="IconOnly"?"px-1.5":"px-2",gap:n==="IconOnly"?"gap-0.5":"gap-1"},sm:{height:"h-[36px]",padding:n==="IconOnly"?"px-2":"px-2.5",gap:"gap-1"},md:{height:"h-[40px]",padding:n==="IconOnly"?"px-2.5":"px-3.5",gap:"gap-1"}}[t],g=R("relative inline-flex items-center overflow-hidden","bg-neutral-50 border border-neutral-300 rounded-control","shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",r&&"flex-row-reverse",o),h=(m,x,k)=>R("relative flex items-center justify-center","bg-transparent transition-all duration-150",c.height,c.padding,c.gap,"text-neutral-700 text-[15px] font-medium leading-[24px]",!m.disabled&&"hover:bg-neutral-100 active:bg-neutral-200",!m.disabled&&"cursor-pointer",m.disabled&&"opacity-50 cursor-not-allowed",m.active&&"bg-neutral-100",!x&&"before:absolute before:left-0 before:top-0 before:bottom-0",!x&&"before:w-px before:bg-neutral-300/50",r&&!x&&"before:left-auto before:right-0");return u.jsxs("div",{ref:s,className:g,...i,children:[u.jsx("div",{className:"absolute inset-0 pointer-events-none rounded-control shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"}),e.map((m,x)=>{const k=m.icon||Si,S=x===0;e.length-1;const E=r&&l[x]?l[x]:m.label;return u.jsx("button",{type:"button",onClick:m.onClick,disabled:m.disabled,className:h(m,S),children:n==="Default"?u.jsx(u.Fragment,{children:r?u.jsxs(u.Fragment,{children:[E&&u.jsx("span",{className:"px-0.5 whitespace-nowrap font-sans-rtl",children:E}),u.jsx(k,{className:"w-5 h-5 shrink-0"})]}):u.jsxs(u.Fragment,{children:[u.jsx(k,{className:"w-5 h-5 shrink-0"}),E&&u.jsx("span",{className:"px-0.5 whitespace-nowrap",children:E})]})}):u.jsx(k,{className:"w-5 h-5 shrink-0"})},x)})]})});S0.displayName="ButtonGroup";const C0=V.forwardRef(({label:e,supportText:t,rtlLabel:n,rtlSupportText:r,checkLocation:l="leading",indeterminate:o=!1,rtl:i=!1,error:s=!1,disabled:a=!1,checked:c=!1,className:g,...h},m)=>{const x=i&&n?n:e,k=i&&r?r:t,S=!!t||!!r,E=R("relative w-5 h-5 rounded border flex items-center justify-center transition-all duration-150","bg-white shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",!c&&!o&&!s&&!a&&"border-neutral-300",!c&&!o&&s&&!a&&"border-danger-500",(c||o)&&!a&&"bg-primary-500 border-primary-500",!a&&!c&&!o&&"hover:border-neutral-400",!a&&(c||o)&&"hover:bg-primary-600 hover:border-primary-600",a&&"opacity-50 cursor-not-allowed","after:absolute after:inset-0 after:rounded after:pointer-events-none","after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"),f=R("inline-flex gap-2 items-start",S?"items-start":"items-center",i&&"flex-row-reverse",l==="trailing"&&!i&&"flex-row-reverse",l==="leading"&&i&&"flex-row-reverse",g),d=R("flex flex-col flex-1 min-w-0","justify-center",i&&"items-end text-right"),p=R("text-[15px] leading-6 font-medium text-neutral-900",i&&"font-sans-rtl",a&&"opacity-50"),v=R("text-[13px] leading-5 font-normal text-neutral-600",i&&"font-sans-rtl",a&&"opacity-50");return u.jsxs("label",{className:f,children:[u.jsx("input",{ref:m,type:"checkbox",checked:c,disabled:a,className:"sr-only peer",...h}),u.jsxs("div",{className:"flex items-start shrink-0 pt-0.5",children:[u.jsxs("div",{className:E,children:[c&&!o&&u.jsx(Om,{className:"w-3 h-3 text-white stroke-[2.5]"}),o&&u.jsx(Xm,{className:"w-3 h-3 text-white stroke-[2.5]"})]}),u.jsx("div",{className:R("absolute inset-0 rounded pointer-events-none opacity-0","peer-focus-visible:opacity-100","shadow-[0_0_0_3px_rgba(50,118,255,0.2)]","transition-opacity duration-150")})]}),(e||n)&&u.jsxs("div",{className:d,dir:i?"rtl":void 0,children:[u.jsx("span",{className:p,children:x}),S&&u.jsx("span",{className:v,children:k})]})]})});C0.displayName="Checkbox";const N0=V.forwardRef(({label:e,supportText:t,rtlLabel:n,rtlSupportText:r,selected:l=!1,disabled:o=!1,type:i="default",icon:s,customIcon:a,rtl:c=!1,onChange:g,className:h,...m},x)=>{const k=c&&n?n:e,S=c&&r?r:t,E=!!s||!!a,f=!!t||!!r,d=()=>{!o&&g&&g(!l)},p=ee=>{!o&&(ee.key===" "||ee.key==="Enter")&&(ee.preventDefault(),g==null||g(!l))},v=R("relative flex items-start gap-4 p-4 w-full max-w-[338px]","bg-white border rounded-xl transition-all duration-150","shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]","after:absolute after:inset-0 after:rounded-xl after:pointer-events-none","after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]",!o&&!l&&"border-neutral-200",!o&&l&&"border-primary-500 border-2",!o&&"hover:bg-neutral-50 cursor-pointer",o&&"border-neutral-200 bg-neutral-50 cursor-not-allowed",c&&"flex-row-reverse",h),b=R("relative w-5 h-5 rounded border flex items-center justify-center transition-all duration-150 shrink-0 mt-0.5","bg-white shadow-[0px_1px_2px_0px_rgba(15,17,20,0.05)]",!l&&!o&&"border-neutral-300",l&&!o&&"bg-primary-500 border-primary-500",o&&"bg-neutral-100 border-neutral-200","after:absolute after:inset-0 after:rounded after:pointer-events-none","after:shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"),C=R("flex flex-1 min-w-0",i==="icon-left"&&E||i==="default"&&E?"gap-3":"",c&&"flex-row-reverse"),N=R("flex flex-col gap-0.5 flex-1 min-w-0",c&&"items-end text-right"),w=R("text-[15px] leading-6 font-medium text-neutral-900",c&&"font-sans-rtl",o&&"text-neutral-400"),L=R("text-[14px] leading-5 font-normal text-neutral-600",c&&"font-sans-rtl",o&&"text-neutral-400"),T=R("shrink-0",o&&"opacity-60"),$=()=>u.jsx("div",{className:b,children:l&&u.jsx("svg",{className:"w-3 h-3 text-white",fill:"none",viewBox:"0 0 12 12",stroke:"currentColor",strokeWidth:"2.5",children:u.jsx("path",{d:"M2.5 6.5L4.5 8.5L9.5 3.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),se=()=>a?u.jsx("div",{className:T,children:a}):s?u.jsx("div",{className:T,children:u.jsx(s,{className:"w-6 h-6 text-neutral-600"})}):null,B=()=>i==="label-only"&&!f?u.jsxs("div",{className:R("flex items-center flex-1 gap-3",c&&"flex-row-reverse"),children:[$(),u.jsx("span",{className:w,dir:c?"rtl":void 0,children:k})]}):i==="icon-left"?u.jsxs(u.Fragment,{children:[$(),u.jsx("div",{className:C,children:u.jsxs("div",{className:N,dir:c?"rtl":void 0,children:[u.jsx("span",{className:w,children:k}),f&&u.jsx("span",{className:L,children:S})]})})]}):i==="icon-right"?u.jsxs(u.Fragment,{children:[u.jsx("div",{className:C,children:u.jsxs("div",{className:N,dir:c?"rtl":void 0,children:[u.jsx("span",{className:w,children:k}),f&&u.jsx("span",{className:L,children:S})]})}),$()]}):u.jsxs(u.Fragment,{children:[u.jsxs("div",{className:C,children:[se(),u.jsxs("div",{className:N,dir:c?"rtl":void 0,children:[u.jsx("span",{className:w,children:k}),f&&u.jsx("span",{className:L,children:S})]})]}),$()]}),re=o?"div":"button";return u.jsx(re,{ref:x,className:v,onClick:o?void 0:d,onKeyDown:o?void 0:p,disabled:o,role:o?void 0:"checkbox","aria-checked":o?void 0:l,"aria-disabled":o,tabIndex:o?void 0:0,...m,children:B()})});N0.displayName="CheckmarkCard";const Fe=V.forwardRef(({label:e,checked:t=!1,onChange:n,onCheckedChange:r,size:l="md",rtl:o=!1,disabled:i=!1,className:s,...a},c)=>{const g=()=>{n&&n(t),r&&r(t)},m={sm:{track:"w-9 h-5",thumb:"w-4 h-4",translateChecked:"translate-x-4",translateUnchecked:"translate-x-0.5"},md:{track:"w-11 h-6",thumb:"w-5 h-5",translateChecked:"translate-x-5",translateUnchecked:"translate-x-0.5"},lg:{track:"w-14 h-7",thumb:"w-6 h-6",translateChecked:"translate-x-7",translateUnchecked:"translate-x-0.5"}}[l],x=R("relative inline-flex items-center shrink-0 rounded-full transition-colors duration-200 ease-in-out","focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",m.track,t?"bg-primary-600 hover:bg-primary-700":"bg-neutral-200 hover:bg-neutral-300","dark:focus-visible:ring-offset-neutral-900",t?"dark:bg-primary-500 dark:hover:bg-primary-600":"dark:bg-neutral-700 dark:hover:bg-neutral-600",i&&"opacity-50 cursor-not-allowed",!i&&"cursor-pointer",o&&"rtl"),k=R("pointer-events-none inline-block rounded-full bg-white shadow-lg ring-0 transition-transform duration-200 ease-in-out",m.thumb,t?m.translateChecked:m.translateUnchecked,"dark:bg-neutral-200"),S=R("inline-flex items-center gap-3",o&&"flex-row-reverse",s),E=R("text-sm font-medium","text-neutral-900 dark:text-neutral-100",i&&"opacity-50 cursor-not-allowed",!i&&"cursor-pointer");return u.jsxs("label",{className:S,dir:o?"rtl":void 0,children:[u.jsx("input",{ref:c,type:"checkbox",role:"switch",checked:t,onChange:g,disabled:i,className:"sr-only",...a}),u.jsx("span",{className:x,dir:o?"rtl":void 0,children:u.jsx("span",{className:k})}),e&&u.jsx("span",{className:E,children:e})]})});Fe.displayName="Switcher";function Yr(...e){return Er(br(e))}const j0={Light:{Neutral:"bg-neutral-50 text-neutral-700 border border-neutral-100",Blue:"bg-blue-50 text-blue-700 border border-blue-100",Green:"bg-green-50 text-green-700 border border-green-100",Amber:"bg-amber-50 text-amber-700 border border-amber-100",Danger:"bg-critical-50 text-critical-700 border border-critical-100",Purple:"bg-purple-50 text-purple-700 border border-purple-100",Fuchsia:"bg-fuchsia-50 text-fuchsia-700 border border-fuchsia-100",Rose:"bg-rose-50 text-rose-700 border border-rose-100",Sky:"bg-sky-50 text-sky-700 border border-sky-100",Golden:"bg-golden-50 text-golden-700 border border-golden-100"},Outline:{Neutral:"bg-white text-neutral-700 border border-neutral-300",Blue:"bg-white text-neutral-700 border border-blue-300",Green:"bg-white text-neutral-700 border border-green-300",Amber:"bg-white text-neutral-700 border border-amber-300",Danger:"bg-white text-neutral-700 border border-critical-300",Purple:"bg-white text-neutral-700 border border-purple-300",Fuchsia:"bg-white text-neutral-700 border border-fuchsia-300",Rose:"bg-white text-neutral-700 border border-rose-300",Sky:"bg-white text-neutral-700 border border-sky-300",Golden:"bg-white text-neutral-700 border border-golden-300"},Solid:{Neutral:"bg-neutral-600 text-white border border-transparent",Blue:"bg-blue-600 text-white border border-transparent",Green:"bg-green-600 text-white border border-transparent",Amber:"bg-amber-600 text-white border border-transparent",Danger:"bg-critical-600 text-white border border-transparent",Purple:"bg-purple-600 text-white border border-transparent",Fuchsia:"bg-fuchsia-600 text-white border border-transparent",Rose:"bg-rose-600 text-white border border-transparent",Sky:"bg-sky-600 text-white border border-transparent",Golden:"bg-golden-600 text-white border border-transparent"}},b0={Light:{Neutral:"bg-neutral-600",Blue:"bg-blue-600",Green:"bg-green-600",Amber:"bg-amber-600",Danger:"bg-critical-600",Purple:"bg-purple-600",Fuchsia:"bg-fuchsia-600",Rose:"bg-rose-600",Sky:"bg-sky-600",Golden:"bg-golden-600"},Outline:{Neutral:"bg-neutral-600",Blue:"bg-blue-600",Green:"bg-green-600",Amber:"bg-amber-600",Danger:"bg-critical-600",Purple:"bg-purple-600",Fuchsia:"bg-fuchsia-600",Rose:"bg-rose-600",Sky:"bg-sky-600",Golden:"bg-golden-600"},Solid:{Neutral:"bg-white",Blue:"bg-white",Green:"bg-white",Amber:"bg-white",Danger:"bg-white",Purple:"bg-white",Fuchsia:"bg-white",Rose:"bg-white",Sky:"bg-white",Golden:"bg-white"}},E0={sm:"h-badge-sm px-2 py-0.5 gap-1 rounded-full",lg:"h-badge-lg px-2 py-1 gap-1.5 rounded-full"},Zr={sm:"h-3 w-3",lg:"h-4 w-4"},_0={sm:"h-2 w-2",lg:"h-2.5 w-2.5"},fd=V.forwardRef(({type:e="Default",style:t="Light",size:n="sm",color:r="Neutral",showNumber:l=!1,number:o,children:i,leadingIcon:s,trailingIcon:a,flagIcon:c,rtl:g=!1,className:h,...m},x)=>{const k=g,S=Yr("inline-flex items-center justify-center","font-sans text-badge font-medium","whitespace-nowrap",E0[n],j0[t][r],k&&"font-sans-rtl flex-row-reverse",h),E=(C,N)=>u.jsx("span",{className:Yr("flex items-center justify-center flex-shrink-0",N),children:C}),f=()=>u.jsx("span",{className:Yr("rounded-full flex-shrink-0",_0[n],b0[t][r])}),d=()=>c?E(c,Zr[n]):u.jsx("span",{className:Yr("rounded-sm flex-shrink-0 bg-neutral-300",Zr[n])}),v=l&&o!==void 0?(C=>C>99?"99+":C.toString())(o):i,b=()=>{switch(e){case"LeadingIcon":return u.jsxs(u.Fragment,{children:[s&&E(s,Zr[n]),v&&u.jsx("span",{className:"truncate",children:v})]});case"TrailingIcon":return u.jsxs(u.Fragment,{children:[v&&u.jsx("span",{className:"truncate",children:v}),a&&E(a,Zr[n])]});case"Dot":return u.jsxs(u.Fragment,{children:[f(),v&&u.jsx("span",{className:"truncate",children:v})]});case"Flag":return u.jsxs(u.Fragment,{children:[d(),v&&u.jsx("span",{className:"truncate",children:v})]});case"Default":default:return v&&u.jsx("span",{className:"truncate",children:v})}};return u.jsx("div",{ref:x,dir:k?"rtl":void 0,className:S,...m,children:b()})});fd.displayName="Badge";const z0={Danger:{icon:Bm,colors:{Outline:{bg:"bg-white",border:"border border-critical-200",iconColor:"text-critical-600",titleColor:"text-neutral-900",messageColor:"text-neutral-700",actionColor:"text-blue-600 hover:text-blue-700",closeColor:"text-neutral-600 hover:text-neutral-700"},Light:{bg:"bg-critical-50",border:"border-none",iconColor:"text-critical-600",titleColor:"text-critical-800",messageColor:"text-critical-700",actionColor:"text-neutral-900 hover:text-neutral-950",closeColor:"text-neutral-600 hover:text-neutral-700"},Solid:{bg:"bg-critical-600",border:"border-none",iconColor:"text-white",titleColor:"text-white",messageColor:"text-white opacity-80",actionColor:"text-white hover:text-white/90",closeColor:"text-white hover:text-white/90"}}},Success:{icon:Vm,colors:{Outline:{bg:"bg-white",border:"border border-green-200",iconColor:"text-green-600",titleColor:"text-neutral-900",messageColor:"text-neutral-700",actionColor:"text-blue-600 hover:text-blue-700",closeColor:"text-neutral-600 hover:text-neutral-700"},Light:{bg:"bg-green-50",border:"border-none",iconColor:"text-green-600",titleColor:"text-green-800",messageColor:"text-green-700",actionColor:"text-neutral-900 hover:text-neutral-950",closeColor:"text-neutral-600 hover:text-neutral-700"},Solid:{bg:"bg-green-600",border:"border-none",iconColor:"text-white",titleColor:"text-white",messageColor:"text-white opacity-80",actionColor:"text-white hover:text-white/90",closeColor:"text-white hover:text-white/90"}}},Warning:{icon:Jm,colors:{Outline:{bg:"bg-white",border:"border border-amber-200",iconColor:"text-amber-600",titleColor:"text-neutral-900",messageColor:"text-neutral-700",actionColor:"text-blue-600 hover:text-blue-700",closeColor:"text-neutral-600 hover:text-neutral-700"},Light:{bg:"bg-amber-50",border:"border-none",iconColor:"text-amber-600",titleColor:"text-amber-800",messageColor:"text-amber-700",actionColor:"text-neutral-900 hover:text-neutral-950",closeColor:"text-neutral-600 hover:text-neutral-700"},Solid:{bg:"bg-amber-500",border:"border-none",iconColor:"text-white",titleColor:"text-white",messageColor:"text-white opacity-80",actionColor:"text-white hover:text-white/90",closeColor:"text-white hover:text-white/90"}}},Info:{icon:ud,colors:{Outline:{bg:"bg-white",border:"border border-blue-200",iconColor:"text-blue-600",titleColor:"text-neutral-900",messageColor:"text-neutral-700",actionColor:"text-blue-600 hover:text-blue-700",closeColor:"text-neutral-600 hover:text-neutral-700"},Light:{bg:"bg-blue-50",border:"border-none",iconColor:"text-blue-600",titleColor:"text-blue-800",messageColor:"text-blue-700",actionColor:"text-neutral-900 hover:text-neutral-950",closeColor:"text-neutral-600 hover:text-neutral-700"},Solid:{bg:"bg-blue-600",border:"border-none",iconColor:"text-white",titleColor:"text-white",messageColor:"text-white opacity-80",actionColor:"text-white hover:text-white/90",closeColor:"text-white hover:text-white/90"}}},Neutral:{icon:Wm,colors:{Outline:{bg:"bg-white",border:"border border-neutral-300",iconColor:"text-neutral-600",titleColor:"text-neutral-900",messageColor:"text-neutral-700",actionColor:"text-blue-600 hover:text-blue-700",closeColor:"text-neutral-600 hover:text-neutral-700"},Light:{bg:"bg-neutral-100",border:"border-none",iconColor:"text-neutral-600",titleColor:"text-neutral-800",messageColor:"text-neutral-700",actionColor:"text-neutral-900 hover:text-neutral-950",closeColor:"text-neutral-600 hover:text-neutral-700"},Solid:{bg:"bg-neutral-600",border:"border-none",iconColor:"text-white",titleColor:"text-white",messageColor:"text-white opacity-80",actionColor:"text-white hover:text-white/90",closeColor:"text-white hover:text-white/90"}}}},P0=V.forwardRef(({style:e="Outline",status:t="Info",title:n="Alert title",message:r,showActions:l=!1,primaryAction:o="Action",secondaryAction:i="Action",onPrimaryAction:s,onSecondaryAction:a,closable:c=!0,onClose:g,rtl:h=!1,rtlTitle:m,rtlMessage:x,rtlPrimaryAction:k="زر الرابط",rtlSecondaryAction:S="زر الرابط",className:E,...f},d)=>{const p=z0[t],v=p.colors[e],b=p.icon,C=h,N=!!r,w=C&&m?m:n,L=C&&x?x:r,T=C?k:o,$=C?S:i,se=R("flex items-start gap-2 px-4 py-3 rounded-control transition-all",v.bg,v.border,C&&"font-sans-rtl"),B=R("w-5 h-5 shrink-0",v.iconColor),re=R("text-[15px] font-medium leading-[24px]",v.titleColor,C?"text-right":"text-left"),ee=R("text-[14px] font-normal leading-[20px]",v.messageColor,C?"text-right":"text-left"),le=R("text-[15px] font-medium leading-[24px] underline cursor-pointer transition-colors",v.actionColor),ve=R("w-5 h-5 shrink-0 cursor-pointer transition-colors",v.closeColor);return u.jsxs("div",{ref:d,className:R(se,E),dir:C?"rtl":void 0,...f,children:[u.jsxs("div",{className:"flex-1 flex items-start gap-2",children:[!C&&u.jsx(b,{className:B}),u.jsxs("div",{className:"flex-1 flex flex-col gap-1",children:[u.jsx("div",{className:re,dir:C?"rtl":void 0,children:w}),N&&L&&u.jsx("div",{className:ee,dir:C?"rtl":void 0,children:L}),l&&N&&u.jsxs("div",{className:R("flex gap-4 mt-2",C&&"flex-row-reverse"),children:[s&&u.jsx("button",{type:"button",onClick:s,className:le,children:T}),a&&u.jsx("button",{type:"button",onClick:a,className:le,children:$})]})]}),C&&u.jsx(b,{className:B})]}),l&&!N&&s&&u.jsx("button",{type:"button",onClick:s,className:R(le,"shrink-0 whitespace-nowrap"),children:T}),c&&g&&u.jsx("button",{type:"button",onClick:g,className:ve,"aria-label":"Close",children:u.jsx(e0,{className:"w-4 h-4"})})]})});P0.displayName="Alert";const L0=V.forwardRef(({direction:e="horizontal",type:t="solid",color:n,spacing:r="none",className:l,...o},i)=>{const s={none:"",xs:e==="horizontal"?"my-1":"mx-1",sm:e==="horizontal"?"my-2":"mx-2",md:e==="horizontal"?"my-4":"mx-4",lg:e==="horizontal"?"my-6":"mx-6",xl:e==="horizontal"?"my-8":"mx-8"};return e==="horizontal"?u.jsx("hr",{ref:i,className:R("w-full border-0",t==="solid"?"border-t border-solid":"border-t border-dashed",n?`border-[${n}]`:"border-neutral-200",s[r],l),...o}):u.jsx("div",{ref:i,className:R("h-full",t==="solid"?"border-l border-solid":"border-l border-dashed",n?`border-[${n}]`:"border-neutral-200",s[r],l),...o})});L0.displayName="Divider";const R0=V.forwardRef(({type:e="default",state:t="default",label:n="Text item",supportText:r,leadingIcon:l,trailingIcon:o,avatarSrc:i,avatarInitials:s,badgeText:a,badgeVariant:c="neutral",rightText:g,hasSwitch:h=!1,switchActive:m=!1,onSwitchChange:x,buttonText:k="Button",onButtonClick:S,progress:E=40,progressLabel:f="Label",progressOptional:d="(Optional)",caption:p,rtl:v=!1,onClick:b,className:C,...N},w)=>{if(e==="divider")return u.jsx("div",{ref:w,className:R("flex items-center px-0 py-0.5",C),...N,children:u.jsx("div",{className:"flex-1 border-t border-neutral-200"})});if(e==="button")return u.jsx("div",{ref:w,className:R("flex items-center px-1.5 py-0",C),...N,children:u.jsx("button",{onClick:S,className:R("w-full h-8 px-1.5 py-2 flex items-center justify-center","border border-neutral-300 rounded-lg","text-[15px] font-medium leading-6 text-neutral-900","hover:bg-neutral-50 transition-colors",t==="disabled"&&"opacity-50 cursor-not-allowed"),disabled:t==="disabled",children:k})});if(e==="label")return u.jsxs("div",{ref:w,className:R("flex items-center gap-0 px-4 py-1","text-[13px] leading-5",v&&"flex-row-reverse",C),...N,children:[u.jsx("div",{className:R("flex-1",v&&"text-right"),children:u.jsx("p",{className:"font-medium text-neutral-900",children:n})}),p&&u.jsx("p",{className:"text-neutral-600",children:p})]});if(e==="caption")return u.jsx("div",{ref:w,className:R("flex items-center px-1.5 py-0",C),...N,children:u.jsx("div",{className:"flex items-center justify-center px-1.5 py-1",children:u.jsx("p",{className:R("flex-1 text-[13px] leading-5 text-neutral-600",v&&"text-right"),children:"Lorem ipsum dolor sit amet"})})});if(e==="progress")return u.jsx("div",{ref:w,className:R("flex items-center px-1.5 py-0",v&&"justify-end",C),...N,children:u.jsx("div",{className:"flex flex-col items-start px-1.5 py-1 flex-1",children:u.jsxs("div",{className:"flex flex-col gap-2 items-start w-full",children:[u.jsx("div",{className:"flex flex-col items-center justify-center w-full",children:u.jsx("div",{className:"bg-neutral-200 h-2 rounded-full w-full relative",children:u.jsx("div",{className:"absolute left-0 top-0 h-full bg-blue-500 rounded-full transition-all",style:{width:`${E}%`}})})}),u.jsxs("div",{className:R("flex gap-2 items-center w-full",v&&"flex-row-reverse"),children:[u.jsxs("div",{className:R("flex items-center gap-1 flex-1",v&&"flex-row-reverse justify-end"),children:[u.jsx("p",{className:R("text-[13px] leading-5 font-medium text-neutral-900",v&&"text-right"),children:f}),u.jsx("p",{className:"text-[13px] leading-5 text-neutral-600",children:d})]}),u.jsx("div",{className:"flex gap-0.5 items-center",children:u.jsxs("p",{className:"text-[12px] leading-4 text-neutral-600",children:[E,"%"]})})]})]})})});const L=t==="disabled",$=R("flex gap-1 items-center px-1.5 py-1 rounded-md flex-1 transition-colors cursor-pointer",e==="multiline"&&"min-h-[48px] py-1",t==="hover"&&!L&&"bg-neutral-100",L&&"opacity-60 cursor-not-allowed",v&&"flex-row-reverse"),se=()=>{const B=[];if(l&&B.push(u.jsx("div",{className:R("flex items-center pl-0.5 pr-0",v&&"pl-0 pr-0.5"),children:u.jsx(l,{className:R("h-5 w-5",L?"text-neutral-400":"text-neutral-600")})},"leading-icon")),i||s){const re=e==="multiline"?"h-10 w-10":"h-6 w-6",ee=e==="multiline"?"text-sm":"text-xs";B.push(u.jsx("div",{className:R("flex items-center pl-0.5 pr-0",v&&"pl-0 pr-0.5"),children:i?u.jsx("img",{src:i,alt:s||"Avatar",className:R(re,"rounded-full border border-neutral-200 object-cover",L&&"opacity-60")}):u.jsx("div",{className:R(re,"rounded-full bg-blue-100 border border-neutral-200","flex items-center justify-center",ee,"font-medium text-blue-700",L&&"opacity-60"),children:s||"??"})},"avatar"))}return e==="multiline"||e==="cta"?B.push(u.jsxs("div",{className:R("flex flex-col items-start flex-1 pl-1 pr-0",v&&"pl-0 pr-1 items-end text-right"),children:[u.jsx("p",{className:R("text-[15px] leading-6",L?"text-neutral-400":"text-neutral-900"),children:n}),r&&u.jsx("p",{className:R("text-[12px] leading-4",L?"text-neutral-400":"text-neutral-600"),children:r})]},"text")):B.push(u.jsx("div",{className:R("flex items-center flex-1 pl-1 pr-0",v&&"pl-0 pr-1 justify-end"),children:u.jsx("p",{className:R("text-[15px] leading-6",L?"text-neutral-400":"text-neutral-900",v&&"text-right"),children:n})},"text")),h&&B.push(u.jsx("div",{className:"flex flex-col items-center",children:u.jsx("button",{onClick:re=>{re.stopPropagation(),!L&&x&&x(!m)},disabled:L,className:R("w-8 h-[18px] p-[3px] rounded-full flex items-center transition-colors",m?"bg-green-500 justify-end":"bg-neutral-300 justify-start",L&&"opacity-50 cursor-not-allowed"),children:u.jsx("div",{className:"w-3.5 h-3.5 bg-white rounded-full shadow-sm"})})},"switch")),a&&B.push(u.jsx("div",{className:"flex flex-col items-center",children:u.jsx(fd,{color:c,size:"sm",children:a})},"badge")),g&&B.push(u.jsx("div",{className:"flex items-center",children:u.jsx("p",{className:R("text-[12px] leading-4",L?"text-neutral-400":"text-neutral-600",v&&"text-left"),children:g})},"right-text")),e==="cta"&&B.push(u.jsx("button",{onClick:re=>{re.stopPropagation(),!L&&S&&S()},disabled:L,className:R("h-8 px-1.5 py-2 flex items-center justify-center","border border-neutral-300 rounded-lg","text-[15px] font-medium leading-6 text-neutral-900","hover:bg-neutral-50 transition-colors",L&&"opacity-50 cursor-not-allowed"),children:k},"cta-button")),o&&B.push(u.jsx("div",{className:"flex items-center",children:u.jsx(o,{className:R("h-4 w-4",L?"text-neutral-400":"text-neutral-500")})},"trailing-icon")),v?B.reverse():B};return u.jsx("div",{ref:w,className:R("flex items-center gap-0 px-1.5 py-0",v&&"justify-end",C),onClick:L?void 0:b,...N,children:u.jsx("div",{className:$,children:se()})})});R0.displayName="MenuItem";const T0=V.forwardRef(({children:e,width:t=260,rtl:n=!1,className:r,...l},o)=>u.jsx("div",{ref:o,className:R("bg-white border border-neutral-200 rounded-xl shadow-lg","flex flex-col gap-1 items-start py-1.5","overflow-hidden",r),style:{width:typeof t=="number"?`${t}px`:t},...l,children:e}));T0.displayName="Menu";function Le(...e){return Er(br(e))}const O0=V.forwardRef(({label:e="Enter question title",description:t="Ants are fascinating insects known for their complex social structures and teamwork. They communicate through pheromones and work together to build intricate nests. Ants play crucial roles in ecosystems, from soil aeration to seed dispersal.",icon:n=!0,iconLeft:r,badge:l=!0,badgeText:o="Badge",action:i=!0,actionText:s="Button",onActionClick:a,style:c="Default",state:g="Default",rtl:h=!1,expandable:m=!1,expanded:x,onToggle:k,rtlLabel:S,rtlDescription:E,className:f,...d},p)=>{const[v,b]=V.useState(!1),C=x!==void 0?x:v,N=h,w=()=>{if(m){const M=!C;x===void 0&&b(M),k==null||k(M)}},L=N&&S?S:e,T=N&&E?E:t,$=Le("flex items-start gap-3 p-5","transition-all duration-150 ease-in-out",m&&"cursor-pointer","w-full",N&&"font-sans-rtl",c==="Default"?Le("border-b border-neutral-200",g==="Hover"&&m&&"bg-neutral-50"):Le("border border-neutral-200 rounded-xl","shadow-component-default",g==="Hover"&&m&&"bg-neutral-50","relative"),f),se=Le("flex flex-col justify-center","font-semibold text-[17px] leading-[28px]","text-neutral-900",N?"text-right":"text-left"),B=Le("text-[15px] leading-[24px]","text-neutral-600",N?"text-right":"text-left"),re=Le("flex items-center justify-center","h-7 px-3 py-0","bg-neutral-50 rounded-full","text-[12px] leading-[16px] font-medium","text-neutral-900 whitespace-nowrap"),ee=r||(n?u.jsx(ud,{className:"h-6 w-6 text-neutral-600 flex-shrink-0"}):null),le=C?Fm:Im,ve=Le("h-6 w-6 text-neutral-500 flex-shrink-0"),y=m?"button":"div",O=m?{ref:p,type:"button",onClick:w,...d}:{...d};return u.jsxs(y,{...O,dir:N?"rtl":void 0,className:$,children:[ee&&!N&&u.jsx("div",{className:"flex-shrink-0",children:ee}),m&&N&&u.jsx("div",{className:"flex-shrink-0",children:u.jsx(le,{className:ve})}),u.jsxs("div",{className:Le("flex flex-col gap-1.5 flex-1 min-w-0",N?"items-end":"items-start"),children:[u.jsx("div",{className:Le("flex gap-1.5 items-start w-full",N?"flex-row-reverse":"flex-row"),children:N?u.jsxs(u.Fragment,{children:[l&&u.jsx("div",{className:Le(re,"font-sans-rtl"),dir:"rtl",children:o}),u.jsx("div",{className:Le(se,"flex-1"),dir:"rtl",children:u.jsx("p",{children:L})})]}):u.jsxs(u.Fragment,{children:[u.jsx("div",{className:Le(se,"flex-1"),children:u.jsx("p",{children:L})}),l&&u.jsx("div",{className:re,children:o})]})}),C&&T&&u.jsx("div",{className:"w-full",dir:N?"rtl":void 0,children:u.jsx("p",{className:B,children:T})}),C&&i&&u.jsx("div",{className:"pt-4 w-full flex",style:{justifyContent:N?"flex-end":"flex-start"},children:u.jsxs("button",{type:"button",onClick:M=>{M.stopPropagation(),a==null||a()},className:Le("relative flex items-center justify-center gap-1","h-10 px-2.5 py-2","bg-neutral-50 border border-neutral-300 rounded-control","shadow-component-default","text-[15px] leading-[24px] font-medium text-neutral-900","hover:bg-neutral-100 transition-colors","cursor-pointer"),dir:N?"rtl":void 0,children:[u.jsx(Si,{className:"h-5 w-5 flex-shrink-0"}),u.jsx("span",{className:"px-1 whitespace-nowrap",children:N?"انقر هنا":s}),u.jsx(Si,{className:"h-5 w-5 flex-shrink-0"}),u.jsx("div",{className:"absolute inset-0 pointer-events-none rounded-control shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"})]})})]}),m&&!N&&u.jsx("div",{className:"flex-shrink-0",children:u.jsx(le,{className:ve})}),ee&&N&&u.jsx("div",{className:"flex-shrink-0",children:ee}),c==="Boxed"&&u.jsx("div",{className:"absolute inset-0 pointer-events-none rounded-xl shadow-[inset_0px_-1px_0px_0px_rgba(0,0,0,0.08)]"})]})});O0.displayName="Accordion";function M0(){const[e,t]=V.useState(!1),[n,r]=V.useState(!1);return V.useEffect(()=>{e?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[e]),V.useEffect(()=>{n?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr")},[n]),u.jsxs("div",{className:"min-h-screen bg-white dark:bg-neutral-900 transition-colors duration-200",children:[u.jsx("header",{className:"border-b border-neutral-200 dark:border-neutral-800",children:u.jsx("div",{className:"max-w-7xl mx-auto px-6 py-6",children:u.jsxs("div",{className:"flex items-center justify-between",children:[u.jsxs("div",{children:[u.jsx("h1",{className:"text-3xl font-bold text-neutral-900 dark:text-white",children:"banhaten-ui"}),u.jsx("p",{className:"text-neutral-600 dark:text-neutral-400 mt-1",children:"Interactive Component Showcase"})]}),u.jsxs("div",{className:"flex items-center gap-6",children:[u.jsx(Fe,{label:e?"🌙 Dark":"☀️ Light",checked:e,onCheckedChange:t,size:"md"}),u.jsx(Fe,{label:n?"RTL ⬅️":"LTR ➡️",checked:n,onCheckedChange:r,size:"md"})]})]})})}),u.jsxs("main",{className:"max-w-7xl mx-auto px-6 py-12",children:[u.jsxs("section",{className:"space-y-8",children:[u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl font-bold text-neutral-900 dark:text-white mb-2",children:"Button Component"}),u.jsxs("p",{className:"text-neutral-600 dark:text-neutral-400",children:["All button variants with ",e?"dark":"light"," theme and ",n?"RTL":"LTR"," direction"]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Primary Variants"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Primary"}),u.jsx(ue,{variant:"primary",size:"md",rtl:n,children:n?"زر أساسي":"Primary Button"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Soft"}),u.jsx(ue,{variant:"soft",size:"md",rtl:n,children:n?"زر ناعم":"Soft Button"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Ghost Primary"}),u.jsx(ue,{variant:"ghost-primary",size:"md",rtl:n,children:n?"زر شفاف":"Ghost Button"})]})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Other Variants"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Secondary"}),u.jsx(ue,{variant:"secondary",size:"md",rtl:n,children:n?"زر ثانوي":"Secondary"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Outline"}),u.jsx(ue,{variant:"outline",size:"md",rtl:n,children:n?"زر محدد":"Outline"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Dashed"}),u.jsx(ue,{variant:"dashed",size:"md",rtl:n,children:n?"زر متقطع":"Dashed"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"White"}),u.jsx(ue,{variant:"white",size:"md",rtl:n,children:n?"زر أبيض":"White"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Ghost"}),u.jsx(ue,{variant:"ghost",size:"md",rtl:n,children:n?"زر شفاف":"Ghost"})]})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Danger Variants"}),u.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Danger"}),u.jsx(ue,{variant:"danger",size:"md",rtl:n,children:n?"زر خطر":"Danger"})]}),u.jsxs("div",{className:"p-6 border border-neutral-200 dark:border-neutral-700 rounded-lg bg-neutral-50 dark:bg-neutral-800",children:[u.jsx("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mb-3",children:"Soft Danger"}),u.jsx(ue,{variant:"soft-danger",size:"md",rtl:n,children:n?"زر خطر ناعم":"Soft Danger"})]})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Button Sizes"}),u.jsxs("div",{className:"flex flex-wrap items-end gap-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Extra Small"}),u.jsx(ue,{variant:"primary",size:"xs",rtl:n,children:n?"صغير جداً":"XS Button"})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Small"}),u.jsx(ue,{variant:"primary",size:"sm",rtl:n,children:n?"صغير":"Small Button"})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Medium"}),u.jsx(ue,{variant:"primary",size:"md",rtl:n,children:n?"متوسط":"Medium Button"})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Large"}),u.jsx(ue,{variant:"primary",size:"lg",rtl:n,children:n?"كبير":"Large Button"})]})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Button States"}),u.jsxs("div",{className:"flex flex-wrap gap-4",children:[u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Normal"}),u.jsx(ue,{variant:"primary",size:"md",rtl:n,children:n?"عادي":"Normal"})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Loading"}),u.jsx(ue,{variant:"primary",size:"md",loading:!0,rtl:n,children:n?"تحميل":"Loading"})]}),u.jsxs("div",{className:"space-y-2",children:[u.jsx("p",{className:"text-xs text-neutral-600 dark:text-neutral-400",children:"Disabled"}),u.jsx(ue,{variant:"primary",size:"md",disabled:!0,rtl:n,children:n?"معطل":"Disabled"})]})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Full Width Button"}),u.jsx(ue,{variant:"primary",size:"md",fullWidth:!0,rtl:n,children:n?"زر بعرض كامل":"Full Width Button"})]})]}),u.jsxs("section",{className:"mt-16 space-y-8",children:[u.jsxs("div",{children:[u.jsx("h2",{className:"text-2xl font-bold text-neutral-900 dark:text-white mb-2",children:"Switcher Component"}),u.jsx("p",{className:"text-neutral-600 dark:text-neutral-400",children:"Toggle switches for binary options"})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"Sizes"}),u.jsxs("div",{className:"flex flex-wrap gap-6",children:[u.jsx(Fe,{label:"Small",size:"sm"}),u.jsx(Fe,{label:"Medium",size:"md",checked:!0}),u.jsx(Fe,{label:"Large",size:"lg"})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"States"}),u.jsxs("div",{className:"flex flex-wrap gap-6",children:[u.jsx(Fe,{label:"Unchecked"}),u.jsx(Fe,{label:"Checked",checked:!0}),u.jsx(Fe,{label:"Disabled",disabled:!0}),u.jsx(Fe,{label:"Disabled Checked",checked:!0,disabled:!0})]})]}),u.jsxs("div",{className:"space-y-4",children:[u.jsx("h3",{className:"text-lg font-semibold text-neutral-900 dark:text-white",children:"RTL Support"}),u.jsxs("div",{className:"flex flex-wrap gap-6",children:[u.jsx(Fe,{label:"LTR Switcher",rtl:!1}),u.jsx(Fe,{label:"مفتاح RTL",rtl:!0,checked:!0})]})]})]})]}),u.jsx("footer",{className:"border-t border-neutral-200 dark:border-neutral-800 mt-16",children:u.jsx("div",{className:"max-w-7xl mx-auto px-6 py-8",children:u.jsx("p",{className:"text-center text-neutral-600 dark:text-neutral-400",children:"banhaten-ui v0.0.11 • Built with React, TypeScript & Tailwind CSS"})})})]})}Kc(document.getElementById("root")).render(u.jsx(V.StrictMode,{children:u.jsx(M0,{})}));
|