@primereact/core 11.0.0-rc.1 → 11.0.0-rc.2
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/api/{index.d.mts → FilterMatchMode.d.ts} +2 -10
- package/api/FilterOperator.d.ts +5 -0
- package/api/index.d.ts +2 -0
- package/api/index.mjs +0 -1
- package/base/index.d.ts +1 -0
- package/base/index.mjs +1 -2
- package/base/{index.d.mts → useBase.d.ts} +2 -5
- package/component/Component.d.ts +11 -0
- package/component/Component.props.d.ts +3 -0
- package/component/Component.utils.d.ts +12 -0
- package/component/index.d.ts +4 -0
- package/component/index.mjs +1 -2
- package/component/useComponent.d.ts +30 -0
- package/component/useComponentPT.d.ts +9 -0
- package/component/useComponentStyle.d.ts +10 -0
- package/component/useComponentStyleHandler.d.ts +51 -0
- package/component/withComponent.d.ts +22 -0
- package/config/PrimeReact.context.d.ts +4 -0
- package/config/PrimeReact.props.d.ts +2 -0
- package/config/index.d.ts +3 -0
- package/config/index.mjs +3 -2
- package/config/usePrimeReact.d.ts +6 -0
- package/dnd/announcements.d.ts +5 -0
- package/dnd/collision.d.ts +39 -0
- package/dnd/createDnd.d.ts +15 -0
- package/dnd/index.d.ts +3 -0
- package/dnd/index.mjs +1 -2
- package/dnd/sortable.d.ts +56 -0
- package/dnd/utils.d.ts +21 -0
- package/headless/index.d.ts +2 -0
- package/headless/index.mjs +0 -1
- package/headless/useHeadless.d.ts +9 -0
- package/headless/withHeadless.d.ts +15 -0
- package/icon/Icon.d.ts +2 -0
- package/icon/Icon.props.d.ts +2 -0
- package/icon/Icon.style.d.ts +2 -0
- package/icon/index.d.ts +5 -0
- package/icon/index.mjs +3 -2
- package/icon/useIcon.d.ts +6 -0
- package/icon/withIcon.d.ts +22 -0
- package/{index.d.mts → index.d.ts} +1 -0
- package/index.mjs +0 -1
- package/license/index.d.ts +1 -0
- package/license/index.mjs +1 -2
- package/license/{index.d.mts → licensebanner.d.ts} +1 -3
- package/locale/Locale.context.d.ts +4 -0
- package/locale/Locale.props.d.ts +2 -0
- package/locale/defaultLocale.d.ts +125 -0
- package/locale/index.d.ts +5 -0
- package/locale/index.mjs +3 -2
- package/locale/useLocale.d.ts +6 -0
- package/motion/Motion.context.d.ts +5 -0
- package/motion/Motion.d.ts +2 -0
- package/motion/Motion.props.d.ts +2 -0
- package/motion/Motion.utils.d.ts +4 -0
- package/motion/index.d.ts +5 -0
- package/motion/index.mjs +3 -2
- package/motion/useMotion.d.ts +23 -0
- package/motion/useMotion.props.d.ts +2 -0
- package/overlay-manager/{index.d.mts → OverlayManager.d.ts} +7 -10
- package/overlay-manager/index.d.ts +1 -0
- package/overlay-manager/index.mjs +1 -2
- package/package.json +14 -11
- package/passthrough/PassThrough.context.d.ts +4 -0
- package/passthrough/PassThrough.props.d.ts +2 -0
- package/passthrough/index.d.ts +3 -0
- package/passthrough/index.mjs +2 -1
- package/passthrough/usePassThrough.d.ts +1 -0
- package/stylesheet/PrimeReactStyleSheet.d.ts +7 -0
- package/stylesheet/index.d.ts +1 -0
- package/stylesheet/index.mjs +1 -2
- package/theme/Theme.context.d.ts +4 -0
- package/theme/Theme.props.d.ts +2 -0
- package/theme/index.d.ts +3 -0
- package/theme/index.mjs +3 -2
- package/theme/useTheme.d.ts +1 -0
- package/umd/index.js +6 -5
- package/use-style/index.d.ts +2 -0
- package/use-style/index.mjs +1 -2
- package/use-style/useStyle.d.ts +2 -0
- package/use-style/useStyle.props.d.ts +1 -0
- package/utils/ConnectedOverlayScrollHandler.d.ts +10 -0
- package/utils/combinedRefs.d.ts +2 -0
- package/utils/createContext.d.ts +9 -0
- package/utils/env.d.ts +1 -0
- package/utils/index.d.ts +10 -0
- package/utils/index.mjs +3 -2
- package/utils/mergeRefs.d.ts +11 -0
- package/utils/overlayEventBus.d.ts +9 -0
- package/utils/stylePreloadRegistry.d.ts +33 -0
- package/utils/styleRegistry.d.ts +19 -0
- package/api/index.mjs.map +0 -1
- package/base/index.mjs.map +0 -1
- package/component/index.d.mts +0 -71
- package/component/index.mjs.map +0 -1
- package/config/index.d.mts +0 -17
- package/config/index.mjs.map +0 -1
- package/dnd/index.d.mts +0 -69
- package/dnd/index.mjs.map +0 -1
- package/headless/index.d.mts +0 -28
- package/headless/index.mjs.map +0 -1
- package/icon/index.d.mts +0 -40
- package/icon/index.mjs.map +0 -1
- package/index.mjs.map +0 -1
- package/license/index.mjs.map +0 -1
- package/locale/index.d.mts +0 -12
- package/locale/index.mjs.map +0 -1
- package/motion/index.d.mts +0 -42
- package/motion/index.mjs.map +0 -1
- package/overlay-manager/index.mjs.map +0 -1
- package/passthrough/index.d.mts +0 -12
- package/passthrough/index.mjs.map +0 -1
- package/stylesheet/index.d.mts +0 -10
- package/stylesheet/index.mjs.map +0 -1
- package/theme/index.d.mts +0 -12
- package/theme/index.mjs.map +0 -1
- package/umd/index.js.map +0 -1
- package/use-style/index.d.mts +0 -7
- package/use-style/index.mjs.map +0 -1
- package/utils/index.d.mts +0 -104
- package/utils/index.mjs.map +0 -1
package/umd/index.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
"use strict";var PrimeReact=PrimeReact||{};PrimeReact.Core=(()=>{var mi=Object.create;var Yt=Object.defineProperty,gi=Object.defineProperties,hi=Object.getOwnPropertyDescriptor,yi=Object.getOwnPropertyDescriptors,vi=Object.getOwnPropertyNames,pn=Object.getOwnPropertySymbols,bi=Object.getPrototypeOf,Un=Object.prototype.hasOwnProperty,po=Object.prototype.propertyIsEnumerable;var jn=(e,t,n)=>t in e?Yt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))Un.call(t,n)&&jn(e,n,t[n]);if(pn)for(var n of pn(t))po.call(t,n)&&jn(e,n,t[n]);return e},B=(e,t)=>gi(e,yi(t));var Gt=(e,t)=>{var n={};for(var r in e)Un.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&pn)for(var r of pn(e))t.indexOf(r)<0&&po.call(e,r)&&(n[r]=e[r]);return n};var Bn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ri=(e,t)=>{for(var n in t)Yt(e,n,{get:t[n],enumerable:!0})},mo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of vi(t))!Un.call(e,o)&&o!==n&&Yt(e,o,{get:()=>t[o],enumerable:!(r=hi(t,o))||r.enumerable});return e};var K=(e,t,n)=>(n=e!=null?mi(bi(e)):{},mo(t||!e||!e.__esModule?Yt(n,"default",{value:e,enumerable:!0}):n,e)),xi=e=>mo(Yt({},"__esModule",{value:!0}),e);var yt=(e,t,n)=>jn(e,typeof t!="symbol"?t+"":t,n);var Xt=(e,t,n)=>new Promise((r,o)=>{var a=l=>{try{u(n.next(l))}catch(c){o(c)}},i=l=>{try{u(n.throw(l))}catch(c){o(c)}},u=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,i);u((n=n.apply(e,t)).next())});var Co=Bn(G=>{"use strict";var Wn=Symbol.for("react.transitional.element"),Si=Symbol.for("react.portal"),Ti=Symbol.for("react.fragment"),Ci=Symbol.for("react.strict_mode"),wi=Symbol.for("react.profiler"),Pi=Symbol.for("react.consumer"),Mi=Symbol.for("react.context"),Ii=Symbol.for("react.forward_ref"),ki=Symbol.for("react.suspense"),Oi=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),_i=Symbol.for("react.activity"),go=Symbol.iterator;function Li(e){return e===null||typeof e!="object"?null:(e=go&&e[go]||e["@@iterator"],typeof e=="function"?e:null)}var Ro={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},xo=Object.assign,Eo={};function It(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||Ro}It.prototype.isReactComponent={};It.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};It.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function So(){}So.prototype=It.prototype;function qn(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||Ro}var Yn=qn.prototype=new So;Yn.constructor=qn;xo(Yn,It.prototype);Yn.isPureReactComponent=!0;var ho=Array.isArray;function zn(){}var me={H:null,A:null,T:null,S:null},To=Object.prototype.hasOwnProperty;function Gn(e,t,n){var r=n.ref;return{$$typeof:Wn,type:e,key:t,ref:r!==void 0?r:null,props:n}}function Ai(e,t){return Gn(e.type,t,e.props)}function Xn(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wn}function Di(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var yo=/\/+/g;function Kn(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Di(""+e.key):t.toString(36)}function Ni(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(zn,zn):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function Mt(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Wn:case Si:i=!0;break;case bo:return i=e._init,Mt(i(e._payload),t,n,r,o)}}if(i)return o=o(e),i=r===""?"."+Kn(e,0):r,ho(o)?(n="",i!=null&&(n=i.replace(yo,"$&/")+"/"),Mt(o,t,n,"",function(c){return c})):o!=null&&(Xn(o)&&(o=Ai(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(yo,"$&/")+"/")+i)),t.push(o)),1;i=0;var u=r===""?".":r+":";if(ho(e))for(var l=0;l<e.length;l++)r=e[l],a=u+Kn(r,l),i+=Mt(r,t,n,a,o);else if(l=Li(e),typeof l=="function")for(e=l.call(e),l=0;!(r=e.next()).done;)r=r.value,a=u+Kn(r,l++),i+=Mt(r,t,n,a,o);else if(a==="object"){if(typeof e.then=="function")return Mt(Ni(e),t,n,r,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function mn(e,t,n){if(e==null)return e;var r=[],o=0;return Mt(e,r,"","",function(a){return t.call(n,a,o++)}),r}function Fi(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var vo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},$i={map:mn,forEach:function(e,t,n){mn(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return mn(e,function(){t++}),t},toArray:function(e){return mn(e,function(t){return t})||[]},only:function(e){if(!Xn(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Activity=_i;G.Children=$i;G.Component=It;G.Fragment=Ti;G.Profiler=wi;G.PureComponent=qn;G.StrictMode=Ci;G.Suspense=ki;G.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=me;G.__COMPILER_RUNTIME={__proto__:null,c:function(e){return me.H.useMemoCache(e)}};G.cache=function(e){return function(){return e.apply(null,arguments)}};G.cacheSignal=function(){return null};G.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=xo({},e.props),o=e.key;if(t!=null)for(a in t.key!==void 0&&(o=""+t.key),t)!To.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var i=Array(a),u=0;u<a;u++)i[u]=arguments[u+2];r.children=i}return Gn(e.type,o,r)};G.createContext=function(e){return e={$$typeof:Mi,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:Pi,_context:e},e};G.createElement=function(e,t,n){var r,o={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)To.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){for(var u=Array(i),l=0;l<i;l++)u[l]=arguments[l+2];o.children=u}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)o[r]===void 0&&(o[r]=i[r]);return Gn(e,a,o)};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:Ii,render:e}};G.isValidElement=Xn;G.lazy=function(e){return{$$typeof:bo,_payload:{_status:-1,_result:e},_init:Fi}};G.memo=function(e,t){return{$$typeof:Oi,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=me.T,n={};me.T=n;try{var r=e(),o=me.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(zn,vo)}catch(a){vo(a)}finally{t!==null&&n.types!==null&&(t.types=n.types),me.T=t}};G.unstable_useCacheRefresh=function(){return me.H.useCacheRefresh()};G.use=function(e){return me.H.use(e)};G.useActionState=function(e,t,n){return me.H.useActionState(e,t,n)};G.useCallback=function(e,t){return me.H.useCallback(e,t)};G.useContext=function(e){return me.H.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e,t){return me.H.useDeferredValue(e,t)};G.useEffect=function(e,t){return me.H.useEffect(e,t)};G.useEffectEvent=function(e){return me.H.useEffectEvent(e)};G.useId=function(){return me.H.useId()};G.useImperativeHandle=function(e,t,n){return me.H.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return me.H.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return me.H.useLayoutEffect(e,t)};G.useMemo=function(e,t){return me.H.useMemo(e,t)};G.useOptimistic=function(e,t){return me.H.useOptimistic(e,t)};G.useReducer=function(e,t,n){return me.H.useReducer(e,t,n)};G.useRef=function(e){return me.H.useRef(e)};G.useState=function(e){return me.H.useState(e)};G.useSyncExternalStore=function(e,t,n){return me.H.useSyncExternalStore(e,t,n)};G.useTransition=function(){return me.H.useTransition()};G.version="19.2.7"});var wo=Bn((W,gn)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(s,d){Object.defineProperty(r.prototype,s,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})}function t(s){return s===null||typeof s!="object"?null:(s=gt&&s[gt]||s["@@iterator"],typeof s=="function"?s:null)}function n(s,d){s=(s=s.constructor)&&(s.displayName||s.name)||"ReactClass";var R=s+"."+d;Ue[R]||(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.",d,s),Ue[R]=!0)}function r(s,d,R){this.props=s,this.context=d,this.refs=ht,this.updater=R||Tt}function o(){}function a(s,d,R){this.props=s,this.context=d,this.refs=ht,this.updater=R||Tt}function i(){}function u(s){return""+s}function l(s){try{u(s);var d=!1}catch(M){d=!0}if(d){d=console;var R=d.error,C=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return R.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",C),u(s)}}function c(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===qt?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case ce:return"Fragment";case Je:return"Profiler";case _e:return"StrictMode";case it:return"Suspense";case at:return"SuspenseList";case Ae:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case fe:return"Portal";case et:return s.displayName||"Context";case Ke:return(s._context.displayName||"Context")+".Consumer";case st:var d=s.render;return s=s.displayName,s||(s=d.displayName||d.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case Le:return d=s.displayName||null,d!==null?d:c(s.type)||"Memo";case je:d=s._payload,s=s._init;try{return c(s(d))}catch(R){}}return null}function f(s){if(s===ce)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===je)return"<...>";try{var d=c(s);return d?"<"+d+">":"<...>"}catch(R){return"<...>"}}function m(){var s=Y.A;return s===null?null:s.getOwner()}function g(){return Error("react-stack-top-frame")}function p(s){if(b.call(s,"key")){var d=Object.getOwnPropertyDescriptor(s,"key").get;if(d&&d.isReactWarning)return!1}return s.key!==void 0}function h(s,d){function R(){E||(E=!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))}R.isReactWarning=!0,Object.defineProperty(s,"key",{get:R,configurable:!0})}function y(){var s=c(this.type);return q[s]||(q[s]=!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.")),s=this.props.ref,s!==void 0?s:null}function v(s,d,R,C,M,U){var H=R.ref;return s={$$typeof:be,type:s,key:d,props:R,_owner:C},(H!==void 0?H:null)!==null?Object.defineProperty(s,"ref",{enumerable:!1,get:y}):Object.defineProperty(s,"ref",{enumerable:!1,value:null}),s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(s,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(s,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:M}),Object.defineProperty(s,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:U}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}function w(s,d){return d=v(s.type,d,s.props,s._owner,s._debugStack,s._debugTask),s._store&&(d._store.validated=s._store.validated),d}function T(s){P(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===je&&(s._payload.status==="fulfilled"?P(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function P(s){return typeof s=="object"&&s!==null&&s.$$typeof===be}function A(s){var d={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(R){return d[R]})}function Q(s,d){return typeof s=="object"&&s!==null&&s.key!=null?(l(s.key),A(""+s.key)):d.toString(36)}function re(s){switch(s.status){case"fulfilled":return s.value;case"rejected":throw s.reason;default:switch(typeof s.status=="string"?s.then(i,i):(s.status="pending",s.then(function(d){s.status==="pending"&&(s.status="fulfilled",s.value=d)},function(d){s.status==="pending"&&(s.status="rejected",s.reason=d)})),s.status){case"fulfilled":return s.value;case"rejected":throw s.reason}}throw s}function J(s,d,R,C,M){var U=typeof s;(U==="undefined"||U==="boolean")&&(s=null);var H=!1;if(s===null)H=!0;else switch(U){case"bigint":case"string":case"number":H=!0;break;case"object":switch(s.$$typeof){case be:case fe:H=!0;break;case je:return H=s._init,J(H(s._payload),d,R,C,M)}}if(H){H=s,M=M(H);var N=C===""?"."+Q(H,0):C;return wt(M)?(R="",N!=null&&(R=N.replace(ge,"$&/")+"/"),J(M,d,R,"",function(De){return De})):M!=null&&(P(M)&&(M.key!=null&&(H&&H.key===M.key||l(M.key)),R=w(M,R+(M.key==null||H&&H.key===M.key?"":(""+M.key).replace(ge,"$&/")+"/")+N),C!==""&&H!=null&&P(H)&&H.key==null&&H._store&&!H._store.validated&&(R._store.validated=2),M=R),d.push(M)),1}if(H=0,N=C===""?".":C+":",wt(s))for(var j=0;j<s.length;j++)C=s[j],U=N+Q(C,j),H+=J(C,d,R,U,M);else if(j=t(s),typeof j=="function")for(j===s.entries&&(de||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),de=!0),s=j.call(s),j=0;!(C=s.next()).done;)C=C.value,U=N+Q(C,j++),H+=J(C,d,R,U,M);else if(U==="object"){if(typeof s.then=="function")return J(re(s),d,R,C,M);throw d=String(s),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return H}function te(s,d,R){if(s==null)return s;var C=[],M=0;return J(s,C,"","",function(U){return d.call(R,U,M++)}),C}function $(s){if(s._status===-1){var d=s._ioInfo;d!=null&&(d.start=d.end=performance.now()),d=s._result;var R=d();if(R.then(function(M){if(s._status===0||s._status===-1){s._status=1,s._result=M;var U=s._ioInfo;U!=null&&(U.end=performance.now()),R.status===void 0&&(R.status="fulfilled",R.value=M)}},function(M){if(s._status===0||s._status===-1){s._status=2,s._result=M;var U=s._ioInfo;U!=null&&(U.end=performance.now()),R.status===void 0&&(R.status="rejected",R.reason=M)}}),d=s._ioInfo,d!=null){d.value=R;var C=R.displayName;typeof C=="string"&&(d.name=C)}s._status===-1&&(s._status=0,s._result=R)}if(s._status===1)return d=s._result,d===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
"use strict";var PrimeReact;(PrimeReact||={}).Core=(()=>{var ei=Object.create;var sn=Object.defineProperty;var ti=Object.getOwnPropertyDescriptor;var ni=Object.getOwnPropertyNames;var ri=Object.getPrototypeOf,oi=Object.prototype.hasOwnProperty;var Ln=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),si=(e,t)=>{for(var n in t)sn(e,n,{get:t[n],enumerable:!0})},ro=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ni(t))!oi.call(e,o)&&o!==n&&sn(e,o,{get:()=>t[o],enumerable:!(r=ti(t,o))||r.enumerable});return e};var te=(e,t,n)=>(n=e!=null?ei(ri(e)):{},ro(t||!e||!e.__esModule?sn(n,"default",{value:e,enumerable:!0}):n,e)),ii=e=>ro(sn({},"__esModule",{value:!0}),e);var Co=Ln(H=>{"use strict";var Wn=Symbol.for("react.transitional.element"),mi=Symbol.for("react.portal"),yi=Symbol.for("react.fragment"),hi=Symbol.for("react.strict_mode"),gi=Symbol.for("react.profiler"),vi=Symbol.for("react.consumer"),bi=Symbol.for("react.context"),Si=Symbol.for("react.forward_ref"),Ri=Symbol.for("react.suspense"),Ei=Symbol.for("react.memo"),bo=Symbol.for("react.lazy"),xi=Symbol.for("react.activity"),yo=Symbol.iterator;function Pi(e){return e===null||typeof e!="object"?null:(e=yo&&e[yo]||e["@@iterator"],typeof e=="function"?e:null)}var So={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ro=Object.assign,Eo={};function It(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||So}It.prototype.isReactComponent={};It.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=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,e,t,"setState")};It.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function xo(){}xo.prototype=It.prototype;function zn(e,t,n){this.props=e,this.context=t,this.refs=Eo,this.updater=n||So}var qn=zn.prototype=new xo;qn.constructor=zn;Ro(qn,It.prototype);qn.isPureReactComponent=!0;var ho=Array.isArray;function Vn(){}var le={H:null,A:null,T:null,S:null},Po=Object.prototype.hasOwnProperty;function Kn(e,t,n){var r=n.ref;return{$$typeof:Wn,type:e,key:t,ref:r!==void 0?r:null,props:n}}function Ci(e,t){return Kn(e.type,t,e.props)}function Yn(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wn}function wi(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var go=/\/+/g;function Fn(e,t){return typeof e=="object"&&e!==null&&e.key!=null?wi(""+e.key):t.toString(36)}function Ti(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(Vn,Vn):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function kt(e,t,n,r,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"bigint":case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Wn:case mi:i=!0;break;case bo:return i=e._init,kt(i(e._payload),t,n,r,o)}}if(i)return o=o(e),i=r===""?"."+Fn(e,0):r,ho(o)?(n="",i!=null&&(n=i.replace(go,"$&/")+"/"),kt(o,t,n,"",function(u){return u})):o!=null&&(Yn(o)&&(o=Ci(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(go,"$&/")+"/")+i)),t.push(o)),1;i=0;var l=r===""?".":r+":";if(ho(e))for(var c=0;c<e.length;c++)r=e[c],a=l+Fn(r,c),i+=kt(r,t,n,a,o);else if(c=Pi(e),typeof c=="function")for(e=c.call(e),c=0;!(r=e.next()).done;)r=r.value,a=l+Fn(r,c++),i+=kt(r,t,n,a,o);else if(a==="object"){if(typeof e.then=="function")return kt(Ti(e),t,n,r,o);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return i}function ln(e,t,n){if(e==null)return e;var r=[],o=0;return kt(e,r,"","",function(a){return t.call(n,a,o++)}),r}function Oi(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var vo=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},_i={map:ln,forEach:function(e,t,n){ln(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ln(e,function(){t++}),t},toArray:function(e){return ln(e,function(t){return t})||[]},only:function(e){if(!Yn(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};H.Activity=xi;H.Children=_i;H.Component=It;H.Fragment=yi;H.Profiler=gi;H.PureComponent=zn;H.StrictMode=hi;H.Suspense=Ri;H.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=le;H.__COMPILER_RUNTIME={__proto__:null,c:function(e){return le.H.useMemoCache(e)}};H.cache=function(e){return function(){return e.apply(null,arguments)}};H.cacheSignal=function(){return null};H.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=Ro({},e.props),o=e.key;if(t!=null)for(a in t.key!==void 0&&(o=""+t.key),t)!Po.call(t,a)||a==="key"||a==="__self"||a==="__source"||a==="ref"&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var i=Array(a),l=0;l<a;l++)i[l]=arguments[l+2];r.children=i}return Kn(e.type,o,r)};H.createContext=function(e){return e={$$typeof:bi,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:vi,_context:e},e};H.createElement=function(e,t,n){var r,o={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=""+t.key),t)Po.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){for(var l=Array(i),c=0;c<i;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)o[r]===void 0&&(o[r]=i[r]);return Kn(e,a,o)};H.createRef=function(){return{current:null}};H.forwardRef=function(e){return{$$typeof:Si,render:e}};H.isValidElement=Yn;H.lazy=function(e){return{$$typeof:bo,_payload:{_status:-1,_result:e},_init:Oi}};H.memo=function(e,t){return{$$typeof:Ei,type:e,compare:t===void 0?null:t}};H.startTransition=function(e){var t=le.T,n={};le.T=n;try{var r=e(),o=le.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(Vn,vo)}catch(a){vo(a)}finally{t!==null&&n.types!==null&&(t.types=n.types),le.T=t}};H.unstable_useCacheRefresh=function(){return le.H.useCacheRefresh()};H.use=function(e){return le.H.use(e)};H.useActionState=function(e,t,n){return le.H.useActionState(e,t,n)};H.useCallback=function(e,t){return le.H.useCallback(e,t)};H.useContext=function(e){return le.H.useContext(e)};H.useDebugValue=function(){};H.useDeferredValue=function(e,t){return le.H.useDeferredValue(e,t)};H.useEffect=function(e,t){return le.H.useEffect(e,t)};H.useEffectEvent=function(e){return le.H.useEffectEvent(e)};H.useId=function(){return le.H.useId()};H.useImperativeHandle=function(e,t,n){return le.H.useImperativeHandle(e,t,n)};H.useInsertionEffect=function(e,t){return le.H.useInsertionEffect(e,t)};H.useLayoutEffect=function(e,t){return le.H.useLayoutEffect(e,t)};H.useMemo=function(e,t){return le.H.useMemo(e,t)};H.useOptimistic=function(e,t){return le.H.useOptimistic(e,t)};H.useReducer=function(e,t,n){return le.H.useReducer(e,t,n)};H.useRef=function(e){return le.H.useRef(e)};H.useState=function(e){return le.H.useState(e)};H.useSyncExternalStore=function(e,t,n){return le.H.useSyncExternalStore(e,t,n)};H.useTransition=function(){return le.H.useTransition()};H.version="19.2.7"});var wo=Ln((D,cn)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(s,f){Object.defineProperty(r.prototype,s,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",f[0],f[1])}})}function t(s){return s===null||typeof s!="object"?null:(s=mt&&s[mt]||s["@@iterator"],typeof s=="function"?s:null)}function n(s,f){s=(s=s.constructor)&&(s.displayName||s.name)||"ReactClass";var R=s+"."+f;He[R]||(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.",f,s),He[R]=!0)}function r(s,f,R){this.props=s,this.context=f,this.refs=yt,this.updater=R||Et}function o(){}function a(s,f,R){this.props=s,this.context=f,this.refs=yt,this.updater=R||Et}function i(){}function l(s){return""+s}function c(s){try{l(s);var f=!1}catch{f=!0}if(f){f=console;var R=f.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&s[Symbol.toStringTag]||s.constructor.name||"Object";return R.call(f,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),l(s)}}function u(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===Kt?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case re:return"Fragment";case Qe:return"Profiler";case Ae:return"StrictMode";case ot:return"Suspense";case st:return"SuspenseList";case Le:return"Activity"}if(typeof s=="object")switch(typeof s.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),s.$$typeof){case fe:return"Portal";case Je:return s.displayName||"Context";case Ve:return(s._context.displayName||"Context")+".Consumer";case We:var f=s.render;return s=s.displayName,s||(s=f.displayName||f.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case Me:return f=s.displayName||null,f!==null?f:u(s.type)||"Memo";case je:f=s._payload,s=s._init;try{return u(s(f))}catch{}}return null}function d(s){if(s===re)return"<>";if(typeof s=="object"&&s!==null&&s.$$typeof===je)return"<...>";try{var f=u(s);return f?"<"+f+">":"<...>"}catch{return"<...>"}}function m(){var s=h.A;return s===null?null:s.getOwner()}function y(){return Error("react-stack-top-frame")}function p(s){if(S.call(s,"key")){var f=Object.getOwnPropertyDescriptor(s,"key").get;if(f&&f.isReactWarning)return!1}return s.key!==void 0}function v(s,f){function R(){_||(_=!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)",f))}R.isReactWarning=!0,Object.defineProperty(s,"key",{get:R,configurable:!0})}function g(){var s=u(this.type);return I[s]||(I[s]=!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.")),s=this.props.ref,s!==void 0?s:null}function b(s,f,R,P,C,$){var j=R.ref;return s={$$typeof:ve,type:s,key:f,props:R,_owner:P},(j!==void 0?j:null)!==null?Object.defineProperty(s,"ref",{enumerable:!1,get:g}):Object.defineProperty(s,"ref",{enumerable:!1,value:null}),s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(s,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(s,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:C}),Object.defineProperty(s,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:$}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s}function w(s,f){return f=b(s.type,f,s.props,s._owner,s._debugStack,s._debugTask),s._store&&(f._store.validated=s._store.validated),f}function x(s){T(s)?s._store&&(s._store.validated=1):typeof s=="object"&&s!==null&&s.$$typeof===je&&(s._payload.status==="fulfilled"?T(s._payload.value)&&s._payload.value._store&&(s._payload.value._store.validated=1):s._store&&(s._store.validated=1))}function T(s){return typeof s=="object"&&s!==null&&s.$$typeof===ve}function k(s){var f={"=":"=0",":":"=2"};return"$"+s.replace(/[=:]/g,function(R){return f[R]})}function M(s,f){return typeof s=="object"&&s!==null&&s.key!=null?(c(s.key),k(""+s.key)):f.toString(36)}function B(s){switch(s.status){case"fulfilled":return s.value;case"rejected":throw s.reason;default:switch(typeof s.status=="string"?s.then(i,i):(s.status="pending",s.then(function(f){s.status==="pending"&&(s.status="fulfilled",s.value=f)},function(f){s.status==="pending"&&(s.status="rejected",s.reason=f)})),s.status){case"fulfilled":return s.value;case"rejected":throw s.reason}}throw s}function q(s,f,R,P,C){var $=typeof s;($==="undefined"||$==="boolean")&&(s=null);var j=!1;if(s===null)j=!0;else switch($){case"bigint":case"string":case"number":j=!0;break;case"object":switch(s.$$typeof){case ve:case fe:j=!0;break;case je:return j=s._init,q(j(s._payload),f,R,P,C)}}if(j){j=s,C=C(j);var se=P===""?"."+M(j,0):P;return Pt(C)?(R="",se!=null&&(R=se.replace(oe,"$&/")+"/"),q(C,f,R,"",function(it){return it})):C!=null&&(T(C)&&(C.key!=null&&(j&&j.key===C.key||c(C.key)),R=w(C,R+(C.key==null||j&&j.key===C.key?"":(""+C.key).replace(oe,"$&/")+"/")+se),P!==""&&j!=null&&T(j)&&j.key==null&&j._store&&!j._store.validated&&(R._store.validated=2),C=R),f.push(C)),1}if(j=0,se=P===""?".":P+":",Pt(s))for(var K=0;K<s.length;K++)P=s[K],$=se+M(P,K),j+=q(P,f,R,$,C);else if(K=t(s),typeof K=="function")for(K===s.entries&&(ne||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ne=!0),s=K.call(s),K=0;!(P=s.next()).done;)P=P.value,$=se+M(P,K++),j+=q(P,f,R,$,C);else if($==="object"){if(typeof s.then=="function")return q(B(s),f,R,P,C);throw f=String(s),Error("Objects are not valid as a React child (found: "+(f==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":f)+"). If you meant to render a collection of children, use an array instead.")}return j}function Y(s,f,R){if(s==null)return s;var P=[],C=0;return q(s,P,"","",function($){return f.call(R,$,C++)}),P}function pe(s){if(s._status===-1){var f=s._ioInfo;f!=null&&(f.start=f.end=performance.now()),f=s._result;var R=f();if(R.then(function(C){if(s._status===0||s._status===-1){s._status=1,s._result=C;var $=s._ioInfo;$!=null&&($.end=performance.now()),R.status===void 0&&(R.status="fulfilled",R.value=C)}},function(C){if(s._status===0||s._status===-1){s._status=2,s._result=C;var $=s._ioInfo;$!=null&&($.end=performance.now()),R.status===void 0&&(R.status="rejected",R.reason=C)}}),f=s._ioInfo,f!=null){f.value=R;var P=R.displayName;typeof P=="string"&&(f.name=P)}s._status===-1&&(s._status=0,s._result=R)}if(s._status===1)return f=s._result,f===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
2
4
|
|
|
3
5
|
Your code should look like:
|
|
4
6
|
const MyComponent = lazy(() => import('./MyComponent'))
|
|
5
7
|
|
|
6
|
-
Did you accidentally put curly braces around the import?`,
|
|
8
|
+
Did you accidentally put curly braces around the import?`,f),"default"in f||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
7
9
|
|
|
8
10
|
Your code should look like:
|
|
9
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
|
11
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,f),f.default;throw s._result}function W(){var s=h.H;return s===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
12
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
11
13
|
2. You might be breaking the Rules of Hooks
|
|
12
14
|
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.`),s}function I(){Y.asyncTransitions--}function L(s){if(ee===null)try{var d=("require"+Math.random()).slice(0,7);ee=(gn&&gn[d]).call(gn,"timers").setImmediate}catch(R){ee=function(C){ve===!1&&(ve=!0,typeof MessageChannel=="undefined"&&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 M=new MessageChannel;M.port1.onmessage=C,M.port2.postMessage(void 0)}}return ee(s)}function D(s){return 1<s.length&&typeof AggregateError=="function"?new AggregateError(s):s[0]}function ne(s,d){d!==se-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. "),se=d}function oe(s,d,R){var C=Y.actQueue;if(C!==null)if(C.length!==0)try{ae(C),L(function(){return oe(s,d,R)});return}catch(M){Y.thrownErrors.push(M)}else Y.actQueue=null;0<Y.thrownErrors.length?(C=D(Y.thrownErrors),Y.thrownErrors.length=0,R(C)):d(s)}function ae(s){if(!z){z=!0;var d=0;try{for(;d<s.length;d++){var R=s[d];do{Y.didUsePromise=!1;var C=R(!1);if(C!==null){if(Y.didUsePromise){s[d]=R,s.splice(0,d);return}R=C}else break}while(!0)}s.length=0}catch(M){s.splice(0,d+1),Y.thrownErrors.push(M)}finally{z=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var be=Symbol.for("react.transitional.element"),fe=Symbol.for("react.portal"),ce=Symbol.for("react.fragment"),_e=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),Ke=Symbol.for("react.consumer"),et=Symbol.for("react.context"),st=Symbol.for("react.forward_ref"),it=Symbol.for("react.suspense"),at=Symbol.for("react.suspense_list"),Le=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Ae=Symbol.for("react.activity"),gt=Symbol.iterator,Ue={},Tt={isMounted:function(){return!1},enqueueForceUpdate:function(s){n(s,"forceUpdate")},enqueueReplaceState:function(s){n(s,"replaceState")},enqueueSetState:function(s){n(s,"setState")}},Ct=Object.assign,ht={};Object.freeze(ht),r.prototype.isReactComponent={},r.prototype.setState=function(s,d){if(typeof s!="object"&&typeof s!="function"&&s!=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,s,d,"setState")},r.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};var Te={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(ue in Te)Te.hasOwnProperty(ue)&&e(ue,Te[ue]);o.prototype=r.prototype,Te=a.prototype=new o,Te.constructor=a,Ct(Te,r.prototype),Te.isPureReactComponent=!0;var wt=Array.isArray,qt=Symbol.for("react.client.reference"),Y={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},b=Object.prototype.hasOwnProperty,x=console.createTask?console.createTask:function(){return null};Te={react_stack_bottom_frame:function(s){return s()}};var E,k,q={},F=Te.react_stack_bottom_frame.bind(Te,g)(),X=x(f(g)),de=!1,ge=/\/+/g,Re=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var d=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(d))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},ve=!1,ee=null,se=0,he=!1,z=!1,pe=typeof queueMicrotask=="function"?function(s){queueMicrotask(function(){return queueMicrotask(s)})}:L;Te=Object.freeze({__proto__:null,c:function(s){return O().useMemoCache(s)}});var ue={map:te,forEach:function(s,d,R){te(s,function(){d.apply(this,arguments)},R)},count:function(s){var d=0;return te(s,function(){d++}),d},toArray:function(s){return te(s,function(d){return d})||[]},only:function(s){if(!P(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};W.Activity=Ae,W.Children=ue,W.Component=r,W.Fragment=ce,W.Profiler=Je,W.PureComponent=a,W.StrictMode=_e,W.Suspense=it,W.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,W.__COMPILER_RUNTIME=Te,W.act=function(s){var d=Y.actQueue,R=se;se++;var C=Y.actQueue=d!==null?d:[],M=!1;try{var U=s()}catch(j){Y.thrownErrors.push(j)}if(0<Y.thrownErrors.length)throw ne(d,R),s=D(Y.thrownErrors),Y.thrownErrors.length=0,s;if(U!==null&&typeof U=="object"&&typeof U.then=="function"){var H=U;return pe(function(){M||he||(he=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(j,De){M=!0,H.then(function(Pt){if(ne(d,R),R===0){try{ae(C),L(function(){return oe(Pt,j,De)})}catch(pi){Y.thrownErrors.push(pi)}if(0<Y.thrownErrors.length){var fi=D(Y.thrownErrors);Y.thrownErrors.length=0,De(fi)}}else j(Pt)},function(Pt){ne(d,R),0<Y.thrownErrors.length&&(Pt=D(Y.thrownErrors),Y.thrownErrors.length=0),De(Pt)})}}}var N=U;if(ne(d,R),R===0&&(ae(C),C.length!==0&&pe(function(){M||he||(he=!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(() => ...)"))}),Y.actQueue=null),0<Y.thrownErrors.length)throw s=D(Y.thrownErrors),Y.thrownErrors.length=0,s;return{then:function(j,De){M=!0,R===0?(Y.actQueue=C,L(function(){return oe(N,j,De)})):j(N)}}},W.cache=function(s){return function(){return s.apply(null,arguments)}},W.cacheSignal=function(){return null},W.captureOwnerStack=function(){var s=Y.getCurrentStack;return s===null?null:s()},W.cloneElement=function(s,d,R){if(s==null)throw Error("The argument must be a React element, but you passed "+s+".");var C=Ct({},s.props),M=s.key,U=s._owner;if(d!=null){var H;e:{if(b.call(d,"ref")&&(H=Object.getOwnPropertyDescriptor(d,"ref").get)&&H.isReactWarning){H=!1;break e}H=d.ref!==void 0}H&&(U=m()),p(d)&&(l(d.key),M=""+d.key);for(N in d)!b.call(d,N)||N==="key"||N==="__self"||N==="__source"||N==="ref"&&d.ref===void 0||(C[N]=d[N])}var N=arguments.length-2;if(N===1)C.children=R;else if(1<N){H=Array(N);for(var j=0;j<N;j++)H[j]=arguments[j+2];C.children=H}for(C=v(s.type,M,C,U,s._debugStack,s._debugTask),M=2;M<arguments.length;M++)T(arguments[M]);return C},W.createContext=function(s){return s={$$typeof:et,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null},s.Provider=s,s.Consumer={$$typeof:Ke,_context:s},s._currentRenderer=null,s._currentRenderer2=null,s},W.createElement=function(s,d,R){for(var C=2;C<arguments.length;C++)T(arguments[C]);C={};var M=null;if(d!=null)for(j in k||!("__self"in d)||"key"in d||(k=!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")),p(d)&&(l(d.key),M=""+d.key),d)b.call(d,j)&&j!=="key"&&j!=="__self"&&j!=="__source"&&(C[j]=d[j]);var U=arguments.length-2;if(U===1)C.children=R;else if(1<U){for(var H=Array(U),N=0;N<U;N++)H[N]=arguments[N+2];Object.freeze&&Object.freeze(H),C.children=H}if(s&&s.defaultProps)for(j in U=s.defaultProps,U)C[j]===void 0&&(C[j]=U[j]);M&&h(C,typeof s=="function"?s.displayName||s.name||"Unknown":s);var j=1e4>Y.recentlyCreatedOwnerStacks++;return v(s,M,C,m(),j?Error("react-stack-top-frame"):F,j?x(f(s)):X)},W.createRef=function(){var s={current:null};return Object.seal(s),s},W.forwardRef=function(s){s!=null&&s.$$typeof===Le?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?console.error("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&s.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var d={$$typeof:st,render:s},R;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(C){R=C,s.name||s.displayName||(Object.defineProperty(s,"name",{value:C}),s.displayName=C)}}),d},W.isValidElement=P,W.lazy=function(s){s={_status:-1,_result:s};var d={$$typeof:je,_payload:s,_init:$},R={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return s._ioInfo=R,d._debugInfo=[{awaited:R}],d},W.memo=function(s,d){s==null&&console.error("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),d={$$typeof:Le,type:s,compare:d===void 0?null:d};var R;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(C){R=C,s.name||s.displayName||(Object.defineProperty(s,"name",{value:C}),s.displayName=C)}}),d},W.startTransition=function(s){var d=Y.T,R={};R._updatedFibers=new Set,Y.T=R;try{var C=s(),M=Y.S;M!==null&&M(R,C),typeof C=="object"&&C!==null&&typeof C.then=="function"&&(Y.asyncTransitions++,C.then(I,I),C.then(i,Re))}catch(U){Re(U)}finally{d===null&&R._updatedFibers&&(s=R._updatedFibers.size,R._updatedFibers.clear(),10<s&&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.")),d!==null&&R.types!==null&&(d.types!==null&&d.types!==R.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."),d.types=R.types),Y.T=d}},W.unstable_useCacheRefresh=function(){return O().useCacheRefresh()},W.use=function(s){return O().use(s)},W.useActionState=function(s,d,R){return O().useActionState(s,d,R)},W.useCallback=function(s,d){return O().useCallback(s,d)},W.useContext=function(s){var d=O();return s.$$typeof===Ke&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),d.useContext(s)},W.useDebugValue=function(s,d){return O().useDebugValue(s,d)},W.useDeferredValue=function(s,d){return O().useDeferredValue(s,d)},W.useEffect=function(s,d){return s==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useEffect(s,d)},W.useEffectEvent=function(s){return O().useEffectEvent(s)},W.useId=function(){return O().useId()},W.useImperativeHandle=function(s,d,R){return O().useImperativeHandle(s,d,R)},W.useInsertionEffect=function(s,d){return s==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useInsertionEffect(s,d)},W.useLayoutEffect=function(s,d){return s==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),O().useLayoutEffect(s,d)},W.useMemo=function(s,d){return O().useMemo(s,d)},W.useOptimistic=function(s,d){return O().useOptimistic(s,d)},W.useReducer=function(s,d,R){return O().useReducer(s,d,R)},W.useRef=function(s){return O().useRef(s)},W.useState=function(s){return O().useState(s)},W.useSyncExternalStore=function(s,d,R){return O().useSyncExternalStore(s,d,R)},W.useTransition=function(){return O().useTransition()},W.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var V=Bn((Du,Zn)=>{"use strict";process.env.NODE_ENV==="production"?Zn.exports=Co():Zn.exports=wo()});var Tu={};Ri(Tu,{Component:()=>Nt,ConnectedOverlayScrollHandler:()=>fr,DEFAULT_MOTION_OPTIONS:()=>li,FilterMatchMode:()=>xe,FilterOperator:()=>Ei,Icon:()=>wa,LocaleContext:()=>At,LocaleProvider:()=>lr,Motion:()=>hu,MotionProvider:()=>no,OverlayEventBus:()=>aa,PassThroughContext:()=>Dt,PassThroughProvider:()=>dr,PrimeReactContext:()=>Dn,PrimeReactProvider:()=>Ja,PrimeReactStyleSheet:()=>fo,StylePreloadRegistry:()=>rn,StyleRegistry:()=>bt,ThemeContext:()=>Ge,ThemeProvider:()=>Ar,addStylePreloadsToStyleSheet:()=>yr,arrayMove:()=>eo,arrayTransfer:()=>to,collisionStrategies:()=>Wt,combinedRefs:()=>oa,createDnd:()=>Zs,createMotion2:()=>ci,createOptionalContext:()=>pr,createOverlayManager:()=>Su,createSafeContext:()=>sa,defaultComponentProps:()=>fa,defaultConfigProps:()=>Yr,defaultIconProps:()=>Ir,defaultLocaleProps:()=>ur,defaultMotionProps:()=>ro,defaultPTProps:()=>cr,defaultThemeProps:()=>Lr,defaultUseMotionProps:()=>cn,defaultUseStyleProps:()=>Ca,globalProps:()=>Tn,isDev:()=>mr,isElementOfType:()=>da,isValidElement:()=>br,mergeRefs:()=>gr,showInvalidLicenseBanner:()=>Vn,styles:()=>an,upsertStylePreloadsToHead:()=>vr,useBase:()=>on,useComponent:()=>Mr,useHeadless:()=>kr,useIcon:()=>Or,useLocale:()=>na,useMotion:()=>lo,useMotionContext:()=>su,usePassThrough:()=>ra,usePrimeReact:()=>Gr,useStyle:()=>Pr,useTheme:()=>Pa,withComponent:()=>sn,withHeadless:()=>un,withIcon:()=>_r});var xe=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});var Ei=Object.freeze({AND:"and",OR:"or"});function Vn(){if(typeof document=="undefined"||document.getElementById("p-license-host"))return;let e=document.createElement("div");e.id="p-license-host",e.style.cssText="all:initial;position:fixed;bottom:16px;right:16px;z-index:2147483647;pointer-events:none;";let t=e.attachShadow({mode:"closed"});t.innerHTML='<div role="alert" style="padding:10px 14px;background:#991b1b;color:#fff;font:600 13px/1.2 system-ui,-apple-system,sans-serif;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,0.2);">Invalid PrimeUI License</div>',document.body.appendChild(e)}var hn=K(V());function Po(e=""){let t=hn.useId();return hn.useMemo(()=>`${e}${t.replaceAll(/:|«|»/g,"")}`.trim().toLowerCase(),[t,e])}var Qn=K(V());function Zt(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[Zt(...r)]:Object.entries(r).map(([i,u])=>u?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}var Hi=Object.defineProperty,Mo=Object.getOwnPropertySymbols,ji=Object.prototype.hasOwnProperty,Ui=Object.prototype.propertyIsEnumerable,Io=(e,t,n)=>t in e?Hi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bi=(e,t)=>{for(var n in t||(t={}))ji.call(t,n)&&Io(e,n,t[n]);if(Mo)for(var n of Mo(t))Ui.call(t,n)&&Io(e,n,t[n]);return e};function ze(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Jn(e){return typeof e=="function"&&"call"in e&&"apply"in e}function ie(e){return!ze(e)}function Ie(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}function Z(e,...t){return Jn(e)?e(...t):e}function ke(e,t=!0){return typeof e=="string"&&(t||e!=="")}function Qt(e){return ke(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Ne(e,t="",n={}){let r=Qt(t).split("."),o=r.shift();if(o){if(Ie(e)){let a=Object.keys(e).find(i=>Qt(i)===o)||"";return Ne(Z(e[a],n),r.join("."),n)}return}return Z(e,n)}function er(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function ko(e){return ie(e)&&!isNaN(e)}function We(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function tt(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function Oo(e,...t){if(!Ie(e))return e;let n=Bi({},e);return t==null||t.flat().forEach(r=>delete n[r]),n}function kt(e){return ke(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function tr(e){return e==="auto"?0:typeof e=="number"?e:Number(e.replace(/[^\d.]/g,"").replace(",","."))*1e3}function Vi(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function yn(e,t){if(e&&t){let n=r=>{Vi(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function rr(e,t){if(e&&t){let n=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function _o(e){let t={width:0,height:0};if(e){let[n,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",t.width=o.width||e.offsetWidth,t.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=n}return t}function Ki(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function nr(e){return typeof Element!="undefined"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Ot(e){var t;if(nr(e))return e;if(!e||typeof e!="object")return;let n=e;if("current"in e)n=e.current,n=(t=Ot(n==null?void 0:n.elementRef))!=null?t:n;else if("value"in e)n=e.value;else if("nativeElement"in e)n=e.nativeElement;else if("el"in e){let r=e.el;r&&typeof r=="object"&&"nativeElement"in r?n=r.nativeElement:n=r}else if("elementRef"in e)return Ot(e.elementRef);return n=Z(n),nr(n)?n:void 0}function Lo(e,t={}){return e?`<style${Object.entries(t).reduce((n,[r,o])=>n+` ${r}="${o}"`,"")}>${e}</style>`:""}function zi(e,t){return nr(e)?e.matches(t)?e:e.querySelector(t):null}function Ao(e,t=[]){let n=Ki(e);return n===null?t:Ao(n,t.concat([n]))}function Do(e){let t=[];if(e){let n=Ao(e),r=/(auto|scroll)/,o=a=>{try{let i=window.getComputedStyle(a,null);return r.test(i.getPropertyValue("overflow"))||r.test(i.getPropertyValue("overflowX"))||r.test(i.getPropertyValue("overflowY"))}catch(i){return!1}};for(let a of n){let i=a.nodeType===1&&a.dataset.scrollselectors;if(i){let u=i.split(",");for(let l of u){let c=zi(a,l);c&&o(c)&&t.push(c)}}a.nodeType!==9&&o(a)&&t.push(a)}}return t}function Me(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function No(){return typeof window=="undefined"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function or(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(e)})})}function sr(e,t,n=null,r){var o;t&&((o=e==null?void 0:e.style)==null||o.setProperty(t,n,r))}function vn(){let e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);return r&&r.splice(r.indexOf(n)>>>0,1),this},emit(t,n){let r=e.get(t);r&&r.forEach(o=>{o(n)})},clear(){e.clear()}}}var Wi=Object.defineProperty,Fo=Object.getOwnPropertySymbols,qi=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,$o=(e,t,n)=>t in e?Wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ho=(e,t)=>{for(var n in t||(t={}))qi.call(t,n)&&$o(e,n,t[n]);if(Fo)for(var n of Fo(t))Yi.call(t,n)&&$o(e,n,t[n]);return e};function jo(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[jo(...r)]:Object.entries(r).map(([i,u])=>u?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}function Gi(e){return typeof e=="function"&&"call"in e&&"apply"in e}function Xi({skipUndefined:e=!1},...t){return t==null?void 0:t.reduce((n,r={})=>{for(let o in r){let a=r[o];if(!(e&&a===void 0))if(o==="style")n.style=Ho(Ho({},n.style),r.style);else if(o==="class"||o==="className")n[o]=jo(n[o],r[o]);else if(Gi(a)){let i=n[o];n[o]=i?(...u)=>{i(...u),a(...u)}:a}else n[o]=a}return n},{})}function ut(...e){return Xi({skipUndefined:!1},...e)}var bn=K(V());var ir=K(V());var Uo=K(V());var Jt=K(V());var en=K(V());var Bo=K(V());var _t=K(V());function Vo(e){let t=_t.useId(),[n,r]=_t.useState(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`);return _t.useEffect(()=>{r(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`)},[e,t]),n}var tn=K(V());var nn=K(V());var ar=K(V());var Rn=K(V());function Ko(e){let t=Rn.useRef(!1);Rn.useEffect(()=>{t.current||(t.current=!0,e==null||e())},[])}var zo=K(V());var Wo=K(V());var xn=K(V());var En=K(V());function qo(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){let a=n[o];if(e[a]!==t[a])return!1}return!0}function qe(e={},t={}){let n=En.useRef(null);return En.useMemo(()=>{let r=S({},e),o={};Object.entries(t).forEach(([u,l])=>{u in e?r[u]=l:o[u]=l});let a=n.current;if(a&&qo(a.props,r)&&qo(a.attrs,o))return a;let i={props:r,attrs:o};return n.current=i,i},[e,t])}var Yo=K(V());var Go=K(V());var Xo=K(V());function Zo(e){Xo.useEffect(()=>()=>{e==null||e()},[])}var Sn=K(V());function Qo(e,t){let n=Sn.useRef(!1);Sn.useEffect(()=>{if(!n.current){n.current=!0;return}return e==null?void 0:e()},t)}var ta=K(V());var Jo=K(V());var Lt=K(V());var ur={lang:"en"};var At=Lt.createContext(void 0),lr=(e={})=>{let{attrs:t}=qe(ur,e),n=void 0,r=Lt.useMemo(()=>Z(t.children,n),[t.children,n]);return Lt.createElement(At.Provider,{value:n},r)};var es=K(V());function na(){let e=es.useContext(At);if(e===void 0)throw new Error("Context must be used within a LocaleProvider");return e}var vt=K(V());var cr={value:void 0,mergeProps:!1,mergeSections:!0};var Dt=vt.createContext(void 0),dr=(e={})=>{let{props:t,attrs:n}=qe(cr,e),{value:r,mergeProps:o,mergeSections:a}=t,i=vt.useMemo(()=>({value:r,options:{mergeProps:o,mergeSections:a}}),[r,o,a]),u=vt.useMemo(()=>Z(n.children,i),[n.children,i]);return vt.createElement(Dt.Provider,{value:i},u)};var ts=K(V());function ra(){let e=ts.useContext(Dt);if(e===void 0)throw new Error("Context must be used within a PassThroughProvider");return e}var oa=(e,t)=>{e&&t&&t!==e&&(typeof t=="function"?t(e&&"current"in e?e.current:null):"current"in t&&"current"in e&&t.current!==e.current&&(t.current=e&&"current"in e?e.current:null))};var fr=class{constructor(t,n=()=>{}){this.scrollableParents=null;this.isBound=!1;this.element=t,this.listener=n}bindScrollListener(){if(this.element){this.isBound&&this.unbindScrollListener(),this.scrollableParents=Do(this.element);for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&this.listener&&n.addEventListener("scroll",this.listener)}this.isBound=!0}}unbindScrollListener(){if(this.scrollableParents&&this.listener)for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&n.removeEventListener("scroll",this.listener)}this.scrollableParents=null,this.isBound=!1}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null,this.isBound=!1}};var lt=K(V());function ns(e,t){let n=lt.createContext(e);return[({value:a,children:i})=>{let u=lt.useMemo(()=>Z(i,a),[i,a]);return lt.createElement(n.Provider,{value:a},u)},()=>{let a=lt.useContext(n);return a===void 0?t==null?void 0:t():a}]}function sa(e,t){return ns(e,()=>{throw new Error(t||"Context must be used within a Provider")})}function pr(e){return ns(e,()=>e)}var rs,mr=typeof process!="undefined"&&((rs=process.env)==null?void 0:rs.NODE_ENV)!=="production";function gr(...e){return t=>{for(let n of e)if(n!=null)if(typeof n=="function")n(t);else try{n.current=t}catch(r){}}}var ia=vn(),aa=ia;var ua=e=>{var t,n;return{id:e.id,css:e.css,phase:(t=e.phase)!=null?t:"both",priority:(n=e.priority)!=null?n:0}},hr=e=>e.sort((t,n)=>{let r=t.priority-n.priority;return r!==0?r:t.id.localeCompare(n.id)}),rn={_entries:new Map,register(e){!e.id||!e.css||this._entries.set(e.id,ua(e))},registerMany(e=[]){e.forEach(t=>this.register(t))},has(e){return this._entries.has(e)},getAll(){return hr([...this._entries.values()])},getForSSR(){return hr([...this._entries.values()].filter(e=>e.phase!=="client"))},getForClient(){return hr([...this._entries.values()].filter(e=>e.phase!=="ssr"))},clear(){this._entries.clear()}},yr=(e,t)=>{t.forEach(n=>{e!=null&&e.has(n.id)||e==null||e.add(n.id,n.css)})},vr=e=>{e.forEach(t=>{let n=document.head.querySelector(`style[data-primereact-style-id="${t.id}"]`)||document.createElement("style");n.isConnected||(document.head.appendChild(n),n.setAttribute("data-primereact-style-id",t.id)),n.textContent=t.css})};var bt={_loadedStyleNames:new Set,_styleRefCount:new Map,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){var t;return((t=this._styleRefCount.get(e))!=null?t:0)>0},getStyleRefCount(e){var t;return(t=this._styleRefCount.get(e))!=null?t:0},retainStyleName(e){let t=this.getStyleRefCount(e),n=t+1;return this._styleRefCount.set(e,n),this._loadedStyleNames.add(e),t===0},releaseStyleName(e){let t=this.getStyleRefCount(e);return t<=1?(this._styleRefCount.delete(e),this._loadedStyleNames.delete(e),!0):(this._styleRefCount.set(e,t-1),!1)},setLoadedStyleName(e){this.retainStyleName(e)},deleteLoadedStyleName(e){this._styleRefCount.delete(e),this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._styleRefCount.clear(),this._loadedStyleNames.clear()},getStats(){return{totalStyles:this._loadedStyleNames.size,styleRefCounts:Array.from(this._styleRefCount.entries()).map(([e,t])=>({name:e,refCount:t}))}}};var la=Symbol.for("react.element"),ca=Symbol.for("react.transitional.element");function br(e){return typeof e=="object"&&e!==null&&(e.$$typeof===la||e.$$typeof===ca)}function da(e,t){var r,o;if(typeof e!="object"||e===null)return!1;let n=e.displayName||((r=e.type)==null?void 0:r.displayName)||((o=e.type)==null?void 0:o.name);return n===t||(n==null?void 0:n.includes(`PrimeReact.${t}`))||(n==null?void 0:n.includes(`PrimeReact.UI${t}`))}var ct=K(V());function Nt(e={}){var Q,re,te,$,O;let A=e,{pIf:t=!0,style:n,className:r,as:o,asChild:a,instance:i,render:u}=A,l=Gt(A,["pIf","style","className","as","asChild","instance","render"]);if(t===!1)return null;let c=o||((Q=i==null?void 0:i.props)==null?void 0:Q.as)||ct.Fragment,f=u||a||((re=i==null?void 0:i.props)==null?void 0:re.asChild),m=c===ct.Fragment,J=l,{ref:g,children:p,attrs:h}=J,y=Gt(J,["ref","children","attrs"]),v=S(S({},h),y),w=Z(u!=null?u:p,i,v),T=Z(n||((te=i==null?void 0:i.props)==null?void 0:te.style),i),P=Z(r||(($=i==null?void 0:i.props)==null?void 0:$.className),i);if(f||m)return ct.createElement(ct.Fragment,null,w);if(br(c))return Z(c,i);{let I=B(S({},v),{style:S(S({},v.style),T),className:Zt(v.className,P)}),L=gr(i==null?void 0:i.elementRef,v.ref,g,(O=i==null?void 0:i.props)==null?void 0:O.ref);return I.children?ct.createElement(c,B(S({},I),{ref:L})):ct.createElement(c,B(S({},I),{ref:L}),w)}}Nt.displayName="PrimeReact.Component";var Tn=Object.freeze({ref:void 0,pIf:!0,style:void 0,className:void 0,as:void 0,asChild:!1,instance:void 0,pt:void 0,ptOptions:void 0,unstyled:void 0,dt:void 0,styles:void 0,render:void 0,children:void 0}),fa=Object.freeze(B(S({},Oo(Tn,"pt","ptOptions","dt","styles")),{attrs:void 0}));var Ut=K(V());var Se=K(V());function Cn(e,...t){return Jn(e)?e(...t):e?ut(...t):Object.assign({},...t)}function wn(e={},t="",n){let r=Ne(e,t,n);return ke(r)||er(r)?{className:r}:r}function Ft(e,t,n,r){let o=(a,i=!1)=>{var f;let u=r?r(a):a,l=Qt(t!=null?t:""),c=Qt(n!=null?n:"");return(f=i?l!==c?u==null?void 0:u[l]:void 0:u==null?void 0:u[l])!=null?f:u};return e&&Object.hasOwn(e,"_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e,!0)}function os(e,t){let{id:n,name:r,scope:o,part:a,props:i,attrs:u,$primereact:l,$attrSelector:c}=e||{},f=l==null?void 0:l.passthrough,m=f==null?void 0:f.value,g=f==null?void 0:f.options,p=Se.useCallback((I,L,D="",ne)=>{let oe=ae=>L(ae,D,ne);if(I&&Object.hasOwn(I,"_usept")){let{mergeSections:ae=!0,mergeProps:be=!1}=I._usept||g||{},fe=oe(I.originalValue),ce=oe(I.value);return fe===void 0&&ce===void 0?void 0:ke(ce)?ce:ke(fe)?fe:ae||!ae&&ce?Cn(be,fe,ce):ce}return oe(I)},[g]),h=Se.useCallback(I=>{let L=p(Ft(i.pt,r,r),Ne,`hooks.${I}`),D=p(Ft(m,void 0,r),Ne,`hooks.${I}`);L==null||L(),D==null||D()},[i.pt,r,p,m]),y=Se.useMemo(()=>Ft(m,void 0,r,I=>Z(I,e)),[m,r]),v=Se.useMemo(()=>Ft(m,void 0,r,I=>Ne(I,r,e)||Z(I,e)),[m,r]),w=Se.useMemo(()=>Object.entries(u||{}).filter(([I])=>I==null?void 0:I.startsWith("pt-")).reduce((I,[L,D])=>{let[,ne,...oe]=L.split("-");return[ne,oe==null?void 0:oe.join("-")].filter(Boolean).reduce((ae,be,fe,ce)=>(ae[be]||(ae[be]=fe===ce.length-1?D:{}),ae[be]),I),I},{}),[u]),T=Se.useMemo(()=>Object.entries(u||{}).filter(([I])=>!(I!=null&&I.startsWith("pt-"))).reduce((I,[L,D])=>(I[L]=D,I),{}),[u]),P=Se.useCallback((I="")=>{let L="data-";return I==="root"&&ie(u==null?void 0:u["data-scope"])?{[`${L}extend`]:o,[`${L}styled`]:o}:B(S({[`${L}scope`]:o},I==="root"&&{[`${L}part`]:a,[`${L}id`]:c,[`${L}styled`]:o}),{[`${L}slot`]:I})},[o,a,c,u]),A=Se.useCallback((I={},L,D="",ne)=>{let oe=p(Ft(I,r,r),L,D,ne),ae=p(w,L,D,ne);return Cn(!0,oe!=null?oe:{},ae!=null?ae:{})},[w,p,r]),Q=Se.useCallback((I,L="",D)=>p(y,I,L,D),[y,p]),re=Se.useCallback((I,L,D)=>p(v,I,L,D),[v,p]),J=Se.useCallback((I={},L="",D={},ne=!0)=>{let oe=L.includes(".")&&!!D[L.split(".")[0]],{mergeSections:ae=!0,mergeProps:be=!1}=(i==null?void 0:i.ptOptions)||g||{},fe=ne?oe?Q(wn,L,D):re(wn,L,D):void 0,ce=oe?void 0:A(I,wn,L,B(S({},D),{global:fe||{}})),_e=P(L);return ae||!ae&&ce?Cn(be,fe,ce,_e):S(S({},ce),_e)},[i.ptOptions,Q,re,A,P]),te=Se.useCallback((I="",L={})=>J(i.pt,I,S(S({},t),L)),[i.pt,t,J]),$=Se.useCallback((I="",L={})=>{var ne;let D=ut(T,te(I,L));return D&&Object.hasOwn(D,"id")&&((ne=D.id)!=null||(D.id=n)),D},[te,n,T]),O=Se.useCallback((I={},L="",D={})=>J(I,L,S(S({},t),D),!1),[t,J]);return Ko(()=>h("onMounted")),Qo(()=>h("onUpdated")),Zo(()=>h("onUnmounted")),Se.useMemo(()=>({ptm:te,ptmi:$,ptmo:O}),[te,$,O])}var pa=Object.defineProperty,ma=Object.defineProperties,ga=Object.getOwnPropertyDescriptors,Mn=Object.getOwnPropertySymbols,is=Object.prototype.hasOwnProperty,as=Object.prototype.propertyIsEnumerable,ss=(e,t,n)=>t in e?pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Fe=(e,t)=>{for(var n in t||(t={}))is.call(t,n)&&ss(e,n,t[n]);if(Mn)for(var n of Mn(t))as.call(t,n)&&ss(e,n,t[n]);return e},Pn=(e,t)=>ma(e,ga(t)),dt=(e,t)=>{var n={};for(var r in e)is.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Mn)for(var r of Mn(e))t.indexOf(r)<0&&as.call(e,r)&&(n[r]=e[r]);return n};var ha=vn(),Ye=ha,Rt=/{([^}]*)}/g,Rr=/(\d+\s+[\+\-\*\/]\s+\d+)/g,xr=/var\([^)]+\)/g;function Er(e){return ke(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function ya(e){return Ie(e)&&e.hasOwnProperty("$value")&&e.hasOwnProperty("$type")?e.$value:e}function va(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Sr(e="",t=""){return va(`${ke(e,!1)&&ke(t,!1)?`${e}-`:e}${t}`)}function us(e="",t=""){return`--${Sr(e,t)}`}function ba(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function Cr(e,t="",n="",r=[],o){if(ke(e)){let a=e.trim();if(ba(a))return;if(We(a,Rt)){let i=a.replaceAll(Rt,u=>{let l=u.replace(/{|}/g,"").split(".").filter(c=>!r.some(f=>We(c,f)));return`var(${us(n,kt(l.join("-")))}${ie(o)?`, ${o}`:""})`});return We(i.replace(xr,"0"),Rr)?`calc(${i})`:i}return a}else if(ko(e))return e}function Ra(e,t,n){ke(t,!1)&&e.push(`${t}:${n};`)}function $t(e,t){return e?`${e}{${t}}`:""}function ls(e,t){if(e.indexOf("dt(")===-1)return e;function n(i,u){let l=[],c=0,f="",m=null,g=0;for(;c<=i.length;){let p=i[c];if((p==='"'||p==="'"||p==="`")&&i[c-1]!=="\\"&&(m=m===p?null:p),!m&&(p==="("&&g++,p===")"&&g--,(p===","||c===i.length)&&g===0)){let h=f.trim();h.startsWith("dt(")?l.push(ls(h,u)):l.push(r(h)),f="",c++;continue}p!==void 0&&(f+=p),c++}return l}function r(i){let u=i[0];if((u==='"'||u==="'"||u==="`")&&i[i.length-1]===u)return i.slice(1,-1);let l=Number(i);return isNaN(l)?i:l}let o=[],a=[];for(let i=0;i<e.length;i++)if(e[i]==="d"&&e.slice(i,i+3)==="dt(")a.push(i),i+=2;else if(e[i]===")"&&a.length>0){let u=a.pop();a.length===0&&o.push([u,i])}if(!o.length)return e;for(let i=o.length-1;i>=0;i--){let[u,l]=o[i],c=e.slice(u+3,l),f=n(c,t),m=t(...f);e=e.slice(0,u)+m+e.slice(l+1)}return e}var xa=(e,t)=>{let n=e.split("."),r="";for(let o=0;o<n.length;o++){let a=Er(n[o]);t.lastIndex=0,!t.test(a)&&(r=r?`${r}.${a}`:a)}return r},Ea=(e,t,n,r)=>{var o,a,i;let u=le.tokens,l=xa(e,n),c=u.__strictCache;c||(c=new Map,Object.defineProperty(u,"__strictCache",{value:c,enumerable:!1,configurable:!0}));let f=r?`${t}|${l}|${r}`:`${t}|${l}`;if(c.has(f))return c.get(f);let m=(i=(a=(o=u[l])==null?void 0:o.paths)==null?void 0:a[0])==null?void 0:i.value,g;if(typeof m!="string")g=m!=null?m:le.getTokenValue(e);else if(Rt.lastIndex=0,!Rt.test(m))g=m;else{let p=l.slice(0,l.indexOf(".")),h=m.replace(Rt,y=>{let v=y.slice(1,-1),w=v.indexOf(".");if((w===-1?v:v.slice(0,w))!==p)return y;let T=le.getTokenValue(v);return T==null?y:`${T}`});g=Cr(h,void 0,t,[n],r)}return c.set(f,g),g},wr=e=>{var t;let n=le.getTheme(),r=Tr(n,e,void 0,"variable"),o=(t=r==null?void 0:r.match(/--[\w-]+/g))==null?void 0:t[0],a=Tr(n,e,void 0,"value");return{name:o,variable:r,value:a}},ft=(...e)=>Tr(le.getTheme(),...e),Tr=(e={},t,n,r)=>{var o,a,i,u,l,c,f,m,g,p;if(!t)return"";let h=(o=le.defaults)==null?void 0:o.variable,y=(l=(a=e==null?void 0:e.options)==null?void 0:a.prefix)!=null?l:(u=(i=le.defaults)==null?void 0:i.options)==null?void 0:u.prefix,v=(p=(g=(c=e==null?void 0:e.options)==null?void 0:c.cssVariables)!=null?g:(m=(f=le.defaults)==null?void 0:f.options)==null?void 0:m.cssVariables)!=null?p:!0;if(r==="value")return le.getTokenValue(t);if(ze(r)&&!v)return Ea(t,y,h.excludedKeyRegex,n);let w=We(t,Rt)?t:`{${t}}`;return Cr(w,void 0,y,[h.excludedKeyRegex],n)};function Ht(e,...t){if(e instanceof Array){let n=e.reduce((r,o,a)=>{var i;return r+o+((i=Z(t[a],{dt:ft}))!=null?i:"")},"");return ls(n,ft)}return Z(e,{dt:ft})}function Sa(e,t={}){let n=le.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:a=n.excludedKeyRegex}=t,i=[],u=[],l=[{node:e,path:r}];for(;l.length;){let{node:f,path:m}=l.pop();for(let g in f){let p=f[g],h=ya(p),y=We(g,a)?Sr(m):Sr(m,kt(g));if(Ie(h))l.push({node:h,path:y});else{let v=us(y),w=Cr(h,y,r,[a]);Ra(u,v,w);let T=y;r&&T.startsWith(r+"-")&&(T=T.slice(r.length+1)),i.push(T.replace(/-/g,"."))}}}let c=u.join("");return{value:u,tokens:i,declarations:c,css:$t(o,c)}}var Be={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(o=>o.resolve(n)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return Sa(e,{prefix:t==null?void 0:t.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i,u,l,c,f,m;let{preset:g,options:p}=t,h,y,v,w,T,P,A;if(ie(g)){let{primitive:Q,semantic:re,extend:J}=g,te=re||{},{colorScheme:$}=te,O=dt(te,["colorScheme"]),I=J||{},{colorScheme:L}=I,D=dt(I,["colorScheme"]),ne=$||{},{dark:oe}=ne,ae=dt(ne,["dark"]),be=L||{},{dark:fe}=be,ce=dt(be,["dark"]),_e=ie(Q)?this._toVariables({primitive:Q},p):{},Je=ie(O)?this._toVariables({semantic:O},p):{},Ke=ie(ae)?this._toVariables({light:ae},p):{},et=ie(oe)?this._toVariables({dark:oe},p):{},st=ie(D)?this._toVariables({semantic:D},p):{},it=ie(ce)?this._toVariables({light:ce},p):{},at=ie(fe)?this._toVariables({dark:fe},p):{},[Le,je]=[(a=_e.declarations)!=null?a:"",_e.tokens],[Ae,gt]=[(i=Je.declarations)!=null?i:"",Je.tokens||[]],[Ue,Tt]=[(u=Ke.declarations)!=null?u:"",Ke.tokens||[]],[Ct,ht]=[(l=et.declarations)!=null?l:"",et.tokens||[]],[Te,wt]=[(c=st.declarations)!=null?c:"",st.tokens||[]],[qt,Y]=[(f=it.declarations)!=null?f:"",it.tokens||[]],[b,x]=[(m=at.declarations)!=null?m:"",at.tokens||[]];h=this.transformCSS(e,Le,"light","variable",p,r,o),y=je;let E=this.transformCSS(e,`${Ae}${Ue}`,"light","variable",p,r,o),k=this.transformCSS(e,`${Ct}`,"dark","variable",p,r,o);v=`${E}${k}`,w=[...new Set([...gt,...Tt,...ht])];let q=this.transformCSS(e,`${Te}${qt}color-scheme:light`,"light","variable",p,r,o),F=this.transformCSS(e,`${b}color-scheme:dark`,"dark","variable",p,r,o);T=`${q}${F}`,P=[...new Set([...wt,...Y,...x])],A=Z(g.css,{dt:ft})}return{primitive:{css:h,tokens:y},semantic:{css:v,tokens:w},global:{css:T,tokens:P},style:A}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:a,selector:i}){var u,l,c,f;let m,g,p;if(ie(t)&&((u=n.cssVariables)==null||u)){let h=e.replace("-directive",""),y=t,{colorScheme:v,extend:w,css:T}=y,P=dt(y,["colorScheme","extend","css"]),A=w||{},{colorScheme:Q}=A,re=dt(A,["colorScheme"]),J=v||{},{dark:te}=J,$=dt(J,["dark"]),O=Q||{},{dark:I}=O,L=dt(O,["dark"]),D=ie(P)?this._toVariables({[h]:Fe(Fe({},P),re)},n):{},ne=ie($)?this._toVariables({[h]:Fe(Fe({},$),L)},n):{},oe=ie(te)?this._toVariables({[h]:Fe(Fe({},te),I)},n):{},[ae,be]=[(l=D.declarations)!=null?l:"",D.tokens||[]],[fe,ce]=[(c=ne.declarations)!=null?c:"",ne.tokens||[]],[_e,Je]=[(f=oe.declarations)!=null?f:"",oe.tokens||[]],Ke=this.transformCSS(h,`${ae}${fe}`,"light","variable",n,o,a,i),et=this.transformCSS(h,_e,"dark","variable",n,o,a,i);m=`${Ke}${et}`,g=[...new Set([...be,...ce,...Je])],p=Z(T,{dt:ft})}return{css:m,tokens:g,style:p}},getScopedSelector(e,t){if(!(!(t!=null&&t.scoped)||!e))return`[data-styled="${e}"]`},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:o}){var a;let{preset:i,options:u}=t,l=(a=i==null?void 0:i.components)==null?void 0:a[e],c=this.getScopedSelector(e,u);return this.getPreset({name:e,preset:l,options:u,params:n,set:r,defaults:o,selector:c})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i;let u=e.replace("-directive",""),{preset:l,options:c}=t,f=((a=l==null?void 0:l.components)==null?void 0:a[u])||((i=l==null?void 0:l.directives)==null?void 0:i[u]),m=this.getScopedSelector(u,c);return this.getPreset({name:u,preset:f,options:c,params:n,set:r,defaults:o,selector:m})},applyDarkColorScheme(e){return!(e.darkModeSelector==="none"||e.darkModeSelector===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){let{cssLayer:o}=t;return o?`@layer ${Z(o.order||o.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){let i=this.getCommon({name:e,theme:t,params:n,set:o,defaults:a}),u=Object.entries(r).reduce((l,[c,f])=>l.push(`${c}="${f}"`)&&l,[]).join(" ");return Object.entries(i||{}).reduce((l,[c,f])=>{if(Ie(f)&&Object.hasOwn(f,"css")){let m=tt(f.css),g=`${c}-variables`;l.push(`<style type="text/css" data-primevue-style-id="${g}" ${u}>${m}</style>`)}return l},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){var i;let u={name:e,theme:t,params:n,set:o,defaults:a},l=(i=e.includes("-directive")?this.getPresetD(u):this.getPresetC(u))==null?void 0:i.css,c=Object.entries(r).reduce((f,[m,g])=>f.push(`${m}="${g}"`)&&f,[]).join(" ");return l?`<style type="text/css" data-primevue-style-id="${e}-variables" ${c}>${tt(l)}</style>`:""},createTokens(e={},t,n="",r="",o={}){let a=function(c,f,m,g){return c.replace(Rt,p=>{var h;let y=p.slice(1,-1),v=this.tokens[y];if(!v)return console.warn(`Token not found for path: ${y}`),"__UNRESOLVED__";let w=v.computed(f,m,g);if(Array.isArray(w)&&w.length===2){let T=w[0].value,P=w[1].value;return T===P?T!=null?T:"__UNRESOLVED__":`light-dark(${T},${P})`}return(h=w==null?void 0:w.value)!=null?h:"__UNRESOLVED__"})},i=function(c,f,m,g){if(c.indexOf("light-dark(")===-1)return c;let p=[],h=c.length,y=0;for(;y<h;){let v=c.indexOf("light-dark(",y);if(v===-1){p.push(c.slice(y));break}p.push(c.slice(y,v));let w=1,T=v+11,P=-1;for(;T<h&&w>0;){let J=c.charCodeAt(T);J===40?w++:J===41?w--:J===44&&w===1&&P===-1&&(P=T),T++}if(w!==0||P===-1){p.push(c.slice(v));break}let A=c.slice(v+11,P).trim(),Q=c.slice(P+1,T-1).trim(),re=f&&f!=="none"?f:null;if(re==="light")p.push(i.call(this,A,"light",m,g));else if(re==="dark")p.push(i.call(this,Q,"dark",m,g));else{let J=a.call(this,i.call(this,A,"light",m,g),"light",m,g),te=a.call(this,i.call(this,Q,"dark",m,g),"dark",m,g);p.push(J===te?J:`light-dark(${J},${te})`)}y=T}return p.join("")},u=function(c,f={},m=[]){if(m.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:c,path:this.path,paths:f,value:void 0};m.push(this.path),f.name=this.path,f.binding||(f.binding={});let g=this.value;if(typeof this.value=="string"){let p=this.value.trim(),h=p.indexOf("light-dark(")!==-1,y=p.indexOf("{")!==-1;if(h||y){let v=h?i.call(this,p,c,f,m):p,w=v.indexOf("{")!==-1?a.call(this,v,c,f,m):v;Rr.lastIndex=0,xr.lastIndex=0,g=Rr.test(w.replace(xr,"0"))?`calc(${w})`:w}}return ze(f.binding)&&delete f.binding,m.pop(),{colorScheme:c,path:this.path,paths:f,value:typeof g=="string"&&g.indexOf("__UNRESOLVED__")!==-1?void 0:g}},l=(c,f,m)=>{Object.entries(c).forEach(([g,p])=>{let h=We(g,t.variable.excludedKeyRegex)?f:f?`${f}.${Er(g)}`:Er(g),y=m?`${m}.${g}`:g;Ie(p)?l(p,h,y):(o[h]||(o[h]={paths:[],computed:(v,w={},T=[])=>{let P=o[h].paths;if(P.length===1){let A=P[0],Q=A.scheme!=="none"?A.scheme:v;return A.computed(Q,w.binding,T)}else if(v&&v!=="none")for(let A=0;A<P.length;A++){let Q=P[A];if(Q.scheme===v)return Q.computed(v,w.binding,T)}return P.map(A=>A.computed(A.scheme,w[A.scheme],T))}}),o[h].paths.push({path:y,value:p,scheme:y.includes("colorScheme.light")?"light":y.includes("colorScheme.dark")?"dark":"none",computed:u,tokens:o}))})};return l(e,n,r),o},getTokenValue(e,t,n){var r,o,a;let i=e.__cache;i||(i=new Map,Object.defineProperty(e,"__cache",{value:i,enumerable:!1,configurable:!0}));let u=i.get(t);if(u!==void 0||i.has(t))return u;let l=n.variable.excludedKeyRegex,c=t.split("."),f=[];for(let y=0;y<c.length;y++){let v=c[y];l.lastIndex=0,l.test(v.toLowerCase())||f.push(v)}let m=f.join("."),g=t.indexOf("colorScheme.light")!==-1?"light":t.indexOf("colorScheme.dark")!==-1?"dark":void 0,p=e[m];if(!p){i.set(t,void 0);return}let h;if(g){let y=p.computed(g);if(Array.isArray(y)){for(let v=0;v<y.length;v++)if(((r=y[v])==null?void 0:r.colorScheme)===g){h=y[v].value;break}}else h=y==null?void 0:y.value}else{let y=p.computed("light"),v=p.computed("dark"),w,T;if(Array.isArray(y)){for(let P=0;P<y.length;P++)if(((o=y[P])==null?void 0:o.colorScheme)==="light"){w=y[P].value;break}}else w=y==null?void 0:y.value;if(Array.isArray(v)){for(let P=0;P<v.length;P++)if(((a=v[P])==null?void 0:a.colorScheme)==="dark"){T=v[P].value;break}}else T=v==null?void 0:v.value;w===void 0&&T===void 0?h=void 0:w===void 0?h=T:T===void 0||w===T?h=w:h=`light-dark(${w},${T})`}return i.set(t,h),h},getSelectorRule(e,t,n,r,o=":root,:host"){return n==="class"||n==="attr"?$t(ie(t)?`${e}${t},${e} ${t}`:e,r):$t(e,$t(t!=null?t:o,r))},transformCSS(e,t,n,r,o={},a,i,u){var l,c;if(ie(t)){let{cssLayer:f}=o;if(r!=="style"){let m=this.getColorSchemeOption(o,i),g=(c=(l=i==null?void 0:i.variable)==null?void 0:l.selector)!=null?c:":root,:host";t=n==="dark"?m.reduce((p,{type:h,selector:y})=>(ie(y)&&(p+=y.includes("[CSS]")?y.replace("[CSS]",t):this.getSelectorRule(y,u,h,t,g)),p),""):$t(u!=null?u:g,t)}if(f){let m={name:"primeui",order:"primeui"};Ie(f)&&(m.name=Z(f.name,{name:e,type:r})),ie(m.name)&&(t=$t(`@layer ${m.name}`,t),a==null||a.layerNames(m.name))}return t}return""}},le={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},update(e={}){let{theme:t}=e;t&&(this._theme=Pn(Fe({},t),{options:Fe(Fe({},this.defaults.options),t.options)}),this._tokens=Be.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Ye.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Pn(Fe({},this.theme),{preset:e}),this._tokens=Be.createTokens(e,this.defaults),this.clearLoadedStyleNames(),Ye.emit("preset:change",e),Ye.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Pn(Fe({},this.theme),{options:e}),this.clearLoadedStyleNames(),Ye.emit("options:change",e),Ye.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Be.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Be.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetD(n)},getCustomPreset(e="",t,n,r){let o={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPreset(o)},getLayerOrderCSS(e=""){return Be.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Be.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Be.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Be.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Ye.emit(`theme:${t}:load`,e),!this._loadingStyles.size&&Ye.emit("theme:load"))}};var Ta=class{constructor({attrs:e}={}){this._styles=new Map,this._attrs=e||{}}get(e){return this._styles.get(e)}has(e){return this._styles.has(e)}delete(e){this._styles.delete(e)}clear(){this._styles.clear()}add(e,t){if(ie(t)){let n={name:e,css:t,attrs:this._attrs,markup:Lo(t,this._attrs)};this._styles.set(e,Pn(Fe({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(String)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(String)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},cs=Ta;var ye=K(V());var pt=K(V());function Pr(){let e=pt.useContext(Ge),t=pt.useCallback((o={})=>{let{name:a,css:i,element:u,options:l={}}=o;if(Me()&&ie(i)){let c=u==null?void 0:u.getRootNode();(!c||c===document)&&(c=document.head);let f=c.querySelector(`style[data-primereact-style-id="${a}"]`)||document.createElement("style");f.isConnected||(l!=null&&l.first?c.prepend(f):c.appendChild(f),f.setAttribute("data-primereact-style-id",a||""));let m=i!=null?i:"";return f.textContent!==m&&(f.textContent=m),f}},[]),n=pt.useCallback((o={})=>{var u,l;let{name:a,css:i}=o;if(ie(o.css))return a&&!((u=e==null?void 0:e.stylesheet)!=null&&u.has(a))&&!Me()&&a!=="layer-order"&&((l=e==null?void 0:e.stylesheet)==null||l.add(a,i)),t(o)},[e,t]),r=pt.useCallback(()=>{e!=null&&e.stylesheet&&e.stylesheet.clear()},[e]);return pt.useInsertionEffect(()=>{var o,a;(a=(o=e==null?void 0:e.stylesheet)==null?void 0:o.getStyles())==null||a.forEach((i,u)=>{t({name:u,css:i==null?void 0:i.css})})},[e,t]),[n,r]}var Ca={};var jt=K(V());function ds(e,t){let n=jt.useContext(Ge),[r]=Pr(),o=jt.useCallback((a,i)=>r({name:i==null?void 0:i.name,css:a,element:Ot(t),options:i}),[r,t]);return jt.useMemo(()=>{let a=B(S({name:"base"},e),{load(i="",u={},l="",c=!1){let f=u.name||a.name,m=Ht`${i}${l}`,g=c?le.transformCSS(f,m):m;return ie(g)?o(tt(g),S({name:f},u)):void 0},loadCSS(i){return this.load(this.css,i)},loadStyle(i,u=""){return this.load(this.style,i,u,!0)},getCommonTheme(i){return le.getCommon(this.name,i)},getComponentTheme(i){return le.getComponent(this.name,i)},getPresetTheme(i,u,l){return le.getCustomPreset(this.name,i,u,l)},getLayerOrderThemeCSS(){return le.getLayerOrderCSS(this.name)},getStyleSheet(i="",u={}){if(this.css){let l=Z(this.css,{dt:ft}),c=tt(Ht`${l}${i}`),f=Object.entries(u).reduce((m,[g,p])=>(m.push(`${g}="${p}"`),m),[]).join(" ");return`<style type="text/css" data-primereact-style-id="${this.name}" ${f}>${c}</style>`}return""},getCommonThemeStyleSheet(i,u={}){return le.getCommonStyleSheet(this.name,i,u)},getThemeStyleSheet(i,u={}){let l=[le.getStyleSheet(this.name,i,u)];if(n){let c=this.name==="base"?"global-style":`${this.name}-style`,f=Ht`${Z(n,{dt:ft})}`,m=tt(le.transformCSS(this.name,f)),g=Object.entries(u).reduce((p,[h,y])=>(p.push(`${h}="${y}"`),p),[]).join(" ");l.push(`<style type="text/css" data-primereact-style-id="${c}" ${g}>${m}</style>`)}return l.join("")}});return a},[e,n,o])}function fs(e,t,n){var Q,re,J,te;let{props:r={unstyled:!1,dt:void 0},$primereact:o,$attrSelector:a,elementRef:i}=e||{},u=ds(t,i),l=ye.useMemo(()=>{var $;return r.unstyled!==void 0?r.unstyled:($=o==null?void 0:o.config)==null?void 0:$.unstyled},[r.unstyled,(Q=o==null?void 0:o.config)==null?void 0:Q.unstyled]),c=ye.useMemo(()=>{var $,O;return{nonce:(O=($=o==null?void 0:o.config)==null?void 0:$.csp)==null?void 0:O.nonce}},[(J=(re=o==null?void 0:o.config)==null?void 0:re.csp)==null?void 0:J.nonce]),f=ye.useRef(null),m=ye.useRef(!1),g=ye.useRef(null),p=ye.useRef(null),h=ye.useRef(!1);if(mr){let $=t==null?void 0:t.style,O=typeof $=="string"?$:null;O!==null&&p.current!==O&&(p.current=O,h.current=!0)}let y=ye.useCallback(()=>{if(!(u!=null&&u.name))return;let $=u.name==="global"?"base":u.name;if(!Me()){u.loadCSS(S({name:$},c));return}g.current&&g.current!==u.name&&(bt.releaseStyleName(g.current),g.current=null);let O=h.current;(O||!g.current)&&((O||bt.retainStyleName(u.name))&&u.loadCSS(S({name:$},c)),g.current=u.name)},[u,c]),v=ye.useCallback(()=>{if(l||(o==null?void 0:o.theme)==="none")return;let $=()=>{var be,fe;let{primitive:D,semantic:ne,global:oe,style:ae}=((be=u==null?void 0:u.getCommonTheme)==null?void 0:be.call(u))||{};u.load(D==null?void 0:D.css,S({name:"primitive-variables"},c)),u.load(ne==null?void 0:ne.css,S({name:"semantic-variables"},c)),u.load(oe==null?void 0:oe.css,S({name:"global-variables"},c)),u.load((fe=u.baseStyles)==null?void 0:fe.style,S({name:"global-style"},c),ae,!0)},O=()=>{var oe;let{css:D,style:ne}=((oe=u==null?void 0:u.getComponentTheme)==null?void 0:oe.call(u))||{};u.load(D,S({name:`${u.name}-variables`},c)),u.loadStyle(S({name:`${u.name}-style`},c),ne)},I=()=>{var ne;let D=(ne=u==null?void 0:u.getLayerOrderThemeCSS)==null?void 0:ne.call(u);u.load(D,S({name:"layer-order",first:!0},c))};if(!Me()){$(),u!=null&&u.name&&O(),I();return}let L=h.current;(L||!le.isStyleNameLoaded("common"))&&($(),le.setLoadedStyleName("common")),(L||!le.isStyleNameLoaded(u==null?void 0:u.name))&&(u!=null&&u.name)&&(O(),le.setLoadedStyleName(u.name)),(L||!le.isStyleNameLoaded("layer-order"))&&(I(),le.setLoadedStyleName("layer-order"))},[l,u,c]),w=ye.useCallback(()=>{let{css:$}=u.baseStyles||{};if(!Me()){u.load($,S({name:"base"},c)),v();return}let O=h.current;(O||!m.current)&&(m.current=!0,(O||bt.retainStyleName("base"))&&u.load($,S({name:"base"},c))),v(),h.current=!1},[u,c,v]),T=ye.useCallback($=>{var L;let{css:O}=((L=u==null?void 0:u.getPresetTheme)==null?void 0:L.call(u,$,`[${a}]`))||{},I=u==null?void 0:u.load(O,S({name:`${a}-${u.name}`},c));f.current=I||null},[u,a,c]),P=ye.useCallback(($="",O={})=>l?void 0:Zt(Ne(u.classes,$,B(S({},n),{context:O}))),[l,n,u.classes]),A=ye.useCallback(($="",O=!0,I={})=>{var L;if(O){let D=Ne(u.inlineStyles,$,B(S({},n),{context:I})),ne=Ne((L=u.baseStyles)==null?void 0:L.inlineStyles,$,B(S({},n),{context:I}));return S(S({},ne),D)}},[u.inlineStyles,(te=u.baseStyles)==null?void 0:te.inlineStyles,n]);return!Me()&&!l&&(y(),w(),T(r.dt)),ye.useInsertionEffect(()=>{!Me()||l||(y(),w())},[l,y,w]),ye.useEffect(()=>{if(!Me()||l||(o==null?void 0:o.theme)==="none")return;let $=()=>{v(),T(r.dt)};return Ye.on("theme:change",$),()=>{Ye.off("theme:change",$)}},[l,o==null?void 0:o.theme,v,T,r.dt]),ye.useInsertionEffect(()=>{var $;if(!(!Me()||l))return($=f.current)==null||$.remove(),f.current=null,T(r.dt),()=>{var O;(O=f.current)==null||O.remove(),f.current=null}},[l,r.dt,T]),ye.useEffect(()=>{if(Me())return()=>{m.current&&(bt.releaseStyleName("base"),m.current=!1),g.current&&(bt.releaseStyleName(g.current),g.current=null)}},[]),ye.useMemo(()=>({cx:P,sx:A,isUnstyled:l,$style:u}),[P,A,l,u])}function Mr(e="UnknownComponent",t={}){let n=Ut.useMemo(()=>S(S({},Tn),t.defaultProps),[t.defaultProps]),r=on(e,{type:t.type,inProps:t.inProps,defaultProps:n,setup:t.setup}),{ref:o,props:a}=r,i=Ut.useMemo(()=>({instance:r,props:r.props,attrs:r.attrs,state:r.state}),[r.props,r.attrs,r.state]),u=os(r,i),l=fs(r,a.styles||t.styles,i),c=Ut.useMemo(()=>S(S(S({},r),u),l),[r,u,l]);return Ut.useImperativeHandle(o,()=>c,[c]),c}var In=K(V());function sn({name:e="UnknownComponent",type:t="primitive",defaultProps:n,styles:r,components:o,setup:a,render:i}){let l=In.memo(c=>{let f=Mr(e,{type:t,inProps:c,defaultProps:n,styles:r,setup:a}),m=i!=null?i:(()=>null);return f.props.pIf?In.createElement(m,S({},f)):null},(c,f)=>{if(!Ie(c)||!Ie(f))return!1;let m=c,g=f,p=Object.keys(m);if(p.length!==Object.keys(g).length)return!1;for(let h of p){let y=m[h],v=g[h];if(typeof y=="function"||typeof v=="function"){if(y!==v)return!1;continue}if(!Object.is(y,v))return!1}return!0});return l.displayName=`PrimeReact.${e}`,Object.entries(o||{}).forEach(([c,f])=>{l[c]=f}),l}var gs=K(V());var Ir={as:"i",size:void 0,rotate:void 0,flip:void 0,spin:!1};var an={name:"icon",classes:{root:({props:e})=>["p-icon",{"p-icon-spin":e.spin,"p-icon-flip-horizontal":e.flip==="horizontal","p-icon-flip-vertical":e.flip==="vertical"}]},inlineStyles:{root:({props:e})=>S(S({},e.size?{[wr("icon.size").name]:e.size}:void 0),e.rotate?{[wr("icon.rotate").name]:`${e.rotate}deg`}:void 0)}};var ms=K(V());function kr(e="UnknownHeadless",t={}){return on(e,t)}function un({name:e,type:t="headless",defaultProps:n,setup:r}){return o=>kr(e,{type:t,inProps:o,defaultProps:n,setup:r})}var ps=K(V()),Or=un({name:"useIcon",setup({attrs:e}){let t=e["aria-label"],n=e.tabIndex;return{pti:ps.useCallback(()=>{let o=ze(t);return{role:o?void 0:"img","aria-hidden":ze(n)&&o}},[t,n])}}});function _r({name:e,defaultProps:t,styles:n,components:r,setup:o,render:a}){return sn({name:`${e!=null?e:"Unknown"}Icon`,defaultProps:t,styles:n,components:r,setup(i){let u=Or(i==null?void 0:i.inProps),l=Z(o,i);return ms.useMemo(()=>S(S({},u),l),[u,l])},render:a})}var wa=_r({name:"Icon",styles:an,defaultProps:Ir,render(e){let{id:t,props:n,ptmi:r,pti:o,cx:a,sx:i}=e,u=ut({id:t,style:i("root"),className:a("root")},o==null?void 0:o(),r("root"));return gs.createElement(Nt,{instance:e,attrs:u,children:n.children})}});var nt=K(V());var Lr={preset:void 0,prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1,stylesheet:void 0};var Ge=nt.createContext(null),Ar=(e={})=>{let{props:t}=qe(Lr,e),u=t,{stylesheet:n,preset:r}=u,o=Gt(u,["stylesheet","preset"]),a=S({preset:r,stylesheet:n},o);le.setTheme({preset:r,options:o});let i=nt.useMemo(()=>tt(Ht`${an.css}`)||"",[]);return nt.useMemo(()=>{ie(i)&&rn.register({id:"icon",css:i,phase:"both",priority:10})},[i]),Me()||yr(n,rn.getForSSR()),nt.useInsertionEffect(()=>{Me()&&vr(rn.getForClient())},[]),nt.createElement(Ge.Provider,{value:a},Z(e.children,a))};var hs=K(V());function Pa(){let e=hs.useContext(Ge);if(e===void 0)throw new Error("Context must be used within a ThemeProvider");return e}var Ma={p:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffed"),n:BigInt("0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3ed"),h:BigInt(8),a:BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffec"),d:BigInt("0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3"),Gx:BigInt("0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a"),Gy:BigInt("0x6666666666666666666666666666666666666666666666666666666666666658")},{p:Ce,n:kn,Gx:ys,Gy:vs,a:Dr,d:Nr}=Ma,Ia=BigInt(8),ln=32,Fr=64,$e=(e="")=>{throw new Error(e)},ka=e=>typeof e=="bigint",Ts=e=>typeof e=="string",Oa=e=>e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array",Vt=(e,t)=>!Oa(e)||typeof t=="number"&&t>0&&e.length!==t?$e("Uint8Array expected"):e,An=e=>new Uint8Array(e),Ur=e=>Uint8Array.from(e),Cs=(e,t)=>e.toString(16).padStart(t,"0"),Br=e=>Array.from(Vt(e)).map(t=>Cs(t,2)).join(""),rt={_0:48,_9:57,A:65,F:70,a:97,f:102},bs=e=>{if(e>=rt._0&&e<=rt._9)return e-rt._0;if(e>=rt.A&&e<=rt.F)return e-(rt.A-10);if(e>=rt.a&&e<=rt.f)return e-(rt.a-10)},Vr=e=>{let t="hex invalid";if(!Ts(e))return $e(t);let n=e.length,r=n/2;if(n%2)return $e(t);let o=An(r);for(let a=0,i=0;a<r;a++,i+=2){let u=bs(e.charCodeAt(i)),l=bs(e.charCodeAt(i+1));if(u===void 0||l===void 0)return $e(t);o[a]=u*16+l}return o},On=(e,t)=>Vt(Ts(e)?Vr(e):Ur(Vt(e)),t),ws=()=>globalThis==null?void 0:globalThis.crypto,_a=()=>{var e,t;return(t=(e=ws())==null?void 0:e.subtle)!=null?t:$e("crypto.subtle must be defined")},$r=(...e)=>{let t=An(e.reduce((r,o)=>r+Vt(o).length,0)),n=0;return e.forEach(r=>{t.set(r,n),n+=r.length}),t},La=(e=ln)=>ws().getRandomValues(An(e)),_n=BigInt,xt=(e,t,n,r="bad number: out of range")=>ka(e)&&t<=e&&e<n?e:$e(r),_=(e,t=Ce)=>{let n=e%t;return n>=BigInt(0)?n:t+n},Aa=e=>_(e,kn),Ps=(e,t)=>{(e===BigInt(0)||t<=BigInt(0))&&$e("no inverse n="+e+" mod="+t);let n=_(e,t),r=t,o=BigInt(0),a=BigInt(1),i=BigInt(1),u=BigInt(0);for(;n!==BigInt(0);){let l=r/n,c=r%n,f=o-i*l,m=a-u*l;r=n,n=c,o=i,a=u,i=f,u=m}return r===BigInt(1)?_(o,t):$e("no inverse")};var Rs=e=>e instanceof ot?e:$e("Point expected"),Hr=BigInt(2)**BigInt(256),Ze=class Ze{constructor(t,n,r,o){yt(this,"ex");yt(this,"ey");yt(this,"ez");yt(this,"et");let a=Hr;this.ex=xt(t,BigInt(0),a),this.ey=xt(n,BigInt(0),a),this.ez=xt(r,BigInt(1),a),this.et=xt(o,BigInt(0),a),Object.freeze(this)}static fromAffine(t){return new Ze(t.x,t.y,BigInt(1),_(t.x*t.y))}static fromBytes(t,n=!1){let r=Nr,o=Ur(Vt(t,ln)),a=t[31];o[31]=a&-129;let i=Kr(o);xt(i,BigInt(0),n?Hr:Ce);let l=_(i*i),c=_(l-BigInt(1)),f=_(r*l+BigInt(1)),{isValid:m,value:g}=Fa(c,f);m||$e("bad point: y not sqrt");let p=(g&BigInt(1))===BigInt(1),h=(a&128)!==0;return!n&&g===BigInt(0)&&h&&$e("bad point: x==0, isLastByteOdd"),h!==p&&(g=_(-g)),new Ze(g,i,BigInt(1),_(g*i))}assertValidity(){let t=Dr,n=Nr,r=this;if(r.is0())throw new Error("bad point: ZERO");let{ex:o,ey:a,ez:i,et:u}=r,l=_(o*o),c=_(a*a),f=_(i*i),m=_(f*f),g=_(l*t),p=_(f*_(g+c)),h=_(m+_(n*_(l*c)));if(p!==h)throw new Error("bad point: equation left != right (1)");let y=_(o*a),v=_(i*u);if(y!==v)throw new Error("bad point: equation left != right (2)");return this}equals(t){let{ex:n,ey:r,ez:o}=this,{ex:a,ey:i,ez:u}=Rs(t),l=_(n*u),c=_(a*o),f=_(r*u),m=_(i*o);return l===c&&f===m}is0(){return this.equals(Bt)}negate(){return new Ze(_(-this.ex),this.ey,this.ez,_(-this.et))}double(){let{ex:t,ey:n,ez:r}=this,o=Dr,a=_(t*t),i=_(n*n),u=_(BigInt(2)*_(r*r)),l=_(o*a),c=t+n,f=_(_(c*c)-a-i),m=l+i,g=m-u,p=l-i,h=_(f*g),y=_(m*p),v=_(f*p),w=_(g*m);return new Ze(h,y,w,v)}add(t){let{ex:n,ey:r,ez:o,et:a}=this,{ex:i,ey:u,ez:l,et:c}=Rs(t),f=Dr,m=Nr,g=_(n*i),p=_(r*u),h=_(a*m*c),y=_(o*l),v=_((n+r)*(i+u)-g-p),w=_(y-h),T=_(y+h),P=_(p-f*g),A=_(v*w),Q=_(T*P),re=_(v*P),J=_(w*T);return new Ze(A,Q,J,re)}multiply(t,n=!0){if(!n&&(t===BigInt(0)||this.is0()))return Bt;if(xt(t,BigInt(1),kn),t===BigInt(1))return this;if(this.equals(Kt))return za(t).p;let r=Bt,o=Kt;for(let a=this;t>BigInt(0);a=a.double(),t>>=BigInt(1))t&BigInt(1)?r=r.add(a):n&&(o=o.add(a));return r}toAffine(){let{ex:t,ey:n,ez:r}=this;if(this.equals(Bt))return{x:BigInt(0),y:BigInt(1)};let o=Ps(r,Ce);return _(r*o)!==BigInt(1)&&$e("invalid inverse"),{x:_(t*o),y:_(n*o)}}toBytes(){let{x:t,y:n}=this.assertValidity().toAffine(),r=Da(n);return r[31]|=t&BigInt(1)?128:0,r}toHex(){return Br(this.toBytes())}clearCofactor(){return this.multiply(_n(Ia),!1)}isSmallOrder(){return this.clearCofactor().is0()}isTorsionFree(){let t=this.multiply(kn/BigInt(2),!1).double();return kn%BigInt(2)&&(t=t.add(this)),t.is0()}static fromHex(t,n){return Ze.fromBytes(On(t),n)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}toRawBytes(){return this.toBytes()}};yt(Ze,"BASE"),yt(Ze,"ZERO");var ot=Ze,Kt=new ot(ys,vs,BigInt(1),_(ys*vs)),Bt=new ot(BigInt(0),BigInt(1),BigInt(1),BigInt(0));ot.BASE=Kt;ot.ZERO=Bt;var Da=e=>Vr(Cs(xt(e,BigInt(0),Hr),Fr)).reverse(),Kr=e=>_n("0x"+Br(Ur(Vt(e)).reverse())),Xe=(e,t)=>{let n=e;for(;t-- >BigInt(0);)n*=n,n%=Ce;return n},Na=e=>{let n=e*e%Ce*e%Ce,r=Xe(n,BigInt(2))*n%Ce,o=Xe(r,BigInt(1))*e%Ce,a=Xe(o,BigInt(5))*o%Ce,i=Xe(a,BigInt(10))*a%Ce,u=Xe(i,BigInt(20))*i%Ce,l=Xe(u,BigInt(40))*u%Ce,c=Xe(l,BigInt(80))*l%Ce,f=Xe(c,BigInt(80))*l%Ce,m=Xe(f,BigInt(10))*a%Ce;return{pow_p_5_8:Xe(m,BigInt(2))*e%Ce,b2:n}},xs=BigInt("0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0"),Fa=(e,t)=>{let n=_(t*t*t),r=_(n*n*t),o=Na(e*r).pow_p_5_8,a=_(e*n*o),i=_(t*a*a),u=a,l=_(a*xs),c=i===e,f=i===_(-e),m=i===_(-e*xs);return c&&(a=u),(f||m)&&(a=l),(_(a)&BigInt(1))===BigInt(1)&&(a=_(-a)),{isValid:c||f,value:a}},$a=e=>Aa(Kr(e)),Ha=(...e)=>Ba.sha512Async(...e);var ja=e=>Ha(e.hashable).then(e.finish);var Ms={zip215:!0},Ua=(e,t,n,r=Ms)=>{e=On(e,Fr),t=On(t),n=On(n,ln);let{zip215:o}=r,a,i,u,l,c=Uint8Array.of();try{a=ot.fromHex(n,o),i=ot.fromHex(e.slice(0,ln),o),u=Kr(e.slice(ln,Fr)),l=Kt.multiply(u,!1),c=$r(i.toBytes(),a.toBytes(),t)}catch(m){}return{hashable:c,finish:m=>{if(l==null||!o&&a.isSmallOrder())return!1;let g=$a(m);return i.add(a.multiply(g,!1)).add(l.negate()).clearCofactor().is0()}}},Is=(o,a,i,...u)=>Xt(null,[o,a,i,...u],function*(e,t,n,r=Ms){return ja(Ua(e,t,n,r))});var Ba={sha512Async:(...e)=>Xt(null,null,function*(){let t=_a(),n=$r(...e);return An(yield t.digest("SHA-512",n.buffer))}),sha512Sync:void 0,bytesToHex:Br,hexToBytes:Vr,concatBytes:$r,mod:_,invert:Ps,randomBytes:La};var Ln=8,Va=256,ks=Math.ceil(Va/Ln)+1,jr=2**(Ln-1),Ka=()=>{let e=[],t=Kt,n=t;for(let r=0;r<ks;r++){n=t,e.push(n);for(let o=1;o<jr;o++)n=n.add(t),e.push(n);t=n.double()}return e},Es,Ss=(e,t)=>{let n=t.negate();return e?n:t},za=e=>{let t=Es||(Es=Ka()),n=Bt,r=Kt,o=2**Ln,a=o,i=_n(o-1),u=_n(Ln);for(let l=0;l<ks;l++){let c=Number(e&i);e>>=u,c>jr&&(c-=a,e+=BigInt(1));let f=l*jr,m=f,g=f+Math.abs(c)-1,p=l%2!==0,h=c<0;c===0?r=r.add(Ss(p,t[m])):n=n.add(Ss(h,t[g]))}return{p:n,f:r}};var qa=Object.defineProperty,Os=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,_s=(e,t,n)=>t in e?qa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$s=(e,t,n)=>new Promise((r,o)=>{var a=l=>{try{u(n.next(l))}catch(c){o(c)}},i=l=>{try{u(n.throw(l))}catch(c){o(c)}},u=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,i);u((n=n.apply(e,t)).next())});function Ls(e){let t={};for(let l=0;l<64;l++)t["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"[l]]=l;let n=e.replace(/=+$/,""),r=Math.floor(6*n.length/8),o=new Uint8Array(r),a=0,i=0,u=0;for(let l=0;l<n.length;l++){let c=t[n[l]];if(c===void 0)throw new Error("Invalid base64url character");a=a<<6|c,i+=6,i>=8&&(i-=8,o[u++]=a>>i&255)}return o}var Xa="primeui",zr="primeui-pro:",As={primeui:"primeui",scheduler:"primeui-pro:scheduler",texteditor:"primeui-pro:text-editor",charts:"primeui-pro:charts",diagram:"primeui-pro:diagram",pdfviewer:"primeui-pro:pdf-viewer",taskboard:"primeui-pro:task-board",datagrid:"primeui-pro:datagrid",ganttchart:"primeui-pro:gantt-chart",filemanager:"primeui-pro:file-manager"},Hs={primeui:"PrimeUI",scheduler:"Scheduler",texteditor:"TextEditor",charts:"Charts",diagram:"Diagram",pdfviewer:"PDF Viewer",taskboard:"Task Board",datagrid:"DataGrid",ganttchart:"Gantt",filemanager:"File Manager"};function qr(e,t="PrimeUI"){switch(e){case"active":return`${t} license is active.`;case"grace":return`${t} license is in its grace period. Renew soon to keep using this version.`;case"expired":return`${t} license does not cover this version. Renew at primeui.store, or downgrade to a version released within your updates window.`;case"tampered":return`${t} license signature is invalid.`;case"wrong-product":return`License does not cover ${t}.`;case"missing":return`No license key configured for ${t}.`;case"invalid":return`${t} license is malformed.`;case"unconfigured":return`${t} license is not configured.`;default:return`${t} license status unknown.`}}var Ds=864e5;function Oe(e,t,n={}){return((r,o)=>{for(var a in o||(o={}))Ya.call(o,a)&&_s(r,a,o[a]);if(Os)for(var a of Os(o))Ga.call(o,a)&&_s(r,a,o[a]);return r})({valid:e==="active"||e==="grace",status:e,message:qr(e,t)},n)}function Ns(e,t){return $s(this,null,function*(){var n,r;let o=t.productLabel;if(typeof e!="string"||!e.includes("."))return Oe("invalid",o);let a=e.split(".");if(a.length!==2)return Oe("invalid",o);let[i,u]=a,l,c,f;try{l=(function(T){let P=Ls(T),A=new TextDecoder().decode(P);return JSON.parse(A)})(i)}catch(T){return Oe("invalid",o)}if(!l||typeof l!="object"||typeof l.product!="string"||typeof l.type!="string"||typeof l.exp!="number"||typeof l.iat!="number"||typeof l.id!="string")return Oe("invalid",o);try{c=Ls(u),f=new TextEncoder().encode(i)}catch(T){return Oe("invalid",o)}let m=(n=t.publicKeyOverride)!=null?n:"dae75e66b9f59bebf87d4bb29ca6494f37deccfcc2b132b98ee159ee7505373b",g;try{g=(function(T){if(T.length%2!=0)throw new Error("Invalid hex length");let P=new Uint8Array(T.length/2);for(let A=0;A<P.length;A++)P[A]=parseInt(T.substr(2*A,2),16);return P})(m)}catch(T){return Oe("invalid",o)}let p=!1;try{p=yield Is(c,f,g)}catch(T){return Oe("tampered",o,{payload:l})}if(!p)return Oe("tampered",o,{payload:l});if(!(function(T,P){return T.product===P||!(!P.startsWith(zr)||T.product!==Xa||T.tier!=="commercial")})(l,t.product))return Oe("wrong-product",o,{payload:l});let h=1e3*l.exp,y=Date.now(),v=Math.floor((h-y)/Ds),w=(function(T){if(T===void 0)return null;if(typeof T=="number")return 1e3*T;let P=Date.parse(T);return Number.isNaN(P)?null:P})(t.releaseDate);if(w!==null&&w>h)return Oe("expired",o,{daysUntilExpiry:v,payload:l});if((function(T){return T.type==="oem"||T.tier==="community"})(l)){if(y>h+((r=t.graceDays)!=null?r:30)*Ds)return Oe("expired",o,{daysUntilExpiry:v,payload:l});if(y>h)return Oe("grace",o,{daysUntilExpiry:v,payload:l})}return Oe("active",o,{daysUntilExpiry:v,payload:l})})}function Fs(e,t){return{valid:!1,status:e,message:qr(e,t)}}function Za(e,t){let n=t==null?void 0:t.graceDays,r=t==null?void 0:t.publicKeyOverride;return{verify(o,a){return $s(this,null,function*(){var i;let u=As[o],l=(i=Hs[o])!=null?i:"PrimeUI",c=a==null?void 0:a.releaseDate;if(!u)return Fs("invalid",l);let f=e[o],m=e.primeui;if(f){let g=yield Ns(f,{product:u,productLabel:l,releaseDate:c,graceDays:n,publicKeyOverride:r});if(g.valid||g.status!=="wrong-product")return g}return m&&o!=="primeui"&&u.startsWith(zr)?Ns(m,{product:u,productLabel:l,releaseDate:c,graceDays:n,publicKeyOverride:r}):Fs(f?"wrong-product":"missing",l)})},has(o){let a=As[o];return!!a&&(!!e[o]||o!=="primeui"&&a.startsWith(zr)&&!!e.primeui)}}}var Wr=null;function js(e,t){if(!e)throw new Error("[@primeui/license-manager] registerLicense: keys argument is required.");return Wr=Za(e,t)}function Us(e,t){var n;if(!Wr){let r=(n=Hs[e])!=null?n:"PrimeUI";return Promise.resolve({valid:!1,status:"unconfigured",message:qr("unconfigured",r)})}return Wr.verify(e,t)}var we=K(V());var Yr={csp:{nonce:void 0},defaults:void 0,filterMatchModeOptions:{text:[xe.STARTS_WITH,xe.CONTAINS,xe.NOT_CONTAINS,xe.ENDS_WITH,xe.EQUALS,xe.NOT_EQUALS],numeric:[xe.EQUALS,xe.NOT_EQUALS,xe.LESS_THAN,xe.LESS_THAN_OR_EQUAL_TO,xe.GREATER_THAN,xe.GREATER_THAN_OR_EQUAL_TO],date:[xe.DATE_IS,xe.DATE_IS_NOT,xe.DATE_BEFORE,xe.DATE_AFTER]},inputVariant:void 0,locale:"en",pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},ripple:!1,theme:void 0,stylesheet:void 0,unstyled:!1,zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},license:void 0};var Qa="2026-06-28",Dn=we.createContext(void 0);function Ja(e={}){var m,g;let{props:t,attrs:n}=qe(Yr,e),[r,o]=we.useState(t.inputVariant),[a,i]=we.useState(t.defaults),[u,l]=we.useState(t.zIndex);we.useEffect(()=>{t.license&&js({primeui:t.license}),Us("primeui",{releaseDate:Qa}).then(p=>{p.valid||(console.warn(`[PrimeUI] ${p.message}`),Vn())})},[]);let c=we.useMemo(()=>({inputVariant:r,setInputVariant:o,defaults:a,setDefaults:i,zIndex:u,setZIndex:l}),[r,a,u]),f=we.useMemo(()=>Z(n.children,c),[n.children,c]);return we.createElement(Dn.Provider,{value:c},we.createElement(lr,{lang:t.locale},we.createElement(dr,S({value:t.pt},t.ptOptions),we.createElement(Ar,S({preset:(m=t.theme)==null?void 0:m.preset,stylesheet:t.stylesheet},(g=t.theme)==null?void 0:g.options),f))))}var Et=K(V());function Gr(){let e=Et.useContext(Dn),t=Et.useContext(At),n=Et.useContext(Dt),r=Et.useContext(Ge);if(e===void 0)throw new Error("[PrimeReact] PrimeReactProvider not found. Wrap your application in <PrimeReactProvider> before using PrimeReact components.");return Et.useMemo(()=>({config:e,locale:t,passthrough:n,theme:r}),[e,t,n,r])}var Ve=K(V());var on=(e="UnknownBase",t)=>{var Q;let n=Gr(),{type:r,inProps:o,defaultProps:a,setup:i}=t||{},u=Vo(o==null?void 0:o.id),l=Po("pc_"),[c,f]=Ve.useMemo(()=>e.toLowerCase().split("."),[e]),m=Ve.useRef(null),g=Ve.useRef(void 0),p=Ve.useMemo(()=>({ref:m,elementRef:g,id:u,name:e,type:r,scope:c,part:kt(f),inProps:o,$attrSelector:l,$primereact:n}),[u,o,l,n,e,r]),h=(Q=n.config)==null?void 0:Q.defaults,y=Ve.useMemo(()=>{let re=Z((h==null?void 0:h[e])||(h==null?void 0:h[e.toLowerCase()]),p);return S(S({},a),re==null?void 0:re.props)},[a,h,e]),{props:v,attrs:w}=qe(y,o),T=Ve.useMemo(()=>B(S({},p),{props:v,attrs:w}),[p,v,w]),P=Z(i,T),A=Ve.useMemo(()=>{var re;return B(S(S({state:{},$computedSetup:P},P),T),{elementRef:(re=P==null?void 0:P.elementRef)!=null?re:g})},[P,T]);return Ve.useImperativeHandle(m,()=>A,[A]),A};var Bs={onDragStart:e=>{var t,n;return`Picked up ${(n=(t=e.active.data)==null?void 0:t.label)!=null?n:"item"}. Use Arrow keys to move, Space or Enter to drop, Escape to cancel.`},onDragOver:e=>{var t,n;return e.over?`Over ${(n=(t=e.over.data)==null?void 0:t.label)!=null?n:"drop zone"}.`:"Not over a drop zone."},onDragEnd:e=>{var t,n;return e.cancelled?"Drag cancelled. Item returned to original position.":e.over?`Dropped on ${(n=(t=e.over.data)==null?void 0:t.label)!=null?n:"drop zone"}.`:"Dropped."},onDragCancel:()=>"Drag cancelled. Item returned to original position.",onSortOver:e=>`Moved to position ${e.index+1} of ${e.total}${e.containerId?` in ${String(e.containerId)}`:""}.`};function Qe(){return typeof window!="undefined"&&typeof document!="undefined"}function zt(e){let t=e.getBoundingClientRect();return{x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}}function Xr(e,t,n,r){return{x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e}}function Vs(e,t){return Xr(e.x-t.x,e.y-t.y,e.width,e.height)}function mt(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function He(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function Nn(e,t){return e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom}function Zr(e){return e.width*e.height}function Ks(e,t){let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),o=Math.min(e.right,t.right)-n,a=Math.min(e.bottom,t.bottom)-r;return o>0&&a>0?o*a:0}function zs(e){if(!Qe())return null;let t=e.parentElement;for(;t&&t!==document.documentElement;){let n=getComputedStyle(t),r=(n.overflowY==="auto"||n.overflowY==="scroll")&&t.scrollHeight>t.clientHeight,o=(n.overflowX==="auto"||n.overflowX==="scroll")&&t.scrollWidth>t.clientWidth;if(r||o)return t;t=t.parentElement}return document.documentElement.scrollHeight>document.documentElement.clientHeight?document.documentElement:null}function Qr(e){return e===document.documentElement?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop}}function Ws(e,t,n){e===document.documentElement?window.scrollBy(t,n):e.scrollBy(t,n)}function Jr(e,t){let n=null;return{call(){n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,e()},t)},cancel(){n!==null&&(clearTimeout(n),n=null)}}}function eu(e){let t=[];for(let n of e.droppables)if(!n.disabled&&Nn(e.position,n.rect)){let r=Zr(n.rect);r>0&&t.push({id:n.id,data:n.data,ratio:1/r})}return t.sort((n,r)=>{var o,a;return((o=r.ratio)!=null?o:0)-((a=n.ratio)!=null?a:0)}),t}function tu(e){if(!e.activeRect)return[];let t=[];for(let n of e.droppables){if(n.disabled)continue;let r=Ks(e.activeRect,n.rect);if(r>0){let o=Zr(n.rect);t.push({id:n.id,data:n.data,ratio:o>0?r/o:0})}}return t.sort((n,r)=>{var o,a;return((o=r.ratio)!=null?o:0)-((a=n.ratio)!=null?a:0)}),t}function nu(e){if(!e.activeRect)return[];let t=He(e.activeRect),n=[];for(let r of e.droppables)r.disabled||n.push({id:r.id,data:r.data,distance:mt(t,He(r.rect))});return n.sort((r,o)=>{var a,i;return((a=r.distance)!=null?a:1/0)-((i=o.distance)!=null?i:1/0)}),n}function ru(e){if(!e.activeRect)return[];let t=e.activeRect,n=[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}],r=[];for(let o of e.droppables){if(o.disabled)continue;let a=o.rect,i=[{x:a.left,y:a.top},{x:a.right,y:a.top},{x:a.left,y:a.bottom},{x:a.right,y:a.bottom}],u=0;for(let l=0;l<4;l++)u+=mt(n[l],i[l]);r.push({id:o.id,data:o.data,distance:u/4})}return r.sort((o,a)=>{var i,u;return((i=o.distance)!=null?i:1/0)-((u=a.distance)!=null?u:1/0)}),r}var Wt={pointerWithin:eu,rectIntersection:tu,closestCenter:nu,closestCorners:ru};var qs=.25;function Ys(e){let{position:t,items:n,direction:r,activeId:o,allowInsideDrop:a=!1}=e,i={index:0,position:"before",targetId:null,dropPosition:"before",targetRect:null};if(n.length===0)return i;let u=n.filter(v=>v.id!==o);if(u.length===0)return i;let l=0,c=1/0;for(let v=0;v<u.length;v++){let w=He(u[v].rect),T=r==="horizontal"?Math.abs(t.x-w.x):r==="vertical"?Math.abs(t.y-w.y):mt(t,w);T<c&&(c=T,l=v)}let f=u[l],m=f.rect,g=He(m),p;r==="horizontal"?p=t.x<g.x?"before":"after":r==="vertical"?p=t.y<g.y?"before":"after":p=t.y<g.y?"before":t.y>g.y?"after":t.x<g.x?"before":"after";let h;a?h=ou(t,m,r):h=p;let y=n.findIndex(v=>v.id===f.id);return{index:p==="after"?y+1:y,position:p,targetId:f.id,dropPosition:h,targetRect:m}}function ou(e,t,n){if(n==="horizontal"){let o=t.width*qs;return e.x<t.left+o?"before":e.x>t.right-o?"after":"inside"}let r=t.height*qs;return e.y<t.top+r?"before":e.y>t.bottom-r?"after":"inside"}function Gs(e){let{items:t,activeId:n,originalIndex:r,projectedIndex:o,activeRect:a,itemRects:i,direction:u}=e,l=new Map;if(!a||r===o)return l;let c=o>r;if(u==="grid")for(let f=0;f<t.length;f++){let m=t[f];if(m===n||!(c?f>r&&f<=o:f>=o&&f<r))continue;let p=c?f-1:f+1;t[p]===n&&(p=c?p-1:p+1);let h=t[p],y=i.get(m),v=h?i.get(h):null;y&&v&&l.set(m,{x:v.x-y.x,y:v.y-y.y,scaleX:1,scaleY:1})}else{let f=u==="horizontal"?a.width:0,m=u==="vertical"?a.height:0;for(let g=0;g<t.length;g++){let p=t[g];if(p===n)continue;let h=0,y=0;c?g>r&&g<=o&&(h=-f,y=-m):g>=o&&g<r&&(h=f,y=m),(h!==0||y!==0)&&l.set(p,{x:h,y,scaleX:1,scaleY:1})}}return l}function Xs(e){let{sourceItems:t,targetItems:n,activeId:r,originalIndex:o,projectedIndex:a,activeRect:i,sourceDirection:u,targetDirection:l}=e,c=new Map,f=new Map;if(!i)return{sourceTransforms:c,targetTransforms:f};let m=u==="horizontal"?i.width:0,g=u==="vertical"||u==="grid"?i.height:0;for(let y=0;y<t.length;y++)t[y]!==r&&y>o&&c.set(t[y],{x:-m,y:-g,scaleX:1,scaleY:1});let p=l==="horizontal"?i.width:0,h=l==="vertical"||l==="grid"?i.height:0;for(let y=0;y<n.length;y++)y>=a&&f.set(n[y],{x:p,y:h,scaleX:1,scaleY:1});return{sourceTransforms:c,targetTransforms:f}}function eo(e,t,n){if(t<0||t>=e.length||n<0||n>e.length)return e.slice();let r=e.slice(),[o]=r.splice(t,1);return r.splice(n,0,o),r}function to(e,t,n,r){if(n<0||n>=e.length||r<0||r>t.length)return{source:e.slice(),target:t.slice()};let o=e.slice(),[a]=o.splice(n,1),i=t.slice();return i.splice(r,0,a),{source:o,target:i}}function Zs(e){var Y;let t=!1;function n(){if(t)throw new Error("createDnd: instance has been destroyed.")}let r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null},o=new Set,a=!1;function i(){if(!a){a=!0;try{for(let b of o)b()}finally{a=!1}}}function u(b){let x=b(r);x!==r&&(r=x,i())}let l=new Map;function c(b,x){let E=l.get(b);if(E)for(let k of E)k(x)}let f=(Y=e==null?void 0:e.collisionDetection)!=null?Y:"pointerWithin";function m(){var b;return(b=Wt[f])!=null?b:Wt.pointerWithin}let g=null,p=(e==null?void 0:e.autoScroll)!==!1,h=typeof(e==null?void 0:e.autoScroll)=="object"?e.autoScroll:{},y=null,v={x:0,y:0},w=S(S({},Bs),e==null?void 0:e.announcements),T=new Map;function P(){if(Qe()){T.clear();for(let[b,x]of r.draggables)x.node&&T.set(b,zt(x.node));for(let[b,x]of r.droppables)x.node&&T.set(b,zt(x.node));for(let[b,x]of r.sortableContainers)x.node&&T.set(b,zt(x.node))}}function A(b,x){let E=T.get(b);return E?Vs(E,x):null}function Q(){r.operation&&(P(),v={x:0,y:0},fe(r.operation.current))}let re=Jr(Q,50),J=Jr(Q,100),te=null,$=null,O=null,I=null;function L(){if(!(!Qe()||typeof ResizeObserver=="undefined")){te=new ResizeObserver(()=>re.call());for(let[,b]of r.sortableContainers)b.node&&te.observe(b.node)}}function D(){if(!Qe())return;let b=()=>J.call();window.addEventListener("resize",b,{passive:!0}),I=()=>{window.removeEventListener("resize",b),J.cancel()}}function ne(){if(!Qe())return;if(typeof MutationObserver!="undefined"){$=new MutationObserver(()=>re.call());for(let[,E]of r.sortableContainers)E.node&&$.observe(E.node,{childList:!0})}let b=g!=null?g:window,x=()=>re.call();b.addEventListener("scroll",x,{passive:!0}),O=()=>b.removeEventListener("scroll",x)}function oe(){$==null||$.disconnect(),$=null,O==null||O(),O=null,re.cancel()}function ae(b){var q;let x=[],E=r.operation;if(!E)return x;let k=r.draggables.get(E.activeId);for(let[F,X]of r.droppables){if(X.disabled)continue;let de=A(F,b);if(!de)continue;let ge=!X.accept||(k==null?void 0:k.scope)!=null&&X.accept.includes(k.scope),Re=X.canDrop?X.canDrop(E.data):!0;ge&&Re&&x.push({id:F,rect:de,data:(q=X.data)!=null?q:{},disabled:!1})}for(let[F,X]of r.sortableContainers){if(X.disabled)continue;let de=A(F,b);if(!de)continue;(!X.accept||(k==null?void 0:k.scope)!=null&&X.accept.includes(k.scope))&&x.push({id:F,rect:de,data:{},disabled:!1})}return x}function be(b,x){if(b.length!==x.length)return!1;for(let E=0;E<b.length;E++)if(b[E].id!==x[E].id)return!1;return!0}function fe(b,x){var ge,Re;let E=r.operation;if(!E)return;let k=x!=null?x:v,q=ae(k),F=A(E.activeId,k),X=m()({position:b,activeRect:F,droppables:q});if(!be(r.collisions,X)){let ve=(ge=r.collisions[0])!=null?ge:null,ee=(Re=X[0])!=null?Re:null;u(se=>B(S({},se),{collisions:X})),(ve==null?void 0:ve.id)!==(ee==null?void 0:ee.id)&&c("dragOver",{active:{id:E.activeId,data:E.data},over:ee?{id:ee.id,data:ee.data}:null})}Ke(b,k)}let ce=null;function _e(b){if(ce){let x=r.sortableContainers.get(ce.containerId);if(x){let E=x.items.indexOf(b);if(E!==-1)return{container:x,index:E}}ce=null}for(let[,x]of r.sortableContainers){let E=x.items.indexOf(b);if(E!==-1)return ce={containerId:x.id,index:E},{container:x,index:E}}return null}function Je(b,x){if(b.size!==x.size)return!1;for(let[E,k]of b){let q=x.get(E);if(!q||k.x!==q.x||k.y!==q.y)return!1}return!0}function Ke(b,x){var z,pe,ue,s;let E=r.operation;if(!E)return;let k=_e(E.activeId);if(!k){r.sortable!==null&&u(d=>B(S({},d),{sortable:null}));return}let q=r.draggables.get(E.activeId),F=null;for(let[,d]of r.sortableContainers){let R=A(d.id,x);if(!R||!Nn(b,R))continue;if(!d.accept||(q==null?void 0:q.scope)!=null&&d.accept.includes(q.scope)||d.id===k.container.id){F=d;break}}F||(F=k.container);let X=[];for(let d of F.items){let R=A(d,x);R&&X.push({id:d,rect:R})}let de=Ys({position:b,items:X,direction:F.direction,activeId:E.activeId,allowInsideDrop:F.allowInsideDrop}),ge=de.index,Re=F.id!==k.container.id,ve;if(Re){let{sourceTransforms:d,targetTransforms:R}=Xs({sourceItems:k.container.items,targetItems:F.items,activeId:E.activeId,originalIndex:k.index,projectedIndex:ge,activeRect:A(E.activeId,x),sourceDirection:k.container.direction,targetDirection:F.direction});ve=new Map([...d,...R])}else ve=Gs({items:k.container.items,activeId:E.activeId,originalIndex:k.index,projectedIndex:ge,activeRect:A(E.activeId,x),itemRects:T,direction:k.container.direction});let ee=de.targetId!=null?{targetId:de.targetId,position:de.dropPosition,targetRect:de.targetRect}:null,se={sourceContainerId:k.container.id,currentContainerId:F.id,originalIndex:k.index,projectedIndex:ge,transforms:ve,dropIndicator:ee},he=r.sortable;(!he||he.currentContainerId!==se.currentContainerId||he.projectedIndex!==se.projectedIndex||!Je(he.transforms,se.transforms)||((z=he.dropIndicator)==null?void 0:z.targetId)!==((pe=se.dropIndicator)==null?void 0:pe.targetId)||((ue=he.dropIndicator)==null?void 0:ue.position)!==((s=se.dropIndicator)==null?void 0:s.position))&&u(d=>B(S({},d),{sortable:se}))}function et(){if(!(!p||!Qe())){if(!g){let b=r.draggables.get(r.operation.activeId);b!=null&&b.node&&(g=zs(b.node))}g&&(v={x:0,y:0},it())}}function st(){y!==null&&(cancelAnimationFrame(y),y=null),v={x:0,y:0}}function it(){var ge,Re,ve;let b=r.operation;if(!b||!g)return;let x=(ge=h.threshold)!=null?ge:50,E=(Re=h.speed)!=null?Re:15,k=(ve=h.direction)!=null?ve:"both",q=b.current,F=g===document.documentElement?Xr(0,0,window.innerWidth,window.innerHeight):zt(g),X=0,de=0;if(k!=="horizontal"){let ee=q.y-F.top,se=F.bottom-q.y;ee>=0&&ee<x?de=-E*(1-ee/x):se>=0&&se<x&&(de=E*(1-se/x))}if(k!=="vertical"){let ee=q.x-F.left,se=F.right-q.x;ee>=0&&ee<x?X=-E*(1-ee/x):se>=0&&se<x&&(X=E*(1-se/x))}if(X!==0||de!==0){let ee=Qr(g);Ws(g,X,de);let se=Qr(g),he=se.x-ee.x,z=se.y-ee.y;(he!==0||z!==0)&&(v={x:v.x+he,y:v.y+z},fe(b.current,v))}y=requestAnimationFrame(it)}function at(b,x){if(n(),r.operation)return;let E=r.draggables.get(x);if(!E||E.disabled)return;let k=S({},E.data),q;if("clientX"in b){let F=b;q={x:F.clientX,y:F.clientY}}else{let F=E.node?zt(E.node):null;q=F?He(F):{x:0,y:0}}u(F=>B(S({},F),{operation:{activeId:x,origin:q,current:S({},q),delta:{x:0,y:0},data:k},collisions:[],sortable:null})),P(),ne(),et(),c("dragStart",{active:{id:x,data:k,node:E.node},event:b}),fe(q)}function Le(b,x){var F;n();let E=r.operation;if(!E)return;let k={x:x.x-E.origin.x,y:x.y-E.origin.y};u(X=>B(S({},X),{operation:X.operation?B(S({},X.operation),{current:x,delta:k}):null})),fe(x);let q=r.draggables.get(E.activeId);c("dragMove",{active:{id:E.activeId,data:E.data,node:(F=q==null?void 0:q.node)!=null?F:null},position:x,delta:k,event:b})}function je(b){var q;n();let x=r.operation;if(!x)return;let E=(q=r.collisions[0])!=null?q:null,k=r.sortable;k&&(k.sourceContainerId!==k.currentContainerId?c("transfer",{activeId:x.activeId,from:{containerId:k.sourceContainerId,index:k.originalIndex},to:{containerId:k.currentContainerId,index:k.projectedIndex},event:b}):k.originalIndex!==k.projectedIndex&&c("sort",{containerId:k.sourceContainerId,activeId:x.activeId,fromIndex:k.originalIndex,toIndex:k.projectedIndex,event:b})),c("dragEnd",{active:{id:x.activeId,data:x.data},over:E?{id:E.id,data:E.data}:null,cancelled:!1,event:b}),gt()}function Ae(b){n();let x=r.operation;x&&(c("dragCancel",{active:{id:x.activeId,data:x.data},event:b}),c("dragEnd",{active:{id:x.activeId,data:x.data},over:null,cancelled:!0,event:b}),gt())}function gt(){st(),oe(),T.clear(),v={x:0,y:0},ce=null,g=null,u(b=>B(S({},b),{operation:null,collisions:[],sortable:null}))}let Ue=new Set;function Tt(b,x,E){var U,H;if(n(),!Qe())return()=>{};let k=(U=E==null?void 0:E.activationDistance)!=null?U:5,q=(H=E==null?void 0:E.activationDelay)!=null?H:0,F=!1,X=!1,de=null,ge=null,Re=q===0,ve=null,ee=null,se=null;function he(){F=!1,X=!1,de=null,Re=q===0,ge!==null&&(clearTimeout(ge),ge=null),ve!==null&&(cancelAnimationFrame(ve),ve=null),ee=null,se=null,document.removeEventListener("pointermove",ue),document.removeEventListener("pointerup",s),document.removeEventListener("pointercancel",d),document.removeEventListener("keydown",R),document.removeEventListener("contextmenu",C)}function z(){ee&&se&&X&&(Le(se,ee),ee=null,se=null),ve=null}function pe(N){if(N.button!==0||r.operation)return;let j=r.draggables.get(x);if(!(j!=null&&j.disabled)){F=!0,de={x:N.clientX,y:N.clientY},Re=q===0;try{b.setPointerCapture(N.pointerId)}catch(De){}q>0&&(ge=setTimeout(()=>{Re=!0,ge=null},q)),document.addEventListener("pointermove",ue),document.addEventListener("pointerup",s),document.addEventListener("pointercancel",d),document.addEventListener("keydown",R),document.addEventListener("contextmenu",C)}}function ue(N){if(!F&&!X||!de)return;let j={x:N.clientX,y:N.clientY};if(!X){let De=mt(de,j);if(!Re){De>k&&he();return}if(De<k)return;X=!0,F=!1,at(N,x);return}ee=j,se=N,ve===null&&(ve=requestAnimationFrame(z))}function s(N){X&&(ee&&Le(N,ee),je(N));try{b.releasePointerCapture(N.pointerId)}catch(j){}he()}function d(N){X&&Ae(N);try{b.releasePointerCapture(N.pointerId)}catch(j){}he()}function R(N){N.key==="Escape"&&X&&(Ae(N),he())}function C(N){(X||F)&&N.preventDefault()}b.addEventListener("pointerdown",pe);let M=()=>{he(),b.removeEventListener("pointerdown",pe),Ue.delete(M)};return Ue.add(M),M}function Ct(b,x,E){var se,he;if(n(),!Qe())return()=>{};let k=(se=E==null?void 0:E.step)!=null?se:25,q=(he=E==null?void 0:E.fastStep)!=null?he:k*5,F=!1;function X(z){let pe=r.draggables.get(x);if(!(pe!=null&&pe.disabled)){if(!F){(z.key===" "||z.key==="Enter")&&(z.preventDefault(),F=!0,at(z,x));return}switch(z.preventDefault(),z.key){case"Escape":F=!1,Ae(z);break;case"Tab":F=!1,Ae(z);break;case" ":case"Enter":F=!1,je(z);break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":if(!r.operation)break;if(r.sortable!==null)de(z);else{let ue=z.shiftKey?q:k,s=r.operation.current,d={x:s.x,y:s.y};z.key==="ArrowUp"&&(d.y-=ue),z.key==="ArrowDown"&&(d.y+=ue),z.key==="ArrowLeft"&&(d.x-=ue),z.key==="ArrowRight"&&(d.x+=ue),Le(z,d)}break;case"Home":case"End":r.sortable&&ge(z);break}}}function de(z){if(!r.operation||!r.sortable)return;let{currentContainerId:pe,projectedIndex:ue}=r.sortable,s=r.sortableContainers.get(pe);if(!s)return;let d=s.direction==="vertical"||s.direction==="grid",R=s.direction==="horizontal"||s.direction==="grid",C=ue,M=pe;if(z.key==="ArrowUp"&&d||z.key==="ArrowLeft"&&R)C>0&&C--;else if(z.key==="ArrowDown"&&d||z.key==="ArrowRight"&&R){let U=s.items.filter(H=>H!==r.operation.activeId).length;C<U&&C++}else if(z.key==="ArrowLeft"||z.key==="ArrowRight"){let U=ve(pe,z.key==="ArrowRight"?"right":"left");U&&(M=U.id,C=0)}(C!==ue||M!==pe)&&Re(M,C,z)}function ge(z){if(!r.operation||!r.sortable)return;let pe=r.sortableContainers.get(r.sortable.currentContainerId);if(!pe)return;let ue=pe.items.filter(d=>d!==r.operation.activeId),s=z.key==="Home"?ue[0]:ue[ue.length-1];if(s!=null){let d=A(s,v);d&&Le(z,He(d))}}function Re(z,pe,ue){let s=r.sortableContainers.get(z);if(!s)return;let d=s.items.filter(C=>C!==r.operation.activeId),R=d[Math.min(pe,d.length-1)];if(R!=null){let C=A(R,v);if(C){Le(ue,He(C));let M=r.draggables.get(R);M!=null&&M.node&&M.node.scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth"})}}}function ve(z,pe){let ue=A(z,v);if(!ue)return null;let s=He(ue),d=null,R=1/0;for(let[C,M]of r.sortableContainers){if(C===z)continue;let U=A(C,v);if(!U)continue;let H=He(U);if(pe==="right"&&H.x<=s.x||pe==="left"&&H.x>=s.x)continue;let N=r.draggables.get(r.operation.activeId);if(M.accept&&(N==null?void 0:N.scope)!=null&&!M.accept.includes(N.scope))continue;let j=mt(s,H);j<R&&(R=j,d=M)}return d}b.addEventListener("keydown",X);let ee=()=>{F&&(F=!1,Ae()),b.removeEventListener("keydown",X),Ue.delete(ee)};return Ue.add(ee),ee}function ht(b){return n(),u(x=>{let E=new Map(x.draggables);return E.set(b.id,b),B(S({},x),{draggables:E})}),()=>{var x;((x=r.operation)==null?void 0:x.activeId)===b.id&&Ae(),u(E=>{let k=new Map(E.draggables);return k.delete(b.id),B(S({},E),{draggables:k})})}}function Te(b){return n(),u(x=>{let E=new Map(x.droppables);return E.set(b.id,b),B(S({},x),{droppables:E})}),()=>{u(x=>{let E=new Map(x.droppables);return E.delete(b.id),B(S({},x),{droppables:E})})}}function wt(b){return n(),u(x=>{let E=new Map(x.sortableContainers);return E.set(b.id,b),B(S({},x),{sortableContainers:E})}),b.node&&te&&te.observe(b.node),()=>{b.node&&te&&te.unobserve(b.node),u(x=>{let E=new Map(x.sortableContainers);return E.delete(b.id),B(S({},x),{sortableContainers:E})})}}function qt(b,x){let E=w[b];return E?E(x):""}return Qe()&&(L(),D()),{getState:()=>r,subscribe(b){return n(),o.add(b),()=>{o.delete(b)}},registerDraggable:ht,registerDroppable:Te,registerSortableContainer:wt,startDrag:at,updateDrag:Le,endDrag:je,cancelDrag:Ae,on(b,x){n(),l.has(b)||l.set(b,new Set);let E=l.get(b),k=x;return E.add(k),()=>{E.delete(k)}},attachPointerSensor:Tt,attachKeyboardSensor:Ct,setScrollableElement(b){g=b},setCollisionDetection(b){f=b},measureRects:P,getAdjustedRect:A,getAnnouncement:qt,destroy(){if(!t){t=!0,r.operation&&(c("dragCancel",{active:{id:r.operation.activeId,data:r.operation.data}}),c("dragEnd",{active:{id:r.operation.activeId,data:r.operation.data},over:null,cancelled:!0}),st(),oe());for(let b of Ue)b();Ue.clear(),te==null||te.disconnect(),te=null,I==null||I(),I=null,re.cancel(),J.cancel(),l.clear(),o.clear(),T.clear(),r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null}}}}}var co=K(V());var[no,su]=pr();var cn={elementRef:void 0,visible:!1,mountOnEnter:!0,unmountOnLeave:!0,name:void 0,type:void 0,safe:!1,disabled:!1,appear:!1,enter:!0,leave:!0,duration:void 0,hideStrategy:"display",cssVarPrefix:void 0,enterFromClassName:void 0,enterToClassName:void 0,enterActiveClassName:void 0,leaveFromClassName:void 0,leaveToClassName:void 0,leaveActiveClassName:void 0,onBeforeEnter:void 0,onEnter:void 0,onAfterEnter:void 0,onEnterCancelled:void 0,onBeforeLeave:void 0,onLeave:void 0,onAfterLeave:void 0,onLeaveCancelled:void 0};var ro=B(S({},cn),{as:"div"});var Ee=K(V());var Fn=new WeakMap,au=Object.freeze({display:"none"}),uu=Object.freeze({visibility:"hidden",maxHeight:"0"});function oo(e){switch(e){case"display":return au;case"visibility":return uu;default:return}}function $n(e,t){if(!e)return;Fn.has(e)||Fn.set(e,{display:e.style.display==="none"?"":e.style.display,visibility:e.style.visibility==="hidden"?"":e.style.visibility,maxHeight:e.style.maxHeight==="0"?"":e.style.maxHeight});let n=oo(t);n&&Object.assign(e.style,n)}function so(e,t){var r,o,a;if(!e)return;let n=Fn.get(e);switch(t){case"display":e.style.display=(r=n==null?void 0:n.display)!=null?r:"";break;case"visibility":e.style.visibility=(o=n==null?void 0:n.visibility)!=null?o:"",e.style.maxHeight=(a=n==null?void 0:n.maxHeight)!=null?a:"";break}Fn.delete(e)}var lu=Object.defineProperty,Qs=Object.getOwnPropertySymbols,cu=Object.prototype.hasOwnProperty,du=Object.prototype.propertyIsEnumerable,Js=(e,t,n)=>t in e?lu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ei=(e,t)=>{for(var n in t||(t={}))cu.call(t,n)&&Js(e,n,t[n]);if(Qs)for(var n of Qs(t))du.call(t,n)&&Js(e,n,t[n]);return e};var Hn="animation",dn="transition",fu=["data-enter-phase","data-enter-from","data-enter-to","data-enter-active","data-leave-phase","data-leave-from","data-leave-to","data-leave-active"];function ti(e){return e?e.disabled||!!(e.safe&&No()):!1}function ni(e,t){return e?ei(ei({},e),Object.entries(t).reduce((n,[r,o])=>{var a;return n[r]=(a=e[r])!=null?a:o,n},{})):t}function ri(e){let{name:t,enterClass:n,leaveClass:r}=e||{};return{enter:{from:(n==null?void 0:n.from)||`${t}-enter-from`,to:(n==null?void 0:n.to)||`${t}-enter-to`,active:(n==null?void 0:n.active)||`${t}-enter-active`},leave:{from:(r==null?void 0:r.from)||`${t}-leave-from`,to:(r==null?void 0:r.to)||`${t}-leave-to`,active:(r==null?void 0:r.active)||`${t}-leave-active`}}}function oi(e){return{enter:{onBefore:e==null?void 0:e.onBeforeEnter,onStart:e==null?void 0:e.onEnter,onAfter:e==null?void 0:e.onAfterEnter,onCancelled:e==null?void 0:e.onEnterCancelled},leave:{onBefore:e==null?void 0:e.onBeforeLeave,onStart:e==null?void 0:e.onLeave,onAfter:e==null?void 0:e.onAfterLeave,onCancelled:e==null?void 0:e.onLeaveCancelled}}}function si(e,t){let n=window.getComputedStyle(e),r=p=>{let h=n[`${p}Delay`],y=n[`${p}Duration`];return[h.split(", ").map(tr),y.split(", ").map(tr)]},[o,a]=r(dn),[i,u]=r(Hn),l=Math.max(...a.map((p,h)=>p+o[h])),c=Math.max(...u.map((p,h)=>p+i[h])),f,m=0,g=0;return t===dn?l>0&&(f=dn,m=l,g=a.length):t===Hn?c>0&&(f=Hn,m=c,g=u.length):(m=Math.max(l,c),f=m>0?l>c?dn:Hn:void 0,g=f?f===dn?a.length:u.length:0),{type:f,timeout:m,count:g}}function ii(e,t){return typeof e=="number"?e:typeof e=="object"&&e[t]!=null?e[t]:null}function St(e,t){return e?`--${e}-${t}`:`--${t}`}function fn(e,t,n){let{autoHeight:r,autoWidth:o,cssVarPrefix:a}=t,i=typeof n=="object";r&&sr(e,St(a,"height"),i?n.height:n),o&&sr(e,St(a,"width"),i?n.width:n)}function io(e,t){if(!t.autoHeight&&!t.autoWidth)return;let n=_o(e);fn(e,t,{height:(e.scrollHeight||n.height)+"px",width:(e.scrollWidth||n.width)+"px"})}function ai(e,t){e.setAttribute(`data-${t}-phase`,"")}function ao(e,t,n){e.removeAttribute("data-enter-from"),e.removeAttribute("data-enter-to"),e.removeAttribute("data-leave-from"),e.removeAttribute("data-leave-to"),e.setAttribute(`data-${t}-${n}`,""),e.setAttribute(`data-${t}-active`,"")}function uo(e){e.removeAttribute("data-enter-phase"),e.removeAttribute("data-leave-phase")}function ui(e){fu.forEach(t=>e.removeAttribute(t))}var pu=Object.freeze({}),li={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function ci(e,t){if(!e)throw new Error("Element is required.");let n={},r=!1,o={},a=null,i={},u=f=>{if(Object.assign(n,ni(f,li)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");i=oi(n),r=ti(n),o=ri(n),a=null},l=f=>Xt(null,null,function*(){a==null||a();let{onBefore:m,onStart:g,onAfter:p,onCancelled:h}=i[f]||{},y={element:e};if(ai(e,f),r){m==null||m(y),g==null||g(y),p==null||p(y),uo(e);return}let{from:v,active:w,to:T}=o[f]||{};return m==null||m(y),f==="enter"?fn(e,n,"0px"):io(e,n),yn(e,v),yn(e,w),ao(e,f,"from"),yield or(),f==="enter"?io(e,n):fn(e,n,"0px"),rr(e,v),yn(e,T),ao(e,f,"to"),g==null||g(y),new Promise(P=>{let A=ii(n.duration,f),Q=()=>{rr(e,[T,w]),a=null,ui(e),uo(e)},re=()=>{Q(),p==null||p(y),P(),f==="enter"&&fn(e,n,"auto")};a=()=>{Q(),h==null||h(y),P()},gu(e,n.type,A,re)})});u(t);let c={enter:()=>n.enter?l("enter"):Promise.resolve(),leave:()=>n.leave?l("leave"):Promise.resolve(),cancel:()=>{a==null||a(),a=null},update:(f,m)=>{if(!f)throw new Error("Element is required.");e=f,c.cancel(),u(m)}};return n.appear&&c.enter(),c}var mu=0;function gu(e,t,n,r){let o=e._motionEndId=++mu,a=()=>{o===e._motionEndId&&r()};if(n!=null)return setTimeout(a,n);let{type:i,timeout:u,count:l}=si(e,t);if(!i){r();return}let c=i+"end",f=0,m=()=>{e.removeEventListener(c,g,!0),a()},g=p=>{p.target===e&&++f>=l&&m()};e.addEventListener(c,g,{capture:!0,once:!0}),setTimeout(()=>{f<l&&m()},u+1)}var lo=un({name:"useMotion",defaultProps:cn,setup({props:e,elementRef:t}){let[n,r]=Ee.useState(()=>e.visible&&e.mountOnEnter||!e.mountOnEnter),o={rendered:n},a=Ee.useRef(void 0),i=Ee.useRef(!0),u=Ee.useCallback(()=>{var p;return(p=Ot(e.elementRef))!=null?p:t==null?void 0:t.current},[e.elementRef,t]),l=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.enter()},[]),c=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.leave()},[]),f=Ee.useCallback(()=>{var p;return(p=a.current)==null?void 0:p.cancel()},[]),m=Ee.useCallback((p,h={})=>{var v;if(!p)return;let y=B(S({},h),{enterClass:{from:h.enterFromClassName,to:h.enterToClassName,active:h.enterActiveClassName},leaveClass:{from:h.leaveFromClassName,to:h.leaveToClassName,active:h.leaveActiveClassName}});a.current?(v=a.current)==null||v.update(p,y):a.current=ci(p,y)},[]);Ee.useLayoutEffect(()=>()=>{let p=u();so(p,e.hideStrategy),i.current=!0},[]),Ee.useLayoutEffect(()=>{e.visible&&!n&&r(!0)},[e.visible]),Ee.useLayoutEffect(()=>{let p=u();m==null||m(p,e)},[]),Ee.useLayoutEffect(()=>{var v;let p=u();if(!p||!n){p&&!e.visible&&$n(p,e.hideStrategy),i.current=!1;return}let h=!1,y=i.current&&e.visible&&e.appear;if(so(p,e.hideStrategy),m==null||m(p,e),e.visible){if(y||!i.current)l==null||l();else if(e.cssVarPrefix){let w=St(e.cssVarPrefix,"width"),T=St(e.cssVarPrefix,"height");p.style.setProperty(w,"auto"),p.style.setProperty(T,"auto")}}else(v=c==null?void 0:c())==null||v.then(()=>{!p||h||e.visible||(e.unmountOnLeave?($n(p,e.hideStrategy),or().then(()=>{h||r(!1)})):$n(p,e.hideStrategy))});return i.current=!1,()=>{h=!0,f==null||f()}},[e.visible,n,e.unmountOnLeave,e.appear,u]);let g=Ee.useMemo(()=>{if(!e.visible&&!n){let p=St(e.cssVarPrefix,"width"),h=St(e.cssVarPrefix,"height");return{style:B(S({},oo(e.hideStrategy)),{[p]:"0px",[h]:"0px"})}}return pu},[e.visible,n,e.hideStrategy,e.cssVarPrefix]);return{state:o,enter:l,leave:c,cancel:f,update:m,rootProps:g}}});var hu=sn({name:"Motion",defaultProps:ro,setup(e){return lo(e.inProps)},render(e){let{id:t,props:n,state:r,ptmi:o,rootProps:a}=e,i=ut({id:t},o("root"),a);return co.createElement(no,{value:e},co.createElement(Nt,{pIf:r.rendered,instance:e,attrs:i,children:n.children}))}});var Pe=K(V());var yu=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n].id!==t[n].id||e[n].open!==t[n].open)return!1;return!0};function vu(){let e=new Map,t=new Set,n=[],r=[],o=()=>{let i=Array.from(e.values()),u=i.map(l=>({id:l.id,open:l.open}));return yu(r,u)&&i.length===n.length&&!i.some((c,f)=>{var m;return c.props!==((m=n[f])==null?void 0:m.props)})?!1:(n=i,r=u,!0)},a=()=>{o()&&t.forEach(i=>i())};return{subscribe(i){return t.add(i),()=>{t.delete(i)}},getSnapshot(){return n},open(i,u){e.set(i,{id:i,props:u,open:!0}),a()},close(i){if(i===void 0){let l=!1;e.forEach((c,f)=>{c.open&&(e.set(f,B(S({},c),{open:!1})),l=!0)}),l&&a();return}let u=e.get(i);u!=null&&u.open&&(e.set(i,B(S({},u),{open:!1})),a())},remove(i){e.delete(i)&&a()},removeAll(){e.size!==0&&(e.clear(),a())},update(i,u){let l=e.get(i);l&&(e.set(i,B(S({},l),{props:S(S({},l.props),u)})),a())},getItem(i){return e.get(i)},isOpen(i){var u,l;return(l=(u=e.get(i))==null?void 0:u.open)!=null?l:!1},isAnyOpen(){for(let i of e.values())if(i.open)return!0;return!1}}}function bu({item:e,store:t,render:n,defaults:r}){let[o,a]=Pe.useState(!1);Pe.useEffect(()=>{a(!0)},[]);let i=Pe.useCallback(l=>{l.value||t.close(e.id)},[e.id,t]),u=Pe.useCallback(()=>{t.remove(e.id)},[e.id,t]);return Pe.createElement(Pe.Fragment,null,n.current(B(S(S({},r.current),e.props),{overlayId:e.id,open:o?e.open:!1,onOpenChange:i,onExitComplete:u})))}var Ru=(e,t,n)=>{let r=()=>{let o=Pe.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot);return Pe.createElement(Pe.Fragment,null,o.map(a=>Pe.createElement(bu,{key:a.id,item:a,store:e,render:t,defaults:n})))};return r.displayName="OverlayManagerRender",r},xu=["open","onOpenChange","onExitComplete","overlayId"];function Eu(e){let t=S({},e);for(let n of xu)delete t[n];return t}function Su(e,t={}){let n=vu(),r={current:e},o={current:t.props},a=Ru(n,r,o);return{open:n.open,close:n.close,remove:n.remove,removeAll:n.removeAll,update:(i,u)=>n.update(i,Eu(u)),isOpen:n.isOpen,isAnyOpen:n.isAnyOpen,get:i=>{var u;return(u=n.getItem(i))==null?void 0:u.props},getSnapshot:n.getSnapshot,setRender:i=>{r.current=i},Viewport:a}}var di=K(V());var fo=class extends cs{constructor({attrs:t}={}){super({attrs:t}),this._styles.set("layer-order",{})}has(t){var n;return t==="layer-order"?((n=this._styles.get(t))==null?void 0:n.css)!==void 0:this._styles.has(t)}createStyleElement(t={}){let{css:n,attrs:r,name:o}=t;if(!ze(o))return di.createElement("style",B(S({},r),{"data-primereact-style-id":o,key:o}),n)}};return xi(Tu);})();
|
|
15
|
+
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),s}function A(){h.asyncTransitions--}function N(s){if(L===null)try{var f=("require"+Math.random()).slice(0,7);L=(cn&&cn[f]).call(cn,"timers").setImmediate}catch{L=function(P){he===!1&&(he=!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 C=new MessageChannel;C.port1.onmessage=P,C.port2.postMessage(void 0)}}return L(s)}function F(s){return 1<s.length&&typeof AggregateError=="function"?new AggregateError(s):s[0]}function me(s,f){f!==Z-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. "),Z=f}function ce(s,f,R){var P=h.actQueue;if(P!==null)if(P.length!==0)try{ae(P),N(function(){return ce(s,f,R)});return}catch(C){h.thrownErrors.push(C)}else h.actQueue=null;0<h.thrownErrors.length?(P=F(h.thrownErrors),h.thrownErrors.length=0,R(P)):f(s)}function ae(s){if(!X){X=!0;var f=0;try{for(;f<s.length;f++){var R=s[f];do{h.didUsePromise=!1;var P=R(!1);if(P!==null){if(h.didUsePromise){s[f]=R,s.splice(0,f);return}R=P}else break}while(!0)}s.length=0}catch(C){s.splice(0,f+1),h.thrownErrors.push(C)}finally{X=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var ve=Symbol.for("react.transitional.element"),fe=Symbol.for("react.portal"),re=Symbol.for("react.fragment"),Ae=Symbol.for("react.strict_mode"),Qe=Symbol.for("react.profiler"),Ve=Symbol.for("react.consumer"),Je=Symbol.for("react.context"),We=Symbol.for("react.forward_ref"),ot=Symbol.for("react.suspense"),st=Symbol.for("react.suspense_list"),Me=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Le=Symbol.for("react.activity"),mt=Symbol.iterator,He={},Et={isMounted:function(){return!1},enqueueForceUpdate:function(s){n(s,"forceUpdate")},enqueueReplaceState:function(s){n(s,"replaceState")},enqueueSetState:function(s){n(s,"setState")}},xt=Object.assign,yt={};Object.freeze(yt),r.prototype.isReactComponent={},r.prototype.setState=function(s,f){if(typeof s!="object"&&typeof s!="function"&&s!=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,s,f,"setState")},r.prototype.forceUpdate=function(s){this.updater.enqueueForceUpdate(this,s,"forceUpdate")};var Pe={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(be in Pe)Pe.hasOwnProperty(be)&&e(be,Pe[be]);o.prototype=r.prototype,Pe=a.prototype=new o,Pe.constructor=a,xt(Pe,r.prototype),Pe.isPureReactComponent=!0;var Pt=Array.isArray,Kt=Symbol.for("react.client.reference"),h={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},S=Object.prototype.hasOwnProperty,E=console.createTask?console.createTask:function(){return null};Pe={react_stack_bottom_frame:function(s){return s()}};var _,U,I={},G=Pe.react_stack_bottom_frame.bind(Pe,y)(),ue=E(d(y)),ne=!1,oe=/\/+/g,ye=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var f=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(f))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},he=!1,L=null,Z=0,z=!1,X=!1,ie=typeof queueMicrotask=="function"?function(s){queueMicrotask(function(){return queueMicrotask(s)})}:N;Pe=Object.freeze({__proto__:null,c:function(s){return W().useMemoCache(s)}});var be={map:Y,forEach:function(s,f,R){Y(s,function(){f.apply(this,arguments)},R)},count:function(s){var f=0;return Y(s,function(){f++}),f},toArray:function(s){return Y(s,function(f){return f})||[]},only:function(s){if(!T(s))throw Error("React.Children.only expected to receive a single React element child.");return s}};D.Activity=Le,D.Children=be,D.Component=r,D.Fragment=re,D.Profiler=Qe,D.PureComponent=a,D.StrictMode=Ae,D.Suspense=ot,D.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=h,D.__COMPILER_RUNTIME=Pe,D.act=function(s){var f=h.actQueue,R=Z;Z++;var P=h.actQueue=f!==null?f:[],C=!1;try{var $=s()}catch(K){h.thrownErrors.push(K)}if(0<h.thrownErrors.length)throw me(f,R),s=F(h.thrownErrors),h.thrownErrors.length=0,s;if($!==null&&typeof $=="object"&&typeof $.then=="function"){var j=$;return ie(function(){C||z||(z=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(K,it){C=!0,j.then(function(Ct){if(me(f,R),R===0){try{ae(P),N(function(){return ce(Ct,K,it)})}catch(Js){h.thrownErrors.push(Js)}if(0<h.thrownErrors.length){var Qs=F(h.thrownErrors);h.thrownErrors.length=0,it(Qs)}}else K(Ct)},function(Ct){me(f,R),0<h.thrownErrors.length&&(Ct=F(h.thrownErrors),h.thrownErrors.length=0),it(Ct)})}}}var se=$;if(me(f,R),R===0&&(ae(P),P.length!==0&&ie(function(){C||z||(z=!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(() => ...)"))}),h.actQueue=null),0<h.thrownErrors.length)throw s=F(h.thrownErrors),h.thrownErrors.length=0,s;return{then:function(K,it){C=!0,R===0?(h.actQueue=P,N(function(){return ce(se,K,it)})):K(se)}}},D.cache=function(s){return function(){return s.apply(null,arguments)}},D.cacheSignal=function(){return null},D.captureOwnerStack=function(){var s=h.getCurrentStack;return s===null?null:s()},D.cloneElement=function(s,f,R){if(s==null)throw Error("The argument must be a React element, but you passed "+s+".");var P=xt({},s.props),C=s.key,$=s._owner;if(f!=null){var j;e:{if(S.call(f,"ref")&&(j=Object.getOwnPropertyDescriptor(f,"ref").get)&&j.isReactWarning){j=!1;break e}j=f.ref!==void 0}j&&($=m()),p(f)&&(c(f.key),C=""+f.key);for(se in f)!S.call(f,se)||se==="key"||se==="__self"||se==="__source"||se==="ref"&&f.ref===void 0||(P[se]=f[se])}var se=arguments.length-2;if(se===1)P.children=R;else if(1<se){j=Array(se);for(var K=0;K<se;K++)j[K]=arguments[K+2];P.children=j}for(P=b(s.type,C,P,$,s._debugStack,s._debugTask),C=2;C<arguments.length;C++)x(arguments[C]);return P},D.createContext=function(s){return s={$$typeof:Je,_currentValue:s,_currentValue2:s,_threadCount:0,Provider:null,Consumer:null},s.Provider=s,s.Consumer={$$typeof:Ve,_context:s},s._currentRenderer=null,s._currentRenderer2=null,s},D.createElement=function(s,f,R){for(var P=2;P<arguments.length;P++)x(arguments[P]);P={};var C=null;if(f!=null)for(K in U||!("__self"in f)||"key"in f||(U=!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")),p(f)&&(c(f.key),C=""+f.key),f)S.call(f,K)&&K!=="key"&&K!=="__self"&&K!=="__source"&&(P[K]=f[K]);var $=arguments.length-2;if($===1)P.children=R;else if(1<$){for(var j=Array($),se=0;se<$;se++)j[se]=arguments[se+2];Object.freeze&&Object.freeze(j),P.children=j}if(s&&s.defaultProps)for(K in $=s.defaultProps,$)P[K]===void 0&&(P[K]=$[K]);C&&v(P,typeof s=="function"?s.displayName||s.name||"Unknown":s);var K=1e4>h.recentlyCreatedOwnerStacks++;return b(s,C,P,m(),K?Error("react-stack-top-frame"):G,K?E(d(s)):ue)},D.createRef=function(){var s={current:null};return Object.seal(s),s},D.forwardRef=function(s){s!=null&&s.$$typeof===Me?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof s!="function"?console.error("forwardRef requires a render function but was given %s.",s===null?"null":typeof s):s.length!==0&&s.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",s.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),s!=null&&s.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var f={$$typeof:We,render:s},R;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(P){R=P,s.name||s.displayName||(Object.defineProperty(s,"name",{value:P}),s.displayName=P)}}),f},D.isValidElement=T,D.lazy=function(s){s={_status:-1,_result:s};var f={$$typeof:je,_payload:s,_init:pe},R={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return s._ioInfo=R,f._debugInfo=[{awaited:R}],f},D.memo=function(s,f){s==null&&console.error("memo: The first argument must be a component. Instead received: %s",s===null?"null":typeof s),f={$$typeof:Me,type:s,compare:f===void 0?null:f};var R;return Object.defineProperty(f,"displayName",{enumerable:!1,configurable:!0,get:function(){return R},set:function(P){R=P,s.name||s.displayName||(Object.defineProperty(s,"name",{value:P}),s.displayName=P)}}),f},D.startTransition=function(s){var f=h.T,R={};R._updatedFibers=new Set,h.T=R;try{var P=s(),C=h.S;C!==null&&C(R,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&(h.asyncTransitions++,P.then(A,A),P.then(i,ye))}catch($){ye($)}finally{f===null&&R._updatedFibers&&(s=R._updatedFibers.size,R._updatedFibers.clear(),10<s&&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.")),f!==null&&R.types!==null&&(f.types!==null&&f.types!==R.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."),f.types=R.types),h.T=f}},D.unstable_useCacheRefresh=function(){return W().useCacheRefresh()},D.use=function(s){return W().use(s)},D.useActionState=function(s,f,R){return W().useActionState(s,f,R)},D.useCallback=function(s,f){return W().useCallback(s,f)},D.useContext=function(s){var f=W();return s.$$typeof===Ve&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),f.useContext(s)},D.useDebugValue=function(s,f){return W().useDebugValue(s,f)},D.useDeferredValue=function(s,f){return W().useDeferredValue(s,f)},D.useEffect=function(s,f){return s==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),W().useEffect(s,f)},D.useEffectEvent=function(s){return W().useEffectEvent(s)},D.useId=function(){return W().useId()},D.useImperativeHandle=function(s,f,R){return W().useImperativeHandle(s,f,R)},D.useInsertionEffect=function(s,f){return s==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),W().useInsertionEffect(s,f)},D.useLayoutEffect=function(s,f){return s==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),W().useLayoutEffect(s,f)},D.useMemo=function(s,f){return W().useMemo(s,f)},D.useOptimistic=function(s,f){return W().useOptimistic(s,f)},D.useReducer=function(s,f,R){return W().useReducer(s,f,R)},D.useRef=function(s){return W().useRef(s)},D.useState=function(s){return W().useState(s)},D.useSyncExternalStore=function(s,f,R){return W().useSyncExternalStore(s,f,R)},D.useTransition=function(){return W().useTransition()},D.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var J=Ln((El,Gn)=>{"use strict";process.env.NODE_ENV==="production"?Gn.exports=Co():Gn.exports=wo()});var ll={};si(ll,{$l:()=>an,$t:()=>Bn,Component:()=>Dt,ConnectedOverlayScrollHandler:()=>or,DEFAULT_MOTION_OPTIONS:()=>Gs,FilterMatchMode:()=>Se,FilterOperator:()=>ai,Icon:()=>ua,LocaleContext:()=>Lt,LocaleProvider:()=>tr,LocaleService:()=>Ot,Motion:()=>el,MotionProvider:()=>Kr,OverlayEventBus:()=>Vi,PassThroughContext:()=>Nt,PassThroughProvider:()=>rr,PrimeReactContext:()=>_n,PrimeReactProvider:()=>$a,PrimeReactStyleSheet:()=>no,StylePreloadRegistry:()=>Xt,StyleRegistry:()=>gt,ThemeContext:()=>Ge,ThemeProvider:()=>Cr,addStylePreloadsToStyleSheet:()=>cr,arrayMove:()=>zr,arrayTransfer:()=>qr,collisionStrategies:()=>qt,combinedRefs:()=>Ui,createDnd:()=>$s,createMotion2:()=>Xs,createOptionalContext:()=>sr,createOverlayManager:()=>al,createSafeContext:()=>Bi,defaultComponentProps:()=>Yi,defaultConfigProps:()=>Hr,defaultIconProps:()=>Sr,defaultLocaleProps:()=>er,defaultMotionProps:()=>Yr,defaultPTProps:()=>nr,defaultThemeProps:()=>Pr,defaultUseMotionProps:()=>nn,defaultUseStyleProps:()=>ca,defineLocale:()=>_t,en:()=>mo,globalProps:()=>gn,isDev:()=>ir,isElementOfType:()=>Ki,isValidElement:()=>dr,mergeRefs:()=>ar,showInvalidLicenseBanner:()=>Nn,styles:()=>Jt,updateLocale:()=>po,upsertStylePreloadsToHead:()=>ur,useBase:()=>Zt,useComponent:()=>br,useHeadless:()=>Rr,useIcon:()=>Er,useLocale:()=>ji,useMotion:()=>eo,useMotionContext:()=>Va,usePassThrough:()=>Hi,usePrimeReact:()=>Ur,useStyle:()=>vr,useTheme:()=>da,withComponent:()=>Qt,withHeadless:()=>en,withIcon:()=>xr});var Se=Object.freeze({STARTS_WITH:"startsWith",CONTAINS:"contains",NOT_CONTAINS:"notContains",ENDS_WITH:"endsWith",EQUALS:"equals",NOT_EQUALS:"notEquals",IN:"in",LESS_THAN:"lt",LESS_THAN_OR_EQUAL_TO:"lte",GREATER_THAN:"gt",GREATER_THAN_OR_EQUAL_TO:"gte",BETWEEN:"between",DATE_IS:"dateIs",DATE_IS_NOT:"dateIsNot",DATE_BEFORE:"dateBefore",DATE_AFTER:"dateAfter",CUSTOM:"custom"});var ai=Object.freeze({AND:"and",OR:"or"});function Nn(){if(typeof document>"u"||document.getElementById("p-license-host"))return;let e=document.createElement("div");e.id="p-license-host",e.style.cssText="all:initial;position:fixed;bottom:16px;right:16px;z-index:2147483647;pointer-events:none;";let t=e.attachShadow({mode:"closed"});t.innerHTML='<div role="alert" style="padding:10px 14px;background:#991b1b;color:#fff;font:600 13px/1.2 system-ui,-apple-system,sans-serif;border-radius:6px;box-shadow:0 4px 12px rgba(0,0,0,0.2);">Invalid PrimeUI License</div>',document.body.appendChild(e)}var li=Object.defineProperty,oo=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,ui=Object.prototype.propertyIsEnumerable,so=(e,t,n)=>t in e?li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,io=(e,t)=>{for(var n in t||(t={}))ci.call(t,n)&&so(e,n,t[n]);if(oo)for(var n of oo(t))ui.call(t,n)&&so(e,n,t[n]);return e};function ze(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Dn(e){return typeof e=="function"&&"call"in e&&"apply"in e}function Q(e){return!ze(e)}function Re(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}var di=new Set(["__proto__","constructor","prototype"]);function ao(e={},t={}){let n=io({},e);return Object.keys(t).forEach(r=>{if(di.has(r))return;let o=r;Re(t[o])&&o in e&&Re(e[o])?n[o]=ao(e[o],t[o]):n[o]=t[o]}),n}function $n(...e){return e.reduce((t,n,r)=>r===0?n:ao(t,n),{})}function V(e,...t){return Dn(e)?e(...t):e}function Ce(e,t=!0){return typeof e=="string"&&(t||e!=="")}function Yt(e){return Ce(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function ke(e,t="",n={}){let r=Yt(t).split("."),o=r.shift();if(o){if(Re(e)){let a=Object.keys(e).find(i=>Yt(i)===o)||"";return ke(V(e[a],n),r.join("."),n)}return}return V(e,n)}function jn(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function lo(e){return Q(e)&&!isNaN(e)}function qe(e,t){if(t){let n=t.test(e);return t.lastIndex=0,n}return!1}function et(e){return e&&e.replace(/\/\*(?:(?!\*\/)[\s\S])*\*\/|[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":").trim()}function Hn(e={},t=""){return Object.entries(e).reduce((n,[r,o])=>{let a=t?`${t}.${r}`:r;return Re(o)?n=n.concat(Hn(o,a)):n.push(a),n},[])}function co(e,...t){if(!Re(e))return e;let n=io({},e);return t?.flat().forEach(r=>delete n[r]),n}function wt(e){return Ce(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function Un(e){if(e==="auto")return 0;if(typeof e=="number")return e;let t=Number(e.replace(",",".").replace(/[^\d.]/g,""));return Number.isNaN(t)||/ms\s*$/.test(e)?t:t*1e3}function uo(e){return Ce(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Tt(){let e=new Map;return{on(t,n){let r=e.get(t);return r?r.push(n):r=[n],e.set(t,r),this},off(t,n){let r=e.get(t);if(r){let o=r.indexOf(n);o!==-1&&r.splice(o,1)}return this},emit(t,n){let r=e.get(t);r&&r.forEach(o=>{o(n)})},clear(){e.clear()}}}var fi=Tt(),Ot=fi,ge={_lang:"en",_fallbackLang:void 0,_locales:new Map,init({lang:e,fallbackLang:t,locales:n}){return this._lang=e||"en",this._fallbackLang=t||this._lang,this._locales=new Map(Object.entries(n||{})),this},use(e){this._lang=e||this.lang,Ot.emit("locale:change",{lang:e,locale:this.locale})},add(e,t={}){return this._locales.set(e,$n(this._locales.get(this._fallbackLang),t)),this},update(e,t={}){return this._locales.has(e)?(this._locales.set(e,$n(this._locales.get(e),t)),this):this.add(e,t)},get(e){return this._locales.get(e||this.lang)},get lang(){return this._lang},get locale(){return this._locales.get(this.lang)}},an=e=>(typeof e=="object"&&e!==null&&ge.init(e),{get(t){return ge.get(t)},get langs(){return Array.from(ge._locales.keys())},get locales(){return Array.from(ge._locales.values())},define(t,n={}){return ge.add(t,n)},update(t,n={}){return ge.update(t,n)},use(t){return ge.use(t)}}),fo=(e,...t)=>{let n=ke(ge.locale,e,ge);return Ce(n)&&t?.flat().forEach((r,o)=>{let a=V(r,ge);Re(a)?Object.entries(a).forEach(([i,l])=>{n=n.replaceAll(`{${i}}`,String(l))}):n=n.replaceAll(`{${o}}`,String(r))}),n};function _t(e,t={}){return an().define(e,t)}function po(e,t={}){return an().update(e,t)}var mo={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",completed:"Completed",pending:"Pending",fileSizeTypes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],chooseYear:"Choose Year",chooseMonth:"Choose Month",chooseDate:"Choose Date",prevDecade:"Previous Decade",nextDecade:"Next Decade",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",prevHour:"Previous Hour",nextHour:"Next Hour",prevMinute:"Previous Minute",nextMinute:"Next Minute",prevSecond:"Previous Second",nextSecond:"Next Second",am:"am",pm:"pm",today:"Today",weekHeader:"Wk",firstDayOfWeek:0,showMonthAfterYear:!1,dateFormat:"mm/dd/yy",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyFilterMessage:"No results found",searchMessage:"{0} results are available",selectionMessage:"{0} items selected",emptySelectionMessage:"No selected item",emptySearchMessage:"No results found",fileChosenMessage:"{0} files",noFileChosenMessage:"No file chosen",emptyMessage:"No available options",aria:{trueLabel:"True",falseLabel:"False",nullLabel:"Not Selected",star:"1 star",stars:"{star} stars",selectAll:"All items selected",unselectAll:"All items unselected",close:"Close",previous:"Previous",next:"Next",navigation:"Navigation",scrollTop:"Scroll Top",moveTop:"Move Top",moveUp:"Move Up",moveDown:"Move Down",moveBottom:"Move Bottom",moveToTarget:"Move to Target",moveToSource:"Move to Source",moveAllToTarget:"Move All to Target",moveAllToSource:"Move All to Source",pageLabel:"Page {page}",firstPageLabel:"First Page",lastPageLabel:"Last Page",nextPageLabel:"Next Page",prevPageLabel:"Previous Page",rowsPerPageLabel:"Rows per page",jumpToPageDropdownLabel:"Jump to Page Dropdown",jumpToPageInputLabel:"Jump to Page Input",selectRow:"Row Selected",unselectRow:"Row Unselected",expandRow:"Row Expanded",collapseRow:"Row Collapsed",showFilterMenu:"Show Filter Menu",hideFilterMenu:"Hide Filter Menu",filterOperator:"Filter Operator",filterConstraint:"Filter Constraint",editRow:"Row Edit",saveEdit:"Save Edit",cancelEdit:"Cancel Edit",listView:"List View",gridView:"Grid View",slide:"Slide",slideNumber:"{slideNumber}",zoomImage:"Zoom Image",zoomIn:"Zoom In",zoomOut:"Zoom Out",rotateRight:"Rotate Right",rotateLeft:"Rotate Left",listLabel:"Option List"}},pi=()=>{ge.get("en")||_t("en",mo)},Bn=(e,...t)=>(pi(),fo(e,...t));var un=te(J());function To(e=""){let t=un.useId();return un.useMemo(()=>`${e}${t.replaceAll(/:|«|»/g,"")}`.trim().toLowerCase(),[t,e])}function Gt(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[Gt(...r)]:Object.entries(r).map(([i,l])=>l?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}function ki(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function dn(e,t){if(e&&t){let n=r=>{ki(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function Zn(e,t){if(e&&t){let n=r=>{e.classList?e.classList.remove(r):e.className=e.className.replace(new RegExp("(^|\\b)"+r.split(" ").join("|")+"(\\b|$)","gi")," ")};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function Oo(e){let t={width:0,height:0};if(e){let[n,r]=[e.style.visibility,e.style.display],o=e.getBoundingClientRect();e.style.visibility="hidden",e.style.display="block",t.width=o.width||e.offsetWidth,t.height=o.height||e.offsetHeight,e.style.display=r,e.style.visibility=n}return t}function Ii(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function Xn(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function At(e){var t;if(Xn(e))return e;if(!e||typeof e!="object")return;let n=e;if("current"in e)n=e.current,n=(t=At(n?.elementRef))!=null?t:n;else if("value"in e)n=e.value;else if("nativeElement"in e)n=e.nativeElement;else if("el"in e){let r=e.el;r&&typeof r=="object"&&"nativeElement"in r?n=r.nativeElement:n=r}else if("elementRef"in e)return At(e.elementRef);return n=V(n),Xn(n)?n:void 0}function _o(e,t={}){return e?`<style${Object.entries(t).reduce((n,[r,o])=>n+` ${r}="${o}"`,"")}>${e}</style>`:""}function Ai(e,t){return Xn(e)?e.matches(t)?e:e.querySelector(t):null}function ko(e,t=[]){let n=Ii(e);return n===null?t:ko(n,t.concat([n]))}function Io(e){let t=[];if(e){let n=ko(e),r=/(auto|scroll)/,o=a=>{try{let i=window.getComputedStyle(a,null);return r.test(i.getPropertyValue("overflow"))||r.test(i.getPropertyValue("overflowX"))||r.test(i.getPropertyValue("overflowY"))}catch{return!1}};for(let a of n){let i=a.nodeType===1&&a.dataset.scrollselectors;if(i){let l=i.split(",");for(let c of l){let u=Ai(a,c);u&&o(u)&&t.push(u)}}a.nodeType!==9&&o(a)&&t.push(a)}}return t}function _e(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ao(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function Qn(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})})}function Jn(e,t,n=null,r){t&&e!=null&&e.style&&e.style.setProperty(t,n,r)}var Mi=Object.defineProperty,Mo=Object.getOwnPropertySymbols,Li=Object.prototype.hasOwnProperty,Ni=Object.prototype.propertyIsEnumerable,Lo=(e,t,n)=>t in e?Mi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,No=(e,t)=>{for(var n in t||(t={}))Li.call(t,n)&&Lo(e,n,t[n]);if(Mo)for(var n of Mo(t))Ni.call(t,n)&&Lo(e,n,t[n]);return e};function Do(...e){if(e){let t=[];for(let n=0;n<e.length;n++){let r=e[n];if(!r)continue;let o=typeof r;if(o==="string"||o==="number")t.push(r);else if(o==="object"){let a=Array.isArray(r)?[Do(...r)]:Object.entries(r).map(([i,l])=>l?i:void 0);t=a.length?t.concat(a.filter(i=>!!i)):t}}return t.join(" ").trim()}}function Di(e){return typeof e=="function"&&"call"in e&&"apply"in e}function $i({skipUndefined:e=!1},...t){return t?.reduce((n,r={})=>{for(let o in r){let a=r[o];if(!(e&&a===void 0))if(o==="style")n.style=No(No({},n.style),r.style);else if(o==="class"||o==="className")n[o]=Do(n[o],r[o]);else if(Di(a)){let i=n[o];n[o]=i?(...l)=>{i(...l),a(...l)}:a}else n[o]=a}return n},{})}function at(...e){return $i({skipUndefined:!1},...e)}var Mt=te(J());function $o(e){let t=Mt.useId(),[n,r]=Mt.useState(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`);return Mt.useEffect(()=>{r(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`)},[e,t]),n}var fn=te(J());function pn(e){let t=fn.useRef(!1);fn.useEffect(()=>{t.current||(t.current=!0,e?.())},[])}var mn=te(J());function jo(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o<n.length;o++){let a=n[o];if(e[a]!==t[a])return!1}return!0}function Ke(e={},t={}){let n=mn.useRef(null);return mn.useMemo(()=>{let r={...e},o={};Object.entries(t).forEach(([l,c])=>{l in e?r[l]=c:o[l]=c});let a=n.current;if(a&&jo(a.props,r)&&jo(a.attrs,o))return a;let i={props:r,attrs:o};return n.current=i,i},[e,t])}var Ho=te(J());function Uo(e){Ho.useEffect(()=>()=>{e?.()},[])}var yn=te(J());function Bo(e,t){let n=yn.useRef(!1);yn.useEffect(()=>{if(!n.current){n.current=!0;return}return e?.()},t)}var Ue=te(J());var er={lang:"en",locales:void 0};var Lt=Ue.createContext(void 0),tr=(e={})=>{let{props:t,attrs:n}=Ke(er,e),[r,o]=Ue.useState(0);pn(()=>{t.locales&&Object.entries(t.locales).forEach(([l,c])=>_t(l,c)),t.lang&&ge.use(t.lang)}),Ue.useEffect(()=>{let l=()=>o(c=>c+1);return Ot.on("locale:change",l),()=>Ot.off("locale:change",l)},[]);let a=Ue.useMemo(()=>({lang:ge.lang,version:r}),[r]),i=Ue.useMemo(()=>V(n.children,a),[n.children,a]);return Ue.createElement(Lt.Provider,{value:a},i)};var hn=te(J());function ji(){let e=hn.useContext(Lt),t=e?.lang??ge.lang;return hn.useMemo(()=>({lang:t,messages:ge.get(t)??ge.get("en"),t:(n,...r)=>String(Bn(n,...r))}),[t,e?.version])}var ht=te(J());var nr={value:void 0,mergeProps:!1,mergeSections:!0};var Nt=ht.createContext(void 0),rr=(e={})=>{let{props:t,attrs:n}=Ke(nr,e),{value:r,mergeProps:o,mergeSections:a}=t,i=ht.useMemo(()=>({value:r,options:{mergeProps:o,mergeSections:a}}),[r,o,a]),l=ht.useMemo(()=>V(n.children,i),[n.children,i]);return ht.createElement(Nt.Provider,{value:i},l)};var Fo=te(J());function Hi(){let e=Fo.useContext(Nt);if(e===void 0)throw new Error("Context must be used within a PassThroughProvider");return e}var Ui=(e,t)=>{e&&t&&t!==e&&(typeof t=="function"?t(e&&"current"in e?e.current:null):"current"in t&&"current"in e&&t.current!==e.current&&(t.current=e&&"current"in e?e.current:null))};var or=class{constructor(t,n=()=>{}){this.scrollableParents=null;this.isBound=!1;this.element=t,this.listener=n}bindScrollListener(){if(this.element){this.isBound&&this.unbindScrollListener(),this.scrollableParents=Io(this.element);for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&this.listener&&n.addEventListener("scroll",this.listener)}this.isBound=!0}}unbindScrollListener(){if(this.scrollableParents&&this.listener)for(let t=0;t<this.scrollableParents.length;t++){let n=this.scrollableParents[t];n&&n.removeEventListener("scroll",this.listener)}this.scrollableParents=null,this.isBound=!1}destroy(){this.unbindScrollListener(),this.element=null,this.listener=null,this.scrollableParents=null,this.isBound=!1}};var lt=te(J());function Vo(e,t){let n=lt.createContext(e);return[({value:a,children:i})=>{let l=lt.useMemo(()=>V(i,a),[i,a]);return lt.createElement(n.Provider,{value:a},l)},()=>{let a=lt.useContext(n);return a===void 0?t?.():a}]}function Bi(e,t){return Vo(e,()=>{throw new Error(t||"Context must be used within a Provider")})}function sr(e){return Vo(e,()=>e)}var ir=typeof process<"u"&&process.env?.NODE_ENV!=="production";function ar(...e){return t=>{for(let n of e)if(n!=null)if(typeof n=="function")n(t);else try{n.current=t}catch{}}}var Fi=Tt(),Vi=Fi;var Wi=e=>({id:e.id,css:e.css,phase:e.phase??"both",priority:e.priority??0}),lr=e=>e.sort((t,n)=>{let r=t.priority-n.priority;return r!==0?r:t.id.localeCompare(n.id)}),Xt={_entries:new Map,register(e){!e.id||!e.css||this._entries.set(e.id,Wi(e))},registerMany(e=[]){e.forEach(t=>this.register(t))},has(e){return this._entries.has(e)},getAll(){return lr([...this._entries.values()])},getForSSR(){return lr([...this._entries.values()].filter(e=>e.phase!=="client"))},getForClient(){return lr([...this._entries.values()].filter(e=>e.phase!=="ssr"))},clear(){this._entries.clear()}},cr=(e,t)=>{t.forEach(n=>{e?.has(n.id)||e?.add(n.id,n.css)})},ur=e=>{e.forEach(t=>{let n=document.head.querySelector(`style[data-primereact-style-id="${t.id}"]`)||document.createElement("style");n.isConnected||(document.head.appendChild(n),n.setAttribute("data-primereact-style-id",t.id)),n.textContent=t.css})};var gt={_loadedStyleNames:new Set,_styleRefCount:new Map,getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return(this._styleRefCount.get(e)??0)>0},getStyleRefCount(e){return this._styleRefCount.get(e)??0},retainStyleName(e){let t=this.getStyleRefCount(e),n=t+1;return this._styleRefCount.set(e,n),this._loadedStyleNames.add(e),t===0},releaseStyleName(e){let t=this.getStyleRefCount(e);return t<=1?(this._styleRefCount.delete(e),this._loadedStyleNames.delete(e),!0):(this._styleRefCount.set(e,t-1),!1)},setLoadedStyleName(e){this.retainStyleName(e)},deleteLoadedStyleName(e){this._styleRefCount.delete(e),this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._styleRefCount.clear(),this._loadedStyleNames.clear()},getStats(){return{totalStyles:this._loadedStyleNames.size,styleRefCounts:Array.from(this._styleRefCount.entries()).map(([e,t])=>({name:e,refCount:t}))}}};var zi=Symbol.for("react.element"),qi=Symbol.for("react.transitional.element");function dr(e){return typeof e=="object"&&e!==null&&(e.$$typeof===zi||e.$$typeof===qi)}function Ki(e,t){if(typeof e!="object"||e===null)return!1;let n=e.displayName||e.type?.displayName||e.type?.name;return n===t||n?.includes(`PrimeReact.${t}`)||n?.includes(`PrimeReact.UI${t}`)}var ct=te(J());function Dt(e={}){let{pIf:t=!0,style:n,className:r,as:o,asChild:a,instance:i,render:l,...c}=e;if(t===!1)return null;let u=o||i?.props?.as||ct.Fragment,d=l||a||i?.props?.asChild,m=u===ct.Fragment,{ref:y,children:p,attrs:v,...g}=c,b={...v,...g},w=V(l??p,i,b),x=V(n||i?.props?.style,i),T=V(r||i?.props?.className,i);if(d||m)return ct.createElement(ct.Fragment,null,w);if(dr(u))return V(u,i);{let k={...b,style:{...b.style,...x},className:Gt(b.className,T)},M=ar(i?.elementRef,b.ref,y,i?.props?.ref);return k.children?ct.createElement(u,{...k,ref:M}):ct.createElement(u,{...k,ref:M},w)}}Dt.displayName="PrimeReact.Component";var gn=Object.freeze({ref:void 0,pIf:!0,style:void 0,className:void 0,as:void 0,asChild:!1,instance:void 0,pt:void 0,ptOptions:void 0,unstyled:void 0,dt:void 0,styles:void 0,render:void 0,children:void 0}),Yi=Object.freeze({...co(gn,"pt","ptOptions","dt","styles"),attrs:void 0});var Bt=te(J());var xe=te(J());function vn(e,...t){return Dn(e)?e(...t):e?at(...t):Object.assign({},...t)}function bn(e={},t="",n){let r=ke(e,t,n);return Ce(r)||jn(r)?{className:r}:r}function $t(e,t,n,r){let o=(a,i=!1)=>{let l=r?r(a):a,c=Yt(t??""),u=Yt(n??"");return(i?c!==u?l?.[c]:void 0:l?.[c])??l};return e&&Object.hasOwn(e,"_usept")?{_usept:e._usept,originalValue:o(e.originalValue),value:o(e.value)}:o(e,!0)}function Wo(e,t){let{id:n,name:r,scope:o,part:a,props:i,attrs:l,$primereact:c,$attrSelector:u}=e||{},d=c?.passthrough,m=d?.value,y=d?.options,p=xe.useCallback((A,N,F="",me)=>{let ce=ae=>N(ae,F,me);if(A&&Object.hasOwn(A,"_usept")){let{mergeSections:ae=!0,mergeProps:ve=!1}=A._usept||y||{},fe=ce(A.originalValue),re=ce(A.value);return fe===void 0&&re===void 0?void 0:Ce(re)?re:Ce(fe)?fe:ae||!ae&&re?vn(ve,fe,re):re}return ce(A)},[y]),v=xe.useCallback(A=>{let N=p($t(i.pt,r,r),ke,`hooks.${A}`),F=p($t(m,void 0,r),ke,`hooks.${A}`);N?.(),F?.()},[i.pt,r,p,m]),g=xe.useMemo(()=>$t(m,void 0,r,A=>V(A,e)),[m,r]),b=xe.useMemo(()=>$t(m,void 0,r,A=>ke(A,r,e)||V(A,e)),[m,r]),w=xe.useMemo(()=>Object.entries(l||{}).filter(([A])=>A?.startsWith("pt-")).reduce((A,[N,F])=>{let[,me,...ce]=N.split("-");return[me,ce?.join("-")].filter(Boolean).reduce((ae,ve,fe,re)=>(ae[ve]||(ae[ve]=fe===re.length-1?F:{}),ae[ve]),A),A},{}),[l]),x=xe.useMemo(()=>Object.entries(l||{}).filter(([A])=>!A?.startsWith("pt-")).reduce((A,[N,F])=>(A[N]=F,A),{}),[l]),T=xe.useCallback((A="")=>{let N="data-";return A==="root"&&Q(l?.["data-scope"])?{[`${N}extend`]:o,[`${N}styled`]:o}:{[`${N}scope`]:o,...A==="root"&&{[`${N}part`]:a,[`${N}id`]:u,[`${N}styled`]:o},[`${N}slot`]:A}},[o,a,u,l]),k=xe.useCallback((A={},N,F="",me)=>{let ce=p($t(A,r,r),N,F,me),ae=p(w,N,F,me);return vn(!0,ce??{},ae??{})},[w,p,r]),M=xe.useCallback((A,N="",F)=>p(g,A,N,F),[g,p]),B=xe.useCallback((A,N,F)=>p(b,A,N,F),[b,p]),q=xe.useCallback((A={},N="",F={},me=!0)=>{let ce=N.includes(".")&&!!F[N.split(".")[0]],{mergeSections:ae=!0,mergeProps:ve=!1}=i?.ptOptions||y||{},fe=me?ce?M(bn,N,F):B(bn,N,F):void 0,re=ce?void 0:k(A,bn,N,{...F,global:fe||{}}),Ae=T(N);return ae||!ae&&re?vn(ve,fe,re,Ae):{...re,...Ae}},[i.ptOptions,M,B,k,T]),Y=xe.useCallback((A="",N={})=>q(i.pt,A,{...t,...N}),[i.pt,t,q]),pe=xe.useCallback((A="",N={})=>{let F=at(x,Y(A,N));return F&&Object.hasOwn(F,"id")&&(F.id??=n),F},[Y,n,x]),W=xe.useCallback((A={},N="",F={})=>q(A,N,{...t,...F},!1),[t,q]);return pn(()=>v("onMounted")),Bo(()=>v("onUpdated")),Uo(()=>v("onUnmounted")),xe.useMemo(()=>({ptm:Y,ptmi:pe,ptmo:W}),[Y,pe,W])}var Gi=Object.defineProperty,Xi=Object.defineProperties,Zi=Object.getOwnPropertyDescriptors,Rn=Object.getOwnPropertySymbols,qo=Object.prototype.hasOwnProperty,Ko=Object.prototype.propertyIsEnumerable,zo=(e,t,n)=>t in e?Gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ne=(e,t)=>{for(var n in t||(t={}))qo.call(t,n)&&zo(e,n,t[n]);if(Rn)for(var n of Rn(t))Ko.call(t,n)&&zo(e,n,t[n]);return e},Sn=(e,t)=>Xi(e,Zi(t)),ut=(e,t)=>{var n={};for(var r in e)qo.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Rn)for(var r of Rn(e))t.indexOf(r)<0&&Ko.call(e,r)&&(n[r]=e[r]);return n};var Qi=Tt(),Ye=Qi,vt=/{([^}]*)}/g,fr=/(\d+\s+[+*/-]\s+\d+)/g,pr=/var\([^)]+\)/g;function mr(e){return Ce(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Ji(e){return Re(e)&&Object.prototype.hasOwnProperty.call(e,"$value")&&Object.prototype.hasOwnProperty.call(e,"$type")?e.$value:e}function ea(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function yr(e="",t=""){return ea(`${Ce(e,!1)&&Ce(t,!1)?`${e}-`:e}${t}`)}function Yo(e="",t=""){return`--${yr(e,t)}`}function ta(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function En(e,t="",n="",r=[],o){if(Ce(e)){let a=e.trim();if(ta(a))return;if(qe(a,vt)){let i=a.replaceAll(vt,l=>{let c=l.replace(/{|}/g,"").split(".").filter(u=>!r.some(d=>qe(u,d)));return`var(${Yo(n,wt(c.join("-")))}${Q(o)?`, ${o}`:""})`});return qe(i.replace(pr,"0"),fr)?`calc(${i})`:i}return a}else if(lo(e))return e}function na(e,t,n){Ce(t,!1)&&e.push(`${t}:${n};`)}function jt(e,t){return e?`${e}{${t}}`:""}function Go(e,t){if(e.indexOf("dt(")===-1)return e;function n(i,l){let c=[],u=0,d="",m=null,y=0;for(;u<=i.length;){let p=i[u];if((p==='"'||p==="'"||p==="`")&&i[u-1]!=="\\"&&(m=m===p?null:p),!m&&(p==="("&&y++,p===")"&&y--,(p===","||u===i.length)&&y===0)){let v=d.trim();v.startsWith("dt(")?c.push(Go(v,l)):c.push(r(v)),d="",u++;continue}p!==void 0&&(d+=p),u++}return c}function r(i){let l=i[0];if((l==='"'||l==="'"||l==="`")&&i[i.length-1]===l)return i.slice(1,-1);let c=Number(i);return isNaN(c)?i:c}let o=[],a=[];for(let i=0;i<e.length;i++)if(e[i]==="d"&&e.slice(i,i+3)==="dt(")a.push(i),i+=2;else if(e[i]===")"&&a.length>0){let l=a.pop();a.length===0&&o.push([l,i])}if(!o.length)return e;for(let i=o.length-1;i>=0;i--){let[l,c]=o[i],u=e.slice(l+3,c),d=n(u,t),m=t(...d);e=e.slice(0,l)+m+e.slice(c+1)}return e}var ra=(e,t)=>{let n=e.split("."),r="";for(let o=0;o<n.length;o++){let a=mr(n[o]);t.lastIndex=0,!t.test(a)&&(r=r?`${r}.${a}`:a)}return r},oa=(e,t,n,r,o)=>{if(typeof e!="string")return e??ee.getTokenValue(t);if(vt.lastIndex=0,!vt.test(e))return e;let a=t.slice(0,t.indexOf(".")),i=e.replace(vt,l=>{let c=l.slice(1,-1),u=c.indexOf(".");if((u===-1?c:c.slice(0,u))!==a)return l;let d=ee.getTokenValue(c);return d==null?l:`${d}`});return En(i,void 0,n,[r],o)},sa=(e,t,n,r)=>{var o,a,i;let l=ra(e,n),c=ee.tokens,u=c.__strictCache;u||(u=new Map,Object.defineProperty(c,"__strictCache",{value:u,enumerable:!1,configurable:!0}));let d=r?`${t}|${l}|${r}`:`${t}|${l}`,m=u.get(d);if(m===void 0&&!u.has(d)){let y=(i=(a=(o=c[l])==null?void 0:o.paths)==null?void 0:a[0])==null?void 0:i.value;m=oa(y,l,t,n,r),u.set(d,m)}return ee.hasScopedTokenPath(l)?En(`{${l}}`,void 0,t,[n],m):m},gr=e=>{var t,n,r;let o=ee.getTheme(),a=`${(t=hr(o,e,void 0,"variable"))!=null?t:""}`,i=(r=(n=a.match(/--[\w-]+/g))==null?void 0:n[0])!=null?r:"",l=hr(o,e,void 0,"value");return{name:i,variable:a,value:l}},dt=(e,t,n)=>hr(ee.getTheme(),e,t,n),hr=(e={},t,n,r)=>{var o,a,i,l,c,u,d,m,y,p;if(!t)return"";let v=(o=ee.defaults)==null?void 0:o.variable,g=(c=(a=e?.options)==null?void 0:a.prefix)!=null?c:(l=(i=ee.defaults)==null?void 0:i.options)==null?void 0:l.prefix,b=(p=(y=(u=e?.options)==null?void 0:u.cssVariables)!=null?y:(m=(d=ee.defaults)==null?void 0:d.options)==null?void 0:m.cssVariables)!=null?p:!0;if(r==="value")return ee.getTokenValue(t);if(ze(r)&&!b)return sa(t,g,v.excludedKeyRegex,n);let w=qe(t,vt)?t:`{${t}}`;return En(w,void 0,g,[v.excludedKeyRegex],n)},ia=(...e)=>{var t;return`${(t=dt(...e))!=null?t:""}`};function Ht(e,...t){if(e instanceof Array){let n=e.reduce((r,o,a)=>{var i;return r+o+((i=V(t[a],{dt}))!=null?i:"")},"");return Go(n,ia)}return V(e,{dt})}function aa(e,t={}){let n=ee.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:a=n.excludedKeyRegex}=t,i=[],l=[],c=[{node:e,path:r}];for(;c.length;){let{node:d,path:m}=c.pop();for(let y in d){let p=d[y],v=Ji(p),g=qe(y,a)?yr(m):yr(m,wt(y));if(Re(v))c.push({node:v,path:g});else{let b=Yo(g),w=En(v,g,r,[a]);na(l,b,w==null?w:`${w}`);let x=g;r&&x.startsWith(r+"-")&&(x=x.slice(r.length+1)),i.push(x.replace(/-/g,"."))}}}let u=l.join("");return{value:l,tokens:i,declarations:u,css:jt(o,u)}}var Be={regex:{rules:{class:{pattern:/^\.([a-zA-Z][\w-]*)$/,resolve(e){return{type:"class",selector:e,matched:this.pattern.test(e.trim())}}},attr:{pattern:/^\[(.*)\]$/,resolve(e){return{type:"attr",selector:`:root${e},:host${e}`,matched:this.pattern.test(e.trim())}}},media:{pattern:/^@media (.*)$/,resolve(e){return{type:"media",selector:e,matched:this.pattern.test(e.trim())}}},system:{pattern:/^system$/,resolve(e){return{type:"system",selector:"@media (prefers-color-scheme: dark)",matched:this.pattern.test(e.trim())}}},custom:{resolve(e){return{type:"custom",selector:e,matched:!0}}}},resolve(e){let t=Object.keys(this.rules).filter(n=>n!=="custom").map(n=>this.rules[n]);return[e].flat().map(n=>{var r;return(r=t.map(o=>o.resolve(n)).find(o=>o.matched))!=null?r:this.rules.custom.resolve(n)})}},_toVariables(e,t){return aa(e,{prefix:t?.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i,l,c,u,d,m;let{preset:y,options:p}=t,v,g,b,w,x,T,k;if(Q(y)){let{primitive:M,semantic:B,extend:q}=y,Y=B||{},{colorScheme:pe}=Y,W=ut(Y,["colorScheme"]),A=q||{},{colorScheme:N}=A,F=ut(A,["colorScheme"]),me=pe||{},{dark:ce}=me,ae=ut(me,["dark"]),ve=N||{},{dark:fe}=ve,re=ut(ve,["dark"]),Ae=Q(M)?this._toVariables({primitive:M},p):{},Qe=Q(W)?this._toVariables({semantic:W},p):{},Ve=Q(ae)?this._toVariables({light:ae},p):{},Je=Q(ce)?this._toVariables({dark:ce},p):{},We=Q(F)?this._toVariables({semantic:F},p):{},ot=Q(re)?this._toVariables({light:re},p):{},st=Q(fe)?this._toVariables({dark:fe},p):{},[Me,je]=[(a=Ae.declarations)!=null?a:"",Ae.tokens],[Le,mt]=[(i=Qe.declarations)!=null?i:"",Qe.tokens||[]],[He,Et]=[(l=Ve.declarations)!=null?l:"",Ve.tokens||[]],[xt,yt]=[(c=Je.declarations)!=null?c:"",Je.tokens||[]],[Pe,Pt]=[(u=We.declarations)!=null?u:"",We.tokens||[]],[Kt,h]=[(d=ot.declarations)!=null?d:"",ot.tokens||[]],[S,E]=[(m=st.declarations)!=null?m:"",st.tokens||[]];v=this.transformCSS(e,Me,"light","variable",p,r,o),g=je;let _=this.transformCSS(e,`${Le}${He}`,"light","variable",p,r,o),U=this.transformCSS(e,`${xt}`,"dark","variable",p,r,o);b=`${_}${U}`,w=[...new Set([...mt,...Et,...yt])];let I=this.transformCSS(e,`${Pe}${Kt}color-scheme:light`,"light","variable",p,r,o),G=this.transformCSS(e,`${S}color-scheme:dark`,"dark","variable",p,r,o);x=`${I}${G}`,T=[...new Set([...Pt,...h,...E])],k=V(y.css,{dt})}return{primitive:{css:v,tokens:g},semantic:{css:b,tokens:w},global:{css:x,tokens:T},style:k}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:a,selector:i,isScopedTokenPaths:l}){var c,u,d,m;let y,p,v;if(Q(t)&&((c=n?.cssVariables)==null||c||l)){let g=e.replace("-directive",""),b=t,{colorScheme:w,extend:x,css:T}=b,k=ut(b,["colorScheme","extend","css"]),M=x||{},{colorScheme:B}=M,q=ut(M,["colorScheme"]),Y=w||{},{dark:pe}=Y,W=ut(Y,["dark"]),A=B||{},{dark:N}=A,F=ut(A,["dark"]),me=Q(k)?this._toVariables({[g]:Ne(Ne({},k),q)},n):{},ce=Q(W)?this._toVariables({[g]:Ne(Ne({},W),F)},n):{},ae=Q(pe)?this._toVariables({[g]:Ne(Ne({},pe),N)},n):{},[ve,fe]=[(u=me.declarations)!=null?u:"",me.tokens||[]],[re,Ae]=[(d=ce.declarations)!=null?d:"",ce.tokens||[]],[Qe,Ve]=[(m=ae.declarations)!=null?m:"",ae.tokens||[]],Je=this.transformCSS(g,`${ve}${re}`,"light","variable",n,o,a,i),We=this.transformCSS(g,Qe,"dark","variable",n,o,a,i);y=`${Je}${We}`,p=[...new Set([...fe,...Ae,...Ve])],v=V(T,{dt})}return{css:y,tokens:p,style:v}},getScopedSelector(e,t){if(!(!(t!=null&&t.scoped)||!e))return`[data-styled="${e}"]`},getPresetC({name:e="",theme:t={},params:n,set:r,defaults:o}){var a;let{preset:i,options:l}=t,c=(a=i?.components)==null?void 0:a[e],u=this.getScopedSelector(e,l);return this.getPreset({name:e,preset:c,options:l,params:n,set:r,defaults:o,selector:u})},getPresetD({name:e="",theme:t={},params:n,set:r,defaults:o}){var a,i;let l=e.replace("-directive",""),{preset:c,options:u}=t,d=((a=c?.components)==null?void 0:a[l])||((i=c?.directives)==null?void 0:i[l]),m=this.getScopedSelector(l,u);return this.getPreset({name:l,preset:d,options:u,params:n,set:r,defaults:o,selector:m})},applyDarkColorScheme(e){let t=e.darkModeSelector;return!(t==="none"||t===!1)},getColorSchemeOption(e,t){var n;return this.applyDarkColorScheme(e)?this.regex.resolve(e.darkModeSelector===!0?t.options.darkModeSelector:(n=e.darkModeSelector)!=null?n:t.options.darkModeSelector):[]},getLayerOrder(e,t={},n,r){let{cssLayer:o}=t;return o?`@layer ${V(o.order||o.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){let i=this.getCommon({name:e,theme:t,params:n,set:o,defaults:a}),l=Object.entries(r).reduce((c,[u,d])=>(c.push(`${u}="${d}"`),c),[]).join(" ");return Object.entries(i||{}).reduce((c,[u,d])=>{if(Re(d)&&Object.hasOwn(d,"css")){let m=et(d.css),y=`${u}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${y}" ${l}>${m}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:a}){var i;let l={name:e,theme:t,params:n,set:o,defaults:a},c=(i=e.includes("-directive")?this.getPresetD(l):this.getPresetC(l))==null?void 0:i.css,u=Object.entries(r).reduce((d,[m,y])=>(d.push(`${m}="${y}"`),d),[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${e}-variables" ${u}>${et(c)}</style>`:""},createTokens(e={},t,n="",r="",o={}){let a=function(u,d,m,y){return u.replace(vt,p=>{var v;let g=p.slice(1,-1),b=this.tokens[g];if(!b)return console.warn(`Token not found for path: ${g}`),"__UNRESOLVED__";let w=b.computed(d,m,y);if(Array.isArray(w)&&w.length===2){let x=w[0].value,T=w[1].value;return x===T?x??"__UNRESOLVED__":`light-dark(${x},${T})`}return(v=w?.value)!=null?v:"__UNRESOLVED__"})},i=function(u,d,m,y){if(u.indexOf("light-dark(")===-1)return u;let p=[],v=u.length,g=0;for(;g<v;){let b=u.indexOf("light-dark(",g);if(b===-1){p.push(u.slice(g));break}p.push(u.slice(g,b));let w=1,x=b+11,T=-1;for(;x<v&&w>0;){let q=u.charCodeAt(x);q===40?w++:q===41?w--:q===44&&w===1&&T===-1&&(T=x),x++}if(w!==0||T===-1){p.push(u.slice(b));break}let k=u.slice(b+11,T).trim(),M=u.slice(T+1,x-1).trim(),B=d&&d!=="none"?d:null;if(B==="light")p.push(i.call(this,k,"light",m,y));else if(B==="dark")p.push(i.call(this,M,"dark",m,y));else{let q=a.call(this,i.call(this,k,"light",m,y),"light",m,y),Y=a.call(this,i.call(this,M,"dark",m,y),"dark",m,y);p.push(q===Y?q:`light-dark(${q},${Y})`)}g=x}return p.join("")},l=function(u,d={},m=[]){if(m.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:u,path:this.path,paths:d,value:void 0};m.push(this.path),d.name=this.path,d.binding||(d.binding={});let y=this.value;if(typeof this.value=="string"){let p=this.value.trim(),v=p.indexOf("light-dark(")!==-1,g=p.indexOf("{")!==-1;if(v||g){let b=v?i.call(this,p,u,d,m):p,w=b.indexOf("{")!==-1?a.call(this,b,u,d,m):b;fr.lastIndex=0,pr.lastIndex=0,y=fr.test(w.replace(pr,"0"))?`calc(${w})`:w}}return ze(d.binding)&&delete d.binding,m.pop(),{colorScheme:u,path:this.path,paths:d,value:typeof y=="string"&&y.indexOf("__UNRESOLVED__")!==-1?void 0:y}},c=(u,d,m)=>{Object.entries(u).forEach(([y,p])=>{let v=qe(y,t.variable.excludedKeyRegex)?d:d?`${d}.${mr(y)}`:mr(y),g=m?`${m}.${y}`:y;Re(p)?c(p,v,g):(o[v]||(o[v]={paths:[],computed:(b,w={},x=[])=>{let T=o[v].paths;if(T.length===1){let k=T[0],M=k.scheme!=="none"?k.scheme:b;return k.computed(M,w.binding,x)}else if(b&&b!=="none")for(let k=0;k<T.length;k++){let M=T[k];if(M.scheme===b)return M.computed(b,w.binding,x)}return T.map(k=>k.computed(k.scheme,w[k.scheme],x))}}),o[v].paths.push({path:g,value:p,scheme:g.includes("colorScheme.light")?"light":g.includes("colorScheme.dark")?"dark":"none",computed:l,tokens:o}))})};return c(e,n,r),o},getTokenValue(e,t,n){var r,o,a;let i=e.__cache;i||(i=new Map,Object.defineProperty(e,"__cache",{value:i,enumerable:!1,configurable:!0}));let l=i.get(t);if(l!==void 0||i.has(t))return l;let c=n.variable.excludedKeyRegex,u=t.split("."),d=[];for(let g=0;g<u.length;g++){let b=u[g];c.lastIndex=0,c.test(b.toLowerCase())||d.push(b)}let m=d.join("."),y=t.indexOf("colorScheme.light")!==-1?"light":t.indexOf("colorScheme.dark")!==-1?"dark":void 0,p=e[m];if(!p){i.set(t,void 0);return}let v;if(y){let g=p.computed(y);if(Array.isArray(g)){for(let b=0;b<g.length;b++)if(((r=g[b])==null?void 0:r.colorScheme)===y){v=g[b].value;break}}else v=g?.value}else{let g=p.computed("light"),b=p.computed("dark"),w,x;if(Array.isArray(g)){for(let T=0;T<g.length;T++)if(((o=g[T])==null?void 0:o.colorScheme)==="light"){w=g[T].value;break}}else w=g?.value;if(Array.isArray(b)){for(let T=0;T<b.length;T++)if(((a=b[T])==null?void 0:a.colorScheme)==="dark"){x=b[T].value;break}}else x=b?.value;w===void 0&&x===void 0?v=void 0:w===void 0?v=x:x===void 0||w===x?v=w:v=`light-dark(${w},${x})`}return i.set(t,v),v},getSelectorRule(e,t,n,r,o=":root,:host"){return n==="class"||n==="attr"?jt(Q(t)?`${e}${t},${e} ${t}`:e,r):jt(e,jt(t??o,r))},transformCSS(e,t,n,r,o={},a,i,l){var c,u;if(Q(t)){let{cssLayer:d}=o;if(r!=="style"){let m=this.getColorSchemeOption(o,i),y=(u=(c=i?.variable)==null?void 0:c.selector)!=null?u:":root,:host";t=n==="dark"?m.reduce((p,{type:v,selector:g})=>(Q(g)&&(p+=g.includes("[CSS]")?g.replace("[CSS]",t):this.getSelectorRule(g,l,v,t,y)),p),""):jt(l??y,t)}if(d){let m={name:"primeui",order:"primeui"};Re(d)&&(m.name=V(d.name,{name:e,type:r})),Q(m.name)&&(t=jt(`@layer ${m.name}`,t),a?.layerNames(m.name))}return t}return""}},ee={defaults:{variable:{prefix:"p",selector:":root,:host",excludedKeyRegex:/^(primitive|semantic|components|directives|variables|colorscheme|light|dark|common|root|states|extend|css)$/gi},options:{prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1}},_theme:void 0,_layerNames:new Set,_loadedStyleNames:new Set,_loadingStyles:new Set,_tokens:{},_scopedTokenPaths:new Set,update(e={}){let{theme:t}=e;t&&(this._theme=Sn(Ne({},t),{options:Ne(Ne({},this.defaults.options),t.options)}),this._tokens=Be.createTokens(this.preset,this.defaults),this.clearLoadedStyleNames(),this.clearScopedTokenPaths())},get theme(){return this._theme},get preset(){var e;return((e=this.theme)==null?void 0:e.preset)||{}},get options(){var e;return((e=this.theme)==null?void 0:e.options)||{}},get tokens(){return this._tokens},hasScopedTokenPath(e){return this._scopedTokenPaths.has(e)},getScopedTokenPaths(){return[...this._scopedTokenPaths]},addScopedToken(e){let t=!1;return e&&Object.keys(e).length&&Hn(e).forEach(n=>{let r=uo(n);this._scopedTokenPaths.has(r)||(this._scopedTokenPaths.add(r),t=!0)}),t},clearScopedTokenPaths(){this._scopedTokenPaths.clear()},getTheme(){return this.theme},setTheme(e){this.update({theme:e}),Ye.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=Sn(Ne({},this.theme),{preset:e}),this._tokens=Be.createTokens(e,this.defaults),this.clearLoadedStyleNames(),this.clearScopedTokenPaths(),Ye.emit("preset:change",e),Ye.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=Sn(Ne({},this.theme),{options:e}),this.clearLoadedStyleNames(),Ye.emit("options:change",e),Ye.emit("theme:change",this.theme)},getLayerNames(){return[...this._layerNames]},setLayerNames(e){this._layerNames.add(e)},clearLayerNames(){this._layerNames.clear()},getLoadedStyleNames(){return this._loadedStyleNames},isStyleNameLoaded(e){return this._loadedStyleNames.has(e)},setLoadedStyleName(e){this._loadedStyleNames.add(e)},deleteLoadedStyleName(e){this._loadedStyleNames.delete(e)},clearLoadedStyleNames(){this._loadedStyleNames.clear()},getTokenValue(e){return Be.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Be.getCommon({name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getComponent(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Be.getPresetD(n)},getCustomPreset(e="",t,n,r){let o={name:e,preset:t,options:this.options,selector:n,params:r,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)},isScopedTokenPaths:!0};return Be.getPreset(o)},getLayerOrderCSS(e=""){return Be.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Be.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Be.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Be.getStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},onStyleMounted(e){this._loadingStyles.add(e)},onStyleUpdated(e){this._loadingStyles.add(e)},onStyleLoaded(e,{name:t}){this._loadingStyles.size&&(this._loadingStyles.delete(t),Ye.emit(`theme:${t}:load`,e),this._loadingStyles.size||Ye.emit("theme:load"))}};var la=class{constructor({attrs:e}={}){this._styles=new Map,this._attrs=e||{}}get(e){return this._styles.get(e)}has(e){return this._styles.has(e)}delete(e){this._styles.delete(e)}clear(){this._styles.clear()}add(e,t){if(Q(t)){let n={name:e,css:t,attrs:this._attrs,markup:_o(t,this._attrs)};this._styles.set(e,Sn(Ne({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(String)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(String)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},Xo=la;var de=te(J());var ft=te(J());function vr(){let e=ft.useContext(Ge),t=ft.useCallback((o={})=>{let{name:a,css:i,element:l,options:c={}}=o;if(_e()&&Q(i)){let u=l?.getRootNode();(!u||u===document)&&(u=document.head);let d=u.querySelector(`style[data-primereact-style-id="${a}"]`)||document.createElement("style");d.isConnected||(c?.first?u.prepend(d):u.appendChild(d),d.setAttribute("data-primereact-style-id",a||""));let m=i??"";return d.textContent!==m&&(d.textContent=m),d}},[]),n=ft.useCallback((o={})=>{let{name:a,css:i}=o;if(Q(o.css))return a&&!e?.stylesheet?.has(a)&&!_e()&&a!=="layer-order"&&e?.stylesheet?.add(a,i),t(o)},[e,t]),r=ft.useCallback(()=>{e?.stylesheet&&e.stylesheet.clear()},[e]);return ft.useInsertionEffect(()=>{e?.stylesheet?.getStyles()?.forEach((o,a)=>{t({name:a,css:o?.css})})},[e,t]),[n,r]}var ca={};var Ut=te(J());function Zo(e,t){let n=Ut.useContext(Ge),[r]=vr(),o=Ut.useCallback((a,i)=>r({name:i?.name,css:a,element:At(t),options:i}),[r,t]);return Ut.useMemo(()=>{let a={name:"base",...e,load(i="",l={},c="",u=!1){let d=l.name||a.name,m=Ht`${i}${c}`,y=u?ee.transformCSS(d,m):m;return Q(y)?o(et(y),{name:d,...l}):void 0},loadCSS(i){return this.load(this.css,i)},loadStyle(i,l=""){return this.load(this.style,i,l,!0)},getCommonTheme(i){return ee.getCommon(this.name,i)},getComponentTheme(i){return ee.getComponent(this.name,i)},getPresetTheme(i,l,c){return ee.getCustomPreset(this.name,i,l,c)},getLayerOrderThemeCSS(){return ee.getLayerOrderCSS(this.name)},getStyleSheet(i="",l={}){if(this.css){let c=V(this.css,{dt}),u=et(Ht`${c}${i}`),d=Object.entries(l).reduce((m,[y,p])=>(m.push(`${y}="${p}"`),m),[]).join(" ");return`<style type="text/css" data-primereact-style-id="${this.name}" ${d}>${u}</style>`}return""},getCommonThemeStyleSheet(i,l={}){return ee.getCommonStyleSheet(this.name,i,l)},getThemeStyleSheet(i,l={}){let c=[ee.getStyleSheet(this.name,i,l)];if(n){let u=this.name==="base"?"global-style":`${this.name}-style`,d=Ht`${V(n,{dt})}`,m=et(ee.transformCSS(this.name,d)),y=Object.entries(l).reduce((p,[v,g])=>(p.push(`${v}="${g}"`),p),[]).join(" ");c.push(`<style type="text/css" data-primereact-style-id="${u}" ${y}>${m}</style>`)}return c.join("")}};return a},[e,n,o])}function Qo(e,t,n){let{props:r={unstyled:!1,dt:void 0},$primereact:o,$attrSelector:a,elementRef:i}=e||{},l=Zo(t,i),c=de.useMemo(()=>r.unstyled!==void 0?r.unstyled:o?.config?.unstyled,[r.unstyled,o?.config?.unstyled]),u=de.useMemo(()=>({nonce:o?.config?.csp?.nonce}),[o?.config?.csp?.nonce]),d=de.useRef(null),m=de.useRef(!1),y=de.useRef(null),p=de.useRef(null),v=de.useRef(!1);if(ir){let M=t?.style,B=typeof M=="string"?M:null;B!==null&&p.current!==B&&(p.current=B,v.current=!0)}let g=de.useCallback(()=>{if(!l?.name)return;let M=l.name==="global"?"base":l.name;if(!_e()){l.loadCSS({name:M,...u});return}y.current&&y.current!==l.name&&(gt.releaseStyleName(y.current),y.current=null);let B=v.current;(B||!y.current)&&((B||gt.retainStyleName(l.name))&&l.loadCSS({name:M,...u}),y.current=l.name)},[l,u]),b=de.useCallback(()=>{if(c||o?.theme==="none")return;let M=()=>{let{primitive:pe,semantic:W,global:A,style:N}=l?.getCommonTheme?.()||{};l.load(pe?.css,{name:"primitive-variables",...u}),l.load(W?.css,{name:"semantic-variables",...u}),l.load(A?.css,{name:"global-variables",...u}),l.load(l.baseStyles?.style,{name:"global-style",...u},N,!0)},B=()=>{let{css:pe,style:W}=l?.getComponentTheme?.()||{};l.load(pe,{name:`${l.name}-variables`,...u}),l.loadStyle({name:`${l.name}-style`,...u},W)},q=()=>{let pe=l?.getLayerOrderThemeCSS?.();l.load(pe,{name:"layer-order",first:!0,...u})};if(!_e()){M(),l?.name&&B(),q();return}let Y=v.current;(Y||!ee.isStyleNameLoaded("common"))&&(M(),ee.setLoadedStyleName("common")),(Y||!ee.isStyleNameLoaded(l?.name))&&l?.name&&(B(),ee.setLoadedStyleName(l.name)),(Y||!ee.isStyleNameLoaded("layer-order"))&&(q(),ee.setLoadedStyleName("layer-order"))},[c,l,u]),w=de.useCallback(()=>{let{css:M}=l.baseStyles||{};if(!_e()){l.load(M,{name:"base",...u}),b();return}let B=v.current;(B||!m.current)&&(m.current=!0,(B||gt.retainStyleName("base"))&&l.load(M,{name:"base",...u})),b(),v.current=!1},[l,u,b]),x=de.useCallback(M=>{o?.theme?.options?.cssVariables===!1&&l?.name&&ee.addScopedToken({[l.name]:M})&&(ee.deleteLoadedStyleName(l.name),b());let{css:B}=l?.getPresetTheme?.(M,`[${a}]`)||{},q=l?.load(B,{name:`${a}-${l.name}`,...u});d.current=q||null},[l,a,u,b,o?.theme]),T=de.useCallback((M="",B={})=>c?void 0:Gt(ke(l.classes,M,{...n,context:B})),[c,n,l.classes]),k=de.useCallback((M="",B=!0,q={})=>{if(B){let Y=ke(l.inlineStyles,M,{...n,context:q});return{...ke(l.baseStyles?.inlineStyles,M,{...n,context:q}),...Y}}},[l.inlineStyles,l.baseStyles?.inlineStyles,n]);return!_e()&&!c&&(g(),w(),x(r.dt)),de.useInsertionEffect(()=>{!_e()||c||(g(),w())},[c,g,w]),de.useEffect(()=>{if(!_e()||c||o?.theme==="none")return;let M=()=>{b(),x(r.dt)};return Ye.on("theme:change",M),()=>{Ye.off("theme:change",M)}},[c,o?.theme,b,x,r.dt]),de.useInsertionEffect(()=>{if(!(!_e()||c))return d.current?.remove(),d.current=null,x(r.dt),()=>{d.current?.remove(),d.current=null}},[c,r.dt,x]),de.useEffect(()=>{if(_e())return()=>{m.current&&(gt.releaseStyleName("base"),m.current=!1),y.current&&(gt.releaseStyleName(y.current),y.current=null)}},[]),de.useMemo(()=>({cx:T,sx:k,isUnstyled:c,$style:l}),[T,k,c,l])}function br(e="UnknownComponent",t={}){let n=Bt.useMemo(()=>({...gn,...t.defaultProps}),[t.defaultProps]),r=Zt(e,{type:t.type,inProps:t.inProps,defaultProps:n,setup:t.setup}),{ref:o,props:a}=r,i=Bt.useMemo(()=>({instance:r,props:r.props,attrs:r.attrs,state:r.state}),[r.props,r.attrs,r.state]),l=Wo(r,i),c=Qo(r,a.styles||t.styles,i),u=Bt.useMemo(()=>({...r,...l,...c}),[r,l,c]);return Bt.useImperativeHandle(o,()=>u,[u]),u}var xn=te(J());function Qt({name:e="UnknownComponent",type:t="primitive",defaultProps:n,styles:r,components:o,setup:a,render:i}){let c=xn.memo(u=>{let d=br(e,{type:t,inProps:u,defaultProps:n,styles:r,setup:a}),m=i??(()=>null);return d.props.pIf?xn.createElement(m,{...d}):null},(u,d)=>{if(!Re(u)||!Re(d))return!1;let m=u,y=d,p=Object.keys(m);if(p.length!==Object.keys(y).length)return!1;for(let v of p){let g=m[v],b=y[v];if(typeof g=="function"||typeof b=="function"){if(g!==b)return!1;continue}if(!Object.is(g,b))return!1}return!0});return c.displayName=`PrimeReact.${e}`,Object.entries(o||{}).forEach(([u,d])=>{c[u]=d}),c}var ts=te(J());var Sr={as:"i",size:void 0,rotate:void 0,flip:void 0,spin:!1};var Jt={name:"icon",classes:{root:({props:e})=>["p-icon",{"p-icon-spin":e.spin,"p-icon-flip-horizontal":e.flip==="horizontal","p-icon-flip-vertical":e.flip==="vertical"}]},inlineStyles:{root:({props:e})=>({...e.size?{[gr("icon.size").name]:e.size}:void 0,...e.rotate?{[gr("icon.rotate").name]:`${e.rotate}deg`}:void 0})}};var es=te(J());function Rr(e="UnknownHeadless",t={}){return Zt(e,t)}function en({name:e,type:t="headless",defaultProps:n,setup:r}){return o=>Rr(e,{type:t,inProps:o,defaultProps:n,setup:r})}var Jo=te(J()),Er=en({name:"useIcon",setup({attrs:e}){let t=e["aria-label"],n=e.tabIndex;return{pti:Jo.useCallback(()=>{let o=ze(t);return{role:o?void 0:"img","aria-hidden":ze(n)&&o}},[t,n])}}});function xr({name:e,defaultProps:t,styles:n,components:r,setup:o,render:a}){return Qt({name:`${e??"Unknown"}Icon`,defaultProps:t,styles:n,components:r,setup(i){let l=Er(i?.inProps),c=V(o,i);return es.useMemo(()=>({...l,...c}),[l,c])},render:a})}var ua=xr({name:"Icon",styles:Jt,defaultProps:Sr,render(e){let{id:t,props:n,ptmi:r,pti:o,cx:a,sx:i}=e,l=at({id:t,style:i("root"),className:a("root")},o?.(),r("root"));return ts.createElement(Dt,{instance:e,attrs:l,children:n.children})}});var tt=te(J());var Pr={preset:void 0,prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1,stylesheet:void 0};var Ge=tt.createContext(null),Cr=(e={})=>{let{props:t}=Ke(Pr,e),{stylesheet:n,preset:r,...o}=t,a={preset:r,stylesheet:n,...o};ee.setTheme({preset:r,options:o});let i=tt.useMemo(()=>et(Ht`${Jt.css}`)||"",[]);return tt.useMemo(()=>{Q(i)&&Xt.register({id:"icon",css:i,phase:"both",priority:10})},[i]),_e()||cr(n,Xt.getForSSR()),tt.useInsertionEffect(()=>{_e()&&ur(Xt.getForClient())},[]),tt.createElement(Ge.Provider,{value:a},V(e.children,a))};var ns=te(J());function da(){let e=ns.useContext(Ge);if(e===void 0)throw new Error("Context must be used within a ThemeProvider");return e}var fa={p:0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedn,n:0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3edn,h:8n,a:0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecn,d:0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3n,Gx:0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51an,Gy:0x6666666666666666666666666666666666666666666666666666666666666658n},{p:we,n:Pn,Gx:rs,Gy:os,a:wr,d:Tr}=fa,pa=8n,tn=32,Or=64,De=(e="")=>{throw new Error(e)},ma=e=>typeof e=="bigint",us=e=>typeof e=="string",ya=e=>e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array",Vt=(e,t)=>!ya(e)||typeof t=="number"&&t>0&&e.length!==t?De("Uint8Array expected"):e,On=e=>new Uint8Array(e),Ar=e=>Uint8Array.from(e),ds=(e,t)=>e.toString(16).padStart(t,"0"),Mr=e=>Array.from(Vt(e)).map(t=>ds(t,2)).join(""),nt={_0:48,_9:57,A:65,F:70,a:97,f:102},ss=e=>{if(e>=nt._0&&e<=nt._9)return e-nt._0;if(e>=nt.A&&e<=nt.F)return e-(nt.A-10);if(e>=nt.a&&e<=nt.f)return e-(nt.a-10)},Lr=e=>{let t="hex invalid";if(!us(e))return De(t);let n=e.length,r=n/2;if(n%2)return De(t);let o=On(r);for(let a=0,i=0;a<r;a++,i+=2){let l=ss(e.charCodeAt(i)),c=ss(e.charCodeAt(i+1));if(l===void 0||c===void 0)return De(t);o[a]=l*16+c}return o},Cn=(e,t)=>Vt(us(e)?Lr(e):Ar(Vt(e)),t),fs=()=>globalThis?.crypto,ha=()=>fs()?.subtle??De("crypto.subtle must be defined"),_r=(...e)=>{let t=On(e.reduce((r,o)=>r+Vt(o).length,0)),n=0;return e.forEach(r=>{t.set(r,n),n+=r.length}),t},ga=(e=tn)=>fs().getRandomValues(On(e)),wn=BigInt,bt=(e,t,n,r="bad number: out of range")=>ma(e)&&t<=e&&e<n?e:De(r),O=(e,t=we)=>{let n=e%t;return n>=0n?n:t+n},va=e=>O(e,Pn),ps=(e,t)=>{(e===0n||t<=0n)&&De("no inverse n="+e+" mod="+t);let n=O(e,t),r=t,o=0n,a=1n,i=1n,l=0n;for(;n!==0n;){let c=r/n,u=r%n,d=o-i*c,m=a-l*c;r=n,n=u,o=i,a=l,i=d,l=m}return r===1n?O(o,t):De("no inverse")};var is=e=>e instanceof rt?e:De("Point expected"),kr=2n**256n,rt=class e{static BASE;static ZERO;ex;ey;ez;et;constructor(t,n,r,o){let a=kr;this.ex=bt(t,0n,a),this.ey=bt(n,0n,a),this.ez=bt(r,1n,a),this.et=bt(o,0n,a),Object.freeze(this)}static fromAffine(t){return new e(t.x,t.y,1n,O(t.x*t.y))}static fromBytes(t,n=!1){let r=Tr,o=Ar(Vt(t,tn)),a=t[31];o[31]=a&-129;let i=Nr(o);bt(i,0n,n?kr:we);let c=O(i*i),u=O(c-1n),d=O(r*c+1n),{isValid:m,value:y}=Ra(u,d);m||De("bad point: y not sqrt");let p=(y&1n)===1n,v=(a&128)!==0;return!n&&y===0n&&v&&De("bad point: x==0, isLastByteOdd"),v!==p&&(y=O(-y)),new e(y,i,1n,O(y*i))}assertValidity(){let t=wr,n=Tr,r=this;if(r.is0())throw new Error("bad point: ZERO");let{ex:o,ey:a,ez:i,et:l}=r,c=O(o*o),u=O(a*a),d=O(i*i),m=O(d*d),y=O(c*t),p=O(d*O(y+u)),v=O(m+O(n*O(c*u)));if(p!==v)throw new Error("bad point: equation left != right (1)");let g=O(o*a),b=O(i*l);if(g!==b)throw new Error("bad point: equation left != right (2)");return this}equals(t){let{ex:n,ey:r,ez:o}=this,{ex:a,ey:i,ez:l}=is(t),c=O(n*l),u=O(a*o),d=O(r*l),m=O(i*o);return c===u&&d===m}is0(){return this.equals(Ft)}negate(){return new e(O(-this.ex),this.ey,this.ez,O(-this.et))}double(){let{ex:t,ey:n,ez:r}=this,o=wr,a=O(t*t),i=O(n*n),l=O(2n*O(r*r)),c=O(o*a),u=t+n,d=O(O(u*u)-a-i),m=c+i,y=m-l,p=c-i,v=O(d*y),g=O(m*p),b=O(d*p),w=O(y*m);return new e(v,g,w,b)}add(t){let{ex:n,ey:r,ez:o,et:a}=this,{ex:i,ey:l,ez:c,et:u}=is(t),d=wr,m=Tr,y=O(n*i),p=O(r*l),v=O(a*m*u),g=O(o*c),b=O((n+r)*(i+l)-y-p),w=O(g-v),x=O(g+v),T=O(p-d*y),k=O(b*w),M=O(x*T),B=O(b*T),q=O(w*x);return new e(k,M,q,B)}multiply(t,n=!0){if(!n&&(t===0n||this.is0()))return Ft;if(bt(t,1n,Pn),t===1n)return this;if(this.equals(Wt))return _a(t).p;let r=Ft,o=Wt;for(let a=this;t>0n;a=a.double(),t>>=1n)t&1n?r=r.add(a):n&&(o=o.add(a));return r}toAffine(){let{ex:t,ey:n,ez:r}=this;if(this.equals(Ft))return{x:0n,y:1n};let o=ps(r,we);return O(r*o)!==1n&&De("invalid inverse"),{x:O(t*o),y:O(n*o)}}toBytes(){let{x:t,y:n}=this.assertValidity().toAffine(),r=ba(n);return r[31]|=t&1n?128:0,r}toHex(){return Mr(this.toBytes())}clearCofactor(){return this.multiply(wn(pa),!1)}isSmallOrder(){return this.clearCofactor().is0()}isTorsionFree(){let t=this.multiply(Pn/2n,!1).double();return Pn%2n&&(t=t.add(this)),t.is0()}static fromHex(t,n){return e.fromBytes(Cn(t),n)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}toRawBytes(){return this.toBytes()}},Wt=new rt(rs,os,1n,O(rs*os)),Ft=new rt(0n,1n,1n,0n);rt.BASE=Wt;rt.ZERO=Ft;var ba=e=>Lr(ds(bt(e,0n,kr),Or)).reverse(),Nr=e=>wn("0x"+Mr(Ar(Vt(e)).reverse())),Xe=(e,t)=>{let n=e;for(;t-- >0n;)n*=n,n%=we;return n},Sa=e=>{let n=e*e%we*e%we,r=Xe(n,2n)*n%we,o=Xe(r,1n)*e%we,a=Xe(o,5n)*o%we,i=Xe(a,10n)*a%we,l=Xe(i,20n)*i%we,c=Xe(l,40n)*l%we,u=Xe(c,80n)*c%we,d=Xe(u,80n)*c%we,m=Xe(d,10n)*a%we;return{pow_p_5_8:Xe(m,2n)*e%we,b2:n}},as=0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0n,Ra=(e,t)=>{let n=O(t*t*t),r=O(n*n*t),o=Sa(e*r).pow_p_5_8,a=O(e*n*o),i=O(t*a*a),l=a,c=O(a*as),u=i===e,d=i===O(-e),m=i===O(-e*as);return u&&(a=l),(d||m)&&(a=c),(O(a)&1n)===1n&&(a=O(-a)),{isValid:u||d,value:a}},Ea=e=>va(Nr(e)),xa=(...e)=>wa.sha512Async(...e);var Pa=e=>xa(e.hashable).then(e.finish);var ms={zip215:!0},Ca=(e,t,n,r=ms)=>{e=Cn(e,Or),t=Cn(t),n=Cn(n,tn);let{zip215:o}=r,a,i,l,c,u=Uint8Array.of();try{a=rt.fromHex(n,o),i=rt.fromHex(e.slice(0,tn),o),l=Nr(e.slice(tn,Or)),c=Wt.multiply(l,!1),u=_r(i.toBytes(),a.toBytes(),t)}catch{}return{hashable:u,finish:m=>{if(c==null||!o&&a.isSmallOrder())return!1;let y=Ea(m);return i.add(a.multiply(y,!1)).add(c.negate()).clearCofactor().is0()}}},ys=async(e,t,n,r=ms)=>Pa(Ca(e,t,n,r));var wa={sha512Async:async(...e)=>{let t=ha(),n=_r(...e);return On(await t.digest("SHA-512",n.buffer))},sha512Sync:void 0,bytesToHex:Mr,hexToBytes:Lr,concatBytes:_r,mod:O,invert:ps,randomBytes:ga};var Tn=8,Ta=256,hs=Math.ceil(Ta/Tn)+1,Ir=2**(Tn-1),Oa=()=>{let e=[],t=Wt,n=t;for(let r=0;r<hs;r++){n=t,e.push(n);for(let o=1;o<Ir;o++)n=n.add(t),e.push(n);t=n.double()}return e},ls,cs=(e,t)=>{let n=t.negate();return e?n:t},_a=e=>{let t=ls||(ls=Oa()),n=Ft,r=Wt,o=2**Tn,a=o,i=wn(o-1),l=wn(Tn);for(let c=0;c<hs;c++){let u=Number(e&i);e>>=l,u>Ir&&(u-=a,e+=1n);let d=c*Ir,m=d,y=d+Math.abs(u)-1,p=c%2!==0,v=u<0;u===0?r=r.add(cs(p,t[m])):n=n.add(cs(v,t[y]))}return{p:n,f:r}};var Ia=Object.defineProperty,gs=Object.getOwnPropertySymbols,Aa=Object.prototype.hasOwnProperty,Ma=Object.prototype.propertyIsEnumerable,vs=(e,t,n)=>t in e?Ia(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ps=(e,t,n)=>new Promise((r,o)=>{var a=c=>{try{l(n.next(c))}catch(u){o(u)}},i=c=>{try{l(n.throw(c))}catch(u){o(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(a,i);l((n=n.apply(e,t)).next())});function bs(e){let t={};for(let c=0;c<64;c++)t["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"[c]]=c;let n=e.replace(/=+$/,""),r=Math.floor(6*n.length/8),o=new Uint8Array(r),a=0,i=0,l=0;for(let c=0;c<n.length;c++){let u=t[n[c]];if(u===void 0)throw new Error("Invalid base64url character");a=a<<6|u,i+=6,i>=8&&(i-=8,o[l++]=a>>i&255)}return o}var La="primeui",Dr="primeui-pro:",Ss={primeui:"primeui",scheduler:"primeui-pro:scheduler",texteditor:"primeui-pro:text-editor",charts:"primeui-pro:charts",diagram:"primeui-pro:diagram",pdfviewer:"primeui-pro:pdf-viewer",taskboard:"primeui-pro:task-board",datagrid:"primeui-pro:datagrid",ganttchart:"primeui-pro:gantt-chart",filemanager:"primeui-pro:file-manager"},Cs={primeui:"PrimeUI",scheduler:"Scheduler",texteditor:"TextEditor",charts:"Charts",diagram:"Diagram",pdfviewer:"PDF Viewer",taskboard:"Task Board",datagrid:"DataGrid",ganttchart:"Gantt",filemanager:"File Manager"};function jr(e,t="PrimeUI"){switch(e){case"active":return`${t} license is active.`;case"grace":return`${t} license is in its grace period. Renew soon to keep using this version.`;case"expired":return`${t} license does not cover this version. Renew at primeui.store, or downgrade to a version released within your updates window.`;case"tampered":return`${t} license signature is invalid.`;case"wrong-product":return`License does not cover ${t}.`;case"missing":return`No license key configured for ${t}.`;case"invalid":return`${t} license is malformed.`;case"unconfigured":return`${t} license is not configured.`;default:return`${t} license status unknown.`}}var Rs=864e5;function Ie(e,t,n={}){return((r,o)=>{for(var a in o||(o={}))Aa.call(o,a)&&vs(r,a,o[a]);if(gs)for(var a of gs(o))Ma.call(o,a)&&vs(r,a,o[a]);return r})({valid:e==="active"||e==="grace",status:e,message:jr(e,t)},n)}function Es(e,t){return Ps(this,null,function*(){var n,r;let o=t.productLabel;if(typeof e!="string"||!e.includes("."))return Ie("invalid",o);let a=e.split(".");if(a.length!==2)return Ie("invalid",o);let[i,l]=a,c,u,d;try{c=(function(x){let T=bs(x),k=new TextDecoder().decode(T);return JSON.parse(k)})(i)}catch{return Ie("invalid",o)}if(!c||typeof c!="object"||typeof c.product!="string"||typeof c.type!="string"||typeof c.exp!="number"||typeof c.iat!="number"||typeof c.id!="string")return Ie("invalid",o);try{u=bs(l),d=new TextEncoder().encode(i)}catch{return Ie("invalid",o)}let m=(n=t.publicKeyOverride)!=null?n:"dae75e66b9f59bebf87d4bb29ca6494f37deccfcc2b132b98ee159ee7505373b",y;try{y=(function(x){if(x.length%2!=0)throw new Error("Invalid hex length");let T=new Uint8Array(x.length/2);for(let k=0;k<T.length;k++)T[k]=parseInt(x.substr(2*k,2),16);return T})(m)}catch{return Ie("invalid",o)}let p=!1;try{p=yield ys(u,d,y)}catch{return Ie("tampered",o,{payload:c})}if(!p)return Ie("tampered",o,{payload:c});if(!(function(x,T){return x.product===T||!(!T.startsWith(Dr)||x.product!==La||x.tier!=="commercial")})(c,t.product))return Ie("wrong-product",o,{payload:c});let v=1e3*c.exp,g=Date.now(),b=Math.floor((v-g)/Rs),w=(function(x){if(x===void 0)return null;if(typeof x=="number")return 1e3*x;let T=Date.parse(x);return Number.isNaN(T)?null:T})(t.releaseDate);if(w!==null&&w>v)return Ie("expired",o,{daysUntilExpiry:b,payload:c});if((function(x){return x.type==="oem"||x.tier==="community"})(c)){if(g>v+((r=t.graceDays)!=null?r:30)*Rs)return Ie("expired",o,{daysUntilExpiry:b,payload:c});if(g>v)return Ie("grace",o,{daysUntilExpiry:b,payload:c})}return Ie("active",o,{daysUntilExpiry:b,payload:c})})}function xs(e,t){return{valid:!1,status:e,message:jr(e,t)}}function Na(e,t){let n=t?.graceDays,r=t?.publicKeyOverride;return{verify(o,a){return Ps(this,null,function*(){var i;let l=Ss[o],c=(i=Cs[o])!=null?i:"PrimeUI",u=a?.releaseDate;if(!l)return xs("invalid",c);let d=e[o],m=e.primeui;if(d){let y=yield Es(d,{product:l,productLabel:c,releaseDate:u,graceDays:n,publicKeyOverride:r});if(y.valid||y.status!=="wrong-product")return y}return m&&o!=="primeui"&&l.startsWith(Dr)?Es(m,{product:l,productLabel:c,releaseDate:u,graceDays:n,publicKeyOverride:r}):xs(d?"wrong-product":"missing",c)})},has(o){let a=Ss[o];return!!a&&(!!e[o]||o!=="primeui"&&a.startsWith(Dr)&&!!e.primeui)}}}var $r=null;function ws(e,t){if(!e)throw new Error("[@primeui/license-manager] registerLicense: keys argument is required.");return $r=Na(e,t)}function Ts(e,t){var n;if(!$r){let r=(n=Cs[e])!=null?n:"PrimeUI";return Promise.resolve({valid:!1,status:"unconfigured",message:jr("unconfigured",r)})}return $r.verify(e,t)}var Te=te(J());var Hr={csp:{nonce:void 0},defaults:void 0,filterMatchModeOptions:{text:[Se.STARTS_WITH,Se.CONTAINS,Se.NOT_CONTAINS,Se.ENDS_WITH,Se.EQUALS,Se.NOT_EQUALS],numeric:[Se.EQUALS,Se.NOT_EQUALS,Se.LESS_THAN,Se.LESS_THAN_OR_EQUAL_TO,Se.GREATER_THAN,Se.GREATER_THAN_OR_EQUAL_TO],date:[Se.DATE_IS,Se.DATE_IS_NOT,Se.DATE_BEFORE,Se.DATE_AFTER]},inputVariant:void 0,locale:"en",pt:void 0,ptOptions:{mergeSections:!0,mergeProps:!1},ripple:!1,theme:void 0,stylesheet:void 0,unstyled:!1,zIndex:{modal:1100,overlay:1e3,menu:1e3,tooltip:1100},license:void 0};var Da="2026-06-28",_n=Te.createContext(void 0);function $a(e={}){let{props:t,attrs:n}=Ke(Hr,e),[r,o]=Te.useState(t.inputVariant),[a,i]=Te.useState(t.defaults),[l,c]=Te.useState(t.zIndex);Te.useEffect(()=>{t.license&&ws({primeui:t.license}),Ts("primeui",{releaseDate:Da}).then(m=>{m.valid||(console.warn(`[PrimeUI] ${m.message}`),Nn())})},[]);let u=Te.useMemo(()=>({inputVariant:r,setInputVariant:o,defaults:a,setDefaults:i,zIndex:l,setZIndex:c}),[r,a,l]),d=Te.useMemo(()=>V(n.children,u),[n.children,u]);return Te.createElement(_n.Provider,{value:u},Te.createElement(tr,{lang:t.locale},Te.createElement(rr,{value:t.pt,...t.ptOptions},Te.createElement(Cr,{preset:t.theme?.preset,stylesheet:t.stylesheet,...t.theme?.options},d))))}var St=te(J());function Ur(){let e=St.useContext(_n),t=St.useContext(Lt),n=St.useContext(Nt),r=St.useContext(Ge);if(e===void 0)throw new Error("[PrimeReact] PrimeReactProvider not found. Wrap your application in <PrimeReactProvider> before using PrimeReact components.");return St.useMemo(()=>({config:e,locale:t,passthrough:n,theme:r}),[e,t,n,r])}var Fe=te(J()),Zt=(e="UnknownBase",t)=>{let n=Ur(),{type:r,inProps:o,defaultProps:a,setup:i}=t||{},l=$o(o?.id),c=To("pc_"),[u,d]=Fe.useMemo(()=>e.toLowerCase().split("."),[e]),m=Fe.useRef(null),y=Fe.useRef(void 0),p=Fe.useMemo(()=>({ref:m,elementRef:y,id:l,name:e,type:r,scope:u,part:wt(d),inProps:o,$attrSelector:c,$primereact:n}),[l,o,c,n,e,r]),v=n.config?.defaults,g=Fe.useMemo(()=>{let M=V(v?.[e]||v?.[e.toLowerCase()],p);return{...a,...M?.props}},[a,v,e]),{props:b,attrs:w}=Ke(g,o),x=Fe.useMemo(()=>({...p,props:b,attrs:w}),[p,b,w]),T=V(i,x),k=Fe.useMemo(()=>({state:{},$computedSetup:T,...T,...x,elementRef:T?.elementRef??y}),[T,x]);return Fe.useImperativeHandle(m,()=>k,[k]),k};var Os={onDragStart:e=>`Picked up ${e.active.data?.label??"item"}. Use Arrow keys to move, Space or Enter to drop, Escape to cancel.`,onDragOver:e=>e.over?`Over ${e.over.data?.label??"drop zone"}.`:"Not over a drop zone.",onDragEnd:e=>e.cancelled?"Drag cancelled. Item returned to original position.":e.over?`Dropped on ${e.over.data?.label??"drop zone"}.`:"Dropped.",onDragCancel:()=>"Drag cancelled. Item returned to original position.",onSortOver:e=>`Moved to position ${e.index+1} of ${e.total}${e.containerId?` in ${String(e.containerId)}`:""}.`};function Ze(){return typeof window<"u"&&typeof document<"u"}function zt(e){let t=e.getBoundingClientRect();return{x:t.x,y:t.y,width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left}}function Br(e,t,n,r){return{x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e}}function _s(e,t){return Br(e.x-t.x,e.y-t.y,e.width,e.height)}function pt(e,t){return Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2)}function $e(e){return{x:e.x+e.width/2,y:e.y+e.height/2}}function kn(e,t){return e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom}function Fr(e){return e.width*e.height}function ks(e,t){let n=Math.max(e.left,t.left),r=Math.max(e.top,t.top),o=Math.min(e.right,t.right)-n,a=Math.min(e.bottom,t.bottom)-r;return o>0&&a>0?o*a:0}function Is(e){if(!Ze())return null;let t=e.parentElement;for(;t&&t!==document.documentElement;){let n=getComputedStyle(t),r=(n.overflowY==="auto"||n.overflowY==="scroll")&&t.scrollHeight>t.clientHeight,o=(n.overflowX==="auto"||n.overflowX==="scroll")&&t.scrollWidth>t.clientWidth;if(r||o)return t;t=t.parentElement}return document.documentElement.scrollHeight>document.documentElement.clientHeight?document.documentElement:null}function Vr(e){return e===document.documentElement?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop}}function As(e,t,n){e===document.documentElement?window.scrollBy(t,n):e.scrollBy(t,n)}function Wr(e,t){let n=null;return{call(){n!==null&&clearTimeout(n),n=setTimeout(()=>{n=null,e()},t)},cancel(){n!==null&&(clearTimeout(n),n=null)}}}function ja(e){let t=[];for(let n of e.droppables)if(!n.disabled&&kn(e.position,n.rect)){let r=Fr(n.rect);r>0&&t.push({id:n.id,data:n.data,ratio:1/r})}return t.sort((n,r)=>(r.ratio??0)-(n.ratio??0)),t}function Ha(e){if(!e.activeRect)return[];let t=[];for(let n of e.droppables){if(n.disabled)continue;let r=ks(e.activeRect,n.rect);if(r>0){let o=Fr(n.rect);t.push({id:n.id,data:n.data,ratio:o>0?r/o:0})}}return t.sort((n,r)=>(r.ratio??0)-(n.ratio??0)),t}function Ua(e){if(!e.activeRect)return[];let t=$e(e.activeRect),n=[];for(let r of e.droppables)r.disabled||n.push({id:r.id,data:r.data,distance:pt(t,$e(r.rect))});return n.sort((r,o)=>(r.distance??1/0)-(o.distance??1/0)),n}function Ba(e){if(!e.activeRect)return[];let t=e.activeRect,n=[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}],r=[];for(let o of e.droppables){if(o.disabled)continue;let a=o.rect,i=[{x:a.left,y:a.top},{x:a.right,y:a.top},{x:a.left,y:a.bottom},{x:a.right,y:a.bottom}],l=0;for(let c=0;c<4;c++)l+=pt(n[c],i[c]);r.push({id:o.id,data:o.data,distance:l/4})}return r.sort((o,a)=>(o.distance??1/0)-(a.distance??1/0)),r}var qt={pointerWithin:ja,rectIntersection:Ha,closestCenter:Ua,closestCorners:Ba};var Ms=.25;function Ls(e){let{position:t,items:n,direction:r,activeId:o,allowInsideDrop:a=!1}=e,i={index:0,position:"before",targetId:null,dropPosition:"before",targetRect:null};if(n.length===0)return i;let l=n.filter(b=>b.id!==o);if(l.length===0)return i;let c=0,u=1/0;for(let b=0;b<l.length;b++){let w=$e(l[b].rect),x=r==="horizontal"?Math.abs(t.x-w.x):r==="vertical"?Math.abs(t.y-w.y):pt(t,w);x<u&&(u=x,c=b)}let d=l[c],m=d.rect,y=$e(m),p;r==="horizontal"?p=t.x<y.x?"before":"after":r==="vertical"?p=t.y<y.y?"before":"after":p=t.y<y.y?"before":t.y>y.y?"after":t.x<y.x?"before":"after";let v;a?v=Fa(t,m,r):v=p;let g=n.findIndex(b=>b.id===d.id);return{index:p==="after"?g+1:g,position:p,targetId:d.id,dropPosition:v,targetRect:m}}function Fa(e,t,n){if(n==="horizontal"){let o=t.width*Ms;return e.x<t.left+o?"before":e.x>t.right-o?"after":"inside"}let r=t.height*Ms;return e.y<t.top+r?"before":e.y>t.bottom-r?"after":"inside"}function Ns(e){let{items:t,activeId:n,originalIndex:r,projectedIndex:o,activeRect:a,itemRects:i,direction:l}=e,c=new Map;if(!a||r===o)return c;let u=o>r;if(l==="grid")for(let d=0;d<t.length;d++){let m=t[d];if(m===n||!(u?d>r&&d<=o:d>=o&&d<r))continue;let p=u?d-1:d+1;t[p]===n&&(p=u?p-1:p+1);let v=t[p],g=i.get(m),b=v?i.get(v):null;g&&b&&c.set(m,{x:b.x-g.x,y:b.y-g.y,scaleX:1,scaleY:1})}else{let d=l==="horizontal"?a.width:0,m=l==="vertical"?a.height:0;for(let y=0;y<t.length;y++){let p=t[y];if(p===n)continue;let v=0,g=0;u?y>r&&y<=o&&(v=-d,g=-m):y>=o&&y<r&&(v=d,g=m),(v!==0||g!==0)&&c.set(p,{x:v,y:g,scaleX:1,scaleY:1})}}return c}function Ds(e){let{sourceItems:t,targetItems:n,activeId:r,originalIndex:o,projectedIndex:a,activeRect:i,sourceDirection:l,targetDirection:c}=e,u=new Map,d=new Map;if(!i)return{sourceTransforms:u,targetTransforms:d};let m=l==="horizontal"?i.width:0,y=l==="vertical"||l==="grid"?i.height:0;for(let g=0;g<t.length;g++)t[g]!==r&&g>o&&u.set(t[g],{x:-m,y:-y,scaleX:1,scaleY:1});let p=c==="horizontal"?i.width:0,v=c==="vertical"||c==="grid"?i.height:0;for(let g=0;g<n.length;g++)g>=a&&d.set(n[g],{x:p,y:v,scaleX:1,scaleY:1});return{sourceTransforms:u,targetTransforms:d}}function zr(e,t,n){if(t<0||t>=e.length||n<0||n>e.length)return e.slice();let r=e.slice(),[o]=r.splice(t,1);return r.splice(n,0,o),r}function qr(e,t,n,r){if(n<0||n>=e.length||r<0||r>t.length)return{source:e.slice(),target:t.slice()};let o=e.slice(),[a]=o.splice(n,1),i=t.slice();return i.splice(r,0,a),{source:o,target:i}}function $s(e){let t=!1;function n(){if(t)throw new Error("createDnd: instance has been destroyed.")}let r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null},o=new Set,a=!1;function i(){if(!a){a=!0;try{for(let h of o)h()}finally{a=!1}}}function l(h){let S=h(r);S!==r&&(r=S,i())}let c=new Map;function u(h,S){let E=c.get(h);if(E)for(let _ of E)_(S)}let d=e?.collisionDetection??"pointerWithin";function m(){return qt[d]??qt.pointerWithin}let y=null,p=e?.autoScroll!==!1,v=typeof e?.autoScroll=="object"?e.autoScroll:{},g=null,b={x:0,y:0},w={...Os,...e?.announcements},x=new Map;function T(){if(Ze()){x.clear();for(let[h,S]of r.draggables)S.node&&x.set(h,zt(S.node));for(let[h,S]of r.droppables)S.node&&x.set(h,zt(S.node));for(let[h,S]of r.sortableContainers)S.node&&x.set(h,zt(S.node))}}function k(h,S){let E=x.get(h);return E?_s(E,S):null}function M(){r.operation&&(T(),b={x:0,y:0},fe(r.operation.current))}let B=Wr(M,50),q=Wr(M,100),Y=null,pe=null,W=null,A=null;function N(){if(!(!Ze()||typeof ResizeObserver>"u")){Y=new ResizeObserver(()=>B.call());for(let[,h]of r.sortableContainers)h.node&&Y.observe(h.node)}}function F(){if(!Ze())return;let h=()=>q.call();window.addEventListener("resize",h,{passive:!0}),A=()=>{window.removeEventListener("resize",h),q.cancel()}}function me(){if(!Ze())return;if(typeof MutationObserver<"u"){pe=new MutationObserver(()=>B.call());for(let[,E]of r.sortableContainers)E.node&&pe.observe(E.node,{childList:!0})}let h=y??window,S=()=>B.call();h.addEventListener("scroll",S,{passive:!0}),W=()=>h.removeEventListener("scroll",S)}function ce(){pe?.disconnect(),pe=null,W?.(),W=null,B.cancel()}function ae(h){let S=[],E=r.operation;if(!E)return S;let _=r.draggables.get(E.activeId);for(let[U,I]of r.droppables){if(I.disabled)continue;let G=k(U,h);if(!G)continue;let ue=!I.accept||_?.scope!=null&&I.accept.includes(_.scope),ne=I.canDrop?I.canDrop(E.data):!0;ue&&ne&&S.push({id:U,rect:G,data:I.data??{},disabled:!1})}for(let[U,I]of r.sortableContainers){if(I.disabled)continue;let G=k(U,h);if(!G)continue;(!I.accept||_?.scope!=null&&I.accept.includes(_.scope))&&S.push({id:U,rect:G,data:{},disabled:!1})}return S}function ve(h,S){if(h.length!==S.length)return!1;for(let E=0;E<h.length;E++)if(h[E].id!==S[E].id)return!1;return!0}function fe(h,S){let E=r.operation;if(!E)return;let _=S??b,U=ae(_),I=k(E.activeId,_),G=m()({position:h,activeRect:I,droppables:U});if(!ve(r.collisions,G)){let ne=r.collisions[0]??null,oe=G[0]??null;l(ye=>({...ye,collisions:G})),ne?.id!==oe?.id&&u("dragOver",{active:{id:E.activeId,data:E.data},over:oe?{id:oe.id,data:oe.data}:null})}Ve(h,_)}let re=null;function Ae(h){if(re){let S=r.sortableContainers.get(re.containerId);if(S){let E=S.items.indexOf(h);if(E!==-1)return{container:S,index:E}}re=null}for(let[,S]of r.sortableContainers){let E=S.items.indexOf(h);if(E!==-1)return re={containerId:S.id,index:E},{container:S,index:E}}return null}function Qe(h,S){if(h.size!==S.size)return!1;for(let[E,_]of h){let U=S.get(E);if(!U||_.x!==U.x||_.y!==U.y)return!1}return!0}function Ve(h,S){let E=r.operation;if(!E)return;let _=Ae(E.activeId);if(!_){r.sortable!==null&&l(z=>({...z,sortable:null}));return}let U=r.draggables.get(E.activeId),I=null;for(let[,z]of r.sortableContainers){let X=k(z.id,S);if(!X||!kn(h,X))continue;if(!z.accept||U?.scope!=null&&z.accept.includes(U.scope)||z.id===_.container.id){I=z;break}}I||(I=_.container);let G=[];for(let z of I.items){let X=k(z,S);X&&G.push({id:z,rect:X})}let ue=Ls({position:h,items:G,direction:I.direction,activeId:E.activeId,allowInsideDrop:I.allowInsideDrop}),ne=ue.index,oe=I.id!==_.container.id,ye;if(oe){let{sourceTransforms:z,targetTransforms:X}=Ds({sourceItems:_.container.items,targetItems:I.items,activeId:E.activeId,originalIndex:_.index,projectedIndex:ne,activeRect:k(E.activeId,S),sourceDirection:_.container.direction,targetDirection:I.direction});ye=new Map([...z,...X])}else ye=Ns({items:_.container.items,activeId:E.activeId,originalIndex:_.index,projectedIndex:ne,activeRect:k(E.activeId,S),itemRects:x,direction:_.container.direction});let he=ue.targetId!=null?{targetId:ue.targetId,position:ue.dropPosition,targetRect:ue.targetRect}:null,L={sourceContainerId:_.container.id,currentContainerId:I.id,originalIndex:_.index,projectedIndex:ne,transforms:ye,dropIndicator:he},Z=r.sortable;(!Z||Z.currentContainerId!==L.currentContainerId||Z.projectedIndex!==L.projectedIndex||!Qe(Z.transforms,L.transforms)||Z.dropIndicator?.targetId!==L.dropIndicator?.targetId||Z.dropIndicator?.position!==L.dropIndicator?.position)&&l(z=>({...z,sortable:L}))}function Je(){if(!(!p||!Ze())){if(!y){let h=r.draggables.get(r.operation.activeId);h?.node&&(y=Is(h.node))}y&&(b={x:0,y:0},ot())}}function We(){g!==null&&(cancelAnimationFrame(g),g=null),b={x:0,y:0}}function ot(){let h=r.operation;if(!h||!y)return;let S=v.threshold??50,E=v.speed??15,_=v.direction??"both",U=h.current,I=y===document.documentElement?Br(0,0,window.innerWidth,window.innerHeight):zt(y),G=0,ue=0;if(_!=="horizontal"){let ne=U.y-I.top,oe=I.bottom-U.y;ne>=0&&ne<S?ue=-E*(1-ne/S):oe>=0&&oe<S&&(ue=E*(1-oe/S))}if(_!=="vertical"){let ne=U.x-I.left,oe=I.right-U.x;ne>=0&&ne<S?G=-E*(1-ne/S):oe>=0&&oe<S&&(G=E*(1-oe/S))}if(G!==0||ue!==0){let ne=Vr(y);As(y,G,ue);let oe=Vr(y),ye=oe.x-ne.x,he=oe.y-ne.y;(ye!==0||he!==0)&&(b={x:b.x+ye,y:b.y+he},fe(h.current,b))}g=requestAnimationFrame(ot)}function st(h,S){if(n(),r.operation)return;let E=r.draggables.get(S);if(!E||E.disabled)return;let _={...E.data},U;if("clientX"in h){let I=h;U={x:I.clientX,y:I.clientY}}else{let I=E.node?zt(E.node):null;U=I?$e(I):{x:0,y:0}}l(I=>({...I,operation:{activeId:S,origin:U,current:{...U},delta:{x:0,y:0},data:_},collisions:[],sortable:null})),T(),me(),Je(),u("dragStart",{active:{id:S,data:_,node:E.node},event:h}),fe(U)}function Me(h,S){n();let E=r.operation;if(!E)return;let _={x:S.x-E.origin.x,y:S.y-E.origin.y};l(I=>({...I,operation:I.operation?{...I.operation,current:S,delta:_}:null})),fe(S);let U=r.draggables.get(E.activeId);u("dragMove",{active:{id:E.activeId,data:E.data,node:U?.node??null},position:S,delta:_,event:h})}function je(h){n();let S=r.operation;if(!S)return;let E=r.collisions[0]??null,_=r.sortable;_&&(_.sourceContainerId!==_.currentContainerId?u("transfer",{activeId:S.activeId,from:{containerId:_.sourceContainerId,index:_.originalIndex},to:{containerId:_.currentContainerId,index:_.projectedIndex},event:h}):_.originalIndex!==_.projectedIndex&&u("sort",{containerId:_.sourceContainerId,activeId:S.activeId,fromIndex:_.originalIndex,toIndex:_.projectedIndex,event:h})),u("dragEnd",{active:{id:S.activeId,data:S.data},over:E?{id:E.id,data:E.data}:null,cancelled:!1,event:h}),mt()}function Le(h){n();let S=r.operation;S&&(u("dragCancel",{active:{id:S.activeId,data:S.data},event:h}),u("dragEnd",{active:{id:S.activeId,data:S.data},over:null,cancelled:!0,event:h}),mt())}function mt(){We(),ce(),x.clear(),b={x:0,y:0},re=null,y=null,l(h=>({...h,operation:null,collisions:[],sortable:null}))}let He=new Set;function Et(h,S,E){if(n(),!Ze())return()=>{};let _=E?.activationDistance??5,U=E?.activationDelay??0,I=!1,G=!1,ue=null,ne=null,oe=U===0,ye=null,he=null,L=null;function Z(){I=!1,G=!1,ue=null,oe=U===0,ne!==null&&(clearTimeout(ne),ne=null),ye!==null&&(cancelAnimationFrame(ye),ye=null),he=null,L=null,document.removeEventListener("pointermove",ie),document.removeEventListener("pointerup",be),document.removeEventListener("pointercancel",s),document.removeEventListener("keydown",f),document.removeEventListener("contextmenu",R)}function z(){he&&L&&G&&(Me(L,he),he=null,L=null),ye=null}function X(C){if(!(C.button!==0||r.operation||r.draggables.get(S)?.disabled)){I=!0,ue={x:C.clientX,y:C.clientY},oe=U===0;try{h.setPointerCapture(C.pointerId)}catch{}U>0&&(ne=setTimeout(()=>{oe=!0,ne=null},U)),document.addEventListener("pointermove",ie),document.addEventListener("pointerup",be),document.addEventListener("pointercancel",s),document.addEventListener("keydown",f),document.addEventListener("contextmenu",R)}}function ie(C){if(!I&&!G||!ue)return;let $={x:C.clientX,y:C.clientY};if(!G){let j=pt(ue,$);if(!oe){j>_&&Z();return}if(j<_)return;G=!0,I=!1,st(C,S);return}he=$,L=C,ye===null&&(ye=requestAnimationFrame(z))}function be(C){G&&(he&&Me(C,he),je(C));try{h.releasePointerCapture(C.pointerId)}catch{}Z()}function s(C){G&&Le(C);try{h.releasePointerCapture(C.pointerId)}catch{}Z()}function f(C){C.key==="Escape"&&G&&(Le(C),Z())}function R(C){(G||I)&&C.preventDefault()}h.addEventListener("pointerdown",X);let P=()=>{Z(),h.removeEventListener("pointerdown",X),He.delete(P)};return He.add(P),P}function xt(h,S,E){if(n(),!Ze())return()=>{};let _=E?.step??25,U=E?.fastStep??_*5,I=!1;function G(L){if(!r.draggables.get(S)?.disabled){if(!I){(L.key===" "||L.key==="Enter")&&(L.preventDefault(),I=!0,st(L,S));return}switch(L.preventDefault(),L.key){case"Escape":I=!1,Le(L);break;case"Tab":I=!1,Le(L);break;case" ":case"Enter":I=!1,je(L);break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":if(!r.operation)break;if(r.sortable!==null)ue(L);else{let z=L.shiftKey?U:_,X=r.operation.current,ie={x:X.x,y:X.y};L.key==="ArrowUp"&&(ie.y-=z),L.key==="ArrowDown"&&(ie.y+=z),L.key==="ArrowLeft"&&(ie.x-=z),L.key==="ArrowRight"&&(ie.x+=z),Me(L,ie)}break;case"Home":case"End":r.sortable&&ne(L);break}}}function ue(L){if(!r.operation||!r.sortable)return;let{currentContainerId:Z,projectedIndex:z}=r.sortable,X=r.sortableContainers.get(Z);if(!X)return;let ie=X.direction==="vertical"||X.direction==="grid",be=X.direction==="horizontal"||X.direction==="grid",s=z,f=Z;if(L.key==="ArrowUp"&&ie||L.key==="ArrowLeft"&&be)s>0&&s--;else if(L.key==="ArrowDown"&&ie||L.key==="ArrowRight"&&be){let R=X.items.filter(P=>P!==r.operation.activeId).length;s<R&&s++}else if(L.key==="ArrowLeft"||L.key==="ArrowRight"){let R=ye(Z,L.key==="ArrowRight"?"right":"left");R&&(f=R.id,s=0)}(s!==z||f!==Z)&&oe(f,s,L)}function ne(L){if(!r.operation||!r.sortable)return;let Z=r.sortableContainers.get(r.sortable.currentContainerId);if(!Z)return;let z=Z.items.filter(ie=>ie!==r.operation.activeId),X=L.key==="Home"?z[0]:z[z.length-1];if(X!=null){let ie=k(X,b);ie&&Me(L,$e(ie))}}function oe(L,Z,z){let X=r.sortableContainers.get(L);if(!X)return;let ie=X.items.filter(s=>s!==r.operation.activeId),be=ie[Math.min(Z,ie.length-1)];if(be!=null){let s=k(be,b);if(s){Me(z,$e(s));let f=r.draggables.get(be);f?.node&&f.node.scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth"})}}}function ye(L,Z){let z=k(L,b);if(!z)return null;let X=$e(z),ie=null,be=1/0;for(let[s,f]of r.sortableContainers){if(s===L)continue;let R=k(s,b);if(!R)continue;let P=$e(R);if(Z==="right"&&P.x<=X.x||Z==="left"&&P.x>=X.x)continue;let C=r.draggables.get(r.operation.activeId);if(f.accept&&C?.scope!=null&&!f.accept.includes(C.scope))continue;let $=pt(X,P);$<be&&(be=$,ie=f)}return ie}h.addEventListener("keydown",G);let he=()=>{I&&(I=!1,Le()),h.removeEventListener("keydown",G),He.delete(he)};return He.add(he),he}function yt(h){return n(),l(S=>{let E=new Map(S.draggables);return E.set(h.id,h),{...S,draggables:E}}),()=>{r.operation?.activeId===h.id&&Le(),l(S=>{let E=new Map(S.draggables);return E.delete(h.id),{...S,draggables:E}})}}function Pe(h){return n(),l(S=>{let E=new Map(S.droppables);return E.set(h.id,h),{...S,droppables:E}}),()=>{l(S=>{let E=new Map(S.droppables);return E.delete(h.id),{...S,droppables:E}})}}function Pt(h){return n(),l(S=>{let E=new Map(S.sortableContainers);return E.set(h.id,h),{...S,sortableContainers:E}}),h.node&&Y&&Y.observe(h.node),()=>{h.node&&Y&&Y.unobserve(h.node),l(S=>{let E=new Map(S.sortableContainers);return E.delete(h.id),{...S,sortableContainers:E}})}}function Kt(h,S){let E=w[h];return E?E(S):""}return Ze()&&(N(),F()),{getState:()=>r,subscribe(h){return n(),o.add(h),()=>{o.delete(h)}},registerDraggable:yt,registerDroppable:Pe,registerSortableContainer:Pt,startDrag:st,updateDrag:Me,endDrag:je,cancelDrag:Le,on(h,S){n(),c.has(h)||c.set(h,new Set);let E=c.get(h),_=S;return E.add(_),()=>{E.delete(_)}},attachPointerSensor:Et,attachKeyboardSensor:xt,setScrollableElement(h){y=h},setCollisionDetection(h){d=h},measureRects:T,getAdjustedRect:k,getAnnouncement:Kt,destroy(){if(!t){t=!0,r.operation&&(u("dragCancel",{active:{id:r.operation.activeId,data:r.operation.data}}),u("dragEnd",{active:{id:r.operation.activeId,data:r.operation.data},over:null,cancelled:!0}),We(),ce());for(let h of He)h();He.clear(),Y?.disconnect(),Y=null,A?.(),A=null,B.cancel(),q.cancel(),c.clear(),o.clear(),x.clear(),r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null}}}}}var to=te(J());var[Kr,Va]=sr();var nn={elementRef:void 0,visible:!1,mountOnEnter:!0,unmountOnLeave:!0,name:void 0,type:void 0,safe:!1,disabled:!1,appear:!1,enter:!0,leave:!0,duration:void 0,hideStrategy:"display",cssVarPrefix:void 0,enterFromClassName:void 0,enterToClassName:void 0,enterActiveClassName:void 0,leaveFromClassName:void 0,leaveToClassName:void 0,leaveActiveClassName:void 0,onBeforeEnter:void 0,onEnter:void 0,onAfterEnter:void 0,onEnterCancelled:void 0,onBeforeLeave:void 0,onLeave:void 0,onAfterLeave:void 0,onLeaveCancelled:void 0};var Yr={...nn,as:"div"};var Ee=te(J());var In=new WeakMap,za=Object.freeze({display:"none"}),qa=Object.freeze({visibility:"hidden",maxHeight:"0"});function Gr(e){switch(e){case"display":return za;case"visibility":return qa;default:return}}function An(e,t){if(!e)return;In.has(e)||In.set(e,{display:e.style.display==="none"?"":e.style.display,visibility:e.style.visibility==="hidden"?"":e.style.visibility,maxHeight:e.style.maxHeight==="0"?"":e.style.maxHeight});let n=Gr(t);n&&Object.assign(e.style,n)}function Xr(e,t){if(!e)return;let n=In.get(e);switch(t){case"display":e.style.display=n?.display??"";break;case"visibility":e.style.visibility=n?.visibility??"",e.style.maxHeight=n?.maxHeight??"";break}In.delete(e)}var Ka=Object.defineProperty,js=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Ga=Object.prototype.propertyIsEnumerable,Hs=(e,t,n)=>t in e?Ka(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Us=(e,t)=>{for(var n in t||(t={}))Ya.call(t,n)&&Hs(e,n,t[n]);if(js)for(var n of js(t))Ga.call(t,n)&&Hs(e,n,t[n]);return e};var Mn="animation",rn="transition",Xa=["data-enter-phase","data-enter-from","data-enter-to","data-enter-active","data-leave-phase","data-leave-from","data-leave-to","data-leave-active"];function Bs(e){return e?e.disabled||!!(e.safe&&Ao()):!1}function Fs(e,t){return e?Us(Us({},e),Object.entries(t).reduce((n,[r,o])=>{var a;return n[r]=(a=e[r])!=null?a:o,n},{})):t}function Vs(e){let{name:t,enterClass:n,leaveClass:r}=e||{};return{enter:{from:n?.from||`${t}-enter-from`,to:n?.to||`${t}-enter-to`,active:n?.active||`${t}-enter-active`},leave:{from:r?.from||`${t}-leave-from`,to:r?.to||`${t}-leave-to`,active:r?.active||`${t}-leave-active`}}}function Ws(e){return{enter:{onBefore:e?.onBeforeEnter,onStart:e?.onEnter,onAfter:e?.onAfterEnter,onCancelled:e?.onEnterCancelled},leave:{onBefore:e?.onBeforeLeave,onStart:e?.onLeave,onAfter:e?.onAfterLeave,onCancelled:e?.onLeaveCancelled}}}function zs(e,t){let n=window.getComputedStyle(e),r=p=>{let v=n[`${p}Delay`],g=n[`${p}Duration`];return[v.split(", ").map(Un),g.split(", ").map(Un)]},[o,a]=r(rn),[i,l]=r(Mn),c=Math.max(...a.map((p,v)=>p+o[v])),u=Math.max(...l.map((p,v)=>p+i[v])),d,m=0,y=0;return t===rn?c>0&&(d=rn,m=c,y=a.length):t===Mn?u>0&&(d=Mn,m=u,y=l.length):(m=Math.max(c,u),d=m>0?c>u?rn:Mn:void 0,y=d?d===rn?a.length:l.length:0),{type:d,timeout:m,count:y}}function qs(e,t){return typeof e=="number"?e:typeof e=="object"&&e[t]!=null?e[t]:null}function Rt(e,t){return e?`--${e}-${t}`:`--${t}`}function on(e,t,n){let{autoHeight:r,autoWidth:o,cssVarPrefix:a}=t,i=typeof n=="object";r&&Jn(e,Rt(a,"height"),i?n.height:n),o&&Jn(e,Rt(a,"width"),i?n.width:n)}function Zr(e,t){if(!t.autoHeight&&!t.autoWidth)return;let n=Oo(e);on(e,t,{height:(e.scrollHeight||n.height)+"px",width:(e.scrollWidth||n.width)+"px"})}function Ks(e,t){e.setAttribute(`data-${t}-phase`,"")}function Qr(e,t,n){e.removeAttribute("data-enter-from"),e.removeAttribute("data-enter-to"),e.removeAttribute("data-leave-from"),e.removeAttribute("data-leave-to"),e.setAttribute(`data-${t}-${n}`,""),e.setAttribute(`data-${t}-active`,"")}function Jr(e){e.removeAttribute("data-enter-phase"),e.removeAttribute("data-leave-phase")}function Ys(e){Xa.forEach(t=>e.removeAttribute(t))}var Za=Object.freeze({}),Gs={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function Xs(e,t){if(!e)throw new Error("Element is required.");let n={},r=!1,o={},a=null,i={},l=d=>{if(Object.assign(n,Fs(d,Gs)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");i=Ws(n),r=Bs(n),o=Vs(n),a=null},c=async d=>{a?.();let{onBefore:m,onStart:y,onAfter:p,onCancelled:v}=i[d]||{},g={element:e};if(Ks(e,d),r){m?.(g),y?.(g),p?.(g),Jr(e);return}let{from:b,active:w,to:x}=o[d]||{};return m?.(g),d==="enter"?on(e,n,"0px"):Zr(e,n),dn(e,b),dn(e,w),Qr(e,d,"from"),await Qn(),d==="enter"?Zr(e,n):on(e,n,"0px"),Zn(e,b),dn(e,x),Qr(e,d,"to"),y?.(g),new Promise(T=>{let k=qs(n.duration,d),M=()=>{Zn(e,[x,w]),a=null,Ys(e),Jr(e)},B=()=>{M(),p?.(g),T(),d==="enter"&&on(e,n,"auto")};a=()=>{M(),v?.(g),T()},Ja(e,n.type,k,B)})};l(t);let u={enter:()=>n.enter?c("enter"):Promise.resolve(),leave:()=>n.leave?c("leave"):Promise.resolve(),cancel:()=>{a?.(),a=null},update:(d,m)=>{if(!d)throw new Error("Element is required.");e=d,u.cancel(),l(m)}};return n.appear&&u.enter(),u}var Qa=0;function Ja(e,t,n,r){let o=e._motionEndId=++Qa,a=()=>{o===e._motionEndId&&r()};if(n!=null)return setTimeout(a,n);let{type:i,timeout:l,count:c}=zs(e,t);if(!i){r();return}let u=i+"end",d=0,m=()=>{e.removeEventListener(u,y,!0),a()},y=p=>{p.target===e&&++d>=c&&m()};e.addEventListener(u,y,{capture:!0,once:!0}),setTimeout(()=>{d<c&&m()},l+1)}var eo=en({name:"useMotion",defaultProps:nn,setup({props:e,elementRef:t}){let[n,r]=Ee.useState(()=>e.visible&&e.mountOnEnter||!e.mountOnEnter),o={rendered:n},a=Ee.useRef(void 0),i=Ee.useRef(!0),l=Ee.useCallback(()=>At(e.elementRef)??t?.current,[e.elementRef,t]),c=Ee.useCallback(()=>a.current?.enter(),[]),u=Ee.useCallback(()=>a.current?.leave(),[]),d=Ee.useCallback(()=>a.current?.cancel(),[]),m=Ee.useCallback((p,v={})=>{if(!p)return;let g={...v,enterClass:{from:v.enterFromClassName,to:v.enterToClassName,active:v.enterActiveClassName},leaveClass:{from:v.leaveFromClassName,to:v.leaveToClassName,active:v.leaveActiveClassName}};a.current?a.current?.update(p,g):a.current=Xs(p,g)},[]);Ee.useLayoutEffect(()=>()=>{let p=l();Xr(p,e.hideStrategy),i.current=!0},[]),Ee.useLayoutEffect(()=>{e.visible&&!n&&r(!0)},[e.visible]),Ee.useLayoutEffect(()=>{let p=l();m?.(p,e)},[]),Ee.useLayoutEffect(()=>{let p=l();if(!p||!n){p&&!e.visible&&An(p,e.hideStrategy),i.current=!1;return}let v=!1,g=i.current&&e.visible&&e.appear;if(Xr(p,e.hideStrategy),m?.(p,e),e.visible){if(g||!i.current)c?.();else if(e.cssVarPrefix){let b=Rt(e.cssVarPrefix,"width"),w=Rt(e.cssVarPrefix,"height");p.style.setProperty(b,"auto"),p.style.setProperty(w,"auto")}}else u?.()?.then(()=>{!p||v||e.visible||(e.unmountOnLeave?(An(p,e.hideStrategy),Qn().then(()=>{v||r(!1)})):An(p,e.hideStrategy))});return i.current=!1,()=>{v=!0,d?.()}},[e.visible,n,e.unmountOnLeave,e.appear,l]);let y=Ee.useMemo(()=>{if(!e.visible&&!n){let p=Rt(e.cssVarPrefix,"width"),v=Rt(e.cssVarPrefix,"height");return{style:{...Gr(e.hideStrategy),[p]:"0px",[v]:"0px"}}}return Za},[e.visible,n,e.hideStrategy,e.cssVarPrefix]);return{state:o,enter:c,leave:u,cancel:d,update:m,rootProps:y}}});var el=Qt({name:"Motion",defaultProps:Yr,setup(e){return eo(e.inProps)},render(e){let{id:t,props:n,state:r,ptmi:o,rootProps:a}=e,i=at({id:t},o("root"),a);return to.createElement(Kr,{value:e},to.createElement(Dt,{pIf:r.rendered,instance:e,attrs:i,children:n.children}))}});var Oe=te(J()),tl=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n].id!==t[n].id||e[n].open!==t[n].open)return!1;return!0};function nl(){let e=new Map,t=new Set,n=[],r=[],o=()=>{let i=Array.from(e.values()),l=i.map(c=>({id:c.id,open:c.open}));return tl(r,l)&&i.length===n.length&&!i.some((u,d)=>u.props!==n[d]?.props)?!1:(n=i,r=l,!0)},a=()=>{o()&&t.forEach(i=>i())};return{subscribe(i){return t.add(i),()=>{t.delete(i)}},getSnapshot(){return n},open(i,l){e.set(i,{id:i,props:l,open:!0}),a()},close(i){if(i===void 0){let c=!1;e.forEach((u,d)=>{u.open&&(e.set(d,{...u,open:!1}),c=!0)}),c&&a();return}let l=e.get(i);l?.open&&(e.set(i,{...l,open:!1}),a())},remove(i){e.delete(i)&&a()},removeAll(){e.size!==0&&(e.clear(),a())},update(i,l){let c=e.get(i);c&&(e.set(i,{...c,props:{...c.props,...l}}),a())},getItem(i){return e.get(i)},isOpen(i){return e.get(i)?.open??!1},isAnyOpen(){for(let i of e.values())if(i.open)return!0;return!1}}}function rl({item:e,store:t,render:n,defaults:r}){let[o,a]=Oe.useState(!1);Oe.useEffect(()=>{a(!0)},[]);let i=Oe.useCallback(c=>{c.value||t.close(e.id)},[e.id,t]),l=Oe.useCallback(()=>{t.remove(e.id)},[e.id,t]);return Oe.createElement(Oe.Fragment,null,n.current({...r.current,...e.props,overlayId:e.id,open:o?e.open:!1,onOpenChange:i,onExitComplete:l}))}var ol=(e,t,n)=>{let r=()=>{let o=Oe.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot);return Oe.createElement(Oe.Fragment,null,o.map(a=>Oe.createElement(rl,{key:a.id,item:a,store:e,render:t,defaults:n})))};return r.displayName="OverlayManagerRender",r},sl=["open","onOpenChange","onExitComplete","overlayId"];function il(e){let t={...e};for(let n of sl)delete t[n];return t}function al(e,t={}){let n=nl(),r={current:e},o={current:t.props},a=ol(n,r,o);return{open:n.open,close:n.close,remove:n.remove,removeAll:n.removeAll,update:(i,l)=>n.update(i,il(l)),isOpen:n.isOpen,isAnyOpen:n.isAnyOpen,get:i=>n.getItem(i)?.props,getSnapshot:n.getSnapshot,setRender:i=>{r.current=i},Viewport:a}}var Zs=te(J()),no=class extends Xo{constructor({attrs:t}={}){super({attrs:t}),this._styles.set("layer-order",{})}has(t){return t==="layer-order"?this._styles.get(t)?.css!==void 0:this._styles.has(t)}createStyleElement(t={}){let{css:n,attrs:r,name:o}=t;if(!ze(o))return Zs.createElement("style",{...r,"data-primereact-style-id":o,key:o},n)}};return ii(ll);})();
|
|
14
16
|
/*! Bundled license information:
|
|
15
17
|
|
|
16
18
|
react/cjs/react.production.js:
|
|
@@ -38,4 +40,3 @@ react/cjs/react.development.js:
|
|
|
38
40
|
@noble/ed25519/index.js:
|
|
39
41
|
(*! noble-ed25519 - MIT License (c) 2019 Paul Miller (paulmillr.com) *)
|
|
40
42
|
*/
|
|
41
|
-
//# sourceMappingURL=index.js.map
|