appos 0.1.13-0 → 0.1.15-0
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/build/exports/bun-sqlite-dialect-DN7EKoIB-U6HWGDKS.js +1 -0
- package/build/exports/chunk-2LU65C2X.js +1 -0
- package/build/exports/chunk-3RRIQKOV.js +2 -0
- package/build/exports/chunk-A2LPCJPF.js +5 -0
- package/build/exports/chunk-CWTDMDIJ.js +2 -0
- package/build/exports/chunk-FBFACBKZ.js +20 -0
- package/build/exports/chunk-FZ26Y4SI.js +1 -0
- package/build/exports/chunk-GQYUAAFT.js +1 -0
- package/build/exports/chunk-HZYRJBRQ.js +1 -0
- package/build/exports/chunk-IAPQO6XO.js +1 -0
- package/build/exports/chunk-JIMTVXLP.js +5 -0
- package/build/exports/chunk-KNTGSRCW.js +20 -0
- package/build/exports/chunk-KRQ2L5OP.js +1 -0
- package/build/exports/chunk-MQK6VFZR.js +1 -0
- package/build/exports/chunk-N756FM5W.js +6 -0
- package/build/exports/chunk-NJ2TZAVN.js +169 -0
- package/build/exports/chunk-NM7CITTT.js +2 -0
- package/build/exports/chunk-PECJ5CRS.js +1 -0
- package/build/exports/chunk-PYGCG54X.js +94 -0
- package/build/exports/chunk-QMFB7WUQ.js +1 -0
- package/build/exports/chunk-QWUKON2B.js +4 -0
- package/build/exports/chunk-S3F2U5VR.js +1 -0
- package/build/exports/chunk-S6CGHQRG.js +2 -0
- package/build/exports/chunk-TLDYRTHH.js +1 -0
- package/build/exports/chunk-TX6WXZHJ.js +1 -0
- package/build/exports/chunk-Y6DVQ7FD.js +1 -0
- package/build/exports/chunk-YBDDYGAW.js +1 -0
- package/build/exports/client.d.ts +2082 -2093
- package/build/exports/client.js +60 -22
- package/build/exports/date.js +1 -1
- package/build/exports/db.js +9 -0
- package/build/exports/dist-es-442MVKMG.js +1 -0
- package/build/exports/dist-es-5NPX4IPA.js +2 -0
- package/build/exports/dist-es-AAGJZOKW.js +1 -0
- package/build/exports/dist-es-BA4XRQMD.js +1 -0
- package/build/exports/dist-es-CEXBPGKD.js +1 -0
- package/build/exports/dist-es-D7P74EQC.js +2 -0
- package/build/exports/dist-es-K23RHFIG.js +2 -0
- package/build/exports/dist-es-K6CZFUD7.js +5 -0
- package/build/exports/dist-es-PV5MXZPQ.js +5 -0
- package/build/exports/dist-es-PV6DSUWC.js +1 -0
- package/build/exports/dist-es-PYWXCUQO.js +2 -0
- package/build/exports/dist-es-QLJ2PEMO.js +1 -0
- package/build/exports/dist-es-TDQNJYF5.js +1 -0
- package/build/exports/dist-es-VXQY2642.js +1 -0
- package/build/exports/event-streams-JL44VPIA.js +1 -0
- package/build/exports/file-preview-dialog-XJMPJ764.js +15 -0
- package/build/exports/kysely-adapter-UB5EKM3L.js +1 -0
- package/build/exports/loadSso-ATQGBCEY.js +1 -0
- package/build/exports/loadSso-ILXKFPPV.js +1 -0
- package/build/exports/magic-string.es-TEACLLHX.js +13 -0
- package/build/exports/memory-adapter-LJJR2XXS.js +1 -0
- package/build/exports/node-ponyfill-6NJTIN4I.js +1 -0
- package/build/exports/node-sqlite-dialect-BqISUSC3-3545EWOZ.js +1 -0
- package/build/exports/plugin-56OEBMME.js +4 -0
- package/build/exports/server.d.ts +71779 -0
- package/build/exports/server.js +435 -0
- package/build/exports/sso-oidc-7POVDJYK.js +1 -0
- package/build/exports/sso-oidc-TUR3VC4Y.js +1 -0
- package/build/exports/sts-35P3OWOX.js +6 -0
- package/build/exports/sts-ZDKVF6HW.js +1 -0
- package/build/exports/test.d.ts +8942 -0
- package/build/exports/test.js +1583 -0
- package/build/exports/ui/index.d.ts +568 -1595
- package/build/exports/ui/index.js +162 -112
- package/build/exports/utils.js +1 -1
- package/build/exports/zod.js +13 -13
- package/package.json +3 -3
- package/build/exports/adapter-factory-CLtf7vT5-DghYA9zq.mjs +0 -88
- package/build/exports/bun-sqlite-dialect-DN7EKoIB-0pWIoG0L.mjs +0 -1
- package/build/exports/chunk-BYI67GdN.mjs +0 -1
- package/build/exports/chunk-DQj_Q5LL.mjs +0 -1
- package/build/exports/client-Cf0k1wnb.mjs +0 -7
- package/build/exports/date.d.ts +0 -1
- package/build/exports/db.d.mts +0 -5195
- package/build/exports/db.mjs +0 -8
- package/build/exports/dialect-BeMwdQoz-D41NdSow.mjs +0 -1
- package/build/exports/dist-cjs-6zIKAlZR.mjs +0 -1
- package/build/exports/dist-cjs-8ShtoC4L.mjs +0 -1
- package/build/exports/dist-cjs-8w9IfsHf.mjs +0 -1
- package/build/exports/dist-cjs-B5EVkyOL.mjs +0 -1
- package/build/exports/dist-cjs-B8eo7PtO.mjs +0 -1
- package/build/exports/dist-cjs-BilOG_GK.mjs +0 -5
- package/build/exports/dist-cjs-CG4G0SgT.mjs +0 -1
- package/build/exports/dist-cjs-CWQnfnl0.mjs +0 -22
- package/build/exports/dist-cjs-D9iFq61w.mjs +0 -1
- package/build/exports/dist-cjs-DBYzdOBR.mjs +0 -10
- package/build/exports/dist-cjs-DO06FS0-.mjs +0 -1
- package/build/exports/dist-cjs-DhrATPLi.mjs +0 -1
- package/build/exports/dist-cjs-DpVGmjIF.mjs +0 -1
- package/build/exports/dist-cjs-W4znRhKQ.mjs +0 -1
- package/build/exports/dist-cjs-hp3M87Bc.mjs +0 -1
- package/build/exports/esm-DPet4lFW.mjs +0 -3
- package/build/exports/event-streams-BOfsfbfw.mjs +0 -1
- package/build/exports/file-preview-dialog-Cugg8tEc.mjs +0 -59
- package/build/exports/kysely-adapter-CGc8Omn1.mjs +0 -1
- package/build/exports/magic-string.es-jZcifc5m.mjs +0 -14
- package/build/exports/memory-adapter-CVX5yLJe.mjs +0 -1
- package/build/exports/node-ponyfill-PofhX7d2.mjs +0 -1
- package/build/exports/node-sqlite-dialect-BqISUSC3-DYvTLBpY.mjs +0 -1
- package/build/exports/package-DfozRyK6.mjs +0 -1
- package/build/exports/react-dom-CPjM_WCt.mjs +0 -42
- package/build/exports/server.d.mts +0 -71761
- package/build/exports/server.mjs +0 -325
- package/build/exports/sso-oidc-Cx-v4ZN4.mjs +0 -1
- package/build/exports/sts-CNfip6wL.mjs +0 -1
- package/build/exports/sts-DOnaOVV9.mjs +0 -1
- package/build/exports/test.d.mts +0 -8922
- package/build/exports/test.mjs +0 -1255
- package/build/exports/utils.d.ts +0 -21
- package/build/exports/zod.d.ts +0 -2
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import{a as s,d as Se,e as bu,f as M}from"./chunk-Y6DVQ7FD.js";var Kr=Se(H=>{"use strict";var Ct=Symbol.for("react.transitional.element"),Ru=Symbol.for("react.portal"),ku=Symbol.for("react.fragment"),Pu=Symbol.for("react.strict_mode"),Au=Symbol.for("react.profiler"),Tu=Symbol.for("react.consumer"),Ou=Symbol.for("react.context"),Eu=Symbol.for("react.forward_ref"),Du=Symbol.for("react.suspense"),Mu=Symbol.for("react.memo"),Gr=Symbol.for("react.lazy"),Fu=Symbol.for("react.activity"),Nr=Symbol.iterator;function Bu(a){return a===null||typeof a!="object"?null:(a=Nr&&a[Nr]||a["@@iterator"],typeof a=="function"?a:null)}s(Bu,"getIteratorFn");var Vr={isMounted:s(function(){return!1},"isMounted"),enqueueForceUpdate:s(function(){},"enqueueForceUpdate"),enqueueReplaceState:s(function(){},"enqueueReplaceState"),enqueueSetState:s(function(){},"enqueueSetState")},jr=Object.assign,Wr={};function oa(a,e,t){this.props=a,this.context=e,this.refs=Wr,this.updater=t||Vr}s(oa,"Component");oa.prototype.isReactComponent={};oa.prototype.setState=function(a,e){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,e,"setState")};oa.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};function zr(){}s(zr,"ComponentDummy");zr.prototype=oa.prototype;function St(a,e,t){this.props=a,this.context=e,this.refs=Wr,this.updater=t||Vr}s(St,"PureComponent");var yt=St.prototype=new zr;yt.constructor=St;jr(yt,oa.prototype);yt.isPureReactComponent=!0;var Ur=Array.isArray;function It(){}s(It,"noop");var ae={H:null,A:null,T:null,S:null},$r=Object.prototype.hasOwnProperty;function wt(a,e,t){var r=t.ref;return{$$typeof:Ct,type:a,key:e,ref:r!==void 0?r:null,props:t}}s(wt,"ReactElement");function _u(a,e){return wt(a.type,e,a.props)}s(_u,"cloneAndReplaceKey");function vt(a){return typeof a=="object"&&a!==null&&a.$$typeof===Ct}s(vt,"isValidElement");function Nu(a){var e={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(t){return e[t]})}s(Nu,"escape");var qr=/\/+/g;function xt(a,e){return typeof a=="object"&&a!==null&&a.key!=null?Nu(""+a.key):e.toString(36)}s(xt,"getElementKey");function Uu(a){switch(a.status){case"fulfilled":return a.value;case"rejected":throw a.reason;default:switch(typeof a.status=="string"?a.then(It,It):(a.status="pending",a.then(function(e){a.status==="pending"&&(a.status="fulfilled",a.value=e)},function(e){a.status==="pending"&&(a.status="rejected",a.reason=e)})),a.status){case"fulfilled":return a.value;case"rejected":throw a.reason}}throw a}s(Uu,"resolveThenable");function ra(a,e,t,r,o){var u=typeof a;(u==="undefined"||u==="boolean")&&(a=null);var l=!1;if(a===null)l=!0;else switch(u){case"bigint":case"string":case"number":l=!0;break;case"object":switch(a.$$typeof){case Ct:case Ru:l=!0;break;case Gr:return l=a._init,ra(l(a._payload),e,t,r,o)}}if(l)return o=o(a),l=r===""?"."+xt(a,0):r,Ur(o)?(t="",l!=null&&(t=l.replace(qr,"$&/")+"/"),ra(o,e,t,"",function(f){return f})):o!=null&&(vt(o)&&(o=_u(o,t+(o.key==null||a&&a.key===o.key?"":(""+o.key).replace(qr,"$&/")+"/")+l)),e.push(o)),1;l=0;var n=r===""?".":r+":";if(Ur(a))for(var d=0;d<a.length;d++)r=a[d],u=n+xt(r,d),l+=ra(r,e,t,u,o);else if(d=Bu(a),typeof d=="function")for(a=d.call(a),d=0;!(r=a.next()).done;)r=r.value,u=n+xt(r,d++),l+=ra(r,e,t,u,o);else if(u==="object"){if(typeof a.then=="function")return ra(Uu(a),e,t,r,o);throw e=String(a),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return l}s(ra,"mapIntoArray");function Fa(a,e,t){if(a==null)return a;var r=[],o=0;return ra(a,r,"","",function(u){return e.call(t,u,o++)}),r}s(Fa,"mapChildren");function qu(a){if(a._status===-1){var e=a._result;e=e(),e.then(function(t){(a._status===0||a._status===-1)&&(a._status=1,a._result=t)},function(t){(a._status===0||a._status===-1)&&(a._status=2,a._result=t)}),a._status===-1&&(a._status=0,a._result=e)}if(a._status===1)return a._result.default;throw a._result}s(qu,"lazyInitializer");var Hr=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(e))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Hu={map:Fa,forEach:s(function(a,e,t){Fa(a,function(){e.apply(this,arguments)},t)},"forEach"),count:s(function(a){var e=0;return Fa(a,function(){e++}),e},"count"),toArray:s(function(a){return Fa(a,function(e){return e})||[]},"toArray"),only:s(function(a){if(!vt(a))throw Error("React.Children.only expected to receive a single React element child.");return a},"only")};H.Activity=Fu;H.Children=Hu;H.Component=oa;H.Fragment=ku;H.Profiler=Au;H.PureComponent=St;H.StrictMode=Pu;H.Suspense=Du;H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ae;H.__COMPILER_RUNTIME={__proto__:null,c:s(function(a){return ae.H.useMemoCache(a)},"c")};H.cache=function(a){return function(){return a.apply(null,arguments)}};H.cacheSignal=function(){return null};H.cloneElement=function(a,e,t){if(a==null)throw Error("The argument must be a React element, but you passed "+a+".");var r=jr({},a.props),o=a.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!$r.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=t;else if(1<u){for(var l=Array(u),n=0;n<u;n++)l[n]=arguments[n+2];r.children=l}return wt(a.type,o,r)};H.createContext=function(a){return a={$$typeof:Ou,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null},a.Provider=a,a.Consumer={$$typeof:Tu,_context:a},a};H.createElement=function(a,e,t){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)$r.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var l=arguments.length-2;if(l===1)o.children=t;else if(1<l){for(var n=Array(l),d=0;d<l;d++)n[d]=arguments[d+2];o.children=n}if(a&&a.defaultProps)for(r in l=a.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return wt(a,u,o)};H.createRef=function(){return{current:null}};H.forwardRef=function(a){return{$$typeof:Eu,render:a}};H.isValidElement=vt;H.lazy=function(a){return{$$typeof:Gr,_payload:{_status:-1,_result:a},_init:qu}};H.memo=function(a,e){return{$$typeof:Mu,type:a,compare:e===void 0?null:e}};H.startTransition=function(a){var e=ae.T,t={};ae.T=t;try{var r=a(),o=ae.S;o!==null&&o(t,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(It,Hr)}catch(u){Hr(u)}finally{e!==null&&t.types!==null&&(e.types=t.types),ae.T=e}};H.unstable_useCacheRefresh=function(){return ae.H.useCacheRefresh()};H.use=function(a){return ae.H.use(a)};H.useActionState=function(a,e,t){return ae.H.useActionState(a,e,t)};H.useCallback=function(a,e){return ae.H.useCallback(a,e)};H.useContext=function(a){return ae.H.useContext(a)};H.useDebugValue=function(){};H.useDeferredValue=function(a,e){return ae.H.useDeferredValue(a,e)};H.useEffect=function(a,e){return ae.H.useEffect(a,e)};H.useEffectEvent=function(a){return ae.H.useEffectEvent(a)};H.useId=function(){return ae.H.useId()};H.useImperativeHandle=function(a,e,t){return ae.H.useImperativeHandle(a,e,t)};H.useInsertionEffect=function(a,e){return ae.H.useInsertionEffect(a,e)};H.useLayoutEffect=function(a,e){return ae.H.useLayoutEffect(a,e)};H.useMemo=function(a,e){return ae.H.useMemo(a,e)};H.useOptimistic=function(a,e){return ae.H.useOptimistic(a,e)};H.useReducer=function(a,e,t){return ae.H.useReducer(a,e,t)};H.useRef=function(a){return ae.H.useRef(a)};H.useState=function(a){return ae.H.useState(a)};H.useSyncExternalStore=function(a,e,t){return ae.H.useSyncExternalStore(a,e,t)};H.useTransition=function(){return ae.H.useTransition()};H.version="19.2.0"});var Xr=Se((N,Ba)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function a(i,h){Object.defineProperty(r.prototype,i,{get:s(function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",h[0],h[1])},"get")})}s(a,"defineDeprecationWarning");function e(i){return i===null||typeof i!="object"?null:(i=_e&&i[_e]||i["@@iterator"],typeof i=="function"?i:null)}s(e,"getIteratorFn");function t(i,h){i=(i=i.constructor)&&(i.displayName||i.name)||"ReactClass";var C=i+"."+h;aa[C]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",h,i),aa[C]=!0)}s(t,"warnNoop");function r(i,h,C){this.props=i,this.context=h,this.refs=gt,this.updater=C||Ke}s(r,"Component");function o(){}s(o,"ComponentDummy");function u(i,h,C){this.props=i,this.context=h,this.refs=gt,this.updater=C||Ke}s(u,"PureComponent");function l(){}s(l,"noop");function n(i){return""+i}s(n,"testStringCoercion");function d(i){try{n(i);var h=!1}catch{h=!0}if(h){h=console;var C=h.error,y=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return C.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",y),n(i)}}s(d,"checkKeyStringCoercion");function f(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Cu?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Le:return"Fragment";case L:return"Profiler";case Pe:return"StrictMode";case we:return"Suspense";case qe:return"SuspenseList";case Ae:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case O:return"Portal";case F:return i.displayName||"Context";case D:return(i._context.displayName||"Context")+".Consumer";case W:var h=i.render;return i=i.displayName,i||(i=h.displayName||h.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case V:return h=i.displayName||null,h!==null?h:f(i.type)||"Memo";case pe:h=i._payload,i=i._init;try{return f(i(h))}catch{}}return null}s(f,"getComponentNameFromType");function m(i){if(i===Le)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===pe)return"<...>";try{var h=f(i);return h?"<"+h+">":"<...>"}catch{return"<...>"}}s(m,"getTaskName");function c(){var i=$.A;return i===null?null:i.getOwner()}s(c,"getOwner");function p(){return Error("react-stack-top-frame")}s(p,"UnknownOwner");function g(i){if(Oa.call(i,"key")){var h=Object.getOwnPropertyDescriptor(i,"key").get;if(h&&h.isReactWarning)return!1}return i.key!==void 0}s(g,"hasValidKey");function I(i,h){function C(){Tr||(Tr=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",h))}s(C,"warnAboutAccessingKey"),C.isReactWarning=!0,Object.defineProperty(i,"key",{get:C,configurable:!0})}s(I,"defineKeyPropWarningGetter");function x(){var i=f(this.type);return Er[i]||(Er[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}s(x,"elementRefGetterWithDeprecationWarning");function S(i,h,C,y,E,K){var j=C.ref;return i={$$typeof:re,type:i,key:h,props:C,_owner:y},(j!==void 0?j:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:x}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:E}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}s(S,"ReactElement");function w(i,h){return h=S(i.type,h,i.props,i._owner,i._debugStack,i._debugTask),i._store&&(h._store.validated=i._store.validated),h}s(w,"cloneAndReplaceKey");function R(i){B(i)?i._store&&(i._store.validated=1):typeof i=="object"&&i!==null&&i.$$typeof===pe&&(i._payload.status==="fulfilled"?B(i._payload.value)&&i._payload.value._store&&(i._payload.value._store.validated=1):i._store&&(i._store.validated=1))}s(R,"validateChildKeys");function B(i){return typeof i=="object"&&i!==null&&i.$$typeof===re}s(B,"isValidElement");function A(i){var h={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(C){return h[C]})}s(A,"escape");function T(i,h){return typeof i=="object"&&i!==null&&i.key!=null?(d(i.key),A(""+i.key)):h.toString(36)}s(T,"getElementKey");function G(i){switch(i.status){case"fulfilled":return i.value;case"rejected":throw i.reason;default:switch(typeof i.status=="string"?i.then(l,l):(i.status="pending",i.then(function(h){i.status==="pending"&&(i.status="fulfilled",i.value=h)},function(h){i.status==="pending"&&(i.status="rejected",i.reason=h)})),i.status){case"fulfilled":return i.value;case"rejected":throw i.reason}}throw i}s(G,"resolveThenable");function b(i,h,C,y,E){var K=typeof i;(K==="undefined"||K==="boolean")&&(i=null);var j=!1;if(i===null)j=!0;else switch(K){case"bigint":case"string":case"number":j=!0;break;case"object":switch(i.$$typeof){case re:case O:j=!0;break;case pe:return j=i._init,b(j(i._payload),h,C,y,E)}}if(j){j=i,E=E(j);var J=y===""?"."+T(j,0):y;return Pr(E)?(C="",J!=null&&(C=J.replace(Mr,"$&/")+"/"),b(E,h,C,"",function(He){return He})):E!=null&&(B(E)&&(E.key!=null&&(j&&j.key===E.key||d(E.key)),C=w(E,C+(E.key==null||j&&j.key===E.key?"":(""+E.key).replace(Mr,"$&/")+"/")+J),y!==""&&j!=null&&B(j)&&j.key==null&&j._store&&!j._store.validated&&(C._store.validated=2),E=C),h.push(E)),1}if(j=0,J=y===""?".":y+":",Pr(i))for(var X=0;X<i.length;X++)y=i[X],K=J+T(y,X),j+=b(y,h,C,K,E);else if(X=e(i),typeof X=="function")for(X===i.entries&&(Dr||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Dr=!0),i=X.call(i),X=0;!(y=i.next()).done;)y=y.value,K=J+T(y,X++),j+=b(y,h,C,K,E);else if(K==="object"){if(typeof i.then=="function")return b(G(i),h,C,y,E);throw h=String(i),Error("Objects are not valid as a React child (found: "+(h==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":h)+"). If you meant to render a collection of children, use an array instead.")}return j}s(b,"mapIntoArray");function v(i,h,C){if(i==null)return i;var y=[],E=0;return b(i,y,"","",function(K){return h.call(C,K,E++)}),y}s(v,"mapChildren");function Y(i){if(i._status===-1){var h=i._ioInfo;h!=null&&(h.start=h.end=performance.now()),h=i._result;var C=h();if(C.then(function(E){if(i._status===0||i._status===-1){i._status=1,i._result=E;var K=i._ioInfo;K!=null&&(K.end=performance.now()),C.status===void 0&&(C.status="fulfilled",C.value=E)}},function(E){if(i._status===0||i._status===-1){i._status=2,i._result=E;var K=i._ioInfo;K!=null&&(K.end=performance.now()),C.status===void 0&&(C.status="rejected",C.reason=E)}}),h=i._ioInfo,h!=null){h.value=C;var y=C.displayName;typeof y=="string"&&(h.name=y)}i._status===-1&&(i._status=0,i._result=C)}if(i._status===1)return h=i._result,h===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
|
+
|
|
3
|
+
Your code should look like:
|
|
4
|
+
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
|
+
|
|
6
|
+
Did you accidentally put curly braces around the import?`,h),"default"in h||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
|
+
|
|
8
|
+
Your code should look like:
|
|
9
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,h),h.default;throw i._result}s(Y,"lazyInitializer");function q(){var i=$.H;return i===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
|
+
2. You might be breaking the Rules of Hooks
|
|
12
|
+
3. You might have more than one copy of React in the same app
|
|
13
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),i}s(q,"resolveDispatcher");function Be(){$.asyncTransitions--}s(Be,"releaseAsyncTransition");function ce(i){if(Ea===null)try{var h=("require"+Math.random()).slice(0,7);Ea=(Ba&&Ba[h]).call(Ba,"timers").setImmediate}catch{Ea=s(function(y){Br===!1&&(Br=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var E=new MessageChannel;E.port1.onmessage=y,E.port2.postMessage(void 0)},"enqueueTaskImpl")}return Ea(i)}s(ce,"enqueueTask");function se(i){return 1<i.length&&typeof AggregateError=="function"?new AggregateError(i):i[0]}s(se,"aggregateErrors");function ue(i,h){h!==Da-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Da=h}s(ue,"popActScope");function ie(i,h,C){var y=$.actQueue;if(y!==null)if(y.length!==0)try{Z(y),ce(function(){return ie(i,h,C)});return}catch(E){$.thrownErrors.push(E)}else $.actQueue=null;0<$.thrownErrors.length?(y=se($.thrownErrors),$.thrownErrors.length=0,C(y)):h(i)}s(ie,"recursivelyFlushAsyncActWork");function Z(i){if(!Lt){Lt=!0;var h=0;try{for(;h<i.length;h++){var C=i[h];do{$.didUsePromise=!1;var y=C(!1);if(y!==null){if($.didUsePromise){i[h]=C,i.splice(0,h);return}C=y}else break}while(!0)}i.length=0}catch(E){i.splice(0,h+1),$.thrownErrors.push(E)}finally{Lt=!1}}}s(Z,"flushActQueue"),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var re=Symbol.for("react.transitional.element"),O=Symbol.for("react.portal"),Le=Symbol.for("react.fragment"),Pe=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),F=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),qe=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),pe=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),_e=Symbol.iterator,aa={},Ke={isMounted:s(function(){return!1},"isMounted"),enqueueForceUpdate:s(function(i){t(i,"forceUpdate")},"enqueueForceUpdate"),enqueueReplaceState:s(function(i){t(i,"replaceState")},"enqueueReplaceState"),enqueueSetState:s(function(i){t(i,"setState")},"enqueueSetState")},kr=Object.assign,gt={};Object.freeze(gt),r.prototype.isReactComponent={},r.prototype.setState=function(i,h){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,h,"setState")},r.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};var ve={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(La in ve)ve.hasOwnProperty(La)&&a(La,ve[La]);o.prototype=r.prototype,ve=u.prototype=new o,ve.constructor=u,kr(ve,r.prototype),ve.isPureReactComponent=!0;var Pr=Array.isArray,Cu=Symbol.for("react.client.reference"),$={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Oa=Object.prototype.hasOwnProperty,Ar=console.createTask?console.createTask:function(){return null};ve={react_stack_bottom_frame:s(function(i){return i()},"react_stack_bottom_frame")};var Tr,Or,Er={},Su=ve.react_stack_bottom_frame.bind(ve,p)(),yu=Ar(m(p)),Dr=!1,Mr=/\/+/g,Fr=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var h=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(h))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},Br=!1,Ea=null,Da=0,Ma=!1,Lt=!1,_r=typeof queueMicrotask=="function"?function(i){queueMicrotask(function(){return queueMicrotask(i)})}:ce;ve=Object.freeze({__proto__:null,c:s(function(i){return q().useMemoCache(i)},"c")});var La={map:v,forEach:s(function(i,h,C){v(i,function(){h.apply(this,arguments)},C)},"forEach"),count:s(function(i){var h=0;return v(i,function(){h++}),h},"count"),toArray:s(function(i){return v(i,function(h){return h})||[]},"toArray"),only:s(function(i){if(!B(i))throw Error("React.Children.only expected to receive a single React element child.");return i},"only")};N.Activity=Ae,N.Children=La,N.Component=r,N.Fragment=Le,N.Profiler=L,N.PureComponent=u,N.StrictMode=Pe,N.Suspense=we,N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=$,N.__COMPILER_RUNTIME=ve,N.act=function(i){var h=$.actQueue,C=Da;Da++;var y=$.actQueue=h!==null?h:[],E=!1;try{var K=i()}catch(X){$.thrownErrors.push(X)}if(0<$.thrownErrors.length)throw ue(h,C),i=se($.thrownErrors),$.thrownErrors.length=0,i;if(K!==null&&typeof K=="object"&&typeof K.then=="function"){var j=K;return _r(function(){E||Ma||(Ma=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:s(function(X,He){E=!0,j.then(function(ta){if(ue(h,C),C===0){try{Z(y),ce(function(){return ie(ta,X,He)})}catch(vu){$.thrownErrors.push(vu)}if(0<$.thrownErrors.length){var wu=se($.thrownErrors);$.thrownErrors.length=0,He(wu)}}else X(ta)},function(ta){ue(h,C),0<$.thrownErrors.length&&(ta=se($.thrownErrors),$.thrownErrors.length=0),He(ta)})},"then")}}var J=K;if(ue(h,C),C===0&&(Z(y),y.length!==0&&_r(function(){E||Ma||(Ma=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),$.actQueue=null),0<$.thrownErrors.length)throw i=se($.thrownErrors),$.thrownErrors.length=0,i;return{then:s(function(X,He){E=!0,C===0?($.actQueue=y,ce(function(){return ie(J,X,He)})):X(J)},"then")}},N.cache=function(i){return function(){return i.apply(null,arguments)}},N.cacheSignal=function(){return null},N.captureOwnerStack=function(){var i=$.getCurrentStack;return i===null?null:i()},N.cloneElement=function(i,h,C){if(i==null)throw Error("The argument must be a React element, but you passed "+i+".");var y=kr({},i.props),E=i.key,K=i._owner;if(h!=null){var j;e:{if(Oa.call(h,"ref")&&(j=Object.getOwnPropertyDescriptor(h,"ref").get)&&j.isReactWarning){j=!1;break e}j=h.ref!==void 0}j&&(K=c()),g(h)&&(d(h.key),E=""+h.key);for(J in h)!Oa.call(h,J)||J==="key"||J==="__self"||J==="__source"||J==="ref"&&h.ref===void 0||(y[J]=h[J])}var J=arguments.length-2;if(J===1)y.children=C;else if(1<J){j=Array(J);for(var X=0;X<J;X++)j[X]=arguments[X+2];y.children=j}for(y=S(i.type,E,y,K,i._debugStack,i._debugTask),E=2;E<arguments.length;E++)R(arguments[E]);return y},N.createContext=function(i){return i={$$typeof:F,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null},i.Provider=i,i.Consumer={$$typeof:D,_context:i},i._currentRenderer=null,i._currentRenderer2=null,i},N.createElement=function(i,h,C){for(var y=2;y<arguments.length;y++)R(arguments[y]);y={};var E=null;if(h!=null)for(X in Or||!("__self"in h)||"key"in h||(Or=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),g(h)&&(d(h.key),E=""+h.key),h)Oa.call(h,X)&&X!=="key"&&X!=="__self"&&X!=="__source"&&(y[X]=h[X]);var K=arguments.length-2;if(K===1)y.children=C;else if(1<K){for(var j=Array(K),J=0;J<K;J++)j[J]=arguments[J+2];Object.freeze&&Object.freeze(j),y.children=j}if(i&&i.defaultProps)for(X in K=i.defaultProps,K)y[X]===void 0&&(y[X]=K[X]);E&&I(y,typeof i=="function"?i.displayName||i.name||"Unknown":i);var X=1e4>$.recentlyCreatedOwnerStacks++;return S(i,E,y,c(),X?Error("react-stack-top-frame"):Su,X?Ar(m(i)):yu)},N.createRef=function(){var i={current:null};return Object.seal(i),i},N.forwardRef=function(i){i!=null&&i.$$typeof===V?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?console.error("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&i.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var h={$$typeof:W,render:i},C;return Object.defineProperty(h,"displayName",{enumerable:!1,configurable:!0,get:s(function(){return C},"get"),set:s(function(y){C=y,i.name||i.displayName||(Object.defineProperty(i,"name",{value:y}),i.displayName=y)},"set")}),h},N.isValidElement=B,N.lazy=function(i){i={_status:-1,_result:i};var h={$$typeof:pe,_payload:i,_init:Y},C={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return i._ioInfo=C,h._debugInfo=[{awaited:C}],h},N.memo=function(i,h){i==null&&console.error("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),h={$$typeof:V,type:i,compare:h===void 0?null:h};var C;return Object.defineProperty(h,"displayName",{enumerable:!1,configurable:!0,get:s(function(){return C},"get"),set:s(function(y){C=y,i.name||i.displayName||(Object.defineProperty(i,"name",{value:y}),i.displayName=y)},"set")}),h},N.startTransition=function(i){var h=$.T,C={};C._updatedFibers=new Set,$.T=C;try{var y=i(),E=$.S;E!==null&&E(C,y),typeof y=="object"&&y!==null&&typeof y.then=="function"&&($.asyncTransitions++,y.then(Be,Be),y.then(l,Fr))}catch(K){Fr(K)}finally{h===null&&C._updatedFibers&&(i=C._updatedFibers.size,C._updatedFibers.clear(),10<i&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),h!==null&&C.types!==null&&(h.types!==null&&h.types!==C.types&&console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."),h.types=C.types),$.T=h}},N.unstable_useCacheRefresh=function(){return q().useCacheRefresh()},N.use=function(i){return q().use(i)},N.useActionState=function(i,h,C){return q().useActionState(i,h,C)},N.useCallback=function(i,h){return q().useCallback(i,h)},N.useContext=function(i){var h=q();return i.$$typeof===D&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),h.useContext(i)},N.useDebugValue=function(i,h){return q().useDebugValue(i,h)},N.useDeferredValue=function(i,h){return q().useDeferredValue(i,h)},N.useEffect=function(i,h){return i==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useEffect(i,h)},N.useEffectEvent=function(i){return q().useEffectEvent(i)},N.useId=function(){return q().useId()},N.useImperativeHandle=function(i,h,C){return q().useImperativeHandle(i,h,C)},N.useInsertionEffect=function(i,h){return i==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useInsertionEffect(i,h)},N.useLayoutEffect=function(i,h){return i==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),q().useLayoutEffect(i,h)},N.useMemo=function(i,h){return q().useMemo(i,h)},N.useOptimistic=function(i,h){return q().useOptimistic(i,h)},N.useReducer=function(i,h,C){return q().useReducer(i,h,C)},N.useRef=function(i){return q().useRef(i)},N.useState=function(i){return q().useState(i)},N.useSyncExternalStore=function(i,h,C){return q().useSyncExternalStore(i,h,C)},N.useTransition=function(){return q().useTransition()},N.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var U=Se((ad,bt)=>{"use strict";process.env.NODE_ENV==="production"?bt.exports=Kr():bt.exports=Xr()});var Qr=Se(Yr=>{"use strict";var sa=U();function Gu(a,e){return a===e&&(a!==0||1/a===1/e)||a!==a&&e!==e}s(Gu,"is");var Vu=typeof Object.is=="function"?Object.is:Gu,ju=sa.useState,Wu=sa.useEffect,zu=sa.useLayoutEffect,$u=sa.useDebugValue;function Ku(a,e){var t=e(),r=ju({inst:{value:t,getSnapshot:e}}),o=r[0].inst,u=r[1];return zu(function(){o.value=t,o.getSnapshot=e,Rt(o)&&u({inst:o})},[a,t,e]),Wu(function(){return Rt(o)&&u({inst:o}),a(function(){Rt(o)&&u({inst:o})})},[a]),$u(t),t}s(Ku,"useSyncExternalStore$2");function Rt(a){var e=a.getSnapshot;a=a.value;try{var t=e();return!Vu(a,t)}catch{return!0}}s(Rt,"checkIfSnapshotChanged");function Xu(a,e){return e()}s(Xu,"useSyncExternalStore$1");var Yu=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Xu:Ku;Yr.useSyncExternalStore=sa.useSyncExternalStore!==void 0?sa.useSyncExternalStore:Yu});var Jr=Se(Zr=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function a(g,I){return g===I&&(g!==0||1/g===1/I)||g!==g&&I!==I}s(a,"is");function e(g,I){m||o.startTransition===void 0||(m=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var x=I();if(!c){var S=I();u(x,S)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}S=l({inst:{value:x,getSnapshot:I}});var w=S[0].inst,R=S[1];return d(function(){w.value=x,w.getSnapshot=I,t(w)&&R({inst:w})},[g,x,I]),n(function(){return t(w)&&R({inst:w}),g(function(){t(w)&&R({inst:w})})},[g]),f(x),x}s(e,"useSyncExternalStore$2");function t(g){var I=g.getSnapshot;g=g.value;try{var x=I();return!u(g,x)}catch{return!0}}s(t,"checkIfSnapshotChanged");function r(g,I){return I()}s(r,"useSyncExternalStore$1"),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=U(),u=typeof Object.is=="function"?Object.is:a,l=o.useState,n=o.useEffect,d=o.useLayoutEffect,f=o.useDebugValue,m=!1,c=!1,p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?r:e;Zr.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:p,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var eo=Se((ud,kt)=>{"use strict";process.env.NODE_ENV==="production"?kt.exports=Qr():kt.exports=Jr()});var Ao=Se((Zd,Po)=>{"use strict";Po.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}});var jo=Se(Ka=>{"use strict";var Hn=Symbol.for("react.transitional.element"),Gn=Symbol.for("react.fragment");function Vo(a,e,t){var r=null;if(t!==void 0&&(r=""+t),e.key!==void 0&&(r=""+e.key),"key"in e){t={};for(var o in e)o!=="key"&&(t[o]=e[o])}else t=e;return e=t.ref,{$$typeof:Hn,type:a,key:r,ref:e!==void 0?e:null,props:t}}s(Vo,"jsxProd");Ka.Fragment=Gn;Ka.jsx=Vo;Ka.jsxs=Vo});var Wo=Se(Xa=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function a(L){if(L==null)return null;if(typeof L=="function")return L.$$typeof===Be?null:L.displayName||L.name||null;if(typeof L=="string")return L;switch(L){case S:return"Fragment";case R:return"Profiler";case w:return"StrictMode";case G:return"Suspense";case b:return"SuspenseList";case q:return"Activity"}if(typeof L=="object")switch(typeof L.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),L.$$typeof){case x:return"Portal";case A:return L.displayName||"Context";case B:return(L._context.displayName||"Context")+".Consumer";case T:var D=L.render;return L=L.displayName,L||(L=D.displayName||D.name||"",L=L!==""?"ForwardRef("+L+")":"ForwardRef"),L;case v:return D=L.displayName||null,D!==null?D:a(L.type)||"Memo";case Y:D=L._payload,L=L._init;try{return a(L(D))}catch{}}return null}s(a,"getComponentNameFromType");function e(L){return""+L}s(e,"testStringCoercion");function t(L){try{e(L);var D=!1}catch{D=!0}if(D){D=console;var F=D.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&L[Symbol.toStringTag]||L.constructor.name||"Object";return F.call(D,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),e(L)}}s(t,"checkKeyStringCoercion");function r(L){if(L===S)return"<>";if(typeof L=="object"&&L!==null&&L.$$typeof===Y)return"<...>";try{var D=a(L);return D?"<"+D+">":"<...>"}catch{return"<...>"}}s(r,"getTaskName");function o(){var L=ce.A;return L===null?null:L.getOwner()}s(o,"getOwner");function u(){return Error("react-stack-top-frame")}s(u,"UnknownOwner");function l(L){if(se.call(L,"key")){var D=Object.getOwnPropertyDescriptor(L,"key").get;if(D&&D.isReactWarning)return!1}return L.key!==void 0}s(l,"hasValidKey");function n(L,D){function F(){Z||(Z=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",D))}s(F,"warnAboutAccessingKey"),F.isReactWarning=!0,Object.defineProperty(L,"key",{get:F,configurable:!0})}s(n,"defineKeyPropWarningGetter");function d(){var L=a(this.type);return re[L]||(re[L]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),L=this.props.ref,L!==void 0?L:null}s(d,"elementRefGetterWithDeprecationWarning");function f(L,D,F,W,we,qe){var V=F.ref;return L={$$typeof:I,type:L,key:D,props:F,_owner:W},(V!==void 0?V:null)!==null?Object.defineProperty(L,"ref",{enumerable:!1,get:d}):Object.defineProperty(L,"ref",{enumerable:!1,value:null}),L._store={},Object.defineProperty(L._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(L,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(L,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:we}),Object.defineProperty(L,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:qe}),Object.freeze&&(Object.freeze(L.props),Object.freeze(L)),L}s(f,"ReactElement");function m(L,D,F,W,we,qe){var V=D.children;if(V!==void 0)if(W)if(ue(V)){for(W=0;W<V.length;W++)c(V[W]);Object.freeze&&Object.freeze(V)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else c(V);if(se.call(D,"key")){V=a(L);var pe=Object.keys(D).filter(function(_e){return _e!=="key"});W=0<pe.length?"{key: someKey, "+pe.join(": ..., ")+": ...}":"{key: someKey}",Pe[V+W]||(pe=0<pe.length?"{"+pe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
14
|
+
let props = %s;
|
|
15
|
+
<%s {...props} />
|
|
16
|
+
React keys must be passed directly to JSX without using spread:
|
|
17
|
+
let props = %s;
|
|
18
|
+
<%s key={someKey} {...props} />`,W,V,pe,V),Pe[V+W]=!0)}if(V=null,F!==void 0&&(t(F),V=""+F),l(D)&&(t(D.key),V=""+D.key),"key"in D){F={};for(var Ae in D)Ae!=="key"&&(F[Ae]=D[Ae])}else F=D;return V&&n(F,typeof L=="function"?L.displayName||L.name||"Unknown":L),f(L,V,F,o(),we,qe)}s(m,"jsxDEVImpl");function c(L){p(L)?L._store&&(L._store.validated=1):typeof L=="object"&&L!==null&&L.$$typeof===Y&&(L._payload.status==="fulfilled"?p(L._payload.value)&&L._payload.value._store&&(L._payload.value._store.validated=1):L._store&&(L._store.validated=1))}s(c,"validateChildKeys");function p(L){return typeof L=="object"&&L!==null&&L.$$typeof===I}s(p,"isValidElement");var g=U(),I=Symbol.for("react.transitional.element"),x=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),B=Symbol.for("react.consumer"),A=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),v=Symbol.for("react.memo"),Y=Symbol.for("react.lazy"),q=Symbol.for("react.activity"),Be=Symbol.for("react.client.reference"),ce=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,se=Object.prototype.hasOwnProperty,ue=Array.isArray,ie=console.createTask?console.createTask:function(){return null};g={react_stack_bottom_frame:s(function(L){return L()},"react_stack_bottom_frame")};var Z,re={},O=g.react_stack_bottom_frame.bind(g,u)(),Le=ie(r(u)),Pe={};Xa.Fragment=S,Xa.jsx=function(L,D,F){var W=1e4>ce.recentlyCreatedOwnerStacks++;return m(L,D,F,!1,W?Error("react-stack-top-frame"):O,W?ie(r(L)):Le)},Xa.jsxs=function(L,D,F){var W=1e4>ce.recentlyCreatedOwnerStacks++;return m(L,D,F,!0,W?Error("react-stack-top-frame"):O,W?ie(r(L)):Le)}})()});var Ve=Se((jc,_t)=>{"use strict";process.env.NODE_ENV==="production"?_t.exports=jo():_t.exports=Wo()});var Is=Se(he=>{"use strict";var Bl=U();function xs(a){var e="https://react.dev/errors/"+a;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var t=2;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t])}return"Minified React error #"+a+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}s(xs,"formatProdErrorMessage");function We(){}s(We,"noop");var me={d:{f:We,r:s(function(){throw Error(xs(522))},"r"),D:We,C:We,L:We,m:We,X:We,S:We,M:We},p:0,findDOMNode:null},_l=Symbol.for("react.portal");function Nl(a,e,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:_l,key:r==null?null:""+r,children:a,containerInfo:e,implementation:t}}s(Nl,"createPortal$1");var Ra=Bl.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function at(a,e){if(a==="font")return"";if(typeof e=="string")return e==="use-credentials"?e:""}s(at,"getCrossOriginStringAs");he.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=me;he.createPortal=function(a,e){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)throw Error(xs(299));return Nl(a,e,null,t)};he.flushSync=function(a){var e=Ra.T,t=me.p;try{if(Ra.T=null,me.p=2,a)return a()}finally{Ra.T=e,me.p=t,me.d.f()}};he.preconnect=function(a,e){typeof a=="string"&&(e?(e=e.crossOrigin,e=typeof e=="string"?e==="use-credentials"?e:"":void 0):e=null,me.d.C(a,e))};he.prefetchDNS=function(a){typeof a=="string"&&me.d.D(a)};he.preinit=function(a,e){if(typeof a=="string"&&e&&typeof e.as=="string"){var t=e.as,r=at(t,e.crossOrigin),o=typeof e.integrity=="string"?e.integrity:void 0,u=typeof e.fetchPriority=="string"?e.fetchPriority:void 0;t==="style"?me.d.S(a,typeof e.precedence=="string"?e.precedence:void 0,{crossOrigin:r,integrity:o,fetchPriority:u}):t==="script"&&me.d.X(a,{crossOrigin:r,integrity:o,fetchPriority:u,nonce:typeof e.nonce=="string"?e.nonce:void 0})}};he.preinitModule=function(a,e){if(typeof a=="string")if(typeof e=="object"&&e!==null){if(e.as==null||e.as==="script"){var t=at(e.as,e.crossOrigin);me.d.M(a,{crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0})}}else e==null&&me.d.M(a)};he.preload=function(a,e){if(typeof a=="string"&&typeof e=="object"&&e!==null&&typeof e.as=="string"){var t=e.as,r=at(t,e.crossOrigin);me.d.L(a,t,{crossOrigin:r,integrity:typeof e.integrity=="string"?e.integrity:void 0,nonce:typeof e.nonce=="string"?e.nonce:void 0,type:typeof e.type=="string"?e.type:void 0,fetchPriority:typeof e.fetchPriority=="string"?e.fetchPriority:void 0,referrerPolicy:typeof e.referrerPolicy=="string"?e.referrerPolicy:void 0,imageSrcSet:typeof e.imageSrcSet=="string"?e.imageSrcSet:void 0,imageSizes:typeof e.imageSizes=="string"?e.imageSizes:void 0,media:typeof e.media=="string"?e.media:void 0})}};he.preloadModule=function(a,e){if(typeof a=="string")if(e){var t=at(e.as,e.crossOrigin);me.d.m(a,{as:typeof e.as=="string"&&e.as!=="script"?e.as:void 0,crossOrigin:t,integrity:typeof e.integrity=="string"?e.integrity:void 0})}else me.d.m(a)};he.requestFormReset=function(a){me.d.r(a)};he.unstable_batchedUpdates=function(a,e){return a(e)};he.useFormState=function(a,e,t){return Ra.H.useFormState(a,e,t)};he.useFormStatus=function(){return Ra.H.useHostTransitionStatus()};he.version="19.2.0"});var Cs=Se(ge=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function a(){}s(a,"noop");function e(c){return""+c}s(e,"testStringCoercion");function t(c,p,g){var I=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{e(I);var x=!1}catch{x=!0}return x&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&I[Symbol.toStringTag]||I.constructor.name||"Object"),e(I)),{$$typeof:f,key:I==null?null:""+I,children:c,containerInfo:p,implementation:g}}s(t,"createPortal$1");function r(c,p){if(c==="font")return"";if(typeof p=="string")return p==="use-credentials"?p:""}s(r,"getCrossOriginStringAs");function o(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":'something with type "'+typeof c+'"'}s(o,"getValueDescriptorExpectingObjectForWarning");function u(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":typeof c=="string"?JSON.stringify(c):typeof c=="number"?"`"+c+"`":'something with type "'+typeof c+'"'}s(u,"getValueDescriptorExpectingEnumForWarning");function l(){var c=m.H;return c===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19
|
+
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
20
|
+
2. You might be breaking the Rules of Hooks
|
|
21
|
+
3. You might have more than one copy of React in the same app
|
|
22
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}s(l,"resolveDispatcher"),typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=U(),d={d:{f:a,r:s(function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},"r"),D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},f=Symbol.for("react.portal"),m=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),ge.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=d,ge.createPortal=function(c,p){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!p||p.nodeType!==1&&p.nodeType!==9&&p.nodeType!==11)throw Error("Target container is not a DOM element.");return t(c,p,null,g)},ge.flushSync=function(c){var p=m.T,g=d.p;try{if(m.T=null,d.p=2,c)return c()}finally{m.T=p,d.p=g,d.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},ge.preconnect=function(c,p){typeof c=="string"&&c?p!=null&&typeof p!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",u(p)):p!=null&&typeof p.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(p.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(c)),typeof c=="string"&&(p?(p=p.crossOrigin,p=typeof p=="string"?p==="use-credentials"?p:"":void 0):p=null,d.d.C(c,p))},ge.prefetchDNS=function(c){if(typeof c!="string"||!c)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(c));else if(1<arguments.length){var p=arguments[1];typeof p=="object"&&p.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",u(p)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",u(p))}typeof c=="string"&&d.d.D(c)},ge.preinit=function(c,p){if(typeof c=="string"&&c?p==null||typeof p!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",u(p)):p.as!=="style"&&p.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',u(p.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(c)),typeof c=="string"&&p&&typeof p.as=="string"){var g=p.as,I=r(g,p.crossOrigin),x=typeof p.integrity=="string"?p.integrity:void 0,S=typeof p.fetchPriority=="string"?p.fetchPriority:void 0;g==="style"?d.d.S(c,typeof p.precedence=="string"?p.precedence:void 0,{crossOrigin:I,integrity:x,fetchPriority:S}):g==="script"&&d.d.X(c,{crossOrigin:I,integrity:x,fetchPriority:S,nonce:typeof p.nonce=="string"?p.nonce:void 0})}},ge.preinitModule=function(c,p){var g="";if(typeof c=="string"&&c||(g+=" The `href` argument encountered was "+o(c)+"."),p!==void 0&&typeof p!="object"?g+=" The `options` argument encountered was "+o(p)+".":p&&"as"in p&&p.as!=="script"&&(g+=" The `as` option encountered was "+u(p.as)+"."),g)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",g);else switch(g=p&&typeof p.as=="string"?p.as:"script",g){case"script":break;default:g=u(g),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',g,c)}typeof c=="string"&&(typeof p=="object"&&p!==null?(p.as==null||p.as==="script")&&(g=r(p.as,p.crossOrigin),d.d.M(c,{crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0})):p==null&&d.d.M(c))},ge.preload=function(c,p){var g="";if(typeof c=="string"&&c||(g+=" The `href` argument encountered was "+o(c)+"."),p==null||typeof p!="object"?g+=" The `options` argument encountered was "+o(p)+".":typeof p.as=="string"&&p.as||(g+=" The `as` option encountered was "+o(p.as)+"."),g&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',g),typeof c=="string"&&typeof p=="object"&&p!==null&&typeof p.as=="string"){g=p.as;var I=r(g,p.crossOrigin);d.d.L(c,g,{crossOrigin:I,integrity:typeof p.integrity=="string"?p.integrity:void 0,nonce:typeof p.nonce=="string"?p.nonce:void 0,type:typeof p.type=="string"?p.type:void 0,fetchPriority:typeof p.fetchPriority=="string"?p.fetchPriority:void 0,referrerPolicy:typeof p.referrerPolicy=="string"?p.referrerPolicy:void 0,imageSrcSet:typeof p.imageSrcSet=="string"?p.imageSrcSet:void 0,imageSizes:typeof p.imageSizes=="string"?p.imageSizes:void 0,media:typeof p.media=="string"?p.media:void 0})}},ge.preloadModule=function(c,p){var g="";typeof c=="string"&&c||(g+=" The `href` argument encountered was "+o(c)+"."),p!==void 0&&typeof p!="object"?g+=" The `options` argument encountered was "+o(p)+".":p&&"as"in p&&typeof p.as!="string"&&(g+=" The `as` option encountered was "+o(p.as)+"."),g&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',g),typeof c=="string"&&(p?(g=r(p.as,p.crossOrigin),d.d.m(c,{as:typeof p.as=="string"&&p.as!=="script"?p.as:void 0,crossOrigin:g,integrity:typeof p.integrity=="string"?p.integrity:void 0})):d.d.m(c))},ge.requestFormReset=function(c){d.d.r(c)},ge.unstable_batchedUpdates=function(c,p){return c(p)},ge.useFormState=function(c,p,g){return l().useFormState(c,p,g)},ge.useFormStatus=function(){return l().useHostTransitionStatus()},ge.version="19.2.0",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var zt=Se((Cp,Wt)=>{"use strict";function Ss(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ss)}catch(a){console.error(a)}}}s(Ss,"checkDCE");process.env.NODE_ENV==="production"?(Ss(),Wt.exports=Is()):Wt.exports=Cs()});var de=M(U(),1),lo=M(eo(),1);var oo=M(U(),1);var Qu=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Zu={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xA9","©":"\xA9","®":"\xAE","®":"\xAE","…":"\u2026","…":"\u2026","/":"/","/":"/"},Ju=s(a=>Zu[a],"unescapeHtmlEntity"),ao=s(a=>a.replace(Qu,Ju),"unescape");var en={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:ao};var xa=s(()=>en,"getDefaults");var an;var Te=s(()=>an,"getI18n");var Ge=(0,oo.createContext)(),_a=class{static{s(this,"ReportNamespaces")}constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}};var Na=s((a,e,t,r)=>{let o=[t,{code:e,...r||{}}];if(a?.services?.logger?.forward)return a.services.logger.forward(o,"warn","react-i18next::",!0);Oe(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),a?.services?.logger?.warn?a.services.logger.warn(...o):console?.warn&&console.warn(...o)},"warn"),so={},ua=s((a,e,t,r)=>{Oe(t)&&so[t]||(Oe(t)&&(so[t]=new Date),Na(a,e,t,r))},"warnOnce"),uo=s((a,e)=>()=>{if(a.isInitialized)e();else{let t=s(()=>{setTimeout(()=>{a.off("initialized",t)},0),e()},"initialized");a.on("initialized",t)}},"loadedClb"),Ua=s((a,e,t)=>{a.loadNamespaces(e,uo(a,t))},"loadNamespaces"),Pt=s((a,e,t,r)=>{if(Oe(t)&&(t=[t]),a.options.preload&&a.options.preload.indexOf(e)>-1)return Ua(a,t,r);t.forEach(o=>{a.options.ns.indexOf(o)<0&&a.options.ns.push(o)}),a.loadLanguages(e,uo(a,r))},"loadLanguages"),no=s((a,e,t={})=>!e.languages||!e.languages.length?(ua(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(a,{lng:t.lng,precheck:s((r,o)=>{if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!o(r.isLanguageChangingTo,a))return!1},"precheck")}),"hasLoadedNamespace");var Oe=s(a=>typeof a=="string","isString"),At=s(a=>typeof a=="object"&&a!==null,"isObject");var rn=s((a,e)=>Oe(e)?e:At(e)&&Oe(e.defaultValue)?e.defaultValue:Array.isArray(a)?a[a.length-1]:a,"notReadyT"),on={t:rn,ready:!1},sn=s(()=>()=>{},"dummySubscribe"),Tt=s((a,e={})=>{let{i18n:t}=e,{i18n:r,defaultNS:o}=(0,de.useContext)(Ge)||{},u=t||r||Te();u&&!u.reportNamespaces&&(u.reportNamespaces=new _a),u||ua(u,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let l=(0,de.useMemo)(()=>({...xa(),...u?.options?.react,...e}),[u,e]),{useSuspense:n,keyPrefix:d}=l,f=(0,de.useMemo)(()=>{let A=a||o||u?.options?.defaultNS;return Oe(A)?[A]:A||["translation"]},[a,o,u]);u?.reportNamespaces?.addUsedNamespaces?.(f);let m=(0,de.useRef)(0),c=(0,de.useCallback)(A=>{if(!u)return sn;let{bindI18n:T,bindI18nStore:G}=l,b=s(()=>{m.current+=1,A()},"wrappedCallback");return T&&u.on(T,b),G&&u.store.on(G,b),()=>{T&&T.split(" ").forEach(v=>u.off(v,b)),G&&G.split(" ").forEach(v=>u.store.off(v,b))}},[u,l]),p=(0,de.useRef)(),g=(0,de.useCallback)(()=>{if(!u)return on;let A=!!(u.isInitialized||u.initializedStoreOnce)&&f.every(q=>no(q,u,l)),T=e.lng||u.language,G=m.current,b=p.current;if(b&&b.ready===A&&b.lng===T&&b.keyPrefix===d&&b.revision===G)return b;let Y={t:u.getFixedT(T,l.nsMode==="fallback"?f:f[0],d),ready:A,lng:T,keyPrefix:d,revision:G};return p.current=Y,Y},[u,f,d,l,e.lng]),[I,x]=(0,de.useState)(0),{t:S,ready:w}=(0,lo.useSyncExternalStore)(c,g,g);(0,de.useEffect)(()=>{if(u&&!w&&!n){let A=s(()=>x(T=>T+1),"onLoaded");e.lng?Pt(u,e.lng,f,A):Ua(u,f,A)}},[u,e.lng,f,w,n,I]);let R=u||{},B=(0,de.useMemo)(()=>{let A=Object.create(Object.getPrototypeOf(R),Object.getOwnPropertyDescriptors(R));Object.defineProperty(A,"__original",{value:R,writable:!1,enumerable:!1,configurable:!1});let T=[S,A,w];return T.t=S,T.i18n=A,T.ready=w,T},[S,R,w,R.resolvedLanguage,R.language,R.languages]);if(u&&n&&!w)throw new Promise(A=>{let T=s(()=>A(),"onLoaded");e.lng?Pt(u,e.lng,f,T):Ua(u,f,T)});return B},"useTranslation");var On=M(U(),1);var ya=M(U(),1);var _=s(a=>typeof a=="string","isString"),Ia=s(()=>{let a,e,t=new Promise((r,o)=>{a=r,e=o});return t.resolve=a,t.reject=e,t},"defer"),io=s(a=>a==null?"":""+a,"makeString"),un=s((a,e,t)=>{a.forEach(r=>{e[r]&&(t[r]=e[r])})},"copy"),nn=/###/g,fo=s(a=>a&&a.indexOf("###")>-1?a.replace(nn,"."):a,"cleanKey"),co=s(a=>!a||_(a),"canNotTraverseDeeper"),Ca=s((a,e,t)=>{let r=_(e)?e.split("."):e,o=0;for(;o<r.length-1;){if(co(a))return{};let u=fo(r[o]);!a[u]&&t&&(a[u]=new t),Object.prototype.hasOwnProperty.call(a,u)?a=a[u]:a={},++o}return co(a)?{}:{obj:a,k:fo(r[o])}},"getLastOfPath"),po=s((a,e,t)=>{let{obj:r,k:o}=Ca(a,e,Object);if(r!==void 0||e.length===1){r[o]=t;return}let u=e[e.length-1],l=e.slice(0,e.length-1),n=Ca(a,l,Object);for(;n.obj===void 0&&l.length;)u=`${l[l.length-1]}.${u}`,l=l.slice(0,l.length-1),n=Ca(a,l,Object),n?.obj&&typeof n.obj[`${n.k}.${u}`]<"u"&&(n.obj=void 0);n.obj[`${n.k}.${u}`]=t},"setPath"),ln=s((a,e,t,r)=>{let{obj:o,k:u}=Ca(a,e,Object);o[u]=o[u]||[],o[u].push(t)},"pushPath"),Ga=s((a,e)=>{let{obj:t,k:r}=Ca(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,r))return t[r]},"getPath"),dn=s((a,e,t)=>{let r=Ga(a,t);return r!==void 0?r:Ga(e,t)},"getPathWithDefaults"),vo=s((a,e,t)=>{for(let r in e)r!=="__proto__"&&r!=="constructor"&&(r in a?_(a[r])||a[r]instanceof String||_(e[r])||e[r]instanceof String?t&&(a[r]=e[r]):vo(a[r],e[r],t):a[r]=e[r]);return a},"deepExtend"),na=s(a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),"regexEscape"),fn={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},cn=s(a=>_(a)?a.replace(/[&<>"'\/]/g,e=>fn[e]):a,"escape"),pn=class{static{s(this,"RegExpCache")}constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}},mn=[" ",",","?","!",";"],hn=new pn(20),gn=s((a,e,t)=>{e=e||"",t=t||"";let r=mn.filter(l=>e.indexOf(l)<0&&t.indexOf(l)<0);if(r.length===0)return!0;let o=hn.getRegExp(`(${r.map(l=>l==="?"?"\\?":l).join("|")})`),u=!o.test(a);if(!u){let l=a.indexOf(t);l>0&&!o.test(a.substring(0,l))&&(u=!0)}return u},"looksLikeObjectPath"),Dt=s((a,e,t=".")=>{if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;let r=e.split(t),o=a;for(let u=0;u<r.length;){if(!o||typeof o!="object")return;let l,n="";for(let d=u;d<r.length;++d)if(d!==u&&(n+=t),n+=r[d],l=o[n],l!==void 0){if(["string","number","boolean"].indexOf(typeof l)>-1&&d<r.length-1)continue;u+=d-u+1;break}o=l}return o},"deepFind"),Sa=s(a=>a?.replace("_","-"),"getCleanedCode"),Ln={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){console?.[a]?.apply?.(console,e)}},xn=class Mt{static{s(this,"Logger")}constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||Ln,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,o){return o&&!this.debug?null:(_(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Mt(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Mt(this.logger,e)}},Me=new xn,ja=class{static{s(this,"EventEmitter")}constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);let o=this.observers[r].get(t)||0;this.observers[r].set(t,o+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([o,u])=>{for(let l=0;l<u;l++)o(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,u])=>{for(let l=0;l<u;l++)o.apply(o,[e,...t])})}},mo=class extends ja{static{s(this,"ResourceStore")}constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,o={}){let u=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,l=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure,n;e.indexOf(".")>-1?n=e.split("."):(n=[e,t],r&&(Array.isArray(r)?n.push(...r):_(r)&&u?n.push(...r.split(u)):n.push(r)));let d=Ga(this.data,n);return!d&&!t&&!r&&e.indexOf(".")>-1&&(e=n[0],t=n[1],r=n.slice(2).join(".")),d||!l||!_(r)?d:Dt(this.data?.[e]?.[t],r,u)}addResource(e,t,r,o,u={silent:!1}){let l=u.keySeparator!==void 0?u.keySeparator:this.options.keySeparator,n=[e,t];r&&(n=n.concat(l?r.split(l):r)),e.indexOf(".")>-1&&(n=e.split("."),o=t,t=n[1]),this.addNamespaces(t),po(this.data,n,o),u.silent||this.emit("added",e,t,r,o)}addResources(e,t,r,o={silent:!1}){for(let u in r)(_(r[u])||Array.isArray(r[u]))&&this.addResource(e,t,u,r[u],{silent:!0});o.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,o,u,l={silent:!1,skipCopy:!1}){let n=[e,t];e.indexOf(".")>-1&&(n=e.split("."),o=r,r=t,t=n[1]),this.addNamespaces(t);let d=Ga(this.data,n)||{};l.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?vo(d,r,u):d={...d,...r},po(this.data,n,d),l.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(o=>t[o]&&Object.keys(t[o]).length>0)}toJSON(){return this.data}},bo={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,r,o){return a.forEach(u=>{e=this.processors[u]?.process(e,t,r,o)??e}),e}},Ro=Symbol("i18next/PATH_KEY");function In(){let a=[],e=Object.create(null),t;return e.get=(r,o)=>(t?.revoke?.(),o===Ro?a:(a.push(o),t=Proxy.revocable(r,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}s(In,"createProxy");function Va(a,e){let{[Ro]:t}=a(In());return t.join(e?.keySeparator??".")}s(Va,"keysFromSelector");var ho={},Ot=s(a=>!_(a)&&typeof a!="boolean"&&typeof a!="number","shouldHandleAsObject"),go=class ko extends ja{static{s(this,"Translator")}constructor(e,t={}){super(),un(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Me.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(e==null)return!1;let o=this.resolve(e,r);if(o?.res===void 0)return!1;let u=Ot(o.res);return!(r.returnObjects===!1&&u)}extractFromKey(e,t){let r=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");let o=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,u=t.ns||this.options.defaultNS||[],l=r&&e.indexOf(r)>-1,n=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!gn(e,r,o);if(l&&!n){let d=e.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:e,namespaces:_(u)?[u]:u};let f=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(f[0])>-1)&&(u=f.shift()),e=f.join(o)}return{key:e,namespaces:_(u)?[u]:u}}translate(e,t,r){let o=typeof t=="object"?{...t}:t;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),e==null)return"";typeof e=="function"&&(e=Va(e,{...this.options,...o})),Array.isArray(e)||(e=[String(e)]);let u=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,l=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:n,namespaces:d}=this.extractFromKey(e[e.length-1],o),f=d[d.length-1],m=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;m===void 0&&(m=":");let c=o.lng||this.language,p=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return p?u?{res:`${f}${m}${n}`,usedKey:n,exactUsedKey:n,usedLng:c,usedNS:f,usedParams:this.getUsedParamsDetails(o)}:`${f}${m}${n}`:u?{res:n,usedKey:n,exactUsedKey:n,usedLng:c,usedNS:f,usedParams:this.getUsedParamsDetails(o)}:n;let g=this.resolve(e,o),I=g?.res,x=g?.usedKey||n,S=g?.exactUsedKey||n,w=["[object Number]","[object Function]","[object RegExp]"],R=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,B=!this.i18nFormat||this.i18nFormat.handleAsObject,A=o.count!==void 0&&!_(o.count),T=ko.hasDefaultValue(o),G=A?this.pluralResolver.getSuffix(c,o.count,o):"",b=o.ordinal&&A?this.pluralResolver.getSuffix(c,o.count,{ordinal:!1}):"",v=A&&!o.ordinal&&o.count===0,Y=v&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${G}`]||o[`defaultValue${b}`]||o.defaultValue,q=I;B&&!I&&T&&(q=Y);let Be=Ot(q),ce=Object.prototype.toString.apply(q);if(B&&q&&Be&&w.indexOf(ce)<0&&!(_(R)&&Array.isArray(q))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let se=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,q,{...o,ns:d}):`key '${n} (${this.language})' returned an object instead of string.`;return u?(g.res=se,g.usedParams=this.getUsedParamsDetails(o),g):se}if(l){let se=Array.isArray(q),ue=se?[]:{},ie=se?S:x;for(let Z in q)if(Object.prototype.hasOwnProperty.call(q,Z)){let re=`${ie}${l}${Z}`;T&&!I?ue[Z]=this.translate(re,{...o,defaultValue:Ot(Y)?Y[Z]:void 0,joinArrays:!1,ns:d}):ue[Z]=this.translate(re,{...o,joinArrays:!1,ns:d}),ue[Z]===re&&(ue[Z]=q[Z])}I=ue}}else if(B&&_(R)&&Array.isArray(I))I=I.join(R),I&&(I=this.extendTranslation(I,e,o,r));else{let se=!1,ue=!1;!this.isValidLookup(I)&&T&&(se=!0,I=Y),this.isValidLookup(I)||(ue=!0,I=n);let Z=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ue?void 0:I,re=T&&Y!==I&&this.options.updateMissing;if(ue||se||re){if(this.logger.log(re?"updateKey":"missingKey",c,f,n,re?Y:I),l){let L=this.resolve(n,{...o,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let O=[],Le=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Le&&Le[0])for(let L=0;L<Le.length;L++)O.push(Le[L]);else this.options.saveMissingTo==="all"?O=this.languageUtils.toResolveHierarchy(o.lng||this.language):O.push(o.lng||this.language);let Pe=s((L,D,F)=>{let W=T&&F!==I?F:Z;this.options.missingKeyHandler?this.options.missingKeyHandler(L,f,D,W,re,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(L,f,D,W,re,o),this.emit("missingKey",L,f,D,I)},"send");this.options.saveMissing&&(this.options.saveMissingPlurals&&A?O.forEach(L=>{let D=this.pluralResolver.getSuffixes(L,o);v&&o[`defaultValue${this.options.pluralSeparator}zero`]&&D.indexOf(`${this.options.pluralSeparator}zero`)<0&&D.push(`${this.options.pluralSeparator}zero`),D.forEach(F=>{Pe([L],n+F,o[`defaultValue${F}`]||Y)})}):Pe(O,n,Y))}I=this.extendTranslation(I,e,o,g,r),ue&&I===n&&this.options.appendNamespaceToMissingKey&&(I=`${f}${m}${n}`),(ue||se)&&this.options.parseMissingKeyHandler&&(I=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}${m}${n}`:n,se?I:void 0,o))}return u?(g.res=I,g.usedParams=this.getUsedParamsDetails(o),g):I}extendTranslation(e,t,r,o,u){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});let d=_(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(d){let c=e.match(this.interpolator.nestingRegexp);f=c&&c.length}let m=r.replace&&!_(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),e=this.interpolator.interpolate(e,m,r.lng||this.language||o.usedLng,r),d){let c=e.match(this.interpolator.nestingRegexp),p=c&&c.length;f<p&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>u?.[0]===c[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),r)),r.interpolation&&this.interpolator.reset()}let l=r.postProcess||this.options.postProcess,n=_(l)?[l]:l;return e!=null&&n?.length&&r.applyPostProcessor!==!1&&(e=bo.handle(n,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,o,u,l,n;return _(e)&&(e=[e]),e.forEach(d=>{if(this.isValidLookup(r))return;let f=this.extractFromKey(d,t),m=f.key;o=m;let c=f.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let p=t.count!==void 0&&!_(t.count),g=p&&!t.ordinal&&t.count===0,I=t.context!==void 0&&(_(t.context)||typeof t.context=="number")&&t.context!=="",x=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(S=>{this.isValidLookup(r)||(n=S,!ho[`${x[0]}-${S}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(n)&&(ho[`${x[0]}-${S}`]=!0,this.logger.warn(`key "${o}" for languages "${x.join(", ")}" won't get resolved as namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(w=>{if(this.isValidLookup(r))return;l=w;let R=[m];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(R,m,w,S,t);else{let A;p&&(A=this.pluralResolver.getSuffix(w,t.count,t));let T=`${this.options.pluralSeparator}zero`,G=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(t.ordinal&&A.indexOf(G)===0&&R.push(m+A.replace(G,this.options.pluralSeparator)),R.push(m+A),g&&R.push(m+T)),I){let b=`${m}${this.options.contextSeparator||"_"}${t.context}`;R.push(b),p&&(t.ordinal&&A.indexOf(G)===0&&R.push(b+A.replace(G,this.options.pluralSeparator)),R.push(b+A),g&&R.push(b+T))}}let B;for(;B=R.pop();)this.isValidLookup(r)||(u=B,r=this.getResource(w,S,B,t))}))})}),{res:r,usedKey:o,exactUsedKey:u,usedLng:l,usedNS:n}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,r,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,o):this.resourceStore.getResource(e,t,r,o)}getUsedParamsDetails(e={}){let t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!_(e.replace),o=r?e.replace:e;if(r&&typeof e.count<"u"&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(let u of t)delete o[u]}return o}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&e[r]!==void 0)return!0;return!1}},Lo=class{static{s(this,"LanguageUtil")}constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Me.create("languageUtils")}getScriptPartFromCode(e){if(e=Sa(e),!e||e.indexOf("-")<0)return null;let t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=Sa(e),!e||e.indexOf("-")<0)return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(_(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(r=>{if(t)return;let o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(t=o)}),!t&&this.options.supportedLngs&&e.forEach(r=>{if(t)return;let o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return t=o;let u=this.getLanguagePartFromCode(r);if(this.isSupportedCode(u))return t=u;t=this.options.supportedLngs.find(l=>{if(l===u)return l;if(!(l.indexOf("-")<0&&u.indexOf("-")<0)&&(l.indexOf("-")>0&&u.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===u||l.indexOf(u)===0&&u.length>1))return l})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),_(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),o=[],u=s(l=>{l&&(this.isSupportedCode(l)?o.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))},"addCode");return _(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&u(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&u(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&u(this.getLanguagePartFromCode(e))):_(e)&&u(this.formatLanguageCode(e)),r.forEach(l=>{o.indexOf(l)<0&&u(this.formatLanguageCode(l))}),o}},xo={zero:0,one:1,two:2,few:3,many:4,other:5},Io={select:s(a=>a===1?"one":"other","select"),resolvedOptions:s(()=>({pluralCategories:["one","other"]}),"resolvedOptions")},Cn=class{static{s(this,"PluralResolver")}constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Me.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r=Sa(e==="dev"?"en":e),o=t.ordinal?"ordinal":"cardinal",u=JSON.stringify({cleanedCode:r,type:o});if(u in this.pluralRulesCache)return this.pluralRulesCache[u];let l;try{l=new Intl.PluralRules(r,{type:o})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Io;if(!e.match(/-|_/))return Io;let d=this.languageUtils.getLanguagePartFromCode(e);l=this.getRule(d,t)}return this.pluralRulesCache[u]=l,l}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(o=>`${t}${o}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort((o,u)=>xo[o]-xo[u]).map(o=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(e,t,r={}){let o=this.getRule(e,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}},Co=s((a,e,t,r=".",o=!0)=>{let u=dn(a,e,t);return!u&&o&&_(t)&&(u=Dt(a,t,r),u===void 0&&(u=Dt(e,t,r))),u},"deepFindWithDefaults"),Et=s(a=>a.replace(/\$/g,"$$$$"),"regexSafe"),Sn=class{static{s(this,"Interpolator")}constructor(e={}){this.logger=Me.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:o,prefix:u,prefixEscaped:l,suffix:n,suffixEscaped:d,formatSeparator:f,unescapeSuffix:m,unescapePrefix:c,nestingPrefix:p,nestingPrefixEscaped:g,nestingSuffix:I,nestingSuffixEscaped:x,nestingOptionsSeparator:S,maxReplaces:w,alwaysFormat:R}=e.interpolation;this.escape=t!==void 0?t:cn,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=u?na(u):l||"{{",this.suffix=n?na(n):d||"}}",this.formatSeparator=f||",",this.unescapePrefix=m?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":m||"",this.nestingPrefix=p?na(p):g||na("$t("),this.nestingSuffix=I?na(I):x||na(")"),this.nestingOptionsSeparator=S||",",this.maxReplaces=w||1e3,this.alwaysFormat=R!==void 0?R:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=s((t,r)=>t?.source===r?(t.lastIndex=0,t):new RegExp(r,"g"),"getOrResetRegExp");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,r,o){let u,l,n,d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=s(g=>{if(g.indexOf(this.formatSeparator)<0){let w=Co(t,d,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(w,void 0,r,{...o,...t,interpolationkey:g}):w}let I=g.split(this.formatSeparator),x=I.shift().trim(),S=I.join(this.formatSeparator).trim();return this.format(Co(t,d,x,this.options.keySeparator,this.options.ignoreJSONStructure),S,r,{...o,...t,interpolationkey:x})},"handleFormat");this.resetRegExp();let m=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:s(g=>Et(g),"safeValue")},{regex:this.regexp,safeValue:s(g=>this.escapeValue?Et(this.escape(g)):Et(g),"safeValue")}].forEach(g=>{for(n=0;u=g.regex.exec(e);){let I=u[1].trim();if(l=f(I),l===void 0)if(typeof m=="function"){let S=m(e,u,o);l=_(S)?S:""}else if(o&&Object.prototype.hasOwnProperty.call(o,I))l="";else if(c){l=u[0];continue}else this.logger.warn(`missed to pass in variable ${I} for interpolating ${e}`),l="";else!_(l)&&!this.useRawValueToEscape&&(l=io(l));let x=g.safeValue(l);if(e=e.replace(u[0],x),c?(g.regex.lastIndex+=l.length,g.regex.lastIndex-=u[0].length):g.regex.lastIndex=0,n++,n>=this.maxReplaces)break}}),e}nest(e,t,r={}){let o,u,l,n=s((d,f)=>{let m=this.nestingOptionsSeparator;if(d.indexOf(m)<0)return d;let c=d.split(new RegExp(`${m}[ ]*{`)),p=`{${c[1]}`;d=c[0],p=this.interpolate(p,l);let g=p.match(/'/g),I=p.match(/"/g);((g?.length??0)%2===0&&!I||I.length%2!==0)&&(p=p.replace(/'/g,'"'));try{l=JSON.parse(p),f&&(l={...f,...l})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${d}`,x),`${d}${m}${p}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,d},"handleHasOptions");for(;o=this.nestingRegexp.exec(e);){let d=[];l={...r},l=l.replace&&!_(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;let f=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(f!==-1&&(d=o[1].slice(f).split(this.formatSeparator).map(m=>m.trim()).filter(Boolean),o[1]=o[1].slice(0,f)),u=t(n.call(this,o[1].trim(),l),l),u&&o[0]===e&&!_(u))return u;_(u)||(u=io(u)),u||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),u=""),d.length&&(u=d.reduce((m,c)=>this.format(m,c,r.lng,{...r,interpolationkey:o[1].trim()}),u.trim())),e=e.replace(o[0],u),this.regexp.lastIndex=0}return e}},yn=s(a=>{let e=a.toLowerCase().trim(),t={};if(a.indexOf("(")>-1){let r=a.split("(");e=r[0].toLowerCase().trim();let o=r[1].substring(0,r[1].length-1);e==="currency"&&o.indexOf(":")<0?t.currency||(t.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?t.range||(t.range=o.trim()):o.split(";").forEach(l=>{if(l){let[n,...d]=l.split(":"),f=d.join(":").trim().replace(/^'+|'+$/g,""),m=n.trim();t[m]||(t[m]=f),f==="false"&&(t[m]=!1),f==="true"&&(t[m]=!0),isNaN(f)||(t[m]=parseInt(f,10))}})}return{formatName:e,formatOptions:t}},"parseFormatStr"),So=s(a=>{let e={};return(t,r,o)=>{let u=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(u={...u,[o.interpolationkey]:void 0});let l=r+JSON.stringify(u),n=e[l];return n||(n=a(Sa(r),o),e[l]=n),n(t)}},"createCachedFormatter"),wn=s(a=>(e,t,r)=>a(Sa(t),r)(e),"createNonCachedFormatter"),vn=class{static{s(this,"Formatter")}constructor(e={}){this.logger=Me.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?So:wn;this.formats={number:r((o,u)=>{let l=new Intl.NumberFormat(o,{...u});return n=>l.format(n)}),currency:r((o,u)=>{let l=new Intl.NumberFormat(o,{...u,style:"currency"});return n=>l.format(n)}),datetime:r((o,u)=>{let l=new Intl.DateTimeFormat(o,{...u});return n=>l.format(n)}),relativetime:r((o,u)=>{let l=new Intl.RelativeTimeFormat(o,{...u});return n=>l.format(n,u.range||"day")}),list:r((o,u)=>{let l=new Intl.ListFormat(o,{...u});return n=>l.format(n)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=So(t)}format(e,t,r,o={}){let u=t.split(this.formatSeparator);if(u.length>1&&u[0].indexOf("(")>1&&u[0].indexOf(")")<0&&u.find(n=>n.indexOf(")")>-1)){let n=u.findIndex(d=>d.indexOf(")")>-1);u[0]=[u[0],...u.splice(1,n)].join(this.formatSeparator)}return u.reduce((n,d)=>{let{formatName:f,formatOptions:m}=yn(d);if(this.formats[f]){let c=n;try{let p=o?.formatParams?.[o.interpolationkey]||{},g=p.locale||p.lng||o.locale||o.lng||r;c=this.formats[f](n,g,{...m,...o,...p})}catch(p){this.logger.warn(p)}return c}else this.logger.warn(`there was no format function for ${f}`);return n},e)}},bn=s((a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)},"removePending"),Rn=class extends ja{static{s(this,"Connector")}constructor(e,t,r,o={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=Me.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,o.backend,o)}queueLoad(e,t,r,o){let u={},l={},n={},d={};return e.forEach(f=>{let m=!0;t.forEach(c=>{let p=`${f}|${c}`;!r.reload&&this.store.hasResourceBundle(f,c)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?l[p]===void 0&&(l[p]=!0):(this.state[p]=1,m=!1,l[p]===void 0&&(l[p]=!0),u[p]===void 0&&(u[p]=!0),d[c]===void 0&&(d[c]=!0)))}),m||(n[f]=!0)}),(Object.keys(u).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(u),pending:Object.keys(l),toLoadLanguages:Object.keys(n),toLoadNamespaces:Object.keys(d)}}loaded(e,t,r){let o=e.split("|"),u=o[0],l=o[1];t&&this.emit("failedLoading",u,l,t),!t&&r&&this.store.addResourceBundle(u,l,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let n={};this.queue.forEach(d=>{ln(d.loaded,[u],l),bn(d,e),t&&d.errors.push(t),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(f=>{n[f]||(n[f]={});let m=d.loaded[f];m.length&&m.forEach(c=>{n[f][c]===void 0&&(n[f][c]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",n),this.queue=this.queue.filter(d=>!d.done)}read(e,t,r,o=0,u=this.retryTimeout,l){if(!e.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:o,wait:u,callback:l});return}this.readingCalls++;let n=s((f,m)=>{if(this.readingCalls--,this.waitingReads.length>0){let c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(f&&m&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,r,o+1,u*2,l)},u);return}l(f,m)},"resolver"),d=this.backend[r].bind(this.backend);if(d.length===2){try{let f=d(e,t);f&&typeof f.then=="function"?f.then(m=>n(null,m)).catch(n):n(null,f)}catch(f){n(f)}return}return d(e,t,n)}prepareLoading(e,t,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();_(e)&&(e=this.languageUtils.toResolveHierarchy(e)),_(t)&&(t=[t]);let u=this.queueLoad(e,t,r,o);if(!u.toLoad.length)return u.pending.length||o(),null;u.toLoad.forEach(l=>{this.loadOne(l)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),o=r[0],u=r[1];this.read(o,u,"read",void 0,void 0,(l,n)=>{l&&this.logger.warn(`${t}loading namespace ${u} for language ${o} failed`,l),!l&&n&&this.logger.log(`${t}loaded namespace ${u} for language ${o}`,n),this.loaded(e,l,n)})}saveMissing(e,t,r,o,u,l={},n=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){let d={...l,isUpdate:u},f=this.backend.create.bind(this.backend);if(f.length<6)try{let m;f.length===5?m=f(e,t,r,o,d):m=f(e,t,r,o),m&&typeof m.then=="function"?m.then(c=>n(null,c)).catch(n):n(null,m)}catch(m){n(m)}else f(e,t,r,o,n,d)}!e||!e[0]||this.store.addResource(e[0],t,r,o)}}},yo=s(()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:s(a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),_(a[1])&&(e.defaultValue=a[1]),_(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){let t=a[3]||a[2];Object.keys(t).forEach(r=>{e[r]=t[r]})}return e},"overloadTranslationOptionHandler"),interpolation:{escapeValue:!0,format:s(a=>a,"format"),prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),"get"),wo=s(a=>(_(a.ns)&&(a.ns=[a.ns]),_(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),_(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),a.supportedLngs?.indexOf?.("cimode")<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a),"transformOptions"),qa=s(()=>{},"noop"),kn=s(a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})},"bindMemberFunctions"),Pn=class Ha extends ja{static{s(this,"I18n")}constructor(e={},t){if(super(),this.options=wo(e),this.services={},this.logger=Me,this.modules={external:[]},kn(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e=="function"&&(t=e,e={}),e.defaultNS==null&&e.ns&&(_(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let r=yo();this.options={...r,...this.options,...wo(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);let o=s(f=>f?typeof f=="function"?new f:f:null,"createClassOnDemand");if(!this.options.isClone){this.modules.logger?Me.init(o(this.modules.logger),this.options):Me.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:f=vn;let m=new Lo(this.options);this.store=new mo(this.options.resources,this.options);let c=this.services;c.logger=Me,c.resourceStore=this.store,c.languageUtils=m,c.pluralResolver=new Cn(m,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),f&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(c.formatter=o(f),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new Sn(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new Rn(o(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(g,...I)=>{this.emit(g,...I)}),this.modules.languageDetector&&(c.languageDetector=o(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=o(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new go(this.services,this.options),this.translator.on("*",(g,...I)=>{this.emit(g,...I)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,t||(t=qa),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=(...m)=>this.store[f](...m)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=(...m)=>(this.store[f](...m),this)});let n=Ia(),d=s(()=>{let f=s((m,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),n.resolve(c),t(m,c)},"finish");if(this.languages&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)},"load");return this.options.resources||!this.options.initAsync?d():setTimeout(d,0),n}loadResources(e,t=qa){let r=t,o=_(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();let u=[],l=s(n=>{if(!n||n==="cimode")return;this.services.languageUtils.toResolveHierarchy(n).forEach(f=>{f!=="cimode"&&u.indexOf(f)<0&&u.push(f)})},"append");o?l(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>l(d)),this.options.preload?.forEach?.(n=>l(n)),this.services.backendConnector.load(u,this.options.ns,n=>{!n&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(n)})}else r(null)}reloadResources(e,t,r){let o=Ia();return typeof e=="function"&&(r=e,e=void 0),typeof t=="function"&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=qa),this.services.backendConnector.reload(e,t,u=>{o.resolve(),r(u)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&bo.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let t=0;t<this.languages.length;t++){let r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=Ia();this.emit("languageChanging",e);let o=s(n=>{this.language=n,this.languages=this.services.languageUtils.toResolveHierarchy(n),this.resolvedLanguage=void 0,this.setResolvedLanguage(n)},"setLngProps"),u=s((n,d)=>{d?this.isLanguageChangingTo===e&&(o(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,r.resolve((...f)=>this.t(...f)),t&&t(n,(...f)=>this.t(...f))},"done"),l=s(n=>{!e&&!n&&this.services.languageDetector&&(n=[]);let d=_(n)?n:n&&n[0],f=this.store.hasLanguageSomeTranslations(d)?d:this.services.languageUtils.getBestMatchFromCodes(_(n)?[n]:n);f&&(this.language||o(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,m=>{u(m,f)})},"setLng");return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),r}getFixedT(e,t,r){let o=s((u,l,...n)=>{let d;typeof l!="object"?d=this.options.overloadTranslationOptionHandler([u,l].concat(n)):d={...l},d.lng=d.lng||o.lng,d.lngs=d.lngs||o.lngs,d.ns=d.ns||o.ns,d.keyPrefix!==""&&(d.keyPrefix=d.keyPrefix||r||o.keyPrefix);let f=this.options.keySeparator||".",m;return d.keyPrefix&&Array.isArray(u)?m=u.map(c=>(typeof c=="function"&&(c=Va(c,{...this.options,...l})),`${d.keyPrefix}${f}${c}`)):(typeof u=="function"&&(u=Va(u,{...this.options,...l})),m=d.keyPrefix?`${d.keyPrefix}${f}${u}`:u),this.t(m,d)},"fixedT");return _(e)?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=r,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,u=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;let l=s((n,d)=>{let f=this.services.backendConnector.state[`${n}|${d}`];return f===-1||f===0||f===2},"loadNotPending");if(t.precheck){let n=t.precheck(this,l);if(n!==void 0)return n}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(r,e)&&(!o||l(u,e)))}loadNamespaces(e,t){let r=Ia();return this.options.ns?(_(e)&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),t&&t(o)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=Ia();_(e)&&(e=[e]);let o=this.options.preload||[],u=e.filter(l=>o.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return u.length?(this.options.preload=o.concat(u),this.loadResources(l=>{r.resolve(),t&&t(l)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let o=new Intl.Locale(e);if(o&&o.getTextInfo){let u=o.getTextInfo();if(u&&u.direction)return u.direction}}catch{}let t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new Lo(yo());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let r=new Ha(e,t);return r.createInstance=Ha.createInstance,r}cloneInstance(e={},t=qa){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let o={...this.options,...e,isClone:!0},u=new Ha(o);if((e.debug!==void 0||e.prefix!==void 0)&&(u.logger=u.logger.clone(e)),["store","services","language"].forEach(n=>{u[n]=this[n]}),u.services={...this.services},u.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},r){let n=Object.keys(this.store.data).reduce((d,f)=>(d[f]={...this.store.data[f]},d[f]=Object.keys(d[f]).reduce((m,c)=>(m[c]={...d[f][c]},m),d[f]),d),{});u.store=new mo(n,o),u.services.resourceStore=u.store}return u.translator=new go(u.services,o),u.translator.on("*",(n,...d)=>{u.emit(n,...d)}),u.init(o,t),u.translator.options=o,u.translator.backendConnector.services.utils={hasLoadedNamespace:u.hasLoadedNamespace.bind(u)},u}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},xe=Pn.createInstance(),Bd=xe.createInstance,_d=xe.dir,Nd=xe.init,Ud=xe.loadResources,qd=xe.reloadResources,Hd=xe.use,Gd=xe.changeLanguage,Vd=xe.getFixedT,jd=xe.t,Wd=xe.exists,zd=xe.setDefaultNamespace,$d=xe.hasLoadedNamespace,Kd=xe.loadNamespaces,Xd=xe.loadLanguages;var An=M(Ao());var Mo=M(U(),1);var Xe=M(U(),1);var la=class a extends Error{static{s(this,"TranslationParserError")}constructor(e,t,r){super(e),this.name="TranslationParserError",this.position=t,this.translationString=r,Error.captureStackTrace&&Error.captureStackTrace(this,a)}};var To={" ":"\xA0","&":"&","<":"<",">":">",""":'"',"'":"'","©":"\xA9","®":"\xAE","™":"\u2122","…":"\u2026","–":"\u2013","—":"\u2014","‘":"\u2018","’":"\u2019","‚":"\u201A","“":"\u201C","”":"\u201D","„":"\u201E","†":"\u2020","‡":"\u2021","•":"\u2022","′":"\u2032","″":"\u2033","‹":"\u2039","›":"\u203A","§":"\xA7","¶":"\xB6","·":"\xB7"," ":"\u2002"," ":"\u2003"," ":"\u2009","€":"\u20AC","£":"\xA3","¥":"\xA5","¢":"\xA2","¤":"\xA4","×":"\xD7","÷":"\xF7","−":"\u2212","±":"\xB1","≠":"\u2260","≤":"\u2264","≥":"\u2265","≈":"\u2248","≡":"\u2261","∞":"\u221E","∫":"\u222B","∑":"\u2211","∏":"\u220F","√":"\u221A","∂":"\u2202","‰":"\u2030","°":"\xB0","µ":"\xB5","←":"\u2190","↑":"\u2191","→":"\u2192","↓":"\u2193","↔":"\u2194","↵":"\u21B5","⇐":"\u21D0","⇑":"\u21D1","⇒":"\u21D2","⇓":"\u21D3","⇔":"\u21D4","α":"\u03B1","β":"\u03B2","γ":"\u03B3","δ":"\u03B4","ε":"\u03B5","ζ":"\u03B6","η":"\u03B7","θ":"\u03B8","ι":"\u03B9","κ":"\u03BA","λ":"\u03BB","μ":"\u03BC","ν":"\u03BD","ξ":"\u03BE","ο":"\u03BF","π":"\u03C0","ρ":"\u03C1","σ":"\u03C3","τ":"\u03C4","υ":"\u03C5","φ":"\u03C6","χ":"\u03C7","ψ":"\u03C8","ω":"\u03C9","Α":"\u0391","Β":"\u0392","Γ":"\u0393","Δ":"\u0394","Ε":"\u0395","Ζ":"\u0396","Η":"\u0397","Θ":"\u0398","Ι":"\u0399","Κ":"\u039A","Λ":"\u039B","Μ":"\u039C","Ν":"\u039D","Ξ":"\u039E","Ο":"\u039F","Π":"\u03A0","Ρ":"\u03A1","Σ":"\u03A3","Τ":"\u03A4","Υ":"\u03A5","Φ":"\u03A6","Χ":"\u03A7","Ψ":"\u03A8","Ω":"\u03A9","À":"\xC0","Á":"\xC1","Â":"\xC2","Ã":"\xC3","Ä":"\xC4","Å":"\xC5","Æ":"\xC6","Ç":"\xC7","È":"\xC8","É":"\xC9","Ê":"\xCA","Ë":"\xCB","Ì":"\xCC","Í":"\xCD","Î":"\xCE","Ï":"\xCF","Ð":"\xD0","Ñ":"\xD1","Ò":"\xD2","Ó":"\xD3","Ô":"\xD4","Õ":"\xD5","Ö":"\xD6","Ø":"\xD8","Ù":"\xD9","Ú":"\xDA","Û":"\xDB","Ü":"\xDC","Ý":"\xDD","Þ":"\xDE","ß":"\xDF","à":"\xE0","á":"\xE1","â":"\xE2","ã":"\xE3","ä":"\xE4","å":"\xE5","æ":"\xE6","ç":"\xE7","è":"\xE8","é":"\xE9","ê":"\xEA","ë":"\xEB","ì":"\xEC","í":"\xED","î":"\xEE","ï":"\xEF","ð":"\xF0","ñ":"\xF1","ò":"\xF2","ó":"\xF3","ô":"\xF4","õ":"\xF5","ö":"\xF6","ø":"\xF8","ù":"\xF9","ú":"\xFA","û":"\xFB","ü":"\xFC","ý":"\xFD","þ":"\xFE","ÿ":"\xFF","¡":"\xA1","¿":"\xBF","ƒ":"\u0192","ˆ":"\u02C6","˜":"\u02DC","Œ":"\u0152","œ":"\u0153","Š":"\u0160","š":"\u0161","Ÿ":"\u0178","ª":"\xAA","º":"\xBA","¯":"\xAF","´":"\xB4","¸":"\xB8","¹":"\xB9","²":"\xB2","³":"\xB3","¼":"\xBC","½":"\xBD","¾":"\xBE","♠":"\u2660","♣":"\u2663","♥":"\u2665","♦":"\u2666","◊":"\u25CA","‾":"\u203E","⁄":"\u2044","℘":"\u2118","ℑ":"\u2111","ℜ":"\u211C","ℵ":"\u2135"},En=new RegExp(Object.keys(To).map(a=>a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g"),Oo=s(a=>a.replace(En,e=>To[e]).replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(parseInt(t,10))).replace(/&#x([0-9a-fA-F]+);/g,(e,t)=>String.fromCharCode(parseInt(t,16))),"decodeHtmlEntities");var Eo=s(a=>{let e=[],t=0,r="",o=s(()=>{r&&(e.push({type:"Text",value:r,position:t-r.length}),r="")},"flushText");for(;t<a.length;){let u=a[t];if(u==="<"){let l=a.slice(t).match(/^<(\d+)>/);if(l)o(),e.push({type:"TagOpen",value:l[0],position:t,tagNumber:parseInt(l[1],10)}),t+=l[0].length;else{let n=a.slice(t).match(/^<\/(\d+)>/);n?(o(),e.push({type:"TagClose",value:n[0],position:t,tagNumber:parseInt(n[1],10)}),t+=n[0].length):(r+=u,t+=1)}}else r+=u,t+=1}return o(),e},"tokenize");var wa=M(U(),1);var Dn=s((a,e,t)=>{let{type:r,props:o={}}=a;if(o.children&&Array.isArray(o.children)&&t){let{children:u,...l}=o;return wa.default.createElement(r,l,...e)}return e.length===0?wa.default.createElement(r,o):e.length===1?wa.default.createElement(r,o,e[0]):wa.default.createElement(r,o,...e)},"renderDeclarationNode"),Do=s((a,e=[])=>{if(!a)return[];let t=Eo(a),r=[],o=[],u=new Set,l=s(()=>{if(o.length===0)return e;let n=o[o.length-1];return n.declaration.props?.children&&Array.isArray(n.declaration.props.children)?n.declaration.props.children:n.declarations},"getCurrentDeclarations");if(t.forEach(n=>{switch(n.type){case"Text":{let d=Oo(n.value);(o.length>0?o[o.length-1].children:r).push(d)}break;case"TagOpen":{let{tagNumber:d}=n,f=l(),m=f[d];if(!m){u.add(d);let c=`<${d}>`;(o.length>0?o[o.length-1].children:r).push(c);break}o.push({tagNumber:d,children:[],position:n.position,declaration:m,declarations:f})}break;case"TagClose":{let{tagNumber:d}=n;if(u.has(d)){let p=`</${d}>`;(o.length>0?o[o.length-1].children:r).push(p),u.delete(d);break}if(o.length===0)throw new la(`Unexpected closing tag </${d}> at position ${n.position}`,n.position,a);let f=o.pop();if(f.tagNumber!==d)throw new la(`Mismatched tags: expected </${f.tagNumber}> but got </${d}> at position ${n.position}`,n.position,a);let m=Dn(f.declaration,f.children,f.declarations);(o.length>0?o[o.length-1].children:r).push(m)}break}}),o.length>0){let n=o[o.length-1];throw new la(`Unclosed tag <${n.tagNumber}> at position ${n.position}`,n.position,a)}return r},"renderTranslation");function Wa({i18nKey:a,defaultTranslation:e,content:t,ns:r,values:o={},i18n:u,t:l}){let n=u||Te();if(!n)return ua(n,"NO_I18NEXT_INSTANCE","IcuTrans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:a}),Xe.default.createElement(Xe.default.Fragment,{},e);let d=l||n.t?.bind(n)||(p=>p),f=r||d.ns||n.options?.defaultNS;f=Oe(f)?[f]:f||["translation"];let m=o;n.options?.interpolation?.defaultVariables&&(m=o&&Object.keys(o).length>0?{...o,...n.options.interpolation.defaultVariables}:{...n.options.interpolation.defaultVariables});let c=d(a,{defaultValue:e,...m,ns:f});try{let p=Do(c,t);return Xe.default.createElement(Xe.default.Fragment,{},...p)}catch(p){return Na(n,"ICU_TRANS_RENDER_ERROR",`IcuTrans component error for key "${a}": ${p.message}`,{i18nKey:a,error:p}),Xe.default.createElement(Xe.default.Fragment,{},c)}}s(Wa,"IcuTransWithoutContext");Wa.displayName="IcuTransWithoutContext";function Fo({i18nKey:a,defaultTranslation:e,content:t,ns:r,values:o={},i18n:u,t:l}){let{i18n:n,defaultNS:d}=(0,Mo.useContext)(Ge)||{},f=u||n||Te(),m=l||f?.t.bind(f);return Wa({i18nKey:a,defaultTranslation:e,content:t,ns:r||m?.ns||d||f?.options?.defaultNS,values:o,i18n:f,t:l})}s(Fo,"IcuTrans");Fo.displayName="IcuTrans";var Bo=M(U(),1);var _o=M(U(),1);var Nn=M(U(),1);var Fn=M(U(),1);var $a=M(U());var No=s(a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),"toKebabCase"),Un=s(a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),"toCamelCase"),Ft=s(a=>{let e=Un(a);return e.charAt(0).toUpperCase()+e.slice(1)},"toPascalCase"),za=s((...a)=>a.filter((e,t,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===t).join(" ").trim(),"mergeClasses"),Uo=s(a=>{for(let e in a)if(e.startsWith("aria-")||e==="role"||e==="title")return!0},"hasA11yProp");var va=M(U());var qo={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"};var Ho=(0,va.forwardRef)(({color:a="currentColor",size:e=24,strokeWidth:t=2,absoluteStrokeWidth:r,className:o="",children:u,iconNode:l,...n},d)=>(0,va.createElement)("svg",{ref:d,...qo,width:e,height:e,stroke:a,strokeWidth:r?Number(t)*24/Number(e):t,className:za("lucide",o),...!u&&!Uo(n)&&{"aria-hidden":"true"},...n},[...l.map(([f,m])=>(0,va.createElement)(f,m)),...Array.isArray(u)?u:[u]]));var Go=s((a,e)=>{let t=(0,$a.forwardRef)(({className:r,...o},u)=>(0,$a.createElement)(Ho,{ref:u,iconNode:e,className:za(`lucide-${No(Ft(a))}`,`lucide-${a}`,r),...o}));return t.displayName=Ft(a),t},"createLucideIcon");var qn=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Bt=Go("x",qn);function zo(a){var e,t,r="";if(typeof a=="string"||typeof a=="number")r+=a;else if(typeof a=="object")if(Array.isArray(a)){var o=a.length;for(e=0;e<o;e++)a[e]&&(t=zo(a[e]))&&(r&&(r+=" "),r+=t)}else for(t in a)a[t]&&(r&&(r+=" "),r+=t);return r}s(zo,"r");function $o(){for(var a,e,t=0,r="",o=arguments.length;t<o;t++)(a=arguments[t])&&(e=zo(a))&&(r&&(r+=" "),r+=e);return r}s($o,"clsx");var Vn=s((a,e)=>{let t=new Array(a.length+e.length);for(let r=0;r<a.length;r++)t[r]=a[r];for(let r=0;r<e.length;r++)t[a.length+r]=e[r];return t},"concatArrays"),jn=s((a,e)=>({classGroupId:a,validator:e}),"createClassValidatorObject"),Jo=s((a=new Map,e=null,t)=>({nextPart:a,validators:e,classGroupId:t}),"createClassPartObject"),Za="-",Ko=[],Wn="arbitrary..",zn=s(a=>{let e=Kn(a),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=a;return{getClassGroupId:s(l=>{if(l.startsWith("[")&&l.endsWith("]"))return $n(l);let n=l.split(Za),d=n[0]===""&&n.length>1?1:0;return es(n,d,e)},"getClassGroupId"),getConflictingClassGroupIds:s((l,n)=>{if(n){let d=r[l],f=t[l];return d?f?Vn(f,d):d:f||Ko}return t[l]||Ko},"getConflictingClassGroupIds")}},"createClassGroupUtils"),es=s((a,e,t)=>{if(a.length-e===0)return t.classGroupId;let o=a[e],u=t.nextPart.get(o);if(u){let f=es(a,e+1,u);if(f)return f}let l=t.validators;if(l===null)return;let n=e===0?a.join(Za):a.slice(e).join(Za),d=l.length;for(let f=0;f<d;f++){let m=l[f];if(m.validator(n))return m.classGroupId}},"getGroupRecursive"),$n=s(a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let e=a.slice(1,-1),t=e.indexOf(":"),r=e.slice(0,t);return r?Wn+r:void 0})(),"getGroupIdForArbitraryProperty"),Kn=s(a=>{let{theme:e,classGroups:t}=a;return Xn(t,e)},"createClassMap"),Xn=s((a,e)=>{let t=Jo();for(let r in a){let o=a[r];Ht(o,t,r,e)}return t},"processClassGroups"),Ht=s((a,e,t,r)=>{let o=a.length;for(let u=0;u<o;u++){let l=a[u];Yn(l,e,t,r)}},"processClassesRecursively"),Yn=s((a,e,t,r)=>{if(typeof a=="string"){Qn(a,e,t);return}if(typeof a=="function"){Zn(a,e,t,r);return}Jn(a,e,t,r)},"processClassDefinition"),Qn=s((a,e,t)=>{let r=a===""?e:as(e,a);r.classGroupId=t},"processStringDefinition"),Zn=s((a,e,t,r)=>{if(el(a)){Ht(a(r),e,t,r);return}e.validators===null&&(e.validators=[]),e.validators.push(jn(t,a))},"processFunctionDefinition"),Jn=s((a,e,t,r)=>{let o=Object.entries(a),u=o.length;for(let l=0;l<u;l++){let[n,d]=o[l];Ht(d,as(e,n),t,r)}},"processObjectDefinition"),as=s((a,e)=>{let t=a,r=e.split(Za),o=r.length;for(let u=0;u<o;u++){let l=r[u],n=t.nextPart.get(l);n||(n=Jo(),t.nextPart.set(l,n)),t=n}return t},"getPart"),el=s(a=>"isThemeGetter"in a&&a.isThemeGetter===!0,"isThemeGetter"),al=s(a=>{if(a<1)return{get:s(()=>{},"get"),set:s(()=>{},"set")};let e=0,t=Object.create(null),r=Object.create(null),o=s((u,l)=>{t[u]=l,e++,e>a&&(e=0,r=t,t=Object.create(null))},"update");return{get(u){let l=t[u];if(l!==void 0)return l;if((l=r[u])!==void 0)return o(u,l),l},set(u,l){u in t?t[u]=l:o(u,l)}}},"createLruCache"),qt="!",Xo=":",tl=[],Yo=s((a,e,t,r,o)=>({modifiers:a,hasImportantModifier:e,baseClassName:t,maybePostfixModifierPosition:r,isExternal:o}),"createResultObject"),rl=s(a=>{let{prefix:e,experimentalParseClassName:t}=a,r=s(o=>{let u=[],l=0,n=0,d=0,f,m=o.length;for(let x=0;x<m;x++){let S=o[x];if(l===0&&n===0){if(S===Xo){u.push(o.slice(d,x)),d=x+1;continue}if(S==="/"){f=x;continue}}S==="["?l++:S==="]"?l--:S==="("?n++:S===")"&&n--}let c=u.length===0?o:o.slice(d),p=c,g=!1;c.endsWith(qt)?(p=c.slice(0,-1),g=!0):c.startsWith(qt)&&(p=c.slice(1),g=!0);let I=f&&f>d?f-d:void 0;return Yo(u,g,p,I)},"parseClassName");if(e){let o=e+Xo,u=r;r=s(l=>l.startsWith(o)?u(l.slice(o.length)):Yo(tl,!1,l,void 0,!0),"parseClassName")}if(t){let o=r;r=s(u=>t({className:u,parseClassName:o}),"parseClassName")}return r},"createParseClassName"),ol=s(a=>{let e=new Map;return a.orderSensitiveModifiers.forEach((t,r)=>{e.set(t,1e6+r)}),t=>{let r=[],o=[];for(let u=0;u<t.length;u++){let l=t[u],n=l[0]==="[",d=e.has(l);n||d?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(l)):o.push(l)}return o.length>0&&(o.sort(),r.push(...o)),r}},"createSortModifiers"),sl=s(a=>({cache:al(a.cacheSize),parseClassName:rl(a),sortModifiers:ol(a),...zn(a)}),"createConfigUtils"),ul=/\s+/,nl=s((a,e)=>{let{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:u}=e,l=[],n=a.trim().split(ul),d="";for(let f=n.length-1;f>=0;f-=1){let m=n[f],{isExternal:c,modifiers:p,hasImportantModifier:g,baseClassName:I,maybePostfixModifierPosition:x}=t(m);if(c){d=m+(d.length>0?" "+d:d);continue}let S=!!x,w=r(S?I.substring(0,x):I);if(!w){if(!S){d=m+(d.length>0?" "+d:d);continue}if(w=r(I),!w){d=m+(d.length>0?" "+d:d);continue}S=!1}let R=p.length===0?"":p.length===1?p[0]:u(p).join(":"),B=g?R+qt:R,A=B+w;if(l.indexOf(A)>-1)continue;l.push(A);let T=o(w,S);for(let G=0;G<T.length;++G){let b=T[G];l.push(B+b)}d=m+(d.length>0?" "+d:d)}return d},"mergeClassList"),ll=s((...a)=>{let e=0,t,r,o="";for(;e<a.length;)(t=a[e++])&&(r=ts(t))&&(o&&(o+=" "),o+=r);return o},"twJoin"),ts=s(a=>{if(typeof a=="string")return a;let e,t="";for(let r=0;r<a.length;r++)a[r]&&(e=ts(a[r]))&&(t&&(t+=" "),t+=e);return t},"toValue"),il=s((a,...e)=>{let t,r,o,u,l=s(d=>{let f=e.reduce((m,c)=>c(m),a());return t=sl(f),r=t.cache.get,o=t.cache.set,u=n,n(d)},"initTailwindMerge"),n=s(d=>{let f=r(d);if(f)return f;let m=nl(d,t);return o(d,m),m},"tailwindMerge");return u=l,(...d)=>u(ll(...d))},"createTailwindMerge"),dl=[],ne=s(a=>{let e=s(t=>t[a]||dl,"themeGetter");return e.isThemeGetter=!0,e},"fromTheme"),rs=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,os=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fl=/^\d+\/\d+$/,cl=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,pl=/\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$/,ml=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,hl=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,gl=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ia=s(a=>fl.test(a),"isFraction"),z=s(a=>!!a&&!Number.isNaN(Number(a)),"isNumber"),je=s(a=>!!a&&Number.isInteger(Number(a)),"isInteger"),Nt=s(a=>a.endsWith("%")&&z(a.slice(0,-1)),"isPercent"),Ne=s(a=>cl.test(a),"isTshirtSize"),Ll=s(()=>!0,"isAny"),xl=s(a=>pl.test(a)&&!ml.test(a),"isLengthOnly"),ss=s(()=>!1,"isNever"),Il=s(a=>hl.test(a),"isShadow"),Cl=s(a=>gl.test(a),"isImage"),Sl=s(a=>!k(a)&&!P(a),"isAnyNonArbitrary"),yl=s(a=>da(a,ls,ss),"isArbitrarySize"),k=s(a=>rs.test(a),"isArbitraryValue"),Ye=s(a=>da(a,is,xl),"isArbitraryLength"),Ut=s(a=>da(a,kl,z),"isArbitraryNumber"),Qo=s(a=>da(a,us,ss),"isArbitraryPosition"),wl=s(a=>da(a,ns,Cl),"isArbitraryImage"),Ya=s(a=>da(a,ds,Il),"isArbitraryShadow"),P=s(a=>os.test(a),"isArbitraryVariable"),ba=s(a=>fa(a,is),"isArbitraryVariableLength"),vl=s(a=>fa(a,Pl),"isArbitraryVariableFamilyName"),Zo=s(a=>fa(a,us),"isArbitraryVariablePosition"),bl=s(a=>fa(a,ls),"isArbitraryVariableSize"),Rl=s(a=>fa(a,ns),"isArbitraryVariableImage"),Qa=s(a=>fa(a,ds,!0),"isArbitraryVariableShadow"),da=s((a,e,t)=>{let r=rs.exec(a);return r?r[1]?e(r[1]):t(r[2]):!1},"getIsArbitraryValue"),fa=s((a,e,t=!1)=>{let r=os.exec(a);return r?r[1]?e(r[1]):t:!1},"getIsArbitraryVariable"),us=s(a=>a==="position"||a==="percentage","isLabelPosition"),ns=s(a=>a==="image"||a==="url","isLabelImage"),ls=s(a=>a==="length"||a==="size"||a==="bg-size","isLabelSize"),is=s(a=>a==="length","isLabelLength"),kl=s(a=>a==="number","isLabelNumber"),Pl=s(a=>a==="family-name","isLabelFamilyName"),ds=s(a=>a==="shadow","isLabelShadow");var Al=s(()=>{let a=ne("color"),e=ne("font"),t=ne("text"),r=ne("font-weight"),o=ne("tracking"),u=ne("leading"),l=ne("breakpoint"),n=ne("container"),d=ne("spacing"),f=ne("radius"),m=ne("shadow"),c=ne("inset-shadow"),p=ne("text-shadow"),g=ne("drop-shadow"),I=ne("blur"),x=ne("perspective"),S=ne("aspect"),w=ne("ease"),R=ne("animate"),B=s(()=>["auto","avoid","all","avoid-page","page","left","right","column"],"scaleBreak"),A=s(()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],"scalePosition"),T=s(()=>[...A(),P,k],"scalePositionWithArbitrary"),G=s(()=>["auto","hidden","clip","visible","scroll"],"scaleOverflow"),b=s(()=>["auto","contain","none"],"scaleOverscroll"),v=s(()=>[P,k,d],"scaleUnambiguousSpacing"),Y=s(()=>[ia,"full","auto",...v()],"scaleInset"),q=s(()=>[je,"none","subgrid",P,k],"scaleGridTemplateColsRows"),Be=s(()=>["auto",{span:["full",je,P,k]},je,P,k],"scaleGridColRowStartAndEnd"),ce=s(()=>[je,"auto",P,k],"scaleGridColRowStartOrEnd"),se=s(()=>["auto","min","max","fr",P,k],"scaleGridAutoColsRows"),ue=s(()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],"scaleAlignPrimaryAxis"),ie=s(()=>["start","end","center","stretch","center-safe","end-safe"],"scaleAlignSecondaryAxis"),Z=s(()=>["auto",...v()],"scaleMargin"),re=s(()=>[ia,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...v()],"scaleSizing"),O=s(()=>[a,P,k],"scaleColor"),Le=s(()=>[...A(),Zo,Qo,{position:[P,k]}],"scaleBgPosition"),Pe=s(()=>["no-repeat",{repeat:["","x","y","space","round"]}],"scaleBgRepeat"),L=s(()=>["auto","cover","contain",bl,yl,{size:[P,k]}],"scaleBgSize"),D=s(()=>[Nt,ba,Ye],"scaleGradientStopPosition"),F=s(()=>["","none","full",f,P,k],"scaleRadius"),W=s(()=>["",z,ba,Ye],"scaleBorderWidth"),we=s(()=>["solid","dashed","dotted","double"],"scaleLineStyle"),qe=s(()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],"scaleBlendMode"),V=s(()=>[z,Nt,Zo,Qo],"scaleMaskImagePosition"),pe=s(()=>["","none",I,P,k],"scaleBlur"),Ae=s(()=>["none",z,P,k],"scaleRotate"),_e=s(()=>["none",z,P,k],"scaleScale"),aa=s(()=>[z,P,k],"scaleSkew"),Ke=s(()=>[ia,"full",...v()],"scaleTranslate");return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ne],breakpoint:[Ne],color:[Ll],container:[Ne],"drop-shadow":[Ne],ease:["in","out","in-out"],font:[Sl],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ne],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ne],shadow:[Ne],spacing:["px",z],text:[Ne],"text-shadow":[Ne],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ia,k,P,S]}],container:["container"],columns:[{columns:[z,k,P,n]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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:T()}],overflow:[{overflow:G()}],"overflow-x":[{"overflow-x":G()}],"overflow-y":[{"overflow-y":G()}],overscroll:[{overscroll:b()}],"overscroll-x":[{"overscroll-x":b()}],"overscroll-y":[{"overscroll-y":b()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{start:Y()}],end:[{end:Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[je,"auto",P,k]}],basis:[{basis:[ia,"full","auto",n,...v()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[z,ia,"auto","initial","none",k]}],grow:[{grow:["",z,P,k]}],shrink:[{shrink:["",z,P,k]}],order:[{order:[je,"first","last","none",P,k]}],"grid-cols":[{"grid-cols":q()}],"col-start-end":[{col:Be()}],"col-start":[{"col-start":ce()}],"col-end":[{"col-end":ce()}],"grid-rows":[{"grid-rows":q()}],"row-start-end":[{row:Be()}],"row-start":[{"row-start":ce()}],"row-end":[{"row-end":ce()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":se()}],"auto-rows":[{"auto-rows":se()}],gap:[{gap:v()}],"gap-x":[{"gap-x":v()}],"gap-y":[{"gap-y":v()}],"justify-content":[{justify:[...ue(),"normal"]}],"justify-items":[{"justify-items":[...ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...ie()]}],"align-content":[{content:["normal",...ue()]}],"align-items":[{items:[...ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":ue()}],"place-items":[{"place-items":[...ie(),"baseline"]}],"place-self":[{"place-self":["auto",...ie()]}],p:[{p:v()}],px:[{px:v()}],py:[{py:v()}],ps:[{ps:v()}],pe:[{pe:v()}],pt:[{pt:v()}],pr:[{pr:v()}],pb:[{pb:v()}],pl:[{pl:v()}],m:[{m:Z()}],mx:[{mx:Z()}],my:[{my:Z()}],ms:[{ms:Z()}],me:[{me:Z()}],mt:[{mt:Z()}],mr:[{mr:Z()}],mb:[{mb:Z()}],ml:[{ml:Z()}],"space-x":[{"space-x":v()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":v()}],"space-y-reverse":["space-y-reverse"],size:[{size:re()}],w:[{w:[n,"screen",...re()]}],"min-w":[{"min-w":[n,"screen","none",...re()]}],"max-w":[{"max-w":[n,"screen","none","prose",{screen:[l]},...re()]}],h:[{h:["screen","lh",...re()]}],"min-h":[{"min-h":["screen","lh","none",...re()]}],"max-h":[{"max-h":["screen","lh",...re()]}],"font-size":[{text:["base",t,ba,Ye]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,P,Ut]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Nt,k]}],"font-family":[{font:[vl,k,e]}],"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:[o,P,k]}],"line-clamp":[{"line-clamp":[z,"none",P,Ut]}],leading:[{leading:[u,...v()]}],"list-image":[{"list-image":["none",P,k]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",P,k]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...we(),"wavy"]}],"text-decoration-thickness":[{decoration:[z,"from-font","auto",P,Ye]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[z,"auto",P,k]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:v()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P,k]}],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,k]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Le()}],"bg-repeat":[{bg:Pe()}],"bg-size":[{bg:L()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},je,P,k],radial:["",P,k],conic:[je,P,k]},Rl,wl]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...we(),"hidden","none"]}],"divide-style":[{divide:[...we(),"hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:[...we(),"none","hidden"]}],"outline-offset":[{"outline-offset":[z,P,k]}],"outline-w":[{outline:["",z,ba,Ye]}],"outline-color":[{outline:O()}],shadow:[{shadow:["","none",m,Qa,Ya]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",c,Qa,Ya]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[z,Ye]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":O()}],"text-shadow":[{"text-shadow":["none",p,Qa,Ya]}],"text-shadow-color":[{"text-shadow":O()}],opacity:[{opacity:[z,P,k]}],"mix-blend":[{"mix-blend":[...qe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":qe()}],"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":[z]}],"mask-image-linear-from-pos":[{"mask-linear-from":V()}],"mask-image-linear-to-pos":[{"mask-linear-to":V()}],"mask-image-linear-from-color":[{"mask-linear-from":O()}],"mask-image-linear-to-color":[{"mask-linear-to":O()}],"mask-image-t-from-pos":[{"mask-t-from":V()}],"mask-image-t-to-pos":[{"mask-t-to":V()}],"mask-image-t-from-color":[{"mask-t-from":O()}],"mask-image-t-to-color":[{"mask-t-to":O()}],"mask-image-r-from-pos":[{"mask-r-from":V()}],"mask-image-r-to-pos":[{"mask-r-to":V()}],"mask-image-r-from-color":[{"mask-r-from":O()}],"mask-image-r-to-color":[{"mask-r-to":O()}],"mask-image-b-from-pos":[{"mask-b-from":V()}],"mask-image-b-to-pos":[{"mask-b-to":V()}],"mask-image-b-from-color":[{"mask-b-from":O()}],"mask-image-b-to-color":[{"mask-b-to":O()}],"mask-image-l-from-pos":[{"mask-l-from":V()}],"mask-image-l-to-pos":[{"mask-l-to":V()}],"mask-image-l-from-color":[{"mask-l-from":O()}],"mask-image-l-to-color":[{"mask-l-to":O()}],"mask-image-x-from-pos":[{"mask-x-from":V()}],"mask-image-x-to-pos":[{"mask-x-to":V()}],"mask-image-x-from-color":[{"mask-x-from":O()}],"mask-image-x-to-color":[{"mask-x-to":O()}],"mask-image-y-from-pos":[{"mask-y-from":V()}],"mask-image-y-to-pos":[{"mask-y-to":V()}],"mask-image-y-from-color":[{"mask-y-from":O()}],"mask-image-y-to-color":[{"mask-y-to":O()}],"mask-image-radial":[{"mask-radial":[P,k]}],"mask-image-radial-from-pos":[{"mask-radial-from":V()}],"mask-image-radial-to-pos":[{"mask-radial-to":V()}],"mask-image-radial-from-color":[{"mask-radial-from":O()}],"mask-image-radial-to-color":[{"mask-radial-to":O()}],"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":A()}],"mask-image-conic-pos":[{"mask-conic":[z]}],"mask-image-conic-from-pos":[{"mask-conic-from":V()}],"mask-image-conic-to-pos":[{"mask-conic-to":V()}],"mask-image-conic-from-color":[{"mask-conic-from":O()}],"mask-image-conic-to-color":[{"mask-conic-to":O()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Le()}],"mask-repeat":[{mask:Pe()}],"mask-size":[{mask:L()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",P,k]}],filter:[{filter:["","none",P,k]}],blur:[{blur:pe()}],brightness:[{brightness:[z,P,k]}],contrast:[{contrast:[z,P,k]}],"drop-shadow":[{"drop-shadow":["","none",g,Qa,Ya]}],"drop-shadow-color":[{"drop-shadow":O()}],grayscale:[{grayscale:["",z,P,k]}],"hue-rotate":[{"hue-rotate":[z,P,k]}],invert:[{invert:["",z,P,k]}],saturate:[{saturate:[z,P,k]}],sepia:[{sepia:["",z,P,k]}],"backdrop-filter":[{"backdrop-filter":["","none",P,k]}],"backdrop-blur":[{"backdrop-blur":pe()}],"backdrop-brightness":[{"backdrop-brightness":[z,P,k]}],"backdrop-contrast":[{"backdrop-contrast":[z,P,k]}],"backdrop-grayscale":[{"backdrop-grayscale":["",z,P,k]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[z,P,k]}],"backdrop-invert":[{"backdrop-invert":["",z,P,k]}],"backdrop-opacity":[{"backdrop-opacity":[z,P,k]}],"backdrop-saturate":[{"backdrop-saturate":[z,P,k]}],"backdrop-sepia":[{"backdrop-sepia":["",z,P,k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":v()}],"border-spacing-x":[{"border-spacing-x":v()}],"border-spacing-y":[{"border-spacing-y":v()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",P,k]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[z,"initial",P,k]}],ease:[{ease:["linear","initial",w,P,k]}],delay:[{delay:[z,P,k]}],animate:[{animate:["none",R,P,k]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,P,k]}],"perspective-origin":[{"perspective-origin":T()}],rotate:[{rotate:Ae()}],"rotate-x":[{"rotate-x":Ae()}],"rotate-y":[{"rotate-y":Ae()}],"rotate-z":[{"rotate-z":Ae()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":["scale-3d"],skew:[{skew:aa()}],"skew-x":[{"skew-x":aa()}],"skew-y":[{"skew-y":aa()}],transform:[{transform:[P,k,"","none","gpu","cpu"]}],"transform-origin":[{origin:T()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ke()}],"translate-x":[{"translate-x":Ke()}],"translate-y":[{"translate-y":Ke()}],"translate-z":[{"translate-z":Ke()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"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,k]}],"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":v()}],"scroll-mx":[{"scroll-mx":v()}],"scroll-my":[{"scroll-my":v()}],"scroll-ms":[{"scroll-ms":v()}],"scroll-me":[{"scroll-me":v()}],"scroll-mt":[{"scroll-mt":v()}],"scroll-mr":[{"scroll-mr":v()}],"scroll-mb":[{"scroll-mb":v()}],"scroll-ml":[{"scroll-ml":v()}],"scroll-p":[{"scroll-p":v()}],"scroll-px":[{"scroll-px":v()}],"scroll-py":[{"scroll-py":v()}],"scroll-ps":[{"scroll-ps":v()}],"scroll-pe":[{"scroll-pe":v()}],"scroll-pt":[{"scroll-pt":v()}],"scroll-pr":[{"scroll-pr":v()}],"scroll-pb":[{"scroll-pb":v()}],"scroll-pl":[{"scroll-pl":v()}],"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,k]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[z,ba,Ye,Ut]}],stroke:[{stroke:["none",...O()]}],"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"]}},"getDefaultConfig");var fs=il(Al);function Qc(...a){return fs($o(a))}s(Qc,"cn");var Iu={};bu(Iu,{Close:()=>Qi,Content:()=>Ki,Description:()=>Yi,Dialog:()=>gr,DialogClose:()=>br,DialogContent:()=>Sr,DialogDescription:()=>vr,DialogOverlay:()=>Cr,DialogPortal:()=>Ir,DialogTitle:()=>wr,DialogTrigger:()=>Lr,Overlay:()=>$i,Portal:()=>zi,Root:()=>ji,Title:()=>Xi,Trigger:()=>Wi,WarningProvider:()=>qi,createDialogScope:()=>Di});var ee=M(U(),1);var ap=!!(typeof window<"u"&&window.document&&window.document.createElement);function Fe(a,e,{checkForDefaultPrevented:t=!0}={}){return s(function(o){if(a?.(o),t===!1||!o.defaultPrevented)return e?.(o)},"handleEvent")}s(Fe,"composeEventHandlers");var ps=M(U(),1);function cs(a,e){if(typeof a=="function")return a(e);a!=null&&(a.current=e)}s(cs,"setRef");function Gt(...a){return e=>{let t=!1,r=a.map(o=>{let u=cs(o,e);return!t&&typeof u=="function"&&(t=!0),u});if(t)return()=>{for(let o=0;o<r.length;o++){let u=r[o];typeof u=="function"?u():cs(a[o],null)}}}}s(Gt,"composeRefs");function Ee(...a){return ps.useCallback(Gt(...a),a)}s(Ee,"useComposedRefs");var be=M(U(),1),Vt=M(Ve(),1);function ms(a,e){let t=be.createContext(e),r=s(u=>{let{children:l,...n}=u,d=be.useMemo(()=>n,Object.values(n));return(0,Vt.jsx)(t.Provider,{value:d,children:l})},"Provider");r.displayName=a+"Provider";function o(u){let l=be.useContext(t);if(l)return l;if(e!==void 0)return e;throw new Error(`\`${u}\` must be used within \`${a}\``)}return s(o,"useContext2"),[r,o]}s(ms,"createContext2");function hs(a,e=[]){let t=[];function r(u,l){let n=be.createContext(l),d=t.length;t=[...t,l];let f=s(c=>{let{scope:p,children:g,...I}=c,x=p?.[a]?.[d]||n,S=be.useMemo(()=>I,Object.values(I));return(0,Vt.jsx)(x.Provider,{value:S,children:g})},"Provider");f.displayName=u+"Provider";function m(c,p){let g=p?.[a]?.[d]||n,I=be.useContext(g);if(I)return I;if(l!==void 0)return l;throw new Error(`\`${c}\` must be used within \`${u}\``)}return s(m,"useContext2"),[f,m]}s(r,"createContext3");let o=s(()=>{let u=t.map(l=>be.createContext(l));return s(function(n){let d=n?.[a]||u;return be.useMemo(()=>({[`__scope${a}`]:{...n,[a]:d}}),[n,d])},"useScope")},"createScope");return o.scopeName=a,[r,Tl(o,...e)]}s(hs,"createContextScope");function Tl(...a){let e=a[0];if(a.length===1)return e;let t=s(()=>{let r=a.map(o=>({useScope:o(),scopeName:o.scopeName}));return s(function(u){let l=r.reduce((n,{useScope:d,scopeName:f})=>{let c=d(u)[`__scope${f}`];return{...n,...c}},{});return be.useMemo(()=>({[`__scope${e.scopeName}`]:l}),[l])},"useComposedScopes")},"createScope");return t.scopeName=e.scopeName,t}s(Tl,"composeContextScopes");var jt=M(U(),1);var gs=M(U(),1),Ue=globalThis?.document?gs.useLayoutEffect:()=>{};var Ol=jt[" useId ".trim().toString()]||(()=>{}),El=0;function Ja(a){let[e,t]=jt.useState(Ol());return Ue(()=>{a||t(r=>r??String(El++))},[a]),a||(e?`radix-${e}`:"")}s(Ja,"useId");var Re=M(U(),1);var et=M(U(),1);var Dl=Re[" useInsertionEffect ".trim().toString()]||Ue;function Ls({prop:a,defaultProp:e,onChange:t=s(()=>{},"onChange"),caller:r}){let[o,u,l]=Ml({defaultProp:e,onChange:t}),n=a!==void 0,d=n?a:o;{let m=Re.useRef(a!==void 0);Re.useEffect(()=>{let c=m.current;c!==n&&console.warn(`${r} is changing from ${c?"controlled":"uncontrolled"} to ${n?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=n},[n,r])}let f=Re.useCallback(m=>{if(n){let c=Fl(m)?m(a):m;c!==a&&l.current?.(c)}else u(m)},[n,a,u,l]);return[d,f]}s(Ls,"useControllableState");function Ml({defaultProp:a,onChange:e}){let[t,r]=Re.useState(a),o=Re.useRef(t),u=Re.useRef(e);return Dl(()=>{u.current=e},[e]),Re.useEffect(()=>{o.current!==t&&(u.current?.(t),o.current=t)},[t,o]),[t,r,u]}s(Ml,"useUncontrolledState");function Fl(a){return typeof a=="function"}s(Fl,"isFunction");var pp=Symbol("RADIX:SYNC_STATE");var oe=M(U(),1);var ys=M(U(),1),ws=M(zt(),1);var le=M(U(),1);var tt=M(Ve(),1);function rt(a){let e=Ul(a),t=le.forwardRef((r,o)=>{let{children:u,...l}=r,n=le.Children.toArray(u),d=n.find(Hl);if(d){let f=d.props.children,m=n.map(c=>c===d?le.Children.count(f)>1?le.Children.only(null):le.isValidElement(f)?f.props.children:null:c);return(0,tt.jsx)(e,{...l,ref:o,children:le.isValidElement(f)?le.cloneElement(f,void 0,m):null})}return(0,tt.jsx)(e,{...l,ref:o,children:u})});return t.displayName=`${a}.Slot`,t}s(rt,"createSlot");function Ul(a){let e=le.forwardRef((t,r)=>{let{children:o,...u}=t;if(le.isValidElement(o)){let l=Vl(o),n=Gl(u,o.props);return o.type!==le.Fragment&&(n.ref=r?Gt(r,l):l),le.cloneElement(o,n)}return le.Children.count(o)>1?le.Children.only(null):null});return e.displayName=`${a}.SlotClone`,e}s(Ul,"createSlotClone");var ql=Symbol("radix.slottable");function Hl(a){return le.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===ql}s(Hl,"isSlottable");function Gl(a,e){let t={...e};for(let r in e){let o=a[r],u=e[r];/^on[A-Z]/.test(r)?o&&u?t[r]=(...n)=>{let d=u(...n);return o(...n),d}:o&&(t[r]=o):r==="style"?t[r]={...o,...u}:r==="className"&&(t[r]=[o,u].filter(Boolean).join(" "))}return{...a,...t}}s(Gl,"mergeProps");function Vl(a){let e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?a.ref:(e=Object.getOwnPropertyDescriptor(a,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?a.props.ref:a.props.ref||a.ref)}s(Vl,"getElementRef");var vs=M(Ve(),1);var jl=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ye=jl.reduce((a,e)=>{let t=rt(`Primitive.${e}`),r=ys.forwardRef((o,u)=>{let{asChild:l,...n}=o,d=l?t:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),(0,vs.jsx)(d,{...n,ref:u})});return r.displayName=`Primitive.${e}`,{...a,[e]:r}},{});function bs(a,e){a&&ws.flushSync(()=>a.dispatchEvent(e))}s(bs,"dispatchDiscreteCustomEvent");var ca=M(U(),1);function ze(a){let e=ca.useRef(a);return ca.useEffect(()=>{e.current=a}),ca.useMemo(()=>(...t)=>e.current?.(...t),[])}s(ze,"useCallbackRef");var Rs=M(U(),1);function ks(a,e=globalThis?.document){let t=ze(a);Rs.useEffect(()=>{let r=s(o=>{o.key==="Escape"&&t(o)},"handleKeyDown");return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[t,e])}s(ks,"useEscapeKeydown");var Kt=M(Ve(),1);var Wl="DismissableLayer",$t="dismissableLayer.update",zl="dismissableLayer.pointerDownOutside",$l="dismissableLayer.focusOutside",Ps,Ts=oe.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Xt=oe.forwardRef((a,e)=>{let{disableOutsidePointerEvents:t=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:u,onInteractOutside:l,onDismiss:n,...d}=a,f=oe.useContext(Ts),[m,c]=oe.useState(null),p=m?.ownerDocument??globalThis?.document,[,g]=oe.useState({}),I=Ee(e,b=>c(b)),x=Array.from(f.layers),[S]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),w=x.indexOf(S),R=m?x.indexOf(m):-1,B=f.layersWithOutsidePointerEventsDisabled.size>0,A=R>=w,T=Yl(b=>{let v=b.target,Y=[...f.branches].some(q=>q.contains(v));!A||Y||(o?.(b),l?.(b),b.defaultPrevented||n?.())},p),G=Ql(b=>{let v=b.target;[...f.branches].some(q=>q.contains(v))||(u?.(b),l?.(b),b.defaultPrevented||n?.())},p);return ks(b=>{R===f.layers.size-1&&(r?.(b),!b.defaultPrevented&&n&&(b.preventDefault(),n()))},p),oe.useEffect(()=>{if(m)return t&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Ps=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(m)),f.layers.add(m),As(),()=>{t&&f.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Ps)}},[m,p,t,f]),oe.useEffect(()=>()=>{m&&(f.layers.delete(m),f.layersWithOutsidePointerEventsDisabled.delete(m),As())},[m,f]),oe.useEffect(()=>{let b=s(()=>g({}),"handleUpdate");return document.addEventListener($t,b),()=>document.removeEventListener($t,b)},[]),(0,Kt.jsx)(ye.div,{...d,ref:I,style:{pointerEvents:B?A?"auto":"none":void 0,...a.style},onFocusCapture:Fe(a.onFocusCapture,G.onFocusCapture),onBlurCapture:Fe(a.onBlurCapture,G.onBlurCapture),onPointerDownCapture:Fe(a.onPointerDownCapture,T.onPointerDownCapture)})});Xt.displayName=Wl;var Kl="DismissableLayerBranch",Xl=oe.forwardRef((a,e)=>{let t=oe.useContext(Ts),r=oe.useRef(null),o=Ee(e,r);return oe.useEffect(()=>{let u=r.current;if(u)return t.branches.add(u),()=>{t.branches.delete(u)}},[t.branches]),(0,Kt.jsx)(ye.div,{...a,ref:o})});Xl.displayName=Kl;function Yl(a,e=globalThis?.document){let t=ze(a),r=oe.useRef(!1),o=oe.useRef(()=>{});return oe.useEffect(()=>{let u=s(n=>{if(n.target&&!r.current){let f=s(function(){Os(zl,t,m,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2");var d=f;let m={originalEvent:n};n.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=f,e.addEventListener("click",o.current,{once:!0})):f()}else e.removeEventListener("click",o.current);r.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{e.addEventListener("pointerdown",u)},0);return()=>{window.clearTimeout(l),e.removeEventListener("pointerdown",u),e.removeEventListener("click",o.current)}},[e,t]),{onPointerDownCapture:s(()=>r.current=!0,"onPointerDownCapture")}}s(Yl,"usePointerDownOutside");function Ql(a,e=globalThis?.document){let t=ze(a),r=oe.useRef(!1);return oe.useEffect(()=>{let o=s(u=>{u.target&&!r.current&&Os($l,t,{originalEvent:u},{discrete:!1})},"handleFocus");return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,t]),{onFocusCapture:s(()=>r.current=!0,"onFocusCapture"),onBlurCapture:s(()=>r.current=!1,"onBlurCapture")}}s(Ql,"useFocusOutside");function As(){let a=new CustomEvent($t);document.dispatchEvent(a)}s(As,"dispatchUpdate");function Os(a,e,t,{discrete:r}){let o=t.originalEvent.target,u=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:t});e&&o.addEventListener(a,e,{once:!0}),r?bs(o,u):o.dispatchEvent(u)}s(Os,"handleAndDispatchCustomEvent");var ke=M(U(),1);var Bs=M(Ve(),1);var Yt="focusScope.autoFocusOnMount",Qt="focusScope.autoFocusOnUnmount",Es={bubbles:!1,cancelable:!0},Zl="FocusScope",Zt=ke.forwardRef((a,e)=>{let{loop:t=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:u,...l}=a,[n,d]=ke.useState(null),f=ze(o),m=ze(u),c=ke.useRef(null),p=Ee(e,x=>d(x)),g=ke.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;ke.useEffect(()=>{if(r){let R=s(function(G){if(g.paused||!n)return;let b=G.target;n.contains(b)?c.current=b:$e(c.current,{select:!0})},"handleFocusIn2"),B=s(function(G){if(g.paused||!n)return;let b=G.relatedTarget;b!==null&&(n.contains(b)||$e(c.current,{select:!0}))},"handleFocusOut2"),A=s(function(G){if(document.activeElement===document.body)for(let v of G)v.removedNodes.length>0&&$e(n)},"handleMutations2");var x=R,S=B,w=A;document.addEventListener("focusin",R),document.addEventListener("focusout",B);let T=new MutationObserver(A);return n&&T.observe(n,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",R),document.removeEventListener("focusout",B),T.disconnect()}}},[r,n,g.paused]),ke.useEffect(()=>{if(n){Ms.add(g);let x=document.activeElement;if(!n.contains(x)){let w=new CustomEvent(Yt,Es);n.addEventListener(Yt,f),n.dispatchEvent(w),w.defaultPrevented||(Jl(oi(_s(n)),{select:!0}),document.activeElement===x&&$e(n))}return()=>{n.removeEventListener(Yt,f),setTimeout(()=>{let w=new CustomEvent(Qt,Es);n.addEventListener(Qt,m),n.dispatchEvent(w),w.defaultPrevented||$e(x??document.body,{select:!0}),n.removeEventListener(Qt,m),Ms.remove(g)},0)}}},[n,f,m,g]);let I=ke.useCallback(x=>{if(!t&&!r||g.paused)return;let S=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,w=document.activeElement;if(S&&w){let R=x.currentTarget,[B,A]=ei(R);B&&A?!x.shiftKey&&w===A?(x.preventDefault(),t&&$e(B,{select:!0})):x.shiftKey&&w===B&&(x.preventDefault(),t&&$e(A,{select:!0})):w===R&&x.preventDefault()}},[t,r,g.paused]);return(0,Bs.jsx)(ye.div,{tabIndex:-1,...l,ref:p,onKeyDown:I})});Zt.displayName=Zl;function Jl(a,{select:e=!1}={}){let t=document.activeElement;for(let r of a)if($e(r,{select:e}),document.activeElement!==t)return}s(Jl,"focusFirst");function ei(a){let e=_s(a),t=Ds(e,a),r=Ds(e.reverse(),a);return[t,r]}s(ei,"getTabbableEdges");function _s(a){let e=[],t=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:s(r=>{let o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;t.nextNode();)e.push(t.currentNode);return e}s(_s,"getTabbableCandidates");function Ds(a,e){for(let t of a)if(!ai(t,{upTo:e}))return t}s(Ds,"findVisible");function ai(a,{upTo:e}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(e!==void 0&&a===e)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}s(ai,"isHidden");function ti(a){return a instanceof HTMLInputElement&&"select"in a}s(ti,"isSelectableInput");function $e(a,{select:e=!1}={}){if(a&&a.focus){let t=document.activeElement;a.focus({preventScroll:!0}),a!==t&&ti(a)&&e&&a.select()}}s($e,"focus");var Ms=ri();function ri(){let a=[];return{add(e){let t=a[0];e!==t&&t?.pause(),a=Fs(a,e),a.unshift(e)},remove(e){a=Fs(a,e),a[0]?.resume()}}}s(ri,"createFocusScopesStack");function Fs(a,e){let t=[...a],r=t.indexOf(e);return r!==-1&&t.splice(r,1),t}s(Fs,"arrayRemove");function oi(a){return a.filter(e=>e.tagName!=="A")}s(oi,"removeLinks");var ot=M(U(),1),Ns=M(zt(),1);var Us=M(Ve(),1),si="Portal",Jt=ot.forwardRef((a,e)=>{let{container:t,...r}=a,[o,u]=ot.useState(!1);Ue(()=>u(!0),[]);let l=t||o&&globalThis?.document?.body;return l?Ns.default.createPortal((0,Us.jsx)(ye.div,{...r,ref:e}),l):null});Jt.displayName=si;var Ie=M(U(),1);var qs=M(U(),1);function ui(a,e){return qs.useReducer((t,r)=>e[t][r]??t,a)}s(ui,"useStateMachine");var ka=s(a=>{let{present:e,children:t}=a,r=ni(e),o=typeof t=="function"?t({present:r.isPresent}):Ie.Children.only(t),u=Ee(r.ref,li(o));return typeof t=="function"||r.isPresent?Ie.cloneElement(o,{ref:u}):null},"Presence");ka.displayName="Presence";function ni(a){let[e,t]=Ie.useState(),r=Ie.useRef(null),o=Ie.useRef(a),u=Ie.useRef("none"),l=a?"mounted":"unmounted",[n,d]=ui(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ie.useEffect(()=>{let f=st(r.current);u.current=n==="mounted"?f:"none"},[n]),Ue(()=>{let f=r.current,m=o.current;if(m!==a){let p=u.current,g=st(f);a?d("MOUNT"):g==="none"||f?.display==="none"?d("UNMOUNT"):d(m&&p!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=a}},[a,d]),Ue(()=>{if(e){let f,m=e.ownerDocument.defaultView??window,c=s(g=>{let x=st(r.current).includes(CSS.escape(g.animationName));if(g.target===e&&x&&(d("ANIMATION_END"),!o.current)){let S=e.style.animationFillMode;e.style.animationFillMode="forwards",f=m.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=S)})}},"handleAnimationEnd"),p=s(g=>{g.target===e&&(u.current=st(r.current))},"handleAnimationStart");return e.addEventListener("animationstart",p),e.addEventListener("animationcancel",c),e.addEventListener("animationend",c),()=>{m.clearTimeout(f),e.removeEventListener("animationstart",p),e.removeEventListener("animationcancel",c),e.removeEventListener("animationend",c)}}else d("ANIMATION_END")},[e,d]),{isPresent:["mounted","unmountSuspended"].includes(n),ref:Ie.useCallback(f=>{r.current=f?getComputedStyle(f):null,t(f)},[])}}s(ni,"usePresence");function st(a){return a?.animationName||"none"}s(st,"getAnimationName");function li(a){let e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?a.ref:(e=Object.getOwnPropertyDescriptor(a,"ref")?.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?a.props.ref:a.props.ref||a.ref)}s(li,"getElementRef");var Gs=M(U(),1);var er=0;function Vs(){Gs.useEffect(()=>{let a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??Hs()),document.body.insertAdjacentElement("beforeend",a[1]??Hs()),er++,()=>{er===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),er--}},[])}s(Vs,"useFocusGuards");function Hs(){let a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}s(Hs,"createFocusGuard");var Ce=s(function(){return Ce=Object.assign||s(function(e){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var u in t)Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u])}return e},"__assign"),Ce.apply(this,arguments)},"__assign");function ut(a,e){var t={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&e.indexOf(r)<0&&(t[r]=a[r]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(a);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(a,r[o])&&(t[r[o]]=a[r[o]]);return t}s(ut,"__rest");function js(a,e,t){if(t||arguments.length===2)for(var r=0,o=e.length,u;r<o;r++)(u||!(r in e))&&(u||(u=Array.prototype.slice.call(e,0,r)),u[r]=e[r]);return a.concat(u||Array.prototype.slice.call(e))}s(js,"__spreadArray");var ft=M(U());var fe=M(U());var Qe="right-scroll-bar-position",Ze="width-before-scroll-bar",ar="with-scroll-bars-hidden",tr="--removed-body-scroll-bar-size";function nt(a,e){return typeof a=="function"?a(e):a&&(a.current=e),a}s(nt,"assignRef");var Ws=M(U());function zs(a,e){var t=(0,Ws.useState)(function(){return{value:a,callback:e,facade:{get current(){return t.value},set current(r){var o=t.value;o!==r&&(t.value=r,t.callback(r,o))}}}})[0];return t.callback=e,t.facade}s(zs,"useCallbackRef");var lt=M(U());var ii=typeof window<"u"?lt.useLayoutEffect:lt.useEffect,$s=new WeakMap;function rr(a,e){var t=zs(e||null,function(r){return a.forEach(function(o){return nt(o,r)})});return ii(function(){var r=$s.get(t);if(r){var o=new Set(r),u=new Set(a),l=t.current;o.forEach(function(n){u.has(n)||nt(n,null)}),u.forEach(function(n){o.has(n)||nt(n,l)})}$s.set(t,a)},[a]),t}s(rr,"useMergeRefs");function di(a){return a}s(di,"ItoI");function fi(a,e){e===void 0&&(e=di);var t=[],r=!1,o={read:s(function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:a},"read"),useMedium:s(function(u){var l=e(u,r);return t.push(l),function(){t=t.filter(function(n){return n!==l})}},"useMedium"),assignSyncMedium:s(function(u){for(r=!0;t.length;){var l=t;t=[],l.forEach(u)}t={push:s(function(n){return u(n)},"push"),filter:s(function(){return t},"filter")}},"assignSyncMedium"),assignMedium:s(function(u){r=!0;var l=[];if(t.length){var n=t;t=[],n.forEach(u),l=t}var d=s(function(){var m=l;l=[],m.forEach(u)},"executeQueue"),f=s(function(){return Promise.resolve().then(d)},"cycle");f(),t={push:s(function(m){l.push(m),f()},"push"),filter:s(function(m){return l=l.filter(m),t},"filter")}},"assignMedium")};return o}s(fi,"innerCreateMedium");function or(a){a===void 0&&(a={});var e=fi(null);return e.options=Ce({async:!0,ssr:!1},a),e}s(or,"createSidecarMedium");var Ks=M(U());var Xs=s(function(a){var e=a.sideCar,t=ut(a,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return Ks.createElement(r,Ce({},t))},"SideCar");Xs.isSideCarExport=!0;function sr(a,e){return a.useMedium(e),Xs}s(sr,"exportSidecar");var it=or();var ur=s(function(){},"nothing"),Pa=fe.forwardRef(function(a,e){var t=fe.useRef(null),r=fe.useState({onScrollCapture:ur,onWheelCapture:ur,onTouchMoveCapture:ur}),o=r[0],u=r[1],l=a.forwardProps,n=a.children,d=a.className,f=a.removeScrollBar,m=a.enabled,c=a.shards,p=a.sideCar,g=a.noRelative,I=a.noIsolation,x=a.inert,S=a.allowPinchZoom,w=a.as,R=w===void 0?"div":w,B=a.gapMode,A=ut(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),T=p,G=rr([t,e]),b=Ce(Ce({},A),o);return fe.createElement(fe.Fragment,null,m&&fe.createElement(T,{sideCar:it,removeScrollBar:f,shards:c,noRelative:g,noIsolation:I,inert:x,setCallbacks:u,allowPinchZoom:!!S,lockRef:t,gapMode:B}),l?fe.cloneElement(fe.Children.only(n),Ce(Ce({},b),{ref:G})):fe.createElement(R,Ce({},b,{className:d,ref:G}),n))});Pa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Pa.classNames={fullWidth:Ze,zeroRight:Qe};var te=M(U());var ma=M(U());var Zs=M(U());var Ys;var Qs=s(function(){if(Ys)return Ys;if(typeof __webpack_nonce__<"u")return __webpack_nonce__},"getNonce");function ci(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var e=Qs();return e&&a.setAttribute("nonce",e),a}s(ci,"makeStyleTag");function pi(a,e){a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}s(pi,"injectStyles");function mi(a){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(a)}s(mi,"insertStyleTag");var nr=s(function(){var a=0,e=null;return{add:s(function(t){a==0&&(e=ci())&&(pi(e,t),mi(e)),a++},"add"),remove:s(function(){a--,!a&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)},"remove")}},"stylesheetSingleton");var lr=s(function(){var a=nr();return function(e,t){Zs.useEffect(function(){return a.add(e),function(){a.remove()}},[e&&t])}},"styleHookSingleton");var Aa=s(function(){var a=lr(),e=s(function(t){var r=t.styles,o=t.dynamic;return a(r,o),null},"Sheet");return e},"styleSingleton");var hi={left:0,top:0,right:0,gap:0},ir=s(function(a){return parseInt(a||"",10)||0},"parse"),gi=s(function(a){var e=window.getComputedStyle(document.body),t=e[a==="padding"?"paddingLeft":"marginLeft"],r=e[a==="padding"?"paddingTop":"marginTop"],o=e[a==="padding"?"paddingRight":"marginRight"];return[ir(t),ir(r),ir(o)]},"getOffset"),dr=s(function(a){if(a===void 0&&(a="margin"),typeof window>"u")return hi;var e=gi(a),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-t+e[2]-e[0])}},"getGapWidth");var Li=Aa(),pa="data-scroll-locked",xi=s(function(a,e,t,r){var o=a.left,u=a.top,l=a.right,n=a.gap;return t===void 0&&(t="margin"),`
|
|
23
|
+
.`.concat(ar,` {
|
|
24
|
+
overflow: hidden `).concat(r,`;
|
|
25
|
+
padding-right: `).concat(n,"px ").concat(r,`;
|
|
26
|
+
}
|
|
27
|
+
body[`).concat(pa,`] {
|
|
28
|
+
overflow: hidden `).concat(r,`;
|
|
29
|
+
overscroll-behavior: contain;
|
|
30
|
+
`).concat([e&&"position: relative ".concat(r,";"),t==="margin"&&`
|
|
31
|
+
padding-left: `.concat(o,`px;
|
|
32
|
+
padding-top: `).concat(u,`px;
|
|
33
|
+
padding-right: `).concat(l,`px;
|
|
34
|
+
margin-left:0;
|
|
35
|
+
margin-top:0;
|
|
36
|
+
margin-right: `).concat(n,"px ").concat(r,`;
|
|
37
|
+
`),t==="padding"&&"padding-right: ".concat(n,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.`).concat(Qe,` {
|
|
41
|
+
right: `).concat(n,"px ").concat(r,`;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.`).concat(Ze,` {
|
|
45
|
+
margin-right: `).concat(n,"px ").concat(r,`;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.`).concat(Qe," .").concat(Qe,` {
|
|
49
|
+
right: 0 `).concat(r,`;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.`).concat(Ze," .").concat(Ze,` {
|
|
53
|
+
margin-right: 0 `).concat(r,`;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
body[`).concat(pa,`] {
|
|
57
|
+
`).concat(tr,": ").concat(n,`px;
|
|
58
|
+
}
|
|
59
|
+
`)},"getStyles"),Js=s(function(){var a=parseInt(document.body.getAttribute(pa)||"0",10);return isFinite(a)?a:0},"getCurrentUseCounter"),Ii=s(function(){ma.useEffect(function(){return document.body.setAttribute(pa,(Js()+1).toString()),function(){var a=Js()-1;a<=0?document.body.removeAttribute(pa):document.body.setAttribute(pa,a.toString())}},[])},"useLockAttribute"),fr=s(function(a){var e=a.noRelative,t=a.noImportant,r=a.gapMode,o=r===void 0?"margin":r;Ii();var u=ma.useMemo(function(){return dr(o)},[o]);return ma.createElement(Li,{styles:xi(u,!e,o,t?"":"!important")})},"RemoveScrollBar");var cr=!1;if(typeof window<"u")try{Ta=Object.defineProperty({},"passive",{get:s(function(){return cr=!0,!0},"get")}),window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{cr=!1}var Ta,Je=cr?{passive:!1}:!1;var Ci=s(function(a){return a.tagName==="TEXTAREA"},"alwaysContainsScroll"),eu=s(function(a,e){if(!(a instanceof Element))return!1;var t=window.getComputedStyle(a);return t[e]!=="hidden"&&!(t.overflowY===t.overflowX&&!Ci(a)&&t[e]==="visible")},"elementCanBeScrolled"),Si=s(function(a){return eu(a,"overflowY")},"elementCouldBeVScrolled"),yi=s(function(a){return eu(a,"overflowX")},"elementCouldBeHScrolled"),pr=s(function(a,e){var t=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=au(a,r);if(o){var u=tu(a,r),l=u[1],n=u[2];if(l>n)return!0}r=r.parentNode}while(r&&r!==t.body);return!1},"locationCouldBeScrolled"),wi=s(function(a){var e=a.scrollTop,t=a.scrollHeight,r=a.clientHeight;return[e,t,r]},"getVScrollVariables"),vi=s(function(a){var e=a.scrollLeft,t=a.scrollWidth,r=a.clientWidth;return[e,t,r]},"getHScrollVariables"),au=s(function(a,e){return a==="v"?Si(e):yi(e)},"elementCouldBeScrolled"),tu=s(function(a,e){return a==="v"?wi(e):vi(e)},"getScrollVariables"),bi=s(function(a,e){return a==="h"&&e==="rtl"?-1:1},"getDirectionFactor"),ru=s(function(a,e,t,r,o){var u=bi(a,window.getComputedStyle(e).direction),l=u*r,n=t.target,d=e.contains(n),f=!1,m=l>0,c=0,p=0;do{if(!n)break;var g=tu(a,n),I=g[0],x=g[1],S=g[2],w=x-S-u*I;(I||w)&&au(a,n)&&(c+=w,p+=I);var R=n.parentNode;n=R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?R.host:R}while(!d&&n!==document.body||d&&(e.contains(n)||e===n));return(m&&(o&&Math.abs(c)<1||!o&&l>c)||!m&&(o&&Math.abs(p)<1||!o&&-l>p))&&(f=!0),f},"handleScroll");var dt=s(function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},"getTouchXY"),ou=s(function(a){return[a.deltaX,a.deltaY]},"getDeltaXY"),su=s(function(a){return a&&"current"in a?a.current:a},"extractRef"),Ri=s(function(a,e){return a[0]===e[0]&&a[1]===e[1]},"deltaCompare"),ki=s(function(a){return`
|
|
60
|
+
.block-interactivity-`.concat(a,` {pointer-events: none;}
|
|
61
|
+
.allow-interactivity-`).concat(a,` {pointer-events: all;}
|
|
62
|
+
`)},"generateStyle"),Pi=0,ha=[];function uu(a){var e=te.useRef([]),t=te.useRef([0,0]),r=te.useRef(),o=te.useState(Pi++)[0],u=te.useState(Aa)[0],l=te.useRef(a);te.useEffect(function(){l.current=a},[a]),te.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(o));var x=js([a.lockRef.current],(a.shards||[]).map(su),!0).filter(Boolean);return x.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),x.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[a.inert,a.lockRef.current,a.shards]);var n=te.useCallback(function(x,S){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var w=dt(x),R=t.current,B="deltaX"in x?x.deltaX:R[0]-w[0],A="deltaY"in x?x.deltaY:R[1]-w[1],T,G=x.target,b=Math.abs(B)>Math.abs(A)?"h":"v";if("touches"in x&&b==="h"&&G.type==="range")return!1;var v=pr(b,G);if(!v)return!0;if(v?T=b:(T=b==="v"?"h":"v",v=pr(b,G)),!v)return!1;if(!r.current&&"changedTouches"in x&&(B||A)&&(r.current=T),!T)return!0;var Y=r.current||T;return ru(Y,S,x,Y==="h"?B:A,!0)},[]),d=te.useCallback(function(x){var S=x;if(!(!ha.length||ha[ha.length-1]!==u)){var w="deltaY"in S?ou(S):dt(S),R=e.current.filter(function(T){return T.name===S.type&&(T.target===S.target||S.target===T.shadowParent)&&Ri(T.delta,w)})[0];if(R&&R.should){S.cancelable&&S.preventDefault();return}if(!R){var B=(l.current.shards||[]).map(su).filter(Boolean).filter(function(T){return T.contains(S.target)}),A=B.length>0?n(S,B[0]):!l.current.noIsolation;A&&S.cancelable&&S.preventDefault()}}},[]),f=te.useCallback(function(x,S,w,R){var B={name:x,delta:S,target:w,should:R,shadowParent:Ai(w)};e.current.push(B),setTimeout(function(){e.current=e.current.filter(function(A){return A!==B})},1)},[]),m=te.useCallback(function(x){t.current=dt(x),r.current=void 0},[]),c=te.useCallback(function(x){f(x.type,ou(x),x.target,n(x,a.lockRef.current))},[]),p=te.useCallback(function(x){f(x.type,dt(x),x.target,n(x,a.lockRef.current))},[]);te.useEffect(function(){return ha.push(u),a.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",d,Je),document.addEventListener("touchmove",d,Je),document.addEventListener("touchstart",m,Je),function(){ha=ha.filter(function(x){return x!==u}),document.removeEventListener("wheel",d,Je),document.removeEventListener("touchmove",d,Je),document.removeEventListener("touchstart",m,Je)}},[]);var g=a.removeScrollBar,I=a.inert;return te.createElement(te.Fragment,null,I?te.createElement(u,{styles:ki(o)}):null,g?te.createElement(fr,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}s(uu,"RemoveScrollSideCar");function Ai(a){for(var e=null;a!==null;)a instanceof ShadowRoot&&(e=a.host,a=a.host),a=a.parentNode;return e}s(Ai,"getOutermostShadowParent");var nu=sr(it,uu);var lu=ft.forwardRef(function(a,e){return ft.createElement(Pa,Ce({},a,{ref:e,sideCar:nu}))});lu.classNames=Pa.classNames;var mr=lu;var Ti=s(function(a){if(typeof document>"u")return null;var e=Array.isArray(a)?a[0]:a;return e.ownerDocument.body},"getDefaultParent"),ga=new WeakMap,ct=new WeakMap,pt={},hr=0,iu=s(function(a){return a&&(a.host||iu(a.parentNode))},"unwrapHost"),Oi=s(function(a,e){return e.map(function(t){if(a.contains(t))return t;var r=iu(t);return r&&a.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",a,". Doing nothing"),null)}).filter(function(t){return!!t})},"correctTargets"),Ei=s(function(a,e,t,r){var o=Oi(e,Array.isArray(a)?a:[a]);pt[t]||(pt[t]=new WeakMap);var u=pt[t],l=[],n=new Set,d=new Set(o),f=s(function(c){!c||n.has(c)||(n.add(c),f(c.parentNode))},"keep");o.forEach(f);var m=s(function(c){!c||d.has(c)||Array.prototype.forEach.call(c.children,function(p){if(n.has(p))m(p);else try{var g=p.getAttribute(r),I=g!==null&&g!=="false",x=(ga.get(p)||0)+1,S=(u.get(p)||0)+1;ga.set(p,x),u.set(p,S),l.push(p),x===1&&I&&ct.set(p,!0),S===1&&p.setAttribute(t,"true"),I||p.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",p,w)}})},"deep");return m(e),n.clear(),hr++,function(){l.forEach(function(c){var p=ga.get(c)-1,g=u.get(c)-1;ga.set(c,p),u.set(c,g),p||(ct.has(c)||c.removeAttribute(r),ct.delete(c)),g||c.removeAttribute(t)}),hr--,hr||(ga=new WeakMap,ga=new WeakMap,ct=new WeakMap,pt={})}},"applyAttributeToOthers"),du=s(function(a,e,t){t===void 0&&(t="data-aria-hidden");var r=Array.from(Array.isArray(a)?a:[a]),o=e||Ti(a);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),Ei(r,o,t,"aria-hidden")):function(){return null}},"hideOthers");var Q=M(Ve(),1);var ht="Dialog",[fu,Di]=hs(ht),[Mi,De]=fu(ht),gr=s(a=>{let{__scopeDialog:e,children:t,open:r,defaultOpen:o,onOpenChange:u,modal:l=!0}=a,n=ee.useRef(null),d=ee.useRef(null),[f,m]=Ls({prop:r,defaultProp:o??!1,onChange:u,caller:ht});return(0,Q.jsx)(Mi,{scope:e,triggerRef:n,contentRef:d,contentId:Ja(),titleId:Ja(),descriptionId:Ja(),open:f,onOpenChange:m,onOpenToggle:ee.useCallback(()=>m(c=>!c),[m]),modal:l,children:t})},"Dialog");gr.displayName=ht;var cu="DialogTrigger",Lr=ee.forwardRef((a,e)=>{let{__scopeDialog:t,...r}=a,o=De(cu,t),u=Ee(e,o.triggerRef);return(0,Q.jsx)(ye.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Rr(o.open),...r,ref:u,onClick:Fe(a.onClick,o.onOpenToggle)})});Lr.displayName=cu;var xr="DialogPortal",[Fi,pu]=fu(xr,{forceMount:void 0}),Ir=s(a=>{let{__scopeDialog:e,forceMount:t,children:r,container:o}=a,u=De(xr,e);return(0,Q.jsx)(Fi,{scope:e,forceMount:t,children:ee.Children.map(r,l=>(0,Q.jsx)(ka,{present:t||u.open,children:(0,Q.jsx)(Jt,{asChild:!0,container:o,children:l})}))})},"DialogPortal");Ir.displayName=xr;var mt="DialogOverlay",Cr=ee.forwardRef((a,e)=>{let t=pu(mt,a.__scopeDialog),{forceMount:r=t.forceMount,...o}=a,u=De(mt,a.__scopeDialog);return u.modal?(0,Q.jsx)(ka,{present:r||u.open,children:(0,Q.jsx)(_i,{...o,ref:e})}):null});Cr.displayName=mt;var Bi=rt("DialogOverlay.RemoveScroll"),_i=ee.forwardRef((a,e)=>{let{__scopeDialog:t,...r}=a,o=De(mt,t);return(0,Q.jsx)(mr,{as:Bi,allowPinchZoom:!0,shards:[o.contentRef],children:(0,Q.jsx)(ye.div,{"data-state":Rr(o.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),ea="DialogContent",Sr=ee.forwardRef((a,e)=>{let t=pu(ea,a.__scopeDialog),{forceMount:r=t.forceMount,...o}=a,u=De(ea,a.__scopeDialog);return(0,Q.jsx)(ka,{present:r||u.open,children:u.modal?(0,Q.jsx)(Ni,{...o,ref:e}):(0,Q.jsx)(Ui,{...o,ref:e})})});Sr.displayName=ea;var Ni=ee.forwardRef((a,e)=>{let t=De(ea,a.__scopeDialog),r=ee.useRef(null),o=Ee(e,t.contentRef,r);return ee.useEffect(()=>{let u=r.current;if(u)return du(u)},[]),(0,Q.jsx)(mu,{...a,ref:o,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Fe(a.onCloseAutoFocus,u=>{u.preventDefault(),t.triggerRef.current?.focus()}),onPointerDownOutside:Fe(a.onPointerDownOutside,u=>{let l=u.detail.originalEvent,n=l.button===0&&l.ctrlKey===!0;(l.button===2||n)&&u.preventDefault()}),onFocusOutside:Fe(a.onFocusOutside,u=>u.preventDefault())})}),Ui=ee.forwardRef((a,e)=>{let t=De(ea,a.__scopeDialog),r=ee.useRef(!1),o=ee.useRef(!1);return(0,Q.jsx)(mu,{...a,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s(u=>{a.onCloseAutoFocus?.(u),u.defaultPrevented||(r.current||t.triggerRef.current?.focus(),u.preventDefault()),r.current=!1,o.current=!1},"onCloseAutoFocus"),onInteractOutside:s(u=>{a.onInteractOutside?.(u),u.defaultPrevented||(r.current=!0,u.detail.originalEvent.type==="pointerdown"&&(o.current=!0));let l=u.target;t.triggerRef.current?.contains(l)&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&o.current&&u.preventDefault()},"onInteractOutside")})}),mu=ee.forwardRef((a,e)=>{let{__scopeDialog:t,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:u,...l}=a,n=De(ea,t),d=ee.useRef(null),f=Ee(e,d);return Vs(),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Zt,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:u,children:(0,Q.jsx)(Xt,{role:"dialog",id:n.contentId,"aria-describedby":n.descriptionId,"aria-labelledby":n.titleId,"data-state":Rr(n.open),...l,ref:f,onDismiss:s(()=>n.onOpenChange(!1),"onDismiss")})}),(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(Hi,{titleId:n.titleId}),(0,Q.jsx)(Vi,{contentRef:d,descriptionId:n.descriptionId})]})]})}),yr="DialogTitle",wr=ee.forwardRef((a,e)=>{let{__scopeDialog:t,...r}=a,o=De(yr,t);return(0,Q.jsx)(ye.h2,{id:o.titleId,...r,ref:e})});wr.displayName=yr;var hu="DialogDescription",vr=ee.forwardRef((a,e)=>{let{__scopeDialog:t,...r}=a,o=De(hu,t);return(0,Q.jsx)(ye.p,{id:o.descriptionId,...r,ref:e})});vr.displayName=hu;var gu="DialogClose",br=ee.forwardRef((a,e)=>{let{__scopeDialog:t,...r}=a,o=De(gu,t);return(0,Q.jsx)(ye.button,{type:"button",...r,ref:e,onClick:Fe(a.onClick,()=>o.onOpenChange(!1))})});br.displayName=gu;function Rr(a){return a?"open":"closed"}s(Rr,"getState");var Lu="DialogTitleWarning",[qi,xu]=ms(Lu,{contentName:ea,titleName:yr,docsSlug:"dialog"}),Hi=s(({titleId:a})=>{let e=xu(Lu),t=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
63
|
+
|
|
64
|
+
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
65
|
+
|
|
66
|
+
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return ee.useEffect(()=>{a&&(document.getElementById(a)||console.error(t))},[t,a]),null},"TitleWarning"),Gi="DialogDescriptionWarning",Vi=s(({contentRef:a,descriptionId:e})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${xu(Gi).contentName}}.`;return ee.useEffect(()=>{let o=a.current?.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(r))},[r,a,e]),null},"DescriptionWarning"),ji=gr,Wi=Lr,zi=Ir,$i=Cr,Ki=Sr,Xi=wr,Yi=vr,Qi=br;export{U as a,Bt as b,Ve as c,Tt as d,$o as e,Qc as f,zt as g,Iu as h};
|
|
67
|
+
/*! Bundled license information:
|
|
68
|
+
|
|
69
|
+
react/cjs/react.production.js:
|
|
70
|
+
(**
|
|
71
|
+
* @license React
|
|
72
|
+
* react.production.js
|
|
73
|
+
*
|
|
74
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
75
|
+
*
|
|
76
|
+
* This source code is licensed under the MIT license found in the
|
|
77
|
+
* LICENSE file in the root directory of this source tree.
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
react/cjs/react.development.js:
|
|
81
|
+
(**
|
|
82
|
+
* @license React
|
|
83
|
+
* react.development.js
|
|
84
|
+
*
|
|
85
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the MIT license found in the
|
|
88
|
+
* LICENSE file in the root directory of this source tree.
|
|
89
|
+
*)
|
|
90
|
+
|
|
91
|
+
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
|
|
92
|
+
(**
|
|
93
|
+
* @license React
|
|
94
|
+
* use-sync-external-store-shim.production.js
|
|
95
|
+
*
|
|
96
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the MIT license found in the
|
|
99
|
+
* LICENSE file in the root directory of this source tree.
|
|
100
|
+
*)
|
|
101
|
+
|
|
102
|
+
use-sync-external-store/cjs/use-sync-external-store-shim.development.js:
|
|
103
|
+
(**
|
|
104
|
+
* @license React
|
|
105
|
+
* use-sync-external-store-shim.development.js
|
|
106
|
+
*
|
|
107
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
108
|
+
*
|
|
109
|
+
* This source code is licensed under the MIT license found in the
|
|
110
|
+
* LICENSE file in the root directory of this source tree.
|
|
111
|
+
*)
|
|
112
|
+
|
|
113
|
+
react/cjs/react-jsx-runtime.production.js:
|
|
114
|
+
(**
|
|
115
|
+
* @license React
|
|
116
|
+
* react-jsx-runtime.production.js
|
|
117
|
+
*
|
|
118
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
119
|
+
*
|
|
120
|
+
* This source code is licensed under the MIT license found in the
|
|
121
|
+
* LICENSE file in the root directory of this source tree.
|
|
122
|
+
*)
|
|
123
|
+
|
|
124
|
+
react/cjs/react-jsx-runtime.development.js:
|
|
125
|
+
(**
|
|
126
|
+
* @license React
|
|
127
|
+
* react-jsx-runtime.development.js
|
|
128
|
+
*
|
|
129
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
130
|
+
*
|
|
131
|
+
* This source code is licensed under the MIT license found in the
|
|
132
|
+
* LICENSE file in the root directory of this source tree.
|
|
133
|
+
*)
|
|
134
|
+
|
|
135
|
+
react-dom/cjs/react-dom.production.js:
|
|
136
|
+
(**
|
|
137
|
+
* @license React
|
|
138
|
+
* react-dom.production.js
|
|
139
|
+
*
|
|
140
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
141
|
+
*
|
|
142
|
+
* This source code is licensed under the MIT license found in the
|
|
143
|
+
* LICENSE file in the root directory of this source tree.
|
|
144
|
+
*)
|
|
145
|
+
|
|
146
|
+
react-dom/cjs/react-dom.development.js:
|
|
147
|
+
(**
|
|
148
|
+
* @license React
|
|
149
|
+
* react-dom.development.js
|
|
150
|
+
*
|
|
151
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
152
|
+
*
|
|
153
|
+
* This source code is licensed under the MIT license found in the
|
|
154
|
+
* LICENSE file in the root directory of this source tree.
|
|
155
|
+
*)
|
|
156
|
+
|
|
157
|
+
lucide-react/dist/esm/shared/src/utils.js:
|
|
158
|
+
lucide-react/dist/esm/defaultAttributes.js:
|
|
159
|
+
lucide-react/dist/esm/Icon.js:
|
|
160
|
+
lucide-react/dist/esm/createLucideIcon.js:
|
|
161
|
+
lucide-react/dist/esm/icons/x.js:
|
|
162
|
+
lucide-react/dist/esm/lucide-react.js:
|
|
163
|
+
(**
|
|
164
|
+
* @license lucide-react v0.553.0 - ISC
|
|
165
|
+
*
|
|
166
|
+
* This source code is licensed under the ISC license.
|
|
167
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
168
|
+
*)
|
|
169
|
+
*/
|