@primereact/core 11.0.0-rc.1 → 11.0.0-rc.3
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 +24 -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 +4 -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 +24 -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 +4 -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 +5 -4
- 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,4 +1,6 @@
|
|
|
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 Ni=Object.create;var yn=Object.defineProperty;var $i=Object.getOwnPropertyDescriptor;var Hi=Object.getOwnPropertyNames;var ji=Object.getPrototypeOf,Bi=Object.prototype.hasOwnProperty;var Gn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ui=(e,t)=>{for(var n in t)yn(e,n,{get:t[n],enumerable:!0})},To=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Hi(t))!Bi.call(e,o)&&o!==n&&yn(e,o,{get:()=>t[o],enumerable:!(r=$i(t,o))||r.enumerable});return e};var ne=(e,t,n)=>(n=e!=null?Ni(ji(e)):{},To(t||!e||!e.__esModule?yn(n,"default",{value:e,enumerable:!0}):n,e)),Fi=e=>To(yn({},"__esModule",{value:!0}),e);var Go=Gn(V=>{"use strict";var sr=Symbol.for("react.transitional.element"),Qi=Symbol.for("react.portal"),Ji=Symbol.for("react.fragment"),ea=Symbol.for("react.strict_mode"),ta=Symbol.for("react.profiler"),na=Symbol.for("react.consumer"),ra=Symbol.for("react.context"),oa=Symbol.for("react.forward_ref"),sa=Symbol.for("react.suspense"),ia=Symbol.for("react.memo"),Vo=Symbol.for("react.lazy"),aa=Symbol.for("react.activity"),jo=Symbol.iterator;function la(e){return e===null||typeof e!="object"?null:(e=jo&&e[jo]||e["@@iterator"],typeof e=="function"?e:null)}var Wo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},zo=Object.assign,Ko={};function $t(e,t,n){this.props=e,this.context=t,this.refs=Ko,this.updater=n||Wo}$t.prototype.isReactComponent={};$t.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")};$t.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function qo(){}qo.prototype=$t.prototype;function ir(e,t,n){this.props=e,this.context=t,this.refs=Ko,this.updater=n||Wo}var ar=ir.prototype=new qo;ar.constructor=ir;zo(ar,$t.prototype);ar.isPureReactComponent=!0;var Bo=Array.isArray;function or(){}var ue={H:null,A:null,T:null,S:null},Yo=Object.prototype.hasOwnProperty;function lr(e,t,n){var r=n.ref;return{$$typeof:sr,type:e,key:t,ref:r!==void 0?r:null,props:n}}function ca(e,t){return lr(e.type,t,e.props)}function cr(e){return typeof e=="object"&&e!==null&&e.$$typeof===sr}function ua(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Uo=/\/+/g;function rr(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ua(""+e.key):t.toString(36)}function fa(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(or,or):(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 Nt(e,t,n,r,o){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(s){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case sr:case Qi:a=!0;break;case Vo:return a=e._init,Nt(a(e._payload),t,n,r,o)}}if(a)return o=o(e),a=r===""?"."+rr(e,0):r,Bo(o)?(n="",a!=null&&(n=a.replace(Uo,"$&/")+"/"),Nt(o,t,n,"",function(u){return u})):o!=null&&(cr(o)&&(o=ca(o,n+(o.key==null||e&&e.key===o.key?"":(""+o.key).replace(Uo,"$&/")+"/")+a)),t.push(o)),1;a=0;var l=r===""?".":r+":";if(Bo(e))for(var c=0;c<e.length;c++)r=e[c],s=l+rr(r,c),a+=Nt(r,t,n,s,o);else if(c=la(e),typeof c=="function")for(e=c.call(e),c=0;!(r=e.next()).done;)r=r.value,s=l+rr(r,c++),a+=Nt(r,t,n,s,o);else if(s==="object"){if(typeof e.then=="function")return Nt(fa(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 a}function bn(e,t,n){if(e==null)return e;var r=[],o=0;return Nt(e,r,"","",function(s){return t.call(n,s,o++)}),r}function da(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 Fo=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)},pa={map:bn,forEach:function(e,t,n){bn(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return bn(e,function(){t++}),t},toArray:function(e){return bn(e,function(t){return t})||[]},only:function(e){if(!cr(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};V.Activity=aa;V.Children=pa;V.Component=$t;V.Fragment=Ji;V.Profiler=ta;V.PureComponent=ir;V.StrictMode=ea;V.Suspense=sa;V.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=ue;V.__COMPILER_RUNTIME={__proto__:null,c:function(e){return ue.H.useMemoCache(e)}};V.cache=function(e){return function(){return e.apply(null,arguments)}};V.cacheSignal=function(){return null};V.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var r=zo({},e.props),o=e.key;if(t!=null)for(s in t.key!==void 0&&(o=""+t.key),t)!Yo.call(t,s)||s==="key"||s==="__self"||s==="__source"||s==="ref"&&t.ref===void 0||(r[s]=t[s]);var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){for(var a=Array(s),l=0;l<s;l++)a[l]=arguments[l+2];r.children=a}return lr(e.type,o,r)};V.createContext=function(e){return e={$$typeof:ra,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:na,_context:e},e};V.createElement=function(e,t,n){var r,o={},s=null;if(t!=null)for(r in t.key!==void 0&&(s=""+t.key),t)Yo.call(t,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),c=0;c<a;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return lr(e,s,o)};V.createRef=function(){return{current:null}};V.forwardRef=function(e){return{$$typeof:oa,render:e}};V.isValidElement=cr;V.lazy=function(e){return{$$typeof:Vo,_payload:{_status:-1,_result:e},_init:da}};V.memo=function(e,t){return{$$typeof:ia,type:e,compare:t===void 0?null:t}};V.startTransition=function(e){var t=ue.T,n={};ue.T=n;try{var r=e(),o=ue.S;o!==null&&o(n,r),typeof r=="object"&&r!==null&&typeof r.then=="function"&&r.then(or,Fo)}catch(s){Fo(s)}finally{t!==null&&n.types!==null&&(t.types=n.types),ue.T=t}};V.unstable_useCacheRefresh=function(){return ue.H.useCacheRefresh()};V.use=function(e){return ue.H.use(e)};V.useActionState=function(e,t,n){return ue.H.useActionState(e,t,n)};V.useCallback=function(e,t){return ue.H.useCallback(e,t)};V.useContext=function(e){return ue.H.useContext(e)};V.useDebugValue=function(){};V.useDeferredValue=function(e,t){return ue.H.useDeferredValue(e,t)};V.useEffect=function(e,t){return ue.H.useEffect(e,t)};V.useEffectEvent=function(e){return ue.H.useEffectEvent(e)};V.useId=function(){return ue.H.useId()};V.useImperativeHandle=function(e,t,n){return ue.H.useImperativeHandle(e,t,n)};V.useInsertionEffect=function(e,t){return ue.H.useInsertionEffect(e,t)};V.useLayoutEffect=function(e,t){return ue.H.useLayoutEffect(e,t)};V.useMemo=function(e,t){return ue.H.useMemo(e,t)};V.useOptimistic=function(e,t){return ue.H.useOptimistic(e,t)};V.useReducer=function(e,t,n){return ue.H.useReducer(e,t,n)};V.useRef=function(e){return ue.H.useRef(e)};V.useState=function(e){return ue.H.useState(e)};V.useSyncExternalStore=function(e,t,n){return ue.H.useSyncExternalStore(e,t,n)};V.useTransition=function(){return ue.H.useTransition()};V.version="19.2.7"});var Xo=Gn((N,xn)=>{"use strict";process.env.NODE_ENV!=="production"&&(function(){function e(i,d){Object.defineProperty(r.prototype,i,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",d[0],d[1])}})}function t(i){return i===null||typeof i!="object"?null:(i=bt&&i[bt]||i["@@iterator"],typeof i=="function"?i:null)}function n(i,d){i=(i=i.constructor)&&(i.displayName||i.name)||"ReactClass";var E=i+"."+d;Be[E]||(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,i),Be[E]=!0)}function r(i,d,E){this.props=i,this.context=d,this.refs=xt,this.updater=E||_t}function o(){}function s(i,d,E){this.props=i,this.context=d,this.refs=xt,this.updater=E||_t}function a(){}function l(i){return""+i}function c(i){try{l(i);var d=!1}catch{d=!0}if(d){d=console;var E=d.error,P=typeof Symbol=="function"&&Symbol.toStringTag&&i[Symbol.toStringTag]||i.constructor.name||"Object";return E.call(d,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",P),l(i)}}function u(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Jt?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case oe:return"Fragment";case et:return"Profiler";case Me:return"StrictMode";case at:return"Suspense";case lt:return"SuspenseList";case Ne:return"Activity"}if(typeof i=="object")switch(typeof i.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),i.$$typeof){case me:return"Portal";case tt:return i.displayName||"Context";case We:return(i._context.displayName||"Context")+".Consumer";case ze:var d=i.render;return i=i.displayName,i||(i=d.displayName||d.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case De:return d=i.displayName||null,d!==null?d:u(i.type)||"Memo";case je:d=i._payload,i=i._init;try{return u(i(d))}catch{}}return null}function f(i){if(i===oe)return"<>";if(typeof i=="object"&&i!==null&&i.$$typeof===je)return"<...>";try{var d=u(i);return d?"<"+d+">":"<...>"}catch{return"<...>"}}function p(){var i=g.A;return i===null?null:i.getOwner()}function h(){return Error("react-stack-top-frame")}function m(i){if(x.call(i,"key")){var d=Object.getOwnPropertyDescriptor(i,"key").get;if(d&&d.isReactWarning)return!1}return i.key!==void 0}function v(i,d){function E(){I||(I=!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))}E.isReactWarning=!0,Object.defineProperty(i,"key",{get:E,configurable:!0})}function y(){var i=u(this.type);return L[i]||(L[i]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),i=this.props.ref,i!==void 0?i:null}function b(i,d,E,P,T,B){var F=E.ref;return i={$$typeof:ve,type:i,key:d,props:E,_owner:P},(F!==void 0?F:null)!==null?Object.defineProperty(i,"ref",{enumerable:!1,get:y}):Object.defineProperty(i,"ref",{enumerable:!1,value:null}),i._store={},Object.defineProperty(i._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(i,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(i,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:T}),Object.defineProperty(i,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:B}),Object.freeze&&(Object.freeze(i.props),Object.freeze(i)),i}function C(i,d){return d=b(i.type,d,i.props,i._owner,i._debugStack,i._debugTask),i._store&&(d._store.validated=i._store.validated),d}function S(i){R(i)?i._store&&(i._store.validated=1):typeof i=="object"&&i!==null&&i.$$typeof===je&&(i._payload.status==="fulfilled"?R(i._payload.value)&&i._payload.value._store&&(i._payload.value._store.validated=1):i._store&&(i._store.validated=1))}function R(i){return typeof i=="object"&&i!==null&&i.$$typeof===ve}function O(i){var d={"=":"=0",":":"=2"};return"$"+i.replace(/[=:]/g,function(E){return d[E]})}function _(i,d){return typeof i=="object"&&i!==null&&i.key!=null?(c(i.key),O(""+i.key)):d.toString(36)}function $(i){switch(i.status){case"fulfilled":return i.value;case"rejected":throw i.reason;default:switch(typeof i.status=="string"?i.then(a,a):(i.status="pending",i.then(function(d){i.status==="pending"&&(i.status="fulfilled",i.value=d)},function(d){i.status==="pending"&&(i.status="rejected",i.reason=d)})),i.status){case"fulfilled":return i.value;case"rejected":throw i.reason}}throw i}function W(i,d,E,P,T){var B=typeof i;(B==="undefined"||B==="boolean")&&(i=null);var F=!1;if(i===null)F=!0;else switch(B){case"bigint":case"string":case"number":F=!0;break;case"object":switch(i.$$typeof){case ve:case me:F=!0;break;case je:return F=i._init,W(F(i._payload),d,E,P,T)}}if(F){F=i,T=T(F);var ie=P===""?"."+_(F,0):P;return It(T)?(E="",ie!=null&&(E=ie.replace(se,"$&/")+"/"),W(T,d,E,"",function(ct){return ct})):T!=null&&(R(T)&&(T.key!=null&&(F&&F.key===T.key||c(T.key)),E=C(T,E+(T.key==null||F&&F.key===T.key?"":(""+T.key).replace(se,"$&/")+"/")+ie),P!==""&&F!=null&&R(F)&&F.key==null&&F._store&&!F._store.validated&&(E._store.validated=2),T=E),d.push(T)),1}if(F=0,ie=P===""?".":P+":",It(i))for(var Y=0;Y<i.length;Y++)P=i[Y],B=ie+_(P,Y),F+=W(P,d,E,B,T);else if(Y=t(i),typeof Y=="function")for(Y===i.entries&&(re||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),re=!0),i=Y.call(i),Y=0;!(P=i.next()).done;)P=P.value,B=ie+_(P,Y++),F+=W(P,d,E,B,T);else if(B==="object"){if(typeof i.then=="function")return W($(i),d,E,P,T);throw d=String(i),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return F}function H(i,d,E){if(i==null)return i;var P=[],T=0;return W(i,P,"","",function(B){return d.call(E,B,T++)}),P}function Z(i){if(i._status===-1){var d=i._ioInfo;d!=null&&(d.start=d.end=performance.now()),d=i._result;var E=d();if(E.then(function(T){if(i._status===0||i._status===-1){i._status=1,i._result=T;var B=i._ioInfo;B!=null&&(B.end=performance.now()),E.status===void 0&&(E.status="fulfilled",E.value=T)}},function(T){if(i._status===0||i._status===-1){i._status=2,i._result=T;var B=i._ioInfo;B!=null&&(B.end=performance.now()),E.status===void 0&&(E.status="rejected",E.reason=T)}}),d=i._ioInfo,d!=null){d.value=E;var P=E.displayName;typeof P=="string"&&(d.name=P)}i._status===-1&&(i._status=0,i._result=E)}if(i._status===1)return d=i._result,d===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'))
|
|
@@ -6,11 +8,11 @@ Your code should look like:
|
|
|
6
8
|
Did you accidentally put curly braces around the import?`,d),"default"in d||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'))`,d),d.default;throw
|
|
11
|
+
const MyComponent = lazy(() => import('./MyComponent'))`,d),d.default;throw i._result}function U(){var i=g.H;return i===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
10
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.`),i}function k(){g.asyncTransitions--}function M(i){if(D===null)try{var d=("require"+Math.random()).slice(0,7);D=(xn&&xn[d]).call(xn,"timers").setImmediate}catch{D=function(P){ye===!1&&(ye=!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 T=new MessageChannel;T.port1.onmessage=P,T.port2.postMessage(void 0)}}return D(i)}function j(i){return 1<i.length&&typeof AggregateError=="function"?new AggregateError(i):i[0]}function fe(i,d){d!==Q-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. "),Q=d}function ae(i,d,E){var P=g.actQueue;if(P!==null)if(P.length!==0)try{ce(P),M(function(){return ae(i,d,E)});return}catch(T){g.thrownErrors.push(T)}else g.actQueue=null;0<g.thrownErrors.length?(P=j(g.thrownErrors),g.thrownErrors.length=0,E(P)):d(i)}function ce(i){if(!X){X=!0;var d=0;try{for(;d<i.length;d++){var E=i[d];do{g.didUsePromise=!1;var P=E(!1);if(P!==null){if(g.didUsePromise){i[d]=E,i.splice(0,d);return}E=P}else break}while(!0)}i.length=0}catch(T){i.splice(0,d+1),g.thrownErrors.push(T)}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"),me=Symbol.for("react.portal"),oe=Symbol.for("react.fragment"),Me=Symbol.for("react.strict_mode"),et=Symbol.for("react.profiler"),We=Symbol.for("react.consumer"),tt=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),at=Symbol.for("react.suspense"),lt=Symbol.for("react.suspense_list"),De=Symbol.for("react.memo"),je=Symbol.for("react.lazy"),Ne=Symbol.for("react.activity"),bt=Symbol.iterator,Be={},_t={isMounted:function(){return!1},enqueueForceUpdate:function(i){n(i,"forceUpdate")},enqueueReplaceState:function(i){n(i,"replaceState")},enqueueSetState:function(i){n(i,"setState")}},At=Object.assign,xt={};Object.freeze(xt),r.prototype.isReactComponent={},r.prototype.setState=function(i,d){if(typeof i!="object"&&typeof i!="function"&&i!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,i,d,"setState")},r.prototype.forceUpdate=function(i){this.updater.enqueueForceUpdate(this,i,"forceUpdate")};var Ce={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 Ce)Ce.hasOwnProperty(be)&&e(be,Ce[be]);o.prototype=r.prototype,Ce=s.prototype=new o,Ce.constructor=s,At(Ce,r.prototype),Ce.isPureReactComponent=!0;var It=Array.isArray,Jt=Symbol.for("react.client.reference"),g={H:null,A:null,T:null,S:null,actQueue:null,asyncTransitions:0,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},x=Object.prototype.hasOwnProperty,w=console.createTask?console.createTask:function(){return null};Ce={react_stack_bottom_frame:function(i){return i()}};var I,z,L={},G=Ce.react_stack_bottom_frame.bind(Ce,h)(),de=w(f(h)),re=!1,se=/\/+/g,he=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var d=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(d))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},ye=!1,D=null,Q=0,q=!1,X=!1,le=typeof queueMicrotask=="function"?function(i){queueMicrotask(function(){return queueMicrotask(i)})}:M;Ce=Object.freeze({__proto__:null,c:function(i){return U().useMemoCache(i)}});var be={map:H,forEach:function(i,d,E){H(i,function(){d.apply(this,arguments)},E)},count:function(i){var d=0;return H(i,function(){d++}),d},toArray:function(i){return H(i,function(d){return d})||[]},only:function(i){if(!R(i))throw Error("React.Children.only expected to receive a single React element child.");return i}};N.Activity=Ne,N.Children=be,N.Component=r,N.Fragment=oe,N.Profiler=et,N.PureComponent=s,N.StrictMode=Me,N.Suspense=at,N.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=g,N.__COMPILER_RUNTIME=Ce,N.act=function(i){var d=g.actQueue,E=Q;Q++;var P=g.actQueue=d!==null?d:[],T=!1;try{var B=i()}catch(Y){g.thrownErrors.push(Y)}if(0<g.thrownErrors.length)throw fe(d,E),i=j(g.thrownErrors),g.thrownErrors.length=0,i;if(B!==null&&typeof B=="object"&&typeof B.then=="function"){var F=B;return le(function(){T||q||(q=!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(Y,ct){T=!0,F.then(function(kt){if(fe(d,E),E===0){try{ce(P),M(function(){return ae(kt,Y,ct)})}catch(Di){g.thrownErrors.push(Di)}if(0<g.thrownErrors.length){var Mi=j(g.thrownErrors);g.thrownErrors.length=0,ct(Mi)}}else Y(kt)},function(kt){fe(d,E),0<g.thrownErrors.length&&(kt=j(g.thrownErrors),g.thrownErrors.length=0),ct(kt)})}}}var ie=B;if(fe(d,E),E===0&&(ce(P),P.length!==0&&le(function(){T||q||(q=!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(() => ...)"))}),g.actQueue=null),0<g.thrownErrors.length)throw i=j(g.thrownErrors),g.thrownErrors.length=0,i;return{then:function(Y,ct){T=!0,E===0?(g.actQueue=P,M(function(){return ae(ie,Y,ct)})):Y(ie)}}},N.cache=function(i){return function(){return i.apply(null,arguments)}},N.cacheSignal=function(){return null},N.captureOwnerStack=function(){var i=g.getCurrentStack;return i===null?null:i()},N.cloneElement=function(i,d,E){if(i==null)throw Error("The argument must be a React element, but you passed "+i+".");var P=At({},i.props),T=i.key,B=i._owner;if(d!=null){var F;e:{if(x.call(d,"ref")&&(F=Object.getOwnPropertyDescriptor(d,"ref").get)&&F.isReactWarning){F=!1;break e}F=d.ref!==void 0}F&&(B=p()),m(d)&&(c(d.key),T=""+d.key);for(ie in d)!x.call(d,ie)||ie==="key"||ie==="__self"||ie==="__source"||ie==="ref"&&d.ref===void 0||(P[ie]=d[ie])}var ie=arguments.length-2;if(ie===1)P.children=E;else if(1<ie){F=Array(ie);for(var Y=0;Y<ie;Y++)F[Y]=arguments[Y+2];P.children=F}for(P=b(i.type,T,P,B,i._debugStack,i._debugTask),T=2;T<arguments.length;T++)S(arguments[T]);return P},N.createContext=function(i){return i={$$typeof:tt,_currentValue:i,_currentValue2:i,_threadCount:0,Provider:null,Consumer:null},i.Provider=i,i.Consumer={$$typeof:We,_context:i},i._currentRenderer=null,i._currentRenderer2=null,i},N.createElement=function(i,d,E){for(var P=2;P<arguments.length;P++)S(arguments[P]);P={};var T=null;if(d!=null)for(Y in z||!("__self"in d)||"key"in d||(z=!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")),m(d)&&(c(d.key),T=""+d.key),d)x.call(d,Y)&&Y!=="key"&&Y!=="__self"&&Y!=="__source"&&(P[Y]=d[Y]);var B=arguments.length-2;if(B===1)P.children=E;else if(1<B){for(var F=Array(B),ie=0;ie<B;ie++)F[ie]=arguments[ie+2];Object.freeze&&Object.freeze(F),P.children=F}if(i&&i.defaultProps)for(Y in B=i.defaultProps,B)P[Y]===void 0&&(P[Y]=B[Y]);T&&v(P,typeof i=="function"?i.displayName||i.name||"Unknown":i);var Y=1e4>g.recentlyCreatedOwnerStacks++;return b(i,T,P,p(),Y?Error("react-stack-top-frame"):G,Y?w(f(i)):de)},N.createRef=function(){var i={current:null};return Object.seal(i),i},N.forwardRef=function(i){i!=null&&i.$$typeof===De?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof i!="function"?console.error("forwardRef requires a render function but was given %s.",i===null?"null":typeof i):i.length!==0&&i.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",i.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),i!=null&&i.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var d={$$typeof:ze,render:i},E;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(P){E=P,i.name||i.displayName||(Object.defineProperty(i,"name",{value:P}),i.displayName=P)}}),d},N.isValidElement=R,N.lazy=function(i){i={_status:-1,_result:i};var d={$$typeof:je,_payload:i,_init:Z},E={name:"lazy",start:-1,end:-1,value:null,owner:null,debugStack:Error("react-stack-top-frame"),debugTask:console.createTask?console.createTask("lazy()"):null};return i._ioInfo=E,d._debugInfo=[{awaited:E}],d},N.memo=function(i,d){i==null&&console.error("memo: The first argument must be a component. Instead received: %s",i===null?"null":typeof i),d={$$typeof:De,type:i,compare:d===void 0?null:d};var E;return Object.defineProperty(d,"displayName",{enumerable:!1,configurable:!0,get:function(){return E},set:function(P){E=P,i.name||i.displayName||(Object.defineProperty(i,"name",{value:P}),i.displayName=P)}}),d},N.startTransition=function(i){var d=g.T,E={};E._updatedFibers=new Set,g.T=E;try{var P=i(),T=g.S;T!==null&&T(E,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&(g.asyncTransitions++,P.then(k,k),P.then(a,he))}catch(B){he(B)}finally{d===null&&E._updatedFibers&&(i=E._updatedFibers.size,E._updatedFibers.clear(),10<i&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),d!==null&&E.types!==null&&(d.types!==null&&d.types!==E.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=E.types),g.T=d}},N.unstable_useCacheRefresh=function(){return U().useCacheRefresh()},N.use=function(i){return U().use(i)},N.useActionState=function(i,d,E){return U().useActionState(i,d,E)},N.useCallback=function(i,d){return U().useCallback(i,d)},N.useContext=function(i){var d=U();return i.$$typeof===We&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),d.useContext(i)},N.useDebugValue=function(i,d){return U().useDebugValue(i,d)},N.useDeferredValue=function(i,d){return U().useDeferredValue(i,d)},N.useEffect=function(i,d){return i==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"),U().useEffect(i,d)},N.useEffectEvent=function(i){return U().useEffectEvent(i)},N.useId=function(){return U().useId()},N.useImperativeHandle=function(i,d,E){return U().useImperativeHandle(i,d,E)},N.useInsertionEffect=function(i,d){return i==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),U().useInsertionEffect(i,d)},N.useLayoutEffect=function(i,d){return i==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),U().useLayoutEffect(i,d)},N.useMemo=function(i,d){return U().useMemo(i,d)},N.useOptimistic=function(i,d){return U().useOptimistic(i,d)},N.useReducer=function(i,d,E){return U().useReducer(i,d,E)},N.useRef=function(i){return U().useRef(i)},N.useState=function(i){return U().useState(i)},N.useSyncExternalStore=function(i,d,E){return U().useSyncExternalStore(i,d,E)},N.useTransition=function(){return U().useTransition()},N.version="19.2.7",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()});var ee=Gn((uc,ur)=>{"use strict";process.env.NODE_ENV==="production"?ur.exports=Go():ur.exports=Xo()});var Xl={};Ui(Xl,{$l:()=>vn,$t:()=>nr,Component:()=>Ft,ConnectedOverlayScrollHandler:()=>br,DEFAULT_MOTION_OPTIONS:()=>Ii,FilterMatchMode:()=>xe,FilterOperator:()=>Vi,Icon:()=>qa,LocaleContext:()=>Bt,LocaleProvider:()=>yr,LocaleService:()=>rt,Motion:()=>Fl,MotionProvider:()=>yo,OverlayEventBus:()=>Ta,PassThroughContext:()=>Ut,PassThroughProvider:()=>vr,PrimeReactContext:()=>Wn,PrimeReactProvider:()=>Cl,PrimeReactStyleSheet:()=>Po,StylePreloadRegistry:()=>nn,StyleRegistry:()=>Et,ThemeContext:()=>Xe,ThemeProvider:()=>Ur,addStylePreloadsToStyleSheet:()=>wr,arrayMove:()=>mo,arrayTransfer:()=>ho,collisionStrategies:()=>Qt,combinedRefs:()=>wa,createDnd:()=>xi,createMotion2:()=>ki,createOptionalContext:()=>xr,createOverlayManager:()=>Gl,createSafeContext:()=>Ca,defaultComponentProps:()=>ka,defaultConfigProps:()=>ao,defaultIconProps:()=>Nr,defaultLocaleProps:()=>hr,defaultMotionProps:()=>go,defaultPTProps:()=>gr,defaultThemeProps:()=>Br,defaultUseMotionProps:()=>pn,defaultUseStyleProps:()=>Ka,defineLocale:()=>Dt,en:()=>Ho,globalProps:()=>_n,isDev:()=>Sr,isElementOfType:()=>Ia,isValidElement:()=>Pr,mergeRefs:()=>Er,showInvalidLicenseBanner:()=>Xn,styles:()=>sn,updateLocale:()=>$o,upsertStylePreloadsToHead:()=>Cr,useBase:()=>rn,useComponent:()=>Dr,useHeadless:()=>$r,useIcon:()=>Hr,useLocale:()=>Ea,useMotion:()=>wo,useMotionContext:()=>Il,usePassThrough:()=>Ra,usePrimeReact:()=>lo,useStyle:()=>Mr,useTheme:()=>Ya,withComponent:()=>on,withHeadless:()=>an,withIcon:()=>jr});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 Vi=Object.freeze({AND:"and",OR:"or"});function Xn(){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 Wi=Object.defineProperty,Oo=Object.getOwnPropertySymbols,zi=Object.prototype.hasOwnProperty,Ki=Object.prototype.propertyIsEnumerable,_o=(e,t,n)=>t in e?Wi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Io=(e,t)=>{for(var n in t||(t={}))zi.call(t,n)&&_o(e,n,t[n]);if(Oo)for(var n of Oo(t))Ki.call(t,n)&&_o(e,n,t[n]);return e};function Ke(e){return e==null||e===""||Array.isArray(e)&&e.length===0||!(e instanceof Date)&&typeof e=="object"&&Object.keys(e).length===0}function Zn(e){return typeof e=="function"&&"call"in e&&"apply"in e}function J(e){return!Ke(e)}function ge(e,t=!0){return e instanceof Object&&e.constructor===Object&&(t||Object.keys(e).length!==0)}var qi=new Set(["__proto__","constructor","prototype"]);function gn(e,t,n,r=new WeakSet){let o=Io({},e);Object.keys(o).length===0&&!n.has(t)&&n.set(t,o);let s=!r.has(t);return s&&r.add(t),Object.keys(t).forEach(a=>{var l,c;if(qi.has(a))return;let u=a,f=t[u];ge(f)&&u in e&&ge(e[u])?o[u]=r.has(f)?(l=n.get(f))!=null?l:gn({},f,n,r):gn(e[u],f,n,r):ge(f)?o[u]=(c=n.get(f))!=null?c:gn({},f,n,r):o[u]=f}),s&&r.delete(t),o}function Qn(...e){return e.reduce((t,n)=>gn(t,n||{},new WeakMap),{})}function K(e,...t){return Zn(e)?e(...t):e}function Pe(e,t=!0){return typeof e=="string"&&(t||e!=="")}function en(e){return Pe(e)?e.replace(/(-|_)/g,"").toLowerCase():e}function Ie(e,t="",n={}){let r=en(t).split("."),o=r.shift();if(o){if(ge(e)||Array.isArray(e)){let s=Object.keys(e).find(a=>en(a)===o)||"";return Ie(K(e[s],n),r.join("."),n)}return}return K(e,n)}function Jn(e,t=!0){return Array.isArray(e)&&(t||e.length!==0)}function ko(e){return J(e)&&!isNaN(e)}function qe(e,t){if(t){t.lastIndex=0;let n=t.test(e);return t.lastIndex=0,n}return!1}function Yi(e,t){let n=0;for(;t-1-n>=0&&e[t-1-n]==="\\";)n++;return n%2===1}function Ao(e){return e.replace(/[\r\n\t]+/g,"").replace(/ {2,}/g," ").replace(/ ([{:}]) /g,"$1").replace(/([;,]) /g,"$1").replace(/ !/g,"!").replace(/: /g,":")}function nt(e){if(!e)return e;let t="",n="",r=0;for(;r<e.length;){let o=e[r];if(o==="/"&&e[r+1]==="*"){let s=e.indexOf("*/",r+2);r=s===-1?e.length:s+2}else if(o==='"'||o==="'"){t+=Ao(n),n="";let s=r+1;for(;s<e.length&&(e[s]!==o||Yi(e,s));)s++;t+=e.slice(r,Math.min(s+1,e.length)),r=s+1}else n+=o,r++}return(t+Ao(n)).trim()}function er(e={},t=""){return Object.entries(e).reduce((n,[r,o])=>{let s=t?`${t}.${r}`:r;return ge(o)?n=n.concat(er(o,s)):n.push(s),n},[])}function Lo(e,...t){if(!ge(e))return e;let n=Io({},e);return t?.flat().forEach(r=>delete n[r]),n}function Lt(e){return Pe(e)?e.replace(/(_)/g,"-").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase():e}function tr(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 Mo(e){return Pe(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function Mt(){let e=new Map,t={on(n,r){let o=e.get(n);return o?o.push(r):o=[r],e.set(n,o),t},off(n,r){let o=e.get(n);if(o){let s=o.indexOf(r);s!==-1&&o.splice(s,1)}return t},emit(n,...r){let o=e.get(n);o&&o.forEach(s=>{s(r[0])})},clear(){e.clear()}};return t}var Gi=Mt(),rt=Gi,Se={_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||{})),rt.emit("locale:change",{lang:this._lang,locale:this.locale}),this},use(e){this._lang=e||this.lang,rt.emit("locale:change",{lang:this._lang,locale:this.locale})},add(e,t={}){return this._locales.set(e,Qn(this._locales.get(this._fallbackLang),t)),e===this._lang&&rt.emit("locale:change",{lang:this._lang,locale:this.locale}),this},update(e,t={}){return this._locales.has(e)?(this._locales.set(e,Qn(this._locales.get(e),t)),e===this._lang&&rt.emit("locale:change",{lang:this._lang,locale:this.locale}),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)}},Do=()=>Se._locales,Xi={get(e){return Se.get(e)},get langs(){return Array.from(Do().keys())},get locales(){return Array.from(Do().values())},define(e,t={}){return Se.add(e,t)},update(e,t={}){return Se.update(e,t)},use(e){return Se.use(e)}},vn=e=>(typeof e=="object"&&e!==null&&Se.init(e),Xi),No=(e,...t)=>{let n=Ie(Se.locale,e,Se);if(Pe(n)&&t.length){let r=n;return t.flat().forEach((o,s)=>{let a=K(o,Se);ge(a)?Object.entries(a).forEach(([l,c])=>{r=r.replaceAll(`{${l}}`,String(c))}):r=r.replaceAll(`{${s}}`,String(a))}),r}return n};function Dt(e,t={}){return vn().define(e,t)}function $o(e,t={}){return vn().update(e,t)}var Ho={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"}},Zi=()=>{Se.get("en")||Dt("en",Ho)},nr=(e,...t)=>(Zi(),No(e,...t));var Sn=ne(ee());function Zo(e=""){let t=Sn.useId();return Sn.useMemo(()=>`${e}${t.replaceAll(/:|«|»/g,"")}`.trim().toLowerCase(),[t,e])}function tn(...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 s=Array.isArray(r)?[tn(...r)]:Object.entries(r).map(([a,l])=>l?a:void 0);t=s.length?t.concat(s.filter(a=>!!a)):t}}return t.join(" ").trim()}function ma(e,t){return e?e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className):!1}function En(e,t){if(e&&t){let n=r=>{ma(e,r)||(e.classList?e.classList.add(r):e.className+=" "+r)};[t].flat().filter(Boolean).forEach(r=>r.split(" ").forEach(n))}}function dr(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 Qo(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 ha(e){if(e){let t=e.parentNode;return t&&t instanceof ShadowRoot&&t.host&&(t=t.host),t}return null}function fr(e){return typeof Element<"u"?e instanceof Element:e!==null&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string"}function Ht(e){var t;if(fr(e))return e;if(!e||typeof e!="object")return;let n=e;if("current"in e)n=e.current,n=(t=Ht(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 Ht(e.elementRef);return n=K(n),fr(n)?n:void 0}function Rn(e){return String(e).replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}function Jo(e,t={}){return e?`<style${Object.entries(t).reduce((n,[r,o])=>n+` ${r}="${Rn(o)}"`,"")}>${e}</style>`:""}function ya(e,t){return fr(e)?e.matches(t)?e:e.querySelector(t):null}function es(e,t=[]){let n=ha(e);return n===null?t:es(n,t.concat([n]))}function ts(e){let t=[];if(e){let n=es(e),r=/(auto|scroll)/,o=s=>{try{let a=window.getComputedStyle(s,null);return r.test(a.getPropertyValue("overflow"))||r.test(a.getPropertyValue("overflowX"))||r.test(a.getPropertyValue("overflowY"))}catch{return!1}};for(let s of n){let a=s.nodeType===1&&s.dataset.scrollselectors;if(a){let l=a.split(",");for(let c of l){let u=ya(s,c);u&&o(u)&&t.push(u)}}s.nodeType!==9&&o(s)&&t.push(s)}}return t}function Ae(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ns(){return typeof window>"u"||!window.matchMedia?!1:window.matchMedia("(prefers-reduced-motion: reduce)").matches}function pr(){return new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>e())})})}function mr(e,t,n=null,r){t&&e!=null&&e.style&&e.style.setProperty(t,n,r)}var ga=Object.defineProperty,rs=Object.getOwnPropertySymbols,va=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable,os=(e,t,n)=>t in e?ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ss=(e,t)=>{for(var n in t||(t={}))va.call(t,n)&&os(e,n,t[n]);if(rs)for(var n of rs(t))ba.call(t,n)&&os(e,n,t[n]);return e};function is(...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 s=Array.isArray(r)?[is(...r)]:Object.entries(r).map(([a,l])=>l?a:void 0);t=s.length?t.concat(s.filter(a=>!!a)):t}}return t.join(" ").trim()}function xa(e){return typeof e=="function"&&"call"in e&&"apply"in e}function Sa({skipUndefined:e=!1},...t){return t?.reduce((n,r={})=>{for(let o in r){let s=r[o];if(!(e&&s===void 0))if(o==="style")n.style=ss(ss({},n.style),r.style);else if(o==="class"||o==="className")n[o]=is(n[o],r[o]);else if(xa(s)){let a=n[o];n[o]=a?(...l)=>{a(...l),s(...l)}:s}else n[o]=s}return n},{})}function ut(...e){return Sa({skipUndefined:!1},...e)}var jt=ne(ee());function as(e){let t=jt.useId(),[n,r]=jt.useState(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`);return jt.useEffect(()=>{r(e||`pr_id_${t.replaceAll(/:|«|»/g,"")}`)},[e,t]),n}var wn=ne(ee());function Cn(e){let t=wn.useRef(!1);wn.useEffect(()=>{t.current||(t.current=!0,e?.())},[])}var Pn=ne(ee());function ls(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 s=n[o];if(e[s]!==t[s])return!1}return!0}function Ye(e={},t={}){let n=Pn.useRef(null);return Pn.useMemo(()=>{let r={...e},o={};Object.entries(t).forEach(([l,c])=>{l in e?r[l]=c:o[l]=c});let s=n.current;if(s&&ls(s.props,r)&&ls(s.attrs,o))return s;let a={props:r,attrs:o};return n.current=a,a},[e,t])}var cs=ne(ee());function us(e){cs.useEffect(()=>()=>{e?.()},[])}var Tn=ne(ee());function fs(e,t){let n=Tn.useRef(!1);Tn.useEffect(()=>{if(!n.current){n.current=!0;return}return e?.()},t)}var Ue=ne(ee());var hr={lang:"en",locales:void 0};var Bt=Ue.createContext(void 0),yr=(e={})=>{let{props:t,attrs:n}=Ye(hr,e),[r,o]=Ue.useState(0);Cn(()=>{t.locales&&Object.entries(t.locales).forEach(([l,c])=>Dt(l,c)),t.lang&&Se.use(t.lang)}),Ue.useEffect(()=>{let l=()=>o(c=>c+1);return rt.on("locale:change",l),()=>{rt.off("locale:change",l)}},[]);let s=Ue.useMemo(()=>({lang:Se.lang,version:r}),[r]),a=Ue.useMemo(()=>K(n.children,s),[n.children,s]);return Ue.createElement(Bt.Provider,{value:s},a)};var On=ne(ee());function Ea(){let e=On.useContext(Bt),t=e?.lang??Se.lang;return On.useMemo(()=>({lang:t,messages:Se.get(t)??Se.get("en"),t:(n,...r)=>String(nr(n,...r))}),[t,e?.version])}var St=ne(ee());var gr={value:void 0,mergeProps:!1,mergeSections:!0};var Ut=St.createContext(void 0),vr=(e={})=>{let{props:t,attrs:n}=Ye(gr,e),{value:r,mergeProps:o,mergeSections:s}=t,a=St.useMemo(()=>({value:r,options:{mergeProps:o,mergeSections:s}}),[r,o,s]),l=St.useMemo(()=>K(n.children,a),[n.children,a]);return St.createElement(Ut.Provider,{value:a},l)};var ds=ne(ee());function Ra(){let e=ds.useContext(Ut);if(e===void 0)throw new Error("Context must be used within a PassThroughProvider");return e}var wa=(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 br=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=ts(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 ft=ne(ee());function ps(e,t){let n=ft.createContext(e);return[({value:s,children:a})=>{let l=ft.useMemo(()=>K(a,s),[a,s]);return ft.createElement(n.Provider,{value:s},l)},()=>{let s=ft.useContext(n);return s===void 0?t?.():s}]}function Ca(e,t){return ps(e,()=>{throw new Error(t||"Context must be used within a Provider")})}function xr(e){return ps(e,()=>e)}var Sr=typeof process<"u"&&process.env?.NODE_ENV!=="production";function Er(...e){return t=>{for(let n of e)if(n!=null)if(typeof n=="function")n(t);else try{n.current=t}catch{}}}var Pa=Mt(),Ta=Pa;var Oa=e=>({id:e.id,css:e.css,phase:e.phase??"both",priority:e.priority??0}),Rr=e=>e.sort((t,n)=>{let r=t.priority-n.priority;return r!==0?r:t.id.localeCompare(n.id)}),nn={_entries:new Map,register(e){!e.id||!e.css||this._entries.set(e.id,Oa(e))},registerMany(e=[]){e.forEach(t=>this.register(t))},has(e){return this._entries.has(e)},getAll(){return Rr([...this._entries.values()])},getForSSR(){return Rr([...this._entries.values()].filter(e=>e.phase!=="client"))},getForClient(){return Rr([...this._entries.values()].filter(e=>e.phase!=="ssr"))},clear(){this._entries.clear()}},wr=(e,t)=>{t.forEach(n=>{e?.has(n.id)||e?.add(n.id,n.css)})},Cr=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 Et={_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 _a=Symbol.for("react.element"),Aa=Symbol.for("react.transitional.element");function Pr(e){return typeof e=="object"&&e!==null&&(e.$$typeof===_a||e.$$typeof===Aa)}function Ia(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 dt=ne(ee());function Ft(e={}){let{pIf:t=!0,style:n,className:r,as:o,asChild:s,instance:a,render:l,...c}=e;if(t===!1)return null;let u=o||a?.props?.as||dt.Fragment,f=l||s||a?.props?.asChild,p=u===dt.Fragment,{ref:h,children:m,attrs:v,...y}=c,b={...v,...y},C=K(l??m,a,b),S=K(n||a?.props?.style,a),R=K(r||a?.props?.className,a);if(f||p)return dt.createElement(dt.Fragment,null,C);if(Pr(u))return K(u,a);{let O={...b,style:{...b.style,...S},className:tn(b.className,R)},_=Er(a?.elementRef,b.ref,h,a?.props?.ref);return O.children?dt.createElement(u,{...O,ref:_}):dt.createElement(u,{...O,ref:_},C)}}Ft.displayName="PrimeReact.Component";var _n=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}),ka=Object.freeze({...Lo(_n,"pt","ptOptions","dt","styles"),attrs:void 0});var qt=ne(ee());var Re=ne(ee());function An(e,...t){return Zn(e)?e(...t):e?ut(...t):Object.assign({},...t)}function In(e={},t="",n){let r=Ie(e,t,n);return Pe(r)||Jn(r)?{className:r}:r}function Vt(e,t,n,r){let o=(s,a=!1)=>{let l=r?r(s):s,c=en(t??""),u=en(n??"");return(a?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 ms(e,t){let{id:n,name:r,scope:o,part:s,props:a,attrs:l,$primereact:c,$attrSelector:u}=e||{},f=c?.passthrough,p=f?.value,h=f?.options,m=Re.useCallback((k,M,j="",fe)=>{let ae=ce=>M(ce,j,fe);if(k&&Object.hasOwn(k,"_usept")){let{mergeSections:ce=!0,mergeProps:ve=!1}=k._usept||h||{},me=ae(k.originalValue),oe=ae(k.value);return me===void 0&&oe===void 0?void 0:Pe(oe)?oe:Pe(me)?me:ce||!ce&&oe?An(ve,me,oe):oe}return ae(k)},[h]),v=Re.useCallback(k=>{let M=m(Vt(a.pt,r,r),Ie,`hooks.${k}`),j=m(Vt(p,void 0,r),Ie,`hooks.${k}`);M?.(),j?.()},[a.pt,r,m,p]),y=Re.useMemo(()=>Vt(p,void 0,r,k=>K(k,e)),[p,r]),b=Re.useMemo(()=>Vt(p,void 0,r,k=>Ie(k,r,e)||K(k,e)),[p,r]),C=Re.useMemo(()=>Object.entries(l||{}).filter(([k])=>k?.startsWith("pt-")).reduce((k,[M,j])=>{let[,fe,...ae]=M.split("-");return[fe,ae?.join("-")].filter(Boolean).reduce((ce,ve,me,oe)=>(ce[ve]||(ce[ve]=me===oe.length-1?j:{}),ce[ve]),k),k},{}),[l]),S=Re.useMemo(()=>Object.entries(l||{}).filter(([k])=>!k?.startsWith("pt-")).reduce((k,[M,j])=>(k[M]=j,k),{}),[l]),R=Re.useCallback((k="")=>{let M="data-";return k==="root"&&J(l?.["data-scope"])?{[`${M}extend`]:o,[`${M}styled`]:o}:{[`${M}scope`]:o,...k==="root"&&{[`${M}part`]:s,[`${M}id`]:u,[`${M}styled`]:o},[`${M}slot`]:k}},[o,s,u,l]),O=Re.useCallback((k={},M,j="",fe)=>{let ae=m(Vt(k,r,r),M,j,fe),ce=m(C,M,j,fe);return An(!0,ae??{},ce??{})},[C,m,r]),_=Re.useCallback((k,M="",j)=>m(y,k,M,j),[y,m]),$=Re.useCallback((k,M,j)=>m(b,k,M,j),[b,m]),W=Re.useCallback((k={},M="",j={},fe=!0)=>{let ae=M.includes(".")&&!!j[M.split(".")[0]],{mergeSections:ce=!0,mergeProps:ve=!1}=a?.ptOptions||h||{},me=fe?ae?_(In,M,j):$(In,M,j):void 0,oe=ae?void 0:O(k,In,M,{...j,global:me||{}}),Me=R(M);return ce||!ce&&oe?An(ve,me,oe,Me):{...oe,...Me}},[a.ptOptions,_,$,O,R]),H=Re.useCallback((k="",M={})=>W(a.pt,k,{...t,...M}),[a.pt,t,W]),Z=Re.useCallback((k="",M={})=>{let j=ut(S,H(k,M));return j&&Object.hasOwn(j,"id")&&(j.id??=n),j},[H,n,S]),U=Re.useCallback((k={},M="",j={})=>W(k,M,{...t,...j},!1),[t,W]);return Cn(()=>v("onMounted")),fs(()=>v("onUpdated")),us(()=>v("onUnmounted")),Re.useMemo(()=>({ptm:H,ptmi:Z,ptmo:U}),[H,Z,U])}var La=Object.defineProperty,Ma=Object.defineProperties,Da=Object.getOwnPropertyDescriptors,Ln=Object.getOwnPropertySymbols,ys=Object.prototype.hasOwnProperty,gs=Object.prototype.propertyIsEnumerable,hs=(e,t,n)=>t in e?La(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,$e=(e,t)=>{for(var n in t||(t={}))ys.call(t,n)&&hs(e,n,t[n]);if(Ln)for(var n of Ln(t))gs.call(t,n)&&hs(e,n,t[n]);return e},kn=(e,t)=>Ma(e,Da(t)),pt=(e,t)=>{var n={};for(var r in e)ys.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ln)for(var r of Ln(e))t.indexOf(r)<0&&gs.call(e,r)&&(n[r]=e[r]);return n};var Na=Mt(),Ge=Na,Rt=/{([^}]*)}/g,Or=/(\d+\s+[+*/-]\s+\d+)/g,_r=/var\([^)]+\)/g;function Ar(e){return Pe(e)?e.replace(/[A-Z]/g,(t,n)=>n===0?t:"."+t.toLowerCase()).toLowerCase():e}function $a(e){return ge(e)&&Object.prototype.hasOwnProperty.call(e,"$value")&&Object.prototype.hasOwnProperty.call(e,"$type")?e.$value:e}function Ha(e){return e.replaceAll(/ /g,"").replace(/[^\w]/g,"-")}function Ir(e="",t=""){return Ha(`${Pe(e,!1)&&Pe(t,!1)?`${e}-`:e}${t}`)}function vs(e="",t=""){return`--${Ir(e,t)}`}function ja(e=""){let t=(e.match(/{/g)||[]).length,n=(e.match(/}/g)||[]).length;return(t+n)%2!==0}function Mn(e,t="",n="",r=[],o){if(Pe(e)){let s=e.trim();if(ja(s))return;if(qe(s,Rt)){let a=s.replaceAll(Rt,l=>{let c=l.replace(/{|}/g,"").split(".").filter(u=>!r.some(f=>qe(u,f)));return`var(${vs(n,Lt(c.join("-")))}${J(o)?`, ${o}`:""})`});return qe(a.replace(_r,"0"),Or)?`calc(${a})`:a}return s}else if(ko(e))return e}function Ba(e,t,n){Pe(t,!1)&&e.push(`${t}:${n};`)}function Wt(e,t){return e?`${e}{${t}}`:""}function bs(e,t){if(e.indexOf("dt(")===-1)return e;function n(a,l){let c=[],u=0,f="",p=null,h=0;for(;u<=a.length;){let m=a[u];if((m==='"'||m==="'"||m==="`")&&a[u-1]!=="\\"&&(p=p===m?null:m),!p&&(m==="("&&h++,m===")"&&h--,(m===","||u===a.length)&&h===0)){let v=f.trim();v.startsWith("dt(")?c.push(bs(v,l)):c.push(r(v)),f="",u++;continue}m!==void 0&&(f+=m),u++}return c}function r(a){let l=a[0];if((l==='"'||l==="'"||l==="`")&&a[a.length-1]===l)return a.slice(1,-1);let c=Number(a);return isNaN(c)?a:c}let o=[],s=[];for(let a=0;a<e.length;a++)if(e[a]==="d"&&e.slice(a,a+3)==="dt(")s.push(a),a+=2;else if(e[a]===")"&&s.length>0){let l=s.pop();s.length===0&&o.push([l,a])}if(!o.length)return e;for(let a=o.length-1;a>=0;a--){let[l,c]=o[a],u=e.slice(l+3,c),f=n(u,t),p=t(...f);e=e.slice(0,l)+p+e.slice(c+1)}return e}var Ua=(e,t)=>{let n=e.split("."),r="";for(let o=0;o<n.length;o++){let s=Ar(n[o]);t.lastIndex=0,!t.test(s)&&(r=r?`${r}.${s}`:s)}return r},Tr=(e,t,n,r,o)=>{if(typeof e!="string")return e??te.getTokenValue(t);if(Rt.lastIndex=0,!Rt.test(e))return e;let s=t.slice(0,t.indexOf(".")),a=e.replace(Rt,l=>{let c=l.slice(1,-1),u=c.indexOf(".");if((u===-1?c:c.slice(0,u))!==s)return l;let f=te.getTokenValue(c);return f==null?l:`${f}`});return Mn(a,void 0,n,[r],o)},Fa=(e,t,n,r)=>{var o,s,a,l;let c=Ua(e,n),u=te.tokens,f=u.__strictCache;f||(f=new Map,Object.defineProperty(u,"__strictCache",{value:f,enumerable:!1,configurable:!0}));let p=r==null||typeof r!="object",h=p&&r!=null?`${t}|${c}|${r}`:`${t}|${c}`,m=p?f.get(h):void 0;if(m===void 0&&(!p||!f.has(h))){let v=(o=u[c])==null?void 0:o.paths,y=v?.find(S=>S.scheme==="none"),b=(s=v?.find(S=>S.scheme==="light"))!=null?s:y,C=(a=v?.find(S=>S.scheme==="dark"))!=null?a:y;if(b&&C&&b!==C){let S=Tr(b.value,c,t,n,r),R=Tr(C.value,c,t,n,r);m=S===R?S:`light-dark(${S},${R})`}else m=Tr((l=b??C)==null?void 0:l.value,c,t,n,r);p&&f.set(h,m)}return te.hasScopedTokenPath(c)?Mn(`{${c}}`,void 0,t,[n],m):m},Lr=e=>{var t,n,r;let o=te.getTheme(),s=`${(t=kr(o,e,void 0,"variable"))!=null?t:""}`,a=(r=(n=s.match(/--[\w-]+/g))==null?void 0:n[0])!=null?r:"",l=kr(o,e,void 0,"value");return{name:a,variable:s,value:l}},mt=(e,t,n)=>kr(te.getTheme(),e,t,n),kr=(e={},t,n,r)=>{var o,s,a,l,c,u,f,p,h,m;if(!t)return"";let v=(o=te.defaults)==null?void 0:o.variable,y=(c=(s=e?.options)==null?void 0:s.prefix)!=null?c:(l=(a=te.defaults)==null?void 0:a.options)==null?void 0:l.prefix,b=(m=(h=(u=e?.options)==null?void 0:u.cssVariables)!=null?h:(p=(f=te.defaults)==null?void 0:f.options)==null?void 0:p.cssVariables)!=null?m:!0;if(r==="value")return te.getTokenValue(t);if(Ke(r)&&!b)return Fa(t,y,v.excludedKeyRegex,n);let C=qe(t,Rt)?t:`{${t}}`;return Mn(C,void 0,y,[v.excludedKeyRegex],n)},Va=(...e)=>{var t;return`${(t=mt(...e))!=null?t:""}`};function zt(e,...t){if(e instanceof Array){let n=e.reduce((r,o,s)=>{var a;return r+o+((a=K(t[s],{dt:mt}))!=null?a:"")},"");return bs(n,Va)}return K(e,{dt:mt})}function Wa(e,t={}){let n=te.defaults.variable,{prefix:r=n.prefix,selector:o=n.selector,excludedKeyRegex:s=n.excludedKeyRegex}=t,a=[],l=[],c=[{node:e,path:r}];for(;c.length;){let{node:f,path:p}=c.pop();for(let h in f){let m=f[h],v=$a(m),y=qe(h,s)?Ir(p):Ir(p,Lt(h));if(ge(v))c.push({node:v,path:y});else{let b=vs(y),C=Mn(v,y,r,[s]);Ba(l,b,C==null?C:`${C}`);let S=y;r&&S.startsWith(r+"-")&&(S=S.slice(r.length+1)),a.push(S.replace(/-/g,"."))}}}let u=l.join("");return{value:l,tokens:a,declarations:u,css:Wt(o,u)}}var Fe={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 Wa(e,{prefix:t?.prefix})},getCommon({name:e="",theme:t={},params:n,set:r,defaults:o}){var s,a,l,c,u,f,p;let{preset:h,options:m}=t,v,y,b,C,S,R,O;if(J(h)){let{primitive:_,semantic:$,extend:W}=h,H=$||{},{colorScheme:Z}=H,U=pt(H,["colorScheme"]),k=W||{},{colorScheme:M}=k,j=pt(k,["colorScheme"]),fe=Z||{},{dark:ae}=fe,ce=pt(fe,["dark"]),ve=M||{},{dark:me}=ve,oe=pt(ve,["dark"]),Me=J(_)?this._toVariables({primitive:_},m):{},et=J(U)?this._toVariables({semantic:U},m):{},We=J(ce)?this._toVariables({light:ce},m):{},tt=J(ae)?this._toVariables({dark:ae},m):{},ze=J(j)?this._toVariables({semantic:j},m):{},at=J(oe)?this._toVariables({light:oe},m):{},lt=J(me)?this._toVariables({dark:me},m):{},[De,je]=[(s=Me.declarations)!=null?s:"",Me.tokens],[Ne,bt]=[(a=et.declarations)!=null?a:"",et.tokens||[]],[Be,_t]=[(l=We.declarations)!=null?l:"",We.tokens||[]],[At,xt]=[(c=tt.declarations)!=null?c:"",tt.tokens||[]],[Ce,It]=[(u=ze.declarations)!=null?u:"",ze.tokens||[]],[Jt,g]=[(f=at.declarations)!=null?f:"",at.tokens||[]],[x,w]=[(p=lt.declarations)!=null?p:"",lt.tokens||[]];v=this.transformCSS(e,De,"light","variable",m,r,o),y=je;let I=this.transformCSS(e,`${Ne}${Be}`,"light","variable",m,r,o),z=this.transformCSS(e,`${At}`,"dark","variable",m,r,o);b=`${I}${z}`,C=[...new Set([...bt,..._t,...xt])];let L=this.transformCSS(e,`${Ce}${Jt}color-scheme:light`,"light","variable",m,r,o),G=this.transformCSS(e,`${x}color-scheme:dark`,"dark","variable",m,r,o);S=`${L}${G}`,R=[...new Set([...It,...g,...w])],O=K(h.css,{dt:mt})}return{primitive:{css:v,tokens:y},semantic:{css:b,tokens:C},global:{css:S,tokens:R},style:O}},getPreset({name:e="",preset:t={},options:n,params:r,set:o,defaults:s,selector:a,isScopedTokenPaths:l}){var c,u,f,p;let h,m,v;if(J(t)&&((c=n?.cssVariables)==null||c||l)){let y=e.replace("-directive",""),b=t,{colorScheme:C,extend:S,css:R}=b,O=pt(b,["colorScheme","extend","css"]),_=S||{},{colorScheme:$}=_,W=pt(_,["colorScheme"]),H=C||{},{dark:Z}=H,U=pt(H,["dark"]),k=$||{},{dark:M}=k,j=pt(k,["dark"]),fe=J(O)?this._toVariables({[y]:$e($e({},O),W)},n):{},ae=J(U)?this._toVariables({[y]:$e($e({},U),j)},n):{},ce=J(Z)?this._toVariables({[y]:$e($e({},Z),M)},n):{},[ve,me]=[(u=fe.declarations)!=null?u:"",fe.tokens||[]],[oe,Me]=[(f=ae.declarations)!=null?f:"",ae.tokens||[]],[et,We]=[(p=ce.declarations)!=null?p:"",ce.tokens||[]],tt=this.transformCSS(y,`${ve}${oe}`,"light","variable",n,o,s,a),ze=this.transformCSS(y,et,"dark","variable",n,o,s,a);h=`${tt}${ze}`,m=[...new Set([...me,...Me,...We])],v=K(R,{dt:mt})}return{css:h,tokens:m,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 s;let{preset:a,options:l}=t,c=(s=a?.components)==null?void 0:s[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 s,a;let l=e.replace("-directive",""),{preset:c,options:u}=t,f=((s=c?.components)==null?void 0:s[l])||((a=c?.directives)==null?void 0:a[l]),p=this.getScopedSelector(l,u);return this.getPreset({name:l,preset:f,options:u,params:n,set:r,defaults:o,selector:p})},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 ${K(o.order||o.name||"primeui",n)}`:""},getCommonStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){let a=this.getCommon({name:e,theme:t,params:n,set:o,defaults:s}),l=Object.entries(r).reduce((c,[u,f])=>(c.push(`${u}="${Rn(f)}"`),c),[]).join(" ");return Object.entries(a||{}).reduce((c,[u,f])=>{if(ge(f)&&Object.hasOwn(f,"css")){let p=nt(f.css),h=`${u}-variables`;c.push(`<style type="text/css" data-primevue-style-id="${h}" ${l}>${p}</style>`)}return c},[]).join("")},getStyleSheet({name:e="",theme:t={},params:n,props:r={},set:o,defaults:s}){var a;let l={name:e,theme:t,params:n,set:o,defaults:s},c=(a=e.includes("-directive")?this.getPresetD(l):this.getPresetC(l))==null?void 0:a.css,u=Object.entries(r).reduce((f,[p,h])=>(f.push(`${p}="${Rn(h)}"`),f),[]).join(" ");return c?`<style type="text/css" data-primevue-style-id="${e}-variables" ${u}>${nt(c)}</style>`:""},createTokens(e={},t,n="",r="",o={}){let s=function(u,f,p,h){return u.replace(Rt,m=>{var v;let y=m.slice(1,-1),b=this.tokens[y];if(!b)return console.warn(`Token not found for path: ${y}`),"__UNRESOLVED__";let C=b.computed(f,p,h);if(Array.isArray(C)&&C.length===2){let S=C[0].value,R=C[1].value;return S===R?S??"__UNRESOLVED__":`light-dark(${S},${R})`}return(v=C?.value)!=null?v:"__UNRESOLVED__"})},a=function(u,f,p,h){if(u.indexOf("light-dark(")===-1)return u;let m=[],v=u.length,y=0;for(;y<v;){let b=u.indexOf("light-dark(",y);if(b===-1){m.push(u.slice(y));break}m.push(u.slice(y,b));let C=1,S=b+11,R=-1;for(;S<v&&C>0;){let W=u.charCodeAt(S);W===40?C++:W===41?C--:W===44&&C===1&&R===-1&&(R=S),S++}if(C!==0||R===-1){m.push(u.slice(b));break}let O=u.slice(b+11,R).trim(),_=u.slice(R+1,S-1).trim(),$=f&&f!=="none"?f:null;if($==="light")m.push(a.call(this,O,"light",p,h));else if($==="dark")m.push(a.call(this,_,"dark",p,h));else{let W=s.call(this,a.call(this,O,"light",p,h),"light",p,h),H=s.call(this,a.call(this,_,"dark",p,h),"dark",p,h);m.push(W===H?W:`light-dark(${W},${H})`)}y=S}return m.join("")},l=function(u,f={},p=[]){if(p.includes(this.path))return console.warn(`Circular reference detected at ${this.path}`),{colorScheme:u,path:this.path,paths:f,value:void 0};p.push(this.path),f.name=this.path,f.binding||(f.binding={});let h=this.value;if(typeof this.value=="string"){let m=this.value.trim(),v=m.indexOf("light-dark(")!==-1,y=m.indexOf("{")!==-1;if(v||y){let b=v?a.call(this,m,u,f,p):m,C=b.indexOf("{")!==-1?s.call(this,b,u,f,p):b;Or.lastIndex=0,_r.lastIndex=0,h=Or.test(C.replace(_r,"0"))?`calc(${C})`:C}}return Ke(f.binding)&&delete f.binding,p.pop(),{colorScheme:u,path:this.path,paths:f,value:typeof h=="string"&&h.indexOf("__UNRESOLVED__")!==-1?void 0:h}},c=(u,f,p)=>{Object.entries(u).forEach(([h,m])=>{let v=qe(h,t.variable.excludedKeyRegex)?f:f?`${f}.${Ar(h)}`:Ar(h),y=p?`${p}.${h}`:h;ge(m)?c(m,v,y):(o[v]||(o[v]={paths:[],computed:(b,C={},S=[])=>{let R=o[v].paths;if(R.length===1){let O=R[0],_=O.scheme!=="none"?O.scheme:b;return O.computed(_,C.binding,S)}else if(b&&b!=="none")for(let O=0;O<R.length;O++){let _=R[O];if(_.scheme===b)return _.computed(b,C.binding,S)}return R.map(O=>O.computed(O.scheme,C[O.scheme],S))}}),o[v].paths.push({path:y,value:m,scheme:y.includes("colorScheme.light")?"light":y.includes("colorScheme.dark")?"dark":"none",computed:l,tokens:o}))})};return c(e,n,r),o},getTokenValue(e,t,n){var r,o,s;let a=e.__cache;a||(a=new Map,Object.defineProperty(e,"__cache",{value:a,enumerable:!1,configurable:!0}));let l=a.get(t);if(l!==void 0||a.has(t))return l;let c=n.variable.excludedKeyRegex,u=t.split("."),f=[];for(let y=0;y<u.length;y++){let b=u[y];c.lastIndex=0,c.test(b.toLowerCase())||f.push(b)}let p=f.join("."),h=t.indexOf("colorScheme.light")!==-1?"light":t.indexOf("colorScheme.dark")!==-1?"dark":void 0,m=e[p];if(!m){a.set(t,void 0);return}let v;if(h){let y=m.computed(h);if(Array.isArray(y)){for(let b=0;b<y.length;b++)if(((r=y[b])==null?void 0:r.colorScheme)===h){v=y[b].value;break}}else v=y?.value}else{let y=m.computed("light"),b=m.computed("dark"),C,S;if(Array.isArray(y)){for(let R=0;R<y.length;R++)if(((o=y[R])==null?void 0:o.colorScheme)==="light"){C=y[R].value;break}}else C=y?.value;if(Array.isArray(b)){for(let R=0;R<b.length;R++)if(((s=b[R])==null?void 0:s.colorScheme)==="dark"){S=b[R].value;break}}else S=b?.value;C===void 0&&S===void 0?v=void 0:C===void 0?v=S:S===void 0||C===S?v=C:v=`light-dark(${C},${S})`}return a.set(t,v),v},getSelectorRule(e,t,n,r,o=":root,:host"){return n==="class"||n==="attr"?Wt(J(t)?`${e}${t},${e} ${t}`:e,r):Wt(e,Wt(t??o,r))},transformCSS(e,t,n,r,o={},s,a,l){var c,u;if(J(t)){let{cssLayer:f}=o;if(r!=="style"){let p=this.getColorSchemeOption(o,a),h=(u=(c=a?.variable)==null?void 0:c.selector)!=null?u:":root,:host";t=n==="dark"?p.reduce((m,{type:v,selector:y})=>(J(y)&&(m+=y.includes("[CSS]")?y.replace("[CSS]",t):this.getSelectorRule(y,l,v,t,h)),m),""):Wt(l??h,t)}if(f){let p={name:"primeui",order:"primeui"};ge(f)&&(p.name=K(f.name,{name:e,type:r})),J(p.name)&&(t=Wt(`@layer ${p.name}`,t),s?.layerNames(p.name))}return t}return""}},te={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=kn($e({},t),{options:$e($e({},this.defaults.options),t.options)}),this._tokens=Fe.createTokens(this.preset,this.defaults),this.resetCaches())},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&&er(e).forEach(n=>{let r=Mo(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}),Ge.emit("theme:change",e)},getPreset(){return this.preset},setPreset(e){this._theme=kn($e({},this.theme),{preset:e}),this._tokens=Fe.createTokens(e,this.defaults),this.resetCaches(),Ge.emit("preset:change",e),Ge.emit("theme:change",this.theme)},getOptions(){return this.options},setOptions(e){this._theme=kn($e({},this.theme),{options:e}),this.resetStyleCaches(),Ge.emit("options:change",e),Ge.emit("theme:change",this.theme)},resetStyleCaches(){this.clearLoadedStyleNames(),this.clearLayerNames()},resetCaches(){this.resetStyleCaches(),this.clearScopedTokenPaths()},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 Fe.getTokenValue(this.tokens,e,this.defaults)},getCommon(e="",t){return Fe.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 Fe.getPresetC(n)},getDirective(e="",t){let n={name:e,theme:this.theme,params:t,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}};return Fe.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 Fe.getPreset(o)},getLayerOrderCSS(e=""){return Fe.getLayerOrder(e,this.options,{names:this.getLayerNames()},this.defaults)},transformCSS(e="",t,n="style",r){return Fe.transformCSS(e,t,r,n,this.options,{layerNames:this.setLayerNames.bind(this)},this.defaults)},getCommonStyleSheet(e="",t,n={}){return Fe.getCommonStyleSheet({name:e,theme:this.theme,params:t,props:n,defaults:this.defaults,set:{layerNames:this.setLayerNames.bind(this)}})},getStyleSheet(e,t,n={}){return Fe.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),Ge.emit(`theme:${t}:load`,e),this._loadingStyles.size||Ge.emit("theme:load"))}};var za=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(J(t)){let n={name:e,css:t,attrs:this._attrs,markup:Jo(t,this._attrs)};this._styles.set(e,kn($e({},n),{element:this.createStyleElement(n)}))}}update(){}getStyles(){return this._styles}getAllCSS(){return[...this._styles.values()].map(e=>e.css).filter(e=>!!e)}getAllMarkup(){return[...this._styles.values()].map(e=>e.markup).filter(e=>!!e)}getAllElements(){return[...this._styles.values()].map(e=>e.element)}createStyleElement(e={}){}},xs=za;var pe=ne(ee());var ht=ne(ee());function Mr(){let e=ht.useContext(Xe),t=ht.useCallback((o={})=>{let{name:s,css:a,element:l,options:c={}}=o;if(Ae()&&J(a)){let u=l?.getRootNode();(!u||u===document)&&(u=document.head);let f=u.querySelector(`style[data-primereact-style-id="${s}"]`)||document.createElement("style");f.isConnected||(c?.first?u.prepend(f):u.appendChild(f),f.setAttribute("data-primereact-style-id",s||""));let p=a??"";return f.textContent!==p&&(f.textContent=p),f}},[]),n=ht.useCallback((o={})=>{let{name:s,css:a}=o;if(J(o.css))return s&&!e?.stylesheet?.has(s)&&!Ae()&&s!=="layer-order"&&e?.stylesheet?.add(s,a),t(o)},[e,t]),r=ht.useCallback(()=>{e?.stylesheet&&e.stylesheet.clear()},[e]);return ht.useInsertionEffect(()=>{e?.stylesheet?.getStyles()?.forEach((o,s)=>{t({name:s,css:o?.css})})},[e,t]),[n,r]}var Ka={};var Kt=ne(ee());function Ss(e,t){let n=Kt.useContext(Xe),[r]=Mr(),o=Kt.useCallback((s,a)=>r({name:a?.name,css:s,element:Ht(t),options:a}),[r,t]);return Kt.useMemo(()=>{let s={name:"base",...e,load(a="",l={},c="",u=!1){let f=l.name||s.name,p=zt`${a}${c}`,h=u?te.transformCSS(f,p):p;return J(h)?o(nt(h),{name:f,...l}):void 0},loadCSS(a){return this.load(this.css,a)},loadStyle(a,l=""){return this.load(this.style,a,l,!0)},getCommonTheme(a){return te.getCommon(this.name,a)},getComponentTheme(a){return te.getComponent(this.name,a)},getPresetTheme(a,l,c){return te.getCustomPreset(this.name,a,l,c)},getLayerOrderThemeCSS(){return te.getLayerOrderCSS(this.name)},getStyleSheet(a="",l={}){if(this.css){let c=K(this.css,{dt:mt}),u=nt(zt`${c}${a}`),f=Object.entries(l).reduce((p,[h,m])=>(p.push(`${h}="${m}"`),p),[]).join(" ");return`<style type="text/css" data-primereact-style-id="${this.name}" ${f}>${u}</style>`}return""},getCommonThemeStyleSheet(a,l={}){return te.getCommonStyleSheet(this.name,a,l)},getThemeStyleSheet(a,l={}){let c=[te.getStyleSheet(this.name,a,l)];if(n){let u=this.name==="base"?"global-style":`${this.name}-style`,f=zt`${K(n,{dt:mt})}`,p=nt(te.transformCSS(this.name,f)),h=Object.entries(l).reduce((m,[v,y])=>(m.push(`${v}="${y}"`),m),[]).join(" ");c.push(`<style type="text/css" data-primereact-style-id="${u}" ${h}>${p}</style>`)}return c.join("")}};return s},[e,n,o])}function Es(e,t,n){let{props:r={unstyled:!1,dt:void 0},$primereact:o,$attrSelector:s,elementRef:a}=e||{},l=Ss(t,a),c=pe.useMemo(()=>r.unstyled!==void 0?r.unstyled:o?.config?.unstyled,[r.unstyled,o?.config?.unstyled]),u=pe.useMemo(()=>({nonce:o?.config?.csp?.nonce}),[o?.config?.csp?.nonce]),f=pe.useRef(null),p=pe.useRef(!1),h=pe.useRef(null),m=pe.useRef(null),v=pe.useRef(!1);if(Sr){let _=t?.style,$=typeof _=="string"?_:null;$!==null&&m.current!==$&&(m.current=$,v.current=!0)}let y=pe.useCallback(()=>{if(!l?.name)return;let _=l.name==="global"?"base":l.name;if(!Ae()){l.loadCSS({name:_,...u});return}h.current&&h.current!==l.name&&(Et.releaseStyleName(h.current),h.current=null);let $=v.current;($||!h.current)&&(($||Et.retainStyleName(l.name))&&l.loadCSS({name:_,...u}),h.current=l.name)},[l,u]),b=pe.useCallback(()=>{if(c||o?.theme==="none")return;let _=()=>{let{primitive:Z,semantic:U,global:k,style:M}=l?.getCommonTheme?.()||{};l.load(Z?.css,{name:"primitive-variables",...u}),l.load(U?.css,{name:"semantic-variables",...u}),l.load(k?.css,{name:"global-variables",...u}),l.load(l.baseStyles?.style,{name:"global-style",...u},M,!0)},$=()=>{let{css:Z,style:U}=l?.getComponentTheme?.()||{};l.load(Z,{name:`${l.name}-variables`,...u}),l.loadStyle({name:`${l.name}-style`,...u},U)},W=()=>{let Z=l?.getLayerOrderThemeCSS?.();l.load(Z,{name:"layer-order",first:!0,...u})};if(!Ae()){_(),l?.name&&$(),W();return}let H=v.current;(H||!te.isStyleNameLoaded("common"))&&(_(),te.setLoadedStyleName("common")),(H||!te.isStyleNameLoaded(l?.name))&&l?.name&&($(),te.setLoadedStyleName(l.name)),(H||!te.isStyleNameLoaded("layer-order"))&&(W(),te.setLoadedStyleName("layer-order"))},[c,l,u]),C=pe.useCallback(()=>{let{css:_}=l.baseStyles||{};if(!Ae()){l.load(_,{name:"base",...u}),b();return}let $=v.current;($||!p.current)&&(p.current=!0,($||Et.retainStyleName("base"))&&l.load(_,{name:"base",...u})),b(),v.current=!1},[l,u,b]),S=pe.useCallback(_=>{o?.theme?.options?.cssVariables===!1&&l?.name&&te.addScopedToken({[l.name]:_})&&(te.deleteLoadedStyleName(l.name),b());let{css:$}=l?.getPresetTheme?.(_,`[${s}]`)||{},W=l?.load($,{name:`${s}-${l.name}`,...u});f.current=W||null},[l,s,u,b,o?.theme]),R=pe.useCallback((_="",$={})=>c?void 0:tn(Ie(l.classes,_,{...n,context:$})),[c,n,l.classes]),O=pe.useCallback((_="",$=!0,W={})=>{if($){let H=Ie(l.inlineStyles,_,{...n,context:W});return{...Ie(l.baseStyles?.inlineStyles,_,{...n,context:W}),...H}}},[l.inlineStyles,l.baseStyles?.inlineStyles,n]);return!Ae()&&!c&&(y(),C(),S(r.dt)),pe.useInsertionEffect(()=>{!Ae()||c||(y(),C())},[c,y,C]),pe.useEffect(()=>{if(!Ae()||c||o?.theme==="none")return;let _=()=>{b(),S(r.dt)};return Ge.on("theme:change",_),()=>{Ge.off("theme:change",_)}},[c,o?.theme,b,S,r.dt]),pe.useInsertionEffect(()=>{if(!(!Ae()||c))return f.current?.remove(),f.current=null,S(r.dt),()=>{f.current?.remove(),f.current=null}},[c,r.dt,S]),pe.useEffect(()=>{if(Ae())return()=>{p.current&&(Et.releaseStyleName("base"),p.current=!1),h.current&&(Et.releaseStyleName(h.current),h.current=null)}},[]),pe.useMemo(()=>({cx:R,sx:O,isUnstyled:c,$style:l}),[R,O,c,l])}function Dr(e="UnknownComponent",t={}){let n=qt.useMemo(()=>({..._n,...t.defaultProps}),[t.defaultProps]),r=rn(e,{type:t.type,inProps:t.inProps,defaultProps:n,setup:t.setup}),{ref:o,props:s}=r,a=qt.useMemo(()=>({instance:r,props:r.props,attrs:r.attrs,state:r.state}),[r.props,r.attrs,r.state]),l=ms(r,a),c=Es(r,s.styles||t.styles,a),u=qt.useMemo(()=>({...r,...l,...c}),[r,l,c]);return qt.useImperativeHandle(o,()=>u,[u]),u}var Dn=ne(ee());function on({name:e="UnknownComponent",type:t="primitive",defaultProps:n,styles:r,components:o,setup:s,render:a}){let c=Dn.memo(u=>{let f=Dr(e,{type:t,inProps:u,defaultProps:n,styles:r,setup:s}),p=a??(()=>null);return f.props.pIf?Dn.createElement(p,{...f}):null},(u,f)=>{if(!ge(u)||!ge(f))return!1;let p=u,h=f,m=Object.keys(p);if(m.length!==Object.keys(h).length)return!1;for(let v of m){let y=p[v],b=h[v];if(typeof y=="function"||typeof b=="function"){if(y!==b)return!1;continue}if(!Object.is(y,b))return!1}return!0});return c.displayName=`PrimeReact.${e}`,Object.entries(o||{}).forEach(([u,f])=>{c[u]=f}),c}var Cs=ne(ee());var Nr={as:"i",size:void 0,rotate:void 0,flip:void 0,spin:!1};var sn={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?{[Lr("icon.size").name]:e.size}:void 0,...e.rotate?{[Lr("icon.rotate").name]:`${e.rotate}deg`}:void 0})}};var ws=ne(ee());function $r(e="UnknownHeadless",t={}){return rn(e,t)}function an({name:e,type:t="headless",defaultProps:n,setup:r}){return o=>$r(e,{type:t,inProps:o,defaultProps:n,setup:r})}var Rs=ne(ee()),Hr=an({name:"useIcon",setup({attrs:e}){let t=e["aria-label"],n=e.tabIndex;return{pti:Rs.useCallback(()=>{let o=Ke(t);return{role:o?void 0:"img","aria-hidden":Ke(n)&&o}},[t,n])}}});function jr({name:e,defaultProps:t,styles:n,components:r,setup:o,render:s}){return on({name:`${e??"Unknown"}Icon`,defaultProps:t,styles:n,components:r,setup(a){let l=Hr(a?.inProps),c=K(o,a);return ws.useMemo(()=>({...l,...c}),[l,c])},render:s})}var qa=jr({name:"Icon",styles:sn,defaultProps:Nr,render(e){let{id:t,props:n,ptmi:r,pti:o,cx:s,sx:a}=e,l=ut({id:t,style:a("root"),className:s("root")},o?.(),r("root"));return Cs.createElement(Ft,{instance:e,attrs:l,children:n.children})}});var ot=ne(ee());var Br={preset:void 0,prefix:"p",darkModeSelector:"system",cssLayer:!1,cssVariables:!0,scoped:!1,stylesheet:void 0};var Xe=ot.createContext(null),Ur=(e={})=>{let{props:t}=Ye(Br,e),{stylesheet:n,preset:r,...o}=t,s={preset:r,stylesheet:n,...o};te.setTheme({preset:r,options:o});let a=ot.useMemo(()=>nt(zt`${sn.css}`)||"",[]);return ot.useMemo(()=>{J(a)&&nn.register({id:"icon",css:a,phase:"both",priority:10})},[a]),Ae()||wr(n,nn.getForSSR()),ot.useInsertionEffect(()=>{Ae()&&Cr(nn.getForClient())},[]),ot.createElement(Xe.Provider,{value:s},K(e.children,s))};var Ps=ne(ee());function Ya(){let e=Ps.useContext(Xe);if(e===void 0)throw new Error("Context must be used within a ThemeProvider");return e}var Ga={p:0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffedn,n:0x1000000000000000000000000000000014def9dea2f79cd65812631a5cf5d3edn,h:8n,a:0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffecn,d:0x52036cee2b6ffe738cc740797779e89800700a4d4141d8ab75eb4dca135978a3n,Gx:0x216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51an,Gy:0x6666666666666666666666666666666666666666666666666666666666666658n},{p:Te,n:Nn,Gx:Ts,Gy:Os,a:Fr,d:Vr}=Ga,Xa=8n,ln=32,Wr=64,ke=(e="")=>{throw new Error(e)},Za=e=>typeof e=="bigint",Ms=e=>typeof e=="string",Qa=e=>e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array",Gt=(e,t)=>!Qa(e)||typeof t=="number"&&t>0&&e.length!==t?ke("Uint8Array expected"):e,Bn=e=>new Uint8Array(e),Yr=e=>Uint8Array.from(e),Ds=(e,t)=>e.toString(16).padStart(t,"0"),Gr=e=>Array.from(Gt(e)).map(t=>Ds(t,2)).join(""),st={_0:48,_9:57,A:65,F:70,a:97,f:102},_s=e=>{if(e>=st._0&&e<=st._9)return e-st._0;if(e>=st.A&&e<=st.F)return e-(st.A-10);if(e>=st.a&&e<=st.f)return e-(st.a-10)},Xr=e=>{let t="hex invalid";if(!Ms(e))return ke(t);let n=e.length,r=n/2;if(n%2)return ke(t);let o=Bn(r);for(let s=0,a=0;s<r;s++,a+=2){let l=_s(e.charCodeAt(a)),c=_s(e.charCodeAt(a+1));if(l===void 0||c===void 0)return ke(t);o[s]=l*16+c}return o},$n=(e,t)=>Gt(Ms(e)?Xr(e):Yr(Gt(e)),t),Ns=()=>globalThis?.crypto,Ja=()=>Ns()?.subtle??ke("crypto.subtle must be defined"),zr=(...e)=>{let t=Bn(e.reduce((r,o)=>r+Gt(o).length,0)),n=0;return e.forEach(r=>{t.set(r,n),n+=r.length}),t},el=(e=ln)=>Ns().getRandomValues(Bn(e)),Hn=BigInt,wt=(e,t,n,r="bad number: out of range")=>Za(e)&&t<=e&&e<n?e:ke(r),A=(e,t=Te)=>{let n=e%t;return n>=0n?n:t+n},tl=e=>A(e,Nn),$s=(e,t)=>{(e===0n||t<=0n)&&ke("no inverse n="+e+" mod="+t);let n=A(e,t),r=t,o=0n,s=1n,a=1n,l=0n;for(;n!==0n;){let c=r/n,u=r%n,f=o-a*c,p=s-l*c;r=n,n=u,o=a,s=l,a=f,l=p}return r===1n?A(o,t):ke("no inverse")},nl=e=>{let t=cn[e];return typeof t!="function"&&ke("hashes."+e+" not set"),t},As=e=>e instanceof it?e:ke("Point expected"),Kr=2n**256n,it=class e{static BASE;static ZERO;ex;ey;ez;et;constructor(t,n,r,o){let s=Kr;this.ex=wt(t,0n,s),this.ey=wt(n,0n,s),this.ez=wt(r,1n,s),this.et=wt(o,0n,s),Object.freeze(this)}static fromAffine(t){return new e(t.x,t.y,1n,A(t.x*t.y))}static fromBytes(t,n=!1){let r=Vr,o=Yr(Gt(t,ln)),s=t[31];o[31]=s&-129;let a=Zr(o);wt(a,0n,n?Kr:Te);let c=A(a*a),u=A(c-1n),f=A(r*c+1n),{isValid:p,value:h}=sl(u,f);p||ke("bad point: y not sqrt");let m=(h&1n)===1n,v=(s&128)!==0;return!n&&h===0n&&v&&ke("bad point: x==0, isLastByteOdd"),v!==m&&(h=A(-h)),new e(h,a,1n,A(h*a))}assertValidity(){let t=Fr,n=Vr,r=this;if(r.is0())throw new Error("bad point: ZERO");let{ex:o,ey:s,ez:a,et:l}=r,c=A(o*o),u=A(s*s),f=A(a*a),p=A(f*f),h=A(c*t),m=A(f*A(h+u)),v=A(p+A(n*A(c*u)));if(m!==v)throw new Error("bad point: equation left != right (1)");let y=A(o*s),b=A(a*l);if(y!==b)throw new Error("bad point: equation left != right (2)");return this}equals(t){let{ex:n,ey:r,ez:o}=this,{ex:s,ey:a,ez:l}=As(t),c=A(n*l),u=A(s*o),f=A(r*l),p=A(a*o);return c===u&&f===p}is0(){return this.equals(Yt)}negate(){return new e(A(-this.ex),this.ey,this.ez,A(-this.et))}double(){let{ex:t,ey:n,ez:r}=this,o=Fr,s=A(t*t),a=A(n*n),l=A(2n*A(r*r)),c=A(o*s),u=t+n,f=A(A(u*u)-s-a),p=c+a,h=p-l,m=c-a,v=A(f*h),y=A(p*m),b=A(f*m),C=A(h*p);return new e(v,y,C,b)}add(t){let{ex:n,ey:r,ez:o,et:s}=this,{ex:a,ey:l,ez:c,et:u}=As(t),f=Fr,p=Vr,h=A(n*a),m=A(r*l),v=A(s*p*u),y=A(o*c),b=A((n+r)*(a+l)-h-m),C=A(y-v),S=A(y+v),R=A(m-f*h),O=A(b*C),_=A(S*R),$=A(b*R),W=A(C*S);return new e(O,_,W,$)}multiply(t,n=!0){if(!n&&(t===0n||this.is0()))return Yt;if(wt(t,1n,Nn),t===1n)return this;if(this.equals(Xt))return dl(t).p;let r=Yt,o=Xt;for(let s=this;t>0n;s=s.double(),t>>=1n)t&1n?r=r.add(s):n&&(o=o.add(s));return r}toAffine(){let{ex:t,ey:n,ez:r}=this;if(this.equals(Yt))return{x:0n,y:1n};let o=$s(r,Te);return A(r*o)!==1n&&ke("invalid inverse"),{x:A(t*o),y:A(n*o)}}toBytes(){let{x:t,y:n}=this.assertValidity().toAffine(),r=rl(n);return r[31]|=t&1n?128:0,r}toHex(){return Gr(this.toBytes())}clearCofactor(){return this.multiply(Hn(Xa),!1)}isSmallOrder(){return this.clearCofactor().is0()}isTorsionFree(){let t=this.multiply(Nn/2n,!1).double();return Nn%2n&&(t=t.add(this)),t.is0()}static fromHex(t,n){return e.fromBytes($n(t),n)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}toRawBytes(){return this.toBytes()}},Xt=new it(Ts,Os,1n,A(Ts*Os)),Yt=new it(0n,1n,1n,0n);it.BASE=Xt;it.ZERO=Yt;var rl=e=>Xr(Ds(wt(e,0n,Kr),Wr)).reverse(),Zr=e=>Hn("0x"+Gr(Yr(Gt(e)).reverse())),Ze=(e,t)=>{let n=e;for(;t-- >0n;)n*=n,n%=Te;return n},ol=e=>{let n=e*e%Te*e%Te,r=Ze(n,2n)*n%Te,o=Ze(r,1n)*e%Te,s=Ze(o,5n)*o%Te,a=Ze(s,10n)*s%Te,l=Ze(a,20n)*a%Te,c=Ze(l,40n)*l%Te,u=Ze(c,80n)*c%Te,f=Ze(u,80n)*c%Te,p=Ze(f,10n)*s%Te;return{pow_p_5_8:Ze(p,2n)*e%Te,b2:n}},Is=0x2b8324804fc1df0b2b4d00993dfbd7a72f431806ad2fe478c4ee1b274a0ea0b0n,sl=(e,t)=>{let n=A(t*t*t),r=A(n*n*t),o=ol(e*r).pow_p_5_8,s=A(e*n*o),a=A(t*s*s),l=s,c=A(s*Is),u=a===e,f=a===A(-e),p=a===A(-e*Is);return u&&(s=l),(f||p)&&(s=c),(A(s)&1n)===1n&&(s=A(-s)),{isValid:u||f,value:s}},il=e=>tl(Zr(e));var al=(...e)=>nl("sha512Sync")(...e);var ll=e=>e.finish(al(e.hashable));var Hs={zip215:!0},cl=(e,t,n,r=Hs)=>{e=$n(e,Wr),t=$n(t),n=$n(n,ln);let{zip215:o}=r,s,a,l,c,u=Uint8Array.of();try{s=it.fromHex(n,o),a=it.fromHex(e.slice(0,ln),o),l=Zr(e.slice(ln,Wr)),c=Xt.multiply(l,!1),u=zr(a.toBytes(),s.toBytes(),t)}catch{}return{hashable:u,finish:p=>{if(c==null||!o&&s.isSmallOrder())return!1;let h=il(p);return a.add(s.multiply(h,!1)).add(c.negate()).clearCofactor().is0()}}};var js=(e,t,n,r=Hs)=>ll(cl(e,t,n,r)),cn={sha512Async:async(...e)=>{let t=Ja(),n=zr(...e);return Bn(await t.digest("SHA-512",n.buffer))},sha512Sync:void 0,bytesToHex:Gr,hexToBytes:Xr,concatBytes:zr,mod:A,invert:$s,randomBytes:el};var jn=8,ul=256,Bs=Math.ceil(ul/jn)+1,qr=2**(jn-1),fl=()=>{let e=[],t=Xt,n=t;for(let r=0;r<Bs;r++){n=t,e.push(n);for(let o=1;o<qr;o++)n=n.add(t),e.push(n);t=n.double()}return e},ks,Ls=(e,t)=>{let n=t.negate();return e?n:t},dl=e=>{let t=ks||(ks=fl()),n=Yt,r=Xt,o=2**jn,s=o,a=Hn(o-1),l=Hn(jn);for(let c=0;c<Bs;c++){let u=Number(e&a);e>>=l,u>qr&&(u-=s,e+=1n);let f=c*qr,p=f,h=f+Math.abs(u)-1,m=c%2!==0,v=u<0;u===0?r=r.add(Ls(m,t[p])):n=n.add(Ls(v,t[h]))}return{p:n,f:r}};function ml(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"&&"BYTES_PER_ELEMENT"in e&&e.BYTES_PER_ELEMENT===1}function Qr(e,t,n=""){let r=ml(e),o=e?.length,s=t!==void 0;if(!r||s&&o!==t){let a=n&&`"${n}" `,l=s?` of length ${t}`:"",c=r?`length=${o}`:`type=${typeof e}`,u=a+"expected Uint8Array"+l+", got "+c;throw r?new RangeError(u):new TypeError(u)}return e}function Jr(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function Us(e,t){Qr(e,void 0,"digestInto() output");let n=t.outputLen;if(e.length<n)throw new RangeError('"digestInto() output" expected to be of length >='+n)}function un(...e){for(let t=0;t<e.length;t++)e[t].fill(0)}function Un(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Fs(e,t={}){let n=(o,s)=>e(s).update(o).digest(),r=e(void 0);return n.outputLen=r.outputLen,n.blockLen=r.blockLen,n.canXOF=r.canXOF,n.create=o=>e(o),Object.assign(n,t),Object.freeze(n)}var Vs=e=>({oid:Uint8Array.from([6,9,96,134,72,1,101,3,4,2,e])});var Fn=class{blockLen;outputLen;canXOF=!1;padOffset;isLE;buffer;view;finished=!1;length=0;pos=0;destroyed=!1;constructor(t,n,r,o){this.blockLen=t,this.outputLen=n,this.padOffset=r,this.isLE=o,this.buffer=new Uint8Array(t),this.view=Un(this.buffer)}update(t){Jr(this),Qr(t);let{view:n,buffer:r,blockLen:o}=this,s=t.length;for(let a=0;a<s;){let l=Math.min(o-this.pos,s-a);if(l===o){let c=Un(t);for(;o<=s-a;a+=o)this.process(c,a);continue}r.set(t.subarray(a,a+l),this.pos),this.pos+=l,a+=l,this.pos===o&&(this.process(n,0),this.pos=0)}return this.length+=t.length,this.roundClean(),this}digestInto(t){Jr(this),Us(t,this),this.finished=!0;let{buffer:n,view:r,blockLen:o,isLE:s}=this,{pos:a}=this;n[a++]=128,un(this.buffer.subarray(a)),this.padOffset>o-a&&(this.process(r,0),a=0);for(let p=a;p<o;p++)n[p]=0;r.setBigUint64(o-8,BigInt(this.length*8),s),this.process(r,0);let l=Un(t),c=this.outputLen;if(c%4)throw new Error("_sha2: outputLen must be aligned to 32bit");let u=c/4,f=this.get();if(u>f.length)throw new Error("_sha2: outputLen bigger than state");for(let p=0;p<u;p++)l.setUint32(4*p,f[p],s)}digest(){let{buffer:t,outputLen:n}=this;this.digestInto(t);let r=t.slice(0,n);return this.destroy(),r}_cloneInto(t){t||=new this.constructor,t.set(...this.get());let{blockLen:n,buffer:r,length:o,finished:s,destroyed:a,pos:l}=this;return t.destroyed=a,t.finished=s,t.length=o,t.pos=l,o%n&&t.buffer.set(r),t}clone(){return this._cloneInto()}};var we=Uint32Array.from([1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209]);var Vn=BigInt(4294967295),Ws=BigInt(32);function hl(e,t=!1){return t?{h:Number(e&Vn),l:Number(e>>Ws&Vn)}:{h:Number(e>>Ws&Vn)|0,l:Number(e&Vn)|0}}function zs(e,t=!1){let n=e.length,r=new Uint32Array(n),o=new Uint32Array(n);for(let s=0;s<n;s++){let{h:a,l}=hl(e[s],t);[r[s],o[s]]=[a,l]}return[r,o]}var eo=(e,t,n)=>e>>>n,to=(e,t,n)=>e<<32-n|t>>>n,Ct=(e,t,n)=>e>>>n|t<<32-n,Pt=(e,t,n)=>e<<32-n|t>>>n,fn=(e,t,n)=>e<<64-n|t>>>n-32,dn=(e,t,n)=>e>>>n-32|t<<64-n;function Qe(e,t,n,r){let o=(t>>>0)+(r>>>0);return{h:e+n+(o/2**32|0)|0,l:o|0}}var Ks=(e,t,n)=>(e>>>0)+(t>>>0)+(n>>>0),qs=(e,t,n,r)=>t+n+r+(e/2**32|0)|0,Ys=(e,t,n,r)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0),Gs=(e,t,n,r,o)=>t+n+r+o+(e/2**32|0)|0,Xs=(e,t,n,r,o)=>(e>>>0)+(t>>>0)+(n>>>0)+(r>>>0)+(o>>>0),Zs=(e,t,n,r,o,s)=>t+n+r+o+s+(e/2**32|0)|0;var Qs=zs(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(e=>BigInt(e))),gl=Qs[0],vl=Qs[1],yt=new Uint32Array(80),gt=new Uint32Array(80),no=class extends Fn{constructor(t){super(128,t,16,!1)}get(){let{Ah:t,Al:n,Bh:r,Bl:o,Ch:s,Cl:a,Dh:l,Dl:c,Eh:u,El:f,Fh:p,Fl:h,Gh:m,Gl:v,Hh:y,Hl:b}=this;return[t,n,r,o,s,a,l,c,u,f,p,h,m,v,y,b]}set(t,n,r,o,s,a,l,c,u,f,p,h,m,v,y,b){this.Ah=t|0,this.Al=n|0,this.Bh=r|0,this.Bl=o|0,this.Ch=s|0,this.Cl=a|0,this.Dh=l|0,this.Dl=c|0,this.Eh=u|0,this.El=f|0,this.Fh=p|0,this.Fl=h|0,this.Gh=m|0,this.Gl=v|0,this.Hh=y|0,this.Hl=b|0}process(t,n){for(let R=0;R<16;R++,n+=4)yt[R]=t.getUint32(n),gt[R]=t.getUint32(n+=4);for(let R=16;R<80;R++){let O=yt[R-15]|0,_=gt[R-15]|0,$=Ct(O,_,1)^Ct(O,_,8)^eo(O,_,7),W=Pt(O,_,1)^Pt(O,_,8)^to(O,_,7),H=yt[R-2]|0,Z=gt[R-2]|0,U=Ct(H,Z,19)^fn(H,Z,61)^eo(H,Z,6),k=Pt(H,Z,19)^dn(H,Z,61)^to(H,Z,6),M=Ys(W,k,gt[R-7],gt[R-16]),j=Gs(M,$,U,yt[R-7],yt[R-16]);yt[R]=j|0,gt[R]=M|0}let{Ah:r,Al:o,Bh:s,Bl:a,Ch:l,Cl:c,Dh:u,Dl:f,Eh:p,El:h,Fh:m,Fl:v,Gh:y,Gl:b,Hh:C,Hl:S}=this;for(let R=0;R<80;R++){let O=Ct(p,h,14)^Ct(p,h,18)^fn(p,h,41),_=Pt(p,h,14)^Pt(p,h,18)^dn(p,h,41),$=p&m^~p&y,W=h&v^~h&b,H=Xs(S,_,W,vl[R],gt[R]),Z=Zs(H,C,O,$,gl[R],yt[R]),U=H|0,k=Ct(r,o,28)^fn(r,o,34)^fn(r,o,39),M=Pt(r,o,28)^dn(r,o,34)^dn(r,o,39),j=r&s^r&l^s&l,fe=o&a^o&c^a&c;C=y|0,S=b|0,y=m|0,b=v|0,m=p|0,v=h|0,{h:p,l:h}=Qe(u|0,f|0,Z|0,U|0),u=l|0,f=c|0,l=s|0,c=a|0,s=r|0,a=o|0;let ae=Ks(U,M,fe);r=qs(ae,Z,k,j),o=ae|0}({h:r,l:o}=Qe(this.Ah|0,this.Al|0,r|0,o|0)),{h:s,l:a}=Qe(this.Bh|0,this.Bl|0,s|0,a|0),{h:l,l:c}=Qe(this.Ch|0,this.Cl|0,l|0,c|0),{h:u,l:f}=Qe(this.Dh|0,this.Dl|0,u|0,f|0),{h:p,l:h}=Qe(this.Eh|0,this.El|0,p|0,h|0),{h:m,l:v}=Qe(this.Fh|0,this.Fl|0,m|0,v|0),{h:y,l:b}=Qe(this.Gh|0,this.Gl|0,y|0,b|0),{h:C,l:S}=Qe(this.Hh|0,this.Hl|0,C|0,S|0),this.set(r,o,s,a,l,c,u,f,p,h,m,v,y,b,C,S)}roundClean(){un(yt,gt)}destroy(){this.destroyed=!0,un(this.buffer),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}},ro=class extends no{Ah=we[0]|0;Al=we[1]|0;Bh=we[2]|0;Bl=we[3]|0;Ch=we[4]|0;Cl=we[5]|0;Dh=we[6]|0;Dl=we[7]|0;Eh=we[8]|0;El=we[9]|0;Fh=we[10]|0;Fl=we[11]|0;Gh=we[12]|0;Gl=we[13]|0;Hh=we[14]|0;Hl=we[15]|0;constructor(){super(64)}};var Js=Fs(()=>new ro,Vs(3));var bl=Object.defineProperty,ei=Object.getOwnPropertySymbols,xl=Object.prototype.hasOwnProperty,Sl=Object.prototype.propertyIsEnumerable,ti=(e,t,n)=>t in e?bl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ai=(e,t,n)=>new Promise((r,o)=>{var s=c=>{try{l(n.next(c))}catch(u){o(u)}},a=c=>{try{l(n.throw(c))}catch(u){o(u)}},l=c=>c.done?r(c.value):Promise.resolve(c.value).then(s,a);l((n=n.apply(e,t)).next())});function ni(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),s=0,a=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");s=s<<6|u,a+=6,a>=8&&(a-=8,o[l++]=s>>a&255)}return o}var El="primeui",oo="primeui-pro:",ri={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"},li={primeui:"PrimeUI",scheduler:"Scheduler",texteditor:"TextEditor",charts:"Charts",diagram:"Diagram",pdfviewer:"PDF Viewer",taskboard:"Task Board",datagrid:"DataGrid",ganttchart:"Gantt",filemanager:"File Manager"};function io(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 oi=864e5;function Le(e,t,n={}){return((r,o)=>{for(var s in o||(o={}))xl.call(o,s)&&ti(r,s,o[s]);if(ei)for(var s of ei(o))Sl.call(o,s)&&ti(r,s,o[s]);return r})({valid:e==="active"||e==="grace",status:e,message:io(e,t)},n)}function si(e,t){return ai(this,null,function*(){var n,r;let o=t.productLabel;if(typeof e!="string"||!e.includes("."))return Le("invalid",o);let s=e.split(".");if(s.length!==2)return Le("invalid",o);let[a,l]=s,c,u,f;try{c=(function(S){let R=ni(S),O=new TextDecoder().decode(R);return JSON.parse(O)})(a)}catch{return Le("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 Le("invalid",o);try{u=ni(l),f=new TextEncoder().encode(a)}catch{return Le("invalid",o)}let p=(n=t.publicKeyOverride)!=null?n:"dae75e66b9f59bebf87d4bb29ca6494f37deccfcc2b132b98ee159ee7505373b",h;try{h=(function(S){if(S.length%2!=0)throw new Error("Invalid hex length");let R=new Uint8Array(S.length/2);for(let O=0;O<R.length;O++)R[O]=parseInt(S.substr(2*O,2),16);return R})(p)}catch{return Le("invalid",o)}let m=!1;try{cn.sha512Sync||(cn.sha512Sync=(...S)=>Js(cn.concatBytes(...S))),m=js(u,f,h)}catch{return Le("tampered",o,{payload:c})}if(!m)return Le("tampered",o,{payload:c});if(!(function(S,R){return S.product===R||!(!R.startsWith(oo)||S.product!==El||S.tier!=="commercial")})(c,t.product))return Le("wrong-product",o,{payload:c});let v=1e3*c.exp,y=Date.now(),b=Math.floor((v-y)/oi),C=(function(S){if(S===void 0)return null;if(typeof S=="number")return 1e3*S;let R=Date.parse(S);return Number.isNaN(R)?null:R})(t.releaseDate);if(C!==null&&C>v)return Le("expired",o,{daysUntilExpiry:b,payload:c});if((function(S){return S.type==="oem"||S.tier==="community"})(c)){if(y>v+((r=t.graceDays)!=null?r:30)*oi)return Le("expired",o,{daysUntilExpiry:b,payload:c});if(y>v)return Le("grace",o,{daysUntilExpiry:b,payload:c})}return Le("active",o,{daysUntilExpiry:b,payload:c})})}function ii(e,t){return{valid:!1,status:e,message:io(e,t)}}function Rl(e,t){let n=t?.graceDays,r=t?.publicKeyOverride;return{verify(o,s){return ai(this,null,function*(){var a;let l=ri[o],c=(a=li[o])!=null?a:"PrimeUI",u=s?.releaseDate;if(!l)return ii("invalid",c);let f=e[o],p=e.primeui;if(f){let h=yield si(f,{product:l,productLabel:c,releaseDate:u,graceDays:n,publicKeyOverride:r});if(h.valid||h.status!=="wrong-product")return h}return p&&o!=="primeui"&&l.startsWith(oo)?si(p,{product:l,productLabel:c,releaseDate:u,graceDays:n,publicKeyOverride:r}):ii(f?"wrong-product":"missing",c)})},has(o){let s=ri[o];return!!s&&(!!e[o]||o!=="primeui"&&s.startsWith(oo)&&!!e.primeui)}}}var so=null;function ci(e,t){if(!e)throw new Error("[@primeui/license-manager] registerLicense: keys argument is required.");return so=Rl(e,t)}function ui(e,t){var n;if(!so){let r=(n=li[e])!=null?n:"PrimeUI";return Promise.resolve({valid:!1,status:"unconfigured",message:io("unconfigured",r)})}return so.verify(e,t)}var Oe=ne(ee());var ao={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 wl="2026-06-28",Wn=Oe.createContext(void 0);function Cl(e={}){let{props:t,attrs:n}=Ye(ao,e),[r,o]=Oe.useState(t.inputVariant),[s,a]=Oe.useState(t.defaults),[l,c]=Oe.useState(t.zIndex);Oe.useEffect(()=>{t.license&&ci({primeui:t.license}),ui("primeui",{releaseDate:wl}).then(p=>{p.valid||(console.warn(`[PrimeUI] ${p.message}`),Xn())})},[]);let u=Oe.useMemo(()=>({inputVariant:r,setInputVariant:o,defaults:s,setDefaults:a,zIndex:l,setZIndex:c}),[r,s,l]),f=Oe.useMemo(()=>K(n.children,u),[n.children,u]);return Oe.createElement(Wn.Provider,{value:u},Oe.createElement(yr,{lang:t.locale},Oe.createElement(vr,{value:t.pt,...t.ptOptions},Oe.createElement(Ur,{preset:t.theme?.preset,stylesheet:t.stylesheet,...t.theme?.options},f))))}var Tt=ne(ee());function lo(){let e=Tt.useContext(Wn),t=Tt.useContext(Bt),n=Tt.useContext(Ut),r=Tt.useContext(Xe);if(e===void 0)throw new Error("[PrimeReact] PrimeReactProvider not found. Wrap your application in <PrimeReactProvider> before using PrimeReact components.");return Tt.useMemo(()=>({config:e,locale:t,passthrough:n,theme:r}),[e,t,n,r])}var Ve=ne(ee()),rn=(e="UnknownBase",t)=>{let n=lo(),{type:r,inProps:o,defaultProps:s,setup:a}=t||{},l=as(o?.id),c=Zo("pc_"),[u,f]=Ve.useMemo(()=>e.toLowerCase().split("."),[e]),p=Ve.useRef(null),h=Ve.useRef(void 0),m=Ve.useMemo(()=>({ref:p,elementRef:h,id:l,name:e,type:r,scope:u,part:Lt(f),inProps:o,$attrSelector:c,$primereact:n}),[l,o,c,n,e,r]),v=n.config?.defaults,y=Ve.useMemo(()=>{let _=K(v?.[e]||v?.[e.toLowerCase()],m);return{...s,..._?.props}},[s,v,e]),{props:b,attrs:C}=Ye(y,o),S=Ve.useMemo(()=>({...m,props:b,attrs:C}),[m,b,C]),R=K(a,S),O=Ve.useMemo(()=>({state:{},$computedSetup:R,...R,...S,elementRef:R?.elementRef??h}),[R,S]);return Ve.useImperativeHandle(p,()=>O,[O]),O};var fi={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 Je(){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 co(e,t,n,r){return{x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e}}function di(e,t){return co(e.x-t.x,e.y-t.y,e.width,e.height)}function vt(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 zn(e,t){return e.x>=t.left&&e.x<=t.right&&e.y>=t.top&&e.y<=t.bottom}function uo(e){return e.width*e.height}function pi(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,s=Math.min(e.bottom,t.bottom)-r;return o>0&&s>0?o*s:0}function mi(e){if(!Je())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 fo(e){return e===document.documentElement?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop}}function hi(e,t,n){e===document.documentElement?window.scrollBy(t,n):e.scrollBy(t,n)}function po(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 Pl(e){let t=[];for(let n of e.droppables)if(!n.disabled&&zn(e.position,n.rect)){let r=uo(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 Tl(e){if(!e.activeRect)return[];let t=[];for(let n of e.droppables){if(n.disabled)continue;let r=pi(e.activeRect,n.rect);if(r>0){let o=uo(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 Ol(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:vt(t,He(r.rect))});return n.sort((r,o)=>(r.distance??1/0)-(o.distance??1/0)),n}function _l(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 s=o.rect,a=[{x:s.left,y:s.top},{x:s.right,y:s.top},{x:s.left,y:s.bottom},{x:s.right,y:s.bottom}],l=0;for(let c=0;c<4;c++)l+=vt(n[c],a[c]);r.push({id:o.id,data:o.data,distance:l/4})}return r.sort((o,s)=>(o.distance??1/0)-(s.distance??1/0)),r}var Qt={pointerWithin:Pl,rectIntersection:Tl,closestCenter:Ol,closestCorners:_l};var yi=.25;function gi(e){let{position:t,items:n,direction:r,activeId:o,allowInsideDrop:s=!1}=e,a={index:0,position:"before",targetId:null,dropPosition:"before",targetRect:null};if(n.length===0)return a;let l=n.filter(b=>b.id!==o);if(l.length===0)return a;let c=0,u=1/0;for(let b=0;b<l.length;b++){let C=He(l[b].rect),S=r==="horizontal"?Math.abs(t.x-C.x):r==="vertical"?Math.abs(t.y-C.y):vt(t,C);S<u&&(u=S,c=b)}let f=l[c],p=f.rect,h=He(p),m;r==="horizontal"?m=t.x<h.x?"before":"after":r==="vertical"?m=t.y<h.y?"before":"after":m=t.y<h.y?"before":t.y>h.y?"after":t.x<h.x?"before":"after";let v;s?v=Al(t,p,r):v=m;let y=n.findIndex(b=>b.id===f.id);return{index:m==="after"?y+1:y,position:m,targetId:f.id,dropPosition:v,targetRect:p}}function Al(e,t,n){if(n==="horizontal"){let o=t.width*yi;return e.x<t.left+o?"before":e.x>t.right-o?"after":"inside"}let r=t.height*yi;return e.y<t.top+r?"before":e.y>t.bottom-r?"after":"inside"}function vi(e){let{items:t,activeId:n,originalIndex:r,projectedIndex:o,activeRect:s,itemRects:a,direction:l}=e,c=new Map;if(!s||r===o)return c;let u=o>r;if(l==="grid")for(let f=0;f<t.length;f++){let p=t[f];if(p===n||!(u?f>r&&f<=o:f>=o&&f<r))continue;let m=u?f-1:f+1;t[m]===n&&(m=u?m-1:m+1);let v=t[m],y=a.get(p),b=v?a.get(v):null;y&&b&&c.set(p,{x:b.x-y.x,y:b.y-y.y,scaleX:1,scaleY:1})}else{let f=l==="horizontal"?s.width:0,p=l==="vertical"?s.height:0;for(let h=0;h<t.length;h++){let m=t[h];if(m===n)continue;let v=0,y=0;u?h>r&&h<=o&&(v=-f,y=-p):h>=o&&h<r&&(v=f,y=p),(v!==0||y!==0)&&c.set(m,{x:v,y,scaleX:1,scaleY:1})}}return c}function bi(e){let{sourceItems:t,targetItems:n,activeId:r,originalIndex:o,projectedIndex:s,activeRect:a,sourceDirection:l,targetDirection:c}=e,u=new Map,f=new Map;if(!a)return{sourceTransforms:u,targetTransforms:f};let p=l==="horizontal"?a.width:0,h=l==="vertical"||l==="grid"?a.height:0;for(let y=0;y<t.length;y++)t[y]!==r&&y>o&&u.set(t[y],{x:-p,y:-h,scaleX:1,scaleY:1});let m=c==="horizontal"?a.width:0,v=c==="vertical"||c==="grid"?a.height:0;for(let y=0;y<n.length;y++)y>=s&&f.set(n[y],{x:m,y:v,scaleX:1,scaleY:1});return{sourceTransforms:u,targetTransforms:f}}function mo(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 ho(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(),[s]=o.splice(n,1),a=t.slice();return a.splice(r,0,s),{source:o,target:a}}function xi(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,s=!1;function a(){if(!s){s=!0;try{for(let g of o)g()}finally{s=!1}}}function l(g){let x=g(r);x!==r&&(r=x,a())}let c=new Map;function u(g,x){let w=c.get(g);if(w)for(let I of w)I(x)}let f=e?.collisionDetection??"pointerWithin";function p(){return Qt[f]??Qt.pointerWithin}let h=null,m=e?.autoScroll!==!1,v=typeof e?.autoScroll=="object"?e.autoScroll:{},y=null,b={x:0,y:0},C={...fi,...e?.announcements},S=new Map;function R(){if(Je()){S.clear();for(let[g,x]of r.draggables)x.node&&S.set(g,Zt(x.node));for(let[g,x]of r.droppables)x.node&&S.set(g,Zt(x.node));for(let[g,x]of r.sortableContainers)x.node&&S.set(g,Zt(x.node))}}function O(g,x){let w=S.get(g);return w?di(w,x):null}function _(){r.operation&&(R(),b={x:0,y:0},me(r.operation.current))}let $=po(_,50),W=po(_,100),H=null,Z=null,U=null,k=null;function M(){if(!(!Je()||typeof ResizeObserver>"u")){H=new ResizeObserver(()=>$.call());for(let[,g]of r.sortableContainers)g.node&&H.observe(g.node)}}function j(){if(!Je())return;let g=()=>W.call();window.addEventListener("resize",g,{passive:!0}),k=()=>{window.removeEventListener("resize",g),W.cancel()}}function fe(){if(!Je())return;if(typeof MutationObserver<"u"){Z=new MutationObserver(()=>$.call());for(let[,w]of r.sortableContainers)w.node&&Z.observe(w.node,{childList:!0})}let g=h??window,x=()=>$.call();g.addEventListener("scroll",x,{passive:!0}),U=()=>g.removeEventListener("scroll",x)}function ae(){Z?.disconnect(),Z=null,U?.(),U=null,$.cancel()}function ce(g){let x=[],w=r.operation;if(!w)return x;let I=r.draggables.get(w.activeId);for(let[z,L]of r.droppables){if(L.disabled)continue;let G=O(z,g);if(!G)continue;let de=!L.accept||I?.scope!=null&&L.accept.includes(I.scope),re=L.canDrop?L.canDrop(w.data):!0;de&&re&&x.push({id:z,rect:G,data:L.data??{},disabled:!1})}for(let[z,L]of r.sortableContainers){if(L.disabled)continue;let G=O(z,g);if(!G)continue;(!L.accept||I?.scope!=null&&L.accept.includes(I.scope))&&x.push({id:z,rect:G,data:{},disabled:!1})}return x}function ve(g,x){if(g.length!==x.length)return!1;for(let w=0;w<g.length;w++)if(g[w].id!==x[w].id)return!1;return!0}function me(g,x){let w=r.operation;if(!w)return;let I=x??b,z=ce(I),L=O(w.activeId,I),G=p()({position:g,activeRect:L,droppables:z});if(!ve(r.collisions,G)){let re=r.collisions[0]??null,se=G[0]??null;l(he=>({...he,collisions:G})),re?.id!==se?.id&&u("dragOver",{active:{id:w.activeId,data:w.data},over:se?{id:se.id,data:se.data}:null})}We(g,I)}let oe=null;function Me(g){if(oe){let x=r.sortableContainers.get(oe.containerId);if(x){let w=x.items.indexOf(g);if(w!==-1)return{container:x,index:w}}oe=null}for(let[,x]of r.sortableContainers){let w=x.items.indexOf(g);if(w!==-1)return oe={containerId:x.id,index:w},{container:x,index:w}}return null}function et(g,x){if(g.size!==x.size)return!1;for(let[w,I]of g){let z=x.get(w);if(!z||I.x!==z.x||I.y!==z.y)return!1}return!0}function We(g,x){let w=r.operation;if(!w)return;let I=Me(w.activeId);if(!I){r.sortable!==null&&l(q=>({...q,sortable:null}));return}let z=r.draggables.get(w.activeId),L=null;for(let[,q]of r.sortableContainers){let X=O(q.id,x);if(!X||!zn(g,X))continue;if(!q.accept||z?.scope!=null&&q.accept.includes(z.scope)||q.id===I.container.id){L=q;break}}L||(L=I.container);let G=[];for(let q of L.items){let X=O(q,x);X&&G.push({id:q,rect:X})}let de=gi({position:g,items:G,direction:L.direction,activeId:w.activeId,allowInsideDrop:L.allowInsideDrop}),re=de.index,se=L.id!==I.container.id,he;if(se){let{sourceTransforms:q,targetTransforms:X}=bi({sourceItems:I.container.items,targetItems:L.items,activeId:w.activeId,originalIndex:I.index,projectedIndex:re,activeRect:O(w.activeId,x),sourceDirection:I.container.direction,targetDirection:L.direction});he=new Map([...q,...X])}else he=vi({items:I.container.items,activeId:w.activeId,originalIndex:I.index,projectedIndex:re,activeRect:O(w.activeId,x),itemRects:S,direction:I.container.direction});let ye=de.targetId!=null?{targetId:de.targetId,position:de.dropPosition,targetRect:de.targetRect}:null,D={sourceContainerId:I.container.id,currentContainerId:L.id,originalIndex:I.index,projectedIndex:re,transforms:he,dropIndicator:ye},Q=r.sortable;(!Q||Q.currentContainerId!==D.currentContainerId||Q.projectedIndex!==D.projectedIndex||!et(Q.transforms,D.transforms)||Q.dropIndicator?.targetId!==D.dropIndicator?.targetId||Q.dropIndicator?.position!==D.dropIndicator?.position)&&l(q=>({...q,sortable:D}))}function tt(){if(!(!m||!Je())){if(!h){let g=r.draggables.get(r.operation.activeId);g?.node&&(h=mi(g.node))}h&&(b={x:0,y:0},at())}}function ze(){y!==null&&(cancelAnimationFrame(y),y=null),b={x:0,y:0}}function at(){let g=r.operation;if(!g||!h)return;let x=v.threshold??50,w=v.speed??15,I=v.direction??"both",z=g.current,L=h===document.documentElement?co(0,0,window.innerWidth,window.innerHeight):Zt(h),G=0,de=0;if(I!=="horizontal"){let re=z.y-L.top,se=L.bottom-z.y;re>=0&&re<x?de=-w*(1-re/x):se>=0&&se<x&&(de=w*(1-se/x))}if(I!=="vertical"){let re=z.x-L.left,se=L.right-z.x;re>=0&&re<x?G=-w*(1-re/x):se>=0&&se<x&&(G=w*(1-se/x))}if(G!==0||de!==0){let re=fo(h);hi(h,G,de);let se=fo(h),he=se.x-re.x,ye=se.y-re.y;(he!==0||ye!==0)&&(b={x:b.x+he,y:b.y+ye},me(g.current,b))}y=requestAnimationFrame(at)}function lt(g,x){if(n(),r.operation)return;let w=r.draggables.get(x);if(!w||w.disabled)return;let I={...w.data},z;if("clientX"in g){let L=g;z={x:L.clientX,y:L.clientY}}else{let L=w.node?Zt(w.node):null;z=L?He(L):{x:0,y:0}}l(L=>({...L,operation:{activeId:x,origin:z,current:{...z},delta:{x:0,y:0},data:I},collisions:[],sortable:null})),R(),fe(),tt(),u("dragStart",{active:{id:x,data:I,node:w.node},event:g}),me(z)}function De(g,x){n();let w=r.operation;if(!w)return;let I={x:x.x-w.origin.x,y:x.y-w.origin.y};l(L=>({...L,operation:L.operation?{...L.operation,current:x,delta:I}:null})),me(x);let z=r.draggables.get(w.activeId);u("dragMove",{active:{id:w.activeId,data:w.data,node:z?.node??null},position:x,delta:I,event:g})}function je(g){n();let x=r.operation;if(!x)return;let w=r.collisions[0]??null,I=r.sortable;I&&(I.sourceContainerId!==I.currentContainerId?u("transfer",{activeId:x.activeId,from:{containerId:I.sourceContainerId,index:I.originalIndex},to:{containerId:I.currentContainerId,index:I.projectedIndex},event:g}):I.originalIndex!==I.projectedIndex&&u("sort",{containerId:I.sourceContainerId,activeId:x.activeId,fromIndex:I.originalIndex,toIndex:I.projectedIndex,event:g})),u("dragEnd",{active:{id:x.activeId,data:x.data},over:w?{id:w.id,data:w.data}:null,cancelled:!1,event:g}),bt()}function Ne(g){n();let x=r.operation;x&&(u("dragCancel",{active:{id:x.activeId,data:x.data},event:g}),u("dragEnd",{active:{id:x.activeId,data:x.data},over:null,cancelled:!0,event:g}),bt())}function bt(){ze(),ae(),S.clear(),b={x:0,y:0},oe=null,h=null,l(g=>({...g,operation:null,collisions:[],sortable:null}))}let Be=new Set;function _t(g,x,w){if(n(),!Je())return()=>{};let I=w?.activationDistance??5,z=w?.activationDelay??0,L=!1,G=!1,de=null,re=null,se=z===0,he=null,ye=null,D=null;function Q(){L=!1,G=!1,de=null,se=z===0,re!==null&&(clearTimeout(re),re=null),he!==null&&(cancelAnimationFrame(he),he=null),ye=null,D=null,document.removeEventListener("pointermove",le),document.removeEventListener("pointerup",be),document.removeEventListener("pointercancel",i),document.removeEventListener("keydown",d),document.removeEventListener("contextmenu",E)}function q(){ye&&D&&G&&(De(D,ye),ye=null,D=null),he=null}function X(T){if(!(T.button!==0||r.operation||r.draggables.get(x)?.disabled)){L=!0,de={x:T.clientX,y:T.clientY},se=z===0;try{g.setPointerCapture(T.pointerId)}catch{}z>0&&(re=setTimeout(()=>{se=!0,re=null},z)),document.addEventListener("pointermove",le),document.addEventListener("pointerup",be),document.addEventListener("pointercancel",i),document.addEventListener("keydown",d),document.addEventListener("contextmenu",E)}}function le(T){if(!L&&!G||!de)return;let B={x:T.clientX,y:T.clientY};if(!G){let F=vt(de,B);if(!se){F>I&&Q();return}if(F<I)return;G=!0,L=!1,lt(T,x);return}ye=B,D=T,he===null&&(he=requestAnimationFrame(q))}function be(T){G&&(ye&&De(T,ye),je(T));try{g.releasePointerCapture(T.pointerId)}catch{}Q()}function i(T){G&&Ne(T);try{g.releasePointerCapture(T.pointerId)}catch{}Q()}function d(T){T.key==="Escape"&&G&&(Ne(T),Q())}function E(T){(G||L)&&T.preventDefault()}g.addEventListener("pointerdown",X);let P=()=>{Q(),g.removeEventListener("pointerdown",X),Be.delete(P)};return Be.add(P),P}function At(g,x,w){if(n(),!Je())return()=>{};let I=w?.step??25,z=w?.fastStep??I*5,L=!1;function G(D){if(!r.draggables.get(x)?.disabled){if(!L){(D.key===" "||D.key==="Enter")&&(D.preventDefault(),L=!0,lt(D,x));return}switch(D.preventDefault(),D.key){case"Escape":L=!1,Ne(D);break;case"Tab":L=!1,Ne(D);break;case" ":case"Enter":L=!1,je(D);break;case"ArrowUp":case"ArrowDown":case"ArrowLeft":case"ArrowRight":if(!r.operation)break;if(r.sortable!==null)de(D);else{let q=D.shiftKey?z:I,X=r.operation.current,le={x:X.x,y:X.y};D.key==="ArrowUp"&&(le.y-=q),D.key==="ArrowDown"&&(le.y+=q),D.key==="ArrowLeft"&&(le.x-=q),D.key==="ArrowRight"&&(le.x+=q),De(D,le)}break;case"Home":case"End":r.sortable&&re(D);break}}}function de(D){if(!r.operation||!r.sortable)return;let{currentContainerId:Q,projectedIndex:q}=r.sortable,X=r.sortableContainers.get(Q);if(!X)return;let le=X.direction==="vertical"||X.direction==="grid",be=X.direction==="horizontal"||X.direction==="grid",i=q,d=Q;if(D.key==="ArrowUp"&&le||D.key==="ArrowLeft"&&be)i>0&&i--;else if(D.key==="ArrowDown"&&le||D.key==="ArrowRight"&&be){let E=X.items.filter(P=>P!==r.operation.activeId).length;i<E&&i++}else if(D.key==="ArrowLeft"||D.key==="ArrowRight"){let E=he(Q,D.key==="ArrowRight"?"right":"left");E&&(d=E.id,i=0)}(i!==q||d!==Q)&&se(d,i,D)}function re(D){if(!r.operation||!r.sortable)return;let Q=r.sortableContainers.get(r.sortable.currentContainerId);if(!Q)return;let q=Q.items.filter(le=>le!==r.operation.activeId),X=D.key==="Home"?q[0]:q[q.length-1];if(X!=null){let le=O(X,b);le&&De(D,He(le))}}function se(D,Q,q){let X=r.sortableContainers.get(D);if(!X)return;let le=X.items.filter(i=>i!==r.operation.activeId),be=le[Math.min(Q,le.length-1)];if(be!=null){let i=O(be,b);if(i){De(q,He(i));let d=r.draggables.get(be);d?.node&&d.node.scrollIntoView({block:"nearest",inline:"nearest",behavior:"smooth"})}}}function he(D,Q){let q=O(D,b);if(!q)return null;let X=He(q),le=null,be=1/0;for(let[i,d]of r.sortableContainers){if(i===D)continue;let E=O(i,b);if(!E)continue;let P=He(E);if(Q==="right"&&P.x<=X.x||Q==="left"&&P.x>=X.x)continue;let T=r.draggables.get(r.operation.activeId);if(d.accept&&T?.scope!=null&&!d.accept.includes(T.scope))continue;let B=vt(X,P);B<be&&(be=B,le=d)}return le}g.addEventListener("keydown",G);let ye=()=>{L&&(L=!1,Ne()),g.removeEventListener("keydown",G),Be.delete(ye)};return Be.add(ye),ye}function xt(g){return n(),l(x=>{let w=new Map(x.draggables);return w.set(g.id,g),{...x,draggables:w}}),()=>{r.operation?.activeId===g.id&&Ne(),l(x=>{let w=new Map(x.draggables);return w.delete(g.id),{...x,draggables:w}})}}function Ce(g){return n(),l(x=>{let w=new Map(x.droppables);return w.set(g.id,g),{...x,droppables:w}}),()=>{l(x=>{let w=new Map(x.droppables);return w.delete(g.id),{...x,droppables:w}})}}function It(g){return n(),l(x=>{let w=new Map(x.sortableContainers);return w.set(g.id,g),{...x,sortableContainers:w}}),g.node&&H&&H.observe(g.node),()=>{g.node&&H&&H.unobserve(g.node),l(x=>{let w=new Map(x.sortableContainers);return w.delete(g.id),{...x,sortableContainers:w}})}}function Jt(g,x){let w=C[g];return w?w(x):""}return Je()&&(M(),j()),{getState:()=>r,subscribe(g){return n(),o.add(g),()=>{o.delete(g)}},registerDraggable:xt,registerDroppable:Ce,registerSortableContainer:It,startDrag:lt,updateDrag:De,endDrag:je,cancelDrag:Ne,on(g,x){n(),c.has(g)||c.set(g,new Set);let w=c.get(g),I=x;return w.add(I),()=>{w.delete(I)}},attachPointerSensor:_t,attachKeyboardSensor:At,setScrollableElement(g){h=g},setCollisionDetection(g){f=g},measureRects:R,getAdjustedRect:O,getAnnouncement:Jt,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}),ze(),ae());for(let g of Be)g();Be.clear(),H?.disconnect(),H=null,k?.(),k=null,$.cancel(),W.cancel(),c.clear(),o.clear(),S.clear(),r={operation:null,draggables:new Map,droppables:new Map,sortableContainers:new Map,collisions:[],sortable:null}}}}}var Co=ne(ee());var[yo,Il]=xr();var pn={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 go={...pn,as:"div"};var Ee=ne(ee());var Kn=new WeakMap,Ll=Object.freeze({display:"none"}),Ml=Object.freeze({visibility:"hidden",maxHeight:"0"});function vo(e){switch(e){case"display":return Ll;case"visibility":return Ml;default:return}}function qn(e,t){if(!e)return;Kn.has(e)||Kn.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=vo(t);n&&Object.assign(e.style,n)}function bo(e,t){if(!e)return;let n=Kn.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}Kn.delete(e)}var Dl=Object.defineProperty,Si=Object.getOwnPropertySymbols,Nl=Object.prototype.hasOwnProperty,$l=Object.prototype.propertyIsEnumerable,Ei=(e,t,n)=>t in e?Dl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xo=(e,t)=>{for(var n in t||(t={}))Nl.call(t,n)&&Ei(e,n,t[n]);if(Si)for(var n of Si(t))$l.call(t,n)&&Ei(e,n,t[n]);return e};var Yn="animation",mn="transition",Hl=["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 Ri(e){return e?e.disabled||!!(e.safe&&ns()):!1}function wi(e,t){return e?xo(xo({},e),Object.entries(t).reduce((n,[r,o])=>{var s;return n[r]=(s=e[r])!=null?s:o,n},{})):xo({},t)}function Ci(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 Pi(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 Ti(e,t){let n=window.getComputedStyle(e),r=m=>{let v=n[`${m}Duration`].split(", ").map(tr),y=n[`${m}Delay`].split(", ").map(tr);return y.length<v.length&&y.length>0&&(y=v.map((b,C)=>y[C%y.length])),[y,v]},[o,s]=r(mn),[a,l]=r(Yn),c=Math.max(...s.map((m,v)=>m+o[v])),u=Math.max(...l.map((m,v)=>m+a[v])),f,p=0,h=0;return t===mn?c>0&&(f=mn,p=c,h=s.length):t===Yn?u>0&&(f=Yn,p=u,h=l.length):(p=Math.max(c,u),f=p>0?c>u?mn:Yn:void 0,h=f?f===mn?s.length:l.length:0),{type:f,timeout:p,count:h}}function Oi(e,t){return typeof e=="number"?e:e!=null&&typeof e=="object"&&e[t]!=null?e[t]:null}function Ot(e,t){return e?`--${e}-${t}`:`--${t}`}function hn(e,t,n){let{autoHeight:r,autoWidth:o,cssVarPrefix:s}=t,a=typeof n=="object";r&&mr(e,Ot(s,"height"),a?n.height:n),o&&mr(e,Ot(s,"width"),a?n.width:n)}function So(e,t){if(!t.autoHeight&&!t.autoWidth)return;let n=e.scrollHeight,r=e.scrollWidth;if(!n||!r){let o=Qo(e);n||(n=o.height),r||(r=o.width)}hn(e,t,{height:n+"px",width:r+"px"})}function _i(e,t){e.setAttribute(`data-${t}-phase`,"")}function Eo(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 Ro(e){e.removeAttribute("data-enter-phase"),e.removeAttribute("data-leave-phase")}function Ai(e){Hl.forEach(t=>e.removeAttribute(t))}var Md=Object.freeze({name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!0,cssVarPrefix:""});var jl=Object.freeze({}),Ii={name:"p",safe:!0,disabled:!1,enter:!0,leave:!0,autoHeight:!0,autoWidth:!1};function ki(e,t){if(!e)throw new Error("Element is required.");let n={},r=!1,o={},s=null,a={},l=f=>{if(Object.assign(n,wi(f,Ii)),!n.enter&&!n.leave)throw new Error("Enter or leave must be true.");a=Pi(n),r=Ri(n),o=Ci(n),s=null},c=async f=>{s?.();let{onBefore:p,onStart:h,onAfter:m,onCancelled:v}=a[f]||{},y={element:e};if(_i(e,f),r){p?.(y),h?.(y),m?.(y),Ro(e);return}let{from:b,active:C,to:S}=o[f]||{};return p?.(y),f==="enter"?hn(e,n,"0px"):So(e,n),En(e,b),En(e,C),Eo(e,f,"from"),await pr(),f==="enter"?So(e,n):hn(e,n,"0px"),dr(e,b),En(e,S),Eo(e,f,"to"),h?.(y),new Promise(R=>{let O=Oi(n.duration,f),_=()=>{dr(e,[S,C]),s=null,Ai(e),Ro(e)},$=()=>{_(),m?.(y),R(),f==="enter"&&hn(e,n,"auto")};s=()=>{_(),v?.(y),R()},Ul(e,n.type,O,$)})};l(t);let u={enter:()=>n.enter?c("enter"):Promise.resolve(),leave:()=>n.leave?c("leave"):Promise.resolve(),cancel:()=>{s?.(),s=null},update:(f,p)=>{if(!f)throw new Error("Element is required.");e=f,u.cancel(),l(p)}};return n.appear&&u.enter(),u}var Bl=0;function Ul(e,t,n,r){let o=e._motionEndId=++Bl,s=()=>{o===e._motionEndId&&r()};if(n!=null)return setTimeout(s,n);let{type:a,timeout:l,count:c}=Ti(e,t);if(!a){r();return}let u=a+"end",f=0,p=()=>{e.removeEventListener(u,h,!0),s()},h=m=>{m.target===e&&++f>=c&&p()};e.addEventListener(u,h,{capture:!0,once:!0}),setTimeout(()=>{f<c&&p()},l+1)}var wo=an({name:"useMotion",defaultProps:pn,setup({props:e,elementRef:t}){let[n,r]=Ee.useState(()=>e.visible&&e.mountOnEnter||!e.mountOnEnter),o={rendered:n},s=Ee.useRef(void 0),a=Ee.useRef(!0),l=Ee.useCallback(()=>Ht(e.elementRef)??t?.current,[e.elementRef,t]),c=Ee.useCallback(()=>s.current?.enter(),[]),u=Ee.useCallback(()=>s.current?.leave(),[]),f=Ee.useCallback(()=>s.current?.cancel(),[]),p=Ee.useCallback((m,v={})=>{if(!m)return;let y={...v,enterClass:{from:v.enterFromClassName,to:v.enterToClassName,active:v.enterActiveClassName},leaveClass:{from:v.leaveFromClassName,to:v.leaveToClassName,active:v.leaveActiveClassName}};s.current?s.current?.update(m,y):s.current=ki(m,y)},[]);Ee.useLayoutEffect(()=>()=>{let m=l();bo(m,e.hideStrategy),a.current=!0},[]),Ee.useLayoutEffect(()=>{e.visible&&!n&&r(!0)},[e.visible]),Ee.useLayoutEffect(()=>{let m=l();p?.(m,e)},[]),Ee.useLayoutEffect(()=>{let m=l();if(!m||!n){m&&!e.visible&&qn(m,e.hideStrategy),a.current=!1;return}let v=!1,y=a.current&&e.visible&&e.appear;if(bo(m,e.hideStrategy),p?.(m,e),e.visible){if(y||!a.current)c?.();else if(e.cssVarPrefix){let b=Ot(e.cssVarPrefix,"width"),C=Ot(e.cssVarPrefix,"height");m.style.setProperty(b,"auto"),m.style.setProperty(C,"auto")}}else u?.()?.then(()=>{!m||v||e.visible||(e.unmountOnLeave?(qn(m,e.hideStrategy),pr().then(()=>{v||r(!1)})):qn(m,e.hideStrategy))});return a.current=!1,()=>{v=!0,f?.()}},[e.visible,n,e.unmountOnLeave,e.appear,l]);let h=Ee.useMemo(()=>{if(!e.visible&&!n){let m=Ot(e.cssVarPrefix,"width"),v=Ot(e.cssVarPrefix,"height");return{style:{...vo(e.hideStrategy),[m]:"0px",[v]:"0px"}}}return jl},[e.visible,n,e.hideStrategy,e.cssVarPrefix]);return{state:o,enter:c,leave:u,cancel:f,update:p,rootProps:h}}});var Fl=on({name:"Motion",defaultProps:go,setup(e){return wo(e.inProps)},render(e){let{id:t,props:n,state:r,ptmi:o,rootProps:s}=e,a=ut({id:t},o("root"),s);return Co.createElement(yo,{value:e},Co.createElement(Ft,{pIf:r.rendered,instance:e,attrs:a,children:n.children}))}});var _e=ne(ee()),Vl=(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 Wl(){let e=new Map,t=new Set,n=[],r=[],o=()=>{let a=Array.from(e.values()),l=a.map(c=>({id:c.id,open:c.open}));return Vl(r,l)&&a.length===n.length&&!a.some((u,f)=>u.props!==n[f]?.props)?!1:(n=a,r=l,!0)},s=()=>{o()&&t.forEach(a=>a())};return{subscribe(a){return t.add(a),()=>{t.delete(a)}},getSnapshot(){return n},open(a,l){e.set(a,{id:a,props:l,open:!0}),s()},close(a){if(a===void 0){let c=!1;e.forEach((u,f)=>{u.open&&(e.set(f,{...u,open:!1}),c=!0)}),c&&s();return}let l=e.get(a);l?.open&&(e.set(a,{...l,open:!1}),s())},remove(a){e.delete(a)&&s()},removeAll(){e.size!==0&&(e.clear(),s())},update(a,l){let c=e.get(a);c&&(e.set(a,{...c,props:{...c.props,...l}}),s())},getItem(a){return e.get(a)},isOpen(a){return e.get(a)?.open??!1},isAnyOpen(){for(let a of e.values())if(a.open)return!0;return!1}}}function zl({item:e,store:t,render:n,defaults:r}){let[o,s]=_e.useState(!1);_e.useEffect(()=>{s(!0)},[]);let a=_e.useCallback(c=>{c.value||t.close(e.id)},[e.id,t]),l=_e.useCallback(()=>{t.remove(e.id)},[e.id,t]);return _e.createElement(_e.Fragment,null,n.current({...r.current,...e.props,overlayId:e.id,open:o?e.open:!1,onOpenChange:a,onExitComplete:l}))}var Kl=(e,t,n)=>{let r=()=>{let o=_e.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getSnapshot);return _e.createElement(_e.Fragment,null,o.map(s=>_e.createElement(zl,{key:s.id,item:s,store:e,render:t,defaults:n})))};return r.displayName="OverlayManagerRender",r},ql=["open","onOpenChange","onExitComplete","overlayId"];function Yl(e){let t={...e};for(let n of ql)delete t[n];return t}function Gl(e,t={}){let n=Wl(),r={current:e},o={current:t.props},s=Kl(n,r,o);return{open:n.open,close:n.close,remove:n.remove,removeAll:n.removeAll,update:(a,l)=>n.update(a,Yl(l)),isOpen:n.isOpen,isAnyOpen:n.isAnyOpen,get:a=>n.getItem(a)?.props,getSnapshot:n.getSnapshot,setRender:a=>{r.current=a},Viewport:s}}var Li=ne(ee()),Po=class extends xs{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(!Ke(o))return Li.createElement("style",{...r,"data-primereact-style-id":o,key:o},n)}};return Fi(Xl);})();
|
|
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
|