mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
328 lines
1.1 MiB
328 lines
1.1 MiB
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginPage-CpY519LO.js","assets/select-BoQxM42A.js","assets/Utils-BP0IYDrC.js","assets/card-BBWyxDss.js","assets/arrow-left-CE5-YfaQ.js","assets/lock-BCybB-Lq.js","assets/eye-Bhud4znU.js","assets/eye-off-CDMvHElM.js","assets/phone-Ce15UUGI.js","assets/mail-bwr0seHR.js","assets/ForgotPassword-CyFdgyUu.js","assets/refresh-cw-JB7N413f.js","assets/ResetPassword-DeJuLwFx.js","assets/SetPassword-bCvH9rTk.js","assets/ChangePassword-DnAAu07A.js","assets/OrgAdminDashboard-DhPmvSML.js","assets/useOrganizationReport-D3QtWTPL.js","assets/organizationsService-BEVk8qa1.js","assets/alert-8Xu28MAD.js","assets/skeleton-CIiqp2Y5.js","assets/Skeleton-BJECajc_.js","assets/SmartOfficeAuditPage-DLN72875.js","assets/table-D3n3VABd.js","assets/badge-D7JvaQeJ.js","assets/avatar-C2-XEZ4v.js","assets/format-DvwV82px.js","assets/en-US-Cc-9gH5A.js","assets/shield-uC_usZTb.js","assets/square-pen-B91TPB19.js","assets/download-CX6rsOqt.js","assets/popover-X-j_SRnG.js","assets/Popover-CzANYrEa.js","assets/use-uncontrolled-C3HRHW6t.js","assets/endOfMonth-DmxQbzXi.js","assets/search-CM5F2ZRy.js","assets/label-CsFy6wpo.js","assets/radio-group-DqG5gUnT.js","assets/Radio-C3SNvFel.js","assets/get-auto-contrast-value-Da6zqqWm.js","assets/InputsGroupFieldset-COkNgcEo.js","assets/checkbox-Dd0VhnrO.js","assets/Checkbox-IILksgz0.js","assets/SmartOfficeAuditPage-BQ86seID.css","assets/users-DNqydOCy.js","assets/circle-alert-Cd_zeQMw.js","assets/UserManagementPage-DR2Y3pv2.js","assets/use-toast-CdbbItn1.js","assets/utils-BncSPdK1.js","assets/ellipsis-CbtaBcvT.js","assets/plus-BdjS2Pc-.js","assets/useEmployeePostions-CMraotEg.js","assets/employeePositionsService-CkHoE9xG.js","assets/user-plus-CBq7Z0dQ.js","assets/pencil-BBczLcc3.js","assets/proxy-i8Py-I0x.js","assets/ellipsis-vertical-Cs1B3vez.js","assets/usePosition-Y8Dhf3qk.js","assets/positionService-JD0NEiGK.js","assets/usePositionTypes-BW1bd5Uk.js","assets/useEmployees-CygwM5u6.js","assets/useOrganizations-DiuNBweX.js","assets/useUnit-C4s9nepK.js","assets/unitService-CmGVtFHQ.js","assets/alert-dialog-B5Y0wlSz.js","assets/useConfig-B72ZZHmV.js","assets/useQueries-XKsSk0XW.js","assets/xlsx-sUI8S2SR.js","assets/useArchived-D2u5xEKl.js","assets/chevron-left-DCpEaNzo.js","assets/Switch-DSHMk-sj.js","assets/create-scoped-keydown-handler-O-eo68DQ.js","assets/UserManagementPage-g5QT08nf.css","assets/ContentManagementPage-CLduruyz.js","assets/presignedAxios-BunkFbUr.js","assets/index.esm-BG4gweZJ.js","assets/useTemplate-CcP413sN.js","assets/useUnitConfiguration-CKdECszp.js","assets/useSettings-BtSYqn9W.js","assets/organizationService-DPKKJMFw.js","assets/multi-select-C9K8HXhI.js","assets/separator-BaOOgzZX.js","assets/command-Cr0tMDDu.js","assets/single-select-D9ZG1edj.js","assets/AdvancedTable-CC9ioMU-.js","assets/zod-Df58YiJ6.js","assets/form-BeLK5rTt.js","assets/XSSUploadValidator-BMXKraj-.js","assets/loader-mVRAFg0f.js","assets/building-B2uZxFCD.js","assets/BulkUploadPage-DwoaDuCZ.js","assets/WebManagementPage-eEhih19q.js","assets/textarea-BNzPMo41.js","assets/message-square-BPZTcbJs.js","assets/ConfigurationPage-tOdQq5-t.js","assets/switch-BNCD27Bd.js","assets/shield-check-BeHB0C5s.js","assets/ArchiveUsersPage-B2jF61Wl.js","assets/ArchivedUserColumnDefn-DQXeUrrA.js","assets/ArchivedUnitsPositionsPage-m1hNEzal.js","assets/archive-restore-CST5LuiK.js","assets/UserProfileEditPage-CR2hIt1q.js","assets/userService-BHeFzZdn.js","assets/save-BpdaNhEd.js","assets/index-GOIG67wS.js","assets/create-CKkKJa2c.js","assets/useApplications-DVlMarnX.js","assets/edit-C8FjiyEI.js","assets/MigratedDataManagementPage--fzsv4lI.js","assets/FormFields-BA7SVWfi.js","assets/ViewMigratedDataPage-BKcu67Dm.js","assets/DashboardPage-Ci5_Ntjr.js","assets/formatDistanceToNow-DU8jvZv6.js","assets/OrganizationsPage-Cai8R-Dj.js","assets/StatusCell-D7zi31G6.js","assets/useOrganizationAdmins-Bl-gbkwr.js","assets/OrganizationDetailPage-C-bRL7xT.js","assets/useOrganizationTypes-B6vCp97C.js","assets/NewOrganizationPage-C0u3U4kS.js","assets/OrganizationForm-Dc20iiRT.js","assets/EditOrganizationPage-C2QJGrYB.js","assets/PendingExternalUsers-DTQ4H5AP.js","assets/UploadedDocumentViewPage-lpdNqwqn.js","assets/scroll-area-zSBvHuIO.js","assets/OrganizationAdminsPage-BvY4PVex.js","assets/AdminRegistrationPage-DvAhYHqv.js","assets/ActivityLogPage-CaXVQavd.js","assets/SettingsPage-DLv7kKUv.js","assets/SuperAdminArchiveUsersPage-DOLQicng.js","assets/SuperAdminArchivedPage-BdhC08Eo.js","assets/templates-BkP239QJ.js"])))=>i?.map(i=>d[i]);
|
||
var yb=e=>{throw TypeError(e)};var Wp=(e,t,r)=>t.has(e)||yb("Cannot "+r);var $=(e,t,r)=>(Wp(e,t,"read from private field"),r?r.call(e):t.get(e)),Pe=(e,t,r)=>t.has(e)?yb("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ye=(e,t,r,n)=>(Wp(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),je=(e,t,r)=>(Wp(e,t,"access private method"),r);var uu=(e,t,r,n)=>({set _(i){ye(e,t,i,r)},get _(){return $(e,t,n)}});function kA(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(e,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();function bd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _H(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Gp={exports:{}},cl={},Kp={exports:{}},Ie={},vb;function PA(){if(vb)return Ie;vb=1;/**
|
||
* @license React
|
||
* react.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.iterator;function w(D){return D===null||typeof D!="object"?null:(D=m&&D[m]||D["@@iterator"],typeof D=="function"?D:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C=Object.assign,x={};function R(D,V,ee){this.props=D,this.context=V,this.refs=x,this.updater=ee||v}R.prototype.isReactComponent={},R.prototype.setState=function(D,V){if(typeof D!="object"&&typeof D!="function"&&D!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,D,V,"setState")},R.prototype.forceUpdate=function(D){this.updater.enqueueForceUpdate(this,D,"forceUpdate")};function E(){}E.prototype=R.prototype;function P(D,V,ee){this.props=D,this.context=V,this.refs=x,this.updater=ee||v}var k=P.prototype=new E;k.constructor=P,C(k,R.prototype),k.isPureReactComponent=!0;var T=Array.isArray,N=Object.prototype.hasOwnProperty,j={current:null},M={key:!0,ref:!0,__self:!0,__source:!0};function O(D,V,ee){var re,oe={},ie=null,me=null;if(V!=null)for(re in V.ref!==void 0&&(me=V.ref),V.key!==void 0&&(ie=""+V.key),V)N.call(V,re)&&!M.hasOwnProperty(re)&&(oe[re]=V[re]);var ue=arguments.length-2;if(ue===1)oe.children=ee;else if(1<ue){for(var pe=Array(ue),ve=0;ve<ue;ve++)pe[ve]=arguments[ve+2];oe.children=pe}if(D&&D.defaultProps)for(re in ue=D.defaultProps,ue)oe[re]===void 0&&(oe[re]=ue[re]);return{$$typeof:e,type:D,key:ie,ref:me,props:oe,_owner:j.current}}function B(D,V){return{$$typeof:e,type:D.type,key:V,ref:D.ref,props:D.props,_owner:D._owner}}function H(D){return typeof D=="object"&&D!==null&&D.$$typeof===e}function Y(D){var V={"=":"=0",":":"=2"};return"$"+D.replace(/[=:]/g,function(ee){return V[ee]})}var ne=/\/+/g;function te(D,V){return typeof D=="object"&&D!==null&&D.key!=null?Y(""+D.key):V.toString(36)}function K(D,V,ee,re,oe){var ie=typeof D;(ie==="undefined"||ie==="boolean")&&(D=null);var me=!1;if(D===null)me=!0;else switch(ie){case"string":case"number":me=!0;break;case"object":switch(D.$$typeof){case e:case t:me=!0}}if(me)return me=D,oe=oe(me),D=re===""?"."+te(me,0):re,T(oe)?(ee="",D!=null&&(ee=D.replace(ne,"$&/")+"/"),K(oe,V,ee,"",function(ve){return ve})):oe!=null&&(H(oe)&&(oe=B(oe,ee+(!oe.key||me&&me.key===oe.key?"":(""+oe.key).replace(ne,"$&/")+"/")+D)),V.push(oe)),1;if(me=0,re=re===""?".":re+":",T(D))for(var ue=0;ue<D.length;ue++){ie=D[ue];var pe=re+te(ie,ue);me+=K(ie,V,ee,pe,oe)}else if(pe=w(D),typeof pe=="function")for(D=pe.call(D),ue=0;!(ie=D.next()).done;)ie=ie.value,pe=re+te(ie,ue++),me+=K(ie,V,ee,pe,oe);else if(ie==="object")throw V=String(D),Error("Objects are not valid as a React child (found: "+(V==="[object Object]"?"object with keys {"+Object.keys(D).join(", ")+"}":V)+"). If you meant to render a collection of children, use an array instead.");return me}function W(D,V,ee){if(D==null)return D;var re=[],oe=0;return K(D,re,"","",function(ie){return V.call(ee,ie,oe++)}),re}function U(D){if(D._status===-1){var V=D._result;V=V(),V.then(function(ee){(D._status===0||D._status===-1)&&(D._status=1,D._result=ee)},function(ee){(D._status===0||D._status===-1)&&(D._status=2,D._result=ee)}),D._status===-1&&(D._status=0,D._result=V)}if(D._status===1)return D._result.default;throw D._result}var z={current:null},_={transition:null},I={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:_,ReactCurrentOwner:j};function L(){throw Error("act(...) is not supported in production builds of React.")}return Ie.Children={map:W,forEach:function(D,V,ee){W(D,function(){V.apply(this,arguments)},ee)},count:function(D){var V=0;return W(D,function(){V++}),V},toArray:function(D){return W(D,function(V){return V})||[]},only:function(D){if(!H(D))throw Error("React.Children.only expected to receive a single React element child.");return D}},Ie.Component=R,Ie.Fragment=r,Ie.Profiler=i,Ie.PureComponent=P,Ie.StrictMode=n,Ie.Suspense=d,Ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,Ie.act=L,Ie.cloneElement=function(D,V,ee){if(D==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+D+".");var re=C({},D.props),oe=D.key,ie=D.ref,me=D._owner;if(V!=null){if(V.ref!==void 0&&(ie=V.ref,me=j.current),V.key!==void 0&&(oe=""+V.key),D.type&&D.type.defaultProps)var ue=D.type.defaultProps;for(pe in V)N.call(V,pe)&&!M.hasOwnProperty(pe)&&(re[pe]=V[pe]===void 0&&ue!==void 0?ue[pe]:V[pe])}var pe=arguments.length-2;if(pe===1)re.children=ee;else if(1<pe){ue=Array(pe);for(var ve=0;ve<pe;ve++)ue[ve]=arguments[ve+2];re.children=ue}return{$$typeof:e,type:D.type,key:oe,ref:ie,props:re,_owner:me}},Ie.createContext=function(D){return D={$$typeof:l,_currentValue:D,_currentValue2:D,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},D.Provider={$$typeof:a,_context:D},D.Consumer=D},Ie.createElement=O,Ie.createFactory=function(D){var V=O.bind(null,D);return V.type=D,V},Ie.createRef=function(){return{current:null}},Ie.forwardRef=function(D){return{$$typeof:c,render:D}},Ie.isValidElement=H,Ie.lazy=function(D){return{$$typeof:h,_payload:{_status:-1,_result:D},_init:U}},Ie.memo=function(D,V){return{$$typeof:f,type:D,compare:V===void 0?null:V}},Ie.startTransition=function(D){var V=_.transition;_.transition={};try{D()}finally{_.transition=V}},Ie.unstable_act=L,Ie.useCallback=function(D,V){return z.current.useCallback(D,V)},Ie.useContext=function(D){return z.current.useContext(D)},Ie.useDebugValue=function(){},Ie.useDeferredValue=function(D){return z.current.useDeferredValue(D)},Ie.useEffect=function(D,V){return z.current.useEffect(D,V)},Ie.useId=function(){return z.current.useId()},Ie.useImperativeHandle=function(D,V,ee){return z.current.useImperativeHandle(D,V,ee)},Ie.useInsertionEffect=function(D,V){return z.current.useInsertionEffect(D,V)},Ie.useLayoutEffect=function(D,V){return z.current.useLayoutEffect(D,V)},Ie.useMemo=function(D,V){return z.current.useMemo(D,V)},Ie.useReducer=function(D,V,ee){return z.current.useReducer(D,V,ee)},Ie.useRef=function(D){return z.current.useRef(D)},Ie.useState=function(D){return z.current.useState(D)},Ie.useSyncExternalStore=function(D,V,ee){return z.current.useSyncExternalStore(D,V,ee)},Ie.useTransition=function(){return z.current.useTransition()},Ie.version="18.3.1",Ie}var bb;function sg(){return bb||(bb=1,Kp.exports=PA()),Kp.exports}/**
|
||
* @license React
|
||
* react-jsx-runtime.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var wb;function AA(){if(wb)return cl;wb=1;var e=sg(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(c,d,f){var h,m={},w=null,v=null;f!==void 0&&(w=""+f),d.key!==void 0&&(w=""+d.key),d.ref!==void 0&&(v=d.ref);for(h in d)n.call(d,h)&&!a.hasOwnProperty(h)&&(m[h]=d[h]);if(c&&c.defaultProps)for(h in d=c.defaultProps,d)m[h]===void 0&&(m[h]=d[h]);return{$$typeof:t,type:c,key:w,ref:v,props:m,_owner:i.current}}return cl.Fragment=r,cl.jsx=l,cl.jsxs=l,cl}var Sb;function TA(){return Sb||(Sb=1,Gp.exports=AA()),Gp.exports}var b=TA(),g=sg();const le=bd(g),wd=kA({__proto__:null,default:le},[g]);var du={},Yp={exports:{}},Cr={},Xp={exports:{}},Qp={};/**
|
||
* @license React
|
||
* scheduler.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var xb;function NA(){return xb||(xb=1,(function(e){function t(_,I){var L=_.length;_.push(I);e:for(;0<L;){var D=L-1>>>1,V=_[D];if(0<i(V,I))_[D]=I,_[L]=V,L=D;else break e}}function r(_){return _.length===0?null:_[0]}function n(_){if(_.length===0)return null;var I=_[0],L=_.pop();if(L!==I){_[0]=L;e:for(var D=0,V=_.length,ee=V>>>1;D<ee;){var re=2*(D+1)-1,oe=_[re],ie=re+1,me=_[ie];if(0>i(oe,L))ie<V&&0>i(me,oe)?(_[D]=me,_[ie]=L,D=ie):(_[D]=oe,_[re]=L,D=re);else if(ie<V&&0>i(me,L))_[D]=me,_[ie]=L,D=ie;else break e}}return I}function i(_,I){var L=_.sortIndex-I.sortIndex;return L!==0?L:_.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],f=[],h=1,m=null,w=3,v=!1,C=!1,x=!1,R=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function k(_){for(var I=r(f);I!==null;){if(I.callback===null)n(f);else if(I.startTime<=_)n(f),I.sortIndex=I.expirationTime,t(d,I);else break;I=r(f)}}function T(_){if(x=!1,k(_),!C)if(r(d)!==null)C=!0,U(N);else{var I=r(f);I!==null&&z(T,I.startTime-_)}}function N(_,I){C=!1,x&&(x=!1,E(O),O=-1),v=!0;var L=w;try{for(k(I),m=r(d);m!==null&&(!(m.expirationTime>I)||_&&!Y());){var D=m.callback;if(typeof D=="function"){m.callback=null,w=m.priorityLevel;var V=D(m.expirationTime<=I);I=e.unstable_now(),typeof V=="function"?m.callback=V:m===r(d)&&n(d),k(I)}else n(d);m=r(d)}if(m!==null)var ee=!0;else{var re=r(f);re!==null&&z(T,re.startTime-I),ee=!1}return ee}finally{m=null,w=L,v=!1}}var j=!1,M=null,O=-1,B=5,H=-1;function Y(){return!(e.unstable_now()-H<B)}function ne(){if(M!==null){var _=e.unstable_now();H=_;var I=!0;try{I=M(!0,_)}finally{I?te():(j=!1,M=null)}}else j=!1}var te;if(typeof P=="function")te=function(){P(ne)};else if(typeof MessageChannel<"u"){var K=new MessageChannel,W=K.port2;K.port1.onmessage=ne,te=function(){W.postMessage(null)}}else te=function(){R(ne,0)};function U(_){M=_,j||(j=!0,te())}function z(_,I){O=R(function(){_(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(_){_.callback=null},e.unstable_continueExecution=function(){C||v||(C=!0,U(N))},e.unstable_forceFrameRate=function(_){0>_||125<_||(B=0<_?Math.floor(1e3/_):5)},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(d)},e.unstable_next=function(_){switch(w){case 1:case 2:case 3:var I=3;break;default:I=w}var L=w;w=I;try{return _()}finally{w=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,I){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var L=w;w=_;try{return I()}finally{w=L}},e.unstable_scheduleCallback=function(_,I,L){var D=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?D+L:D):L=D,_){case 1:var V=-1;break;case 2:V=250;break;case 5:V=1073741823;break;case 4:V=1e4;break;default:V=5e3}return V=L+V,_={id:h++,callback:I,priorityLevel:_,startTime:L,expirationTime:V,sortIndex:-1},L>D?(_.sortIndex=L,t(f,_),r(d)===null&&_===r(f)&&(x?(E(O),O=-1):x=!0,z(T,L-D))):(_.sortIndex=V,t(d,_),C||v||(C=!0,U(N))),_},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(_){var I=w;return function(){var L=w;w=I;try{return _.apply(this,arguments)}finally{w=L}}}})(Qp)),Qp}var Cb;function DA(){return Cb||(Cb=1,Xp.exports=NA()),Xp.exports}/**
|
||
* @license React
|
||
* react-dom.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Rb;function OA(){if(Rb)return Cr;Rb=1;var e=sg(),t=DA();function r(o){for(var s="https://reactjs.org/docs/error-decoder.html?invariant="+o,u=1;u<arguments.length;u++)s+="&args[]="+encodeURIComponent(arguments[u]);return"Minified React error #"+o+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function a(o,s){l(o,s),l(o+"Capture",s)}function l(o,s){for(i[o]=s,o=0;o<s.length;o++)n.add(s[o])}var c=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,h={},m={};function w(o){return d.call(m,o)?!0:d.call(h,o)?!1:f.test(o)?m[o]=!0:(h[o]=!0,!1)}function v(o,s,u,p){if(u!==null&&u.type===0)return!1;switch(typeof s){case"function":case"symbol":return!0;case"boolean":return p?!1:u!==null?!u.acceptsBooleans:(o=o.toLowerCase().slice(0,5),o!=="data-"&&o!=="aria-");default:return!1}}function C(o,s,u,p){if(s===null||typeof s>"u"||v(o,s,u,p))return!0;if(p)return!1;if(u!==null)switch(u.type){case 3:return!s;case 4:return s===!1;case 5:return isNaN(s);case 6:return isNaN(s)||1>s}return!1}function x(o,s,u,p,y,S,A){this.acceptsBooleans=s===2||s===3||s===4,this.attributeName=p,this.attributeNamespace=y,this.mustUseProperty=u,this.propertyName=o,this.type=s,this.sanitizeURL=S,this.removeEmptyString=A}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(o){R[o]=new x(o,0,!1,o,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(o){var s=o[0];R[s]=new x(s,1,!1,o[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(o){R[o]=new x(o,2,!1,o.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(o){R[o]=new x(o,2,!1,o,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(o){R[o]=new x(o,3,!1,o.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(o){R[o]=new x(o,3,!0,o,null,!1,!1)}),["capture","download"].forEach(function(o){R[o]=new x(o,4,!1,o,null,!1,!1)}),["cols","rows","size","span"].forEach(function(o){R[o]=new x(o,6,!1,o,null,!1,!1)}),["rowSpan","start"].forEach(function(o){R[o]=new x(o,5,!1,o.toLowerCase(),null,!1,!1)});var E=/[\-:]([a-z])/g;function P(o){return o[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(o){var s=o.replace(E,P);R[s]=new x(s,1,!1,o,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(o){var s=o.replace(E,P);R[s]=new x(s,1,!1,o,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(o){var s=o.replace(E,P);R[s]=new x(s,1,!1,o,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(o){R[o]=new x(o,1,!1,o.toLowerCase(),null,!1,!1)}),R.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(o){R[o]=new x(o,1,!1,o.toLowerCase(),null,!0,!0)});function k(o,s,u,p){var y=R.hasOwnProperty(s)?R[s]:null;(y!==null?y.type!==0:p||!(2<s.length)||s[0]!=="o"&&s[0]!=="O"||s[1]!=="n"&&s[1]!=="N")&&(C(s,u,y,p)&&(u=null),p||y===null?w(s)&&(u===null?o.removeAttribute(s):o.setAttribute(s,""+u)):y.mustUseProperty?o[y.propertyName]=u===null?y.type===3?!1:"":u:(s=y.attributeName,p=y.attributeNamespace,u===null?o.removeAttribute(s):(y=y.type,u=y===3||y===4&&u===!0?"":""+u,p?o.setAttributeNS(p,s,u):o.setAttribute(s,u))))}var T=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,N=Symbol.for("react.element"),j=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),Y=Symbol.for("react.context"),ne=Symbol.for("react.forward_ref"),te=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),W=Symbol.for("react.memo"),U=Symbol.for("react.lazy"),z=Symbol.for("react.offscreen"),_=Symbol.iterator;function I(o){return o===null||typeof o!="object"?null:(o=_&&o[_]||o["@@iterator"],typeof o=="function"?o:null)}var L=Object.assign,D;function V(o){if(D===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\n( *(at )?)/);D=s&&s[1]||""}return`
|
||
`+D+o}var ee=!1;function re(o,s){if(!o||ee)return"";ee=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(s)if(s=function(){throw Error()},Object.defineProperty(s.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(s,[])}catch(Z){var p=Z}Reflect.construct(o,[],s)}else{try{s.call()}catch(Z){p=Z}o.call(s.prototype)}else{try{throw Error()}catch(Z){p=Z}o()}}catch(Z){if(Z&&p&&typeof Z.stack=="string"){for(var y=Z.stack.split(`
|
||
`),S=p.stack.split(`
|
||
`),A=y.length-1,F=S.length-1;1<=A&&0<=F&&y[A]!==S[F];)F--;for(;1<=A&&0<=F;A--,F--)if(y[A]!==S[F]){if(A!==1||F!==1)do if(A--,F--,0>F||y[A]!==S[F]){var q=`
|
||
`+y[A].replace(" at new "," at ");return o.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",o.displayName)),q}while(1<=A&&0<=F);break}}}finally{ee=!1,Error.prepareStackTrace=u}return(o=o?o.displayName||o.name:"")?V(o):""}function oe(o){switch(o.tag){case 5:return V(o.type);case 16:return V("Lazy");case 13:return V("Suspense");case 19:return V("SuspenseList");case 0:case 2:case 15:return o=re(o.type,!1),o;case 11:return o=re(o.type.render,!1),o;case 1:return o=re(o.type,!0),o;default:return""}}function ie(o){if(o==null)return null;if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o;switch(o){case M:return"Fragment";case j:return"Portal";case B:return"Profiler";case O:return"StrictMode";case te:return"Suspense";case K:return"SuspenseList"}if(typeof o=="object")switch(o.$$typeof){case Y:return(o.displayName||"Context")+".Consumer";case H:return(o._context.displayName||"Context")+".Provider";case ne:var s=o.render;return o=o.displayName,o||(o=s.displayName||s.name||"",o=o!==""?"ForwardRef("+o+")":"ForwardRef"),o;case W:return s=o.displayName||null,s!==null?s:ie(o.type)||"Memo";case U:s=o._payload,o=o._init;try{return ie(o(s))}catch{}}return null}function me(o){var s=o.type;switch(o.tag){case 24:return"Cache";case 9:return(s.displayName||"Context")+".Consumer";case 10:return(s._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return o=s.render,o=o.displayName||o.name||"",s.displayName||(o!==""?"ForwardRef("+o+")":"ForwardRef");case 7:return"Fragment";case 5:return s;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ie(s);case 8:return s===O?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s}return null}function ue(o){switch(typeof o){case"boolean":case"number":case"string":case"undefined":return o;case"object":return o;default:return""}}function pe(o){var s=o.type;return(o=o.nodeName)&&o.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function ve(o){var s=pe(o)?"checked":"value",u=Object.getOwnPropertyDescriptor(o.constructor.prototype,s),p=""+o[s];if(!o.hasOwnProperty(s)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var y=u.get,S=u.set;return Object.defineProperty(o,s,{configurable:!0,get:function(){return y.call(this)},set:function(A){p=""+A,S.call(this,A)}}),Object.defineProperty(o,s,{enumerable:u.enumerable}),{getValue:function(){return p},setValue:function(A){p=""+A},stopTracking:function(){o._valueTracker=null,delete o[s]}}}}function ge(o){o._valueTracker||(o._valueTracker=ve(o))}function Me(o){if(!o)return!1;var s=o._valueTracker;if(!s)return!0;var u=s.getValue(),p="";return o&&(p=pe(o)?o.checked?"true":"false":o.value),o=p,o!==u?(s.setValue(o),!0):!1}function ze(o){if(o=o||(typeof document<"u"?document:void 0),typeof o>"u")return null;try{return o.activeElement||o.body}catch{return o.body}}function We(o,s){var u=s.checked;return L({},s,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:u??o._wrapperState.initialChecked})}function Pt(o,s){var u=s.defaultValue==null?"":s.defaultValue,p=s.checked!=null?s.checked:s.defaultChecked;u=ue(s.value!=null?s.value:u),o._wrapperState={initialChecked:p,initialValue:u,controlled:s.type==="checkbox"||s.type==="radio"?s.checked!=null:s.value!=null}}function tr(o,s){s=s.checked,s!=null&&k(o,"checked",s,!1)}function at(o,s){tr(o,s);var u=ue(s.value),p=s.type;if(u!=null)p==="number"?(u===0&&o.value===""||o.value!=u)&&(o.value=""+u):o.value!==""+u&&(o.value=""+u);else if(p==="submit"||p==="reset"){o.removeAttribute("value");return}s.hasOwnProperty("value")?rt(o,s.type,u):s.hasOwnProperty("defaultValue")&&rt(o,s.type,ue(s.defaultValue)),s.checked==null&&s.defaultChecked!=null&&(o.defaultChecked=!!s.defaultChecked)}function dr(o,s,u){if(s.hasOwnProperty("value")||s.hasOwnProperty("defaultValue")){var p=s.type;if(!(p!=="submit"&&p!=="reset"||s.value!==void 0&&s.value!==null))return;s=""+o._wrapperState.initialValue,u||s===o.value||(o.value=s),o.defaultValue=s}u=o.name,u!==""&&(o.name=""),o.defaultChecked=!!o._wrapperState.initialChecked,u!==""&&(o.name=u)}function rt(o,s,u){(s!=="number"||ze(o.ownerDocument)!==o)&&(u==null?o.defaultValue=""+o._wrapperState.initialValue:o.defaultValue!==""+u&&(o.defaultValue=""+u))}var At=Array.isArray;function Dr(o,s,u,p){if(o=o.options,s){s={};for(var y=0;y<u.length;y++)s["$"+u[y]]=!0;for(u=0;u<o.length;u++)y=s.hasOwnProperty("$"+o[u].value),o[u].selected!==y&&(o[u].selected=y),y&&p&&(o[u].defaultSelected=!0)}else{for(u=""+ue(u),s=null,y=0;y<o.length;y++){if(o[y].value===u){o[y].selected=!0,p&&(o[y].defaultSelected=!0);return}s!==null||o[y].disabled||(s=o[y])}s!==null&&(s.selected=!0)}}function yt(o,s){if(s.dangerouslySetInnerHTML!=null)throw Error(r(91));return L({},s,{value:void 0,defaultValue:void 0,children:""+o._wrapperState.initialValue})}function fr(o,s){var u=s.value;if(u==null){if(u=s.children,s=s.defaultValue,u!=null){if(s!=null)throw Error(r(92));if(At(u)){if(1<u.length)throw Error(r(93));u=u[0]}s=u}s==null&&(s=""),u=s}o._wrapperState={initialValue:ue(u)}}function Yn(o,s){var u=ue(s.value),p=ue(s.defaultValue);u!=null&&(u=""+u,u!==o.value&&(o.value=u),s.defaultValue==null&&o.defaultValue!==u&&(o.defaultValue=u)),p!=null&&(o.defaultValue=""+p)}function Ze(o){var s=o.textContent;s===o._wrapperState.initialValue&&s!==""&&s!==null&&(o.value=s)}function pr(o){switch(o){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function mr(o,s){return o==null||o==="http://www.w3.org/1999/xhtml"?pr(s):o==="http://www.w3.org/2000/svg"&&s==="foreignObject"?"http://www.w3.org/1999/xhtml":o}var kn,Ao=(function(o){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(s,u,p,y){MSApp.execUnsafeLocalFunction(function(){return o(s,u,p,y)})}:o})(function(o,s){if(o.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in o)o.innerHTML=s;else{for(kn=kn||document.createElement("div"),kn.innerHTML="<svg>"+s.valueOf().toString()+"</svg>",s=kn.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;s.firstChild;)o.appendChild(s.firstChild)}});function hr(o,s){if(s){var u=o.firstChild;if(u&&u===o.lastChild&&u.nodeType===3){u.nodeValue=s;return}}o.textContent=s}var he={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Oe=["Webkit","ms","Moz","O"];Object.keys(he).forEach(function(o){Oe.forEach(function(s){s=s+o.charAt(0).toUpperCase()+o.substring(1),he[s]=he[o]})});function ut(o,s,u){return s==null||typeof s=="boolean"||s===""?"":u||typeof s!="number"||s===0||he.hasOwnProperty(o)&&he[o]?(""+s).trim():s+"px"}function zt(o,s){o=o.style;for(var u in s)if(s.hasOwnProperty(u)){var p=u.indexOf("--")===0,y=ut(u,s[u],p);u==="float"&&(u="cssFloat"),p?o.setProperty(u,y):o[u]=y}}var gr=L({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mt(o,s){if(s){if(gr[o]&&(s.children!=null||s.dangerouslySetInnerHTML!=null))throw Error(r(137,o));if(s.dangerouslySetInnerHTML!=null){if(s.children!=null)throw Error(r(60));if(typeof s.dangerouslySetInnerHTML!="object"||!("__html"in s.dangerouslySetInnerHTML))throw Error(r(61))}if(s.style!=null&&typeof s.style!="object")throw Error(r(62))}}function yr(o,s){if(o.indexOf("-")===-1)return typeof s.is=="string";switch(o){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Tt=null;function rr(o){return o=o.target||o.srcElement||window,o.correspondingUseElement&&(o=o.correspondingUseElement),o.nodeType===3?o.parentNode:o}var To=null,Br=null,Xn=null;function Aa(o){if(o=Ka(o)){if(typeof To!="function")throw Error(r(280));var s=o.stateNode;s&&(s=Ec(s),To(o.stateNode,o.type,s))}}function _e(o){Br?Xn?Xn.push(o):Xn=[o]:Br=o}function vt(){if(Br){var o=Br,s=Xn;if(Xn=Br=null,Aa(o),s)for(o=0;o<s.length;o++)Aa(s[o])}}function Nt(o,s){return o(s)}function Gt(){}var No=!1;function xt(o,s,u){if(No)return o(s,u);No=!0;try{return Nt(o,s,u)}finally{No=!1,(Br!==null||Xn!==null)&&(Gt(),vt())}}function jt(o,s){var u=o.stateNode;if(u===null)return null;var p=Ec(u);if(p===null)return null;u=p[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(p=!p.disabled)||(o=o.type,p=!(o==="button"||o==="input"||o==="select"||o==="textarea")),o=!p;break e;default:o=!1}if(o)return null;if(u&&typeof u!="function")throw Error(r(231,s,typeof u));return u}var Do=!1;if(c)try{var Bt={};Object.defineProperty(Bt,"passive",{get:function(){Do=!0}}),window.addEventListener("test",Bt,Bt),window.removeEventListener("test",Bt,Bt)}catch{Do=!1}function Or(o,s,u,p,y,S,A,F,q){var Z=Array.prototype.slice.call(arguments,3);try{s.apply(u,Z)}catch(ae){this.onError(ae)}}var Oo=!1,qr=null,Ta=!1,ff=null,_k={onError:function(o){Oo=!0,qr=o}};function Mk(o,s,u,p,y,S,A,F,q){Oo=!1,qr=null,Or.apply(_k,arguments)}function jk(o,s,u,p,y,S,A,F,q){if(Mk.apply(this,arguments),Oo){if(Oo){var Z=qr;Oo=!1,qr=null}else throw Error(r(198));Ta||(Ta=!0,ff=Z)}}function vi(o){var s=o,u=o;if(o.alternate)for(;s.return;)s=s.return;else{o=s;do s=o,(s.flags&4098)!==0&&(u=s.return),o=s.return;while(o)}return s.tag===3?u:null}function $y(o){if(o.tag===13){var s=o.memoizedState;if(s===null&&(o=o.alternate,o!==null&&(s=o.memoizedState)),s!==null)return s.dehydrated}return null}function zy(o){if(vi(o)!==o)throw Error(r(188))}function Lk(o){var s=o.alternate;if(!s){if(s=vi(o),s===null)throw Error(r(188));return s!==o?null:o}for(var u=o,p=s;;){var y=u.return;if(y===null)break;var S=y.alternate;if(S===null){if(p=y.return,p!==null){u=p;continue}break}if(y.child===S.child){for(S=y.child;S;){if(S===u)return zy(y),o;if(S===p)return zy(y),s;S=S.sibling}throw Error(r(188))}if(u.return!==p.return)u=y,p=S;else{for(var A=!1,F=y.child;F;){if(F===u){A=!0,u=y,p=S;break}if(F===p){A=!0,p=y,u=S;break}F=F.sibling}if(!A){for(F=S.child;F;){if(F===u){A=!0,u=S,p=y;break}if(F===p){A=!0,p=S,u=y;break}F=F.sibling}if(!A)throw Error(r(189))}}if(u.alternate!==p)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?o:s}function By(o){return o=Lk(o),o!==null?qy(o):null}function qy(o){if(o.tag===5||o.tag===6)return o;for(o=o.child;o!==null;){var s=qy(o);if(s!==null)return s;o=o.sibling}return null}var Vy=t.unstable_scheduleCallback,Hy=t.unstable_cancelCallback,Fk=t.unstable_shouldYield,Ik=t.unstable_requestPaint,bt=t.unstable_now,Uk=t.unstable_getCurrentPriorityLevel,pf=t.unstable_ImmediatePriority,Wy=t.unstable_UserBlockingPriority,ic=t.unstable_NormalPriority,$k=t.unstable_LowPriority,Gy=t.unstable_IdlePriority,sc=null,Pn=null;function zk(o){if(Pn&&typeof Pn.onCommitFiberRoot=="function")try{Pn.onCommitFiberRoot(sc,o,void 0,(o.current.flags&128)===128)}catch{}}var an=Math.clz32?Math.clz32:Vk,Bk=Math.log,qk=Math.LN2;function Vk(o){return o>>>=0,o===0?32:31-(Bk(o)/qk|0)|0}var ac=64,lc=4194304;function Na(o){switch(o&-o){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return o&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return o&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return o}}function cc(o,s){var u=o.pendingLanes;if(u===0)return 0;var p=0,y=o.suspendedLanes,S=o.pingedLanes,A=u&268435455;if(A!==0){var F=A&~y;F!==0?p=Na(F):(S&=A,S!==0&&(p=Na(S)))}else A=u&~y,A!==0?p=Na(A):S!==0&&(p=Na(S));if(p===0)return 0;if(s!==0&&s!==p&&(s&y)===0&&(y=p&-p,S=s&-s,y>=S||y===16&&(S&4194240)!==0))return s;if((p&4)!==0&&(p|=u&16),s=o.entangledLanes,s!==0)for(o=o.entanglements,s&=p;0<s;)u=31-an(s),y=1<<u,p|=o[u],s&=~y;return p}function Hk(o,s){switch(o){case 1:case 2:case 4:return s+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Wk(o,s){for(var u=o.suspendedLanes,p=o.pingedLanes,y=o.expirationTimes,S=o.pendingLanes;0<S;){var A=31-an(S),F=1<<A,q=y[A];q===-1?((F&u)===0||(F&p)!==0)&&(y[A]=Hk(F,s)):q<=s&&(o.expiredLanes|=F),S&=~F}}function mf(o){return o=o.pendingLanes&-1073741825,o!==0?o:o&1073741824?1073741824:0}function Ky(){var o=ac;return ac<<=1,(ac&4194240)===0&&(ac=64),o}function hf(o){for(var s=[],u=0;31>u;u++)s.push(o);return s}function Da(o,s,u){o.pendingLanes|=s,s!==536870912&&(o.suspendedLanes=0,o.pingedLanes=0),o=o.eventTimes,s=31-an(s),o[s]=u}function Gk(o,s){var u=o.pendingLanes&~s;o.pendingLanes=s,o.suspendedLanes=0,o.pingedLanes=0,o.expiredLanes&=s,o.mutableReadLanes&=s,o.entangledLanes&=s,s=o.entanglements;var p=o.eventTimes;for(o=o.expirationTimes;0<u;){var y=31-an(u),S=1<<y;s[y]=0,p[y]=-1,o[y]=-1,u&=~S}}function gf(o,s){var u=o.entangledLanes|=s;for(o=o.entanglements;u;){var p=31-an(u),y=1<<p;y&s|o[p]&s&&(o[p]|=s),u&=~y}}var et=0;function Yy(o){return o&=-o,1<o?4<o?(o&268435455)!==0?16:536870912:4:1}var Xy,yf,Qy,Jy,Zy,vf=!1,uc=[],_o=null,Mo=null,jo=null,Oa=new Map,_a=new Map,Lo=[],Kk="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ev(o,s){switch(o){case"focusin":case"focusout":_o=null;break;case"dragenter":case"dragleave":Mo=null;break;case"mouseover":case"mouseout":jo=null;break;case"pointerover":case"pointerout":Oa.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":_a.delete(s.pointerId)}}function Ma(o,s,u,p,y,S){return o===null||o.nativeEvent!==S?(o={blockedOn:s,domEventName:u,eventSystemFlags:p,nativeEvent:S,targetContainers:[y]},s!==null&&(s=Ka(s),s!==null&&yf(s)),o):(o.eventSystemFlags|=p,s=o.targetContainers,y!==null&&s.indexOf(y)===-1&&s.push(y),o)}function Yk(o,s,u,p,y){switch(s){case"focusin":return _o=Ma(_o,o,s,u,p,y),!0;case"dragenter":return Mo=Ma(Mo,o,s,u,p,y),!0;case"mouseover":return jo=Ma(jo,o,s,u,p,y),!0;case"pointerover":var S=y.pointerId;return Oa.set(S,Ma(Oa.get(S)||null,o,s,u,p,y)),!0;case"gotpointercapture":return S=y.pointerId,_a.set(S,Ma(_a.get(S)||null,o,s,u,p,y)),!0}return!1}function tv(o){var s=bi(o.target);if(s!==null){var u=vi(s);if(u!==null){if(s=u.tag,s===13){if(s=$y(u),s!==null){o.blockedOn=s,Zy(o.priority,function(){Qy(u)});return}}else if(s===3&&u.stateNode.current.memoizedState.isDehydrated){o.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}o.blockedOn=null}function dc(o){if(o.blockedOn!==null)return!1;for(var s=o.targetContainers;0<s.length;){var u=wf(o.domEventName,o.eventSystemFlags,s[0],o.nativeEvent);if(u===null){u=o.nativeEvent;var p=new u.constructor(u.type,u);Tt=p,u.target.dispatchEvent(p),Tt=null}else return s=Ka(u),s!==null&&yf(s),o.blockedOn=u,!1;s.shift()}return!0}function rv(o,s,u){dc(o)&&u.delete(s)}function Xk(){vf=!1,_o!==null&&dc(_o)&&(_o=null),Mo!==null&&dc(Mo)&&(Mo=null),jo!==null&&dc(jo)&&(jo=null),Oa.forEach(rv),_a.forEach(rv)}function ja(o,s){o.blockedOn===s&&(o.blockedOn=null,vf||(vf=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Xk)))}function La(o){function s(y){return ja(y,o)}if(0<uc.length){ja(uc[0],o);for(var u=1;u<uc.length;u++){var p=uc[u];p.blockedOn===o&&(p.blockedOn=null)}}for(_o!==null&&ja(_o,o),Mo!==null&&ja(Mo,o),jo!==null&&ja(jo,o),Oa.forEach(s),_a.forEach(s),u=0;u<Lo.length;u++)p=Lo[u],p.blockedOn===o&&(p.blockedOn=null);for(;0<Lo.length&&(u=Lo[0],u.blockedOn===null);)tv(u),u.blockedOn===null&&Lo.shift()}var ds=T.ReactCurrentBatchConfig,fc=!0;function Qk(o,s,u,p){var y=et,S=ds.transition;ds.transition=null;try{et=1,bf(o,s,u,p)}finally{et=y,ds.transition=S}}function Jk(o,s,u,p){var y=et,S=ds.transition;ds.transition=null;try{et=4,bf(o,s,u,p)}finally{et=y,ds.transition=S}}function bf(o,s,u,p){if(fc){var y=wf(o,s,u,p);if(y===null)Ff(o,s,p,pc,u),ev(o,p);else if(Yk(y,o,s,u,p))p.stopPropagation();else if(ev(o,p),s&4&&-1<Kk.indexOf(o)){for(;y!==null;){var S=Ka(y);if(S!==null&&Xy(S),S=wf(o,s,u,p),S===null&&Ff(o,s,p,pc,u),S===y)break;y=S}y!==null&&p.stopPropagation()}else Ff(o,s,p,null,u)}}var pc=null;function wf(o,s,u,p){if(pc=null,o=rr(p),o=bi(o),o!==null)if(s=vi(o),s===null)o=null;else if(u=s.tag,u===13){if(o=$y(s),o!==null)return o;o=null}else if(u===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;o=null}else s!==o&&(o=null);return pc=o,null}function nv(o){switch(o){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Uk()){case pf:return 1;case Wy:return 4;case ic:case $k:return 16;case Gy:return 536870912;default:return 16}default:return 16}}var Fo=null,Sf=null,mc=null;function ov(){if(mc)return mc;var o,s=Sf,u=s.length,p,y="value"in Fo?Fo.value:Fo.textContent,S=y.length;for(o=0;o<u&&s[o]===y[o];o++);var A=u-o;for(p=1;p<=A&&s[u-p]===y[S-p];p++);return mc=y.slice(o,1<p?1-p:void 0)}function hc(o){var s=o.keyCode;return"charCode"in o?(o=o.charCode,o===0&&s===13&&(o=13)):o=s,o===10&&(o=13),32<=o||o===13?o:0}function gc(){return!0}function iv(){return!1}function _r(o){function s(u,p,y,S,A){this._reactName=u,this._targetInst=y,this.type=p,this.nativeEvent=S,this.target=A,this.currentTarget=null;for(var F in o)o.hasOwnProperty(F)&&(u=o[F],this[F]=u?u(S):S[F]);return this.isDefaultPrevented=(S.defaultPrevented!=null?S.defaultPrevented:S.returnValue===!1)?gc:iv,this.isPropagationStopped=iv,this}return L(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=gc)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=gc)},persist:function(){},isPersistent:gc}),s}var fs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(o){return o.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xf=_r(fs),Fa=L({},fs,{view:0,detail:0}),Zk=_r(Fa),Cf,Rf,Ia,yc=L({},Fa,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kf,button:0,buttons:0,relatedTarget:function(o){return o.relatedTarget===void 0?o.fromElement===o.srcElement?o.toElement:o.fromElement:o.relatedTarget},movementX:function(o){return"movementX"in o?o.movementX:(o!==Ia&&(Ia&&o.type==="mousemove"?(Cf=o.screenX-Ia.screenX,Rf=o.screenY-Ia.screenY):Rf=Cf=0,Ia=o),Cf)},movementY:function(o){return"movementY"in o?o.movementY:Rf}}),sv=_r(yc),eP=L({},yc,{dataTransfer:0}),tP=_r(eP),rP=L({},Fa,{relatedTarget:0}),Ef=_r(rP),nP=L({},fs,{animationName:0,elapsedTime:0,pseudoElement:0}),oP=_r(nP),iP=L({},fs,{clipboardData:function(o){return"clipboardData"in o?o.clipboardData:window.clipboardData}}),sP=_r(iP),aP=L({},fs,{data:0}),av=_r(aP),lP={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cP={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uP={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dP(o){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(o):(o=uP[o])?!!s[o]:!1}function kf(){return dP}var fP=L({},Fa,{key:function(o){if(o.key){var s=lP[o.key]||o.key;if(s!=="Unidentified")return s}return o.type==="keypress"?(o=hc(o),o===13?"Enter":String.fromCharCode(o)):o.type==="keydown"||o.type==="keyup"?cP[o.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kf,charCode:function(o){return o.type==="keypress"?hc(o):0},keyCode:function(o){return o.type==="keydown"||o.type==="keyup"?o.keyCode:0},which:function(o){return o.type==="keypress"?hc(o):o.type==="keydown"||o.type==="keyup"?o.keyCode:0}}),pP=_r(fP),mP=L({},yc,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),lv=_r(mP),hP=L({},Fa,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kf}),gP=_r(hP),yP=L({},fs,{propertyName:0,elapsedTime:0,pseudoElement:0}),vP=_r(yP),bP=L({},yc,{deltaX:function(o){return"deltaX"in o?o.deltaX:"wheelDeltaX"in o?-o.wheelDeltaX:0},deltaY:function(o){return"deltaY"in o?o.deltaY:"wheelDeltaY"in o?-o.wheelDeltaY:"wheelDelta"in o?-o.wheelDelta:0},deltaZ:0,deltaMode:0}),wP=_r(bP),SP=[9,13,27,32],Pf=c&&"CompositionEvent"in window,Ua=null;c&&"documentMode"in document&&(Ua=document.documentMode);var xP=c&&"TextEvent"in window&&!Ua,cv=c&&(!Pf||Ua&&8<Ua&&11>=Ua),uv=" ",dv=!1;function fv(o,s){switch(o){case"keyup":return SP.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function pv(o){return o=o.detail,typeof o=="object"&&"data"in o?o.data:null}var ps=!1;function CP(o,s){switch(o){case"compositionend":return pv(s);case"keypress":return s.which!==32?null:(dv=!0,uv);case"textInput":return o=s.data,o===uv&&dv?null:o;default:return null}}function RP(o,s){if(ps)return o==="compositionend"||!Pf&&fv(o,s)?(o=ov(),mc=Sf=Fo=null,ps=!1,o):null;switch(o){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return cv&&s.locale!=="ko"?null:s.data;default:return null}}var EP={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function mv(o){var s=o&&o.nodeName&&o.nodeName.toLowerCase();return s==="input"?!!EP[o.type]:s==="textarea"}function hv(o,s,u,p){_e(p),s=xc(s,"onChange"),0<s.length&&(u=new xf("onChange","change",null,u,p),o.push({event:u,listeners:s}))}var $a=null,za=null;function kP(o){_v(o,0)}function vc(o){var s=vs(o);if(Me(s))return o}function PP(o,s){if(o==="change")return s}var gv=!1;if(c){var Af;if(c){var Tf="oninput"in document;if(!Tf){var yv=document.createElement("div");yv.setAttribute("oninput","return;"),Tf=typeof yv.oninput=="function"}Af=Tf}else Af=!1;gv=Af&&(!document.documentMode||9<document.documentMode)}function vv(){$a&&($a.detachEvent("onpropertychange",bv),za=$a=null)}function bv(o){if(o.propertyName==="value"&&vc(za)){var s=[];hv(s,za,o,rr(o)),xt(kP,s)}}function AP(o,s,u){o==="focusin"?(vv(),$a=s,za=u,$a.attachEvent("onpropertychange",bv)):o==="focusout"&&vv()}function TP(o){if(o==="selectionchange"||o==="keyup"||o==="keydown")return vc(za)}function NP(o,s){if(o==="click")return vc(s)}function DP(o,s){if(o==="input"||o==="change")return vc(s)}function OP(o,s){return o===s&&(o!==0||1/o===1/s)||o!==o&&s!==s}var ln=typeof Object.is=="function"?Object.is:OP;function Ba(o,s){if(ln(o,s))return!0;if(typeof o!="object"||o===null||typeof s!="object"||s===null)return!1;var u=Object.keys(o),p=Object.keys(s);if(u.length!==p.length)return!1;for(p=0;p<u.length;p++){var y=u[p];if(!d.call(s,y)||!ln(o[y],s[y]))return!1}return!0}function wv(o){for(;o&&o.firstChild;)o=o.firstChild;return o}function Sv(o,s){var u=wv(o);o=0;for(var p;u;){if(u.nodeType===3){if(p=o+u.textContent.length,o<=s&&p>=s)return{node:u,offset:s-o};o=p}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=wv(u)}}function xv(o,s){return o&&s?o===s?!0:o&&o.nodeType===3?!1:s&&s.nodeType===3?xv(o,s.parentNode):"contains"in o?o.contains(s):o.compareDocumentPosition?!!(o.compareDocumentPosition(s)&16):!1:!1}function Cv(){for(var o=window,s=ze();s instanceof o.HTMLIFrameElement;){try{var u=typeof s.contentWindow.location.href=="string"}catch{u=!1}if(u)o=s.contentWindow;else break;s=ze(o.document)}return s}function Nf(o){var s=o&&o.nodeName&&o.nodeName.toLowerCase();return s&&(s==="input"&&(o.type==="text"||o.type==="search"||o.type==="tel"||o.type==="url"||o.type==="password")||s==="textarea"||o.contentEditable==="true")}function _P(o){var s=Cv(),u=o.focusedElem,p=o.selectionRange;if(s!==u&&u&&u.ownerDocument&&xv(u.ownerDocument.documentElement,u)){if(p!==null&&Nf(u)){if(s=p.start,o=p.end,o===void 0&&(o=s),"selectionStart"in u)u.selectionStart=s,u.selectionEnd=Math.min(o,u.value.length);else if(o=(s=u.ownerDocument||document)&&s.defaultView||window,o.getSelection){o=o.getSelection();var y=u.textContent.length,S=Math.min(p.start,y);p=p.end===void 0?S:Math.min(p.end,y),!o.extend&&S>p&&(y=p,p=S,S=y),y=Sv(u,S);var A=Sv(u,p);y&&A&&(o.rangeCount!==1||o.anchorNode!==y.node||o.anchorOffset!==y.offset||o.focusNode!==A.node||o.focusOffset!==A.offset)&&(s=s.createRange(),s.setStart(y.node,y.offset),o.removeAllRanges(),S>p?(o.addRange(s),o.extend(A.node,A.offset)):(s.setEnd(A.node,A.offset),o.addRange(s)))}}for(s=[],o=u;o=o.parentNode;)o.nodeType===1&&s.push({element:o,left:o.scrollLeft,top:o.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u<s.length;u++)o=s[u],o.element.scrollLeft=o.left,o.element.scrollTop=o.top}}var MP=c&&"documentMode"in document&&11>=document.documentMode,ms=null,Df=null,qa=null,Of=!1;function Rv(o,s,u){var p=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Of||ms==null||ms!==ze(p)||(p=ms,"selectionStart"in p&&Nf(p)?p={start:p.selectionStart,end:p.selectionEnd}:(p=(p.ownerDocument&&p.ownerDocument.defaultView||window).getSelection(),p={anchorNode:p.anchorNode,anchorOffset:p.anchorOffset,focusNode:p.focusNode,focusOffset:p.focusOffset}),qa&&Ba(qa,p)||(qa=p,p=xc(Df,"onSelect"),0<p.length&&(s=new xf("onSelect","select",null,s,u),o.push({event:s,listeners:p}),s.target=ms)))}function bc(o,s){var u={};return u[o.toLowerCase()]=s.toLowerCase(),u["Webkit"+o]="webkit"+s,u["Moz"+o]="moz"+s,u}var hs={animationend:bc("Animation","AnimationEnd"),animationiteration:bc("Animation","AnimationIteration"),animationstart:bc("Animation","AnimationStart"),transitionend:bc("Transition","TransitionEnd")},_f={},Ev={};c&&(Ev=document.createElement("div").style,"AnimationEvent"in window||(delete hs.animationend.animation,delete hs.animationiteration.animation,delete hs.animationstart.animation),"TransitionEvent"in window||delete hs.transitionend.transition);function wc(o){if(_f[o])return _f[o];if(!hs[o])return o;var s=hs[o],u;for(u in s)if(s.hasOwnProperty(u)&&u in Ev)return _f[o]=s[u];return o}var kv=wc("animationend"),Pv=wc("animationiteration"),Av=wc("animationstart"),Tv=wc("transitionend"),Nv=new Map,Dv="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Io(o,s){Nv.set(o,s),a(s,[o])}for(var Mf=0;Mf<Dv.length;Mf++){var jf=Dv[Mf],jP=jf.toLowerCase(),LP=jf[0].toUpperCase()+jf.slice(1);Io(jP,"on"+LP)}Io(kv,"onAnimationEnd"),Io(Pv,"onAnimationIteration"),Io(Av,"onAnimationStart"),Io("dblclick","onDoubleClick"),Io("focusin","onFocus"),Io("focusout","onBlur"),Io(Tv,"onTransitionEnd"),l("onMouseEnter",["mouseout","mouseover"]),l("onMouseLeave",["mouseout","mouseover"]),l("onPointerEnter",["pointerout","pointerover"]),l("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Va="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),FP=new Set("cancel close invalid load scroll toggle".split(" ").concat(Va));function Ov(o,s,u){var p=o.type||"unknown-event";o.currentTarget=u,jk(p,s,void 0,o),o.currentTarget=null}function _v(o,s){s=(s&4)!==0;for(var u=0;u<o.length;u++){var p=o[u],y=p.event;p=p.listeners;e:{var S=void 0;if(s)for(var A=p.length-1;0<=A;A--){var F=p[A],q=F.instance,Z=F.currentTarget;if(F=F.listener,q!==S&&y.isPropagationStopped())break e;Ov(y,F,Z),S=q}else for(A=0;A<p.length;A++){if(F=p[A],q=F.instance,Z=F.currentTarget,F=F.listener,q!==S&&y.isPropagationStopped())break e;Ov(y,F,Z),S=q}}}if(Ta)throw o=ff,Ta=!1,ff=null,o}function nt(o,s){var u=s[qf];u===void 0&&(u=s[qf]=new Set);var p=o+"__bubble";u.has(p)||(Mv(s,o,2,!1),u.add(p))}function Lf(o,s,u){var p=0;s&&(p|=4),Mv(u,o,p,s)}var Sc="_reactListening"+Math.random().toString(36).slice(2);function Ha(o){if(!o[Sc]){o[Sc]=!0,n.forEach(function(u){u!=="selectionchange"&&(FP.has(u)||Lf(u,!1,o),Lf(u,!0,o))});var s=o.nodeType===9?o:o.ownerDocument;s===null||s[Sc]||(s[Sc]=!0,Lf("selectionchange",!1,s))}}function Mv(o,s,u,p){switch(nv(s)){case 1:var y=Qk;break;case 4:y=Jk;break;default:y=bf}u=y.bind(null,s,u,o),y=void 0,!Do||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(y=!0),p?y!==void 0?o.addEventListener(s,u,{capture:!0,passive:y}):o.addEventListener(s,u,!0):y!==void 0?o.addEventListener(s,u,{passive:y}):o.addEventListener(s,u,!1)}function Ff(o,s,u,p,y){var S=p;if((s&1)===0&&(s&2)===0&&p!==null)e:for(;;){if(p===null)return;var A=p.tag;if(A===3||A===4){var F=p.stateNode.containerInfo;if(F===y||F.nodeType===8&&F.parentNode===y)break;if(A===4)for(A=p.return;A!==null;){var q=A.tag;if((q===3||q===4)&&(q=A.stateNode.containerInfo,q===y||q.nodeType===8&&q.parentNode===y))return;A=A.return}for(;F!==null;){if(A=bi(F),A===null)return;if(q=A.tag,q===5||q===6){p=S=A;continue e}F=F.parentNode}}p=p.return}xt(function(){var Z=S,ae=rr(u),de=[];e:{var se=Nv.get(o);if(se!==void 0){var be=xf,Ce=o;switch(o){case"keypress":if(hc(u)===0)break e;case"keydown":case"keyup":be=pP;break;case"focusin":Ce="focus",be=Ef;break;case"focusout":Ce="blur",be=Ef;break;case"beforeblur":case"afterblur":be=Ef;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":be=sv;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":be=tP;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=gP;break;case kv:case Pv:case Av:be=oP;break;case Tv:be=vP;break;case"scroll":be=Zk;break;case"wheel":be=wP;break;case"copy":case"cut":case"paste":be=sP;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":be=lv}var Ee=(s&4)!==0,wt=!Ee&&o==="scroll",Q=Ee?se!==null?se+"Capture":null:se;Ee=[];for(var G=Z,J;G!==null;){J=G;var fe=J.stateNode;if(J.tag===5&&fe!==null&&(J=fe,Q!==null&&(fe=jt(G,Q),fe!=null&&Ee.push(Wa(G,fe,J)))),wt)break;G=G.return}0<Ee.length&&(se=new be(se,Ce,null,u,ae),de.push({event:se,listeners:Ee}))}}if((s&7)===0){e:{if(se=o==="mouseover"||o==="pointerover",be=o==="mouseout"||o==="pointerout",se&&u!==Tt&&(Ce=u.relatedTarget||u.fromElement)&&(bi(Ce)||Ce[Qn]))break e;if((be||se)&&(se=ae.window===ae?ae:(se=ae.ownerDocument)?se.defaultView||se.parentWindow:window,be?(Ce=u.relatedTarget||u.toElement,be=Z,Ce=Ce?bi(Ce):null,Ce!==null&&(wt=vi(Ce),Ce!==wt||Ce.tag!==5&&Ce.tag!==6)&&(Ce=null)):(be=null,Ce=Z),be!==Ce)){if(Ee=sv,fe="onMouseLeave",Q="onMouseEnter",G="mouse",(o==="pointerout"||o==="pointerover")&&(Ee=lv,fe="onPointerLeave",Q="onPointerEnter",G="pointer"),wt=be==null?se:vs(be),J=Ce==null?se:vs(Ce),se=new Ee(fe,G+"leave",be,u,ae),se.target=wt,se.relatedTarget=J,fe=null,bi(ae)===Z&&(Ee=new Ee(Q,G+"enter",Ce,u,ae),Ee.target=J,Ee.relatedTarget=wt,fe=Ee),wt=fe,be&&Ce)t:{for(Ee=be,Q=Ce,G=0,J=Ee;J;J=gs(J))G++;for(J=0,fe=Q;fe;fe=gs(fe))J++;for(;0<G-J;)Ee=gs(Ee),G--;for(;0<J-G;)Q=gs(Q),J--;for(;G--;){if(Ee===Q||Q!==null&&Ee===Q.alternate)break t;Ee=gs(Ee),Q=gs(Q)}Ee=null}else Ee=null;be!==null&&jv(de,se,be,Ee,!1),Ce!==null&&wt!==null&&jv(de,wt,Ce,Ee,!0)}}e:{if(se=Z?vs(Z):window,be=se.nodeName&&se.nodeName.toLowerCase(),be==="select"||be==="input"&&se.type==="file")var ke=PP;else if(mv(se))if(gv)ke=DP;else{ke=TP;var Ae=AP}else(be=se.nodeName)&&be.toLowerCase()==="input"&&(se.type==="checkbox"||se.type==="radio")&&(ke=NP);if(ke&&(ke=ke(o,Z))){hv(de,ke,u,ae);break e}Ae&&Ae(o,se,Z),o==="focusout"&&(Ae=se._wrapperState)&&Ae.controlled&&se.type==="number"&&rt(se,"number",se.value)}switch(Ae=Z?vs(Z):window,o){case"focusin":(mv(Ae)||Ae.contentEditable==="true")&&(ms=Ae,Df=Z,qa=null);break;case"focusout":qa=Df=ms=null;break;case"mousedown":Of=!0;break;case"contextmenu":case"mouseup":case"dragend":Of=!1,Rv(de,u,ae);break;case"selectionchange":if(MP)break;case"keydown":case"keyup":Rv(de,u,ae)}var Te;if(Pf)e:{switch(o){case"compositionstart":var Ne="onCompositionStart";break e;case"compositionend":Ne="onCompositionEnd";break e;case"compositionupdate":Ne="onCompositionUpdate";break e}Ne=void 0}else ps?fv(o,u)&&(Ne="onCompositionEnd"):o==="keydown"&&u.keyCode===229&&(Ne="onCompositionStart");Ne&&(cv&&u.locale!=="ko"&&(ps||Ne!=="onCompositionStart"?Ne==="onCompositionEnd"&&ps&&(Te=ov()):(Fo=ae,Sf="value"in Fo?Fo.value:Fo.textContent,ps=!0)),Ae=xc(Z,Ne),0<Ae.length&&(Ne=new av(Ne,o,null,u,ae),de.push({event:Ne,listeners:Ae}),Te?Ne.data=Te:(Te=pv(u),Te!==null&&(Ne.data=Te)))),(Te=xP?CP(o,u):RP(o,u))&&(Z=xc(Z,"onBeforeInput"),0<Z.length&&(ae=new av("onBeforeInput","beforeinput",null,u,ae),de.push({event:ae,listeners:Z}),ae.data=Te))}_v(de,s)})}function Wa(o,s,u){return{instance:o,listener:s,currentTarget:u}}function xc(o,s){for(var u=s+"Capture",p=[];o!==null;){var y=o,S=y.stateNode;y.tag===5&&S!==null&&(y=S,S=jt(o,u),S!=null&&p.unshift(Wa(o,S,y)),S=jt(o,s),S!=null&&p.push(Wa(o,S,y))),o=o.return}return p}function gs(o){if(o===null)return null;do o=o.return;while(o&&o.tag!==5);return o||null}function jv(o,s,u,p,y){for(var S=s._reactName,A=[];u!==null&&u!==p;){var F=u,q=F.alternate,Z=F.stateNode;if(q!==null&&q===p)break;F.tag===5&&Z!==null&&(F=Z,y?(q=jt(u,S),q!=null&&A.unshift(Wa(u,q,F))):y||(q=jt(u,S),q!=null&&A.push(Wa(u,q,F)))),u=u.return}A.length!==0&&o.push({event:s,listeners:A})}var IP=/\r\n?/g,UP=/\u0000|\uFFFD/g;function Lv(o){return(typeof o=="string"?o:""+o).replace(IP,`
|
||
`).replace(UP,"")}function Cc(o,s,u){if(s=Lv(s),Lv(o)!==s&&u)throw Error(r(425))}function Rc(){}var If=null,Uf=null;function $f(o,s){return o==="textarea"||o==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var zf=typeof setTimeout=="function"?setTimeout:void 0,$P=typeof clearTimeout=="function"?clearTimeout:void 0,Fv=typeof Promise=="function"?Promise:void 0,zP=typeof queueMicrotask=="function"?queueMicrotask:typeof Fv<"u"?function(o){return Fv.resolve(null).then(o).catch(BP)}:zf;function BP(o){setTimeout(function(){throw o})}function Bf(o,s){var u=s,p=0;do{var y=u.nextSibling;if(o.removeChild(u),y&&y.nodeType===8)if(u=y.data,u==="/$"){if(p===0){o.removeChild(y),La(s);return}p--}else u!=="$"&&u!=="$?"&&u!=="$!"||p++;u=y}while(u);La(s)}function Uo(o){for(;o!=null;o=o.nextSibling){var s=o.nodeType;if(s===1||s===3)break;if(s===8){if(s=o.data,s==="$"||s==="$!"||s==="$?")break;if(s==="/$")return null}}return o}function Iv(o){o=o.previousSibling;for(var s=0;o;){if(o.nodeType===8){var u=o.data;if(u==="$"||u==="$!"||u==="$?"){if(s===0)return o;s--}else u==="/$"&&s++}o=o.previousSibling}return null}var ys=Math.random().toString(36).slice(2),An="__reactFiber$"+ys,Ga="__reactProps$"+ys,Qn="__reactContainer$"+ys,qf="__reactEvents$"+ys,qP="__reactListeners$"+ys,VP="__reactHandles$"+ys;function bi(o){var s=o[An];if(s)return s;for(var u=o.parentNode;u;){if(s=u[Qn]||u[An]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(o=Iv(o);o!==null;){if(u=o[An])return u;o=Iv(o)}return s}o=u,u=o.parentNode}return null}function Ka(o){return o=o[An]||o[Qn],!o||o.tag!==5&&o.tag!==6&&o.tag!==13&&o.tag!==3?null:o}function vs(o){if(o.tag===5||o.tag===6)return o.stateNode;throw Error(r(33))}function Ec(o){return o[Ga]||null}var Vf=[],bs=-1;function $o(o){return{current:o}}function ot(o){0>bs||(o.current=Vf[bs],Vf[bs]=null,bs--)}function tt(o,s){bs++,Vf[bs]=o.current,o.current=s}var zo={},Kt=$o(zo),vr=$o(!1),wi=zo;function ws(o,s){var u=o.type.contextTypes;if(!u)return zo;var p=o.stateNode;if(p&&p.__reactInternalMemoizedUnmaskedChildContext===s)return p.__reactInternalMemoizedMaskedChildContext;var y={},S;for(S in u)y[S]=s[S];return p&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=s,o.__reactInternalMemoizedMaskedChildContext=y),y}function br(o){return o=o.childContextTypes,o!=null}function kc(){ot(vr),ot(Kt)}function Uv(o,s,u){if(Kt.current!==zo)throw Error(r(168));tt(Kt,s),tt(vr,u)}function $v(o,s,u){var p=o.stateNode;if(s=s.childContextTypes,typeof p.getChildContext!="function")return u;p=p.getChildContext();for(var y in p)if(!(y in s))throw Error(r(108,me(o)||"Unknown",y));return L({},u,p)}function Pc(o){return o=(o=o.stateNode)&&o.__reactInternalMemoizedMergedChildContext||zo,wi=Kt.current,tt(Kt,o),tt(vr,vr.current),!0}function zv(o,s,u){var p=o.stateNode;if(!p)throw Error(r(169));u?(o=$v(o,s,wi),p.__reactInternalMemoizedMergedChildContext=o,ot(vr),ot(Kt),tt(Kt,o)):ot(vr),tt(vr,u)}var Jn=null,Ac=!1,Hf=!1;function Bv(o){Jn===null?Jn=[o]:Jn.push(o)}function HP(o){Ac=!0,Bv(o)}function Bo(){if(!Hf&&Jn!==null){Hf=!0;var o=0,s=et;try{var u=Jn;for(et=1;o<u.length;o++){var p=u[o];do p=p(!0);while(p!==null)}Jn=null,Ac=!1}catch(y){throw Jn!==null&&(Jn=Jn.slice(o+1)),Vy(pf,Bo),y}finally{et=s,Hf=!1}}return null}var Ss=[],xs=0,Tc=null,Nc=0,Vr=[],Hr=0,Si=null,Zn=1,eo="";function xi(o,s){Ss[xs++]=Nc,Ss[xs++]=Tc,Tc=o,Nc=s}function qv(o,s,u){Vr[Hr++]=Zn,Vr[Hr++]=eo,Vr[Hr++]=Si,Si=o;var p=Zn;o=eo;var y=32-an(p)-1;p&=~(1<<y),u+=1;var S=32-an(s)+y;if(30<S){var A=y-y%5;S=(p&(1<<A)-1).toString(32),p>>=A,y-=A,Zn=1<<32-an(s)+y|u<<y|p,eo=S+o}else Zn=1<<S|u<<y|p,eo=o}function Wf(o){o.return!==null&&(xi(o,1),qv(o,1,0))}function Gf(o){for(;o===Tc;)Tc=Ss[--xs],Ss[xs]=null,Nc=Ss[--xs],Ss[xs]=null;for(;o===Si;)Si=Vr[--Hr],Vr[Hr]=null,eo=Vr[--Hr],Vr[Hr]=null,Zn=Vr[--Hr],Vr[Hr]=null}var Mr=null,jr=null,lt=!1,cn=null;function Vv(o,s){var u=Yr(5,null,null,0);u.elementType="DELETED",u.stateNode=s,u.return=o,s=o.deletions,s===null?(o.deletions=[u],o.flags|=16):s.push(u)}function Hv(o,s){switch(o.tag){case 5:var u=o.type;return s=s.nodeType!==1||u.toLowerCase()!==s.nodeName.toLowerCase()?null:s,s!==null?(o.stateNode=s,Mr=o,jr=Uo(s.firstChild),!0):!1;case 6:return s=o.pendingProps===""||s.nodeType!==3?null:s,s!==null?(o.stateNode=s,Mr=o,jr=null,!0):!1;case 13:return s=s.nodeType!==8?null:s,s!==null?(u=Si!==null?{id:Zn,overflow:eo}:null,o.memoizedState={dehydrated:s,treeContext:u,retryLane:1073741824},u=Yr(18,null,null,0),u.stateNode=s,u.return=o,o.child=u,Mr=o,jr=null,!0):!1;default:return!1}}function Kf(o){return(o.mode&1)!==0&&(o.flags&128)===0}function Yf(o){if(lt){var s=jr;if(s){var u=s;if(!Hv(o,s)){if(Kf(o))throw Error(r(418));s=Uo(u.nextSibling);var p=Mr;s&&Hv(o,s)?Vv(p,u):(o.flags=o.flags&-4097|2,lt=!1,Mr=o)}}else{if(Kf(o))throw Error(r(418));o.flags=o.flags&-4097|2,lt=!1,Mr=o}}}function Wv(o){for(o=o.return;o!==null&&o.tag!==5&&o.tag!==3&&o.tag!==13;)o=o.return;Mr=o}function Dc(o){if(o!==Mr)return!1;if(!lt)return Wv(o),lt=!0,!1;var s;if((s=o.tag!==3)&&!(s=o.tag!==5)&&(s=o.type,s=s!=="head"&&s!=="body"&&!$f(o.type,o.memoizedProps)),s&&(s=jr)){if(Kf(o))throw Gv(),Error(r(418));for(;s;)Vv(o,s),s=Uo(s.nextSibling)}if(Wv(o),o.tag===13){if(o=o.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(r(317));e:{for(o=o.nextSibling,s=0;o;){if(o.nodeType===8){var u=o.data;if(u==="/$"){if(s===0){jr=Uo(o.nextSibling);break e}s--}else u!=="$"&&u!=="$!"&&u!=="$?"||s++}o=o.nextSibling}jr=null}}else jr=Mr?Uo(o.stateNode.nextSibling):null;return!0}function Gv(){for(var o=jr;o;)o=Uo(o.nextSibling)}function Cs(){jr=Mr=null,lt=!1}function Xf(o){cn===null?cn=[o]:cn.push(o)}var WP=T.ReactCurrentBatchConfig;function Ya(o,s,u){if(o=u.ref,o!==null&&typeof o!="function"&&typeof o!="object"){if(u._owner){if(u=u._owner,u){if(u.tag!==1)throw Error(r(309));var p=u.stateNode}if(!p)throw Error(r(147,o));var y=p,S=""+o;return s!==null&&s.ref!==null&&typeof s.ref=="function"&&s.ref._stringRef===S?s.ref:(s=function(A){var F=y.refs;A===null?delete F[S]:F[S]=A},s._stringRef=S,s)}if(typeof o!="string")throw Error(r(284));if(!u._owner)throw Error(r(290,o))}return o}function Oc(o,s){throw o=Object.prototype.toString.call(s),Error(r(31,o==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":o))}function Kv(o){var s=o._init;return s(o._payload)}function Yv(o){function s(Q,G){if(o){var J=Q.deletions;J===null?(Q.deletions=[G],Q.flags|=16):J.push(G)}}function u(Q,G){if(!o)return null;for(;G!==null;)s(Q,G),G=G.sibling;return null}function p(Q,G){for(Q=new Map;G!==null;)G.key!==null?Q.set(G.key,G):Q.set(G.index,G),G=G.sibling;return Q}function y(Q,G){return Q=Xo(Q,G),Q.index=0,Q.sibling=null,Q}function S(Q,G,J){return Q.index=J,o?(J=Q.alternate,J!==null?(J=J.index,J<G?(Q.flags|=2,G):J):(Q.flags|=2,G)):(Q.flags|=1048576,G)}function A(Q){return o&&Q.alternate===null&&(Q.flags|=2),Q}function F(Q,G,J,fe){return G===null||G.tag!==6?(G=$p(J,Q.mode,fe),G.return=Q,G):(G=y(G,J),G.return=Q,G)}function q(Q,G,J,fe){var ke=J.type;return ke===M?ae(Q,G,J.props.children,fe,J.key):G!==null&&(G.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===U&&Kv(ke)===G.type)?(fe=y(G,J.props),fe.ref=Ya(Q,G,J),fe.return=Q,fe):(fe=ru(J.type,J.key,J.props,null,Q.mode,fe),fe.ref=Ya(Q,G,J),fe.return=Q,fe)}function Z(Q,G,J,fe){return G===null||G.tag!==4||G.stateNode.containerInfo!==J.containerInfo||G.stateNode.implementation!==J.implementation?(G=zp(J,Q.mode,fe),G.return=Q,G):(G=y(G,J.children||[]),G.return=Q,G)}function ae(Q,G,J,fe,ke){return G===null||G.tag!==7?(G=Ni(J,Q.mode,fe,ke),G.return=Q,G):(G=y(G,J),G.return=Q,G)}function de(Q,G,J){if(typeof G=="string"&&G!==""||typeof G=="number")return G=$p(""+G,Q.mode,J),G.return=Q,G;if(typeof G=="object"&&G!==null){switch(G.$$typeof){case N:return J=ru(G.type,G.key,G.props,null,Q.mode,J),J.ref=Ya(Q,null,G),J.return=Q,J;case j:return G=zp(G,Q.mode,J),G.return=Q,G;case U:var fe=G._init;return de(Q,fe(G._payload),J)}if(At(G)||I(G))return G=Ni(G,Q.mode,J,null),G.return=Q,G;Oc(Q,G)}return null}function se(Q,G,J,fe){var ke=G!==null?G.key:null;if(typeof J=="string"&&J!==""||typeof J=="number")return ke!==null?null:F(Q,G,""+J,fe);if(typeof J=="object"&&J!==null){switch(J.$$typeof){case N:return J.key===ke?q(Q,G,J,fe):null;case j:return J.key===ke?Z(Q,G,J,fe):null;case U:return ke=J._init,se(Q,G,ke(J._payload),fe)}if(At(J)||I(J))return ke!==null?null:ae(Q,G,J,fe,null);Oc(Q,J)}return null}function be(Q,G,J,fe,ke){if(typeof fe=="string"&&fe!==""||typeof fe=="number")return Q=Q.get(J)||null,F(G,Q,""+fe,ke);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case N:return Q=Q.get(fe.key===null?J:fe.key)||null,q(G,Q,fe,ke);case j:return Q=Q.get(fe.key===null?J:fe.key)||null,Z(G,Q,fe,ke);case U:var Ae=fe._init;return be(Q,G,J,Ae(fe._payload),ke)}if(At(fe)||I(fe))return Q=Q.get(J)||null,ae(G,Q,fe,ke,null);Oc(G,fe)}return null}function Ce(Q,G,J,fe){for(var ke=null,Ae=null,Te=G,Ne=G=0,It=null;Te!==null&&Ne<J.length;Ne++){Te.index>Ne?(It=Te,Te=null):It=Te.sibling;var Ye=se(Q,Te,J[Ne],fe);if(Ye===null){Te===null&&(Te=It);break}o&&Te&&Ye.alternate===null&&s(Q,Te),G=S(Ye,G,Ne),Ae===null?ke=Ye:Ae.sibling=Ye,Ae=Ye,Te=It}if(Ne===J.length)return u(Q,Te),lt&&xi(Q,Ne),ke;if(Te===null){for(;Ne<J.length;Ne++)Te=de(Q,J[Ne],fe),Te!==null&&(G=S(Te,G,Ne),Ae===null?ke=Te:Ae.sibling=Te,Ae=Te);return lt&&xi(Q,Ne),ke}for(Te=p(Q,Te);Ne<J.length;Ne++)It=be(Te,Q,Ne,J[Ne],fe),It!==null&&(o&&It.alternate!==null&&Te.delete(It.key===null?Ne:It.key),G=S(It,G,Ne),Ae===null?ke=It:Ae.sibling=It,Ae=It);return o&&Te.forEach(function(Qo){return s(Q,Qo)}),lt&&xi(Q,Ne),ke}function Ee(Q,G,J,fe){var ke=I(J);if(typeof ke!="function")throw Error(r(150));if(J=ke.call(J),J==null)throw Error(r(151));for(var Ae=ke=null,Te=G,Ne=G=0,It=null,Ye=J.next();Te!==null&&!Ye.done;Ne++,Ye=J.next()){Te.index>Ne?(It=Te,Te=null):It=Te.sibling;var Qo=se(Q,Te,Ye.value,fe);if(Qo===null){Te===null&&(Te=It);break}o&&Te&&Qo.alternate===null&&s(Q,Te),G=S(Qo,G,Ne),Ae===null?ke=Qo:Ae.sibling=Qo,Ae=Qo,Te=It}if(Ye.done)return u(Q,Te),lt&&xi(Q,Ne),ke;if(Te===null){for(;!Ye.done;Ne++,Ye=J.next())Ye=de(Q,Ye.value,fe),Ye!==null&&(G=S(Ye,G,Ne),Ae===null?ke=Ye:Ae.sibling=Ye,Ae=Ye);return lt&&xi(Q,Ne),ke}for(Te=p(Q,Te);!Ye.done;Ne++,Ye=J.next())Ye=be(Te,Q,Ne,Ye.value,fe),Ye!==null&&(o&&Ye.alternate!==null&&Te.delete(Ye.key===null?Ne:Ye.key),G=S(Ye,G,Ne),Ae===null?ke=Ye:Ae.sibling=Ye,Ae=Ye);return o&&Te.forEach(function(EA){return s(Q,EA)}),lt&&xi(Q,Ne),ke}function wt(Q,G,J,fe){if(typeof J=="object"&&J!==null&&J.type===M&&J.key===null&&(J=J.props.children),typeof J=="object"&&J!==null){switch(J.$$typeof){case N:e:{for(var ke=J.key,Ae=G;Ae!==null;){if(Ae.key===ke){if(ke=J.type,ke===M){if(Ae.tag===7){u(Q,Ae.sibling),G=y(Ae,J.props.children),G.return=Q,Q=G;break e}}else if(Ae.elementType===ke||typeof ke=="object"&&ke!==null&&ke.$$typeof===U&&Kv(ke)===Ae.type){u(Q,Ae.sibling),G=y(Ae,J.props),G.ref=Ya(Q,Ae,J),G.return=Q,Q=G;break e}u(Q,Ae);break}else s(Q,Ae);Ae=Ae.sibling}J.type===M?(G=Ni(J.props.children,Q.mode,fe,J.key),G.return=Q,Q=G):(fe=ru(J.type,J.key,J.props,null,Q.mode,fe),fe.ref=Ya(Q,G,J),fe.return=Q,Q=fe)}return A(Q);case j:e:{for(Ae=J.key;G!==null;){if(G.key===Ae)if(G.tag===4&&G.stateNode.containerInfo===J.containerInfo&&G.stateNode.implementation===J.implementation){u(Q,G.sibling),G=y(G,J.children||[]),G.return=Q,Q=G;break e}else{u(Q,G);break}else s(Q,G);G=G.sibling}G=zp(J,Q.mode,fe),G.return=Q,Q=G}return A(Q);case U:return Ae=J._init,wt(Q,G,Ae(J._payload),fe)}if(At(J))return Ce(Q,G,J,fe);if(I(J))return Ee(Q,G,J,fe);Oc(Q,J)}return typeof J=="string"&&J!==""||typeof J=="number"?(J=""+J,G!==null&&G.tag===6?(u(Q,G.sibling),G=y(G,J),G.return=Q,Q=G):(u(Q,G),G=$p(J,Q.mode,fe),G.return=Q,Q=G),A(Q)):u(Q,G)}return wt}var Rs=Yv(!0),Xv=Yv(!1),_c=$o(null),Mc=null,Es=null,Qf=null;function Jf(){Qf=Es=Mc=null}function Zf(o){var s=_c.current;ot(_c),o._currentValue=s}function ep(o,s,u){for(;o!==null;){var p=o.alternate;if((o.childLanes&s)!==s?(o.childLanes|=s,p!==null&&(p.childLanes|=s)):p!==null&&(p.childLanes&s)!==s&&(p.childLanes|=s),o===u)break;o=o.return}}function ks(o,s){Mc=o,Qf=Es=null,o=o.dependencies,o!==null&&o.firstContext!==null&&((o.lanes&s)!==0&&(wr=!0),o.firstContext=null)}function Wr(o){var s=o._currentValue;if(Qf!==o)if(o={context:o,memoizedValue:s,next:null},Es===null){if(Mc===null)throw Error(r(308));Es=o,Mc.dependencies={lanes:0,firstContext:o}}else Es=Es.next=o;return s}var Ci=null;function tp(o){Ci===null?Ci=[o]:Ci.push(o)}function Qv(o,s,u,p){var y=s.interleaved;return y===null?(u.next=u,tp(s)):(u.next=y.next,y.next=u),s.interleaved=u,to(o,p)}function to(o,s){o.lanes|=s;var u=o.alternate;for(u!==null&&(u.lanes|=s),u=o,o=o.return;o!==null;)o.childLanes|=s,u=o.alternate,u!==null&&(u.childLanes|=s),u=o,o=o.return;return u.tag===3?u.stateNode:null}var qo=!1;function rp(o){o.updateQueue={baseState:o.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Jv(o,s){o=o.updateQueue,s.updateQueue===o&&(s.updateQueue={baseState:o.baseState,firstBaseUpdate:o.firstBaseUpdate,lastBaseUpdate:o.lastBaseUpdate,shared:o.shared,effects:o.effects})}function ro(o,s){return{eventTime:o,lane:s,tag:0,payload:null,callback:null,next:null}}function Vo(o,s,u){var p=o.updateQueue;if(p===null)return null;if(p=p.shared,(Ge&2)!==0){var y=p.pending;return y===null?s.next=s:(s.next=y.next,y.next=s),p.pending=s,to(o,u)}return y=p.interleaved,y===null?(s.next=s,tp(p)):(s.next=y.next,y.next=s),p.interleaved=s,to(o,u)}function jc(o,s,u){if(s=s.updateQueue,s!==null&&(s=s.shared,(u&4194240)!==0)){var p=s.lanes;p&=o.pendingLanes,u|=p,s.lanes=u,gf(o,u)}}function Zv(o,s){var u=o.updateQueue,p=o.alternate;if(p!==null&&(p=p.updateQueue,u===p)){var y=null,S=null;if(u=u.firstBaseUpdate,u!==null){do{var A={eventTime:u.eventTime,lane:u.lane,tag:u.tag,payload:u.payload,callback:u.callback,next:null};S===null?y=S=A:S=S.next=A,u=u.next}while(u!==null);S===null?y=S=s:S=S.next=s}else y=S=s;u={baseState:p.baseState,firstBaseUpdate:y,lastBaseUpdate:S,shared:p.shared,effects:p.effects},o.updateQueue=u;return}o=u.lastBaseUpdate,o===null?u.firstBaseUpdate=s:o.next=s,u.lastBaseUpdate=s}function Lc(o,s,u,p){var y=o.updateQueue;qo=!1;var S=y.firstBaseUpdate,A=y.lastBaseUpdate,F=y.shared.pending;if(F!==null){y.shared.pending=null;var q=F,Z=q.next;q.next=null,A===null?S=Z:A.next=Z,A=q;var ae=o.alternate;ae!==null&&(ae=ae.updateQueue,F=ae.lastBaseUpdate,F!==A&&(F===null?ae.firstBaseUpdate=Z:F.next=Z,ae.lastBaseUpdate=q))}if(S!==null){var de=y.baseState;A=0,ae=Z=q=null,F=S;do{var se=F.lane,be=F.eventTime;if((p&se)===se){ae!==null&&(ae=ae.next={eventTime:be,lane:0,tag:F.tag,payload:F.payload,callback:F.callback,next:null});e:{var Ce=o,Ee=F;switch(se=s,be=u,Ee.tag){case 1:if(Ce=Ee.payload,typeof Ce=="function"){de=Ce.call(be,de,se);break e}de=Ce;break e;case 3:Ce.flags=Ce.flags&-65537|128;case 0:if(Ce=Ee.payload,se=typeof Ce=="function"?Ce.call(be,de,se):Ce,se==null)break e;de=L({},de,se);break e;case 2:qo=!0}}F.callback!==null&&F.lane!==0&&(o.flags|=64,se=y.effects,se===null?y.effects=[F]:se.push(F))}else be={eventTime:be,lane:se,tag:F.tag,payload:F.payload,callback:F.callback,next:null},ae===null?(Z=ae=be,q=de):ae=ae.next=be,A|=se;if(F=F.next,F===null){if(F=y.shared.pending,F===null)break;se=F,F=se.next,se.next=null,y.lastBaseUpdate=se,y.shared.pending=null}}while(!0);if(ae===null&&(q=de),y.baseState=q,y.firstBaseUpdate=Z,y.lastBaseUpdate=ae,s=y.shared.interleaved,s!==null){y=s;do A|=y.lane,y=y.next;while(y!==s)}else S===null&&(y.shared.lanes=0);ki|=A,o.lanes=A,o.memoizedState=de}}function e0(o,s,u){if(o=s.effects,s.effects=null,o!==null)for(s=0;s<o.length;s++){var p=o[s],y=p.callback;if(y!==null){if(p.callback=null,p=u,typeof y!="function")throw Error(r(191,y));y.call(p)}}}var Xa={},Tn=$o(Xa),Qa=$o(Xa),Ja=$o(Xa);function Ri(o){if(o===Xa)throw Error(r(174));return o}function np(o,s){switch(tt(Ja,s),tt(Qa,o),tt(Tn,Xa),o=s.nodeType,o){case 9:case 11:s=(s=s.documentElement)?s.namespaceURI:mr(null,"");break;default:o=o===8?s.parentNode:s,s=o.namespaceURI||null,o=o.tagName,s=mr(s,o)}ot(Tn),tt(Tn,s)}function Ps(){ot(Tn),ot(Qa),ot(Ja)}function t0(o){Ri(Ja.current);var s=Ri(Tn.current),u=mr(s,o.type);s!==u&&(tt(Qa,o),tt(Tn,u))}function op(o){Qa.current===o&&(ot(Tn),ot(Qa))}var dt=$o(0);function Fc(o){for(var s=o;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||u.data==="$!"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var ip=[];function sp(){for(var o=0;o<ip.length;o++)ip[o]._workInProgressVersionPrimary=null;ip.length=0}var Ic=T.ReactCurrentDispatcher,ap=T.ReactCurrentBatchConfig,Ei=0,ft=null,Dt=null,Lt=null,Uc=!1,Za=!1,el=0,GP=0;function Yt(){throw Error(r(321))}function lp(o,s){if(s===null)return!1;for(var u=0;u<s.length&&u<o.length;u++)if(!ln(o[u],s[u]))return!1;return!0}function cp(o,s,u,p,y,S){if(Ei=S,ft=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,Ic.current=o===null||o.memoizedState===null?QP:JP,o=u(p,y),Za){S=0;do{if(Za=!1,el=0,25<=S)throw Error(r(301));S+=1,Lt=Dt=null,s.updateQueue=null,Ic.current=ZP,o=u(p,y)}while(Za)}if(Ic.current=Bc,s=Dt!==null&&Dt.next!==null,Ei=0,Lt=Dt=ft=null,Uc=!1,s)throw Error(r(300));return o}function up(){var o=el!==0;return el=0,o}function Nn(){var o={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Lt===null?ft.memoizedState=Lt=o:Lt=Lt.next=o,Lt}function Gr(){if(Dt===null){var o=ft.alternate;o=o!==null?o.memoizedState:null}else o=Dt.next;var s=Lt===null?ft.memoizedState:Lt.next;if(s!==null)Lt=s,Dt=o;else{if(o===null)throw Error(r(310));Dt=o,o={memoizedState:Dt.memoizedState,baseState:Dt.baseState,baseQueue:Dt.baseQueue,queue:Dt.queue,next:null},Lt===null?ft.memoizedState=Lt=o:Lt=Lt.next=o}return Lt}function tl(o,s){return typeof s=="function"?s(o):s}function dp(o){var s=Gr(),u=s.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=o;var p=Dt,y=p.baseQueue,S=u.pending;if(S!==null){if(y!==null){var A=y.next;y.next=S.next,S.next=A}p.baseQueue=y=S,u.pending=null}if(y!==null){S=y.next,p=p.baseState;var F=A=null,q=null,Z=S;do{var ae=Z.lane;if((Ei&ae)===ae)q!==null&&(q=q.next={lane:0,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null}),p=Z.hasEagerState?Z.eagerState:o(p,Z.action);else{var de={lane:ae,action:Z.action,hasEagerState:Z.hasEagerState,eagerState:Z.eagerState,next:null};q===null?(F=q=de,A=p):q=q.next=de,ft.lanes|=ae,ki|=ae}Z=Z.next}while(Z!==null&&Z!==S);q===null?A=p:q.next=F,ln(p,s.memoizedState)||(wr=!0),s.memoizedState=p,s.baseState=A,s.baseQueue=q,u.lastRenderedState=p}if(o=u.interleaved,o!==null){y=o;do S=y.lane,ft.lanes|=S,ki|=S,y=y.next;while(y!==o)}else y===null&&(u.lanes=0);return[s.memoizedState,u.dispatch]}function fp(o){var s=Gr(),u=s.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=o;var p=u.dispatch,y=u.pending,S=s.memoizedState;if(y!==null){u.pending=null;var A=y=y.next;do S=o(S,A.action),A=A.next;while(A!==y);ln(S,s.memoizedState)||(wr=!0),s.memoizedState=S,s.baseQueue===null&&(s.baseState=S),u.lastRenderedState=S}return[S,p]}function r0(){}function n0(o,s){var u=ft,p=Gr(),y=s(),S=!ln(p.memoizedState,y);if(S&&(p.memoizedState=y,wr=!0),p=p.queue,pp(s0.bind(null,u,p,o),[o]),p.getSnapshot!==s||S||Lt!==null&&Lt.memoizedState.tag&1){if(u.flags|=2048,rl(9,i0.bind(null,u,p,y,s),void 0,null),Ft===null)throw Error(r(349));(Ei&30)!==0||o0(u,s,y)}return y}function o0(o,s,u){o.flags|=16384,o={getSnapshot:s,value:u},s=ft.updateQueue,s===null?(s={lastEffect:null,stores:null},ft.updateQueue=s,s.stores=[o]):(u=s.stores,u===null?s.stores=[o]:u.push(o))}function i0(o,s,u,p){s.value=u,s.getSnapshot=p,a0(s)&&l0(o)}function s0(o,s,u){return u(function(){a0(s)&&l0(o)})}function a0(o){var s=o.getSnapshot;o=o.value;try{var u=s();return!ln(o,u)}catch{return!0}}function l0(o){var s=to(o,1);s!==null&&pn(s,o,1,-1)}function c0(o){var s=Nn();return typeof o=="function"&&(o=o()),s.memoizedState=s.baseState=o,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:tl,lastRenderedState:o},s.queue=o,o=o.dispatch=XP.bind(null,ft,o),[s.memoizedState,o]}function rl(o,s,u,p){return o={tag:o,create:s,destroy:u,deps:p,next:null},s=ft.updateQueue,s===null?(s={lastEffect:null,stores:null},ft.updateQueue=s,s.lastEffect=o.next=o):(u=s.lastEffect,u===null?s.lastEffect=o.next=o:(p=u.next,u.next=o,o.next=p,s.lastEffect=o)),o}function u0(){return Gr().memoizedState}function $c(o,s,u,p){var y=Nn();ft.flags|=o,y.memoizedState=rl(1|s,u,void 0,p===void 0?null:p)}function zc(o,s,u,p){var y=Gr();p=p===void 0?null:p;var S=void 0;if(Dt!==null){var A=Dt.memoizedState;if(S=A.destroy,p!==null&&lp(p,A.deps)){y.memoizedState=rl(s,u,S,p);return}}ft.flags|=o,y.memoizedState=rl(1|s,u,S,p)}function d0(o,s){return $c(8390656,8,o,s)}function pp(o,s){return zc(2048,8,o,s)}function f0(o,s){return zc(4,2,o,s)}function p0(o,s){return zc(4,4,o,s)}function m0(o,s){if(typeof s=="function")return o=o(),s(o),function(){s(null)};if(s!=null)return o=o(),s.current=o,function(){s.current=null}}function h0(o,s,u){return u=u!=null?u.concat([o]):null,zc(4,4,m0.bind(null,s,o),u)}function mp(){}function g0(o,s){var u=Gr();s=s===void 0?null:s;var p=u.memoizedState;return p!==null&&s!==null&&lp(s,p[1])?p[0]:(u.memoizedState=[o,s],o)}function y0(o,s){var u=Gr();s=s===void 0?null:s;var p=u.memoizedState;return p!==null&&s!==null&&lp(s,p[1])?p[0]:(o=o(),u.memoizedState=[o,s],o)}function v0(o,s,u){return(Ei&21)===0?(o.baseState&&(o.baseState=!1,wr=!0),o.memoizedState=u):(ln(u,s)||(u=Ky(),ft.lanes|=u,ki|=u,o.baseState=!0),s)}function KP(o,s){var u=et;et=u!==0&&4>u?u:4,o(!0);var p=ap.transition;ap.transition={};try{o(!1),s()}finally{et=u,ap.transition=p}}function b0(){return Gr().memoizedState}function YP(o,s,u){var p=Ko(o);if(u={lane:p,action:u,hasEagerState:!1,eagerState:null,next:null},w0(o))S0(s,u);else if(u=Qv(o,s,u,p),u!==null){var y=or();pn(u,o,p,y),x0(u,s,p)}}function XP(o,s,u){var p=Ko(o),y={lane:p,action:u,hasEagerState:!1,eagerState:null,next:null};if(w0(o))S0(s,y);else{var S=o.alternate;if(o.lanes===0&&(S===null||S.lanes===0)&&(S=s.lastRenderedReducer,S!==null))try{var A=s.lastRenderedState,F=S(A,u);if(y.hasEagerState=!0,y.eagerState=F,ln(F,A)){var q=s.interleaved;q===null?(y.next=y,tp(s)):(y.next=q.next,q.next=y),s.interleaved=y;return}}catch{}finally{}u=Qv(o,s,y,p),u!==null&&(y=or(),pn(u,o,p,y),x0(u,s,p))}}function w0(o){var s=o.alternate;return o===ft||s!==null&&s===ft}function S0(o,s){Za=Uc=!0;var u=o.pending;u===null?s.next=s:(s.next=u.next,u.next=s),o.pending=s}function x0(o,s,u){if((u&4194240)!==0){var p=s.lanes;p&=o.pendingLanes,u|=p,s.lanes=u,gf(o,u)}}var Bc={readContext:Wr,useCallback:Yt,useContext:Yt,useEffect:Yt,useImperativeHandle:Yt,useInsertionEffect:Yt,useLayoutEffect:Yt,useMemo:Yt,useReducer:Yt,useRef:Yt,useState:Yt,useDebugValue:Yt,useDeferredValue:Yt,useTransition:Yt,useMutableSource:Yt,useSyncExternalStore:Yt,useId:Yt,unstable_isNewReconciler:!1},QP={readContext:Wr,useCallback:function(o,s){return Nn().memoizedState=[o,s===void 0?null:s],o},useContext:Wr,useEffect:d0,useImperativeHandle:function(o,s,u){return u=u!=null?u.concat([o]):null,$c(4194308,4,m0.bind(null,s,o),u)},useLayoutEffect:function(o,s){return $c(4194308,4,o,s)},useInsertionEffect:function(o,s){return $c(4,2,o,s)},useMemo:function(o,s){var u=Nn();return s=s===void 0?null:s,o=o(),u.memoizedState=[o,s],o},useReducer:function(o,s,u){var p=Nn();return s=u!==void 0?u(s):s,p.memoizedState=p.baseState=s,o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:o,lastRenderedState:s},p.queue=o,o=o.dispatch=YP.bind(null,ft,o),[p.memoizedState,o]},useRef:function(o){var s=Nn();return o={current:o},s.memoizedState=o},useState:c0,useDebugValue:mp,useDeferredValue:function(o){return Nn().memoizedState=o},useTransition:function(){var o=c0(!1),s=o[0];return o=KP.bind(null,o[1]),Nn().memoizedState=o,[s,o]},useMutableSource:function(){},useSyncExternalStore:function(o,s,u){var p=ft,y=Nn();if(lt){if(u===void 0)throw Error(r(407));u=u()}else{if(u=s(),Ft===null)throw Error(r(349));(Ei&30)!==0||o0(p,s,u)}y.memoizedState=u;var S={value:u,getSnapshot:s};return y.queue=S,d0(s0.bind(null,p,S,o),[o]),p.flags|=2048,rl(9,i0.bind(null,p,S,u,s),void 0,null),u},useId:function(){var o=Nn(),s=Ft.identifierPrefix;if(lt){var u=eo,p=Zn;u=(p&~(1<<32-an(p)-1)).toString(32)+u,s=":"+s+"R"+u,u=el++,0<u&&(s+="H"+u.toString(32)),s+=":"}else u=GP++,s=":"+s+"r"+u.toString(32)+":";return o.memoizedState=s},unstable_isNewReconciler:!1},JP={readContext:Wr,useCallback:g0,useContext:Wr,useEffect:pp,useImperativeHandle:h0,useInsertionEffect:f0,useLayoutEffect:p0,useMemo:y0,useReducer:dp,useRef:u0,useState:function(){return dp(tl)},useDebugValue:mp,useDeferredValue:function(o){var s=Gr();return v0(s,Dt.memoizedState,o)},useTransition:function(){var o=dp(tl)[0],s=Gr().memoizedState;return[o,s]},useMutableSource:r0,useSyncExternalStore:n0,useId:b0,unstable_isNewReconciler:!1},ZP={readContext:Wr,useCallback:g0,useContext:Wr,useEffect:pp,useImperativeHandle:h0,useInsertionEffect:f0,useLayoutEffect:p0,useMemo:y0,useReducer:fp,useRef:u0,useState:function(){return fp(tl)},useDebugValue:mp,useDeferredValue:function(o){var s=Gr();return Dt===null?s.memoizedState=o:v0(s,Dt.memoizedState,o)},useTransition:function(){var o=fp(tl)[0],s=Gr().memoizedState;return[o,s]},useMutableSource:r0,useSyncExternalStore:n0,useId:b0,unstable_isNewReconciler:!1};function un(o,s){if(o&&o.defaultProps){s=L({},s),o=o.defaultProps;for(var u in o)s[u]===void 0&&(s[u]=o[u]);return s}return s}function hp(o,s,u,p){s=o.memoizedState,u=u(p,s),u=u==null?s:L({},s,u),o.memoizedState=u,o.lanes===0&&(o.updateQueue.baseState=u)}var qc={isMounted:function(o){return(o=o._reactInternals)?vi(o)===o:!1},enqueueSetState:function(o,s,u){o=o._reactInternals;var p=or(),y=Ko(o),S=ro(p,y);S.payload=s,u!=null&&(S.callback=u),s=Vo(o,S,y),s!==null&&(pn(s,o,y,p),jc(s,o,y))},enqueueReplaceState:function(o,s,u){o=o._reactInternals;var p=or(),y=Ko(o),S=ro(p,y);S.tag=1,S.payload=s,u!=null&&(S.callback=u),s=Vo(o,S,y),s!==null&&(pn(s,o,y,p),jc(s,o,y))},enqueueForceUpdate:function(o,s){o=o._reactInternals;var u=or(),p=Ko(o),y=ro(u,p);y.tag=2,s!=null&&(y.callback=s),s=Vo(o,y,p),s!==null&&(pn(s,o,p,u),jc(s,o,p))}};function C0(o,s,u,p,y,S,A){return o=o.stateNode,typeof o.shouldComponentUpdate=="function"?o.shouldComponentUpdate(p,S,A):s.prototype&&s.prototype.isPureReactComponent?!Ba(u,p)||!Ba(y,S):!0}function R0(o,s,u){var p=!1,y=zo,S=s.contextType;return typeof S=="object"&&S!==null?S=Wr(S):(y=br(s)?wi:Kt.current,p=s.contextTypes,S=(p=p!=null)?ws(o,y):zo),s=new s(u,S),o.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,s.updater=qc,o.stateNode=s,s._reactInternals=o,p&&(o=o.stateNode,o.__reactInternalMemoizedUnmaskedChildContext=y,o.__reactInternalMemoizedMaskedChildContext=S),s}function E0(o,s,u,p){o=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(u,p),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(u,p),s.state!==o&&qc.enqueueReplaceState(s,s.state,null)}function gp(o,s,u,p){var y=o.stateNode;y.props=u,y.state=o.memoizedState,y.refs={},rp(o);var S=s.contextType;typeof S=="object"&&S!==null?y.context=Wr(S):(S=br(s)?wi:Kt.current,y.context=ws(o,S)),y.state=o.memoizedState,S=s.getDerivedStateFromProps,typeof S=="function"&&(hp(o,s,S,u),y.state=o.memoizedState),typeof s.getDerivedStateFromProps=="function"||typeof y.getSnapshotBeforeUpdate=="function"||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(s=y.state,typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount(),s!==y.state&&qc.enqueueReplaceState(y,y.state,null),Lc(o,u,y,p),y.state=o.memoizedState),typeof y.componentDidMount=="function"&&(o.flags|=4194308)}function As(o,s){try{var u="",p=s;do u+=oe(p),p=p.return;while(p);var y=u}catch(S){y=`
|
||
Error generating stack: `+S.message+`
|
||
`+S.stack}return{value:o,source:s,stack:y,digest:null}}function yp(o,s,u){return{value:o,source:null,stack:u??null,digest:s??null}}function DH(o,s){}var eA=typeof WeakMap=="function"?WeakMap:Map;function k0(o,s,u){u=ro(-1,u),u.tag=3,u.payload={element:null};var p=s.value;return u.callback=function(){Xc||(Xc=!0,Op=p)},u}function P0(o,s,u){u=ro(-1,u),u.tag=3;var p=o.type.getDerivedStateFromError;if(typeof p=="function"){var y=s.value;u.payload=function(){return p(y)},u.callback=function(){}}var S=o.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(u.callback=function(){typeof p!="function"&&(Wo===null?Wo=new Set([this]):Wo.add(this));var A=s.stack;this.componentDidCatch(s.value,{componentStack:A!==null?A:""})}),u}function A0(o,s,u){var p=o.pingCache;if(p===null){p=o.pingCache=new eA;var y=new Set;p.set(s,y)}else y=p.get(s),y===void 0&&(y=new Set,p.set(s,y));y.has(u)||(y.add(u),o=mA.bind(null,o,s,u),s.then(o,o))}function T0(o){do{var s;if((s=o.tag===13)&&(s=o.memoizedState,s=s!==null?s.dehydrated!==null:!0),s)return o;o=o.return}while(o!==null);return null}function N0(o,s,u,p,y){return(o.mode&1)===0?(o===s?o.flags|=65536:(o.flags|=128,u.flags|=131072,u.flags&=-52805,u.tag===1&&(u.alternate===null?u.tag=17:(s=ro(-1,1),s.tag=2,Vo(u,s,1))),u.lanes|=1),o):(o.flags|=65536,o.lanes=y,o)}var tA=T.ReactCurrentOwner,wr=!1;function nr(o,s,u,p){s.child=o===null?Xv(s,null,u,p):Rs(s,o.child,u,p)}function D0(o,s,u,p,y){u=u.render;var S=s.ref;return ks(s,y),p=cp(o,s,u,p,S,y),u=up(),o!==null&&!wr?(s.updateQueue=o.updateQueue,s.flags&=-2053,o.lanes&=~y,no(o,s,y)):(lt&&u&&Wf(s),s.flags|=1,nr(o,s,p,y),s.child)}function O0(o,s,u,p,y){if(o===null){var S=u.type;return typeof S=="function"&&!Up(S)&&S.defaultProps===void 0&&u.compare===null&&u.defaultProps===void 0?(s.tag=15,s.type=S,_0(o,s,S,p,y)):(o=ru(u.type,null,p,s,s.mode,y),o.ref=s.ref,o.return=s,s.child=o)}if(S=o.child,(o.lanes&y)===0){var A=S.memoizedProps;if(u=u.compare,u=u!==null?u:Ba,u(A,p)&&o.ref===s.ref)return no(o,s,y)}return s.flags|=1,o=Xo(S,p),o.ref=s.ref,o.return=s,s.child=o}function _0(o,s,u,p,y){if(o!==null){var S=o.memoizedProps;if(Ba(S,p)&&o.ref===s.ref)if(wr=!1,s.pendingProps=p=S,(o.lanes&y)!==0)(o.flags&131072)!==0&&(wr=!0);else return s.lanes=o.lanes,no(o,s,y)}return vp(o,s,u,p,y)}function M0(o,s,u){var p=s.pendingProps,y=p.children,S=o!==null?o.memoizedState:null;if(p.mode==="hidden")if((s.mode&1)===0)s.memoizedState={baseLanes:0,cachePool:null,transitions:null},tt(Ns,Lr),Lr|=u;else{if((u&1073741824)===0)return o=S!==null?S.baseLanes|u:u,s.lanes=s.childLanes=1073741824,s.memoizedState={baseLanes:o,cachePool:null,transitions:null},s.updateQueue=null,tt(Ns,Lr),Lr|=o,null;s.memoizedState={baseLanes:0,cachePool:null,transitions:null},p=S!==null?S.baseLanes:u,tt(Ns,Lr),Lr|=p}else S!==null?(p=S.baseLanes|u,s.memoizedState=null):p=u,tt(Ns,Lr),Lr|=p;return nr(o,s,y,u),s.child}function j0(o,s){var u=s.ref;(o===null&&u!==null||o!==null&&o.ref!==u)&&(s.flags|=512,s.flags|=2097152)}function vp(o,s,u,p,y){var S=br(u)?wi:Kt.current;return S=ws(s,S),ks(s,y),u=cp(o,s,u,p,S,y),p=up(),o!==null&&!wr?(s.updateQueue=o.updateQueue,s.flags&=-2053,o.lanes&=~y,no(o,s,y)):(lt&&p&&Wf(s),s.flags|=1,nr(o,s,u,y),s.child)}function L0(o,s,u,p,y){if(br(u)){var S=!0;Pc(s)}else S=!1;if(ks(s,y),s.stateNode===null)Hc(o,s),R0(s,u,p),gp(s,u,p,y),p=!0;else if(o===null){var A=s.stateNode,F=s.memoizedProps;A.props=F;var q=A.context,Z=u.contextType;typeof Z=="object"&&Z!==null?Z=Wr(Z):(Z=br(u)?wi:Kt.current,Z=ws(s,Z));var ae=u.getDerivedStateFromProps,de=typeof ae=="function"||typeof A.getSnapshotBeforeUpdate=="function";de||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(F!==p||q!==Z)&&E0(s,A,p,Z),qo=!1;var se=s.memoizedState;A.state=se,Lc(s,p,A,y),q=s.memoizedState,F!==p||se!==q||vr.current||qo?(typeof ae=="function"&&(hp(s,u,ae,p),q=s.memoizedState),(F=qo||C0(s,u,F,p,se,q,Z))?(de||typeof A.UNSAFE_componentWillMount!="function"&&typeof A.componentWillMount!="function"||(typeof A.componentWillMount=="function"&&A.componentWillMount(),typeof A.UNSAFE_componentWillMount=="function"&&A.UNSAFE_componentWillMount()),typeof A.componentDidMount=="function"&&(s.flags|=4194308)):(typeof A.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=p,s.memoizedState=q),A.props=p,A.state=q,A.context=Z,p=F):(typeof A.componentDidMount=="function"&&(s.flags|=4194308),p=!1)}else{A=s.stateNode,Jv(o,s),F=s.memoizedProps,Z=s.type===s.elementType?F:un(s.type,F),A.props=Z,de=s.pendingProps,se=A.context,q=u.contextType,typeof q=="object"&&q!==null?q=Wr(q):(q=br(u)?wi:Kt.current,q=ws(s,q));var be=u.getDerivedStateFromProps;(ae=typeof be=="function"||typeof A.getSnapshotBeforeUpdate=="function")||typeof A.UNSAFE_componentWillReceiveProps!="function"&&typeof A.componentWillReceiveProps!="function"||(F!==de||se!==q)&&E0(s,A,p,q),qo=!1,se=s.memoizedState,A.state=se,Lc(s,p,A,y);var Ce=s.memoizedState;F!==de||se!==Ce||vr.current||qo?(typeof be=="function"&&(hp(s,u,be,p),Ce=s.memoizedState),(Z=qo||C0(s,u,Z,p,se,Ce,q)||!1)?(ae||typeof A.UNSAFE_componentWillUpdate!="function"&&typeof A.componentWillUpdate!="function"||(typeof A.componentWillUpdate=="function"&&A.componentWillUpdate(p,Ce,q),typeof A.UNSAFE_componentWillUpdate=="function"&&A.UNSAFE_componentWillUpdate(p,Ce,q)),typeof A.componentDidUpdate=="function"&&(s.flags|=4),typeof A.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof A.componentDidUpdate!="function"||F===o.memoizedProps&&se===o.memoizedState||(s.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||F===o.memoizedProps&&se===o.memoizedState||(s.flags|=1024),s.memoizedProps=p,s.memoizedState=Ce),A.props=p,A.state=Ce,A.context=q,p=Z):(typeof A.componentDidUpdate!="function"||F===o.memoizedProps&&se===o.memoizedState||(s.flags|=4),typeof A.getSnapshotBeforeUpdate!="function"||F===o.memoizedProps&&se===o.memoizedState||(s.flags|=1024),p=!1)}return bp(o,s,u,p,S,y)}function bp(o,s,u,p,y,S){j0(o,s);var A=(s.flags&128)!==0;if(!p&&!A)return y&&zv(s,u,!1),no(o,s,S);p=s.stateNode,tA.current=s;var F=A&&typeof u.getDerivedStateFromError!="function"?null:p.render();return s.flags|=1,o!==null&&A?(s.child=Rs(s,o.child,null,S),s.child=Rs(s,null,F,S)):nr(o,s,F,S),s.memoizedState=p.state,y&&zv(s,u,!0),s.child}function F0(o){var s=o.stateNode;s.pendingContext?Uv(o,s.pendingContext,s.pendingContext!==s.context):s.context&&Uv(o,s.context,!1),np(o,s.containerInfo)}function I0(o,s,u,p,y){return Cs(),Xf(y),s.flags|=256,nr(o,s,u,p),s.child}var wp={dehydrated:null,treeContext:null,retryLane:0};function Sp(o){return{baseLanes:o,cachePool:null,transitions:null}}function U0(o,s,u){var p=s.pendingProps,y=dt.current,S=!1,A=(s.flags&128)!==0,F;if((F=A)||(F=o!==null&&o.memoizedState===null?!1:(y&2)!==0),F?(S=!0,s.flags&=-129):(o===null||o.memoizedState!==null)&&(y|=1),tt(dt,y&1),o===null)return Yf(s),o=s.memoizedState,o!==null&&(o=o.dehydrated,o!==null)?((s.mode&1)===0?s.lanes=1:o.data==="$!"?s.lanes=8:s.lanes=1073741824,null):(A=p.children,o=p.fallback,S?(p=s.mode,S=s.child,A={mode:"hidden",children:A},(p&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=A):S=nu(A,p,0,null),o=Ni(o,p,u,null),S.return=s,o.return=s,S.sibling=o,s.child=S,s.child.memoizedState=Sp(u),s.memoizedState=wp,o):xp(s,A));if(y=o.memoizedState,y!==null&&(F=y.dehydrated,F!==null))return rA(o,s,A,p,F,y,u);if(S){S=p.fallback,A=s.mode,y=o.child,F=y.sibling;var q={mode:"hidden",children:p.children};return(A&1)===0&&s.child!==y?(p=s.child,p.childLanes=0,p.pendingProps=q,s.deletions=null):(p=Xo(y,q),p.subtreeFlags=y.subtreeFlags&14680064),F!==null?S=Xo(F,S):(S=Ni(S,A,u,null),S.flags|=2),S.return=s,p.return=s,p.sibling=S,s.child=p,p=S,S=s.child,A=o.child.memoizedState,A=A===null?Sp(u):{baseLanes:A.baseLanes|u,cachePool:null,transitions:A.transitions},S.memoizedState=A,S.childLanes=o.childLanes&~u,s.memoizedState=wp,p}return S=o.child,o=S.sibling,p=Xo(S,{mode:"visible",children:p.children}),(s.mode&1)===0&&(p.lanes=u),p.return=s,p.sibling=null,o!==null&&(u=s.deletions,u===null?(s.deletions=[o],s.flags|=16):u.push(o)),s.child=p,s.memoizedState=null,p}function xp(o,s){return s=nu({mode:"visible",children:s},o.mode,0,null),s.return=o,o.child=s}function Vc(o,s,u,p){return p!==null&&Xf(p),Rs(s,o.child,null,u),o=xp(s,s.pendingProps.children),o.flags|=2,s.memoizedState=null,o}function rA(o,s,u,p,y,S,A){if(u)return s.flags&256?(s.flags&=-257,p=yp(Error(r(422))),Vc(o,s,A,p)):s.memoizedState!==null?(s.child=o.child,s.flags|=128,null):(S=p.fallback,y=s.mode,p=nu({mode:"visible",children:p.children},y,0,null),S=Ni(S,y,A,null),S.flags|=2,p.return=s,S.return=s,p.sibling=S,s.child=p,(s.mode&1)!==0&&Rs(s,o.child,null,A),s.child.memoizedState=Sp(A),s.memoizedState=wp,S);if((s.mode&1)===0)return Vc(o,s,A,null);if(y.data==="$!"){if(p=y.nextSibling&&y.nextSibling.dataset,p)var F=p.dgst;return p=F,S=Error(r(419)),p=yp(S,p,void 0),Vc(o,s,A,p)}if(F=(A&o.childLanes)!==0,wr||F){if(p=Ft,p!==null){switch(A&-A){case 4:y=2;break;case 16:y=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:y=32;break;case 536870912:y=268435456;break;default:y=0}y=(y&(p.suspendedLanes|A))!==0?0:y,y!==0&&y!==S.retryLane&&(S.retryLane=y,to(o,y),pn(p,o,y,-1))}return Ip(),p=yp(Error(r(421))),Vc(o,s,A,p)}return y.data==="$?"?(s.flags|=128,s.child=o.child,s=hA.bind(null,o),y._reactRetry=s,null):(o=S.treeContext,jr=Uo(y.nextSibling),Mr=s,lt=!0,cn=null,o!==null&&(Vr[Hr++]=Zn,Vr[Hr++]=eo,Vr[Hr++]=Si,Zn=o.id,eo=o.overflow,Si=s),s=xp(s,p.children),s.flags|=4096,s)}function $0(o,s,u){o.lanes|=s;var p=o.alternate;p!==null&&(p.lanes|=s),ep(o.return,s,u)}function Cp(o,s,u,p,y){var S=o.memoizedState;S===null?o.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:p,tail:u,tailMode:y}:(S.isBackwards=s,S.rendering=null,S.renderingStartTime=0,S.last=p,S.tail=u,S.tailMode=y)}function z0(o,s,u){var p=s.pendingProps,y=p.revealOrder,S=p.tail;if(nr(o,s,p.children,u),p=dt.current,(p&2)!==0)p=p&1|2,s.flags|=128;else{if(o!==null&&(o.flags&128)!==0)e:for(o=s.child;o!==null;){if(o.tag===13)o.memoizedState!==null&&$0(o,u,s);else if(o.tag===19)$0(o,u,s);else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===s)break e;for(;o.sibling===null;){if(o.return===null||o.return===s)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}p&=1}if(tt(dt,p),(s.mode&1)===0)s.memoizedState=null;else switch(y){case"forwards":for(u=s.child,y=null;u!==null;)o=u.alternate,o!==null&&Fc(o)===null&&(y=u),u=u.sibling;u=y,u===null?(y=s.child,s.child=null):(y=u.sibling,u.sibling=null),Cp(s,!1,y,u,S);break;case"backwards":for(u=null,y=s.child,s.child=null;y!==null;){if(o=y.alternate,o!==null&&Fc(o)===null){s.child=y;break}o=y.sibling,y.sibling=u,u=y,y=o}Cp(s,!0,u,null,S);break;case"together":Cp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Hc(o,s){(s.mode&1)===0&&o!==null&&(o.alternate=null,s.alternate=null,s.flags|=2)}function no(o,s,u){if(o!==null&&(s.dependencies=o.dependencies),ki|=s.lanes,(u&s.childLanes)===0)return null;if(o!==null&&s.child!==o.child)throw Error(r(153));if(s.child!==null){for(o=s.child,u=Xo(o,o.pendingProps),s.child=u,u.return=s;o.sibling!==null;)o=o.sibling,u=u.sibling=Xo(o,o.pendingProps),u.return=s;u.sibling=null}return s.child}function nA(o,s,u){switch(s.tag){case 3:F0(s),Cs();break;case 5:t0(s);break;case 1:br(s.type)&&Pc(s);break;case 4:np(s,s.stateNode.containerInfo);break;case 10:var p=s.type._context,y=s.memoizedProps.value;tt(_c,p._currentValue),p._currentValue=y;break;case 13:if(p=s.memoizedState,p!==null)return p.dehydrated!==null?(tt(dt,dt.current&1),s.flags|=128,null):(u&s.child.childLanes)!==0?U0(o,s,u):(tt(dt,dt.current&1),o=no(o,s,u),o!==null?o.sibling:null);tt(dt,dt.current&1);break;case 19:if(p=(u&s.childLanes)!==0,(o.flags&128)!==0){if(p)return z0(o,s,u);s.flags|=128}if(y=s.memoizedState,y!==null&&(y.rendering=null,y.tail=null,y.lastEffect=null),tt(dt,dt.current),p)break;return null;case 22:case 23:return s.lanes=0,M0(o,s,u)}return no(o,s,u)}var B0,Rp,q0,V0;B0=function(o,s){for(var u=s.child;u!==null;){if(u.tag===5||u.tag===6)o.appendChild(u.stateNode);else if(u.tag!==4&&u.child!==null){u.child.return=u,u=u.child;continue}if(u===s)break;for(;u.sibling===null;){if(u.return===null||u.return===s)return;u=u.return}u.sibling.return=u.return,u=u.sibling}},Rp=function(){},q0=function(o,s,u,p){var y=o.memoizedProps;if(y!==p){o=s.stateNode,Ri(Tn.current);var S=null;switch(u){case"input":y=We(o,y),p=We(o,p),S=[];break;case"select":y=L({},y,{value:void 0}),p=L({},p,{value:void 0}),S=[];break;case"textarea":y=yt(o,y),p=yt(o,p),S=[];break;default:typeof y.onClick!="function"&&typeof p.onClick=="function"&&(o.onclick=Rc)}mt(u,p);var A;u=null;for(Z in y)if(!p.hasOwnProperty(Z)&&y.hasOwnProperty(Z)&&y[Z]!=null)if(Z==="style"){var F=y[Z];for(A in F)F.hasOwnProperty(A)&&(u||(u={}),u[A]="")}else Z!=="dangerouslySetInnerHTML"&&Z!=="children"&&Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&Z!=="autoFocus"&&(i.hasOwnProperty(Z)?S||(S=[]):(S=S||[]).push(Z,null));for(Z in p){var q=p[Z];if(F=y!=null?y[Z]:void 0,p.hasOwnProperty(Z)&&q!==F&&(q!=null||F!=null))if(Z==="style")if(F){for(A in F)!F.hasOwnProperty(A)||q&&q.hasOwnProperty(A)||(u||(u={}),u[A]="");for(A in q)q.hasOwnProperty(A)&&F[A]!==q[A]&&(u||(u={}),u[A]=q[A])}else u||(S||(S=[]),S.push(Z,u)),u=q;else Z==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,F=F?F.__html:void 0,q!=null&&F!==q&&(S=S||[]).push(Z,q)):Z==="children"?typeof q!="string"&&typeof q!="number"||(S=S||[]).push(Z,""+q):Z!=="suppressContentEditableWarning"&&Z!=="suppressHydrationWarning"&&(i.hasOwnProperty(Z)?(q!=null&&Z==="onScroll"&&nt("scroll",o),S||F===q||(S=[])):(S=S||[]).push(Z,q))}u&&(S=S||[]).push("style",u);var Z=S;(s.updateQueue=Z)&&(s.flags|=4)}},V0=function(o,s,u,p){u!==p&&(s.flags|=4)};function nl(o,s){if(!lt)switch(o.tailMode){case"hidden":s=o.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?o.tail=null:u.sibling=null;break;case"collapsed":u=o.tail;for(var p=null;u!==null;)u.alternate!==null&&(p=u),u=u.sibling;p===null?s||o.tail===null?o.tail=null:o.tail.sibling=null:p.sibling=null}}function Xt(o){var s=o.alternate!==null&&o.alternate.child===o.child,u=0,p=0;if(s)for(var y=o.child;y!==null;)u|=y.lanes|y.childLanes,p|=y.subtreeFlags&14680064,p|=y.flags&14680064,y.return=o,y=y.sibling;else for(y=o.child;y!==null;)u|=y.lanes|y.childLanes,p|=y.subtreeFlags,p|=y.flags,y.return=o,y=y.sibling;return o.subtreeFlags|=p,o.childLanes=u,s}function oA(o,s,u){var p=s.pendingProps;switch(Gf(s),s.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xt(s),null;case 1:return br(s.type)&&kc(),Xt(s),null;case 3:return p=s.stateNode,Ps(),ot(vr),ot(Kt),sp(),p.pendingContext&&(p.context=p.pendingContext,p.pendingContext=null),(o===null||o.child===null)&&(Dc(s)?s.flags|=4:o===null||o.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,cn!==null&&(jp(cn),cn=null))),Rp(o,s),Xt(s),null;case 5:op(s);var y=Ri(Ja.current);if(u=s.type,o!==null&&s.stateNode!=null)q0(o,s,u,p,y),o.ref!==s.ref&&(s.flags|=512,s.flags|=2097152);else{if(!p){if(s.stateNode===null)throw Error(r(166));return Xt(s),null}if(o=Ri(Tn.current),Dc(s)){p=s.stateNode,u=s.type;var S=s.memoizedProps;switch(p[An]=s,p[Ga]=S,o=(s.mode&1)!==0,u){case"dialog":nt("cancel",p),nt("close",p);break;case"iframe":case"object":case"embed":nt("load",p);break;case"video":case"audio":for(y=0;y<Va.length;y++)nt(Va[y],p);break;case"source":nt("error",p);break;case"img":case"image":case"link":nt("error",p),nt("load",p);break;case"details":nt("toggle",p);break;case"input":Pt(p,S),nt("invalid",p);break;case"select":p._wrapperState={wasMultiple:!!S.multiple},nt("invalid",p);break;case"textarea":fr(p,S),nt("invalid",p)}mt(u,S),y=null;for(var A in S)if(S.hasOwnProperty(A)){var F=S[A];A==="children"?typeof F=="string"?p.textContent!==F&&(S.suppressHydrationWarning!==!0&&Cc(p.textContent,F,o),y=["children",F]):typeof F=="number"&&p.textContent!==""+F&&(S.suppressHydrationWarning!==!0&&Cc(p.textContent,F,o),y=["children",""+F]):i.hasOwnProperty(A)&&F!=null&&A==="onScroll"&&nt("scroll",p)}switch(u){case"input":ge(p),dr(p,S,!0);break;case"textarea":ge(p),Ze(p);break;case"select":case"option":break;default:typeof S.onClick=="function"&&(p.onclick=Rc)}p=y,s.updateQueue=p,p!==null&&(s.flags|=4)}else{A=y.nodeType===9?y:y.ownerDocument,o==="http://www.w3.org/1999/xhtml"&&(o=pr(u)),o==="http://www.w3.org/1999/xhtml"?u==="script"?(o=A.createElement("div"),o.innerHTML="<script><\/script>",o=o.removeChild(o.firstChild)):typeof p.is=="string"?o=A.createElement(u,{is:p.is}):(o=A.createElement(u),u==="select"&&(A=o,p.multiple?A.multiple=!0:p.size&&(A.size=p.size))):o=A.createElementNS(o,u),o[An]=s,o[Ga]=p,B0(o,s,!1,!1),s.stateNode=o;e:{switch(A=yr(u,p),u){case"dialog":nt("cancel",o),nt("close",o),y=p;break;case"iframe":case"object":case"embed":nt("load",o),y=p;break;case"video":case"audio":for(y=0;y<Va.length;y++)nt(Va[y],o);y=p;break;case"source":nt("error",o),y=p;break;case"img":case"image":case"link":nt("error",o),nt("load",o),y=p;break;case"details":nt("toggle",o),y=p;break;case"input":Pt(o,p),y=We(o,p),nt("invalid",o);break;case"option":y=p;break;case"select":o._wrapperState={wasMultiple:!!p.multiple},y=L({},p,{value:void 0}),nt("invalid",o);break;case"textarea":fr(o,p),y=yt(o,p),nt("invalid",o);break;default:y=p}mt(u,y),F=y;for(S in F)if(F.hasOwnProperty(S)){var q=F[S];S==="style"?zt(o,q):S==="dangerouslySetInnerHTML"?(q=q?q.__html:void 0,q!=null&&Ao(o,q)):S==="children"?typeof q=="string"?(u!=="textarea"||q!=="")&&hr(o,q):typeof q=="number"&&hr(o,""+q):S!=="suppressContentEditableWarning"&&S!=="suppressHydrationWarning"&&S!=="autoFocus"&&(i.hasOwnProperty(S)?q!=null&&S==="onScroll"&&nt("scroll",o):q!=null&&k(o,S,q,A))}switch(u){case"input":ge(o),dr(o,p,!1);break;case"textarea":ge(o),Ze(o);break;case"option":p.value!=null&&o.setAttribute("value",""+ue(p.value));break;case"select":o.multiple=!!p.multiple,S=p.value,S!=null?Dr(o,!!p.multiple,S,!1):p.defaultValue!=null&&Dr(o,!!p.multiple,p.defaultValue,!0);break;default:typeof y.onClick=="function"&&(o.onclick=Rc)}switch(u){case"button":case"input":case"select":case"textarea":p=!!p.autoFocus;break e;case"img":p=!0;break e;default:p=!1}}p&&(s.flags|=4)}s.ref!==null&&(s.flags|=512,s.flags|=2097152)}return Xt(s),null;case 6:if(o&&s.stateNode!=null)V0(o,s,o.memoizedProps,p);else{if(typeof p!="string"&&s.stateNode===null)throw Error(r(166));if(u=Ri(Ja.current),Ri(Tn.current),Dc(s)){if(p=s.stateNode,u=s.memoizedProps,p[An]=s,(S=p.nodeValue!==u)&&(o=Mr,o!==null))switch(o.tag){case 3:Cc(p.nodeValue,u,(o.mode&1)!==0);break;case 5:o.memoizedProps.suppressHydrationWarning!==!0&&Cc(p.nodeValue,u,(o.mode&1)!==0)}S&&(s.flags|=4)}else p=(u.nodeType===9?u:u.ownerDocument).createTextNode(p),p[An]=s,s.stateNode=p}return Xt(s),null;case 13:if(ot(dt),p=s.memoizedState,o===null||o.memoizedState!==null&&o.memoizedState.dehydrated!==null){if(lt&&jr!==null&&(s.mode&1)!==0&&(s.flags&128)===0)Gv(),Cs(),s.flags|=98560,S=!1;else if(S=Dc(s),p!==null&&p.dehydrated!==null){if(o===null){if(!S)throw Error(r(318));if(S=s.memoizedState,S=S!==null?S.dehydrated:null,!S)throw Error(r(317));S[An]=s}else Cs(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Xt(s),S=!1}else cn!==null&&(jp(cn),cn=null),S=!0;if(!S)return s.flags&65536?s:null}return(s.flags&128)!==0?(s.lanes=u,s):(p=p!==null,p!==(o!==null&&o.memoizedState!==null)&&p&&(s.child.flags|=8192,(s.mode&1)!==0&&(o===null||(dt.current&1)!==0?Ot===0&&(Ot=3):Ip())),s.updateQueue!==null&&(s.flags|=4),Xt(s),null);case 4:return Ps(),Rp(o,s),o===null&&Ha(s.stateNode.containerInfo),Xt(s),null;case 10:return Zf(s.type._context),Xt(s),null;case 17:return br(s.type)&&kc(),Xt(s),null;case 19:if(ot(dt),S=s.memoizedState,S===null)return Xt(s),null;if(p=(s.flags&128)!==0,A=S.rendering,A===null)if(p)nl(S,!1);else{if(Ot!==0||o!==null&&(o.flags&128)!==0)for(o=s.child;o!==null;){if(A=Fc(o),A!==null){for(s.flags|=128,nl(S,!1),p=A.updateQueue,p!==null&&(s.updateQueue=p,s.flags|=4),s.subtreeFlags=0,p=u,u=s.child;u!==null;)S=u,o=p,S.flags&=14680066,A=S.alternate,A===null?(S.childLanes=0,S.lanes=o,S.child=null,S.subtreeFlags=0,S.memoizedProps=null,S.memoizedState=null,S.updateQueue=null,S.dependencies=null,S.stateNode=null):(S.childLanes=A.childLanes,S.lanes=A.lanes,S.child=A.child,S.subtreeFlags=0,S.deletions=null,S.memoizedProps=A.memoizedProps,S.memoizedState=A.memoizedState,S.updateQueue=A.updateQueue,S.type=A.type,o=A.dependencies,S.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext}),u=u.sibling;return tt(dt,dt.current&1|2),s.child}o=o.sibling}S.tail!==null&&bt()>Ds&&(s.flags|=128,p=!0,nl(S,!1),s.lanes=4194304)}else{if(!p)if(o=Fc(A),o!==null){if(s.flags|=128,p=!0,u=o.updateQueue,u!==null&&(s.updateQueue=u,s.flags|=4),nl(S,!0),S.tail===null&&S.tailMode==="hidden"&&!A.alternate&&!lt)return Xt(s),null}else 2*bt()-S.renderingStartTime>Ds&&u!==1073741824&&(s.flags|=128,p=!0,nl(S,!1),s.lanes=4194304);S.isBackwards?(A.sibling=s.child,s.child=A):(u=S.last,u!==null?u.sibling=A:s.child=A,S.last=A)}return S.tail!==null?(s=S.tail,S.rendering=s,S.tail=s.sibling,S.renderingStartTime=bt(),s.sibling=null,u=dt.current,tt(dt,p?u&1|2:u&1),s):(Xt(s),null);case 22:case 23:return Fp(),p=s.memoizedState!==null,o!==null&&o.memoizedState!==null!==p&&(s.flags|=8192),p&&(s.mode&1)!==0?(Lr&1073741824)!==0&&(Xt(s),s.subtreeFlags&6&&(s.flags|=8192)):Xt(s),null;case 24:return null;case 25:return null}throw Error(r(156,s.tag))}function iA(o,s){switch(Gf(s),s.tag){case 1:return br(s.type)&&kc(),o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 3:return Ps(),ot(vr),ot(Kt),sp(),o=s.flags,(o&65536)!==0&&(o&128)===0?(s.flags=o&-65537|128,s):null;case 5:return op(s),null;case 13:if(ot(dt),o=s.memoizedState,o!==null&&o.dehydrated!==null){if(s.alternate===null)throw Error(r(340));Cs()}return o=s.flags,o&65536?(s.flags=o&-65537|128,s):null;case 19:return ot(dt),null;case 4:return Ps(),null;case 10:return Zf(s.type._context),null;case 22:case 23:return Fp(),null;case 24:return null;default:return null}}var Wc=!1,Qt=!1,sA=typeof WeakSet=="function"?WeakSet:Set,Se=null;function Ts(o,s){var u=o.ref;if(u!==null)if(typeof u=="function")try{u(null)}catch(p){ht(o,s,p)}else u.current=null}function Ep(o,s,u){try{u()}catch(p){ht(o,s,p)}}var H0=!1;function aA(o,s){if(If=fc,o=Cv(),Nf(o)){if("selectionStart"in o)var u={start:o.selectionStart,end:o.selectionEnd};else e:{u=(u=o.ownerDocument)&&u.defaultView||window;var p=u.getSelection&&u.getSelection();if(p&&p.rangeCount!==0){u=p.anchorNode;var y=p.anchorOffset,S=p.focusNode;p=p.focusOffset;try{u.nodeType,S.nodeType}catch{u=null;break e}var A=0,F=-1,q=-1,Z=0,ae=0,de=o,se=null;t:for(;;){for(var be;de!==u||y!==0&&de.nodeType!==3||(F=A+y),de!==S||p!==0&&de.nodeType!==3||(q=A+p),de.nodeType===3&&(A+=de.nodeValue.length),(be=de.firstChild)!==null;)se=de,de=be;for(;;){if(de===o)break t;if(se===u&&++Z===y&&(F=A),se===S&&++ae===p&&(q=A),(be=de.nextSibling)!==null)break;de=se,se=de.parentNode}de=be}u=F===-1||q===-1?null:{start:F,end:q}}else u=null}u=u||{start:0,end:0}}else u=null;for(Uf={focusedElem:o,selectionRange:u},fc=!1,Se=s;Se!==null;)if(s=Se,o=s.child,(s.subtreeFlags&1028)!==0&&o!==null)o.return=s,Se=o;else for(;Se!==null;){s=Se;try{var Ce=s.alternate;if((s.flags&1024)!==0)switch(s.tag){case 0:case 11:case 15:break;case 1:if(Ce!==null){var Ee=Ce.memoizedProps,wt=Ce.memoizedState,Q=s.stateNode,G=Q.getSnapshotBeforeUpdate(s.elementType===s.type?Ee:un(s.type,Ee),wt);Q.__reactInternalSnapshotBeforeUpdate=G}break;case 3:var J=s.stateNode.containerInfo;J.nodeType===1?J.textContent="":J.nodeType===9&&J.documentElement&&J.removeChild(J.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(fe){ht(s,s.return,fe)}if(o=s.sibling,o!==null){o.return=s.return,Se=o;break}Se=s.return}return Ce=H0,H0=!1,Ce}function ol(o,s,u){var p=s.updateQueue;if(p=p!==null?p.lastEffect:null,p!==null){var y=p=p.next;do{if((y.tag&o)===o){var S=y.destroy;y.destroy=void 0,S!==void 0&&Ep(s,u,S)}y=y.next}while(y!==p)}}function Gc(o,s){if(s=s.updateQueue,s=s!==null?s.lastEffect:null,s!==null){var u=s=s.next;do{if((u.tag&o)===o){var p=u.create;u.destroy=p()}u=u.next}while(u!==s)}}function kp(o){var s=o.ref;if(s!==null){var u=o.stateNode;switch(o.tag){case 5:o=u;break;default:o=u}typeof s=="function"?s(o):s.current=o}}function W0(o){var s=o.alternate;s!==null&&(o.alternate=null,W0(s)),o.child=null,o.deletions=null,o.sibling=null,o.tag===5&&(s=o.stateNode,s!==null&&(delete s[An],delete s[Ga],delete s[qf],delete s[qP],delete s[VP])),o.stateNode=null,o.return=null,o.dependencies=null,o.memoizedProps=null,o.memoizedState=null,o.pendingProps=null,o.stateNode=null,o.updateQueue=null}function G0(o){return o.tag===5||o.tag===3||o.tag===4}function K0(o){e:for(;;){for(;o.sibling===null;){if(o.return===null||G0(o.return))return null;o=o.return}for(o.sibling.return=o.return,o=o.sibling;o.tag!==5&&o.tag!==6&&o.tag!==18;){if(o.flags&2||o.child===null||o.tag===4)continue e;o.child.return=o,o=o.child}if(!(o.flags&2))return o.stateNode}}function Pp(o,s,u){var p=o.tag;if(p===5||p===6)o=o.stateNode,s?u.nodeType===8?u.parentNode.insertBefore(o,s):u.insertBefore(o,s):(u.nodeType===8?(s=u.parentNode,s.insertBefore(o,u)):(s=u,s.appendChild(o)),u=u._reactRootContainer,u!=null||s.onclick!==null||(s.onclick=Rc));else if(p!==4&&(o=o.child,o!==null))for(Pp(o,s,u),o=o.sibling;o!==null;)Pp(o,s,u),o=o.sibling}function Ap(o,s,u){var p=o.tag;if(p===5||p===6)o=o.stateNode,s?u.insertBefore(o,s):u.appendChild(o);else if(p!==4&&(o=o.child,o!==null))for(Ap(o,s,u),o=o.sibling;o!==null;)Ap(o,s,u),o=o.sibling}var qt=null,dn=!1;function Ho(o,s,u){for(u=u.child;u!==null;)Y0(o,s,u),u=u.sibling}function Y0(o,s,u){if(Pn&&typeof Pn.onCommitFiberUnmount=="function")try{Pn.onCommitFiberUnmount(sc,u)}catch{}switch(u.tag){case 5:Qt||Ts(u,s);case 6:var p=qt,y=dn;qt=null,Ho(o,s,u),qt=p,dn=y,qt!==null&&(dn?(o=qt,u=u.stateNode,o.nodeType===8?o.parentNode.removeChild(u):o.removeChild(u)):qt.removeChild(u.stateNode));break;case 18:qt!==null&&(dn?(o=qt,u=u.stateNode,o.nodeType===8?Bf(o.parentNode,u):o.nodeType===1&&Bf(o,u),La(o)):Bf(qt,u.stateNode));break;case 4:p=qt,y=dn,qt=u.stateNode.containerInfo,dn=!0,Ho(o,s,u),qt=p,dn=y;break;case 0:case 11:case 14:case 15:if(!Qt&&(p=u.updateQueue,p!==null&&(p=p.lastEffect,p!==null))){y=p=p.next;do{var S=y,A=S.destroy;S=S.tag,A!==void 0&&((S&2)!==0||(S&4)!==0)&&Ep(u,s,A),y=y.next}while(y!==p)}Ho(o,s,u);break;case 1:if(!Qt&&(Ts(u,s),p=u.stateNode,typeof p.componentWillUnmount=="function"))try{p.props=u.memoizedProps,p.state=u.memoizedState,p.componentWillUnmount()}catch(F){ht(u,s,F)}Ho(o,s,u);break;case 21:Ho(o,s,u);break;case 22:u.mode&1?(Qt=(p=Qt)||u.memoizedState!==null,Ho(o,s,u),Qt=p):Ho(o,s,u);break;default:Ho(o,s,u)}}function X0(o){var s=o.updateQueue;if(s!==null){o.updateQueue=null;var u=o.stateNode;u===null&&(u=o.stateNode=new sA),s.forEach(function(p){var y=gA.bind(null,o,p);u.has(p)||(u.add(p),p.then(y,y))})}}function fn(o,s){var u=s.deletions;if(u!==null)for(var p=0;p<u.length;p++){var y=u[p];try{var S=o,A=s,F=A;e:for(;F!==null;){switch(F.tag){case 5:qt=F.stateNode,dn=!1;break e;case 3:qt=F.stateNode.containerInfo,dn=!0;break e;case 4:qt=F.stateNode.containerInfo,dn=!0;break e}F=F.return}if(qt===null)throw Error(r(160));Y0(S,A,y),qt=null,dn=!1;var q=y.alternate;q!==null&&(q.return=null),y.return=null}catch(Z){ht(y,s,Z)}}if(s.subtreeFlags&12854)for(s=s.child;s!==null;)Q0(s,o),s=s.sibling}function Q0(o,s){var u=o.alternate,p=o.flags;switch(o.tag){case 0:case 11:case 14:case 15:if(fn(s,o),Dn(o),p&4){try{ol(3,o,o.return),Gc(3,o)}catch(Ee){ht(o,o.return,Ee)}try{ol(5,o,o.return)}catch(Ee){ht(o,o.return,Ee)}}break;case 1:fn(s,o),Dn(o),p&512&&u!==null&&Ts(u,u.return);break;case 5:if(fn(s,o),Dn(o),p&512&&u!==null&&Ts(u,u.return),o.flags&32){var y=o.stateNode;try{hr(y,"")}catch(Ee){ht(o,o.return,Ee)}}if(p&4&&(y=o.stateNode,y!=null)){var S=o.memoizedProps,A=u!==null?u.memoizedProps:S,F=o.type,q=o.updateQueue;if(o.updateQueue=null,q!==null)try{F==="input"&&S.type==="radio"&&S.name!=null&&tr(y,S),yr(F,A);var Z=yr(F,S);for(A=0;A<q.length;A+=2){var ae=q[A],de=q[A+1];ae==="style"?zt(y,de):ae==="dangerouslySetInnerHTML"?Ao(y,de):ae==="children"?hr(y,de):k(y,ae,de,Z)}switch(F){case"input":at(y,S);break;case"textarea":Yn(y,S);break;case"select":var se=y._wrapperState.wasMultiple;y._wrapperState.wasMultiple=!!S.multiple;var be=S.value;be!=null?Dr(y,!!S.multiple,be,!1):se!==!!S.multiple&&(S.defaultValue!=null?Dr(y,!!S.multiple,S.defaultValue,!0):Dr(y,!!S.multiple,S.multiple?[]:"",!1))}y[Ga]=S}catch(Ee){ht(o,o.return,Ee)}}break;case 6:if(fn(s,o),Dn(o),p&4){if(o.stateNode===null)throw Error(r(162));y=o.stateNode,S=o.memoizedProps;try{y.nodeValue=S}catch(Ee){ht(o,o.return,Ee)}}break;case 3:if(fn(s,o),Dn(o),p&4&&u!==null&&u.memoizedState.isDehydrated)try{La(s.containerInfo)}catch(Ee){ht(o,o.return,Ee)}break;case 4:fn(s,o),Dn(o);break;case 13:fn(s,o),Dn(o),y=o.child,y.flags&8192&&(S=y.memoizedState!==null,y.stateNode.isHidden=S,!S||y.alternate!==null&&y.alternate.memoizedState!==null||(Dp=bt())),p&4&&X0(o);break;case 22:if(ae=u!==null&&u.memoizedState!==null,o.mode&1?(Qt=(Z=Qt)||ae,fn(s,o),Qt=Z):fn(s,o),Dn(o),p&8192){if(Z=o.memoizedState!==null,(o.stateNode.isHidden=Z)&&!ae&&(o.mode&1)!==0)for(Se=o,ae=o.child;ae!==null;){for(de=Se=ae;Se!==null;){switch(se=Se,be=se.child,se.tag){case 0:case 11:case 14:case 15:ol(4,se,se.return);break;case 1:Ts(se,se.return);var Ce=se.stateNode;if(typeof Ce.componentWillUnmount=="function"){p=se,u=se.return;try{s=p,Ce.props=s.memoizedProps,Ce.state=s.memoizedState,Ce.componentWillUnmount()}catch(Ee){ht(p,u,Ee)}}break;case 5:Ts(se,se.return);break;case 22:if(se.memoizedState!==null){eb(de);continue}}be!==null?(be.return=se,Se=be):eb(de)}ae=ae.sibling}e:for(ae=null,de=o;;){if(de.tag===5){if(ae===null){ae=de;try{y=de.stateNode,Z?(S=y.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none"):(F=de.stateNode,q=de.memoizedProps.style,A=q!=null&&q.hasOwnProperty("display")?q.display:null,F.style.display=ut("display",A))}catch(Ee){ht(o,o.return,Ee)}}}else if(de.tag===6){if(ae===null)try{de.stateNode.nodeValue=Z?"":de.memoizedProps}catch(Ee){ht(o,o.return,Ee)}}else if((de.tag!==22&&de.tag!==23||de.memoizedState===null||de===o)&&de.child!==null){de.child.return=de,de=de.child;continue}if(de===o)break e;for(;de.sibling===null;){if(de.return===null||de.return===o)break e;ae===de&&(ae=null),de=de.return}ae===de&&(ae=null),de.sibling.return=de.return,de=de.sibling}}break;case 19:fn(s,o),Dn(o),p&4&&X0(o);break;case 21:break;default:fn(s,o),Dn(o)}}function Dn(o){var s=o.flags;if(s&2){try{e:{for(var u=o.return;u!==null;){if(G0(u)){var p=u;break e}u=u.return}throw Error(r(160))}switch(p.tag){case 5:var y=p.stateNode;p.flags&32&&(hr(y,""),p.flags&=-33);var S=K0(o);Ap(o,S,y);break;case 3:case 4:var A=p.stateNode.containerInfo,F=K0(o);Pp(o,F,A);break;default:throw Error(r(161))}}catch(q){ht(o,o.return,q)}o.flags&=-3}s&4096&&(o.flags&=-4097)}function lA(o,s,u){Se=o,J0(o)}function J0(o,s,u){for(var p=(o.mode&1)!==0;Se!==null;){var y=Se,S=y.child;if(y.tag===22&&p){var A=y.memoizedState!==null||Wc;if(!A){var F=y.alternate,q=F!==null&&F.memoizedState!==null||Qt;F=Wc;var Z=Qt;if(Wc=A,(Qt=q)&&!Z)for(Se=y;Se!==null;)A=Se,q=A.child,A.tag===22&&A.memoizedState!==null?tb(y):q!==null?(q.return=A,Se=q):tb(y);for(;S!==null;)Se=S,J0(S),S=S.sibling;Se=y,Wc=F,Qt=Z}Z0(o)}else(y.subtreeFlags&8772)!==0&&S!==null?(S.return=y,Se=S):Z0(o)}}function Z0(o){for(;Se!==null;){var s=Se;if((s.flags&8772)!==0){var u=s.alternate;try{if((s.flags&8772)!==0)switch(s.tag){case 0:case 11:case 15:Qt||Gc(5,s);break;case 1:var p=s.stateNode;if(s.flags&4&&!Qt)if(u===null)p.componentDidMount();else{var y=s.elementType===s.type?u.memoizedProps:un(s.type,u.memoizedProps);p.componentDidUpdate(y,u.memoizedState,p.__reactInternalSnapshotBeforeUpdate)}var S=s.updateQueue;S!==null&&e0(s,S,p);break;case 3:var A=s.updateQueue;if(A!==null){if(u=null,s.child!==null)switch(s.child.tag){case 5:u=s.child.stateNode;break;case 1:u=s.child.stateNode}e0(s,A,u)}break;case 5:var F=s.stateNode;if(u===null&&s.flags&4){u=F;var q=s.memoizedProps;switch(s.type){case"button":case"input":case"select":case"textarea":q.autoFocus&&u.focus();break;case"img":q.src&&(u.src=q.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(s.memoizedState===null){var Z=s.alternate;if(Z!==null){var ae=Z.memoizedState;if(ae!==null){var de=ae.dehydrated;de!==null&&La(de)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}Qt||s.flags&512&&kp(s)}catch(se){ht(s,s.return,se)}}if(s===o){Se=null;break}if(u=s.sibling,u!==null){u.return=s.return,Se=u;break}Se=s.return}}function eb(o){for(;Se!==null;){var s=Se;if(s===o){Se=null;break}var u=s.sibling;if(u!==null){u.return=s.return,Se=u;break}Se=s.return}}function tb(o){for(;Se!==null;){var s=Se;try{switch(s.tag){case 0:case 11:case 15:var u=s.return;try{Gc(4,s)}catch(q){ht(s,u,q)}break;case 1:var p=s.stateNode;if(typeof p.componentDidMount=="function"){var y=s.return;try{p.componentDidMount()}catch(q){ht(s,y,q)}}var S=s.return;try{kp(s)}catch(q){ht(s,S,q)}break;case 5:var A=s.return;try{kp(s)}catch(q){ht(s,A,q)}}}catch(q){ht(s,s.return,q)}if(s===o){Se=null;break}var F=s.sibling;if(F!==null){F.return=s.return,Se=F;break}Se=s.return}}var cA=Math.ceil,Kc=T.ReactCurrentDispatcher,Tp=T.ReactCurrentOwner,Kr=T.ReactCurrentBatchConfig,Ge=0,Ft=null,Ct=null,Vt=0,Lr=0,Ns=$o(0),Ot=0,il=null,ki=0,Yc=0,Np=0,sl=null,Sr=null,Dp=0,Ds=1/0,oo=null,Xc=!1,Op=null,Wo=null,Qc=!1,Go=null,Jc=0,al=0,_p=null,Zc=-1,eu=0;function or(){return(Ge&6)!==0?bt():Zc!==-1?Zc:Zc=bt()}function Ko(o){return(o.mode&1)===0?1:(Ge&2)!==0&&Vt!==0?Vt&-Vt:WP.transition!==null?(eu===0&&(eu=Ky()),eu):(o=et,o!==0||(o=window.event,o=o===void 0?16:nv(o.type)),o)}function pn(o,s,u,p){if(50<al)throw al=0,_p=null,Error(r(185));Da(o,u,p),((Ge&2)===0||o!==Ft)&&(o===Ft&&((Ge&2)===0&&(Yc|=u),Ot===4&&Yo(o,Vt)),xr(o,p),u===1&&Ge===0&&(s.mode&1)===0&&(Ds=bt()+500,Ac&&Bo()))}function xr(o,s){var u=o.callbackNode;Wk(o,s);var p=cc(o,o===Ft?Vt:0);if(p===0)u!==null&&Hy(u),o.callbackNode=null,o.callbackPriority=0;else if(s=p&-p,o.callbackPriority!==s){if(u!=null&&Hy(u),s===1)o.tag===0?HP(nb.bind(null,o)):Bv(nb.bind(null,o)),zP(function(){(Ge&6)===0&&Bo()}),u=null;else{switch(Yy(p)){case 1:u=pf;break;case 4:u=Wy;break;case 16:u=ic;break;case 536870912:u=Gy;break;default:u=ic}u=db(u,rb.bind(null,o))}o.callbackPriority=s,o.callbackNode=u}}function rb(o,s){if(Zc=-1,eu=0,(Ge&6)!==0)throw Error(r(327));var u=o.callbackNode;if(Os()&&o.callbackNode!==u)return null;var p=cc(o,o===Ft?Vt:0);if(p===0)return null;if((p&30)!==0||(p&o.expiredLanes)!==0||s)s=tu(o,p);else{s=p;var y=Ge;Ge|=2;var S=ib();(Ft!==o||Vt!==s)&&(oo=null,Ds=bt()+500,Ai(o,s));do try{fA();break}catch(F){ob(o,F)}while(!0);Jf(),Kc.current=S,Ge=y,Ct!==null?s=0:(Ft=null,Vt=0,s=Ot)}if(s!==0){if(s===2&&(y=mf(o),y!==0&&(p=y,s=Mp(o,y))),s===1)throw u=il,Ai(o,0),Yo(o,p),xr(o,bt()),u;if(s===6)Yo(o,p);else{if(y=o.current.alternate,(p&30)===0&&!uA(y)&&(s=tu(o,p),s===2&&(S=mf(o),S!==0&&(p=S,s=Mp(o,S))),s===1))throw u=il,Ai(o,0),Yo(o,p),xr(o,bt()),u;switch(o.finishedWork=y,o.finishedLanes=p,s){case 0:case 1:throw Error(r(345));case 2:Ti(o,Sr,oo);break;case 3:if(Yo(o,p),(p&130023424)===p&&(s=Dp+500-bt(),10<s)){if(cc(o,0)!==0)break;if(y=o.suspendedLanes,(y&p)!==p){or(),o.pingedLanes|=o.suspendedLanes&y;break}o.timeoutHandle=zf(Ti.bind(null,o,Sr,oo),s);break}Ti(o,Sr,oo);break;case 4:if(Yo(o,p),(p&4194240)===p)break;for(s=o.eventTimes,y=-1;0<p;){var A=31-an(p);S=1<<A,A=s[A],A>y&&(y=A),p&=~S}if(p=y,p=bt()-p,p=(120>p?120:480>p?480:1080>p?1080:1920>p?1920:3e3>p?3e3:4320>p?4320:1960*cA(p/1960))-p,10<p){o.timeoutHandle=zf(Ti.bind(null,o,Sr,oo),p);break}Ti(o,Sr,oo);break;case 5:Ti(o,Sr,oo);break;default:throw Error(r(329))}}}return xr(o,bt()),o.callbackNode===u?rb.bind(null,o):null}function Mp(o,s){var u=sl;return o.current.memoizedState.isDehydrated&&(Ai(o,s).flags|=256),o=tu(o,s),o!==2&&(s=Sr,Sr=u,s!==null&&jp(s)),o}function jp(o){Sr===null?Sr=o:Sr.push.apply(Sr,o)}function uA(o){for(var s=o;;){if(s.flags&16384){var u=s.updateQueue;if(u!==null&&(u=u.stores,u!==null))for(var p=0;p<u.length;p++){var y=u[p],S=y.getSnapshot;y=y.value;try{if(!ln(S(),y))return!1}catch{return!1}}}if(u=s.child,s.subtreeFlags&16384&&u!==null)u.return=s,s=u;else{if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Yo(o,s){for(s&=~Np,s&=~Yc,o.suspendedLanes|=s,o.pingedLanes&=~s,o=o.expirationTimes;0<s;){var u=31-an(s),p=1<<u;o[u]=-1,s&=~p}}function nb(o){if((Ge&6)!==0)throw Error(r(327));Os();var s=cc(o,0);if((s&1)===0)return xr(o,bt()),null;var u=tu(o,s);if(o.tag!==0&&u===2){var p=mf(o);p!==0&&(s=p,u=Mp(o,p))}if(u===1)throw u=il,Ai(o,0),Yo(o,s),xr(o,bt()),u;if(u===6)throw Error(r(345));return o.finishedWork=o.current.alternate,o.finishedLanes=s,Ti(o,Sr,oo),xr(o,bt()),null}function Lp(o,s){var u=Ge;Ge|=1;try{return o(s)}finally{Ge=u,Ge===0&&(Ds=bt()+500,Ac&&Bo())}}function Pi(o){Go!==null&&Go.tag===0&&(Ge&6)===0&&Os();var s=Ge;Ge|=1;var u=Kr.transition,p=et;try{if(Kr.transition=null,et=1,o)return o()}finally{et=p,Kr.transition=u,Ge=s,(Ge&6)===0&&Bo()}}function Fp(){Lr=Ns.current,ot(Ns)}function Ai(o,s){o.finishedWork=null,o.finishedLanes=0;var u=o.timeoutHandle;if(u!==-1&&(o.timeoutHandle=-1,$P(u)),Ct!==null)for(u=Ct.return;u!==null;){var p=u;switch(Gf(p),p.tag){case 1:p=p.type.childContextTypes,p!=null&&kc();break;case 3:Ps(),ot(vr),ot(Kt),sp();break;case 5:op(p);break;case 4:Ps();break;case 13:ot(dt);break;case 19:ot(dt);break;case 10:Zf(p.type._context);break;case 22:case 23:Fp()}u=u.return}if(Ft=o,Ct=o=Xo(o.current,null),Vt=Lr=s,Ot=0,il=null,Np=Yc=ki=0,Sr=sl=null,Ci!==null){for(s=0;s<Ci.length;s++)if(u=Ci[s],p=u.interleaved,p!==null){u.interleaved=null;var y=p.next,S=u.pending;if(S!==null){var A=S.next;S.next=y,p.next=A}u.pending=p}Ci=null}return o}function ob(o,s){do{var u=Ct;try{if(Jf(),Ic.current=Bc,Uc){for(var p=ft.memoizedState;p!==null;){var y=p.queue;y!==null&&(y.pending=null),p=p.next}Uc=!1}if(Ei=0,Lt=Dt=ft=null,Za=!1,el=0,Tp.current=null,u===null||u.return===null){Ot=1,il=s,Ct=null;break}e:{var S=o,A=u.return,F=u,q=s;if(s=Vt,F.flags|=32768,q!==null&&typeof q=="object"&&typeof q.then=="function"){var Z=q,ae=F,de=ae.tag;if((ae.mode&1)===0&&(de===0||de===11||de===15)){var se=ae.alternate;se?(ae.updateQueue=se.updateQueue,ae.memoizedState=se.memoizedState,ae.lanes=se.lanes):(ae.updateQueue=null,ae.memoizedState=null)}var be=T0(A);if(be!==null){be.flags&=-257,N0(be,A,F,S,s),be.mode&1&&A0(S,Z,s),s=be,q=Z;var Ce=s.updateQueue;if(Ce===null){var Ee=new Set;Ee.add(q),s.updateQueue=Ee}else Ce.add(q);break e}else{if((s&1)===0){A0(S,Z,s),Ip();break e}q=Error(r(426))}}else if(lt&&F.mode&1){var wt=T0(A);if(wt!==null){(wt.flags&65536)===0&&(wt.flags|=256),N0(wt,A,F,S,s),Xf(As(q,F));break e}}S=q=As(q,F),Ot!==4&&(Ot=2),sl===null?sl=[S]:sl.push(S),S=A;do{switch(S.tag){case 3:S.flags|=65536,s&=-s,S.lanes|=s;var Q=k0(S,q,s);Zv(S,Q);break e;case 1:F=q;var G=S.type,J=S.stateNode;if((S.flags&128)===0&&(typeof G.getDerivedStateFromError=="function"||J!==null&&typeof J.componentDidCatch=="function"&&(Wo===null||!Wo.has(J)))){S.flags|=65536,s&=-s,S.lanes|=s;var fe=P0(S,F,s);Zv(S,fe);break e}}S=S.return}while(S!==null)}ab(u)}catch(ke){s=ke,Ct===u&&u!==null&&(Ct=u=u.return);continue}break}while(!0)}function ib(){var o=Kc.current;return Kc.current=Bc,o===null?Bc:o}function Ip(){(Ot===0||Ot===3||Ot===2)&&(Ot=4),Ft===null||(ki&268435455)===0&&(Yc&268435455)===0||Yo(Ft,Vt)}function tu(o,s){var u=Ge;Ge|=2;var p=ib();(Ft!==o||Vt!==s)&&(oo=null,Ai(o,s));do try{dA();break}catch(y){ob(o,y)}while(!0);if(Jf(),Ge=u,Kc.current=p,Ct!==null)throw Error(r(261));return Ft=null,Vt=0,Ot}function dA(){for(;Ct!==null;)sb(Ct)}function fA(){for(;Ct!==null&&!Fk();)sb(Ct)}function sb(o){var s=ub(o.alternate,o,Lr);o.memoizedProps=o.pendingProps,s===null?ab(o):Ct=s,Tp.current=null}function ab(o){var s=o;do{var u=s.alternate;if(o=s.return,(s.flags&32768)===0){if(u=oA(u,s,Lr),u!==null){Ct=u;return}}else{if(u=iA(u,s),u!==null){u.flags&=32767,Ct=u;return}if(o!==null)o.flags|=32768,o.subtreeFlags=0,o.deletions=null;else{Ot=6,Ct=null;return}}if(s=s.sibling,s!==null){Ct=s;return}Ct=s=o}while(s!==null);Ot===0&&(Ot=5)}function Ti(o,s,u){var p=et,y=Kr.transition;try{Kr.transition=null,et=1,pA(o,s,u,p)}finally{Kr.transition=y,et=p}return null}function pA(o,s,u,p){do Os();while(Go!==null);if((Ge&6)!==0)throw Error(r(327));u=o.finishedWork;var y=o.finishedLanes;if(u===null)return null;if(o.finishedWork=null,o.finishedLanes=0,u===o.current)throw Error(r(177));o.callbackNode=null,o.callbackPriority=0;var S=u.lanes|u.childLanes;if(Gk(o,S),o===Ft&&(Ct=Ft=null,Vt=0),(u.subtreeFlags&2064)===0&&(u.flags&2064)===0||Qc||(Qc=!0,db(ic,function(){return Os(),null})),S=(u.flags&15990)!==0,(u.subtreeFlags&15990)!==0||S){S=Kr.transition,Kr.transition=null;var A=et;et=1;var F=Ge;Ge|=4,Tp.current=null,aA(o,u),Q0(u,o),_P(Uf),fc=!!If,Uf=If=null,o.current=u,lA(u),Ik(),Ge=F,et=A,Kr.transition=S}else o.current=u;if(Qc&&(Qc=!1,Go=o,Jc=y),S=o.pendingLanes,S===0&&(Wo=null),zk(u.stateNode),xr(o,bt()),s!==null)for(p=o.onRecoverableError,u=0;u<s.length;u++)y=s[u],p(y.value,{componentStack:y.stack,digest:y.digest});if(Xc)throw Xc=!1,o=Op,Op=null,o;return(Jc&1)!==0&&o.tag!==0&&Os(),S=o.pendingLanes,(S&1)!==0?o===_p?al++:(al=0,_p=o):al=0,Bo(),null}function Os(){if(Go!==null){var o=Yy(Jc),s=Kr.transition,u=et;try{if(Kr.transition=null,et=16>o?16:o,Go===null)var p=!1;else{if(o=Go,Go=null,Jc=0,(Ge&6)!==0)throw Error(r(331));var y=Ge;for(Ge|=4,Se=o.current;Se!==null;){var S=Se,A=S.child;if((Se.flags&16)!==0){var F=S.deletions;if(F!==null){for(var q=0;q<F.length;q++){var Z=F[q];for(Se=Z;Se!==null;){var ae=Se;switch(ae.tag){case 0:case 11:case 15:ol(8,ae,S)}var de=ae.child;if(de!==null)de.return=ae,Se=de;else for(;Se!==null;){ae=Se;var se=ae.sibling,be=ae.return;if(W0(ae),ae===Z){Se=null;break}if(se!==null){se.return=be,Se=se;break}Se=be}}}var Ce=S.alternate;if(Ce!==null){var Ee=Ce.child;if(Ee!==null){Ce.child=null;do{var wt=Ee.sibling;Ee.sibling=null,Ee=wt}while(Ee!==null)}}Se=S}}if((S.subtreeFlags&2064)!==0&&A!==null)A.return=S,Se=A;else e:for(;Se!==null;){if(S=Se,(S.flags&2048)!==0)switch(S.tag){case 0:case 11:case 15:ol(9,S,S.return)}var Q=S.sibling;if(Q!==null){Q.return=S.return,Se=Q;break e}Se=S.return}}var G=o.current;for(Se=G;Se!==null;){A=Se;var J=A.child;if((A.subtreeFlags&2064)!==0&&J!==null)J.return=A,Se=J;else e:for(A=G;Se!==null;){if(F=Se,(F.flags&2048)!==0)try{switch(F.tag){case 0:case 11:case 15:Gc(9,F)}}catch(ke){ht(F,F.return,ke)}if(F===A){Se=null;break e}var fe=F.sibling;if(fe!==null){fe.return=F.return,Se=fe;break e}Se=F.return}}if(Ge=y,Bo(),Pn&&typeof Pn.onPostCommitFiberRoot=="function")try{Pn.onPostCommitFiberRoot(sc,o)}catch{}p=!0}return p}finally{et=u,Kr.transition=s}}return!1}function lb(o,s,u){s=As(u,s),s=k0(o,s,1),o=Vo(o,s,1),s=or(),o!==null&&(Da(o,1,s),xr(o,s))}function ht(o,s,u){if(o.tag===3)lb(o,o,u);else for(;s!==null;){if(s.tag===3){lb(s,o,u);break}else if(s.tag===1){var p=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof p.componentDidCatch=="function"&&(Wo===null||!Wo.has(p))){o=As(u,o),o=P0(s,o,1),s=Vo(s,o,1),o=or(),s!==null&&(Da(s,1,o),xr(s,o));break}}s=s.return}}function mA(o,s,u){var p=o.pingCache;p!==null&&p.delete(s),s=or(),o.pingedLanes|=o.suspendedLanes&u,Ft===o&&(Vt&u)===u&&(Ot===4||Ot===3&&(Vt&130023424)===Vt&&500>bt()-Dp?Ai(o,0):Np|=u),xr(o,s)}function cb(o,s){s===0&&((o.mode&1)===0?s=1:(s=lc,lc<<=1,(lc&130023424)===0&&(lc=4194304)));var u=or();o=to(o,s),o!==null&&(Da(o,s,u),xr(o,u))}function hA(o){var s=o.memoizedState,u=0;s!==null&&(u=s.retryLane),cb(o,u)}function gA(o,s){var u=0;switch(o.tag){case 13:var p=o.stateNode,y=o.memoizedState;y!==null&&(u=y.retryLane);break;case 19:p=o.stateNode;break;default:throw Error(r(314))}p!==null&&p.delete(s),cb(o,u)}var ub;ub=function(o,s,u){if(o!==null)if(o.memoizedProps!==s.pendingProps||vr.current)wr=!0;else{if((o.lanes&u)===0&&(s.flags&128)===0)return wr=!1,nA(o,s,u);wr=(o.flags&131072)!==0}else wr=!1,lt&&(s.flags&1048576)!==0&&qv(s,Nc,s.index);switch(s.lanes=0,s.tag){case 2:var p=s.type;Hc(o,s),o=s.pendingProps;var y=ws(s,Kt.current);ks(s,u),y=cp(null,s,p,o,y,u);var S=up();return s.flags|=1,typeof y=="object"&&y!==null&&typeof y.render=="function"&&y.$$typeof===void 0?(s.tag=1,s.memoizedState=null,s.updateQueue=null,br(p)?(S=!0,Pc(s)):S=!1,s.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,rp(s),y.updater=qc,s.stateNode=y,y._reactInternals=s,gp(s,p,o,u),s=bp(null,s,p,!0,S,u)):(s.tag=0,lt&&S&&Wf(s),nr(null,s,y,u),s=s.child),s;case 16:p=s.elementType;e:{switch(Hc(o,s),o=s.pendingProps,y=p._init,p=y(p._payload),s.type=p,y=s.tag=vA(p),o=un(p,o),y){case 0:s=vp(null,s,p,o,u);break e;case 1:s=L0(null,s,p,o,u);break e;case 11:s=D0(null,s,p,o,u);break e;case 14:s=O0(null,s,p,un(p.type,o),u);break e}throw Error(r(306,p,""))}return s;case 0:return p=s.type,y=s.pendingProps,y=s.elementType===p?y:un(p,y),vp(o,s,p,y,u);case 1:return p=s.type,y=s.pendingProps,y=s.elementType===p?y:un(p,y),L0(o,s,p,y,u);case 3:e:{if(F0(s),o===null)throw Error(r(387));p=s.pendingProps,S=s.memoizedState,y=S.element,Jv(o,s),Lc(s,p,null,u);var A=s.memoizedState;if(p=A.element,S.isDehydrated)if(S={element:p,isDehydrated:!1,cache:A.cache,pendingSuspenseBoundaries:A.pendingSuspenseBoundaries,transitions:A.transitions},s.updateQueue.baseState=S,s.memoizedState=S,s.flags&256){y=As(Error(r(423)),s),s=I0(o,s,p,u,y);break e}else if(p!==y){y=As(Error(r(424)),s),s=I0(o,s,p,u,y);break e}else for(jr=Uo(s.stateNode.containerInfo.firstChild),Mr=s,lt=!0,cn=null,u=Xv(s,null,p,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(Cs(),p===y){s=no(o,s,u);break e}nr(o,s,p,u)}s=s.child}return s;case 5:return t0(s),o===null&&Yf(s),p=s.type,y=s.pendingProps,S=o!==null?o.memoizedProps:null,A=y.children,$f(p,y)?A=null:S!==null&&$f(p,S)&&(s.flags|=32),j0(o,s),nr(o,s,A,u),s.child;case 6:return o===null&&Yf(s),null;case 13:return U0(o,s,u);case 4:return np(s,s.stateNode.containerInfo),p=s.pendingProps,o===null?s.child=Rs(s,null,p,u):nr(o,s,p,u),s.child;case 11:return p=s.type,y=s.pendingProps,y=s.elementType===p?y:un(p,y),D0(o,s,p,y,u);case 7:return nr(o,s,s.pendingProps,u),s.child;case 8:return nr(o,s,s.pendingProps.children,u),s.child;case 12:return nr(o,s,s.pendingProps.children,u),s.child;case 10:e:{if(p=s.type._context,y=s.pendingProps,S=s.memoizedProps,A=y.value,tt(_c,p._currentValue),p._currentValue=A,S!==null)if(ln(S.value,A)){if(S.children===y.children&&!vr.current){s=no(o,s,u);break e}}else for(S=s.child,S!==null&&(S.return=s);S!==null;){var F=S.dependencies;if(F!==null){A=S.child;for(var q=F.firstContext;q!==null;){if(q.context===p){if(S.tag===1){q=ro(-1,u&-u),q.tag=2;var Z=S.updateQueue;if(Z!==null){Z=Z.shared;var ae=Z.pending;ae===null?q.next=q:(q.next=ae.next,ae.next=q),Z.pending=q}}S.lanes|=u,q=S.alternate,q!==null&&(q.lanes|=u),ep(S.return,u,s),F.lanes|=u;break}q=q.next}}else if(S.tag===10)A=S.type===s.type?null:S.child;else if(S.tag===18){if(A=S.return,A===null)throw Error(r(341));A.lanes|=u,F=A.alternate,F!==null&&(F.lanes|=u),ep(A,u,s),A=S.sibling}else A=S.child;if(A!==null)A.return=S;else for(A=S;A!==null;){if(A===s){A=null;break}if(S=A.sibling,S!==null){S.return=A.return,A=S;break}A=A.return}S=A}nr(o,s,y.children,u),s=s.child}return s;case 9:return y=s.type,p=s.pendingProps.children,ks(s,u),y=Wr(y),p=p(y),s.flags|=1,nr(o,s,p,u),s.child;case 14:return p=s.type,y=un(p,s.pendingProps),y=un(p.type,y),O0(o,s,p,y,u);case 15:return _0(o,s,s.type,s.pendingProps,u);case 17:return p=s.type,y=s.pendingProps,y=s.elementType===p?y:un(p,y),Hc(o,s),s.tag=1,br(p)?(o=!0,Pc(s)):o=!1,ks(s,u),R0(s,p,y),gp(s,p,y,u),bp(null,s,p,!0,o,u);case 19:return z0(o,s,u);case 22:return M0(o,s,u)}throw Error(r(156,s.tag))};function db(o,s){return Vy(o,s)}function yA(o,s,u,p){this.tag=o,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=p,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yr(o,s,u,p){return new yA(o,s,u,p)}function Up(o){return o=o.prototype,!(!o||!o.isReactComponent)}function vA(o){if(typeof o=="function")return Up(o)?1:0;if(o!=null){if(o=o.$$typeof,o===ne)return 11;if(o===W)return 14}return 2}function Xo(o,s){var u=o.alternate;return u===null?(u=Yr(o.tag,s,o.key,o.mode),u.elementType=o.elementType,u.type=o.type,u.stateNode=o.stateNode,u.alternate=o,o.alternate=u):(u.pendingProps=s,u.type=o.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=o.flags&14680064,u.childLanes=o.childLanes,u.lanes=o.lanes,u.child=o.child,u.memoizedProps=o.memoizedProps,u.memoizedState=o.memoizedState,u.updateQueue=o.updateQueue,s=o.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},u.sibling=o.sibling,u.index=o.index,u.ref=o.ref,u}function ru(o,s,u,p,y,S){var A=2;if(p=o,typeof o=="function")Up(o)&&(A=1);else if(typeof o=="string")A=5;else e:switch(o){case M:return Ni(u.children,y,S,s);case O:A=8,y|=8;break;case B:return o=Yr(12,u,s,y|2),o.elementType=B,o.lanes=S,o;case te:return o=Yr(13,u,s,y),o.elementType=te,o.lanes=S,o;case K:return o=Yr(19,u,s,y),o.elementType=K,o.lanes=S,o;case z:return nu(u,y,S,s);default:if(typeof o=="object"&&o!==null)switch(o.$$typeof){case H:A=10;break e;case Y:A=9;break e;case ne:A=11;break e;case W:A=14;break e;case U:A=16,p=null;break e}throw Error(r(130,o==null?o:typeof o,""))}return s=Yr(A,u,s,y),s.elementType=o,s.type=p,s.lanes=S,s}function Ni(o,s,u,p){return o=Yr(7,o,p,s),o.lanes=u,o}function nu(o,s,u,p){return o=Yr(22,o,p,s),o.elementType=z,o.lanes=u,o.stateNode={isHidden:!1},o}function $p(o,s,u){return o=Yr(6,o,null,s),o.lanes=u,o}function zp(o,s,u){return s=Yr(4,o.children!==null?o.children:[],o.key,s),s.lanes=u,s.stateNode={containerInfo:o.containerInfo,pendingChildren:null,implementation:o.implementation},s}function bA(o,s,u,p,y){this.tag=s,this.containerInfo=o,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hf(0),this.expirationTimes=hf(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hf(0),this.identifierPrefix=p,this.onRecoverableError=y,this.mutableSourceEagerHydrationData=null}function Bp(o,s,u,p,y,S,A,F,q){return o=new bA(o,s,u,F,q),s===1?(s=1,S===!0&&(s|=8)):s=0,S=Yr(3,null,null,s),o.current=S,S.stateNode=o,S.memoizedState={element:p,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null},rp(S),o}function wA(o,s,u){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:j,key:p==null?null:""+p,children:o,containerInfo:s,implementation:u}}function fb(o){if(!o)return zo;o=o._reactInternals;e:{if(vi(o)!==o||o.tag!==1)throw Error(r(170));var s=o;do{switch(s.tag){case 3:s=s.stateNode.context;break e;case 1:if(br(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break e}}s=s.return}while(s!==null);throw Error(r(171))}if(o.tag===1){var u=o.type;if(br(u))return $v(o,u,s)}return s}function pb(o,s,u,p,y,S,A,F,q){return o=Bp(u,p,!0,o,y,S,A,F,q),o.context=fb(null),u=o.current,p=or(),y=Ko(u),S=ro(p,y),S.callback=s??null,Vo(u,S,y),o.current.lanes=y,Da(o,y,p),xr(o,p),o}function ou(o,s,u,p){var y=s.current,S=or(),A=Ko(y);return u=fb(u),s.context===null?s.context=u:s.pendingContext=u,s=ro(S,A),s.payload={element:o},p=p===void 0?null:p,p!==null&&(s.callback=p),o=Vo(y,s,A),o!==null&&(pn(o,y,A,S),jc(o,y,A)),A}function iu(o){if(o=o.current,!o.child)return null;switch(o.child.tag){case 5:return o.child.stateNode;default:return o.child.stateNode}}function mb(o,s){if(o=o.memoizedState,o!==null&&o.dehydrated!==null){var u=o.retryLane;o.retryLane=u!==0&&u<s?u:s}}function qp(o,s){mb(o,s),(o=o.alternate)&&mb(o,s)}function SA(){return null}var hb=typeof reportError=="function"?reportError:function(o){};function Vp(o){this._internalRoot=o}su.prototype.render=Vp.prototype.render=function(o){var s=this._internalRoot;if(s===null)throw Error(r(409));ou(o,s,null,null)},su.prototype.unmount=Vp.prototype.unmount=function(){var o=this._internalRoot;if(o!==null){this._internalRoot=null;var s=o.containerInfo;Pi(function(){ou(null,o,null,null)}),s[Qn]=null}};function su(o){this._internalRoot=o}su.prototype.unstable_scheduleHydration=function(o){if(o){var s=Jy();o={blockedOn:null,target:o,priority:s};for(var u=0;u<Lo.length&&s!==0&&s<Lo[u].priority;u++);Lo.splice(u,0,o),u===0&&tv(o)}};function Hp(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)}function au(o){return!(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11&&(o.nodeType!==8||o.nodeValue!==" react-mount-point-unstable "))}function gb(){}function xA(o,s,u,p,y){if(y){if(typeof p=="function"){var S=p;p=function(){var Z=iu(A);S.call(Z)}}var A=pb(s,p,o,0,null,!1,!1,"",gb);return o._reactRootContainer=A,o[Qn]=A.current,Ha(o.nodeType===8?o.parentNode:o),Pi(),A}for(;y=o.lastChild;)o.removeChild(y);if(typeof p=="function"){var F=p;p=function(){var Z=iu(q);F.call(Z)}}var q=Bp(o,0,!1,null,null,!1,!1,"",gb);return o._reactRootContainer=q,o[Qn]=q.current,Ha(o.nodeType===8?o.parentNode:o),Pi(function(){ou(s,q,u,p)}),q}function lu(o,s,u,p,y){var S=u._reactRootContainer;if(S){var A=S;if(typeof y=="function"){var F=y;y=function(){var q=iu(A);F.call(q)}}ou(s,A,o,y)}else A=xA(u,s,o,y,p);return iu(A)}Xy=function(o){switch(o.tag){case 3:var s=o.stateNode;if(s.current.memoizedState.isDehydrated){var u=Na(s.pendingLanes);u!==0&&(gf(s,u|1),xr(s,bt()),(Ge&6)===0&&(Ds=bt()+500,Bo()))}break;case 13:Pi(function(){var p=to(o,1);if(p!==null){var y=or();pn(p,o,1,y)}}),qp(o,1)}},yf=function(o){if(o.tag===13){var s=to(o,134217728);if(s!==null){var u=or();pn(s,o,134217728,u)}qp(o,134217728)}},Qy=function(o){if(o.tag===13){var s=Ko(o),u=to(o,s);if(u!==null){var p=or();pn(u,o,s,p)}qp(o,s)}},Jy=function(){return et},Zy=function(o,s){var u=et;try{return et=o,s()}finally{et=u}},To=function(o,s,u){switch(s){case"input":if(at(o,u),s=u.name,u.type==="radio"&&s!=null){for(u=o;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll("input[name="+JSON.stringify(""+s)+'][type="radio"]'),s=0;s<u.length;s++){var p=u[s];if(p!==o&&p.form===o.form){var y=Ec(p);if(!y)throw Error(r(90));Me(p),at(p,y)}}}break;case"textarea":Yn(o,u);break;case"select":s=u.value,s!=null&&Dr(o,!!u.multiple,s,!1)}},Nt=Lp,Gt=Pi;var CA={usingClientEntryPoint:!1,Events:[Ka,vs,Ec,_e,vt,Lp]},ll={findFiberByHostInstance:bi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},RA={bundleType:ll.bundleType,version:ll.version,rendererPackageName:ll.rendererPackageName,rendererConfig:ll.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:T.ReactCurrentDispatcher,findHostInstanceByFiber:function(o){return o=By(o),o===null?null:o.stateNode},findFiberByHostInstance:ll.findFiberByHostInstance||SA,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cu.isDisabled&&cu.supportsFiber)try{sc=cu.inject(RA),Pn=cu}catch{}}return Cr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=CA,Cr.createPortal=function(o,s){var u=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Hp(s))throw Error(r(200));return wA(o,s,null,u)},Cr.createRoot=function(o,s){if(!Hp(o))throw Error(r(299));var u=!1,p="",y=hb;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(p=s.identifierPrefix),s.onRecoverableError!==void 0&&(y=s.onRecoverableError)),s=Bp(o,1,!1,null,null,u,!1,p,y),o[Qn]=s.current,Ha(o.nodeType===8?o.parentNode:o),new Vp(s)},Cr.findDOMNode=function(o){if(o==null)return null;if(o.nodeType===1)return o;var s=o._reactInternals;if(s===void 0)throw typeof o.render=="function"?Error(r(188)):(o=Object.keys(o).join(","),Error(r(268,o)));return o=By(s),o=o===null?null:o.stateNode,o},Cr.flushSync=function(o){return Pi(o)},Cr.hydrate=function(o,s,u){if(!au(s))throw Error(r(200));return lu(null,o,s,!0,u)},Cr.hydrateRoot=function(o,s,u){if(!Hp(o))throw Error(r(405));var p=u!=null&&u.hydratedSources||null,y=!1,S="",A=hb;if(u!=null&&(u.unstable_strictMode===!0&&(y=!0),u.identifierPrefix!==void 0&&(S=u.identifierPrefix),u.onRecoverableError!==void 0&&(A=u.onRecoverableError)),s=pb(s,null,o,1,u??null,y,!1,S,A),o[Qn]=s.current,Ha(o),p)for(o=0;o<p.length;o++)u=p[o],y=u._getVersion,y=y(u._source),s.mutableSourceEagerHydrationData==null?s.mutableSourceEagerHydrationData=[u,y]:s.mutableSourceEagerHydrationData.push(u,y);return new su(s)},Cr.render=function(o,s,u){if(!au(s))throw Error(r(200));return lu(null,o,s,!1,u)},Cr.unmountComponentAtNode=function(o){if(!au(o))throw Error(r(40));return o._reactRootContainer?(Pi(function(){lu(null,null,o,!1,function(){o._reactRootContainer=null,o[Qn]=null})}),!0):!1},Cr.unstable_batchedUpdates=Lp,Cr.unstable_renderSubtreeIntoContainer=function(o,s,u,p){if(!au(u))throw Error(r(200));if(o==null||o._reactInternals===void 0)throw Error(r(38));return lu(o,s,u,!1,p)},Cr.version="18.3.1-next-f1338f8080-20240426",Cr}var Eb;function Tx(){if(Eb)return Yp.exports;Eb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch{}}return e(),Yp.exports=OA(),Yp.exports}var kb;function _A(){if(kb)return du;kb=1;var e=Tx();return du.createRoot=e.createRoot,du.hydrateRoot=e.hydrateRoot,du}var MA=_A();const jA="modulepreload",LA=function(e){return"/_um/"+e},Pb={},Ke=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){let l=function(f){return Promise.all(f?.map(h=>Promise.resolve(h).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),d=(c==null?void 0:c.nonce)||(c==null?void 0:c.getAttribute("nonce"));i=l(r?.map(f=>{if(f=LA(f),f in Pb)return;Pb[f]=!0;const h=f.endsWith(".css"),m=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${m}`))return;const w=document.createElement("link");if(w.rel=h?"stylesheet":jA,h||(w.as="script"),w.crossOrigin="",w.href=f,d&&w.setAttribute("nonce",d),document.head.appendChild(w),h)return new Promise((v,C)=>{w.addEventListener("load",v),w.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${f}`)))})}))}function a(l){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=l,window.dispatchEvent(c),!c.defaultPrevented)throw l}return i.then(l=>{for(const c of l||[])c.status==="rejected"&&a(c.reason);return t().catch(a)})};/**
|
||
* react-router v7.17.0
|
||
*
|
||
* Copyright (c) Remix Software Inc.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE.md file in the root directory of this source tree.
|
||
*
|
||
* @license MIT
|
||
*/var Ab="popstate";function Tb(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function FA(e={}){function t(n,i){var f;let a=(f=i.state)==null?void 0:f.masked,{pathname:l,search:c,hash:d}=a||n.location;return Vm("",{pathname:l,search:c,hash:d},i.state&&i.state.usr||null,i.state&&i.state.key||"default",a?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,i){return typeof i=="string"?i:Rl(i)}return UA(t,r,null,e)}function ct(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Zr(e,t){if(!e)try{throw new Error(t)}catch{}}function IA(){return Math.random().toString(36).substring(2,10)}function Nb(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Vm(e,t,r=null,n,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ha(t):t,state:r,key:t&&t.key||n||IA(),mask:i}}function Rl({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ha(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function UA(e,t,r,n={}){let{window:i=document.defaultView,v5Compat:a=!1}=n,l=i.history,c="POP",d=null,f=h();f==null&&(f=0,l.replaceState({...l.state,idx:f},""));function h(){return(l.state||{idx:null}).idx}function m(){c="POP";let R=h(),E=R==null?null:R-f;f=R,d&&d({action:c,location:x.location,delta:E})}function w(R,E){c="PUSH";let P=Tb(R)?R:Vm(x.location,R,E);f=h()+1;let k=Nb(P,f),T=x.createHref(P.mask||P);try{l.pushState(k,"",T)}catch(N){if(N instanceof DOMException&&N.name==="DataCloneError")throw N;i.location.assign(T)}a&&d&&d({action:c,location:x.location,delta:1})}function v(R,E){c="REPLACE";let P=Tb(R)?R:Vm(x.location,R,E);f=h();let k=Nb(P,f),T=x.createHref(P.mask||P);l.replaceState(k,"",T),a&&d&&d({action:c,location:x.location,delta:0})}function C(R){return $A(i,R)}let x={get action(){return c},get location(){return e(i,l)},listen(R){if(d)throw new Error("A history only accepts one active listener");return i.addEventListener(Ab,m),d=R,()=>{i.removeEventListener(Ab,m),d=null}},createHref(R){return t(i,R)},createURL:C,encodeLocation(R){let E=C(R);return{pathname:E.pathname,search:E.search,hash:E.hash}},push:w,replace:v,go(R){return l.go(R)}};return x}function $A(e,t,r=!1){let n="http://localhost";e&&(n=e.location.origin!=="null"?e.location.origin:e.location.href),ct(n,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Rl(t);return i=i.replace(/ $/,"%20"),!r&&i.startsWith("//")&&(i=n+i),new URL(i,n)}function Nx(e,t,r="/"){return zA(e,t,r,!1)}function zA(e,t,r,n,i){let a=typeof t=="string"?ha(t):t,l=vo(a.pathname||"/",r);if(l==null)return null;let c=BA(e),d=null,f=eT(l);for(let h=0;d==null&&h<c.length;++h)d=JA(c[h],f,n);return d}function BA(e){let t=Dx(e);return qA(t),t}function Dx(e,t=[],r=[],n="",i=!1){let a=(l,c,d=i,f)=>{let h={relativePath:f===void 0?l.path||"":f,caseSensitive:l.caseSensitive===!0,childrenIndex:c,route:l};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(n)&&d)return;ct(h.relativePath.startsWith(n),`Absolute route path "${h.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(n.length)}let m=wn([n,h.relativePath]),w=r.concat(h);l.children&&l.children.length>0&&(ct(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),Dx(l.children,t,w,m,d)),!(l.path==null&&!l.index)&&t.push({path:m,score:XA(m,l.index),routesMeta:w})};return e.forEach((l,c)=>{var d;if(l.path===""||!((d=l.path)!=null&&d.includes("?")))a(l,c);else for(let f of Ox(l.path))a(l,c,!0,f)}),t}function Ox(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,i=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return i?[a,""]:[a];let l=Ox(n.join("/")),c=[];return c.push(...l?.map(d=>d===""?a:[a,d].join("/"))),i&&c.push(...l),c?.map(d=>e.startsWith("/")&&d===""?"/":d)}function qA(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:QA(t.routesMeta?.map(n=>n.childrenIndex),r.routesMeta?.map(n=>n.childrenIndex)))}var VA=/^:[\w-]+$/,HA=3,WA=2,GA=1,KA=10,YA=-2,Db=e=>e==="*";function XA(e,t){let r=e.split("/"),n=r.length;return r?.some(Db)&&(n+=YA),t&&(n+=WA),r.filter(i=>!Db(i)).reduce((i,a)=>i+(VA.test(a)?HA:a===""?GA:KA),n)}function QA(e,t){return e.length===t.length&&e.slice(0,-1).every((n,i)=>n===t[i])?e[e.length-1]-t[t.length-1]:0}function JA(e,t,r=!1){let{routesMeta:n}=e,i={},a="/",l=[];for(let c=0;c<n.length;++c){let d=n[c],f=c===n.length-1,h=a==="/"?t:t.slice(a.length)||"/",m=Qu({path:d.relativePath,caseSensitive:d.caseSensitive,end:f},h),w=d.route;if(!m&&f&&r&&!n[n.length-1].route.index&&(m=Qu({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},h)),!m)return null;Object.assign(i,m.params),l.push({params:i,pathname:wn([a,m.pathname]),pathnameBase:oT(wn([a,m.pathnameBase])),route:w}),m.pathnameBase!=="/"&&(a=wn([a,m.pathnameBase]))}return l}function Qu(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=ZA(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let a=i[0],l=a.replace(/(.)\/+$/,"$1"),c=i.slice(1);return{params:n.reduce((f,{paramName:h,isOptional:m},w)=>{if(h==="*"){let C=c[w]||"";l=a.slice(0,a.length-C.length).replace(/(.)\/+$/,"$1")}const v=c[w];return m&&!v?f[h]=void 0:f[h]=(v||"").replace(/%2F/g,"/"),f},{}),pathname:a,pathnameBase:l,pattern:e}}function ZA(e,t=!1,r=!0){Zr(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,c,d,f,h)=>{if(n.push({paramName:c,isOptional:d!=null}),d){let m=h.charAt(f+l.length);return m&&m!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),n]}function eT(e){try{return e.split("/")?.map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zr(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function vo(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}var tT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function rT(e,t="/"){let{pathname:r,search:n="",hash:i=""}=typeof e=="string"?ha(e):e,a;return r?(r=_x(r),r.startsWith("/")?a=Ob(r.substring(1),"/"):a=Ob(r,t)):a=t,{pathname:a,search:iT(n),hash:sT(i)}}function Ob(e,t){let r=Ju(t).split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Jp(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function nT(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function ag(e){let t=nT(e);return t?.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function Sd(e,t,r,n=!1){let i;typeof e=="string"?i=ha(e):(i={...e},ct(!i.pathname||!i.pathname.includes("?"),Jp("?","pathname","search",i)),ct(!i.pathname||!i.pathname.includes("#"),Jp("#","pathname","hash",i)),ct(!i.search||!i.search.includes("#"),Jp("#","search","hash",i)));let a=e===""||i.pathname==="",l=a?"/":i.pathname,c;if(l==null)c=r;else{let m=t.length-1;if(!n&&l.startsWith("..")){let w=l.split("/");for(;w[0]==="..";)w.shift(),m-=1;i.pathname=w.join("/")}c=m>=0?t[m]:"/"}let d=rT(i,c),f=l&&l!=="/"&&l.endsWith("/"),h=(a||l===".")&&r.endsWith("/");return!d.pathname.endsWith("/")&&(f||h)&&(d.pathname+="/"),d}var _x=e=>e.replace(/\/\/+/g,"/"),wn=e=>_x(e.join("/")),Ju=e=>e.replace(/\/+$/,""),oT=e=>Ju(e).replace(/^\/*/,"/"),iT=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,sT=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,aT=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function lT(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function cT(e){let t=e?.map(r=>r.route.path).filter(Boolean);return wn(t)||"/"}var Mx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function jx(e,t){let r=e;if(typeof r!="string"||!tT.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,i=!1;if(Mx)try{let a=new URL(window.location.href),l=r.startsWith("//")?new URL(a.protocol+r):new URL(r),c=vo(l.pathname,t);l.origin===a.origin&&c!=null?r=c+l.search+l.hash:i=!0}catch{Zr(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:i,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Lx=["POST","PUT","PATCH","DELETE"];new Set(Lx);var uT=["GET",...Lx];new Set(uT);var ga=g.createContext(null);ga.displayName="DataRouter";var xd=g.createContext(null);xd.displayName="DataRouterState";var Fx=g.createContext(!1);function dT(){return g.useContext(Fx)}var Ix=g.createContext({isTransitioning:!1});Ix.displayName="ViewTransition";var fT=g.createContext(new Map);fT.displayName="Fetchers";var pT=g.createContext(null);pT.displayName="Await";var zr=g.createContext(null);zr.displayName="Navigation";var $l=g.createContext(null);$l.displayName="Location";var rn=g.createContext({outlet:null,matches:[],isDataRoute:!1});rn.displayName="Route";var lg=g.createContext(null);lg.displayName="RouteError";var Ux="REACT_ROUTER_ERROR",mT="REDIRECT",hT="ROUTE_ERROR_RESPONSE";function gT(e){if(e.startsWith(`${Ux}:${mT}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function yT(e){if(e.startsWith(`${Ux}:${hT}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new aT(t.status,t.statusText,t.data)}catch{}}function vT(e,{relative:t}={}){ct(ya(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=g.useContext(zr),{hash:i,pathname:a,search:l}=zl(e,{relative:t}),c=a;return r!=="/"&&(c=a==="/"?r:wn([r,a])),n.createHref({pathname:c,search:l,hash:i})}function ya(){return g.useContext($l)!=null}function lr(){return ct(ya(),"useLocation() may be used only in the context of a <Router> component."),g.useContext($l).location}var $x="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zx(e){g.useContext(zr).static||g.useLayoutEffect(e)}function mi(){let{isDataRoute:e}=g.useContext(rn);return e?_T():bT()}function bT(){ct(ya(),"useNavigate() may be used only in the context of a <Router> component.");let e=g.useContext(ga),{basename:t,navigator:r}=g.useContext(zr),{matches:n}=g.useContext(rn),{pathname:i}=lr(),a=JSON.stringify(ag(n)),l=g.useRef(!1);return zx(()=>{l.current=!0}),g.useCallback((d,f={})=>{if(Zr(l.current,$x),!l.current)return;if(typeof d=="number"){r.go(d);return}let h=Sd(d,JSON.parse(a),i,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:wn([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,a,i,e])}var wT=g.createContext(null);function ST(e){let t=g.useContext(rn).outlet;return g.useMemo(()=>t&&g.createElement(wT.Provider,{value:e},t),[t,e])}function MH(){let{matches:e}=g.useContext(rn),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function zl(e,{relative:t}={}){let{matches:r}=g.useContext(rn),{pathname:n}=lr(),i=JSON.stringify(ag(r));return g.useMemo(()=>Sd(e,JSON.parse(i),n,t==="path"),[e,i,n,t])}function xT(e,t){return Bx(e,t)}function Bx(e,t,r){var R;ct(ya(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=g.useContext(zr),{matches:i}=g.useContext(rn),a=i[i.length-1],l=a?a.params:{},c=a?a.pathname:"/",d=a?a.pathnameBase:"/",f=a&&a.route;{let E=f&&f.path||"";Vx(c,!f||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${E}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
||
|
||
Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let h=lr(),m;if(t){let E=typeof t=="string"?ha(t):t;ct(d==="/"||((R=E.pathname)==null?void 0:R.startsWith(d)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${E.pathname}" was given in the \`location\` prop.`),m=E}else m=h;let w=m.pathname||"/",v=w;if(d!=="/"){let E=d.replace(/^\//,"").split("/");v="/"+w.replace(/^\//,"").split("/").slice(E.length).join("/")}let C=r&&r.state.matches.length?r.state.matches?.map(E=>Object.assign(E,{route:r.manifest[E.route.id]||E.route})):Nx(e,{pathname:v});Zr(f||C!=null,`No routes matched location "${m.pathname}${m.search}${m.hash}" `),Zr(C==null||C[C.length-1].route.element!==void 0||C[C.length-1].route.Component!==void 0||C[C.length-1].route.lazy!==void 0,`Matched leaf route at location "${m.pathname}${m.search}${m.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let x=PT(C&&C?.map(E=>Object.assign({},E,{params:Object.assign({},l,E.params),pathname:wn([d,n.encodeLocation?n.encodeLocation(E.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?d:wn([d,n.encodeLocation?n.encodeLocation(E.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),i,r);return t&&x?g.createElement($l.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...m},navigationType:"POP"}},x):x}function CT(){let e=OT(),t=lT(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:n},a={padding:"2px 4px",backgroundColor:n},l=null;return l=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:a},"ErrorBoundary")," or"," ",g.createElement("code",{style:a},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},t),r?g.createElement("pre",{style:i},r):null,l)}var RT=g.createElement(CT,null),qx=class extends g.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=yT(e.digest);r&&(e=r)}let t=e!==void 0?g.createElement(rn.Provider,{value:this.props.routeContext},g.createElement(lg.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?g.createElement(ET,{error:e},t):t}};qx.contextType=Fx;var Zp=new WeakMap;function ET({children:e,error:t}){let{basename:r}=g.useContext(zr);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=gT(t.digest);if(n){let i=Zp.get(t);if(i)throw i;let a=jx(n.location,r);if(Mx&&!Zp.get(t))if(a.isExternal||n.reloadDocument)window.location.href=a.absoluteURL||a.to;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:n.replace}));throw Zp.set(t,l),l}return g.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function kT({routeContext:e,match:t,children:r}){let n=g.useContext(ga);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),g.createElement(rn.Provider,{value:e},r)}function PT(e,t=[],r){let n=r==null?void 0:r.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,a=n==null?void 0:n.errors;if(a!=null){let h=i.findIndex(m=>m.route.id&&(a==null?void 0:a[m.route.id])!==void 0);ct(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),i=i.slice(0,Math.min(i.length,h+1))}let l=!1,c=-1;if(r&&n){l=n.renderFallback;for(let h=0;h<i.length;h++){let m=i[h];if((m.route.HydrateFallback||m.route.hydrateFallbackElement)&&(c=h),m.route.id){let{loaderData:w,errors:v}=n,C=m.route.loader&&!w.hasOwnProperty(m.route.id)&&(!v||v[m.route.id]===void 0);if(m.route.lazy||C){r.isStatic&&(l=!0),c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}}let d=r==null?void 0:r.onError,f=n&&d?(h,m)=>{var w,v;d(h,{location:n.location,params:((v=(w=n.matches)==null?void 0:w[0])==null?void 0:v.params)??{},pattern:cT(n.matches),errorInfo:m})}:void 0;return i.reduceRight((h,m,w)=>{let v,C=!1,x=null,R=null;n&&(v=a&&m.route.id?a[m.route.id]:void 0,x=m.route.errorElement||RT,l&&(c<0&&w===0?(Vx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),C=!0,R=null):c===w&&(C=!0,R=m.route.hydrateFallbackElement||null)));let E=t.concat(i.slice(0,w+1)),P=()=>{let k;return v?k=x:C?k=R:m.route.Component?k=g.createElement(m.route.Component,null):m.route.element?k=m.route.element:k=h,g.createElement(kT,{match:m,routeContext:{outlet:h,matches:E,isDataRoute:n!=null},children:k})};return n&&(m.route.ErrorBoundary||m.route.errorElement||w===0)?g.createElement(qx,{location:n.location,revalidation:n.revalidation,component:x,error:v,children:P(),routeContext:{outlet:null,matches:E,isDataRoute:!0},onError:f}):P()},null)}function cg(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function AT(e){let t=g.useContext(ga);return ct(t,cg(e)),t}function TT(e){let t=g.useContext(xd);return ct(t,cg(e)),t}function NT(e){let t=g.useContext(rn);return ct(t,cg(e)),t}function ug(e){let t=NT(e),r=t.matches[t.matches.length-1];return ct(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function DT(){return ug("useRouteId")}function OT(){var n;let e=g.useContext(lg),t=TT("useRouteError"),r=ug("useRouteError");return e!==void 0?e:(n=t.errors)==null?void 0:n[r]}function _T(){let{router:e}=AT("useNavigate"),t=ug("useNavigate"),r=g.useRef(!1);return zx(()=>{r.current=!0}),g.useCallback(async(i,a={})=>{Zr(r.current,$x),r.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:t,...a}))},[e,t])}var _b={};function Vx(e,t,r){!t&&!_b[e]&&(_b[e]=!0,Zr(!1,r))}g.memo(MT);function MT({routes:e,manifest:t,future:r,state:n,isStatic:i,onError:a}){return Bx(e,void 0,{manifest:t,state:n,isStatic:i,onError:a})}function mo({to:e,replace:t,state:r,relative:n}){ct(ya(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=g.useContext(zr);Zr(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=g.useContext(rn),{pathname:l}=lr(),c=mi(),d=Sd(e,ag(a),l,n==="path"),f=JSON.stringify(d);return g.useEffect(()=>{c(JSON.parse(f),{replace:t,state:r,relative:n})},[c,f,n,t,r]),null}function Hm(e){return ST(e.context)}function Le(e){ct(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function jT({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:i,static:a=!1,useTransitions:l}){ct(!ya(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let c=e.replace(/^\/*/,"/"),d=g.useMemo(()=>({basename:c,navigator:i,static:a,useTransitions:l,future:{}}),[c,i,a,l]);typeof r=="string"&&(r=ha(r));let{pathname:f="/",search:h="",hash:m="",state:w=null,key:v="default",mask:C}=r,x=g.useMemo(()=>{let R=vo(f,c);return R==null?null:{location:{pathname:R,search:h,hash:m,state:w,key:v,mask:C},navigationType:n}},[c,f,h,m,w,v,n,C]);return Zr(x!=null,`<Router basename="${c}"> is not able to match the URL "${f}${h}${m}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:g.createElement(zr.Provider,{value:d},g.createElement($l.Provider,{children:t,value:x}))}function Mb({children:e,location:t}){return xT(Wm(e),t)}function Wm(e,t=[]){let r=[];return g.Children.forEach(e,(n,i)=>{if(!g.isValidElement(n))return;let a=[...t,i];if(n.type===g.Fragment){r.push.apply(r,Wm(n.props.children,a));return}ct(n.type===Le,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),ct(!n.props.index||!n.props.children,"An index route cannot have child routes.");let l={id:n.props.id||a.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(l.children=Wm(n.props.children,a)),r.push(l)}),r}var Mu="get",ju="application/x-www-form-urlencoded";function Cd(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function LT(e){return Cd(e)&&e.tagName.toLowerCase()==="button"}function FT(e){return Cd(e)&&e.tagName.toLowerCase()==="form"}function IT(e){return Cd(e)&&e.tagName.toLowerCase()==="input"}function UT(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function $T(e,t){return e.button===0&&(!t||t==="_self")&&!UT(e)}function Gm(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,r)=>{let n=e[r];return t.concat(Array.isArray(n)?n?.map(i=>[r,i]):[[r,n]])},[]))}function zT(e,t){let r=Gm(e);return t&&t.forEach((n,i)=>{r.has(i)||t.getAll(i).forEach(a=>{r.append(i,a)})}),r}var fu=null;function BT(){if(fu===null)try{new FormData(document.createElement("form"),0),fu=!1}catch{fu=!0}return fu}var qT=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function em(e){return e!=null&&!qT.has(e)?(Zr(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${ju}"`),null):e}function VT(e,t){let r,n,i,a,l;if(FT(e)){let c=e.getAttribute("action");n=c?vo(c,t):null,r=e.getAttribute("method")||Mu,i=em(e.getAttribute("enctype"))||ju,a=new FormData(e)}else if(LT(e)||IT(e)&&(e.type==="submit"||e.type==="image")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let d=e.getAttribute("formaction")||c.getAttribute("action");if(n=d?vo(d,t):null,r=e.getAttribute("formmethod")||c.getAttribute("method")||Mu,i=em(e.getAttribute("formenctype"))||em(c.getAttribute("enctype"))||ju,a=new FormData(c,e),!BT()){let{name:f,type:h,value:m}=e;if(h==="image"){let w=f?`${f}.`:"";a.append(`${w}x`,"0"),a.append(`${w}y`,"0")}else f&&a.append(f,m)}}else{if(Cd(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Mu,n=null,i=ju,l=e}return a&&i==="text/plain"&&(l=a,a=void 0),{action:n,method:r.toLowerCase(),encType:i,formData:a,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function dg(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Hx(e,t,r,n){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${n}`:i.pathname=`${i.pathname}.${n}`:i.pathname==="/"?i.pathname=`_root.${n}`:t&&vo(i.pathname,t)==="/"?i.pathname=`${Ju(t)}/_root.${n}`:i.pathname=`${Ju(i.pathname)}.${n}`,i}async function HT(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch{return window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function WT(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function GT(e,t,r){let n=await Promise.all(e?.map(async i=>{let a=t.routes[i.route.id];if(a){let l=await HT(a,r);return l.links?l.links():[]}return[]}));return QT(n.flat(1).filter(WT).filter(i=>i.rel==="stylesheet"||i.rel==="preload")?.map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function jb(e,t,r,n,i,a){let l=(d,f)=>r[f]?d.route.id!==r[f].route.id:!0,c=(d,f)=>{var h;return r[f].pathname!==d.pathname||((h=r[f].route.path)==null?void 0:h.endsWith("*"))&&r[f].params["*"]!==d.params["*"]};return a==="assets"?t.filter((d,f)=>l(d,f)||c(d,f)):a==="data"?t.filter((d,f)=>{var m;let h=n.routes[d.route.id];if(!h||!h.hasLoader)return!1;if(l(d,f)||c(d,f))return!0;if(d.route.shouldRevalidate){let w=d.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((m=r[0])==null?void 0:m.params)||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof w=="boolean")return w}return!0}):[]}function KT(e,t,{includeHydrateFallback:r}={}){return YT(e?.map(n=>{let i=t.routes[n.route.id];if(!i)return[];let a=[i.module];return i.clientActionModule&&(a=a.concat(i.clientActionModule)),i.clientLoaderModule&&(a=a.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(a=a.concat(i.hydrateFallbackModule)),i.imports&&(a=a.concat(i.imports)),a}).flat(1))}function YT(e){return[...new Set(e)]}function XT(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function QT(e,t){let r=new Set;return new Set(t),e.reduce((n,i)=>{let a=JSON.stringify(XT(i));return r.has(a)||(r.add(a),n.push({key:a,link:i})),n},[])}function fg(){let e=g.useContext(ga);return dg(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function JT(){let e=g.useContext(xd);return dg(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var pg=g.createContext(void 0);pg.displayName="FrameworkContext";function mg(){let e=g.useContext(pg);return dg(e,"You must render this element inside a <HydratedRouter> element"),e}function ZT(e,t){let r=g.useContext(pg),[n,i]=g.useState(!1),[a,l]=g.useState(!1),{onFocus:c,onBlur:d,onMouseEnter:f,onMouseLeave:h,onTouchStart:m}=t,w=g.useRef(null);g.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let x=E=>{E.forEach(P=>{l(P.isIntersecting)})},R=new IntersectionObserver(x,{threshold:.5});return w.current&&R.observe(w.current),()=>{R.disconnect()}}},[e]),g.useEffect(()=>{if(n){let x=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(x)}}},[n]);let v=()=>{i(!0)},C=()=>{i(!1),l(!1)};return r?e!=="intent"?[a,w,{}]:[a,w,{onFocus:ul(c,v),onBlur:ul(d,C),onMouseEnter:ul(f,v),onMouseLeave:ul(h,C),onTouchStart:ul(m,v)}]:[!1,w,{}]}function ul(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function eN({page:e,...t}){let r=dT(),{router:n}=fg(),i=g.useMemo(()=>Nx(n.routes,e,n.basename),[n.routes,e,n.basename]);return i?r?g.createElement(rN,{page:e,matches:i,...t}):g.createElement(nN,{page:e,matches:i,...t}):null}function tN(e){let{manifest:t,routeModules:r}=mg(),[n,i]=g.useState([]);return g.useEffect(()=>{let a=!1;return GT(e,t,r).then(l=>{a||i(l)}),()=>{a=!0}},[e,t,r]),n}function rN({page:e,matches:t,...r}){let n=lr(),{future:i}=mg(),{basename:a}=fg(),l=g.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let c=Hx(e,a,i.v8_trailingSlashAwareDataRequests,"rsc"),d=!1,f=[];for(let h of t)typeof h.route.shouldRevalidate=="function"?d=!0:f.push(h.route.id);return d&&f.length>0&&c.searchParams.set("_routes",f.join(",")),[c.pathname+c.search]},[a,i.v8_trailingSlashAwareDataRequests,e,n,t]);return g.createElement(g.Fragment,null,l?.map(c=>g.createElement("link",{key:c,rel:"prefetch",as:"fetch",href:c,...r})))}function nN({page:e,matches:t,...r}){let n=lr(),{future:i,manifest:a,routeModules:l}=mg(),{basename:c}=fg(),{loaderData:d,matches:f}=JT(),h=g.useMemo(()=>jb(e,t,f,a,n,"data"),[e,t,f,a,n]),m=g.useMemo(()=>jb(e,t,f,a,n,"assets"),[e,t,f,a,n]),w=g.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let x=new Set,R=!1;if(t.forEach(P=>{var T;let k=a.routes[P.route.id];!k||!k.hasLoader||(!h?.some(N=>N.route.id===P.route.id)&&P.route.id in d&&((T=l[P.route.id])!=null&&T.shouldRevalidate)||k.hasClientLoader?R=!0:x.add(P.route.id))}),x.size===0)return[];let E=Hx(e,c,i.v8_trailingSlashAwareDataRequests,"data");return R&&x.size>0&&E.searchParams.set("_routes",t.filter(P=>x.has(P.route.id))?.map(P=>P.route.id).join(",")),[E.pathname+E.search]},[c,i.v8_trailingSlashAwareDataRequests,d,n,a,h,t,e,l]),v=g.useMemo(()=>KT(m,a),[m,a]),C=tN(m);return g.createElement(g.Fragment,null,w?.map(x=>g.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...r})),v?.map(x=>g.createElement("link",{key:x,rel:"modulepreload",href:x,...r})),C?.map(({key:x,link:R})=>g.createElement("link",{key:x,nonce:r.nonce,...R,crossOrigin:R.crossOrigin??r.crossOrigin})))}function oN(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var iN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{iN&&(window.__reactRouterVersion="7.17.0")}catch{}function sN({basename:e,children:t,useTransitions:r,window:n}){let i=g.useRef();i.current==null&&(i.current=FA({window:n,v5Compat:!0}));let a=i.current,[l,c]=g.useState({action:a.action,location:a.location}),d=g.useCallback(f=>{r===!1?c(f):g.startTransition(()=>c(f))},[r]);return g.useLayoutEffect(()=>a.listen(d),[a,d]),g.createElement(jT,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:a,useTransitions:r})}var Wx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,hg=g.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:i,reloadDocument:a,replace:l,mask:c,state:d,target:f,to:h,preventScrollReset:m,viewTransition:w,defaultShouldRevalidate:v,...C},x){let{basename:R,navigator:E,useTransitions:P}=g.useContext(zr),k=typeof h=="string"&&Wx.test(h),T=jx(h,R);h=T.to;let N=vT(h,{relative:i}),j=lr(),M=null;if(c){let W=Sd(c,[],j.mask?j.mask.pathname:"/",!0);R!=="/"&&(W.pathname=W.pathname==="/"?R:wn([R,W.pathname])),M=E.createHref(W)}let[O,B,H]=ZT(n,C),Y=cN(h,{replace:l,mask:c,state:d,target:f,preventScrollReset:m,relative:i,viewTransition:w,defaultShouldRevalidate:v,useTransitions:P});function ne(W){t&&t(W),W.defaultPrevented||Y(W)}let te=!(T.isExternal||a),K=g.createElement("a",{...C,...H,href:(te?M:void 0)||T.absoluteURL||N,onClick:te?ne:t,ref:oN(x,B),target:f,"data-discover":!k&&r==="render"?"true":void 0});return O&&!k?g.createElement(g.Fragment,null,K,g.createElement(eN,{page:N})):K});hg.displayName="Link";var gg=g.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:i=!1,style:a,to:l,viewTransition:c,children:d,...f},h){let m=zl(l,{relative:f.relative}),w=lr(),v=g.useContext(xd),{navigator:C,basename:x}=g.useContext(zr),R=v!=null&&mN(m)&&c===!0,E=C.encodeLocation?C.encodeLocation(m).pathname:m.pathname,P=w.pathname,k=v&&v.navigation&&v.navigation.location?v.navigation.location.pathname:null;r||(P=P.toLowerCase(),k=k?k.toLowerCase():null,E=E.toLowerCase()),k&&x&&(k=vo(k,x)||k);const T=E!=="/"&&E.endsWith("/")?E.length-1:E.length;let N=P===E||!i&&P.startsWith(E)&&P.charAt(T)==="/",j=k!=null&&(k===E||!i&&k.startsWith(E)&&k.charAt(E.length)==="/"),M={isActive:N,isPending:j,isTransitioning:R},O=N?t:void 0,B;typeof n=="function"?B=n(M):B=[n,N?"active":null,j?"pending":null,R?"transitioning":null].filter(Boolean).join(" ");let H=typeof a=="function"?a(M):a;return g.createElement(hg,{...f,"aria-current":O,className:B,ref:h,style:H,to:l,viewTransition:c},typeof d=="function"?d(M):d)});gg.displayName="NavLink";var aN=g.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:i,state:a,method:l=Mu,action:c,onSubmit:d,relative:f,preventScrollReset:h,viewTransition:m,defaultShouldRevalidate:w,...v},C)=>{let{useTransitions:x}=g.useContext(zr),R=fN(),E=pN(c,{relative:f}),P=l.toLowerCase()==="get"?"get":"post",k=typeof c=="string"&&Wx.test(c),T=N=>{if(d&&d(N),N.defaultPrevented)return;N.preventDefault();let j=N.nativeEvent.submitter,M=(j==null?void 0:j.getAttribute("formmethod"))||l,O=()=>R(j||N.currentTarget,{fetcherKey:t,method:M,navigate:r,replace:i,state:a,relative:f,preventScrollReset:h,viewTransition:m,defaultShouldRevalidate:w});x&&r!==!1?g.startTransition(()=>O()):O()};return g.createElement("form",{ref:C,method:P,action:E,onSubmit:n?d:T,...v,"data-discover":!k&&e==="render"?"true":void 0})});aN.displayName="Form";function lN(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Gx(e){let t=g.useContext(ga);return ct(t,lN(e)),t}function cN(e,{target:t,replace:r,mask:n,state:i,preventScrollReset:a,relative:l,viewTransition:c,defaultShouldRevalidate:d,useTransitions:f}={}){let h=mi(),m=lr(),w=zl(e,{relative:l});return g.useCallback(v=>{if($T(v,t)){v.preventDefault();let C=r!==void 0?r:Rl(m)===Rl(w),x=()=>h(e,{replace:C,mask:n,state:i,preventScrollReset:a,relative:l,viewTransition:c,defaultShouldRevalidate:d});f?g.startTransition(()=>x()):x()}},[m,h,w,r,n,i,t,e,a,l,c,d,f])}function jH(e){Zr(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=g.useRef(Gm(e)),r=g.useRef(!1),n=lr(),i=g.useMemo(()=>zT(n.search,r.current?null:t.current),[n.search]),a=mi(),l=g.useCallback((c,d)=>{const f=Gm(typeof c=="function"?c(new URLSearchParams(i)):c);r.current=!0,a("?"+f,d)},[a,i]);return[i,l]}var uN=0,dN=()=>`__${String(++uN)}__`;function fN(){let{router:e}=Gx("useSubmit"),{basename:t}=g.useContext(zr),r=DT(),n=e.fetch,i=e.navigate;return g.useCallback(async(a,l={})=>{let{action:c,method:d,encType:f,formData:h,body:m}=VT(a,t);if(l.navigate===!1){let w=l.fetcherKey||dN();await n(w,r,l.action||c,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||d,formEncType:l.encType||f,flushSync:l.flushSync})}else await i(l.action||c,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:h,body:m,formMethod:l.method||d,formEncType:l.encType||f,replace:l.replace,state:l.state,fromRouteId:r,flushSync:l.flushSync,viewTransition:l.viewTransition})},[n,i,t,r])}function pN(e,{relative:t}={}){let{basename:r}=g.useContext(zr),n=g.useContext(rn);ct(n,"useFormAction must be used inside a RouteContext");let[i]=n.matches.slice(-1),a={...zl(e||".",{relative:t})},l=lr();if(e==null){a.search=l.search;let c=new URLSearchParams(a.search),d=c.getAll("index");if(d?.some(h=>h==="")){c.delete("index"),d.filter(m=>m).forEach(m=>c.append("index",m));let h=c.toString();a.search=h?`?${h}`:""}}return(!e||e===".")&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:wn([r,a.pathname])),Rl(a)}function mN(e,{relative:t}={}){let r=g.useContext(Ix);ct(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Gx("useViewTransitionState"),i=zl(e,{relative:t});if(!r.isTransitioning)return!1;let a=vo(r.currentLocation.pathname,n)||r.currentLocation.pathname,l=vo(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Qu(i.pathname,l)!=null||Qu(i.pathname,a)!=null}var Bl=Tx();const Ws=bd(Bl),Kx="um:last-route";function hN(e,t){if(e.startsWith("/user-management/"))try{localStorage.setItem(Kx,JSON.stringify({userId:t??null,path:e}))}catch{}}function gN(e){try{const t=localStorage.getItem(Kx);if(!t)return null;let r=null;try{const n=JSON.parse(t);n&&typeof n=="object"&&(r=n)}catch{return null}return r!=null&&r.path&&r.path.startsWith("/user-management/")&&(r.userId??null)===(e??null)?r.path:null}catch{return null}}var mn={},Lb;function yN(){if(Lb)return mn;Lb=1,Object.defineProperty(mn,"__esModule",{value:!0}),mn.parseCookie=c,mn.parse=c,mn.stringifyCookie=d,mn.stringifySetCookie=f,mn.serialize=f,mn.parseSetCookie=h,mn.stringifySetCookie=f,mn.serialize=f;const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=/^-?\d+$/,a=Object.prototype.toString,l=(()=>{const R=function(){};return R.prototype=Object.create(null),R})();function c(R,E){const P=new l,k=R.length;if(k<2)return P;const T=(E==null?void 0:E.decode)||C;let N=0;do{const j=w(R,N,k);if(j===-1)break;const M=m(R,N,k);if(j>M){N=R.lastIndexOf(";",j-1)+1;continue}const O=v(R,N,j);P[O]===void 0&&(P[O]=T(v(R,j+1,M))),N=M+1}while(N<k);return P}function d(R,E){const P=(E==null?void 0:E.encode)||encodeURIComponent,k=[];for(const T of Object.keys(R)){const N=R[T];if(N===void 0)continue;if(!e.test(T))throw new TypeError(`cookie name is invalid: ${T}`);const j=P(N);if(!t.test(j))throw new TypeError(`cookie val is invalid: ${N}`);k.push(`${T}=${j}`)}return k.join("; ")}function f(R,E,P){const k=typeof R=="object"?R:{...P,name:R,value:String(E)},T=typeof E=="object"?E:P,N=(T==null?void 0:T.encode)||encodeURIComponent;if(!e.test(k.name))throw new TypeError(`argument name is invalid: ${k.name}`);const j=k.value?N(k.value):"";if(!t.test(j))throw new TypeError(`argument val is invalid: ${k.value}`);let M=k.name+"="+j;if(k.maxAge!==void 0){if(!Number.isInteger(k.maxAge))throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);M+="; Max-Age="+k.maxAge}if(k.domain){if(!r.test(k.domain))throw new TypeError(`option domain is invalid: ${k.domain}`);M+="; Domain="+k.domain}if(k.path){if(!n.test(k.path))throw new TypeError(`option path is invalid: ${k.path}`);M+="; Path="+k.path}if(k.expires){if(!x(k.expires)||!Number.isFinite(k.expires.valueOf()))throw new TypeError(`option expires is invalid: ${k.expires}`);M+="; Expires="+k.expires.toUTCString()}if(k.httpOnly&&(M+="; HttpOnly"),k.secure&&(M+="; Secure"),k.partitioned&&(M+="; Partitioned"),k.priority)switch(typeof k.priority=="string"?k.priority.toLowerCase():void 0){case"low":M+="; Priority=Low";break;case"medium":M+="; Priority=Medium";break;case"high":M+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${k.priority}`)}if(k.sameSite)switch(typeof k.sameSite=="string"?k.sameSite.toLowerCase():k.sameSite){case!0:case"strict":M+="; SameSite=Strict";break;case"lax":M+="; SameSite=Lax";break;case"none":M+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${k.sameSite}`)}return M}function h(R,E){const P=(E==null?void 0:E.decode)||C,k=R.length,T=m(R,0,k),N=w(R,0,T),j=N===-1?{name:"",value:P(v(R,0,T))}:{name:v(R,0,N),value:P(v(R,N+1,T))};let M=T+1;for(;M<k;){const O=m(R,M,k),B=w(R,M,O),H=B===-1?v(R,M,O):v(R,M,B),Y=B===-1?void 0:v(R,B+1,O);switch(H.toLowerCase()){case"httponly":j.httpOnly=!0;break;case"secure":j.secure=!0;break;case"partitioned":j.partitioned=!0;break;case"domain":j.domain=Y;break;case"path":j.path=Y;break;case"max-age":Y&&i.test(Y)&&(j.maxAge=Number(Y));break;case"expires":if(!Y)break;const ne=new Date(Y);Number.isFinite(ne.valueOf())&&(j.expires=ne);break;case"priority":if(!Y)break;const te=Y.toLowerCase();(te==="low"||te==="medium"||te==="high")&&(j.priority=te);break;case"samesite":if(!Y)break;const K=Y.toLowerCase();(K==="lax"||K==="strict"||K==="none")&&(j.sameSite=K);break}M=O+1}return j}function m(R,E,P){const k=R.indexOf(";",E);return k===-1?P:k}function w(R,E,P){const k=R.indexOf("=",E);return k<P?k:-1}function v(R,E,P){let k=E,T=P;do{const N=R.charCodeAt(k);if(N!==32&&N!==9)break}while(++k<T);for(;T>k;){const N=R.charCodeAt(T-1);if(N!==32&&N!==9)break;T--}return R.slice(k,T)}function C(R){if(R.indexOf("%")===-1)return R;try{return decodeURIComponent(R)}catch{return R}}function x(R){return a.call(R)==="[object Date]"}return mn}var Lu=yN();function vN(){const e=typeof globalThis>"u"?void 0:globalThis.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function bN(e){return typeof e=="string"?Lu.parse(e):typeof e=="object"&&e!==null?e:{}}function tm(e,t={}){const r=wN(e);if(!t.doNotParse)try{return JSON.parse(r)}catch{}return e}function wN(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class SN{constructor(t,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const i=this.cookies;this.cookies=Lu.parse(document.cookie),this._checkChanges(i)};const n=typeof document>"u"?"":document.cookie;this.cookies=bN(t||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=vN()}_emitChange(t){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(n=>{t[n]!==this.cookies[n]&&this._emitChange({name:n,value:tm(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,r={}){return r.doNotUpdate||this.update(),tm(this.cookies[t],r)}getAll(t={}){t.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=tm(this.cookies[n],t);return r}set(t,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const i=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=Lu.serialize(t,i,n)),this._emitChange({name:t,value:r,options:n})}remove(t,r){const n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=Lu.serialize(t,"",n)),this._emitChange({name:t,value:void 0,options:r})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const r=this.changeListeners.indexOf(t);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}removeAllChangeListeners(){for(;this.changeListeners.length>0;)this.removeChangeListener(this.changeListeners[0])}}const xN=g.createContext(null),{Provider:CN,Consumer:LH}=xN,RN=e=>{const t=g.useMemo(()=>e.cookies?e.cookies:new SN(void 0,e.defaultSetOptions),[e.cookies,e.defaultSetOptions]);return g.createElement(CN,{value:t},e.children)};var rm={exports:{}},Qe={};/** @license React v16.13.1
|
||
* react-is.production.min.js
|
||
*
|
||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
*
|
||
* This source code is licensed under the MIT license found in the
|
||
* LICENSE file in the root directory of this source tree.
|
||
*/var Fb;function EN(){if(Fb)return Qe;Fb=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,C=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,R=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function k(N){if(typeof N=="object"&&N!==null){var j=N.$$typeof;switch(j){case t:switch(N=N.type,N){case d:case f:case n:case a:case i:case m:return N;default:switch(N=N&&N.$$typeof,N){case c:case h:case C:case v:case l:return N;default:return j}}case r:return j}}}function T(N){return k(N)===f}return Qe.AsyncMode=d,Qe.ConcurrentMode=f,Qe.ContextConsumer=c,Qe.ContextProvider=l,Qe.Element=t,Qe.ForwardRef=h,Qe.Fragment=n,Qe.Lazy=C,Qe.Memo=v,Qe.Portal=r,Qe.Profiler=a,Qe.StrictMode=i,Qe.Suspense=m,Qe.isAsyncMode=function(N){return T(N)||k(N)===d},Qe.isConcurrentMode=T,Qe.isContextConsumer=function(N){return k(N)===c},Qe.isContextProvider=function(N){return k(N)===l},Qe.isElement=function(N){return typeof N=="object"&&N!==null&&N.$$typeof===t},Qe.isForwardRef=function(N){return k(N)===h},Qe.isFragment=function(N){return k(N)===n},Qe.isLazy=function(N){return k(N)===C},Qe.isMemo=function(N){return k(N)===v},Qe.isPortal=function(N){return k(N)===r},Qe.isProfiler=function(N){return k(N)===a},Qe.isStrictMode=function(N){return k(N)===i},Qe.isSuspense=function(N){return k(N)===m},Qe.isValidElementType=function(N){return typeof N=="string"||typeof N=="function"||N===n||N===f||N===a||N===i||N===m||N===w||typeof N=="object"&&N!==null&&(N.$$typeof===C||N.$$typeof===v||N.$$typeof===l||N.$$typeof===c||N.$$typeof===h||N.$$typeof===R||N.$$typeof===E||N.$$typeof===P||N.$$typeof===x)},Qe.typeOf=k,Qe}var Ib;function kN(){return Ib||(Ib=1,rm.exports=EN()),rm.exports}var nm,Ub;function PN(){if(Ub)return nm;Ub=1;var e=kN(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=i;function l(C){return e.isMemo(C)?i:a[C.$$typeof]||t}var c=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,w=Object.prototype;function v(C,x,R){if(typeof x!="string"){if(w){var E=m(x);E&&E!==w&&v(C,E,R)}var P=d(x);f&&(P=P.concat(f(x)));for(var k=l(C),T=l(x),N=0;N<P.length;++N){var j=P[N];if(!r[j]&&!(R&&R[j])&&!(T&&T[j])&&!(k&&k[j])){var M=h(x,j);try{c(C,j,M)}catch{}}}}return C}return nm=v,nm}PN();/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const AN=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),TN=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),$b=e=>{const t=TN(e);return t.charAt(0).toUpperCase()+t.slice(1)},Yx=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),NN=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/var DN={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ON=g.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:i="",children:a,iconNode:l,...c},d)=>g.createElement("svg",{ref:d,...DN,width:t,height:t,stroke:e,strokeWidth:n?Number(r)*24/Number(t):r,className:Yx("lucide",i),...!a&&!NN(c)&&{"aria-hidden":"true"},...c},[...l?.map(([f,h])=>g.createElement(f,h)),...Array.isArray(a)?a:[a]]));/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $e=(e,t)=>{const r=g.forwardRef(({className:n,...i},a)=>g.createElement(ON,{ref:a,iconNode:t,className:Yx(`lucide-${AN($b(e))}`,`lucide-${e}`,n),...i}));return r.displayName=$b(e),r};/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const _N=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],MN=$e("archive",_N);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const jN=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],Xx=$e("bell-off",jN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const LN=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],Zu=$e("bell",LN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const FN=[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]],IN=$e("boxes",FN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const UN=[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]],Km=$e("building-2",UN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const $N=[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]],zN=$e("chart-no-axes-column-increasing",$N);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const BN=[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]],qN=$e("check-check",BN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const VN=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yg=$e("check",VN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const HN=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],zb=$e("chevron-down",HN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const WN=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],GN=$e("chevron-right",WN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const KN=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],YN=$e("circle-check-big",KN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const XN=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]],QN=$e("clipboard-check",XN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const JN=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],Qx=$e("clipboard-list",JN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ZN=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]],vg=$e("clock",ZN);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const eD=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M8 13h2",key:"yr2amv"}],["path",{d:"M14 13h2",key:"un5t4a"}],["path",{d:"M8 17h2",key:"2yhykz"}],["path",{d:"M14 17h2",key:"10kma7"}]],tD=$e("file-spreadsheet",eD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const rD=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],El=$e("file-text",rD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const nD=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],oD=$e("globe",nD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const iD=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]],sD=$e("house",iD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const aD=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],lD=$e("key",aD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const cD=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],uD=$e("languages",cD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const dD=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],fD=$e("layout-dashboard",dD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const pD=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Bb=$e("loader-circle",pD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const mD=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],hD=$e("log-out",mD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const gD=[["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 18h16",key:"19g7jn"}],["path",{d:"M4 6h16",key:"1o0s65"}]],yD=$e("menu",gD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const vD=[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]],bD=$e("moon",vD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const wD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]],SD=$e("panel-left-close",wD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const xD=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]],CD=$e("panel-left-open",xD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const RD=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],qb=$e("settings",RD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const ED=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],kD=$e("sun",ED);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const PD=[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]],AD=$e("trash-2",PD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const TD=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],ND=$e("upload",TD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const DD=[["path",{d:"M10 15H6a4 4 0 0 0-4 4v2",key:"1nfge6"}],["path",{d:"m14.305 16.53.923-.382",key:"1itpsq"}],["path",{d:"m15.228 13.852-.923-.383",key:"eplpkm"}],["path",{d:"m16.852 12.228-.383-.923",key:"13v3q0"}],["path",{d:"m16.852 17.772-.383.924",key:"1i8mnm"}],["path",{d:"m19.148 12.228.383-.923",key:"1q8j1v"}],["path",{d:"m19.53 18.696-.382-.924",key:"vk1qj3"}],["path",{d:"m20.772 13.852.924-.383",key:"n880s0"}],["path",{d:"m20.772 16.148.924.383",key:"1g6xey"}],["circle",{cx:"18",cy:"15",r:"3",key:"gjjjvw"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Vb=$e("user-cog",DD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const OD=[["path",{d:"M11.5 15H7a4 4 0 0 0-4 4v2",key:"15lzij"}],["path",{d:"M21.378 16.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1817ys"}],["circle",{cx:"10",cy:"7",r:"4",key:"e45bow"}]],_D=$e("user-pen",OD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const MD=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],Hb=$e("user",MD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const jD=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],Ym=$e("users-round",jD);/**
|
||
* @license lucide-react v0.513.0 - ISC
|
||
*
|
||
* This source code is licensed under the ISC license.
|
||
* See the LICENSE file in the root directory of this source tree.
|
||
*/const LD=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],bg=$e("x",LD),FD=(e,t,r,n)=>{var a,l,c,d;const i=[r,{code:t,...n||{}}];if((l=(a=e==null?void 0:e.services)==null?void 0:a.logger)!=null&&l.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);Qi(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),(d=(c=e==null?void 0:e.services)==null?void 0:c.logger)!=null&&d.warn?e.services.logger.warn(...i):console!=null&&console.warn},Wb={},Xm=(e,t,r,n)=>{Qi(r)&&Wb[r]||(Qi(r)&&(Wb[r]=new Date),FD(e,t,r,n))},Jx=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},Qm=(e,t,r)=>{e.loadNamespaces(t,Jx(e,r))},Gb=(e,t,r,n)=>{if(Qi(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Qm(e,r,n);r.forEach(i=>{e.options.ns.indexOf(i)<0&&e.options.ns.push(i)}),e.loadLanguages(t,Jx(e,n))},ID=(e,t,r={})=>!t.languages||!t.languages.length?(Xm(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(n,i)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&n.services.backendConnector.backend&&n.isLanguageChangingTo&&!i(n.isLanguageChangingTo,e))return!1}}),Qi=e=>typeof e=="string",UD=e=>typeof e=="object"&&e!==null,$D=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,zD={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},BD=e=>zD[e],qD=e=>e.replace($D,BD);let Jm={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:qD};const VD=(e={})=>{Jm={...Jm,...e}},HD=()=>Jm;let Zx;const WD=e=>{Zx=e},GD=()=>Zx,KD={type:"3rdParty",init(e){VD(e.options.react),WD(e)}},YD=g.createContext();class XD{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(r=>{this.usedNamespaces[r]||(this.usedNamespaces[r]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const QD=(e,t)=>{const r=g.useRef();return g.useEffect(()=>{r.current=e},[e,t]),r.current},eC=(e,t,r,n)=>e.getFixedT(t,r,n),JD=(e,t,r,n)=>g.useCallback(eC(e,t,r,n),[e,t,r,n]),So=(e,t={})=>{var T,N,j,M;const{i18n:r}=t,{i18n:n,defaultNS:i}=g.useContext(YD)||{},a=r||n||GD();if(a&&!a.reportNamespaces&&(a.reportNamespaces=new XD),!a){Xm(a,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const O=(H,Y)=>Qi(Y)?Y:UD(Y)&&Qi(Y.defaultValue)?Y.defaultValue:Array.isArray(H)?H[H.length-1]:H,B=[O,{},!1];return B.t=O,B.i18n={},B.ready=!1,B}(T=a.options.react)!=null&&T.wait&&Xm(a,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const l={...HD(),...a.options.react,...t},{useSuspense:c,keyPrefix:d}=l;let f=i||((N=a.options)==null?void 0:N.defaultNS);f=Qi(f)?[f]:f||["translation"],(M=(j=a.reportNamespaces).addUsedNamespaces)==null||M.call(j,f);const h=(a.isInitialized||a.initializedStoreOnce)&&f.every(O=>ID(O,a,l)),m=JD(a,t.lng||null,l.nsMode==="fallback"?f:f[0],d),w=()=>m,v=()=>eC(a,t.lng||null,l.nsMode==="fallback"?f:f[0],d),[C,x]=g.useState(w);let R=f.join();t.lng&&(R=`${t.lng}${R}`);const E=QD(R),P=g.useRef(!0);g.useEffect(()=>{const{bindI18n:O,bindI18nStore:B}=l;P.current=!0,!h&&!c&&(t.lng?Gb(a,t.lng,f,()=>{P.current&&x(v)}):Qm(a,f,()=>{P.current&&x(v)})),h&&E&&E!==R&&P.current&&x(v);const H=()=>{P.current&&x(v)};return O&&(a==null||a.on(O,H)),B&&(a==null||a.store.on(B,H)),()=>{P.current=!1,a&&O&&(O==null||O.split(" ").forEach(Y=>a.off(Y,H))),B&&a&&B.split(" ").forEach(Y=>a.store.off(Y,H))}},[a,R]),g.useEffect(()=>{P.current&&h&&x(w)},[a,d,h]);const k=[C,a,h];if(k.t=C,k.i18n=a,k.ready=h,h||!h&&!c)return k;throw new Promise(O=>{t.lng?Gb(a,t.lng,f,()=>O()):Qm(a,f,()=>O())})};/*! js-cookie v3.0.8 | MIT */function pu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)n!=="__proto__"&&(e[n]=r[n])}return e}var ZD={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Zm(e,t){function r(i,a,l){if(!(typeof document>"u")){l=pu({},t,l),typeof l.expires=="number"&&(l.expires=new Date(Date.now()+l.expires*864e5)),l.expires&&(l.expires=l.expires.toUTCString()),i=encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var d in l)l[d]&&(c+="; "+d,l[d]!==!0&&(c+="="+l[d].split(";")[0]));return document.cookie=i+"="+e.write(a,i)+c}}function n(i){if(!(typeof document>"u"||arguments.length&&!i)){for(var a=document.cookie?document.cookie.split("; "):[],l={},c=0;c<a.length;c++){var d=a[c].split("="),f=d.slice(1).join("=");try{var h=decodeURIComponent(d[0]);if(h in l||(l[h]=e.read(f,h)),i===h)break}catch{}}return i?l[i]:l}}return Object.create({set:r,get:n,remove:function(i,a){r(i,"",pu({},a,{expires:-1}))},withAttributes:function(i){return Zm(this.converter,pu({},this.attributes,i))},withConverter:function(i){return Zm(pu({},this.converter,i),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Xe=Zm(ZD,{path:"/"});function tC(e,t){return function(){return e.apply(t,arguments)}}var eh={};const{toString:eO}=Object.prototype,{getPrototypeOf:Rd}=Object,{iterator:Ed,toStringTag:rC}=Symbol,kd=(e=>t=>{const r=eO.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Cn=e=>(e=e.toLowerCase(),t=>kd(t)===e),Pd=e=>t=>typeof t===e,{isArray:rs}=Array,ca=Pd("undefined");function va(e){return e!==null&&!ca(e)&&e.constructor!==null&&!ca(e.constructor)&&Ar(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const nC=Cn("ArrayBuffer");function tO(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&nC(e.buffer),t}const rO=Pd("string"),Ar=Pd("function"),oC=Pd("number"),ql=e=>e!==null&&typeof e=="object",nO=e=>e===!0||e===!1,Fu=e=>{if(kd(e)!=="object")return!1;const t=Rd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(rC in e)&&!(Ed in e)},oO=e=>{if(!ql(e)||va(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},iO=Cn("Date"),sO=Cn("File"),aO=e=>!!(e&&typeof e.uri<"u"),lO=e=>e&&typeof e.getParts<"u",cO=Cn("Blob"),uO=Cn("FileList"),dO=e=>ql(e)&&Ar(e.pipe);function fO(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof eh<"u"?eh:{}}const Kb=fO(),Yb=typeof Kb.FormData<"u"?Kb.FormData:void 0,pO=e=>{if(!e)return!1;if(Yb&&e instanceof Yb)return!0;const t=Rd(e);if(!t||t===Object.prototype||!Ar(e.append))return!1;const r=kd(e);return r==="formdata"||r==="object"&&Ar(e.toString)&&e.toString()==="[object FormData]"},mO=Cn("URLSearchParams"),[hO,gO,yO,vO]=["ReadableStream","Request","Response","Headers"]?.map(Cn),bO=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Vl(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,i;if(typeof e!="object"&&(e=[e]),rs(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(va(e))return;const a=r?Object.getOwnPropertyNames(e):Object.keys(e),l=a.length;let c;for(n=0;n<l;n++)c=a[n],t.call(null,e[c],c,e)}}function iC(e,t){if(va(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,i;for(;n-- >0;)if(i=r[n],t===i.toLowerCase())return i;return null}const Fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:eh,sC=e=>!ca(e)&&e!==Fi;function th(...e){const{caseless:t,skipUndefined:r}=sC(this)&&this||{},n={},i=(a,l)=>{if(l==="__proto__"||l==="constructor"||l==="prototype")return;const c=t&&typeof l=="string"&&iC(n,l)||l,d=rh(n,c)?n[c]:void 0;Fu(d)&&Fu(a)?n[c]=th(d,a):Fu(a)?n[c]=th({},a):rs(a)?n[c]=a.slice():(!r||!ca(a))&&(n[c]=a)};for(let a=0,l=e.length;a<l;a++){const c=e[a];if(!c||va(c)||(Vl(c,i),typeof c!="object"||rs(c)))continue;const d=Object.getOwnPropertySymbols(c);for(let f=0;f<d.length;f++){const h=d[f];DO.call(c,h)&&i(c[h],h)}}return n}const wO=(e,t,r,{allOwnKeys:n}={})=>(Vl(t,(i,a)=>{r&&Ar(i)?Object.defineProperty(e,a,{__proto__:null,value:tC(i,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,a,{__proto__:null,value:i,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),SO=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),xO=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},CO=(e,t,r,n)=>{let i,a,l;const c={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)l=i[a],(!n||n(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=r!==!1&&Rd(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},RO=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},EO=e=>{if(!e)return null;if(rs(e))return e;let t=e.length;if(!oC(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},kO=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Rd(Uint8Array)),PO=(e,t)=>{const n=(e&&e[Ed]).call(e);let i;for(;(i=n.next())&&!i.done;){const a=i.value;t.call(e,a[0],a[1])}},AO=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},TO=Cn("HTMLFormElement"),NO=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,i){return n.toUpperCase()+i}),rh=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),{propertyIsEnumerable:DO}=Object.prototype,OO=Cn("RegExp"),aC=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Vl(r,(i,a)=>{let l;(l=t(i,a,e))!==!1&&(n[a]=l||i)}),Object.defineProperties(e,n)},_O=e=>{aC(e,(t,r)=>{if(Ar(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];if(Ar(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},MO=(e,t)=>{const r={},n=i=>{i.forEach(a=>{r[a]=!0})};return rs(e)?n(e):n(String(e).split(t)),r},jO=()=>{},LO=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function FO(e){return!!(e&&Ar(e.append)&&e[rC]==="FormData"&&e[Ed])}const IO=e=>{const t=new WeakSet,r=n=>{if(ql(n)){if(t.has(n))return;if(va(n))return n;if(!("toJSON"in n)){t.add(n);const i=rs(n)?[]:{};return Vl(n,(a,l)=>{const c=r(a);!ca(c)&&(i[l]=c)}),t.delete(n),i}}return n};return r(e)},UO=Cn("AsyncFunction"),$O=e=>e&&(ql(e)||Ar(e))&&Ar(e.then)&&Ar(e.catch),lC=((e,t)=>e?setImmediate:t?((r,n)=>(Fi.addEventListener("message",({source:i,data:a})=>{i===Fi&&a===r&&n.length&&n.shift()()},!1),i=>{n.push(i),Fi.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ar(Fi.postMessage)),zO=typeof queueMicrotask<"u"?queueMicrotask.bind(Fi):typeof process<"u"&&process.nextTick||lC,BO=e=>e!=null&&Ar(e[Ed]),X={isArray:rs,isArrayBuffer:nC,isBuffer:va,isFormData:pO,isArrayBufferView:tO,isString:rO,isNumber:oC,isBoolean:nO,isObject:ql,isPlainObject:Fu,isEmptyObject:oO,isReadableStream:hO,isRequest:gO,isResponse:yO,isHeaders:vO,isUndefined:ca,isDate:iO,isFile:sO,isReactNativeBlob:aO,isReactNative:lO,isBlob:cO,isRegExp:OO,isFunction:Ar,isStream:dO,isURLSearchParams:mO,isTypedArray:kO,isFileList:uO,forEach:Vl,merge:th,extend:wO,trim:bO,stripBOM:SO,inherits:xO,toFlatObject:CO,kindOf:kd,kindOfTest:Cn,endsWith:RO,toArray:EO,forEachEntry:PO,matchAll:AO,isHTMLForm:TO,hasOwnProperty:rh,hasOwnProp:rh,reduceDescriptors:aC,freezeMethods:_O,toObjectSet:MO,toCamelCase:NO,noop:jO,toFiniteNumber:LO,findKey:iC,global:Fi,isContextDefined:sC,isSpecCompliantForm:FO,toJSONObject:IO,isAsyncFn:UO,isThenable:$O,setImmediate:lC,asap:zO,isIterable:BO},qO=X.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),VO=e=>{const t={};let r,n,i;return e&&e.split(`
|
||
`).forEach(function(l){i=l.indexOf(":"),r=l.substring(0,i).trim().toLowerCase(),n=l.substring(i+1).trim(),!(!r||t[r]&&qO[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};function HO(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}const WO=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),GO=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function wg(e,t){return X.isArray(e)?e?.map(r=>wg(r,t)):HO(String(e).replace(t,""))}const KO=e=>wg(e,WO),YO=e=>wg(e,GO);function cC(e){const t=Object.create(null);return X.forEach(e.toJSON(),(r,n)=>{t[n]=YO(r)}),t}const Xb=Symbol("internals");function dl(e){return e&&String(e).trim().toLowerCase()}function Iu(e){return e===!1||e==null?e:X.isArray(e)?e?.map(Iu):KO(String(e))}function XO(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const QO=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function om(e,t,r,n,i){if(X.isFunction(n))return n.call(this,t,r);if(i&&(t=r),!!X.isString(t)){if(X.isString(n))return t.indexOf(n)!==-1;if(X.isRegExp(n))return n.test(t)}}function JO(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function ZO(e,t){const r=X.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(i,a,l){return this[n].call(this,t,i,a,l)},configurable:!0})})}let ar=class{constructor(t){t&&this.set(t)}set(t,r,n){const i=this;function a(c,d,f){const h=dl(d);if(!h)return;const m=X.findKey(i,h);(!m||i[m]===void 0||f===!0||f===void 0&&i[m]!==!1)&&(i[m||d]=Iu(c))}const l=(c,d)=>X.forEach(c,(f,h)=>a(f,h,d));if(X.isPlainObject(t)||t instanceof this.constructor)l(t,r);else if(X.isString(t)&&(t=t.trim())&&!QO(t))l(VO(t),r);else if(X.isObject(t)&&X.isIterable(t)){let c={},d,f;for(const h of t){if(!X.isArray(h))throw new TypeError("Object iterator must return a key-value pair");c[f=h[0]]=(d=c[f])?X.isArray(d)?[...d,h[1]]:[d,h[1]]:h[1]}l(c,r)}else t!=null&&a(r,t,n);return this}get(t,r){if(t=dl(t),t){const n=X.findKey(this,t);if(n){const i=this[n];if(!r)return i;if(r===!0)return XO(i);if(X.isFunction(r))return r.call(this,i,n);if(X.isRegExp(r))return r.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=dl(t),t){const n=X.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||om(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let i=!1;function a(l){if(l=dl(l),l){const c=X.findKey(n,l);c&&(!r||om(n,n[c],c,r))&&(delete n[c],i=!0)}}return X.isArray(t)?t.forEach(a):a(t),i}clear(t){const r=Object.keys(this);let n=r.length,i=!1;for(;n--;){const a=r[n];(!t||om(this,this[a],a,t,!0))&&(delete this[a],i=!0)}return i}normalize(t){const r=this,n={};return X.forEach(this,(i,a)=>{const l=X.findKey(n,a);if(l){r[l]=Iu(i),delete r[a];return}const c=t?JO(a):String(a).trim();c!==a&&delete r[a],r[c]=Iu(i),n[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return X.forEach(this,(n,i)=>{n!=null&&n!==!1&&(r[i]=t&&X.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON())?.map(([t,r])=>t+": "+r).join(`
|
||
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(i=>n.set(i)),n}static accessor(t){const n=(this[Xb]=this[Xb]={accessors:{}}).accessors,i=this.prototype;function a(l){const c=dl(l);n[c]||(ZO(i,l),n[c]=!0)}return X.isArray(t)?t.forEach(a):a(t),this}};ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});X.freezeMethods(ar);const e2="[REDACTED ****]";function t2(e){if(X.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(X.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}function r2(e,t){const r=new Set(t?.map(a=>String(a).toLowerCase())),n=[],i=a=>{if(a===null||typeof a!="object"||X.isBuffer(a))return a;if(n.indexOf(a)!==-1)return;a instanceof ar&&(a=a.toJSON()),n.push(a);let l;if(X.isArray(a))l=[],a.forEach((c,d)=>{const f=i(c);X.isUndefined(f)||(l[d]=f)});else{if(!X.isPlainObject(a)&&t2(a))return n.pop(),a;l=Object.create(null);for(const[c,d]of Object.entries(a)){const f=r.has(c.toLowerCase())?e2:i(d);X.isUndefined(f)||(l[c]=f)}}return n.pop(),l};return i(e)}let Re=class uC extends Error{static from(t,r,n,i,a,l){const c=new uC(t.message,r||t.code,n,i,a);return c.cause=t,c.name=t.name,t.status!=null&&c.status==null&&(c.status=t.status),l&&Object.assign(c,l),c}constructor(t,r,n,i,a){super(t),Object.defineProperty(this,"message",{__proto__:null,value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),i&&(this.request=i),a&&(this.response=a,this.status=a.status)}toJSON(){const t=this.config,r=t&&X.hasOwnProp(t,"redact")?t.redact:void 0,n=X.isArray(r)&&r.length>0?r2(t,r):X.toJSONObject(t);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}};Re.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Re.ERR_BAD_OPTION="ERR_BAD_OPTION";Re.ECONNABORTED="ECONNABORTED";Re.ETIMEDOUT="ETIMEDOUT";Re.ECONNREFUSED="ECONNREFUSED";Re.ERR_NETWORK="ERR_NETWORK";Re.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Re.ERR_DEPRECATED="ERR_DEPRECATED";Re.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Re.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Re.ERR_CANCELED="ERR_CANCELED";Re.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Re.ERR_INVALID_URL="ERR_INVALID_URL";Re.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const n2=null;function nh(e){return X.isPlainObject(e)||X.isArray(e)}function dC(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function im(e,t,r){return e?e.concat(t)?.map(function(i,a){return i=dC(i),!r&&a?"["+i+"]":i}).join(r?".":""):t}function o2(e){return X.isArray(e)&&!e?.some(nh)}const i2=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function Ad(e,t,r){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=X.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(R,E){return!X.isUndefined(E[R])});const n=r.metaTokens,i=r.visitor||m,a=r.dots,l=r.indexes,c=r.Blob||typeof Blob<"u"&&Blob,d=r.maxDepth===void 0?100:r.maxDepth,f=c&&X.isSpecCompliantForm(t);if(!X.isFunction(i))throw new TypeError("visitor must be a function");function h(x){if(x===null)return"";if(X.isDate(x))return x.toISOString();if(X.isBoolean(x))return x.toString();if(!f&&X.isBlob(x))throw new Re("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(x)||X.isTypedArray(x)?f&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function m(x,R,E){let P=x;if(X.isReactNative(t)&&X.isReactNativeBlob(x))return t.append(im(E,R,a),h(x)),!1;if(x&&!E&&typeof x=="object"){if(X.endsWith(R,"{}"))R=n?R:R.slice(0,-2),x=JSON.stringify(x);else if(X.isArray(x)&&o2(x)||(X.isFileList(x)||X.endsWith(R,"[]"))&&(P=X.toArray(x)))return R=dC(R),P.forEach(function(T,N){!(X.isUndefined(T)||T===null)&&t.append(l===!0?im([R],N,a):l===null?R:R+"[]",h(T))}),!1}return nh(x)?!0:(t.append(im(E,R,a),h(x)),!1)}const w=[],v=Object.assign(i2,{defaultVisitor:m,convertValue:h,isVisitable:nh});function C(x,R,E=0){if(!X.isUndefined(x)){if(E>d)throw new Re("Object is too deeply nested ("+E+" levels). Max depth: "+d,Re.ERR_FORM_DATA_DEPTH_EXCEEDED);if(w.indexOf(x)!==-1)throw new Error("Circular reference detected in "+R.join("."));w.push(x),X.forEach(x,function(k,T){(!(X.isUndefined(k)||k===null)&&i.call(t,k,X.isString(T)?T.trim():T,R,v))===!0&&C(k,R?R.concat(T):[T],E+1)}),w.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return C(e),t}function Qb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function Sg(e,t){this._pairs=[],e&&Ad(e,this,t)}const fC=Sg.prototype;fC.append=function(t,r){this._pairs.push([t,r])};fC.toString=function(t){const r=t?function(n){return t.call(this,n,Qb)}:Qb;return this._pairs?.map(function(i){return r(i[0])+"="+r(i[1])},"").join("&")};function s2(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function pC(e,t,r){if(!t)return e;const n=r&&r.encode||s2,i=X.isFunction(r)?{serialize:r}:r,a=i&&i.serialize;let l;if(a?l=a(t,i):l=X.isURLSearchParams(t)?t.toString():new Sg(t,i).toString(n),l){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+l}return e}class Jb{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){X.forEach(this.handlers,function(n){n!==null&&t(n)})}}const xg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},a2=typeof URLSearchParams<"u"?URLSearchParams:Sg,l2=typeof FormData<"u"?FormData:null,c2=typeof Blob<"u"?Blob:null,u2={isBrowser:!0,classes:{URLSearchParams:a2,FormData:l2,Blob:c2},protocols:["http","https","file","blob","url","data"]},Cg=typeof window<"u"&&typeof document<"u",oh=typeof navigator=="object"&&navigator||void 0,d2=Cg&&(!oh||["ReactNative","NativeScript","NS"].indexOf(oh.product)<0),f2=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",p2=Cg&&window.location.href||"http://localhost",m2=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cg,hasStandardBrowserEnv:d2,hasStandardBrowserWebWorkerEnv:f2,navigator:oh,origin:p2},Symbol.toStringTag,{value:"Module"})),Ht={...m2,...u2};function h2(e,t){return Ad(e,new Ht.classes.URLSearchParams,{visitor:function(r,n,i,a){return Ht.isNode&&X.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...t})}function g2(e){return X.matchAll(/\w+|\[(\w*)]/g,e)?.map(t=>t[0]==="[]"?"":t[1]||t[0])}function y2(e){const t={},r=Object.keys(e);let n;const i=r.length;let a;for(n=0;n<i;n++)a=r[n],t[a]=e[a];return t}function mC(e){function t(r,n,i,a){let l=r[a++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),d=a>=r.length;return l=!l&&X.isArray(i)?i.length:l,d?(X.hasOwnProp(i,l)?i[l]=X.isArray(i[l])?i[l].concat(n):[i[l],n]:i[l]=n,!c):((!X.hasOwnProp(i,l)||!X.isObject(i[l]))&&(i[l]=[]),t(r,n,i[l],a)&&X.isArray(i[l])&&(i[l]=y2(i[l])),!c)}if(X.isFormData(e)&&X.isFunction(e.entries)){const r={};return X.forEachEntry(e,(n,i)=>{t(g2(n),i,r,0)}),r}return null}const _s=(e,t)=>e!=null&&X.hasOwnProp(e,t)?e[t]:void 0;function v2(e,t,r){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Hl={transitional:xg,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",i=n.indexOf("application/json")>-1,a=X.isObject(t);if(a&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return i?JSON.stringify(mC(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(a){const d=_s(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return h2(t,d).toString();if((c=X.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=_s(this,"env"),h=f&&f.FormData;return Ad(c?{"files[]":t}:t,h&&new h,d)}}return a||i?(r.setContentType("application/json",!1),v2(t)):t}],transformResponse:[function(t){const r=_s(this,"transitional")||Hl.transitional,n=r&&r.forcedJSONParsing,i=_s(this,"responseType"),a=i==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.isString(t)&&(n&&!i||a)){const c=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,_s(this,"parseReviver"))}catch(d){if(c)throw d.name==="SyntaxError"?Re.from(d,Re.ERR_BAD_RESPONSE,this,null,_s(this,"response")):d}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ht.classes.FormData,Blob:Ht.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch","query"],e=>{Hl.headers[e]={}});function sm(e,t){const r=this||Hl,n=t||r,i=ar.from(n.headers);let a=n.data;return X.forEach(e,function(c){a=c.call(r,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function hC(e){return!!(e&&e.__CANCEL__)}let Wl=class extends Re{constructor(t,r,n){super(t??"canceled",Re.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function gC(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Re("Request failed with status code "+r.status,r.status>=400&&r.status<500?Re.ERR_BAD_REQUEST:Re.ERR_BAD_RESPONSE,r.config,r.request,r))}function b2(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function w2(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i=0,a=0,l;return t=t!==void 0?t:1e3,function(d){const f=Date.now(),h=n[a];l||(l=f),r[i]=d,n[i]=f;let m=a,w=0;for(;m!==i;)w+=r[m++],m=m%e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),f-l<t)return;const v=h&&f-h;return v?Math.round(w*1e3/v):void 0}}function S2(e,t){let r=0,n=1e3/t,i,a;const l=(f,h=Date.now())=>{r=h,i=null,a&&(clearTimeout(a),a=null),e(...f)};return[(...f)=>{const h=Date.now(),m=h-r;m>=n?l(f,h):(i=f,a||(a=setTimeout(()=>{a=null,l(i)},n-m)))},()=>i&&l(i)]}const ed=(e,t,r=3)=>{let n=0;const i=w2(50,250);return S2(a=>{if(!a||typeof a.loaded!="number")return;const l=a.loaded,c=a.lengthComputable?a.total:void 0,d=c!=null?Math.min(l,c):l,f=Math.max(0,d-n),h=i(f);n=Math.max(n,d);const m={loaded:d,total:c,progress:c?d/c:void 0,bytes:f,rate:h||void 0,estimated:h&&c?(c-d)/h:void 0,event:a,lengthComputable:c!=null,[t?"download":"upload"]:!0};e(m)},r)},Zb=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ew=e=>(...t)=>X.asap(()=>e(...t)),x2=Ht.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Ht.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Ht.origin),Ht.navigator&&/(msie|trident)/i.test(Ht.navigator.userAgent)):()=>!0,C2=Ht.hasStandardBrowserEnv?{write(e,t,r,n,i,a,l){if(typeof document>"u")return;const c=[`${e}=${encodeURIComponent(t)}`];X.isNumber(r)&&c.push(`expires=${new Date(r).toUTCString()}`),X.isString(n)&&c.push(`path=${n}`),X.isString(i)&&c.push(`domain=${i}`),a===!0&&c.push("secure"),X.isString(l)&&c.push(`SameSite=${l}`),document.cookie=c.join("; ")},read(e){if(typeof document>"u")return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e)return decodeURIComponent(n.slice(i+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function R2(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function E2(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yC(e,t,r){let n=!R2(t);return e&&(n||r===!1)?E2(e,t):t}const tw=e=>e instanceof ar?{...e}:e;function ns(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(f,h,m,w){return X.isPlainObject(f)&&X.isPlainObject(h)?X.merge.call({caseless:w},f,h):X.isPlainObject(h)?X.merge({},h):X.isArray(h)?h.slice():h}function i(f,h,m,w){if(X.isUndefined(h)){if(!X.isUndefined(f))return n(void 0,f,m,w)}else return n(f,h,m,w)}function a(f,h){if(!X.isUndefined(h))return n(void 0,h)}function l(f,h){if(X.isUndefined(h)){if(!X.isUndefined(f))return n(void 0,f)}else return n(void 0,h)}function c(f,h,m){if(X.hasOwnProp(t,m))return n(f,h);if(X.hasOwnProp(e,m))return n(void 0,f)}const d={url:a,method:a,data:a,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,allowedSocketPaths:l,responseEncoding:l,validateStatus:c,headers:(f,h,m)=>i(tw(f),tw(h),m,!0)};return X.forEach(Object.keys({...e,...t}),function(h){if(h==="__proto__"||h==="constructor"||h==="prototype")return;const m=X.hasOwnProp(d,h)?d[h]:i,w=X.hasOwnProp(e,h)?e[h]:void 0,v=X.hasOwnProp(t,h)?t[h]:void 0,C=m(w,v,h);X.isUndefined(C)&&m!==c||(r[h]=C)}),r}const k2=["content-type","content-length"];function P2(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t).forEach(([n,i])=>{k2.includes(n.toLowerCase())&&e.set(n,i)})}const A2=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16)));function vC(e){const t=ns({},e),r=w=>X.hasOwnProp(t,w)?t[w]:void 0,n=r("data");let i=r("withXSRFToken");const a=r("xsrfHeaderName"),l=r("xsrfCookieName");let c=r("headers");const d=r("auth"),f=r("baseURL"),h=r("allowAbsoluteUrls"),m=r("url");if(t.headers=c=ar.from(c),t.url=pC(yC(f,m,h),r("params"),r("paramsSerializer")),d&&c.set("Authorization","Basic "+btoa((d.username||"")+":"+(d.password?A2(d.password):""))),X.isFormData(n)&&(Ht.hasStandardBrowserEnv||Ht.hasStandardBrowserWebWorkerEnv||X.isReactNative(n)?c.setContentType(void 0):X.isFunction(n.getHeaders)&&P2(c,n.getHeaders(),r("formDataHeaderPolicy"))),Ht.hasStandardBrowserEnv&&(X.isFunction(i)&&(i=i(t)),i===!0||i==null&&x2(t.url))){const v=a&&l&&C2.read(l);v&&c.set(a,v)}return t}const T2=typeof XMLHttpRequest<"u",N2=T2&&function(e){return new Promise(function(r,n){const i=vC(e);let a=i.data;const l=ar.from(i.headers).normalize();let{responseType:c,onUploadProgress:d,onDownloadProgress:f}=i,h,m,w,v,C;function x(){v&&v(),C&&C(),i.cancelToken&&i.cancelToken.unsubscribe(h),i.signal&&i.signal.removeEventListener("abort",h)}let R=new XMLHttpRequest;R.open(i.method.toUpperCase(),i.url,!0),R.timeout=i.timeout;function E(){if(!R)return;const k=ar.from("getAllResponseHeaders"in R&&R.getAllResponseHeaders()),N={data:!c||c==="text"||c==="json"?R.responseText:R.response,status:R.status,statusText:R.statusText,headers:k,config:e,request:R};gC(function(M){r(M),x()},function(M){n(M),x()},N),R=null}"onloadend"in R?R.onloadend=E:R.onreadystatechange=function(){!R||R.readyState!==4||R.status===0&&!(R.responseURL&&R.responseURL.startsWith("file:"))||setTimeout(E)},R.onabort=function(){R&&(n(new Re("Request aborted",Re.ECONNABORTED,e,R)),x(),R=null)},R.onerror=function(T){const N=T&&T.message?T.message:"Network Error",j=new Re(N,Re.ERR_NETWORK,e,R);j.event=T||null,n(j),x(),R=null},R.ontimeout=function(){let T=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const N=i.transitional||xg;i.timeoutErrorMessage&&(T=i.timeoutErrorMessage),n(new Re(T,N.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,R)),x(),R=null},a===void 0&&l.setContentType(null),"setRequestHeader"in R&&X.forEach(cC(l),function(T,N){R.setRequestHeader(N,T)}),X.isUndefined(i.withCredentials)||(R.withCredentials=!!i.withCredentials),c&&c!=="json"&&(R.responseType=i.responseType),f&&([w,C]=ed(f,!0),R.addEventListener("progress",w)),d&&R.upload&&([m,v]=ed(d),R.upload.addEventListener("progress",m),R.upload.addEventListener("loadend",v)),(i.cancelToken||i.signal)&&(h=k=>{R&&(n(!k||k.type?new Wl(null,e,R):k),R.abort(),x(),R=null)},i.cancelToken&&i.cancelToken.subscribe(h),i.signal&&(i.signal.aborted?h():i.signal.addEventListener("abort",h)));const P=b2(i.url);if(P&&!Ht.protocols.includes(P)){n(new Re("Unsupported protocol "+P+":",Re.ERR_BAD_REQUEST,e));return}R.send(a||null)})},D2=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const i=function(d){if(!n){n=!0,l();const f=d instanceof Error?d:this.reason;r.abort(f instanceof Re?f:new Wl(f instanceof Error?f.message:f))}};let a=t&&setTimeout(()=>{a=null,i(new Re(`timeout of ${t}ms exceeded`,Re.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(i):d.removeEventListener("abort",i)}),e=null)};e.forEach(d=>d.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>X.asap(l),c},O2=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,i;for(;n<r;)i=n+t,yield e.slice(n,i),n=i},_2=async function*(e,t){for await(const r of M2(e))yield*O2(r,t)},M2=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},rw=(e,t,r,n)=>{const i=_2(e,t);let a=0,l,c=d=>{l||(l=!0,n&&n(d))};return new ReadableStream({async pull(d){try{const{done:f,value:h}=await i.next();if(f){c(),d.close();return}let m=h.byteLength;if(r){let w=a+=m;r(w)}d.enqueue(new Uint8Array(h))}catch(f){throw c(f),f}},cancel(d){return c(d),i.return()}},{highWaterMark:2})};function j2(e){if(!e||typeof e!="string"||!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const r=e.slice(5,t),n=e.slice(t+1);if(/;base64/i.test(r)){let l=n.length;const c=n.length;for(let v=0;v<c;v++)if(n.charCodeAt(v)===37&&v+2<c){const C=n.charCodeAt(v+1),x=n.charCodeAt(v+2);(C>=48&&C<=57||C>=65&&C<=70||C>=97&&C<=102)&&(x>=48&&x<=57||x>=65&&x<=70||x>=97&&x<=102)&&(l-=2,v+=2)}let d=0,f=c-1;const h=v=>v>=2&&n.charCodeAt(v-2)===37&&n.charCodeAt(v-1)===51&&(n.charCodeAt(v)===68||n.charCodeAt(v)===100);f>=0&&(n.charCodeAt(f)===61?(d++,f--):h(f)&&(d++,f-=3)),d===1&&f>=0&&(n.charCodeAt(f)===61||h(f))&&d++;const w=Math.floor(l/4)*3-(d||0);return w>0?w:0}if(typeof Buffer<"u"&&typeof Buffer.byteLength=="function")return Buffer.byteLength(n,"utf8");let a=0;for(let l=0,c=n.length;l<c;l++){const d=n.charCodeAt(l);if(d<128)a+=1;else if(d<2048)a+=2;else if(d>=55296&&d<=56319&&l+1<c){const f=n.charCodeAt(l+1);f>=56320&&f<=57343?(a+=4,l++):a+=3}else a+=3}return a}const Rg="1.17.0",nw=64*1024,{isFunction:mu}=X,L2=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(t,r)=>String.fromCharCode(parseInt(r,16))),ow=e=>{if(!X.isString(e))return e;try{return decodeURIComponent(e)}catch{return e}},iw=(e,...t)=>{try{return!!e(...t)}catch{return!1}},F2=e=>{const t=e.indexOf("://");let r=e;return t!==-1&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")},I2=e=>{const t=X.global!==void 0&&X.global!==null?X.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=X.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:l}=e,c=i?mu(i):typeof fetch=="function",d=mu(a),f=mu(l);if(!c)return!1;const h=c&&mu(r),m=c&&(typeof n=="function"?(E=>P=>E.encode(P))(new n):async E=>new Uint8Array(await new a(E).arrayBuffer())),w=d&&h&&iw(()=>{let E=!1;const P=new a(Ht.origin,{body:new r,method:"POST",get duplex(){return E=!0,"half"}}),k=P.headers.has("Content-Type");return P.body!=null&&P.body.cancel(),E&&!k}),v=f&&h&&iw(()=>X.isReadableStream(new l("").body)),C={stream:v&&(E=>E.body)};c&&["text","arrayBuffer","blob","formData","stream"].forEach(E=>{!C[E]&&(C[E]=(P,k)=>{let T=P&&P[E];if(T)return T.call(P);throw new Re(`Response type '${E}' is not supported`,Re.ERR_NOT_SUPPORT,k)})});const x=async E=>{if(E==null)return 0;if(X.isBlob(E))return E.size;if(X.isSpecCompliantForm(E))return(await new a(Ht.origin,{method:"POST",body:E}).arrayBuffer()).byteLength;if(X.isArrayBufferView(E)||X.isArrayBuffer(E))return E.byteLength;if(X.isURLSearchParams(E)&&(E=E+""),X.isString(E))return(await m(E)).byteLength},R=async(E,P)=>{const k=X.toFiniteNumber(E.getContentLength());return k??x(P)};return async E=>{let{url:P,method:k,data:T,signal:N,cancelToken:j,timeout:M,onDownloadProgress:O,onUploadProgress:B,responseType:H,headers:Y,withCredentials:ne="same-origin",fetchOptions:te,maxContentLength:K,maxBodyLength:W}=vC(E);const U=X.isNumber(K)&&K>-1,z=X.isNumber(W)&&W>-1,_=re=>X.hasOwnProp(E,re)?E[re]:void 0;let I=i||fetch;H=H?(H+"").toLowerCase():"text";let L=D2([N,j&&j.toAbortSignal()],M),D=null;const V=L&&L.unsubscribe&&(()=>{L.unsubscribe()});let ee;try{let re;const oe=_("auth");if(oe){const ge=oe.username||"",Me=oe.password||"";re={username:ge,password:Me}}if(F2(P)){const ge=new URL(P,Ht.origin);if(!re&&(ge.username||ge.password)){const Me=ow(ge.username),ze=ow(ge.password);re={username:Me,password:ze}}(ge.username||ge.password)&&(ge.username="",ge.password="",P=ge.href)}if(re&&(Y.delete("authorization"),Y.set("Authorization","Basic "+btoa(L2((re.username||"")+":"+(re.password||""))))),U&&typeof P=="string"&&P.startsWith("data:")&&j2(P)>K)throw new Re("maxContentLength size of "+K+" exceeded",Re.ERR_BAD_RESPONSE,E,D);if(z&&k!=="get"&&k!=="head"){const ge=await R(Y,T);if(typeof ge=="number"&&isFinite(ge)&&ge>W)throw new Re("Request body larger than maxBodyLength limit",Re.ERR_BAD_REQUEST,E,D)}if(B&&w&&k!=="get"&&k!=="head"&&(ee=await R(Y,T))!==0){let ge=new a(P,{method:"POST",body:T,duplex:"half"}),Me;if(X.isFormData(T)&&(Me=ge.headers.get("content-type"))&&Y.setContentType(Me),ge.body){const[ze,We]=Zb(ee,ed(ew(B)));T=rw(ge.body,nw,ze,We)}}X.isString(ne)||(ne=ne?"include":"omit");const ie=d&&"credentials"in a.prototype;if(X.isFormData(T)){const ge=Y.getContentType();ge&&/^multipart\/form-data/i.test(ge)&&!/boundary=/i.test(ge)&&Y.delete("content-type")}Y.set("User-Agent","axios/"+Rg,!1);const me={...te,signal:L,method:k.toUpperCase(),headers:cC(Y.normalize()),body:T,duplex:"half",credentials:ie?ne:void 0};D=d&&new a(P,me);let ue=await(d?I(D,te):I(P,me));if(U){const ge=X.toFiniteNumber(ue.headers.get("content-length"));if(ge!=null&&ge>K)throw new Re("maxContentLength size of "+K+" exceeded",Re.ERR_BAD_RESPONSE,E,D)}const pe=v&&(H==="stream"||H==="response");if(v&&ue.body&&(O||U||pe&&V)){const ge={};["status","statusText","headers"].forEach(at=>{ge[at]=ue[at]});const Me=X.toFiniteNumber(ue.headers.get("content-length")),[ze,We]=O&&Zb(Me,ed(ew(O),!0))||[];let Pt=0;const tr=at=>{if(U&&(Pt=at,Pt>K))throw new Re("maxContentLength size of "+K+" exceeded",Re.ERR_BAD_RESPONSE,E,D);ze&&ze(at)};ue=new l(rw(ue.body,nw,tr,()=>{We&&We(),V&&V()}),ge)}H=H||"text";let ve=await C[X.findKey(C,H)||"text"](ue,E);if(U&&!v&&!pe){let ge;if(ve!=null&&(typeof ve.byteLength=="number"?ge=ve.byteLength:typeof ve.size=="number"?ge=ve.size:typeof ve=="string"&&(ge=typeof n=="function"?new n().encode(ve).byteLength:ve.length)),typeof ge=="number"&&ge>K)throw new Re("maxContentLength size of "+K+" exceeded",Re.ERR_BAD_RESPONSE,E,D)}return!pe&&V&&V(),await new Promise((ge,Me)=>{gC(ge,Me,{data:ve,headers:ar.from(ue.headers),status:ue.status,statusText:ue.statusText,config:E,request:D})})}catch(re){if(V&&V(),L&&L.aborted&&L.reason instanceof Re){const oe=L.reason;throw oe.config=E,D&&(oe.request=D),re!==oe&&(oe.cause=re),oe}throw re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)?Object.assign(new Re("Network Error",Re.ERR_NETWORK,E,D,re&&re.response),{cause:re.cause||re}):Re.from(re,re&&re.code,E,D,re&&re.response)}}},U2=new Map,bC=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:i}=t,a=[n,i,r];let l=a.length,c=l,d,f,h=U2;for(;c--;)d=a[c],f=h.get(d),f===void 0&&h.set(d,f=c?new Map:I2(t)),h=f;return f};bC();const Eg={http:n2,xhr:N2,fetch:{get:bC}};X.forEach(Eg,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch{}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const sw=e=>`- ${e}`,$2=e=>X.isFunction(e)||e===null||e===!1;function z2(e,t){e=X.isArray(e)?e:[e];const{length:r}=e;let n,i;const a={};for(let l=0;l<r;l++){n=e[l];let c;if(i=n,!$2(n)&&(i=Eg[(c=String(n)).toLowerCase()],i===void 0))throw new Re(`Unknown adapter '${c}'`);if(i&&(X.isFunction(i)||(i=i.get(t))))break;a[c||"#"+l]=i}if(!i){const l=Object.entries(a)?.map(([d,f])=>`adapter ${d} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=r?l.length>1?`since :
|
||
`+l?.map(sw).join(`
|
||
`):" "+sw(l[0]):"as no adapter specified";throw new Re("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return i}const wC={getAdapter:z2,adapters:Eg};function am(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wl(null,e)}function aw(e){return am(e),e.headers=ar.from(e.headers),e.data=sm.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),wC.getAdapter(e.adapter||Hl.adapter,e)(e).then(function(n){am(e),e.response=n;try{n.data=sm.call(e,e.transformResponse,n)}finally{delete e.response}return n.headers=ar.from(n.headers),n},function(n){if(!hC(n)&&(am(e),n&&n.response)){e.response=n.response;try{n.response.data=sm.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=ar.from(n.response.headers)}return Promise.reject(n)})}const Td={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Td[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const lw={};Td.transitional=function(t,r,n){function i(a,l){return"[Axios v"+Rg+"] Transitional option '"+a+"'"+l+(n?". "+n:"")}return(a,l,c)=>{if(t===!1)throw new Re(i(l," has been removed"+(r?" in "+r:"")),Re.ERR_DEPRECATED);return r&&!lw[l]&&(lw[l]=!0),t?t(a,l,c):!0}};Td.spelling=function(t){return(r,n)=>!0};function B2(e,t,r){if(typeof e!="object")throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const a=n[i],l=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(l){const c=e[a],d=c===void 0||l(c,a,e);if(d!==!0)throw new Re("option "+a+" must be "+d,Re.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Re("Unknown option "+a,Re.ERR_BAD_OPTION)}}const Uu={assertOptions:B2,validators:Td},Rr=Uu.validators;let Ji=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Jb,response:new Jb}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const a=(()=>{if(!i.stack)return"";const l=i.stack.indexOf(`
|
||
`);return l===-1?"":i.stack.slice(l+1)})();try{if(!n.stack)n.stack=a;else if(a){const l=a.indexOf(`
|
||
`),c=l===-1?-1:a.indexOf(`
|
||
`,l+1),d=c===-1?"":a.slice(c+1);String(n.stack).endsWith(d)||(n.stack+=`
|
||
`+a)}}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=ns(this.defaults,r);const{transitional:n,paramsSerializer:i,headers:a}=r;n!==void 0&&Uu.assertOptions(n,{silentJSONParsing:Rr.transitional(Rr.boolean),forcedJSONParsing:Rr.transitional(Rr.boolean),clarifyTimeoutError:Rr.transitional(Rr.boolean),legacyInterceptorReqResOrdering:Rr.transitional(Rr.boolean),advertiseZstdAcceptEncoding:Rr.transitional(Rr.boolean)},!1),i!=null&&(X.isFunction(i)?r.paramsSerializer={serialize:i}:Uu.assertOptions(i,{encode:Rr.function,serialize:Rr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Uu.assertOptions(r,{baseUrl:Rr.spelling("baseURL"),withXsrfToken:Rr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=a&&X.merge(a.common,a[r.method]);a&&X.forEach(["delete","get","head","post","put","patch","query","common"],C=>{delete a[C]}),r.headers=ar.concat(l,a);const c=[];let d=!0;this.interceptors.request.forEach(function(x){if(typeof x.runWhen=="function"&&x.runWhen(r)===!1)return;d=d&&x.synchronous;const R=r.transitional||xg;R&&R.legacyInterceptorReqResOrdering?c.unshift(x.fulfilled,x.rejected):c.push(x.fulfilled,x.rejected)});const f=[];this.interceptors.response.forEach(function(x){f.push(x.fulfilled,x.rejected)});let h,m=0,w;if(!d){const C=[aw.bind(this),void 0];for(C.unshift(...c),C.push(...f),w=C.length,h=Promise.resolve(r);m<w;)h=h.then(C[m++],C[m++]);return h}w=c.length;let v=r;for(;m<w;){const C=c[m++],x=c[m++];try{v=C(v)}catch(R){x.call(this,R);break}}try{h=aw.call(this,v)}catch(C){return Promise.reject(C)}for(m=0,w=f.length;m<w;)h=h.then(f[m++],f[m++]);return h}getUri(t){t=ns(this.defaults,t);const r=yC(t.baseURL,t.url,t.allowAbsoluteUrls);return pC(r,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){Ji.prototype[t]=function(r,n){return this.request(ns(n||{},{method:t,url:r,data:(n||{}).data}))}});X.forEach(["post","put","patch","query"],function(t){function r(n){return function(a,l,c){return this.request(ns(c||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:l}))}}Ji.prototype[t]=r(),t!=="query"&&(Ji.prototype[t+"Form"]=r(!0))});let q2=class SC{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(i=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](i);n._listeners=null}),this.promise.then=i=>{let a;const l=new Promise(c=>{n.subscribe(c),a=c}).then(i);return l.cancel=function(){n.unsubscribe(a)},l},t(function(a,l,c){n.reason||(n.reason=new Wl(a,l,c),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new SC(function(i){t=i}),cancel:t}}};function V2(e){return function(r){return e.apply(null,r)}}function H2(e){return X.isObject(e)&&e.isAxiosError===!0}const ih={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(ih).forEach(([e,t])=>{ih[t]=e});function xC(e){const t=new Ji(e),r=tC(Ji.prototype.request,t);return X.extend(r,Ji.prototype,t,{allOwnKeys:!0}),X.extend(r,t,null,{allOwnKeys:!0}),r.create=function(i){return xC(ns(e,i))},r}const pt=xC(Hl);pt.Axios=Ji;pt.CanceledError=Wl;pt.CancelToken=q2;pt.isCancel=hC;pt.VERSION=Rg;pt.toFormData=Ad;pt.AxiosError=Re;pt.Cancel=pt.CanceledError;pt.all=function(t){return Promise.all(t)};pt.spread=V2;pt.isAxiosError=H2;pt.mergeConfig=ns;pt.AxiosHeaders=ar;pt.formToJSON=e=>mC(X.isHTMLForm(e)?new FormData(e):e);pt.getAdapter=wC.getAdapter;pt.HttpStatusCode=ih;pt.default=pt;const{Axios:$H,AxiosError:zH,CanceledError:BH,isCancel:qH,CancelToken:VH,VERSION:HH,all:WH,Cancel:GH,isAxiosError:KH,spread:YH,toFormData:XH,AxiosHeaders:QH,HttpStatusCode:JH,formToJSON:ZH,getAdapter:e7,mergeConfig:t7,create:r7}=pt,CC=async e=>await _C({refreshToken:e}),kg="rememberMe",W2=e=>{if(!e)return!1;try{return JSON.parse(e)===!0}catch{return!1}},RC=()=>W2(localStorage.getItem(kg)),G2=e=>{localStorage.setItem(kg,JSON.stringify(e))},sh=()=>{localStorage.removeItem(kg)},Pg=e=>({...e?{expires:7}:{},secure:typeof window<"u"&&window.location.protocol==="https:",sameSite:"Strict"}),td=({token:e,refreshToken:t,rememberMe:r})=>{const n=Pg(r);Xe.set("auth-token",e,n),Xe.set("refresh-token",t,n)};function K2(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}const Y2=e=>{switch(e){case"success":return J2;case"info":return e_;case"warning":return Z2;case"error":return t_;default:return null}},X2=Array(12).fill(0),Q2=({visible:e,className:t})=>le.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},le.createElement("div",{className:"sonner-spinner"},X2?.map((r,n)=>le.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${n}`})))),J2=le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},le.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),Z2=le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},le.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),e_=le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},le.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),t_=le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},le.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),r_=le.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},le.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),le.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),n_=()=>{const[e,t]=le.useState(document.hidden);return le.useEffect(()=>{const r=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e};let ah=1;class o_{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const r=this.subscribers.indexOf(t);this.subscribers.splice(r,1)}),this.publish=t=>{this.subscribers.forEach(r=>r(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var r;const{message:n,...i}=t,a=typeof(t==null?void 0:t.id)=="number"||((r=t.id)==null?void 0:r.length)>0?t.id:ah++,l=this.toasts.find(d=>d.id===a),c=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(a)&&this.dismissedToasts.delete(a),l?this.toasts=this.toasts?.map(d=>d.id===a?(this.publish({...d,...t,id:a,title:n}),{...d,...t,id:a,dismissible:c,title:n}):d):this.addToast({title:n,...i,dismissible:c,id:a}),a},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(r=>r({id:t,dismiss:!0})))):this.toasts.forEach(r=>{this.subscribers.forEach(n=>n({id:r.id,dismiss:!0}))}),t),this.message=(t,r)=>this.create({...r,message:t}),this.error=(t,r)=>this.create({...r,message:t,type:"error"}),this.success=(t,r)=>this.create({...r,type:"success",message:t}),this.info=(t,r)=>this.create({...r,type:"info",message:t}),this.warning=(t,r)=>this.create({...r,type:"warning",message:t}),this.loading=(t,r)=>this.create({...r,type:"loading",message:t}),this.promise=(t,r)=>{if(!r)return;let n;r.loading!==void 0&&(n=this.create({...r,promise:t,type:"loading",message:r.loading,description:typeof r.description!="function"?r.description:void 0}));const i=Promise.resolve(t instanceof Function?t():t);let a=n!==void 0,l;const c=i.then(async f=>{if(l=["resolve",f],le.isValidElement(f))a=!1,this.create({id:n,type:"default",message:f});else if(s_(f)&&!f.ok){a=!1;const m=typeof r.error=="function"?await r.error(`HTTP error! status: ${f.status}`):r.error,w=typeof r.description=="function"?await r.description(`HTTP error! status: ${f.status}`):r.description,C=typeof m=="object"&&!le.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:w,...C})}else if(f instanceof Error){a=!1;const m=typeof r.error=="function"?await r.error(f):r.error,w=typeof r.description=="function"?await r.description(f):r.description,C=typeof m=="object"&&!le.isValidElement(m)?m:{message:m};this.create({id:n,type:"error",description:w,...C})}else if(r.success!==void 0){a=!1;const m=typeof r.success=="function"?await r.success(f):r.success,w=typeof r.description=="function"?await r.description(f):r.description,C=typeof m=="object"&&!le.isValidElement(m)?m:{message:m};this.create({id:n,type:"success",description:w,...C})}}).catch(async f=>{if(l=["reject",f],r.error!==void 0){a=!1;const h=typeof r.error=="function"?await r.error(f):r.error,m=typeof r.description=="function"?await r.description(f):r.description,v=typeof h=="object"&&!le.isValidElement(h)?h:{message:h};this.create({id:n,type:"error",description:m,...v})}}).finally(()=>{a&&(this.dismiss(n),n=void 0),r.finally==null||r.finally.call(r)}),d=()=>new Promise((f,h)=>c.then(()=>l[0]==="reject"?h(l[1]):f(l[1])).catch(h));return typeof n!="string"&&typeof n!="number"?{unwrap:d}:Object.assign(n,{unwrap:d})},this.custom=(t,r)=>{const n=(r==null?void 0:r.id)||ah++;return this.create({jsx:t(n),id:n,...r}),n},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Pr=new o_,i_=(e,t)=>{const r=(t==null?void 0:t.id)||ah++;return Pr.addToast({title:e,...t,id:r}),r},s_=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",a_=i_,l_=()=>Pr.toasts,c_=()=>Pr.getActiveToasts(),St=Object.assign(a_,{success:Pr.success,info:Pr.info,warning:Pr.warning,error:Pr.error,custom:Pr.custom,message:Pr.message,promise:Pr.promise,dismiss:Pr.dismiss,loading:Pr.loading},{getHistory:l_,getToasts:c_});K2("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function hu(e){return e.label!==void 0}const u_=3,d_="24px",f_="16px",cw=4e3,p_=356,m_=14,h_=45,g_=200;function On(...e){return e.filter(Boolean).join(" ")}function y_(e){const[t,r]=e.split("-"),n=[];return t&&n.push(t),r&&n.push(r),n}const v_=e=>{var t,r,n,i,a,l,c,d,f;const{invert:h,toast:m,unstyled:w,interacting:v,setHeights:C,visibleToasts:x,heights:R,index:E,toasts:P,expanded:k,removeToast:T,defaultRichColors:N,closeButton:j,style:M,cancelButtonStyle:O,actionButtonStyle:B,className:H="",descriptionClassName:Y="",duration:ne,position:te,gap:K,expandByDefault:W,classNames:U,icons:z,closeButtonAriaLabel:_="Close toast"}=e,[I,L]=le.useState(null),[D,V]=le.useState(null),[ee,re]=le.useState(!1),[oe,ie]=le.useState(!1),[me,ue]=le.useState(!1),[pe,ve]=le.useState(!1),[ge,Me]=le.useState(!1),[ze,We]=le.useState(0),[Pt,tr]=le.useState(0),at=le.useRef(m.duration||ne||cw),dr=le.useRef(null),rt=le.useRef(null),At=E===0,Dr=E+1<=x,yt=m.type,fr=m.dismissible!==!1,Yn=m.className||"",Ze=m.descriptionClassName||"",pr=le.useMemo(()=>R.findIndex(_e=>_e.toastId===m.id)||0,[R,m.id]),mr=le.useMemo(()=>{var _e;return(_e=m.closeButton)!=null?_e:j},[m.closeButton,j]),kn=le.useMemo(()=>m.duration||ne||cw,[m.duration,ne]),Ao=le.useRef(0),hr=le.useRef(0),he=le.useRef(0),Oe=le.useRef(null),[ut,zt]=te.split("-"),gr=le.useMemo(()=>R.reduce((_e,vt,Nt)=>Nt>=pr?_e:_e+vt.height,0),[R,pr]),mt=n_(),yr=m.invert||h,Tt=yt==="loading";hr.current=le.useMemo(()=>pr*K+gr,[pr,gr]),le.useEffect(()=>{at.current=kn},[kn]),le.useEffect(()=>{re(!0)},[]),le.useEffect(()=>{const _e=rt.current;if(_e){const vt=_e.getBoundingClientRect().height;return tr(vt),C(Nt=>[{toastId:m.id,height:vt,position:m.position},...Nt]),()=>C(Nt=>Nt.filter(Gt=>Gt.toastId!==m.id))}},[C,m.id]),le.useLayoutEffect(()=>{if(!ee)return;const _e=rt.current,vt=_e.style.height;_e.style.height="auto";const Nt=_e.getBoundingClientRect().height;_e.style.height=vt,tr(Nt),C(Gt=>Gt.find(xt=>xt.toastId===m.id)?Gt?.map(xt=>xt.toastId===m.id?{...xt,height:Nt}:xt):[{toastId:m.id,height:Nt,position:m.position},...Gt])},[ee,m.title,m.description,C,m.id,m.jsx,m.action,m.cancel]);const rr=le.useCallback(()=>{ie(!0),We(hr.current),C(_e=>_e.filter(vt=>vt.toastId!==m.id)),setTimeout(()=>{T(m)},g_)},[m,T,C,hr]);le.useEffect(()=>{if(m.promise&&yt==="loading"||m.duration===1/0||m.type==="loading")return;let _e;return k||v||mt?(()=>{if(he.current<Ao.current){const Gt=new Date().getTime()-Ao.current;at.current=at.current-Gt}he.current=new Date().getTime()})():(()=>{at.current!==1/0&&(Ao.current=new Date().getTime(),_e=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),rr()},at.current))})(),()=>clearTimeout(_e)},[k,v,m,yt,mt,rr]),le.useEffect(()=>{m.delete&&(rr(),m.onDismiss==null||m.onDismiss.call(m,m))},[rr,m.delete]);function To(){var _e;if(z!=null&&z.loading){var vt;return le.createElement("div",{className:On(U==null?void 0:U.loader,m==null||(vt=m.classNames)==null?void 0:vt.loader,"sonner-loader"),"data-visible":yt==="loading"},z.loading)}return le.createElement(Q2,{className:On(U==null?void 0:U.loader,m==null||(_e=m.classNames)==null?void 0:_e.loader),visible:yt==="loading"})}const Br=m.icon||(z==null?void 0:z[yt])||Y2(yt);var Xn,Aa;return le.createElement("li",{tabIndex:0,ref:rt,className:On(H,Yn,U==null?void 0:U.toast,m==null||(t=m.classNames)==null?void 0:t.toast,U==null?void 0:U.default,U==null?void 0:U[yt],m==null||(r=m.classNames)==null?void 0:r[yt]),"data-sonner-toast":"","data-rich-colors":(Xn=m.richColors)!=null?Xn:N,"data-styled":!(m.jsx||m.unstyled||w),"data-mounted":ee,"data-promise":!!m.promise,"data-swiped":ge,"data-removed":oe,"data-visible":Dr,"data-y-position":ut,"data-x-position":zt,"data-index":E,"data-front":At,"data-swiping":me,"data-dismissible":fr,"data-type":yt,"data-invert":yr,"data-swipe-out":pe,"data-swipe-direction":D,"data-expanded":!!(k||W&&ee),"data-testid":m.testId,style:{"--index":E,"--toasts-before":E,"--z-index":P.length-E,"--offset":`${oe?ze:hr.current}px`,"--initial-height":W?"auto":`${Pt}px`,...M,...m.style},onDragEnd:()=>{ue(!1),L(null),Oe.current=null},onPointerDown:_e=>{_e.button!==2&&(Tt||!fr||(dr.current=new Date,We(hr.current),_e.target.setPointerCapture(_e.pointerId),_e.target.tagName!=="BUTTON"&&(ue(!0),Oe.current={x:_e.clientX,y:_e.clientY})))},onPointerUp:()=>{var _e,vt,Nt;if(pe||!fr)return;Oe.current=null;const Gt=Number(((_e=rt.current)==null?void 0:_e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),No=Number(((vt=rt.current)==null?void 0:vt.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),xt=new Date().getTime()-((Nt=dr.current)==null?void 0:Nt.getTime()),jt=I==="x"?Gt:No,Do=Math.abs(jt)/xt;if(Math.abs(jt)>=h_||Do>.11){We(hr.current),m.onDismiss==null||m.onDismiss.call(m,m),V(I==="x"?Gt>0?"right":"left":No>0?"down":"up"),rr(),ve(!0);return}else{var Bt,Or;(Bt=rt.current)==null||Bt.style.setProperty("--swipe-amount-x","0px"),(Or=rt.current)==null||Or.style.setProperty("--swipe-amount-y","0px")}Me(!1),ue(!1),L(null)},onPointerMove:_e=>{var vt,Nt,Gt;if(!Oe.current||!fr||((vt=window.getSelection())==null?void 0:vt.toString().length)>0)return;const xt=_e.clientY-Oe.current.y,jt=_e.clientX-Oe.current.x;var Do;const Bt=(Do=e.swipeDirections)!=null?Do:y_(te);!I&&(Math.abs(jt)>1||Math.abs(xt)>1)&&L(Math.abs(jt)>Math.abs(xt)?"x":"y");let Or={x:0,y:0};const Oo=qr=>1/(1.5+Math.abs(qr)/20);if(I==="y"){if(Bt.includes("top")||Bt.includes("bottom"))if(Bt.includes("top")&&xt<0||Bt.includes("bottom")&&xt>0)Or.y=xt;else{const qr=xt*Oo(xt);Or.y=Math.abs(qr)<Math.abs(xt)?qr:xt}}else if(I==="x"&&(Bt.includes("left")||Bt.includes("right")))if(Bt.includes("left")&&jt<0||Bt.includes("right")&&jt>0)Or.x=jt;else{const qr=jt*Oo(jt);Or.x=Math.abs(qr)<Math.abs(jt)?qr:jt}(Math.abs(Or.x)>0||Math.abs(Or.y)>0)&&Me(!0),(Nt=rt.current)==null||Nt.style.setProperty("--swipe-amount-x",`${Or.x}px`),(Gt=rt.current)==null||Gt.style.setProperty("--swipe-amount-y",`${Or.y}px`)}},mr&&!m.jsx&&yt!=="loading"?le.createElement("button",{"aria-label":_,"data-disabled":Tt,"data-close-button":!0,onClick:Tt||!fr?()=>{}:()=>{rr(),m.onDismiss==null||m.onDismiss.call(m,m)},className:On(U==null?void 0:U.closeButton,m==null||(n=m.classNames)==null?void 0:n.closeButton)},(Aa=z==null?void 0:z.close)!=null?Aa:r_):null,(yt||m.icon||m.promise)&&m.icon!==null&&((z==null?void 0:z[yt])!==null||m.icon)?le.createElement("div",{"data-icon":"",className:On(U==null?void 0:U.icon,m==null||(i=m.classNames)==null?void 0:i.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||To():null,m.type!=="loading"?Br:null):null,le.createElement("div",{"data-content":"",className:On(U==null?void 0:U.content,m==null||(a=m.classNames)==null?void 0:a.content)},le.createElement("div",{"data-title":"",className:On(U==null?void 0:U.title,m==null||(l=m.classNames)==null?void 0:l.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?le.createElement("div",{"data-description":"",className:On(Y,Ze,U==null?void 0:U.description,m==null||(c=m.classNames)==null?void 0:c.description)},typeof m.description=="function"?m.description():m.description):null),le.isValidElement(m.cancel)?m.cancel:m.cancel&&hu(m.cancel)?le.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||O,onClick:_e=>{hu(m.cancel)&&fr&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,_e),rr())},className:On(U==null?void 0:U.cancelButton,m==null||(d=m.classNames)==null?void 0:d.cancelButton)},m.cancel.label):null,le.isValidElement(m.action)?m.action:m.action&&hu(m.action)?le.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||B,onClick:_e=>{hu(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,_e),!_e.defaultPrevented&&rr())},className:On(U==null?void 0:U.actionButton,m==null||(f=m.classNames)==null?void 0:f.actionButton)},m.action.label):null)};function uw(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function b_(e,t){const r={};return[e,t].forEach((n,i)=>{const a=i===1,l=a?"--mobile-offset":"--offset",c=a?f_:d_;function d(f){["top","right","bottom","left"].forEach(h=>{r[`${l}-${h}`]=typeof f=="number"?`${f}px`:f})}typeof n=="number"||typeof n=="string"?d(n):typeof n=="object"?["top","right","bottom","left"].forEach(f=>{n[f]===void 0?r[`${l}-${f}`]=c:r[`${l}-${f}`]=typeof n[f]=="number"?`${n[f]}px`:n[f]}):d(c)}),r}const w_=le.forwardRef(function(t,r){const{id:n,invert:i,position:a="bottom-right",hotkey:l=["altKey","KeyT"],expand:c,closeButton:d,className:f,offset:h,mobileOffset:m,theme:w="light",richColors:v,duration:C,style:x,visibleToasts:R=u_,toastOptions:E,dir:P=uw(),gap:k=m_,icons:T,containerAriaLabel:N="Notifications"}=t,[j,M]=le.useState([]),O=le.useMemo(()=>n?j.filter(ee=>ee.toasterId===n):j.filter(ee=>!ee.toasterId),[j,n]),B=le.useMemo(()=>Array.from(new Set([a].concat(O.filter(ee=>ee.position)?.map(ee=>ee.position)))),[O,a]),[H,Y]=le.useState([]),[ne,te]=le.useState(!1),[K,W]=le.useState(!1),[U,z]=le.useState(w!=="system"?w:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),_=le.useRef(null),I=l.join("+").replace(/Key/g,"").replace(/Digit/g,""),L=le.useRef(null),D=le.useRef(!1),V=le.useCallback(ee=>{M(re=>{var oe;return(oe=re.find(ie=>ie.id===ee.id))!=null&&oe.delete||Pr.dismiss(ee.id),re.filter(({id:ie})=>ie!==ee.id)})},[]);return le.useEffect(()=>Pr.subscribe(ee=>{if(ee.dismiss){requestAnimationFrame(()=>{M(re=>re?.map(oe=>oe.id===ee.id?{...oe,delete:!0}:oe))});return}setTimeout(()=>{Ws.flushSync(()=>{M(re=>{const oe=re.findIndex(ie=>ie.id===ee.id);return oe!==-1?[...re.slice(0,oe),{...re[oe],...ee},...re.slice(oe+1)]:[ee,...re]})})})}),[j]),le.useEffect(()=>{if(w!=="system"){z(w);return}if(w==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;const ee=window.matchMedia("(prefers-color-scheme: dark)");try{ee.addEventListener("change",({matches:re})=>{z(re?"dark":"light")})}catch{ee.addListener(({matches:oe})=>{try{z(oe?"dark":"light")}catch{}})}},[w]),le.useEffect(()=>{j.length<=1&&te(!1)},[j]),le.useEffect(()=>{const ee=re=>{var oe;if(l.every(ue=>re[ue]||re.code===ue)){var me;te(!0),(me=_.current)==null||me.focus()}re.code==="Escape"&&(document.activeElement===_.current||(oe=_.current)!=null&&oe.contains(document.activeElement))&&te(!1)};return document.addEventListener("keydown",ee),()=>document.removeEventListener("keydown",ee)},[l]),le.useEffect(()=>{if(_.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,D.current=!1)}},[_.current]),le.createElement("section",{ref:r,"aria-label":`${N} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},B?.map((ee,re)=>{var oe;const[ie,me]=ee.split("-");return O.length?le.createElement("ol",{key:ee,dir:P==="auto"?uw():P,tabIndex:-1,ref:_,className:f,"data-sonner-toaster":!0,"data-sonner-theme":U,"data-y-position":ie,"data-x-position":me,style:{"--front-toast-height":`${((oe=H[0])==null?void 0:oe.height)||0}px`,"--width":`${p_}px`,"--gap":`${k}px`,...x,...b_(h,m)},onBlur:ue=>{D.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(D.current=!1,L.current&&(L.current.focus({preventScroll:!0}),L.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||D.current||(D.current=!0,L.current=ue.relatedTarget)},onMouseEnter:()=>te(!0),onMouseMove:()=>te(!0),onMouseLeave:()=>{K||te(!1)},onDragEnd:()=>te(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||W(!0)},onPointerUp:()=>W(!1)},O.filter(ue=>!ue.position&&re===0||ue.position===ee)?.map((ue,pe)=>{var ve,ge;return le.createElement(v_,{key:ue.id,icons:T,index:pe,toast:ue,defaultRichColors:v,duration:(ve=E==null?void 0:E.duration)!=null?ve:C,className:E==null?void 0:E.className,descriptionClassName:E==null?void 0:E.descriptionClassName,invert:i,visibleToasts:R,closeButton:(ge=E==null?void 0:E.closeButton)!=null?ge:d,interacting:K,position:ee,style:E==null?void 0:E.style,unstyled:E==null?void 0:E.unstyled,classNames:E==null?void 0:E.classNames,cancelButtonStyle:E==null?void 0:E.cancelButtonStyle,actionButtonStyle:E==null?void 0:E.actionButtonStyle,closeButtonAriaLabel:E==null?void 0:E.closeButtonAriaLabel,removeToast:V,toasts:O.filter(Me=>Me.position==ue.position),heights:H.filter(Me=>Me.position==ue.position),setHeights:Y,expandByDefault:c,gap:k,expanded:ne,swipeDirections:t.swipeDirections})})):null}))});var lm={};const De=e=>typeof e=="string",fl=()=>{let e,t;const r=new Promise((n,i)=>{e=n,t=i});return r.resolve=e,r.reject=t,r},dw=e=>e==null?"":""+e,S_=(e,t,r)=>{e.forEach(n=>{t[n]&&(r[n]=t[n])})},x_=/###/g,fw=e=>e&&e.indexOf("###")>-1?e.replace(x_,"."):e,pw=e=>!e||De(e),xl=(e,t,r)=>{const n=De(t)?t.split("."):t;let i=0;for(;i<n.length-1;){if(pw(e))return{};const a=fw(n[i]);!e[a]&&r&&(e[a]=new r),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={},++i}return pw(e)?{}:{obj:e,k:fw(n[i])}},mw=(e,t,r)=>{const{obj:n,k:i}=xl(e,t,Object);if(n!==void 0||t.length===1){n[i]=r;return}let a=t[t.length-1],l=t.slice(0,t.length-1),c=xl(e,l,Object);for(;c.obj===void 0&&l.length;)a=`${l[l.length-1]}.${a}`,l=l.slice(0,l.length-1),c=xl(e,l,Object),c!=null&&c.obj&&typeof c.obj[`${c.k}.${a}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${a}`]=r},C_=(e,t,r,n)=>{const{obj:i,k:a}=xl(e,t,Object);i[a]=i[a]||[],i[a].push(r)},rd=(e,t)=>{const{obj:r,k:n}=xl(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},R_=(e,t,r)=>{const n=rd(e,r);return n!==void 0?n:rd(t,r)},EC=(e,t,r)=>{for(const n in t)n!=="__proto__"&&n!=="constructor"&&(n in e?De(e[n])||e[n]instanceof String||De(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):EC(e[n],t[n],r):e[n]=t[n]);return e},Di=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var E_={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const k_=e=>De(e)?e.replace(/[&<>"'\/]/g,t=>E_[t]):e;class P_{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const A_=[" ",",","?","!",";"],T_=new P_(20),N_=(e,t,r)=>{t=t||"",r=r||"";const n=A_.filter(l=>t.indexOf(l)<0&&r.indexOf(l)<0);if(n.length===0)return!0;const i=T_.getRegExp(`(${n?.map(l=>l==="?"?"\\?":l).join("|")})`);let a=!i.test(e);if(!a){const l=e.indexOf(r);l>0&&!i.test(e.substring(0,l))&&(a=!0)}return a},lh=(e,t,r=".")=>{if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const n=t.split(r);let i=e;for(let a=0;a<n.length;){if(!i||typeof i!="object")return;let l,c="";for(let d=a;d<n.length;++d)if(d!==a&&(c+=r),c+=n[d],l=i[c],l!==void 0){if(["string","number","boolean"].indexOf(typeof l)>-1&&d<n.length-1)continue;a+=d-a+1;break}i=l}return i},kl=e=>e==null?void 0:e.replace(/_/g,"-"),D_={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){var r,n;(n=(r=console==null?void 0:console[e])==null?void 0:r.apply)==null||n.call(r,console,t)}};class nd{constructor(t,r={}){this.init(t,r)}init(t,r={}){this.prefix=r.prefix||"i18next:",this.logger=t||D_,this.options=r,this.debug=r.debug}log(...t){return this.forward(t,"log","",!0)}warn(...t){return this.forward(t,"warn","",!0)}error(...t){return this.forward(t,"error","")}deprecate(...t){return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(t,r,n,i){return i&&!this.debug?null:(De(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[r](t))}create(t){return new nd(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new nd(this.logger,t)}}var $n=new nd;class Nd{constructor(){this.observers={}}on(t,r){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const i=this.observers[n].get(r)||0;this.observers[n].set(r,i+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t,...r){this.observers[t]&&Array.from(this.observers[t].entries()).forEach(([i,a])=>{for(let l=0;l<a;l++)i(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([i,a])=>{for(let l=0;l<a;l++)i.apply(i,[t,...r])})}}class hw extends Nd{constructor(t,r={ns:["translation"],defaultNS:"translation"}){super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n,i={}){var f,h;const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,l=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,r],n&&(Array.isArray(n)?c.push(...n):De(n)&&a?c.push(...n.split(a)):c.push(n)));const d=rd(this.data,c);return!d&&!r&&!n&&t.indexOf(".")>-1&&(t=c[0],r=c[1],n=c.slice(2).join(".")),d||!l||!De(n)?d:lh((h=(f=this.data)==null?void 0:f[t])==null?void 0:h[r],n,a)}addResource(t,r,n,i,a={silent:!1}){const l=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let c=[t,r];n&&(c=c.concat(l?n.split(l):n)),t.indexOf(".")>-1&&(c=t.split("."),i=r,r=c[1]),this.addNamespaces(r),mw(this.data,c,i),a.silent||this.emit("added",t,r,n,i)}addResources(t,r,n,i={silent:!1}){for(const a in n)(De(n[a])||Array.isArray(n[a]))&&this.addResource(t,r,a,n[a],{silent:!0});i.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,i,a,l={silent:!1,skipCopy:!1}){let c=[t,r];t.indexOf(".")>-1&&(c=t.split("."),i=n,n=r,r=c[1]),this.addNamespaces(r);let d=rd(this.data,c)||{};l.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?EC(d,n,a):d={...d,...n},mw(this.data,c,d),l.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(i=>r[i]&&Object.keys(r[i]).length>0)}toJSON(){return this.data}}var kC={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(a=>{var l;t=((l=this.processors[a])==null?void 0:l.process(t,r,n,i))??t}),t}};const PC=Symbol("i18next/PATH_KEY");function O_(){const e=[],t=Object.create(null);let r;return t.get=(n,i)=>{var a;return(a=r==null?void 0:r.revoke)==null||a.call(r),i===PC?e:(e.push(i),r=Proxy.revocable(n,t),r.proxy)},Proxy.revocable(Object.create(null),t).proxy}function Gs(e,t){const{[PC]:r}=e(O_()),n=(t==null?void 0:t.keySeparator)??".",i=(t==null?void 0:t.nsSeparator)??":";if(r.length>1&&i){const a=t==null?void 0:t.ns,l=Array.isArray(a)?a:null;if(l&&l.length>1&&l.slice(1).includes(r[0]))return`${r[0]}${i}${r.slice(1).join(n)}`}return r.join(n)}const gw={},cm=e=>!De(e)&&typeof e!="boolean"&&typeof e!="number";class od extends Nd{constructor(t,r={}){super(),S_(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=$n.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t,r={interpolation:{}}){const n={...r};if(t==null)return!1;const i=this.resolve(t,n);if((i==null?void 0:i.res)===void 0)return!1;const a=cm(i.res);return!(n.returnObjects===!1&&a)}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let a=r.ns||this.options.defaultNS||[];const l=n&&t.indexOf(n)>-1,c=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!N_(t,n,i);if(l&&!c){const d=t.match(this.interpolator.nestingRegexp);if(d&&d.length>0)return{key:t,namespaces:De(a)?[a]:a};const f=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(f[0])>-1)&&(a=f.shift()),t=f.join(i)}return{key:t,namespaces:De(a)?[a]:a}}translate(t,r,n){let i=typeof r=="object"?{...r}:r;if(typeof i!="object"&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),typeof i=="object"&&(i={...i}),i||(i={}),t==null)return"";typeof t=="function"&&(t=Gs(t,{...this.options,...i})),Array.isArray(t)||(t=[String(t)]),t=t?.map(te=>typeof te=="function"?Gs(te,{...this.options,...i}):String(te));const a=i.returnDetails!==void 0?i.returnDetails:this.options.returnDetails,l=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,{key:c,namespaces:d}=this.extractFromKey(t[t.length-1],i),f=d[d.length-1];let h=i.nsSeparator!==void 0?i.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const m=i.lng||this.language,w=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((m==null?void 0:m.toLowerCase())==="cimode")return w?a?{res:`${f}${h}${c}`,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:f,usedParams:this.getUsedParamsDetails(i)}:`${f}${h}${c}`:a?{res:c,usedKey:c,exactUsedKey:c,usedLng:m,usedNS:f,usedParams:this.getUsedParamsDetails(i)}:c;const v=this.resolve(t,i);let C=v==null?void 0:v.res;const x=(v==null?void 0:v.usedKey)||c,R=(v==null?void 0:v.exactUsedKey)||c,E=["[object Number]","[object Function]","[object RegExp]"],P=i.joinArrays!==void 0?i.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,T=i.count!==void 0&&!De(i.count),N=od.hasDefaultValue(i),j=T?this.pluralResolver.getSuffix(m,i.count,i):"",M=i.ordinal&&T?this.pluralResolver.getSuffix(m,i.count,{ordinal:!1}):"",O=T&&!i.ordinal&&i.count===0,B=O&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${j}`]||i[`defaultValue${M}`]||i.defaultValue;let H=C;k&&!C&&N&&(H=B);const Y=cm(H),ne=Object.prototype.toString.apply(H);if(k&&H&&Y&&E.indexOf(ne)<0&&!(De(P)&&Array.isArray(H))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const te=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,H,{...i,ns:d}):`key '${c} (${this.language})' returned an object instead of string.`;return a?(v.res=te,v.usedParams=this.getUsedParamsDetails(i),v):te}if(l){const te=Array.isArray(H),K=te?[]:{},W=te?R:x;for(const U in H)if(Object.prototype.hasOwnProperty.call(H,U)){const z=`${W}${l}${U}`;N&&!C?K[U]=this.translate(z,{...i,defaultValue:cm(B)?B[U]:void 0,joinArrays:!1,ns:d}):K[U]=this.translate(z,{...i,joinArrays:!1,ns:d}),K[U]===z&&(K[U]=H[U])}C=K}}else if(k&&De(P)&&Array.isArray(C))C=C.join(P),C&&(C=this.extendTranslation(C,t,i,n));else{let te=!1,K=!1;!this.isValidLookup(C)&&N&&(te=!0,C=B),this.isValidLookup(C)||(K=!0,C=c);const U=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&K?void 0:C,z=N&&B!==C&&this.options.updateMissing;if(K||te||z){if(this.logger.log(z?"updateKey":"missingKey",m,f,c,z?B:C),l){const D=this.resolve(c,{...i,keySeparator:!1});D&&D.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let _=[];const I=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if(this.options.saveMissingTo==="fallback"&&I&&I[0])for(let D=0;D<I.length;D++)_.push(I[D]);else this.options.saveMissingTo==="all"?_=this.languageUtils.toResolveHierarchy(i.lng||this.language):_.push(i.lng||this.language);const L=(D,V,ee)=>{var oe;const re=N&&ee!==C?ee:U;this.options.missingKeyHandler?this.options.missingKeyHandler(D,f,V,re,z,i):(oe=this.backendConnector)!=null&&oe.saveMissing&&this.backendConnector.saveMissing(D,f,V,re,z,i),this.emit("missingKey",D,f,V,C)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?_.forEach(D=>{const V=this.pluralResolver.getSuffixes(D,i);O&&i[`defaultValue${this.options.pluralSeparator}zero`]&&V.indexOf(`${this.options.pluralSeparator}zero`)<0&&V.push(`${this.options.pluralSeparator}zero`),V.forEach(ee=>{L([D],c+ee,i[`defaultValue${ee}`]||B)})}):L(_,c,B))}C=this.extendTranslation(C,t,i,v,n),K&&C===c&&this.options.appendNamespaceToMissingKey&&(C=`${f}${h}${c}`),(K||te)&&this.options.parseMissingKeyHandler&&(C=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}${h}${c}`:c,te?C:void 0,i))}return a?(v.res=C,v.usedParams=this.getUsedParamsDetails(i),v):C}extendTranslation(t,r,n,i,a){var d,f;if((d=this.i18nFormat)!=null&&d.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=De(t)&&(((f=n==null?void 0:n.interpolation)==null?void 0:f.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let m;if(h){const v=t.match(this.interpolator.nestingRegexp);m=v&&v.length}let w=n.replace&&!De(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(w={...this.options.interpolation.defaultVariables,...w}),t=this.interpolator.interpolate(t,w,n.lng||this.language||i.usedLng,n),h){const v=t.match(this.interpolator.nestingRegexp),C=v&&v.length;m<C&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,(...v)=>(a==null?void 0:a[0])===v[0]&&!n.context?(this.logger.warn(`It seems you are nesting recursively key: ${v[0]} in key: ${r[0]}`),null):this.translate(...v,r),n)),n.interpolation&&this.interpolator.reset()}const l=n.postProcess||this.options.postProcess,c=De(l)?[l]:l;return t!=null&&(c!=null&&c.length)&&n.applyPostProcessor!==!1&&(t=kC.handle(c,t,r,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),t}resolve(t,r={}){let n,i,a,l,c;return De(t)&&(t=[t]),Array.isArray(t)&&(t=t?.map(d=>typeof d=="function"?Gs(d,{...this.options,...r}):d)),t.forEach(d=>{if(this.isValidLookup(n))return;const f=this.extractFromKey(d,r),h=f.key;i=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const w=r.count!==void 0&&!De(r.count),v=w&&!r.ordinal&&r.count===0,C=r.context!==void 0&&(De(r.context)||typeof r.context=="number")&&r.context!=="",x=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);m.forEach(R=>{var E,P;this.isValidLookup(n)||(c=R,!gw[`${x[0]}-${R}`]&&((E=this.utils)!=null&&E.hasLoadedNamespace)&&!((P=this.utils)!=null&&P.hasLoadedNamespace(c))&&(gw[`${x[0]}-${R}`]=!0,this.logger.warn(`key "${i}" for languages "${x.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),x.forEach(k=>{var j;if(this.isValidLookup(n))return;l=k;const T=[h];if((j=this.i18nFormat)!=null&&j.addLookupKeys)this.i18nFormat.addLookupKeys(T,h,k,R,r);else{let M;w&&(M=this.pluralResolver.getSuffix(k,r.count,r));const O=`${this.options.pluralSeparator}zero`,B=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(w&&(r.ordinal&&M.indexOf(B)===0&&T.push(h+M.replace(B,this.options.pluralSeparator)),T.push(h+M),v&&T.push(h+O)),C){const H=`${h}${this.options.contextSeparator||"_"}${r.context}`;T.push(H),w&&(r.ordinal&&M.indexOf(B)===0&&T.push(H+M.replace(B,this.options.pluralSeparator)),T.push(H+M),v&&T.push(H+O))}}let N;for(;N=T.pop();)this.isValidLookup(n)||(a=N,n=this.getResource(k,R,N,r))}))})}),{res:n,usedKey:i,exactUsedKey:a,usedLng:l,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n,i={}){var a;return(a=this.i18nFormat)!=null&&a.getResource?this.i18nFormat.getResource(t,r,n,i):this.resourceStore.getResource(t,r,n,i)}getUsedParamsDetails(t={}){const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!De(t.replace);let i=n?t.replace:t;if(n&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!n){i={...i};for(const a of r)delete i[a]}return i}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}class yw{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=$n.create("languageUtils")}getScriptPartFromCode(t){if(t=kl(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=kl(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(De(t)&&t.indexOf("-")>-1){let r;try{r=Intl.getCanonicalLocales(t)[0]}catch{}return r&&this.options.lowerCaseLng&&(r=r.toLowerCase()),r||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(r=i)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const i=this.getScriptPartFromCode(n);if(this.isSupportedCode(i))return r=i;const a=this.getLanguagePartFromCode(n);if(this.isSupportedCode(a))return r=a;r=this.options.supportedLngs.find(l=>{if(l===a)return l;if(!(l.indexOf("-")<0&&a.indexOf("-")<0)&&(l.indexOf("-")>0&&a.indexOf("-")<0&&l.substring(0,l.indexOf("-"))===a||l.indexOf(a)===0&&a.length>1))return l})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),De(t)&&(t=[t]),Array.isArray(t))return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes((r===!1?[]:r)||this.options.fallbackLng||[],t),i=[],a=l=>{l&&(this.isSupportedCode(l)?i.push(l):this.logger.warn(`rejecting language code not found in supportedLngs: ${l}`))};return De(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(t))):De(t)&&a(this.formatLanguageCode(t)),n.forEach(l=>{i.indexOf(l)<0&&a(this.formatLanguageCode(l))}),i}}const vw={zero:0,one:1,two:2,few:3,many:4,other:5},bw={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class __{constructor(t,r={}){this.languageUtils=t,this.options=r,this.logger=$n.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(t,r={}){const n=kl(t==="dev"?"en":t),i=r.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let l;try{l=new Intl.PluralRules(n,{type:i})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),bw;if(!t.match(/-|_/))return bw;const d=this.languageUtils.getLanguagePartFromCode(t);l=this.getRule(d,r)}return this.pluralRulesCache[a]=l,l}needsPlural(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,r,n={}){return this.getSuffixes(t,n)?.map(i=>`${r}${i}`)}getSuffixes(t,r={}){let n=this.getRule(t,r);return n||(n=this.getRule("dev",r)),n?n.resolvedOptions().pluralCategories.sort((i,a)=>vw[i]-vw[a])?.map(i=>`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,r,n={}){const i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(r)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",r,n))}}const ww=(e,t,r,n=".",i=!0)=>{let a=R_(e,t,r);return!a&&i&&De(r)&&(a=lh(e,r,n),a===void 0&&(a=lh(t,r,n))),a},um=e=>e.replace(/\$/g,"$$$$");class Sw{constructor(t={}){var r;this.logger=$n.create("interpolator"),this.options=t,this.format=((r=t==null?void 0:t.interpolation)==null?void 0:r.format)||(n=>n),this.init(t)}init(t={}){t.interpolation||(t.interpolation={escapeValue:!0});const{escape:r,escapeValue:n,useRawValueToEscape:i,prefix:a,prefixEscaped:l,suffix:c,suffixEscaped:d,formatSeparator:f,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:w,nestingPrefixEscaped:v,nestingSuffix:C,nestingSuffixEscaped:x,nestingOptionsSeparator:R,maxReplaces:E,alwaysFormat:P}=t.interpolation;this.escape=r!==void 0?r:k_,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=a?Di(a):l||"{{",this.suffix=c?Di(c):d||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=w?Di(w):v||Di("$t("),this.nestingSuffix=C?Di(C):x||Di(")"),this.nestingOptionsSeparator=R||",",this.maxReplaces=E||1e3,this.alwaysFormat=P!==void 0?P:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>(r==null?void 0:r.source)===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(t,r,n,i){var v;let a,l,c;const d=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=C=>{if(C.indexOf(this.formatSeparator)<0){const P=ww(r,d,C,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(P,void 0,n,{...i,...r,interpolationkey:C}):P}const x=C.split(this.formatSeparator),R=x.shift().trim(),E=x.join(this.formatSeparator).trim();return this.format(ww(r,d,R,this.options.keySeparator,this.options.ignoreJSONStructure),E,n,{...i,...r,interpolationkey:R})};this.resetRegExp();const h=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,m=((v=i==null?void 0:i.interpolation)==null?void 0:v.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:C=>um(C)},{regex:this.regexp,safeValue:C=>this.escapeValue?um(this.escape(C)):um(C)}].forEach(C=>{for(c=0;a=C.regex.exec(t);){const x=a[1].trim();if(l=f(x),l===void 0)if(typeof h=="function"){const E=h(t,a,i);l=De(E)?E:""}else if(i&&Object.prototype.hasOwnProperty.call(i,x))l="";else if(m){l=a[0];continue}else this.logger.warn(`missed to pass in variable ${x} for interpolating ${t}`),l="";else!De(l)&&!this.useRawValueToEscape&&(l=dw(l));const R=C.safeValue(l);if(t=t.replace(a[0],R),m?(C.regex.lastIndex+=l.length,C.regex.lastIndex-=a[0].length):C.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,r,n={}){let i,a,l;const c=(d,f)=>{const h=this.nestingOptionsSeparator;if(d.indexOf(h)<0)return d;const m=d.split(new RegExp(`${Di(h)}[ ]*{`));let w=`{${m[1]}`;d=m[0],w=this.interpolate(w,l);const v=w.match(/'/g),C=w.match(/"/g);(((v==null?void 0:v.length)??0)%2===0&&!C||((C==null?void 0:C.length)??0)%2!==0)&&(w=w.replace(/'/g,'"'));try{l=JSON.parse(w),f&&(l={...f,...l})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${d}`,x),`${d}${h}${w}`}return l.defaultValue&&l.defaultValue.indexOf(this.prefix)>-1&&delete l.defaultValue,d};for(;i=this.nestingRegexp.exec(t);){let d=[];l={...n},l=l.replace&&!De(l.replace)?l.replace:l,l.applyPostProcessor=!1,delete l.defaultValue;const f=/{.*}/.test(i[1])?i[1].lastIndexOf("}")+1:i[1].indexOf(this.formatSeparator);if(f!==-1&&(d=i[1].slice(f).split(this.formatSeparator)?.map(h=>h.trim()).filter(Boolean),i[1]=i[1].slice(0,f)),a=r(c.call(this,i[1].trim(),l),l),a&&i[0]===t&&!De(a))return a;De(a)||(a=dw(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),a=""),d.length&&(a=d.reduce((h,m)=>this.format(h,m,n.lng,{...n,interpolationkey:i[1].trim()}),a.trim())),t=t.replace(i[0],a),this.regexp.lastIndex=0}return t}}const M_=e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?r.currency||(r.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?r.range||(r.range=i.trim()):i.split(";").forEach(l=>{if(l){const[c,...d]=l.split(":"),f=d.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();r[h]||(r[h]=f),f==="false"&&(r[h]=!1),f==="true"&&(r[h]=!0),isNaN(f)||(r[h]=parseInt(f,10))}})}return{formatName:t,formatOptions:r}},xw=e=>{const t={};return(r,n,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});const l=n+JSON.stringify(a);let c=t[l];return c||(c=e(kl(n),i),t[l]=c),c(r)}},j_=e=>(t,r,n)=>e(kl(r),n)(t);class L_{constructor(t={}){this.logger=$n.create("formatter"),this.options=t,this.init(t)}init(t,r={interpolation:{}}){this.formatSeparator=r.interpolation.formatSeparator||",";const n=r.cacheInBuiltFormats?xw:j_;this.formats={number:n((i,a)=>{const l=new Intl.NumberFormat(i,{...a});return c=>l.format(c)}),currency:n((i,a)=>{const l=new Intl.NumberFormat(i,{...a,style:"currency"});return c=>l.format(c)}),datetime:n((i,a)=>{const l=new Intl.DateTimeFormat(i,{...a});return c=>l.format(c)}),relativetime:n((i,a)=>{const l=new Intl.RelativeTimeFormat(i,{...a});return c=>l.format(c,a.range||"day")}),list:n((i,a)=>{const l=new Intl.ListFormat(i,{...a});return c=>l.format(c)})}}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=xw(r)}format(t,r,n,i={}){const a=r.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(c=>c.indexOf(")")>-1)){const c=a.findIndex(d=>d.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,c)].join(this.formatSeparator)}return a.reduce((c,d)=>{var m;const{formatName:f,formatOptions:h}=M_(d);if(this.formats[f]){let w=c;try{const v=((m=i==null?void 0:i.formatParams)==null?void 0:m[i.interpolationkey])||{},C=v.locale||v.lng||i.locale||i.lng||n;w=this.formats[f](c,C,{...h,...i,...v})}catch(v){this.logger.warn(v)}return w}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const F_=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class I_ extends Nd{constructor(t,r,n,i={}){var a,l;super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=$n.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(l=(a=this.backend)==null?void 0:a.init)==null||l.call(a,n,i.backend,i)}queueLoad(t,r,n,i){const a={},l={},c={},d={};return t.forEach(f=>{let h=!0;r.forEach(m=>{const w=`${f}|${m}`;!n.reload&&this.store.hasResourceBundle(f,m)?this.state[w]=2:this.state[w]<0||(this.state[w]===1?l[w]===void 0&&(l[w]=!0):(this.state[w]=1,h=!1,l[w]===void 0&&(l[w]=!0),a[w]===void 0&&(a[w]=!0),d[m]===void 0&&(d[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(a).length||Object.keys(l).length)&&this.queue.push({pending:l,pendingCount:Object.keys(l).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(a),pending:Object.keys(l),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(d)}}loaded(t,r,n){const i=t.split("|"),a=i[0],l=i[1];r&&this.emit("failedLoading",a,l,r),!r&&n&&this.store.addResourceBundle(a,l,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2,r&&n&&(this.state[t]=0);const c={};this.queue.forEach(d=>{C_(d.loaded,[a],l),F_(d,t),r&&d.errors.push(r),d.pendingCount===0&&!d.done&&(Object.keys(d.loaded).forEach(f=>{c[f]||(c[f]={});const h=d.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),d.done=!0,d.errors.length?d.callback(d.errors):d.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(d=>!d.done)}read(t,r,n,i=0,a=this.retryTimeout,l){if(!t.length)return l(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:i,wait:a,callback:l});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,r,n,i+1,a*2,l)},a);return}l(f,h)},d=this.backend[n].bind(this.backend);if(d.length===2){try{const f=d(t,r);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return d(t,r,c)}prepareLoading(t,r,n={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();De(t)&&(t=this.languageUtils.toResolveHierarchy(t)),De(r)&&(r=[r]);const a=this.queueLoad(t,r,n,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(l=>{this.loadOne(l)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t,r=""){const n=t.split("|"),i=n[0],a=n[1];this.read(i,a,"read",void 0,void 0,(l,c)=>{l&&this.logger.warn(`${r}loading namespace ${a} for language ${i} failed`,l),!l&&c&&this.logger.log(`${r}loaded namespace ${a} for language ${i}`,c),this.loaded(t,l,c)})}saveMissing(t,r,n,i,a,l={},c=()=>{}){var d,f,h,m,w;if((f=(d=this.services)==null?void 0:d.utils)!=null&&f.hasLoadedNamespace&&!((m=(h=this.services)==null?void 0:h.utils)!=null&&m.hasLoadedNamespace(r))){this.logger.warn(`did not save key "${n}" as the namespace "${r}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((w=this.backend)!=null&&w.create){const v={...l,isUpdate:a},C=this.backend.create.bind(this.backend);if(C.length<6)try{let x;C.length===5?x=C(t,r,n,i,v):x=C(t,r,n,i),x&&typeof x.then=="function"?x.then(R=>c(null,R)).catch(c):c(null,x)}catch(x){c(x)}else C(t,r,n,i,c,v)}!t||!t[0]||this.store.addResource(t[0],r,n,i)}}}const dm=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),De(e[1])&&(t.defaultValue=e[1]),De(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const r=e[3]||e[2];Object.keys(r).forEach(n=>{t[n]=r[n]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Cw=e=>{var t,r;return De(e.ns)&&(e.ns=[e.ns]),De(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),De(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),((r=(t=e.supportedLngs)==null?void 0:t.indexOf)==null?void 0:r.call(t,"cimode"))<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e},gu=()=>{},U_=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})},AC="__i18next_supportNoticeShown",$_=()=>!!(typeof globalThis<"u"&&globalThis[AC]||typeof process<"u"&&lm&&lm.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&lm),z_=()=>{typeof globalThis<"u"&&(globalThis[AC]=!0)},B_=e=>{var t,r,n,i,a,l,c,d,f,h,m,w,v;return!!(((n=(r=(t=e==null?void 0:e.modules)==null?void 0:t.backend)==null?void 0:r.name)==null?void 0:n.indexOf("Locize"))>0||((c=(l=(a=(i=e==null?void 0:e.modules)==null?void 0:i.backend)==null?void 0:a.constructor)==null?void 0:l.name)==null?void 0:c.indexOf("Locize"))>0||(f=(d=e==null?void 0:e.options)==null?void 0:d.backend)!=null&&f.backends&&e.options.backend.backends?.some(C=>{var x,R,E;return((x=C==null?void 0:C.name)==null?void 0:x.indexOf("Locize"))>0||((E=(R=C==null?void 0:C.constructor)==null?void 0:R.name)==null?void 0:E.indexOf("Locize"))>0})||(m=(h=e==null?void 0:e.options)==null?void 0:h.backend)!=null&&m.projectId||(v=(w=e==null?void 0:e.options)==null?void 0:w.backend)!=null&&v.backendOptions&&e.options.backend.backendOptions?.some(C=>C==null?void 0:C.projectId))};class Cl extends Nd{constructor(t={},r){if(super(),this.options=Cw(t),this.services={},this.logger=$n,this.modules={external:[]},U_(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(t={},r){this.isInitializing=!0,typeof t=="function"&&(r=t,t={}),t.defaultNS==null&&t.ns&&(De(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=dm();this.options={...n,...this.options,...Cw(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!B_(this)&&!$_()&&z_();const i=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?$n.init(i(this.modules.logger),this.options):$n.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:f=L_;const h=new yw(this.options);this.store=new hw(this.options.resources,this.options);const m=this.services;m.logger=$n,m.resourceStore=this.store,m.languageUtils=h,m.pluralResolver=new __(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),f&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(m.formatter=i(f),m.formatter.init&&m.formatter.init(m,this.options),this.options.interpolation.format=m.formatter.format.bind(m.formatter)),m.interpolator=new Sw(this.options),m.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},m.backendConnector=new I_(i(this.modules.backend),m.resourceStore,m,this.options),m.backendConnector.on("*",(v,...C)=>{this.emit(v,...C)}),this.modules.languageDetector&&(m.languageDetector=i(this.modules.languageDetector),m.languageDetector.init&&m.languageDetector.init(m,this.options.detection,this.options)),this.modules.i18nFormat&&(m.i18nFormat=i(this.modules.i18nFormat),m.i18nFormat.init&&m.i18nFormat.init(this)),this.translator=new od(this.services,this.options),this.translator.on("*",(v,...C)=>{this.emit(v,...C)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,r||(r=gu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(f=>{this[f]=(...h)=>this.store[f](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=(...h)=>(this.store[f](...h),this)});const c=fl(),d=()=>{const f=(h,m)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(m),r(h,m)};if(this.languages&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initAsync?d():setTimeout(d,0),c}loadResources(t,r=gu){var a,l;let n=r;const i=De(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const c=[],d=f=>{if(!f||f==="cimode")return;this.services.languageUtils.toResolveHierarchy(f).forEach(m=>{m!=="cimode"&&c.indexOf(m)<0&&c.push(m)})};i?d(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(h=>d(h)),(l=(a=this.options.preload)==null?void 0:a.forEach)==null||l.call(a,f=>d(f)),this.services.backendConnector.load(c,this.options.ns,f=>{!f&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(f)})}else n(null)}reloadResources(t,r,n){const i=fl();return typeof t=="function"&&(n=t,t=void 0),typeof r=="function"&&(n=r,r=void 0),t||(t=this.languages),r||(r=this.options.ns),n||(n=gu),this.services.backendConnector.reload(t,r,a=>{i.resolve(),n(a)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&kC.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1)){for(let r=0;r<this.languages.length;r++){const n=this.languages[r];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}!this.resolvedLanguage&&this.languages.indexOf(t)<0&&this.store.hasLanguageSomeTranslations(t)&&(this.resolvedLanguage=t,this.languages.unshift(t))}}changeLanguage(t,r){this.isLanguageChangingTo=t;const n=fl();this.emit("languageChanging",t);const i=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},a=(c,d)=>{d?this.isLanguageChangingTo===t&&(i(d),this.translator.changeLanguage(d),this.isLanguageChangingTo=void 0,this.emit("languageChanged",d),this.logger.log("languageChanged",d)):this.isLanguageChangingTo=void 0,n.resolve((...f)=>this.t(...f)),r&&r(c,(...f)=>this.t(...f))},l=c=>{var h,m;!t&&!c&&this.services.languageDetector&&(c=[]);const d=De(c)?c:c&&c[0],f=this.store.hasLanguageSomeTranslations(d)?d:this.services.languageUtils.getBestMatchFromCodes(De(c)?[c]:c);f&&(this.language||i(f),this.translator.language||this.translator.changeLanguage(f),(m=(h=this.services.languageDetector)==null?void 0:h.cacheUserLanguage)==null||m.call(h,f)),this.loadResources(f,w=>{a(w,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),n}getFixedT(t,r,n){const i=(a,l,...c)=>{let d;typeof l!="object"?d=this.options.overloadTranslationOptionHandler([a,l].concat(c)):d={...l},d.lng=d.lng||i.lng,d.lngs=d.lngs||i.lngs,d.ns=d.ns||i.ns,d.keyPrefix!==""&&(d.keyPrefix=d.keyPrefix||n||i.keyPrefix);const f={...this.options,...d};typeof d.keyPrefix=="function"&&(d.keyPrefix=Gs(d.keyPrefix,f));const h=this.options.keySeparator||".";let m;return d.keyPrefix&&Array.isArray(a)?m=a?.map(w=>(typeof w=="function"&&(w=Gs(w,f)),`${d.keyPrefix}${h}${w}`)):(typeof a=="function"&&(a=Gs(a,f)),m=d.keyPrefix?`${d.keyPrefix}${h}${a}`:a),this.t(m,d)};return De(t)?i.lng=t:i.lngs=t,i.ns=r,i.keyPrefix=n,i}t(...t){var r;return(r=this.translator)==null?void 0:r.translate(...t)}exists(...t){var r;return(r=this.translator)==null?void 0:r.exists(...t)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t,r={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const l=(c,d)=>{const f=this.services.backendConnector.state[`${c}|${d}`];return f===-1||f===0||f===2};if(r.precheck){const c=r.precheck(this,l);if(c!==void 0)return c}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||l(n,t)&&(!i||l(a,t)))}loadNamespaces(t,r){const n=fl();return this.options.ns?(De(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=fl();De(t)&&(t=[t]);const i=this.options.preload||[],a=t.filter(l=>i.indexOf(l)<0&&this.services.languageUtils.isSupportedCode(l));return a.length?(this.options.preload=i.concat(a),this.loadResources(l=>{n.resolve(),r&&r(l)}),n):(r&&r(),Promise.resolve())}dir(t){var i,a;if(t||(t=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!t)return"rtl";try{const l=new Intl.Locale(t);if(l&&l.getTextInfo){const c=l.getTextInfo();if(c&&c.direction)return c.direction}}catch{}const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((a=this.services)==null?void 0:a.languageUtils)||new yw(dm());return t.toLowerCase().indexOf("-latn")>1?"ltr":r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(t={},r){const n=new Cl(t,r);return n.createInstance=Cl.createInstance,n}cloneInstance(t={},r=gu){const n=t.forkResourceStore;n&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},a=new Cl(i);if((t.debug!==void 0||t.prefix!==void 0)&&(a.logger=a.logger.clone(t)),["store","services","language"].forEach(c=>{a[c]=this[c]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},n){const c=Object.keys(this.store.data).reduce((d,f)=>(d[f]={...this.store.data[f]},d[f]=Object.keys(d[f]).reduce((h,m)=>(h[m]={...d[f][m]},h),d[f]),d),{});a.store=new hw(c,i),a.services.resourceStore=a.store}if(t.interpolation){const d={...dm().interpolation,...this.options.interpolation,...t.interpolation},f={...i,interpolation:d};a.services.interpolator=new Sw(f)}return a.translator=new od(a.services,i),a.translator.on("*",(c,...d)=>{a.emit(c,...d)}),a.init(i,r),a.translator.options=i,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Wt=Cl.createInstance();Wt.createInstance;Wt.dir;Wt.init;Wt.loadResources;Wt.reloadResources;Wt.use;Wt.changeLanguage;Wt.getFixedT;const n7=Wt.t;Wt.exists;Wt.setDefaultNamespace;Wt.hasLoadedNamespace;Wt.loadNamespaces;Wt.loadLanguages;const{slice:q_,forEach:V_}=[];function H_(e){return V_.call(q_.call(arguments,1),t=>{if(t)for(const r in t)e[r]===void 0&&(e[r]=t[r])}),e}function W_(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i]?.some(r=>r.test(e))}const Rw=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,G_=function(e,t){const n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},i=encodeURIComponent(t);let a=`${e}=${i}`;if(n.maxAge>0){const l=n.maxAge-0;if(Number.isNaN(l))throw new Error("maxAge should be a Number");a+=`; Max-Age=${Math.floor(l)}`}if(n.domain){if(!Rw.test(n.domain))throw new TypeError("option domain is invalid");a+=`; Domain=${n.domain}`}if(n.path){if(!Rw.test(n.path))throw new TypeError("option path is invalid");a+=`; Path=${n.path}`}if(n.expires){if(typeof n.expires.toUTCString!="function")throw new TypeError("option expires is invalid");a+=`; Expires=${n.expires.toUTCString()}`}if(n.httpOnly&&(a+="; HttpOnly"),n.secure&&(a+="; Secure"),n.sameSite)switch(typeof n.sameSite=="string"?n.sameSite.toLowerCase():n.sameSite){case!0:a+="; SameSite=Strict";break;case"lax":a+="; SameSite=Lax";break;case"strict":a+="; SameSite=Strict";break;case"none":a+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return n.partitioned&&(a+="; Partitioned"),a},Ew={create(e,t,r,n){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+r*60*1e3)),n&&(i.domain=n),document.cookie=G_(e,t,i)},read(e){const t=`${e}=`,r=document.cookie.split(";");for(let n=0;n<r.length;n++){let i=r[n];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var K_={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return Ew.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:i,cookieOptions:a}=t;r&&typeof document<"u"&&Ew.create(r,e,n,i,a)}},Y_={name:"querystring",lookup(e){var n;let{lookupQuerystring:t}=e,r;if(typeof window<"u"){let{search:i}=window.location;!window.location.search&&((n=window.location.hash)==null?void 0:n.indexOf("?"))>-1&&(i=window.location.hash.substring(window.location.hash.indexOf("?")));const l=i.substring(1).split("&");for(let c=0;c<l.length;c++){const d=l[c].indexOf("=");d>0&&l[c].substring(0,d)===t&&(r=l[c].substring(d+1))}}return r}},X_={name:"hash",lookup(e){var i;let{lookupHash:t,lookupFromHashIndex:r}=e,n;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const l=a.substring(1);if(t){const c=l.split("&");for(let d=0;d<c.length;d++){const f=c[d].indexOf("=");f>0&&c[d].substring(0,f)===t&&(n=c[d].substring(f+1))}}if(n)return n;if(!n&&r>-1){const c=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(c)?(i=c[typeof r=="number"?r:0])==null?void 0:i.replace("/",""):void 0}}}return n}};let Ms=null;const kw=()=>{if(Ms!==null)return Ms;try{if(Ms=typeof window<"u"&&window.localStorage!==null,!Ms)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Ms=!1}return Ms};var Q_={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&kw())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&kw()&&window.localStorage.setItem(r,e)}};let js=null;const Pw=()=>{if(js!==null)return js;try{if(js=typeof window<"u"&&window.sessionStorage!==null,!js)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{js=!1}return js};var J_={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Pw())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&Pw()&&window.sessionStorage.setItem(r,e)}},Z_={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:r,userLanguage:n,language:i}=navigator;if(r)for(let a=0;a<r.length;a++)t.push(r[a]);n&&t.push(n),i&&t.push(i)}return t.length>0?t:void 0}},eM={name:"htmlTag",lookup(e){let{htmlTag:t}=e,r;const n=t||(typeof document<"u"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},tM={name:"path",lookup(e){var i;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(r)?(i=r[typeof t=="number"?t:0])==null?void 0:i.replace("/",""):void 0}},rM={name:"subdomain",lookup(e){var i,a;let{lookupFromSubdomainIndex:t}=e;const r=typeof t=="number"?t+1:1,n=typeof window<"u"&&((a=(i=window.location)==null?void 0:i.hostname)==null?void 0:a.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(n)return n[r]}};let TC=!1;try{document.cookie,TC=!0}catch{}const NC=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];TC||NC.splice(1,1);const nM=()=>({order:NC,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class DC{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,r)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=H_(r,this.options||{},nM()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=i=>i.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(K_),this.addDetector(Y_),this.addDetector(Q_),this.addDetector(J_),this.addDetector(Z_),this.addDetector(eM),this.addDetector(tM),this.addDetector(rM),this.addDetector(X_)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,r=[];return t.forEach(n=>{if(this.detectors[n]){let i=this.detectors[n].lookup(this.options);i&&typeof i=="string"&&(i=[i]),i&&(r=r.concat(i))}}),r=r.filter(n=>n!=null&&!W_(n))?.map(n=>this.options.convertDetectedLanguage(n)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?r:r.length>0?r[0]:null}cacheUserLanguage(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||r.forEach(n=>{this.detectors[n]&&this.detectors[n].cacheUserLanguage(t,this.options)}))}}DC.type="languageDetector";const oM={addNew:"Add New Prefix",emptyState:"Nothing Found",externalForYourReference:"External For Your Reference",dashboard:"Dashboard",outgoing:"Outgoing",incoming:"Incoming",external:"External",internal:"Internal",tagBasedReferenceNumber:"Tag-based Reference Number",cc:"CC",tagBasedReference:"Tag-based Reference",selectTag:"Select Tag",forYourReference:"For Your Reference",approval:"Approval",pending:"Pending","Record Management":"Record Management",branch:"Branch",internal_memo:"Internal Memo",non_smart_user:"Non Smart User",smartUsers:"Smart Users",external_non_smart_user:"External Non Smart User",admin:"Site Management",modules:"Modules",deputyMessage:"Deputy Message",officeHeadMessage:"Office Head Message",orgGoal:"Organization Goals",news:"News",other:"Other",homePage:"To Home Page",myRecord:"My Records",submitRecord:"Submit Record",direct:"Direct"},iM={self:"Self",team:"Team"},sM={totalOutgoing:"Total Outgoing",totalIncoming:"Total Incoming",ccRecords:"CC Records",totalApproval:"Total Approval",lastUpdated:"Last updated",refresh:"Refresh",refreshing:"Refreshing...",never:"Never",approvalStats:"Approval Stats",externalIncoming:"External Incoming",internalIncoming:"Internal Incoming",incomingStats:"Incoming Stats",outgoingStats:"Outgoing Stats",externalIncomingRecords:"External Incoming Records",internalIncomingRecords:"Internal Incoming Records",advanced:"Advanced Dashboard",status:{inProgress:"In Progress",accepted:"Accepted",reassigned:"Reassigned",draft:"Draft",forward:"Forward",approved:"Approved",rejected:"Rejected",adjusted:"Adjusted",sent:"Sent",approve:"Approve"},Percentage:"Percentage",Count:"Count",Status:"Status",Total:"Total",pieChart:"Pie Chart",barChart:"Bar Chart",table:"Table",monthlyIncoming:"Monthly Incoming Records",monthlyOutgoing:"Monthly Outgoing Records",totalInVsOut:"Total Incoming vs Outgoing",monthlyInVsOut:"Monthly Incoming vs Outgoing",weeklyInVsOut:"Weekly Incoming vs Outgoing",dailyInVsOut:"Daily Incoming vs Outgoing",exportPdf:"Export PDF",exporting:"Exporting...",print:"Print",exportFormat:"Export Format",selectFormat:"Select Format",totalEmployees:"Total Employees",totalUnits:"Total Units",totalPositions:"Total Positions",totalDocuments:"Total Documents",organizationDashboard:"Organization Dashboard",userManagement:"User Management",userManagementDesc:"Manage users and departments",contentManagementDesc:"Manage headers, footers, and seals",excelUploader:"Excel Uploader",excelUploaderDesc:"Bulk import users from Excel",positionSettings:"Position Settings",positionSettingsDesc:"Configure organizational positions",archiveUsers:"Archive Users",archiveUsersDesc:"Manage archived user accounts",overviewDescription:"Overview of your organization's performance and activities",quickActions:"Quick Actions",contentManagement:"Content Management",exportUserData:"Export User Data",recentActivities:"Recent Activities",selectUnit:"Select Unit",loadingUnits:"Loading units...",refreshData:"Refresh Data",noUnitsFound:"No units found",organizationIdRequired:"Organization ID is required",exportError:"Export failed. Please try again.",uploadHeader:"New header image uploaded",updateSeal:"Organization seal updated",removeFooter:"Footer image removed",twoHoursAgo:"2 hours ago",fiveHoursAgo:"5 hours ago",oneDayAgo:"1 day ago",orgMsg:"Overview of your organization's statistics and activities",errorMsg:"Error loading organization data. Please try refreshing the page."},aM={pending:"Verification Pending",message:"Your registration is under verification. If 24 hours have passed and your account is still not verified, please contact us at",contactSupport:"Contact Support"},lM={inProgress:"In Progress",accepted:"Accepted",reassigned:"Reassigned",draft:"Draft",forward:"Forward",approved:"Approved",rejected:"Rejected",adjusted:"Adjusted",sent:"Sent",all:"All",dispatched:"Dispatched",submitted:"Submitted"},cM="Welcome",uM="Change Password",dM="Sign Out",fM="View Profile",pM="User",mM={back:"Back",Back:"Back",View:"View",today:"Today",yesterday:"Yesterday",unknownUser:"Unknown user",yes:"Yes",no:"No",na:"N/A",None:"None",Submit:"Submit",save:"Save",saveAsDraft:"Save as Draft",Cancel:"Cancel",cancel:"Cancel",confirmAndSubmit:"Submit",goBack:"Go Back",Confirm:"Confirm",noResult:"No Result",create:"Create",update:"Update",Edit:"Edit",Unselect:"Unselect",loading:"Loading",DeactivateUser:"Delete User",requiredFields:"Required fields",notAvailable:"Not Available",referenceNumber:"referenceNumber",subject:"Subject",createdDate:"Created Date",dispatchedDate:"Dispatched Date",status:"Status",search:"Search",name:"Name",delete:"Delete",actions:"Actions",verify:"Verify",verifying:"Verifying...",viewReply:"View Reply",previous:"Previous",next:"Next",showing:"Showing",to:"to",of:"of",Migrate:"Migrate",adopt:"Adopt",page:"Page",Delete:"Delete",Deleting:"Deleting...",DeletedSuccessfully:"Deleted successfully",FailedToDelete:"Failed to delete",ConfirmDelete:"Confirm Delete",DeleteConfirmationMessage:'Are you sure you want to delete "{{name}}"? This action cannot be undone.',addReply:"Add Reply",replies:"Replies",replyAttachments:"Reply Attachments",mockDownload:"Downloading simulated attachment: ",noReplies:"No replies added yet.",replyMessage:"Reply Message",replyPlaceholder:"Write your reply message or comment here...",attachments:"Attachments",uploadMessage:"Click to upload or drag and drop",uploadFormats:"PDF, PNG, JPG, ZIP (max 10MB)",submitting:"Submitting...",submit:"Submit",comment:"Comment"},hM={title:"Migrate Position Type",fromPositionType:"From Position Type",toPositionType:"To Position Type",selectSourcePositionType:"Select source position type...",selectTargetPositionType:"Select target position type...",migrationPath:"Migration",migrateAllPositions:"Migrate All Positions",confirmMigration:"Confirm Migration",migrateAllDescription:"This will migrate all positions from {{fromName}} to {{toName}}. This action cannot be undone.",yesMigrateAll:"Yes, Migrate All",migrateSelectedPositions:"Migrate Selected Positions",selectPositionsToMigrate:"Select positions to migrate",searchPositions:"Search positions...",selected:"Selected",noPositionsFound:"No positions found",noPositionsAvailable:"No positions available",migrateSelectedButton:"Migrate Selected Positions ({{count}})",confirmSelectedMigration:"Confirm Selected Migration",migrateSelectedDescription:"You are about to migrate {{count}} selected position(s) from {{fromName}} to {{toName}}.",selectBothPositionTypes:"Please select both From and To position types",selectAtLeastOnePosition:"Please select at least one position",allPositionsMigratedSuccess:"All positions migrated successfully",failedToMigratePositions:"Failed to migrate positions",selectedPositionsMigratedSuccess:"{{count}} position(s) migrated successfully",failedToMigrateSelectedPositions:"Failed to migrate selected positions"},gM={inProgress:"In Progress",done:"Done",all:"All",list:"Collaborations",comment:"Comment",comments:"Comments",commentTitle:"Collaboration comments",commentDialogDescription:"Review all collaborator comments here. If you have not commented yet, you can add yours below.",commentRequired:"Comment cannot be empty.",commentSubmitted:"Comment submitted.",commentUpdated:"Comment updated successfully.",commentDeleted:"Comment deleted successfully.",commentExists:"You have already commented on this record version.",commentsEmpty:"No comments have been added yet.",commentsCount:"{{count}} comment(s)",commentsEmptyState:"Once collaborators start commenting, their feedback will appear here.",reviewedCount:"{{count}} collaborator(s) reviewed",unknownUser:"Unknown user",yourComment:"Your comment",edited:"Edited",commentPlaceholder:"Write your comment...",addComment:"Add your comment",singleCommentRule:"You can submit one comment for the current record version.",postComment:"Post comment",deleteCommentTitle:"Delete comment?",deleteCommentDescription:"This will remove your current comment. You can add a fresh one again afterward.",close:"Close",edit:"Edit",adjust:"Adjust",adjustSubmitted:"Adjustment sent successfully.",adjustFailed:"Failed to send the adjustment request.",adjustCommentMissing:"No comment found to use for adjustment."},yM={recentActivity:"Recent Activity",accountSafety:"Account safety",twoFactorAuth:"Two-Factor Authentication",twoFactorDesc:"Add an extra layer of security",enabled:"Enabled",disabled:"Disabled",loading:"Loading profile...",error:"Failed To Load Profile",tryAgain:"Try Again",sessions:"Sessions",noName:"No name",signOut:"Sign Out",email:"Email",userType:"User Type",userTypes:{employee:"Employee"},activity:{login:"Login",passwordChanged:"Password Changed"},passwordSet:"Password Set",status:{accepted:"Accepted"},positionDetails:"Position Details",positionName:"Position Name",positionKey:"Position Key",isDelegate:"Is Delegate",employeeId:"Employee ID",permissions:"Permissions",noPermissions:"No permissions assigned",accountSecurity:"Account Security",password:"Password",passwordSetStatus:"Password is set",passwordNotSetStatus:"Password not set",changePassword:"Change Password",updateProfile:"Update Profile",profile:"profile",englishName:"Please Enter name in english",amharicName:"Please Enter name in amharic",username:"Please Enter Username",phoneNumber:"Please Enter Phone Number",emailmsg:"Please Enter Email",emailRequired:"Email is required",usernameRequired:"Username is required",phoneRequired:"Phone number is required",englishNameRequired:"Name in English is required",amharicNameRequired:"Name in Amharic is required",invalidPhoneFormat:"Invalid phone number format.",validPhoneFormat:"Please enter a valid phone number in the format +2519XXXXXXXX or 09XXXXXXXX",invalidEmailFormat:"Invalid email format",validEmailFormat:"Please enter a valid email address",profileUpdateSuccess:"Profile updated successfully",profileUpdated:"Your profile is updated",profileUpdateFailed:"Failed To Update Profile",updating:"Updating"},vM={title:"Submit Your Complaint",subtitle:"We're here to help. Provide detailed information so we can assist you effectively.",formTitle:"Complaint Form",fullName:"Full Name",phone:"Phone Number",subCity:"Sub City",woreda:"Woreda",houseNumber:"House Number",institution:"Institution",place:"Complaint Place",details:"Complaint Details",want:"Desired Resolution",evidence:"Evidence (Optional)",selectedFiles:"Selected files",disclaimerTitle:"Important Disclaimer",disclaimerText:"By submitting this form, you confirm that the information provided is true and accurate. False complaints may be subject to legal action.",accept:"I have read and accept the disclaimer",submit:"Submit Complaint",submitting:"Submitting...",success:"Complaint Submitted Successfully",keepId:"Please keep your complaint ID for future reference:",error:"Error",close:"Close",back:"Back",followTitle:"Follow Complaint",followSubtitle:"We're here to support you — track the progress of your complaint right here.",selectCompliant:"Select Complaint",noEvidence:"No Evidence",compliantId:"Compliant Tracker Number",enterComNum:"Enter Compliant Tracker Number",message:"Response",complaintNo:"Complaint Number",errorMsg:"Could not fetch complaint. Please check your compliant tracker number and try again."},bM={tigrigna:"Tigrigna",affar:"Affar",somali:"Somali",oromo:"Affan Oromo",user:"User",management:"Management",notifications:"Notifications",english:"English",englishShort:"ENG",amharic:"Amharic",amharicShort:"አማ",french:"French",frenchShort:"FR",viewProfile:"View Profile",changePassword:"Change Password",signOut:"Sign Out",settings:"Settings",addTeeter:"Add Teeter and Signature",addSignature:"Add Signature",Remark:"Remark",Description:"Description",navigation:{dashboard:"Dashboard",outgoing:"Outgoing",incoming:"Incoming",approval:"Approval",delegation:"Delegation",pending:"Pending",settings:"Settings",collaborations:"Collaborations",collaboration:"Collaborations"},editProfile:"Edit Profile"},wM={title:"Forgot Password?",subtitle:"No worries, we'll send you reset instructions",phone:"Phone Number",phoneplaceholder:"+251912345678 or 09XXXXXXXX",invalidphone:"Invalid phone number format. Use +2519XXXXXXXX or 09XXXXXXXX",checkphone:"Check your Phone Number",checkdesc:"We'll send a password reset link to your phone number.",sending:"Sending Reset Link...",sendresetlink:"Send Reset Link",backtologin:"Back to Login",remember:"Remember your password?",signin:"Sign in",home:"Home",success:"Password reset link sent",successdesc:"Please check your phone number for the reset link.",fail:"Failed to request password reset"},SM={"Reference Number":"Reference Number","Enter Reference Number":"Enter Reference Number","Record Tags":"Record Tags","Select Record Tags":"Record Tags",SelectedReceivingUnits:"Selected Receiving Units",EditRecord:"Edit Record",editIncomingRecord:"Edit Record","Record Type":"Record Type","Select Record Type":"Select Record Type","Initiation Type":"Initiation Type","Select Initiation Type":"Select Initiation Type","Receiving Unit":"Receiving Unit","Select Receiving Units":"Select Receiving Unit","Receiving Users":"Receiving Users","Select Receiving Users":"Select Receiving Users",Prefix:"Prefix","Select Prefix":"Select Prefix","Non Smart Receiving Unit":"Non Smart Receiving Unit","Enter Non Smart Receiving Organization":"Enter Non Smart Receiving Organization","To Departments":"To Departments","Select Department":"Select Departments","Preferred Language":"Preferred Language","Select Language":"Select Language",Suffix:"Suffix","Select Suffix":"Select Suffix","Position Prefix":"Position Prefix","Select Position Prefix":"Select Position Prefix",Subject:"Subject","Enter Subject":"Enter Subject","Letter Template":"Letter Template","Select Letter Template":"Select Letter Template",Body:"Body","External CC":"External CC","Select External CC":"Select External CC","Internal CC":"Internal CC","Select Internal CC":"Select Internal CC","Non Smart CC Unit":"Non Smart CC Unit","Enter Non Smart CC Organization":"Enter Non Smart CC Organization",Cancel:"Cancel",Add:"+ Add",English:"English",Amharic:"Amharic",Header:"Letter's Header","Select Header":"Select Header","No Header":"No Header",Footer:"Letter's Footer","Select Footer":"Select Footer","No Footer":"No Footer",Collaborators:"Collaborators","Select Collaborators":"Select Collaborators","Sincerely Text":"Sincerely Text","Enter Sincerely Text":"Enter Sincerely Text",record:"Record",attachment:"Attachment",failedToCreateRecord:"Failed To Create Record",recordSubmittedSuccessfully:"Record Forwarded Successfully.",createRecordFirst:"Please Create a Record First To Upload Attachments.",previous:"Previous",submit:"Submit",recordNotCreatedYet:"Record Has Not Been Created Yet.",submitting:"Submitting...",selectCollaborators:"Select Collaborators","Enter CC Prefix":"Enter CC Prefix","CC Prefix":"CC Prefix","Enter CC Suffix":"Enter CC Suffix","CC Suffix":"CC Suffix","Sign Status":"Sign Status",ccUsers:"CC Users",selectCCUsers:"Select CC Users",refreshOptions:"Refresh Options",isTeamSig:"Is With Team Signature",letterName:"File Name",addLetterName:"Enter File Name","Edit Mode":"Edit Mode","Create Mode":"Create Mode","Edit Record":"Edit Record","Create New Record":"Create New Record","Fill in the details below":"Fill in the details below","Basic Information":"Basic Information",enterBasicDetails:"Enter the basic details of your record","Creation Type":"Creation Type","Select Creation Type":"Select Creation Type",Recipients:"Recipients",specifyRecipients:"Specify who will receive this record","Template & Formatting":"Template & Formatting",customizeAppearance:"Customize the appearance of your record","Loading Headers...":"Loading headers...","Loading Footers...":"Loading footers...","Letter Content":"Letter Content",writeLetterContent:"Write the content of your letter","Header Preview":"Header Preview","Footer Preview":"Footer Preview","Carbon Copy (CC)":"Carbon Copy (CC)",addCCRecipients:"Add carbon copy recipients",forYourReference:"For Your Reference",selectForYourReference:"Select departments for your reference","Enter Non Smart CC Organization":"Enter non-smart CC organization",Attachments:"Attachments",uploadSupportingDocuments:"Upload supporting documents",personal:"Personal",Position:"Position",formHasErrors:"Please fix the form errors before submitting",processingRequest:"Processing your request, please wait...",letterInformation:"Letter Information",organizationInformation:"Organization Information",skipOneLevel:"Should Jump One Step","Non Smart FYR Unit":"Non Smart FYR Unit","Enter Non Smart FYR Organization":"Enter Non Smart FYR Organization"},xM={title:"Record Preview",generating:"Generating preview...",failed:"Preview generation failed",retry:"Retry",close:"Close",print:"Print",loading:"Loading preview...",error:"Unable to generate preview",networkError:"Network error occurred. Please check your connection and try again.",noData:"No preview data available",button:"Preview",validationError:"Please fix validation errors before preview"},CM={title:"Print Options",description:"Select what you want to print",recordDocument:"Record Document",recordDescription:"Print the main record document",attachments:"Attachments",noAttachments:"No attachments available",summary:"Items to print",selectAtLeastOne:"Please select at least one item to print",readyToPrint:"Ready to print",print:"Print",printing:"Printing...",success:"Print job sent successfully",error:"Failed to print. Please try again.",cancel:"Cancel"},RM={createdSuccess:"Incoming letter created successfully",updatedSuccess:"Incoming letter updated successfully",UpdatedSuccessfully:"updated successfully"},EM={letterSentSuccess:"Letter submitted successfully"},kM={All:"All",Draft:"Draft",createAndForward:"Create and Forward",createAndApprove:"Create and Approve",updateAndForward:"Update and Forward",updateAndApprove:"Update and Approve",recordCreatedAndForwarded:"Record created and forwarded",recordUpdatedAndForwarded:"Record updated and forwarded",recordCreatedReadyToApprove:"Record created — pick stamp & signature to approve",recordUpdatedReadyToApprove:"Record updated — pick stamp & signature to approve","The main file must be a PDF document":"The main file must be a PDF document",storageUploadFailed:"We could not upload the file. Please try again.",Submitted:"Fowarded",Accepted:"Accepted",Approved:"Approved",Rejected:"Rejected",Returned:"Returned",Adjustment:"Adjustment","Team Signature":"Pending Signatures",Sent:"Sent",Letters:"Letters","External Outgoing":"External Outgoing","Internal Outgoing":"Internal Outgoing",To:"To",Send:"Send","Send Directly":"Send Directly",nonSmartReceiverName:"Non Smart Receiver",ReceiverPosition:"Receiver Position",ReceiverEmployee:"Receiver Employee",ReceiverUnit:"Receiver Unit",Subject:"Subject",Date:"Date",Search:"Search","Add Record":"Add Record","Error loading records.":"Error Loading Records.","Receiver Info":"Receiver Info","No receivers":"No Receivers","No receiving unit":"No Receiving Unit",Status:"Status",Actions:"Actions","View Detail":"View Detail",MakeRecordSecure:"Secure Record",UnsecureRecord:"Unsecure Record",RecordSecuredSuccess:"Record secured successfully.",RecordSecureFailed:"Failed To Make Secure Record.",RecordUnsecuredSuccess:"Record unsecured successfully.",RecordUnsecureFailed:"Failed To Unsecure Record.",recordSecuredSuccess:"Record secured successfully.",recordUnsecuredSuccess:"Record unsecured successfully.",recordMarkedUrgentSuccess:"Record marked as urgent.",recordUrgencyClearedSuccess:"Record urgency cleared.",SecureDialogTitle:"Secure this record?",SecureDialogDescription:"This will lock the record and make it secure. You can’t undo this action.",UnsecureDialogTitle:"Unsecure this record?",UnsecureDialogDescription:"This will unlock the record and make it editable again.","Open actions menu":"Open actions menu",Approve:"Approve",Forward:"Forward",Edit:"Edit",Delete:"Delete",Download:"Download",DirectSubmit:"Direct Submit",directSubmitTitle:"Direct submit record",directSubmitDescription:"Select a signature to submit this record directly.",SelectSignature:"Signature",SelectSignaturePlaceholder:"Select a signature",noSignatureAvailable:"No signature is available for direct submit.",noSignatureForDirectSend:"No active signature found for direct send.",directSubmitSuccess:"Record submitted directly successfully.",directSubmitError:"Failed to submit the record directly.",directDispatchSuccess:"Record sent successfully.",directDispatchError:"Failed to send the record.",SendDirectRecordTitle:"Send Direct Record",SendDirectRecordDescription:"Are you sure you want to send this direct record? This action cannot be undone.",Sending:"Sending...","Record approved successfully!":"Record Approved Successfully!","Record rejected successfully!":"Record rejected successfully!","Failed to approve record.":"Failed To Approve Record.","Approve Record":"Approve Record","Record is deleted successfully":"Record is Deleted Successfully","Confirm Delete":"Confirm Delete","Delete Record":"Delete Record",Downloaded:"Downloaded","Download Record PDF":"Download Record PDF","Failed to download PDF.":"Failed To Download PDF.","Download successful!":"Download successful!","Confirm Forward":"Confirm Forward","Forward Record":"Forward Record","Failed to forward the record":"Failed To Forward The Record","Record forwarded successfully":"Record Forwarded Successfully","Confirm Approve":"Confirm Approve",Reference:"The organization's standard reference number",ExternalReference:"Incoming letters' reference number",InternalMemoReference:"Internal memo reference number","Make Review":"Make Review","Confirm Review":"Confirm Review",Reject:"Reject","Filter by":"Filter by","Reference Number":"Reference Number","Enter the subject of the letter":"Enter the subject of the letter","Delivered By":"Delivered By","Enter Delivered By":"Enter Delivered By","Letter Number":"Letter Number","Enter Letter Number":"Enter Letter Number","Failed to create letter":"Failed To Create Letter","Letter Created successfully":"Letter Created successfully","Please select file":"Please select file","Created At":"Created At","Sign Status":"Sign Status",signStatus:"Sign Status",createdAt:"Created At",View:"View","Date Received":"Date Received",Attachment:"Attachment",ReceivingUnit:"Receiver","Review your record before submission":"Review your record before submission",Back:"Back","Submit Record":"Submit Record",Submitting:"Submitting","Generating preview":"Generating preview","PDF Preview":"PDF Preview","Unable to generate preview":"Unable to generate preview",Retry:"Retry","Record Summary":"Record Summary","No subject":"No subject","Record Type":"Record Type","Not specified":"Not specified",Language:"Language","Initiation Type":"Initiation Type","Preview generation failed":"Preview generation failed",Preview:"Preview",Form:"Form",History:"Incoming History","Delete Delegation":"Delete Delegation",selectLetter:"Select Letter",incomingLetters:"Incoming Letters",nonSmartLetters:"Non Smart Letters",sendingOrganization:"Sending Organization","Sending Organization":"Sending Organization",MarkUrgent:"Mark as Urgent",UnmarkUrgent:"Unmark Urgent",MarkUrgentDialogTitle:"Mark this record as urgent?",MarkUrgentDialogDescription:"This record will be flagged as urgent for quick handling.",UnmarkUrgentDialogTitle:"Unmark this record as urgent?",UnmarkUrgentDialogDescription:"This record will no longer appear as urgent.",Activate:"Activate",ShareViaEmail:"Share via Email",recordOfficeRegester:"Record Officer Registered Records",fromSmartUsers:"From Smartoffice Using Bureaus",fromExternalNonsmart:"From External Smart users",addRecordRO:"Add Incoming Record",directSend:"Direct Send",updateAndSend:"Update and Send",createAndSend:"Create and Send","Confirm Reject":"Confirm Reject"},PM={Skipped:"Skipped",Pending:"Pending",pending:"Pending",Draft:"Draft",draft:"In Progress",InProgress:"In Progress","In progress":"In Progress","In Progress":"In Progress",active:"In Progress",Reassigned:"Reassigned",re_assigned:"Reassigned",Approved:"Approved",Accepted:"Accepted",accepted:"Accepted",Dispatched:"Sent",Adjustment:"Adjustment",adjustment:"Adjustment",adjustment_requested:"Adjustment Requested",AdjustmentRequested:"Adjustment Requested",Rejected:"Rejected",rejected:"Rejected",Submitted:"Fowarded",All:"All",Reject:"Reject",Accept:"Accept",Approve:"Approve",approved:"Approve",Adjust:"Adjust",Sent:"Sent",Send:"Send","Team Signature":"Pending Signatures","Team Rejected":"Team Rejected",teamRejected:"Team Rejected","Team Approved":"Team Approved",signed:"Signed",activated:"Activated",deactivated:"Deactivated",activate:"Activate",deactivate:"Deactivate",totalAllocations:"Total Allocations",assignmentStatistics:"Assignment Statistics",Outgoing:"Outgoing",Incoming:"Incoming",Returned:"Returned",Adjusted:"Adjusted",acceptForward:"Accept and Forward",replaced:"Replaced",seen:"Seen",assigned:"Assigned",not_assigned:"Not Assigned",completionRate:"Completion Rate",attentionNeeded:"Attention Needed",onTrack:"On Track",assInProg:"Assignment In Progress",next:"Next Assigments","Under Review":"Under Review","Re Assigned":"Reassigned",send_back_by_ro:"Sent Back by Record Officer",replied:"Replied",Replied:"Replied",yes:"Yes",no:"No",terminated:"Terminated",cancelled:"Cancelled",canceled:"Canceled",ended:"Ended",Expired:"Expired","Team Adjusted":"Team Adjusted"},AM={Continue:"Continue","Update and Assign":"Update and Assign","Create and Assign":"Create and Assign","Select a remark...":"Select Common Remarks","Select Predefined Remark":"Select Common Remarks",Clear:"Clear","From Date":"From","To Date":"To",Letters:"Letters",Department:"Department",Subject:"Subject",Date:"Date",Search:"Search","Error loading records.":"Error Loading Records.",errDelegation:"You don’t have access to this page because your account is currently delegated.",Status:"Status",Actions:"Actions",successassign:"Record Assigned Successfully.","View Detail":"View Detail","Open actions menu":"Open actions menu","Sending Department":"Sending Department","No Department":"No Department","No Subject":"No Subject","Sending Organization (English)":"Sending Organization(English)","Sending Organization":"Sending Organization","Sending Organization (Amharic)":"Sending Organization (Amharic)",Accept:"Accept",Assign:"Assign",Edit:"Edit",update:"Update",Delete:"Delete",Download:"Download",Reject:"Reject",Cancel:"Cancel",uploadIncomingRecord:"Add Incoming Record","Record accepted successfully":"Record Accepted Successfully","Failed to accept record":"Failed To Accept Record","Confirm Acceptance":"Confirm Acceptance","Are you sure you want to accept this record?":"Are You Sure You Want To Accept This Record?",Confirm:"Confirm","Processing...":"Processing...",Departments:"Departments","Select department(s)...":"Select Department(s)...",Employees:"Employees","Select employee(s)...":"Select employee(s)...",Remark:"Remark","Failed to Assign a Record":"Failed To Assign a Record","Assign this record to one or more departments":"Assign This Record To One Or More Departments","Assign Record":"Assign Record","An error occurred during assignment.":"An Error Occurred During Assignment.","Enter your remarks...":"Enter Your Remarks...","Assigning...":"Assigning...","Are you sure you want to reject this record?":"Are You Sure You Want To Reject This Record?","Failed to rejected record":"Failed To Reject Record","Record rejected successfully":"Record Rejected Successfully",To:"To",ConvertedBy:"Converted By",ReceiverDepartment:"Receiving Department","Assign CC":"Assign CC","Assign CC Record":"Assign CC Record","Assign this CC record to one or more positions":"Assign This CC Record To One Or More Positions","Select Positions":"Select Positions","Select positions to assign":"Select positions to assign",Comment:"Comment","Quick Remarks":"Quick Remarks","Failed to Assign CC Record":"Failed To Assign CC Record",ReceiverEmployee:"Receiving Employee",return:"Return",returnQues:"Are you sure you want to return this record?",returing:"Returning...",conformReturn:"Confirm Return","Reference Number":"Reference Number","Dispatched Date":"Dispatched Date","No Sending organization":"No Sending organization",noRemark:"No Remark Found",searchRemark:"Search Remark...","Is Secured":"Is Secured","Is Urgent":"Is Urgent","Receiving Organization":"Receiving Organization",Attachments:"Attachments",nonSmart:"From non Smart User",external:"From Smart User",self:"My Record",parent:"My Parent Record",errorLoadingRecords:"Error Loading Records",reply:"Reply",replyRecord:"Reply Record",remarkDate:"Remark Date",isReplyLetter:"Is a Reply Letter",ViewReplyLetterDetails:"View Reply Letter Detail",isSecured:"Secured",isUrgent:"Urgent",RecordStatus:"Record Status"},TM={"Record adjusted successfully":"Record adjusted successfully",yourStamp:"Your Teeter",Letters:"Letters",Department:"Department",Subject:"Subject",Date:"Date",Search:"Search","Error loading records.":"Error Loading Records.",Status:"Status",Actions:"Actions","View Detail":"View Detail","Open actions menu":"Open actions menu",receiverEmployee:"Receiving Employee",receiverPosition:"Receiving Position",LetterName:"File Name",Receiver:"Receiver","No Subject":"No Subject","Record accepted successfully":"Record Accepted Successfully",Confirm:"Confirm",Remark:"Remark",Remarks:"Remarks","Accept Record":"Accept Record","Record Rejected successfully":"Record Rejected Successfully",recordAdjustedSuccessfully:"Record Adjusted Successfully",confirmAdjustment:"Confirm Adjustment",adjustRecord:"Adjust Record",selectOrUploadSignature:"Please Select or Upload a Signature",selectOrUploadTeeter:"Please Select or Upload a Teeter",recordApprovedSuccessfully:"Record Approved Successfully!",failedToApproveRecord:"Failed To Approve Record.",approveRecord:"Approve Record",confirmApprove:"Confirm Approve",confirmRejection:"Confirm Rejection",rejectRecord:"Reject Record",RecordType:"Record Type",selectStamp:"Select Stamp",selectTetter:"Select Tetter",selectedStamp:"Selected Stamp:",signature:"Signature",yourSignature:"Your Signature:",selectedSignature:"Selected Signature:",selectSignature:"Select a signature",approving:"Approving...",All:"All",FileName:"File Name",SendingDepartment:"Sending Department",RecordStatus:"Record Status"},NM={for:"For",viewDetail:"View Detail",from:"From",letter:"Main Letter",letterPreview:"Letter Preview",view:"View",fullScreen:"Full Screen",back:"Back",loading:"Loading...",noPreview:"No Preview Found",securedRecordMessage:"Since the record is secure, you cannot view the record.",securedAttachmentMessage:"Since the record is secure, you cannot view the attachments.",receivingOrganizations:"Receiving Organizations",receivingUserEmployees:"Receiving User Employees",sendingDepartment:"Sending Department",externalCcOrganizations:"External CC Organizations",internalCcDepartments:"Internal CC Departments",receivingDepartments:"Receiving Departments",sentDate:"Sent Date",referenceNumber:"Reference Number",attachments:"Attachments",remarks:"Remarks",loadingRemarks:"Loading Remarks...",failedToLoadRemarks:"Failed To Load Remarks.",noRemarksAvailable:"No Remarks Available For This Record.",action:"Action",comment:"Comment:",noAttachmentsAvailable:"No Attachments Available.",open:"Open",subject:"Subject",letterNumber:"Letter Number",deliveredBy:"Delivered By",personalRemark:"Personal Remark",noPersonalRemarkProvided:"No Personal Remark Available",regeneratePdf:"Regenerate PDF",regeneratingPdf:"Regenerating...",pdfRegenerationSuccess:"PDF regenerated successfully",pdfRegenerationFailed:"Failed To Regenerate PDF",sendingBureau:"Sending Bureau",collaborators:"Collaborators",recordDetail:"Record Detail",commentorEmployee:"Commentor Employee",commentorDepartment:"Commentor Department",noComment:"No Comment",fileName:"File Name",fileName1:"File Name (RO Reference Number)",toogleColumns:"Toogle Columns",sendingEmployee:"Sending Employee"},DM={dropFilesHere:"Drop files here",dragDropInstruction:"Drag And Drop Files Here, Or Click To Select Files",youCanUpload:"You Can Upload",removeFile:"Remove File",filesUpTo:"Files (up to ",aFileWith:"A File With",file:"File",wasRejected:"Was Rejected",uploaded:"Uploaded",failedToUpload:"Failed To Upload",uploading:"Uploading...",cannotUploadMoreThan:"Cannot Upload More Than "},OM={title:"Share Record via Email",description:"Enter the email address to share this record with.",emailLabel:"Email Address",emailPlaceholder:"Enter email address",emailRequired:"Email Address Is Required",invalidEmailFormat:"Please Enter A Valid Email Address",shareButton:"Share Record",shareSuccess:"Record Shared Successfully Via Email",shareFailed:"Failed To Share Record Via Email",networkError:"Network Error Occurred. Please Check Your Connection And Try Again."},_M={recordConverted:"Record Converted Successfully.",selectSeal:"Please Select a Seal.",convertRecord:"Convert Record",recordType:"Record Type:",subject:"Subject:",convertAndDispatch:"Convert & Dispatch",selectSealLabel:"Select Seal:",loadingSeals:"Loading seals...",selectSealPlaceholder:"-- Select a Seal --",selectedSealPreview:"Selected Seal Preview:",drawSig:"Draw Signature"},MM={delegatedPosition:"Delegated Position",delegateePosition:"Delegatee Position",delegateeEmployee:"Delegatee Employee",selectDelegatedPosition:"Select Delegated Position",delegateTo:"Delegate To (Employee)",selectEmployee:"Select Employee",noEmployeesAvailable:"No Employees Available For This Position",startDate:"Start Date",pickDate:"Pick a date",endDate:"End Date",endDateMinimumFutureError:"End date must be at least 2 minutes from now",update:"Update",save:"Save",title:"Delegation",newDelegation:"New Delegation",editDelegation:"Edit Delegation",addDelegation:"Add Delegation",position:"Delegated Position",active:"Active",delegator:"Delegator",delegatedEmployee:"Delegated Employee",currentEndDate:"Current End Date",select:" Select",acting:"Acting As",switchRole:"Switch Role",successDelete:"Delegation is deleted successfully",activeDelegationExists:"active delegation exists and either edit the active delegation or delete and create again",createdSuccess:"Delegation created successfully",deletedSuccess:"Delegation deleted successfully",updatedSuccess:"Delegation updated successfully",terminationDetail:"Termination Detail",viewTerminationDetail:"View termination detail",terminatedSuccess:"Delegation terminated successfully",deleteDescription:"Provide a reason for ending this delegation.",deleteReasonLabel:"Reason",deleteReasonPlaceholder:"Why are you ending this delegation?",deleteReasonRequired:"Please provide a reason for deletion.",myDelegations:"My Delegations",myDelegatee:"My Delegatee",letter:"Delegation Letter",selectLetter:"Select Letter",viewLetter:"View Delegation Letter",noLetterAssigned:"No Delegation letter",letterDetails:"Selected Letter Details",recordInformation:"Record Information",letterPreview:"Document Preview",openInNewTab:"Open in New Tab",pdfNotAvailable:"PDF document not available",recordNotFound:"Selected record not found",pdfNotFound:"PDF document not found",pdfLoadError:"Failed to load PDF document",loadingPdf:"Loading document...",retryPdf:"Retry Loading",receiverPositions:"Recipients",initiator:"Initiated By",latestComment:"Latest comment",commentMeta:"Given by",commentMetaOn:"on"},jM={signature:"Signature",teeter:"Teeter",uploadSignature:"Upload Signature",uploadTeeter:"Upload Teeter",uploadSignatureNote:"Upload Signature (PNG only)",uploadTeeterNote:"Upload Teeter (PNG only)",uploadedSignature:"Uploaded Signature:",uploadedTeeter:"Uploaded Teeter:",enterFileName:"Enter File Name (without extension)",preview:"Preview:",upload:"Upload",uploading:"Uploading...",remove:"Remove",removing:"Removing...",removedSuccess:"Removed Successfully.",removeTeeterFailed:"Remove Teeter Failed",removeFailed:"Failed To Remove.",selectPngFirst:"Please Select a PNG File First.",onlyPngAllowed:"Only PNG Files Are Allowed.",signatureExists:"The Signature Already Exists. Remove It To Upload a New One.",uploadSuccess:"Upload Successful!",uploadError:"Upload Error:",uploadFailed:"Upload Failed.",openSignatureForm:"Open Signature Drawer",generateTeeter:"Generate Teeter",selectTeeterLanguage:"Select teeter language",languageAmharic:"Amharic",languageEnglish:"English",languageBoth:"Both (Amharic then English)",confirmGenerateTeeter:"Generate",cancelGenerateTeeter:"Cancel",uploadGeneratedTeeter:"Upload Generated Teeter",generatedTeeterPreview:"Generated teeter preview",downloadTransparentPng:"Download Transparent PNG",stampNameLabel:"Name",stampPositionLabel:"Position",stampBlockAmharic:"Amharic",stampBlockEnglish:"English",missingEmployeeData:"Employee name or position is not available."},LM={assignedBy:"Assigned By",assignedTo:"Assigned To",assignedOn:"Assigned On:",comment:"Comment:",assignmentFlow:"Assignment Flow",noAssignments:"No Assignments Have Been Made For This Record Yet.",responded:"Responded",assignedUsing:"Assigned Using:",byName:"Employee Name",byDepartment:"Department Name"},FM={welcomeBack:"Welcome Back",enterCredentials:"Please Enter Your Credentials To Continue",email:"Email",phoneNumber:"Phone Number",username:"User Name",password:"Password",rememberMe:"Remember Me",forgotPassword:"Forgot Password?",loggingIn:"Logging In...",login:"Login",welcomeHeadline:"Welcome to Your Smart Office",paperlessOffice:"Paperless Office",welcomeSubtext:"Sign In To Streamline Your Workflow and Eliminate The Clutter.",emailAddress:"Email address",err:"Invalid Ethiopian Phone Number It Should Start With +251",invalidEmail:"Please enter a valid email address"},IM={sent:"Letter is sent",genericError:"An error occurred",authError:"Session expired",authErrorDescription:"Please log in again.",validationError:"Some of the information you submitted is invalid. Please review and try again.",permissionError:"You don't have permission to perform this action.",notFoundError:"We couldn't find what you were looking for.",fileTooLarge:"The file is too large. Please reduce the file size and try again.",serverError:"Something went wrong on our side. Please try again in a moment.",attachmentDeleted:"Attachment deleted successfully.",replyAdded:"Reply added successfully!",replyError:"An error occurred while adding the reply.",failedToCreate:"Failed To Create Record",failedToGetUrl:"Failed To Get Upload URL",registrationSuccess:"Registered. We Have Sent An SMS To Set Your Password Successfully.",errorOccurred:"An Error Occurred.",successfullyCompleted:"Changes saved successfully.",pdfRegenerated:"PDF Regenerated Successfully.",approveFailed:"Failed To Approve Record.",approveSuccess:"Record Approved Successfully",selectPrompt:"Please Select a Stamp.",extendedSuccess:"Delegation Extended Successfully.",letter:"Letter",approvedSuccess:"Record Approved Successfully!",submittedSuccess:"Record Submitted Successfully!",reviewSuccess:"Record Made Under Review Successfully!",markedForAdjustment:"Marked For Adjustment",sentToOfficer:"Sent To Record Officer",errorSendingToOfficer:"Error Sending To Record Officer",success:"Delegation Successful.",failed:"Delegation Failed.",deletedSuccess:"Delegation Deleted Successfully.",deleteFailed:"Failed To Delete Delegation.",failedCreateOrGetUrl:"Failed To Create Record or Get Upload URL.",sentAndUploadedSuccess:"Letter Sent and File Uploaded Successfully.",failedSendOrUpload:"Failed To Send Letter or Upload File.",successassign:"Record Assigned Successfully.",submittedWithAttachments:"Record and Attachments Submitted.",createFailed:"Failed To Create Record.",refreshedSuccess:"Refreshed Successfully.",refreshFailed:"Failed To Refresh.",redirecting:"Redirecting...",loginSuccess:"Login Successful.",receivingDepartmentRequired:"At least one receiving department is required",receivingUnitRequired:"At least one receiving unit is required",recordTypeRequired:"Record type is required",initiationTypeRequired:"Initiation type is required",subjectRequired:"Subject is required",preferredLanguageRequired:"Preferred language is required",bodyRequired:"Body is required",sincerelyTextRequired:"Sincerely text is required",headerRequired:"Header is required",footerRequired:"Footer is required",accessDenied:"Access Denied",accessDeniedmsg:"You Cannot Enter This Page Because You Have an Active Delegation. Please Remove The Delegation To Continue.",accessDeniedmsg2:"You Cannot Enter This Page Because You Have an Active Delegation. You Cannot Delegate If You Are Already Delegated By Another Employee",accessDeniedmsg3:"You cannot access Record Management Module because you are not registered to this organization or you not assigned any position",sendingOrgRequired:"Sending Organization is Required",deliveredByRequired:"Delivered By is Required",letterNoRequired:"Letter Number is Required",letterNameRequired:"File Name is Required",noReferenceNumber:"The letter isn't sent, so no reference number",noMsg:"Because The Letter Has Not Been Sent Yet",sincerely:"Sincerely",changePasswordMsg:"Set a new password for your account",oldPassword:"Old Password",newPassword:"New Password",confirmNewPassword:"Confirm New Password",chaning:"changing...",failedChange:"Failed To Change Password",successChange:"Password changed successfully",logoutSuccess:"Logged out successfully",logoutFailed:"Logout failed",passwordMismatch:"New password and confirm new password do not match",passwordRequirements:"Password must be at least 8 characters long",currentPasswordRequired:"Current password is required",newPasswordRequired:"New password is required",passwordMinLength:"Password must be at least 8 characters long",passwordMustBeDifferent:"New password must be different from your current password",confirmPasswordRequired:"Please confirm your new password",uppercaseLetter:"uppercase letter",lowercaseLetter:"lowercase letter",number:"number",specialCharacter:"special character",passwordComplexity:"Password must contain at least one",passwordResetSuccess:"You can now log in with your new password",selectAll:"Select All",error:"Error",createRecordMsg:"Fill in the details to create a new incoming record",updateRecordMsg:"Update the incoming record details below",completionRate:"Calculation: Accepted + Rejected + Reassinged +Replied Divided by Total Assigments",totalAllocations:"Total number of letters assigned to users or departments",reassigned:"Letters that were redirected from one user or department to another",rejected:"Letters that were declined or not approved by the recipient",accepted:"Letters that were approved or acknowledged by the recipient",replied:"Letters that received a response or follow-up from the recipient",draft:"Letters that are awaiting action or decision from the recipient",waitingMsg:"No content is available on this site at the moment, as the administrator has not yet provided or published any resources.",recordDes:"This link takes you to record management",orgAdminDes:"This Link Takes to site management",recycleBin:"Recycle Bin",ccEmployeesInvalidSelection:"One or more selected CC users do not have a valid assigned position. Remove them or update their employee profile."},UM={smartOffice:"Smart Office",signIn:"Sign In",signUp:"Sign Up",overview:"Overview",features:"Features",workflow:"Workflow",manual:"Manual",digitalTransformation:"Digital transformation for modern government operations.",facebook:"Facebook",twitter:"Twitter",linkedIn:"Linked In",telegram:"Telegram",tiktok:"TikTok",website:"Website",contactUs:"Contact Us",quickLinks:"Quick Links",copyright:"Tria Plc - Copyright ©",rightsReserved:"All Rights Reserved - Powered by Tria",address:"Lingo Tower Infront of Sheger House, Bole, Addis Ababa, Ethiopia",platformSystem:"Smart Office",initiativeDescription:"A comprehensive digital transformation initiative to modernize government office operations through the adoption of cutting-edge technologies.",getStarted:"Get Started",learnMore:"Learn More",sops:"SOPS",smartOfficePlatformSystem:"Smart Office System",revolutionDescription:"Revolutionizing government operations with AI-powered workflow automation and real-time analytics.",liveDemo:"Live Demo Available",outgoingRecords:"Outgoing Records",outgoingRecordsDesc:"Create and send internal or external records with attachments and hierarchical approval workflows.",incomingRecords:"Incoming Records",incomingRecordsDesc:"View, accept, and respond to received records, with the ability to assign them to relevant departments.",approvalWorkflows:"Approval Workflows",approvalWorkflowsDesc:"Digital letter and signature support with hierarchical approval processes that match your office structure.",interactiveDashboard:"Interactive Dashboard",interactiveDashboardDesc:"Real-time tracking of incoming and outgoing records, with department-level summaries and pending approvals.",organizedFolders:"Organized Folders",organizedFoldersDesc:"Categorize records using a structured system with advanced search and filtering capabilities.",securityAccessControl:"Security & Access Control",securityAccessControlDesc:"Role-based access with complete audit trails for all document actions and modifications.",powerfulFeaturesTitle:"Powerful Features",powerfulFeaturesSubtitle:"Streamline Your Document Workflow",powerfulFeaturesDesc:"Our comprehensive tools help you manage records efficiently while maintaining security and compliance.",feature1:"Faster Approval Times",feature2:"More Organized Records",feature3:"Audit Compliance",documentWorkflow:"Document Workflow",recordCreation:"Record Creation",recordCreationDesc:"User creates a new record with attachments and metadata",teamLeaderReview:"Team Leader Review",teamLeaderReviewDesc:"First level approval by immediate supervisor",directorApproval:"Director Approval",directorApprovalDesc:"Department head reviews and approves",deputyHeadReview:"Deputy Head Review",deputyHeadReviewDesc:"Final administrative approval before submission",recordOfficerProcessing:"Record Officer Processing",recordOfficerProcessingDesc:"Official registration and dispatch",streamlinedProcess:"Streamlined Process",recordManagementApprovalWorkflows:"Record Management Approval Workflows",smartOfficeDescription:"Smart Office mirrors your organizational hierarchy with customizable digital workflows that ensure proper oversight and accountability.",step:"STEP",requestChanges:"Request Changes",workflowAutomationBenefits:"Workflow Automation Benefits",workflowAutomationDesc:"Our intelligent workflow system reduces processing time by 65% while ensuring compliance with your organizational policies.",fasterApprovals:"65% Faster Approvals",reduceDelays:"Reduce bureaucratic delays",auditTrail:"100% Audit Trail",completeRecord:"Complete record of all actions",advancedFeatures:"Advanced Features",slaMonitoring:"SLA Monitoring",slaMonitoringDesc:"Automatic tracking of service level agreements with escalation alerts for delays.",conditionalRouting:"Conditional Routing",conditionalRoutingDesc:"Smart rules automatically route documents based on content, value, or department.",temporaryApprovalDelegation:"Temporary approval delegation for vacations with full audit tracking.",approvalworkflow:"Approval Workflow",uptime:"Uptime",bureaus:"Bureaus",support:"Support",features1:"Scalable",features2:"Cross‑platform support",features3:"Cloud‑based data sync",features4:"low‑connectivity capability",features5:"Responsive design/adaptive",features6:"Secure",login:"Login to the System",step1:"1. Click on the",headerBtn:"button in the header",step2:"2. Enter your username and password provided by your administrator",step3:"3. Click the",accessBtn:"button to access the system",note:"Note",forgotIntro:"If you forget your password, contact your system administrator for reset.",dashboardTitle:"Dashboard Overview",dashboardDesc:"The dashboard provides a comprehensive overview of your record activities:",recordsCreated:"Records Created",recordsTotal:"Total records you've initiated",recordsReceived:"Records Received:",incomingDocs:"Incoming documents from others",breakdown:"Internal/External Breakdown:",visuals:"Visual charts showing document types",approvalStatus:"Approval Status",approvalTypes:"Pending, approved, or rejected records",quickActions:"Quick Actions",createOrCheck:"Create new records or check pending approvals directly from the dashboard",recentActivity:"Recent Activity",trackUpdates:"Track the latest updates on your documents",manageOut:"Managing Outgoing Records",createNew:"Creating New Records",goToTab:"Navigate to the",clickBtn:"Click button",fillFields:"Fill in all required fields (record type, receiver, subject, etc.)",attach:"Attach supporting documents if needed",saveOrSubmit:"Save as draft or submit for approval",trackStatus:"Tracking Record Status",notForwarded:"This item is not yet forwarded. This items can be edited and deleted",awaiting:"This item is awaiting acceptance or approval.",accepted:"This item has been accepted and is awaiting approval.",approvedSent:"This item has been approved and sent to record officer to be dispatched.",returned:"This item has been returned for adjustments or additional information. Please review the comments.",rejected:"This item has been rejected.",sent:"This item has been sent to the recipients.",returnedByOfficer:"This item has been returned by the Record Officer.",monitor:"Monitor your records through each approval stage in the workflow",manageIncoming:"Managing Incoming Records",incomingTypes:"Types of Incoming Records",fromOthers:"From other organizations",withinOrg:"Within your organization",copied:"Copied for your information",processIncoming:"Processing Incoming Records",readDoc:"Open and read the full document",acknowledge:"Acknowledge receipt of the document",forward:"Forward to another team member if needed",archive:"Archive",fileRef:"File for future reference",apprvalworkflow:"Approval Workflow",process:"Approval Process",internalFlow:"Internal Records Workflow:",creator:"Creator",leader:"Team Leader",director:"Director",officer:"Record Officer",externalFlow:"External Records Workflow:",actions:"Approval Actions",delegation:"Delegation Management",delegateInfo:"When you're unavailable, you can delegate your approval authority to another team member:",delegateNav:"Navigate to the",selectColleague:"Select a colleague from your organization structure",setDates:"Set the start and end dates for the delegation period",setPerms:"Specify which permissions to delegate",saveDelegate:"Save the delegation settings",autoExpire:"Delegations automatically expire on the end date you specify.",collab:"Collaboration Workspace",collabInfo:"The collaboration tab brings together records that require input from multiple team members:",viewDocs:"View all collaborative documents in one place",addComments:"Add your comments or annotations",approve:"Approve with your digital signature when consensus is reached",trackChanges:"Track changes and version history",realTime:"Real-time Updates",liveChanges:"See changes from other collaborators as they happen",notifications:"Notification System",alerts:"Get alerts when others contribute to the document",signatureMgmt:"Teeter & Signature Management",leadersOnly:"Team leaders and above can manage their digital teeter and signature:",signatureTitle:"Teeter & Signature",uploadTeeter:"Upload a clear image of your official teeter",uploadSignature:"Create or upload your digital signature",defaultSignature:"Set as default for all approvals",updateDesignation:"Update whenever your official designation changes",security:"Security Notice:",encrypted:"Your teeter and signature are encrypted and only used for official approvals.",recordModule:"Record Management Module",guide:"Comprehensive guide for using the Smart Office Platform System",back:"Back to Dashboard",moduleGuide:"Module Guide",previous:"Previous",next:"Next",addTeeterAndSignature:"Add digital teeter and signature",returnWithComments:"Return with comments",requestModifications:"Request modifications",screenshotOf:"Screenshot of",fasterApproval:"Faster Approval",auditReady:"Audit Ready",organizedRecords:"Organized Records",tab:"Tab",click:"Click",button:"Button",services:"Services",fileComplaint:"File Complaint",followComplaint:"Follow Complaint",aboutUs:"Know About Us",darkMode:"Dark Mode",lightMode:"Light Mode"},$M={webManagement:"Web Management",addUser:" Add User","Letter Template":"Letter Templates",organizations:"Organizations",newOrganization:"New Organization",organizationName:"Organization name",createdOn:"Created on",approveUserPrompt:"Approve User",approveUserDescription:"Approve User",yesApprove:"Yes, Approve",numberOfUsers:"Number of users",assignedAdmin:"Assigned admin","Migrated Records":"Migrated Records",isGovernmentOrganization:"Is Government Organization",createNew:"Create New",edit:"Edit",enterDetails:"Enter the details for the new organization. All fields marked with an asterisk (*) are required.",nameAmharic:"Name (Amharic)",nameEnglish:"Name (English)",key:"Key",organizationType:"Organization Type",loadingOrganizationTypes:"Loading organization types...",errorLoadingOrganizationTypes:"Error loading organization types",noOrganizationTypesAvailable:"No organization types available",parentOrganization:"Parent Organizational (optional)",loading:"Loading...",selectOrganization:"Select organization",selectOrganizationFirst:"Select an organization first",noOrganization:"No organization",isOrganizationPublic:"Is Organization Public",selectOrganizationType:"Select organization type",deleteOrganization:"Delete Organization",confirmDelete:"Are you sure you want to permanently delete?",cannotUndo:"This action cannot be undone.",deleting:"Deleting ...",delete:"Delete",viewOrganization:"View Organization",editOrganization:"Edit Organization",englishNameRequired:"English name is required",amharicNameRequired:"Amharic name is required",invalidEmail:"Invalid email address",usernameMinLength:"Username must be at least 3 characters",organizationRequired:"Organization is required",invalidPhoneNumber:"Phone number must be a valid Ethiopian number",registerAdminTitle:"Register Organization Admin",registerAdminDescription:"Fill in the required fields to register",enterEnglishName:"Enter English name",enterAmharicName:"Enter Amharic name",email:"Email",emailExample:"email@example.com",username:"Username",enterUsername:"Enter a username",phoneNumber:"Phone Number",phoneNumberExample:"e.g. 0912345678 or +251912345678",organization:"Organization",registering:"Registering...",registerAdmin:"Register Admin",dashboard:"Dashboard",organizationAdmins:"Organization Admins",externalUsers:"External Users",userManagement:"User Management",content:"Content",bulkUpload:"Bulk Upload",positionTypes:"Position Types",activityLog:"Activity Log",setting:"Setting",loadingAdmins:"Loading admins...",errorLoadingAdmins:"Error loading admin data",retry:"Retry",assignAdmin:"Assign Admin",addAdmin:"Add Admin",adminAssignedSuccess:"Admin assigned successfully",userAssignedSuccess:"User assigned successfully",userAssignFailed:"User couldn't be assigned",assignAdminToOrganization:"Assign Admin to Organization",assignAdminInstructions:"Select an organization and a user to assign as an admin.",users:"Users",searchUsers:"Search users...",noUsersFound:"No users found",assigning:"Assigning...",assignUser:"Assign User",noUsersAvailable:"No users available",pendingExternalUsers:"Pending External Users",activateUserPrompt:"Activate this user?",activateUserDescription:"This will enable the user to access the platform",activating:"Activating...",yesActivate:"Yes, activate",statistics:"Statistics",totalOrganizations:"Total Organizations",recentOrganizations:"Recent Organizations",viewMore:"View more →",recentActivities:"Recent Activities",moreActivities:"More activities →",noRecentActivities:"No recent activities found",contentManagement:"Content Management",Bulk:"Excel Uploader",Position:"Positions",settings:"Settings","Archive Users":"Archive Users","Archived Organizations":"Archived Organizations","Archived Units & Positions":"Archived Units & Positions",contentMsg:"Manage your organization's content and assets efficiently.",selectUnit:"Select Unit",visibilityToOthers:"Visible to Others",visible:"Visible",hidden:"Hidden",visibilityEnabled:"Organization is now visible to other organizations",visibilityDisabled:"Organization is now hidden from other organizations",visibilityUpdateFailed:"Failed to update organization visibility"},zM={"View Detail":"View Detail","Open actions menu":"Open actions menu",Actions:"Actions",convertRecord:"Convert Record",return:"Return",returning:"Returning...",returing:"Returning...",conformReturn:"Confirm Return","Please provide a reason for returning this record.":"Please provide a reason for returning this record.",ReturnComment:"Return Comment",EnterReturnReason:"Enter reason for returning",CommentRequired:"Comment is required",RecordReturnedSuccessfully:"Record returned successfully",FailedToReturnRecord:"Failed To Return Record"},BM={incompleteRegistration:"You haven't completed the verification process. Please upload required documents to continue.",uploadDocuments:"Upload Documents",registrationRequired:"You must complete your registration before accessing this page.",title:"Registration",steps:{registerUpload:{title:"Register & Upload",description:"Fill details and upload required documents"},verifyOtp:{title:"Verify OTP",description:"Enter verification code sent to your phone/email"}},form:{registrationType:"Registration Type",organization:"Organization",individual:"Individual",organizationEmail:"Organization Email",organizationEmailPlaceholder:"organization@example.com",individualEmail:"Personal Email",individualEmailPlaceholder:"personal@example.com",organizationUsername:"Organization Username",organizationUsernamePlaceholder:"org_username",individualUsername:"Personal Username",individualUsernamePlaceholder:"personal_username",organizationPhone:"Organization Phone",organizationPhonePlaceholder:"+251 organization phone",individualPhone:"Personal Phone",individualPhonePlaceholder:"+251 personal phone",organizationNameEn:"Organization Name (English)",organizationNameEnPlaceholder:"Company Name Ltd.",individualNameEn:"Full Name (English)",individualNameEnPlaceholder:"John Doe",organizationNameAm:"Organization Name (Amharic)",organizationNameAmPlaceholder:"የድርጅት ስም",individualNameAm:"Full Name (Amharic)",individualNameAmPlaceholder:"የግለሰብ ስም",organizationSubmitButton:"Register Organization & Upload Documents",individualSubmitButton:"Register Individual & Upload Documents",processing:"Processing..."},userType:{selectionDescription:"Choose your registration type to get started",organization:"Organization",organizationDescription:"Register as a company, institution, or organization",individual:"Individual",individualDescription:"Register as an individual person or professional"},continueButton:"Continue to Registration",documents:{requiredDocuments:"Required Documents",requirementsUpdate:"Requirements update when you change registration type",attached:"attached",tip:"Tip: upload now or continue and upload after verification",noRequirements:"No document requirements",upload:"Upload",change:"Change",remove:"Remove",required:"Required",fileSelected:"File selected",readyToUpload:"Ready to upload",previouslyUploaded:"Previously uploaded",willUploadOnSubmit:"Will be uploaded on submit",fayda:"Fayda ID",faydaMessage:"Enter Fayda ID"},verifyOtp:{title:"Verify your account",description:"Enter the 6‑digit code we sent {channel}.",channel:{email:"to your email",phone:"to your phone"},otpInput:{ariaLabel:"Character {index}",placeholder:"Enter OTP code"},password:{newPassword:"New Password",confirmPassword:"Confirm Password",showPassword:"Show password",hidePassword:"Hide password"},buttons:{back:"Back",completeRegistration:"Complete Registration",verifying:"Verifying...",resendCode:"Resend Code",resending:"Resending...",resendIn:"Resend in {seconds}s",resendLoading:"Resending code",resendCooldown:"Resend code in {seconds} seconds"},messages:{success:"Password set successfully!",verificationCodeResent:"Verification code resent to your email/phone.",missingEmailPhone:"Email or phone number is missing.",invalidOtp:"Please enter a valid 6-character OTP.",fillPasswords:"Please fill in both password fields.",passwordLength:"Password must be at least 8 characters.",passwordMismatch:"Passwords don't match.",passwordUpdateFailed:"Password update failed. Please try again.",resendFailed:"Failed to resend the verification code. Please try again.",registrationComplete:"Registration & document upload completed successfully!",selectUnitWarning:"Please select a unit",fillAllFields:"Please fill all fields",configAdded:"Configuration added successfully",configUpdated:"Configuration updated successfully",configAddFailed:"Failed to add configuration",configUpdateFailed:"Failed to update configuration"},errors:{missingUserId:"User ID is missing. Cannot resend verification code.",resendFailed:"Failed to resend the verification code.",alreadyRegistered:"You can only register once with a single email or phone number. So instead of registering again, go to sign in and use Forgot Password to reset your password."},support:{needHelp:"Need help?",helpLink:"/support/resend-sms"}}},qM={manageConfig:{title:"Manage {{type}} Configuration",description:"Configure {{level}} capacity and structure",organization:"Organization",unit:"Unit",selectUnit:"Select Unit",selectUnitPlaceholder:"Select a Unit",subOrganizations:"Sub-Organizations",employeesPerOrg:"Employees per Organization",subOrgsPlaceholder:"e.g. 3",employeesPlaceholder:"e.g. 20",addConfiguration:"Add Configuration",updateConfiguration:"Update Configuration",configurations:"Configurations",loading:"Loading...",noConfigurations:"No configurations added yet",edit:"Edit",delete:"Delete",close:"Close",unitBased:"unit-based",organizationLevel:"organization-level"}},VM={verifyIdentity:"Verify Your Identity",enterCodeSent:"Enter the verification code sent to your email",verifySubmission:"Verify Submission",enterCodeToSubmit:"Enter the verification code to submit your record",clearCode:"Clear Code",resendCode:"Resend Code",verifyingCode:"Please wait while we verify your code",verificationSuccess:"Verification successful!",verificationFailed:"Verification failed. Please try again."},HM={moveDepartement:"moveDepartement",positions:"Positions",selectPositions:"Selected Position",sealNameMsg:"Seal name is required",sealSuccessMsg:"Seal uploaded and registered successfully",sealErrorMsg:"Failed To Upload And Register Seal",sealRemove:"Seal removed successfully",seal:"Organization Seals",uploadSealMsg:"Upload and manage organization seals",sealImage:"Seal Image",addSeal:"Add Seal",noSealMsg:"No seals uploaded yet",addSealInstruction:"Click Add Seal to upload",sealName:"Seal Name",saveSeal:"Save Seal",letterTemplate:"Letter Templates",createMsg:"Create or edit templates registered under this unit",addTemplate:"Add Template",failedToLoadTemplates:"Failed To Load Templates",selectTemplate:"Select Template",updateTemplate:"Update Template",updateFled:"Update failed",createFled:"Create failed",templateSuccessMsg:"created successfully",failedToLoadHeaderFooter:"Failed To Load Headers/Footers",failedToDelete:"Failed To Delete",deleted:"Deleted",provideMsg:"Please provide both name and file",uploadSuccess:"Uploaded successfully",uploadFailed:"Upload failed",addHeaderFooter:"Add Header/Footer",name:"Name",internalSuffixCC:"Suffix CC",internalPrefixCC:"Prefix CC",internalPrefix:"Internal Prefix",externalPrefix:"External Prefix",internalMemoPrefix:"Internal Memo Prefix",reference:"The organization's standard reference number",externalReference:"Incoming letters' reference number",internalMemoReference:"Internal memo reference number",prefixCC:"Prefix CC",suffixCC:"Suffix CC",internalSuffix:"Internal Suffix",position:"Position",selectPosition:"Select Position",value:"Value",onlyPngAllowed:"Only PNG Files Are Allowed.",enterValue:"Enter Value",type:"Type",header:"Header",footer:"Footer",uploadFile:"Upload File",preview:"Preview",status:"Status",active:"Active",inactive:"Inactive",activate:"Activate",deactivate:"Deactivate",currentlyActive:"Currently Active",statusChanged:"Status changed successfully",statusChangeFailed:"Failed To Change Status",delete:"Delete",refNoRequired:"Reference number is required",nameRequired:"Both names are required.",recordTypeRequired:"Record type is required",deleteMsg:"Are you sure you want to delete this item?",filter:"Filter by record type",showCC:"Show CC items only",add:"Add Prefix/Suffix/Ref",addPrefix:"Add Reference Number",updateCount:"Update Count",currentCount:"Current Count",edit:"Edit",prefix:"Prefix",suffix:"Suffix",recordType:"Record Type",CC:"Is this for CC?",amharicName:"Amharic Name",englishName:"English Name",PrefixSuffix:"Prefix/Suffix/Reference List",positionPrefixes:"Position Reference Number",positionRequired:"Position is required",noRec:"No records found.",loading:"Loading...",bulkMsg:"Upload Excel file to import users in bulk",submitUsers:"Submit Users",selectFile:"Select File",count:"Count",posMissing:"Missing 'Positions' or 'Users' sheet.",invalidFile:"The uploaded file is empty or invalid.",parseSuccess:"File parsed successfully.",parseError:"Failed To Parse File.",noData:"No data found in the file.",Units:"Units",saving:"Saving...",teamMember:"Team Member",msg1:"No team members found",msg2:"Select a position to view team members",msg3:"Add team members to this department",msg4:"Navigate through departments to view team members",userDetail:"User Detail",editEmployee:"Edit Employee",noUnit:"No unit found",noOrg:"No organizations found",addUser:"Add User",addSubdepartement:"Add Sub-department",editDepartment:"Edit Department",moveDepartment:"Move Department",archiveDepartment:"Archive Department",deleteDepartment:"Delete Department",addUnit:"Add Unit",editUnit:"Edit Unit",addDepartment:"Add Department",deleteUnit:"Delete Unit",actions:"Actions",createUnit:"Create Unit",addFromSubCity:"Add From Sub City",addNewUnit:"Add New Unit",configuredUnitLimit:"Configured unit limit: {{max}}",linkedUnits:"Used",remainingSlots:"Remaining",checkingCapacity:"Checking configured capacity…",noCapacityConfigured:"No unit capacity configured for this organization. Ask the super admin to configure it in Manage Organization Configuration.",capacityReached:"Capacity limit reached. Configured maximum is {{max}}.",capacityReachedShort:"Limit reached — cannot create more units.",selectSubCity:"Select Sub City",selectSubCityFirst:"Select a sub city first",selectUnit:"Select Unit",noSubCities:"No sub cities found",subCityRequired:"Please select a sub city",unitRequired:"Please select a unit",parentUnitMissing:"Parent unit is missing",unitRelatedSuccess:"Unit related successfully",permissionType:"Permission Types",newPermission:"New Permission",permissionManagement:"Permission Management",exportTypes:"Export Types",exporting:"Exporting...",delMsg:"Are you absolutely sure?",delMsg2:"This action can not be undone. This will permanently delete the permission.",permission:"Permission",copyPermissionsFrom:"Copy permissions from",selectPositionToCopy:"Select a position type to copy permissions from",selectApplication:"Select an application",selectApplicationToLoadPermissions:"Select an application to load its permissions",copyPermissionsHint:"Pick an existing position type to pre-fill its permissions, then edit below.",copyPermissionsFailed:"Failed to copy permissions",perFailed:"Failed To Create Permission",perSuccess:"Permission type created and permissions assigned",updatePerSuccess:"Permission updated successfully",updatePerFailed:"Failed To Update Permission",permissionName:"Permission Name",key:"Key",createdAt:"Created At",updatedAt:"Updated At",createPermission:"Create Permission",keyRequired:"Key is required",selectPosType:"Select a Position Type",adding:"Adding...",msg:"added successfully",subDep:"Sub-department",parentDep:"Parent Department",invalidMsg:"Please correct the highlighted fields.",success:"Success",unit:"Unit",user:"User",firstName:"First Name",lastName:"Last Name",selectUser:" Select User",userRequired:"User is required",userRequiredMsg:"Please select a user to assign.",userError:"Selected user is invalid or not found.",userSuccess:"User assigned successfully",updated:"has been updated successfully",department:"Department",departmentRequired:"Department is required",departmentSuccess:"Department selected successfully",permissionSuccess:"Position type created and permissions assigned",permissionFailed:"Failed To Create Position",editRemark:"Edit Remark",addRemark:"Add Remark",commonRemarks:"Common Remarks",onlySquareAllowed:"The height and width of the seal must be the same(300x300)",searchPermissions:"Search permissions...",noPermissionsFound:"No permissions found matching your search",noPermissionsAvailable:"No permissions available",showingPermissions:"Showing {{count}} of {{total}} permissions",createTemplate:"Create Template",editTemplate:"Edit Template",viewTemplate:"View Template",deleteTemplate:"Delete Template",deleteTemplateConfirm:"Are you sure you want to delete the template '{{name}}'? This action cannot be undone.",noTemplates:"No templates found",sincerelyText:"Sincerely Text",body:"Body",headerAndFooter:"Header and Footer",CanReceiveRecord:"Can Receive Record"},WM={title:"Record Tags",tableName:"Record Tags",name:"Name",key:"Key",CreatedAt:"Created At",createNew:"Create new tag",createTitle:"Record Tag",Actions:"Actions"},GM={canHaveTagBasedReferenceNumber:"Can Have Tag Based Reference Number",canUserSkipLevel:"User Can Skip Level",canRecordDateLabelHasLocalization:"Does Record Date Label Have Localization?",canRecordDateHaveTime:"Can Record Date Have Time?",canInternalMemoRequirePositionBasedReferenceNumber:"Is Position Based Reference Number Required For Internal Memo?",title1:" Unit Configuration",title2:"Configure Scope For Each Unit",title4:"Configure Escalation Hour For Each Unit",loading:" Loading units...",noUnit:"No units found",Action:"Action",Value:"Value",Name:"Name",title3:"Position Scope To Fetch",title5:"Show Teeter and Signature For Assign Record",title6:"Wait for all collaborators before action?",canCreateDirectRecord:"Can Create Direct Record",canPositionBasedRecordsBeCreated:"Can Position Based Records Be Created ?",canPositionBasedReferenceBeUsedForAllTypes:"Can Position Based Reference Be Used For All Types?",shouldDirectRecordHaveHeaderAndFooter:"Direct Record Has Header And Footer",shouldCollaboratorAlwaysSign:"Collaborator Always Sign (Team Signature)",shouldIncludeForYourReferenceInCC:"Include For Your Reference in CC",canCollaborationBeCreatedForAll:"Can Collaboration Be Creeated For All Record Type?",canRecordBeEditedByCollaborators:"Allow Collaborators to Edit Record",canRecordHaveCollaboratorsName:"Show Collaborators' Names on Record",canRecordBeEditedOnWorkflow:"Allow Record Editing on Workflow",canIncomingAssignmentsBeSeparated:"Duplicate Incoming Letters based on assignment?",canROReturn:"Allow RO Return",internalMemoHasReferenceNumber:"Internal Memo Has Reference Number",enabled:"enabled",disabled:"disabled",editTitle:"Edit Position Scope",editMsg:"Change the position scope for this unit",msg1:"Organization ID not found. Please check your authentication.",msg2:"Loading position configurations...",positionConfig:" Position Configuration",positionConfigMsg:"Configure notification settings and workflow behavior for each position",add:" Add Configuration",create:"Create Position Configuration",position:"Position",select:"Select a position",select2:"Please select a unit first",plsSelect:"Please select a unit first to see available positions",positionScope:"Position Scope",all:"All",immediateChild:"Immediate Child",parallel:"Parallel with Immediate Child",notification:"Notification Settings",sms:" SMS Notification",smsMsg:"Send SMS when a record is submitted to this position",email:"Email Notification",emailMsg:"Send email when a record is submitted to this position",inbox:"Inbox Notification",inboxMsg:"Show inbox notification when a record is submitted to this position",workflow:"Workflow Settings",viewWF:"View Workflow",workflowMsg:"Skip Workflow If Not Assigned",workflowMsg1:"Skip workflow step if no one is assigned to this position",creating:"Creating...",createConfig:"Create Configuration",error:"Error loading position configurations:",retry:"Retry",SMS:"SMS",Inbox:"Inbox",skipWF:"Skip Workflow",delete:"Delete Configuration",deleteMsg:"Are you sure you want to delete this position configuration? This action cannot be undone.",edit:"Edit Position Configuration",updating:"Updating...",UpdateConfig:"Update Configuration",archivedUsers:" Archived Users",escalationTitle:"Escalation Configuration",escalationDescription:"Configure escalation hours for different letter types",loadingConfig:"Loading configuration...",loadError:"Error loading configuration",noConfigFound:"No configuration found",updateEscalationMsg:"Update the escalation hour value",saving:"Saving...",saveChanges:"Save Changes",escalationHour:"Regular Escalation Hour",urgentLetterEscalationHour:"Urgent Letter Escalation Hour",onReviewLetterEscalationHour:"Review Letter Escalation Hour",urgentOnReviewLetterEscalationHour:"Urgent Review Letter Escalation Hour",attachmentSignature:{badge:"Attachment Security",title:"Signature for Attachments",description:"Choose a unit and control whether attachments include a digital signature by default",unit:"Unit",selectUnit:"Select a unit",loadingUnits:"Loading units...",noUnitsFound:"No units found",unitHint:"This setting applies to the selected unit",toggleLabel:"Add Signature to Attachment",toggleDescription:"Automatically include a signature on uploaded attachments",status:"Status:",activeUnit:"Active unit:"}},KM={letterName:"File Name",Letter_Number:"Letter Number",ACtions:"Actions",Actions:"Actions",Date:"Date",From:"From",Subject:"Subject",subject:"Subject",referenceNumber:"Reference Number",FileName:"File Name",To:"To",fileName:"File Name",sendingOrganization:"Sending Organization",sendingDepartment:"Sending Department",dispatchedDate:"Date",submittedDate:"Date",Sending_Department:"Sending Department",dispatchedBy:"Converted By",Receiver:"Receiver",CreatedAt:"Date",createdAt:"Date",Status:"Status",status:"Status",organizationName:"Organization Name","Task Status":"Status",TaskStatus:"Status",taskStatus:"Status",delegateePosition:"Delegatee Position",delegateeEmployee:"Delegatee Employee",delegatedPosition:"Delegated Position",delegatedEmployee:"Delegated Employee",startDate:"Start Date",endDate:"End Date",isCurrent:"Status",signStatus:"Sign Status",title:"Title",color:"Color",description:"Description",image:"Image",featured:"Top News",category:"News Category",link:"link"},YM={title:"Pinned Documents",refreshButton:"Refresh",userInformation:"User Information",organizationName:"Organization Name",email:"Email",phoneNumber:"Phone Number",totalDocuments:"Total Documents",failedToLoadUserInfo:"Failed to load user information",document:{viewDocument:"View Document",requirements:"Requirements",optional:"(Optional)",required:"(Required)",noRequirements:"No specific requirements for this document",status:{approved:"approved",rejected:"rejected",pending:"pending"}},actions:{success:'Action "{action}" submitted successfully!',error:"Failed to submit action: {error}"}},XM={trigger:"Take Action",title:"Take Action on Document",labels:{selectAction:"Select Action",remark:"Remark (optional)",remarkPlaceholder:"Add a remark..."},actions:{approve:"Approve",adjustment:"Adjustment",reject:"Reject",pending:"Pending",submitted:"Submitted",selectPlaceholder:"Select action"},buttons:{cancel:"Cancel",submit:"Submit"},toast:{success:"Document {status}"}},QM={Dispatched:"Dispatched",Pending:"Pending",Approved:"Approved",Rejected:"Rejected",Completed:"Completed","In Progress":"In Progress",Draft:"Draft",Submitted:"Submitted","Under Review":"Under Review",Returned:"Returned",inActive:"InActive"},JM={searchAllEmployees:"Search All Employees",searchByNameEmailPhonePosition:"Search by name, email, phone, or position...",searchingEmployees:"Searching employees...",errorLoadingEmployees:"Error loading employees",noEmployeesFound:"No employees found",tryDifferentKeywords:"Try different keywords",startTypingToSearch:"Start typing to search employees",searchByNameEmailPhone:"Search by name, email, or phone number",showingResults:'Showing {{count}} of {{total}} results for "{{query}}"',searchUnits:"Search units...",searchDepartments:"Search departments...",searchEmployees:"Search employees...",noResults:"No results found",allEmployees:"All Employees",resendingVerification:"Resending verification code...",sendingInvitation:"Sending invitation...",verificationCodeResent:"Verification Code Resent",invitationSent:"Invitation Sent",verificationCodeSentTo:"A new verification code has been sent to {{name}}",invitationSentTo:"Invitation sent to {{name}}",failedToResend:"Failed To Resend Verification Code",failedToSendInvitation:"Failed To Send Invitation",confirmRemoveEmployee:"Are you sure you want to remove {{name}}? This action cannot be undone.",removeFunctionalityNotImplemented:"Remove functionality will be implemented with proper API integration"},ZM={title:"Deputy Leadership",subtitle:"Insights and updates from our deputy leadership team",previous:"Previous message",next:"Next message",defaultPosition:"Position",goToMessage:"Go to message {{index}}"},ej={title:"Leadership Message",subtitle:"Message from the Office Head",defaultPosition:"Position",addMessage:"Add Message"},tj="of",rj="Add Goal",nj="Organizational Goals",oj="Organizational Vision",ij="Add Vision",sj="Add News",aj="Add News Category",lj="News Category",cj="Modules",uj="Add Modules",dj="Social Media",fj="Add Social Media",pj="Contact Us",mj="Add Contact",hj="Organization's Theme",gj={featuredNewsTitle:"Featured News",featuredNewsSubtitle:"Stay updated with the latest developments, achievements, and innovations from our organization",searchPlaceholder:"Search news articles...",topStories:"Top Stories",readFullStory:"Read full story",readMore:"Read more",loadMoreNews:"Load More News",showLess:"Show Less",previousGoal:"Previous Goal",nextGoal:"Next Goal",noNewsFound:"No news found",tryAdjusting:"Try adjusting your search or filter criteria",readLess:"Read less"},yj={featuredNews:"Featured News",description:"Stay updated with the latest developments, achievements, and innovations from our organization",topStories:"Top Stories",allNews:"All News",noNewsFound:"No news found",noNewsFoundDesc:"Try adjusting your search or filter criteria",searchPlaceholder:"Search news articles...",readFullStory:"Read full story",readMore:"Read more",loadMoreNews:"Load More News",showLess:"Show Less",title:"Title"},vj={page:{smartOfficeTitle:"Smart Office Audit Log",smartOfficeSubtitle:"Monitor Smart Office activities"},actions:{refresh:"Refresh",export:"Export",cardView:"Card View",tableView:"Table View",cancel:"Cancel"},labels:{activityLogs:"Activity Logs",activitiesFound:"{{count}} activities found",ip:"IP"},messages:{missingModuleKey:"Missing module key for audit logs",logsLoaded:"Audit logs loaded",logsLoadFailed:"Failed to load audit logs",tryAgain:"Please try again.",exportingLogs:"Exporting {{count}} logs as {{format}}",loadingActivities:"Loading activities...",noActivitiesFound:"No activities found",adjustFilters:"Try adjusting your filters or search query to find what you're looking for."},filters:{dateRange:"Date range",clearFilters:"Clear filters",searchPlaceholder:"Search activities...",module:"Module",allModules:"All modules",action:"Action",allActions:"All actions",status:"Status",allStatuses:"All statuses",fromDate:"From date",toDate:"To date",last7Days:"Last 7 days",last30Days:"Last 30 days"},status:{success:"Success",failure:"Failure",warning:"Warning",pending:"Pending"},stats:{totalActivities:"Total Activities",successRate:"Success Rate",dailyAverage:"Daily Avg",uniqueUsers:"Unique Users",topActions:"Top Actions",times:"times"},export:{title:"Export Activity Logs",description:"Choose export options for your activity logs.",fileName:"File Name",fileNamePlaceholder:"Enter file name",format:"Export Format",includeDetails:"Include detailed information",includeDateRange:"Include date range in export"},table:{time:"Time",user:"User",action:"Action",description:"Description",module:"Module",severity:"Severity",status:"Status"},pagination:{showing:"Showing {{shown}} of {{total}} total activities",pageOf:"Page {{page}} / {{totalPages}}"},modal:{title:"Smart Office Audit Details",description:"Full returned audit item for ID: {{id}}",entity:"Entity",method:"Method",createdAt:"Created At",changes:"Changes",noChanges:"No changes available.",payload:"Payload",performedBy:"Performed By",field:"Field",changed:"Changed",noEffectiveChange:"No Effective Change",changedPaths:"Changed Paths",noDifference:"From and To are identical for this field.",previousFile:"Previous File",currentFile:"Current File",from:"From",to:"To",updatedDetails:"Updated details",itemsCount:"{{count}} item(s)",user:{name:"Name",email:"Email",phone:"Phone",status:"Status",userType:"User Type",registration:"Registration",complete:"Complete",incomplete:"Incomplete",roles:"Roles",noRoles:"No roles",employeeInfo:"Employee Info",rank:"Rank",noPermissions:"No permissions",noEmployeeDetails:"No employee details"}}},bj={configureStyles:"Configure Styles",sample:"Template Sample",generateSample:"Generate Sample",content:"Content",pdfPreview:"PDF Preview",saveSettings:"Save Settings",download:"Download",loadPayload:"Load Sample Payload",loadPayloadDescription:"Upload a JSON payload file to pre-fill the form with sample data",noTemplates:"No templates available",loadingTemplates:"Loading templates...",errorLoadingTemplates:"Error loading templates",errorLoadingTemplate:"Error loading template",errorLoadingSettings:"Error loading style settings",commonProperties:"Common Properties",quickPresets:"Quick Presets",fontSize:"Font Size",fontWeight:"Font Weight",fontFamily:"Font Family",textDecoration:"Text Decoration",listStyle:"List Style",width:"Width",height:"Height",margin:"Margin",padding:"Padding",advancedCSS:"Advanced CSS Editor",customCSS:"Custom CSS",noPdfInResponse:"No PDF in response",generatingSample:"Error generating sample",settingsSavedSuccessfully:"Settings saved successfully",errorSavingSettings:"Error saving settings",noCustomSettingsToSave:"No custom settings to save",downloadingPDF:"Downloading PDF...",downloadPDFSuccess:"PDF downloaded successfully",downloadPDFFailed:"Failed to download PDF",noPdfAvailable:"No PDF available",basicInfo:"Basic Information",recordType:"Record Type",external:"External",internal:"Internal",preferredLanguage:"Preferred Language",headerFooter:"Header & Footer",headerStyleSettings:"Header Style Settings",footerStyleSettings:"Footer Style Settings",subject:"Subject",subjectStyleSettings:"Subject Style Settings",date:"Date",body:"Body",bodyStyleSettings:"Body Style Settings",sincerelyText:"Sincerely Text",prefix:"Prefix",prefixStyleSettings:"Prefix Style",suffix:"Suffix",suffixStyleSettings:"Suffix Style",prefixCC:"Prefix CC",ccPrefixStyleSettings:"CC Prefix Style",suffixCC:"Suffix CC",ccSuffixStyleSettings:"CC Suffix Style",delegatorName:"Delegator Name",collaborators:"Collaborators",recipientsAndCC:"Recipients & CC",internalCC:"Internal CC",externalCC:"External CC",recipients:"Recipients"},wj={title:"Pending Employees",noPendingApprovals:"No pending approvals 🎉",reviewAll:"Review All",approve:"Approve",reject:"Reject",name:"Name",email:"Email",positions:"Positions",actions:"Actions",pending:"pending",loadingPendingEmployees:"Loading pending employees...",allRequestsReviewed:"All employee requests have been reviewed.",refresh:"Refresh",showingUpTo:"Showing up to 50 pending employees",employeeApproved:"Employee approved",employeeRejected:"Employee rejected",failedToApprove:"Failed to approve",failedToReject:"Failed to reject",employeeApprovedSuccess:"Employee approved successfully",employeeRejectedSuccess:"Employee rejected successfully"},Sj={commentRequired:"Comment is required"},xj={nav:oM,initiationType:iM,dashboard:sM,verification:aM,status:lM,welcome:cM,change_password:uM,sign_out:dM,view_profile:fM,user:pM,common:mM,migration:hM,collaboration:gM,profile:yM,complaint:vM,header:bM,"Document Attachments":"Document Attachments","Login Method":"Login Method","Sign Up":"Sign Up","Back to Home":"Back to Home",forgotpassword:wM,"Don't have an account?":"Don’t have an account? Not a system user?",addRecord:SM,"Preview Record":"Preview Record",preview:xM,print:CM,incomingRecord:RM,externalPortal:EM,userRecord:kM,statusBar:PM,userIncoming:AM,ApprovalPage:TM,viewDetail:NM,PDF:DM,shareViaEmail:OM,convert:_M,delegation:MM,signatureUpload:jM,assignment:LM,auth:FM,msg:IM,landingPage:UM,organization:$M,userIncomingretun:zM,registration:BM,superAdmin:qM,otp:VM,contentManagement:HM,recordTag:WM,setting:GM,toogle:KM,viewDocument:YM,actionModal:XM,"Select organization/unit":"Select organization/unit","Select the main file for the record":"Select the main file for the record",statusList:QM,search:JM,"Resend Invite":"Resend Invite",deputy:ZM,officeHead:ej,"Strategic Goal":"Strategic Goal",of:tj,"Our Strategic Goals":"Our Strategic","Go to goal":"to goal {{index}}: {{title}} go","Previous Goal":"Previous Goal","Next Goal":"Next Goal",addGoal:rj,Goals:nj,Vision:oj,addVision:ij,addNews:sj,addNewsCategory:aj,newsCategory:lj,modules:cj,addModules:uj,socialMedia:dj,addSocialMedia:fj,contactUs:pj,addContactUs:mj,theme:hj,featuredNews:gj,newssection:yj,auditLogShared:vj,template:bj,pendingUsers:wj,validation:Sj},Cj={addNew:"አዲስ ይጨምሩ",emptyState:"ምንም አልተገኘም",externalForYourReference:"ውጫዊ እንዲያውቁት",internal_memo:"የዉስጥ ማስታወሻ",dashboard:"ዳሽቦርድ",tagBasedReferenceNumber:"በመለያ የተመሰረተ ማጣቀሻ ቁጥር",branch:"ቅርንጫፍ",outgoing:"ወጪ መዝገቦች",incoming:"ገቢ",tagBasedReference:"በመለያ የተመሰረተ ማጣቀሻ ቁጥር",selectTag:"ምልክት ይምረጡ",non_smart_user:"የሲስተሙ ተጠቃሚ ያልሆኑ",external_non_smart_user:"ዉጫዊ ሲስተሙ ተጠቃሚ ያልሆኑ",external:"ዉጫዊ",internal:"ዉስጣዊ",cc:"ግልባጭ",forYourReference:"እንዲያውቁት",approval:"ማፅደቅ",pending:"በመጠባበቅ ላይ","Record Management":"የመዝገብ አስተዳደር",admin:"የሳይት አስተዳደር",modules:"ሞጁሎች",deputyMessage:"የምክትል አመራሮች መልእክት",officeHeadMessage:"የሃላፊ መልእክት",orgGoal:"የድርጅታዊ ግቦች",news:"ዜና",other:"ሌሎች",homePage:"ወደ መነሻ ገጽ",myRecord:"የእኔ መዝገቦች",submitRecord:"መዝገብ አስገባ",direct:"ቀጥታ"},Rj={title:"የመዝገብ ቅድመ እይታ",generating:"ቅድመ እይታ እየተዘጋጀ...",failed:"ቅድመ እይታ ማመንጨት አልተቻለም",retry:"እንደገና ይሞክሩ",close:"ዝጋ",print:"አትም",loading:"ቅድመ እይታ እየተጫነ...",error:"ቅድመ እይታ ማመንጨት አልተቻለም",networkError:"የኔትወርክ ስህተት ተከስቷል። እባክዎ ግንኙነትዎን ይፈትሹ እና እንደገና ይሞክሩ።",button:"ቅድመ እይታ",validationError:"ከቅድመ እይታ በፊት የማረጋገጫ ስህተቶችን ያስተካክሉ"},Ej={self:" በራስ",team:"በቡድን"},kj={totalOutgoing:"ጠቅላላ ወጪ",totalIncoming:"ጠቅላላ ገቢ",ccRecords:"ግልባጭ መዝገቦች",totalApproval:"ጠቅላላ ማረጋገጫ",lastUpdated:"መጨረሻ የተሻሻለበት",refresh:"አዘምን",refreshing:"በማዘመን ላይ...",never:"በየትኛውም ጊዜ አልዘመነም",approvalStats:"የማረጋገጫ ስታቲስቲቅሬታ ",externalIncoming:"ዉጫዊ ገቢ",internalIncoming:"ውስጣዊ ገቢ",incomingStats:"ገቢ ስታቲስቲቅሬታ ",outgoingStats:"ወጪ ስታቲስቲቅሬታ ",externalIncomingRecords:"ውጫዊ ገቢ መዝገቦች",internalIncomingRecords:"ውስጣዊ ገቢ መዝገቦች",advanced:"አድቫንስድ ዳሽቦርድ",status:{inProgress:"በሂደት ላይ",accepted:"ተቀባይነት ያገኘ",reassigned:"በድጋሚ የተመደበ",draft:"ረቂቅ",forward:"ላክ",approved:"ፀድቋል",rejected:"ውድቅ የተደረገ",adjusted:"የተስተካከለ",sent:"ተልኳል",approve:"አረጋግጥ"},Percentage:"መቶኛ",Count:"ብዛት",Status:"ሁኔታ",Total:"ጠቅላላ",pieChart:"ፓይ ቻርት",barChart:"ባር ቻርት",table:"ሰንጠረዥ",monthlyIncoming:"ወርሃዊ የገቡ ደብዳቤዎች",monthlyOutgoing:"ወርሃዊ የወጡ ደብዳቤዎች",totalInVsOut:"ጠቅላላ የግባ እና የመውጫ ደብዳቤዎች",monthlyInVsOut:"ወርሃዊ የግባ እና የመውጫ ደብዳቤዎች",weeklyInVsOut:"ሳምንታዊ የግባ እና የመውጫ ደብዳቤዎች",dailyInVsOut:"ዕለታዊ የግባ እና የመውጫ ደብዳቤዎች",exportPdf:"PDF አውርድ",exporting:"በማውረድ ላይ...",print:"አትም",exportFormat:"በዚህ ፎርማት አዉርድ",selectFormat:"ፎርማት ይምረጡ",totalEmployees:"ጠቅላላ ሰራተኞች",totalUnits:"ጠቅላላ ክፍሎች",totalPositions:"ጠቅላላ የተጠቃሚ ፍቃዶች",totalDocuments:"ጠቅላላ ሰነዶች",organizationDashboard:"የድርጅት ዳሽቦርድ",overviewDescription:"የድርጅትዎ አፈጻጸም እና እንቅስቃሴዎች አጠቃላይ እይታ",quickActions:"ፈጣን እርምጃዎች",contentManagement:"የይዘት አስተዳደር",userManagement:"የተጠቃሚ አስተዳደር",exportUserData:"የተጠቃሚ መረጃ አውርድ",recentActivities:"ቅርብ ጊዜ እንቅስቃሴዎች",selectUnit:"ክፍል ይምረጡ",loadingUnits:"ክፍሎችን በመጫን ላይ...",refreshData:"መረጃ አዘምን",noUnitsFound:"ምንም ክፍል አልተገኘም",organizationIdRequired:"የድርጅት መለያ ያስፈልጋል",exportError:"ማውረድ አልተሳካም። እባክዎን እንደገና ይሞክሩ።",uploadHeader:"አዲስ የራስጌ ምስል ተሰቀለ",updateSeal:"የድርጅት ማህተም ተዘመነ",removeFooter:"የግርጌ ምስል ተወገደ",twoHoursAgo:"2 ሰዓት በፊት",fiveHoursAgo:"5 ሰዓት በፊት",oneDayAgo:"1 ቀን በፊት",orgMsg:"የድርጅትዎ ስታቲስቲቅሬታ ና እንቅስቃሴዎች አጠቃላይ እይታ",errorMsg:"የድርጅቱን መረጃ ማከተል ላይ ስህተት ተፈጥሯል። እባክዎ ገፁን በድጋሚ ያድሱ።",contentManagementDesc:"ራስጌዎችን፣ ግርጌዎችን እና ማህተሞችን ያስተዳድሩ",userManagementDesc:"ተጠቃሚዎችን እና ክፍሎችን ያስተዳድሩ",excelUploader:"የኤክሴል አፕሎደር",excelUploaderDesc:"ከኤክሴል በጅምላ ተጠቃሚዎችን ያስመጡ",positionSettings:"የቦታ ቅንብሮች",positionSettingsDesc:"የድርጅት ቦታዎችን ያዋቅሩ",archiveUsers:"ተጠቃሚዎችን አርካይቭ ያድርጉ",archiveUsersDesc:"የተቀመጡ የተጠቃሚ መለያዎችን ያስተዳድሩ",createTemplate:"ቴምፕሌት ይፍጠሩ",editTemplate:"ቴምፕሌት ያርትዑ",viewTemplate:"ቴምፕሌት ይመልከቱ",deleteTemplate:"ቴምፕሌት ይሰርዙ",deleteTemplateConfirm:"'{{name}}' ቴምፕሌትን መሰረዝ እርግጠኛ ነዎት? ይህ ድርጊት መልሰው ማድረግ አይችሉም።",noTemplates:"ምንም ቴምፕሌቶች አልተገኙም",sincerelyText:"የመዝጊያ ጽሁፍ",body:"ይዘት",close:"ዝጋ",deleting:"በመሰረዝ ላይ...",delete:"ሰርዝ"},Pj={pending:"ማረጋገጫ በመጠባበቅ ላይ",message:"የእርሶ ምዝገባ በማረጋገጫ ሂደት ላይ ነው። 24 ሰዓታት ካለፉ እና መለያዎ አሁንም ካልተረጋገጠ እባክዎን ያግኙን።",contactSupport:"ድጋፍ ያግኙ"},Aj="እንኳን ደህና መጣህ",Tj="የይለፍ ቃል ለውጥ",Nj="ውጣ",Dj="መገለጫን እይ",Oj="ተጠቃሚ",_j={back:"ተመለስ",Back:"ተመለስ",View:"ይመልከቱ",today:"ዛሬ",yesterday:"ትናንት",unknownUser:"ያልታወቀ ተጠቃሚ",Cancel:"ሰርዝ",yes:"አዎ",no:"አይ",na:"የለም",None:"ምንም",cancel:"ሰርዝ",Confirm:"ያድርጉ",Submit:"መዝግብ",save:"መዝግብ",saveAsDraft:"ረቂቅ ያስቀምጡ",noResult:"ምንም ውጤት የለም",create:"ፍጠር",update:"አዘምን",Edit:"አስተካክል",Unselect:"አላማደረግ",loading:"በመጫን ላይ",DeactivateUser:"ተጠቃሚ አስወግድ",Delete:"አጥፋ",ConfirmDelete:"ማጥፋትን ያረጋግጡ",subject:"ርዕሰ ጉዳይ",notAvailable:"አልተገኘም",status:"ሁኔታ",createdDate:"የተፈጠረው በ",dispatchedDate:"የተላከበት ቀን",referenceNumber:"ማጣቀሻ ቁጥር",name:"የአብነት ስም",close:"ዝጋ",delete:"አጥፋ",actions:"ድርጊቶች",verify:"ያረጋግጡ",previous:"ቀዳሚ",next:"ሚቀጥለው",showing:"ያሳያል",to:"ወደ",of:"ከ",verifying:"እየረጋገጠ...",viewReply:"መልስ ደብዳቤ ይመልከቱ",Migrate:"ፈልስ",page:"ገጽ",adopt:"ይቀበሉ",Deleting:"በማጥፋት ላይ...",DeletedSuccessfully:"በተሳካ ሁኔታ ተሰርዟል",FailedToDelete:"ማጥፋት ያልተሳካ",DeleteConfirmationMessage:'"{{name}}" መሰረዝ እንደሚፈልጉ እርግጠኛ ነን? ይህ ድርጊት መቀየር አይቻልም።',addReply:"ምላሽ ጨምር",replies:"ምላሾች",replyAttachments:"የምላሽ አባሪዎች",mockDownload:"የተመሰለውን አባሪ በማውረድ ላይ፡ ",noReplies:"እስካሁን ምንም ምላሽ አልተጨመረም።",replyMessage:"የምላሽ መልዕክት",replyPlaceholder:"የምላሽ መልዕክት ወይም አስተያየትዎን እዚህ ይጻፉ...",attachments:"አባሪዎች",uploadMessage:"ለመስቀል ጠቅ ያድርጉ ወይም ጎትተው ይጣሉ",uploadFormats:"PDF፣ PNG፣ JPG፣ ZIP (ከ10MB ያልበለጠ)",submitting:"በማስገባት ላይ...",submit:"አስገባ",comment:"አስተያየት"},Mj={inProgress:"በሂደት ላይ",done:"ተጠናቋል",all:"ሁሉም",list:"ትብብሮች",comment:"አስተያየት",comments:"አስተያየቶች",commentTitle:"የትብብር አስተያየቶች",commentDialogDescription:"ሁሉንም የተባባሪዎች አስተያየቶች እዚህ ይመልከቱ። እስካሁን አስተያየት ካልሰጡ ከታች ያክሉ።",commentRequired:"አስተያየቱ ባዶ መሆን አይችልም።",commentSubmitted:"አስተያየቱ ተልኳል።",commentUpdated:"አስተያየቱ በተሳካ ሁኔታ ተዘምኗል።",commentDeleted:"አስተያየቱ በተሳካ ሁኔታ ተሰርዟል።",commentExists:"በዚህ የመዝገብ ስሪት ላይ አስቀድመው አስተያየት ሰጥተዋል።",commentsEmpty:"እስካሁን ምንም አስተያየት አልተጨመረም።",commentsCount:"{{count}} አስተያየት(ዎች)",commentsEmptyState:"ተባባሪዎች አስተያየት መስጠት ሲጀምሩ አስተያየታቸው እዚህ ይታያል።",reviewedCount:"{{count}} ተባባሪ(ዎች) ግምገማ አድርገዋል",unknownUser:"ያልታወቀ ተጠቃሚ",yourComment:"የእርስዎ አስተያየት",edited:"ተስተካክሏል",commentPlaceholder:"አስተያየትዎን ይጻፉ...",addComment:"አስተያየትዎን ያክሉ",singleCommentRule:"ለአሁኑ የመዝገብ ስሪት አንድ አስተያየት ብቻ ማስገባት ይችላሉ።",postComment:"አስተያየት ላክ",deleteCommentTitle:"አስተያየቱን ልሰርዝ?",deleteCommentDescription:"ይህ ያሁኑን አስተያየትዎን ያስወግዳል። ከዚያ በኋላ አዲስ አስተያየት እንደገና ማከል ይችላሉ።",close:"ዝጋ",edit:"አስተካክል",adjust:"አስተካክል ላክ",adjustSubmitted:"የማስተካከያ ጥያቄው በተሳካ ሁኔታ ተልኳል።",adjustFailed:"የማስተካከያ ጥያቄውን መላክ አልተሳካም።",adjustCommentMissing:"ለማስተካከያ የሚጠቀም አስተያየት አልተገኘም።"},jj={loading:"መገለጫ በመጫን ላይ...",error:"መገለጫ መጫን አልተቻለም",tryAgain:"እንደገና ይሞክሩ",noName:"ስም የለም",signOut:"ይውጡ",email:"ኢሜይል",sessions:"Sessions",accountSafety:"የመለያ ደህንነት",twoFactorAuth:"ድርብ-ደህንነት",twoFactorDesc:"ተጨማሪ የደህንነት ንጣፍ ያክሉ",enabled:"የተገለጸ",disabled:"የተጠፋ",userType:"የተጠቃሚ አይነት",userTypes:{employee:"ሰራተኛ",admin:"አስተዳዳሪ",user:"ተጠቃሚ",super_admin:"ሱፐር አስተዳዳሪ"},passwordSet:"የይለፍ ቃል ተመስርቷል",status:{accepted:"ተቀባይነት አግኝቷል"},positionDetails:"የስራ መደብ ዝርዝሮች",positionName:"የስራ መደብ ስም",positionKey:"የስራ መደብ ቁልፍ",isDelegate:"ተወካይ ነው",employeeId:"የሰራተኛ መታወቂያ",permissions:"ፈቃዶች",noPermissions:"ፈቃዶች አልተመደቡም",accountSecurity:"የመለያ ደህንነት",password:"የይለፍ ቃል",passwordSetStatus:"የይለፍ ቃል ተመስርቷል",passwordNotSetStatus:"የይለፍ ቃል አልተመሰረተም",changePassword:"የይለፍ ቃል ይቀይሩ",updateProfile:"መገለጫ አዘምን",profile:"መገለጫ",recentActivity:"የቅርብ ተግባራት",activity:{login:"ገብተዋል",passwordChanged:"የይለፍ ቃል ተቀይሯል"},username:"እባክዎ የተጠቃሚ ስም ያስገቡ",phoneNumber:"እባክዎ የስልክ ቁጥር ያስገቡ",emailmsg:"እባክዎ ኢሜል ያስገቡ",englishName:"እባክዎ ስሙን በእንግሊዝኛ ያስገቡ",amharicName:"እባክዎ ስሙን በአማርኛ ያስገቡ",usernameRequired:"የተጠቃሚ ስም ያስፈልጋል",emailRequired:"ኢሜይል ያስፈልጋል",validEmailFormat:"ትክክለኛ የኢሜይል ቅርጸት ያስገቡ",phoneRequired:"ስልክ ቁጥር ያስፈልጋል",validPhoneFormat:"ትክክለኛ የስልክ ቁጥር ቅርጸት ያስገቡ",amharicNameRequired:"አማርኛ ስም ያስፈልጋል",englishNameRequired:"እንግሊዝኛ ስም ያስፈልጋል",profileUpdateSuccess:"መገለጫዎ በትክክል ተቀይሯል",profileUpdated:"መገለጫዎ ተቀይሯል",profileUpdateFailed:"መገለጫ ማሻሻል አልተሳካም",updating:"በማሻሻል ላይ..."},Lj={title:"የቅሬታ ቅጽ ያስገቡ",subtitle:"ለመርዳት እንዘጋጅለዋለን። በትክክል መረጃ ይስጡን እንድንረዳዎት።",formTitle:"የቅሬታ ቅጽ",fullName:"ሙሉ ስም",phone:"ስልክ ቁጥር",subCity:"ክፍለ ከተማ",woreda:"ወረዳ",houseNumber:"የቤት ቁጥር",institution:"ተቋም",place:"የቅሬታ ቦታ",details:"የቅሬታ ዝርዝር",want:"የሚፈለገው መፍትሄ",evidence:"ማስረጃ (ከተፈለገ)",selectedFiles:"የተመረጡ ፋይሎች",disclaimerTitle:"አስፈላጊ ማስታወቂያ",disclaimerText:"ይህን ቅጽ በማስገባት የሰጡት መረጃ ትክክል እንደሆነ ታረጋገጡ። የተሳሳተ ቅሬታ የህግ እርምጃ ሊወሰድበት ይችላል።",accept:"ማስታወቂያውን አንብቤ ተቀብያለሁ",submit:"ቅሬታ ያስገቡ",submitting:"በመላክ ላይ...",success:"ቅሬታዎ በተሳካ ሁኔታ ተልኳል",keepId:"እባኮትን የቅሬታ መለያዎን ለወደፊት ያዝዙት፡",close:"ዝጋ",back:"ተመለስ",followTitle:"ቅሬታ መከታተያ",selectCompliant:"ቅሬታ ይምረጡ",noEvidence:"ማስረጃ የለም",followSubtitle:"እኛ እርስዎን ለመደገፍ እዚህ መጥተናል - የአቤቱታዎን ሂደት እዚህ ይከታተሉ",compliantId:"የቅሬታ መከታተያ ቁጥር",enterComNum:"የቅሬታ መከታተያ ቁጥር ያስገቡ",message:"ምላሽ",complaintNo:"የቅሬታ ቁጥር",errorMsg:"ቅሬታ ማምጣት አልተቻለም። እባክዎን የቅሬታ መከታተያ ቁጥሮን አረጋግጠው እንደገና ይሞክሩ።"},Fj={tigrigna:"Tigrigna",affar:"Affar",somali:"Somali",oromo:"ኦሮምኛ",user:"ተጠቃሚ",management:"አስተዳደር",notifications:"ማስታወቂያዎች",english:"እንግሊዝኛ",englishShort:"ENG",amharic:"አማርኛ",amharicShort:"አማ",french:"ፈረንሳይኛ",frenchShort:"FR",viewProfile:"መገለጫ ይመልከቱ",changePassword:"የይለፍ ቃል ይቀይሩ",signOut:"ይውጡ",settings:"ቲተርና ፊርማ",addTeeter:"ቲተርና ፊርማ ያክሉ",Remark:"የተለመዱ ምላሾች",Description:"ዝርዝር",navigation:{dashboard:"ዳሽቦርድ",outgoing:"ወጪ",incoming:"ገቢ",approval:"ማፅደቅ",delegation:"ዉክልና",pending:"በመጠባበቅ ላይ",settings:"ቲተርና ፊርማ",collaborations:"ትብብር",collaboration:"ትብብሮች"},editProfile:"መገለጫ አስተካክል"},Ij={migratedData:"የፈለሱ መዝገቦች",selectunit:"የፈለሱ መዝገቦች",title:"የስራ መደብ ፍልሰት",fromPositionType:"ከ ስራ መደብ",toPositionType:"ወደ ስራ መደብ",selectSourcePositionType:"የመነሻ ስራ መደብ ይምረጡ...",selectTargetPositionType:"የመድረሻ ስራ መደብ ይምረጡ...",migrationPath:"ፍልሰት",migrateAllPositions:"ሁሉንም ቦታዎች ፈልስ",confirmMigration:"ፍልሰትን ያረጋግጡ",migrateAllDescription:"ይህ ሁሉንም ቦታዎች ከ {{fromName}} ወደ {{toName}} ይፈልሳል። ይህ ድርጊት መልሰው ማድረግ አይችሉም።",yesMigrateAll:"አዎ፣ ሁሉንም ፈልስ",migrateSelectedPositions:"የተመረጡ ቦታዎችን ፈልስ",selectPositionsToMigrate:"ለመፈለስ ቦታዎችን ይምረጡ",searchPositions:"ቦታዎችን ፈልግ...",selected:"ተመርጧል",noPositionsFound:"ምንም ቦታዎች አልተገኙም",noPositionsAvailable:"ምንም ቦታዎች የሉም",migrateSelectedButton:"የተመረጡ ቦታዎችን ፈልስ ({{count}})",confirmSelectedMigration:"የተመረጡ ፍልሰትን ያረጋግጡ",migrateSelectedDescription:"{{count}} የተመረጡ ቦታዎችን ከ {{fromName}} ወደ {{toName}} ለመፈለስ ነው።",selectBothPositionTypes:"እባክዎ ሁለቱንም ከ እና ወደ ስራ መደብ ይምረጡ",selectAtLeastOnePosition:"እባክዎ ቢያንስ አንድ ቦታ ይምረጡ",allPositionsMigratedSuccess:"ሁሉም ቦታዎች በተሳካ ሁኔታ ተፈልሰዋል",failedToMigratePositions:"ቦታዎችን መፈለስ አልተሳካም",selectedPositionsMigratedSuccess:"{{count}} ቦታ(ዎች) በተሳካ ሁኔታ ተፈልሰዋል",failedToMigrateSelectedPositions:"የተመረጡ ቦታዎችን መፈለስ አልተሳካም"},Uj={"Reference Number":"Reference Number","Enter Reference Number":"Enter Reference Number","Record Tags":"Record Tags","Select Record Tags":"የመዝገብ መለያዎችን ይምረጡ",SelectedReceivingUnits:"የተመረጡ ",EditRecord:"መዝገቡን አስተካክል","Record Type":"የመዝገብ አይነት","Select Record Type":"የመዝገብ አይነትን ይምረጡ","Initiation Type":"የማስጀመሪያ ዓይነት","Select Initiation Type":"የማስነሻ አይነትን ይምረጡ","Receiving Unit":"ተቀባይ ክፍል",editIncomingRecord:"መዝገብ አስተካክል","Select Receiving Units":"ተቀባይ ክፍልን ይምረጡ",Prefix:"ቅድመ ቅጥያ","Select Prefix":"ቅድመ ቅጥያ ይምረጡ","Non Smart Receiving Unit":"እስማርት ኦፊስ ሲስተም ተጠቃሚ ያልሆኑ (ተቀባይ)","Enter Non Smart Receiving Organization":"እስማርት ኦፊስ ሲስተም ተጠቃሚ ያልሆኑ (ተቀባይ) አስገባ","To Departments":"ተቀባይ ክፍሎች (በስራ መደብ መጠሪያ)","Select Department":"ክፍሎችን ይምረጡ","Preferred Language":"የደብዳቤ ቋንቋ","Select Language":"የደብዳቤ ቋንቋን ይምረጡ",Suffix:"ድህረ ቅጥያ","Select Suffix":"ቅጥያ ይምረጡ","Position Prefix":"የስራ መደብ ቅድመ ቅጥያ","Select Position Prefix":"የስራ መደብ ቅድመ ቅጥያ ይምረጡ (ተራ)",Subject:"ርዕሰ ጉዳይ","Enter Subject":"ርዕሰ ጉዳይ አስገባ","Letter Template":"የተመለዱ የደብዳቤ ቅጽዎች","Select Letter Template":"የተመለዱ የደብዳቤ ቅጽዎች ይምረጡ",Body:"የደብዳቤ ይዘት","External CC":"ውጫዊ ግልባጭ","Select External CC":"ውጫዊ ግልባጭ ይምረጡ","External FYR":"ውጫዊ እንዲያውቁት","Select External FYR":"ውጫዊ እንዲያውቁት ይምረጡ","Internal CC":"ውስጣዊ ግልባጭ(በስራ መደብ)","Select Internal CC":"ውስጣዊ ግልባጭ ይምረጡ","Non Smart CC Unit":"ስማርት ኦፊስ የማይጠቀሙ ግልባጭ ክፍል","Non Smart FYR Unit":"ስማርት ኦፊስ የማይጠቀሙ እንዲያውቁት ክፍል","Enter Non Smart CC Organization":"ስማርት ኦፊስ የማይጠቀሙ ግልባጭ ክፍል አስገባ","Enter Non Smart FYR Organization":"ስማርት ኦፊስ የማይጠቀሙ እንዲያውቁት ክፍል አስገባ",Cancel:"ሰርዝ",Add:"+ መዝግብ",English:"እንግሊዝኛ",Amharic:"አማርኛ",Header:"የደብዳቤው ሄደር","Select Header":"ሄደር ይምረጡ","No Header":"ሄደር የለም",Footer:"የደብዳቤዉ ፉተር","Select Footer":"ፉተር ይምረጡ","No Footer":"ፉተር የለም",Collaborators:"ቡድን","Select Collaborators":"ቡድን ምረጥ","Sincerely Text":"መዝጊያ ቃል","Enter Sincerely Text":"መዝጊያ ቃል ያስገቡ",record:"መዝገብ",attachment:"አባሪ",failedToCreateRecord:"መዝገቡን መፍጠር አልተቻለም",recordSubmittedSuccessfully:"መዝገቡ በተሳካ ሁኔታ ተገብሯል።",createRecordFirst:"አባሪ ለማካተት መጀመሪያ መዝገብ ይፍጠሩ።",previous:"ወደ ኋላ",submit:"አስገባ",recordNotCreatedYet:"መዝገቡ እስካሁን አልተፈጠረም።",submitting:"እየሰራሁ ነው...","Enter CC Prefix":"የግልባጭ ቅድመ ቅጥያ ያስገቡ","CC Prefix":"የግልባጭ ቅድመ ቅጥያ","Enter CC Suffix":"የግልባጭ ቅጥያ ያስገቡ","CC Suffix":"የግልባጭ ድህረ ቅጥያ","Receiving Users":"ተቀባይ ባለሙያ","Select Receiving Users":"ተቀባዮችን ይምረጡ",ccUsers:"ዉስጣዊ ግልባጭ (በስም)",selectCCUsers:"ግልባጭ የሚደረግላቸውን ባለሙያ ይምረጡ",refreshOptions:"አዘምን አማራጮች",isTeamSig:"በቡድን ፊርማ ነው?",letterName:"የፋይል ስም",addLetterName:"የፋይል ስም አስገባ",MarkUrgent:"አስቸኳይ አድርግ",UnmarkUrgent:"አስቸኳይ አታድርግ",MarkUrgentDialogTitle:"ይህን መዝገብ እንደ አስቸኳይ ልክ ልታመልክቱት ትፈልጋለህ?",MarkUrgentDialogDescription:"ይህን ደብዳቤ አስቸኳይ ካደረጉ በሁዋላ መመለስ አይችሉም።",UnmarkUrgentDialogTitle:"ይህን መዝገብ ከአስቸኳይ ዝርዝር ማስወገድ ትፈልጋለህ?",UnmarkUrgentDialogDescription:"ይህ መዝገብ እንደ አስቸኳይ አይታይም።","Edit Mode":"የማስተካከያ ሁነታ","Create Mode":"የደብዳቤ ማርቀሪያ ፎርም","Edit Record":"ደብዳቤ አስተካክል","Create New Record":"አዲስ ደብዳቤ አርቅቅ","Fill in the details below":"ዝርዝሮቹን ከዚህ በታች ይሙሉ","Basic Information":"መሰረታዊ መረጃ",enterBasicDetails:"የደብዳቤዎን መሰረታዊ ዝርዝሮች ያስገቡ","Creation Type":"የመፍጠሪያ አይነት","Select Creation Type":"የመፍጠሪያ አይነት ይምረጡ",Recipients:"ተቀባዮች",specifyRecipients:"ደብዳቤዉን ማን እንደሚቀበል ይግለጹ","Template & Formatting":"የተለመዱ ቅጽዎች ፥ ሄደርና ፉተር ",customizeAppearance:"የደብዳቤዎን ቅርፅ ያስተካክሉ","Loading Headers...":"ራስጌዎች በመጫን ላይ...","Loading Footers...":"ግርጌዎች በመጫን ላይ...","Letter Content":"የደብዳቤ ይዘት",writeLetterContent:"የደብዳቤዎን ይዘት ይጻፉ","Header Preview":"የራስጌ ቅድመ እይታ","Footer Preview":"የግርጌ ቅድመ እይታ","Carbon Copy (CC)":"ግልባጭ (CC)",addCCRecipients:"ግልባጭ ተቀባዮችን ያክሉ",forYourReference:"እንዲያውቁት",selectForYourReference:"እንዲያውቁት ክፍሎችን ይምረጡ","Enter Non Smart CC Organization":"ስማርት ያልሆነ CC ድርጅት ያስገቡ",Attachments:"ተያያዥ ፋይሎች",uploadSupportingDocuments:"ተያያዥ አባሪ መዝገቦችን ያያይዙ",personal:"በግለሰብ",Position:"በስራ መደብ",formHasErrors:"ከማስገባትዎ በፊት በቅጹ ላይ ያሉትን ስህተቶች ያርትዑ",processingRequest:"ደብዳቤዉን እየፈጠርን ስለሆነ እባክዎን ትንሽ ይጠብቁ...",letterInformation:"የደብዳቤዉ መረጃ",organizationInformation:"የላኪ ድርጅት መረጃ",skipOneLevel:"አንድ ደረጃ ዝለል","Enter Non Smart FYR Organization":"ስማርት ኦፊስ የማይጠቀሙ እንዲያውቁት ክፍል ያስገቡ"},$j={createdSuccess:"የመጪ ደብዳቤ በተሳካ ሁኔታ ተፈጥሯል",updatedSuccess:"የመጪ ደብዳቤ በተሳካ ሁኔታ ተዘምኗል",UpdatedSuccessfully:"በተሳካ ሁኔታ ዘምኗል"},zj={letterSentSuccess:"ደብዳቤው በተሳካ ሁኔታ ተልኳል"},Bj={All:"ሁሉም",createAndForward:"ፍጠር እና ላክ",createAndApprove:"ፍጠር እና አጽድቅ",updateAndForward:"አዘምን እና ላክ",updateAndApprove:"አዘምን እና አጽድቅ",recordCreatedAndForwarded:"ሰነዱ ተፈጥሮ ተልኳል",recordUpdatedAndForwarded:"ሰነዱ ተዘምኖ ተልኳል",recordCreatedReadyToApprove:"ሰነዱ ተፈጥሯል — ለማጽደቅ ማህተም እና ፊርማ ይምረጡ",recordUpdatedReadyToApprove:"ሰነዱ ተዘምኗል — ለማጽደቅ ማህተም እና ፊርማ ይምረጡ","The main file must be a PDF document":"The main file must be a PDF document",storageUploadFailed:"ፋይሉን መጫን አልቻልንም። እባክዎ እንደገና ይሞክሩ።",History:"ገቢ ማህደር",Draft:"ረቂቅ",Submitted:"ወደፊት የተላከ",Accepted:"ተቀባይነት ያገኘ",Approved:"የፀደቀ",Rejected:"ዉድቅ የተደረገ",Returned:"የተመለሰ",Adjustment:"ማስተካከያ","Team Signature":"ፊርማዎች በመጠባበቅ ላይ",Sent:"የተላከ",Letters:"ደብዳቤዎች","External Outgoing":"ወደ ውጭ የሚላኩ","Internal Outgoing":"ወደ ውስጥ የሚላኩ",To:"ወደ",nonSmartReceiverName:"ስማርት ኦፊስ ተጠቃሚ ያልሆነ",ReceiverPosition:"ተቀባይ ክፍል",ReceiverEmployee:"ተቀባይ ባለሞያ",ReceiverUnit:"ተቀባይ ቢሮ",Subject:"ርዕሰ ጉዳይ",Date:"ቀን",Search:"ፈልግ","Add Record":"ደብዳቤ አርቅቅ","Error loading records.":"መዝገቦችን ማግኘት ስህተት አለ።","Receiver Info":"ተቀባይ","No receivers":"ተቀባዮች የሉም","No receiving unit":"የመቀበያ ክፍል የለም",Status:"ሁኔታ",Send:"ቀጥታ","Send Directly":"ቀጥታ ላክ",Actions:"ተግባራት","View Detail":"ዝርዝር ይመልከቱ",MakeRecordSecure:"ደብዳቤ መስጥር",UnsecureRecord:"መዝጊያውን ክፈት",RecordSecuredSuccess:"መዝጊያው በተሳካ ሁኔታ ተቋቋመ።",RecordSecureFailed:"መዝጊያውን ማድረግ አልተሳካም።",RecordUnsecuredSuccess:"መዝጊያው በተሳካ ሁኔታ ተከፍቷል።",RecordUnsecureFailed:"መዝጊያውን መክፈት አልተሳካም።",recordSecuredSuccess:"ደብዳቤው ምስጢራዊ ሆኗል።",recordUnsecuredSuccess:"ደብዳቤው ከምስጢራዊነት ተወግዷል።",recordMarkedUrgentSuccess:"ደብዳቤው አስቸኳይ ተደርጓል።",recordUrgencyClearedSuccess:"የደብዳቤው አስቸኳይነት ተወግዷል።",SecureDialogTitle:"ደብዳቤዉን ምስጢራዊ ያድርጉ?",SecureDialogDescription:"ደብዳቤዉን ምስጢራዊ ካደረጉ በሁዋላ መመለስ አይችሉም።",UnsecureDialogTitle:"መዝጊያውን መክፈት ትፈልጋለህ?",UnsecureDialogDescription:"ይህ መዝጊያውን ይከፍታል እና እንደገና ማስተካከል ይፈቅዳል።","Open actions menu":"የተግባር ምናሌን ክፈት",Approve:"አጽድቀው",Forward:"ላክ",Edit:"አስተካክል",Delete:"ሰርዝ",Download:"አውርድ","Record approved successfully!":"መዝገቡ በተሳካ ሁኔታ ተፅድቋል!","Record rejected successfully!":"መዝገቡ ውድቅ ሆኗል","Failed to approve record.":"መዝገቡን ማጽደቅ አልተቻለም።","Approve Record":"መዝገቡን አጽድቅ","Record is deleted successfully":"መዝገቡ በተሳካ ሁኔታ ተሰርዟል","Confirm Delete":"ማጥፋትን ያረጋግጡ","Delete Record":"መዝገቡን ሰርዝ",Downloaded:"አዉርድ","Download Record PDF":"የመዝገቡን PDF አውርድ","Failed to download PDF.":"PDF ማውረድ አልተሳካም።","Download successful!":"ማውረድ በተሳካ ሁኔታ ተጠናቋል!","Confirm Forward":"ማስተላለፍን ያረጋግጡ","Forward Record":"መዝገቡን ላክ","Failed to forward the record":"መዝገቡን ማስተላለፍ አልተሳካም።","Record forwarded successfully":"መዝገቡ በተሳካ ሁኔታ ተላክ።","Confirm Approve":"አጽድቅን ያረጋግጡ",Reference:"የድርጅቱ የተለመደ ማጣቀሻ ቁጥር",ExternalReference:"የገቢ ደብዳቤዎች ማኣቀሻ ቁጥር",InternalMemoReference:"የዉስጥ ማስታወሻ ደብዳቤዎች ማጣቀሻ ቁጥር","Reference Number":"ማጣቀሻ ቁጥር","Enter the subject of the letter":"የደብዳቤውን ርዕስ ያስገቡ","Delivered By":"ደብዳቤዉን ያደረሰዉ ግለሰብ","Enter Delivered By":"የደረሰበትን ሰው ያስገቡ","Letter Number":"የደብዳቤ ቁጥር","Enter Letter Number":"የደብዳቤ ቁጥሩን ያስገቡ","Failed to create letter":"ደብዳቤን መፍጠር አልተሳካም","Letter Created successfully":"ደብዳቤ በትክክል ተፈጠረ","Please select file_am":"ፋይል እባክዎን ይምረጡ",signStatus:"የፊርማ ሁኔታ",createdAt:"የተፈጠረበት ቀን",View:"ይመልከቱ","Date Received":"ቀን",Attachment:"ፋይል",ReceivingUnit:"ተቀባይ","Review your record before submission":"ለመላክ ከመጀመርዎ በፊት መዝገብዎን ይገምግሙ",Back:"ተመለስ","Submit Record":"መዝገብ አስገባ",Submitting:"በማስገባት ላይ","Generating preview":"ቅድመ እይታ በመፍጠር ላይ","PDF Preview":"PDF ቅድመ እይታ","Unable to generate preview":"ቅድመ እይታ ማመንጨት አልተቻለም",Retry:"እንደገና ይሞክሩ","Record Summary":"የመዝገብ ማጠቃለያ","No subject":"ርዕስ የለም","Record Type":"የመዝገብ አይነት","Not specified":"አልተገለጸም",Language:"ቋንቋ","Initiation Type":"የመነሻ አይነት","Preview generation failed":"ቅድመ እይታ ማመንጨት አልተቻለም",Preview:"የመዝገብ ቅድመ እይታ",Form:"ቅፅ","Delete Delegation":"ዉክልና ሰርዝ",selectLetter:"ደብዳቤ ይምረጡ",incomingLetters:"ገቢ ደብዳቤዎች",nonSmartLetters:"ስማርት ያልሆኑ ደብዳቤዎች","Filter by":"በዚህ ያጣሩ","Sending Organization":"የላኪ ድርጅት",sendingOrganization:"የላኪ ድርጅት","Receiver Position":"የተቀበለው የስራ መደብ","Receiver Employee":"የተቀበለው ሰራተኛ","Add User Under Department":"በክፍል ስር ተጠቃሚ ያክሉ",usernameRequired:"የተጠቃሚ ስም ያስፈልጋል",emailRequired:"ኢሜይል ያስፈልጋል",validEmailFormat:"ትክክለኛ የኢሜይል ቅርጸት ያስገቡ",phoneRequired:"ስልክ ቁጥር ያስፈልጋል",validPhoneFormat:"ትክክለኛ የስልክ ቁጥር ቅርጸት ያስገቡ",amharicNameRequired:"አማርኛ ስም ያስፈልጋል",englishNameRequired:"እንግሊዝኛ ስም ያስፈልጋል",MarkUrgent:"Mark as Urgent",UnmarkUrgent:"Unmark Urgent",MarkUrgentDialogTitle:"Mark this record as urgent?",MarkUrgentDialogDescription:"This record will be flagged as urgent for quick handling.",UnmarkUrgentDialogTitle:"Unmark this record as urgent?",UnmarkUrgentDialogDescription:"This record will no longer appear as urgent.",fromSmartUsers:"ከስማርት ኦፊስ ተጠቃሚ ቢሮዎች የተላከ",fromExternalNonsmart:"ከውጭ ስማርት ተጠቃሚዎች የተላከ",recordOfficeRegester:"በመዝገብ ቤት የተመዘገበ",addRecordRO:"ገቢ ደብዳቤ መዝግብ","Make Review":"ግምገማ ያድርጉ","Confirm Review":"ግምገማውን ያረጋግጡ",noSignatureForDirectSend:"ቀጥታ መላክ ለማድረግ ምንም ንፁህ ፊርማ አልተገኘም።",directDispatchSuccess:"ደብዳቤው በተሳካ ሁኔታ ተላከ።",directDispatchError:"ደብዳቤውን መላክ አልተሳካም።",SendDirectRecordTitle:"ቀጥታ ደብዳቤ ላክ",SendDirectRecordDescription:"ይህን ቀጥታ ደብዳቤ መላክ እንደሚፈልጉ እርግጠኛ ነዎት? ይህ ተግባር መመለስ አይችልም።",Sending:"እየላከ ነው...",createAndSend:"ቀጥታ ደብዳቤ ላክ","Confirm Reject":"ዉድቅ ማድረግ ያረጋግጡ"},qj={Skipped:"ታልፉል",Pending:"በመጠባበቅ ላይ",pending:"በመጠባበቅ ላይ","Team Rejected":"ቡድን ዉድቅ አድርግ",teamRejected:"ቡድን ዉድቅ አድርግ",Draft:"ረቂቅ",draft:"በሂደት ላይ","In Progress":"በሂደት ላይ",InProgress:"በሂደት ላይ","In progress":"በሂደት ላይ",active:"በሂደት ላይ",Reassigned:"በድጋሚ ተመድቧል",re_assigned:"በድጋሚ ተመድቧል",Approved:"ፀድቋል",Accepted:"ተቀባይነት አግኝቷል",accepted:"ተቀበለ",Dispatched:"ተልኳል",Adjustment:"አስተካክል",adjustment:"አስተካክል",adjustment_requested:"የማስተካከያ ጥያቄ ቀርቧል",AdjustmentRequested:"የማስተካከያ ጥያቄ ቀርቧል",Rejected:"ተቀባይነት አላገኘም",rejected:"ተተወ",Submitted:"ወደፊት",All:"ሁሉም",Approve:"አጽድቅ",approved:"አጽድቅ",Accept:"ተቀበል",Assign:"መድብ",Reject:"ዉድቅ አድርግ",Adjust:"አስተካክል",Sent:"ተልኳል",Send:"ላክ","Created At":"የተፈጠረው በ","Sign Status":"የፊርማ ሁኔታ",activate:"አንቃ",deactivate:"አጥፋ",activated:"ዉክልናዉ ጀምሯል",deactivated:"ዝግ ተደርጓል",signed:"ፊርማ ተደርጓል",totalAllocations:"ጠቅላላ ምደባዎች",assignmentStatistics:"የምደባ ስታትስቲቅሬታ ",Outgoing:"ወጪ",Incoming:"ገቢ","Team Signature":"ፊርማዎች በመጠባበቅ ላይ",Returned:"የተመለሰ",Adjusted:"የተስተካከለ",acceptForward:"ተቀበልና ምራ",replaced:"የተተካ",seen:"የታዩ",assigned:"የተመደበ",not_assigned:"ያልተመደበ",completionRate:"የማጠናቀቂያ ደረጃ","Under Review":"በ ግምገማ ላይ","Re Assigned":"በድጋሚ ተመድቧል",send_back_by_ro:" በመዝገብ ቤት የተመለሰ",replied:"መለስ ተሰቷል",Replied:"መለስ ተሰቷል",yes:"አዎ",no:"አይ",terminated:"ተቋርጧል",cancelled:"ተሰርዟል",canceled:"ተሰርዟል",ended:"ተጠናቋል",Expired:"ጊዜው አልፏል","Team Adjusted":"ማስተካከያ ተጠይቋል"},Vj={Continue:"ቀጥል","Update and Assign":"ፍጠር እና መድብ","Create and Assign":"አስተካክለህ መድብ",nonSmart:"ሲስተሙን ከማይጠቀሙ",external:"ሲስተሙን ከሚጠቀሙ","Assign this CC record to one or more departments":"ይህንን የCC መዝገብ ለአንድ ወይም ከዚያ በላይ ክፍሎች ይመድቡ","Select a remark...":"የተለመዱ ምላሾችን ይምረጡ!","Select Predefined Remark":"የተለመዱ ምላቾችንን ይምረጡ",Clear:"አጥፋ","From Date":"ከ","To Date":"እስከ",successassign:"መዝገብ በተሳካ ሁኔታ ተመዝግቧል።",Letters:"ደብዳቤዎች",Department:"ክፍል",Subject:"ርዕሰ ጉዳይ",Date:"ቀን",Search:"ፈልግ","Error loading records.":"መዝግቦች ሲመታ ስህተት አለ።",errDelegation:"ዉክልና ስለወከሉ ይህን ገፅ መመልከት አይችሉም",Status:"ሁኔታ",Actions:"ተግባራት","Sending Department":"የላከው ክፍል","No Department":"ክፍል የለም","No Subject":"ርዕሰ ጉዳይ የለም","Sending Organization (Amharic)":"የላከው ድርጅት ስም(በአማርኛ)","Sending Organization":"የላከው ድርጅት ","No Sending organization":"No Sending organization","Sending Organization (English)":"የላከው ድርጅት ስም(እንግሊዝኛ)","View Detail":"ዝርዝር ይመልከቱ","Open actions menu":"የተግባር ምናሌን ክፈት",Accept:"ተቀበል",Assign:"መድብ",Edit:"አስተካክል",update:"መዝገብ አስተካክል",Delete:"ሰርዝ",Download:"አውርድ",Reject:"ዉድቅ አድርግ",Cancel:"ሰርዝ",uploadIncomingRecord:"ገቢ መዝገብ አስገባ","Record accepted successfully":"መዝገቡ በተሳካ ሁኔታ ተቀብሏል","Failed to accept record":"መዝገቡን መቀበል አልተቻለም።","Confirm Acceptance":"መቀበልን ያረጋግጡ","Are you sure you want to accept this record?":"ይህን መዝገብ መቀበል እንደምትፈልጉ ያረጋግጡ?",Confirm:"ያድርጉ","Processing...":"በሂደት ላይ...","Failed to Assign a Record":"መዝገቡን መመያየት አልተቻለም።","Assign this record to one or more departments":"ይህን መዝገብ ለአንዱ ወይም ከዚያ በላይ ክፍሎች መመያየት።","Assign Record":"መዝገቡን መመያየት","An error occurred during assignment.":"በመመያየት ሂደት ውስጥ ስህተት ተፈጥሯል።","Enter your remarks...":"የእርስዎን አስተያየት ያስገቡ...","Assigning...":"በመመያየት ላይ...",Departments:"ክፍሎች","Select department(s)...":"ክፍል ይምረጡ...",Employees:"ሰራተኞች","Select employee(s)...":"ሰራተኛ ይምረጡ...",Remark:"አስተያየት","Are you sure you want to reject this record?":"ይህን መዝገብ መተው እንደምትፈልጉ ያረጋግጡ?","Failed to rejected record":"መዝገቡን መተው አልተቻለም።","Record rejected successfully":"መዝገቡ በተሳካ ሁኔታ ተተውቷል",To:"ለ","Assign CC":"ግልባጭ መድብ","Assign CC Record":"ግልባጭ መዝገብ መድብ","Assign this CC record to one or more positions":"ይህን ሲሲ መዝገብ ለአንድ ወይም ከዚያ በላይ ቦታዎች መድብ","Select Positions":"ቦታዎችን ይምረጡ","Select positions to assign":"ለመመደብ ቦታዎችን ይምረጡ",Comment:"አስተያየት","Quick Remarks":"ፈጣን አስተያየቶች","Failed to Assign CC Record":"ሲሲ መዝገብን መመደብ አልተቻለም",ConvertedBy:"የተቀየረው በ",ReceiverEmployee:"ተቀባይ ግለሰብ",ReceiverDepartment:"ተቀባይ ክፍል",return:"መልስ",returnQues:"እርግጠኛ ነዎት ይህን መዝገብ መመለስ ይፈልጋሉ?",returing:"በመመለስ ላይ...",conformReturn:"መመለስን ያረጋግጡ","Reference Number":"ማጣቀሻ ቁጥር","Dispatched Date":"ቀን",noRemark:"ምንም ማስታወሻ አልተገኘም",searchRemark:"ማስታወሻ ፈልግ...","Is Secured":"ሚስጥራዊ ነው?","Is Urgent":"አስቸኳይ ነው?","Receiving Organization":"የሚቀበል ድርጅት",Attachments:"ተያያዥ ፋይሎች",parent:"የአለቃዬ መዝገብ",self:"የእኔ መዝገብ",errorLoadingRecords:"Error Loading Records",reply:"ምላሽ ስጥ",replyRecord:"ምላሽ መዝገብ",remarkDate:"አስተያየት የተሰጠበት ቀን",isReplyLetter:"ይህ መዝገብ ምላሽ ደብዳቤ ነው",ViewReplyLetterDetails:"የምላሽ ደብዳቤ ዝርዝሮችን ይመልከቱ",isSecured:"ሚስጥራዊ",isUrgent:"አስቸኳይ",RecordStatus:"የመዝገብ ሁኔታ"},Hj={".Record adjusted successfully":"መዝገቡ በትክክል ተስተካክሏል",yourStamp:"የእርስዎ ቲተር",Letters:"ደብዳቤዎች",Department:"ክፍል",Subject:"ርዕሰ ጉዳይ",Date:"ቀን",Search:"ፈልግ","Error loading records.":"መዝግቦች ሲመታ ስህተት አለ።",Status:"ሁኔታ",Actions:"ተግባራት","Sending Department":"የላከው መምሪያ","No Department":"መምሪያ የለም","No Subject":"ርዕሰ ጉዳይ የለም","Sending Organization":"የላከው ድርጅት","View Detail":"ዝርዝር ይመልከቱ","Open actions menu":"የተግባር ምናሌን ክፈት",receiverEmployee:"ተቀባይ ባለሞያ",receiverPosition:"ተቀባይ ክፍል",LetterName:"የፋይል ስም",Receiver:"ተቀባይ","Record accepted successfully":"መዝገቡ በተሳካ ሁኔታ ተቀብሏል",Confirm:"ያድርጉ",Remark:"አስተያየት",Remarks:"አስተያየት","Accept Record":"መዝገብ ተቀበል",recordAdjustedSuccessfully:"መዝገቡ በትክክል ተስተካክሏል",confirmAdjustment:"ማስተካከያን ያረጋግጡ",adjustRecord:"መዝገቡን ያስተካክሉ",selectOrUploadSignature:"እባክዎ ፊርማ ይምረጡ ወይም ይስቀሉ",selectOrUploadTeeter:"እባክዎ ቴተር ይምረጡ ወይም ይስቀሉ",recordApprovedSuccessfully:"መዝገቡ በተሳካ ሁኔታ ተፀድቷል!",failedToApproveRecord:"መዝገቡን ማጽደቅ አልተቻለም።",approveRecord:"መዝገቡን ያጽዱ",confirmApprove:"ማጽደቅን ያረጋግጡ",confirmRejection:"ውድቅ የተደረገ ያረጋግጡ",rejectRecord:"መዝገቡን ውድቅ ሆኗል",RecordType:"የመዝገብ አይነት",selectStamp:"ማህተም ይምረጡ",selectTetter:"ቲተር ይምረጡ",selectedStamp:"የተመረጠው ማህተም፡",signature:"ፊርማ",yourSignature:"የእርስዎ ፊርማ፡",selectedSignature:"የተመረጠው ፊርማ፡",selectSignature:"ፊርማ ይምረጡ",approving:"እየፅደቀ ነው...",All:"ሁሉም",FileName:"የፋይል ስም",SendingDepartment:"የላከው ክፍል",RecordStatus:"የመዝገብ ሁኔታ"},Wj={for:"ስለ",viewDetail:"ዝርዝር ይመልከቱ",from:"ከ",letter:"ዋና ደብዳቤ",letterPreview:"የደብዳቤ እይታ",view:"ደብዳቤ ተመልከት",fullScreen:"ሙሉ እይታ",back:"ተመለስ",loading:"Loading...",noPreview:"ቅድመ እይታ አልተገኘም።",securedRecordMessage:"ደብዳቤዉ ምስጢራዊ ስለሆነ ዝርዝሩን የመመለከት ፍቃድ የለዎትም!",securedAttachmentMessage:"ደብዳቤዉ ምስጢራዊ ስለሆነ አባሪ ፋይሎቹን የመመልከት ፍቃድ የለዎትም!",receivingOrganizations:"ተቀባይ ድርጅቶች",receivingUserEmployees:"ተቀባይ ተጠቃሚ ሰራተኞች",sendingDepartment:"ላኪ ክፍሎች",externalCcOrganizations:"ዉጫዊ ግልባጭ ድርጅቶች",internalCcDepartments:"ውስጣዊ ግልባጭ ክፍሎች",receivingDepartments:"ተቀባይ ክፍሎች",sentDate:"የተላከበት ቀን",referenceNumber:"ማጣቀሻ ቁጥር",attachments:"አባሪ",remarks:"ማስታወሻ",loadingRemarks:"ማስታወሻዎች በመጫን ላይ...",failedToLoadRemarks:"ማስታወሻዎችን መጫን አልተቻለም።",noRemarksAvailable:"ለዚህ መዝገብ ማስታወሻ የለም።",action:"እርምጃ",comment:"አስተያየት፡",noAttachmentsAvailable:"ምንም አባሪ የሉም።",open:"ክፈት",subject:"ርዕስ",letterNumber:"የደብዳቤ ቁጥር",deliveredBy:"የተደረሰው በ",personalRemark:"የግል ማስታወሻ",noPersonalRemarkProvided:"የግል ማስታወሻ አልተሰጠም",regeneratePdf:"PDF እንደገና ይፍጠሩ",regeneratingPdf:"በመፍጠር ላይ...",pdfRegenerationSuccess:"PDF በተሳካ ሁኔታ ተፈጥሯል",pdfRegenerationFailed:"PDF መፍጠር አልተሳካም",sendingBureau:"ላኪ ቢሮ",collaborators:"ፈራሚዎች",recordDetail:"የደብዳቤ ዝርዝር",commentorEmployee:"አስተያየት ሰጪ ሰራተኛ",commentorDepartment:"አስተያየት ሰጪ ክፍል",noComment:"ምንም አስተያየት የለም",fileName:"የፋይል ስም",fileName1:"የፋይል ስም (የመዝገብ ቤት ማጣቀሻ ቁጥር)",toogleColumns:"ዓምዶችን ቀያይር",sendingEmployee:"ላኪ ሰራተኛ"},Gj={dropFilesHere:"ፋይሎችን እዚህ ይጣሉ",dragDropInstruction:"አባሪ ፋይሎን እዚህ ያስገቡ",youCanUpload:"መጫን የሚቻል",removeFile:"ፋይሉን ያስወግዱ",filesUpTo:"እስከ ... ፋይሎች",aFileWith:"ከ... ጋር ያለ ፋይል",file:"ፋይል",wasRejected:"ተተውቷል",uploaded:"ተጫኗል",failedToUpload:"መጫን አልተቻለም",uploading:"በመጫን ላይ...",cannotUploadMoreThan:"ከ በላይ ፋይሎችን ማጫን አይቻልም"},Kj={title:"መዝገብን በኢሜይል ያጋሩ",description:"ይህን መዝገብ ለማጋራት የኢሜይል አድራሻ ያስገቡ።",emailLabel:"የኢሜይል አድራሻ",emailPlaceholder:"የኢሜይል አድራሻ ያስገቡ",emailRequired:"የኢሜይል አድራሻ ያስፈልጋል",invalidEmailFormat:"እባክዎ ትክክለኛ የኢሜይል አድራሻ ያስገቡ",shareButton:"መዝገብ አጋራ",shareSuccess:"መዝገቡ በኢሜይል በተሳካ ሁኔታ ተጋርቷል",shareFailed:"መዝገብን በኢሜይል ማጋራት አልተቻለም",networkError:"የኔትወርክ ስህተት ተከስቷል። እባክዎ ግንኙነትዎን ይፈትሹ እና እንደገና ይሞክሩ።"},Yj={recordConverted:"መዝገቡ በተሳካ ሁኔታ ተቀይሮ ትልኳል",selectSeal:"እባክዎን ማህተም ይምረጡ።",convertRecord:"መዝገቡን ቀይር",recordType:"የመዝገብ አይነት፦",subject:"ርዕስ፦",convertAndDispatch:"ቀይርና ላክ",selectSealLabel:"ማህተም ይምረጡ፦",loadingSeals:"ማህተሞችን በመጫን ላይ...",selectSealPlaceholder:"-- ማህተም ይምረጡ --",selectedSealPreview:"የተመረጠው ማህተም እይታ፦",drawSig:"ፊርማ ፈርም"},Xj={viewLetter:"ደብዳቤዉን ተመልከት",noLetterAssigned:"ደብዳቤ የለዉም",delegatedPosition:"የተወካይ የስራ መደብ መጠሪያ",delegateePosition:"የወከለኝ የስራ ቦታ",delegateeEmployee:"የወከለኝ ባለሙያ",selectDelegatedPosition:"የተወካይ የስራ መደብ መጠሪያ ይምረጡ",delegateTo:"ተወካይ ባለሙያ",selectEmployee:"ባለሙያ ይምረጡ",noEmployeesAvailable:"ለዚህ የስራ ቦታ ምንም ባለሙያች አልተገኙም",startDate:"የመጀመሪያ ቀን",pickDate:"ቀን ይምረጡ",endDate:"የመጨረሻ ቀን",endDateMinimumFutureError:"የመጨረሻ ቀን ከአሁኑ ጊዜ ቢያንስ 2 ደቂቃ በኋላ መሆን አለበት",update:"አዘምን",save:"መዝግብ",title:"ዉክልና",newDelegation:"አዲስ ውክልና",editDelegation:"ውክልና አስተካክል",addDelegation:"ውክልና ጨምር",position:"የተወካይ የስራ መደብ መጠሪያ",active:"በስራ ላይ",delegator:"ወካይ",delegatedEmployee:"ተወካይ ባለሙያ",currentEndDate:"የአሁኑ ያለው የመጨረሻ ቀን",select:"ይምረጡ",acting:"እንደ",switchRole:"ሚና ይቀይሩ",successDelete:"ውክልና በተሳካ ሁኔታ ተሰርዟል።",activeDelegationExists:"ንቁ ውክልና አለ፤ ያለውን ውክልና ያስተካክሉ ወይም ሰርዘው እንደገና ይፍጠሩ።",createdSuccess:"ውክልና በተሳካ ሁኔታ ተፈጥሯል",deletedSuccess:"ውክልና በተሳካ ሁኔታ ተሰርዟል",updatedSuccess:"ውክልና በተሳካ ሁኔታ ተዘምኗል",terminationDetail:"የመቋረጥ ዝርዝር",viewTerminationDetail:"የመቋረጥ ዝርዝር ይመልከቱ",terminatedSuccess:"ውክልና በተሳካ ሁኔታ ተቋርጧል",deleteDescription:"ይህን ውክልና ለማቋረጥ ምክንያትዎን ያስፍሩ።",deleteReasonLabel:"ምክንያት",deleteReasonPlaceholder:"ይህን ውክልና ለምን ያቋርጡታል?",deleteReasonRequired:"እባክዎ ለመሰረዙ ምክንያት ያስፍሩ።",myDelegations:"የወከልኩት ውክልናዎች",myDelegatee:"የተወከለኩበት ውክልናዎች",letter:"የውክልና ደብዳቤ",letterDetails:"የተመረጠ ደብዳቤ ዝርዝሮች",recordInformation:"የመዝገብ መረጃ",letterPreview:"የደብዳቤ ቅድመ እይታ",openInNewTab:"በአዲስ ትር ክፈት",pdfNotAvailable:"PDF ሰነድ አይገኝም",recordNotFound:"የተመረጠ መዝገብ አልተገኘም",pdfNotFound:"PDF ሰነድ አልተገኘም",pdfLoadError:"PDF ሰነድ መጫን አልተሳካም",loadingPdf:"PDF ሰነድ በመጫን ላይ...",retryPdf:"PDF መጫንን እንደገና ሞክር",receiverPositions:"ተቀባይ ቦታዎች",initiator:"የተጀመረው በ",selectLetter:"መዝገብ ምረጥ",latestComment:"የቅርብ ጊዜ አስተያየት",commentMeta:"የሰጠው",commentMetaOn:"ቀን"},Qj={signature:"ፊርማ",teeter:"ቲተር",uploadSignature:"ፊርማ ስቀል",uploadTeeter:"ቲተር ስቀል",uploadSignatureNote:"ፊርማ ይስቀሉ (PNG ብቻ)",uploadTeeterNote:"ቲተር ይስቀሉ (PNG ብቻ)",uploadedSignature:"የተስቀመ ፊርማ:",uploadedTeeter:"የተስቀመ ቲተር:",enterFileName:"የፋይሉ ስም ያስገቡ (ከቅጥ በስተቀር)",preview:"ቅድመ እይታ:",upload:"ስቀል",uploading:"በመስቀል ላይ...",remove:"አስወግድ",removing:"በመሰረዝ ላይ...",removedSuccess:"በተሳካ ሁኔታ ተሰርዟል።",removeTeeterFailed:"ቲተሩን መሰረዝ አልተሳካም።",removeFailed:"መሰረዝ አልተሳካም።",selectPngFirst:"እባክዎን መጀመሪያ PNG ፋይል ይምረጡ።",onlyPngAllowed:"በPNG ብቻ ፋይሎች መፍቀድ ይቻላል።",signatureExists:"ፊርማ አስቀድሞ አለ። አዲስ ለማስገባት ቀደም ያለውን ያስወግዱ።",uploadSuccess:"ስቀል ተሳክቷል!",uploadError:"የስቀል ስህተት፦",uploadFailed:"ስቀል አልተሳካም።",openSignatureForm:"ፊርማ መሳቢያን ይክፈቱ",generateTeeter:"ቲተር ይፍጠሩ",selectTeeterLanguage:"የቲተር ቋንቋ ይምረጡ",languageAmharic:"አማርኛ",languageEnglish:"እንግሊዝኛ",languageBoth:"ሁለቱም (አማርኛ ከዚያ እንግሊዝኛ)",confirmGenerateTeeter:"ይፍጠሩ",cancelGenerateTeeter:"ይቅር",uploadGeneratedTeeter:"የተፈጠረውን ቲተር ይስቀሉ",generatedTeeterPreview:"የተፈጠረ ቲተር ቅድመ እይታ",downloadTransparentPng:"ግልጽ PNG ያውርዱ",stampNameLabel:"ስም",stampPositionLabel:"የስራ ድርሻ",stampBlockAmharic:"አማርኛ",stampBlockEnglish:"እንግሊዝኛ",missingEmployeeData:"የሰራተኛ ስም ወይም የስራ ድርሻ አልተገኘም።"},Jj={assignedBy:"የተመደበው በ",assignedTo:"ለ",assignedOn:"የተመደበበት ቀን፡",comment:"አስተያየት፡",assignmentFlow:"የመደበኛ ፍሰት",noAssignments:"ለዚህ መዝገብ ምንም መደበኛ አልተከናወነም።",responded:"ተሰጥቷል",assignedUsing:" የተመደበው በ:",byName:"ባለሙያ ስም",byDepartment:"በስራ መደብ",attentionNeeded:"ትኩረት የሚያስፈልጋቸው",onTrack:"የተጠናቀቁ",assInProg:"በሂደት ላይ ያለ ተግባር",next:"ቀጣይ የተመደቡ"},Zj={welcomeBack:"እንኳን ደህና መጡ።",enterCredentials:"ለመቀጠል መለያዎን ያስገቡ",email:"ኢሜል",phoneNumber:"ስልክ ቁጥር",username:"የተጠቃሚ ስም",password:"የይለፍ ቃል",rememberMe:"አስታውሰኝ",forgotPassword:"የይለፍ ቃልን ረሱ?",loggingIn:"በመግባት ላይ...",login:"ግባ",welcomeHeadline:"እንኳን ወደ እስማርት ኦፊስ በደህና መጡ",paperlessOffice:"ወረቀት አልባ ቢሮ",welcomeSubtext:"የስራ ሂደትዎን ለማመቻቸት እና ከወረቀት ነፃ አገልለግት ለመስጠት ይግቡ።",emailAddress:"ኢሜል አድራሻ",err:"ልክ ያልሆነ የኢትዮጵያ ስልክ ቁጥር በ+251 መጀመር አለበት።",invalidEmail:"Please enter a valid email address"},eL={title:"የይለፍ ቃል ረስተዋል?",subtitle:"የመመለሻ መመሪያ እንልካለን።",phone:"ስልክ ቁጥር",phoneplaceholder:"+251912345678 ወይም 09XXXXXXXX",invalidphone:"የስልክ ቁጥር ቅርጸት ተሳሳተ። +2519XXXXXXXX ወይም 09XXXXXXXX ይጠቀሙ።",checkphone:"ስልክ ቁጥርዎን ያረጋግጡ",checkdesc:"የይለፍ ቃል መመለሻ አገናኝ ወደ ስልክዎ እንልካለን።",sending:"መመለሻ አገናኝን በመላክ ላይ...",sendresetlink:"የፓስወርድ መመሻ ሊነክ ላክ",backtologin:"ወደ ዋና ገፅ ተመለስ",remember:"የይለፍ ቃልዎን ያስታውሰዋል?",signin:"ግባ",home:"ወደ ዋና ገፅ ተመለስ",success:"የይለፍ ቃል መመለሻ አገናኝ ተልኳል",successdesc:"እባክዎን ስልክዎን ያረጋግጡ አገናኙን ይመልከቱ።",fail:"የይለፍ ቃል መመለሻን መጠየቅ አልተሳካም"},tL={sent:"ደብዳቤ ተልኳል",genericError:"ስህተት ተፈጥሯል",authError:"ክፍለ ጊዜው አብቅቷል",authErrorDescription:"እባክዎ እንደገና ይግቡ።",validationError:"እባክዎ የተሳሳቱ መረጃዎችን ያስተካክሉ።",permissionError:"ይህን ስራ ለመፈጸም ፍቃድ የለዎትም።",notFoundError:"የፈለጉትን መረጃ አልተገኘም።",fileTooLarge:"ፋይሉ በጣም ትልቅ ነው። እባክዎ ፋይሉን አሳንሰው ዳግም ይሞክሩ።",serverError:"ከአገልጋይ በኩል ችግር አለ። እባክዎ ዳግመኛ ይሞክሩ።",attachmentDeleted:"አባሪው በተሳካ ሁኔታ ተሰርዟል።",replyAdded:"ምላሹ በተሳካ ሁኔታ ታክሏል!",replyError:"ምላሹን በመጨመር ላይ ስህተት አጋጥሟል።",failedToCreate:"መዝገቡን መፍጠር አልተቻለም",failedToGetUrl:"የመጫኛ አድራሻን ማግኘት አልተቻለም",registrationSuccess:"ምዝገባው ተሳክቷል። የይለፍ ቃልህን ለመከላከል ኤስኤምኤስ ልከናል።",errorOccurred:"ስህተት ተፈጥሯል።",successfullyCompleted:"ለውጦች በተሳካ ሁኔታ ተቀምጠዋል።",pdfRegenerated:"PDF በተሳካ ሁኔታ ዳግመኛ ተፈጥሯል።",approveFailed:"መዝገቡን ማፅደቅ አልተቻለም።",approveSuccess:"መዝገቡ በተሳካ ሁኔታ ተፅድቷል",selectPrompt:"እባክዎ ማህተም ይምረጡ",extendedSuccess:"ተወካይነት በተሳካ ሁኔታ ተራቅቷል።",letter:"ደብዳቤ",approvedSuccess:"መዝገቡ በተሳካ ሁኔታ ተፅድቷል!",submittedSuccess:"መዝገቡ በተሳካ ሁኔታ ተሰጥቷል!",reviewSuccess:"መዝገቡ በተሳካ ሁኔታ ሪቪው ላይ ሆኗል!",markedForAdjustment:"ለማሻሻል ተምልከቷል",sentToOfficer:"ወደ መዝገብ ኦፊሰር ተልኳል",errorSendingToOfficer:"ወደ መዝገብ ኦፊሰር መላክ ላይ ስህተት ተፈጥሯል",success:"ተወካይነት ተሳክቷል።",failed:"ተወካይነት አልተሳካም።",deletedSuccess:"ተወካይነት በተሳካ ሁኔታ ተሰርዟል።",deleteFailed:"ተወካይነትን መሰረዝ አልተቻለም።",failedCreateOrGetUrl:"መዝገቡን መፍጠር ወይም የመጫኛ አድራሻን ማግኘት አልተቻለም።",sentAndUploadedSuccess:"ደብዳቤ ተልኳል እና ፋይሉ በተሳካ ሁኔታ ተጫኗል።",failedSendOrUpload:"ደብዳቤን መላክ ወይም ፋይልን መጫን አልተቻለም።",successassign:"መዝገብ በተሳካ ሁኔታ ተመዝግቧል።",submittedWithAttachments:"መዝገቡ ከአባሪ ፋይሎች ጋር ተሰጥቷል።",createFailed:"መዝገቡን መፍጠር አልተቻለም።",refreshedSuccess:"በተሳካ ሁኔታ ተዘምኗል።",refreshFailed:"መዘመኑ አልተቻለም።",redirecting:"በመምረጥ ላይ...",loginSuccess:"መግባት ተሳክቷል።",receivingDepartmentRequired:"ቢያንስ አንድ ተቀባይ መመዝገብ አስፈላጊ ነዉ!",receivingUnitRequired:"አንድ ተቀባይ ክፍል አስፈላጊ ነው።",recordTypeRequired:"የመዝገብ አይነት አስፈላጊ ነው።",initiationTypeRequired:"የመነሻ አይነት አስፈላጊ ነው።",subjectRequired:"ርዕሰ ጉዳይ አስፈላጊ ነው!",preferredLanguageRequired:"የተመረጠው ቋንቋ አስፈላጊ ነው።",bodyRequired:"የደብዳቤ ይዘት አስፈላጊ ነው!",sincerelyTextRequired:"ከሠላምታ ጋር አስፈላጊ ነው።",headerRequired:"ራስጌ አስፈላጊ ነው።",footerRequired:"ግርጌ አስፈላጊ ነው።",accessDenied:"መዳረሻ ተከልክሏል።",accessDeniedmsg:"ውክልና ስላሎት ወደዚህ ገጽ መግባት አይችሉም። ለመቀጠል እባክዎን ውክልናውን ያንሱ።",accessDeniedmsg2:"ውክልና ስላሎት ወደዚህ ገጽ መግባት አይችሉም። ቀድሞውንም በሌላ ሰራተኛ ከተወከሉ ውክልና መስጠት አይችሉም",accessDeniedmsg3:"በዚህ ድርጅት ስላልተመዘገብክ ወይም ምንም አይነት ቦታ ስላልተመደብክ የሪከርድ አስተዳደር ሞጁልን መጠቀም አትችልም።",sendingOrgRequired:"ላኪ ድርጅት ያስፈልጋል",deliveredByRequired:"የሚደርሰው በ ያስፈልጋል",letterNoRequired:"የደብዳቤ ቁጥር ያስፈልጋል",letterNameRequired:"የፋይል ስም ያስፈልጋል",noReferenceNumber:"ደብዳቤው ስላልተላከ ማጣቀሻ ቁጥር የለውም",noMsg:"ምክንያቱም ደብዳቤው እስካሁን አልተላከም።",sincerely:"ከሠላምታ ጋር",changePasswordMsg:"ለአካውንትዎ አዲስ የይለፍ ቃል ይፍጠሩ",oldPassword:"የቀድሞ የይለፍ ቃል",newPassword:"አዲስ የይለፍ ቃል",confirmNewPassword:"አዲሱን የይለፍ ቃል ያረጋግጡ",changing:"በመቀየር ላይ...",failedChange:"የይለፍ ቃል መቀየር አልተሳካም",successChange:"የይለፍ ቃል በተሳካ ሁኔታ ተቀይሯል",passwordMismatch:"የይለፍ ቃላቱ አይዛመዱም",passwordRequirements:"የይለፍ ቃል ቢያንስ 8 ቄልፎች መሆን አለበት",currentPasswordRequired:"የአሁኑ የይለፍ ቃል ያስፈልጋል",newPasswordRequired:"አዲስ የይለፍ ቃል ያስፈልጋል",passwordMinLength:"የይለፍ ቃሉ ርዝመት ቢያንስ 8 መሆን አለበት",passwordMustBeDifferent:"አዲሱ የይለፍ ቃል ከድሮው የተለየ መሆን አለበት",confirmPasswordRequired:"እባክዎ የይለፍ ቃሉን ያረጋግጡ",uppercaseLetter:"አቢይ ሆሄ",lowercaseLetter:"ንዑስ ሆሄ",number:"ቁጥር",specialCharacter:"ልዩ ምልክት",passwordComplexity:"የይለፍ ቃሉ ቢያንስ አንዱን መያዝ አለበት",passwordResetSuccess:"በአዲሱ የይለፍ ቃልዎ አሁን መግባት ይችላሉ",selectAll:"ሁሉንም ይምረጡ",error:"ስህተት ተፈጥሯል።",createRecordMsg:"አዲስ ገቢ መዝገብ ለመፍጠር ዝርዝሩን ይሙሉ",updateRecordMsg:"የመጪ መዝገብ ዝርዝሮችን ከታች አዘምን",completionRate:"ስሌት፡ ተቀባይነት አግኝቷል + ውድቅ ተደርጓል + እንደገና ተመድቧል +መላሽ ተሰቷል ሲካፈል በጠቅላላ ምደባዎች",totalAllocations:"ለተጠቃሚዎች ወይም ክፍሎች የተመደቡት የደብዳቤዎች ጠቅላላ ብዛት",reassigned:"ከአንድ ተጠቃሚ ወይም ክፍል ወደ ሌላ የተቀየሩ ደብዳቤዎች",rejected:"ተቀባዩ የከለከላቸው ወይም ያልተፈቀዱ ደብዳቤዎች",accepted:"ተቀባዩ የተቀበላቸው ወይም ያረጋገጣቸው ደብዳቤዎች",replied:"ተቀባዩ መልስ የሰጠባቸው ወይም የተመለሱ ደብዳቤዎች",draft:"ተቀባዩ እርምጃ ወይም ውሳኔ የሚጠበቁት ደብዳቤዎች",waitingMsg:"አስተዳዳሪው እስካሁን ምንም አይነት ግብዓቶችን ስላላቀረበ ወይም ስላላሳተመ በአሁኑ ጊዜ በዚህ ጣቢያ ላይ ምንም አይነት ይዘት የለም።",recordDes:"ይህ ወደ መዝገብ አስተዳደር ይወስዳል",orgAdminDes:"ይህ ወደ ጣቢያ አስተዳደር ይወስዳል",recycleBin:"የተሰረዙ መዝገቦች",ccEmployeesInvalidSelection:"አንዱ ወይም ከላይ ተመርጠው ያሉ የCC ተጠቃሚዎች ትክክለኛ የተመደበ ስራ ቦታ የላቸውም። እነሱን ያስወግዱ ወይም የሰራተኛ ፕሮፋይላቸውን ያዘምኑ።"},rL={smartOffice:"ስማርት ኦፊስ",signIn:"ግባ",signUp:"ተመዝገብ",overview:"አጠቃላይ እይታ",features:"ባህሪያት",workflow:"የስራ ሂደት",manual:"መመሪያ",digitalTransformation:"ለዘመናዊ የመንግሥት አስተዳደር ዲጂታል ለውጥ።",facebook:"ፌስቡክ",twitter:"ትዊተር",linkedIn:"ሊንክድን",telegram:"Telegram",tiktok:"TikTok",website:"ድህረገፅ",contactUs:"ያግኙን",quickLinks:"ፈጣን ማገናኛዎች",copyright:"ትሪያ - የቅጂ መብት ©",rightsReserved:"መብቶች የተጠበቁ ናቸው - በትሪያ የበለጸገ",address:"ሊንጎ ታወር ሸገር ህንጻ ፊት ለፊት፣ ቦሌ፣ አዲስ አበባ፣ ኢትዮጵያ",platformSystem:"ስማርት ኦፊስ",initiativeDescription:"የመንግስት መስሪያ ቤቶችን አሰራር በዘመናዊ ቴክኖሎጂ ለማዘመን የተነደፈ የዲጂታል ትራንስፎርሜሽን ውጥን።",getStarted:"ጀምር",learnMore:"ለተጨማሪ መረጃ",sops:"ኤስ . ኦ . ፒ . ኤስ",smartOfficePlatformSystem:"ስማርት ኦፊስ ሲስተም",revolutionDescription:"የመንግስት ስራዎችን በ ኣርቴፍሽያል ኢንተለጀንስ የተጎላበተ የስራ ሂደት እና የእውነተኛ ጊዜ ትንታኔዎችን እንዲኖራቸው ማድረግ።",liveDemo:"የቀጥታ ማሳያ ዝግጅት አለ",outgoingRecords:"ወጪ ደብዳቤዎች",outgoingRecordsDesc:"የውስጥ ወይም የውጭ መዝገቦችን ከአባሪዎች እና ተዋረዳዊ ማረጋገጫ የስራ ፍሰቶች ጋር ይፍጠሩ እና ይላኩ።",incomingRecords:"ገቢ ደብዳቤዎች",incomingRecordsDesc:"የተላኩ ደብዳቤዎች የምንመለከትበት።",approvalWorkflows:"የማጽደቅ ሂደቶች",approvalWorkflowsDesc:"ወጪ ደብዳቤዎች ቲተር እና ፊርማ በማስገባት ማጽደቅ።",interactiveDashboard:"ተዛማጅ ዳሽቦርድ",interactiveDashboardDesc:"ጠቅላላ ውስጣዊ እና ውጫዊ ገቢ/ወጪ የተደረጉ ደብዳቤዎች በአጠቃላይ የሚያሳይ ገጽ ሆኖ በተጨማሪ ደሞ ጠቅላላ መረጃ በ ፓይ ቻርት ያሳያል።",organizedFolders:"የተደራጀ ሰነድ",organizedFoldersDesc:"በላቀ የፍለጋ እና የማጣራትአቅም የተዋቀረ ስርዓት በመጠቀም መዝገቦችን ይመድቡ።",securityAccessControl:"የደህንነት እና የመዳረሻ ቁጥጥር",securityAccessControlDesc:"ይህ ስርዓት እያንዳንዱን ተጠቃሚ በስራ መደቡ መሰረት ሊያየው እና ሊሠራው የሚችለውን ይቆጣጠራል፣ እንዲሁም በደብዳቤዎች ላይ የሚደረጉ ሁሉም ተግባራት እና ለውጦች ሙሉ በሙሉ ይመዝግባል።",powerfulFeaturesTitle:"ኃይለኛ ባህሪያት",powerfulFeaturesSubtitle:"የደብዳቤዎን የስራ ፍሰት ያመቻቹ",powerfulFeaturesDesc:"ይህ ስማርት ስይስተም ደብዳቤዎችን በቀላሉ እና በብቃት ለማስተዳደር የምያስችሉ የተለያዩ ውጤታማ መፍትሄዎችን ያቀርባል፣ ከፍተኛ ደህንነት፣ ተገዢነት እና ሙሉ አስተማማኝነት ኣለው።",feature1:"ፈጣን የማጽደቅ ጊዜ",feature2:"የተሟላ የሰነድ ስርዓት",feature3:"የኦዲት ተገዢነት",documentWorkflow:"የሰነድ እንቅስቃሴ",recordCreation:"የደብዳቤ ፍጠራ",recordCreationDesc:"አዲስ ደብዳቤዎችን እና አባሪዎችን ለመፍጠር እና ለመላክ የሚያስችል መሳሪያ",teamLeaderReview:"የቡድን መሪ ግምገማ",teamLeaderReviewDesc:"ደብዳቤ ለተቀባዩ ከሚላክበት በፊት የቡድን አስተባባሪ ማረጋገጥ እና መፍቀድ ያለበት ደረጃ",directorApproval:"በዳይሬክተር ማጽደቅ",directorApprovalDesc:"የመምሪያው ኃላፊ ገምግሞ ያጽድቃል",deputyHeadReview:"የምክትል ሃላፊ ግምገማ",deputyHeadReviewDesc:"ከማቅረቡ በፊት የመጨረሻ የአስተዳደር ፈቃድ",recordOfficerProcessing:"የመዝገብ ቤት ባለሙያ ሂደት",recordOfficerProcessingDesc:"ደብዳቤው ከጸደቀ በኋላ፣ ለማቀናበር፣ ለመላክ እና ማጣቀሻ ቁጥር እና ቀን ለመመድብ ለመዝገብ ቤት ባለሙያ ይላካል።",streamlinedProcess:"ቀላል የተደረገ ሂደት",recordManagementApprovalWorkflows:"ደብዳቤዎችን እና መዛግብትን ከመፍጠር እስከ ማጽደቅ እና ማሰራጨት የሚቆጣጠር የማጽደቂያ ሂደት።",smartOfficeDescription:"በገቢ እና ወጪ ደብዳቤዎች ላይ ሙሉ ቁጥጥር ለማድረግ፣ የስራ ፍሰቶችን ለማስተዳደር እና የድርጅትዎን ውጤታምነት ለመጨመር የሚያግዝ ዲጂታል መፍትሄ ነው።",step:"እርምጃ",workflowAutomationBenefits:"የስራ ፍሰት አውቶሜሽን አጠቃላይ ጥቅሞች",workflowAutomationDesc:"ስማርት የሆነ የስራ ፍሰት ስርዓት የእርስዎን ድርጅታዊ ፖሊሲዎች ማክበርን በሚያረጋግጥበት ጊዜ ሥራዎችን በ65% ፈጣን ያደርገዋል",fasterApprovals:"65% ፈጣን ማረጋገጫዎች",reduceDelays:"የቢሮክራሲያዊ መዘግየቶችን ይቀንሱ",auditTrail:"100% የኦዲት መንገድ",completeRecord:"የሁሉም ድርጊቶች መዝገብ",advancedFeatures:"የላቁ ባህሪያት",slaMonitoring:"የአገልግሎት ደረጃ እና መቆጣጠሪያ (SLA)",slaMonitoringDesc:"የአገልግሎት ደረጃ ስምምነቶችን በአውቶማቲክ መከታተል እና ለሚፈጠረው መዘግየት ለሚመለከተው ሰው ማሳወቂያዎችን መላክ።",conditionalRouting:"ሁኔታዊ መስመር",conditionalRoutingDesc:"ዘመናዊ ህጎች ሰነዶችን በይዘታቸው፣ በአስፈላጊነታቸው ወይም በዓይነታቸው መሠረት ኣውተማቲካልይ ወደ ተገቢው ተቀባይ ያስተላልፋሉ።",temporaryApprovalDelegation:"ሰራተኞች ለሌሎች ጊዜያዊ የማጽደቅ ስልጣን(ውክልና) ሲሰጡ፣ ሁሉም እርምጃዎች በሙሉ ይመዘገባሉ።",login:"ወደ ስርዓቱ ይግቡ",step1:"1፡ በጀመርያ በራስጌ ያለውን የ",headerBtn:"ቁልፉን ይጫኑ",step2:"2፡ የተጠቃሚ ስም እና የይለፍ ቃል ያስገቡ",step3:"3፡ የ",accessBtn:"ቁልፉን ይጫኑ",note:"ማስታወሻ",forgotIntro:"የይለፍ ቃልዎን ከረሱ፣ ዳግም ለማስጀመር የIT ባለሙያ ያናግሩ።",dashboardTitle:"የዳሽቦርድ እይታ",dashboardDesc:"ዳሽቦርዱ የመዝገብ እንቅስቃሴዎችዎን አጠቃላይ እይታ ያቀርባል",recordsCreated:"የተፈጠሩ መዝገቦች",recordsTotal:"እርስዎ የጀመሩት ጠቅላላ መዝገቦች",recordsReceived:"የተቀበሉት መዝገቦች፡",incomingDocs:"ከሌሎች የተላኩ መዝገቦች",breakdown:"የውስጥ/የውጭ ክፍፍል፡",visuals:"የሰነዶችን በአይነት የሚያሳዩ ቻርቶች",approvalStatus:"የማጽደቅ ሁኔታ",approvalTypes:"በመጠባበቅ፣ የተፃደቁ ወይም የተወሰኑ መዝገቦች",quickActions:"ፈጣን እርምጃዎች",createOrCheck:"አዲስ መዝገብ ይፍጠሩ ወይም መጠባበቅ ላይ ያሉትን ያረጋግጡ",recentActivity:"የቅርብ ጊዜ እንቅስቃሴ",trackUpdates:"በደብዳቤዎች ላይ የተደረጉትን አዳዲስ ለውጦች ይከታተሉ",manageOut:"የውጪ መዝገቦችን አስተዳደር",createNew:"አዲስ መዝገቦች መፍጠር",goToTab:"ወደ ትምህርቱ ይሂዱ",clickBtn:"ቁልፍ ይጫኑ",fillFields:"ሁሉንም ያስፈልጋቸውን መስኮች (የመዝገብ አይነት፣ ተቀባይ፣ ርዕስ ወዘተ) ይሙሉ",attach:"የሚያስፈልጉትን ደጋፊ ሰነዶች ይጨምሩ",saveOrSubmit:"አስቀምጥ_ወይም_ላክ",trackStatus:"የመዝገብ ሁኔታ መከታተል",notForwarded:"ይህ ደብዳቤ አሁንም አልተላከም። ሊሻሽልና ሊሰረዝ ይችላል።",awaiting:"ይህ ደብዳቤ ተቀባይነት ወይም ማጽደቅ እየተጠበቀ ነው።",accepted:"ይህ ደብዳቤ ተቀብሏል እና ለማጽደቅ እየተጠበቀ ነው።",approvedSent:"ይህ ደብዳቤ ጸድቋል እና ለመላክ ወደ መዝገብ አመራር ተልኳል።",returned:"ይህ ደብዳቤ ለማስተካከል ወይም ተጨማሪ መረጃ ለማቅረብ ተመለሰ። እባክዎን አስተያየቶቹን ይመልከቱ።",rejected:"ይህ ደብዳቤ ተቀባይነት አልተሰጠውም።",sent:"ይህ ደብዳቤ ወደ ተቀባዮች ተልኳል።",returnedByOfficer:"ይህ ደብዳቤ በመዝገብ ቤት አመራር ተመለሰ።",monitor:"በየማጽደቅ ደረጃዎች ውስጥ መዝገቦችዎን መከታተል",manageIncoming:"የውስጥ መዝገቦችን አስተዳደር",incomingTypes:"የውስጥ መዝገቦች አይነቶች",fromOthers:"ከሌሎች ድርጅቶች",withinOrg:"በድርጅቱ ውስጥ",copied:"ቅጂ ተደርጓል",processIncoming:" ገቢ ደብዳቤ ማስተዳደር",readDoc:"ሙሉውን ሰነድ ክፈትና አንብብ",acknowledge:"የሰነዱን መቀበል ያረጋግጡ",forward:"ወደ ሌላ ቡድን አባል ላክ ከሚያስፈልግ",archive:"አርካይቭ",fileRef:"ለማጥናት ሰነድ ያዝዙ",approvalworkflow:"የማጽደቅ ሂደት",process:"የማጽደቅ ሂደት",internalFlow:"የውስጥ መዝገቦች ሂደት፡",creator:"አምራች",leader:"ቡድን አለቃ",director:"ዳይሬክተር",officer:"የመዝገብ ሰራተኛ",externalFlow:"የውጭ መዝገቦች ሂደት፡",actions:"የማጽደቅ እርምጃዎች",delegation:"ውክልና",delegateInfo:"እርስዎ ከማይኖሩ ጊዜ ሌላ ሰራተኛ ሥልጣንዎን ሊሰጥ ይችላሉ፡",delegateNav:"ወደ ዚህ ይሂዱ",selectColleague:"ከድርጅታችሁ ባለሙያ አንዱን ይምረጡ",setDates:"የመነሻና የመጨረሻ ቀናትን ያዘጋጁ",setPerms:"ፈቃድ አውጣ",saveDelegate:"የሥልጣን ማዋል ቅንብሮችን ያስቀምጡ",autoExpire:"የውክልና ስልጣኖች በተወሰነው ቀን ራሳቸውን ይዘጋሉ።",collab:"በሠራተኞች መካከል ያለ ሥራ ማጋራት",collabInfo:"የሥራ ማጋራት መረጃ።",viewDocs:"ሁሉንም ተባባሪ ሰነዶች አንድ ቦታ ይመልከቱ",addComments:"አስተያየቶችን ወይም ማስታወሻዎችን ያክሉ",approve:"ዲጂታል ፊርማ ና ቲተር በመጠቀም ማጽደቅ",trackChanges:"የተደረጉ ለውጦችን እና የመሻሻያ ታሪክን ክትትል",realTime:"በእውነተኛ ጊዜ ማሻሻያ",liveChanges:"በቀጥታ የሚደረጉ ለውጦች መከታተል",notifications:"ማሳወቂያዎች",alerts:"አስቸኳይ ትኩረት የሚፈልግ",signatureMgmt:"የተሰጠ ፊርማና ምልክት አስተዳደር",leadersOnly:"የቡድን አለቆችና ከዚያ ላይ ያሉ የዲጂታል ፊርማና ምልክት ሊከታተሉ ይችላሉ።",signatureTitle:"ምልክትና ፊርማ",uploadTeeter:"ቲተር አስገቡ",uploadSignature:"ዲጂታል ፊርማዎን ይፍጠሩ ወይም ይስጡ",defaultSignature:"እያንዳንዱ ማጽደቅ ላይ የሚጠቀሙት ፊርማ",updateDesignation:"ስራ መደብ ሲለዋወጥ አዘምነው",security:"የደህንነት ማስታወሻ፦",encrypted:"በሚስጥር ኮድ የተፃፈ።",recordModule:"የመዝገብ አስተዳደር ክፍል",guide:"ስማርት ኦፊስ ፕላትፎርም ስርዓትን ለመጠቀም ሙሉ መምሪያ",back:"ወደ ዳሽቦርድ ተመለስ",moduleGuide:"የክፍል መመሪያ",previous:"ቀዳሚ",next:"ቀጣይ",addTeeterSignature:"ዲጂታል ቲተር እና ፊርማ ያክሉ",returnWithComments:"ከአስተያየት ጋር መመለስ",requestChanges:"የማሻሻያ ጥያቄ",screenshotOf:"የእስክሪን ካፕቸር",fasterApproval:"ፈጣን ማጽደቅ",auditReady:"ለኦዲት ዝግጁ",organizedRecords:"የተደራጀ መዝገቦች",tab:"Tab",click:"ይጫኑ",button:"ቁልፍ",services:"አገልግሎቶች",fileComplaint:"ቅሬታ ያቅርቡ",followComplaint:"ቅሬታ ተከታትሉ",aboutUs:"ስለ እኛ ያውቁ",uptime:"የስራ ሰዓት",bureaus:"ቢሮዎች",support:"ድጋፍ",features1:"መስፋፋት የሚችል",features2:"በበርካታ መሳሪያዎች ላይ ይሰራል",features3:"በክላውድ ላይ የተመሰረተ የመዝግብ ማመሳሰል",features4:"በዝቅተኛ ኮኔክሽን የሚሰራ",features5:"ተለዋዋጭ እና ምላሽ ሰጪ የተጠቃሚ በይነገጽ",features6:"ደህንነቱ የተጠበቀ",darkMode:"የጨለማ ሁኔታ",lightMode:"የብርሃን ሁኔታ"},nL={webManagement:"ዌብ ኮንተንት",addUser:"ተጠቃሚ ጨምር",settings:"ሲቲንግስ","Archive Users":"የተሰረዙ ተጠቃሚዎች","Archived Organizations":"የተመዘገቡ ድርጅቶች","Archived Units & Positions":"የተመዘገቡ ክፍሎች እና የስራ መደቦች",organizations:"ድርጅቶች",newOrganization:"አዲስ ድርጅት",organizationName:"የድርጅቱ ስም","Migrated Records":"የፈለሱ ደብዳቤዎች","Letter Template":"የደብዳቤ ቅጽዎች",createdOn:"ተፈጠረበት ቀን",numberOfUsers:"የተጠቃሚዎች ብዛት",assignedAdmin:"የተመደበ አስተዳዳሪ",isGovernmentOrganization:"መንግስታዊ ድርጅት ነው?",createNew:"አዲስ ፍጠር",edit:"አስተካክል",enterDetails:"አዲሱን ድርጅት ዝርዝሮች ያስገቡ። በአስተማማኝ እንደተሰኘ ያሉ ሜዳዎች (*) አስፈላጊ ናቸው።",nameAmharic:"ስም (አማርኛ)",nameEnglish:"ስም (እንግሊዝኛ)",key:"ቁልፍ",organizationType:"የድርጅት አይነት",loadingOrganizationTypes:"የድርጅት አይነቶችን በመጫን ላይ...",errorLoadingOrganizationTypes:"የድርጅት አይነቶችን ማጫን ላይ ስህተት ተፈጥሯል",noOrganizationTypesAvailable:"ምንም የድርጅት አይነት አልተገኘም",parentOrganization:"ዋና ድርጅት (አማራጭ)",loading:"በመጫን ላይ...",selectOrganization:"ድርጅት ይምረጡ",selectOrganizationFirst:"መጀመሪያ ድርጅት ይምረጡ",noOrganization:"ምንም ድርጅት የለም",isOrganizationPublic:"ድርጅቱ የህዝብ ነው?",selectOrganizationType:"የድርጅት አይነት ይምረጡ",deleteOrganization:"ድርጅቱን ሰርዝ",confirmDelete:"በቋሚነት መሰረዝ እንደምትፈልጉ እርግጠኛ ነን?",cannotUndo:"ይህ እርምጃ ሊያስወግድ አይችልም።",deleting:"በማጥፋት ላይ ...",delete:"አጥፋ",viewOrganization:"ድርጅቱን ይመልከቱ",editOrganization:"ድርጅቱን አስተካክል",englishNameRequired:"የእንግሊዝኛ ስም አስፈላጊ ነው",amharicNameRequired:"የአማርኛ ስም አስፈላጊ ነው",invalidEmail:"የተሳሳተ ኢሜይል አድራሻ",usernameMinLength:"የተጠቃሚ ስም ቢያንስ 3 ፊደላት መሆን አለበት",organizationRequired:"ድርጅት አስፈላጊ ነው",invalidPhoneNumber:"ስልክ ቁጥሩ ትክክለኛ የኢትዮጵያ ቁጥር መሆን አለበት",registerAdminTitle:"የድርጅት አስተዳዳሪን መመዝገብ",registerAdminDescription:"ለመመዝገብ አስፈላጊ መረጃዎችን ያስገቡ",enterEnglishName:"የእንግሊዝኛ ስም ያስገቡ",enterAmharicName:"የአማርኛ ስም ያስገቡ",email:"ኢሜይል",emailExample:"email@example.com",username:"የተጠቃሚ ስም",enterUsername:"የተጠቃሚ ስም ያስገቡ",phoneNumber:"ስልክ ቁጥር",phoneNumberExample:"ለምሳሌ፡ 0912345678 ወይም +251912345678",organization:"ድርጅት",registering:"በመመዝገብ ላይ...",registerAdmin:"አስተዳዳሪን መመዝገብ",dashboard:"ዳሽቦርድ",organizationAdmins:"የድርጅት አስተዳዳሪዎች",externalUsers:"ውጪ ተጠቃሚዎች",userManagement:"የተጠቃሚ አስተዳደር",content:"ይዘት",bulkUpload:"በጥቅል መጫን",positionTypes:"የመደብ አይነቶች",activityLog:"የእንቅስቃሴ መዝገብ",setting:"ቅንብሮች",loadingAdmins:"አስተዳዳሪዎችን በመጫን ላይ...",errorLoadingAdmins:"የአስተዳዳሪ መረጃን ማጫን ላይ ስህተት ተፈጥሯል",retry:"ደግመው ይሞክሩ",assignAdmin:"አስተዳዳሪ መመደብ",addAdmin:"አስተዳዳሪ ያክሉ",adminAssignedSuccess:"አስተዳዳሪ በትክክል ተመድቧል",userAssignedSuccess:"ተጠቃሚው በትክክል ተመድቧል",userAssignFailed:"ተጠቃሚውን መመደብ አልተቻለም",assignAdminToOrganization:"አስተዳዳሪን ወደ ድርጅት መመደብ",assignAdminInstructions:"እንደ አስተዳዳሪ ለመመደብ ድርጅትን እና ተጠቃሚን ይምረጡ።",users:"ተጠቃሚዎች",searchUsers:"ተጠቃሚዎችን ይፈልጉ...",noUsersFound:"ምንም ተጠቃሚዎች አልተገኙም",assigning:"በመመደብ ላይ...",assignUser:"ተጠቃሚ ይመድቡ",pendingExternalUsers:"በመጠባበቅ ላይ ያሉ ውጪ ተጠቃሚዎች",activateUserPrompt:"ይህን ተጠቃሚ ማንቃት ይፈልጋሉ?",activateUserDescription:"ይህ ተጠቃሚ መድረኩን ማግኘት ይችላል",activating:"በመንቃት ላይ...",yesActivate:"አዎ, አንቃ",statistics:"ስታቲስቲቅሬታ ",totalOrganizations:"ድርጅቶች ጠቅላላ ብዛት",recentOrganizations:"ቅርብ ጊዜ የተመዘገቡ ድርጅቶች",viewMore:"ተጨማሪ ይመልከቱ →",recentActivities:"ቅርብ ጊዜ እንቅስቃሴዎች",moreActivities:"ተጨማሪ እንቅስቃሴዎች →",noRecentActivities:"ምንም ቅርብ ጊዜ እንቅስቃሴ አልተገኘም",contentManagement:"የይዘት አስተዳደር",Bulk:"በኤቅሬታ ኤል ይመዝግቡ",Position:"የተጠቃሚ ፍቃዶች",updatedOn:"ተፈጠረበት ቀን",contentMsg:"የድርጅትዎን ይዘቶችንና ንብረቶችን በትክክል ያቀናብሩ።",selectUnit:"ድርጅት ይምረጡ",visibilityToOthers:"ለሌሎች ድርጅቶች ይታያል",visibility:"ታይነት",visible:"ይታያል",hidden:"ተደብቋል",visibilityEnabled:"ድርጅቱ አሁን ለሌሎች ድርጅቶች ይታያል",visibilityDisabled:"ድርጅቱ አሁን ከሌሎች ድርጅቶች ተደብቋል",visibilityUpdateFailed:"የድርጅት ታይነት ማዘመን አልተሳካም"},oL={"View Detail":"ዝርዝር እይ","Open actions menu":"የእርምጃ ምናሌ ክፈት",Actions:"እርምጃዎች",convertRecord:"መዝገብ ቀይር",return:"መመለስ",returning:"በመመለስ ላይ...",returing:"በመመለስ ላይ...",conformReturn:"መመለስን አረጋግጥ","Please provide a reason for returning this record.":"እባክዎ ይህን መዝገብ ለማመለስ ምክንያት ያስገቡ።",ReturnComment:"የመመለስ አስተያየት",EnterReturnReason:"የመመለስ ምክንያት አስገባ",CommentRequired:"አስተያየት አስፈላጊ ነው",RecordReturnedSuccessfully:"መዝገቡ በተሳካ ሁኔታ ተመለሰ",FailedToReturnRecord:"መዝገቡን ማመለስ አልተሳካም"},iL={title:"የተሰቀሉ ሰነዶች",refreshButton:"አድስ",userInformation:"የተጠቃሚ መረጃ",organizationName:"የድርጅት ስም",email:"ኢሜል",phoneNumber:"ስልክ ቁጥር",totalDocuments:"ጠቅላላ ሰነዶች",failedToLoadUserInfo:"የተጠቃሚ መረጃ መጫን አልተቻለም",document:{viewDocument:"ሰነድ ይመልከቱ",requirements:"መስፈርቶች",optional:"አማራጭ",required:"አስፈላጊ",noRequirements:"ምንም መስፈርት የለም",status:{approved:"ተቀባይነት አግኝቷል",rejected:"ተቀባይነት አላገኘም",pending:"በመጠባበቅ ላይ"}},loading:{failedToLoad:"መረጃ መጫን አልተቻለም",failedToLoadRequirements:"መስፈርቶችን መጫን አልተቻለም"}},sL={incompleteRegistration:"የምዝገባ ሂደትዎ አልተሟላም። እባክዎ የሚያስፈልጉ ሰነዶችን ያውርዱ እና ይቀጥሉ።",uploadDocuments:"ሰነዶችን ያውርዱ",registrationRequired:"ይህን ገጽ ለመጠቀም የምዝገባ ሂደትዎን መጨረስ አለብዎት።",title:"ምዝገባ",steps:{registerUpload:{title:"ይመዝገቡ እና ይጫኑ",description:"ዝርዝሮችን ይሙሉ እና የሚያስፈልጉ ሰነዶችን ይጫኑ"},verifyOtp:{title:"በይለፍ ቃል ያረጋግጡ",description:"ወደ ስልክዎ/ኢሜልዎ የተላከውን ማረጋገጫ ኮድ ያስገቡ"}},form:{registrationType:"የምዝገባ አይነት",organization:"በድርጅት",individual:"በግለሰብ",organizationEmail:"የድርጅቱ ኢሜል",organizationEmailPlaceholder:"organization@example.com",individualEmail:"የግል ኢሜል",individualEmailPlaceholder:"personal@example.com",organizationUsername:"የድርጅት የተጠቃሚ ስም",organizationUsernamePlaceholder:"የድርጅት_ተጠቃሚ",individualUsername:"የግል የተጠቃሚ ስም",individualUsernamePlaceholder:"የግል_ተጠቃሚ",organizationPhone:"የድርጅት ስልክ",organizationPhonePlaceholder:"+251 የድርጅት ስልክ",individualPhone:"የግል ስልክ",individualPhonePlaceholder:"+251 የግል ስልክ",organizationNameEn:"የድርጅት ስም (እንግሊዝኛ)",organizationNameEnPlaceholder:"የኩባንያ ስም ሊሚትድ",individualNameEn:"ሙሉ ስም (እንግሊዝኛ)",individualNameEnPlaceholder:"ጆን ዶው",organizationNameAm:"የድርጅት ስም (አማርኛ)",organizationNameAmPlaceholder:"የድርጅት ስም",individualNameAm:"ሙሉ ስም (አማርኛ)",individualNameAmPlaceholder:"የግለሰብ ስም",organizationSubmitButton:"ድርጅት ይመዝገቡ እና ሰነዶችን ይጫኑ",individualSubmitButton:"ግለሰብ ይመዝገቡ እና ሰነዶችን ይጫኑ",processing:"በማቀናበር ላይ..."},userType:{selectionDescription:"ለመጀመር የምዝገባ አይነትዎን ይምረጡ",organization:"ድርጅት",organizationDescription:"እንደ ኩባንያ፣ ተቋም ወይም ድርጅት ይመዝገቡ",individual:"ግለሰብ",individualDescription:"እንደ ግለሰብ ወይም ባለሙያ ይመዝገቡ"},continueButton:"ወደ ምዝገባ ይቀጥሉ",documents:{requiredDocuments:"የሚያስፈልጉ ሰነዶች",requirementsUpdate:"የምዝገባ አይነት ሲቀይሩ መስፈርቶች ይቀየራሉ",attached:"ተያይዟል",tip:"ማስታወሻ: አሁን ይጫኑ ወይም ቀጥለው ከማረጋገጫው በኋላ ይጫኑ",noRequirements:"ምንም የሰነድ መስፈርቶች የሉም",upload:"ጫን",change:"ቀይር",remove:"አስወግድ",required:"ያስፈልጋል",fileSelected:"ፋይል ተመርጧል",readyToUpload:"ለመጫን ዝግጁ",previouslyUploaded:"ቀደም ብሎ ተጫኗል",willUploadOnSubmit:"በሚላክበት ጊዜ ይጫናል",fayda:"ፋይዳ ቁ.",faydaMessage:"የፋይዳ መ/ቁጥር አስገባ"},verifyOtp:{title:"መለያዎን ያረጋግጡ",description:"ወደ ስልክዎ የላክነውን 6-አሃዝ ኮድ ያስገቡ።",channel:{email:"ኢሜልዎ",phone:"ስልክዎ"},otpInput:{ariaLabel:"ቁምፊ {index}",placeholder:"የOTP ኮድ ያስገቡ"},password:{newPassword:"አዲስ የይለፍ ቃል",confirmPassword:"የይለፍ ቃል ያረጋግጡ",showPassword:"የይለፍ ቃል አሳይ",hidePassword:"የይለፍ ቃል ደብቅ"},buttons:{back:"ተመለስ",completeRegistration:"ምዝገባውን ጨርስ",verifying:"በማረጋገጥ ላይ...",resendCode:"ኮድ እንደገና ይላኩ",resending:"በመላክ ላይ...",resendIn:"በ {seconds} ሰከንድ እንደገና ይላኩ",resendLoading:"ኮድ እንደገና በሚልክበት ላይ",resendCooldown:"ኮድ እንደገና በ {seconds} ሰከንድ ይላኩ"},messages:{success:"የይለፍ ቃል በተሳካ ሁኔታ ተቀምጧል!",verificationCodeResent:"የማረጋገጫ ኮድ እንደገና ወደ ኢሜልዎ/ስልክዎ ተልኳል።",missingEmailPhone:"ኢሜል ወይም ስልክ ቁጥር አልተገኘም።",invalidOtp:"እባክዎ ትክክለኛ 6-አሃዝ OTP ያስገቡ።",fillPasswords:"እባክዎ ሁለቱንም የይለፍ ቃል ሜዳዎች ይሙሉ።",passwordLength:"የይለፍ ቃል ቢያንስ 8 ቁምፊዎች ሊኖሩት ይገባል።",passwordMismatch:"የይለፍ ቃሎች አይጣጣሙም።",passwordUpdateFailed:"የይለፍ ቃል ማዘመን አልተሳካም። እባክዎ እንደገና ይሞክሩ።",resendFailed:"የማረጋገጫ ኮድ እንደገና ለማስተላለፍ አልተሳካም። እባክዎ እንደገና ይሞክሩ።",registrationComplete:"ምዝገባ እና የሰነድ መጫን በተሳካ ሁኔታ ተጠናቅቋል!",selectUnitWarning:"እባክዎ ክፍል ይምረጡ",fillAllFields:"እባክዎ ሁሉንም መስኮች ይሙሉ",configAdded:"ማስተካከያ በተሳካ ሁኔታ ተጨምሯል",configUpdated:"ማስተካከያ በተሳካ ሁኔታ ተዘምኗል",configAddFailed:"ማስተካከያ ማክል አልተሳካም",configUpdateFailed:"ማስተካከያ ማዘመን አልተሳካም"},errors:{missingUserId:"የተጠቃሚ መለያ አልተገኘም። የማረጋገጫ ኮድ እንደገና ማስተላለፍ አይቻልም።",resendFailed:"የማረጋገጫ ኮድ እንደገና ለማስተላለፍ አልተሳካም።",alreadyRegistered:"በአንድ ኢሜል ወይም ስልክ ቁጥር አንድ ጊዜ ብቻ መመዝገብ ይችላሉ። ስለዚህ እንደገና ለመመዝገብ ከሚሞክሩት ይልቅ፣ ወደ መግቢያ ይሂዱ እና የይለፍ ቃልዎን ለማደስ 'የይለፍ ቃል ረሳኝ' የሚለውን ይጠቀሙ።"},support:{needHelp:"እርዳታ ይፈልጋሉ?",helpLink:"/support/resend-sms"}}},aL={verifyIdentity:"ማንነትዎን ያረጋግጡ",enterCodeSent:"ወደ ኢሜልዎ የተላከውን ማረጋገጫ ኮድ ያስገቡ",verifySubmission:"ማስገባትን ያረጋግጡ",enterCodeToSubmit:"መዝገብዎን ለማስገባት ማረጋገጫ ኮድ ያስገቡ",clearCode:"ኮድ አጽዳ",resendCode:"ኮድ እንደገና ላክ",verifyingCode:"ኮድዎን እያረጋገጥን ነው፣ እባክዎ ይጠብቁ",verificationSuccess:"ማረጋገጫ ተሳክቷል!",verificationFailed:"ማረጋገጫ አልተሳካም። እባክዎ እንደገና ይሞክሩ።"},lL={moveDepartement:" ወደ ሌላ ክፍል አንቀሳቅስ",positions:"የስራ መደብ",selectPositions:"የተመረጠ የስራ መደብ",updateCount:"ቁጥር ያሻሽሉ",currentCount:"አሁን ያለው ቁጥር",bulkMsg:"ሁሉንም ይመዝግቡ",sealNameMsg:"የድርጅት ማህተም ስም አስፈላጊ ነው",sealSuccessMsg:"ማህተሙ ተሰቀለና በትክክል ተመዝግቧል",sealErrorMsg:"ማህተምን ማስገባትና መመዝገብ አልተቻለም",sealRemove:"ማህተሙ በትክክል ተወግዷል",seal:"የድርጅት ማህተሞች",uploadSealMsg:"የድርጅት ማህተሞችን ያስገቡና ያቀናብሩ",sealImage:"የማህተም ምስል",count:"ቁጥር",addSeal:"ማህተም ጨምር",noSealMsg:"ማህተሞች አልተሰቀሉም",addSealInstruction:"ማህተም ለማስገባት ማህተም ጨምር ይጫኑ",sealName:"የማህተም ስም",saveSeal:"ማህተም አስቀምጥ",letterTemplate:"የደብዳቤ አብነቶች",createMsg:"በዚህ አካል ውስጥ የተመዘገቡ አብነቶችን ይፍጠሩ ወይም ያርቱ",addTemplate:"አብነት ያክሉ",failedToLoadTemplates:"አብነቶችን መጫን አልተቻለም",selectTemplate:"አብነት ይምረጡ",updateTemplate:"አብነት ያሻሽሉ",updateFled:"ማስተካከል አልተሳካም",createFled:"ፍጠር አልተሳካም",templateSuccessMsg:"በትክክል ተፈጥሯል",failedToLoadHeaderFooter:"ሄደሮች/ፉተሮችን መጫን አልተቻለም",failedToDelete:"መሰረዝ አልተቻለም",deleted:"ተሰርዟል",provideMsg:"እባኮትን ስምና ፋይል አቅርቡ",uploadSuccess:"በትክክል ተሰቀለ",uploadFailed:"ማስገባት አልተሳካም",addHeaderFooter:"ሄደር/ፉተር ያክሉ",name:"ስም",internalSuffixCC:"ድህረ ቅጥያ CC",internalPrefixCC:"ቅድመ ቅጥያ CC",internalPrefix:"የውስጥ ቅድመ ቅጥያ",externalPrefix:"የውጭ ቅድመ ቅጥያ",internalMemoPrefix:"የዉስጥ ማስታወሻ ቅድመ ቅጥያ",reference:"የድርጅቱ የተለመደ ማጣቀሻ ቁጥር",externalReference:"የገቢ ደብዳቤዎች ማኣቀሻ ቁጥር",internalMemoReference:"የዉስጥ ማስታወሻ ደብዳቤዎች ማጣቀሻ ቁጥር",prefixCC:"ቅድመ ቅጥያ CC",suffixCC:"ድህረ ቅጥያ CC",internalSuffix:"የውስጥ ድህረ ቅጥያ",position:"የስራ መደብ",selectPosition:"የስራ መደብ ይምረጡ",value:"እሴት",enterValue:"እሴት ያስገቡ",confirmDelete:"መሰረዝ አረጋግጥ",common:"የውስጥ ድህረ ቅጥያ",type:"አይነት",header:"ሄደር",footer:"ፉተር",uploadFile:"ፋይል ያስገቡ",preview:"ቅድመ እይታ",status:"ሁኔታ",active:"ንቁ",inactive:"አልተንቀሳቀሰ",activate:"አንቀሳቅስ",deactivate:"አቁም",currentlyActive:"አሁን ንቁ",statusChanged:"ሁኔታ በትክክል ተቀይሯል",statusChangeFailed:"ሁኔታን መቀየር አልተቻለም",delete:"ሰርዝ",refNoRequired:"የማጣቀሻ ቁጥር አስፈላጊ ነው",nameRequired:"ሁለቱም ስሞች አስፈላጊ ናቸው።",recordTypeRequired:"የመዝገብ አይነት አስፈላጊ ነው",deleteMsg:"ይህን ነገር መሰረዝ እንደምትፈልጉ እርግጠኛ ነዎ?",filter:"በመዝገብ አይነት ያጣሩ",showCC:"የግልባጭ ነገሮችን ብቻ አሳይ",add:"ቅድመ/ቅጥያ/ማጣቀሻ ያክሉ",addPrefix:"የማጣቀሻ ቁጥር ያክሉ",edit:"አስተካክል",prefix:"ቅድመ ቅጥያ",suffix:"ድህረ ቅጥያ",recordType:"የመዝገብ አይነት",CC:"ይህ የግልባጭ ነው?",amharicName:"የአማርኛ ስም",englishName:"የእንግሊዝኛ ስም",PrefixSuffix:"የቅድመ/ቅጥያ/ማጣቀሻ ዝርዝር",positionPrefixes:"የስራ መደብ ማጣቀሻ ቁጥሮች",positionRequired:"የስራ መደብ ያስፈልጋል",noRec:"መዝገቦች አልተገኙም።",loading:"በመጫን ላይ...",submitUsers:"ተጠቃሚዎችን አስገባ",selectFile:"ፋይል ይምረጡ",posMissing:"'የስራ መደብ' ወይም 'ባለሙያ' ሉህ አልተገኘም።",invalidFile:"የተከተተው ፋይል ባዶ ነው ወይም ልክ አይደለም።",parseSuccess:"ፋይሉ በትክክል ተተረጎመ።",parseError:"ፋይሉን መተረጎም አልተቻለም።",noData:"በፋይሉ ውስጥ መረጃ አልተገኘም።",Units:"ዩኒት",saving:"በማስቀመጥ ላይ...",teamMember:"የቡድን አባል",msg1:"ምንም የቡድን አባላት አልተገኙም",msg2:"የቡድን አባላትን ለማየት ቦታ ይምረጡ",msg3:"ወደዚህ መስሪያ ቤት የቡድን አባላትን ያክሉ",msg4:"የቡድን አባላትን ለማየት በመስሪያ ቤቶች ውስጥ ይጓዙ",userDetail:"የተጠቃሚ ዝርዝር",editEmployee:"ሰራተኛን አስተካክል",noUnit:"ምንም ዩኒት አልተገኘም",noOrg:"ምንም ድርጅቶች አልተገኙም",addUser:"ተጠቃሚ ጨምር",addSubdepartement:"ንዑስ የስራ መደብ መጠርያ ጨምር",editDepartment:"የስራ መደብ መጠርያ አስተካክል",moveDepartment:"የስራ መደብ መጠርያ አንቀሳቅስ",archiveDepartment:"የስራ መደብ መጠርያ አርክብ አድርግ",deleteDepartment:"የስራ መደብ መጠርያ ሰርዝ",addUnit:"ዩኒት ጨምር",editUnit:"ዩኒት አስተካክል",addDepartment:"የስራ መደብ መጠርያ ጨምር",deleteUnit:"ዩኒት ሰርዝ",actions:"ድርጊቶች",createUnit:"ዩኒት ፍጠር",addFromSubCity:"ከ ክፍለ ከተማ ጨምር",addNewUnit:"አዲስ ዩኒት ጨምር",configuredUnitLimit:"የተዋቀረ የዩኒት ገደብ፦ {{max}}",linkedUnits:"ጥቅም ላይ የዋለ",remainingSlots:"የቀረ",checkingCapacity:"የተዋቀረ አቅም በመፈተሽ ላይ…",noCapacityConfigured:"ለዚህ ድርጅት የዩኒት አቅም አልተዋቀረም። ሱፐር አድሚኑ በድርጅት ውቅረት አስተዳደር እንዲያዋቅረው ይጠይቁ።",capacityReached:"የአቅም ገደብ ደርሷል። የተዋቀረ ከፍተኛ {{max}} ነው።",capacityReachedShort:"ገደብ ደርሷል — ተጨማሪ ዩኒቶች መፍጠር አይቻልም።",selectSubCity:"ንዑስ ከተማ ይምረጡ",selectSubCityFirst:"በመጀመሪያ ንዑስ ከተማ ይምረጡ",selectUnit:"ዩኒት ይምረጡ",noSubCities:"ምንም ንዑስ ከተሞች አልተገኙም",subCityRequired:"እባክዎ ንዑስ ከተማ ይምረጡ",unitRequired:"እባክዎ ዩኒት ይምረጡ",parentUnitMissing:"ወላጅ ዩኒት ጠፍቷል",unitRelatedSuccess:"ዩኒት በተሳካ ሁኔታ ተገናኝቷል",permissionType:"የፍቃድ አይነቶች",newPermission:"አዲስ ፍቃድ",permissionManagement:"የፍቃድ አስተዳደር",exportTypes:"የላክ አይነቶች",exporting:"በማላክ ላይ...",delMsg:"እርግጠኛ ነዎት?",delMsg2:"ይህ እርምጃ ማቋረጥ አይቻልም። ፍቃዱን በቋሚነት ይሰርዛል።",permission:"ፍቃድ",copyPermissionsFrom:"ፍቃዶችን ከ",selectPositionToCopy:"ፍቃዶችን ለመቅዳት የምትፈልጉትን የቦታ አይነት ይምረጡ",selectApplication:"አፕሊኬሽን ይምረጡ",selectApplicationToLoadPermissions:"ፍቃዶቹን ለማስገንዘብ አፕሊኬሽኑን ይምረጡ",copyPermissionsHint:"የነበረ የቦታ አይነት ይምረጡ፤ ፍቃዶቹ አስቀድመው ይሞላሉ፣ ከታች ማስተካከል ይችላሉ።",copyPermissionsFailed:"ፍቃዶችን መቅዳት አልተቻለም",perFailed:"ፍቃድ መፍጠር አልተቻለም",perSuccess:"የፍቃድ አይነት ተፈጠረና ፍቃዶች ተመደቡ",updatePerSuccess:"ፍቃድ በትክክል ተዘምኗል",updatePerFailed:"ፍቃድ ማዘመን አልተቻለም",permissionName:"የፍቃድ ስም",key:"ቁልፍ",createdAt:"የተፈጠረበት ቀን",updatedAt:"የተስተካከለበት ቀን",createPermission:"ፈቃድ ፍጠር",keyRequired:"መክፈቻ አስፈላጊ ነው",selectPosType:"የቦታ አይነት ይምረጡ",adding:"በመጨመር ላይ...",msg:"በተሳካ ሁኔታ ታካትቷል",subDep:"ንዑስ የስራ መደብ መጠር",parentDep:"ዋና የስራ መደብ መጠር",invalidMsg:"እባኮትን የተሰለቸውን መስኮቶች ያስተካክሉ።",success:"ተሳክቷል",unit:"ዩኒት",onlyPngAllowed:"በPNG ብቻ ፋይሎች መፍቀድ ይቻላል።",user:"ተጠቃሚ",firstName:"የመጀመሪያ ስም",lastName:"የአባት ስም",selectUser:"ተጠቃሚን ይምረጡ",userRequired:"ተጠቃሚ አስፈላጊ ነው",userRequiredMsg:"እባኮትን ለመመደብ ተጠቃሚን ይምረጡ።",userError:"የተመረጠው ተጠቃሚ ልክ አይደለም ወይም አልተገኘም።",userSuccess:"ተጠቃሚ በተሳካ ሁኔታ ተመድቧል",updated:"በተሳካ ሁኔታ ተቀይሯል",department:"የስራ መደብ መጠር",departmentRequired:"የስራ መደብ አስፈላጊ ነው",departmentSuccess:"የስራ መደብ በተሳካ ሁኔታ ተመርጧል",permissionSuccess:"የቦታ አይነት ተፈጠረና ፍቃዶች ተመደቧል",permissionFailed:"ቦታን መፍጠር አልተቻለም",editRemark:"አስተያየት አስተካክል",addRemark:"አስተያየት ያክሉ",commonRemarks:"የተለመዱ አስተያየቶች",onlySquareAllowed:"የማኅተሙ ቁመት እና ስፋት ተመሳሳይ መሆን አለበት (300x300)",searchPermissions:"ፍቃዶችን ይፈልጉ...",noPermissionsFound:"ከፍለጋዎ ጋር የሚዛመድ ፍቃድ አልተገኘም",noPermissionsAvailable:"ምንም ፍቃዶች አይገኙም",showingPermissions:"{{count}} ከ {{total}} ፍቃዶች እያሳዩ ነው",createTemplate:"ቴምፕሌት ይፍጠሩ",editTemplate:"ቴምፕሌት ያርትዑ",viewTemplate:"ቴምፕሌት ይመልከቱ",deleteTemplate:"ቴምፕሌት ይሰርዙ",deleteTemplateConfirm:"'{{name}}' ቴምፕሌትን መሰረዝ እርግጠኛ ነዎት? ይህ ድርጊት መልሰው ማድረግ አይችሉም።",noTemplates:"ምንም ቴምፕሌቶች አልተገኙም",sincerelyText:"የመዝጊያ ጽሁፍ",body:"ይዘት",CanReceiveRecord:"መዝገብ መቀበል ይችላል።",headerAndFooter:"ሄድርና ፉተር"},cL={manageConfig:{title:"የ{{type}} ማስተካከያ አስተዳድር",description:"{{level}} አቅም እና መዋቅር ያስተካክሉ",organization:"ድርጅት",unit:"ክፍል",selectUnit:"ክፍል ይምረጡ",selectUnitPlaceholder:"ክፍል ይምረጡ",subOrganizations:"ንዑስ ድርጅቶች",employeesPerOrg:"በድርጅት ሠራተኞች",subOrgsPlaceholder:"ለምሳሌ 3",employeesPlaceholder:"ለምሳሌ 20",addConfiguration:"ማስተካከያ ያክሉ",updateConfiguration:"ማስተካከያ ያዘምኑ",configurations:"ማስተካከያዎች",loading:"በመጫን ላይ...",noConfigurations:"ምንም ማስተካከያ አልተጨመረም",edit:"አርትዕ",delete:"ሰርዝ",close:"ዝጋ",unitBased:"በክፍል የተመሰረተ",organizationLevel:"በድርጅት ደረጃ"}},uL={title:"መዝገብ መለያዎች",tableName:"መዝገብ መለያዎች",name:"ስም",key:"ቁልፍ",CreatedAt:"የተፈጠረበት ቀን",createNew:"አዲስ መለያ ፍጠር",createTitle:"መዝገብ መለያ",Actions:"እርምጃዎች"},dL={canHaveTagBasedReferenceNumber:"የማጣቀሻ ቁጥር በመለያ መሰረት ሊኖረው ይችላል?",canUserSkipLevel:"ተጠቃሚ ሲመራ ደረጃ መዝለል ይችላል",canRecordDateLabelHasLocalization:"የመዝገብ ቀን የሁለቱም ቋንቋ ሊኖረው ይችላል?",canRecordDateHaveTime:"የመዝገብ ቀን ሰዓት ሊኖረው ይችላል?",canInternalMemoRequirePositionBasedReferenceNumber:"ለውስጥ ማስታወሻ (Memo) የስራ ቦታው የማጣቀሻ ቁጥር ግዴታ ነው?",title1:"የአካል አዋቂነት",title2:"የእያንዳንዱ አካል አቅጣጫን ያዋቅሩ",loading:"አካላትን በመጫን ላይ...",noUnit:"ምንም አካል አልተገኘም",Action:"እርምጃ",Value:"እሴት",Name:"ስም",title3:"የሚወሰድበትን ቦታ አቅጣጫ",title5:"ቲተር እና ፊርማ ይግባ?",title6:"ሁሉም ተባባሪዎች እስኪጨርሱ ድረስ እርምጃ አይውሰድ?",canCreateDirectRecord:"ቀጥታ ደብዳቤ መፍጠር ይቻል",canPositionBasedRecordsBeCreated:"በስራ መደብ ደብዳቤ ለመጻፍ ፍቃድ ይሰጥ?",canPositionBasedReferenceBeUsedForAllTypes:"በስራ መደብ የሚውጡ ደብዳቤዎች በሁሉም የደብዳቤ አይነቶች ላይ ይተግበሩ?",shouldDirectRecordHaveHeaderAndFooter:"ቀጥታ ደብዳቤ ራስጌና ግርጌ ይኖረው",shouldCollaboratorAlwaysSign:"ተባባሪ ሁልጊዜ ይፈርም (የቡድን ፊርማ)",shouldIncludeForYourReferenceInCC:"እንዲያውቁት ያካትቱ",canCollaborationBeCreatedForAll:"ለማንኛውም መዝገብ አይነት የትብብር/የቡድን ስራ መፍጠር ይቻላል?",canRecordBeEditedByCollaborators:"ተባባሪዎች መዝገብን እንዲያርሙ ፍቀድ",canRecordHaveCollaboratorsName:"የተባባሪዎችን ስም በመዝገቡ ላይ አሳይ",canRecordBeEditedOnWorkflow:"በስራ ሂደት ላይ መዝገብን ማርም ፍቀድ",canIncomingAssignmentsBeSeparated:"ገቢ ደብዳቤዎች ተበታትነው ይታዩ?",canROReturn:"የRO መመለስ ፍቀድ",internalMemoHasReferenceNumber:"የውስጥ ማስታወሻ ማጣቀሻ ቁጥር ይኑረው",enabled:"ነቅቷል",disabled:"ተሰናክሏል",editTitle:"የቦታ አቅጣጫን ያርቱ",editMsg:"ለዚህ አካል የቦታ አቅጣጫን ያስተካክሉ",msg1:"የድርጅት መለያ አልተገኘም። እባክዎን ማረጋገጫዎን ያረጋግጡ።",msg2:"የቦታ አዋቂነቶችን በመጫን ላይ...",positionConfig:"የቦታ አዋቂነት",positionConfigMsg:"ለእያንዳንዱ ቦታ የማሳወቂያ ቅንብሮችን እና የስራ እንቅስቃሴ ባህሪን ያዋቅሩ",add:"አዋቂነት ያክሉ",create:"የቦታ አዋቂነት ይፍጠሩ",position:"በስራ መደብ",select:"ቦታ ይምረጡ",select2:"እባክዎ መጀመሪያ አካል ይምረጡ",plsSelect:"የሚገኙትን ቦታዎች ለማየት እባክዎ መጀመሪያ አካል ይምረጡ",positionScope:"የቦታ አቅጣጫ",all:"ሁሉም",immediateChild:"ቀጣዩ ልጅ",parallel:"ከቀጣዩ ልጅ ጋር በአንፃፃፍ",notification:"የማሳወቂያ ቅንብሮች",sms:"የኤስኤምኤስ ማሳወቂያ",smsMsg:"መዝገብ ወደዚህ ቦታ ሲገባ ኤስኤምኤስ ይላኩ",email:"የኢሜይል ማሳወቂያ",emailMsg:"መዝገብ ወደዚህ ቦታ ሲገባ ኢሜይል ይላኩ",inbox:"የኢንቦቅሬታ ማሳወቂያ",inboxMsg:"መዝገብ ወደዚህ ቦታ ሲገባ የኢንቦቅሬታ ማሳወቂያ ያሳዩ",workflow:"የስራ እንቅስቃሴ ቅንብሮች",viewWF:"የስራ ፍሰትን ይመልከቱ",workflowMsg:"አትመልከት ከማንም አትመደበ",workflowMsg1:"ለዚህ ቦታ ማንም ካልተመደበ የስራ እንቅስቃሴውን ዝለል",creating:"በመፍጠር ላይ...",createConfig:"አዋቂነት ይፍጠሩ",error:"የቦታ አዋቂነቶችን ማከተል ላይ ስህተት፦",retry:"እንደገና ይሞክሩ",SMS:"ኤስኤምኤስ",Inbox:"ኢንቦቅሬታ ",skipWF:"የስራ እንቅስቃሴን ዝለል",delete:"ሰርዝ",deleteMsg:"ይህን የቦታ አዋቂነት ማጥፋት እርግጠኛ ነዎት? ይህ እርምጃ አይታወቅም።",updating:"በማዘመን ላይ...",UpdateConfig:"ሲቲንግ ያዘመኑ",archivedUsers:"የተሰረዙ ተጠቃሚዎች",escalationTitle:"የማሳደጊያ ማስተካከያ",escalationDescription:"ለተለያዩ የደብዳቤ አይነቶች የማሳደጊያ ሰዓታትን ያስተካክሉ",loadingConfig:"ማስተካከያ በመጫን ላይ...",loadError:"ማስተካከያ በማምጣት ላይ ስህተት",noConfigFound:"ምንም ማስተካከያ አልተገኘም",edit:"አርትዕ",updateEscalationMsg:"የማሳደጊያ ሰዓት ዋጋውን ያዘምኑ",saving:"በማስቀመጥ ላይ...",saveChanges:"ለውጦችን አስቀምጥ",escalationHour:"መደበኛ የማሳደጊያ ሰዓት",urgentLetterEscalationHour:"አስቸኳይ ደብዳቤ የማሳደጊያ ሰዓት",onReviewLetterEscalationHour:"የግምገማ ደብዳቤ የማሳደጊያ ሰዓት",urgentOnReviewLetterEscalationHour:"አስቸኳይ የግምገማ ደብዳቤ የማሳደጊያ ሰዓት",attachmentSignature:{badge:"የአባሪ ደህንነት",title:"ለአባሪዎች ፊርማ",description:"አንድ አሃድ ይምረጡ እና አባሪዎች በነባሪነት ዲጂታል ፊርማ ያካተቱ መሆን አለመሆናቸውን ይቆጣጠሩ።",unit:"ዩኒት",selectUnit:"Select a unit",loadingUnits:"ዩኒት በመጫን ላይ...",noUnitsFound:"No units found",unitHint:"ይህ ቅንብር ለተመረጠው ክፍል ይሠራል",toggleLabel:"Add Signature to Attachment",toggleDescription:"በተሰቀሉ አባሪዎች ላይ ፊርማ በራስ-ሰር ያካትቱ።",status:"ሁኔታ፡",activeUnit:"አክቲቭ ዩኒት"}},fL={letterName:"የፋይል ስም",Letter_Number:"የደብዳቤ ቁጥር",ACtions:"ተግባራት",Actions:"ተግባራት",Date:"ቀን",From:"ከ",Subject:"ርዕሰ ጉዳይ",subject:"ርዕሰ ጉዳይ",referenceNumber:"የማጣቀሻ ቁጥር",FileName:"የፋይል ስም",To:"ወደ",fileName:"የፋይል ስም",sendingOrganization:"የላኪ ድርጅት",sendingDepartment:"የላኪ ክፍል",dispatchedDate:"ቀን",submittedDate:"ቀን",Sending_Department:"የላኪ ክፍል",dispatchedBy:"የተቀየረው በ",Receiver:"ወደ",CreatedAt:"ቀን",createdAt:"ቀን",Status:"ሁኔታ",status:"ሁኔታ",organizationName:"የላከው ድርጅት","Task Status":"ሁኔታ",TaskStatus:"ሁኔታ",taskStatus:"ሁኔታ",delegateePosition:"የወከለኝ የስራ መደብ መጠሪያ",delegateeEmployee:"የወከለኝ ባለሙያ",delegatedPosition:"የተወከለው የስራ መደብ መጠሪያ",delegatedEmployee:"ተወካይ ባለሙያ",startDate:"መነሻ ቀን",endDate:"የመጨረሻ ቀን",isCurrent:"ሁኔታ",signStatus:"የፊርማ ሁኔታ",title:"ርዕስ",color:"ቀለም",description:"መግለጫ",image:"ምስል",featured:"ዋና ዜናዎች",category:"የዜና ምድብ",link:"ሊንክ"},pL={searchAllEmployees:"ሁሉንም ሰራተኞች ፈልግ",searchByNameEmailPhonePosition:"በስም፣ ኢሜል፣ ስልክ ወይም ቦታ ፈልግ...",searchingEmployees:"ሰራተኞችን በመፈለግ ላይ...",errorLoadingEmployees:"ሰራተኞችን በመጫን ላይ ስህተት",noEmployeesFound:"ምንም ሰራተኞች አልተገኙም",tryDifferentKeywords:"የተለያዩ ቁልፍ ቃላትን ይሞክሩ",startTypingToSearch:"ሰራተኞችን ለመፈለግ መተየብ ይጀምሩ",searchByNameEmailPhone:"በስም፣ ኢሜል ወይም ስልክ ቁጥር ፈልግ",showingResults:'ለ"{{query}}" {{total}} ውስጥ {{count}} ውጤቶችን በማሳየት ላይ',searchUnits:"ክፍሎችን ፈልግ...",searchDepartments:"ዲፓርትመንቶችን ፈልግ...",searchEmployees:"ሰራተኞችን ፈልግ...",noResults:"ምንም ውጤት አልተገኘም",allEmployees:"ሁሉም ሰራተኞች",resendingVerification:"የማረጋገጫ ኮድ እንደገና በመላክ ላይ...",sendingInvitation:"ግብዣ በመላክ ላይ...",verificationCodeResent:"የማረጋገጫ ኮድ እንደገና ተልኳል",invitationSent:"ግብዣ ተልኳል",verificationCodeSentTo:"አዲስ የማረጋገጫ ኮድ ወደ {{name}} ተልኳል",invitationSentTo:"ግብዣ ወደ {{name}} ተልኳል",failedToResend:"የማረጋገጫ ኮድ እንደገና መላክ አልተሳካም",failedToSendInvitation:"ግብዣ መላክ አልተሳካም",confirmRemoveEmployee:"{{name}} ን ማስወገድ እርግጠኛ ነዎት? ይህ ድርጊት መልሶ ሊቀየር አይችልም።",removeFunctionalityNotImplemented:"የማስወገድ ተግባር ከትክክለኛ API ውህደት ጋር ይተገበራል"},mL={trigger:"እርምጃ ውስጥ ይውሰዱ",title:"በሰነድ ላይ እርምጃ ውስጥ ይውሰዱ",labels:{selectAction:"እርምጃ ይምረጡ",remark:"ማስታወሻ (አማራጭ)",remarkPlaceholder:"ማስታወሻ ያክሉ..."},actions:{approve:"አረጋግጥ",adjustment:"ማስተካከያ",reject:"አትቀበል",pending:"በመጠባበቅ ላይ",submitted:"ተላከ",selectPlaceholder:"እርምጃ ይምረጡ"},buttons:{cancel:"ሰርዝ",submit:"አስገባ"},toast:{success:"ሰነድ {status}"}},hL={title:"ምክትል አመራሮች",subtitle:"የምክትል አመራሮች መልዕክት",previous:"ቀዳሚ መልዕክት",next:"ቀጣይ መልዕክት",defaultPosition:"የስራ መደብ",goToMessage:"ወደ መልዕክት {{index}} ሂድ"},gL={title:"የኃላፊ መልዕክት",subtitle:"የቢሮ ሀላፊ መልዕክት",defaultPosition:"የስራ መደብ",addMessage:"መልእክት ያክሉ"},yL="ከ",vL="ግብ ያክሉ",bL="የድርጅታዊ ግቦች",wL="የድርጅታዊ ራዕይ",SL="ራዕይ ያክሉ",xL="ዜና ያክሉ",CL="የዜና ምድብ ያክሉ",RL="የዜና ምድብ",EL="ሞጁሎች",kL="ሞጁል አክል",PL="ማህበራዊ ሚዲያ",AL="ማህበራዊ ሚዲያ ያክሉ",TL="ያግኙን",NL="እውቂያ ያክሉ",DL="የድርጅቱ ጭብጥ",OL={featuredNewsTitle:"የተመረጡ ዜናዎች",featuredNewsSubtitle:"ከተቋማችን ጋር በቅርብ ያዩ የእድገት፣ ስኬትና አዳዲስ አቀራረቦች",searchPlaceholder:"ዜና ፍለጋ...",topStories:"ከፍተኛ ዜናዎች",readFullStory:"ሙሉ ዜናዉን አንብብ",readMore:"ተጨማሪ ያንብቡ",loadMoreNews:"ተጨማሪ ዜናዎችን ፈልግ",showLess:"ያነሱ",previousGoal:"ያለፈው ግብ",nextGoal:"ቀጣይ ግብ",noNewsFound:"ምንም ዜና አልተገኘም",tryAdjusting:"ፍለጋዎን ወይም ማጣሪያዎን ይቀይሩ",readLess:"ያነሰ ያንብቡ"},_L={featuredNews:"የተመረጡ ዜናዎች",description:"ከድርጅታችን የተነሳ የቅርብ ጊዜ እድገቶችን፣ ስኬቶችን እና አዳዲስ አስተዋጽኦዎችን ይቀጥሉ",topStories:"ምርጥ ታሪኮች",allNews:"ሁሉም ዜና",noNewsFound:"ዜና አልተገኘም",noNewsFoundDesc:"የፍለጋ ወይም የተካተተ አማራጭዎን ያስተካክሉ",searchPlaceholder:"የዜና ማስፈንጠሪያ ያስፈልጋል...",readFullStory:"ሙሉ ታሪኩን አንብቡ",readMore:"ተጨማሪ ንባብ",loadMoreNews:"ተጨማሪ ዜና አንብቡ",showLess:"ቀንስ"},ML={title:"የህትመት አማራጮች",description:"ምን ማተም እንደሚፈልጉ ይምረጡ",recordDocument:"የመዝገብ ሰነድ",recordDescription:"ዋናውን የመዝገብ ሰነድ ያትሙ",attachments:"ተያያዥ ፋይሎች",noAttachments:"ምንም ተያያዥ ፋይሎች አልተገኙም",summary:"ለማተም የሚሆኑ ንጥሎች",selectAtLeastOne:"እባክዎ ቢያንስ አንድ ንጥል ይምረጡ",readyToPrint:"ለማተም ዝግጁ",print:"ህትመት",printing:"በማተም ላይ...",success:"የህትመት ሥራ በተሳካ ሁኔታ ተላክ",error:"ማተም አልተቻለም። እባክዎ እንደገና ይሞክሩ።",cancel:"ሰርዝ"},jL={page:{smartOfficeTitle:"የስማርት ኦፊስ ኦዲት መዝገብ",smartOfficeSubtitle:"የስማርት ኦፊስ እንቅስቃሴዎችን ይከታተሉ"},actions:{refresh:"አድስ",export:"አውርድ",cardView:"ካርድ እይታ",tableView:"ሰንጠረዥ እይታ",cancel:"ሰርዝ"},labels:{activityLogs:"የእንቅስቃሴ መዝገብ",activitiesFound:"{{count}} እንቅስቃሴዎች ተገኝተዋል",ip:"አይፒ"},messages:{missingModuleKey:"ለኦዲት መዝገብ የሞጁል ቁልፍ ይጎድላል",logsLoaded:"የኦዲት መዝገቦች ተጭነዋል",logsLoadFailed:"የኦዲት መዝገቦችን መጫን አልተሳካም",tryAgain:"እባክዎ እንደገና ይሞክሩ።",exportingLogs:"{{count}} መዝገቦችን እንደ {{format}} በማውረድ ላይ",loadingActivities:"እንቅስቃሴዎችን በመጫን ላይ...",noActivitiesFound:"ምንም እንቅስቃሴ አልተገኘም",adjustFilters:"የሚፈልጉትን ለማግኘት ማጣሪያዎችን ወይም ፍለጋውን ያስተካክሉ።"},filters:{dateRange:"የቀን ክልል",clearFilters:"ማጣሪያዎችን አጥፋ",searchPlaceholder:"እንቅስቃሴዎችን ፈልግ...",module:"ሞጁል",allModules:"ሁሉም ሞጁሎች",action:"ተግባር",allActions:"ሁሉም ተግባሮች",status:"ሁኔታ",allStatuses:"ሁሉም ሁኔታዎች",fromDate:"ከ ቀን",toDate:"እስከ ቀን",last7Days:"ያለፉ 7 ቀናት",last30Days:"ያለፉ 30 ቀናት"},status:{success:"ተሳክቷል",failure:"አልተሳካም",warning:"ማስጠንቀቂያ",pending:"በመጠባበቅ ላይ"},stats:{totalActivities:"ጠቅላላ እንቅስቃሴዎች",successRate:"የስኬት መጠን",dailyAverage:"ዕለታዊ አማካይ",uniqueUsers:"ልዩ ተጠቃሚዎች",topActions:"ከፍተኛ ተግባሮች",times:"ጊዜ"},export:{title:"የእንቅስቃሴ መዝገቦችን አውርድ",description:"ለእንቅስቃሴ መዝገቦችዎ የማውረጃ አማራጮችን ይምረጡ።",fileName:"የፋይል ስም",fileNamePlaceholder:"የፋይል ስም ያስገቡ",format:"የማውረጃ ፎርማት",includeDetails:"ዝርዝር መረጃ አካትት",includeDateRange:"የቀን ክልል በማውረድ ውስጥ አካትት"},table:{time:"ጊዜ",user:"ተጠቃሚ",action:"ተግባር",description:"መግለጫ",module:"ሞጁል",severity:"ክብደት",status:"ሁኔታ"},pagination:{showing:"{{shown}} ከ {{total}} ጠቅላላ እንቅስቃሴዎች እየታዩ ነው",pageOf:"ገጽ {{page}} / {{totalPages}}"},modal:{title:"የስማርት ኦፊስ ኦዲት ዝርዝር",description:"ሙሉ የተመለሰ የኦዲት ንጥል መለያ: {{id}}",entity:"ኢንቲቲ",method:"ዘዴ",createdAt:"የተፈጠረበት ጊዜ",changes:"ለውጦች",noChanges:"ምንም ለውጥ የለም።",payload:"ውሂብ",performedBy:"የፈጸመው",field:"መስክ",changed:"ተቀይሯል",noEffectiveChange:"ትክክለኛ ለውጥ የለም",changedPaths:"የተቀየሩ መንገዶች",noDifference:"ለዚህ መስክ From እና To አንድ ናቸው።",previousFile:"ቀዳሚ ፋይል",currentFile:"አሁን ያለ ፋይል",from:"ከ",to:"ወደ",updatedDetails:"የተዘመነ ዝርዝር",itemsCount:"{{count}} ንጥል(ሎች)",user:{name:"ስም",email:"ኢሜይል",phone:"ስልክ",status:"ሁኔታ",userType:"የተጠቃሚ አይነት",registration:"ምዝገባ",complete:"ተጠናቋል",incomplete:"አልተጠናቀቀም",roles:"ሚናዎች",noRoles:"ምንም ሚና የለም",employeeInfo:"የሰራተኛ መረጃ",rank:"ደረጃ",noPermissions:"ፍቃድ የለም",noEmployeeDetails:"የሰራተኛ ዝርዝር የለም"}}},LL={configureStyles:"ስታይል አዘጋጅ",sample:"የቴምፕሌት ናሙና",generateSample:"ናሙና ፍጠር",content:"ይዘት",pdfPreview:"PDF ቅድመ እይታ",saveSettings:"ቅንብሮችን ያስቀምጡ",download:"ዝቅ ያድርጉ",loadPayload:"ናሙና ጭነት ጫን",loadPayloadDescription:"ፎርሙን ከናሙና ውሂብ ለመሙላት JSON ጭነት ፋይል ያስቀምጡ",noTemplates:"ምንም ቴምፕሌት የለም",loadingTemplates:"ቴምፕሌቶችን በመጫን ላይ...",errorLoadingTemplates:"ቴምፕሌቶችን መጫን ስህተት",errorLoadingTemplate:"ቴምፕሌት መጫን ስህተት",errorLoadingSettings:"ስታይል ቅንብሮችን መጫን ስህተት",commonProperties:"የተለመዱ ባህሪያት",quickPresets:"ፈጣን ቅድመ ቅንብሮች",fontSize:"የፊደል መጠን",fontWeight:"የፊደል ክብደት",fontFamily:"የፊደል ቤተሰብ",textDecoration:"የጽሑፍ ማስጌጫ",listStyle:"የዝርዝር ስታይል",width:"ስፋት",height:"ቁመት",margin:"ህዳግ",padding:"ጥቅል",advancedCSS:"የላቀ CSS ኢዲተር",customCSS:"ብጁ CSS",noPdfInResponse:"በምላሹ ምንም PDF የለም",generatingSample:"ናሙና ፍጠር ስህተት",settingsSavedSuccessfully:"ቅንብሮች በተሳካ ሁኔታ ተቀምጠዋል",errorSavingSettings:"ቅንብሮችን ማስቀመጥ ስህተት",noCustomSettingsToSave:"ለማስቀመጥ ብጁ ቅንብሮች የለም",downloadingPDF:"PDF ዝቅ ይደረጋል...",downloadPDFSuccess:"PDF በተሳካ ሁኔታ ዝቅ ተደርጓል",downloadPDFFailed:"PDF ዝቅ ማድረግ አልተሳካም",noPdfAvailable:"ምንም PDF አይገኝም",basicInfo:"መሰረታዊ መረጃ",recordType:"የመዝገብ ዓይነት",external:"ውጫዊ",internal:"ውስጣዊ",preferredLanguage:"ተመራጭ ቋንቋ",headerFooter:"ራስ ጽሑፍ እና ግርጌ ጽሑፍ",headerStyleSettings:"የራስ ጽሑፍ ስታይል ቅንብሮች",footerStyleSettings:"የግርጌ ጽሑፍ ስታይል ቅንብሮች",subject:"ርዕስ",subjectStyleSettings:"የርዕስ ስታይል ቅንብሮች",date:"ቀን",body:"ሰውነት",bodyStyleSettings:"የሰውነት ስታይል ቅንብሮች",sincerelyText:"በታማኝነት ጽሑፍ",prefix:"ቅድመ ቅጥያ",prefixStyleSettings:"ቅድመ ቅጥያ ስታይል",suffix:"ቅጥያ",suffixStyleSettings:"ቅጥያ ስታይል",prefixCC:"ቅድመ ቅጥያ CC",ccPrefixStyleSettings:"CC ቅድመ ቅጥያ ስታይል",suffixCC:"ቅጥያ CC",ccSuffixStyleSettings:"CC ቅጥያ ስታይል",delegatorName:"የወካይ ስም",collaborators:"ተባባሪዎች",recipientsAndCC:"ተቀባዮች እና CC",internalCC:"ውስጣዊ CC",externalCC:"ውጫዊ CC",recipients:"ተቀባዮች",headerStyle:"ርዕስ ስታይል",footerStyle:"ግርጌ ስታይል",subjectStyle:"ርዕስ ስታይል",bodyStyle:"አካል(Body) ስታይል",receiverStyle:"ተቀባይ ስታይል",prefixSuffix:"ቅድመ-ቅጥያ / ቅጥያ",ccStyles:"ሲሲ ስታይሎች",fonts:"ቅርጸ-ቁምፊዎች",pageMargin:"የገጽ ህዳግ",referenceNumberStyles:"የማጣቀሻ ቁጥር ስታይሎች",other:"ሌላ",styleCategories:"የስታይል ምድቦች",styleEditor:"ስታይል አርታኢ",livePreview:"የቀጥታ ቅድመ-እይታ"},FL={title:"በመጠባበቅ ላይ ያሉ ሰራተኞች",noPendingApprovals:"በመጠባበቅ ላይ ያለ ማጽደቂያ የለም 🎉",reviewAll:"ሁሉንም ይመልከቱ",approve:"ያጽድቁ",reject:"ይቃወሙ",name:"ስም",email:"ኢሜይል",positions:"የስራ መደቦች",actions:"ድርጊቶች",pending:"በመጠባበቅ ላይ",loadingPendingEmployees:"በመጠባበቅ ላይ ያሉ ሰራተኞችን በመጫን ላይ...",allRequestsReviewed:"ሁሉም የሰራተኛ ጥያቄዎች ተገምግመዋል።",refresh:"አድስ",showingUpTo:"እስከ 50 በመጠባበቅ ላይ ያሉ ሰራተኞችን በማሳየት ላይ",employeeApproved:"ሰራተኛ ጸድቋል",employeeRejected:"ሰራተኛ ተቃውሟል",failedToApprove:"ማጽደቅ አልተሳካም",failedToReject:"መቃወም አልተሳካም",employeeApprovedSuccess:"ሰራተኛ በተሳካ ሁኔታ ጸድቋል",employeeRejectedSuccess:"ሰራተኛ በተሳካ ሁኔታ ተቃውሟል"},IL={commentRequired:"አስተያየት ያስፈልጋል"},UL={nav:Cj,preview:Rj,initiationType:Ej,dashboard:kj,verification:Pj,welcome:Aj,change_password:Tj,sign_out:Nj,view_profile:Dj,user:Oj,common:_j,collaboration:Mj,profile:jj,complaint:Lj,header:Fj,migration:Ij,addRecord:Uj,"Document Attachments":"የደብዳቤ አባሪዎች","Login Method":"የመግቢያ ምርጫ","Sign Up":"ራስዎን ይመዝግቡ","Back to Home":"ወደ ዋና ገፅ ይመለሱ","Don't have an account?":"የሲስተሙ ተጠቃሚ አይደሉም?",incomingRecord:$j,externalPortal:zj,userRecord:Bj,statusBar:qj,userIncoming:Vj,ApprovalPage:Hj,viewDetail:Wj,PDF:Gj,shareViaEmail:Kj,convert:Yj,delegation:Xj,signatureUpload:Qj,assignment:Jj,auth:Zj,forgotpassword:eL,msg:tL,landingPage:rL,organization:nL,userIncomingretun:oL,viewDocument:iL,registration:sL,otp:aL,contentManagement:lL,superAdmin:cL,recordTag:uL,setting:dL,toogle:fL,search:pL,"Resend Invite":"እንደገና ሊንክ ላክ",actionModal:mL,deputy:hL,officeHead:gL,"Strategic Goal":"የተቋሙ ግብ",of:yL,"Our Strategic Goals":"የእኛ የስትራቴጂ ግቦች","Go to goal":"ወደ ግብ {{index}}: {{title}} ሂድ","Previous Goal":"የበፊት ግብ","Next Goal":"የሚቀጥለው ግብ",addGoal:vL,Goals:bL,Vision:wL,addVision:SL,addNews:xL,addNewsCategory:CL,newsCategory:RL,modules:EL,addModules:kL,socialMedia:PL,addSocialMedia:AL,contactUs:TL,addContactUs:NL,theme:DL,featuredNews:OL,newssection:_L,print:ML,auditLogShared:jL,template:LL,pendingUsers:FL,validation:IL},$L={dashboard:"Tableau de bord",outgoing:"Sortant",incoming:"Entrant",external:"Externe",internal:"Interne",cc:"CC",forYourReference:"Pour votre référence",approval:"Approbation",pending:"En attente","Record Management":"Gestion des dossiers",branch:"Direction",internal_memo:"Note interne",non_smart_user:"Utilisateur non Smart",smartUsers:"Utilisateurs Smart",external_non_smart_user:"Utilisateur externe non Smart",admin:"Gestion du site",modules:"Modules",deputyMessage:"Message du/de la adjoint(e)",officeHeadMessage:"Message du responsable du bureau",orgGoal:"Objectifs de l’organisation",news:"Actualités",other:"Autre",homePage:"Vers la page d’accueil",myRecord:"Mes dossiers",submitRecord:"Soumettre le dossier",direct:"Direct"},zL={self:"Moi-même",team:"Équipe"},BL={totalOutgoing:"Total sortant",totalIncoming:"Total entrant",ccRecords:"Dossiers en CC",totalApproval:"Total des approbations",lastUpdated:"Dernière mise à jour",refresh:"Actualiser",refreshing:"Actualisation...",never:"Jamais",approvalStats:"Statistiques d’approbation",externalIncoming:"Entrant externe",internalIncoming:"Entrant interne",incomingStats:"Statistiques des entrants",outgoingStats:"Statistiques des sortants",externalIncomingRecords:"Dossiers entrants externes",internalIncomingRecords:"Dossiers entrants internes",advanced:"Tableau de bord avancé",status:{inProgress:"En cours",accepted:"Accepté",reassigned:"Réassigné",draft:"Brouillon",forward:"Transférer",approved:"Approuvé",rejected:"Rejeté",adjusted:"Ajusté",sent:"Envoyé",approve:"Approuver"},Percentage:"Pourcentage",Count:"Nombre",Status:"Statut",Total:"Total",pieChart:"Diagramme circulaire",barChart:"Graphique à barres",table:"Tableau",monthlyIncoming:"Dossiers entrants mensuels",monthlyOutgoing:"Dossiers sortants mensuels",totalInVsOut:"Total entrant vs sortant",monthlyInVsOut:"Entrants vs sortants mensuels",weeklyInVsOut:"Entrants vs sortants hebdomadaires",dailyInVsOut:"Entrants vs sortants quotidiens",exportPdf:"Exporter en PDF",exporting:"Exportation...",print:"Imprimer",exportFormat:"Format d’exportation",selectFormat:"Sélectionner le format",totalEmployees:"Total des employés",totalUnits:"Total des unités",totalPositions:"Total des postes",totalDocuments:"Total des documents",organizationDashboard:"Tableau de bord de l’organisation",userManagement:"Gestion des utilisateurs",userManagementDesc:"Gérer les utilisateurs et les départements",contentManagementDesc:"Gérer les en-têtes, les pieds de page et les sceaux",excelUploader:"Importateur Excel",excelUploaderDesc:"Importer des utilisateurs en masse depuis Excel",positionSettings:"Paramètres des postes",positionSettingsDesc:"Configurer les postes organisationnels",archiveUsers:"Archiver les utilisateurs",archiveUsersDesc:"Gérer les comptes utilisateur archivés",overviewDescription:"Aperçu des performances et activités de votre organisation",quickActions:"Actions rapides",contentManagement:"Gestion du contenu",exportUserData:"Exporter les données utilisateur",recentActivities:"Activités récentes",selectUnit:"Sélectionner une unité",loadingUnits:"Chargement des unités...",refreshData:"Actualiser les données",noUnitsFound:"Aucune unité trouvée",organizationIdRequired:"L’ID de l’organisation est requis",exportError:"Échec de l’exportation. Veuillez réessayer.",uploadHeader:"Nouvelle image d’en-tête téléversée",updateSeal:"Sceau de l’organisation mis à jour",removeFooter:"Image du pied de page supprimée",twoHoursAgo:"Il y a 2 heures",fiveHoursAgo:"Il y a 5 heures",oneDayAgo:"Il y a 1 jour",orgMsg:"Aperçu des statistiques et activités de votre organisation",errorMsg:"Erreur lors du chargement des données de l’organisation. Veuillez actualiser la page."},qL={pending:"Vérification en attente",message:"Votre inscription est en cours de vérification. Si 24 heures se sont écoulées et que votre compte n’est toujours pas vérifié, veuillez nous contacter à",contactSupport:"Contacter l’assistance"},VL={inProgress:"En cours",accepted:"Accepté",reassigned:"Réassigné",draft:"Brouillon",forward:"Transférer",approved:"Approuvé",rejected:"Rejeté",adjusted:"Ajusté",sent:"Envoyé",all:"Tous",dispatched:"Expédié",submitted:"Soumis"},HL="Bienvenue",WL="Changer le mot de passe",GL="Se déconnecter",KL="Voir le profil",YL="Utilisateur",XL={back:"Retour",Back:"Retour",View:"Voir",today:"Aujourd’hui",yesterday:"Hier",unknownUser:"Utilisateur inconnu",yes:"Oui",no:"Non",na:"N/A",None:"Aucun",Submit:"Soumettre",save:"Enregistrer",saveAsDraft:"Enregistrer comme brouillon",Cancel:"Annuler",cancel:"Annuler",confirmAndSubmit:"Soumettre",goBack:"Retour",Confirm:"Confirmer",noResult:"Aucun résultat",create:"Créer",update:"Mettre à jour",Edit:"Modifier",Unselect:"Désélectionner",loading:"Chargement",DeactivateUser:"Supprimer l’utilisateur",requiredFields:"Champs requis",notAvailable:"Non disponible",referenceNumber:"numéroDeRéférence",subject:"Objet",createdDate:"Date de création",dispatchedDate:"Date d’expédition",status:"Statut",search:"Rechercher",name:"Nom",delete:"Supprimer",actions:"Actions",verify:"Vérifier",verifying:"Vérification...",viewReply:"Voir la réponse",previous:"Précédent",next:"Suivant",showing:"Affichage",to:"à",of:"de",Migrate:"Migrer",adopt:"Adopter",page:"Page",Delete:"Supprimer",Deleting:"Suppression...",DeletedSuccessfully:"Supprimé avec succès",FailedToDelete:"Échec de la suppression",ConfirmDelete:"Confirmer la suppression",DeleteConfirmationMessage:"Êtes-vous sûr de vouloir supprimer « {{name}} » ? Cette action ne peut pas être annulée.",addReply:"Ajouter une réponse",replies:"Réponses",replyAttachments:"Pièces jointes de réponse",mockDownload:"Téléchargement de la pièce jointe simulée : ",noReplies:"Aucune réponse ajoutée pour le moment.",replyMessage:"Message de réponse",replyPlaceholder:"Écrivez votre message de réponse ou commentaire ici...",attachments:"Pièces jointes",uploadMessage:"Cliquez pour téléverser ou glissez-déposez",uploadFormats:"PDF, PNG, JPG, ZIP (max 10 Mo)",submitting:"Soumission...",submit:"Soumettre",comment:"Commentaire"},QL={title:"Migrer le type de poste",fromPositionType:"Depuis le type de poste",toPositionType:"Vers le type de poste",selectSourcePositionType:"Sélectionner le type de poste source...",selectTargetPositionType:"Sélectionner le type de poste cible...",migrationPath:"Migration",migrateAllPositions:"Migrer tous les postes",confirmMigration:"Confirmer la migration",migrateAllDescription:"Cela migrera tous les postes de {{fromName}} vers {{toName}}. Cette action ne peut pas être annulée.",yesMigrateAll:"Oui, tout migrer",migrateSelectedPositions:"Migrer les postes sélectionnés",selectPositionsToMigrate:"Sélectionner les postes à migrer",searchPositions:"Rechercher des postes...",selected:"Sélectionné",noPositionsFound:"Aucun poste trouvé",noPositionsAvailable:"Aucun poste disponible",migrateSelectedButton:"Migrer les postes sélectionnés ({{count}})",confirmSelectedMigration:"Confirmer la migration sélectionnée",migrateSelectedDescription:"Vous êtes sur le point de migrer {{count}} poste(s) sélectionné(s) de {{fromName}} vers {{toName}}.",selectBothPositionTypes:"Veuillez sélectionner à la fois les types de poste source et cible",selectAtLeastOnePosition:"Veuillez sélectionner au moins un poste",allPositionsMigratedSuccess:"Tous les postes ont été migrés avec succès",failedToMigratePositions:"Échec de la migration des postes",selectedPositionsMigratedSuccess:"{{count}} poste(s) migré(s) avec succès",failedToMigrateSelectedPositions:"Échec de la migration des postes sélectionnés"},JL={inProgress:"En cours",done:"Terminé",all:"Tous",list:"Collaborations",comment:"Commentaire",comments:"Commentaires",commentTitle:"Commentaires de collaboration",commentDialogDescription:"Consultez ici tous les commentaires des collaborateurs. Si vous n’avez pas encore commenté, vous pouvez ajouter le vôtre ci-dessous.",commentRequired:"Le commentaire ne peut pas être vide.",commentSubmitted:"Commentaire soumis.",commentUpdated:"Commentaire mis à jour avec succès.",commentDeleted:"Commentaire supprimé avec succès.",commentExists:"Vous avez déjà commenté cette version du dossier.",commentsEmpty:"Aucun commentaire n’a encore été ajouté.",commentsCount:"{{count}} commentaire(s)",commentsEmptyState:"Une fois que les collaborateurs commenceront à commenter, leurs retours apparaîtront ici.",reviewedCount:"{{count}} collaborateur(s) ont révisé",unknownUser:"Utilisateur inconnu",yourComment:"Votre commentaire",edited:"Modifié",commentPlaceholder:"Écrivez votre commentaire...",addComment:"Ajouter votre commentaire",singleCommentRule:"Vous pouvez soumettre un seul commentaire pour la version actuelle du dossier.",postComment:"Publier le commentaire",deleteCommentTitle:"Supprimer le commentaire ?",deleteCommentDescription:"Cela supprimera votre commentaire actuel. Vous pourrez en ajouter un nouveau ensuite.",close:"Fermer",edit:"Modifier",adjust:"Ajuster",adjustSubmitted:"Ajustement envoyé avec succès.",adjustFailed:"Échec de l’envoi de la demande d’ajustement.",adjustCommentMissing:"Aucun commentaire trouvé à utiliser pour l’ajustement."},ZL={recentActivity:"Activité récente",accountSafety:"Sécurité du compte",twoFactorAuth:"Authentification à deux facteurs",twoFactorDesc:"Ajouter une couche de sécurité supplémentaire",enabled:"Activé",disabled:"Désactivé",loading:"Chargement du profil...",error:"Échec du chargement du profil",tryAgain:"Réessayer",sessions:"Sessions",noName:"Aucun nom",signOut:"Se déconnecter",email:"E-mail",userType:"Type d’utilisateur",userTypes:{employee:"Employé"},activity:{login:"Connexion",passwordChanged:"Mot de passe modifié"},passwordSet:"Mot de passe défini",status:{accepted:"Accepté"},positionDetails:"Détails du poste",positionName:"Nom du poste",positionKey:"Clé du poste",isDelegate:"Est délégué",employeeId:"ID employé",permissions:"Autorisations",noPermissions:"Aucune autorisation assignée",accountSecurity:"Sécurité du compte",password:"Mot de passe",passwordSetStatus:"Le mot de passe est défini",passwordNotSetStatus:"Mot de passe non défini",changePassword:"Changer le mot de passe",updateProfile:"Mettre à jour le profil",profile:"profil",englishName:"Veuillez saisir le nom en anglais",amharicName:"Veuillez saisir le nom en amharique",username:"Veuillez saisir le nom d’utilisateur",phoneNumber:"Veuillez saisir le numéro de téléphone",emailmsg:"Veuillez saisir l’e-mail",emailRequired:"L’e-mail est requis",usernameRequired:"Le nom d’utilisateur est requis",phoneRequired:"Le numéro de téléphone est requis",englishNameRequired:"Le nom en anglais est requis",amharicNameRequired:"Le nom en amharique est requis",invalidPhoneFormat:"Format de numéro de téléphone invalide.",validPhoneFormat:"Veuillez saisir un numéro de téléphone valide au format +2519XXXXXXXX ou 09XXXXXXXX",invalidEmailFormat:"Format d’e-mail invalide",validEmailFormat:"Veuillez saisir une adresse e-mail valide",profileUpdateSuccess:"Profil mis à jour avec succès",profileUpdated:"Votre profil est mis à jour",profileUpdateFailed:"Échec de la mise à jour du profil",updating:"Mise à jour"},eF={title:"Soumettre votre plainte",subtitle:"Nous sommes là pour vous aider. Fournissez des informations détaillées afin que nous puissions vous assister efficacement.",formTitle:"Formulaire de plainte",fullName:"Nom complet",phone:"Numéro de téléphone",subCity:"Sous-ville",woreda:"Woreda",houseNumber:"Numéro de maison",institution:"Institution",place:"Lieu de la plainte",details:"Détails de la plainte",want:"Résolution souhaitée",evidence:"Preuve (facultatif)",selectedFiles:"Fichiers sélectionnés",disclaimerTitle:"Avertissement important",disclaimerText:"En soumettant ce formulaire, vous confirmez que les informations fournies sont vraies et exactes. Les fausses plaintes peuvent faire l’objet de poursuites judiciaires.",accept:"J’ai lu et j’accepte l’avertissement",submit:"Soumettre la plainte",submitting:"Soumission...",success:"Plainte soumise avec succès",keepId:"Veuillez conserver l’ID de votre plainte pour référence future :",error:"Erreur",close:"Fermer",back:"Retour",followTitle:"Suivre la plainte",followSubtitle:"Nous sommes là pour vous aider — suivez l’avancement de votre plainte ici.",selectCompliant:"Sélectionner une plainte",noEvidence:"Aucune preuve",compliantId:"Numéro de suivi de plainte",enterComNum:"Saisir le numéro de suivi de plainte",message:"Réponse",complaintNo:"Numéro de plainte",errorMsg:"Impossible de récupérer la plainte. Veuillez vérifier votre numéro de suivi de plainte et réessayer."},tF={tigrigna:"Tigrigna",affar:"Afar",somali:"Somali",oromo:"Afaan Oromo",user:"Utilisateur",management:"Gestion",notifications:"Notifications",english:"Anglais",englishShort:"ANG",amharic:"Amharique",amharicShort:"አማ",french:"Français",frenchShort:"FR",viewProfile:"Voir le profil",changePassword:"Changer le mot de passe",signOut:"Se déconnecter",settings:"Paramètres",addTeeter:"Ajouter le cachet et la signature",addSignature:"Ajouter une signature",Remark:"Remarque",Description:"Description",navigation:{dashboard:"Tableau de bord",outgoing:"Sortant",incoming:"Entrant",approval:"Approbation",delegation:"Délégation",pending:"En attente",settings:"Paramètres",collaborations:"Collaborations",collaboration:"Collaborations"},editProfile:"Modifier le profil"},rF={title:"Mot de passe oublié ?",subtitle:"Ne vous inquiétez pas, nous vous enverrons les instructions de réinitialisation",phone:"Numéro de téléphone",phoneplaceholder:"+251912345678 ou 09XXXXXXXX",invalidphone:"Format de numéro de téléphone invalide. Utilisez +2519XXXXXXXX ou 09XXXXXXXX",checkphone:"Vérifiez votre numéro de téléphone",checkdesc:"Nous enverrons un lien de réinitialisation du mot de passe à votre numéro de téléphone.",sending:"Envoi du lien de réinitialisation...",sendresetlink:"Envoyer le lien de réinitialisation",backtologin:"Retour à la connexion",remember:"Vous vous souvenez de votre mot de passe ?",signin:"se connecter",home:"Accueil",success:"Lien de réinitialisation du mot de passe envoyé",successdesc:"Veuillez vérifier votre numéro de téléphone pour le lien de réinitialisation.",fail:"Échec de la demande de réinitialisation du mot de passe"},nF={"Reference Number":"Numéro de référence","Enter Reference Number":"Saisir le numéro de référence","Record Tags":"Étiquettes de dossier","Select Record Tags":"Étiquettes de dossier",SelectedReceivingUnits:"Unités destinataires sélectionnées",EditRecord:"Modifier le dossier",editIncomingRecord:"Modifier le dossier","Record Type":"Type de dossier","Select Record Type":"Sélectionner le type de dossier","Initiation Type":"Type d’initiation","Select Initiation Type":"Sélectionner le type d’initiation","Receiving Unit":"Unité destinataire","Select Receiving Units":"Sélectionner l’unité destinataire","Receiving Users":"Utilisateurs destinataires","Select Receiving Users":"Sélectionner les utilisateurs destinataires",Prefix:"Préfixe","Select Prefix":"Sélectionner le préfixe","Non Smart Receiving Unit":"Unité destinataire non Smart","Enter Non Smart Receiving Organization":"Saisir l’organisation destinataire non Smart","To Departments":"Vers les départements","Select Department":"Sélectionner les départements","Preferred Language":"Langue préférée","Select Language":"Sélectionner la langue",Suffix:"Suffixe","Select Suffix":"Sélectionner le suffixe","Position Prefix":"Préfixe du poste","Select Position Prefix":"Sélectionner le préfixe du poste",Subject:"Objet","Enter Subject":"Saisir l’objet","Letter Template":"Modèle de courrier","Select Letter Template":"Sélectionner le modèle de courrier",Body:"Corps","External CC":"CC externe","Select External CC":"Sélectionner le CC externe","Internal CC":"CC interne","Select Internal CC":"Sélectionner le CC interne","Non Smart CC Unit":"Unité CC non Smart","Enter Non Smart CC Organization":"Saisir l’organisation CC non Smart",Cancel:"Annuler",Add:"+ Ajouter",English:"Anglais",Amharic:"Amharique",Header:"En-tête du courrier","Select Header":"Sélectionner l’en-tête","No Header":"Aucun en-tête",Footer:"Pied de page du courrier","Select Footer":"Sélectionner le pied de page","No Footer":"Aucun pied de page",Collaborators:"Collaborateurs","Select Collaborators":"Sélectionner les collaborateurs","Sincerely Text":"Texte de salutation","Enter Sincerely Text":"Saisir le texte de salutation",record:"Dossier",attachment:"Pièce jointe",failedToCreateRecord:"Échec de la création du dossier",recordSubmittedSuccessfully:"Dossier transféré avec succès.",createRecordFirst:"Veuillez d’abord créer un dossier pour téléverser des pièces jointes.",previous:"Précédent",submit:"Soumettre",recordNotCreatedYet:"Le dossier n’a pas encore été créé.",submitting:"Soumission...",selectCollaborators:"Sélectionner les collaborateurs","Enter CC Prefix":"Saisir le préfixe CC","CC Prefix":"Préfixe CC","Enter CC Suffix":"Saisir le suffixe CC","CC Suffix":"Suffixe CC","Sign Status":"Statut de signature",ccUsers:"Utilisateurs en CC",selectCCUsers:"Sélectionner les utilisateurs en CC",refreshOptions:"Actualiser les options",isTeamSig:"Avec signature d’équipe",letterName:"Nom du fichier",addLetterName:"Saisir le nom du fichier","Edit Mode":"Mode modification","Create Mode":"Mode création","Edit Record":"Modifier le dossier","Create New Record":"Créer un nouveau dossier","Fill in the details below":"Remplissez les détails ci-dessous","Basic Information":"Informations de base",enterBasicDetails:"Saisir les informations de base de votre dossier","Creation Type":"Type de création","Select Creation Type":"Sélectionner le type de création",Recipients:"Destinataires",specifyRecipients:"Préciser qui recevra ce dossier","Template & Formatting":"Modèle et mise en forme",customizeAppearance:"Personnaliser l’apparence de votre dossier","Loading Headers...":"Chargement des en-têtes...","Loading Footers...":"Chargement des pieds de page...","Letter Content":"Contenu du courrier",writeLetterContent:"Rédiger le contenu de votre courrier","Header Preview":"Aperçu de l’en-tête","Footer Preview":"Aperçu du pied de page","Carbon Copy (CC)":"Copie carbone (CC)",addCCRecipients:"Ajouter des destinataires en copie carbone",forYourReference:"Pour votre référence",selectForYourReference:"Sélectionner les départements pour votre référence","Enter Non Smart CC Organization":"Saisir l’organisation CC non Smart",Attachments:"Pièces jointes",uploadSupportingDocuments:"Téléverser les documents justificatifs",personal:"Personnel",Position:"Poste",formHasErrors:"Veuillez corriger les erreurs du formulaire avant de soumettre",processingRequest:"Traitement de votre demande, veuillez patienter...",letterInformation:"Informations du courrier",organizationInformation:"Informations de l’organisation",skipOneLevel:"Doit sauter une étape"},oF={title:"Aperçu du dossier",generating:"Génération de l’aperçu...",failed:"Échec de la génération de l’aperçu",retry:"Réessayer",close:"Fermer",print:"Imprimer",loading:"Chargement de l’aperçu...",error:"Impossible de générer l’aperçu",networkError:"Une erreur réseau s’est produite. Veuillez vérifier votre connexion et réessayer.",noData:"Aucune donnée d’aperçu disponible",button:"Aperçu",validationError:"Veuillez corriger les erreurs de validation avant l’aperçu"},iF={title:"Options d’impression",description:"Sélectionnez ce que vous voulez imprimer",recordDocument:"Document du dossier",recordDescription:"Imprimer le document principal du dossier",attachments:"Pièces jointes",noAttachments:"Aucune pièce jointe disponible",summary:"Éléments à imprimer",selectAtLeastOne:"Veuillez sélectionner au moins un élément à imprimer",readyToPrint:"Prêt à imprimer",print:"Imprimer",printing:"Impression...",success:"Tâche d’impression envoyée avec succès",error:"Échec de l’impression. Veuillez réessayer.",cancel:"Annuler"},sF={createdSuccess:"Courrier entrant créé avec succès",updatedSuccess:"Courrier entrant mis à jour avec succès",UpdatedSuccessfully:"mis à jour avec succès"},aF={letterSentSuccess:"Courrier soumis avec succès"},lF={All:"Tous",Draft:"Brouillon",createAndForward:"Créer et transférer",createAndApprove:"Créer et approuver",updateAndForward:"Mettre à jour et transférer",updateAndApprove:"Mettre à jour et approuver",recordCreatedAndForwarded:"Dossier créé et transféré",recordUpdatedAndForwarded:"Dossier mis à jour et transféré",recordCreatedReadyToApprove:"Dossier créé — choisissez un tampon et une signature pour approuver",recordUpdatedReadyToApprove:"Dossier mis à jour — choisissez un tampon et une signature pour approuver","The main file must be a PDF document":"Le fichier principal doit être un document PDF",storageUploadFailed:"Nous n’avons pas pu téléverser le fichier. Veuillez réessayer.",Submitted:"Transféré",Accepted:"Accepté",Approved:"Approuvé",Rejected:"Rejeté",Returned:"Retourné",Adjustment:"Ajustement","Team Signature":"Signatures en attente",Sent:"Envoyé",Letters:"Courriers","External Outgoing":"Sortant externe","Internal Outgoing":"Sortant interne",To:"À",Send:"Envoyer","Send Directly":"Envoyer directement",nonSmartReceiverName:"Destinataire non Smart",ReceiverPosition:"Poste destinataire",ReceiverEmployee:"Employé destinataire",ReceiverUnit:"Unité destinataire",Subject:"Objet",Date:"Date",Search:"Rechercher","Add Record":"Ajouter un dossier","Error loading records.":"Erreur lors du chargement des dossiers.","Receiver Info":"Informations du destinataire","No receivers":"Aucun destinataire","No receiving unit":"Aucune unité destinataire",Status:"Statut",Actions:"Actions","View Detail":"Voir le détail",MakeRecordSecure:"Sécuriser le dossier",UnsecureRecord:"Déverrouiller le dossier",RecordSecuredSuccess:"Dossier sécurisé avec succès.",RecordSecureFailed:"Échec de la sécurisation du dossier.",RecordUnsecuredSuccess:"Dossier déverrouillé avec succès.",RecordUnsecureFailed:"Échec du déverrouillage du dossier.",recordSecuredSuccess:"Dossier sécurisé avec succès.",recordUnsecuredSuccess:"Dossier déverrouillé avec succès.",recordMarkedUrgentSuccess:"Dossier marqué comme urgent.",recordUrgencyClearedSuccess:"Urgence du dossier retirée.",SecureDialogTitle:"Sécuriser ce dossier ?",SecureDialogDescription:"Cela verrouillera le dossier et le rendra sécurisé. Vous ne pouvez pas annuler cette action.",UnsecureDialogTitle:"Déverrouiller ce dossier ?",UnsecureDialogDescription:"Cela déverrouillera le dossier et le rendra à nouveau modifiable.","Open actions menu":"Ouvrir le menu des actions",Approve:"Approuver",Forward:"Transférer",Edit:"Modifier",Delete:"Supprimer",Download:"Télécharger",DirectSubmit:"Soumission directe",directSubmitTitle:"Soumettre directement le dossier",directSubmitDescription:"Sélectionner une signature pour soumettre ce dossier directement.",SelectSignature:"Signature",SelectSignaturePlaceholder:"Sélectionner une signature",noSignatureAvailable:"Aucune signature n’est disponible pour la soumission directe.",noSignatureForDirectSend:"Aucune signature active trouvée pour l’envoi direct.",directSubmitSuccess:"Dossier soumis directement avec succès.",directSubmitError:"Échec de la soumission directe du dossier.",directDispatchSuccess:"Dossier envoyé avec succès.",directDispatchError:"Échec de l’envoi du dossier.",SendDirectRecordTitle:"Envoyer le dossier direct",SendDirectRecordDescription:"Êtes-vous sûr de vouloir envoyer ce dossier direct ? Cette action ne peut pas être annulée.",Sending:"Envoi...","Record approved successfully!":"Dossier approuvé avec succès !","Record rejected successfully!":"Dossier rejeté avec succès !","Failed to approve record.":"Échec de l’approbation du dossier.","Approve Record":"Approuver le dossier","Record is deleted successfully":"Le dossier est supprimé avec succès","Confirm Delete":"Confirmer la suppression","Delete Record":"Supprimer le dossier",Downloaded:"Téléchargé","Download Record PDF":"Télécharger le PDF du dossier","Failed to download PDF.":"Échec du téléchargement du PDF.","Download successful!":"Téléchargement réussi !","Confirm Forward":"Confirmer le transfert","Forward Record":"Transférer le dossier","Failed to forward the record":"Échec du transfert du dossier","Record forwarded successfully":"Dossier transféré avec succès","Confirm Approve":"Confirmer l’approbation",Reference:"Le numéro de référence standard de l’organisation",ExternalReference:"Numéro de référence des courriers entrants",InternalMemoReference:"Numéro de référence de la note interne","Make Review":"Faire une révision","Confirm Review":"Confirmer la révision",Reject:"Rejeter","Filter by":"Filtrer par","Reference Number":"Numéro de référence","Enter the subject of the letter":"Saisir l’objet du courrier","Delivered By":"Livré par","Enter Delivered By":"Saisir livré par","Letter Number":"Numéro de courrier","Enter Letter Number":"Saisir le numéro de courrier","Failed to create letter":"Échec de la création du courrier","Letter Created successfully":"Courrier créé avec succès","Please select file":"Veuillez sélectionner un fichier","Created At":"Créé le","Sign Status":"Statut de signature",signStatus:"Statut de signature",createdAt:"Créé le",View:"Voir","Date Received":"Date de réception",Attachment:"Pièce jointe",ReceivingUnit:"Destinataire","Review your record before submission":"Vérifiez votre dossier avant la soumission",Back:"Retour","Submit Record":"Soumettre le dossier",Submitting:"Soumission","Generating preview":"Génération de l’aperçu","PDF Preview":"Aperçu PDF","Unable to generate preview":"Impossible de générer l’aperçu",Retry:"Réessayer","Record Summary":"Résumé du dossier","No subject":"Aucun objet","Record Type":"Type de dossier","Not specified":"Non spécifié",Language:"Langue","Initiation Type":"Type d’initiation","Preview generation failed":"Échec de la génération de l’aperçu",Preview:"Aperçu",Form:"Formulaire",History:"Historique entrant","Delete Delegation":"Supprimer la délégation",selectLetter:"Sélectionner le courrier",incomingLetters:"Courriers entrants",nonSmartLetters:"Courriers non Smart",sendingOrganization:"Organisation expéditrice","Sending Organization":"Organisation expéditrice",MarkUrgent:"Marquer comme urgent",UnmarkUrgent:"Retirer le marquage urgent",MarkUrgentDialogTitle:"Marquer ce dossier comme urgent ?",MarkUrgentDialogDescription:"Ce dossier sera marqué comme urgent pour un traitement rapide.",UnmarkUrgentDialogTitle:"Retirer le statut urgent de ce dossier ?",UnmarkUrgentDialogDescription:"Ce dossier n’apparaîtra plus comme urgent.",Activate:"Activer",ShareViaEmail:"Partager par e-mail",recordOfficeRegester:"Dossiers enregistrés par l’agent d’enregistrement",fromSmartUsers:"Des bureaux utilisant Smartoffice",fromExternalNonsmart:"D’utilisateurs Smart externes",addRecordRO:"Ajouter un dossier entrant",directSend:"Envoi direct",updateAndSend:"Mettre à jour et envoyer",createAndSend:"Créer et envoyer","Confirm Reject":"Confirmer le rejet"},cF={Skipped:"Ignoré",Pending:"En attente",pending:"En attente",Draft:"Brouillon",draft:"En cours",InProgress:"En cours","In progress":"En cours","In Progress":"En cours",active:"En cours",Reassigned:"Réassigné",re_assigned:"Réassigné",Approved:"Approuvé",Accepted:"Accepté",accepted:"Accepté",Dispatched:"Envoyé",Adjustment:"Ajustement",adjustment:"Ajustement",adjustment_requested:"Ajustement demandé",AdjustmentRequested:"Ajustement demandé",Rejected:"Rejeté",rejected:"Rejeté",Submitted:"Transféré",All:"Tous",Reject:"Rejeter",Accept:"Accepter",Approve:"Approuver",approved:"Approuver",Adjust:"Ajuster",Sent:"Envoyé",Send:"Envoyer","Team Signature":"Signatures en attente","Team Rejected":"Équipe rejetée",teamRejected:"Équipe rejetée","Team Approved":"Équipe approuvée",signed:"Signé",activated:"Activé",deactivated:"Désactivé",activate:"Activer",deactivate:"Désactiver",totalAllocations:"Total des affectations",assignmentStatistics:"Statistiques d’assignation",Outgoing:"Sortant",Incoming:"Entrant",Returned:"Retourné",Adjusted:"Ajusté",acceptForward:"Accepter et transférer",replaced:"Remplacé",seen:"Vu",assigned:"Assigné",not_assigned:"Non assigné",completionRate:"Taux d’achèvement",attentionNeeded:"Attention requise",onTrack:"Dans les délais",assInProg:"Assignation en cours",next:"Affectations suivantes","Under Review":"En révision","Re Assigned":"Réassigné",send_back_by_ro:"Renvoyé par l’agent d’enregistrement",replied:"Répondu",Replied:"Répondu",yes:"Oui",no:"Non",terminated:"Terminé",cancelled:"Annulé",canceled:"Annulé",ended:"Terminé",Expired:"Expiré","Team Adjusted":"Équipe ajustée"},uF={Continue:"Continuer","Update and Assign":"Mettre à jour et assigner","Create and Assign":"Créer et assigner","Select a remark...":"Sélectionner des remarques courantes","Select Predefined Remark":"Sélectionner des remarques courantes",Clear:"Effacer","From Date":"De","To Date":"À",Letters:"Courriers",Department:"Département",Subject:"Objet",Date:"Date",Search:"Rechercher","Error loading records.":"Erreur lors du chargement des dossiers.",errDelegation:"Vous n’avez pas accès à cette page car votre compte est actuellement délégué.",Status:"Statut",Actions:"Actions",successassign:"Dossier assigné avec succès.","View Detail":"Voir le détail","Open actions menu":"Ouvrir le menu des actions","Sending Department":"Département expéditeur","No Department":"Aucun département","No Subject":"Aucun objet","Sending Organization (English)":"Organisation expéditrice (anglais)","Sending Organization":"Organisation expéditrice","Sending Organization (Amharic)":"Organisation expéditrice (amharique)",Accept:"Accepter",Assign:"Assigner",Edit:"Modifier",update:"Mettre à jour",Delete:"Supprimer",Download:"Télécharger",Reject:"Rejeter",Cancel:"Annuler",uploadIncomingRecord:"Ajouter un dossier entrant","Record accepted successfully":"Dossier accepté avec succès","Failed to accept record":"Échec de l’acceptation du dossier","Confirm Acceptance":"Confirmer l’acceptation","Are you sure you want to accept this record?":"Êtes-vous sûr de vouloir accepter ce dossier ?",Confirm:"Confirmer","Processing...":"Traitement...",Departments:"Départements","Select department(s)...":"Sélectionner des département(s)...",Employees:"Employés","Select employee(s)...":"Sélectionner des employé(s)...",Remark:"Remarque","Failed to Assign a Record":"Échec de l’assignation d’un dossier","Assign this record to one or more departments":"Assigner ce dossier à un ou plusieurs départements","Assign Record":"Assigner le dossier","An error occurred during assignment.":"Une erreur s’est produite lors de l’assignation.","Enter your remarks...":"Saisissez vos remarques...","Assigning...":"Assignation...","Are you sure you want to reject this record?":"Êtes-vous sûr de vouloir rejeter ce dossier ?","Failed to rejected record":"Échec du rejet du dossier","Record rejected successfully":"Dossier rejeté avec succès",To:"À",ConvertedBy:"Converti par",ReceiverDepartment:"Département destinataire","Assign CC":"Assigner en CC","Assign CC Record":"Assigner le dossier en CC","Assign this CC record to one or more positions":"Assigner ce dossier CC à un ou plusieurs postes","Select Positions":"Sélectionner des postes","Select positions to assign":"Sélectionner les postes à assigner",Comment:"Commentaire","Quick Remarks":"Remarques rapides","Failed to Assign CC Record":"Échec de l’assignation du dossier en CC",ReceiverEmployee:"Employé destinataire",return:"Retourner",returnQues:"Êtes-vous sûr de vouloir retourner ce dossier ?",returing:"Retour...",conformReturn:"Confirmer le retour","Reference Number":"Numéro de référence","Dispatched Date":"Date d’expédition","No Sending organization":"Aucune organisation expéditrice",noRemark:"Aucune remarque trouvée",searchRemark:"Rechercher une remarque...","Is Secured":"Est sécurisé","Is Urgent":"Est urgent","Receiving Organization":"Organisation destinataire",Attachments:"Pièces jointes",nonSmart:"D’un utilisateur non Smart",external:"D’un utilisateur Smart",self:"Mon dossier",parent:"Mon dossier parent",errorLoadingRecords:"Erreur lors du chargement des dossiers",reply:"Répondre",replyRecord:"Dossier de réponse",remarkDate:"Date de remarque",isReplyLetter:"Est une lettre de réponse",ViewReplyLetterDetails:"Voir le détail de la lettre de réponse",isSecured:"Sécurisé",isUrgent:"Urgent",RecordStatus:"Statut du dossier"},dF={"Record adjusted successfully":"Dossier ajusté avec succès",yourStamp:"Votre cachet",Letters:"Courriers",Department:"Département",Subject:"Objet",Date:"Date",Search:"Rechercher","Error loading records.":"Erreur lors du chargement des dossiers.",Status:"Statut",Actions:"Actions","View Detail":"Voir le détail","Open actions menu":"Ouvrir le menu des actions",receiverEmployee:"Employé destinataire",receiverPosition:"Poste destinataire",LetterName:"Nom du fichier",Receiver:"Destinataire","No Subject":"Aucun objet","Record accepted successfully":"Dossier accepté avec succès",Confirm:"Confirmer",Remark:"Remarque",Remarks:"Remarques","Accept Record":"Accepter le dossier","Record Rejected successfully":"Dossier rejeté avec succès",recordAdjustedSuccessfully:"Dossier ajusté avec succès",confirmAdjustment:"Confirmer l’ajustement",adjustRecord:"Ajuster le dossier",selectOrUploadSignature:"Veuillez sélectionner ou téléverser une signature",selectOrUploadTeeter:"Veuillez sélectionner ou téléverser un cachet",recordApprovedSuccessfully:"Dossier approuvé avec succès !",failedToApproveRecord:"Échec de l’approbation du dossier.",approveRecord:"Approuver le dossier",confirmApprove:"Confirmer l’approbation",confirmRejection:"Confirmer le rejet",rejectRecord:"Rejeter le dossier",RecordType:"Type de dossier",selectStamp:"Sélectionner le tampon",selectTetter:"Sélectionner le cachet",selectedStamp:"Tampon sélectionné :",signature:"Signature",yourSignature:"Votre signature :",selectedSignature:"Signature sélectionnée :",selectSignature:"Sélectionner une signature",approving:"Approbation...",All:"Tous",FileName:"Nom du fichier",SendingDepartment:"Département expéditeur",RecordStatus:"Statut du dossier"},fF={for:"Pour",viewDetail:"Voir le détail",from:"De",letter:"Courrier principal",letterPreview:"Aperçu du courrier",view:"Voir",fullScreen:"Plein écran",back:"Retour",loading:"Chargement...",noPreview:"Aucun aperçu trouvé",securedRecordMessage:"Comme le dossier est sécurisé, vous ne pouvez pas le consulter.",securedAttachmentMessage:"Comme le dossier est sécurisé, vous ne pouvez pas consulter les pièces jointes.",receivingOrganizations:"Organisations destinataires",receivingUserEmployees:"Employés utilisateurs destinataires",sendingDepartment:"Département expéditeur",externalCcOrganizations:"Organisations CC externes",internalCcDepartments:"Départements CC internes",receivingDepartments:"Départements destinataires",sentDate:"Date d’envoi",referenceNumber:"Numéro de référence",attachments:"Pièces jointes",remarks:"Remarques",loadingRemarks:"Chargement des remarques...",failedToLoadRemarks:"Échec du chargement des remarques.",noRemarksAvailable:"Aucune remarque disponible pour ce dossier.",action:"Action",comment:"Commentaire :",noAttachmentsAvailable:"Aucune pièce jointe disponible.",open:"Ouvrir",subject:"Objet",letterNumber:"Numéro de courrier",deliveredBy:"Livré par",personalRemark:"Remarque personnelle",noPersonalRemarkProvided:"Aucune remarque personnelle disponible",regeneratePdf:"Régénérer le PDF",regeneratingPdf:"Régénération...",pdfRegenerationSuccess:"PDF régénéré avec succès",pdfRegenerationFailed:"Échec de la régénération du PDF",sendingBureau:"Bureau expéditeur",collaborators:"Collaborateurs",recordDetail:"Détail du dossier",commentorEmployee:"Employé commentateur",commentorDepartment:"Département du commentateur",noComment:"Aucun commentaire",fileName:"Nom du fichier",fileName1:"Nom du fichier (numéro de référence RO)",toogleColumns:"Basculer les colonnes",sendingEmployee:"Employé expéditeur"},pF={dropFilesHere:"Déposez les fichiers ici",dragDropInstruction:"Glissez-déposez les fichiers ici, ou cliquez pour sélectionner des fichiers",youCanUpload:"Vous pouvez téléverser",removeFile:"Supprimer le fichier",filesUpTo:"Fichiers (jusqu’à ",aFileWith:"Un fichier avec",file:"Fichier",wasRejected:"A été rejeté",uploaded:"Téléversé",failedToUpload:"Échec du téléversement",uploading:"Téléversement...",cannotUploadMoreThan:"Impossible de téléverser plus de "},mF={title:"Partager le dossier par e-mail",description:"Saisir l’adresse e-mail avec laquelle partager ce dossier.",emailLabel:"Adresse e-mail",emailPlaceholder:"Saisir l’adresse e-mail",emailRequired:"L’adresse e-mail est requise",invalidEmailFormat:"Veuillez saisir une adresse e-mail valide",shareButton:"Partager le dossier",shareSuccess:"Dossier partagé avec succès par e-mail",shareFailed:"Échec du partage du dossier par e-mail",networkError:"Une erreur réseau s’est produite. Veuillez vérifier votre connexion et réessayer."},hF={recordConverted:"Dossier converti avec succès.",selectSeal:"Veuillez sélectionner un sceau.",convertRecord:"Convertir le dossier",recordType:"Type de dossier :",subject:"Objet :",convertAndDispatch:"Convertir et expédier",selectSealLabel:"Sélectionner le sceau :",loadingSeals:"Chargement des sceaux...",selectSealPlaceholder:"-- Sélectionner un sceau --",selectedSealPreview:"Aperçu du sceau sélectionné :",drawSig:"Dessiner la signature"},gF={delegatedPosition:"Poste délégué",delegateePosition:"Poste délégataire",delegateeEmployee:"Employé délégataire",selectDelegatedPosition:"Sélectionner le poste délégué",delegateTo:"Déléguer à (employé)",selectEmployee:"Sélectionner un employé",noEmployeesAvailable:"Aucun employé disponible pour ce poste",startDate:"Date de début",pickDate:"Choisir une date",endDate:"Date de fin",endDateMinimumFutureError:"La date de fin doit être au moins 2 minutes à partir de maintenant",update:"Mettre à jour",save:"Enregistrer",title:"Délégation",newDelegation:"Nouvelle délégation",editDelegation:"Modifier la délégation",addDelegation:"Ajouter une délégation",position:"Poste délégué",active:"Actif",delegator:"Délégant",delegatedEmployee:"Employé délégué",currentEndDate:"Date de fin actuelle",select:" Sélectionner",acting:"Agissant en tant que",switchRole:"Changer de rôle",successDelete:"La délégation est supprimée avec succès",activeDelegationExists:"une délégation active existe ; modifiez la délégation active ou supprimez-la et recréez-en une",createdSuccess:"Délégation créée avec succès",deletedSuccess:"Délégation supprimée avec succès",updatedSuccess:"Délégation mise à jour avec succès",terminationDetail:"Détail de résiliation",viewTerminationDetail:"Voir le détail de résiliation",terminatedSuccess:"Délégation terminée avec succès",deleteDescription:"Fournissez une raison pour mettre fin à cette délégation.",deleteReasonLabel:"Raison",deleteReasonPlaceholder:"Pourquoi mettez-vous fin à cette délégation ?",deleteReasonRequired:"Veuillez fournir une raison pour la suppression.",myDelegations:"Mes délégations",myDelegatee:"Mon délégué",letter:"Lettre de délégation",selectLetter:"Sélectionner le courrier",viewLetter:"Voir la lettre de délégation",noLetterAssigned:"Aucune lettre de délégation",letterDetails:"Détails du courrier sélectionné",recordInformation:"Informations du dossier",letterPreview:"Aperçu du document",openInNewTab:"Ouvrir dans un nouvel onglet",pdfNotAvailable:"Document PDF non disponible",recordNotFound:"Dossier sélectionné introuvable",pdfNotFound:"Document PDF introuvable",pdfLoadError:"Échec du chargement du document PDF",loadingPdf:"Chargement du document...",retryPdf:"Réessayer le chargement",receiverPositions:"Destinataires",initiator:"Initiée par",latestComment:"Dernier commentaire",commentMeta:"Donné par",commentMetaOn:"le"},yF={signature:"Signature",teeter:"Cachet",uploadSignature:"Téléverser la signature",uploadTeeter:"Téléverser le cachet",uploadSignatureNote:"Téléverser la signature (PNG uniquement)",uploadTeeterNote:"Téléverser le cachet (PNG uniquement)",uploadedSignature:"Signature téléversée :",uploadedTeeter:"Cachet téléversé :",enterFileName:"Saisir le nom du fichier (sans extension)",preview:"Aperçu :",upload:"Téléverser",uploading:"Téléversement...",remove:"Supprimer",removing:"Suppression...",removedSuccess:"Supprimé avec succès.",removeTeeterFailed:"Échec de la suppression du cachet",removeFailed:"Échec de la suppression.",selectPngFirst:"Veuillez d’abord sélectionner un fichier PNG.",onlyPngAllowed:"Seuls les fichiers PNG sont autorisés.",signatureExists:"La signature existe déjà. Supprimez-la pour en téléverser une nouvelle.",uploadSuccess:"Téléversement réussi !",uploadError:"Erreur de téléversement :",uploadFailed:"Échec du téléversement.",openSignatureForm:"Ouvrir le panneau de signature",generateTeeter:"Générer le cachet",selectTeeterLanguage:"Sélectionner la langue du cachet",languageAmharic:"Amharique",languageEnglish:"Anglais",languageBoth:"Les deux (amharique puis anglais)",confirmGenerateTeeter:"Générer",cancelGenerateTeeter:"Annuler",uploadGeneratedTeeter:"Téléverser le cachet généré",generatedTeeterPreview:"Aperçu du cachet généré",downloadTransparentPng:"Télécharger le PNG transparent",stampNameLabel:"Nom",stampPositionLabel:"Poste",stampBlockAmharic:"Amharique",stampBlockEnglish:"Anglais",missingEmployeeData:"Le nom ou le poste de l’employé n’est pas disponible."},vF={assignedBy:"Assigné par",assignedTo:"Assigné à",assignedOn:"Assigné le :",comment:"Commentaire :",assignmentFlow:"Flux d’assignation",noAssignments:"Aucune assignation n’a encore été effectuée pour ce dossier.",responded:"Répondu",assignedUsing:"Assigné via :",byName:"Nom de l’employé",byDepartment:"Nom du département"},bF={welcomeBack:"Bon retour",enterCredentials:"Veuillez saisir vos identifiants pour continuer",email:"E-mail",phoneNumber:"Numéro de téléphone",username:"Nom d’utilisateur",password:"Mot de passe",rememberMe:"Se souvenir de moi",forgotPassword:"Mot de passe oublié ?",loggingIn:"Connexion...",login:"Connexion",welcomeHeadline:"Bienvenue dans votre Smart Office",paperlessOffice:"Bureau sans papier",welcomeSubtext:"Connectez-vous pour rationaliser votre flux de travail et éliminer l’encombrement.",emailAddress:"Adresse e-mail",err:"Numéro de téléphone éthiopien invalide. Il doit commencer par +251",invalidEmail:"Veuillez saisir une adresse e-mail valide"},wF={sent:"Le courrier est envoyé",genericError:"Une erreur s’est produite",authError:"Session expirée",authErrorDescription:"Veuillez vous reconnecter.",validationError:"Certaines informations soumises sont invalides. Veuillez vérifier et réessayer.",permissionError:"Vous n’avez pas l’autorisation d’effectuer cette action.",notFoundError:"Nous n’avons pas trouvé ce que vous cherchiez.",fileTooLarge:"Le fichier est trop volumineux. Veuillez réduire sa taille et réessayer.",serverError:"Un problème est survenu de notre côté. Veuillez réessayer dans un instant.",attachmentDeleted:"Pièce jointe supprimée avec succès.",replyAdded:"Réponse ajoutée avec succès !",replyError:"Une erreur s’est produite lors de l’ajout de la réponse.",failedToCreate:"Échec de la création du dossier",failedToGetUrl:"Échec de l’obtention de l’URL de téléversement",registrationSuccess:"Inscription effectuée. Nous avons envoyé un SMS pour définir votre mot de passe avec succès.",errorOccurred:"Une erreur s’est produite.",successfullyCompleted:"Modifications enregistrées avec succès.",pdfRegenerated:"PDF régénéré avec succès.",approveFailed:"Échec de l’approbation du dossier.",approveSuccess:"Dossier approuvé avec succès",selectPrompt:"Veuillez sélectionner un tampon.",extendedSuccess:"Délégation prolongée avec succès.",letter:"Courrier",approvedSuccess:"Dossier approuvé avec succès !",submittedSuccess:"Dossier soumis avec succès !",reviewSuccess:"Dossier mis en révision avec succès !",markedForAdjustment:"Marqué pour ajustement",sentToOfficer:"Envoyé à l’agent d’enregistrement",errorSendingToOfficer:"Erreur lors de l’envoi à l’agent d’enregistrement",success:"Délégation réussie.",failed:"Échec de la délégation.",deletedSuccess:"Délégation supprimée avec succès.",deleteFailed:"Échec de la suppression de la délégation.",failedCreateOrGetUrl:"Échec de la création du dossier ou de l’obtention de l’URL de téléversement.",sentAndUploadedSuccess:"Courrier envoyé et fichier téléversé avec succès.",failedSendOrUpload:"Échec de l’envoi du courrier ou du téléversement du fichier.",successassign:"Dossier assigné avec succès.",submittedWithAttachments:"Dossier et pièces jointes soumis.",createFailed:"Échec de la création du dossier.",refreshedSuccess:"Actualisé avec succès.",refreshFailed:"Échec de l’actualisation.",redirecting:"Redirection...",loginSuccess:"Connexion réussie.",receivingDepartmentRequired:"Au moins un département destinataire est requis",receivingUnitRequired:"Au moins une unité destinataire est requise",recordTypeRequired:"Le type de dossier est requis",initiationTypeRequired:"Le type d’initiation est requis",subjectRequired:"L’objet est requis",preferredLanguageRequired:"La langue préférée est requise",bodyRequired:"Le corps est requis",sincerelyTextRequired:"Le texte de salutation est requis",headerRequired:"L’en-tête est requis",footerRequired:"Le pied de page est requis",accessDenied:"Accès refusé",accessDeniedmsg:"Vous ne pouvez pas accéder à cette page car vous avez une délégation active. Veuillez supprimer la délégation pour continuer.",accessDeniedmsg2:"Vous ne pouvez pas accéder à cette page car vous avez une délégation active. Vous ne pouvez pas déléguer si vous êtes déjà délégué par un autre employé",accessDeniedmsg3:"Vous ne pouvez pas accéder au module de gestion des dossiers car vous n’êtes pas enregistré dans cette organisation ou aucun poste ne vous a été assigné",sendingOrgRequired:"L’organisation expéditrice est requise",deliveredByRequired:"Le champ « Livré par » est requis",letterNoRequired:"Le numéro de courrier est requis",letterNameRequired:"Le nom du fichier est requis",noReferenceNumber:"Le courrier n’est pas envoyé, donc aucun numéro de référence",noMsg:"Parce que le courrier n’a pas encore été envoyé",sincerely:"Cordialement",changePasswordMsg:"Définir un nouveau mot de passe pour votre compte",oldPassword:"Ancien mot de passe",newPassword:"Nouveau mot de passe",confirmNewPassword:"Confirmer le nouveau mot de passe",chaning:"changement...",failedChange:"Échec du changement de mot de passe",successChange:"Mot de passe modifié avec succès",logoutSuccess:"Déconnexion réussie",logoutFailed:"Échec de la déconnexion",passwordMismatch:"Le nouveau mot de passe et sa confirmation ne correspondent pas",passwordRequirements:"Le mot de passe doit contenir au moins 8 caractères",currentPasswordRequired:"Le mot de passe actuel est requis",newPasswordRequired:"Le nouveau mot de passe est requis",passwordMinLength:"Le mot de passe doit contenir au moins 8 caractères",passwordMustBeDifferent:"Le nouveau mot de passe doit être différent de votre mot de passe actuel",confirmPasswordRequired:"Veuillez confirmer votre nouveau mot de passe",uppercaseLetter:"lettre majuscule",lowercaseLetter:"lettre minuscule",number:"numéro",specialCharacter:"caractère spécial",passwordComplexity:"Le mot de passe doit contenir au moins un",passwordResetSuccess:"Vous pouvez maintenant vous connecter avec votre nouveau mot de passe",selectAll:"Tout sélectionner",error:"Erreur",createRecordMsg:"Remplissez les détails pour créer un nouveau dossier entrant",updateRecordMsg:"Mettre à jour les détails du dossier entrant ci-dessous",completionRate:"Calcul : acceptés + rejetés + réassignés + répondus divisés par le total des assignations",totalAllocations:"Nombre total de courriers assignés aux utilisateurs ou départements",reassigned:"Courriers redirigés d’un utilisateur ou département vers un autre",rejected:"Courriers refusés ou non approuvés par le destinataire",accepted:"Courriers approuvés ou reconnus par le destinataire",replied:"Courriers ayant reçu une réponse ou un suivi du destinataire",draft:"Courriers en attente d’une action ou d’une décision du destinataire",waitingMsg:"Aucun contenu n’est disponible sur ce site pour le moment, car l’administrateur n’a pas encore fourni ou publié de ressources.",recordDes:"Ce lien vous mène à la gestion des dossiers",orgAdminDes:"Ce lien mène à la gestion du site",recycleBin:"Corbeille",ccEmployeesInvalidSelection:"Un ou plusieurs utilisateurs CC sélectionnés n’ont pas de poste assigné valide. Supprimez-les ou mettez à jour leur profil employé."},SF=JSON.parse('{"smartOffice":"Smart Office","signIn":"Se connecter","signUp":"S’inscrire","overview":"Aperçu","features":"Fonctionnalités","workflow":"Flux de travail","manual":"Manuel","digitalTransformation":"Transformation numérique pour des opérations gouvernementales modernes.","facebook":"Facebook","twitter":"Twitter","linkedIn":"LinkedIn","telegram":"Telegram","tiktok":"TikTok","website":"Site web","contactUs":"Nous contacter","quickLinks":"Liens rapides","copyright":"Tria Plc - Copyright ©","rightsReserved":"Tous droits réservés - Propulsé par Tria","address":"Lingo Tower en face de Sheger House, Bole, Addis-Abeba, Éthiopie","platformSystem":"Smart Office","initiativeDescription":"Une initiative complète de transformation numérique visant à moderniser les opérations des bureaux gouvernementaux grâce à l’adoption de technologies de pointe.","getStarted":"Commencer","learnMore":"En savoir plus","sops":"SOPS","smartOfficePlatformSystem":"Système Smart Office","revolutionDescription":"Révolutionner les opérations gouvernementales grâce à l’automatisation des flux de travail alimentée par l’IA et à l’analyse en temps réel.","liveDemo":"Démo en direct disponible","outgoingRecords":"Dossiers sortants","outgoingRecordsDesc":"Créer et envoyer des dossiers internes ou externes avec pièces jointes et flux d’approbation hiérarchiques.","incomingRecords":"Dossiers entrants","incomingRecordsDesc":"Consulter, accepter et répondre aux dossiers reçus, avec la possibilité de les assigner aux départements concernés.","approvalWorkflows":"Flux d’approbation","approvalWorkflowsDesc":"Prise en charge des courriers et signatures numériques avec des processus d’approbation hiérarchiques adaptés à la structure de votre bureau.","interactiveDashboard":"Tableau de bord interactif","interactiveDashboardDesc":"Suivi en temps réel des dossiers entrants et sortants, avec résumés par département et approbations en attente.","organizedFolders":"Dossiers organisés","organizedFoldersDesc":"Catégoriser les dossiers à l’aide d’un système structuré avec des capacités avancées de recherche et de filtrage.","securityAccessControl":"Sécurité et contrôle d’accès","securityAccessControlDesc":"Accès basé sur les rôles avec pistes d’audit complètes pour toutes les actions et modifications de documents.","powerfulFeaturesTitle":"Fonctionnalités puissantes","powerfulFeaturesSubtitle":"Rationalisez votre flux de travail documentaire","powerfulFeaturesDesc":"Nos outils complets vous aident à gérer les dossiers efficacement tout en maintenant la sécurité et la conformité.","feature1":"Délais d’approbation plus rapides","feature2":"Dossiers mieux organisés","feature3":"Conformité d’audit","documentWorkflow":"Flux de travail documentaire","recordCreation":"Création de dossier","recordCreationDesc":"L’utilisateur crée un nouveau dossier avec des pièces jointes et des métadonnées","teamLeaderReview":"Révision par le chef d’équipe","teamLeaderReviewDesc":"Approbation de premier niveau par le supérieur immédiat","directorApproval":"Approbation du directeur","directorApprovalDesc":"Le responsable du département révise et approuve","deputyHeadReview":"Révision par l’adjoint au responsable","deputyHeadReviewDesc":"Approbation administrative finale avant soumission","recordOfficerProcessing":"Traitement par l’agent d’enregistrement","recordOfficerProcessingDesc":"Enregistrement officiel et expédition","streamlinedProcess":"Processus rationalisé","recordManagementApprovalWorkflows":"Flux d’approbation de la gestion des dossiers","smartOfficeDescription":"Smart Office reflète votre hiérarchie organisationnelle avec des flux de travail numériques personnalisables qui garantissent une supervision et une responsabilité appropriées.","step":"ÉTAPE","requestChanges":"Demander des modifications","workflowAutomationBenefits":"Avantages de l’automatisation des flux de travail","workflowAutomationDesc":"Notre système intelligent de flux de travail réduit le temps de traitement de 65 % tout en garantissant la conformité à vos politiques organisationnelles.","fasterApprovals":"Approbations 65 % plus rapides","reduceDelays":"Réduire les retards bureaucratiques","auditTrail":"Piste d’audit à 100 %","completeRecord":"Historique complet de toutes les actions","advancedFeatures":"Fonctionnalités avancées","slaMonitoring":"Suivi des SLA","slaMonitoringDesc":"Suivi automatique des accords de niveau de service avec alertes d’escalade en cas de retard.","conditionalRouting":"Routage conditionnel","conditionalRoutingDesc":"Des règles intelligentes acheminent automatiquement les documents selon le contenu, la valeur ou le département.","temporaryApprovalDelegation":"Délégation temporaire d’approbation pour les congés avec suivi d’audit complet.","approvalworkflow":"Flux d’approbation","uptime":"Disponibilité","bureaus":"Bureaux","support":"Assistance","features1":"Évolutif","features2":"Prise en charge multiplateforme","features3":"Synchronisation des données dans le cloud","features4":"fonctionnement en faible connectivité","features5":"Conception réactive/adaptative","features6":"Sécuriser","login":"Connexion au système","step1":"1. Cliquez sur le","headerBtn":"bouton dans l’en-tête","step2":"2. Saisissez le nom d’utilisateur et le mot de passe fournis par votre administrateur","step3":"3. Cliquez sur le","accessBtn":"bouton pour accéder au système","note":"Remarque","forgotIntro":"Si vous oubliez votre mot de passe, contactez votre administrateur système pour le réinitialiser.","dashboardTitle":"Aperçu du tableau de bord","dashboardDesc":"Le tableau de bord fournit un aperçu complet de vos activités de dossier :","recordsCreated":"Dossiers créés","recordsTotal":"Total des dossiers que vous avez initiés","recordsReceived":"Dossiers reçus :","incomingDocs":"Documents entrants provenant d’autres personnes","breakdown":"Répartition interne/externe :","visuals":"Graphiques visuels montrant les types de documents","approvalStatus":"Statut d’approbation","approvalTypes":"Dossiers en attente, approuvés ou rejetés","quickActions":"Actions rapides","createOrCheck":"Créer de nouveaux dossiers ou vérifier les approbations en attente directement depuis le tableau de bord","recentActivity":"Activité récente","trackUpdates":"Suivre les dernières mises à jour de vos documents","manageOut":"Gestion des dossiers sortants","createNew":"Création de nouveaux dossiers","goToTab":"Accédez au","clickBtn":"Cliquez sur le bouton","fillFields":"Remplissez tous les champs requis (type de dossier, destinataire, objet, etc.)","attach":"Joindre des documents justificatifs si nécessaire","saveOrSubmit":"Enregistrer comme brouillon ou soumettre pour approbation","trackStatus":"Suivi du statut du dossier","notForwarded":"Cet élément n’a pas encore été transféré. Cet élément peut être modifié et supprimé","awaiting":"Cet élément attend acceptation ou approbation.","accepted":"Cet élément a été accepté et attend approbation.","approvedSent":"Cet élément a été approuvé et envoyé à l’agent d’enregistrement pour expédition.","returned":"Cet élément a été retourné pour ajustements ou informations supplémentaires. Veuillez consulter les commentaires.","rejected":"Cet élément a été rejeté.","sent":"Cet élément a été envoyé aux destinataires.","returnedByOfficer":"Cet élément a été retourné par l’agent d’enregistrement.","monitor":"Suivez vos dossiers à chaque étape d’approbation du flux de travail","manageIncoming":"Gestion des dossiers entrants","incomingTypes":"Types de dossiers entrants","fromOthers":"D’autres organisations","withinOrg":"Au sein de votre organisation","copied":"Copié pour votre information","processIncoming":"Traitement des dossiers entrants","readDoc":"Ouvrir et lire le document complet","acknowledge":"Accuser réception du document","forward":"Transférer à un autre membre de l’équipe si nécessaire","archive":"Archiver","fileRef":"Classer pour référence future","apprvalworkflow":"Flux d’approbation","process":"Processus d’approbation","internalFlow":"Flux des dossiers internes :","creator":"Créateur","leader":"Chef d’équipe","director":"Directeur","officer":"Agent d’enregistrement","externalFlow":"Flux des dossiers externes :","actions":"Actions d’approbation","delegation":"Gestion des délégations","delegateInfo":"Lorsque vous êtes indisponible, vous pouvez déléguer votre autorité d’approbation à un autre membre de l’équipe :","delegateNav":"Accédez au","selectColleague":"Sélectionner un collègue dans la structure de votre organisation","setDates":"Définir les dates de début et de fin de la période de délégation","setPerms":"Préciser les autorisations à déléguer","saveDelegate":"Enregistrer les paramètres de délégation","autoExpire":"Les délégations expirent automatiquement à la date de fin que vous indiquez.","collab":"Espace de collaboration","collabInfo":"L’onglet collaboration rassemble les dossiers nécessitant la contribution de plusieurs membres de l’équipe :","viewDocs":"Voir tous les documents collaboratifs au même endroit","addComments":"Ajouter vos commentaires ou annotations","approve":"Approuver avec votre signature numérique lorsque le consensus est atteint","trackChanges":"Suivre les modifications et l’historique des versions","realTime":"Mises à jour en temps réel","liveChanges":"Voir les modifications des autres collaborateurs au fur et à mesure","notifications":"Système de notification","alerts":"Recevoir des alertes lorsque d’autres contribuent au document","signatureMgmt":"Gestion du cachet et de la signature","leadersOnly":"Les chefs d’équipe et niveaux supérieurs peuvent gérer leur cachet numérique et leur signature :","signatureTitle":"Cachet et signature","uploadTeeter":"Téléverser une image claire de votre cachet officiel","uploadSignature":"Créer ou téléverser votre signature numérique","defaultSignature":"Définir par défaut pour toutes les approbations","updateDesignation":"Mettre à jour chaque fois que votre désignation officielle change","security":"Avis de sécurité :","encrypted":"Votre cachet et votre signature sont chiffrés et utilisés uniquement pour les approbations officielles.","recordModule":"Module de gestion des dossiers","guide":"Guide complet d’utilisation du système de plateforme Smart Office","back":"Retour au tableau de bord","moduleGuide":"Guide du module","previous":"Précédent","next":"Suivant","addTeeterAndSignature":"Ajouter un cachet et une signature numériques","returnWithComments":"Retourner avec commentaires","requestModifications":"Demander des modifications","screenshotOf":"Capture d’écran de","fasterApproval":"Approbation plus rapide","auditReady":"Prêt pour l’audit","organizedRecords":"Dossiers organisés","tab":"Onglet","click":"Cliquer","button":"Bouton","services":"Services","fileComplaint":"Déposer une plainte","followComplaint":"Suivre la plainte","aboutUs":"En savoir plus sur nous","darkMode":"Mode sombre","lightMode":"Mode clair"}'),xF={webManagement:"Gestion web",addUser:" Ajouter un utilisateur","Letter Template":"Modèles de courrier",organizations:"Organisations",newOrganization:"Nouvelle organisation",organizationName:"Nom de l’organisation",createdOn:"Créé le",approveUserPrompt:"Approuver l’utilisateur",approveUserDescription:"Approuver l’utilisateur",yesApprove:"Oui, approuver",numberOfUsers:"Nombre d’utilisateurs",assignedAdmin:"Administrateur assigné","Migrated Records":"Dossiers migrés",isGovernmentOrganization:"Est une organisation gouvernementale",createNew:"Créer nouveau",edit:"Modifier",enterDetails:"Saisissez les détails de la nouvelle organisation. Tous les champs marqués d’un astérisque (*) sont requis.",nameAmharic:"Nom (amharique)",nameEnglish:"Nom (anglais)",key:"Clé",organizationType:"Type d’organisation",loadingOrganizationTypes:"Chargement des types d’organisation...",errorLoadingOrganizationTypes:"Erreur lors du chargement des types d’organisation",noOrganizationTypesAvailable:"Aucun type d’organisation disponible",parentOrganization:"Organisation parente (facultatif)",loading:"Chargement...",selectOrganization:"Sélectionner une organisation",selectOrganizationFirst:"Sélectionnez d’abord une organisation",noOrganization:"Aucune organisation",isOrganizationPublic:"L’organisation est-elle publique",selectOrganizationType:"Sélectionner le type d’organisation",deleteOrganization:"Supprimer l’organisation",confirmDelete:"Êtes-vous sûr de vouloir supprimer définitivement ?",cannotUndo:"Cette action ne peut pas être annulée.",deleting:"Suppression ...",delete:"Supprimer",viewOrganization:"Voir l’organisation",editOrganization:"Modifier l’organisation",englishNameRequired:"Le nom en anglais est requis",amharicNameRequired:"Le nom en amharique est requis",invalidEmail:"Adresse e-mail invalide",usernameMinLength:"Le nom d’utilisateur doit contenir au moins 3 caractères",organizationRequired:"L’organisation est requise",invalidPhoneNumber:"Le numéro de téléphone doit être un numéro éthiopien valide",registerAdminTitle:"Enregistrer l’administrateur de l’organisation",registerAdminDescription:"Remplir les champs requis pour s’inscrire",enterEnglishName:"Saisir le nom en anglais",enterAmharicName:"Saisir le nom en amharique",email:"E-mail",emailExample:"email@example.com",username:"Nom d’utilisateur",enterUsername:"Saisir un nom d’utilisateur",phoneNumber:"Numéro de téléphone",phoneNumberExample:"p. ex. 0912345678 ou +251912345678",organization:"Organisation",registering:"Enregistrement...",registerAdmin:"Enregistrer un administrateur",dashboard:"Tableau de bord",organizationAdmins:"Administrateurs de l’organisation",externalUsers:"Utilisateurs externes",userManagement:"Gestion des utilisateurs",content:"Contenu",bulkUpload:"Téléversement en masse",positionTypes:"Types de poste",activityLog:"Journal d’activité",setting:"Paramètre",loadingAdmins:"Chargement des administrateurs...",errorLoadingAdmins:"Erreur lors du chargement des données administrateur",retry:"Réessayer",assignAdmin:"Assigner un administrateur",addAdmin:"Ajouter un administrateur",adminAssignedSuccess:"Administrateur assigné avec succès",userAssignedSuccess:"Utilisateur assigné avec succès",userAssignFailed:"L’utilisateur n’a pas pu être assigné",assignAdminToOrganization:"Assigner un administrateur à l’organisation",assignAdminInstructions:"Sélectionner une organisation et un utilisateur à assigner comme administrateur.",users:"Utilisateurs",searchUsers:"Rechercher des utilisateurs...",noUsersFound:"Aucun utilisateur trouvé",assigning:"Assignation...",assignUser:"Assigner un utilisateur",noUsersAvailable:"Aucun utilisateur disponible",pendingExternalUsers:"Utilisateurs externes en attente",activateUserPrompt:"Activer cet utilisateur ?",activateUserDescription:"Cela permettra à l’utilisateur d’accéder à la plateforme",activating:"Activation...",yesActivate:"Oui, activer",statistics:"Statistiques",totalOrganizations:"Total des organisations",recentOrganizations:"Organisations récentes",viewMore:"Voir plus →",recentActivities:"Activités récentes",moreActivities:"Plus d’activités →",noRecentActivities:"Aucune activité récente trouvée",contentManagement:"Gestion du contenu",Bulk:"Importateur Excel",Position:"Postes",settings:"Paramètres","Archive Users":"Archiver les utilisateurs","Archived Organizations":"Organisations archivées","Archived Units & Positions":"Unités et postes archivés",contentMsg:"Gérez efficacement le contenu et les ressources de votre organisation.",selectUnit:"Sélectionner une unité",visibilityToOthers:"Visible pour les autres",visible:"Visible",hidden:"Masqué",visibilityEnabled:"L’organisation est maintenant visible pour les autres organisations",visibilityDisabled:"L’organisation est maintenant masquée aux autres organisations",visibilityUpdateFailed:"Échec de la mise à jour de la visibilité de l’organisation"},CF={"View Detail":"Voir le détail","Open actions menu":"Ouvrir le menu des actions",Actions:"Actions",convertRecord:"Convertir le dossier",return:"Retourner",returning:"Retour...",returing:"Retour...",conformReturn:"Confirmer le retour","Please provide a reason for returning this record.":"Veuillez fournir une raison pour retourner ce dossier.",ReturnComment:"Commentaire de retour",EnterReturnReason:"Saisir la raison du retour",CommentRequired:"Le commentaire est requis",RecordReturnedSuccessfully:"Dossier retourné avec succès",FailedToReturnRecord:"Échec du retour du dossier"},RF={incompleteRegistration:"Vous n’avez pas terminé le processus de vérification. Veuillez téléverser les documents requis pour continuer.",uploadDocuments:"Téléverser les documents",registrationRequired:"Vous devez terminer votre inscription avant d’accéder à cette page.",title:"Inscription",steps:{registerUpload:{title:"S’inscrire et téléverser",description:"Remplir les détails et téléverser les documents requis"},verifyOtp:{title:"Vérifier l’OTP",description:"Saisir le code de vérification envoyé à votre téléphone/e-mail"}},form:{registrationType:"Type d’inscription",organization:"Organisation",individual:"Individu",organizationEmail:"E-mail de l’organisation",organizationEmailPlaceholder:"organization@example.com",individualEmail:"E-mail personnel",individualEmailPlaceholder:"personal@example.com",organizationUsername:"Nom d’utilisateur de l’organisation",organizationUsernamePlaceholder:"nom_utilisateur_org",individualUsername:"Nom d’utilisateur personnel",individualUsernamePlaceholder:"nom_utilisateur_personnel",organizationPhone:"Téléphone de l’organisation",organizationPhonePlaceholder:"+251 téléphone de l’organisation",individualPhone:"Téléphone personnel",individualPhonePlaceholder:"+251 téléphone personnel",organizationNameEn:"Nom de l’organisation (anglais)",organizationNameEnPlaceholder:"Nom de l’entreprise Ltd.",individualNameEn:"Nom complet (anglais)",individualNameEnPlaceholder:"Jean Dupont",organizationNameAm:"Nom de l’organisation (amharique)",organizationNameAmPlaceholder:"የድርጅት ስም",individualNameAm:"Nom complet (amharique)",individualNameAmPlaceholder:"የግለሰብ ስም",organizationSubmitButton:"Enregistrer une organisation et téléverser les documents",individualSubmitButton:"Inscrire une personne et téléverser les documents",processing:"Traitement..."},userType:{selectionDescription:"Choisissez votre type d’inscription pour commencer",organization:"Organisation",organizationDescription:"S’inscrire comme entreprise, institution ou organisation",individual:"Individu",individualDescription:"S’inscrire comme personne physique ou professionnel"},continueButton:"Continuer vers l’inscription",documents:{requiredDocuments:"Documents requis",requirementsUpdate:"Les exigences sont mises à jour lorsque vous changez de type d’inscription",attached:"joint",tip:"Astuce : téléversez maintenant ou continuez et téléversez après vérification",noRequirements:"Aucune exigence de document",upload:"Téléverser",change:"Changer",remove:"Supprimer",required:"Requis",fileSelected:"Fichier sélectionné",readyToUpload:"Prêt à téléverser",previouslyUploaded:"Téléversé précédemment",willUploadOnSubmit:"Sera téléversé lors de la soumission",fayda:"Identifiant Fayda",faydaMessage:"Saisir l’identifiant Fayda"},verifyOtp:{title:"Vérifier votre compte",description:"Saisissez le code à 6 chiffres que nous avons envoyé {channel}.",channel:{email:"à votre e-mail",phone:"à votre téléphone"},otpInput:{ariaLabel:"Caractère {index}",placeholder:"Saisir le code OTP"},password:{newPassword:"Nouveau mot de passe",confirmPassword:"Confirmer le mot de passe",showPassword:"Afficher le mot de passe",hidePassword:"Masquer le mot de passe"},buttons:{back:"Retour",completeRegistration:"Terminer l’inscription",verifying:"Vérification...",resendCode:"Renvoyer le code",resending:"Renvoi...",resendIn:"Renvoyer dans {seconds}s",resendLoading:"Renvoi du code",resendCooldown:"Renvoyer le code dans {seconds} secondes"},messages:{success:"Mot de passe défini avec succès !",verificationCodeResent:"Code de vérification renvoyé à votre e-mail/téléphone.",missingEmailPhone:"L’e-mail ou le numéro de téléphone est manquant.",invalidOtp:"Veuillez saisir un OTP valide de 6 caractères.",fillPasswords:"Veuillez remplir les deux champs de mot de passe.",passwordLength:"Le mot de passe doit contenir au moins 8 caractères.",passwordMismatch:"Les mots de passe ne correspondent pas.",passwordUpdateFailed:"Échec de la mise à jour du mot de passe. Veuillez réessayer.",resendFailed:"Échec du renvoi du code de vérification. Veuillez réessayer.",registrationComplete:"Inscription et téléversement des documents terminés avec succès !",selectUnitWarning:"Veuillez sélectionner une unité",fillAllFields:"Veuillez remplir tous les champs",configAdded:"Configuration ajoutée avec succès",configUpdated:"Configuration mise à jour avec succès",configAddFailed:"Échec de l’ajout de la configuration",configUpdateFailed:"Échec de la mise à jour de la configuration"},errors:{missingUserId:"L’ID utilisateur est manquant. Impossible de renvoyer le code de vérification.",resendFailed:"Échec du renvoi du code de vérification.",alreadyRegistered:"Vous ne pouvez vous inscrire qu’une seule fois avec un seul e-mail ou numéro de téléphone. Au lieu de vous réinscrire, allez à la connexion et utilisez Mot de passe oublié pour réinitialiser votre mot de passe."},support:{needHelp:"Besoin d’aide ?",helpLink:"/support/resend-sms"}}},EF={manageConfig:{title:"Gérer la configuration {{type}}",description:"Configurer la capacité et la structure {{level}}",organization:"Organisation",unit:"Unité",selectUnit:"Sélectionner une unité",selectUnitPlaceholder:"Sélectionner une unité",subOrganizations:"Sous-organisations",employeesPerOrg:"Employés par organisation",subOrgsPlaceholder:"p. ex. 3",employeesPlaceholder:"p. ex. 20",addConfiguration:"Ajouter une configuration",updateConfiguration:"Mettre à jour la configuration",configurations:"Configurations",loading:"Chargement...",noConfigurations:"Aucune configuration ajoutée pour le moment",edit:"Modifier",delete:"Supprimer",close:"Fermer",unitBased:"basé sur l’unité",organizationLevel:"niveau organisation"}},kF={verifyIdentity:"Vérifier votre identité",enterCodeSent:"Saisir le code de vérification envoyé à votre e-mail",verifySubmission:"Vérifier la soumission",enterCodeToSubmit:"Saisir le code de vérification pour soumettre votre dossier",clearCode:"Effacer le code",resendCode:"Renvoyer le code",verifyingCode:"Veuillez patienter pendant que nous vérifions votre code",verificationSuccess:"Vérification réussie !",verificationFailed:"Échec de la vérification. Veuillez réessayer."},PF={moveDepartement:"déplacerDépartement",positions:"Postes",selectPositions:"Poste sélectionné",sealNameMsg:"Le nom du sceau est requis",sealSuccessMsg:"Sceau téléversé et enregistré avec succès",sealErrorMsg:"Échec du téléversement et de l’enregistrement du sceau",sealRemove:"Sceau supprimé avec succès",seal:"Sceaux de l’organisation",uploadSealMsg:"Téléverser et gérer les sceaux de l’organisation",sealImage:"Image du sceau",addSeal:"Ajouter un sceau",noSealMsg:"Aucun sceau téléversé pour le moment",addSealInstruction:"Cliquez sur Ajouter un sceau pour téléverser",sealName:"Nom du sceau",saveSeal:"Enregistrer le sceau",letterTemplate:"Modèles de courrier",createMsg:"Créer ou modifier les modèles enregistrés sous cette unité",addTemplate:"Ajouter un modèle",failedToLoadTemplates:"Échec du chargement des modèles",selectTemplate:"Sélectionner un modèle",updateTemplate:"Mettre à jour le modèle",updateFled:"Échec de la mise à jour",createFled:"Échec de la création",templateSuccessMsg:"créé avec succès",failedToLoadHeaderFooter:"Échec du chargement des en-têtes/pieds de page",failedToDelete:"Échec de la suppression",deleted:"Supprimé",provideMsg:"Veuillez fournir à la fois le nom et le fichier",uploadSuccess:"Téléversé avec succès",uploadFailed:"Échec du téléversement",addHeaderFooter:"Ajouter en-tête/pied de page",name:"Nom",internalSuffixCC:"Suffixe CC",internalPrefixCC:"Préfixe CC",internalPrefix:"Préfixe interne",externalPrefix:"Préfixe externe",internalMemoPrefix:"Préfixe de note interne",reference:"Le numéro de référence standard de l’organisation",externalReference:"Numéro de référence des courriers entrants",internalMemoReference:"Numéro de référence de la note interne",prefixCC:"Préfixe CC",suffixCC:"Suffixe CC",internalSuffix:"Suffixe interne",position:"Poste",selectPosition:"Sélectionner un poste",value:"Valeur",onlyPngAllowed:"Seuls les fichiers PNG sont autorisés.",enterValue:"Saisir une valeur",type:"Type",header:"En-tête",footer:"Pied de page",uploadFile:"Téléverser un fichier",preview:"Aperçu",status:"Statut",active:"Actif",inactive:"Inactif",activate:"Activer",deactivate:"Désactiver",currentlyActive:"Actuellement actif",statusChanged:"Statut modifié avec succès",statusChangeFailed:"Échec du changement de statut",delete:"Supprimer",refNoRequired:"Le numéro de référence est requis",nameRequired:"Les deux noms sont requis.",recordTypeRequired:"Le type de dossier est requis",deleteMsg:"Êtes-vous sûr de vouloir supprimer cet élément ?",filter:"Filtrer par type de dossier",showCC:"Afficher uniquement les éléments en CC",add:"Ajouter préfixe/suffixe/réf.",edit:"Modifier",prefix:"Préfixe",suffix:"Suffixe",recordType:"Type de dossier",CC:"Est-ce pour le CC ?",amharicName:"Nom en amharique",englishName:"Nom en anglais",PrefixSuffix:"Liste préfixe/suffixe/référence",positionPrefixes:"Numéro de référence du poste",positionRequired:"Le poste est requis",noRec:"Aucun dossier trouvé.",loading:"Chargement...",bulkMsg:"Téléverser un fichier Excel pour importer des utilisateurs en masse",submitUsers:"Soumettre les utilisateurs",selectFile:"Sélectionner un fichier",posMissing:"Feuille « Positions » ou « Users » manquante.",invalidFile:"Le fichier téléversé est vide ou invalide.",parseSuccess:"Fichier analysé avec succès.",parseError:"Échec de l’analyse du fichier.",noData:"Aucune donnée trouvée dans le fichier.",Units:"Unités",saving:"Enregistrement...",teamMember:"Membre de l’équipe",msg1:"Aucun membre d’équipe trouvé",msg2:"Sélectionner un poste pour voir les membres de l’équipe",msg3:"Ajouter des membres d’équipe à ce département",msg4:"Parcourir les départements pour voir les membres de l’équipe",userDetail:"Détail de l’utilisateur",editEmployee:"Modifier l’employé",noUnit:"Aucune unité trouvée",noOrg:"Aucune organisation trouvée",addUser:"Ajouter un utilisateur",addSubdepartement:"Ajouter un sous-département",editDepartment:"Modifier le département",moveDepartment:"Déplacer le département",archiveDepartment:"Archiver le département",deleteDepartment:"Supprimer le département",addUnit:"Ajouter une unité",editUnit:"Modifier l’unité",addDepartment:"Ajouter un département",deleteUnit:"Supprimer l’unité",actions:"Actions",createUnit:"Créer une unité",addFromSubCity:"Ajouter depuis la sous-ville",addNewUnit:"Ajouter une nouvelle unité",configuredUnitLimit:"Limite d’unités configurée : {{max}}",linkedUnits:"Utilisé",remainingSlots:"Restant",checkingCapacity:"Vérification de la capacité configurée…",noCapacityConfigured:"Aucune capacité d’unité n’est configurée pour cette organisation. Demandez au super administrateur de la configurer dans Gérer la configuration de l’organisation.",capacityReached:"Limite de capacité atteinte. Le maximum configuré est {{max}}.",capacityReachedShort:"Limite atteinte — impossible de créer plus d’unités.",selectSubCity:"Sélectionner une sous-ville",selectSubCityFirst:"Sélectionnez d’abord une sous-ville",selectUnit:"Sélectionner une unité",noSubCities:"Aucune sous-ville trouvée",subCityRequired:"Veuillez sélectionner une sous-ville",unitRequired:"Veuillez sélectionner une unité",parentUnitMissing:"L’unité parente est manquante",unitRelatedSuccess:"Unité liée avec succès",permissionType:"Types d’autorisation",newPermission:"Nouvelle autorisation",permissionManagement:"Gestion des autorisations",exportTypes:"Types d’exportation",exporting:"Exportation...",delMsg:"Êtes-vous absolument sûr ?",delMsg2:"Cette action ne peut pas être annulée. Elle supprimera définitivement l’autorisation.",permission:"Autorisation",copyPermissionsFrom:"Copier les autorisations depuis",selectPositionToCopy:"Sélectionner un type de poste depuis lequel copier les autorisations",selectApplication:"Sélectionner une application",selectApplicationToLoadPermissions:"Sélectionner une application pour charger ses autorisations",copyPermissionsHint:"Choisissez un type de poste existant pour préremplir ses autorisations, puis modifiez ci-dessous.",copyPermissionsFailed:"Échec de la copie des autorisations",perFailed:"Échec de la création de l’autorisation",perSuccess:"Type d’autorisation créé et autorisations assignées",updatePerSuccess:"Autorisation mise à jour avec succès",updatePerFailed:"Échec de la mise à jour de l’autorisation",permissionName:"Nom de l’autorisation",key:"Clé",createdAt:"Créé le",updatedAt:"Mis à jour le",createPermission:"Créer une autorisation",keyRequired:"La clé est requise",selectPosType:"Sélectionner un type de poste",adding:"Ajout...",msg:"ajouté avec succès",subDep:"Sous-département",parentDep:"Département parent",invalidMsg:"Veuillez corriger les champs mis en évidence.",success:"Succès",unit:"Unité",user:"Utilisateur",firstName:"Prénom",lastName:"Nom de famille",selectUser:" Sélectionner un utilisateur",userRequired:"L’utilisateur est requis",userRequiredMsg:"Veuillez sélectionner un utilisateur à assigner.",userError:"L’utilisateur sélectionné est invalide ou introuvable.",userSuccess:"Utilisateur assigné avec succès",updated:"a été mis à jour avec succès",department:"Département",departmentRequired:"Le département est requis",departmentSuccess:"Département sélectionné avec succès",permissionSuccess:"Type de poste créé et autorisations assignées",permissionFailed:"Échec de la création du poste",editRemark:"Modifier la remarque",addRemark:"Ajouter une remarque",commonRemarks:"Remarques courantes",onlySquareAllowed:"La hauteur et la largeur du sceau doivent être identiques (300x300)",searchPermissions:"Rechercher des autorisations...",noPermissionsFound:"Aucune autorisation correspondant à votre recherche n’a été trouvée",noPermissionsAvailable:"Aucune autorisation disponible",showingPermissions:"Affichage de {{count}} sur {{total}} autorisations",createTemplate:"Créer un modèle",editTemplate:"Modifier le modèle",viewTemplate:"Voir le modèle",deleteTemplate:"Supprimer le modèle",deleteTemplateConfirm:"Êtes-vous sûr de vouloir supprimer le modèle « {{name}} » ? Cette action ne peut pas être annulée.",noTemplates:"Aucun modèle trouvé",sincerelyText:"Texte de salutation",body:"Corps",headerAndFooter:"En-tête et pied de page",CanReceiveRecord:"Peut recevoir un dossier"},AF={title:"Étiquettes de dossier",tableName:"Étiquettes de dossier",name:"Nom",key:"Clé",CreatedAt:"Créé le",createNew:"Créer une nouvelle étiquette",createTitle:"Étiquette de dossier",Actions:"Actions"},TF={canRecordDateLabelHasLocalization:"L’étiquette de date du dossier est-elle localisée ?",canRecordDateHaveTime:"La date du dossier peut-elle inclure l’heure ?",canInternalMemoRequirePositionBasedReferenceNumber:"Un numéro de référence basé sur le poste est-il requis pour la note interne ?",title1:" Configuration de l’unité",title2:"Configurer la portée pour chaque unité",title4:"Configurer l’heure d’escalade pour chaque unité",loading:" Chargement des unités...",noUnit:"Aucune unité trouvée",Action:"Action",Value:"Valeur",Name:"Nom",title3:"Portée du poste à récupérer",title5:"Afficher le cachet et la signature pour l’assignation du dossier",title6:"Attendre tous les collaborateurs avant l’action ?",canCreateDirectRecord:"Peut créer un dossier direct",canPositionBasedRecordsBeCreated:"Des dossiers basés sur le poste peuvent-ils être créés ?",canPositionBasedReferenceBeUsedForAllTypes:"La référence basée sur le poste peut-elle être utilisée pour tous les types ?",shouldDirectRecordHaveHeaderAndFooter:"Le dossier direct possède un en-tête et un pied de page",shouldCollaboratorAlwaysSign:"Le collaborateur signe toujours (signature d’équipe)",shouldIncludeForYourReferenceInCC:"Inclure « Pour votre référence » en CC",canCollaborationBeCreatedForAll:"La collaboration peut-elle être créée pour tous les types de dossier ?",canRecordBeEditedByCollaborators:"Autoriser les collaborateurs à modifier le dossier",canRecordHaveCollaboratorsName:"Afficher les noms des collaborateurs sur le dossier",canRecordBeEditedOnWorkflow:"Autoriser la modification du dossier dans le flux de travail",canIncomingAssignmentsBeSeparated:"Dupliquer les courriers entrants en fonction de l’assignation ?",canROReturn:"Autoriser le retour RO",internalMemoHasReferenceNumber:"La note interne possède un numéro de référence",enabled:"activé",disabled:"désactivé",editTitle:"Modifier la portée du poste",editMsg:"Modifier la portée du poste pour cette unité",msg1:"ID de l’organisation introuvable. Veuillez vérifier votre authentification.",msg2:"Chargement des configurations de poste...",positionConfig:" Configuration du poste",positionConfigMsg:"Configurer les paramètres de notification et le comportement du flux de travail pour chaque poste",add:" Ajouter une configuration",create:"Créer une configuration de poste",position:"Poste",select:"Sélectionner un poste",select2:"Veuillez d’abord sélectionner une unité",plsSelect:"Veuillez d’abord sélectionner une unité pour voir les postes disponibles",positionScope:"Portée du poste",all:"Tous",immediateChild:"Enfant immédiat",parallel:"Parallèle avec l’enfant immédiat",notification:"Paramètres de notification",sms:" Notification SMS",smsMsg:"Envoyer un SMS lorsqu’un dossier est soumis à ce poste",email:"Notification par e-mail",emailMsg:"Envoyer un e-mail lorsqu’un dossier est soumis à ce poste",inbox:"Notification de boîte de réception",inboxMsg:"Afficher une notification dans la boîte de réception lorsqu’un dossier est soumis à ce poste",workflow:"Paramètres du flux de travail",viewWF:"Voir le flux de travail",workflowMsg:"Ignorer le flux de travail si non assigné",workflowMsg1:"Ignorer l’étape du flux de travail si personne n’est assigné à ce poste",creating:"Création...",createConfig:"Créer une configuration",error:"Erreur lors du chargement des configurations de poste :",retry:"Réessayer",SMS:"SMS",Inbox:"Boîte de réception",skipWF:"Ignorer le flux de travail",delete:"Supprimer la configuration",deleteMsg:"Êtes-vous sûr de vouloir supprimer cette configuration de poste ? Cette action ne peut pas être annulée.",edit:"Modifier la configuration du poste",updating:"Mise à jour...",UpdateConfig:"Mettre à jour la configuration",archivedUsers:" Utilisateurs archivés",escalationTitle:"Configuration de l’escalade",escalationDescription:"Configurer les heures d’escalade pour différents types de courrier",loadingConfig:"Chargement de la configuration...",loadError:"Erreur lors du chargement de la configuration",noConfigFound:"Aucune configuration trouvée",updateEscalationMsg:"Mettre à jour la valeur de l’heure d’escalade",saving:"Enregistrement...",saveChanges:"Enregistrer les modifications",escalationHour:"Heure d’escalade normale",urgentLetterEscalationHour:"Heure d’escalade pour courrier urgent",onReviewLetterEscalationHour:"Heure d’escalade pour courrier en révision",urgentOnReviewLetterEscalationHour:"Heure d’escalade pour courrier urgent en révision",attachmentSignature:{badge:"Sécurité des pièces jointes",title:"Signature pour les pièces jointes",description:"Choisir une unité et contrôler si les pièces jointes incluent une signature numérique par défaut",unit:"Unité",selectUnit:"Sélectionner une unité",loadingUnits:"Chargement des unités...",noUnitsFound:"Aucune unité trouvée",unitHint:"Ce paramètre s’applique à l’unité sélectionnée",toggleLabel:"Ajouter la signature à la pièce jointe",toggleDescription:"Inclure automatiquement une signature sur les pièces jointes téléversées",status:"Statut :",activeUnit:"Unité active :"}},NF={letterName:"Nom du fichier",Letter_Number:"Numéro de courrier",ACtions:"Actions",Actions:"Actions",Date:"Date",From:"De",Subject:"Objet",subject:"Objet",referenceNumber:"Numéro de référence",FileName:"Nom du fichier",To:"À",fileName:"Nom du fichier",sendingOrganization:"Organisation expéditrice",sendingDepartment:"Département expéditeur",dispatchedDate:"Date",submittedDate:"Date",Sending_Department:"Département expéditeur",dispatchedBy:"Converti par",Receiver:"Destinataire",CreatedAt:"Date",createdAt:"Date",Status:"Statut",status:"Statut",organizationName:"Nom de l’organisation","Task Status":"Statut",TaskStatus:"Statut",taskStatus:"Statut",delegateePosition:"Poste délégataire",delegateeEmployee:"Employé délégataire",delegatedPosition:"Poste délégué",delegatedEmployee:"Employé délégué",startDate:"Date de début",endDate:"Date de fin",isCurrent:"Statut",signStatus:"Statut de signature",title:"Titre",color:"Couleur",description:"Description",image:"Image",featured:"Actualités principales",category:"Catégorie d’actualité",link:"lien"},DF={title:"Documents épinglés",refreshButton:"Actualiser",userInformation:"Informations utilisateur",organizationName:"Nom de l’organisation",email:"E-mail",phoneNumber:"Numéro de téléphone",totalDocuments:"Total des documents",failedToLoadUserInfo:"Échec du chargement des informations utilisateur",document:{viewDocument:"Voir le document",requirements:"Exigences",optional:"(Facultatif)",required:"(Requis)",noRequirements:"Aucune exigence spécifique pour ce document",status:{approved:"approuvé",rejected:"rejeté",pending:"en attente"}},actions:{success:"Action « {action} » soumise avec succès !",error:"Échec de la soumission de l’action : {error}"}},OF={trigger:"Agir",title:"Agir sur le document",labels:{selectAction:"Sélectionner une action",remark:"Remarque (facultatif)",remarkPlaceholder:"Ajouter une remarque..."},actions:{approve:"Approuver",adjustment:"Ajustement",reject:"Rejeter",pending:"En attente",submitted:"Soumis",selectPlaceholder:"Sélectionner une action"},buttons:{cancel:"Annuler",submit:"Soumettre"},toast:{success:"Document {status}"}},_F={Dispatched:"Expédié",Pending:"En attente",Approved:"Approuvé",Rejected:"Rejeté",Completed:"Terminé","In Progress":"En cours",Draft:"Brouillon",Submitted:"Soumis","Under Review":"En révision",Returned:"Retourné",inActive:"Inactif"},MF={searchAllEmployees:"Rechercher tous les employés",searchByNameEmailPhonePosition:"Rechercher par nom, e-mail, téléphone ou poste...",searchingEmployees:"Recherche d’employés...",errorLoadingEmployees:"Erreur lors du chargement des employés",noEmployeesFound:"Aucun employé trouvé",tryDifferentKeywords:"Essayez d’autres mots-clés",startTypingToSearch:"Commencez à taper pour rechercher des employés",searchByNameEmailPhone:"Rechercher par nom, e-mail ou numéro de téléphone",showingResults:"Affichage de {{count}} résultats sur {{total}} pour « {{query}} »",searchUnits:"Rechercher des unités...",searchDepartments:"Rechercher des départements...",searchEmployees:"Rechercher des employés...",noResults:"Aucun résultat trouvé",allEmployees:"Tous les employés",resendingVerification:"Renvoi du code de vérification...",sendingInvitation:"Envoi de l’invitation...",verificationCodeResent:"Code de vérification renvoyé",invitationSent:"Invitation envoyée",verificationCodeSentTo:"Un nouveau code de vérification a été envoyé à {{name}}",invitationSentTo:"Invitation envoyée à {{name}}",failedToResend:"Échec du renvoi du code de vérification",failedToSendInvitation:"Échec de l’envoi de l’invitation",confirmRemoveEmployee:"Êtes-vous sûr de vouloir supprimer {{name}} ? Cette action ne peut pas être annulée.",removeFunctionalityNotImplemented:"La fonctionnalité de suppression sera mise en œuvre avec une intégration API appropriée"},jF={title:"Direction adjointe",subtitle:"Informations et mises à jour de notre équipe de direction adjointe",previous:"Message précédent",next:"Message suivant",defaultPosition:"Poste",goToMessage:"Aller au message {{index}}"},LF={title:"Message de la direction",subtitle:"Message du responsable du bureau",defaultPosition:"Poste",addMessage:"Ajouter un message"},FF="de",IF="Ajouter un objectif",UF="Objectifs organisationnels",$F="Vision organisationnelle",zF="Ajouter une vision",BF="Ajouter une actualité",qF="Ajouter une catégorie d’actualités",VF="Catégorie d’actualité",HF="Modules",WF="Ajouter des modules",GF="Réseaux sociaux",KF="Ajouter un réseau social",YF="Nous contacter",XF="Ajouter un contact",QF="Thème de l’organisation",JF={featuredNewsTitle:"Actualités à la une",featuredNewsSubtitle:"Restez informé des derniers développements, réalisations et innovations de notre organisation",searchPlaceholder:"Rechercher des articles d’actualité...",topStories:"Articles principaux",readFullStory:"Lire l’article complet",readMore:"Lire plus",loadMoreNews:"Charger plus d’actualités",showLess:"Afficher moins",previousGoal:"Objectif précédent",nextGoal:"Objectif suivant",noNewsFound:"Aucune actualité trouvée",tryAdjusting:"Essayez d’ajuster votre recherche ou vos critères de filtre",readLess:"Lire moins"},ZF={featuredNews:"Actualités à la une",description:"Restez informé des derniers développements, réalisations et innovations de notre organisation",topStories:"Articles principaux",allNews:"Toutes les actualités",noNewsFound:"Aucune actualité trouvée",noNewsFoundDesc:"Essayez d’ajuster votre recherche ou vos critères de filtre",searchPlaceholder:"Rechercher des articles d’actualité...",readFullStory:"Lire l’article complet",readMore:"Lire plus",loadMoreNews:"Charger plus d’actualités",showLess:"Afficher moins",title:"Titre"},eI={page:{smartOfficeTitle:"Journal d’audit Smart Office",smartOfficeSubtitle:"Surveiller les activités Smart Office"},actions:{refresh:"Actualiser",export:"Exporter",cardView:"Vue en cartes",tableView:"Vue tableau",cancel:"Annuler"},labels:{activityLogs:"Journaux d’activité",activitiesFound:"{{count}} activité(s) trouvée(s)",ip:"IP"},messages:{missingModuleKey:"Clé de module manquante pour les journaux d’audit",logsLoaded:"Journaux d’audit chargés",logsLoadFailed:"Échec du chargement des journaux d’audit",tryAgain:"Veuillez réessayer.",exportingLogs:"Exportation de {{count}} journaux au format {{format}}",loadingActivities:"Chargement des activités...",noActivitiesFound:"Aucune activité trouvée",adjustFilters:"Essayez d’ajuster vos filtres ou votre recherche pour trouver ce que vous cherchez."},filters:{dateRange:"Plage de dates",clearFilters:"Effacer les filtres",searchPlaceholder:"Rechercher des activités...",module:"Module",allModules:"Tous les modules",action:"Action",allActions:"Toutes les actions",status:"Statut",allStatuses:"Tous les statuts",fromDate:"Date de début",toDate:"À la date",last7Days:"7 derniers jours",last30Days:"30 derniers jours"},status:{success:"Succès",failure:"Échec",warning:"Avertissement",pending:"En attente"},stats:{totalActivities:"Total des activités",successRate:"Taux de réussite",dailyAverage:"Moyenne quotidienne",uniqueUsers:"Utilisateurs uniques",topActions:"Actions principales",times:"fois"},export:{title:"Exporter les journaux d’activité",description:"Choisir les options d’exportation pour vos journaux d’activité.",fileName:"Nom du fichier",fileNamePlaceholder:"Saisir le nom du fichier",format:"Format d’exportation",includeDetails:"Inclure les informations détaillées",includeDateRange:"Inclure la plage de dates dans l’exportation"},table:{time:"Heure",user:"Utilisateur",action:"Action",description:"Description",module:"Module",severity:"Gravité",status:"Statut"},pagination:{showing:"Affichage de {{shown}} sur {{total}} activités au total",pageOf:"Page {{page}} / {{totalPages}}"},modal:{title:"Détails d’audit Smart Office",description:"Élément d’audit retourné complet pour l’ID : {{id}}",entity:"Entité",method:"Méthode",createdAt:"Créé le",changes:"Modifications",noChanges:"Aucune modification disponible.",payload:"Charge utile",performedBy:"Effectué par",field:"Champ",changed:"Modifié",noEffectiveChange:"Aucune modification effective",changedPaths:"Chemins modifiés",noDifference:"De et À sont identiques pour ce champ.",previousFile:"Fichier précédent",currentFile:"Fichier actuel",from:"De",to:"À",updatedDetails:"Détails mis à jour",itemsCount:"{{count}} élément(s)",user:{name:"Nom",email:"E-mail",phone:"Téléphone",status:"Statut",userType:"Type d’utilisateur",registration:"Inscription",complete:"Terminer",incomplete:"Incomplet",roles:"Rôles",noRoles:"Aucun rôle",employeeInfo:"Informations de l’employé",rank:"Rang",noPermissions:"Aucune autorisation",noEmployeeDetails:"Aucun détail d’employé"}}},tI={configureStyles:"Configurer les styles",sample:"Exemple de modèle",generateSample:"Générer un exemple",content:"Contenu",pdfPreview:"Aperçu PDF",saveSettings:"Enregistrer les paramètres",download:"Télécharger",loadPayload:"Charger un exemple de charge utile",loadPayloadDescription:"Téléversez un fichier de charge utile JSON pour préremplir le formulaire avec des données d’exemple",noTemplates:"Aucun modèle disponible",loadingTemplates:"Chargement des modèles...",errorLoadingTemplates:"Erreur lors du chargement des modèles",errorLoadingTemplate:"Erreur lors du chargement du modèle",errorLoadingSettings:"Erreur lors du chargement des paramètres de style",commonProperties:"Propriétés communes",quickPresets:"Préréglages rapides",fontSize:"Taille de police",fontWeight:"Épaisseur de police",fontFamily:"Famille de police",textDecoration:"Décoration du texte",listStyle:"Style de liste",width:"Largeur",height:"Hauteur",margin:"Marge",padding:"Marge intérieure",advancedCSS:"Éditeur CSS avancé",customCSS:"CSS personnalisé",noPdfInResponse:"Aucun PDF dans la réponse",generatingSample:"Erreur lors de la génération de l’exemple",settingsSavedSuccessfully:"Paramètres enregistrés avec succès",errorSavingSettings:"Erreur lors de l’enregistrement des paramètres",noCustomSettingsToSave:"Aucun paramètre personnalisé à enregistrer",downloadingPDF:"Téléchargement du PDF...",downloadPDFSuccess:"PDF téléchargé avec succès",downloadPDFFailed:"Échec du téléchargement du PDF",noPdfAvailable:"Aucun PDF disponible",basicInfo:"Informations de base",recordType:"Type de dossier",external:"Externe",internal:"Interne",preferredLanguage:"Langue préférée",headerFooter:"En-tête et pied de page",headerStyleSettings:"Paramètres de style de l’en-tête",footerStyleSettings:"Paramètres de style du pied de page",subject:"Objet",subjectStyleSettings:"Paramètres de style de l’objet",date:"Date",body:"Corps",bodyStyleSettings:"Paramètres de style du corps",sincerelyText:"Texte de salutation",prefix:"Préfixe",prefixStyleSettings:"Style du préfixe",suffix:"Suffixe",suffixStyleSettings:"Style du suffixe",prefixCC:"Préfixe CC",ccPrefixStyleSettings:"Style du préfixe CC",suffixCC:"Suffixe CC",ccSuffixStyleSettings:"Style du suffixe CC",delegatorName:"Nom du délégant",collaborators:"Collaborateurs",recipientsAndCC:"Destinataires et CC",internalCC:"CC interne",externalCC:"CC externe",recipients:"Destinataires"},rI={title:"Employés en attente",noPendingApprovals:"Aucune approbation en attente 🎉",reviewAll:"Tout examiner",approve:"Approuver",reject:"Rejeter",name:"Nom",email:"E-mail",positions:"Postes",actions:"Actions",pending:"en attente",loadingPendingEmployees:"Chargement des employés en attente...",allRequestsReviewed:"Toutes les demandes des employés ont été examinées.",refresh:"Actualiser",showingUpTo:"Affichage de jusqu’à 50 employés en attente",employeeApproved:"Employé approuvé",employeeRejected:"Employé rejeté",failedToApprove:"Échec de l’approbation",failedToReject:"Échec du rejet",employeeApprovedSuccess:"Employé approuvé avec succès",employeeRejectedSuccess:"Employé rejeté avec succès"},nI={commentRequired:"Le commentaire est requis"},oI={nav:$L,initiationType:zL,dashboard:BL,verification:qL,status:VL,welcome:HL,change_password:WL,sign_out:GL,view_profile:KL,user:YL,common:XL,migration:QL,collaboration:JL,profile:ZL,complaint:eF,header:tF,"Document Attachments":"Pièces jointes du document","Login Method":"Méthode de connexion","Sign Up":"S’inscrire","Back to Home":"Retour à l’accueil",forgotpassword:rF,"Don't have an account?":"Vous n’avez pas de compte ? Vous n’êtes pas utilisateur du système ?",addRecord:nF,"Preview Record":"Aperçu du dossier",preview:oF,print:iF,incomingRecord:sF,externalPortal:aF,userRecord:lF,statusBar:cF,userIncoming:uF,ApprovalPage:dF,viewDetail:fF,PDF:pF,shareViaEmail:mF,convert:hF,delegation:gF,signatureUpload:yF,assignment:vF,auth:bF,msg:wF,landingPage:SF,organization:xF,userIncomingretun:CF,registration:RF,superAdmin:EF,otp:kF,contentManagement:PF,recordTag:AF,setting:TF,toogle:NF,viewDocument:DF,actionModal:OF,"Select organization/unit":"Sélectionner organisation/unité","Select the main file for the record":"Sélectionner le fichier principal du dossier",statusList:_F,search:MF,"Resend Invite":"Renvoyer l’invitation",deputy:jF,officeHead:LF,"Strategic Goal":"Objectif stratégique",of:FF,"Our Strategic Goals":"Notre stratégie","Go to goal":"aller à l’objectif {{index}} : {{title}}","Previous Goal":"Objectif précédent","Next Goal":"Objectif suivant",addGoal:IF,Goals:UF,Vision:$F,addVision:zF,addNews:BF,addNewsCategory:qF,newsCategory:VF,modules:HF,addModules:WF,socialMedia:GF,addSocialMedia:KF,contactUs:YF,addContactUs:XF,theme:QF,featuredNews:JF,newssection:ZF,auditLogShared:eI,template:tI,pendingUsers:rI,validation:nI};Wt.use(DC).use(KD).init({resources:{en:{translation:xj},am:{translation:UL},fr:{translation:oI}},fallbackLng:{fr:["en"],default:["am"]},detection:{order:["localStorage","cookie","navigator"],caches:["localStorage","cookie"],lookupLocalStorage:"i18nextLng",lookupCookie:"i18nextLng"},interpolation:{escapeValue:!1}});const iI=["/login","/sign-up","/forgot-password","/reset-password","/set-password","/verify-otp","/verification_page","/callback"];let Aw=!1;const sI=e=>e==="/"?!0:iI?.some(t=>e===t||e.startsWith(`${t}/`));function OC(){if(typeof window>"u"||Aw)return;Aw=!0,Object.keys(Xe.get()).forEach(n=>Xe.remove(n)),sh(),St.error(Wt.t("msg.authError"),{description:Wt.t("msg.authErrorDescription"),duration:4e3});const{pathname:e,search:t}=window.location;if(sI(e)){window.location.replace("/login");return}const r=`${e}${t}`;window.location.replace(`/login?from=${encodeURIComponent(r)}`)}const Et=pt.create({baseURL:"http://localhost:3001/api"});Et.interceptors.request.use(e=>{const t=Xe.get("auth-token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.headers["X-Requested-With"]="XMLHttpRequest",e});let fm=!1,ch=[];const Tw=(e,t=null)=>{ch.forEach(r=>{e?r.reject(e):r.resolve(t)}),ch=[]},aI=["/auth/login","/auth/refresh","/auth/refresh-token","auth/me"];Et.interceptors.response.use(e=>e,async e=>{var i;const t=e.config;if(aI?.some(a=>{var l;return(l=t.url)==null?void 0:l.includes(a)}))return Promise.reject(e);const n=RC();if(((i=e.response)==null?void 0:i.status)===401&&!t._retry){if(fm)return new Promise(function(a,l){ch.push({resolve:a,reject:l})}).then(a=>(t.headers.Authorization="Bearer "+a,Et(t))).catch(a=>Promise.reject(a));t._retry=!0,fm=!0;try{const a=Xe.get("refresh-token");if(!a)throw new Error("missing-refresh-token");const l=await CC(a),c=l.data.token,d=l.data.refreshToken;return Tw(null,l.data.token),td({token:c,refreshToken:d,rememberMe:n}),t.headers.Authorization=`Bearer ${c}`,Et(t)}catch(a){return Tw(a,null),OC(),Promise.reject(a)}finally{fm=!1}}return Promise.reject(e)});const ss=()=>{const e=Xe.get("tenant-key"),t=Xe.get("unit-id"),r=Xe.get("current-position-id"),n=Xe.get("current-project-id"),i=Xe.get("delegatedPositionId"),a={};return e&&(a["tenant-key"]=e),t&&(a["unit-id"]=t),n&&(a["x-current-project-id"]=n),i&&(a["x-delegated-position-id"]=i),r&&(a["x-current-position-id"]=r),a},lI=async e=>{if(!e.email&&!e.phoneNumber&&!e.userName)throw new Error("At least one login identifier (email, phoneNumber, or userName) is required");return Et.post("/auth/login",e)},uh=async()=>Et.get("/auth/me",{headers:ss()}),cI=async e=>Et.patch("/auth/set-password",e),uI=async e=>Et.patch("/auth/set-fayda-password",e),o7=async e=>Et.patch("/auth/change-password",e),i7=async e=>{const t={...e,type:"set-password"};return Et.patch("/auth/generate-verification-code",t)},dI=async e=>Et.patch("/auth/verify-phone-number",e),fI=async e=>{const t={...e,type:"verify-phone-number"};return Et.patch("/auth/generate-verification-code",t)},_C=async e=>Et.post("/auth/refresh-token",e),s7=async e=>{try{const t={email:e};return(await Et.post("/auth/forgot-password",t)).data}catch(t){throw t}},pI=async()=>Et.patch("/auth/logout"),mI=async e=>Et.post("/auth/mfa-verify",e,{headers:ss()}),MC=g.createContext({user:null,loading:!0,setUser:()=>{},selectedPositionId:null,setSelectedPositionId:()=>{},showOtpModal:!1,setShowOtpModal:()=>{},rememberMePreference:!1,setRememberMePreference:()=>{}}),hI=({children:e})=>{const[t,r]=g.useState(null),[n,i]=g.useState(!0),[a,l]=g.useState(null),[c,d]=g.useState(!1),[f,h]=g.useState(!1);return g.useEffect(()=>{const m=Xe.get("auth-token"),w=Xe.get("auth-user"),v=Xe.get("selected-position-id");if(v&&l(v),!m){i(!1);return}let C=!1;if(w)try{r(JSON.parse(w)),C=!0}catch{}let x=!1;return(async()=>{try{const{data:R}=await uh();!x&&R&&r(R)}catch{!x&&!C&&r(null)}finally{x||i(!1)}})(),()=>{x=!0}},[]),g.useEffect(()=>{a&&Xe.set("selected-position-id",a)},[a]),b.jsx(MC.Provider,{value:{user:t,loading:n,setUser:r,selectedPositionId:a,setSelectedPositionId:l,showOtpModal:c,setShowOtpModal:d,rememberMePreference:f,setRememberMePreference:h},children:e})},ba=()=>g.useContext(MC);let jC={};function gI(e){jC=e??{}}function Dd(){return jC}const yI={dashboard:fD,chart:zN,organizations:Km,building:Km,admins:Ym,users:Ym,user:Vb,position:Vb,content:El,file:El,settings:qb,setting:qb,upload:ND,excel:tD,archive:MN,units:IN,activity:Qx,web:oD},Nw=El;function vI(e){return e?yI[e.toLowerCase()]??Nw:Nw}const bI="h-4 w-4",wI=[{label:"dashboard",href:"/user-management/dashboard",icon:"dashboard",roles:["super_admin"],isPrimary:!0},{label:"organizations",href:"/user-management/organizations",icon:"organizations",roles:["super_admin"],isPrimary:!0},{label:"organizationAdmins",href:"/user-management/organization_admins",icon:"admins",roles:["super_admin"],isPrimary:!0},{label:"externalUsers",href:"/user-management/external_users",icon:"admins",roles:["super_admin"],isPrimary:!0},{label:"dashboard",href:"/user-management/user_management-dashboard",icon:"dashboard",roles:["admin","unit_admin"],isPrimary:!0},{label:"userManagement",href:"/user-management/user_management",icon:"users",roles:["admin","unit_admin"],isPrimary:!0},{label:"contentManagement",href:"/user-management/content-management",icon:"content",roles:["admin","unit_admin"],isPrimary:!0},{label:"Position",displayLabel:"positionTypes",href:"/user-management/position-management",icon:"position",roles:["admin","unit_admin","super_admin"],isPrimary:!0},{label:"Migrated Records",displayLabel:"migratedRecords",href:"/user-management/migrated-records-management",icon:"file",roles:["super_admin"],isPrimary:!0},{label:"settings",displayLabel:"settings",href:"/user-management/organization-settings",icon:"settings",roles:["admin","unit_admin"],isPrimary:!0},{label:"Bulk",displayLabel:"bulkUpload",href:"/user-management/bulk-upload",icon:"excel",roles:["admin","unit_admin"],isPrimary:!0},{label:"Archive Users",displayLabel:"Archive Users",href:"/user-management/archive-users",icon:"archive",roles:["super_admin"],isPrimary:!0},{label:"Archived Organizations",displayLabel:"Archived Organizations",href:"/user-management/archived-organizations",icon:"archive",roles:["super_admin"],isPrimary:!0},{label:"Archive Users",displayLabel:"Archive Users",href:"/user-management/archives",icon:"archive",roles:["admin","unit_admin"],isPrimary:!0},{label:"Archived Units & Positions",displayLabel:"Archived Units & Positions",href:"/user-management/archived",icon:"units",roles:["admin","unit_admin"],isPrimary:!0},{label:"activityLog",href:"/user-management/activity_log",icon:"activity",roles:["super_admin"],isPrimary:!1},{label:"setting",href:"/user-management/settings",icon:"settings",roles:["super_admin"],isPrimary:!1},{label:"Letter Template",href:"/user-management/templates",icon:"file",roles:["super_admin"],isPrimary:!1}];function SI(){var r,n;const e=Dd();return((n=(r=e.layout)==null?void 0:r.navItems)!=null&&n.length?e.layout.navItems:wI).filter(i=>i.enabled!==!1)?.map(i=>{const a=vI(i.icon);return{key:i.key??`${i.href}-${i.label}`,label:i.label,displayLabel:i.displayLabel,href:i.href,icon:b.jsx(a,{className:bI}),roles:i.roles,isPrimary:i.isPrimary}})}function LC(){const{user:e}=ba(),t=(e==null?void 0:e.roles?.map(n=>n.key))||[],r=SI().filter(n=>n.roles?.some(i=>t.includes(i)));return{all:r,primary:r.filter(n=>n.isPrimary!==!1),secondary:r.filter(n=>n.isPrimary===!1)}}const xI=(e,t)=>["group flex items-center gap-1.5 font-medium whitespace-nowrap transition-colors border-b-2",t==="sm"?"px-4 py-3 text-sm":"px-3 py-2.5 mr-2 text-xs",e?"text-[var(--um-menu-active,var(--primary))] border-[var(--um-menu-active-border,var(--primary))]":"text-[var(--um-menu-color,#334155)] dark:text-gray-300 border-transparent hover:text-[var(--um-menu-hover,var(--primary))]"].join(" "),CI=()=>{const{all:e,primary:t,secondary:r}=LC(),{t:n}=So(),i=(a,l)=>b.jsxs(gg,{to:a.href,className:({isActive:c})=>xI(c,l),children:[a.icon,b.jsx("span",{className:l==="sm"?"max-w-full truncate":"max-w-[80px] truncate",children:n(`organization.${a.label}`)})]},a.key);return b.jsxs("div",{className:"fixed top-[var(--um-header-height,4rem)] left-0 right-0 z-30 border-b dark:border-gray-800 overflow-hidden flex flex-col bg-[var(--um-menu-bg,#ffffff)] dark:bg-gray-900",children:[b.jsxs("div",{className:"md:hidden flex flex-col pt-5 pb-3 px-4 space-y-3 mt-2",children:[b.jsx("div",{className:"flex items-center overflow-x-auto scrollbar-none",children:t?.map(a=>i(a,"xs"))}),r.length>0&&b.jsx("div",{className:"flex items-center overflow-x-auto scrollbar-none border-t dark:border-gray-800 pt-3",children:r?.map(a=>i(a,"xs"))})]}),b.jsx("div",{className:"hidden md:flex pt-5 pb-3 px-8 mt-1",children:b.jsx("div",{className:"flex items-center gap-2 overflow-x-auto scrollbar-none",children:e?.map(a=>i(a,"sm"))})})]})};function FC(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=FC(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function er(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=FC(e))&&(n&&(n+=" "),n+=t);return n}const Dw=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ow=er,RI=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return Ow(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:i,defaultVariants:a}=t,l=Object.keys(i)?.map(f=>{const h=r==null?void 0:r[f],m=a==null?void 0:a[f];if(h===null)return null;const w=Dw(h)||Dw(m);return i[f][w]}),c=r&&Object.entries(r).reduce((f,h)=>{let[m,w]=h;return w===void 0||(f[m]=w),f},{}),d=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((f,h)=>{let{class:m,className:w,...v}=h;return Object.entries(v).every(C=>{let[x,R]=C;return Array.isArray(R)?R.includes({...a,...c}[x]):{...a,...c}[x]===R})?[...f,m,w]:f},[]);return Ow(e,l,d,r==null?void 0:r.class,r==null?void 0:r.className)},pm=768;function EI(){const[e,t]=g.useState(void 0);return g.useEffect(()=>{const r=window.matchMedia(`(max-width: ${pm-1}px)`),n=()=>{t(window.innerWidth<pm)};return r.addEventListener("change",n),t(window.innerWidth<pm),()=>r.removeEventListener("change",n)},[]),!!e}const kI=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n<e.length;n++)r[n]=e[n];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},PI=(e,t)=>({classGroupId:e,validator:t}),IC=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),id="-",_w=[],AI="arbitrary..",TI=e=>{const t=DI(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return NI(l);const c=l.split(id),d=c[0]===""&&c.length>1?1:0;return UC(c,d,t)},getConflictingClassGroupIds:(l,c)=>{if(c){const d=n[l],f=r[l];return d?f?kI(f,d):d:f||_w}return r[l]||_w}}},UC=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const i=e[t],a=r.nextPart.get(i);if(a){const f=UC(e,t+1,a);if(f)return f}const l=r.validators;if(l===null)return;const c=t===0?e.join(id):e.slice(t).join(id),d=l.length;for(let f=0;f<d;f++){const h=l[f];if(h.validator(c))return h.classGroupId}},NI=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?AI+n:void 0})(),DI=e=>{const{theme:t,classGroups:r}=e;return OI(r,t)},OI=(e,t)=>{const r=IC();for(const n in e){const i=e[n];Ag(i,r,n,t)}return r},Ag=(e,t,r,n)=>{const i=e.length;for(let a=0;a<i;a++){const l=e[a];_I(l,t,r,n)}},_I=(e,t,r,n)=>{if(typeof e=="string"){MI(e,t,r);return}if(typeof e=="function"){jI(e,t,r,n);return}LI(e,t,r,n)},MI=(e,t,r)=>{const n=e===""?t:$C(t,e);n.classGroupId=r},jI=(e,t,r,n)=>{if(FI(e)){Ag(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(PI(r,e))},LI=(e,t,r,n)=>{const i=Object.entries(e),a=i.length;for(let l=0;l<a;l++){const[c,d]=i[l];Ag(d,$C(t,c),r,n)}},$C=(e,t)=>{let r=e;const n=t.split(id),i=n.length;for(let a=0;a<i;a++){const l=n[a];let c=r.nextPart.get(l);c||(c=IC(),r.nextPart.set(l,c)),r=c}return r},FI=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,II=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const i=(a,l)=>{r[a]=l,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(a){let l=r[a];if(l!==void 0)return l;if((l=n[a])!==void 0)return i(a,l),l},set(a,l){a in r?r[a]=l:i(a,l)}}},dh="!",Mw=":",UI=[],jw=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),$I=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=i=>{const a=[];let l=0,c=0,d=0,f;const h=i.length;for(let x=0;x<h;x++){const R=i[x];if(l===0&&c===0){if(R===Mw){a.push(i.slice(d,x)),d=x+1;continue}if(R==="/"){f=x;continue}}R==="["?l++:R==="]"?l--:R==="("?c++:R===")"&&c--}const m=a.length===0?i:i.slice(d);let w=m,v=!1;m.endsWith(dh)?(w=m.slice(0,-1),v=!0):m.startsWith(dh)&&(w=m.slice(1),v=!0);const C=f&&f>d?f-d:void 0;return jw(a,v,w,C)};if(t){const i=t+Mw,a=n;n=l=>l.startsWith(i)?a(l.slice(i.length)):jw(UI,!1,l,void 0,!0)}if(r){const i=n;n=a=>r({className:a,parseClassName:i})}return n},zI=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let i=[];for(let a=0;a<r.length;a++){const l=r[a],c=l[0]==="[",d=t.has(l);c||d?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(l)):i.push(l)}return i.length>0&&(i.sort(),n.push(...i)),n}},BI=e=>({cache:II(e.cacheSize),parseClassName:$I(e),sortModifiers:zI(e),postfixLookupClassGroupIds:qI(e),...TI(e)}),qI=e=>{const t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let n=0;n<r.length;n++)t[r[n]]=!0;return t},VI=/\s+/,HI=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:l}=t,c=[],d=e.trim().split(VI);let f="";for(let h=d.length-1;h>=0;h-=1){const m=d[h],{isExternal:w,modifiers:v,hasImportantModifier:C,baseClassName:x,maybePostfixModifierPosition:R}=r(m);if(w){f=m+(f.length>0?" "+f:f);continue}let E=!!R,P;if(E){const M=x.substring(0,R);P=n(M);const O=P&&l[P]?n(x):void 0;O&&O!==P&&(P=O,E=!1)}else P=n(x);if(!P){if(!E){f=m+(f.length>0?" "+f:f);continue}if(P=n(x),!P){f=m+(f.length>0?" "+f:f);continue}E=!1}const k=v.length===0?"":v.length===1?v[0]:a(v).join(":"),T=C?k+dh:k,N=T+P;if(c.indexOf(N)>-1)continue;c.push(N);const j=i(P,E);for(let M=0;M<j.length;++M){const O=j[M];c.push(T+O)}f=m+(f.length>0?" "+f:f)}return f},WI=(...e)=>{let t=0,r,n,i="";for(;t<e.length;)(r=e[t++])&&(n=zC(r))&&(i&&(i+=" "),i+=n);return i},zC=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=zC(e[n]))&&(r&&(r+=" "),r+=t);return r},GI=(e,...t)=>{let r,n,i,a;const l=d=>{const f=t.reduce((h,m)=>m(h),e());return r=BI(f),n=r.cache.get,i=r.cache.set,a=c,c(d)},c=d=>{const f=n(d);if(f)return f;const h=HI(d,r);return i(d,h),h};return a=l,(...d)=>a(WI(...d))},KI=[],_t=e=>{const t=r=>r[e]||KI;return t.isThemeGetter=!0,t},BC=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,qC=/^\((?:(\w[\w-]*):)?(.+)\)$/i,YI=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,XI=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,QI=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,JI=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,ZI=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eU=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Jo=e=>YI.test(e),Fe=e=>!!e&&!Number.isNaN(Number(e)),_n=e=>!!e&&Number.isInteger(Number(e)),mm=e=>e.endsWith("%")&&Fe(e.slice(0,-1)),io=e=>XI.test(e),VC=()=>!0,tU=e=>QI.test(e)&&!JI.test(e),Tg=()=>!1,rU=e=>ZI.test(e),nU=e=>eU.test(e),oU=e=>!we(e)&&!xe(e),iU=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),sU=e=>hi(e,GC,Tg),we=e=>BC.test(e),Oi=e=>hi(e,KC,tU),Lw=e=>hi(e,mU,Fe),aU=e=>hi(e,XC,VC),lU=e=>hi(e,YC,Tg),Fw=e=>hi(e,HC,Tg),cU=e=>hi(e,WC,nU),yu=e=>hi(e,QC,rU),xe=e=>qC.test(e),pl=e=>as(e,KC),uU=e=>as(e,YC),Iw=e=>as(e,HC),dU=e=>as(e,GC),fU=e=>as(e,WC),vu=e=>as(e,QC,!0),pU=e=>as(e,XC,!0),hi=(e,t,r)=>{const n=BC.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},as=(e,t,r=!1)=>{const n=qC.exec(e);return n?n[1]?t(n[1]):r:!1},HC=e=>e==="position"||e==="percentage",WC=e=>e==="image"||e==="url",GC=e=>e==="length"||e==="size"||e==="bg-size",KC=e=>e==="length",mU=e=>e==="number",YC=e=>e==="family-name",XC=e=>e==="number"||e==="weight",QC=e=>e==="shadow",hU=()=>{const e=_t("color"),t=_t("font"),r=_t("text"),n=_t("font-weight"),i=_t("tracking"),a=_t("leading"),l=_t("breakpoint"),c=_t("container"),d=_t("spacing"),f=_t("radius"),h=_t("shadow"),m=_t("inset-shadow"),w=_t("text-shadow"),v=_t("drop-shadow"),C=_t("blur"),x=_t("perspective"),R=_t("aspect"),E=_t("ease"),P=_t("animate"),k=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...T(),xe,we],j=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],O=()=>[xe,we,d],B=()=>[Jo,"full","auto",...O()],H=()=>[_n,"none","subgrid",xe,we],Y=()=>["auto",{span:["full",_n,xe,we]},_n,xe,we],ne=()=>[_n,"auto",xe,we],te=()=>["auto","min","max","fr",xe,we],K=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...O()],z=()=>[Jo,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...O()],_=()=>[Jo,"screen","full","dvw","lvw","svw","min","max","fit",...O()],I=()=>[Jo,"screen","full","lh","dvh","lvh","svh","min","max","fit",...O()],L=()=>[e,xe,we],D=()=>[...T(),Iw,Fw,{position:[xe,we]}],V=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ee=()=>["auto","cover","contain",dU,sU,{size:[xe,we]}],re=()=>[mm,pl,Oi],oe=()=>["","none","full",f,xe,we],ie=()=>["",Fe,pl,Oi],me=()=>["solid","dashed","dotted","double"],ue=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],pe=()=>[Fe,mm,Iw,Fw],ve=()=>["","none",C,xe,we],ge=()=>["none",Fe,xe,we],Me=()=>["none",Fe,xe,we],ze=()=>[Fe,xe,we],We=()=>[Jo,"full",...O()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[io],breakpoint:[io],color:[VC],container:[io],"drop-shadow":[io],ease:["in","out","in-out"],font:[oU],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[io],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[io],shadow:[io],spacing:["px",Fe],text:[io],"text-shadow":[io],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Jo,we,xe,R]}],container:["container"],"container-type":[{"@container":["","normal","size",xe,we]}],"container-named":[iU],columns:[{columns:[Fe,we,xe,c]}],"break-after":[{"break-after":k()}],"break-before":[{"break-before":k()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:B()}],"inset-x":[{"inset-x":B()}],"inset-y":[{"inset-y":B()}],start:[{"inset-s":B(),start:B()}],end:[{"inset-e":B(),end:B()}],"inset-bs":[{"inset-bs":B()}],"inset-be":[{"inset-be":B()}],top:[{top:B()}],right:[{right:B()}],bottom:[{bottom:B()}],left:[{left:B()}],visibility:["visible","invisible","collapse"],z:[{z:[_n,"auto",xe,we]}],basis:[{basis:[Jo,"full","auto",c,...O()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Fe,Jo,"auto","initial","none",we]}],grow:[{grow:["",Fe,xe,we]}],shrink:[{shrink:["",Fe,xe,we]}],order:[{order:[_n,"first","last","none",xe,we]}],"grid-cols":[{"grid-cols":H()}],"col-start-end":[{col:Y()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":H()}],"row-start-end":[{row:Y()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":te()}],"auto-rows":[{"auto-rows":te()}],gap:[{gap:O()}],"gap-x":[{"gap-x":O()}],"gap-y":[{"gap-y":O()}],"justify-content":[{justify:[...K(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...K()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":K()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:O()}],px:[{px:O()}],py:[{py:O()}],ps:[{ps:O()}],pe:[{pe:O()}],pbs:[{pbs:O()}],pbe:[{pbe:O()}],pt:[{pt:O()}],pr:[{pr:O()}],pb:[{pb:O()}],pl:[{pl:O()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mbs:[{mbs:U()}],mbe:[{mbe:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":O()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":O()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",..._()]}],"min-inline-size":[{"min-inline":["auto",..._()]}],"max-inline-size":[{"max-inline":["none",..._()]}],"block-size":[{block:["auto",...I()]}],"min-block-size":[{"min-block":["auto",...I()]}],"max-block-size":[{"max-block":["none",...I()]}],w:[{w:[c,"screen",...z()]}],"min-w":[{"min-w":[c,"screen","none",...z()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[l]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",r,pl,Oi]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,pU,aU]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mm,we]}],"font-family":[{font:[uU,lU,t]}],"font-features":[{"font-features":[we]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,xe,we]}],"line-clamp":[{"line-clamp":[Fe,"none",xe,Lw]}],leading:[{leading:[a,...O()]}],"list-image":[{"list-image":["none",xe,we]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xe,we]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...me(),"wavy"]}],"text-decoration-thickness":[{decoration:[Fe,"from-font","auto",xe,Oi]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[Fe,"auto",xe,we]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"tab-size":[{tab:[_n,xe,we]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe,we]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",xe,we]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:V()}],"bg-size":[{bg:ee()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_n,xe,we],radial:["",xe,we],conic:[_n,xe,we]},fU,cU]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:re()}],"gradient-via-pos":[{via:re()}],"gradient-to-pos":[{to:re()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:ie()}],"border-w-x":[{"border-x":ie()}],"border-w-y":[{"border-y":ie()}],"border-w-s":[{"border-s":ie()}],"border-w-e":[{"border-e":ie()}],"border-w-bs":[{"border-bs":ie()}],"border-w-be":[{"border-be":ie()}],"border-w-t":[{"border-t":ie()}],"border-w-r":[{"border-r":ie()}],"border-w-b":[{"border-b":ie()}],"border-w-l":[{"border-l":ie()}],"divide-x":[{"divide-x":ie()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ie()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...me(),"hidden","none"]}],"divide-style":[{divide:[...me(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-bs":[{"border-bs":L()}],"border-color-be":[{"border-be":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...me(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Fe,xe,we]}],"outline-w":[{outline:["",Fe,pl,Oi]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",h,vu,yu]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",m,vu,yu]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:ie()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[Fe,Oi]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":ie()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",w,vu,yu]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[Fe,xe,we]}],"mix-blend":[{"mix-blend":[...ue(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ue()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Fe]}],"mask-image-linear-from-pos":[{"mask-linear-from":pe()}],"mask-image-linear-to-pos":[{"mask-linear-to":pe()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":pe()}],"mask-image-t-to-pos":[{"mask-t-to":pe()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":pe()}],"mask-image-r-to-pos":[{"mask-r-to":pe()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":pe()}],"mask-image-b-to-pos":[{"mask-b-to":pe()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":pe()}],"mask-image-l-to-pos":[{"mask-l-to":pe()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":pe()}],"mask-image-x-to-pos":[{"mask-x-to":pe()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":pe()}],"mask-image-y-to-pos":[{"mask-y-to":pe()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[xe,we]}],"mask-image-radial-from-pos":[{"mask-radial-from":pe()}],"mask-image-radial-to-pos":[{"mask-radial-to":pe()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[Fe]}],"mask-image-conic-from-pos":[{"mask-conic-from":pe()}],"mask-image-conic-to-pos":[{"mask-conic-to":pe()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:V()}],"mask-size":[{mask:ee()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xe,we]}],filter:[{filter:["","none",xe,we]}],blur:[{blur:ve()}],brightness:[{brightness:[Fe,xe,we]}],contrast:[{contrast:[Fe,xe,we]}],"drop-shadow":[{"drop-shadow":["","none",v,vu,yu]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",Fe,xe,we]}],"hue-rotate":[{"hue-rotate":[Fe,xe,we]}],invert:[{invert:["",Fe,xe,we]}],saturate:[{saturate:[Fe,xe,we]}],sepia:[{sepia:["",Fe,xe,we]}],"backdrop-filter":[{"backdrop-filter":["","none",xe,we]}],"backdrop-blur":[{"backdrop-blur":ve()}],"backdrop-brightness":[{"backdrop-brightness":[Fe,xe,we]}],"backdrop-contrast":[{"backdrop-contrast":[Fe,xe,we]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Fe,xe,we]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Fe,xe,we]}],"backdrop-invert":[{"backdrop-invert":["",Fe,xe,we]}],"backdrop-opacity":[{"backdrop-opacity":[Fe,xe,we]}],"backdrop-saturate":[{"backdrop-saturate":[Fe,xe,we]}],"backdrop-sepia":[{"backdrop-sepia":["",Fe,xe,we]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":O()}],"border-spacing-x":[{"border-spacing-x":O()}],"border-spacing-y":[{"border-spacing-y":O()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xe,we]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Fe,"initial",xe,we]}],ease:[{ease:["linear","initial",E,xe,we]}],delay:[{delay:[Fe,xe,we]}],animate:[{animate:["none",P,xe,we]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[x,xe,we]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:ge()}],"rotate-x":[{"rotate-x":ge()}],"rotate-y":[{"rotate-y":ge()}],"rotate-z":[{"rotate-z":ge()}],scale:[{scale:Me()}],"scale-x":[{"scale-x":Me()}],"scale-y":[{"scale-y":Me()}],"scale-z":[{"scale-z":Me()}],"scale-3d":["scale-3d"],skew:[{skew:ze()}],"skew-x":[{"skew-x":ze()}],"skew-y":[{"skew-y":ze()}],transform:[{transform:[xe,we,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:We()}],"translate-x":[{"translate-x":We()}],"translate-y":[{"translate-y":We()}],"translate-z":[{"translate-z":We()}],"translate-none":["translate-none"],zoom:[{zoom:[_n,xe,we]}],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",xe,we]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":L()}],"scrollbar-track-color":[{"scrollbar-track":L()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mbs":[{"scroll-mbs":O()}],"scroll-mbe":[{"scroll-mbe":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pbs":[{"scroll-pbs":O()}],"scroll-pbe":[{"scroll-pbe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",xe,we]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[Fe,pl,Oi,Lw]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},gU=GI(hU);function kt(...e){return gU(er(e))}function yU(e){return e?e.split(" ")?.map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" "):""}const Uw=RI("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-[color,box-shadow] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-muted-foreground underline-offset-13 hover:underline hover:text-primary",linkActive:"text-primary-700 underline-offset-13 underline -mt-2",addRecordBtn:"bg-primary text-white size-35 shadow-xs hover:bg-primary-700 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",viewDetail:"bg-transparent border border-primary text-primary text-base font-normal me-2 !px-2.5 py-0.5 rounded-full scale-90 origin-center hover:bg-primary/10 transition-colors dark:bg-primary/20 dark:border-primary dark:text-primary-foreground leading-tight whitespace-nowrap",incomingmenu:"bg-transparent border border-primary text-primary text-md font-normal me-2 !px-4 py-0.5 rounded-md w-[170px] scale-90 origin-center hover:bg-primary/10 transition-colors dark:bg-primary/20 dark:border-primary dark:text-primary-foreground leading-tight whitespace-nowrap",incomingmenu1:"bg-transparent border border-gray-500 text-gray-500 text-md font-normal me-2 !px-4 py-0.5 rounded-md w-[170px] scale-90 origin-center hover:bg-gray-500/10 transition-colors dark:border-gray-300 dark:text-gray-300 leading-tight whitespace-nowrap",actionGreen:"bg-emerald-50/90 dark:bg-emerald-950/20 border border-emerald-200 dark:border-emerald-900/40 text-emerald-700 dark:text-emerald-300 hover:bg-emerald-100 dark:hover:bg-emerald-950/40 hover:text-emerald-800 dark:hover:text-emerald-200 hover:border-emerald-300 dark:hover:border-emerald-800/60 focus-visible:ring-emerald-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300",actionLightGreen:"bg-green-50/50 dark:bg-green-950/10 border border-green-100 dark:border-green-900/20 text-green-600 dark:text-green-400 hover:bg-green-100/50 dark:hover:bg-green-950/30 hover:text-green-700 dark:hover:text-green-300 hover:border-green-200 dark:hover:border-green-800/40 focus-visible:ring-green-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300",actionRed:"bg-rose-50/90 dark:bg-rose-950/20 border border-rose-200 dark:border-rose-900/40 text-rose-700 dark:text-rose-300 hover:bg-rose-100 dark:hover:bg-rose-950/40 hover:text-rose-800 dark:hover:text-rose-200 hover:border-rose-300 dark:hover:border-rose-800/60 focus-visible:ring-rose-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300",actionYellow:"bg-amber-50/90 dark:bg-amber-950/20 border border-amber-200 dark:border-amber-900/40 text-amber-700 dark:text-amber-300 hover:bg-amber-100 dark:hover:bg-amber-950/40 hover:text-amber-800 dark:hover:text-amber-200 hover:border-amber-300 dark:hover:border-amber-800/60 focus-visible:ring-amber-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300",actionBlue:"bg-blue-50/90 dark:bg-blue-950/20 border border-blue-200 dark:border-blue-900/40 text-blue-700 dark:text-blue-300 hover:bg-blue-100 dark:hover:bg-blue-950/40 hover:text-blue-800 dark:hover:text-blue-200 hover:border-blue-300 dark:hover:border-blue-800/60 focus-visible:ring-blue-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300",actionPurple:"bg-purple-50/90 dark:bg-purple-950/20 border border-purple-200 dark:border-purple-900/40 text-purple-700 dark:text-purple-300 hover:bg-purple-100 dark:hover:bg-purple-950/40 hover:text-purple-800 dark:hover:text-purple-200 hover:border-purple-300 dark:hover:border-purple-800/60 focus-visible:ring-purple-500 rounded-full h-9 px-4 flex items-center gap-2 font-medium shadow-xs hover:shadow-md transition-all duration-300"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),Fr=g.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,type:i,children:a,...l},c)=>n&&g.isValidElement(a)?g.cloneElement(a,{className:kt(Uw({variant:t,size:r}),a.props.className,e,"cursor-pointer"),...l}):b.jsx("button",{"data-slot":"button",ref:c,type:i??"button",className:kt(Uw({variant:t,size:r,className:e}),"cursor-pointer"),...l,children:a}));Fr.displayName="Button";var Un=function(){return Un=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},Un.apply(this,arguments)};function JC(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function vU(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var $u="right-scroll-bar-position",zu="width-before-scroll-bar",bU="with-scroll-bars-hidden",wU="--removed-body-scroll-bar-size";function hm(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function SU(e,t){var r=g.useState(function(){return{value:e,callback:t,facade:{get current(){return r.value},set current(n){var i=r.value;i!==n&&(r.value=n,r.callback(n,i))}}}})[0];return r.callback=t,r.facade}var xU=typeof window<"u"?g.useLayoutEffect:g.useEffect,$w=new WeakMap;function CU(e,t){var r=SU(null,function(n){return e.forEach(function(i){return hm(i,n)})});return xU(function(){var n=$w.get(r);if(n){var i=new Set(n),a=new Set(e),l=r.current;i.forEach(function(c){a.has(c)||hm(c,null)}),a.forEach(function(c){i.has(c)||hm(c,l)})}$w.set(r,e)},[e]),r}function RU(e){return e}function EU(e,t){t===void 0&&(t=RU);var r=[],n=!1,i={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(a){var l=t(a,n);return r.push(l),function(){r=r.filter(function(c){return c!==l})}},assignSyncMedium:function(a){for(n=!0;r.length;){var l=r;r=[],l.forEach(a)}r={push:function(c){return a(c)},filter:function(){return r}}},assignMedium:function(a){n=!0;var l=[];if(r.length){var c=r;r=[],c.forEach(a),l=r}var d=function(){var h=l;l=[],h.forEach(a)},f=function(){return Promise.resolve().then(d)};f(),r={push:function(h){l.push(h),f()},filter:function(h){return l=l.filter(h),r}}}};return i}function kU(e){e===void 0&&(e={});var t=EU(null);return t.options=Un({async:!0,ssr:!1},e),t}var ZC=function(e){var t=e.sideCar,r=JC(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return g.createElement(n,Un({},r))};ZC.isSideCarExport=!0;function PU(e,t){return e.useMedium(t),ZC}var eR=kU(),gm=function(){},Od=g.forwardRef(function(e,t){var r=g.useRef(null),n=g.useState({onScrollCapture:gm,onWheelCapture:gm,onTouchMoveCapture:gm}),i=n[0],a=n[1],l=e.forwardProps,c=e.children,d=e.className,f=e.removeScrollBar,h=e.enabled,m=e.shards,w=e.sideCar,v=e.noRelative,C=e.noIsolation,x=e.inert,R=e.allowPinchZoom,E=e.as,P=E===void 0?"div":E,k=e.gapMode,T=JC(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=w,j=CU([r,t]),M=Un(Un({},T),i);return g.createElement(g.Fragment,null,h&&g.createElement(N,{sideCar:eR,removeScrollBar:f,shards:m,noRelative:v,noIsolation:C,inert:x,setCallbacks:a,allowPinchZoom:!!R,lockRef:r,gapMode:k}),l?g.cloneElement(g.Children.only(c),Un(Un({},M),{ref:j})):g.createElement(P,Un({},M,{className:d,ref:j}),c))});Od.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Od.classNames={fullWidth:zu,zeroRight:$u};var AU=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function TU(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=AU();return t&&e.setAttribute("nonce",t),e}function NU(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function DU(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var OU=function(){var e=0,t=null;return{add:function(r){e==0&&(t=TU())&&(NU(t,r),DU(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_U=function(){var e=OU();return function(t,r){g.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])}},tR=function(){var e=_U(),t=function(r){var n=r.styles,i=r.dynamic;return e(n,i),null};return t},MU={left:0,top:0,right:0,gap:0},ym=function(e){return parseInt(e||"",10)||0},jU=function(e){var t=window.getComputedStyle(document.body),r=t[e==="padding"?"paddingLeft":"marginLeft"],n=t[e==="padding"?"paddingTop":"marginTop"],i=t[e==="padding"?"paddingRight":"marginRight"];return[ym(r),ym(n),ym(i)]},LU=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return MU;var t=jU(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},FU=tR(),Ks="data-scroll-locked",IU=function(e,t,r,n){var i=e.left,a=e.top,l=e.right,c=e.gap;return r===void 0&&(r="margin"),`
|
||
.`.concat(bU,` {
|
||
overflow: hidden `).concat(n,`;
|
||
padding-right: `).concat(c,"px ").concat(n,`;
|
||
}
|
||
body[`).concat(Ks,`] {
|
||
overflow: hidden `).concat(n,`;
|
||
overscroll-behavior: contain;
|
||
`).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
|
||
padding-left: `.concat(i,`px;
|
||
padding-top: `).concat(a,`px;
|
||
padding-right: `).concat(l,`px;
|
||
margin-left:0;
|
||
margin-top:0;
|
||
margin-right: `).concat(c,"px ").concat(n,`;
|
||
`),r==="padding"&&"padding-right: ".concat(c,"px ").concat(n,";")].filter(Boolean).join(""),`
|
||
}
|
||
|
||
.`).concat($u,` {
|
||
right: `).concat(c,"px ").concat(n,`;
|
||
}
|
||
|
||
.`).concat(zu,` {
|
||
margin-right: `).concat(c,"px ").concat(n,`;
|
||
}
|
||
|
||
.`).concat($u," .").concat($u,` {
|
||
right: 0 `).concat(n,`;
|
||
}
|
||
|
||
.`).concat(zu," .").concat(zu,` {
|
||
margin-right: 0 `).concat(n,`;
|
||
}
|
||
|
||
body[`).concat(Ks,`] {
|
||
`).concat(wU,": ").concat(c,`px;
|
||
}
|
||
`)},zw=function(){var e=parseInt(document.body.getAttribute(Ks)||"0",10);return isFinite(e)?e:0},UU=function(){g.useEffect(function(){return document.body.setAttribute(Ks,(zw()+1).toString()),function(){var e=zw()-1;e<=0?document.body.removeAttribute(Ks):document.body.setAttribute(Ks,e.toString())}},[])},$U=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,i=n===void 0?"margin":n;UU();var a=g.useMemo(function(){return LU(i)},[i]);return g.createElement(FU,{styles:IU(a,!t,i,r?"":"!important")})},fh=!1;if(typeof window<"u")try{var bu=Object.defineProperty({},"passive",{get:function(){return fh=!0,!0}});window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{fh=!1}var Ls=fh?{passive:!1}:!1,zU=function(e){return e.tagName==="TEXTAREA"},rR=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!zU(e)&&r[t]==="visible")},BU=function(e){return rR(e,"overflowY")},qU=function(e){return rR(e,"overflowX")},Bw=function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=nR(e,n);if(i){var a=oR(e,n),l=a[1],c=a[2];if(l>c)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},VU=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},HU=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},nR=function(e,t){return e==="v"?BU(t):qU(t)},oR=function(e,t){return e==="v"?VU(t):HU(t)},WU=function(e,t){return e==="h"&&t==="rtl"?-1:1},GU=function(e,t,r,n,i){var a=WU(e,window.getComputedStyle(t).direction),l=a*n,c=r.target,d=t.contains(c),f=!1,h=l>0,m=0,w=0;do{if(!c)break;var v=oR(e,c),C=v[0],x=v[1],R=v[2],E=x-R-a*C;(C||E)&&nR(e,c)&&(m+=E,w+=C);var P=c.parentNode;c=P&&P.nodeType===Node.DOCUMENT_FRAGMENT_NODE?P.host:P}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(h&&Math.abs(m)<1||!h&&Math.abs(w)<1)&&(f=!0),f},wu=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},qw=function(e){return[e.deltaX,e.deltaY]},Vw=function(e){return e&&"current"in e?e.current:e},KU=function(e,t){return e[0]===t[0]&&e[1]===t[1]},YU=function(e){return`
|
||
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
`)},XU=0,Fs=[];function QU(e){var t=g.useRef([]),r=g.useRef([0,0]),n=g.useRef(),i=g.useState(XU++)[0],a=g.useState(tR)[0],l=g.useRef(e);g.useEffect(function(){l.current=e},[e]),g.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var x=vU([e.lockRef.current],(e.shards||[])?.map(Vw),!0).filter(Boolean);return x.forEach(function(R){return R.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),x.forEach(function(R){return R.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=g.useCallback(function(x,R){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!l.current.allowPinchZoom;var E=wu(x),P=r.current,k="deltaX"in x?x.deltaX:P[0]-E[0],T="deltaY"in x?x.deltaY:P[1]-E[1],N,j=x.target,M=Math.abs(k)>Math.abs(T)?"h":"v";if("touches"in x&&M==="h"&&j.type==="range")return!1;var O=window.getSelection(),B=O&&O.anchorNode,H=B?B===j||B.contains(j):!1;if(H)return!1;var Y=Bw(M,j);if(!Y)return!0;if(Y?N=M:(N=M==="v"?"h":"v",Y=Bw(M,j)),!Y)return!1;if(!n.current&&"changedTouches"in x&&(k||T)&&(n.current=N),!N)return!0;var ne=n.current||N;return GU(ne,R,x,ne==="h"?k:T)},[]),d=g.useCallback(function(x){var R=x;if(!(!Fs.length||Fs[Fs.length-1]!==a)){var E="deltaY"in R?qw(R):wu(R),P=t.current.filter(function(N){return N.name===R.type&&(N.target===R.target||R.target===N.shadowParent)&&KU(N.delta,E)})[0];if(P&&P.should){R.cancelable&&R.preventDefault();return}if(!P){var k=(l.current.shards||[])?.map(Vw).filter(Boolean).filter(function(N){return N.contains(R.target)}),T=k.length>0?c(R,k[0]):!l.current.noIsolation;T&&R.cancelable&&R.preventDefault()}}},[]),f=g.useCallback(function(x,R,E,P){var k={name:x,delta:R,target:E,should:P,shadowParent:JU(E)};t.current.push(k),setTimeout(function(){t.current=t.current.filter(function(T){return T!==k})},1)},[]),h=g.useCallback(function(x){r.current=wu(x),n.current=void 0},[]),m=g.useCallback(function(x){f(x.type,qw(x),x.target,c(x,e.lockRef.current))},[]),w=g.useCallback(function(x){f(x.type,wu(x),x.target,c(x,e.lockRef.current))},[]);g.useEffect(function(){return Fs.push(a),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:w}),document.addEventListener("wheel",d,Ls),document.addEventListener("touchmove",d,Ls),document.addEventListener("touchstart",h,Ls),function(){Fs=Fs.filter(function(x){return x!==a}),document.removeEventListener("wheel",d,Ls),document.removeEventListener("touchmove",d,Ls),document.removeEventListener("touchstart",h,Ls)}},[]);var v=e.removeScrollBar,C=e.inert;return g.createElement(g.Fragment,null,C?g.createElement(a,{styles:YU(i)}):null,v?g.createElement($U,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function JU(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ZU=PU(eR,QU);var Pl=g.forwardRef(function(e,t){return g.createElement(Od,Un({},e,{ref:t,sideCar:ZU}))});Pl.classNames=Od.classNames;function zn(e){return Object.keys(e)}function vm(e){return e&&typeof e=="object"&&!Array.isArray(e)}function Ng(e,t){const r={...e},n=t;return vm(e)&&vm(t)&&Object.keys(t).forEach(i=>{vm(n[i])&&i in e?r[i]=Ng(r[i],n[i]):r[i]=n[i]}),r}function e5(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function t5(e){var t;return typeof e!="string"||!e.includes("var(--mantine-scale)")?e:(t=e.match(/^calc\((.*?)\)$/))==null?void 0:t[1].split("*")[0].trim()}function r5(e){const t=t5(e);return typeof t=="number"?t:typeof t=="string"?t.includes("calc")||t.includes("var")?t:t.includes("px")?Number(t.replace("px","")):t.includes("rem")?Number(t.replace("rem",""))*16:t.includes("em")?Number(t.replace("em",""))*16:Number(t):NaN}function bm(e){return e==="0rem"?"0rem":`calc(${e} * var(--mantine-scale))`}function iR(e,{shouldScale:t=!1}={}){function r(n){if(n===0||n==="0")return`0${e}`;if(typeof n=="number"){const i=`${n/16}${e}`;return t?bm(i):i}if(typeof n=="string"){if(n===""||n.startsWith("calc(")||n.startsWith("clamp(")||n.includes("rgba("))return n;if(n.includes(","))return n.split(",")?.map(a=>r(a)).join(",");if(n.includes(" "))return n.split(" ")?.map(a=>r(a)).join(" ");if(n.includes(e))return t?bm(n):n;const i=n.replace("px","");if(!Number.isNaN(Number(i))){const a=`${Number(i)/16}${e}`;return t?bm(a):a}}return n}return r}const ce=iR("rem",{shouldScale:!0}),Hw=iR("em");function Dg(e){return Object.keys(e).reduce((t,r)=>(e[r]!==void 0&&(t[r]=e[r]),t),{})}function sR(e){if(typeof e=="number")return!0;if(typeof e=="string"){if(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&e.trim()!=="")return!0;const t=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return e.trim().split(/\s+/).every(n=>t.test(n))}return!1}function Og(e){return Array.isArray(e)||e===null?!1:typeof e=="object"?e.type!==g.Fragment:!1}function _d(e){const t=g.createContext(null);return[({children:i,value:a})=>b.jsx(t.Provider,{value:a,children:i}),()=>{const i=g.useContext(t);if(i===null)throw new Error(e);return i}]}function _g(e=null){const t=g.createContext(e);return[({children:i,value:a})=>b.jsx(t.Provider,{value:a,children:i}),()=>g.useContext(t)]}const n5={app:100,modal:200,popover:300,overlay:400,max:9999};function xo(e){return n5[e]}const o5=()=>{};function Hn(e,t="size",r=!0){if(e!==void 0)return sR(e)?r?ce(e):e:`var(--${t}-${e})`}function i5(e){return Hn(e,"mantine-spacing")}function gi(e){return e===void 0?"var(--mantine-radius-default)":Hn(e,"mantine-radius")}function Zi(e){return Hn(e,"mantine-font-size")}function a7(e){return Hn(e,"mantine-line-height",!1)}function aR(e){if(e)return Hn(e,"mantine-shadow",!1)}function lR(e="mantine-"){return`${e}${Math.random().toString(36).slice(2,11)}`}function Li(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}function Md(e,t){const r=typeof t=="number"?t:t.delay,n=typeof t=="number"?!1:t.flushOnUnmount,i=Li(e),a=g.useRef(0),l=g.useRef(()=>{}),c=Object.assign(g.useCallback((...d)=>{window.clearTimeout(a.current);const f=()=>{a.current!==0&&(a.current=0,i(...d))};l.current=f,c.flush=f,a.current=window.setTimeout(f,r)},[i,r]),{flush:l.current});return g.useEffect(()=>()=>{window.clearTimeout(a.current),n&&c.flush()},[c,n]),c}function s5(e,t){try{return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}catch{return e.addListener(t),()=>e.removeListener(t)}}function a5(e,t){return typeof window<"u"&&"matchMedia"in window?window.matchMedia(e).matches:!1}function cR(e,t,{getInitialValueInEffect:r}={getInitialValueInEffect:!0}){const[n,i]=g.useState(r?t:a5(e)),a=g.useRef(null);return g.useEffect(()=>{if("matchMedia"in window)return a.current=window.matchMedia(e),i(a.current.matches),s5(a.current,l=>i(l.matches))},[e]),n}function l5(e,t){return cR("(prefers-color-scheme: dark)",e==="dark",t)?"dark":"light"}const Gl=typeof document<"u"?g.useLayoutEffect:g.useEffect;function ua(e,t){const r=g.useRef(!1);g.useEffect(()=>()=>{r.current=!1},[]),g.useEffect(()=>{if(r.current)return e();r.current=!0},t)}function c5({opened:e,shouldReturnFocus:t=!0}){const r=g.useRef(null),n=()=>{var i;r.current&&"focus"in r.current&&typeof r.current.focus=="function"&&((i=r.current)==null||i.focus({preventScroll:!0}))};return ua(()=>{let i=-1;const a=l=>{l.key==="Tab"&&window.clearTimeout(i)};return document.addEventListener("keydown",a),e?r.current=document.activeElement:t&&(i=window.setTimeout(n,10)),()=>{window.clearTimeout(i),document.removeEventListener("keydown",a)}},[e,t]),n}const u5=/input|select|textarea|button|object/,uR="a, input, select, textarea, button, object, [tabindex]";function d5(e){return e.style.display==="none"}function f5(e){if(e.getAttribute("aria-hidden")||e.getAttribute("hidden")||e.getAttribute("type")==="hidden")return!1;let r=e;for(;r&&!(r===document.body||r.nodeType===11);){if(d5(r))return!1;r=r.parentNode}return!0}function dR(e){let t=e.getAttribute("tabindex");return t===null&&(t=void 0),parseInt(t,10)}function ph(e){const t=e.nodeName.toLowerCase(),r=!Number.isNaN(dR(e));return(u5.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||r)&&f5(e)}function fR(e){const t=dR(e);return(Number.isNaN(t)||t>=0)&&ph(e)}function p5(e){return Array.from(e.querySelectorAll(uR)).filter(fR)}function m5(e,t){const r=p5(e);if(!r.length){t.preventDefault();return}const n=r[t.shiftKey?0:r.length-1],i=e.getRootNode();let a=n===i.activeElement||e===i.activeElement;const l=i.activeElement;if(l.tagName==="INPUT"&&l.getAttribute("type")==="radio"&&(a=r.filter(h=>h.getAttribute("type")==="radio"&&h.getAttribute("name")===l.getAttribute("name")).includes(n)),!a)return;t.preventDefault();const d=r[t.shiftKey?r.length-1:0];d&&d.focus()}function h5(e=!0){const t=g.useRef(null),r=i=>{let a=i.querySelector("[data-autofocus]");if(!a){const l=Array.from(i.querySelectorAll(uR));a=l.find(fR)||l.find(ph)||null,!a&&ph(i)&&(a=i)}a&&a.focus({preventScroll:!0})},n=g.useCallback(i=>{e&&i!==null&&t.current!==i&&(i?(setTimeout(()=>{i.getRootNode()&&r(i)}),t.current=i):t.current=null)},[e]);return g.useEffect(()=>{if(!e)return;t.current&&setTimeout(()=>r(t.current));const i=a=>{a.key==="Tab"&&t.current&&m5(t.current,a)};return document.addEventListener("keydown",i),()=>document.removeEventListener("keydown",i)},[e]),n}const g5=e=>(e+1)%1e6;function y5(){const[,e]=g.useReducer(g5,0);return e}const v5=le.useId||(()=>{});function b5(){const e=v5();return e?`mantine-${e.replace(/:/g,"")}`:""}function Mg(e){const t=b5(),[r,n]=g.useState(t);return Gl(()=>{n(lR())},[]),typeof e=="string"?e:typeof window>"u"?t:r}function w5(e,t,r){g.useEffect(()=>(window.addEventListener(e,t,r),()=>window.removeEventListener(e,t,r)),[e,t])}function mh(e,t){if(typeof e=="function")return e(t);typeof e=="object"&&e!==null&&"current"in e&&(e.current=t)}function S5(...e){const t=new Map;return r=>{if(e.forEach(n=>{const i=mh(n,r);i&&t.set(n,i)}),t.size>0)return()=>{e.forEach(n=>{const i=t.get(n);i?i():mh(n,null)}),t.clear()}}}function Co(...e){return g.useCallback(S5(...e),e)}function jg(e,t){return cR("(prefers-reduced-motion: reduce)",e,t)}function pR(e){var r;const t=le.version;return typeof le.version!="string"||t.startsWith("18.")?e==null?void 0:e.ref:(r=e==null?void 0:e.props)==null?void 0:r.ref}function l7(e){return e}const x5={};function C5(e){const t={};return e.forEach(r=>{Object.entries(r).forEach(([n,i])=>{t[n]?t[n]=er(t[n],i):t[n]=i})}),t}function jd({theme:e,classNames:t,props:r,stylesCtx:n}){const a=(Array.isArray(t)?t:[t])?.map(l=>typeof l=="function"?l(e,r,n):l||x5);return C5(a)}function sd({theme:e,styles:t,props:r,stylesCtx:n}){return(Array.isArray(t)?t:[t]).reduce((a,l)=>typeof l=="function"?{...a,...l(e,r,n)}:{...a,...l},{})}const Lg=g.createContext(null);function yi(){const e=g.useContext(Lg);if(!e)throw new Error("[@mantine/core] MantineProvider was not found in tree");return e}function R5(){return yi().cssVariablesResolver}function E5(){return yi().classNamesPrefix}function Ld(){return yi().getStyleNonce}function k5(){return yi().withStaticClasses}function P5(){return yi().headless}function A5(){var e;return(e=yi().stylesTransform)==null?void 0:e.sx}function T5(){var e;return(e=yi().stylesTransform)==null?void 0:e.styles}function mR(){return yi().env||"default"}function N5(e){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e)}function D5(e){let t=e.replace("#","");if(t.length===3){const l=t.split("");t=[l[0],l[0],l[1],l[1],l[2],l[2]].join("")}if(t.length===8){const l=parseInt(t.slice(6,8),16)/255;return{r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:l}}const r=parseInt(t,16),n=r>>16&255,i=r>>8&255,a=r&255;return{r:n,g:i,b:a,a:1}}function O5(e){const[t,r,n,i]=e.replace(/[^0-9,./]/g,"").split(/[/,]/)?.map(Number);return{r:t,g:r,b:n,a:i===void 0?1:i}}function _5(e){const t=/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i,r=e.match(t);if(!r)return{r:0,g:0,b:0,a:1};const n=parseInt(r[1],10),i=parseInt(r[2],10)/100,a=parseInt(r[3],10)/100,l=r[5]?parseFloat(r[5]):void 0,c=(1-Math.abs(2*a-1))*i,d=n/60,f=c*(1-Math.abs(d%2-1)),h=a-c/2;let m,w,v;return d>=0&&d<1?(m=c,w=f,v=0):d>=1&&d<2?(m=f,w=c,v=0):d>=2&&d<3?(m=0,w=c,v=f):d>=3&&d<4?(m=0,w=f,v=c):d>=4&&d<5?(m=f,w=0,v=c):(m=c,w=0,v=f),{r:Math.round((m+h)*255),g:Math.round((w+h)*255),b:Math.round((v+h)*255),a:l||1}}function Fg(e){return N5(e)?D5(e):e.startsWith("rgb")?O5(e):e.startsWith("hsl")?_5(e):{r:0,g:0,b:0,a:1}}function Su(e,t){if(e.startsWith("var("))return`color-mix(in srgb, ${e}, black ${t*100}%)`;const{r,g:n,b:i,a}=Fg(e),l=1-t,c=d=>Math.round(d*l);return`rgba(${c(r)}, ${c(n)}, ${c(i)}, ${a})`}function Al(e,t){return typeof e.primaryShade=="number"?e.primaryShade:t==="dark"?e.primaryShade.dark:e.primaryShade.light}function wm(e){return e<=.03928?e/12.92:((e+.055)/1.055)**2.4}function M5(e){const t=e.match(/oklch\((.*?)%\s/);return t?parseFloat(t[1]):null}function j5(e){if(e.startsWith("oklch("))return(M5(e)||0)/100;const{r:t,g:r,b:n}=Fg(e),i=t/255,a=r/255,l=n/255,c=wm(i),d=wm(a),f=wm(l);return .2126*c+.7152*d+.0722*f}function ml(e,t=.179){return e.startsWith("var(")?!1:j5(e)>t}function Kl({color:e,theme:t,colorScheme:r}){if(typeof e!="string")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);if(e==="bright")return{color:e,value:r==="dark"?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:ml(r==="dark"?t.white:t.black,t.luminanceThreshold),variable:"--mantine-color-bright"};if(e==="dimmed")return{color:e,value:r==="dark"?t.colors.dark[2]:t.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:ml(r==="dark"?t.colors.dark[2]:t.colors.gray[6],t.luminanceThreshold),variable:"--mantine-color-dimmed"};if(e==="white"||e==="black")return{color:e,value:e==="white"?t.white:t.black,shade:void 0,isThemeColor:!1,isLight:ml(e==="white"?t.white:t.black,t.luminanceThreshold),variable:`--mantine-color-${e}`};const[n,i]=e.split("."),a=i?Number(i):void 0,l=n in t.colors;if(l){const c=a!==void 0?t.colors[n][a]:t.colors[n][Al(t,r||"light")];return{color:n,value:c,shade:a,isThemeColor:l,isLight:ml(c,t.luminanceThreshold),variable:i?`--mantine-color-${n}-${a}`:`--mantine-color-${n}-filled`}}return{color:e,value:e,isThemeColor:l,isLight:ml(e,t.luminanceThreshold),shade:a,variable:void 0}}function da(e,t){const r=Kl({color:e||t.primaryColor,theme:t});return r.variable?`var(${r.variable})`:e}function Ww(e,t){const r={from:(e==null?void 0:e.from)||t.defaultGradient.from,to:(e==null?void 0:e.to)||t.defaultGradient.to,deg:(e==null?void 0:e.deg)??t.defaultGradient.deg??0},n=da(r.from,t),i=da(r.to,t);return`linear-gradient(${r.deg}deg, ${n} 0%, ${i} 100%)`}function jn(e,t){if(typeof e!="string"||t>1||t<0)return"rgba(0, 0, 0, 1)";if(e.startsWith("var(")){const a=(1-t)*100;return`color-mix(in srgb, ${e}, transparent ${a}%)`}if(e.startsWith("oklch"))return e.includes("/")?e.replace(/\/\s*[\d.]+\s*\)/,`/ ${t})`):e.replace(")",` / ${t})`);const{r,g:n,b:i}=Fg(e);return`rgba(${r}, ${n}, ${i}, ${t})`}const Is=jn,L5=({color:e,theme:t,variant:r,gradient:n,autoContrast:i})=>{const a=Kl({color:e,theme:t}),l=typeof i=="boolean"?i:t.autoContrast;if(r==="filled"){const c=l&&a.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return a.isThemeColor?a.shade===void 0?{background:`var(--mantine-color-${e}-filled)`,hover:`var(--mantine-color-${e}-filled-hover)`,color:c,border:`${ce(1)} solid transparent`}:{background:`var(--mantine-color-${a.color}-${a.shade})`,hover:`var(--mantine-color-${a.color}-${a.shade===9?8:a.shade+1})`,color:c,border:`${ce(1)} solid transparent`}:{background:e,hover:Su(e,.1),color:c,border:`${ce(1)} solid transparent`}}if(r==="light"){if(a.isThemeColor){if(a.shade===void 0)return{background:`var(--mantine-color-${e}-light)`,hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${ce(1)} solid transparent`};const c=t.colors[a.color][a.shade];return{background:jn(c,.1),hover:jn(c,.12),color:`var(--mantine-color-${a.color}-${Math.min(a.shade,6)})`,border:`${ce(1)} solid transparent`}}return{background:jn(e,.1),hover:jn(e,.12),color:e,border:`${ce(1)} solid transparent`}}if(r==="outline")return a.isThemeColor?a.shade===void 0?{background:"transparent",hover:`var(--mantine-color-${e}-outline-hover)`,color:`var(--mantine-color-${e}-outline)`,border:`${ce(1)} solid var(--mantine-color-${e}-outline)`}:{background:"transparent",hover:jn(t.colors[a.color][a.shade],.05),color:`var(--mantine-color-${a.color}-${a.shade})`,border:`${ce(1)} solid var(--mantine-color-${a.color}-${a.shade})`}:{background:"transparent",hover:jn(e,.05),color:e,border:`${ce(1)} solid ${e}`};if(r==="subtle"){if(a.isThemeColor){if(a.shade===void 0)return{background:"transparent",hover:`var(--mantine-color-${e}-light-hover)`,color:`var(--mantine-color-${e}-light-color)`,border:`${ce(1)} solid transparent`};const c=t.colors[a.color][a.shade];return{background:"transparent",hover:jn(c,.12),color:`var(--mantine-color-${a.color}-${Math.min(a.shade,6)})`,border:`${ce(1)} solid transparent`}}return{background:"transparent",hover:jn(e,.12),color:e,border:`${ce(1)} solid transparent`}}return r==="transparent"?a.isThemeColor?a.shade===void 0?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${e}-light-color)`,border:`${ce(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${a.color}-${Math.min(a.shade,6)})`,border:`${ce(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:e,border:`${ce(1)} solid transparent`}:r==="white"?a.isThemeColor?a.shade===void 0?{background:"var(--mantine-color-white)",hover:Su(t.white,.01),color:`var(--mantine-color-${e}-filled)`,border:`${ce(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:Su(t.white,.01),color:`var(--mantine-color-${a.color}-${a.shade})`,border:`${ce(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:Su(t.white,.01),color:e,border:`${ce(1)} solid transparent`}:r==="gradient"?{background:Ww(n,t),hover:Ww(n,t),color:"var(--mantine-color-white)",border:"none"}:r==="default"?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${ce(1)} solid var(--mantine-color-default-border)`}:{}},F5={dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},Gw="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",Ig={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:F5,primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:L5,autoContrast:!1,luminanceThreshold:.3,fontFamily:Gw,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:Gw,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:ce(34),lineHeight:"1.3"},h2:{fontSize:ce(26),lineHeight:"1.35"},h3:{fontSize:ce(22),lineHeight:"1.4"},h4:{fontSize:ce(18),lineHeight:"1.45"},h5:{fontSize:ce(16),lineHeight:"1.5"},h6:{fontSize:ce(14),lineHeight:"1.5"}}},fontSizes:{xs:ce(12),sm:ce(14),md:ce(16),lg:ce(18),xl:ce(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:ce(2),sm:ce(4),md:ce(8),lg:ce(16),xl:ce(32)},spacing:{xs:ce(10),sm:ce(12),md:ce(16),lg:ce(20),xl:ce(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${ce(1)} ${ce(3)} rgba(0, 0, 0, 0.05), 0 ${ce(1)} ${ce(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${ce(1)} ${ce(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${ce(10)} ${ce(15)} ${ce(-5)}, rgba(0, 0, 0, 0.04) 0 ${ce(7)} ${ce(7)} ${ce(-5)}`,md:`0 ${ce(1)} ${ce(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${ce(20)} ${ce(25)} ${ce(-5)}, rgba(0, 0, 0, 0.04) 0 ${ce(10)} ${ce(10)} ${ce(-5)}`,lg:`0 ${ce(1)} ${ce(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${ce(28)} ${ce(23)} ${ce(-7)}, rgba(0, 0, 0, 0.04) 0 ${ce(12)} ${ce(12)} ${ce(-7)}`,xl:`0 ${ce(1)} ${ce(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${ce(36)} ${ce(28)} ${ce(-7)}, rgba(0, 0, 0, 0.04) 0 ${ce(17)} ${ce(17)} ${ce(-7)}`},other:{},components:{}};function Kw(e){return e==="auto"||e==="dark"||e==="light"}function I5({key:e="mantine-color-scheme-value"}={}){let t;return{get:r=>{if(typeof window>"u")return r;try{const n=window.localStorage.getItem(e);return Kw(n)?n:r}catch{return r}},set:r=>{try{window.localStorage.setItem(e,r)}catch{}},subscribe:r=>{t=n=>{n.storageArea===window.localStorage&&n.key===e&&Kw(n.newValue)&&r(n.newValue)},window.addEventListener("storage",t)},unsubscribe:()=>{window.removeEventListener("storage",t)},clear:()=>{window.localStorage.removeItem(e)}}}const U5="[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color",Yw="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function Sm(e){return e<0||e>9?!1:parseInt(e.toString(),10)===e}function Xw(e){if(!(e.primaryColor in e.colors))throw new Error(U5);if(typeof e.primaryShade=="object"&&(!Sm(e.primaryShade.dark)||!Sm(e.primaryShade.light)))throw new Error(Yw);if(typeof e.primaryShade=="number"&&!Sm(e.primaryShade))throw new Error(Yw)}function $5(e,t){var n;if(!t)return Xw(e),e;const r=Ng(e,t);return t.fontFamily&&!((n=t.headings)!=null&&n.fontFamily)&&(r.headings.fontFamily=t.fontFamily),Xw(r),r}const Ug=g.createContext(null),z5=()=>g.useContext(Ug)||Ig;function Rn(){const e=g.useContext(Ug);if(!e)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return e}function hR({theme:e,children:t,inherit:r=!0}){const n=z5(),i=g.useMemo(()=>$5(r?n:Ig,e),[e,n,r]);return b.jsx(Ug.Provider,{value:i,children:t})}hR.displayName="@mantine/core/MantineThemeProvider";function B5(){const e=Rn(),t=Ld(),r=zn(e.breakpoints).reduce((n,i)=>{const a=e.breakpoints[i].includes("px"),l=r5(e.breakpoints[i]),c=a?`${l-.1}px`:Hw(l-.1),d=a?`${l}px`:Hw(l);return`${n}@media (max-width: ${c}) {.mantine-visible-from-${i} {display: none !important;}}@media (min-width: ${d}) {.mantine-hidden-from-${i} {display: none !important;}}`},"");return b.jsx("style",{"data-mantine-styles":"classes",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:r}})}function xm(e){return Object.entries(e)?.map(([t,r])=>`${t}: ${r};`).join("")}function hl(e,t){return(Array.isArray(e)?e:[e]).reduce((n,i)=>`${i}{${n}}`,t)}function q5(e,t){const r=xm(e.variables),n=r?hl(t,r):"",i=xm(e.dark),a=xm(e.light),l=i?hl(t===":host"?`${t}([data-mantine-color-scheme="dark"])`:`${t}[data-mantine-color-scheme="dark"]`,i):"",c=a?hl(t===":host"?`${t}([data-mantine-color-scheme="light"])`:`${t}[data-mantine-color-scheme="light"]`,a):"";return`${n}${l}${c}`}function V5({color:e,theme:t,autoContrast:r}){return(typeof r=="boolean"?r:t.autoContrast)&&Kl({color:e||t.primaryColor,theme:t}).isLight?"var(--mantine-color-black)":"var(--mantine-color-white)"}function Qw(e,t){return V5({color:e.colors[e.primaryColor][Al(e,t)],theme:e,autoContrast:null})}function xu({theme:e,color:t,colorScheme:r,name:n=t,withColorValues:i=!0}){if(!e.colors[t])return{};if(r==="light"){const c=Al(e,"light"),d={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-filled)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${c})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${c===9?8:c+1})`,[`--mantine-color-${n}-light`]:Is(e.colors[t][c],.1),[`--mantine-color-${n}-light-hover`]:Is(e.colors[t][c],.12),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${c})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${c})`,[`--mantine-color-${n}-outline-hover`]:Is(e.colors[t][c],.05)};return i?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...d}:d}const a=Al(e,"dark"),l={[`--mantine-color-${n}-text`]:`var(--mantine-color-${n}-4)`,[`--mantine-color-${n}-filled`]:`var(--mantine-color-${n}-${a})`,[`--mantine-color-${n}-filled-hover`]:`var(--mantine-color-${n}-${a===9?8:a+1})`,[`--mantine-color-${n}-light`]:Is(e.colors[t][Math.max(0,a-2)],.15),[`--mantine-color-${n}-light-hover`]:Is(e.colors[t][Math.max(0,a-2)],.2),[`--mantine-color-${n}-light-color`]:`var(--mantine-color-${n}-${Math.max(a-5,0)})`,[`--mantine-color-${n}-outline`]:`var(--mantine-color-${n}-${Math.max(a-4,0)})`,[`--mantine-color-${n}-outline-hover`]:Is(e.colors[t][Math.max(a-4,0)],.05)};return i?{[`--mantine-color-${n}-0`]:e.colors[t][0],[`--mantine-color-${n}-1`]:e.colors[t][1],[`--mantine-color-${n}-2`]:e.colors[t][2],[`--mantine-color-${n}-3`]:e.colors[t][3],[`--mantine-color-${n}-4`]:e.colors[t][4],[`--mantine-color-${n}-5`]:e.colors[t][5],[`--mantine-color-${n}-6`]:e.colors[t][6],[`--mantine-color-${n}-7`]:e.colors[t][7],[`--mantine-color-${n}-8`]:e.colors[t][8],[`--mantine-color-${n}-9`]:e.colors[t][9],...l}:l}function H5(e){return!!e&&typeof e=="object"&&"mantine-virtual-color"in e}function Us(e,t,r){zn(t).forEach(n=>Object.assign(e,{[`--mantine-${r}-${n}`]:t[n]}))}const gR=e=>{const t=Al(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:ce(e.defaultRadius),n={variables:{"--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-color-scheme":"light dark","--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-weight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-primary-color-contrast":Qw(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)"},dark:{"--mantine-primary-color-contrast":Qw(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)"}};Us(n.variables,e.breakpoints,"breakpoint"),Us(n.variables,e.spacing,"spacing"),Us(n.variables,e.fontSizes,"font-size"),Us(n.variables,e.lineHeights,"line-height"),Us(n.variables,e.shadows,"shadow"),Us(n.variables,e.radius,"radius"),e.colors[e.primaryColor].forEach((a,l)=>{n.variables[`--mantine-primary-color-${l}`]=`var(--mantine-color-${e.primaryColor}-${l})`}),zn(e.colors).forEach(a=>{const l=e.colors[a];if(H5(l)){Object.assign(n.light,xu({theme:e,name:l.name,color:l.light,colorScheme:"light",withColorValues:!0})),Object.assign(n.dark,xu({theme:e,name:l.name,color:l.dark,colorScheme:"dark",withColorValues:!0}));return}l.forEach((c,d)=>{n.variables[`--mantine-color-${a}-${d}`]=c}),Object.assign(n.light,xu({theme:e,color:a,colorScheme:"light",withColorValues:!1})),Object.assign(n.dark,xu({theme:e,color:a,colorScheme:"dark",withColorValues:!1}))});const i=e.headings.sizes;return zn(i).forEach(a=>{n.variables[`--mantine-${a}-font-size`]=i[a].fontSize,n.variables[`--mantine-${a}-line-height`]=i[a].lineHeight,n.variables[`--mantine-${a}-font-weight`]=i[a].fontWeight||e.headings.fontWeight}),n};function W5({theme:e,generator:t}){const r=gR(e),n=t==null?void 0:t(e);return n?Ng(r,n):r}const Cm=gR(Ig);function G5(e){const t={variables:{},light:{},dark:{}};return zn(e.variables).forEach(r=>{Cm.variables[r]!==e.variables[r]&&(t.variables[r]=e.variables[r])}),zn(e.light).forEach(r=>{Cm.light[r]!==e.light[r]&&(t.light[r]=e.light[r])}),zn(e.dark).forEach(r=>{Cm.dark[r]!==e.dark[r]&&(t.dark[r]=e.dark[r])}),t}function K5(e){return`
|
||
${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
|
||
${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
|
||
`}function yR({cssVariablesSelector:e,deduplicateCssVariables:t}){const r=Rn(),n=Ld(),i=R5(),a=W5({theme:r,generator:i}),l=e===":root"&&t,c=l?G5(a):a,d=q5(c,e);return d?b.jsx("style",{"data-mantine-styles":!0,nonce:n==null?void 0:n(),dangerouslySetInnerHTML:{__html:`${d}${l?"":K5(e)}`}}):null}yR.displayName="@mantine/CssVariables";function Y5(){const e=console.error;console.error=(...t)=>{t.length>1&&typeof t[0]=="string"&&t[0].toLowerCase().includes("extra attributes from the server")&&typeof t[1]=="string"&&t[1].toLowerCase().includes("data-mantine-color-scheme")||e(...t)}}function $s(e,t){var i,a;const r=typeof window<"u"&&"matchMedia"in window&&((i=window.matchMedia("(prefers-color-scheme: dark)"))==null?void 0:i.matches),n=e!=="auto"?e:r?"dark":"light";(a=t())==null||a.setAttribute("data-mantine-color-scheme",n)}function X5({manager:e,defaultColorScheme:t,getRootElement:r,forceColorScheme:n}){const i=g.useRef(null),[a,l]=g.useState(()=>e.get(t)),c=n||a,d=g.useCallback(h=>{n||($s(h,r),l(h),e.set(h))},[e.set,c,n]),f=g.useCallback(()=>{l(t),$s(t,r),e.clear()},[e.clear,t]);return g.useEffect(()=>(e.subscribe(d),e.unsubscribe),[e.subscribe,e.unsubscribe]),Gl(()=>{$s(e.get(t),r)},[]),g.useEffect(()=>{var m;if(n)return $s(n,r),()=>{};n===void 0&&$s(a,r),typeof window<"u"&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));const h=w=>{a==="auto"&&$s(w.matches?"dark":"light",r)};return(m=i.current)==null||m.addEventListener("change",h),()=>{var w;return(w=i.current)==null?void 0:w.removeEventListener("change",h)}},[a,n]),{colorScheme:c,setColorScheme:d,clearColorScheme:f}}function Q5({respectReducedMotion:e,getRootElement:t}){Gl(()=>{var r;e&&((r=t())==null||r.setAttribute("data-respect-reduced-motion","true"))},[e])}Y5();function vR({theme:e,children:t,getStyleNonce:r,withStaticClasses:n=!0,withGlobalClasses:i=!0,deduplicateCssVariables:a=!0,withCssVariables:l=!0,cssVariablesSelector:c=":root",classNamesPrefix:d="mantine",colorSchemeManager:f=I5(),defaultColorScheme:h="light",getRootElement:m=()=>document.documentElement,cssVariablesResolver:w,forceColorScheme:v,stylesTransform:C,env:x}){const{colorScheme:R,setColorScheme:E,clearColorScheme:P}=X5({defaultColorScheme:h,forceColorScheme:v,manager:f,getRootElement:m});return Q5({respectReducedMotion:(e==null?void 0:e.respectReducedMotion)||!1,getRootElement:m}),b.jsx(Lg.Provider,{value:{colorScheme:R,setColorScheme:E,clearColorScheme:P,getRootElement:m,classNamesPrefix:d,getStyleNonce:r,cssVariablesResolver:w,cssVariablesSelector:c,withStaticClasses:n,stylesTransform:C,env:x},children:b.jsxs(hR,{theme:e,children:[l&&b.jsx(yR,{cssVariablesSelector:c,deduplicateCssVariables:a}),i&&b.jsx(B5,{}),t]})})}vR.displayName="@mantine/core/MantineProvider";function J5({classNames:e,styles:t,props:r,stylesCtx:n}){const i=Rn();return{resolvedClassNames:jd({theme:i,classNames:e,props:r,stylesCtx:n||void 0}),resolvedStyles:sd({theme:i,styles:t,props:r,stylesCtx:n||void 0})}}const Z5={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function e$({theme:e,options:t,unstyled:r}){return er((t==null?void 0:t.focusable)&&!r&&(e.focusClassName||Z5[e.focusRing]),(t==null?void 0:t.active)&&!r&&e.activeClassName)}function t$({selector:e,stylesCtx:t,options:r,props:n,theme:i}){return jd({theme:i,classNames:r==null?void 0:r.classNames,props:(r==null?void 0:r.props)||n,stylesCtx:t})[e]}function Jw({selector:e,stylesCtx:t,theme:r,classNames:n,props:i}){return jd({theme:r,classNames:n,props:i,stylesCtx:t})[e]}function r$({rootSelector:e,selector:t,className:r}){return e===t?r:void 0}function n$({selector:e,classes:t,unstyled:r}){return r?void 0:t[e]}function o$({themeName:e,classNamesPrefix:t,selector:r,withStaticClass:n}){return n===!1?[]:e?.map(i=>`${t}-${i}-${r}`)}function i$({themeName:e,theme:t,selector:r,props:n,stylesCtx:i}){return e?.map(a=>{var l,c;return(c=jd({theme:t,classNames:(l=t.components[a])==null?void 0:l.classNames,props:n,stylesCtx:i}))==null?void 0:c[r]})}function s$({options:e,classes:t,selector:r,unstyled:n}){return e!=null&&e.variant&&!n?t[`${r}--${e.variant}`]:void 0}function a$({theme:e,options:t,themeName:r,selector:n,classNamesPrefix:i,classNames:a,classes:l,unstyled:c,className:d,rootSelector:f,props:h,stylesCtx:m,withStaticClasses:w,headless:v,transformedStyles:C}){return er(e$({theme:e,options:t,unstyled:c||v}),i$({theme:e,themeName:r,selector:n,props:h,stylesCtx:m}),s$({options:t,classes:l,selector:n,unstyled:c}),Jw({selector:n,stylesCtx:m,theme:e,classNames:a,props:h}),Jw({selector:n,stylesCtx:m,theme:e,classNames:C,props:h}),t$({selector:n,stylesCtx:m,options:t,props:h,theme:e}),r$({rootSelector:f,selector:n,className:d}),n$({selector:n,classes:l,unstyled:c||v}),w&&!v&&o$({themeName:r,classNamesPrefix:i,selector:n,withStaticClass:t==null?void 0:t.withStaticClass}),t==null?void 0:t.className)}function l$({theme:e,themeName:t,props:r,stylesCtx:n,selector:i}){return t?.map(a=>{var l;return sd({theme:e,styles:(l=e.components[a])==null?void 0:l.styles,props:r,stylesCtx:n})[i]}).reduce((a,l)=>({...a,...l}),{})}function hh({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((r,n)=>({...r,...hh({style:n,theme:t})}),{}):typeof e=="function"?e(t):e??{}}function c$(e){return e.reduce((t,r)=>(r&&Object.keys(r).forEach(n=>{t[n]={...t[n],...Dg(r[n])}}),t),{})}function u$({vars:e,varsResolver:t,theme:r,props:n,stylesCtx:i,selector:a,themeName:l,headless:c}){var d;return(d=c$([c?{}:t==null?void 0:t(r,n,i),...l?.map(f=>{var h,m,w;return(w=(m=(h=r.components)==null?void 0:h[f])==null?void 0:m.vars)==null?void 0:w.call(m,r,n,i)}),e==null?void 0:e(r,n,i)]))==null?void 0:d[a]}function d$({theme:e,themeName:t,selector:r,options:n,props:i,stylesCtx:a,rootSelector:l,styles:c,style:d,vars:f,varsResolver:h,headless:m,withStylesTransform:w}){return{...!w&&l$({theme:e,themeName:t,props:i,stylesCtx:a,selector:r}),...!w&&sd({theme:e,styles:c,props:i,stylesCtx:a})[r],...!w&&sd({theme:e,styles:n==null?void 0:n.styles,props:(n==null?void 0:n.props)||i,stylesCtx:a})[r],...u$({theme:e,props:i,stylesCtx:a,vars:f,varsResolver:h,selector:r,themeName:t,headless:m}),...l===r?hh({style:d,theme:e}):null,...hh({style:n==null?void 0:n.style,theme:e})}}function f$({props:e,stylesCtx:t,themeName:r}){var l;const n=Rn(),i=(l=T5())==null?void 0:l();return{getTransformedStyles:c=>i?[...c?.map(f=>i(f,{props:e,theme:n,ctx:t})),...r?.map(f=>{var h;return i((h=n.components[f])==null?void 0:h.styles,{props:e,theme:n,ctx:t})})].filter(Boolean):[],withStylesTransform:!!i}}function $t({name:e,classes:t,props:r,stylesCtx:n,className:i,style:a,rootSelector:l="root",unstyled:c,classNames:d,styles:f,vars:h,varsResolver:m}){const w=Rn(),v=E5(),C=k5(),x=P5(),R=(Array.isArray(e)?e:[e]).filter(k=>k),{withStylesTransform:E,getTransformedStyles:P}=f$({props:r,stylesCtx:n,themeName:R});return(k,T)=>({className:a$({theme:w,options:T,themeName:R,selector:k,classNamesPrefix:v,classNames:d,classes:t,unstyled:c,className:i,rootSelector:l,props:r,stylesCtx:n,withStaticClasses:C,headless:x,transformedStyles:P([T==null?void 0:T.styles,f])}),style:d$({theme:w,themeName:R,selector:k,options:T,props:r,stylesCtx:n,rootSelector:l,styles:f,style:a,vars:h,varsResolver:m,headless:x,withStylesTransform:E})})}function Zw(e){const t=document.createElement("style");return t.setAttribute("data-mantine-styles","inline"),t.innerHTML="*, *::before, *::after {transition: none !important;}",t.setAttribute("data-mantine-disable-transition","true"),e&&t.setAttribute("nonce",e),document.head.appendChild(t),()=>document.querySelectorAll("[data-mantine-disable-transition]").forEach(n=>n.remove())}function bR({keepTransitions:e}={}){const t=g.useRef(o5),r=g.useRef(-1),n=g.useContext(Lg),i=Ld(),a=g.useRef(i==null?void 0:i());if(!n)throw new Error("[@mantine/core] MantineProvider was not found in tree");const l=m=>{n.setColorScheme(m),t.current=e?()=>{}:Zw(a.current),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{var w;(w=t.current)==null||w.call(t)},10)},c=()=>{n.clearColorScheme(),t.current=e?()=>{}:Zw(a.current),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{var m;(m=t.current)==null||m.call(t)},10)},d=l5("light",{getInitialValueInEffect:!1}),f=n.colorScheme==="auto"?d:n.colorScheme,h=g.useCallback(()=>l(f==="light"?"dark":"light"),[l,f]);return g.useEffect(()=>()=>{var m;(m=t.current)==null||m.call(t),window.clearTimeout(r.current)},[]),{colorScheme:n.colorScheme,setColorScheme:l,clearColorScheme:c,toggleColorScheme:h}}function Ue(e,t,r){var l;const n=Rn(),i=(l=n.components[e])==null?void 0:l.defaultProps,a=typeof i=="function"?i(n):i;return{...t,...a,...Dg(r)}}function Rm(e){return zn(e).reduce((t,r)=>e[r]!==void 0?`${t}${e5(r)}:${e[r]};`:t,"").trim()}function p$({selector:e,styles:t,media:r,container:n}){const i=t?Rm(t):"",a=Array.isArray(r)?r?.map(c=>`@media${c.query}{${e}{${Rm(c.styles)}}}`):[],l=Array.isArray(n)?n?.map(c=>`@container ${c.query}{${e}{${Rm(c.styles)}}}`):[];return`${i?`${e}{${i}}`:""}${a.join("")}${l.join("")}`.trim()}function m$(e){const t=Ld();return b.jsx("style",{"data-mantine-styles":"inline",nonce:t==null?void 0:t(),dangerouslySetInnerHTML:{__html:p$(e)}})}function $g(e){const{m:t,mx:r,my:n,mt:i,mb:a,ml:l,mr:c,me:d,ms:f,p:h,px:m,py:w,pt:v,pb:C,pl:x,pr:R,pe:E,ps:P,bd:k,bg:T,c:N,opacity:j,ff:M,fz:O,fw:B,lts:H,ta:Y,lh:ne,fs:te,tt:K,td:W,w:U,miw:z,maw:_,h:I,mih:L,mah:D,bgsz:V,bgp:ee,bgr:re,bga:oe,pos:ie,top:me,left:ue,bottom:pe,right:ve,inset:ge,display:Me,flex:ze,hiddenFrom:We,visibleFrom:Pt,lightHidden:tr,darkHidden:at,sx:dr,...rt}=e;return{styleProps:Dg({m:t,mx:r,my:n,mt:i,mb:a,ml:l,mr:c,me:d,ms:f,p:h,px:m,py:w,pt:v,pb:C,pl:x,pr:R,pe:E,ps:P,bd:k,bg:T,c:N,opacity:j,ff:M,fz:O,fw:B,lts:H,ta:Y,lh:ne,fs:te,tt:K,td:W,w:U,miw:z,maw:_,h:I,mih:L,mah:D,bgsz:V,bgp:ee,bgr:re,bga:oe,pos:ie,top:me,left:ue,bottom:pe,right:ve,inset:ge,display:Me,flex:ze,hiddenFrom:We,visibleFrom:Pt,lightHidden:tr,darkHidden:at,sx:dr}),rest:rt}}const h$={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"size",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};function zg(e,t){const r=Kl({color:e,theme:t});return r.color==="dimmed"?"var(--mantine-color-dimmed)":r.color==="bright"?"var(--mantine-color-bright)":r.variable?`var(${r.variable})`:r.color}function g$(e,t){const r=Kl({color:e,theme:t});return r.isThemeColor&&r.shade===void 0?`var(--mantine-color-${r.color}-text)`:zg(e,t)}function y$(e,t){if(typeof e=="number")return ce(e);if(typeof e=="string"){const[r,n,...i]=e.split(" ").filter(l=>l.trim()!=="");let a=`${ce(r)}`;return n&&(a+=` ${n}`),i.length>0&&(a+=` ${zg(i.join(" "),t)}`),a.trim()}return e}const eS={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function v$(e){return typeof e=="string"&&e in eS?eS[e]:e}const b$=["h1","h2","h3","h4","h5","h6"];function w$(e,t){return typeof e=="string"&&e in t.fontSizes?`var(--mantine-font-size-${e})`:typeof e=="string"&&b$.includes(e)?`var(--mantine-${e}-font-size)`:typeof e=="number"||typeof e=="string"?ce(e):e}function S$(e){return e}const x$=["h1","h2","h3","h4","h5","h6"];function C$(e,t){return typeof e=="string"&&e in t.lineHeights?`var(--mantine-line-height-${e})`:typeof e=="string"&&x$.includes(e)?`var(--mantine-${e}-line-height)`:e}function R$(e){return typeof e=="number"?ce(e):e}function E$(e,t){if(typeof e=="number")return ce(e);if(typeof e=="string"){const r=e.replace("-","");if(!(r in t.spacing))return ce(e);const n=`--mantine-spacing-${r}`;return e.startsWith("-")?`calc(var(${n}) * -1)`:`var(${n})`}return e}const Em={color:zg,textColor:g$,fontSize:w$,spacing:E$,identity:S$,size:R$,lineHeight:C$,fontFamily:v$,border:y$};function tS(e){return e.replace("(min-width: ","").replace("em)","")}function k$({media:e,...t}){const n=Object.keys(e).sort((i,a)=>Number(tS(i))-Number(tS(a)))?.map(i=>({query:i,styles:e[i]}));return{...t,media:n}}function P$(e){if(typeof e!="object"||e===null)return!1;const t=Object.keys(e);return!(t.length===1&&t[0]==="base")}function A$(e){return typeof e=="object"&&e!==null?"base"in e?e.base:void 0:e}function T$(e){return typeof e=="object"&&e!==null?zn(e).filter(t=>t!=="base"):[]}function N$(e,t){return typeof e=="object"&&e!==null&&t in e?e[t]:e}function D$({styleProps:e,data:t,theme:r}){return k$(zn(e).reduce((n,i)=>{if(i==="hiddenFrom"||i==="visibleFrom"||i==="sx")return n;const a=t[i],l=Array.isArray(a.property)?a.property:[a.property],c=A$(e[i]);if(!P$(e[i]))return l.forEach(f=>{n.inlineStyles[f]=Em[a.type](c,r)}),n;n.hasResponsiveStyles=!0;const d=T$(e[i]);return l.forEach(f=>{c&&(n.styles[f]=Em[a.type](c,r)),d.forEach(h=>{const m=`(min-width: ${r.breakpoints[h]})`;n.media[m]={...n.media[m],[f]:Em[a.type](N$(e[i],h),r)}})}),n},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function O$(){return`__m__-${g.useId().replace(/:/g,"")}`}function wR(e,t){return Array.isArray(e)?[...e].reduce((r,n)=>({...r,...wR(n,t)}),{}):typeof e=="function"?e(t):e??{}}function c7(e){return e}function SR(e){return e.startsWith("data-")?e:`data-${e}`}function _$(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return n===void 0||n===""||n===!1||n===null||(t[SR(r)]=e[r]),t},{})}function xR(e){return e?typeof e=="string"?{[SR(e)]:!0}:Array.isArray(e)?[...e].reduce((t,r)=>({...t,...xR(r)}),{}):_$(e):null}function gh(e,t){return Array.isArray(e)?[...e].reduce((r,n)=>({...r,...gh(n,t)}),{}):typeof e=="function"?e(t):e??{}}function M$({theme:e,style:t,vars:r,styleProps:n}){const i=gh(t,e),a=gh(r,e);return{...i,...a,...n}}const CR=g.forwardRef(({component:e,style:t,__vars:r,className:n,variant:i,mod:a,size:l,hiddenFrom:c,visibleFrom:d,lightHidden:f,darkHidden:h,renderRoot:m,__size:w,...v},C)=>{var O;const x=Rn(),R=e||"div",{styleProps:E,rest:P}=$g(v),k=A5(),T=(O=k==null?void 0:k())==null?void 0:O(E.sx),N=O$(),j=D$({styleProps:E,theme:x,data:h$}),M={ref:C,style:M$({theme:x,style:t,vars:r,styleProps:j.inlineStyles}),className:er(n,T,{[N]:j.hasResponsiveStyles,"mantine-light-hidden":f,"mantine-dark-hidden":h,[`mantine-hidden-from-${c}`]:c,[`mantine-visible-from-${d}`]:d}),"data-variant":i,"data-size":sR(l)?void 0:l||void 0,size:w,...xR(a),...P};return b.jsxs(b.Fragment,{children:[j.hasResponsiveStyles&&b.jsx(m$,{selector:`.${N}`,styles:j.styles,media:j.media}),typeof m=="function"?m(M):b.jsx(R,{...M})]})});CR.displayName="@mantine/core/Box";const Ve=CR;function RR(e){return e}function u7(e){const t=e;return r=>{const n=g.forwardRef((i,a)=>b.jsx(t,{...r,...i,ref:a}));return n.extend=t.extend,n.displayName=`WithProps(${t.displayName})`,n}}function st(e){const t=g.forwardRef(e);return t.extend=RR,t.withProps=r=>{const n=g.forwardRef((i,a)=>b.jsx(t,{...r,...i,ref:a}));return n.extend=t.extend,n.displayName=`WithProps(${t.displayName})`,n},t}function wa(e){const t=g.forwardRef(e);return t.withProps=r=>{const n=g.forwardRef((i,a)=>b.jsx(t,{...r,...i,ref:a}));return n.extend=t.extend,n.displayName=`WithProps(${t.displayName})`,n},t.extend=RR,t}const j$=g.createContext({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function Bg(){return g.useContext(j$)}function Fd(){return typeof window<"u"}function Sa(e){return ER(e)?(e.nodeName||"").toLowerCase():"#document"}function Tr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Kn(e){var t;return(t=(ER(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ER(e){return Fd()?e instanceof Node||e instanceof Tr(e).Node:!1}function it(e){return Fd()?e instanceof Element||e instanceof Tr(e).Element:!1}function nn(e){return Fd()?e instanceof HTMLElement||e instanceof Tr(e).HTMLElement:!1}function yh(e){return!Fd()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Tr(e).ShadowRoot}function Yl(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&i!=="inline"&&i!=="contents"}function L$(e){return/^(table|td|th)$/.test(Sa(e))}function Id(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const F$=/transform|translate|scale|rotate|perspective|filter/,I$=/paint|layout|strict|content/,_i=e=>!!e&&e!=="none";let km;function qg(e){const t=it(e)?en(e):e;return _i(t.transform)||_i(t.translate)||_i(t.scale)||_i(t.rotate)||_i(t.perspective)||!Ud()&&(_i(t.backdropFilter)||_i(t.filter))||F$.test(t.willChange||"")||I$.test(t.contain||"")}function U$(e){let t=bo(e);for(;nn(t)&&!pi(t);){if(qg(t))return t;if(Id(t))return null;t=bo(t)}return null}function Ud(){return km==null&&(km=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),km}function pi(e){return/^(html|body|#document)$/.test(Sa(e))}function en(e){return Tr(e).getComputedStyle(e)}function $d(e){return it(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bo(e){if(Sa(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yh(e)&&e.host||Kn(e);return yh(t)?t.host:t}function kR(e){const t=bo(e);return pi(t)?e.ownerDocument?e.ownerDocument.body:e.body:nn(t)&&Yl(t)?t:kR(t)}function ho(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const i=kR(e),a=i===((n=e.ownerDocument)==null?void 0:n.body),l=Tr(i);if(a){const c=vh(l);return t.concat(l,l.visualViewport||[],Yl(i)?i:[],c&&r?ho(c):[])}else return t.concat(i,ho(i,[],r))}function vh(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rS(e){let t=e.activeElement;for(;((r=t)==null||(r=r.shadowRoot)==null?void 0:r.activeElement)!=null;){var r;t=t.shadowRoot.activeElement}return t}function Tl(e,t){if(!e||!t)return!1;const r=t.getRootNode==null?void 0:t.getRootNode();if(e.contains(t))return!0;if(r&&yh(r)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function PR(){const e=navigator.userAgentData;return e!=null&&e.platform?e.platform:navigator.platform}function AR(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands?.map(t=>{let{brand:r,version:n}=t;return r+"/"+n}).join(" "):navigator.userAgent}function $$(e){return q$()?!1:!nS()&&e.width===0&&e.height===0||nS()&&e.width===1&&e.height===1&&e.pressure===0&&e.detail===0&&e.pointerType==="mouse"||e.width<1&&e.height<1&&e.pressure===0&&e.detail===0&&e.pointerType==="touch"}function z$(){return/apple/i.test(navigator.vendor)}function nS(){const e=/android/i;return e.test(PR())||e.test(AR())}function B$(){return PR().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function q$(){return AR().includes("jsdom/")}function bh(e,t){const r=["mouse","pen"];return r.push("",void 0),r.includes(e)}function V$(e){return"nativeEvent"in e}function H$(e){return e.matches("html,body")}function Ii(e){return(e==null?void 0:e.ownerDocument)||document}function Pm(e,t){if(t==null)return!1;if("composedPath"in e)return e.composedPath().includes(t);const r=e;return r.target!=null&&t.contains(r.target)}function Vs(e){return"composedPath"in e?e.composedPath()[0]:e.target}const W$="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";function G$(e){return nn(e)&&e.matches(W$)}const K$=["top","right","bottom","left"],Sn=Math.min,Zt=Math.max,ad=Math.round,Cu=Math.floor,Bn=e=>({x:e,y:e}),Y$={left:"right",right:"left",bottom:"top",top:"bottom"};function wh(e,t,r){return Zt(e,Sn(t,r))}function Wn(e,t){return typeof e=="function"?e(t):e}function xn(e){return e.split("-")[0]}function xa(e){return e.split("-")[1]}function Vg(e){return e==="x"?"y":"x"}function Hg(e){return e==="y"?"height":"width"}function vn(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function Wg(e){return Vg(vn(e))}function X$(e,t,r){r===void 0&&(r=!1);const n=xa(e),i=Wg(e),a=Hg(i);let l=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(l=ld(l)),[l,ld(l)]}function Q$(e){const t=ld(e);return[Sh(e),t,Sh(t)]}function Sh(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const oS=["left","right"],iS=["right","left"],J$=["top","bottom"],Z$=["bottom","top"];function ez(e,t,r){switch(e){case"top":case"bottom":return r?t?iS:oS:t?oS:iS;case"left":case"right":return t?J$:Z$;default:return[]}}function tz(e,t,r,n){const i=xa(e);let a=ez(xn(e),r==="start",n);return i&&(a=a?.map(l=>l+"-"+i),t&&(a=a.concat(a?.map(Sh)))),a}function ld(e){const t=xn(e);return Y$[t]+e.slice(t.length)}function rz(e){return{top:0,right:0,bottom:0,left:0,...e}}function Gg(e){return typeof e!="number"?rz(e):{top:e,right:e,bottom:e,left:e}}function fa(e){const{x:t,y:r,width:n,height:i}=e;return{width:n,height:i,top:r,left:t,right:t+n,bottom:r+i,x:t,y:r}}function sS(e,t,r){let{reference:n,floating:i}=e;const a=vn(t),l=Wg(t),c=Hg(l),d=xn(t),f=a==="y",h=n.x+n.width/2-i.width/2,m=n.y+n.height/2-i.height/2,w=n[c]/2-i[c]/2;let v;switch(d){case"top":v={x:h,y:n.y-i.height};break;case"bottom":v={x:h,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:m};break;case"left":v={x:n.x-i.width,y:m};break;default:v={x:n.x,y:n.y}}switch(xa(t)){case"start":v[l]-=w*(r&&f?-1:1);break;case"end":v[l]+=w*(r&&f?-1:1);break}return v}async function nz(e,t){var r;t===void 0&&(t={});const{x:n,y:i,platform:a,rects:l,elements:c,strategy:d}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:m="floating",altBoundary:w=!1,padding:v=0}=Wn(t,e),C=Gg(v),R=c[w?m==="floating"?"reference":"floating":m],E=fa(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(R)))==null||r?R:R.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:d})),P=m==="floating"?{x:n,y:i,width:l.floating.width,height:l.floating.height}:l.reference,k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(c.floating)),T=await(a.isElement==null?void 0:a.isElement(k))?await(a.getScale==null?void 0:a.getScale(k))||{x:1,y:1}:{x:1,y:1},N=fa(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:P,offsetParent:k,strategy:d}):P);return{top:(E.top-N.top+C.top)/T.y,bottom:(N.bottom-E.bottom+C.bottom)/T.y,left:(E.left-N.left+C.left)/T.x,right:(N.right-E.right+C.right)/T.x}}const oz=50,iz=async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:l}=r,c=l.detectOverflow?l:{...l,detectOverflow:nz},d=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:h,y:m}=sS(f,n,d),w=n,v=0;const C={};for(let x=0;x<a.length;x++){const R=a[x];if(!R)continue;const{name:E,fn:P}=R,{x:k,y:T,data:N,reset:j}=await P({x:h,y:m,initialPlacement:n,placement:w,strategy:i,middlewareData:C,rects:f,platform:c,elements:{reference:e,floating:t}});h=k??h,m=T??m,C[E]={...C[E],...N},j&&v<oz&&(v++,typeof j=="object"&&(j.placement&&(w=j.placement),j.rects&&(f=j.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):j.rects),{x:h,y:m}=sS(f,w,d)),x=-1)}return{x:h,y:m,placement:w,strategy:i,middlewareData:C}},sz=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:i,rects:a,platform:l,elements:c,middlewareData:d}=t,{element:f,padding:h=0}=Wn(e,t)||{};if(f==null)return{};const m=Gg(h),w={x:r,y:n},v=Wg(i),C=Hg(v),x=await l.getDimensions(f),R=v==="y",E=R?"top":"left",P=R?"bottom":"right",k=R?"clientHeight":"clientWidth",T=a.reference[C]+a.reference[v]-w[v]-a.floating[C],N=w[v]-a.reference[v],j=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let M=j?j[k]:0;(!M||!await(l.isElement==null?void 0:l.isElement(j)))&&(M=c.floating[k]||a.floating[C]);const O=T/2-N/2,B=M/2-x[C]/2-1,H=Sn(m[E],B),Y=Sn(m[P],B),ne=H,te=M-x[C]-Y,K=M/2-x[C]/2+O,W=wh(ne,K,te),U=!d.arrow&&xa(i)!=null&&K!==W&&a.reference[C]/2-(K<ne?H:Y)-x[C]/2<0,z=U?K<ne?K-ne:K-te:0;return{[v]:w[v]+z,data:{[v]:W,centerOffset:K-W-z,...U&&{alignmentOffset:z}},reset:U}}}),az=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:i,middlewareData:a,rects:l,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:h=!0,crossAxis:m=!0,fallbackPlacements:w,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:C="none",flipAlignment:x=!0,...R}=Wn(e,t);if((r=a.arrow)!=null&&r.alignmentOffset)return{};const E=xn(i),P=vn(c),k=xn(c)===c,T=await(d.isRTL==null?void 0:d.isRTL(f.floating)),N=w||(k||!x?[ld(c)]:Q$(c)),j=C!=="none";!w&&j&&N.push(...tz(c,x,C,T));const M=[c,...N],O=await d.detectOverflow(t,R),B=[];let H=((n=a.flip)==null?void 0:n.overflows)||[];if(h&&B.push(O[E]),m){const K=X$(i,l,T);B.push(O[K[0]],O[K[1]])}if(H=[...H,{placement:i,overflows:B}],!B.every(K=>K<=0)){var Y,ne;const K=(((Y=a.flip)==null?void 0:Y.index)||0)+1,W=M[K];if(W&&(!(m==="alignment"?P!==vn(W):!1)||H.every(_=>vn(_.placement)===P?_.overflows[0]>0:!0)))return{data:{index:K,overflows:H},reset:{placement:W}};let U=(ne=H.filter(z=>z.overflows[0]<=0).sort((z,_)=>z.overflows[1]-_.overflows[1])[0])==null?void 0:ne.placement;if(!U)switch(v){case"bestFit":{var te;const z=(te=H.filter(_=>{if(j){const I=vn(_.placement);return I===P||I==="y"}return!0})?.map(_=>[_.placement,_.overflows.filter(I=>I>0).reduce((I,L)=>I+L,0)]).sort((_,I)=>_[1]-I[1])[0])==null?void 0:te[0];z&&(U=z);break}case"initialPlacement":U=c;break}if(i!==U)return{reset:{placement:U}}}return{}}}};function aS(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function lS(e){return K$?.some(t=>e[t]>=0)}const lz=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r,platform:n}=t,{strategy:i="referenceHidden",...a}=Wn(e,t);switch(i){case"referenceHidden":{const l=await n.detectOverflow(t,{...a,elementContext:"reference"}),c=aS(l,r.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:lS(c)}}}case"escaped":{const l=await n.detectOverflow(t,{...a,altBoundary:!0}),c=aS(l,r.floating);return{data:{escapedOffsets:c,escaped:lS(c)}}}default:return{}}}}};function TR(e){const t=Sn(...e?.map(a=>a.left)),r=Sn(...e?.map(a=>a.top)),n=Zt(...e?.map(a=>a.right)),i=Zt(...e?.map(a=>a.bottom));return{x:t,y:r,width:n-t,height:i-r}}function cz(e){const t=e.slice().sort((i,a)=>i.y-a.y),r=[];let n=null;for(let i=0;i<t.length;i++){const a=t[i];!n||a.y-n.y>n.height/2?r.push([a]):r[r.length-1].push(a),n=a}return r?.map(i=>fa(TR(i)))}const uz=function(e){return e===void 0&&(e={}),{name:"inline",options:e,async fn(t){const{placement:r,elements:n,rects:i,platform:a,strategy:l}=t,{padding:c=2,x:d,y:f}=Wn(e,t),h=Array.from(await(a.getClientRects==null?void 0:a.getClientRects(n.reference))||[]),m=cz(h),w=fa(TR(h)),v=Gg(c);function C(){if(m.length===2&&m[0].left>m[1].right&&d!=null&&f!=null)return m.find(R=>d>R.left-v.left&&d<R.right+v.right&&f>R.top-v.top&&f<R.bottom+v.bottom)||w;if(m.length>=2){if(vn(r)==="y"){const H=m[0],Y=m[m.length-1],ne=xn(r)==="top",te=H.top,K=Y.bottom,W=ne?H.left:Y.left,U=ne?H.right:Y.right,z=U-W,_=K-te;return{top:te,bottom:K,left:W,right:U,width:z,height:_,x:W,y:te}}const R=xn(r)==="left",E=Zt(...m?.map(H=>H.right)),P=Sn(...m?.map(H=>H.left)),k=m.filter(H=>R?H.left===P:H.right===E),T=k[0].top,N=k[k.length-1].bottom,j=P,M=E,O=M-j,B=N-T;return{top:T,bottom:N,left:j,right:M,width:O,height:B,x:j,y:T}}return w}const x=await a.getElementRects({reference:{getBoundingClientRect:C},floating:n.floating,strategy:l});return i.reference.x!==x.reference.x||i.reference.y!==x.reference.y||i.reference.width!==x.reference.width||i.reference.height!==x.reference.height?{reset:{rects:x}}:{}}}},NR=new Set(["left","top"]);async function dz(e,t){const{placement:r,platform:n,elements:i}=e,a=await(n.isRTL==null?void 0:n.isRTL(i.floating)),l=xn(r),c=xa(r),d=vn(r)==="y",f=NR.has(l)?-1:1,h=a&&d?-1:1,m=Wn(t,e);let{mainAxis:w,crossAxis:v,alignmentAxis:C}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof C=="number"&&(v=c==="end"?C*-1:C),d?{x:v*h,y:w*f}:{x:w*f,y:v*h}}const fz=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:i,y:a,placement:l,middlewareData:c}=t,d=await dz(t,e);return l===((r=c.offset)==null?void 0:r.placement)&&(n=c.arrow)!=null&&n.alignmentOffset?{}:{x:i+d.x,y:a+d.y,data:{...d,placement:l}}}}},pz=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i,platform:a}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:d={fn:E=>{let{x:P,y:k}=E;return{x:P,y:k}}},...f}=Wn(e,t),h={x:r,y:n},m=await a.detectOverflow(t,f),w=vn(xn(i)),v=Vg(w);let C=h[v],x=h[w];if(l){const E=v==="y"?"top":"left",P=v==="y"?"bottom":"right",k=C+m[E],T=C-m[P];C=wh(k,C,T)}if(c){const E=w==="y"?"top":"left",P=w==="y"?"bottom":"right",k=x+m[E],T=x-m[P];x=wh(k,x,T)}const R=d.fn({...t,[v]:C,[w]:x});return{...R,data:{x:R.x-r,y:R.y-n,enabled:{[v]:l,[w]:c}}}}}},mz=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:i,rects:a,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:f=!0}=Wn(e,t),h={x:r,y:n},m=vn(i),w=Vg(m);let v=h[w],C=h[m];const x=Wn(c,t),R=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(d){const k=w==="y"?"height":"width",T=a.reference[w]-a.floating[k]+R.mainAxis,N=a.reference[w]+a.reference[k]-R.mainAxis;v<T?v=T:v>N&&(v=N)}if(f){var E,P;const k=w==="y"?"width":"height",T=NR.has(xn(i)),N=a.reference[m]-a.floating[k]+(T&&((E=l.offset)==null?void 0:E[m])||0)+(T?0:R.crossAxis),j=a.reference[m]+a.reference[k]+(T?0:((P=l.offset)==null?void 0:P[m])||0)-(T?R.crossAxis:0);C<N?C=N:C>j&&(C=j)}return{[w]:v,[m]:C}}}},hz=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:i,rects:a,platform:l,elements:c}=t,{apply:d=()=>{},...f}=Wn(e,t),h=await l.detectOverflow(t,f),m=xn(i),w=xa(i),v=vn(i)==="y",{width:C,height:x}=a.floating;let R,E;m==="top"||m==="bottom"?(R=m,E=w===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?"start":"end")?"left":"right"):(E=m,R=w==="end"?"top":"bottom");const P=x-h.top-h.bottom,k=C-h.left-h.right,T=Sn(x-h[R],P),N=Sn(C-h[E],k),j=!t.middlewareData.shift;let M=T,O=N;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(O=k),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(M=P),j&&!w){const H=Zt(h.left,0),Y=Zt(h.right,0),ne=Zt(h.top,0),te=Zt(h.bottom,0);v?O=C-2*(H!==0||Y!==0?H+Y:Zt(h.left,h.right)):M=x-2*(ne!==0||te!==0?ne+te:Zt(h.top,h.bottom))}await d({...t,availableWidth:O,availableHeight:M});const B=await l.getDimensions(c.floating);return C!==B.width||x!==B.height?{reset:{rects:!0}}:{}}}};function DR(e){const t=en(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const i=nn(e),a=i?e.offsetWidth:r,l=i?e.offsetHeight:n,c=ad(r)!==a||ad(n)!==l;return c&&(r=a,n=l),{width:r,height:n,$:c}}function Kg(e){return it(e)?e:e.contextElement}function Ys(e){const t=Kg(e);if(!nn(t))return Bn(1);const r=t.getBoundingClientRect(),{width:n,height:i,$:a}=DR(t);let l=(a?ad(r.width):r.width)/n,c=(a?ad(r.height):r.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const gz=Bn(0);function OR(e){const t=Tr(e);return!Ud()||!t.visualViewport?gz:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function yz(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Tr(e)?!1:t}function os(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),a=Kg(e);let l=Bn(1);t&&(n?it(n)&&(l=Ys(n)):l=Ys(e));const c=yz(a,r,n)?OR(a):Bn(0);let d=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,h=i.width/l.x,m=i.height/l.y;if(a){const w=Tr(a),v=n&&it(n)?Tr(n):n;let C=w,x=vh(C);for(;x&&n&&v!==C;){const R=Ys(x),E=x.getBoundingClientRect(),P=en(x),k=E.left+(x.clientLeft+parseFloat(P.paddingLeft))*R.x,T=E.top+(x.clientTop+parseFloat(P.paddingTop))*R.y;d*=R.x,f*=R.y,h*=R.x,m*=R.y,d+=k,f+=T,C=Tr(x),x=vh(C)}}return fa({width:h,height:m,x:d,y:f})}function zd(e,t){const r=$d(e).scrollLeft;return t?t.left+r:os(Kn(e)).left+r}function _R(e,t){const r=e.getBoundingClientRect(),n=r.left+t.scrollLeft-zd(e,r),i=r.top+t.scrollTop;return{x:n,y:i}}function vz(e){let{elements:t,rect:r,offsetParent:n,strategy:i}=e;const a=i==="fixed",l=Kn(n),c=t?Id(t.floating):!1;if(n===l||c&&a)return r;let d={scrollLeft:0,scrollTop:0},f=Bn(1);const h=Bn(0),m=nn(n);if((m||!m&&!a)&&((Sa(n)!=="body"||Yl(l))&&(d=$d(n)),m)){const v=os(n);f=Ys(n),h.x=v.x+n.clientLeft,h.y=v.y+n.clientTop}const w=l&&!m&&!a?_R(l,d):Bn(0);return{width:r.width*f.x,height:r.height*f.y,x:r.x*f.x-d.scrollLeft*f.x+h.x+w.x,y:r.y*f.y-d.scrollTop*f.y+h.y+w.y}}function bz(e){return Array.from(e.getClientRects())}function wz(e){const t=Kn(e),r=$d(e),n=e.ownerDocument.body,i=Zt(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Zt(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-r.scrollLeft+zd(e);const c=-r.scrollTop;return en(n).direction==="rtl"&&(l+=Zt(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:l,y:c}}const cS=25;function Sz(e,t){const r=Tr(e),n=Kn(e),i=r.visualViewport;let a=n.clientWidth,l=n.clientHeight,c=0,d=0;if(i){a=i.width,l=i.height;const h=Ud();(!h||h&&t==="fixed")&&(c=i.offsetLeft,d=i.offsetTop)}const f=zd(n);if(f<=0){const h=n.ownerDocument,m=h.body,w=getComputedStyle(m),v=h.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,C=Math.abs(n.clientWidth-m.clientWidth-v);C<=cS&&(a-=C)}else f<=cS&&(a+=f);return{width:a,height:l,x:c,y:d}}function xz(e,t){const r=os(e,!0,t==="fixed"),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=nn(e)?Ys(e):Bn(1),l=e.clientWidth*a.x,c=e.clientHeight*a.y,d=i*a.x,f=n*a.y;return{width:l,height:c,x:d,y:f}}function uS(e,t,r){let n;if(t==="viewport")n=Sz(e,r);else if(t==="document")n=wz(Kn(e));else if(it(t))n=xz(t,r);else{const i=OR(e);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return fa(n)}function MR(e,t){const r=bo(e);return r===t||!it(r)||pi(r)?!1:en(r).position==="fixed"||MR(r,t)}function Cz(e,t){const r=t.get(e);if(r)return r;let n=ho(e,[],!1).filter(c=>it(c)&&Sa(c)!=="body"),i=null;const a=en(e).position==="fixed";let l=a?bo(e):e;for(;it(l)&&!pi(l);){const c=en(l),d=qg(l);!d&&c.position==="fixed"&&(i=null),(a?!d&&!i:!d&&c.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||Yl(l)&&!d&&MR(e,l))?n=n.filter(h=>h!==l):i=c,l=bo(l)}return t.set(e,n),n}function Rz(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const l=[...r==="clippingAncestors"?Id(t)?[]:Cz(t,this._c):[].concat(r),n],c=uS(t,l[0],i);let d=c.top,f=c.right,h=c.bottom,m=c.left;for(let w=1;w<l.length;w++){const v=uS(t,l[w],i);d=Zt(v.top,d),f=Sn(v.right,f),h=Sn(v.bottom,h),m=Zt(v.left,m)}return{width:f-m,height:h-d,x:m,y:d}}function Ez(e){const{width:t,height:r}=DR(e);return{width:t,height:r}}function kz(e,t,r){const n=nn(t),i=Kn(t),a=r==="fixed",l=os(e,!0,a,t);let c={scrollLeft:0,scrollTop:0};const d=Bn(0);function f(){d.x=zd(i)}if(n||!n&&!a)if((Sa(t)!=="body"||Yl(i))&&(c=$d(t)),n){const v=os(t,!0,a,t);d.x=v.x+t.clientLeft,d.y=v.y+t.clientTop}else i&&f();a&&!n&&i&&f();const h=i&&!n&&!a?_R(i,c):Bn(0),m=l.left+c.scrollLeft-d.x-h.x,w=l.top+c.scrollTop-d.y-h.y;return{x:m,y:w,width:l.width,height:l.height}}function Am(e){return en(e).position==="static"}function dS(e,t){if(!nn(e)||en(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Kn(e)===r&&(r=r.ownerDocument.body),r}function jR(e,t){const r=Tr(e);if(Id(e))return r;if(!nn(e)){let i=bo(e);for(;i&&!pi(i);){if(it(i)&&!Am(i))return i;i=bo(i)}return r}let n=dS(e,t);for(;n&&L$(n)&&Am(n);)n=dS(n,t);return n&&pi(n)&&Am(n)&&!qg(n)?r:n||U$(e)||r}const Pz=async function(e){const t=this.getOffsetParent||jR,r=this.getDimensions,n=await r(e.floating);return{reference:kz(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Az(e){return en(e).direction==="rtl"}const Tz={convertOffsetParentRelativeRectToViewportRelativeRect:vz,getDocumentElement:Kn,getClippingRect:Rz,getOffsetParent:jR,getElementRects:Pz,getClientRects:bz,getDimensions:Ez,getScale:Ys,isElement:it,isRTL:Az};function LR(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nz(e,t){let r=null,n;const i=Kn(e);function a(){var c;clearTimeout(n),(c=r)==null||c.disconnect(),r=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),a();const f=e.getBoundingClientRect(),{left:h,top:m,width:w,height:v}=f;if(c||t(),!w||!v)return;const C=Cu(m),x=Cu(i.clientWidth-(h+w)),R=Cu(i.clientHeight-(m+v)),E=Cu(h),k={rootMargin:-C+"px "+-x+"px "+-R+"px "+-E+"px",threshold:Zt(0,Sn(1,d))||1};let T=!0;function N(j){const M=j[0].intersectionRatio;if(M!==d){if(!T)return l();M?l(!1,M):n=setTimeout(()=>{l(!1,1e-7)},1e3)}M===1&&!LR(f,e.getBoundingClientRect())&&l(),T=!1}try{r=new IntersectionObserver(N,{...k,root:i.ownerDocument})}catch{r=new IntersectionObserver(N,k)}r.observe(e)}return l(!0),a}function FR(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=n,f=Kg(e),h=i||a?[...f?ho(f):[],...t?ho(t):[]]:[];h.forEach(E=>{i&&E.addEventListener("scroll",r,{passive:!0}),a&&E.addEventListener("resize",r)});const m=f&&c?Nz(f,r):null;let w=-1,v=null;l&&(v=new ResizeObserver(E=>{let[P]=E;P&&P.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var k;(k=v)==null||k.observe(t)})),r()}),f&&!d&&v.observe(f),t&&v.observe(t));let C,x=d?os(e):null;d&&R();function R(){const E=os(e);x&&!LR(x,E)&&r(),x=E,C=requestAnimationFrame(R)}return r(),()=>{var E;h.forEach(P=>{i&&P.removeEventListener("scroll",r),a&&P.removeEventListener("resize",r)}),m==null||m(),(E=v)==null||E.disconnect(),v=null,d&&cancelAnimationFrame(C)}}const Dz=fz,Oz=pz,_z=az,Mz=hz,jz=lz,fS=sz,Lz=uz,Fz=mz,Iz=(e,t,r)=>{const n=new Map,i={platform:Tz,...r},a={...i.platform,_c:n};return iz(e,t,{...i,platform:a})};var Uz=typeof document<"u",$z=function(){},Bu=Uz?g.useLayoutEffect:$z;function cd(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let r,n,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!cd(e[n],t[n]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,i[n]))return!1;for(n=r;n--!==0;){const a=i[n];if(!(a==="_owner"&&e.$$typeof)&&!cd(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function IR(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function pS(e,t){const r=IR(e);return Math.round(t*r)/r}function Tm(e){const t=g.useRef(e);return Bu(()=>{t.current=e}),t}function UR(e){e===void 0&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:i,elements:{reference:a,floating:l}={},transform:c=!0,whileElementsMounted:d,open:f}=e,[h,m]=g.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[w,v]=g.useState(n);cd(w,n)||v(n);const[C,x]=g.useState(null),[R,E]=g.useState(null),P=g.useCallback(_=>{_!==j.current&&(j.current=_,x(_))},[]),k=g.useCallback(_=>{_!==M.current&&(M.current=_,E(_))},[]),T=a||C,N=l||R,j=g.useRef(null),M=g.useRef(null),O=g.useRef(h),B=d!=null,H=Tm(d),Y=Tm(i),ne=Tm(f),te=g.useCallback(()=>{if(!j.current||!M.current)return;const _={placement:t,strategy:r,middleware:w};Y.current&&(_.platform=Y.current),Iz(j.current,M.current,_).then(I=>{const L={...I,isPositioned:ne.current!==!1};K.current&&!cd(O.current,L)&&(O.current=L,Bl.flushSync(()=>{m(L)}))})},[w,t,r,Y,ne]);Bu(()=>{f===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,m(_=>({..._,isPositioned:!1})))},[f]);const K=g.useRef(!1);Bu(()=>(K.current=!0,()=>{K.current=!1}),[]),Bu(()=>{if(T&&(j.current=T),N&&(M.current=N),T&&N){if(H.current)return H.current(T,N,te);te()}},[T,N,te,H,B]);const W=g.useMemo(()=>({reference:j,floating:M,setReference:P,setFloating:k}),[P,k]),U=g.useMemo(()=>({reference:T,floating:N}),[T,N]),z=g.useMemo(()=>{const _={position:r,left:0,top:0};if(!U.floating)return _;const I=pS(U.floating,h.x),L=pS(U.floating,h.y);return c?{..._,transform:"translate("+I+"px, "+L+"px)",...IR(U.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:I,top:L}},[r,c,U.floating,h.x,h.y]);return g.useMemo(()=>({...h,update:te,refs:W,elements:U,floatingStyles:z}),[h,te,W,U,z])}const zz=e=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:n,padding:i}=typeof e=="function"?e(r):e;return n&&t(n)?n.current!=null?fS({element:n.current,padding:i}).fn(r):{}:n?fS({element:n,padding:i}).fn(r):{}}}},$R=(e,t)=>{const r=Dz(e);return{name:r.name,fn:r.fn,options:[e,t]}},Yg=(e,t)=>{const r=Oz(e);return{name:r.name,fn:r.fn,options:[e,t]}},Bz=(e,t)=>({fn:Fz(e).fn,options:[e,t]}),xh=(e,t)=>{const r=_z(e);return{name:r.name,fn:r.fn,options:[e,t]}},qz=(e,t)=>{const r=Mz(e);return{name:r.name,fn:r.fn,options:[e,t]}},Vz=(e,t)=>{const r=jz(e);return{name:r.name,fn:r.fn,options:[e,t]}},Nm=(e,t)=>{const r=Lz(e);return{name:r.name,fn:r.fn,options:[e,t]}},zR=(e,t)=>{const r=zz(e);return{name:r.name,fn:r.fn,options:[e,t]}};function Hz(e){return g.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})},e)}const BR={...wd},Wz=BR.useInsertionEffect,Gz=Wz||(e=>e());function po(e){const t=g.useRef(()=>{});return Gz(()=>{t.current=e}),g.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current==null?void 0:t.current(...n)},[])}var qn=typeof document<"u"?g.useLayoutEffect:g.useEffect;let mS=!1,Kz=0;const hS=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+Kz++;function Yz(){const[e,t]=g.useState(()=>mS?hS():void 0);return qn(()=>{e==null&&t(hS())},[]),g.useEffect(()=>{mS=!0},[]),e}const Xz=BR.useId,qR=Xz||Yz;function Qz(){const e=new Map;return{emit(t,r){var n;(n=e.get(t))==null||n.forEach(i=>i(r))},on(t,r){e.set(t,[...e.get(t)||[],r])},off(t,r){var n;e.set(t,((n=e.get(t))==null?void 0:n.filter(i=>i!==r))||[])}}}const Jz=g.createContext(null),Zz=g.createContext(null),Xg=()=>{var e;return((e=g.useContext(Jz))==null?void 0:e.id)||null},Qg=()=>g.useContext(Zz);function Jg(e){return"data-floating-ui-"+e}function Dm(e){const t=g.useRef(e);return qn(()=>{t.current=e}),t}const gS=Jg("safe-polygon");function qu(e,t,r){return r&&!bh(r)?0:typeof e=="number"?e:e==null?void 0:e[t]}function e3(e,t){t===void 0&&(t={});const{open:r,onOpenChange:n,dataRef:i,events:a,elements:l}=e,{enabled:c=!0,delay:d=0,handleClose:f=null,mouseOnly:h=!1,restMs:m=0,move:w=!0}=t,v=Qg(),C=Xg(),x=Dm(f),R=Dm(d),E=Dm(r),P=g.useRef(),k=g.useRef(-1),T=g.useRef(),N=g.useRef(-1),j=g.useRef(!0),M=g.useRef(!1),O=g.useRef(()=>{}),B=g.useRef(!1),H=g.useCallback(()=>{var z;const _=(z=i.current.openEvent)==null?void 0:z.type;return(_==null?void 0:_.includes("mouse"))&&_!=="mousedown"},[i]);g.useEffect(()=>{if(!c)return;function z(_){let{open:I}=_;I||(clearTimeout(k.current),clearTimeout(N.current),j.current=!0,B.current=!1)}return a.on("openchange",z),()=>{a.off("openchange",z)}},[c,a]),g.useEffect(()=>{if(!c||!x.current||!r)return;function z(I){H()&&n(!1,I,"hover")}const _=Ii(l.floating).documentElement;return _.addEventListener("mouseleave",z),()=>{_.removeEventListener("mouseleave",z)}},[l.floating,r,n,c,x,H]);const Y=g.useCallback(function(z,_,I){_===void 0&&(_=!0),I===void 0&&(I="hover");const L=qu(R.current,"close",P.current);L&&!T.current?(clearTimeout(k.current),k.current=window.setTimeout(()=>n(!1,z,I),L)):_&&(clearTimeout(k.current),n(!1,z,I))},[R,n]),ne=po(()=>{O.current(),T.current=void 0}),te=po(()=>{if(M.current){const z=Ii(l.floating).body;z.style.pointerEvents="",z.removeAttribute(gS),M.current=!1}}),K=po(()=>i.current.openEvent?["click","mousedown"].includes(i.current.openEvent.type):!1);g.useEffect(()=>{if(!c)return;function z(D){if(clearTimeout(k.current),j.current=!1,h&&!bh(P.current)||m>0&&!qu(R.current,"open"))return;const V=qu(R.current,"open",P.current);V?k.current=window.setTimeout(()=>{E.current||n(!0,D,"hover")},V):r||n(!0,D,"hover")}function _(D){if(K())return;O.current();const V=Ii(l.floating);if(clearTimeout(N.current),B.current=!1,x.current&&i.current.floatingContext){r||clearTimeout(k.current),T.current=x.current({...i.current.floatingContext,tree:v,x:D.clientX,y:D.clientY,onClose(){te(),ne(),K()||Y(D,!0,"safe-polygon")}});const re=T.current;V.addEventListener("mousemove",re),O.current=()=>{V.removeEventListener("mousemove",re)};return}(P.current==="touch"?!Tl(l.floating,D.relatedTarget):!0)&&Y(D)}function I(D){K()||i.current.floatingContext&&(x.current==null||x.current({...i.current.floatingContext,tree:v,x:D.clientX,y:D.clientY,onClose(){te(),ne(),K()||Y(D)}})(D))}if(it(l.domReference)){var L;const D=l.domReference;return r&&D.addEventListener("mouseleave",I),(L=l.floating)==null||L.addEventListener("mouseleave",I),w&&D.addEventListener("mousemove",z,{once:!0}),D.addEventListener("mouseenter",z),D.addEventListener("mouseleave",_),()=>{var V;r&&D.removeEventListener("mouseleave",I),(V=l.floating)==null||V.removeEventListener("mouseleave",I),w&&D.removeEventListener("mousemove",z),D.removeEventListener("mouseenter",z),D.removeEventListener("mouseleave",_)}}},[l,c,e,h,m,w,Y,ne,te,n,r,E,v,R,x,i,K]),qn(()=>{var z;if(c&&r&&(z=x.current)!=null&&z.__options.blockPointerEvents&&H()){M.current=!0;const I=l.floating;if(it(l.domReference)&&I){var _;const L=Ii(l.floating).body;L.setAttribute(gS,"");const D=l.domReference,V=v==null||(_=v.nodesRef.current.find(ee=>ee.id===C))==null||(_=_.context)==null?void 0:_.elements.floating;return V&&(V.style.pointerEvents=""),L.style.pointerEvents="none",D.style.pointerEvents="auto",I.style.pointerEvents="auto",()=>{L.style.pointerEvents="",D.style.pointerEvents="",I.style.pointerEvents=""}}}},[c,r,C,l,v,x,H]),qn(()=>{r||(P.current=void 0,B.current=!1,ne(),te())},[r,ne,te]),g.useEffect(()=>()=>{ne(),clearTimeout(k.current),clearTimeout(N.current),te()},[c,l.domReference,ne,te]);const W=g.useMemo(()=>{function z(_){P.current=_.pointerType}return{onPointerDown:z,onPointerEnter:z,onMouseMove(_){const{nativeEvent:I}=_;function L(){!j.current&&!E.current&&n(!0,I,"hover")}h&&!bh(P.current)||r||m===0||B.current&&_.movementX**2+_.movementY**2<2||(clearTimeout(N.current),P.current==="touch"?L():(B.current=!0,N.current=window.setTimeout(L,m)))}}},[h,n,r,E,m]),U=g.useMemo(()=>({onMouseEnter(){clearTimeout(k.current)},onMouseLeave(z){K()||Y(z.nativeEvent,!1)}}),[Y,K]);return g.useMemo(()=>c?{reference:W,floating:U}:{},[c,W,U])}const Ch=()=>{},VR=g.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:Ch,setState:Ch,isInstantPhase:!1}),t3=()=>g.useContext(VR);function r3(e){const{children:t,delay:r,timeoutMs:n=0}=e,[i,a]=g.useReducer((d,f)=>({...d,...f}),{delay:r,timeoutMs:n,initialDelay:r,currentId:null,isInstantPhase:!1}),l=g.useRef(null),c=g.useCallback(d=>{a({currentId:d})},[]);return qn(()=>{i.currentId?l.current===null?l.current=i.currentId:i.isInstantPhase||a({isInstantPhase:!0}):(i.isInstantPhase&&a({isInstantPhase:!1}),l.current=null)},[i.currentId,i.isInstantPhase]),g.createElement(VR.Provider,{value:g.useMemo(()=>({...i,setState:a,setCurrentId:c}),[i,c])},t)}function n3(e,t){t===void 0&&(t={});const{open:r,onOpenChange:n,floatingId:i}=e,{id:a,enabled:l=!0}=t,c=a??i,d=t3(),{currentId:f,setCurrentId:h,initialDelay:m,setState:w,timeoutMs:v}=d;return qn(()=>{l&&f&&(w({delay:{open:1,close:qu(m,"close")}}),f!==c&&n(!1))},[l,c,n,w,f,m]),qn(()=>{function C(){n(!1),w({delay:m,currentId:null})}if(l&&f&&!r&&f===c){if(v){const x=window.setTimeout(C,v);return()=>{clearTimeout(x)}}C()}},[l,r,w,f,c,n,m,v]),qn(()=>{l&&(h===Ch||!r||h(c))},[l,r,h,c]),d}function Om(e,t){let r=e.filter(i=>{var a;return i.parentId===t&&((a=i.context)==null?void 0:a.open)}),n=r;for(;n.length;)n=e.filter(i=>{var a;return(a=n)==null?void 0:a?.some(l=>{var c;return i.parentId===l.id&&((c=i.context)==null?void 0:c.open)})}),r=r.concat(n);return r}const o3="data-floating-ui-focusable",i3={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},s3={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},yS=e=>{var t,r;return{escapeKey:typeof e=="boolean"?e:(t=e==null?void 0:e.escapeKey)!=null?t:!1,outsidePress:typeof e=="boolean"?e:(r=e==null?void 0:e.outsidePress)!=null?r:!0}};function a3(e,t){t===void 0&&(t={});const{open:r,onOpenChange:n,elements:i,dataRef:a}=e,{enabled:l=!0,escapeKey:c=!0,outsidePress:d=!0,outsidePressEvent:f="pointerdown",referencePress:h=!1,referencePressEvent:m="pointerdown",ancestorScroll:w=!1,bubbles:v,capture:C}=t,x=Qg(),R=po(typeof d=="function"?d:()=>!1),E=typeof d=="function"?R:d,P=g.useRef(!1),k=g.useRef(!1),{escapeKey:T,outsidePress:N}=yS(v),{escapeKey:j,outsidePress:M}=yS(C),O=g.useRef(!1),B=po(W=>{var U;if(!r||!l||!c||W.key!=="Escape"||O.current)return;const z=(U=a.current.floatingContext)==null?void 0:U.nodeId,_=x?Om(x.nodesRef.current,z):[];if(!T&&(W.stopPropagation(),_.length>0)){let I=!0;if(_.forEach(L=>{var D;if((D=L.context)!=null&&D.open&&!L.context.dataRef.current.__escapeKeyBubbles){I=!1;return}}),!I)return}n(!1,V$(W)?W.nativeEvent:W,"escape-key")}),H=po(W=>{var U;const z=()=>{var _;B(W),(_=Vs(W))==null||_.removeEventListener("keydown",z)};(U=Vs(W))==null||U.addEventListener("keydown",z)}),Y=po(W=>{var U;const z=P.current;P.current=!1;const _=k.current;if(k.current=!1,f==="click"&&_||z||typeof E=="function"&&!E(W))return;const I=Vs(W),L="["+Jg("inert")+"]",D=Ii(i.floating).querySelectorAll(L);let V=it(I)?I:null;for(;V&&!pi(V);){const ie=bo(V);if(pi(ie)||!it(ie))break;V=ie}if(D.length&&it(I)&&!H$(I)&&!Tl(I,i.floating)&&Array.from(D).every(ie=>!Tl(V,ie)))return;if(nn(I)&&K){const ie=I.clientWidth>0&&I.scrollWidth>I.clientWidth,me=I.clientHeight>0&&I.scrollHeight>I.clientHeight;let ue=me&&W.offsetX>I.clientWidth;if(me&&en(I).direction==="rtl"&&(ue=W.offsetX<=I.offsetWidth-I.clientWidth),ue||ie&&W.offsetY>I.clientHeight)return}const ee=(U=a.current.floatingContext)==null?void 0:U.nodeId,re=x&&Om(x.nodesRef.current,ee)?.some(ie=>{var me;return Pm(W,(me=ie.context)==null?void 0:me.elements.floating)});if(Pm(W,i.floating)||Pm(W,i.domReference)||re)return;const oe=x?Om(x.nodesRef.current,ee):[];if(oe.length>0){let ie=!0;if(oe.forEach(me=>{var ue;if((ue=me.context)!=null&&ue.open&&!me.context.dataRef.current.__outsidePressBubbles){ie=!1;return}}),!ie)return}n(!1,W,"outside-press")}),ne=po(W=>{var U;const z=()=>{var _;Y(W),(_=Vs(W))==null||_.removeEventListener(f,z)};(U=Vs(W))==null||U.addEventListener(f,z)});g.useEffect(()=>{if(!r||!l)return;a.current.__escapeKeyBubbles=T,a.current.__outsidePressBubbles=N;let W=-1;function U(D){n(!1,D,"ancestor-scroll")}function z(){window.clearTimeout(W),O.current=!0}function _(){W=window.setTimeout(()=>{O.current=!1},Ud()?5:0)}const I=Ii(i.floating);c&&(I.addEventListener("keydown",j?H:B,j),I.addEventListener("compositionstart",z),I.addEventListener("compositionend",_)),E&&I.addEventListener(f,M?ne:Y,M);let L=[];return w&&(it(i.domReference)&&(L=ho(i.domReference)),it(i.floating)&&(L=L.concat(ho(i.floating))),!it(i.reference)&&i.reference&&i.reference.contextElement&&(L=L.concat(ho(i.reference.contextElement)))),L=L.filter(D=>{var V;return D!==((V=I.defaultView)==null?void 0:V.visualViewport)}),L.forEach(D=>{D.addEventListener("scroll",U,{passive:!0})}),()=>{c&&(I.removeEventListener("keydown",j?H:B,j),I.removeEventListener("compositionstart",z),I.removeEventListener("compositionend",_)),E&&I.removeEventListener(f,M?ne:Y,M),L.forEach(D=>{D.removeEventListener("scroll",U)}),window.clearTimeout(W)}},[a,i,c,E,f,r,n,w,l,T,N,B,j,H,Y,M,ne]),g.useEffect(()=>{P.current=!1},[E,f]);const te=g.useMemo(()=>({onKeyDown:B,[i3[m]]:W=>{h&&n(!1,W.nativeEvent,"reference-press")}}),[B,n,h,m]),K=g.useMemo(()=>({onKeyDown:B,onMouseDown(){k.current=!0},onMouseUp(){k.current=!0},[s3[f]]:()=>{P.current=!0}}),[B,f]);return g.useMemo(()=>l?{reference:te,floating:K}:{},[l,te,K])}function l3(e){const{open:t=!1,onOpenChange:r,elements:n}=e,i=qR(),a=g.useRef({}),[l]=g.useState(()=>Qz()),c=Xg()!=null,[d,f]=g.useState(n.reference),h=po((v,C,x)=>{a.current.openEvent=v?C:void 0,l.emit("openchange",{open:v,event:C,reason:x,nested:c}),r==null||r(v,C,x)}),m=g.useMemo(()=>({setPositionReference:f}),[]),w=g.useMemo(()=>({reference:d||n.reference||null,floating:n.floating||null,domReference:n.reference}),[d,n.reference,n.floating]);return g.useMemo(()=>({dataRef:a,open:t,onOpenChange:h,elements:w,events:l,floatingId:i,refs:m}),[t,h,w,l,i,m])}function HR(e){e===void 0&&(e={});const{nodeId:t}=e,r=l3({...e,elements:{reference:null,floating:null,...e.elements}}),n=e.rootContext||r,i=n.elements,[a,l]=g.useState(null),[c,d]=g.useState(null),h=(i==null?void 0:i.domReference)||a,m=g.useRef(null),w=Qg();qn(()=>{h&&(m.current=h)},[h]);const v=UR({...e,elements:{...i,...c&&{reference:c}}}),C=g.useCallback(k=>{const T=it(k)?{getBoundingClientRect:()=>k.getBoundingClientRect(),contextElement:k}:k;d(T),v.refs.setReference(T)},[v.refs]),x=g.useCallback(k=>{(it(k)||k===null)&&(m.current=k,l(k)),(it(v.refs.reference.current)||v.refs.reference.current===null||k!==null&&!it(k))&&v.refs.setReference(k)},[v.refs]),R=g.useMemo(()=>({...v.refs,setReference:x,setPositionReference:C,domReference:m}),[v.refs,x,C]),E=g.useMemo(()=>({...v.elements,domReference:h}),[v.elements,h]),P=g.useMemo(()=>({...v,...n,refs:R,elements:E,nodeId:t}),[v,R,E,t,n]);return qn(()=>{n.dataRef.current.floatingContext=P;const k=w==null?void 0:w.nodesRef.current.find(T=>T.id===t);k&&(k.context=P)}),g.useMemo(()=>({...v,context:P,refs:R,elements:E}),[v,R,E,P])}function c3(e,t){t===void 0&&(t={});const{open:r,onOpenChange:n,events:i,dataRef:a,elements:l}=e,{enabled:c=!0,visibleOnly:d=!0}=t,f=g.useRef(!1),h=g.useRef(),m=g.useRef(!0);g.useEffect(()=>{if(!c)return;const v=Tr(l.domReference);function C(){!r&&nn(l.domReference)&&l.domReference===rS(Ii(l.domReference))&&(f.current=!0)}function x(){m.current=!0}return v.addEventListener("blur",C),v.addEventListener("keydown",x,!0),()=>{v.removeEventListener("blur",C),v.removeEventListener("keydown",x,!0)}},[l.domReference,r,c]),g.useEffect(()=>{if(!c)return;function v(C){let{reason:x}=C;(x==="reference-press"||x==="escape-key")&&(f.current=!0)}return i.on("openchange",v),()=>{i.off("openchange",v)}},[i,c]),g.useEffect(()=>()=>{clearTimeout(h.current)},[]);const w=g.useMemo(()=>({onPointerDown(v){$$(v.nativeEvent)||(m.current=!1)},onMouseLeave(){f.current=!1},onFocus(v){if(f.current)return;const C=Vs(v.nativeEvent);if(d&&it(C))try{if(z$()&&B$())throw Error();if(!C.matches(":focus-visible"))return}catch{if(!m.current&&!G$(C))return}n(!0,v.nativeEvent,"focus")},onBlur(v){f.current=!1;const C=v.relatedTarget,x=v.nativeEvent,R=it(C)&&C.hasAttribute(Jg("focus-guard"))&&C.getAttribute("data-type")==="outside";h.current=window.setTimeout(()=>{var E;const P=rS(l.domReference?l.domReference.ownerDocument:document);!C&&P===l.domReference||Tl((E=a.current.floatingContext)==null?void 0:E.refs.floating.current,P)||Tl(l.domReference,P)||R||n(!1,x,"focus")})}}),[a,l.domReference,n,d]);return g.useMemo(()=>c?{reference:w}:{},[c,w])}const vS="active",bS="selected";function _m(e,t,r){const n=new Map,i=r==="item";let a=e;if(i&&e){const{[vS]:l,[bS]:c,...d}=e;a=d}return{...r==="floating"&&{tabIndex:-1,[o3]:""},...a,...t?.map(l=>{const c=l?l[r]:null;return typeof c=="function"?e?c(e):null:c}).concat(e).reduce((l,c)=>(c&&Object.entries(c).forEach(d=>{let[f,h]=d;if(!(i&&[vS,bS].includes(f)))if(f.indexOf("on")===0){if(n.has(f)||n.set(f,[]),typeof h=="function"){var m;(m=n.get(f))==null||m.push(h),l[f]=function(){for(var w,v=arguments.length,C=new Array(v),x=0;x<v;x++)C[x]=arguments[x];return(w=n.get(f))==null?void 0:w?.map(R=>R(...C)).find(R=>R!==void 0)}}}else l[f]=h}),l),{})}}function u3(e){e===void 0&&(e=[]);const t=e?.map(c=>c==null?void 0:c.reference),r=e?.map(c=>c==null?void 0:c.floating),n=e?.map(c=>c==null?void 0:c.item),i=g.useCallback(c=>_m(c,e,"reference"),t),a=g.useCallback(c=>_m(c,e,"floating"),r),l=g.useCallback(c=>_m(c,e,"item"),n);return g.useMemo(()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:l}),[i,a,l])}const d3=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function f3(e,t){var r;t===void 0&&(t={});const{open:n,floatingId:i}=e,{enabled:a=!0,role:l="dialog"}=t,c=(r=d3.get(l))!=null?r:l,d=qR(),h=Xg()!=null,m=g.useMemo(()=>c==="tooltip"||l==="label"?{["aria-"+(l==="label"?"labelledby":"describedby")]:n?i:void 0}:{"aria-expanded":n?"true":"false","aria-haspopup":c==="alertdialog"?"dialog":c,"aria-controls":n?i:void 0,...c==="listbox"&&{role:"combobox"},...c==="menu"&&{id:d},...c==="menu"&&h&&{role:"menuitem"},...l==="select"&&{"aria-autocomplete":"none"},...l==="combobox"&&{"aria-autocomplete":"list"}},[c,i,h,n,d,l]),w=g.useMemo(()=>{const C={id:i,...c&&{role:c}};return c==="tooltip"||l==="label"?C:{...C,...c==="menu"&&{"aria-labelledby":d}}},[c,i,d,l]),v=g.useCallback(C=>{let{active:x,selected:R}=C;const E={role:"option",...x&&{id:i+"-option"}};switch(l){case"select":return{...E,"aria-selected":x&&R};case"combobox":return{...E,...x&&{"aria-selected":!0}}}return{}},[i,l]);return g.useMemo(()=>a?{reference:m,floating:w,item:v}:{},[a,m,w,v])}const[p3,on]=_d("ScrollArea.Root component was not found in tree");function pa(e,t){const r=Li(t);Gl(()=>{let n=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return i.observe(e),()=>{window.cancelAnimationFrame(n),i.unobserve(e)}}},[e,r])}const m3=g.forwardRef((e,t)=>{const{style:r,...n}=e,i=on(),[a,l]=g.useState(0),[c,d]=g.useState(0),f=!!(a&&c);return pa(i.scrollbarX,()=>{var m;const h=((m=i.scrollbarX)==null?void 0:m.offsetHeight)||0;i.onCornerHeightChange(h),d(h)}),pa(i.scrollbarY,()=>{var m;const h=((m=i.scrollbarY)==null?void 0:m.offsetWidth)||0;i.onCornerWidthChange(h),l(h)}),f?b.jsx("div",{...n,ref:t,style:{...r,width:a,height:c}}):null}),h3=g.forwardRef((e,t)=>{const r=on(),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?b.jsx(m3,{...e,ref:t}):null}),g3={scrollHideDelay:1e3,type:"hover"},WR=g.forwardRef((e,t)=>{const r=Ue("ScrollAreaRoot",g3,e),{type:n,scrollHideDelay:i,scrollbars:a,...l}=r,[c,d]=g.useState(null),[f,h]=g.useState(null),[m,w]=g.useState(null),[v,C]=g.useState(null),[x,R]=g.useState(null),[E,P]=g.useState(0),[k,T]=g.useState(0),[N,j]=g.useState(!1),[M,O]=g.useState(!1),B=Co(t,H=>d(H));return b.jsx(p3,{value:{type:n,scrollHideDelay:i,scrollArea:c,viewport:f,onViewportChange:h,content:m,onContentChange:w,scrollbarX:v,onScrollbarXChange:C,scrollbarXEnabled:N,onScrollbarXEnabledChange:j,scrollbarY:x,onScrollbarYChange:R,scrollbarYEnabled:M,onScrollbarYEnabledChange:O,onCornerWidthChange:P,onCornerHeightChange:T},children:b.jsx(Ve,{...l,ref:B,__vars:{"--sa-corner-width":a!=="xy"?"0px":`${E}px`,"--sa-corner-height":a!=="xy"?"0px":`${k}px`}})})});WR.displayName="@mantine/core/ScrollAreaRoot";function GR(e,t){const r=e/t;return Number.isNaN(r)?0:r}function Bd(e){const t=GR(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function KR(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function y3(e,[t,r]){return Math.min(r,Math.max(t,e))}function wS(e,t,r="ltr"){const n=Bd(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-i,l=t.content-t.viewport,c=a-n,d=r==="ltr"?[0,l]:[l*-1,0],f=y3(e,d);return KR([0,l],[0,c])(f)}function v3(e,t,r,n="ltr"){const i=Bd(r),a=i/2,l=t||a,c=i-l,d=r.scrollbar.paddingStart+l,f=r.scrollbar.size-r.scrollbar.paddingEnd-c,h=r.content-r.viewport,m=n==="ltr"?[0,h]:[h*-1,0];return KR([d,f],m)(e)}function YR(e,t){return e>0&&e<t}function ud(e){return e?parseInt(e,10):0}function es(e,t,{checkForDefaultPrevented:r=!0}={}){return n=>{e==null||e(n),(r===!1||!n.defaultPrevented)&&(t==null||t(n))}}const[b3,XR]=_d("ScrollAreaScrollbar was not found in tree"),QR=g.forwardRef((e,t)=>{const{sizes:r,hasThumb:n,onThumbChange:i,onThumbPointerUp:a,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:f,onResize:h,...m}=e,w=on(),[v,C]=g.useState(null),x=Co(t,O=>C(O)),R=g.useRef(null),E=g.useRef(""),{viewport:P}=w,k=r.content-r.viewport,T=Li(f),N=Li(c),j=Md(h,10),M=O=>{if(R.current){const B=O.clientX-R.current.left,H=O.clientY-R.current.top;d({x:B,y:H})}};return g.useEffect(()=>{const O=B=>{const H=B.target;(v==null?void 0:v.contains(H))&&T(B,k)};return document.addEventListener("wheel",O,{passive:!1}),()=>document.removeEventListener("wheel",O,{passive:!1})},[P,v,k,T]),g.useEffect(N,[r,N]),pa(v,j),pa(w.content,j),b.jsx(b3,{value:{scrollbar:v,hasThumb:n,onThumbChange:Li(i),onThumbPointerUp:Li(a),onThumbPositionChange:N,onThumbPointerDown:Li(l)},children:b.jsx("div",{...m,ref:x,"data-mantine-scrollbar":!0,style:{position:"absolute",...m.style},onPointerDown:es(e.onPointerDown,O=>{O.preventDefault(),O.button===0&&(O.target.setPointerCapture(O.pointerId),R.current=v.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",M(O))}),onPointerMove:es(e.onPointerMove,M),onPointerUp:es(e.onPointerUp,O=>{const B=O.target;B.hasPointerCapture(O.pointerId)&&(O.preventDefault(),B.releasePointerCapture(O.pointerId))}),onLostPointerCapture:()=>{document.body.style.webkitUserSelect=E.current,R.current=null}})})}),JR=g.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,style:i,...a}=e,l=on(),[c,d]=g.useState(),f=g.useRef(null),h=Co(t,f,l.onScrollbarXChange);return g.useEffect(()=>{f.current&&d(getComputedStyle(f.current))},[f]),b.jsx(QR,{"data-orientation":"horizontal",...a,ref:h,sizes:r,style:{...i,"--sa-thumb-width":`${Bd(r)}px`},onThumbPointerDown:m=>e.onThumbPointerDown(m.x),onDragScroll:m=>e.onDragScroll(m.x),onWheelScroll:(m,w)=>{if(l.viewport){const v=l.viewport.scrollLeft+m.deltaX;e.onWheelScroll(v),YR(v,w)&&m.preventDefault()}},onResize:()=>{f.current&&l.viewport&&c&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:f.current.clientWidth,paddingStart:ud(c.paddingLeft),paddingEnd:ud(c.paddingRight)}})}})});JR.displayName="@mantine/core/ScrollAreaScrollbarX";const ZR=g.forwardRef((e,t)=>{const{sizes:r,onSizesChange:n,style:i,...a}=e,l=on(),[c,d]=g.useState(),f=g.useRef(null),h=Co(t,f,l.onScrollbarYChange);return g.useEffect(()=>{f.current&&d(window.getComputedStyle(f.current))},[]),b.jsx(QR,{...a,"data-orientation":"vertical",ref:h,sizes:r,style:{"--sa-thumb-height":`${Bd(r)}px`,...i},onThumbPointerDown:m=>e.onThumbPointerDown(m.y),onDragScroll:m=>e.onDragScroll(m.y),onWheelScroll:(m,w)=>{if(l.viewport){const v=l.viewport.scrollTop+m.deltaY;e.onWheelScroll(v),YR(v,w)&&m.preventDefault()}},onResize:()=>{f.current&&l.viewport&&c&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:f.current.clientHeight,paddingStart:ud(c.paddingTop),paddingEnd:ud(c.paddingBottom)}})}})});ZR.displayName="@mantine/core/ScrollAreaScrollbarY";const qd=g.forwardRef((e,t)=>{const{orientation:r="vertical",...n}=e,{dir:i}=Bg(),a=on(),l=g.useRef(null),c=g.useRef(0),[d,f]=g.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),h=GR(d.viewport,d.content),m={...n,sizes:d,onSizesChange:f,hasThumb:h>0&&h<1,onThumbChange:v=>{l.current=v},onThumbPointerUp:()=>{c.current=0},onThumbPointerDown:v=>{c.current=v}},w=(v,C)=>v3(v,c.current,d,C);return r==="horizontal"?b.jsx(JR,{...m,ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){const v=a.viewport.scrollLeft,C=wS(v,d,i);l.current.style.transform=`translate3d(${C}px, 0, 0)`}},onWheelScroll:v=>{a.viewport&&(a.viewport.scrollLeft=v)},onDragScroll:v=>{a.viewport&&(a.viewport.scrollLeft=w(v,i))}}):r==="vertical"?b.jsx(ZR,{...m,ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){const v=a.viewport.scrollTop,C=wS(v,d);d.scrollbar.size===0?l.current.style.setProperty("--thumb-opacity","0"):l.current.style.setProperty("--thumb-opacity","1"),l.current.style.transform=`translate3d(0, ${C}px, 0)`}},onWheelScroll:v=>{a.viewport&&(a.viewport.scrollTop=v)},onDragScroll:v=>{a.viewport&&(a.viewport.scrollTop=w(v))}}):null});qd.displayName="@mantine/core/ScrollAreaScrollbarVisible";const Zg=g.forwardRef((e,t)=>{const r=on(),{forceMount:n,...i}=e,[a,l]=g.useState(!1),c=e.orientation==="horizontal",d=Md(()=>{if(r.viewport){const f=r.viewport.offsetWidth<r.viewport.scrollWidth,h=r.viewport.offsetHeight<r.viewport.scrollHeight;l(c?f:h)}},10);return pa(r.viewport,d),pa(r.content,d),n||a?b.jsx(qd,{"data-state":a?"visible":"hidden",...i,ref:t}):null});Zg.displayName="@mantine/core/ScrollAreaScrollbarAuto";const eE=g.forwardRef((e,t)=>{const{forceMount:r,...n}=e,i=on(),[a,l]=g.useState(!1);return g.useEffect(()=>{const{scrollArea:c}=i;let d=0;if(c){const f=()=>{window.clearTimeout(d),l(!0)},h=()=>{d=window.setTimeout(()=>l(!1),i.scrollHideDelay)};return c.addEventListener("pointerenter",f),c.addEventListener("pointerleave",h),()=>{window.clearTimeout(d),c.removeEventListener("pointerenter",f),c.removeEventListener("pointerleave",h)}}},[i.scrollArea,i.scrollHideDelay]),r||a?b.jsx(Zg,{"data-state":a?"visible":"hidden",...n,ref:t}):null});eE.displayName="@mantine/core/ScrollAreaScrollbarHover";const w3=g.forwardRef((e,t)=>{const{forceMount:r,...n}=e,i=on(),a=e.orientation==="horizontal",[l,c]=g.useState("hidden"),d=Md(()=>c("idle"),100);return g.useEffect(()=>{if(l==="idle"){const f=window.setTimeout(()=>c("hidden"),i.scrollHideDelay);return()=>window.clearTimeout(f)}},[l,i.scrollHideDelay]),g.useEffect(()=>{const{viewport:f}=i,h=a?"scrollLeft":"scrollTop";if(f){let m=f[h];const w=()=>{const v=f[h];m!==v&&(c("scrolling"),d()),m=v};return f.addEventListener("scroll",w),()=>f.removeEventListener("scroll",w)}},[i.viewport,a,d]),r||l!=="hidden"?b.jsx(qd,{"data-state":l==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:es(e.onPointerEnter,()=>c("interacting")),onPointerLeave:es(e.onPointerLeave,()=>c("idle"))}):null}),Rh=g.forwardRef((e,t)=>{const{forceMount:r,...n}=e,i=on(),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:l}=i,c=e.orientation==="horizontal";return g.useEffect(()=>(c?a(!0):l(!0),()=>{c?a(!1):l(!1)}),[c,a,l]),i.type==="hover"?b.jsx(eE,{...n,ref:t,forceMount:r}):i.type==="scroll"?b.jsx(w3,{...n,ref:t,forceMount:r}):i.type==="auto"?b.jsx(Zg,{...n,ref:t,forceMount:r}):i.type==="always"?b.jsx(qd,{...n,ref:t}):null});Rh.displayName="@mantine/core/ScrollAreaScrollbar";function S3(e,t=()=>{}){let r={left:e.scrollLeft,top:e.scrollTop},n=0;return(function i(){const a={left:e.scrollLeft,top:e.scrollTop},l=r.left!==a.left,c=r.top!==a.top;(l||c)&&t(),r=a,n=window.requestAnimationFrame(i)})(),()=>window.cancelAnimationFrame(n)}const tE=g.forwardRef((e,t)=>{const{style:r,...n}=e,i=on(),a=XR(),{onThumbPositionChange:l}=a,c=Co(t,h=>a.onThumbChange(h)),d=g.useRef(void 0),f=Md(()=>{d.current&&(d.current(),d.current=void 0)},100);return g.useEffect(()=>{const{viewport:h}=i;if(h){const m=()=>{if(f(),!d.current){const w=S3(h,l);d.current=w,l()}};return l(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[i.viewport,f,l]),b.jsx("div",{"data-state":a.hasThumb?"visible":"hidden",...n,ref:c,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...r},onPointerDownCapture:es(e.onPointerDownCapture,h=>{const w=h.target.getBoundingClientRect(),v=h.clientX-w.left,C=h.clientY-w.top;a.onThumbPointerDown({x:v,y:C})}),onPointerUp:es(e.onPointerUp,a.onThumbPointerUp)})});tE.displayName="@mantine/core/ScrollAreaThumb";const Eh=g.forwardRef((e,t)=>{const{forceMount:r,...n}=e,i=XR();return r||i.hasThumb?b.jsx(tE,{ref:t,...n}):null});Eh.displayName="@mantine/core/ScrollAreaThumb";const rE=g.forwardRef(({children:e,style:t,...r},n)=>{const i=on(),a=Co(n,i.onViewportChange);return b.jsx(Ve,{...r,ref:a,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t},children:b.jsx("div",{style:{minWidth:"100%"},ref:i.onContentChange,children:e})})});rE.displayName="@mantine/core/ScrollAreaViewport";var ey={root:"m_d57069b5",viewport:"m_c0783ff9",viewportInner:"m_f8f631dd",scrollbar:"m_c44ba933",thumb:"m_d8b5e363",corner:"m_21657268"};const nE={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},x3=(e,{scrollbarSize:t,overscrollBehavior:r})=>({root:{"--scrollarea-scrollbar-size":ce(t),"--scrollarea-over-scroll-behavior":r}}),Xl=st((e,t)=>{const r=Ue("ScrollArea",nE,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,scrollbarSize:d,vars:f,type:h,scrollHideDelay:m,viewportProps:w,viewportRef:v,onScrollPositionChange:C,children:x,offsetScrollbars:R,scrollbars:E,onBottomReached:P,onTopReached:k,overscrollBehavior:T,...N}=r,[j,M]=g.useState(!1),[O,B]=g.useState(!1),[H,Y]=g.useState(!1),ne=$t({name:"ScrollArea",props:r,classes:ey,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:f,varsResolver:x3}),te=g.useRef(null),K=Hz([v,te]);return g.useEffect(()=>{if(!te.current||R!=="present")return;const W=te.current,U=new ResizeObserver(()=>{const{scrollHeight:z,clientHeight:_,scrollWidth:I,clientWidth:L}=W;B(z>_),Y(I>L)});return U.observe(W),()=>U.disconnect()},[te,R]),b.jsxs(WR,{type:h==="never"?"always":h,scrollHideDelay:m,ref:t,scrollbars:E,...ne("root"),...N,children:[b.jsx(rE,{...w,...ne("viewport",{style:w==null?void 0:w.style}),ref:K,"data-offset-scrollbars":R===!0?"xy":R||void 0,"data-scrollbars":E||void 0,"data-horizontal-hidden":R==="present"&&!H?"true":void 0,"data-vertical-hidden":R==="present"&&!O?"true":void 0,onScroll:W=>{var I;(I=w==null?void 0:w.onScroll)==null||I.call(w,W),C==null||C({x:W.currentTarget.scrollLeft,y:W.currentTarget.scrollTop});const{scrollTop:U,scrollHeight:z,clientHeight:_}=W.currentTarget;U-(z-_)>=-.6&&(P==null||P()),U===0&&(k==null||k())},children:x}),(E==="xy"||E==="x")&&b.jsx(Rh,{...ne("scrollbar"),orientation:"horizontal","data-hidden":h==="never"||R==="present"&&!H?!0:void 0,forceMount:!0,onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:b.jsx(Eh,{...ne("thumb")})}),(E==="xy"||E==="y")&&b.jsx(Rh,{...ne("scrollbar"),orientation:"vertical","data-hidden":h==="never"||R==="present"&&!O?!0:void 0,forceMount:!0,onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:b.jsx(Eh,{...ne("thumb")})}),b.jsx(h3,{...ne("corner"),"data-hovered":j||void 0,"data-hidden":h==="never"||void 0})]})});Xl.displayName="@mantine/core/ScrollArea";const ty=st((e,t)=>{const{children:r,classNames:n,styles:i,scrollbarSize:a,scrollHideDelay:l,type:c,dir:d,offsetScrollbars:f,viewportRef:h,onScrollPositionChange:m,unstyled:w,variant:v,viewportProps:C,scrollbars:x,style:R,vars:E,onBottomReached:P,onTopReached:k,...T}=Ue("ScrollAreaAutosize",nE,e);return b.jsx(Ve,{...T,ref:t,style:[{display:"flex",overflow:"auto"},R],children:b.jsx(Ve,{style:{display:"flex",flexDirection:"column",flex:1},children:b.jsx(Xl,{classNames:n,styles:i,scrollHideDelay:l,scrollbarSize:a,type:c,dir:d,offsetScrollbars:f,viewportRef:h,onScrollPositionChange:m,unstyled:w,variant:v,viewportProps:C,vars:E,scrollbars:x,onBottomReached:P,onTopReached:k,children:r})})})});Xl.classes=ey;ty.displayName="@mantine/core/ScrollAreaAutosize";ty.classes=ey;Xl.Autosize=ty;var oE={root:"m_87cf2631"};const C3={__staticSelector:"UnstyledButton"},ry=wa((e,t)=>{const r=Ue("UnstyledButton",C3,e),{className:n,component:i="button",__staticSelector:a,unstyled:l,classNames:c,styles:d,style:f,...h}=r,m=$t({name:a,props:r,classes:oE,className:n,style:f,classNames:c,styles:d,unstyled:l});return b.jsx(Ve,{...m("root",{focusable:!0}),component:i,ref:t,type:i==="button"?"button":void 0,...h})});ry.classes=oE;ry.displayName="@mantine/core/UnstyledButton";var iE={root:"m_515a97f8"};const R3={},ny=st((e,t)=>{const r=Ue("VisuallyHidden",R3,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,...f}=r,h=$t({name:"VisuallyHidden",classes:iE,props:r,className:i,style:a,classNames:n,styles:l,unstyled:c});return b.jsx(Ve,{component:"span",ref:t,...h("root"),...f})});ny.classes=iE;ny.displayName="@mantine/core/VisuallyHidden";var sE={root:"m_1b7284a3"};const E3={},k3=(e,{radius:t,shadow:r})=>({root:{"--paper-radius":t===void 0?void 0:gi(t),"--paper-shadow":aR(r)}}),oy=wa((e,t)=>{const r=Ue("Paper",E3,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,withBorder:d,vars:f,radius:h,shadow:m,variant:w,mod:v,...C}=r,x=$t({name:"Paper",props:r,classes:sE,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:f,varsResolver:k3});return b.jsx(Ve,{ref:t,mod:[{"data-with-border":d},v],...x("root"),variant:w,...C})});oy.classes=sE;oy.displayName="@mantine/core/Paper";function P3(e,t){if(e==="rtl"&&(t.includes("right")||t.includes("left"))){const[r,n]=t.split("-"),i=r==="right"?"left":"right";return n===void 0?i:`${i}-${n}`}return t}function SS(e,t,r,n){return e==="center"||n==="center"?{top:t}:e==="end"?{bottom:r}:e==="start"?{top:r}:{}}function xS(e,t,r,n,i){return e==="center"||n==="center"?{left:t}:e==="end"?{[i==="ltr"?"right":"left"]:r}:e==="start"?{[i==="ltr"?"left":"right"]:r}:{}}const A3={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"};function T3({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:i,arrowX:a,arrowY:l,dir:c}){const[d,f="center"]=e.split("-"),h={width:t,height:t,transform:"rotate(45deg)",position:"absolute",[A3[d]]:n},m=-t/2;return d==="left"?{...h,...SS(f,l,r,i),right:m,borderLeftColor:"transparent",borderBottomColor:"transparent",clipPath:"polygon(100% 0, 0 0, 100% 100%)"}:d==="right"?{...h,...SS(f,l,r,i),left:m,borderRightColor:"transparent",borderTopColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 100%)"}:d==="top"?{...h,...xS(f,a,r,i,c),bottom:m,borderTopColor:"transparent",borderLeftColor:"transparent",clipPath:"polygon(0 100%, 100% 100%, 100% 0)"}:d==="bottom"?{...h,...xS(f,a,r,i,c),top:m,borderBottomColor:"transparent",borderRightColor:"transparent",clipPath:"polygon(0 100%, 0 0, 100% 0)"}:{}}const aE=g.forwardRef(({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:i,visible:a,arrowX:l,arrowY:c,style:d,...f},h)=>{const{dir:m}=Bg();return a?b.jsx("div",{...f,ref:h,style:{...d,...T3({position:e,arrowSize:t,arrowOffset:r,arrowRadius:n,arrowPosition:i,dir:m,arrowX:l,arrowY:c})}}):null});aE.displayName="@mantine/core/FloatingArrow";var lE={root:"m_9814e45f"};const N3={zIndex:xo("modal")},D3=(e,{gradient:t,color:r,backgroundOpacity:n,blur:i,radius:a,zIndex:l})=>({root:{"--overlay-bg":t||(r!==void 0||n!==void 0)&&jn(r||"#000",n??.6)||void 0,"--overlay-filter":i?`blur(${ce(i)})`:void 0,"--overlay-radius":a===void 0?void 0:gi(a),"--overlay-z-index":l==null?void 0:l.toString()}}),iy=wa((e,t)=>{const r=Ue("Overlay",N3,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,fixed:f,center:h,children:m,radius:w,zIndex:v,gradient:C,blur:x,color:R,backgroundOpacity:E,mod:P,...k}=r,T=$t({name:"Overlay",props:r,classes:lE,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:d,varsResolver:D3});return b.jsx(Ve,{ref:t,...T("root"),mod:[{center:h,fixed:f},P],...k,children:m})});iy.classes=lE;iy.displayName="@mantine/core/Overlay";function Mm(e){const t=document.createElement("div");return t.setAttribute("data-portal","true"),typeof e.className=="string"&&t.classList.add(...e.className.split(" ").filter(Boolean)),typeof e.style=="object"&&Object.assign(t.style,e.style),typeof e.id=="string"&&t.setAttribute("id",e.id),t}function O3({target:e,reuseTargetNode:t,...r}){if(e)return typeof e=="string"?document.querySelector(e)||Mm(r):e;if(t){const n=document.querySelector("[data-mantine-shared-portal-node]");if(n)return n;const i=Mm(r);return i.setAttribute("data-mantine-shared-portal-node","true"),document.body.appendChild(i),i}return Mm(r)}const _3={},cE=st((e,t)=>{const{children:r,target:n,reuseTargetNode:i,...a}=Ue("Portal",_3,e),[l,c]=g.useState(!1),d=g.useRef(null);return Gl(()=>(c(!0),d.current=O3({target:n,reuseTargetNode:i,...a}),mh(t,d.current),!n&&!i&&d.current&&document.body.appendChild(d.current),()=>{!n&&!i&&d.current&&document.body.removeChild(d.current)}),[n]),!l||!d.current?null:Bl.createPortal(b.jsx(b.Fragment,{children:r}),d.current)});cE.displayName="@mantine/core/Portal";const Ql=st(({withinPortal:e=!0,children:t,...r},n)=>mR()==="test"||!e?b.jsx(b.Fragment,{children:t}):b.jsx(cE,{ref:n,...r,children:t}));Ql.displayName="@mantine/core/OptionalPortal";const gl=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${e==="bottom"?10:-10}px)`},transitionProperty:"transform, opacity"}),Ru={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},"fade-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(30px)"},transitionProperty:"opacity, transform"},"fade-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-30px)"},transitionProperty:"opacity, transform"},"fade-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(30px)"},transitionProperty:"opacity, transform"},"fade-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-30px)"},transitionProperty:"opacity, transform"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(-20px) skew(-10deg, -5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:"translateY(20px) skew(-10deg, -5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(-5deg)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:"translateY(20px) rotate(5deg)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...gl("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...gl("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...gl("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...gl("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...gl("top"),common:{transformOrigin:"top right"}}},CS={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};function M3({transition:e,state:t,duration:r,timingFunction:n}){const i={WebkitBackfaceVisibility:"hidden",willChange:"transform, opacity",transitionDuration:`${r}ms`,transitionTimingFunction:n};return typeof e=="string"?e in Ru?{transitionProperty:Ru[e].transitionProperty,...i,...Ru[e].common,...Ru[e][CS[t]]}:{}:{transitionProperty:e.transitionProperty,...i,...e.common,...e[CS[t]]}}function j3({duration:e,exitDuration:t,timingFunction:r,mounted:n,onEnter:i,onExit:a,onEntered:l,onExited:c,enterDelay:d,exitDelay:f}){const h=Rn(),m=jg(),w=h.respectReducedMotion?m:!1,[v,C]=g.useState(w?0:e),[x,R]=g.useState(n?"entered":"exited"),E=g.useRef(-1),P=g.useRef(-1),k=g.useRef(-1);function T(){window.clearTimeout(E.current),window.clearTimeout(P.current),cancelAnimationFrame(k.current)}const N=M=>{T();const O=M?i:a,B=M?l:c,H=w?0:M?e:t;C(H),H===0?(typeof O=="function"&&O(),typeof B=="function"&&B(),R(M?"entered":"exited")):k.current=requestAnimationFrame(()=>{Ws.flushSync(()=>{R(M?"pre-entering":"pre-exiting")}),k.current=requestAnimationFrame(()=>{typeof O=="function"&&O(),R(M?"entering":"exiting"),E.current=window.setTimeout(()=>{typeof B=="function"&&B(),R(M?"entered":"exited")},H)})})},j=M=>{if(T(),typeof(M?d:f)!="number"){N(M);return}P.current=window.setTimeout(()=>{N(M)},M?d:f)};return ua(()=>{j(n)},[n]),g.useEffect(()=>()=>{T()},[]),{transitionDuration:v,transitionStatus:x,transitionTimingFunction:r||"ease"}}function Vd({keepMounted:e,transition:t="fade",duration:r=250,exitDuration:n=r,mounted:i,children:a,timingFunction:l="ease",onExit:c,onEntered:d,onEnter:f,onExited:h,enterDelay:m,exitDelay:w}){const v=mR(),{transitionDuration:C,transitionStatus:x,transitionTimingFunction:R}=j3({mounted:i,exitDuration:n,duration:r,timingFunction:l,onExit:c,onEntered:d,onEnter:f,onExited:h,enterDelay:m,exitDelay:w});return C===0||v==="test"?i?b.jsx(b.Fragment,{children:a({})}):e?a({display:"none"}):null:x==="exited"?e?a({display:"none"}):null:b.jsx(b.Fragment,{children:a(M3({transition:t,duration:C,state:x,timingFunction:R}))})}Vd.displayName="@mantine/core/Transition";function sy({children:e,active:t=!0,refProp:r="ref",innerRef:n}){const i=h5(t),a=Co(i,n);return Og(e)?g.cloneElement(e,{[r]:a}):e}function uE(e){return b.jsx(ny,{tabIndex:-1,"data-autofocus":!0,...e})}sy.displayName="@mantine/core/FocusTrap";uE.displayName="@mantine/core/FocusTrapInitialFocus";sy.InitialFocus=uE;function L3({opened:e,floating:t,position:r,positionDependencies:n}){const[i,a]=g.useState(0);g.useEffect(()=>{if(t.refs.reference.current&&t.refs.floating.current&&e)return FR(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,i,r]),ua(()=>{t.update()},n),ua(()=>{a(l=>l+1)},[e])}var bn={root:"m_5ae2e3c",barsLoader:"m_7a2bd4cd",bar:"m_870bb79","bars-loader-animation":"m_5d2b3b9d",dotsLoader:"m_4e3f22d7",dot:"m_870c4af","loader-dots-animation":"m_aac34a1",ovalLoader:"m_b34414df","oval-loader-animation":"m_f8e89c4b"};const dE=g.forwardRef(({className:e,...t},r)=>b.jsxs(Ve,{component:"span",className:er(bn.barsLoader,e),...t,ref:r,children:[b.jsx("span",{className:bn.bar}),b.jsx("span",{className:bn.bar}),b.jsx("span",{className:bn.bar})]}));dE.displayName="@mantine/core/Bars";const fE=g.forwardRef(({className:e,...t},r)=>b.jsxs(Ve,{component:"span",className:er(bn.dotsLoader,e),...t,ref:r,children:[b.jsx("span",{className:bn.dot}),b.jsx("span",{className:bn.dot}),b.jsx("span",{className:bn.dot})]}));fE.displayName="@mantine/core/Dots";const pE=g.forwardRef(({className:e,...t},r)=>b.jsx(Ve,{component:"span",className:er(bn.ovalLoader,e),...t,ref:r}));pE.displayName="@mantine/core/Oval";const mE={bars:dE,oval:pE,dots:fE},F3={loaders:mE,type:"oval"},I3=(e,{size:t,color:r})=>({root:{"--loader-size":Hn(t,"loader-size"),"--loader-color":r?da(r,e):void 0}}),Hd=st((e,t)=>{const r=Ue("Loader",F3,e),{size:n,color:i,type:a,vars:l,className:c,style:d,classNames:f,styles:h,unstyled:m,loaders:w,variant:v,children:C,...x}=r,R=$t({name:"Loader",props:r,classes:bn,className:c,style:d,classNames:f,styles:h,unstyled:m,vars:l,varsResolver:I3});return C?b.jsx(Ve,{...R("root"),ref:t,...x,children:C}):b.jsx(Ve,{...R("root"),ref:t,component:w[a],variant:v,size:n,...x})});Hd.defaultLoaders=mE;Hd.classes=bn;Hd.displayName="@mantine/core/Loader";const hE=g.forwardRef(({size:e="var(--cb-icon-size, 70%)",style:t,...r},n)=>b.jsx("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{...t,width:e,height:e},ref:n,...r,children:b.jsx("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}));hE.displayName="@mantine/core/CloseIcon";var gE={root:"m_86a44da5","root--subtle":"m_220c80f2"};const U3={variant:"subtle"},$3=(e,{size:t,radius:r,iconSize:n})=>({root:{"--cb-size":Hn(t,"cb-size"),"--cb-radius":r===void 0?void 0:gi(r),"--cb-icon-size":ce(n)}}),Jl=wa((e,t)=>{const r=Ue("CloseButton",U3,e),{iconSize:n,children:i,vars:a,radius:l,className:c,classNames:d,style:f,styles:h,unstyled:m,"data-disabled":w,disabled:v,variant:C,icon:x,mod:R,__staticSelector:E,...P}=r,k=$t({name:E||"CloseButton",props:r,className:c,style:f,classes:gE,classNames:d,styles:h,unstyled:m,vars:a,varsResolver:$3});return b.jsxs(ry,{ref:t,...P,unstyled:m,variant:C,disabled:v,mod:[{disabled:v||w},R],...k("root",{variant:C,active:!v&&!w}),children:[x||b.jsx(hE,{}),i]})});Jl.classes=gE;Jl.displayName="@mantine/core/CloseButton";const[z3,Ro]=_d("ModalBase component was not found in tree");function B3({opened:e,transitionDuration:t}){const[r,n]=g.useState(e),i=g.useRef(-1),l=jg()?0:t;return g.useEffect(()=>(e?(n(!0),window.clearTimeout(i.current)):l===0?n(!1):i.current=window.setTimeout(()=>n(!1),l),()=>window.clearTimeout(i.current)),[e,l]),r}function q3({id:e,transitionProps:t,opened:r,trapFocus:n,closeOnEscape:i,onClose:a,returnFocus:l}){const c=Mg(e),[d,f]=g.useState(!1),[h,m]=g.useState(!1),w=typeof(t==null?void 0:t.duration)=="number"?t==null?void 0:t.duration:200,v=B3({opened:r,transitionDuration:w});return w5("keydown",C=>{var x;C.key==="Escape"&&i&&!C.isComposing&&r&&((x=C.target)==null?void 0:x.getAttribute("data-mantine-stop-propagation"))!=="true"&&a()},{capture:!0}),c5({opened:r,shouldReturnFocus:n&&l}),{_id:c,titleMounted:d,bodyMounted:h,shouldLockScroll:v,setTitleMounted:f,setBodyMounted:m}}const yE=g.forwardRef(({keepMounted:e,opened:t,onClose:r,id:n,transitionProps:i,onExitTransitionEnd:a,onEnterTransitionEnd:l,trapFocus:c,closeOnEscape:d,returnFocus:f,closeOnClickOutside:h,withinPortal:m,portalProps:w,lockScroll:v,children:C,zIndex:x,shadow:R,padding:E,__vars:P,unstyled:k,removeScrollProps:T,...N},j)=>{const{_id:M,titleMounted:O,bodyMounted:B,shouldLockScroll:H,setTitleMounted:Y,setBodyMounted:ne}=q3({id:n,transitionProps:i,opened:t,trapFocus:c,closeOnEscape:d,onClose:r,returnFocus:f}),{key:te,...K}=T||{};return b.jsx(Ql,{...w,withinPortal:m,children:b.jsx(z3,{value:{opened:t,onClose:r,closeOnClickOutside:h,onExitTransitionEnd:a,onEnterTransitionEnd:l,transitionProps:{...i,keepMounted:e},getTitleId:()=>`${M}-title`,getBodyId:()=>`${M}-body`,titleMounted:O,bodyMounted:B,setTitleMounted:Y,setBodyMounted:ne,trapFocus:c,closeOnEscape:d,zIndex:x,unstyled:k},children:b.jsx(Pl,{enabled:H&&v,...K,children:b.jsx(Ve,{ref:j,...N,__vars:{...P,"--mb-z-index":(x||xo("modal")).toString(),"--mb-shadow":aR(R),"--mb-padding":i5(E)},children:C})},te)})})});yE.displayName="@mantine/core/ModalBase";function V3(){const e=Ro();return g.useEffect(()=>(e.setBodyMounted(!0),()=>e.setBodyMounted(!1)),[]),e.getBodyId()}var ma={title:"m_615af6c9",header:"m_b5489c3c",inner:"m_60c222c7",content:"m_fd1ab0aa",close:"m_606cb269",body:"m_5df29311"};const vE=g.forwardRef(({className:e,...t},r)=>{const n=V3(),i=Ro();return b.jsx(Ve,{ref:r,...t,id:n,className:er({[ma.body]:!i.unstyled},e)})});vE.displayName="@mantine/core/ModalBaseBody";const bE=g.forwardRef(({className:e,onClick:t,...r},n)=>{const i=Ro();return b.jsx(Jl,{ref:n,...r,onClick:a=>{i.onClose(),t==null||t(a)},className:er({[ma.close]:!i.unstyled},e),unstyled:i.unstyled})});bE.displayName="@mantine/core/ModalBaseCloseButton";const wE=g.forwardRef(({transitionProps:e,className:t,innerProps:r,onKeyDown:n,style:i,...a},l)=>{const c=Ro();return b.jsx(Vd,{mounted:c.opened,transition:"pop",...c.transitionProps,onExited:()=>{var d,f,h;(d=c.onExitTransitionEnd)==null||d.call(c),(h=(f=c.transitionProps)==null?void 0:f.onExited)==null||h.call(f)},onEntered:()=>{var d,f,h;(d=c.onEnterTransitionEnd)==null||d.call(c),(h=(f=c.transitionProps)==null?void 0:f.onEntered)==null||h.call(f)},...e,children:d=>b.jsx("div",{...r,className:er({[ma.inner]:!c.unstyled},r.className),children:b.jsx(sy,{active:c.opened&&c.trapFocus,innerRef:l,children:b.jsx(oy,{...a,component:"section",role:"dialog",tabIndex:-1,"aria-modal":!0,"aria-describedby":c.bodyMounted?c.getBodyId():void 0,"aria-labelledby":c.titleMounted?c.getTitleId():void 0,style:[i,d],className:er({[ma.content]:!c.unstyled},t),unstyled:c.unstyled,children:a.children})})})})});wE.displayName="@mantine/core/ModalBaseContent";const SE=g.forwardRef(({className:e,...t},r)=>{const n=Ro();return b.jsx(Ve,{component:"header",ref:r,className:er({[ma.header]:!n.unstyled},e),...t})});SE.displayName="@mantine/core/ModalBaseHeader";const H3={duration:200,timingFunction:"ease",transition:"fade"};function W3(e){const t=Ro();return{...H3,...t.transitionProps,...e}}const xE=g.forwardRef(({onClick:e,transitionProps:t,style:r,visible:n,...i},a)=>{const l=Ro(),c=W3(t);return b.jsx(Vd,{mounted:n!==void 0?n:l.opened,...c,transition:"fade",children:d=>b.jsx(iy,{ref:a,fixed:!0,style:[r,d],zIndex:l.zIndex,unstyled:l.unstyled,onClick:f=>{e==null||e(f),l.closeOnClickOutside&&l.onClose()},...i})})});xE.displayName="@mantine/core/ModalBaseOverlay";function G3(){const e=Ro();return g.useEffect(()=>(e.setTitleMounted(!0),()=>e.setTitleMounted(!1)),[]),e.getTitleId()}const CE=g.forwardRef(({className:e,...t},r)=>{const n=G3(),i=Ro();return b.jsx(Ve,{component:"h2",ref:r,className:er({[ma.title]:!i.unstyled},e),...t,id:n})});CE.displayName="@mantine/core/ModalBaseTitle";function K3({children:e}){return b.jsx(b.Fragment,{children:e})}const[Y3,X3]=_g({size:"sm"}),Q3={},RE=st((e,t)=>{const r=Ue("InputClearButton",Q3,e),{size:n,variant:i,vars:a,classNames:l,styles:c,...d}=r,f=X3(),{resolvedClassNames:h,resolvedStyles:m}=J5({classNames:l,styles:c,props:r});return b.jsx(Jl,{variant:i||"transparent",ref:t,size:n||(f==null?void 0:f.size)||"sm",classNames:h,styles:m,__staticSelector:"InputClearButton",...d})});RE.displayName="@mantine/core/InputClearButton";const[J3,Wd]=_g({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0});var sn={wrapper:"m_6c018570",input:"m_8fb7ebe7",section:"m_82577fc2",placeholder:"m_88bacfd0",root:"m_46b77525",label:"m_8fdc1311",required:"m_78a94662",error:"m_8f816625",description:"m_fe47ce59"};const RS={},Z3=(e,{size:t})=>({description:{"--input-description-size":t===void 0?void 0:`calc(${Zi(t)} - ${ce(2)})`}}),Gd=st((e,t)=>{const r=Ue("InputDescription",RS,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,size:f,__staticSelector:h,__inheritStyles:m=!0,variant:w,...v}=Ue("InputDescription",RS,r),C=Wd(),x=$t({name:["InputWrapper",h],props:r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,rootSelector:"description",vars:d,varsResolver:Z3}),R=m&&(C==null?void 0:C.getStyles)||x;return b.jsx(Ve,{component:"p",ref:t,variant:w,size:f,...R("description",C!=null&&C.getStyles?{className:i,style:a}:void 0),...v})});Gd.classes=sn;Gd.displayName="@mantine/core/InputDescription";const e4={},t4=(e,{size:t})=>({error:{"--input-error-size":t===void 0?void 0:`calc(${Zi(t)} - ${ce(2)})`}}),Kd=st((e,t)=>{const r=Ue("InputError",e4,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,size:f,__staticSelector:h,__inheritStyles:m=!0,variant:w,...v}=r,C=$t({name:["InputWrapper",h],props:r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,rootSelector:"error",vars:d,varsResolver:t4}),x=Wd(),R=m&&(x==null?void 0:x.getStyles)||C;return b.jsx(Ve,{component:"p",ref:t,variant:w,size:f,...R("error",x!=null&&x.getStyles?{className:i,style:a}:void 0),...v})});Kd.classes=sn;Kd.displayName="@mantine/core/InputError";const ES={labelElement:"label"},r4=(e,{size:t})=>({label:{"--input-label-size":Zi(t),"--input-asterisk-color":void 0}}),Yd=st((e,t)=>{const r=Ue("InputLabel",ES,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,labelElement:f,size:h,required:m,htmlFor:w,onMouseDown:v,children:C,__staticSelector:x,variant:R,mod:E,...P}=Ue("InputLabel",ES,r),k=$t({name:["InputWrapper",x],props:r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,rootSelector:"label",vars:d,varsResolver:r4}),T=Wd(),N=(T==null?void 0:T.getStyles)||k;return b.jsxs(Ve,{...N("label",T!=null&&T.getStyles?{className:i,style:a}:void 0),component:f,variant:R,size:h,ref:t,htmlFor:f==="label"?w:void 0,mod:[{required:m},E],onMouseDown:j=>{v==null||v(j),!j.defaultPrevented&&j.detail>1&&j.preventDefault()},...P,children:[C,m&&b.jsx("span",{...N("required"),"aria-hidden":!0,children:" *"})]})});Yd.classes=sn;Yd.displayName="@mantine/core/InputLabel";const kS={},ay=st((e,t)=>{const r=Ue("InputPlaceholder",kS,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,__staticSelector:f,variant:h,error:m,mod:w,...v}=Ue("InputPlaceholder",kS,r),C=$t({name:["InputPlaceholder",f],props:r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,rootSelector:"placeholder"});return b.jsx(Ve,{...C("placeholder"),mod:[{error:!!m},w],component:"span",variant:h,ref:t,...v})});ay.classes=sn;ay.displayName="@mantine/core/InputPlaceholder";function n4(e,{hasDescription:t,hasError:r}){const n=e.findIndex(d=>d==="input"),i=e.slice(0,n),a=e.slice(n+1),l=t&&i.includes("description")||r&&i.includes("error");return{offsetBottom:t&&a.includes("description")||r&&a.includes("error"),offsetTop:l}}const o4={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},i4=(e,{size:t})=>({label:{"--input-label-size":Zi(t),"--input-asterisk-color":void 0},error:{"--input-error-size":t===void 0?void 0:`calc(${Zi(t)} - ${ce(2)})`},description:{"--input-description-size":t===void 0?void 0:`calc(${Zi(t)} - ${ce(2)})`}}),ly=st((e,t)=>{const r=Ue("InputWrapper",o4,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,size:f,variant:h,__staticSelector:m,inputContainer:w,inputWrapperOrder:v,label:C,error:x,description:R,labelProps:E,descriptionProps:P,errorProps:k,labelElement:T,children:N,withAsterisk:j,id:M,required:O,__stylesApiProps:B,mod:H,...Y}=r,ne=$t({name:["InputWrapper",m],props:B||r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:d,varsResolver:i4}),te={size:f,variant:h,__staticSelector:m},K=Mg(M),W=typeof j=="boolean"?j:O,U=(k==null?void 0:k.id)||`${K}-error`,z=(P==null?void 0:P.id)||`${K}-description`,_=K,I=!!x&&typeof x!="boolean",L=!!R,D=`${I?U:""} ${L?z:""}`,V=D.trim().length>0?D.trim():void 0,ee=(E==null?void 0:E.id)||`${K}-label`,re=C&&b.jsx(Yd,{labelElement:T,id:ee,htmlFor:_,required:W,...te,...E,children:C},"label"),oe=L&&b.jsx(Gd,{...P,...te,size:(P==null?void 0:P.size)||te.size,id:(P==null?void 0:P.id)||z,children:R},"description"),ie=b.jsx(g.Fragment,{children:w(N)},"input"),me=I&&g.createElement(Kd,{...k,...te,size:(k==null?void 0:k.size)||te.size,key:"error",id:(k==null?void 0:k.id)||U},x),ue=v?.map(pe=>{switch(pe){case"label":return re;case"input":return ie;case"description":return oe;case"error":return me;default:return null}});return b.jsx(J3,{value:{getStyles:ne,describedBy:V,inputId:_,labelId:ee,...n4(v,{hasDescription:L,hasError:I})},children:b.jsx(Ve,{ref:t,variant:h,size:f,mod:[{error:!!x},H],...ne("root"),...Y,children:ue})})});ly.classes=sn;ly.displayName="@mantine/core/InputWrapper";const s4={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},a4=(e,t,r)=>({wrapper:{"--input-margin-top":r.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":r.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":Hn(t.size,"input-height"),"--input-fz":Zi(t.size),"--input-radius":t.radius===void 0?void 0:gi(t.radius),"--input-left-section-width":t.leftSectionWidth!==void 0?ce(t.leftSectionWidth):void 0,"--input-right-section-width":t.rightSectionWidth!==void 0?ce(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?Hn(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}}),tn=wa((e,t)=>{const r=Ue("Input",s4,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,required:d,__staticSelector:f,__stylesApiProps:h,size:m,wrapperProps:w,error:v,disabled:C,leftSection:x,leftSectionProps:R,leftSectionWidth:E,rightSection:P,rightSectionProps:k,rightSectionWidth:T,rightSectionPointerEvents:N,leftSectionPointerEvents:j,variant:M,vars:O,pointer:B,multiline:H,radius:Y,id:ne,withAria:te,withErrorStyles:K,mod:W,inputSize:U,__clearSection:z,__clearable:_,__defaultRightSection:I,...L}=r,{styleProps:D,rest:V}=$g(L),ee=Wd(),re={offsetBottom:ee==null?void 0:ee.offsetBottom,offsetTop:ee==null?void 0:ee.offsetTop},oe=$t({name:["Input",f],props:h||r,classes:sn,className:i,style:a,classNames:n,styles:l,unstyled:c,stylesCtx:re,rootSelector:"wrapper",vars:O,varsResolver:a4}),ie=te?{required:d,disabled:C,"aria-invalid":!!v,"aria-describedby":ee==null?void 0:ee.describedBy,id:(ee==null?void 0:ee.inputId)||ne}:{},me=P||_&&z||I;return b.jsx(Y3,{value:{size:m||"sm"},children:b.jsxs(Ve,{...oe("wrapper"),...D,...w,mod:[{error:!!v&&K,pointer:B,disabled:C,multiline:H,"data-with-right-section":!!me,"data-with-left-section":!!x},W],variant:M,size:m,children:[x&&b.jsx("div",{...R,"data-position":"left",...oe("section",{className:R==null?void 0:R.className,style:R==null?void 0:R.style}),children:x}),b.jsx(Ve,{component:"input",...V,...ie,ref:t,required:d,mod:{disabled:C,error:!!v&&K},variant:M,__size:U,...oe("input")}),me&&b.jsx("div",{...k,"data-position":"right",...oe("section",{className:k==null?void 0:k.className,style:k==null?void 0:k.style}),children:me})]})})});tn.classes=sn;tn.Wrapper=ly;tn.Label=Yd;tn.Error=Kd;tn.Description=Gd;tn.Placeholder=ay;tn.ClearButton=RE;tn.displayName="@mantine/core/Input";function l4(e,t,r){const n=Ue(e,t,r),{label:i,description:a,error:l,required:c,classNames:d,styles:f,className:h,unstyled:m,__staticSelector:w,__stylesApiProps:v,errorProps:C,labelProps:x,descriptionProps:R,wrapperProps:E,id:P,size:k,style:T,inputContainer:N,inputWrapperOrder:j,withAsterisk:M,variant:O,vars:B,mod:H,...Y}=n,{styleProps:ne,rest:te}=$g(Y),K={label:i,description:a,error:l,required:c,classNames:d,className:h,__staticSelector:w,__stylesApiProps:v||n,errorProps:C,labelProps:x,descriptionProps:R,unstyled:m,styles:f,size:k,style:T,inputContainer:N,inputWrapperOrder:j,withAsterisk:M,variant:O,id:P,mod:H,...E};return{...te,classNames:d,styles:f,unstyled:m,wrapperProps:{...K,...ne},inputProps:{required:c,classNames:d,styles:f,unstyled:m,size:k,__staticSelector:w,__stylesApiProps:v||n,error:l,variant:O,id:P}}}const c4={__staticSelector:"InputBase",withAria:!0},Xd=wa((e,t)=>{const{inputProps:r,wrapperProps:n,...i}=l4("InputBase",c4,e);return b.jsx(tn.Wrapper,{...n,children:b.jsx(tn,{...r,...i,ref:t})})});Xd.classes={...tn.classes,...tn.Wrapper.classes};Xd.displayName="@mantine/core/InputBase";function kh(){return kh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},kh.apply(null,arguments)}function EE(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}const[u4,Ca]=_d("Modal component was not found in tree");var Eo={root:"m_9df02822",content:"m_54c44539",inner:"m_1f958f16",header:"m_d0e2b9cd"};const d4={},Qd=st((e,t)=>{const r=Ue("ModalBody",d4,e),{classNames:n,className:i,style:a,styles:l,vars:c,...d}=r,f=Ca();return b.jsx(vE,{ref:t,...f.getStyles("body",{classNames:n,style:a,styles:l,className:i}),...d})});Qd.classes=Eo;Qd.displayName="@mantine/core/ModalBody";const f4={},Jd=st((e,t)=>{const r=Ue("ModalCloseButton",f4,e),{classNames:n,className:i,style:a,styles:l,vars:c,...d}=r,f=Ca();return b.jsx(bE,{ref:t,...f.getStyles("close",{classNames:n,style:a,styles:l,className:i}),...d})});Jd.classes=Eo;Jd.displayName="@mantine/core/ModalCloseButton";const p4={},Zd=st((e,t)=>{const r=Ue("ModalContent",p4,e),{classNames:n,className:i,style:a,styles:l,vars:c,children:d,__hidden:f,...h}=r,m=Ca(),w=m.scrollAreaComponent||K3;return b.jsx(wE,{...m.getStyles("content",{className:i,style:a,styles:l,classNames:n}),innerProps:m.getStyles("inner",{className:i,style:a,styles:l,classNames:n}),"data-full-screen":m.fullScreen||void 0,"data-modal-content":!0,"data-hidden":f||void 0,ref:t,...h,children:b.jsx(w,{style:{maxHeight:m.fullScreen?"100dvh":`calc(100dvh - (${ce(m.yOffset)} * 2))`},children:d})})});Zd.classes=Eo;Zd.displayName="@mantine/core/ModalContent";const m4={},ef=st((e,t)=>{const r=Ue("ModalHeader",m4,e),{classNames:n,className:i,style:a,styles:l,vars:c,...d}=r,f=Ca();return b.jsx(SE,{ref:t,...f.getStyles("header",{classNames:n,style:a,styles:l,className:i}),...d})});ef.classes=Eo;ef.displayName="@mantine/core/ModalHeader";const h4={},tf=st((e,t)=>{const r=Ue("ModalOverlay",h4,e),{classNames:n,className:i,style:a,styles:l,vars:c,...d}=r,f=Ca();return b.jsx(xE,{ref:t,...f.getStyles("overlay",{classNames:n,style:a,styles:l,className:i}),...d})});tf.classes=Eo;tf.displayName="@mantine/core/ModalOverlay";const g4={__staticSelector:"Modal",closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:xo("modal"),transitionProps:{duration:200,transition:"fade-down"},yOffset:"5dvh"},y4=(e,{radius:t,size:r,yOffset:n,xOffset:i})=>({root:{"--modal-radius":t===void 0?void 0:gi(t),"--modal-size":Hn(r,"modal-size"),"--modal-y-offset":ce(n),"--modal-x-offset":ce(i)}}),rf=st((e,t)=>{const r=Ue("ModalRoot",g4,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,yOffset:f,scrollAreaComponent:h,radius:m,fullScreen:w,centered:v,xOffset:C,__staticSelector:x,...R}=r,E=$t({name:x,classes:Eo,props:r,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:d,varsResolver:y4});return b.jsx(u4,{value:{yOffset:f,scrollAreaComponent:h,getStyles:E,fullScreen:w},children:b.jsx(yE,{ref:t,...E("root"),"data-full-screen":w||void 0,"data-centered":v||void 0,"data-offset-scrollbars":h===Xl.Autosize||void 0,unstyled:c,...R})})});rf.classes=Eo;rf.displayName="@mantine/core/ModalRoot";const[v4,b4]=_g();function kE({children:e}){const[t,r]=g.useState([]),[n,i]=g.useState(xo("modal"));return b.jsx(v4,{value:{stack:t,addModal:(a,l)=>{r(c=>[...new Set([...c,a])]),i(c=>typeof l=="number"&&typeof c=="number"?Math.max(c,l):c)},removeModal:a=>r(l=>l.filter(c=>c!==a)),getZIndex:a=>`calc(${n} + ${t.indexOf(a)} + 1)`,currentId:t[t.length-1],maxZIndex:n},children:e})}kE.displayName="@mantine/core/ModalStack";const w4={},nf=st((e,t)=>{const r=Ue("ModalTitle",w4,e),{classNames:n,className:i,style:a,styles:l,vars:c,...d}=r,f=Ca();return b.jsx(CE,{ref:t,...f.getStyles("title",{classNames:n,style:a,styles:l,className:i}),...d})});nf.classes=Eo;nf.displayName="@mantine/core/ModalTitle";const S4={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:xo("modal"),transitionProps:{duration:200,transition:"fade-down"},withOverlay:!0,withCloseButton:!0},En=st((e,t)=>{const{title:r,withOverlay:n,overlayProps:i,withCloseButton:a,closeButtonProps:l,children:c,radius:d,opened:f,stackId:h,zIndex:m,...w}=Ue("Modal",S4,e),v=b4(),C=!!r||a,x=v&&h?{closeOnEscape:v.currentId===h,trapFocus:v.currentId===h,zIndex:v.getZIndex(h)}:{},R=n===!1?!1:h&&v?v.currentId===h:f;return g.useEffect(()=>{v&&h&&(f?v.addModal(h,m||xo("modal")):v.removeModal(h))},[f,h,m]),b.jsxs(rf,{ref:t,radius:d,opened:f,zIndex:v&&h?v.getZIndex(h):m,...w,...x,children:[n&&b.jsx(tf,{visible:R,transitionProps:v&&h?{duration:0}:void 0,...i}),b.jsxs(Zd,{radius:d,__hidden:v&&h&&f?h!==v.currentId:!1,children:[C&&b.jsxs(ef,{children:[r&&b.jsx(nf,{children:r}),a&&b.jsx(Jd,{...l})]}),b.jsx(Qd,{children:c})]})]})});En.classes=Eo;En.displayName="@mantine/core/Modal";En.Root=rf;En.Overlay=tf;En.Content=Zd;En.Body=Qd;En.Header=ef;En.Title=nf;En.CloseButton=Jd;En.Stack=kE;var PE={root:"m_a513464",icon:"m_a4ceffb",loader:"m_b0920b15",body:"m_a49ed24",title:"m_3feedf16",description:"m_3d733a3a",closeButton:"m_919a4d88"};const x4={withCloseButton:!0},C4=(e,{radius:t,color:r})=>({root:{"--notification-radius":t===void 0?void 0:gi(t),"--notification-color":r?da(r,e):void 0}}),cy=st((e,t)=>{const r=Ue("Notification",x4,e),{className:n,color:i,radius:a,loading:l,withCloseButton:c,withBorder:d,title:f,icon:h,children:m,onClose:w,closeButtonProps:v,classNames:C,style:x,styles:R,unstyled:E,variant:P,vars:k,mod:T,loaderProps:N,role:j,...M}=r,O=$t({name:"Notification",classes:PE,props:r,className:n,style:x,classNames:C,styles:R,unstyled:E,vars:k,varsResolver:C4});return b.jsxs(Ve,{...O("root"),mod:[{"data-with-icon":!!h||l,"data-with-border":d},T],ref:t,variant:P,role:j||"alert",...M,children:[h&&!l&&b.jsx("div",{...O("icon"),children:h}),l&&b.jsx(Hd,{size:28,color:i,...N,...O("loader")}),b.jsxs("div",{...O("body"),children:[f&&b.jsx("div",{...O("title"),children:f}),b.jsx(Ve,{...O("description"),mod:{"data-with-title":!!f},children:m})]}),c&&b.jsx(Jl,{iconSize:16,color:"gray",...v,unstyled:E,onClick:w,...O("closeButton")})]})});cy.classes=PE;cy.displayName="@mantine/core/Notification";const R4={duration:100,transition:"fade"};function E4(e,t){return{...R4,...t,...e}}function k4({offset:e,position:t,defaultOpened:r}){const[n,i]=g.useState(r),a=g.useRef(null),{x:l,y:c,elements:d,refs:f,update:h,placement:m}=HR({placement:t,middleware:[Yg({crossAxis:!0,padding:5,rootBoundary:"document"})]}),w=m.includes("right")?e:t.includes("left")?e*-1:0,v=m.includes("bottom")?e:t.includes("top")?e*-1:0,C=g.useCallback(({clientX:x,clientY:R})=>{f.setPositionReference({getBoundingClientRect(){return{width:0,height:0,x,y:R,left:x+w,top:R+v,right:x,bottom:R}}})},[d.reference]);return g.useEffect(()=>{if(f.floating.current){const x=a.current;x.addEventListener("mousemove",C);const R=ho(f.floating.current);return R.forEach(E=>{E.addEventListener("scroll",h)}),()=>{x.removeEventListener("mousemove",C),R.forEach(E=>{E.removeEventListener("scroll",h)})}}},[d.reference,f.floating.current,h,C,n]),{handleMouseMove:C,x:l,y:c,opened:n,setOpened:i,boundaryRef:a,floating:f.setFloating}}var of={tooltip:"m_1b3c8819",arrow:"m_f898399f"};const P4={refProp:"ref",withinPortal:!0,offset:10,defaultOpened:!1,position:"right",zIndex:xo("popover")},A4=(e,{radius:t,color:r})=>({tooltip:{"--tooltip-radius":t===void 0?void 0:gi(t),"--tooltip-bg":r?da(r,e):void 0,"--tooltip-color":r?"var(--mantine-color-white)":void 0}}),uy=st((e,t)=>{const r=Ue("TooltipFloating",P4,e),{children:n,refProp:i,withinPortal:a,style:l,className:c,classNames:d,styles:f,unstyled:h,radius:m,color:w,label:v,offset:C,position:x,multiline:R,zIndex:E,disabled:P,defaultOpened:k,variant:T,vars:N,portalProps:j,...M}=r,O=Rn(),B=$t({name:"TooltipFloating",props:r,classes:of,className:c,style:l,classNames:d,styles:f,unstyled:h,rootSelector:"tooltip",vars:N,varsResolver:A4}),{handleMouseMove:H,x:Y,y:ne,opened:te,boundaryRef:K,floating:W,setOpened:U}=k4({offset:C,position:x,defaultOpened:k});if(!Og(n))throw new Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");const z=Co(K,pR(n),t),_=n.props,I=D=>{var V;(V=_.onMouseEnter)==null||V.call(_,D),H(D),U(!0)},L=D=>{var V;(V=_.onMouseLeave)==null||V.call(_,D),U(!1)};return b.jsxs(b.Fragment,{children:[b.jsx(Ql,{...j,withinPortal:a,children:b.jsx(Ve,{...M,...B("tooltip",{style:{...wR(l,O),zIndex:E,display:!P&&te?"block":"none",top:(ne&&Math.round(ne))??"",left:(Y&&Math.round(Y))??""}}),variant:T,ref:W,mod:{multiline:R},children:v})}),g.cloneElement(n,{..._,[i]:z,onMouseEnter:I,onMouseLeave:L})]})});uy.classes=of;uy.displayName="@mantine/core/TooltipFloating";const AE=g.createContext(!1),T4=AE.Provider,N4=()=>g.useContext(AE),D4={openDelay:0,closeDelay:0};function dy(e){const{openDelay:t,closeDelay:r,children:n}=Ue("TooltipGroup",D4,e);return b.jsx(T4,{value:!0,children:b.jsx(r3,{delay:{open:t,close:r},children:n})})}dy.displayName="@mantine/core/TooltipGroup";dy.extend=e=>e;function O4(e){if(e===void 0)return{shift:!0,flip:!0};const t={...e};return e.shift===void 0&&(t.shift=!0),e.flip===void 0&&(t.flip=!0),t}function _4(e){const t=O4(e.middlewares),r=[$R(e.offset)];return t.shift&&r.push(Yg(typeof t.shift=="boolean"?{padding:8}:{padding:8,...t.shift})),t.flip&&r.push(typeof t.flip=="boolean"?xh():xh(t.flip)),r.push(zR({element:e.arrowRef,padding:e.arrowOffset})),t.inline?r.push(typeof t.inline=="boolean"?Nm():Nm(t.inline)):e.inline&&r.push(Nm()),r}function M4(e){var j,M,O;const[t,r]=g.useState(e.defaultOpened),i=typeof e.opened=="boolean"?e.opened:t,a=N4(),l=Mg(),c=g.useCallback(B=>{r(B),B&&P(l)},[l]),{x:d,y:f,context:h,refs:m,update:w,placement:v,middlewareData:{arrow:{x:C,y:x}={}}}=HR({strategy:e.strategy,placement:e.position,open:i,onOpenChange:c,middleware:_4(e)}),{delay:R,currentId:E,setCurrentId:P}=n3(h,{id:l}),{getReferenceProps:k,getFloatingProps:T}=u3([e3(h,{enabled:(j=e.events)==null?void 0:j.hover,delay:a?R:{open:e.openDelay,close:e.closeDelay},mouseOnly:!((M=e.events)!=null&&M.touch)}),c3(h,{enabled:(O=e.events)==null?void 0:O.focus,visibleOnly:!0}),f3(h,{role:"tooltip"}),a3(h,{enabled:typeof e.opened>"u"})]);L3({opened:i,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:m,update:w}}),ua(()=>{var B;(B=e.onPositionChange)==null||B.call(e,v)},[v]);const N=i&&E&&E!==l;return{x:d,y:f,arrowX:C,arrowY:x,reference:m.setReference,floating:m.setFloating,getFloatingProps:T,getReferenceProps:k,isGroupPhase:N,opened:i,placement:v}}const PS={position:"top",refProp:"ref",withinPortal:!0,inline:!1,defaultOpened:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},events:{hover:!0,focus:!1,touch:!1},zIndex:xo("popover"),positionDependencies:[],middlewares:{flip:!0,shift:!0,inline:!1}},j4=(e,{radius:t,color:r})=>({tooltip:{"--tooltip-radius":t===void 0?void 0:gi(t),"--tooltip-bg":r?da(r,e):void 0,"--tooltip-color":r?"var(--mantine-color-white)":void 0}}),Zl=st((e,t)=>{const r=Ue("Tooltip",PS,e),{children:n,position:i,refProp:a,label:l,openDelay:c,closeDelay:d,onPositionChange:f,opened:h,defaultOpened:m,withinPortal:w,radius:v,color:C,classNames:x,styles:R,unstyled:E,style:P,className:k,withArrow:T,arrowSize:N,arrowOffset:j,arrowRadius:M,arrowPosition:O,offset:B,transitionProps:H,multiline:Y,events:ne,zIndex:te,disabled:K,positionDependencies:W,onClick:U,onMouseEnter:z,onMouseLeave:_,inline:I,variant:L,keepMounted:D,vars:V,portalProps:ee,mod:re,floatingStrategy:oe,middlewares:ie,...me}=Ue("Tooltip",PS,r),{dir:ue}=Bg(),pe=g.useRef(null),ve=M4({position:P3(ue,i),closeDelay:d,openDelay:c,onPositionChange:f,opened:h,defaultOpened:m,events:ne,arrowRef:pe,arrowOffset:j,offset:typeof B=="number"?B+(T?N/2:0):B,positionDependencies:[...W,n],inline:I,strategy:oe,middlewares:ie}),ge=$t({name:"Tooltip",props:r,classes:of,className:k,style:P,classNames:x,styles:R,unstyled:E,rootSelector:"tooltip",vars:V,varsResolver:j4});if(!Og(n))throw new Error("[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");const Me=Co(ve.reference,pR(n),t),ze=E4(H,{duration:100,transition:"fade"}),We=n.props;return b.jsxs(b.Fragment,{children:[b.jsx(Ql,{...ee,withinPortal:w,children:b.jsx(Vd,{...ze,keepMounted:D,mounted:!K&&!!ve.opened,duration:ve.isGroupPhase?10:ze.duration,children:Pt=>b.jsxs(Ve,{...me,"data-fixed":oe==="fixed"||void 0,variant:L,mod:[{multiline:Y},re],...ve.getFloatingProps({ref:ve.floating,className:ge("tooltip").className,style:{...ge("tooltip").style,...Pt,zIndex:te,top:ve.y??0,left:ve.x??0}}),children:[l,b.jsx(aE,{ref:pe,arrowX:ve.arrowX,arrowY:ve.arrowY,visible:T,position:ve.placement,arrowSize:N,arrowOffset:j,arrowRadius:M,arrowPosition:O,...ge("arrow")})]})})}),g.cloneElement(n,ve.getReferenceProps({onClick:U,onMouseEnter:z,onMouseLeave:_,onMouseMove:r.onMouseMove,onPointerDown:r.onPointerDown,onPointerEnter:r.onPointerEnter,className:er(k,We.className),...We,[a]:Me}))]})});Zl.classes=of;Zl.displayName="@mantine/core/Tooltip";Zl.Floating=uy;Zl.Group=dy;const L4={},fy=st((e,t)=>{const r=Ue("TextInput",L4,e);return b.jsx(Xd,{component:"input",ref:t,...r,__staticSelector:"TextInput"})});fy.classes=Xd.classes;fy.displayName="@mantine/core/TextInput";const F4=g.forwardRef(({className:e,type:t,...r},n)=>b.jsx(fy,{ref:n,type:t,classNames:{input:kt("h-9 rounded-md border-input bg-background px-3 py-1 text-sm shadow-xs","placeholder:text-muted-foreground","focus:border-ring focus:ring-2 focus:ring-ring/30","disabled:cursor-not-allowed disabled:opacity-50",e),wrapper:"w-full",root:"w-full"},styles:{input:{minHeight:"36px"}},...r}));F4.displayName="Input";g.createContext({open:!1,setOpen:()=>{},side:"right",setSide:()=>{}});const py=g.createContext({label:null,setLabel:()=>{}});function I4({children:e,delayDuration:t}){return b.jsx(b.Fragment,{children:e})}function d7({children:e}){const[t,r]=g.useState(null);return b.jsx(py.Provider,{value:{label:t,setLabel:r},children:e})}function f7({children:e,asChild:t,className:r,...n}){const{label:i}=g.useContext(py),a=t&&g.isValidElement(e)?e:b.jsx("button",{type:"button","data-slot":"tooltip-trigger",className:kt("cursor-pointer",r),...n,children:e});return b.jsx(Zl,{label:i??"",disabled:!i,withArrow:!0,arrowSize:6,children:a})}function p7({children:e,className:t,sideOffset:r,...n}){const{setLabel:i}=g.useContext(py);return g.useEffect(()=>(i(e),()=>i(null)),[e,i]),null}const U4="sidebar_state",$4=3600*24*7,z4="16rem",B4="3rem",q4="b",TE=g.createContext(null);function NE(){const e=g.useContext(TE);if(!e)throw new Error("useSidebar must be used within a SidebarProvider.");return e}function V4({defaultOpen:e=!0,open:t,onOpenChange:r,className:n,style:i,children:a,...l}){const c=EI(),[d,f]=g.useState(!1),[h,m]=g.useState(e),w=t??h,v=g.useCallback(E=>{const P=typeof E=="function"?E(w):E;r?r(P):m(P),document.cookie=`${U4}=${P}; path=/; max-age=${$4}`},[r,w]),C=g.useCallback(()=>c?f(E=>!E):v(E=>!E),[c,v,f]);g.useEffect(()=>{const E=P=>{P.key===q4&&(P.metaKey||P.ctrlKey)&&(P.preventDefault(),C())};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[C]);const x=w?"expanded":"collapsed",R=g.useMemo(()=>({state:x,open:w,setOpen:v,isMobile:c,openMobile:d,setOpenMobile:f,toggleSidebar:C}),[x,w,v,c,d,f,C]);return b.jsx(TE.Provider,{value:R,children:b.jsx(I4,{delayDuration:0,children:b.jsx("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":z4,"--sidebar-width-icon":B4,...i},className:kt("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",n),...l,children:a})})})}const Ph={sidebar:{bg:"linear-gradient(180deg, #1E293B 0%, #0F172A 100%)",headerBg:"rgba(30, 41, 59, 0.82)",footerBg:"rgba(15, 23, 42, 0.62)",border:"rgba(255,255,255,0.10)",text:"rgba(255,255,255,0.76)",mutedText:"rgba(255,255,255,0.42)",childText:"rgba(255,255,255,0.68)",activeText:"#FFFFFF",iconBg:"rgba(255,255,255,0.06)",iconActiveBg:"rgba(255,255,255,0.12)",hoverBg:"rgba(255,255,255,0.08)",activeBg:"rgba(255,255,255,0.15)",activeBorder:"rgba(255,255,255,0.14)",sectionLine:"rgba(255,255,255,0.10)",rail:"linear-gradient(180deg, #6366F1 0%, #3B82F6 100%)"},header:{bg:"rgba(255,255,255,0.92)",border:"rgba(15, 23, 42, 0.08)",searchBg:"#F9FAFB",searchBorder:"#E5E7EB",title:"#1F2937",subtitle:"#6B7280"},page:{bg:"#F8FAFC",cardBg:"rgba(255,255,255,0.92)"},brand:{brick:"#1E293B",brickDark:"#0F172A",blue:"#3B82F6",blueDark:"#2563EB",gold:"#6366F1",text:"#1F2937"},sizes:{sidebarExpanded:288,sidebarCollapsed:80,headerHeight:64}},H4={...Ph,header:{bg:"rgba(26, 27, 30, 0.92)",border:"rgba(255,255,255,0.08)",searchBg:"#25262B",searchBorder:"#2C2E33",title:"#F1F5F9",subtitle:"#9CA3AF"},page:{bg:"#141517",cardBg:"rgba(26, 27, 30, 0.92)"},brand:{...Ph.brand,text:"#F1F5F9"}};function W4(){var r,n;const e=Rn(),{colorScheme:t}=bR();return t==="dark"?((r=e.other)==null?void 0:r.fhcLayoutDark)??H4:((n=e.other)==null?void 0:n.fhcLayout)??Ph}const G4=({topOffset:e="0px",showBrand:t=!0})=>{var U;const{t:r}=So(),{all:n}=LC(),i=W4(),{open:a,setOpen:l,isMobile:c,openMobile:d,setOpenMobile:f}=NE(),h=Dd(),m=h.layout,w=!c&&!a,v=(z,_)=>`var(--um-${z}, ${_})`,C=v("sidebar-bg",i.sidebar.bg),x=v("sidebar-fg",i.sidebar.text),R=v("sidebar-muted",i.sidebar.mutedText),E=v("sidebar-active-bg",i.sidebar.activeBg),P=v("sidebar-active-fg",i.sidebar.activeText),k=v("sidebar-hover-bg",i.sidebar.hoverBg),T=v("sidebar-border",i.sidebar.border),N=v("sidebar-rail",i.sidebar.rail),j=`var(--um-sidebar-width, ${i.sizes.sidebarExpanded}px)`,M=`var(--um-sidebar-collapsed-width, ${i.sizes.sidebarCollapsed}px)`,O=w?M:j,B=(m==null?void 0:m.sidebarBrandLabel)??"User Management",H=(m==null?void 0:m.sidebarBrandSublabel)??"",Y=(U=h.brand)==null?void 0:U.logoUrl,ne=()=>f(!1),te=b.jsx("nav",{className:"flex flex-col gap-1.5 px-3 py-4 overflow-y-auto flex-1 scrollbar-none",children:n?.map(z=>b.jsxs(gg,{to:z.href,onClick:c?ne:void 0,title:w?r(`organization.${z.label}`):void 0,className:"group relative flex items-center rounded-xl transition-colors",style:({isActive:_})=>({gap:12,padding:w?"10px":"10px 12px",justifyContent:w?"center":"flex-start",background:_?E:"transparent",color:_?P:x,border:`1px solid ${_?T:"transparent"}`}),onMouseEnter:_=>{_.currentTarget.getAttribute("aria-current")||(_.currentTarget.style.background=k)},onMouseLeave:_=>{_.currentTarget.getAttribute("aria-current")||(_.currentTarget.style.background="transparent")},children:[b.jsx("span",{className:"flex h-9 w-9 flex-shrink-0 items-center justify-center rounded-lg [&_svg]:h-5 [&_svg]:w-5",children:z.icon}),!w&&b.jsx("span",{className:"min-w-0 flex-1 truncate text-sm font-semibold",children:r(`organization.${z.label}`)})]},z.key))}),K=b.jsxs("div",{className:"flex items-center gap-3 px-4",style:{height:`var(--um-header-height, ${i.sizes.headerHeight}px)`,borderBottom:`1px solid ${T}`,justifyContent:w?"center":"flex-start"},children:[b.jsx("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-white",style:{color:i.brand.brick},children:Y?b.jsx("img",{src:Y,alt:"",className:"h-7 w-7 object-contain"}):b.jsx(Km,{className:"h-6 w-6"})}),!w&&b.jsxs("div",{className:"min-w-0",children:[b.jsx("p",{className:"truncate text-xs font-extrabold uppercase tracking-widest",style:{color:P},children:B}),H&&b.jsx("p",{className:"truncate text-[10px] uppercase tracking-[0.2em]",style:{color:R},children:H})]})]}),W=b.jsxs("div",{className:"flex h-full flex-col",style:{background:C,color:x},children:[t&&K,te,!c&&b.jsxs("button",{type:"button",onClick:()=>l(!a),className:"flex items-center justify-center gap-2 py-2.5 text-xs font-medium transition-colors hover:opacity-90",style:{borderTop:`1px solid ${T}`,color:R},"aria-label":w?"Expand menu":"Collapse menu",children:[w?b.jsx(CD,{className:"h-4 w-4"}):b.jsx(SD,{className:"h-4 w-4"}),!w&&b.jsx("span",{children:"Collapse"})]}),b.jsx("div",{style:{height:4,background:N,opacity:.9}})]});return c?b.jsxs(b.Fragment,{children:[d&&b.jsx("div",{className:"fixed inset-0 z-40 bg-black/40 backdrop-blur-sm md:hidden",onClick:ne,"aria-hidden":!0}),b.jsx("aside",{className:"fixed inset-y-0 left-0 z-50 transition-transform duration-300 md:hidden",style:{width:j,maxWidth:"85vw",transform:d?"translateX(0)":"translateX(-100%)",boxShadow:d?"0 10px 40px rgba(0,0,0,0.35)":"none"},children:b.jsxs("div",{className:"relative h-full",children:[b.jsx("button",{type:"button",onClick:ne,className:"absolute right-3 top-3 z-10 rounded-md p-1",style:{color:R},"aria-label":"Close menu",children:b.jsx(bg,{className:"h-5 w-5"})}),W]})})]}):b.jsx("aside",{className:"hidden md:block flex-shrink-0 transition-[width] duration-300",style:{width:O,borderRight:`1px solid ${T}`},children:b.jsx("div",{className:"sticky",style:{top:e,height:`calc(100vh - ${e})`},children:W})})};function He(e,t,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e==null||e(i),r===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function AS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function my(...e){return t=>{let r=!1;const n=e?.map(i=>{const a=AS(i,t);return!r&&typeof a=="function"&&(r=!0),a});if(r)return()=>{for(let i=0;i<n.length;i++){const a=n[i];typeof a=="function"?a():AS(e[i],null)}}}}function Nr(...e){return g.useCallback(my(...e),e)}function m7(e,t){const r=g.createContext(t);r.displayName=e+"Context";const n=a=>{const{children:l,...c}=a,d=g.useMemo(()=>c,Object.values(c));return b.jsx(r.Provider,{value:d,children:l})};n.displayName=e+"Provider";function i(a){const l=g.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[n,i]}function ec(e,t=[]){let r=[];function n(a,l){const c=g.createContext(l);c.displayName=a+"Context";const d=r.length;r=[...r,l];const f=m=>{var E;const{scope:w,children:v,...C}=m,x=((E=w==null?void 0:w[e])==null?void 0:E[d])||c,R=g.useMemo(()=>C,Object.values(C));return b.jsx(x.Provider,{value:R,children:v})};f.displayName=a+"Provider";function h(m,w){var x;const v=((x=w==null?void 0:w[e])==null?void 0:x[d])||c,C=g.useContext(v);if(C)return C;if(l!==void 0)return l;throw new Error(`\`${m}\` must be used within \`${a}\``)}return[f,h]}const i=()=>{const a=r?.map(l=>g.createContext(l));return function(c){const d=(c==null?void 0:c[e])||a;return g.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return i.scopeName=e,[n,K4(i,...t)]}function K4(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e?.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(a){const l=n.reduce((c,{useScope:d,scopeName:f})=>{const m=d(a)[`__scope${f}`];return{...c,...m}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}var go=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},Y4=wd[" useInsertionEffect ".trim().toString()]||go;function DE({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[i,a,l]=X4({defaultProp:t,onChange:r}),c=e!==void 0,d=c?e:i;{const h=g.useRef(e!==void 0);g.useEffect(()=>{const m=h.current;if(m!==c){const w=m?"controlled":"uncontrolled",v=c?"controlled":"uncontrolled"}h.current=c},[c,n])}const f=g.useCallback(h=>{var m;if(c){const w=Q4(h)?h(e):h;w!==e&&((m=l.current)==null||m.call(l,w))}else a(h)},[c,e,a,l]);return[d,f]}function X4({defaultProp:e,onChange:t}){const[r,n]=g.useState(e),i=g.useRef(r),a=g.useRef(t);return Y4(()=>{a.current=t},[t]),g.useEffect(()=>{var l;i.current!==r&&((l=a.current)==null||l.call(a,r),i.current=r)},[r,i]),[r,n,a]}function Q4(e){return typeof e=="function"}function dd(e){const t=g.forwardRef((r,n)=>{let{children:i,...a}=r,l=null,c=!1;const d=[];TS(i)&&typeof Eu=="function"&&(i=Eu(i._payload)),g.Children.forEach(i,w=>{var v;if(rB(w)){c=!0;const C=w;let x="child"in C.props?C.props.child:C.props.children;TS(x)&&typeof Eu=="function"&&(x=Eu(x._payload)),l=Z4(C,x),d.push((v=l==null?void 0:l.props)==null?void 0:v.children)}else d.push(w)}),l?l=g.cloneElement(l,void 0,d):!c&&g.Children.count(i)===1&&g.isValidElement(i)&&(l=i);const f=l?tB(l):void 0,h=Nr(n,f);if(!l){if(i||i===0)throw new Error(c?sB(e):iB(e));return i}const m=eB(a,l.props??{});return l.type!==g.Fragment&&(m.ref=n?h:f),g.cloneElement(l,m)});return t.displayName=`${e}.Slot`,t}var J4=Symbol.for("radix.slottable"),Z4=(e,t)=>{if("child"in e.props){const r=e.props.child;return g.isValidElement(r)?g.cloneElement(r,void 0,e.props.children(r.props.children)):null}return g.isValidElement(t)?t:null};function eB(e,t){const r={...t};for(const n in t){const i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...c)=>{const d=a(...c);return i(...c),d}:i&&(r[n]=i):n==="style"?r[n]={...i,...a}:n==="className"&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}function tB(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function rB(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===J4}var nB=Symbol.for("react.lazy");function TS(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===nB&&"_payload"in e&&oB(e._payload)}function oB(e){return typeof e=="object"&&e!==null&&"then"in e}var iB=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,sB=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,Eu=wd[" use ".trim().toString()],aB=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],cr=aB.reduce((e,t)=>{const r=dd(`Primitive.${t}`),n=g.forwardRef((i,a)=>{const{asChild:l,...c}=i,d=l?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),b.jsx(d,{...c,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function OE(e,t){e&&Bl.flushSync(()=>e.dispatchEvent(t))}function _E(e){const t=e+"CollectionProvider",[r,n]=ec(t),[i,a]=r(t,{collectionRef:{current:null},itemMap:new Map}),l=x=>{const{scope:R,children:E}=x,P=g.useRef(null),k=g.useRef(new Map).current;return b.jsx(i,{scope:R,itemMap:k,collectionRef:P,children:E})};l.displayName=t;const c=e+"CollectionSlot",d=dd(c),f=g.forwardRef((x,R)=>{const{scope:E,children:P}=x,k=a(c,E),T=Nr(R,k.collectionRef);return b.jsx(d,{ref:T,children:P})});f.displayName=c;const h=e+"CollectionItemSlot",m="data-radix-collection-item",w=dd(h),v=g.forwardRef((x,R)=>{const{scope:E,children:P,...k}=x,T=g.useRef(null),N=Nr(R,T),j=a(h,E);return g.useEffect(()=>(j.itemMap.set(T,{ref:T,...k}),()=>void j.itemMap.delete(T))),b.jsx(w,{[m]:"",ref:N,children:P})});v.displayName=h;function C(x){const R=a(e+"CollectionConsumer",x);return g.useCallback(()=>{const P=R.collectionRef.current;if(!P)return[];const k=Array.from(P.querySelectorAll(`[${m}]`));return Array.from(R.itemMap.values()).sort((j,M)=>k.indexOf(j.ref.current)-k.indexOf(M.ref.current))},[R.collectionRef,R.itemMap])}return[{Provider:l,Slot:f,ItemSlot:v},C,n]}var lB=g.createContext(void 0);function ME(e){const t=g.useContext(lB);return e||t||"ltr"}function wo(e){const t=g.useRef(e);return g.useEffect(()=>{t.current=e}),g.useMemo(()=>((...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)}),[])}function cB(e,t=globalThis==null?void 0:globalThis.document){const r=wo(e);g.useEffect(()=>{const n=i=>{i.key==="Escape"&&r(i)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var uB="DismissableLayer",Ah="dismissableLayer.update",dB="dismissableLayer.pointerDownOutside",fB="dismissableLayer.focusOutside",NS,jE=g.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),LE=g.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:l,onDismiss:c,...d}=e,f=g.useContext(jE),[h,m]=g.useState(null),w=(h==null?void 0:h.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,v]=g.useState({}),C=Nr(t,M=>m(M)),x=Array.from(f.layers),[R]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),E=x.indexOf(R),P=h?x.indexOf(h):-1,k=f.layersWithOutsidePointerEventsDisabled.size>0,T=P>=E,N=hB(M=>{const O=M.target,B=[...f.branches]?.some(H=>H.contains(O));!T||B||(i==null||i(M),l==null||l(M),M.defaultPrevented||c==null||c())},w),j=gB(M=>{const O=M.target;[...f.branches]?.some(H=>H.contains(O))||(a==null||a(M),l==null||l(M),M.defaultPrevented||c==null||c())},w);return cB(M=>{P===f.layers.size-1&&(n==null||n(M),!M.defaultPrevented&&c&&(M.preventDefault(),c()))},w),g.useEffect(()=>{if(h)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(NS=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),DS(),()=>{r&&(f.layersWithOutsidePointerEventsDisabled.delete(h),f.layersWithOutsidePointerEventsDisabled.size===0&&(w.body.style.pointerEvents=NS))}},[h,w,r,f]),g.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),DS())},[h,f]),g.useEffect(()=>{const M=()=>v({});return document.addEventListener(Ah,M),()=>document.removeEventListener(Ah,M)},[]),b.jsx(cr.div,{...d,ref:C,style:{pointerEvents:k?T?"auto":"none":void 0,...e.style},onFocusCapture:He(e.onFocusCapture,j.onFocusCapture),onBlurCapture:He(e.onBlurCapture,j.onBlurCapture),onPointerDownCapture:He(e.onPointerDownCapture,N.onPointerDownCapture)})});LE.displayName=uB;var pB="DismissableLayerBranch",mB=g.forwardRef((e,t)=>{const r=g.useContext(jE),n=g.useRef(null),i=Nr(t,n);return g.useEffect(()=>{const a=n.current;if(a)return r.branches.add(a),()=>{r.branches.delete(a)}},[r.branches]),b.jsx(cr.div,{...e,ref:i})});mB.displayName=pB;function hB(e,t=globalThis==null?void 0:globalThis.document){const r=wo(e),n=g.useRef(!1),i=g.useRef(()=>{});return g.useEffect(()=>{const a=c=>{if(c.target&&!n.current){let d=function(){FE(dB,r,f,{discrete:!0})};const f={originalEvent:c};c.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=d,t.addEventListener("click",i.current,{once:!0})):d()}else t.removeEventListener("click",i.current);n.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",i.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function gB(e,t=globalThis==null?void 0:globalThis.document){const r=wo(e),n=g.useRef(!1);return g.useEffect(()=>{const i=a=>{a.target&&!n.current&&FE(fB,r,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function DS(){const e=new CustomEvent(Ah);document.dispatchEvent(e)}function FE(e,t,r,{discrete:n}){const i=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&i.addEventListener(e,t,{once:!0}),n?OE(i,a):i.dispatchEvent(a)}var ku=0,Mn=null;function yB(){g.useEffect(()=>{Mn||(Mn={start:OS(),end:OS()});const{start:e,end:t}=Mn;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),ku++,()=>{ku===1&&(Mn==null||Mn.start.remove(),Mn==null||Mn.end.remove(),Mn=null),ku=Math.max(0,ku-1)}},[])}function OS(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var jm="focusScope.autoFocusOnMount",Lm="focusScope.autoFocusOnUnmount",_S={bubbles:!1,cancelable:!0},vB="FocusScope",IE=g.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:i,onUnmountAutoFocus:a,...l}=e,[c,d]=g.useState(null),f=wo(i),h=wo(a),m=g.useRef(null),w=Nr(t,x=>d(x)),v=g.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;g.useEffect(()=>{if(n){let x=function(k){if(v.paused||!c)return;const T=k.target;c.contains(T)?m.current=T:Zo(m.current,{select:!0})},R=function(k){if(v.paused||!c)return;const T=k.relatedTarget;T!==null&&(c.contains(T)||Zo(m.current,{select:!0}))},E=function(k){if(document.activeElement===document.body)for(const N of k)N.removedNodes.length>0&&Zo(c)};document.addEventListener("focusin",x),document.addEventListener("focusout",R);const P=new MutationObserver(E);return c&&P.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",R),P.disconnect()}}},[n,c,v.paused]),g.useEffect(()=>{if(c){jS.add(v);const x=document.activeElement;if(!c.contains(x)){const E=new CustomEvent(jm,_S);c.addEventListener(jm,f),c.dispatchEvent(E),E.defaultPrevented||(bB(RB(UE(c)),{select:!0}),document.activeElement===x&&Zo(c))}return()=>{c.removeEventListener(jm,f),setTimeout(()=>{const E=new CustomEvent(Lm,_S);c.addEventListener(Lm,h),c.dispatchEvent(E),E.defaultPrevented||Zo(x??document.body,{select:!0}),c.removeEventListener(Lm,h),jS.remove(v)},0)}}},[c,f,h,v]);const C=g.useCallback(x=>{if(!r&&!n||v.paused)return;const R=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,E=document.activeElement;if(R&&E){const P=x.currentTarget,[k,T]=wB(P);k&&T?!x.shiftKey&&E===T?(x.preventDefault(),r&&Zo(k,{select:!0})):x.shiftKey&&E===k&&(x.preventDefault(),r&&Zo(T,{select:!0})):E===P&&x.preventDefault()}},[r,n,v.paused]);return b.jsx(cr.div,{tabIndex:-1,...l,ref:w,onKeyDown:C})});IE.displayName=vB;function bB(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(Zo(n,{select:t}),document.activeElement!==r)return}function wB(e){const t=UE(e),r=MS(t,e),n=MS(t.reverse(),e);return[r,n]}function UE(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const i=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||i?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function MS(e,t){for(const r of e)if(!SB(r,{upTo:t}))return r}function SB(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function xB(e){return e instanceof HTMLInputElement&&"select"in e}function Zo(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&xB(e)&&t&&e.select()}}var jS=CB();function CB(){let e=[];return{add(t){const r=e[0];t!==r&&(r==null||r.pause()),e=LS(e,t),e.unshift(t)},remove(t){var r;e=LS(e,t),(r=e[0])==null||r.resume()}}}function LS(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function RB(e){return e.filter(t=>t.tagName!=="A")}var EB=wd[" useId ".trim().toString()]||(()=>{}),kB=0;function Th(e){const[t,r]=g.useState(EB());return go(()=>{r(n=>n??String(kB++))},[e]),t?`radix-${t}`:""}var PB="Arrow",$E=g.forwardRef((e,t)=>{const{children:r,width:n=10,height:i=5,...a}=e;return b.jsx(cr.svg,{...a,ref:t,width:n,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:b.jsx("polygon",{points:"0,0 30,0 15,10"})})});$E.displayName=PB;var AB=$E;function TB(e){const[t,r]=g.useState(void 0);return go(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,c;if("borderBoxSize"in a){const d=a.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,c=f.blockSize}else l=e.offsetWidth,c=e.offsetHeight;r({width:l,height:c})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),t}var hy="Popper",[zE,BE]=ec(hy),[NB,qE]=zE(hy),VE=e=>{const{__scopePopper:t,children:r}=e,[n,i]=g.useState(null),[a,l]=g.useState(void 0);return b.jsx(NB,{scope:t,anchor:n,onAnchorChange:i,placementState:a,setPlacementState:l,children:r})};VE.displayName=hy;var HE="PopperAnchor",WE=g.forwardRef((e,t)=>{const{__scopePopper:r,virtualRef:n,...i}=e,a=qE(HE,r),l=g.useRef(null),c=a.onAnchorChange,d=g.useCallback(C=>{l.current=C,C&&c(C)},[c]),f=Nr(t,d),h=g.useRef(null);g.useEffect(()=>{if(!n)return;const C=h.current;h.current=n.current,C!==h.current&&c(h.current)});const m=a.placementState&&yy(a.placementState),w=m==null?void 0:m[0],v=m==null?void 0:m[1];return n?null:b.jsx(cr.div,{"data-radix-popper-side":w,"data-radix-popper-align":v,...i,ref:f})});WE.displayName=HE;var gy="PopperContent",[DB,OB]=zE(gy),GE=g.forwardRef((e,t)=>{var ue,pe,ve,ge,Me,ze;const{__scopePopper:r,side:n="bottom",sideOffset:i=0,align:a="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:f,collisionPadding:h=0,sticky:m="partial",hideWhenDetached:w=!1,updatePositionStrategy:v="optimized",onPlaced:C,...x}=e,R=qE(gy,r),[E,P]=g.useState(null),k=Nr(t,We=>P(We)),[T,N]=g.useState(null),j=TB(T),M=(j==null?void 0:j.width)??0,O=(j==null?void 0:j.height)??0,B=n+(a!=="center"?"-"+a:""),H=typeof h=="number"?h:{top:0,right:0,bottom:0,left:0,...h},Y=f?Array.isArray(f)?f:[f]:void 0,ne=Y!==void 0&&Y.length>0,te={padding:H,boundary:Y==null?void 0:Y.filter(MB),altBoundary:ne},{refs:K,floatingStyles:W,placement:U,isPositioned:z,middlewareData:_}=UR({strategy:"fixed",placement:B,whileElementsMounted:(...We)=>FR(...We,{animationFrame:v==="always"}),elements:{reference:R.anchor},middleware:[$R({mainAxis:i+O,alignmentAxis:l}),d&&Yg({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?Bz():void 0,...te}),d&&xh({...te}),qz({...te,apply:({elements:We,rects:Pt,availableWidth:tr,availableHeight:at})=>{const{width:dr,height:rt}=Pt.reference,At=We.floating.style;At.setProperty("--radix-popper-available-width",`${tr}px`),At.setProperty("--radix-popper-available-height",`${at}px`),At.setProperty("--radix-popper-anchor-width",`${dr}px`),At.setProperty("--radix-popper-anchor-height",`${rt}px`)}}),T&&zR({element:T,padding:c}),jB({arrowWidth:M,arrowHeight:O}),w&&Vz({strategy:"referenceHidden",...te})]}),I=R.setPlacementState;go(()=>(I(U),()=>{I(void 0)}),[U,I]);const[L,D]=yy(U),V=wo(C);go(()=>{z&&(V==null||V())},[z,V]);const ee=(ue=_.arrow)==null?void 0:ue.x,re=(pe=_.arrow)==null?void 0:pe.y,oe=((ve=_.arrow)==null?void 0:ve.centerOffset)!==0,[ie,me]=g.useState();return go(()=>{E&&me(window.getComputedStyle(E).zIndex)},[E]),b.jsx("div",{ref:K.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:z?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ie,"--radix-popper-transform-origin":[(ge=_.transformOrigin)==null?void 0:ge.x,(Me=_.transformOrigin)==null?void 0:Me.y].join(" "),...((ze=_.hide)==null?void 0:ze.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:b.jsx(DB,{scope:r,placedSide:L,placedAlign:D,onArrowChange:N,arrowX:ee,arrowY:re,shouldHideArrow:oe,children:b.jsx(cr.div,{"data-side":L,"data-align":D,...x,ref:k,style:{...x.style,animation:z?void 0:"none"}})})})});GE.displayName=gy;var KE="PopperArrow",_B={top:"bottom",right:"left",bottom:"top",left:"right"},YE=g.forwardRef(function(t,r){const{__scopePopper:n,...i}=t,a=OB(KE,n),l=_B[a.placedSide];return b.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:b.jsx(AB,{...i,ref:r,style:{...i.style,display:"block"}})})});YE.displayName=KE;function MB(e){return e!==null}var jB=e=>({name:"transformOrigin",options:e,fn(t){var R,E,P;const{placement:r,rects:n,middlewareData:i}=t,l=((R=i.arrow)==null?void 0:R.centerOffset)!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[f,h]=yy(r),m={start:"0%",center:"50%",end:"100%"}[h],w=(((E=i.arrow)==null?void 0:E.x)??0)+c/2,v=(((P=i.arrow)==null?void 0:P.y)??0)+d/2;let C="",x="";return f==="bottom"?(C=l?m:`${w}px`,x=`${-d}px`):f==="top"?(C=l?m:`${w}px`,x=`${n.floating.height+d}px`):f==="right"?(C=`${-d}px`,x=l?m:`${v}px`):f==="left"&&(C=`${n.floating.width+d}px`,x=l?m:`${v}px`),{data:{x:C,y:x}}}});function yy(e){const[t,r="center"]=e.split("-");return[t,r]}var LB=VE,FB=WE,IB=GE,UB=YE,$B="Portal",XE=g.forwardRef((e,t)=>{var c;const{container:r,...n}=e,[i,a]=g.useState(!1);go(()=>a(!0),[]);const l=r||i&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?Bl.createPortal(b.jsx(cr.div,{...n,ref:t}),l):null});XE.displayName=$B;function zB(e,t){return g.useReducer((r,n)=>t[r][n]??r,e)}var tc=e=>{const{present:t,children:r}=e,n=BB(t),i=typeof r=="function"?r({present:n.isPresent}):g.Children.only(r),a=qB(n.ref,VB(i));return typeof r=="function"||n.isPresent?g.cloneElement(i,{ref:a}):null};tc.displayName="Presence";function BB(e){const[t,r]=g.useState(),n=g.useRef(null),i=g.useRef(e),a=g.useRef("none"),l=e?"mounted":"unmounted",[c,d]=zB(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const f=Pu(n.current);a.current=c==="mounted"?f:"none"},[c]),go(()=>{const f=n.current,h=i.current;if(h!==e){const w=a.current,v=Pu(f);e?d("MOUNT"):v==="none"||(f==null?void 0:f.display)==="none"?d("UNMOUNT"):d(h&&w!==v?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,d]),go(()=>{if(t){let f;const h=t.ownerDocument.defaultView??window,m=v=>{const x=Pu(n.current).includes(CSS.escape(v.animationName));if(v.target===t&&x&&(d("ANIMATION_END"),!i.current)){const R=t.style.animationFillMode;t.style.animationFillMode="forwards",f=h.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=R)})}},w=v=>{v.target===t&&(a.current=Pu(n.current))};return t.addEventListener("animationstart",w),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{h.clearTimeout(f),t.removeEventListener("animationstart",w),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else d("ANIMATION_END")},[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:g.useCallback(f=>{n.current=f?getComputedStyle(f):null,r(f)},[])}}function FS(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function qB(...e){const t=g.useRef(e);return t.current=e,g.useCallback(r=>{const n=t.current;let i=!1;const a=n?.map(l=>{const c=FS(l,r);return!i&&typeof c=="function"&&(i=!0),c});if(i)return()=>{for(let l=0;l<a.length;l++){const c=a[l];typeof c=="function"?c():FS(n[l],null)}}},[])}function Pu(e){return(e==null?void 0:e.animationName)||"none"}function VB(e){var n,i;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Fm="rovingFocusGroup.onEntryFocus",HB={bubbles:!1,cancelable:!0},rc="RovingFocusGroup",[Nh,QE,WB]=_E(rc),[GB,JE]=ec(rc,[WB]),[KB,YB]=GB(rc),ZE=g.forwardRef((e,t)=>b.jsx(Nh.Provider,{scope:e.__scopeRovingFocusGroup,children:b.jsx(Nh.Slot,{scope:e.__scopeRovingFocusGroup,children:b.jsx(XB,{...e,ref:t})})}));ZE.displayName=rc;var XB=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:i=!1,dir:a,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:f,preventScrollOnEntryFocus:h=!1,...m}=e,w=g.useRef(null),v=Nr(t,w),C=ME(a),[x,R]=DE({prop:l,defaultProp:c??null,onChange:d,caller:rc}),[E,P]=g.useState(!1),k=wo(f),T=QE(r),N=g.useRef(!1),[j,M]=g.useState(0);return g.useEffect(()=>{const O=w.current;if(O)return O.addEventListener(Fm,k),()=>O.removeEventListener(Fm,k)},[k]),b.jsx(KB,{scope:r,orientation:n,dir:C,loop:i,currentTabStopId:x,onItemFocus:g.useCallback(O=>R(O),[R]),onItemShiftTab:g.useCallback(()=>P(!0),[]),onFocusableItemAdd:g.useCallback(()=>M(O=>O+1),[]),onFocusableItemRemove:g.useCallback(()=>M(O=>O-1),[]),children:b.jsx(cr.div,{tabIndex:E||j===0?-1:0,"data-orientation":n,...m,ref:v,style:{outline:"none",...e.style},onMouseDown:He(e.onMouseDown,()=>{N.current=!0}),onFocus:He(e.onFocus,O=>{const B=!N.current;if(O.target===O.currentTarget&&B&&!E){const H=new CustomEvent(Fm,HB);if(O.currentTarget.dispatchEvent(H),!H.defaultPrevented){const Y=T().filter(U=>U.focusable),ne=Y.find(U=>U.active),te=Y.find(U=>U.id===x),W=[ne,te,...Y].filter(Boolean)?.map(U=>U.ref.current);r1(W,h)}}N.current=!1}),onBlur:He(e.onBlur,()=>P(!1))})})}),e1="RovingFocusGroupItem",t1=g.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:i=!1,tabStopId:a,children:l,...c}=e,d=Th(),f=a||d,h=YB(e1,r),m=h.currentTabStopId===f,w=QE(r),{onFocusableItemAdd:v,onFocusableItemRemove:C,currentTabStopId:x}=h;return g.useEffect(()=>{if(n)return v(),()=>C()},[n,v,C]),b.jsx(Nh.ItemSlot,{scope:r,id:f,focusable:n,active:i,children:b.jsx(cr.span,{tabIndex:m?0:-1,"data-orientation":h.orientation,...c,ref:t,onMouseDown:He(e.onMouseDown,R=>{n?h.onItemFocus(f):R.preventDefault()}),onFocus:He(e.onFocus,()=>h.onItemFocus(f)),onKeyDown:He(e.onKeyDown,R=>{if(R.key==="Tab"&&R.shiftKey){h.onItemShiftTab();return}if(R.target!==R.currentTarget)return;const E=ZB(R,h.orientation,h.dir);if(E!==void 0){if(R.metaKey||R.ctrlKey||R.altKey||R.shiftKey)return;R.preventDefault();let k=w().filter(T=>T.focusable)?.map(T=>T.ref.current);if(E==="last")k.reverse();else if(E==="prev"||E==="next"){E==="prev"&&k.reverse();const T=k.indexOf(R.currentTarget);k=h.loop?e6(k,T+1):k.slice(T+1)}setTimeout(()=>r1(k))}}),children:typeof l=="function"?l({isCurrentTabStop:m,hasTabStop:x!=null}):l})})});t1.displayName=e1;var QB={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function JB(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ZB(e,t,r){const n=JB(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return QB[n]}function r1(e,t=!1){const r=document.activeElement;for(const n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function e6(e,t){return e?.map((r,n)=>e[(t+n)%e.length])}var t6=ZE,r6=t1,n6=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},zs=new WeakMap,Au=new WeakMap,Tu={},Im=0,n1=function(e){return e&&(e.host||n1(e.parentNode))},o6=function(e,t){return t?.map(function(r){if(e.contains(r))return r;var n=n1(r);return n&&e.contains(n)?n:null}).filter(function(r){return!!r})},i6=function(e,t,r,n){var i=o6(t,Array.isArray(e)?e:[e]);Tu[r]||(Tu[r]=new WeakMap);var a=Tu[r],l=[],c=new Set,d=new Set(i),f=function(m){!m||c.has(m)||(c.add(m),f(m.parentNode))};i.forEach(f);var h=function(m){!m||d.has(m)||Array.prototype.forEach.call(m.children,function(w){if(c.has(w))h(w);else try{var v=w.getAttribute(n),C=v!==null&&v!=="false",x=(zs.get(w)||0)+1,R=(a.get(w)||0)+1;zs.set(w,x),a.set(w,R),l.push(w),x===1&&C&&Au.set(w,!0),R===1&&w.setAttribute(r,"true"),C||w.setAttribute(n,"true")}catch{}})};return h(t),c.clear(),Im++,function(){l.forEach(function(m){var w=zs.get(m)-1,v=a.get(m)-1;zs.set(m,w),a.set(m,v),w||(Au.has(m)||m.removeAttribute(n),Au.delete(m)),v||m.removeAttribute(r)}),Im--,Im||(zs=new WeakMap,zs=new WeakMap,Au=new WeakMap,Tu={})}},s6=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),i=n6(e);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live], script"))),i6(n,i,r,"aria-hidden")):function(){return null}},Dh=["Enter"," "],a6=["ArrowDown","PageUp","Home"],o1=["ArrowUp","PageDown","End"],l6=[...a6,...o1],c6={ltr:[...Dh,"ArrowRight"],rtl:[...Dh,"ArrowLeft"]},u6={ltr:["ArrowLeft"],rtl:["ArrowRight"]},nc="Menu",[Nl,d6,f6]=_E(nc),[ls,i1]=ec(nc,[f6,BE,JE]),sf=BE(),s1=JE(),[p6,cs]=ls(nc),[m6,oc]=ls(nc),a1=e=>{const{__scopeMenu:t,open:r=!1,children:n,dir:i,onOpenChange:a,modal:l=!0}=e,c=sf(t),[d,f]=g.useState(null),h=g.useRef(!1),m=wo(a),w=ME(i);return g.useEffect(()=>{const v=()=>{h.current=!0,document.addEventListener("pointerdown",C,{capture:!0,once:!0}),document.addEventListener("pointermove",C,{capture:!0,once:!0})},C=()=>h.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",C,{capture:!0}),document.removeEventListener("pointermove",C,{capture:!0})}},[]),b.jsx(LB,{...c,children:b.jsx(p6,{scope:t,open:r,onOpenChange:m,content:d,onContentChange:f,children:b.jsx(m6,{scope:t,onClose:g.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:h,dir:w,modal:l,children:n})})})};a1.displayName=nc;var h6="MenuAnchor",vy=g.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,i=sf(r);return b.jsx(FB,{...i,...n,ref:t})});vy.displayName=h6;var by="MenuPortal",[g6,l1]=ls(by,{forceMount:void 0}),c1=e=>{const{__scopeMenu:t,forceMount:r,children:n,container:i}=e,a=cs(by,t);return b.jsx(g6,{scope:t,forceMount:r,children:b.jsx(tc,{present:r||a.open,children:b.jsx(XE,{asChild:!0,container:i,children:n})})})};c1.displayName=by;var Jr="MenuContent",[y6,wy]=ls(Jr),u1=g.forwardRef((e,t)=>{const r=l1(Jr,e.__scopeMenu),{forceMount:n=r.forceMount,...i}=e,a=cs(Jr,e.__scopeMenu),l=oc(Jr,e.__scopeMenu);return b.jsx(Nl.Provider,{scope:e.__scopeMenu,children:b.jsx(tc,{present:n||a.open,children:b.jsx(Nl.Slot,{scope:e.__scopeMenu,children:l.modal?b.jsx(v6,{...i,ref:t}):b.jsx(b6,{...i,ref:t})})})})}),v6=g.forwardRef((e,t)=>{const r=cs(Jr,e.__scopeMenu),n=g.useRef(null),i=Nr(t,n);return g.useEffect(()=>{const a=n.current;if(a)return s6(a)},[]),b.jsx(Sy,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:He(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),b6=g.forwardRef((e,t)=>{const r=cs(Jr,e.__scopeMenu);return b.jsx(Sy,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),w6=dd("MenuContent.ScrollLock"),Sy=g.forwardRef((e,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:c,onEntryFocus:d,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:w,onDismiss:v,disableOutsideScroll:C,...x}=e,R=cs(Jr,r),E=oc(Jr,r),P=sf(r),k=s1(r),T=d6(r),[N,j]=g.useState(null),M=g.useRef(null),O=Nr(t,M,R.onContentChange),B=g.useRef(0),H=g.useRef(""),Y=g.useRef(0),ne=g.useRef(null),te=g.useRef("right"),K=g.useRef(0),W=C?Pl:g.Fragment,U=C?{as:w6,allowPinchZoom:!0}:void 0,z=I=>{var me,ue;const L=H.current+I,D=T().filter(pe=>!pe.disabled),V=document.activeElement,ee=(me=D.find(pe=>pe.ref.current===V))==null?void 0:me.textValue,re=D?.map(pe=>pe.textValue),oe=O6(re,L,ee),ie=(ue=D.find(pe=>pe.textValue===oe))==null?void 0:ue.ref.current;(function pe(ve){H.current=ve,window.clearTimeout(B.current),ve!==""&&(B.current=window.setTimeout(()=>pe(""),1e3))})(L),ie&&setTimeout(()=>ie.focus())};g.useEffect(()=>()=>window.clearTimeout(B.current),[]),yB();const _=g.useCallback(I=>{var D,V;return te.current===((D=ne.current)==null?void 0:D.side)&&M6(I,(V=ne.current)==null?void 0:V.area)},[]);return b.jsx(y6,{scope:r,searchRef:H,onItemEnter:g.useCallback(I=>{_(I)&&I.preventDefault()},[_]),onItemLeave:g.useCallback(I=>{var L;_(I)||((L=M.current)==null||L.focus(),j(null))},[_]),onTriggerLeave:g.useCallback(I=>{_(I)&&I.preventDefault()},[_]),pointerGraceTimerRef:Y,onPointerGraceIntentChange:g.useCallback(I=>{ne.current=I},[]),children:b.jsx(W,{...U,children:b.jsx(IE,{asChild:!0,trapped:i,onMountAutoFocus:He(a,I=>{var L;I.preventDefault(),(L=M.current)==null||L.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:b.jsx(LE,{asChild:!0,disableOutsidePointerEvents:c,onEscapeKeyDown:f,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:w,onDismiss:v,children:b.jsx(t6,{asChild:!0,...k,dir:E.dir,orientation:"vertical",loop:n,currentTabStopId:N,onCurrentTabStopIdChange:j,onEntryFocus:He(d,I=>{E.isUsingKeyboardRef.current||I.preventDefault()}),preventScrollOnEntryFocus:!0,children:b.jsx(IB,{role:"menu","aria-orientation":"vertical","data-state":k1(R.open),"data-radix-menu-content":"",dir:E.dir,...P,...x,ref:O,style:{outline:"none",...x.style},onKeyDown:He(x.onKeyDown,I=>{const D=I.target.closest("[data-radix-menu-content]")===I.currentTarget,V=I.ctrlKey||I.altKey||I.metaKey,ee=I.key.length===1;D&&(I.key==="Tab"&&I.preventDefault(),!V&&ee&&z(I.key));const re=M.current;if(I.target!==re||!l6.includes(I.key))return;I.preventDefault();const ie=T().filter(me=>!me.disabled)?.map(me=>me.ref.current);o1.includes(I.key)&&ie.reverse(),N6(ie)}),onBlur:He(e.onBlur,I=>{I.currentTarget.contains(I.target)||(window.clearTimeout(B.current),H.current="")}),onPointerMove:He(e.onPointerMove,Dl(I=>{const L=I.target,D=K.current!==I.clientX;if(I.currentTarget.contains(L)&&D){const V=I.clientX>K.current?"right":"left";te.current=V,K.current=I.clientX}}))})})})})})})});u1.displayName=Jr;var S6="MenuGroup",xy=g.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return b.jsx(cr.div,{role:"group",...n,ref:t})});xy.displayName=S6;var x6="MenuLabel",d1=g.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return b.jsx(cr.div,{...n,ref:t})});d1.displayName=x6;var fd="MenuItem",IS="menu.itemSelect",af=g.forwardRef((e,t)=>{const{disabled:r=!1,onSelect:n,...i}=e,a=g.useRef(null),l=oc(fd,e.__scopeMenu),c=wy(fd,e.__scopeMenu),d=Nr(t,a),f=g.useRef(!1),h=()=>{const m=a.current;if(!r&&m){const w=new CustomEvent(IS,{bubbles:!0,cancelable:!0});m.addEventListener(IS,v=>n==null?void 0:n(v),{once:!0}),OE(m,w),w.defaultPrevented?f.current=!1:l.onClose()}};return b.jsx(f1,{...i,ref:d,disabled:r,onClick:He(e.onClick,h),onPointerDown:m=>{var w;(w=e.onPointerDown)==null||w.call(e,m),f.current=!0},onPointerUp:He(e.onPointerUp,m=>{var w;f.current||(w=m.currentTarget)==null||w.click()}),onKeyDown:He(e.onKeyDown,m=>{const w=c.searchRef.current!=="";r||w&&m.key===" "||Dh.includes(m.key)&&(m.currentTarget.click(),m.preventDefault())})})});af.displayName=fd;var f1=g.forwardRef((e,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:i,...a}=e,l=wy(fd,r),c=s1(r),d=g.useRef(null),f=Nr(t,d),[h,m]=g.useState(!1),[w,v]=g.useState("");return g.useEffect(()=>{const C=d.current;C&&v((C.textContent??"").trim())},[a.children]),b.jsx(Nl.ItemSlot,{scope:r,disabled:n,textValue:i??w,children:b.jsx(r6,{asChild:!0,...c,focusable:!n,children:b.jsx(cr.div,{role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...a,ref:f,onPointerMove:He(e.onPointerMove,Dl(C=>{n?l.onItemLeave(C):(l.onItemEnter(C),C.defaultPrevented||C.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:He(e.onPointerLeave,Dl(C=>l.onItemLeave(C))),onFocus:He(e.onFocus,()=>m(!0)),onBlur:He(e.onBlur,()=>m(!1))})})})}),C6="MenuCheckboxItem",p1=g.forwardRef((e,t)=>{const{checked:r=!1,onCheckedChange:n,...i}=e;return b.jsx(v1,{scope:e.__scopeMenu,checked:r,children:b.jsx(af,{role:"menuitemcheckbox","aria-checked":pd(r)?"mixed":r,...i,ref:t,"data-state":Ry(r),onSelect:He(i.onSelect,()=>n==null?void 0:n(pd(r)?!0:!r),{checkForDefaultPrevented:!1})})})});p1.displayName=C6;var m1="MenuRadioGroup",[R6,E6]=ls(m1,{value:void 0,onValueChange:()=>{}}),h1=g.forwardRef((e,t)=>{const{value:r,onValueChange:n,...i}=e,a=wo(n);return b.jsx(R6,{scope:e.__scopeMenu,value:r,onValueChange:a,children:b.jsx(xy,{...i,ref:t})})});h1.displayName=m1;var g1="MenuRadioItem",y1=g.forwardRef((e,t)=>{const{value:r,...n}=e,i=E6(g1,e.__scopeMenu),a=r===i.value;return b.jsx(v1,{scope:e.__scopeMenu,checked:a,children:b.jsx(af,{role:"menuitemradio","aria-checked":a,...n,ref:t,"data-state":Ry(a),onSelect:He(n.onSelect,()=>{var l;return(l=i.onValueChange)==null?void 0:l.call(i,r)},{checkForDefaultPrevented:!1})})})});y1.displayName=g1;var Cy="MenuItemIndicator",[v1,k6]=ls(Cy,{checked:!1}),b1=g.forwardRef((e,t)=>{const{__scopeMenu:r,forceMount:n,...i}=e,a=k6(Cy,r);return b.jsx(tc,{present:n||pd(a.checked)||a.checked===!0,children:b.jsx(cr.span,{...i,ref:t,"data-state":Ry(a.checked)})})});b1.displayName=Cy;var P6="MenuSeparator",w1=g.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e;return b.jsx(cr.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});w1.displayName=P6;var A6="MenuArrow",S1=g.forwardRef((e,t)=>{const{__scopeMenu:r,...n}=e,i=sf(r);return b.jsx(UB,{...i,...n,ref:t})});S1.displayName=A6;var T6="MenuSub",[h7,x1]=ls(T6),vl="MenuSubTrigger",C1=g.forwardRef((e,t)=>{const r=cs(vl,e.__scopeMenu),n=oc(vl,e.__scopeMenu),i=x1(vl,e.__scopeMenu),a=wy(vl,e.__scopeMenu),l=g.useRef(null),{pointerGraceTimerRef:c,onPointerGraceIntentChange:d}=a,f={__scopeMenu:e.__scopeMenu},h=g.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return g.useEffect(()=>h,[h]),g.useEffect(()=>{const m=c.current;return()=>{window.clearTimeout(m),d(null)}},[c,d]),b.jsx(vy,{asChild:!0,...f,children:b.jsx(f1,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":r.open?i.contentId:void 0,"data-state":k1(r.open),...e,ref:my(t,i.onTriggerChange),onClick:m=>{var w;(w=e.onClick)==null||w.call(e,m),!(e.disabled||m.defaultPrevented)&&(m.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:He(e.onPointerMove,Dl(m=>{a.onItemEnter(m),!m.defaultPrevented&&!e.disabled&&!r.open&&!l.current&&(a.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{r.onOpenChange(!0),h()},100))})),onPointerLeave:He(e.onPointerLeave,Dl(m=>{var v,C;h();const w=(v=r.content)==null?void 0:v.getBoundingClientRect();if(w){const x=(C=r.content)==null?void 0:C.dataset.side,R=x==="right",E=R?-5:5,P=w[R?"left":"right"],k=w[R?"right":"left"];a.onPointerGraceIntentChange({area:[{x:m.clientX+E,y:m.clientY},{x:P,y:w.top},{x:k,y:w.top},{x:k,y:w.bottom},{x:P,y:w.bottom}],side:x}),window.clearTimeout(c.current),c.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(m),m.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:He(e.onKeyDown,m=>{var v;const w=a.searchRef.current!=="";e.disabled||w&&m.key===" "||c6[n.dir].includes(m.key)&&(r.onOpenChange(!0),(v=r.content)==null||v.focus(),m.preventDefault())})})})});C1.displayName=vl;var R1="MenuSubContent",E1=g.forwardRef((e,t)=>{const r=l1(Jr,e.__scopeMenu),{forceMount:n=r.forceMount,align:i="start",...a}=e,l=cs(Jr,e.__scopeMenu),c=oc(Jr,e.__scopeMenu),d=x1(R1,e.__scopeMenu),f=g.useRef(null),h=Nr(t,f);return b.jsx(Nl.Provider,{scope:e.__scopeMenu,children:b.jsx(tc,{present:n||l.open,children:b.jsx(Nl.Slot,{scope:e.__scopeMenu,children:b.jsx(Sy,{id:d.contentId,"aria-labelledby":d.triggerId,...a,ref:h,align:i,side:c.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:m=>{var w;c.isUsingKeyboardRef.current&&((w=f.current)==null||w.focus()),m.preventDefault()},onCloseAutoFocus:m=>m.preventDefault(),onFocusOutside:He(e.onFocusOutside,m=>{m.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:He(e.onEscapeKeyDown,m=>{c.onClose(),m.preventDefault()}),onKeyDown:He(e.onKeyDown,m=>{var C;const w=m.currentTarget.contains(m.target),v=u6[c.dir].includes(m.key);w&&v&&(l.onOpenChange(!1),(C=d.trigger)==null||C.focus(),m.preventDefault())})})})})})});E1.displayName=R1;function k1(e){return e?"open":"closed"}function pd(e){return e==="indeterminate"}function Ry(e){return pd(e)?"indeterminate":e?"checked":"unchecked"}function N6(e){const t=document.activeElement;for(const r of e)if(r===t||(r.focus(),document.activeElement!==t))return}function D6(e,t){return e?.map((r,n)=>e[(t+n)%e.length])}function O6(e,t,r){const i=t.length>1&&Array.from(t).every(f=>f===t[0])?t[0]:t,a=r?e.indexOf(r):-1;let l=D6(e,Math.max(a,0));i.length===1&&(l=l.filter(f=>f!==r));const d=l.find(f=>f.toLowerCase().startsWith(i.toLowerCase()));return d!==r?d:void 0}function _6(e,t){const{x:r,y:n}=e;let i=!1;for(let a=0,l=t.length-1;a<t.length;l=a++){const c=t[a],d=t[l],f=c.x,h=c.y,m=d.x,w=d.y;h>n!=w>n&&r<(m-f)*(n-h)/(w-h)+f&&(i=!i)}return i}function M6(e,t){if(!t)return!1;const r={x:e.clientX,y:e.clientY};return _6(r,t)}function Dl(e){return t=>t.pointerType==="mouse"?e(t):void 0}var j6=a1,L6=vy,F6=c1,I6=u1,U6=xy,$6=d1,z6=af,B6=p1,q6=h1,V6=y1,H6=b1,W6=w1,G6=S1,K6=C1,Y6=E1,lf="DropdownMenu",[X6]=ec(lf,[i1]),ur=i1(),[Q6,P1]=X6(lf),A1=e=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:i,defaultOpen:a,onOpenChange:l,modal:c=!0}=e,d=ur(t),f=g.useRef(null),[h,m]=DE({prop:i,defaultProp:a??!1,onChange:l,caller:lf});return b.jsx(Q6,{scope:t,triggerId:Th(),triggerRef:f,contentId:Th(),open:h,onOpenChange:m,onOpenToggle:g.useCallback(()=>m(w=>!w),[m]),modal:c,children:b.jsx(j6,{...d,open:h,onOpenChange:m,dir:n,modal:c,children:r})})};A1.displayName=lf;var T1="DropdownMenuTrigger",N1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...i}=e,a=P1(T1,r),l=ur(r);return b.jsx(L6,{asChild:!0,...l,children:b.jsx(cr.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...i,ref:my(t,a.triggerRef),onPointerDown:He(e.onPointerDown,c=>{!n&&c.button===0&&c.ctrlKey===!1&&(a.onOpenToggle(),a.open||c.preventDefault())}),onKeyDown:He(e.onKeyDown,c=>{n||(["Enter"," "].includes(c.key)&&a.onOpenToggle(),c.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(c.key)&&c.preventDefault())})})})});N1.displayName=T1;var J6="DropdownMenuPortal",D1=e=>{const{__scopeDropdownMenu:t,...r}=e,n=ur(t);return b.jsx(F6,{...n,...r})};D1.displayName=J6;var O1="DropdownMenuContent",_1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=P1(O1,r),a=ur(r),l=g.useRef(!1);return b.jsx(I6,{id:i.contentId,"aria-labelledby":i.triggerId,...a,...n,ref:t,onCloseAutoFocus:He(e.onCloseAutoFocus,c=>{var d;l.current||(d=i.triggerRef.current)==null||d.focus(),l.current=!1,c.preventDefault()}),onInteractOutside:He(e.onInteractOutside,c=>{const d=c.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0,h=d.button===2||f;(!i.modal||h)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});_1.displayName=O1;var Z6="DropdownMenuGroup",e8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(U6,{...i,...n,ref:t})});e8.displayName=Z6;var t8="DropdownMenuLabel",M1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx($6,{...i,...n,ref:t})});M1.displayName=t8;var r8="DropdownMenuItem",j1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(z6,{...i,...n,ref:t})});j1.displayName=r8;var n8="DropdownMenuCheckboxItem",L1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(B6,{...i,...n,ref:t})});L1.displayName=n8;var o8="DropdownMenuRadioGroup",i8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(q6,{...i,...n,ref:t})});i8.displayName=o8;var s8="DropdownMenuRadioItem",a8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(V6,{...i,...n,ref:t})});a8.displayName=s8;var l8="DropdownMenuItemIndicator",F1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(H6,{...i,...n,ref:t})});F1.displayName=l8;var c8="DropdownMenuSeparator",I1=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(W6,{...i,...n,ref:t})});I1.displayName=c8;var u8="DropdownMenuArrow",d8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(G6,{...i,...n,ref:t})});d8.displayName=u8;var f8="DropdownMenuSubTrigger",p8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(K6,{...i,...n,ref:t})});p8.displayName=f8;var m8="DropdownMenuSubContent",h8=g.forwardRef((e,t)=>{const{__scopeDropdownMenu:r,...n}=e,i=ur(r);return b.jsx(Y6,{...i,...n,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});h8.displayName=m8;var g8=A1,y8=N1,v8=D1,b8=_1,w8=M1,S8=j1,x8=L1,C8=F1,R8=I1;function Oh({...e}){return b.jsx(g8,{"data-slot":"dropdown-menu",...e})}function _h({...e}){return b.jsx(y8,{"data-slot":"dropdown-menu-trigger",...e})}function Mh({className:e,sideOffset:t=4,...r}){return b.jsx(v8,{children:b.jsx(b8,{"data-slot":"dropdown-menu-content",sideOffset:t,className:kt("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] overflow-hidden rounded-md border p-1 shadow-md",e),...r})})}function Ur({className:e,inset:t,variant:r="default",...n}){return b.jsx(S8,{"data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:kt("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...n})}function g7({className:e,children:t,checked:r,...n}){return b.jsxs(x8,{"data-slot":"dropdown-menu-checkbox-item",className:kt("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),checked:r,...n,children:[b.jsx("span",{className:"pointer-events-none absolute left-2 flex size-3.5 items-center justify-center",children:b.jsx(C8,{children:b.jsx(yg,{className:"size-4"})})}),t]})}function y7({className:e,inset:t,...r}){return b.jsx(w8,{"data-slot":"dropdown-menu-label","data-inset":t,className:kt("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",e),...r})}function E8({className:e,...t}){return b.jsx(R8,{"data-slot":"dropdown-menu-separator",className:kt("bg-border -mx-1 my-1 h-px",e),...t})}var U1={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},US=le.createContext&&le.createContext(U1),k8=["attr","size","title"];function P8(e,t){if(e==null)return{};var r,n,i=A8(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function A8(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function md(){return md=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},md.apply(null,arguments)}function $S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function hd(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$S(Object(r),!0).forEach(function(n){T8(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$S(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function T8(e,t,r){return(t=N8(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N8(e){var t=D8(e,"string");return typeof t=="symbol"?t:t+""}function D8(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function $1(e){return e&&e?.map((t,r)=>le.createElement(t.tag,hd({key:r},t.attr),$1(t.child)))}function z1(e){return t=>le.createElement(O8,md({attr:hd({},e.attr)},t),$1(e.child))}function O8(e){var t=r=>{var{attr:n,size:i,title:a}=e,l=P8(e,k8),c=i||r.size||"1em",d;return r.className&&(d=r.className),e.className&&(d=(d?d+" ":"")+e.className),le.createElement("svg",md({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,n,l,{className:d,style:hd(hd({color:e.color||r.color},r.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),a&&le.createElement("title",null,a),e.children)};return US!==void 0?le.createElement(US.Consumer,null,r=>t(r)):t(U1)}function _8(e){return z1({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"3",y1:"12",x2:"21",y2:"12"},child:[]},{tag:"line",attr:{x1:"3",y1:"6",x2:"21",y2:"6"},child:[]},{tag:"line",attr:{x1:"3",y1:"18",x2:"21",y2:"18"},child:[]}]})(e)}function M8(e){return z1({attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"},child:[]},{tag:"path",attr:{d:"M13.73 21a2 2 0 0 1-3.46 0"},child:[]}]})(e)}function j8({...e}){return b.jsx("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",...e})}function L8({className:e,...t}){return b.jsx("ol",{"data-slot":"breadcrumb-list",className:kt("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",e),...t})}const F8=e=>/^[0-9a-f]{8,}$/i.test(e)||/^[0-9]+$/.test(e),I8=e=>{const t=e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]/g," ");return yU(t)};function U8(){const e=lr(),{t}=So(),r=g.useMemo(()=>{const i=e.pathname.split("/").filter(Boolean);if(i.length===0)return[];const a={dashboard:t("header.navigation.dashboard"),userRecords:t("header.navigation.outgoing"),userIncoming:t("header.navigation.incoming"),delegation:t("header.navigation.delegation"),approval:t("header.navigation.approval"),pending:t("header.navigation.pending"),collaborations:t("header.navigation.collaborations"),recordOfficer:"Record Officer",incoming:t("header.navigation.incoming"),outgoing:t("header.navigation.outgoing"),add:t("common.create"),new:t("common.create"),edit:t("common.Edit"),profile:t("profile.profile"),"update-profile":t("profile.updateProfile"),"change-password":t("header.changePassword"),uploadTeeterandSignature:t("header.addTeeter"),viewDelegationLetter:t("delegation.viewLetter"),editDelegation:t("delegation.editDelegation"),incomingHistory:"Incoming History",incomingNonSmartExternal:"External Incoming",viewIncoming:"View Incoming"};let l="";const c=i?.map((f,h)=>{l+=`/${f}`;const m=h===i.length-1;return{label:a[f]||(F8(f)?"Details":I8(f)),path:l,isActive:m}}),d=i[0]==="user-management";return c[0]=d?{label:t("dashboard.userManagement","User Management"),path:"/user-management",isActive:c.length===1}:{label:t("nav.Record Management"),path:"/record-management/dashboard",isActive:c.length===1},c},[e.pathname,t]);if(!r.length)return null;const n=r;return b.jsx("div",{className:"max-w-full overflow-hidden rounded-xl bg-white/80 px-2.5 py-1.5 shadow-sm ring-1 ring-black/5 backdrop-blur dark:bg-gray-800/70 dark:ring-white/10",children:b.jsx(j8,{children:b.jsx(L8,{className:"flex-nowrap gap-0.5 overflow-x-auto whitespace-nowrap pb-0.5 text-xs",children:n?.map((i,a)=>b.jsxs("div",{className:"flex items-center",children:[a>0&&b.jsx("span",{className:"mx-1 text-gray-400 dark:text-gray-500",children:b.jsx(GN,{className:"h-3.5 w-3.5"})}),i.isEllipsis?b.jsx("span",{className:"px-2 py-1 text-xs font-semibold text-gray-400 dark:text-gray-500",children:"..."}):i.isActive?b.jsx("span",{className:"inline-flex max-w-[320px] items-center truncate rounded-full bg-primary-50 px-2 py-1 text-xs font-semibold text-primary-700 ring-1 ring-inset ring-primary-200/70 dark:bg-primary-900/40 dark:text-white dark:ring-primary-700/50",title:i.label,children:i.label}):b.jsxs(hg,{to:i.path,className:"inline-flex max-w-[240px] items-center gap-1 truncate rounded-full px-2 py-1 text-xs font-medium text-gray-500 transition-colors hover:bg-primary-50 hover:text-primary-700 dark:text-gray-300 dark:hover:bg-primary/10 dark:hover:text-primary-foreground",title:i.label,children:[a===0&&b.jsx(sD,{className:"h-3.5 w-3.5"}),b.jsx("span",{className:"truncate",children:i.label})]})]},i.path))})})})}var Ra=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Bi,ri,Xs,gx,$8=(gx=class extends Ra{constructor(){super();Pe(this,Bi);Pe(this,ri);Pe(this,Xs);ye(this,Xs,t=>{if(typeof window<"u"&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){$(this,ri)||this.setEventListener($(this,Xs))}onUnsubscribe(){var t;this.hasListeners()||((t=$(this,ri))==null||t.call(this),ye(this,ri,void 0))}setEventListener(t){var r;ye(this,Xs,t),(r=$(this,ri))==null||r.call(this),ye(this,ri,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){$(this,Bi)!==t&&(ye(this,Bi,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(r=>{r(t)})}isFocused(){var t;return typeof $(this,Bi)=="boolean"?$(this,Bi):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Bi=new WeakMap,ri=new WeakMap,Xs=new WeakMap,gx),Ey=new $8,z8={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},ni,ig,yx,B8=(yx=class{constructor(){Pe(this,ni,z8);Pe(this,ig,!1)}setTimeoutProvider(e){ye(this,ni,e)}setTimeout(e,t){return $(this,ni).setTimeout(e,t)}clearTimeout(e){$(this,ni).clearTimeout(e)}setInterval(e,t){return $(this,ni).setInterval(e,t)}clearInterval(e){$(this,ni).clearInterval(e)}},ni=new WeakMap,ig=new WeakMap,yx),Ui=new B8;function q8(e){setTimeout(e,0)}var V8=typeof window>"u"||"Deno"in globalThis;function sr(){}function H8(e,t){return typeof e=="function"?e(t):e}function jh(e){return typeof e=="number"&&e>=0&&e!==1/0}function B1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function di(e,t){return typeof e=="function"?e(t):e}function $r(e,t){return typeof e=="function"?e(t):e}function zS(e,t){const{type:r="all",exact:n,fetchStatus:i,predicate:a,queryKey:l,stale:c}=e;if(l){if(n){if(t.queryHash!==ky(l,t.options))return!1}else if(!Ol(t.queryKey,l))return!1}if(r!=="all"){const d=t.isActive();if(r==="active"&&!d||r==="inactive"&&d)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||i&&i!==t.state.fetchStatus||a&&!a(t))}function BS(e,t){const{exact:r,status:n,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(r){if(is(t.options.mutationKey)!==is(a))return!1}else if(!Ol(t.options.mutationKey,a))return!1}return!(n&&t.state.status!==n||i&&!i(t))}function ky(e,t){return((t==null?void 0:t.queryKeyHashFn)||is)(e)}function is(e){return JSON.stringify(e,(t,r)=>Lh(r)?Object.keys(r).sort().reduce((n,i)=>(n[i]=r[i],n),{}):r)}function Ol(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(r=>Ol(e[r],t[r])):!1}var W8=Object.prototype.hasOwnProperty;function q1(e,t,r=0){if(e===t)return e;if(r>500)return t;const n=qS(e)&&qS(t);if(!n&&!(Lh(e)&&Lh(t)))return t;const a=(n?e:Object.keys(e)).length,l=n?t:Object.keys(t),c=l.length,d=n?new Array(c):{};let f=0;for(let h=0;h<c;h++){const m=n?h:l[h],w=e[m],v=t[m];if(w===v){d[m]=w,(n?h<a:W8.call(e,m))&&f++;continue}if(w===null||v===null||typeof w!="object"||typeof v!="object"){d[m]=v;continue}const C=q1(w,v,r+1);d[m]=C,C===w&&f++}return a===c&&f===a?e:d}function gd(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(e[r]!==t[r])return!1;return!0}function qS(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Lh(e){if(!VS(e))return!1;const t=e.constructor;if(t===void 0)return!0;const r=t.prototype;return!(!VS(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function VS(e){return Object.prototype.toString.call(e)==="[object Object]"}function G8(e){return new Promise(t=>{Ui.setTimeout(t,e)})}function Fh(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?q1(e,t):t}function v7(e){return e}function K8(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function Y8(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var Py=Symbol();function V1(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Py?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Ay(e,t){return typeof e=="function"?e(...t):!!e}function X8(e,t,r){let n=!1,i;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??(i=t()),n||(n=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)}),e}var _l=(()=>{let e=()=>V8;return{isServer(){return e()},setIsServer(t){e=t}}})();function Ih(){let e,t;const r=new Promise((i,a)=>{e=i,t=a});r.status="pending",r.catch(()=>{});function n(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{n({status:"fulfilled",value:i}),e(i)},r.reject=i=>{n({status:"rejected",reason:i}),t(i)},r}var Q8=q8;function J8(){let e=[],t=0,r=c=>{c()},n=c=>{c()},i=Q8;const a=c=>{t?e.push(c):i(()=>{r(c)})},l=()=>{const c=e;e=[],c.length&&i(()=>{n(()=>{c.forEach(d=>{r(d)})})})};return{batch:c=>{let d;t++;try{d=c()}finally{t--,t||l()}return d},batchCalls:c=>(...d)=>{a(()=>{c(...d)})},schedule:a,setNotifyFunction:c=>{r=c},setBatchNotifyFunction:c=>{n=c},setScheduler:c=>{i=c}}}var Mt=J8(),Qs,oi,Js,vx,Z8=(vx=class extends Ra{constructor(){super();Pe(this,Qs,!0);Pe(this,oi);Pe(this,Js);ye(this,Js,t=>{if(typeof window<"u"&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){$(this,oi)||this.setEventListener($(this,Js))}onUnsubscribe(){var t;this.hasListeners()||((t=$(this,oi))==null||t.call(this),ye(this,oi,void 0))}setEventListener(t){var r;ye(this,Js,t),(r=$(this,oi))==null||r.call(this),ye(this,oi,t(this.setOnline.bind(this)))}setOnline(t){$(this,Qs)!==t&&(ye(this,Qs,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return $(this,Qs)}},Qs=new WeakMap,oi=new WeakMap,Js=new WeakMap,vx),yd=new Z8;function eq(e){return Math.min(1e3*2**e,3e4)}function H1(e){return(e??"online")==="online"?yd.isOnline():!0}var Uh=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function W1(e){let t=!1,r=0,n;const i=Ih(),a=()=>i.status!=="pending",l=x=>{var R;if(!a()){const E=new Uh(x);w(E),(R=e.onCancel)==null||R.call(e,E)}},c=()=>{t=!0},d=()=>{t=!1},f=()=>Ey.isFocused()&&(e.networkMode==="always"||yd.isOnline())&&e.canRun(),h=()=>H1(e.networkMode)&&e.canRun(),m=x=>{a()||(n==null||n(),i.resolve(x))},w=x=>{a()||(n==null||n(),i.reject(x))},v=()=>new Promise(x=>{var R;n=E=>{(a()||f())&&x(E)},(R=e.onPause)==null||R.call(e)}).then(()=>{var x;n=void 0,a()||(x=e.onContinue)==null||x.call(e)}),C=()=>{if(a())return;let x;const R=r===0?e.initialPromise:void 0;try{x=R??e.fn()}catch(E){x=Promise.reject(E)}Promise.resolve(x).then(m).catch(E=>{var j;if(a())return;const P=e.retry??(_l.isServer()?0:3),k=e.retryDelay??eq,T=typeof k=="function"?k(r,E):k,N=P===!0||typeof P=="number"&&r<P||typeof P=="function"&&P(r,E);if(t||!N){w(E);return}r++,(j=e.onFail)==null||j.call(e,r,E),G8(T).then(()=>f()?void 0:v()).then(()=>{t?w(E):C()})})};return{promise:i,status:()=>i.status,cancel:l,continue:()=>(n==null||n(),i),cancelRetry:c,continueRetry:d,canStart:h,start:()=>(h()?C():v().then(C),i)}}var qi,bx,G1=(bx=class{constructor(){Pe(this,qi)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),jh(this.gcTime)&&ye(this,qi,Ui.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(_l.isServer()?1/0:300*1e3))}clearGcTimeout(){$(this,qi)!==void 0&&(Ui.clearTimeout($(this,qi)),ye(this,qi,void 0))}},qi=new WeakMap,bx);function tq(e){return{onFetch:(t,r)=>{var h,m,w,v,C;const n=t.options,i=(w=(m=(h=t.fetchOptions)==null?void 0:h.meta)==null?void 0:m.fetchMore)==null?void 0:w.direction,a=((v=t.state.data)==null?void 0:v.pages)||[],l=((C=t.state.data)==null?void 0:C.pageParams)||[];let c={pages:[],pageParams:[]},d=0;const f=async()=>{let x=!1;const R=k=>{X8(k,()=>t.signal,()=>x=!0)},E=V1(t.options,t.fetchOptions),P=async(k,T,N)=>{if(x)return Promise.reject(t.signal.reason);if(T==null&&k.pages.length)return Promise.resolve(k);const M=(()=>{const Y={client:t.client,queryKey:t.queryKey,pageParam:T,direction:N?"backward":"forward",meta:t.options.meta};return R(Y),Y})(),O=await E(M),{maxPages:B}=t.options,H=N?Y8:K8;return{pages:H(k.pages,O,B),pageParams:H(k.pageParams,T,B)}};if(i&&a.length){const k=i==="backward",T=k?rq:HS,N={pages:a,pageParams:l},j=T(n,N);c=await P(N,j,k)}else{const k=e??a.length;do{const T=d===0?l[0]??n.initialPageParam:HS(n,c);if(d>0&&T==null)break;c=await P(c,T),d++}while(d<k)}return c};t.options.persister?t.fetchFn=()=>{var x,R;return(R=(x=t.options).persister)==null?void 0:R.call(x,f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=f}}}function HS(e,{pages:t,pageParams:r}){const n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function rq(e,{pages:t,pageParams:r}){var n;return t.length>0?(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r):void 0}var Zs,Vi,ea,Xr,Hi,Ut,jl,Wi,Ir,K1,ao,wx,nq=(wx=class extends G1{constructor(t){super();Pe(this,Ir);Pe(this,Zs);Pe(this,Vi);Pe(this,ea);Pe(this,Xr);Pe(this,Hi);Pe(this,Ut);Pe(this,jl);Pe(this,Wi);ye(this,Wi,!1),ye(this,jl,t.defaultOptions),this.setOptions(t.options),this.observers=[],ye(this,Hi,t.client),ye(this,Xr,$(this,Hi).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ye(this,Vi,GS(this.options)),this.state=t.state??$(this,Vi),this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return $(this,Zs)}get promise(){var t;return(t=$(this,Ut))==null?void 0:t.promise}setOptions(t){if(this.options={...$(this,jl),...t},t!=null&&t._type&&ye(this,Zs,t._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const r=GS(this.options);r.data!==void 0&&(this.setState(WS(r.data,r.dataUpdatedAt)),ye(this,Vi,r))}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&$(this,Xr).remove(this)}setData(t,r){const n=Fh(this.state.data,t,this.options);return je(this,Ir,ao).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t){je(this,Ir,ao).call(this,{type:"setState",state:t})}cancel(t){var n,i;const r=(n=$(this,Ut))==null?void 0:n.promise;return(i=$(this,Ut))==null||i.cancel(t),r?r.then(sr).catch(sr):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return $(this,Vi)}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers?.some(t=>$r(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Py||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers?.some(t=>di(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers?.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!B1(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=this.observers.find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=$(this,Ut))==null||r.continue()}onOnline(){var r;const t=this.observers.find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=$(this,Ut))==null||r.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),$(this,Xr).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(r=>r!==t),this.observers.length||($(this,Ut)&&($(this,Wi)||je(this,Ir,K1).call(this)?$(this,Ut).cancel({revert:!0}):$(this,Ut).cancelRetry()),this.scheduleGc()),$(this,Xr).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,Ir,ao).call(this,{type:"invalidate"})}async fetch(t,r){var f,h,m,w,v,C,x,R,E,P,k;if(this.state.fetchStatus!=="idle"&&((f=$(this,Ut))==null?void 0:f.status())!=="rejected"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if($(this,Ut))return $(this,Ut).continueRetry(),$(this,Ut).promise}if(t&&this.setOptions(t),!this.options.queryFn){const T=this.observers.find(N=>N.options.queryFn);T&&this.setOptions(T.options)}const n=new AbortController,i=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(ye(this,Wi,!0),n.signal)})},a=()=>{const T=V1(this.options,r),j=(()=>{const M={client:$(this,Hi),queryKey:this.queryKey,meta:this.meta};return i(M),M})();return ye(this,Wi,!1),this.options.persister?this.options.persister(T,j,this):T(j)},c=(()=>{const T={fetchOptions:r,options:this.options,queryKey:this.queryKey,client:$(this,Hi),state:this.state,fetchFn:a};return i(T),T})(),d=$(this,Zs)==="infinite"?tq(this.options.pages):this.options.behavior;d==null||d.onFetch(c,this),ye(this,ea,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((h=c.fetchOptions)==null?void 0:h.meta))&&je(this,Ir,ao).call(this,{type:"fetch",meta:(m=c.fetchOptions)==null?void 0:m.meta}),ye(this,Ut,W1({initialPromise:r==null?void 0:r.initialPromise,fn:c.fetchFn,onCancel:T=>{T instanceof Uh&&T.revert&&this.setState({...$(this,ea),fetchStatus:"idle"}),n.abort()},onFail:(T,N)=>{je(this,Ir,ao).call(this,{type:"failed",failureCount:T,error:N})},onPause:()=>{je(this,Ir,ao).call(this,{type:"pause"})},onContinue:()=>{je(this,Ir,ao).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode,canRun:()=>!0}));try{const T=await $(this,Ut).start();if(T===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(T),(v=(w=$(this,Xr).config).onSuccess)==null||v.call(w,T,this),(x=(C=$(this,Xr).config).onSettled)==null||x.call(C,T,this.state.error,this),T}catch(T){if(T instanceof Uh){if(T.silent)return $(this,Ut).promise;if(T.revert){if(this.state.data===void 0)throw T;return this.state.data}}throw je(this,Ir,ao).call(this,{type:"error",error:T}),(E=(R=$(this,Xr).config).onError)==null||E.call(R,T,this),(k=(P=$(this,Xr).config).onSettled)==null||k.call(P,this.state.data,T,this),T}finally{this.scheduleGc()}}},Zs=new WeakMap,Vi=new WeakMap,ea=new WeakMap,Xr=new WeakMap,Hi=new WeakMap,Ut=new WeakMap,jl=new WeakMap,Wi=new WeakMap,Ir=new WeakSet,K1=function(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"},ao=function(t){const r=n=>{switch(t.type){case"failed":return{...n,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...Y1(n.data,this.options),fetchMeta:t.meta??null};case"success":const i={...n,...WS(t.data,t.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return ye(this,ea,t.manual?i:void 0),i;case"error":const a=t.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...t.state}}};this.state=r(this.state),Mt.batch(()=>{this.observers.forEach(n=>{n.onQueryUpdate()}),$(this,Xr).notify({query:this,type:"updated",action:t})})},wx);function Y1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:H1(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function WS(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function GS(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var Er,Be,Ll,ir,Gi,ta,lo,ii,Fl,ra,na,Ki,Yi,si,oa,Je,bl,$h,zh,Bh,qh,Vh,Hh,Wh,X1,Sx,oq=(Sx=class extends Ra{constructor(t,r){super();Pe(this,Je);Pe(this,Er);Pe(this,Be);Pe(this,Ll);Pe(this,ir);Pe(this,Gi);Pe(this,ta);Pe(this,lo);Pe(this,ii);Pe(this,Fl);Pe(this,ra);Pe(this,na);Pe(this,Ki);Pe(this,Yi);Pe(this,si);Pe(this,oa,new Set);this.options=r,ye(this,Er,t),ye(this,ii,null),ye(this,lo,Ih()),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&($(this,Be).addObserver(this),KS($(this,Be),this.options)?je(this,Je,bl).call(this):this.updateResult(),je(this,Je,qh).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Gh($(this,Be),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Gh($(this,Be),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,je(this,Je,Vh).call(this),je(this,Je,Hh).call(this),$(this,Be).removeObserver(this)}setOptions(t){const r=this.options,n=$(this,Be);if(this.options=$(this,Er).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof $r(this.options.enabled,$(this,Be))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");je(this,Je,Wh).call(this),$(this,Be).setOptions(this.options),r._defaulted&&!gd(this.options,r)&&$(this,Er).getQueryCache().notify({type:"observerOptionsUpdated",query:$(this,Be),observer:this});const i=this.hasListeners();i&&YS($(this,Be),n,this.options,r)&&je(this,Je,bl).call(this),this.updateResult(),i&&($(this,Be)!==n||$r(this.options.enabled,$(this,Be))!==$r(r.enabled,$(this,Be))||di(this.options.staleTime,$(this,Be))!==di(r.staleTime,$(this,Be)))&&je(this,Je,$h).call(this);const a=je(this,Je,zh).call(this);i&&($(this,Be)!==n||$r(this.options.enabled,$(this,Be))!==$r(r.enabled,$(this,Be))||a!==$(this,si))&&je(this,Je,Bh).call(this,a)}getOptimisticResult(t){const r=$(this,Er).getQueryCache().build($(this,Er),t),n=this.createResult(r,t);return sq(this,n)&&(ye(this,ir,n),ye(this,ta,this.options),ye(this,Gi,$(this,Be).state)),n}getCurrentResult(){return $(this,ir)}trackResult(t,r){return new Proxy(t,{get:(n,i)=>(this.trackProp(i),r==null||r(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&$(this,lo).status==="pending"&&$(this,lo).reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(n,i))})}trackProp(t){$(this,oa).add(t)}getCurrentQuery(){return $(this,Be)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const r=$(this,Er).defaultQueryOptions(t),n=$(this,Er).getQueryCache().build($(this,Er),r);return n.fetch().then(()=>this.createResult(n,r))}fetch(t){return je(this,Je,bl).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),$(this,ir)))}createResult(t,r){var B;const n=$(this,Be),i=this.options,a=$(this,ir),l=$(this,Gi),c=$(this,ta),f=t!==n?t.state:$(this,Ll),{state:h}=t;let m={...h},w=!1,v;if(r._optimisticResults){const H=this.hasListeners(),Y=!H&&KS(t,r),ne=H&&YS(t,n,r,i);(Y||ne)&&(m={...m,...Y1(h.data,t.options)}),r._optimisticResults==="isRestoring"&&(m.fetchStatus="idle")}let{error:C,errorUpdatedAt:x,status:R}=m;v=m.data;let E=!1;if(r.placeholderData!==void 0&&v===void 0&&R==="pending"){let H;a!=null&&a.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData)?(H=a.data,E=!0):H=typeof r.placeholderData=="function"?r.placeholderData((B=$(this,na))==null?void 0:B.state.data,$(this,na)):r.placeholderData,H!==void 0&&(R="success",v=Fh(a==null?void 0:a.data,H,r),w=!0)}if(r.select&&v!==void 0&&!E)if(a&&v===(l==null?void 0:l.data)&&r.select===$(this,Fl))v=$(this,ra);else try{ye(this,Fl,r.select),v=r.select(v),v=Fh(a==null?void 0:a.data,v,r),ye(this,ra,v),ye(this,ii,null)}catch(H){ye(this,ii,H)}$(this,ii)&&(C=$(this,ii),v=$(this,ra),x=Date.now(),R="error");const P=m.fetchStatus==="fetching",k=R==="pending",T=R==="error",N=k&&P,j=v!==void 0,O={status:R,fetchStatus:m.fetchStatus,isPending:k,isSuccess:R==="success",isError:T,isInitialLoading:N,isLoading:N,data:v,dataUpdatedAt:m.dataUpdatedAt,error:C,errorUpdatedAt:x,failureCount:m.fetchFailureCount,failureReason:m.fetchFailureReason,errorUpdateCount:m.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:m.dataUpdateCount>f.dataUpdateCount||m.errorUpdateCount>f.errorUpdateCount,isFetching:P,isRefetching:P&&!k,isLoadingError:T&&!j,isPaused:m.fetchStatus==="paused",isPlaceholderData:w,isRefetchError:T&&j,isStale:Ty(t,r),refetch:this.refetch,promise:$(this,lo),isEnabled:$r(r.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const H=O.data!==void 0,Y=O.status==="error"&&!H,ne=W=>{Y?W.reject(O.error):H&&W.resolve(O.data)},te=()=>{const W=ye(this,lo,O.promise=Ih());ne(W)},K=$(this,lo);switch(K.status){case"pending":t.queryHash===n.queryHash&&ne(K);break;case"fulfilled":(Y||O.data!==K.value)&&te();break;case"rejected":(!Y||O.error!==K.reason)&&te();break}}return O}updateResult(){const t=$(this,ir),r=this.createResult($(this,Be),this.options);if(ye(this,Gi,$(this,Be).state),ye(this,ta,this.options),$(this,Gi).data!==void 0&&ye(this,na,$(this,Be)),gd(r,t))return;ye(this,ir,r);const n=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,a=typeof i=="function"?i():i;if(a==="all"||!a&&!$(this,oa).size)return!0;const l=new Set(a??$(this,oa));return this.options.throwOnError&&l.add("error"),Object.keys($(this,ir))?.some(c=>{const d=c;return $(this,ir)[d]!==t[d]&&l.has(d)})};je(this,Je,X1).call(this,{listeners:n()})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&je(this,Je,qh).call(this)}},Er=new WeakMap,Be=new WeakMap,Ll=new WeakMap,ir=new WeakMap,Gi=new WeakMap,ta=new WeakMap,lo=new WeakMap,ii=new WeakMap,Fl=new WeakMap,ra=new WeakMap,na=new WeakMap,Ki=new WeakMap,Yi=new WeakMap,si=new WeakMap,oa=new WeakMap,Je=new WeakSet,bl=function(t){je(this,Je,Wh).call(this);let r=$(this,Be).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(sr)),r},$h=function(){je(this,Je,Vh).call(this);const t=di(this.options.staleTime,$(this,Be));if(_l.isServer()||$(this,ir).isStale||!jh(t))return;const n=B1($(this,ir).dataUpdatedAt,t)+1;ye(this,Ki,Ui.setTimeout(()=>{$(this,ir).isStale||this.updateResult()},n))},zh=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval($(this,Be)):this.options.refetchInterval)??!1},Bh=function(t){je(this,Je,Hh).call(this),ye(this,si,t),!(_l.isServer()||$r(this.options.enabled,$(this,Be))===!1||!jh($(this,si))||$(this,si)===0)&&ye(this,Yi,Ui.setInterval(()=>{(this.options.refetchIntervalInBackground||Ey.isFocused())&&je(this,Je,bl).call(this)},$(this,si)))},qh=function(){je(this,Je,$h).call(this),je(this,Je,Bh).call(this,je(this,Je,zh).call(this))},Vh=function(){$(this,Ki)!==void 0&&(Ui.clearTimeout($(this,Ki)),ye(this,Ki,void 0))},Hh=function(){$(this,Yi)!==void 0&&(Ui.clearInterval($(this,Yi)),ye(this,Yi,void 0))},Wh=function(){const t=$(this,Er).getQueryCache().build($(this,Er),this.options);if(t===$(this,Be))return;const r=$(this,Be);ye(this,Be,t),ye(this,Ll,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},X1=function(t){Mt.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r($(this,ir))}),$(this,Er).getQueryCache().notify({query:$(this,Be),type:"observerResultsUpdated"})})},Sx);function iq(e,t){return $r(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&$r(t.retryOnMount,e)===!1)}function KS(e,t){return iq(e,t)||e.state.data!==void 0&&Gh(e,t,t.refetchOnMount)}function Gh(e,t,r){if($r(t.enabled,e)!==!1&&di(t.staleTime,e)!=="static"){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&Ty(e,t)}return!1}function YS(e,t,r,n){return(e!==t||$r(n.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Ty(e,r)}function Ty(e,t){return $r(t.enabled,e)!==!1&&e.isStaleByTime(di(t.staleTime,e))}function sq(e,t){return!gd(e.getCurrentResult(),t)}var Il,Ln,Jt,Xi,Fn,ei,xx,aq=(xx=class extends G1{constructor(t){super();Pe(this,Fn);Pe(this,Il);Pe(this,Ln);Pe(this,Jt);Pe(this,Xi);ye(this,Il,t.client),this.mutationId=t.mutationId,ye(this,Jt,t.mutationCache),ye(this,Ln,[]),this.state=t.state||Q1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){$(this,Ln).includes(t)||($(this,Ln).push(t),this.clearGcTimeout(),$(this,Jt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ye(this,Ln,$(this,Ln).filter(r=>r!==t)),this.scheduleGc(),$(this,Jt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){$(this,Ln).length||(this.state.status==="pending"?this.scheduleGc():$(this,Jt).remove(this))}continue(){var t;return((t=$(this,Xi))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var l,c,d,f,h,m,w,v,C,x,R,E,P,k,T,N,j,M;const r=()=>{je(this,Fn,ei).call(this,{type:"continue"})},n={client:$(this,Il),meta:this.options.meta,mutationKey:this.options.mutationKey};ye(this,Xi,W1({fn:()=>this.options.mutationFn?this.options.mutationFn(t,n):Promise.reject(new Error("No mutationFn found")),onFail:(O,B)=>{je(this,Fn,ei).call(this,{type:"failed",failureCount:O,error:B})},onPause:()=>{je(this,Fn,ei).call(this,{type:"pause"})},onContinue:r,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>$(this,Jt).canRun(this)}));const i=this.state.status==="pending",a=!$(this,Xi).canStart();try{if(i)r();else{je(this,Fn,ei).call(this,{type:"pending",variables:t,isPaused:a}),$(this,Jt).config.onMutate&&await $(this,Jt).config.onMutate(t,this,n);const B=await((c=(l=this.options).onMutate)==null?void 0:c.call(l,t,n));B!==this.state.context&&je(this,Fn,ei).call(this,{type:"pending",context:B,variables:t,isPaused:a})}const O=await $(this,Xi).start();return await((f=(d=$(this,Jt).config).onSuccess)==null?void 0:f.call(d,O,t,this.state.context,this,n)),await((m=(h=this.options).onSuccess)==null?void 0:m.call(h,O,t,this.state.context,n)),await((v=(w=$(this,Jt).config).onSettled)==null?void 0:v.call(w,O,null,this.state.variables,this.state.context,this,n)),await((x=(C=this.options).onSettled)==null?void 0:x.call(C,O,null,t,this.state.context,n)),je(this,Fn,ei).call(this,{type:"success",data:O}),O}catch(O){try{await((E=(R=$(this,Jt).config).onError)==null?void 0:E.call(R,O,t,this.state.context,this,n))}catch(B){Promise.reject(B)}try{await((k=(P=this.options).onError)==null?void 0:k.call(P,O,t,this.state.context,n))}catch(B){Promise.reject(B)}try{await((N=(T=$(this,Jt).config).onSettled)==null?void 0:N.call(T,void 0,O,this.state.variables,this.state.context,this,n))}catch(B){Promise.reject(B)}try{await((M=(j=this.options).onSettled)==null?void 0:M.call(j,void 0,O,t,this.state.context,n))}catch(B){Promise.reject(B)}throw je(this,Fn,ei).call(this,{type:"error",error:O}),O}finally{$(this,Jt).runNext(this)}}},Il=new WeakMap,Ln=new WeakMap,Jt=new WeakMap,Xi=new WeakMap,Fn=new WeakSet,ei=function(t){const r=n=>{switch(t.type){case"failed":return{...n,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};case"pending":return{...n,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...n,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=r(this.state),Mt.batch(()=>{$(this,Ln).forEach(n=>{n.onMutationUpdate(t)}),$(this,Jt).notify({mutation:this,type:"updated",action:t})})},xx);function Q1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var co,gn,Ul,Cx,lq=(Cx=class extends Ra{constructor(t={}){super();Pe(this,co);Pe(this,gn);Pe(this,Ul);this.config=t,ye(this,co,new Set),ye(this,gn,new Map),ye(this,Ul,0)}build(t,r,n){const i=new aq({client:t,mutationCache:this,mutationId:++uu(this,Ul)._,options:t.defaultMutationOptions(r),state:n});return this.add(i),i}add(t){$(this,co).add(t);const r=Nu(t);if(typeof r=="string"){const n=$(this,gn).get(r);n?n.push(t):$(this,gn).set(r,[t])}this.notify({type:"added",mutation:t})}remove(t){if($(this,co).delete(t)){const r=Nu(t);if(typeof r=="string"){const n=$(this,gn).get(r);if(n)if(n.length>1){const i=n.indexOf(t);i!==-1&&n.splice(i,1)}else n[0]===t&&$(this,gn).delete(r)}}this.notify({type:"removed",mutation:t})}canRun(t){const r=Nu(t);if(typeof r=="string"){const n=$(this,gn).get(r),i=n==null?void 0:n.find(a=>a.state.status==="pending");return!i||i===t}else return!0}runNext(t){var n;const r=Nu(t);if(typeof r=="string"){const i=(n=$(this,gn).get(r))==null?void 0:n.find(a=>a!==t&&a.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Mt.batch(()=>{$(this,co).forEach(t=>{this.notify({type:"removed",mutation:t})}),$(this,co).clear(),$(this,gn).clear()})}getAll(){return Array.from($(this,co))}find(t){const r={exact:!0,...t};return this.getAll().find(n=>BS(r,n))}findAll(t={}){return this.getAll().filter(r=>BS(t,r))}notify(t){Mt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){const t=this.getAll().filter(r=>r.state.isPaused);return Mt.batch(()=>Promise.all(t?.map(r=>r.continue().catch(sr))))}},co=new WeakMap,gn=new WeakMap,Ul=new WeakMap,Cx);function Nu(e){var t;return(t=e.options.scope)==null?void 0:t.id}var uo,ai,kr,fo,yo,Vu,Kh,Rx,cq=(Rx=class extends Ra{constructor(r,n){super();Pe(this,yo);Pe(this,uo);Pe(this,ai);Pe(this,kr);Pe(this,fo);ye(this,uo,r),this.setOptions(n),this.bindMethods(),je(this,yo,Vu).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var i;const n=this.options;this.options=$(this,uo).defaultMutationOptions(r),gd(this.options,n)||$(this,uo).getMutationCache().notify({type:"observerOptionsUpdated",mutation:$(this,kr),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&is(n.mutationKey)!==is(this.options.mutationKey)?this.reset():((i=$(this,kr))==null?void 0:i.state.status)==="pending"&&$(this,kr).setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=$(this,kr))==null||r.removeObserver(this)}onMutationUpdate(r){je(this,yo,Vu).call(this),je(this,yo,Kh).call(this,r)}getCurrentResult(){return $(this,ai)}reset(){var r;(r=$(this,kr))==null||r.removeObserver(this),ye(this,kr,void 0),je(this,yo,Vu).call(this),je(this,yo,Kh).call(this)}mutate(r,n){var i;return ye(this,fo,n),(i=$(this,kr))==null||i.removeObserver(this),ye(this,kr,$(this,uo).getMutationCache().build($(this,uo),this.options)),$(this,kr).addObserver(this),$(this,kr).execute(r)}},uo=new WeakMap,ai=new WeakMap,kr=new WeakMap,fo=new WeakMap,yo=new WeakSet,Vu=function(){var n;const r=((n=$(this,kr))==null?void 0:n.state)??Q1();ye(this,ai,{...r,isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset})},Kh=function(r){Mt.batch(()=>{var n,i,a,l,c,d,f,h;if($(this,fo)&&this.hasListeners()){const m=$(this,ai).variables,w=$(this,ai).context,v={client:$(this,uo),meta:this.options.meta,mutationKey:this.options.mutationKey};if((r==null?void 0:r.type)==="success"){try{(i=(n=$(this,fo)).onSuccess)==null||i.call(n,r.data,m,w,v)}catch(C){Promise.reject(C)}try{(l=(a=$(this,fo)).onSettled)==null||l.call(a,r.data,null,m,w,v)}catch(C){Promise.reject(C)}}else if((r==null?void 0:r.type)==="error"){try{(d=(c=$(this,fo)).onError)==null||d.call(c,r.error,m,w,v)}catch(C){Promise.reject(C)}try{(h=(f=$(this,fo)).onSettled)==null||h.call(f,void 0,r.error,m,w,v)}catch(C){Promise.reject(C)}}}this.listeners.forEach(m=>{m($(this,ai))})})},Rx),In,Ex,uq=(Ex=class extends Ra{constructor(t={}){super();Pe(this,In);this.config=t,ye(this,In,new Map)}build(t,r,n){const i=r.queryKey,a=r.queryHash??ky(i,r);let l=this.get(a);return l||(l=new nq({client:t,queryKey:i,queryHash:a,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(l)),l}add(t){$(this,In).has(t.queryHash)||($(this,In).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=$(this,In).get(t.queryHash);r&&(t.destroy(),r===t&&$(this,In).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Mt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return $(this,In).get(t)}getAll(){return[...$(this,In).values()]}find(t){const r={exact:!0,...t};return this.getAll().find(n=>zS(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>zS(t,n)):r}notify(t){Mt.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){Mt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Mt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},In=new WeakMap,Ex),gt,li,ci,ia,sa,ui,aa,la,kx,dq=(kx=class{constructor(e={}){Pe(this,gt);Pe(this,li);Pe(this,ci);Pe(this,ia);Pe(this,sa);Pe(this,ui);Pe(this,aa);Pe(this,la);ye(this,gt,e.queryCache||new uq),ye(this,li,e.mutationCache||new lq),ye(this,ci,e.defaultOptions||{}),ye(this,ia,new Map),ye(this,sa,new Map),ye(this,ui,0)}mount(){uu(this,ui)._++,$(this,ui)===1&&(ye(this,aa,Ey.subscribe(async e=>{e&&(await this.resumePausedMutations(),$(this,gt).onFocus())})),ye(this,la,yd.subscribe(async e=>{e&&(await this.resumePausedMutations(),$(this,gt).onOnline())})))}unmount(){var e,t;uu(this,ui)._--,$(this,ui)===0&&((e=$(this,aa))==null||e.call(this),ye(this,aa,void 0),(t=$(this,la))==null||t.call(this),ye(this,la,void 0))}isFetching(e){return $(this,gt).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return $(this,li).findAll({...e,status:"pending"}).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=$(this,gt).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),r=$(this,gt).build(this,t),n=r.state.data;return n===void 0?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime(di(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(n))}getQueriesData(e){return $(this,gt).findAll(e)?.map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),i=$(this,gt).get(n.queryHash),a=i==null?void 0:i.state.data,l=H8(t,a);if(l!==void 0)return $(this,gt).build(this,n).setData(l,{...r,manual:!0})}setQueriesData(e,t,r){return Mt.batch(()=>$(this,gt).findAll(e)?.map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=$(this,gt).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=$(this,gt);Mt.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=$(this,gt);return Mt.batch(()=>(r.findAll(e).forEach(n=>{n.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const r={revert:!0,...t},n=Mt.batch(()=>$(this,gt).findAll(e)?.map(i=>i.cancel(r)));return Promise.all(n).then(sr).catch(sr)}invalidateQueries(e,t={}){return Mt.batch(()=>($(this,gt).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const r={...t,cancelRefetch:t.cancelRefetch??!0},n=Mt.batch(()=>$(this,gt).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic())?.map(i=>{let a=i.fetch(void 0,r);return r.throwOnError||(a=a.catch(sr)),i.state.fetchStatus==="paused"?Promise.resolve():a}));return Promise.all(n).then(sr)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=$(this,gt).build(this,t);return r.isStaleByTime(di(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(sr).catch(sr)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(sr).catch(sr)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return yd.isOnline()?$(this,li).resumePausedMutations():Promise.resolve()}getQueryCache(){return $(this,gt)}getMutationCache(){return $(this,li)}getDefaultOptions(){return $(this,ci)}setDefaultOptions(e){ye(this,ci,e)}setQueryDefaults(e,t){$(this,ia).set(is(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...$(this,ia).values()],r={};return t.forEach(n=>{Ol(e,n.queryKey)&&Object.assign(r,n.defaultOptions)}),r}setMutationDefaults(e,t){$(this,sa).set(is(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...$(this,sa).values()],r={};return t.forEach(n=>{Ol(e,n.mutationKey)&&Object.assign(r,n.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t={...$(this,ci).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ky(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Py&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...$(this,ci).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){$(this,gt).clear(),$(this,li).clear()}},gt=new WeakMap,li=new WeakMap,ci=new WeakMap,ia=new WeakMap,sa=new WeakMap,ui=new WeakMap,aa=new WeakMap,la=new WeakMap,kx),J1=g.createContext(void 0),cf=e=>{const t=g.useContext(J1);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},fq=({client:e,children:t})=>(g.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),b.jsx(J1.Provider,{value:e,children:t})),Z1=g.createContext(!1),pq=()=>g.useContext(Z1);Z1.Provider;function mq(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var hq=g.createContext(mq()),gq=()=>g.useContext(hq),yq=(e,t,r)=>{const n=r!=null&&r.state.error&&typeof e.throwOnError=="function"?Ay(e.throwOnError,[r.state.error,r]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||n)&&(t.isReset()||(e.retryOnMount=!1))},vq=e=>{g.useEffect(()=>{e.clearReset()},[e])},bq=({result:e,errorResetBoundary:t,throwOnError:r,query:n,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&(i&&e.data===void 0||Ay(r,[e.error,n])),wq=e=>{if(e.suspense){const r=i=>i==="static"?i:Math.max(i??1e3,1e3),n=e.staleTime;e.staleTime=typeof n=="function"?(...i)=>r(n(...i)):r(n),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},Sq=(e,t)=>e.isLoading&&e.isFetching&&!t,xq=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,XS=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function Cq(e,t,r){var v,C,x,R;const n=pq(),i=gq(),a=cf(),l=a.defaultQueryOptions(e);(C=(v=a.getDefaultOptions().queries)==null?void 0:v._experimental_beforeQuery)==null||C.call(v,l);const c=a.getQueryCache().get(l.queryHash),d=e.subscribed!==!1;l._optimisticResults=n?"isRestoring":d?"optimistic":void 0,wq(l),yq(l,i,c),vq(i);const f=!a.getQueryCache().get(l.queryHash),[h]=g.useState(()=>new t(a,l)),m=h.getOptimisticResult(l),w=!n&&d;if(g.useSyncExternalStore(g.useCallback(E=>{const P=w?h.subscribe(Mt.batchCalls(E)):sr;return h.updateResult(),P},[h,w]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),g.useEffect(()=>{h.setOptions(l)},[l,h]),xq(l,m))throw XS(l,h,i);if(bq({result:m,errorResetBoundary:i,throwOnError:l.throwOnError,query:c,suspense:l.suspense}))throw m.error;if((R=(x=a.getDefaultOptions().queries)==null?void 0:x._experimental_afterQuery)==null||R.call(x,l,m),l.experimental_prefetchInRender&&!_l.isServer()&&Sq(m,n)){const E=f?XS(l,h,i):c==null?void 0:c.promise;E==null||E.catch(sr).finally(()=>{h.updateResult()})}return l.notifyOnChangeProps?m:h.trackResult(m)}function ek(e,t){return Cq(e,oq)}function hn(e,t){const r=cf(),[n]=g.useState(()=>new cq(r,e));g.useEffect(()=>{n.setOptions(e)},[n,e]);const i=g.useSyncExternalStore(g.useCallback(l=>n.subscribe(Mt.batchCalls(l)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),a=g.useCallback((l,c)=>{n.mutate(l,c).catch(sr)},[n]);if(i.error&&Ay(n.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}const Rq=e=>{var t,r,n,i;if(pt.isAxiosError(e)){(r=(t=e.config)==null?void 0:t.method)==null||r.toUpperCase(),(n=e.config)==null||n.url,(i=e.response)==null||i.status;return}},$i=e=>{try{if(e==null)return null;if(typeof e=="string"){const t=e.trim();return t.length>0?t:null}if(Array.isArray(e)){const t=[];for(const r of e){const n=$i(r);n&&t.push(n)}return t.length>0?t.join(", "):null}if(typeof e=="object"){const t=e;return $i(t.message)??$i(t.error)??$i(t.detail)??null}return null}catch{return null}},Eq=e=>e===400||e===422?"msg.validationError":e===401?"msg.authError":e===403?"msg.permissionError":e===404?"msg.notFoundError":e===413?"msg.fileTooLarge":e!==void 0&&e>=500&&e<600?"msg.serverError":"msg.genericError",QS=(e,t)=>{if(!e||typeof e!="object")return null;const r=e;if(r.message!=="duplicate_values_found"||!r.errors||typeof r.errors!="object")return null;const n=[];for(const[l,c]of Object.entries(r.errors))typeof c=="string"&&c.length>0&&n.push(`${l}: ${c}`);if(n.length===0)return null;const i=t("msg.duplicateValuesFound");return{title:i==="msg.duplicateValuesFound"?"Duplicate values found":i,description:n.join(`
|
||
`)}},JS=async e=>{try{const t=await e.text();return JSON.parse(t)}catch{return null}},tk=e=>{const t=g.useCallback(async n=>{var i;try{let a;if(typeof n=="object"&&n!==null&&"response"in n){const l=n.response;a=l==null?void 0:l.status;let c=l==null?void 0:l.data;c instanceof Blob&&(c=await JS(c));const d=QS(c,e);if(d)return d.title;const f=$i((i=c==null?void 0:c.exception)==null?void 0:i.response);if(f)return f;const h=$i(c);if(h)return h}if(n instanceof Error){const l=$i(n.message);if(l)return l}return e(Eq(a))}catch{return e("msg.genericError")}},[e]),r=g.useCallback(async n=>{var a;if(Rq(n),typeof n=="object"&&n!==null&&"response"in n){let l=(a=n.response)==null?void 0:a.data;l instanceof Blob&&(l=await JS(l));const c=QS(l,e);if(c)return St.error(c.title,{description:c.description}),c.title}const i=await t(n);return St.error(i),i},[t,e]);return{getErrorMessage:t,handleError:r}},Ny=()=>{const e=cf(),t=mi(),{t:r}=So(),{handleError:n}=tk(r),i=Xe.get("delegatedPositionId"),a=Xe.get("current-position-id"),{setUser:l,user:c,selectedPositionId:d,setSelectedPositionId:f,showOtpModal:h,setShowOtpModal:m,rememberMePreference:w,setRememberMePreference:v}=ba(),C=async({token:he,refreshToken:Oe,rememberMe:ut})=>{var yr,Tt,rr,To;const zt=Pg(ut);G2(ut),td({token:he,refreshToken:Oe,rememberMe:ut}),Xe.set("i18nextLng","am",zt);const{data:gr}=await uh(),mt=gr;if(Xe.set("auth-user",JSON.stringify({...mt,id:mt.id,name:mt.name,permissions:mt.permissions,roles:mt.roles}),zt),l(mt),(mt.employee??[]).length>0){const Br=(To=(rr=(Tt=(yr=mt.employee)==null?void 0:yr[0])==null?void 0:Tt.positions)==null?void 0:rr[0])==null?void 0:To.id;Br&&(f(Br),Xe.set("current-position-id",Br,zt))}return e.invalidateQueries({queryKey:["authUser"]}),mt},{data:x,isLoading:R,isFetching:E,isError:P,refetch:k}=ek({queryKey:["authUser",d,i,a],queryFn:async()=>{const{data:he}=await uh();return he},placeholderData:he=>he,staleTime:300*1e3,retry:!1,enabled:!0});g.useEffect(()=>{var he,Oe,ut,zt;if(x&&(l(x),!d&&(x.employee??[]).length>0)){const gr=(zt=(ut=(Oe=(he=x.employee)==null?void 0:he[0])==null?void 0:Oe.positions)==null?void 0:ut[0])==null?void 0:zt.employeePositionId;gr&&(f(gr),Xe.set("current-position-id",gr))}},[d,f,l,x]);const T=i&&a||d,N=g.useMemo(()=>x?{...x,employee:(x.employee??[])?.map(he=>({...he,positions:he.positions.filter(Oe=>Oe.employeePositionId===T||Oe.id===T)}))}:void 0,[T,x]),j=g.useMemo(()=>{var he;return!!((he=N==null?void 0:N.employee)!=null&&he?.some(Oe=>Oe.positions.length>0))},[N]),[M,O]=g.useState();g.useEffect(()=>{N&&j&&O(N)},[N,j]);const B=j||!E?N:M??N,H=g.useMemo(()=>((B==null?void 0:B.employee)??(x==null?void 0:x.employee)??[]).flatMap(he=>he.positions).find(he=>he.employeePositionId===T||he.id===T||he.employeePositionId===d||he.id===d),[T,B==null?void 0:B.employee,d,x==null?void 0:x.employee]),Y=g.useMemo(()=>((B==null?void 0:B.employee)??[]).flatMap(he=>he.positions).flatMap(he=>he.permissions?.map(Oe=>Oe.key)),[B]),{mutate:ne,isError:te,isSuccess:K}=hn({mutationFn:async()=>{await pI()},onSuccess:()=>{l(null),f(null),Object.keys(Xe.get()).forEach(he=>{Xe.remove(he)}),sh(),v(!1),e.clear(),St.success("Logged out successfully"),window.location.replace("/")},onError:he=>{l(null),f(null),Object.keys(Xe.get()).forEach(Oe=>{Xe.remove(Oe)}),sh(),v(!1),e.clear(),n(he),window.location.replace("/")}}),{mutate:W,isPending:U,isError:z,isSuccess:_}=hn({mutationFn:async({payload:he,rememberMeValue:Oe})=>{const ut=await lI(he);return ut.data.mfaRequired?{mfaRequired:!0,rememberMeValue:Oe}:{data:ut.data,rememberMeValue:Oe}},onSuccess:async he=>{var mt,yr;if("mfaRequired"in he&&he.mfaRequired){v(he.rememberMeValue),m(!0);return}v(he.rememberMeValue);const Oe=await C({token:he.data.token,refreshToken:he.data.refreshToken,rememberMe:he.rememberMeValue});St.success("Login Successful",{description:"Redirecting..."});const ut=(mt=Oe.roles)==null?void 0:mt?.some(Tt=>Tt.key==="super_admin"),zt=Oe.userType==="external_organization"||Oe.userType==="individual",gr=(yr=Oe.roles)==null?void 0:yr?.some(Tt=>Tt.key==="unit_admin"||Tt.key==="admin");t(ut?"/user-management/dashboard":gr?"/user-management/user_management-dashboard":zt?"/verification_page":"/user-management/user_management-dashboard")},onError:he=>{n(he)}}),{mutate:I,isPending:L,isError:D,isSuccess:V,error:ee}=hn({mutationFn:async he=>(await cI(he)).data,onSuccess:()=>{St.success("Password updated successfully",{description:"You can now log in with your new password."})},onError:he=>{n(he)}}),{mutate:re,isPending:oe,isError:ie,isSuccess:me,error:ue}=hn({mutationFn:async he=>(await uI(he)).data,onSuccess:()=>{St.success("Password updated successfully",{description:"You can now log in with your new password."})},onError:he=>{n(he)}}),{mutateAsync:pe,isPending:ve,isError:ge,isSuccess:Me,error:ze}=hn({mutationFn:async he=>await dI(he),onSuccess:()=>{St.success("Phone Number Verified successfully")},onError:he=>{n(he)}}),{mutate:We,isPending:Pt,isError:tr,isSuccess:at,data:dr,error:rt}=hn({mutationFn:async({phoneNumber:he,email:Oe})=>await At({phoneNumber:he,email:Oe}),onSuccess:()=>{St.success("Verification code resent successfully!")},onError:he=>{n(he)}}),{mutate:At,isPending:Dr,isError:yt,isSuccess:fr,data:Yn,error:Ze}=hn({mutationFn:async({email:he,phoneNumber:Oe})=>await fI({phoneNumber:Oe,email:he}),onSuccess:()=>{St.success("OTP code resent successfully!")},onError:he=>{n(he)}}),{mutateAsync:pr}=hn({mutationFn:async he=>{const Oe=await _C({refreshToken:he}),{token:ut,refreshToken:zt}=Oe.data;return td({token:ut,refreshToken:zt,rememberMe:w}),ut}}),{mutate:mr,isPending:kn,isError:Ao,isSuccess:hr}=hn({mutationFn:async he=>(await mI(he)).data,onSuccess:async he=>{var mt,yr;const Oe=await C({token:he.token,refreshToken:he.refreshToken,rememberMe:w});St.success("Two Factor Authentication Successful",{description:"Redirecting..."});const ut=(mt=Oe.roles)==null?void 0:mt?.some(Tt=>Tt.key==="super_admin"),zt=Oe.userType==="external_organization"||Oe.userType==="individual",gr=(yr=Oe.roles)==null?void 0:yr?.some(Tt=>Tt.key==="unit_admin");t(ut?"/user-management/dashboard":gr?"/user-management/user_management-dashboard":zt?"/verification_page":"/record-management/dashboard")},onError:he=>{n(he)}});return{userDetails:B,unFilteredUserDetails:x,selectedPosition:H,selectedPositionPermissionKeys:Y,activePositionLookupId:T,selectedPositionId:d,setSelectedPositionId:f,isLoading:R,isFetching:E,isError:P,refetch:k,login:W,isLoggingIn:U,logout:ne,logoutError:te,logoutSuccess:K,loginSuccess:_,loginError:z,setPassword:I,verifyOtpMutate:pe,isVerifyingOtp:ve,isVerifyOtpError:ge,isVerifyOtpSuccess:Me,setVerifyOtpError:ze,isSettingPassword:L,setPasswordError:{message:ee==null?void 0:ee.message},setPasswordSuccess:V,resendVerificationCode:We,isResendingCode:Pt,resendError:rt?{message:rt==null?void 0:rt.message}:null,resendSuccess:at,refreshToken:pr,resendOtpCode:At,isResendingOtpCode:Dr,resendOtpError:Ze?{message:Ze==null?void 0:Ze.message}:null,resendOtpSuccess:fr,resendOtpData:Yn,resendData:dr,setFayidaPassword:re,setFayidaPassError:ue,setFayidaPasswordSuccess:me,setFayidaPasswordError:ie,isSettingFayidaPassword:oe,verifyMFA:mr,isMFAPending:kn,mfaError:Ao,mfaSuccess:hr}},Dy=()=>{const{i18n:e}=So();return g.useCallback(t=>t?e.language.startsWith("am")?t.am||t.en:t.en||t.am:"",[e.language])},Oy=g.createContext({open:!1,setOpen:()=>{}});function kq({children:e,open:t,onOpenChange:r,defaultOpen:n=!1}){const[i,a]=g.useState(n),l=t!==void 0,c=l?t:i,d=g.useCallback(f=>{l||a(f),r==null||r(f)},[l,r]);return b.jsx(Oy.Provider,{value:{open:c,setOpen:d},children:e})}function Pq({children:e,asChild:t}){const{setOpen:r}=g.useContext(Oy);return t&&g.isValidElement(e)?g.cloneElement(e,{onClick:n=>{var i,a;(a=(i=e.props).onClick)==null||a.call(i,n),r(!0)}}):b.jsx("span",{"data-slot":"dialog-trigger",onClick:()=>r(!0),style:{display:"contents",cursor:"pointer"},children:e})}function Aq({children:e,className:t,...r}){const{open:n,setOpen:i}=g.useContext(Oy);return b.jsxs(En,{opened:n,onClose:()=>i(!1),withCloseButton:!1,centered:!0,padding:0,radius:"lg",classNames:{content:kt("bg-background text-foreground relative overflow-visible",t),overlay:"bg-black/80"},...r,children:[b.jsx("div",{className:"grid gap-4 p-6",children:e}),b.jsxs("button",{type:"button",className:"absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none cursor-pointer",onClick:()=>i(!1),children:[b.jsx(bg,{className:"size-4"}),b.jsx("span",{className:"sr-only",children:"Close"})]})]})}function Tq({className:e,...t}){return b.jsx("div",{"data-slot":"dialog-header",className:kt("flex flex-col gap-2 text-center sm:text-left",e),...t})}function w7({className:e,...t}){return b.jsx("div",{"data-slot":"dialog-footer",className:kt("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function Nq({className:e,...t}){return b.jsx("div",{"data-slot":"dialog-title",className:kt("text-lg leading-none font-semibold",e),...t})}function Dq({className:e,...t}){return b.jsx("div",{"data-slot":"dialog-description",className:kt("text-muted-foreground text-sm",e),...t})}const Oq=({id:e,subject:t,time:r,isUnread:n,onClick:i,onRemind:a})=>{const l=Dy(),[c,d]=g.useState(!1),[f,h]=g.useState(!1),[m,w]=g.useState(!1),v=typeof r=="string"?r:"",x=l(t??{en:"Notification",am:""})||"Notification",R=x.trim().length>0,E=(P,k)=>{k.stopPropagation(),a&&(a(e,P),d(!1))};return b.jsxs("div",{className:`group flex cursor-pointer items-start gap-2 rounded-xl p-2.5 shadow-sm ring-1 ring-inset transition-all duration-200 hover:-translate-y-0.5 hover:shadow-md sm:gap-3 sm:p-3 ${n?"bg-primary-50/80 ring-primary-300 hover:bg-primary-50 dark:bg-primary-900/25 dark:ring-primary-700/50 dark:hover:bg-primary-900/35":"bg-white ring-gray-200 hover:bg-gray-50 dark:bg-gray-900 dark:ring-gray-700 dark:hover:bg-gray-800"}`,onClick:()=>i(e),children:[b.jsx("div",{className:`mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg ${n?"bg-primary-100 text-primary-700 dark:bg-primary-800/60 dark:text-primary-300":"bg-gray-100 text-gray-500 dark:bg-gray-800 dark:text-gray-300"}`,children:b.jsx(Zu,{className:`h-4 w-4 ${n?"text-primary-600 dark:text-primary-300":"text-gray-500 dark:text-gray-300"}`})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsxs("div",{className:"flex items-start gap-2",children:[b.jsx("p",{className:`min-w-0 break-words text-sm font-semibold text-gray-900 dark:text-gray-100 ${f?"line-clamp-none":"line-clamp-2"}`,children:x}),n&&b.jsx("span",{className:"mt-1.5 h-2 w-2 shrink-0 rounded-full bg-primary-500 animate-pulse"})]}),b.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-x-3 gap-y-1",children:[R&&b.jsx("button",{type:"button",onClick:P=>{P.stopPropagation(),h(k=>!k)},className:"text-[11px] font-medium text-primary-600 hover:text-primary-700 hover:underline dark:text-primary-400 dark:hover:text-primary-300",children:f?"Show less":"Show more"}),R&&b.jsxs(kq,{open:m,onOpenChange:w,children:[b.jsx(Pq,{asChild:!0,children:b.jsx("button",{type:"button",onClick:P=>P.stopPropagation(),className:"text-[11px] font-medium text-primary-600 hover:text-primary-700 hover:underline dark:text-primary-400 dark:hover:text-primary-300",children:"View full"})}),b.jsxs(Aq,{className:"w-[calc(100vw-2rem)] max-w-lg border-gray-200 bg-white dark:border-gray-700 dark:bg-gray-900",onClick:P=>P.stopPropagation(),children:[b.jsxs(Tq,{children:[b.jsx(Nq,{className:"text-base font-semibold text-gray-900 dark:text-gray-100",children:"Notification"}),b.jsx(Dq,{className:"text-xs text-gray-500 dark:text-gray-400",children:v})]}),b.jsx("div",{className:"max-h-[50vh] overflow-y-auto rounded-md bg-gray-50 p-3 text-sm leading-relaxed text-gray-700 dark:bg-gray-800 dark:text-gray-200",children:b.jsx("p",{className:"whitespace-pre-wrap break-words",children:x})})]})]})]}),b.jsx("p",{className:"mt-1 text-[11px] font-medium text-gray-400 dark:text-gray-500",children:v})]}),b.jsxs("div",{className:"flex shrink-0 items-center gap-1 sm:gap-2",children:[a&&b.jsxs(Oh,{open:c,onOpenChange:d,children:[b.jsx(_h,{asChild:!0,onClick:P=>P.stopPropagation(),children:b.jsx(Fr,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-primary-100",children:b.jsx(vg,{className:"h-4 w-4 text-gray-500"})})}),b.jsxs(Mh,{align:"end",className:"w-48",children:[b.jsx(Ur,{onClick:P=>E(5,P),children:"Remind in 5 minutes"}),b.jsx(Ur,{onClick:P=>E(15,P),children:"Remind in 15 minutes"}),b.jsx(Ur,{onClick:P=>E(30,P),children:"Remind in 30 minutes"}),b.jsx(Ur,{onClick:P=>E(60,P),children:"Remind in 1 hour"}),b.jsx(Ur,{onClick:P=>E(240,P),children:"Remind in 4 hours"}),b.jsx(Ur,{onClick:P=>E(1440,P),children:"Remind tomorrow"})]})]}),!n&&b.jsx(YN,{className:"mt-1 h-4 w-4 self-start text-primary-500 dark:text-primary-400"})]})]})},ts=pt.create({baseURL:"https://record-dev.smart.aaca.gov.et/api/"});ts.interceptors.request.use(e=>{const t=Xe.get("auth-token");return t&&(e.headers.Authorization=`Bearer ${t}`),e.headers["X-Requested-With"]="XMLHttpRequest",e});let Um=!1,Yh=[];const ZS=(e,t=null)=>{Yh.forEach(r=>{e?r.reject(e):r.resolve(t)}),Yh=[]},_q=["/auth/login","/auth/refresh","/auth/refresh-token","auth/me"];ts.interceptors.response.use(e=>e,async e=>{var n;const t=e.config;if(_q?.some(i=>{var a;return(a=t.url)==null?void 0:a.includes(i)}))return Promise.reject(e);if(((n=e.response)==null?void 0:n.status)===401&&!t._retry){if(Um)return new Promise(function(i,a){Yh.push({resolve:i,reject:a})}).then(i=>(t.headers.Authorization="Bearer "+i,ts(t))).catch(i=>Promise.reject(i));t._retry=!0,Um=!0;try{const i=Xe.get("refresh-token");if(!i)throw new Error("missing-refresh-token");const a=RC(),l=await CC(i),c=l.data.token,d=l.data.refreshToken;return ZS(null,l.data.token),td({token:c,refreshToken:d,rememberMe:a}),t.headers.Authorization=`Bearer ${c}`,ts(t)}catch(i){return ZS(i,null),OC(),Promise.reject(i)}finally{Um=!1}}return Promise.reject(e)});const Mq=async e=>ts.get("/notifications",{params:e,headers:ss()}),jq=async e=>ts.get("/notifications/unseen",{params:e,headers:ss()}),Lq=e=>ts.post(`/notifications/${e}/read`,{},{headers:ss()}),ex="record-management:notification-received",$m=e=>{const t=new Set;return e.filter(r=>!(r!=null&&r.id)||t.has(r.id)?!1:(t.add(r.id),!0))},Fq=e=>{if(!e||!e.message)return null;const t=new Date().toISOString(),r=typeof e.subject=="object"&&e.subject!==null?e.subject:{en:String(e.subject||"Notification")},n=typeof e.metadata=="object"&&e.metadata!==null?{route:String(e.metadata.route||""),recordType:String(e.metadata.recordType||"")}:{route:"",recordType:""};return{id:String(e.id||e.itemId||`rt-${Date.now()}`),createdAt:String(e.createdAt||e.timestamp||t),updatedAt:String(e.updatedAt||e.createdAt||e.timestamp||t),message:String(e.message),isSeen:!!e.isSeen,subject:{en:String(r.en||"Notification")},itemId:String(e.itemId||e.id||""),metadata:n}},rk=(e,t)=>{const[r,n]=g.useState([]),[i,a]=g.useState(0),[l,c]=g.useState(!1),[d,f]=g.useState(null),[h,m]=g.useState(!0),[w,v]=g.useState(e);g.useEffect(()=>{const P=r.filter(k=>!k.isSeen).length;a(P),t&&t(P)},[r,t]);const C=g.useCallback(async(P,k=!1)=>{var T;if(!(!k&&!h)){c(!0),f(null);try{const N=await Mq({...P,orderBy:"createdAt:DESC"}),j=Array.isArray((T=N.data)==null?void 0:T.items)?N.data.items:Array.isArray(N.data)?N.data:[];n(M=>$m(k?j:[...M,...j])),m(j.length===P.take)}catch(N){f(N.message||"Failed to fetch notifications")}finally{c(!1)}}},[h]),x=g.useCallback(async()=>{var P;try{const k=await jq({take:1e3,skip:0,orderBy:"createdAt:DESC"}),N=(Array.isArray((P=k.data)==null?void 0:P.items)?k.data.items:Array.isArray(k.data)?k.data:[]).filter(j=>!j.isSeen).length;a(N),t&&t(N)}catch{}},[t]),R=g.useCallback(async P=>{try{await Lq(P),n(k=>k?.map(T=>T.id===P?{...T,isSeen:!0}:T)),a(k=>k>0?k-1:0),x()}catch{}},[x]),E=g.useCallback(()=>{v(e),C(e,!0),x()},[e,C,x]);return g.useEffect(()=>{C(w)},[w,C]),g.useEffect(()=>{C(e,!0),x()},[]),g.useEffect(()=>{const P=k=>{const T=k.detail,N=Fq(T);N&&n(j=>$m([N,...j]))};return window.addEventListener(ex,P),()=>{window.removeEventListener(ex,P)}},[]),{notifications:r,unseenCount:i,loading:l,error:d,hasMore:h,markAsRead:R,refresh:E,setParams:v}};var Hu={exports:{}},Iq=Hu.exports,tx;function Uq(){return tx||(tx=1,(function(e,t){(function(r,n){e.exports=n()})(Iq,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",l="second",c="minute",d="hour",f="day",h="week",m="month",w="quarter",v="year",C="date",x="Invalid Date",R=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(K){var W=["th","st","nd","rd"],U=K%100;return"["+K+(W[(U-20)%10]||W[U]||W[0])+"]"}},k=function(K,W,U){var z=String(K);return!z||z.length>=W?K:""+Array(W+1-z.length).join(U)+K},T={s:k,z:function(K){var W=-K.utcOffset(),U=Math.abs(W),z=Math.floor(U/60),_=U%60;return(W<=0?"+":"-")+k(z,2,"0")+":"+k(_,2,"0")},m:function K(W,U){if(W.date()<U.date())return-K(U,W);var z=12*(U.year()-W.year())+(U.month()-W.month()),_=W.clone().add(z,m),I=U-_<0,L=W.clone().add(z+(I?-1:1),m);return+(-(z+(U-_)/(I?_-L:L-_))||0)},a:function(K){return K<0?Math.ceil(K)||0:Math.floor(K)},p:function(K){return{M:m,y:v,w:h,d:f,D:C,h:d,m:c,s:l,ms:a,Q:w}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},N="en",j={};j[N]=P;var M="$isDayjsObject",O=function(K){return K instanceof ne||!(!K||!K[M])},B=function K(W,U,z){var _;if(!W)return N;if(typeof W=="string"){var I=W.toLowerCase();j[I]&&(_=I),U&&(j[I]=U,_=I);var L=W.split("-");if(!_&&L.length>1)return K(L[0])}else{var D=W.name;j[D]=W,_=D}return!z&&_&&(N=_),_||!z&&N},H=function(K,W){if(O(K))return K.clone();var U=typeof W=="object"?W:{};return U.date=K,U.args=arguments,new ne(U)},Y=T;Y.l=B,Y.i=O,Y.w=function(K,W){return H(K,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var ne=(function(){function K(U){this.$L=B(U.locale,null,!0),this.parse(U),this.$x=this.$x||U.x||{},this[M]=!0}var W=K.prototype;return W.parse=function(U){this.$d=(function(z){var _=z.date,I=z.utc;if(_===null)return new Date(NaN);if(Y.u(_))return new Date;if(_ instanceof Date)return new Date(_);if(typeof _=="string"&&!/Z$/i.test(_)){var L=_.match(R);if(L){var D=L[2]-1||0,V=(L[7]||"0").substring(0,3);return I?new Date(Date.UTC(L[1],D,L[3]||1,L[4]||0,L[5]||0,L[6]||0,V)):new Date(L[1],D,L[3]||1,L[4]||0,L[5]||0,L[6]||0,V)}}return new Date(_)})(U),this.init()},W.init=function(){var U=this.$d;this.$y=U.getFullYear(),this.$M=U.getMonth(),this.$D=U.getDate(),this.$W=U.getDay(),this.$H=U.getHours(),this.$m=U.getMinutes(),this.$s=U.getSeconds(),this.$ms=U.getMilliseconds()},W.$utils=function(){return Y},W.isValid=function(){return this.$d.toString()!==x},W.isSame=function(U,z){var _=H(U);return this.startOf(z)<=_&&_<=this.endOf(z)},W.isAfter=function(U,z){return H(U)<this.startOf(z)},W.isBefore=function(U,z){return this.endOf(z)<H(U)},W.$g=function(U,z,_){return Y.u(U)?this[z]:this.set(_,U)},W.unix=function(){return Math.floor(this.valueOf()/1e3)},W.valueOf=function(){return this.$d.getTime()},W.startOf=function(U,z){var _=this,I=!!Y.u(z)||z,L=Y.p(U),D=function(pe,ve){var ge=Y.w(_.$u?Date.UTC(_.$y,ve,pe):new Date(_.$y,ve,pe),_);return I?ge:ge.endOf(f)},V=function(pe,ve){return Y.w(_.toDate()[pe].apply(_.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(ve)),_)},ee=this.$W,re=this.$M,oe=this.$D,ie="set"+(this.$u?"UTC":"");switch(L){case v:return I?D(1,0):D(31,11);case m:return I?D(1,re):D(0,re+1);case h:var me=this.$locale().weekStart||0,ue=(ee<me?ee+7:ee)-me;return D(I?oe-ue:oe+(6-ue),re);case f:case C:return V(ie+"Hours",0);case d:return V(ie+"Minutes",1);case c:return V(ie+"Seconds",2);case l:return V(ie+"Milliseconds",3);default:return this.clone()}},W.endOf=function(U){return this.startOf(U,!1)},W.$set=function(U,z){var _,I=Y.p(U),L="set"+(this.$u?"UTC":""),D=(_={},_[f]=L+"Date",_[C]=L+"Date",_[m]=L+"Month",_[v]=L+"FullYear",_[d]=L+"Hours",_[c]=L+"Minutes",_[l]=L+"Seconds",_[a]=L+"Milliseconds",_)[I],V=I===f?this.$D+(z-this.$W):z;if(I===m||I===v){var ee=this.clone().set(C,1);ee.$d[D](V),ee.init(),this.$d=ee.set(C,Math.min(this.$D,ee.daysInMonth())).$d}else D&&this.$d[D](V);return this.init(),this},W.set=function(U,z){return this.clone().$set(U,z)},W.get=function(U){return this[Y.p(U)]()},W.add=function(U,z){var _,I=this;U=Number(U);var L=Y.p(z),D=function(re){var oe=H(I);return Y.w(oe.date(oe.date()+Math.round(re*U)),I)};if(L===m)return this.set(m,this.$M+U);if(L===v)return this.set(v,this.$y+U);if(L===f)return D(1);if(L===h)return D(7);var V=(_={},_[c]=n,_[d]=i,_[l]=r,_)[L]||1,ee=this.$d.getTime()+U*V;return Y.w(ee,this)},W.subtract=function(U,z){return this.add(-1*U,z)},W.format=function(U){var z=this,_=this.$locale();if(!this.isValid())return _.invalidDate||x;var I=U||"YYYY-MM-DDTHH:mm:ssZ",L=Y.z(this),D=this.$H,V=this.$m,ee=this.$M,re=_.weekdays,oe=_.months,ie=_.meridiem,me=function(ve,ge,Me,ze){return ve&&(ve[ge]||ve(z,I))||Me[ge].slice(0,ze)},ue=function(ve){return Y.s(D%12||12,ve,"0")},pe=ie||function(ve,ge,Me){var ze=ve<12?"AM":"PM";return Me?ze.toLowerCase():ze};return I.replace(E,(function(ve,ge){return ge||(function(Me){switch(Me){case"YY":return String(z.$y).slice(-2);case"YYYY":return Y.s(z.$y,4,"0");case"M":return ee+1;case"MM":return Y.s(ee+1,2,"0");case"MMM":return me(_.monthsShort,ee,oe,3);case"MMMM":return me(oe,ee);case"D":return z.$D;case"DD":return Y.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return me(_.weekdaysMin,z.$W,re,2);case"ddd":return me(_.weekdaysShort,z.$W,re,3);case"dddd":return re[z.$W];case"H":return String(D);case"HH":return Y.s(D,2,"0");case"h":return ue(1);case"hh":return ue(2);case"a":return pe(D,V,!0);case"A":return pe(D,V,!1);case"m":return String(V);case"mm":return Y.s(V,2,"0");case"s":return String(z.$s);case"ss":return Y.s(z.$s,2,"0");case"SSS":return Y.s(z.$ms,3,"0");case"Z":return L}return null})(ve)||L.replace(":","")}))},W.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},W.diff=function(U,z,_){var I,L=this,D=Y.p(z),V=H(U),ee=(V.utcOffset()-this.utcOffset())*n,re=this-V,oe=function(){return Y.m(L,V)};switch(D){case v:I=oe()/12;break;case m:I=oe();break;case w:I=oe()/3;break;case h:I=(re-ee)/6048e5;break;case f:I=(re-ee)/864e5;break;case d:I=re/i;break;case c:I=re/n;break;case l:I=re/r;break;default:I=re}return _?I:Y.a(I)},W.daysInMonth=function(){return this.endOf(m).$D},W.$locale=function(){return j[this.$L]},W.locale=function(U,z){if(!U)return this.$L;var _=this.clone(),I=B(U,z,!0);return I&&(_.$L=I),_},W.clone=function(){return Y.w(this.$d,this)},W.toDate=function(){return new Date(this.valueOf())},W.toJSON=function(){return this.isValid()?this.toISOString():null},W.toISOString=function(){return this.$d.toISOString()},W.toString=function(){return this.$d.toUTCString()},K})(),te=ne.prototype;return H.prototype=te,[["$ms",a],["$s",l],["$m",c],["$H",d],["$W",f],["$M",m],["$y",v],["$D",C]].forEach((function(K){te[K[1]]=function(W){return this.$g(W,K[0],K[1])}})),H.extend=function(K,W){return K.$i||(K(W,ne,H),K.$i=!0),H},H.locale=B,H.isDayjs=O,H.unix=function(K){return H(1e3*K)},H.en=j[N],H.Ls=j,H.p={},H}))})(Hu)),Hu.exports}var $q=Uq();const Ml=bd($q);var Wu={exports:{}},zq=Wu.exports,rx;function Bq(){return rx||(rx=1,(function(e,t){(function(r,n){e.exports=n()})(zq,(function(){return function(r,n,i){r=r||{};var a=n.prototype,l={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function c(f,h,m,w){return a.fromToBase(f,h,m,w)}i.en.relativeTime=l,a.fromToBase=function(f,h,m,w,v){for(var C,x,R,E=m.$locale().relativeTime||l,P=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=P.length,T=0;T<k;T+=1){var N=P[T];N.d&&(C=w?i(f).diff(m,N.d,!0):m.diff(f,N.d,!0));var j=(r.rounding||Math.round)(Math.abs(C));if(R=C>0,j<=N.r||!N.r){j<=1&&T>0&&(N=P[T-1]);var M=E[N.l];v&&(j=v(""+j)),x=typeof M=="string"?M.replace("%d",j):M(j,h,N.l,R);break}}if(h)return x;var O=R?E.future:E.past;return typeof O=="function"?O(x):O.replace("%s",x)},a.to=function(f,h){return c(f,h,this,!0)},a.from=function(f,h){return c(f,h,this)};var d=function(f){return f.$u?i.utc():i()};a.toNow=function(f){return this.to(d(this),f)},a.fromNow=function(f){return this.from(d(this),f)}}}))})(Wu)),Wu.exports}var qq=Bq();const nk=bd(qq),Gn=Object.create(null);Gn.open="0";Gn.close="1";Gn.ping="2";Gn.pong="3";Gn.message="4";Gn.upgrade="5";Gn.noop="6";const Gu=Object.create(null);Object.keys(Gn).forEach(e=>{Gu[Gn[e]]=e});const Xh={type:"error",data:"parser error"},ok=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",ik=typeof ArrayBuffer=="function",sk=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,_y=({type:e,data:t},r,n)=>ok&&t instanceof Blob?r?n(t):nx(t,n):ik&&(t instanceof ArrayBuffer||sk(t))?r?n(t):nx(new Blob([t]),n):n(Gn[e]+(t||"")),nx=(e,t)=>{const r=new FileReader;return r.onload=function(){const n=r.result.split(",")[1];t("b"+(n||""))},r.readAsDataURL(e)};function ox(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let zm;function Vq(e,t){if(ok&&e.data instanceof Blob)return e.data.arrayBuffer().then(ox).then(t);if(ik&&(e.data instanceof ArrayBuffer||sk(e.data)))return t(ox(e.data));_y(e,!1,r=>{zm||(zm=new TextEncoder),t(zm.encode(r))})}const ix="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",wl=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<ix.length;e++)wl[ix.charCodeAt(e)]=e;const Hq=e=>{let t=e.length*.75,r=e.length,n,i=0,a,l,c,d;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const f=new ArrayBuffer(t),h=new Uint8Array(f);for(n=0;n<r;n+=4)a=wl[e.charCodeAt(n)],l=wl[e.charCodeAt(n+1)],c=wl[e.charCodeAt(n+2)],d=wl[e.charCodeAt(n+3)],h[i++]=a<<2|l>>4,h[i++]=(l&15)<<4|c>>2,h[i++]=(c&3)<<6|d&63;return f},Wq=typeof ArrayBuffer=="function",My=(e,t)=>{if(typeof e!="string")return{type:"message",data:ak(e,t)};const r=e.charAt(0);return r==="b"?{type:"message",data:Gq(e.substring(1),t)}:Gu[r]?e.length>1?{type:Gu[r],data:e.substring(1)}:{type:Gu[r]}:Xh},Gq=(e,t)=>{if(Wq){const r=Hq(e);return ak(r,t)}else return{base64:!0,data:e}},ak=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},lk="",Kq=(e,t)=>{const r=e.length,n=new Array(r);let i=0;e.forEach((a,l)=>{_y(a,!1,c=>{n[l]=c,++i===r&&t(n.join(lk))})})},Yq=(e,t)=>{const r=e.split(lk),n=[];for(let i=0;i<r.length;i++){const a=My(r[i],t);if(n.push(a),a.type==="error")break}return n};function Xq(){return new TransformStream({transform(e,t){Vq(e,r=>{const n=r.length;let i;if(n<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,n);else if(n<65536){i=new Uint8Array(3);const a=new DataView(i.buffer);a.setUint8(0,126),a.setUint16(1,n)}else{i=new Uint8Array(9);const a=new DataView(i.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(n))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(r)})}})}let Bm;function Du(e){return e.reduce((t,r)=>t+r.length,0)}function Ou(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let n=0;for(let i=0;i<t;i++)r[i]=e[0][n++],n===e[0].length&&(e.shift(),n=0);return e.length&&n<e[0].length&&(e[0]=e[0].slice(n)),r}function Qq(e,t){Bm||(Bm=new TextDecoder);const r=[];let n=0,i=-1,a=!1;return new TransformStream({transform(l,c){for(r.push(l);;){if(n===0){if(Du(r)<1)break;const d=Ou(r,1);a=(d[0]&128)===128,i=d[0]&127,i<126?n=3:i===126?n=1:n=2}else if(n===1){if(Du(r)<2)break;const d=Ou(r,2);i=new DataView(d.buffer,d.byteOffset,d.length).getUint16(0),n=3}else if(n===2){if(Du(r)<8)break;const d=Ou(r,8),f=new DataView(d.buffer,d.byteOffset,d.length),h=f.getUint32(0);if(h>Math.pow(2,21)-1){c.enqueue(Xh);break}i=h*Math.pow(2,32)+f.getUint32(4),n=3}else{if(Du(r)<i)break;const d=Ou(r,i);c.enqueue(My(a?d:Bm.decode(d),t)),n=0}if(i===0||i>e){c.enqueue(Xh);break}}}})}const ck=4;function Rt(e){if(e)return Jq(e)}function Jq(e){for(var t in Rt.prototype)e[t]=Rt.prototype[t];return e}Rt.prototype.on=Rt.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Rt.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this};Rt.prototype.off=Rt.prototype.removeListener=Rt.prototype.removeAllListeners=Rt.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var r=this._callbacks["$"+e];if(!r)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var n,i=0;i<r.length;i++)if(n=r[i],n===t||n.fn===t){r.splice(i,1);break}return r.length===0&&delete this._callbacks["$"+e],this};Rt.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){r=r.slice(0);for(var n=0,i=r.length;n<i;++n)r[n].apply(this,t)}return this};Rt.prototype.emitReserved=Rt.prototype.emit;Rt.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Rt.prototype.hasListeners=function(e){return!!this.listeners(e).length};const uf=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,r)=>r(t,0),Qr=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Zq="arraybuffer";function uk(e,...t){return t.reduce((r,n)=>(e.hasOwnProperty(n)&&(r[n]=e[n]),r),{})}const e9=Qr.setTimeout,t9=Qr.clearTimeout;function df(e,t){t.useNativeTimers?(e.setTimeoutFn=e9.bind(Qr),e.clearTimeoutFn=t9.bind(Qr)):(e.setTimeoutFn=Qr.setTimeout.bind(Qr),e.clearTimeoutFn=Qr.clearTimeout.bind(Qr))}const r9=1.33;function n9(e){return typeof e=="string"?o9(e):Math.ceil((e.byteLength||e.size)*r9)}function o9(e){let t=0,r=0;for(let n=0,i=e.length;n<i;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}function dk(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function i9(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}function s9(e){let t={},r=e.split("&");for(let n=0,i=r.length;n<i;n++){let a=r[n].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return t}class a9 extends Error{constructor(t,r,n){super(t),this.description=r,this.context=n,this.type="TransportError"}}class jy extends Rt{constructor(t){super(),this.writable=!1,df(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,r,n){return super.emitReserved("error",new a9(t,r,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const r=My(t,this.socket.binaryType);this.onPacket(r)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,r={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(r)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const r=i9(t);return r.length?"?"+r:""}}class l9 extends jy{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const r=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let n=0;this._polling&&(n++,this.once("pollComplete",function(){--n||r()})),this.writable||(n++,this.once("drain",function(){--n||r()}))}else r()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const r=n=>{if(this.readyState==="opening"&&n.type==="open"&&this.onOpen(),n.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(n)};Yq(t,this.socket.binaryType).forEach(r),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,Kq(t,r=>{this.doWrite(r,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",r=this.query||{};return this.opts.timestampRequests!==!1&&(r[this.opts.timestampParam]=dk()),!this.supportsBinary&&!r.sid&&(r.b64=1),this.createUri(t,r)}}let fk=!1;try{fk=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const c9=fk;function u9(){}class d9 extends l9{constructor(t){if(super(t),typeof location<"u"){const r=location.protocol==="https:";let n=location.port;n||(n=r?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||n!==t.port}}doWrite(t,r){const n=this.request({method:"POST",data:t});n.on("success",r),n.on("error",(i,a)=>{this.onError("xhr post error",i,a)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(r,n)=>{this.onError("xhr poll error",r,n)}),this.pollXhr=t}}class Vn extends Rt{constructor(t,r,n){super(),this.createRequest=t,df(this,n),this._opts=n,this._method=n.method||"GET",this._uri=r,this._data=n.data!==void 0?n.data:null,this._create()}_create(){var t;const r=uk(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");r.xdomain=!!this._opts.xd;const n=this._xhr=this.createRequest(r);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&n.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var i;n.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(n.getResponseHeader("set-cookie"))),n.readyState===4&&(n.status===200||n.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof n.status=="number"?n.status:0)},0))},n.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=Vn.requestsCount++,Vn.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=u9,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Vn.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Vn.requestsCount=0;Vn.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",sx);else if(typeof addEventListener=="function"){const e="onpagehide"in Qr?"pagehide":"unload";addEventListener(e,sx,!1)}}function sx(){for(let e in Vn.requests)Vn.requests.hasOwnProperty(e)&&Vn.requests[e].abort()}const f9=(function(){const e=pk({xdomain:!1});return e&&e.responseType!==null})();class p9 extends d9{constructor(t){super(t);const r=t&&t.forceBase64;this.supportsBinary=f9&&!r}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Vn(pk,this.uri(),t)}}function pk(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||c9))return new XMLHttpRequest}catch{}if(!t)try{return new Qr[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const mk=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class m9 extends jy{get name(){return"websocket"}doOpen(){const t=this.uri(),r=this.opts.protocols,n=mk?{}:uk(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,r,n)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],i=r===t.length-1;_y(n,this.supportsBinary,a=>{try{this.doWrite(n,a)}catch{}i&&uf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",r=this.query||{};return this.opts.timestampRequests&&(r[this.opts.timestampParam]=dk()),this.supportsBinary||(r.b64=1),this.createUri(t,r)}}const qm=Qr.WebSocket||Qr.MozWebSocket;class h9 extends m9{createSocket(t,r,n){return mk?new qm(t,r,n):r?new qm(t,r):new qm(t)}doWrite(t,r){this.ws.send(r)}}class g9 extends jy{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const r=Qq(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=t.readable.pipeThrough(r).getReader(),i=Xq();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const a=()=>{n.read().then(({done:c,value:d})=>{c||(this.onPacket(d),a())}).catch(c=>{})};a();const l={type:"open"};this.query.sid&&(l.data=`{"sid":"${this.query.sid}"}`),this._writer.write(l).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let r=0;r<t.length;r++){const n=t[r],i=r===t.length-1;this._writer.write(n).then(()=>{i&&uf(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const y9={websocket:h9,webtransport:g9,polling:p9},v9=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,b9=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Qh(e){if(e.length>8e3)throw"URI too long";const t=e,r=e.indexOf("["),n=e.indexOf("]");r!=-1&&n!=-1&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let i=v9.exec(e||""),a={},l=14;for(;l--;)a[b9[l]]=i[l]||"";return r!=-1&&n!=-1&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=w9(a,a.path),a.queryKey=S9(a,a.query),a}function w9(e,t){const r=/\/{2,9}/g,n=t.replace(r,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&n.splice(0,1),t.slice(-1)=="/"&&n.splice(n.length-1,1),n}function S9(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(n,i,a){i&&(r[i]=a)}),r}const Jh=typeof addEventListener=="function"&&typeof removeEventListener=="function",Ku=[];Jh&&addEventListener("offline",()=>{Ku.forEach(e=>e())},!1);class fi extends Rt{constructor(t,r){if(super(),this.binaryType=Zq,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(r=t,t=null),t){const n=Qh(t);r.hostname=n.host,r.secure=n.protocol==="https"||n.protocol==="wss",r.port=n.port,n.query&&(r.query=n.query)}else r.host&&(r.hostname=Qh(r.host).host);df(this,r),this.secure=r.secure!=null?r.secure:typeof location<"u"&&location.protocol==="https:",r.hostname&&!r.port&&(r.port=this.secure?"443":"80"),this.hostname=r.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=r.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},r.transports.forEach(n=>{const i=n.prototype.name;this.transports.push(i),this._transportsByName[i]=n}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},r),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=s9(this.opts.query)),Jh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},Ku.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const r=Object.assign({},this.opts.query);r.EIO=ck,r.transport=t,this.id&&(r.sid=this.id);const n=Object.assign({},this.opts,{query:r,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](n)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&fi.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const r=this.createTransport(t);r.open(),this.setTransport(r)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",r=>this._onClose("transport close",r))}onOpen(){this.readyState="open",fi.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const r=new Error("server error");r.code=t.data,this._onError(r);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let r=1;for(let n=0;n<this.writeBuffer.length;n++){const i=this.writeBuffer[n].data;if(i&&(r+=n9(i)),n>0&&r>this._maxPayload)return this.writeBuffer.slice(0,n);r+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,uf(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,r,n){return this._sendPacket("message",t,r,n),this}send(t,r,n){return this._sendPacket("message",t,r,n),this}_sendPacket(t,r,n,i){if(typeof r=="function"&&(i=r,r=void 0),typeof n=="function"&&(i=n,n=null),this.readyState==="closing"||this.readyState==="closed")return;n=n||{},n.compress=n.compress!==!1;const a={type:t,data:r,options:n};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},r=()=>{this.off("upgrade",r),this.off("upgradeError",r),t()},n=()=>{this.once("upgrade",r),this.once("upgradeError",r)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():t()}):this.upgrading?n():t()),this}_onError(t){if(fi.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,r){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Jh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const n=Ku.indexOf(this._offlineEventListener);n!==-1&&Ku.splice(n,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,r),this.writeBuffer=[],this._prevBufferLen=0}}}fi.protocol=ck;class x9 extends fi{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let r=this.createTransport(t),n=!1;fi.priorWebsocketSuccess=!1;const i=()=>{n||(r.send([{type:"ping",data:"probe"}]),r.once("packet",m=>{if(!n)if(m.type==="pong"&&m.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",r),!r)return;fi.priorWebsocketSuccess=r.name==="websocket",this.transport.pause(()=>{n||this.readyState!=="closed"&&(h(),this.setTransport(r),r.send([{type:"upgrade"}]),this.emitReserved("upgrade",r),r=null,this.upgrading=!1,this.flush())})}else{const w=new Error("probe error");w.transport=r.name,this.emitReserved("upgradeError",w)}}))};function a(){n||(n=!0,h(),r.close(),r=null)}const l=m=>{const w=new Error("probe error: "+m);w.transport=r.name,a(),this.emitReserved("upgradeError",w)};function c(){l("transport closed")}function d(){l("socket closed")}function f(m){r&&m.name!==r.name&&a()}const h=()=>{r.removeListener("open",i),r.removeListener("error",l),r.removeListener("close",c),this.off("close",d),this.off("upgrading",f)};r.once("open",i),r.once("error",l),r.once("close",c),this.once("close",d),this.once("upgrading",f),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{n||r.open()},200):r.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const r=[];for(let n=0;n<t.length;n++)~this.transports.indexOf(t[n])&&r.push(t[n]);return r}}let C9=class extends x9{constructor(t,r={}){const n=typeof t=="object"?t:r;(!n.transports||n.transports&&typeof n.transports[0]=="string")&&(n.transports=(n.transports||["polling","websocket","webtransport"])?.map(i=>y9[i]).filter(i=>!!i)),super(t,n)}};function R9(e,t="",r){let n=e;r=r||typeof location<"u"&&location,e==null&&(e=r.protocol+"//"+r.host),typeof e=="string"&&(e.charAt(0)==="/"&&(e.charAt(1)==="/"?e=r.protocol+e:e=r.host+e),/^(https?|wss?):\/\//.test(e)||(typeof r<"u"?e=r.protocol+"//"+e:e="https://"+e),n=Qh(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const a=n.host.indexOf(":")!==-1?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+a+":"+n.port+t,n.href=n.protocol+"://"+a+(r&&r.port===n.port?"":":"+n.port),n}const E9=typeof ArrayBuffer=="function",k9=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,hk=Object.prototype.toString,P9=typeof Blob=="function"||typeof Blob<"u"&&hk.call(Blob)==="[object BlobConstructor]",A9=typeof File=="function"||typeof File<"u"&&hk.call(File)==="[object FileConstructor]";function Ly(e){return E9&&(e instanceof ArrayBuffer||k9(e))||P9&&e instanceof Blob||A9&&e instanceof File}function Yu(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let r=0,n=e.length;r<n;r++)if(Yu(e[r]))return!0;return!1}if(Ly(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return Yu(e.toJSON(),!0);for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&Yu(e[r]))return!0;return!1}function T9(e){const t=[],r=e.data,n=e;return n.data=Zh(r,t),n.attachments=t.length,{packet:n,buffers:t}}function Zh(e,t){if(!e)return e;if(Ly(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}else if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=Zh(e[n],t);return r}else if(typeof e=="object"&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=Zh(e[n],t));return r}return e}function N9(e,t){return e.data=eg(e.data,t),delete e.attachments,e}function eg(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=eg(e[r],t);else if(typeof e=="object")for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=eg(e[r],t));return e}const D9=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var qe;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(qe||(qe={}));class O9{constructor(t){this.replacer=t}encode(t){return(t.type===qe.EVENT||t.type===qe.ACK)&&Yu(t)?this.encodeAsBinary({type:t.type===qe.EVENT?qe.BINARY_EVENT:qe.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let r=""+t.type;return(t.type===qe.BINARY_EVENT||t.type===qe.BINARY_ACK)&&(r+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(r+=t.nsp+","),t.id!=null&&(r+=t.id),t.data!=null&&(r+=JSON.stringify(t.data,this.replacer)),r}encodeAsBinary(t){const r=T9(t),n=this.encodeAsString(r.packet),i=r.buffers;return i.unshift(n),i}}class Fy extends Rt{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof t=="function"?{reviver:t}:t)}add(t){let r;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");r=this.decodeString(t);const n=r.type===qe.BINARY_EVENT;n||r.type===qe.BINARY_ACK?(r.type=n?qe.EVENT:qe.ACK,this.reconstructor=new _9(r),r.attachments===0&&super.emitReserved("decoded",r)):super.emitReserved("decoded",r)}else if(Ly(t)||t.base64)if(this.reconstructor)r=this.reconstructor.takeBinaryData(t),r&&(this.reconstructor=null,super.emitReserved("decoded",r));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let r=0;const n={type:Number(t.charAt(0))};if(qe[n.type]===void 0)throw new Error("unknown packet type "+n.type);if(n.type===qe.BINARY_EVENT||n.type===qe.BINARY_ACK){const a=r+1;for(;t.charAt(++r)!=="-"&&r!=t.length;);const l=t.substring(a,r);if(l!=Number(l)||t.charAt(r)!=="-")throw new Error("Illegal attachments");const c=Number(l);if(!M9(c)||c<0)throw new Error("Illegal attachments");if(c>this.opts.maxAttachments)throw new Error("too many attachments");n.attachments=c}if(t.charAt(r+1)==="/"){const a=r+1;for(;++r&&!(t.charAt(r)===","||r===t.length););n.nsp=t.substring(a,r)}else n.nsp="/";const i=t.charAt(r+1);if(i!==""&&Number(i)==i){const a=r+1;for(;++r;){const l=t.charAt(r);if(l==null||Number(l)!=l){--r;break}if(r===t.length)break}n.id=Number(t.substring(a,r+1))}if(t.charAt(++r)){const a=this.tryParse(t.substr(r));if(Fy.isPayloadValid(n.type,a))n.data=a;else throw new Error("invalid payload")}return n}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch{return!1}}static isPayloadValid(t,r){switch(t){case qe.CONNECT:return ax(r);case qe.DISCONNECT:return r===void 0;case qe.CONNECT_ERROR:return typeof r=="string"||ax(r);case qe.EVENT:case qe.BINARY_EVENT:return Array.isArray(r)&&(typeof r[0]=="number"||typeof r[0]=="string"&&D9.indexOf(r[0])===-1);case qe.ACK:case qe.BINARY_ACK:return Array.isArray(r)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class _9{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const r=N9(this.reconPack,this.buffers);return this.finishedReconstruction(),r}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const M9=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e};function ax(e){return Object.prototype.toString.call(e)==="[object Object]"}const j9=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Fy,Encoder:O9,get PacketType(){return qe}},Symbol.toStringTag,{value:"Module"}));function yn(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const L9=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class gk extends Rt{constructor(t,r,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=r,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[yn(t,"open",this.onopen.bind(this)),yn(t,"packet",this.onpacket.bind(this)),yn(t,"error",this.onerror.bind(this)),yn(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...r){var n,i,a;if(L9.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(r.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(r),this;const l={type:qe.EVENT,data:r};if(l.options={},l.options.compress=this.flags.compress!==!1,typeof r[r.length-1]=="function"){const h=this.ids++,m=r.pop();this._registerAckCallback(h,m),l.id=h}const c=(i=(n=this.io.engine)===null||n===void 0?void 0:n.transport)===null||i===void 0?void 0:i.writable,d=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!c||(d?(this.notifyOutgoingListeners(l),this.packet(l)):this.sendBuffer.push(l)),this.flags={},this}_registerAckCallback(t,r){var n;const i=(n=this.flags.timeout)!==null&&n!==void 0?n:this._opts.ackTimeout;if(i===void 0){this.acks[t]=r;return}const a=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let c=0;c<this.sendBuffer.length;c++)this.sendBuffer[c].id===t&&this.sendBuffer.splice(c,1);r.call(this,new Error("operation has timed out"))},i),l=(...c)=>{this.io.clearTimeoutFn(a),r.apply(this,c)};l.withError=!0,this.acks[t]=l}emitWithAck(t,...r){return new Promise((n,i)=>{const a=(l,c)=>l?i(l):n(c);a.withError=!0,r.push(a),this.emit(t,...r)})}_addToQueue(t){let r;typeof t[t.length-1]=="function"&&(r=t.pop());const n={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((i,...a)=>(this._queue[0],i!==null?n.tryCount>this._opts.retries&&(this._queue.shift(),r&&r(i)):(this._queue.shift(),r&&r(null,...a)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const r=this._queue[0];r.pending&&!t||(r.pending=!0,r.tryCount++,this.flags=r.flags,this.emit.apply(this,r.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:qe.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,r){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,r),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer?.some(n=>String(n.id)===t)){const n=this.acks[t];delete this.acks[t],n.withError&&n.call(this,new Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case qe.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case qe.EVENT:case qe.BINARY_EVENT:this.onevent(t);break;case qe.ACK:case qe.BINARY_ACK:this.onack(t);break;case qe.DISCONNECT:this.ondisconnect();break;case qe.CONNECT_ERROR:this.destroy();const n=new Error(t.data.message);n.data=t.data.data,this.emitReserved("connect_error",n);break}}onevent(t){const r=t.data||[];t.id!=null&&r.push(this.ack(t.id)),this.connected?this.emitEvent(r):this.receiveBuffer.push(Object.freeze(r))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const r=this._anyListeners.slice();for(const n of r)n.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const r=this;let n=!1;return function(...i){n||(n=!0,r.packet({type:qe.ACK,id:t,data:i}))}}onack(t){const r=this.acks[t.id];typeof r=="function"&&(delete this.acks[t.id],r.withError&&t.data.unshift(null),r.apply(this,t.data))}onconnect(t,r){this.id=t,this.recovered=r&&this._pid===r,this._pid=r,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:qe.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const r=this._anyListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){const r=this._anyOutgoingListeners;for(let n=0;n<r.length;n++)if(t===r[n])return r.splice(n,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const r=this._anyOutgoingListeners.slice();for(const n of r)n.apply(this,t.data)}}}function Ea(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Ea.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=(Math.floor(t*10)&1)==0?e-r:e+r}return Math.min(e,this.max)|0};Ea.prototype.reset=function(){this.attempts=0};Ea.prototype.setMin=function(e){this.ms=e};Ea.prototype.setMax=function(e){this.max=e};Ea.prototype.setJitter=function(e){this.jitter=e};class tg extends Rt{constructor(t,r){var n;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(r=t,t=void 0),r=r||{},r.path=r.path||"/socket.io",this.opts=r,df(this,r),this.reconnection(r.reconnection!==!1),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor((n=r.randomizationFactor)!==null&&n!==void 0?n:.5),this.backoff=new Ea({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(r.timeout==null?2e4:r.timeout),this._readyState="closed",this.uri=t;const i=r.parser||j9;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=r.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var r;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(r=this.backoff)===null||r===void 0||r.setMin(t),this)}randomizationFactor(t){var r;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(r=this.backoff)===null||r===void 0||r.setJitter(t),this)}reconnectionDelayMax(t){var r;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(r=this.backoff)===null||r===void 0||r.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new C9(this.uri,this.opts);const r=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;const i=yn(r,"open",function(){n.onopen(),t&&t()}),a=c=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",c),t?t(c):this.maybeReconnectOnOpen()},l=yn(r,"error",a);if(this._timeout!==!1){const c=this._timeout,d=this.setTimeoutFn(()=>{i(),a(new Error("timeout")),r.close()},c);this.opts.autoUnref&&d.unref(),this.subs.push(()=>{this.clearTimeoutFn(d)})}return this.subs.push(i),this.subs.push(l),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(yn(t,"ping",this.onping.bind(this)),yn(t,"data",this.ondata.bind(this)),yn(t,"error",this.onerror.bind(this)),yn(t,"close",this.onclose.bind(this)),yn(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(r){this.onclose("parse error",r)}}ondecoded(t){uf(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,r){let n=this.nsps[t];return n?this._autoConnect&&!n.active&&n.connect():(n=new gk(this,t,r),this.nsps[t]=n),n}_destroy(t){const r=Object.keys(this.nsps);for(const n of r)if(this.nsps[n].active)return;this._close()}_packet(t){const r=this.encoder.encode(t);for(let n=0;n<r.length;n++)this.engine.write(r[n],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,r){var n;this.cleanup(),(n=this.engine)===null||n===void 0||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,r),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const r=this.backoff.duration();this._reconnecting=!0;const n=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(i=>{i?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",i)):t.onreconnect()}))},r);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const yl={};function Xu(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const r=R9(e,t.path||"/socket.io"),n=r.source,i=r.id,a=r.path,l=yl[i]&&a in yl[i].nsps,c=t.forceNew||t["force new connection"]||t.multiplex===!1||l;let d;return c?d=new tg(n,t):(yl[i]||(yl[i]=new tg(n,t)),d=yl[i]),r.query&&!t.query&&(t.query=r.queryKey),d.socket(r.path,t)}Object.assign(Xu,{Manager:tg,Socket:gk,io:Xu,connect:Xu});const yk="smartoffice_reminders",F9=()=>{try{const e=localStorage.getItem(yk);return e?JSON.parse(e):[]}catch{return[]}},Bs=e=>{try{localStorage.setItem(yk,JSON.stringify(e))}catch{}},Iy=()=>{const[e,t]=g.useState([]),[r,n]=g.useState(new Map);g.useEffect(()=>{const m=F9();t(m)},[]);const i=g.useCallback(m=>{const w={...m,createdAt:new Date().toISOString(),status:"pending"};return t(v=>{const C=[...v,w];return Bs(C),C}),w},[]),a=g.useCallback((m,w)=>{if(St(m.message,{description:m.subject.en,duration:1e4,action:w?{label:"View",onClick:()=>w(m)}:void 0}),"Notification"in window&&Notification.permission==="granted"){const v=new Notification(m.subject.en,{body:m.message,icon:"/favicon.ico",tag:m.id});v.onclick=()=>{w&&w(m),v.close()}}t(v=>{const C=v?.map(x=>x.id===m.id?{...x,status:"triggered"}:x);return Bs(C),C})},[]);g.useEffect(()=>{const m=Date.now(),w=new Map;return e.forEach(v=>{if(v.status!=="pending")return;const x=new Date(v.remindAt).getTime()-m;if(x<=0)a(v);else if(x<2147483647){const R=setTimeout(()=>{a(v)},x);w.set(v.id,R)}}),r.forEach((v,C)=>{w.has(C)||clearTimeout(v)}),n(w),()=>{w.forEach(v=>clearTimeout(v))}},[e,a]);const l=g.useCallback((m,w)=>{t(v=>{const C=v?.map(x=>{if(x.id===m){const R=new Date(Date.now()+w*60*1e3).toISOString();return{...x,remindAt:R,status:"pending"}}return x});return Bs(C),C}),St.success(`Reminder snoozed for ${w} minutes`)},[]),c=g.useCallback(m=>{t(w=>{const v=w?.map(C=>C.id===m?{...C,status:"dismissed"}:C);return Bs(v),v})},[]),d=g.useCallback(m=>{t(w=>{const v=w.filter(C=>C.id!==m);return Bs(v),v})},[]),f=e.filter(m=>m.status==="pending").length,h=g.useCallback(()=>{t([]),Bs([]),r.forEach(m=>clearTimeout(m)),n(new Map)},[r]);return{reminders:e,pendingReminders:e.filter(m=>m.status==="pending"),pendingCount:f,scheduleReminder:i,snoozeReminder:l,dismissReminder:c,deleteReminder:d,clearAllReminders:h}},vk=g.createContext({socket:null,notifications:[],scheduleReminder:()=>{}}),I9=({userId:e,children:t})=>{const r=g.useRef(null),[n,i]=g.useState([]),{scheduleReminder:a}=Iy();g.useEffect(()=>{"Notification"in window&&Notification.permission!=="granted"&&Notification.requestPermission().then(c=>{})},[]);const l=(c,d)=>{const f=new Date(Date.now()+d*60*1e3).toISOString(),h=typeof c.subject=="object"?c.subject:{en:String(c.subject||"Notification")};a({id:`reminder-${c.id||Date.now()}`,notificationId:c.id||`notif-${Date.now()}`,message:c.message,subject:{en:h.en||"Notification",am:h.am},remindAt:f,itemId:c.itemId||"",metadata:c.metadata}),St.success(`Reminder set for ${d} minutes from now`)};return g.useEffect(()=>{if(!e)return;r.current&&(r.current.disconnect(),r.current=null);const c=Xu(void 0,{transports:["websocket"],query:{id:e,type:"user"},reconnection:!0,reconnectionAttempts:15,reconnectionDelay:1e3,reconnectionDelayMax:3e4});return r.current=c,c.on("my-notification",d=>{if(!(d!=null&&d.message))return;const f={...d,id:d.id||`rt-${Date.now()}`,createdAt:d.createdAt||new Date().toISOString(),updatedAt:d.updatedAt||d.createdAt||new Date().toISOString(),isSeen:d.isSeen??!1,itemId:d.itemId||d.id||""};St(f.message,{description:new Date().toLocaleTimeString(),duration:4e3}),i(h=>{const m=h.filter(w=>w.id!==f.id);return[f,...m]}),window.dispatchEvent(new CustomEvent("record-management:notification-received",{detail:f})),"Notification"in window&&Notification.permission==="granted"&&new Notification("New Notification",{body:f.message})}),()=>{c.disconnect(),r.current=null}},[e]),b.jsx(vk.Provider,{value:{socket:r.current,notifications:n,scheduleReminder:l},children:t})},U9=()=>g.useContext(vk);Ml.extend(nk);const $9=()=>{const{t:e}=So(),[t,r]=g.useState("unread"),n=g.useRef(null),[i,a]=g.useState(3),[l,c]=g.useState(0),d=mi(),{notifications:f,loading:h,error:m,markAsRead:w,refresh:v,setParams:C}=rk({take:100,skip:0,orderBy:"createdAt:DESC"},c),{scheduleReminder:x}=U9(),R=f.filter(M=>t==="unread"?!M.isSeen:!0).sort((M,O)=>new Date(O.createdAt).getTime()-new Date(M.createdAt).getTime()),E=R.slice(0,i),P=l>0,k=g.useCallback(M=>{const[O]=M;O.isIntersecting&&!h&&(a(B=>B+3),i+3>f.length&&C(B=>({...B,skip:B.skip+B.take})))},[h,f.length,C,i]);g.useEffect(()=>{const M=new IntersectionObserver(k,{root:null,rootMargin:"20px",threshold:.1}),O=n.current;return O&&M.observe(O),()=>{O&&M.unobserve(O)}},[k]);const T=g.useCallback(()=>{R.filter(M=>!M.isSeen).forEach(M=>w(M.id))},[R,w]),N=g.useCallback(M=>{var te,K;M.isSeen||w(M.id);const O=M.itemId||M.id;if(!O){St.info("Notification does not contain a target record");return}const B=`${((te=M.metadata)==null?void 0:te.route)||""}`.toLowerCase().replace(/[\s_-]/g,""),H=`${((K=M.metadata)==null?void 0:K.recordType)||""}`.toLowerCase().replace(/[\s_-]/g,""),Y=B.includes("outgoing")||B.includes("approval")||B.includes("approve"),ne=B.includes("incoming")||["external","internal","cc","nonsmartuser","internalmemo"].includes(H);if(Y){d(`/record-management/viewApproval/${O}`);return}if(ne){if(H==="external"||H==="nonsmartuser"||H==="externalnonsmartuser"||H===""){d(`/record-management/viewIncoming/incoming/${O}`);return}if(H==="internal"||H==="internalmemo"){d(`/record-management/viewIncoming/internal/${O}`);return}if(H==="cc"){d(`/record-management/viewIncoming/cc/${O}`);return}}St.info("No specific route defined for this notification type")},[d,w]),j=g.useCallback((M,O)=>{const B=f.find(H=>H.id===M);B&&x(B,O)},[f,x]);return h&&f.length===0?b.jsx("div",{className:"flex h-[360px] items-center justify-center",children:b.jsx(Bb,{className:"h-6 w-6 animate-spin text-primary-500"})}):m?b.jsxs("div",{className:"mx-4 my-5 rounded-xl border border-red-200 bg-red-50 p-4 text-center dark:border-red-900/60 dark:bg-red-950/30",children:[b.jsx("p",{className:"text-sm text-red-600 dark:text-red-300",children:m}),b.jsx("button",{onClick:v,className:"mt-2 rounded-md px-3 py-1 text-sm font-medium text-primary-700 hover:bg-primary-100 dark:text-primary-300 dark:hover:bg-primary-900/30",children:e("profile.tryAgain")})]}):b.jsxs("div",{className:"flex h-full max-h-[calc(100dvh-5rem)] flex-col overflow-hidden rounded-2xl bg-white dark:bg-gray-900 sm:max-h-[430px]",children:[b.jsxs("div",{className:"border-b border-gray-100 bg-gradient-to-r from-primary-50 to-primary-50 px-3 py-3 dark:border-gray-800 dark:from-primary-950/40 dark:to-primary-950/30 sm:px-4",children:[b.jsxs("div",{className:"flex items-start justify-between gap-2",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-xl bg-primary-500/10 text-primary-600 dark:bg-primary-900/30 dark:text-primary-300",children:b.jsx(Zu,{className:"h-4 w-4"})}),b.jsxs("div",{className:"min-w-0",children:[b.jsx("h3",{className:"text-sm font-semibold text-gray-900 dark:text-gray-100",children:e("header.notifications")}),b.jsx("p",{className:"text-xs text-gray-500 dark:text-gray-400",children:P?`${l} unread`:"You're all caught up"})]})]}),P&&b.jsxs("button",{onClick:T,className:"inline-flex shrink-0 items-center gap-1 rounded-lg bg-primary-500 px-2.5 py-1.5 text-xs font-medium text-white transition-colors hover:bg-primary-600",children:[b.jsx(qN,{className:"h-3.5 w-3.5"}),"Mark all"]})]}),b.jsxs("div",{className:"mt-3 inline-flex rounded-xl bg-white p-1 shadow-sm ring-1 ring-black/5 dark:bg-gray-800 dark:ring-white/10",children:[b.jsxs("button",{className:`rounded-lg px-3 py-1.5 text-xs font-semibold transition-colors ${t==="unread"?"bg-primary-500 text-white shadow-sm":"text-gray-600 hover:bg-primary-50 dark:text-gray-300 dark:hover:bg-primary-900/20"}`,onClick:()=>{r("unread"),a(3)},children:["Unread",l>0&&b.jsx("span",{className:`ml-1.5 rounded-full px-1.5 py-0.5 text-[10px] ${t==="unread"?"bg-white/25 text-white":"bg-primary-100 text-primary-700 dark:bg-primary-900/40 dark:text-primary-300"}`,children:l})]}),b.jsx("button",{className:`rounded-lg px-3 py-1.5 text-xs font-semibold transition-colors ${t==="all"?"bg-primary-500 text-white shadow-sm":"text-gray-600 hover:bg-primary-50 dark:text-gray-300 dark:hover:bg-primary-900/20"}`,onClick:()=>{r("all"),a(3)},children:"All"})]})]}),b.jsxs("div",{className:"space-y-2.5 overflow-y-auto px-3 py-3 sm:space-y-3 sm:px-4",children:[E.length===0?b.jsxs("div",{className:"py-10 text-center",children:[b.jsx("div",{className:"mx-auto flex h-14 w-14 items-center justify-center rounded-2xl bg-gray-100 dark:bg-gray-800",children:t==="unread"?b.jsx(Xx,{className:"h-6 w-6 text-gray-400 dark:text-gray-500"}):b.jsx(Zu,{className:"h-6 w-6 text-gray-400 dark:text-gray-500"})}),b.jsxs("h3",{className:"mt-3 text-sm font-semibold text-gray-900 dark:text-gray-100",children:["No ",t==="unread"?"unread ":"","notifications"]}),b.jsx("p",{className:"mt-1 text-xs text-gray-500 dark:text-gray-400",children:"New activity will appear here"})]}):E?.map(M=>b.jsx(Oq,{id:M.id,subject:M.subject,time:Ml(M.createdAt).fromNow(),isUnread:!M.isSeen,onClick:()=>N(M),onRemind:j},M.id)),b.jsx("div",{ref:n,className:"flex justify-center py-4",children:h&&b.jsx(Bb,{className:"h-5 w-5 animate-spin text-primary-500"})})]})]})};Ml.extend(nk);const z9=()=>{const{pendingReminders:e,deleteReminder:t,snoozeReminder:r}=Iy(),n=mi(),i=Dy(),a=d=>{var m,w;const f=(m=d.metadata)==null?void 0:m.route,h=(w=d.metadata)==null?void 0:w.recordType;if(f==="Outgoing")n(`/record-management/viewApproval/${d.itemId}`);else if(f==="Incoming")switch(h){case"external":n(`/record-management/viewIncoming/incoming/${d.itemId}`);break;case"internal":n(`/record-management/viewIncoming/internal/${d.itemId}`);break;case"cc":n(`/record-management/viewIncoming/${d.itemId}`);break;case"non_smart_user":n(`/record-management/viewIncoming/incoming/${d.itemId}`);break}else St.info("No specific route defined for this reminder")},l=(d,f)=>{f.stopPropagation(),t(d),St.success("Reminder deleted")},c=(d,f,h)=>{h.stopPropagation(),r(d,f)};return e.length===0?b.jsxs("div",{className:"text-center py-6",children:[b.jsx("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-gray-100",children:b.jsx(Xx,{className:"h-5 w-5 text-gray-400"})}),b.jsx("h3",{className:"mt-2 text-sm font-medium text-gray-900",children:"No active reminders"}),b.jsx("p",{className:"mt-1 text-xs text-gray-500",children:"Set reminders from notifications to see them here"})]}):b.jsxs("div",{className:"space-y-3",children:[b.jsx("div",{className:"flex items-center justify-between mb-2",children:b.jsxs("h3",{className:"text-sm font-medium text-gray-900",children:["Active Reminders (",e.length,")"]})}),b.jsx("div",{className:"space-y-2 max-h-[500px] overflow-y-auto",children:e?.map(d=>b.jsxs("div",{className:"flex items-start gap-3 p-3 rounded-md border bg-blue-50 border-blue-400 hover:shadow-sm transition-all cursor-pointer",onClick:()=>a(d),children:[b.jsx("div",{className:"mt-1",children:b.jsx(vg,{className:"w-5 h-5 text-blue-600"})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("h4",{className:"font-medium text-sm text-gray-900 break-all",children:i(d.subject)}),b.jsx("span",{className:"w-2 h-2 rounded-full bg-blue-500 animate-pulse"})]}),b.jsx("p",{className:"text-xs text-gray-600",children:d.message}),b.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[b.jsxs("p",{className:"text-[11px] text-blue-600 font-medium",children:["Remind ",Ml(d.remindAt).fromNow()]}),b.jsxs("span",{className:"text-[11px] text-gray-400",children:["(",Ml(d.remindAt).format("MMM D, h:mm A"),")"]})]})]}),b.jsxs("div",{className:"flex items-center gap-1",children:[b.jsx(Fr,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-blue-100",onClick:f=>c(d.id,15,f),title:"Snooze 15 min",children:b.jsx(Zu,{className:"h-4 w-4 text-gray-500"})}),b.jsx(Fr,{variant:"ghost",size:"sm",className:"h-7 w-7 p-0 hover:bg-red-100",onClick:f=>l(d.id,f),title:"Delete reminder",children:b.jsx(AD,{className:"h-4 w-4 text-red-500"})})]})]},d.id))})]})},B9=async(e,t)=>{var r,n;try{const{data:i}=await Et.get(`/employees/${t}/with-unit`,{params:e,headers:ss()});return i}catch(i){throw new Error(((n=(r=i==null?void 0:i.response)==null?void 0:r.data)==null?void 0:n.message)||"Failed to fetch current department employees")}},q9=async e=>{var t,r;try{return await Et.patch(`/employees/${e}/accept`)}catch(n){throw new Error(((r=(t=n==null?void 0:n.response)==null?void 0:t.data)==null?void 0:r.message)||"Failed to accept employee")}},V9=async e=>{var t,r;try{return await Et.patch(`/employees/${e}/reject`)}catch(n){throw new Error(((r=(t=n==null?void 0:n.response)==null?void 0:t.data)==null?void 0:r.message)||"Failed to reject employee")}},x7=async(e,t)=>{var r,n;try{const{data:i}=await Et.get(`/employees/others/${t}/with-unit`,{params:e,headers:ss()});return i}catch(i){throw new Error(((n=(r=i==null?void 0:i.response)==null?void 0:r.data)==null?void 0:n.message)||"Failed to fetch current department employees")}},H9=300*1e3,bk=e=>{var m,w;const{userDetails:t}=Ny(),r=((w=(m=t==null?void 0:t.employee)==null?void 0:m[0])==null?void 0:w.unitId)??null,n=cf(),{t:i}=So(),{handleError:a}=tk(i),{data:l={count:0,items:[]},isLoading:c,error:d}=ek({queryKey:["pendingEmployees",r,e],queryFn:()=>B9({...e,userStatus:"pending"},r),enabled:!!r,staleTime:H9}),f=hn({mutationFn:async v=>{if(!v)throw new Error("Employee ID is missing");await q9(v)},onSuccess:()=>{St.success("Employee approved successfully"),n.invalidateQueries({queryKey:["pendingEmployees"]})},onError:v=>{a(v)}}),h=hn({mutationFn:async v=>{if(!v)throw new Error("Employee ID is missing");await V9(v)},onSuccess:()=>{St.success("Employee rejected successfully"),n.invalidateQueries({queryKey:["pendingEmployees"]})},onError:v=>{a(v)}});return{pendingUsers:l,loadingPendingUsers:c,pendingUsersError:d,approveMutation:f,rejectMutation:h}},W9=({id:e,name:t,unit:r,time:n,onApprove:i,onReject:a,onClick:l,isLoading:c})=>{const d=Dy();return b.jsxs("div",{className:"flex items-start gap-3 p-3 rounded-md border bg-yellow-50 border-yellow-300 hover:shadow-sm transition-all cursor-pointer",onClick:()=>l(e),children:[b.jsx("div",{className:"mt-1",children:b.jsx(QN,{className:"w-5 h-5 text-yellow-600"})}),b.jsxs("div",{className:"flex-1 min-w-0",children:[b.jsx("h4",{className:"font-medium text-sm text-gray-900 break-all",children:d(t)}),r&&b.jsx("p",{className:"text-xs text-gray-600",children:d(r)}),b.jsx("p",{className:"text-[11px] text-gray-400 mt-1",children:n})]}),b.jsxs("div",{className:"flex items-center gap-2",onClick:f=>f.stopPropagation(),children:[b.jsx("button",{onClick:()=>i(e),disabled:c,className:"p-1.5 rounded-md bg-primary-100 hover:bg-primary-200 transition",children:b.jsx(yg,{className:"w-4 h-4 text-primary-600"})}),b.jsx("button",{onClick:()=>a(e),disabled:c,className:"p-1.5 rounded-md bg-red-100 hover:bg-red-200 transition",children:b.jsx(bg,{className:"w-4 h-4 text-red-600"})})]})]})},G9=()=>{const e=mi(),{t}=So(),{pendingUsers:r,approveMutation:n,rejectMutation:i}=bk({take:5,skip:0});r!=null&&r.count;const a=(r==null?void 0:r.items)||[];return b.jsx("div",{className:"space-y-2",children:a.length===0?b.jsx("p",{className:"text-sm text-gray-500 text-center py-3",children:t("pendingUsers.noPendingApprovals")}):b.jsxs(b.Fragment,{children:[a.slice(0,3)?.map(l=>b.jsx(W9,{id:l.id,name:l.name,unit:l.unit,time:l.createdAt,onApprove:c=>n.mutate(c),onReject:c=>i.mutate(c),onClick:c=>e(`/employees/${c}`)},l.id)),b.jsx("button",{onClick:()=>{e("/record-management/employees/pending")},className:"w-full text-sm text-blue-600 hover:underline pt-2",children:t("pendingUsers.reviewAll")})]})})},K9=e=>{var d,f,h,m,w,v;const t=((d=e==null?void 0:e.permissions)==null?void 0:d?.map(C=>C.key))??[],r=((f=e==null?void 0:e.employee)==null?void 0:f.flatMap(C=>C.positions.flatMap(x=>x.permissions?.map(R=>R.key))))??[],n=[...new Set([...t,...r])],i=(v=(w=(m=(h=e==null?void 0:e.employee)==null?void 0:h[0])==null?void 0:m.positions)==null?void 0:w[0])==null?void 0:v.parentPositionId,a=!e,l=n.includes("can:dispatchRecords"),c=n.includes("can:dispatchRecords");return{userDetails:e,permissionKeys:n,checkHaveParent:i,isLoading:a,isRO:l,isUnitAdmin:c,error:!1,hasPermission:C=>n.includes(C)}},Y9=()=>{const[e,t]=g.useState(()=>{const n=localStorage.getItem("darkMode");return n?n==="true":window.matchMedia("(prefers-color-scheme: dark)").matches});return g.useEffect(()=>{e?(document.documentElement.classList.add("dark"),localStorage.setItem("darkMode","true")):(document.documentElement.classList.remove("dark"),localStorage.setItem("darkMode","false"))},[e]),{isDarkMode:e,toggleDarkMode:()=>{t(n=>!n)}}},X9=[{value:"en",label:"English",nativeName:"English"},{value:"am",label:"አማርኛ",nativeName:"Amharic"},{value:"fr",label:"Français",nativeName:"French"}];function Q9(e){return e?e.startsWith("am")?"am":e.startsWith("fr")?"fr":"en":"en"}function lx(e,t){switch(e){case"am":return t("header.amharic");case"fr":return t("header.french");default:return t("header.english")}}function cx(e,t){switch(e){case"am":return t("header.amharicShort");case"fr":return t("header.frenchShort");default:return t("header.englishShort")}}function J9(e){const t=(e||"").trim();return t?t.replace(/\/+$/,"").replace(/\/docs$/,""):""}var Px,Ax;const C7=J9(((Ax=(Px=import.meta)==null?void 0:Px.env)==null?void 0:Ax.VITE_AUDITLOG_API_URL)??"");function Z9(e,t=!0){if(typeof e!="string")return t;const r=e.trim().replace(/^['"]|['"]$/g,"").toLowerCase();return["true","1","yes","on"].includes(r)?!0:["false","0","no","off"].includes(r)?!1:t}const wk=()=>{var e,t;return Z9((t=(e=import.meta)==null?void 0:e.env)==null?void 0:t.VITE_SHOW_TOP_BAR,!0)},ux=({onToggleSidebar:e,showRecordManagementShortcut:t=!1,showUserManagementShortcut:r=!1})=>{var _,I,L,D,V,ee,re,oe,ie,me,ue,pe,ve,ge,Me,ze,We,Pt,tr,at,dr,rt,At,Dr,yt,fr,Yn;if(!wk())return null;const{t:n,i18n:i}=So(),a=mi(),{userDetails:l,logout:c}=Ny(),d=Q9(i.resolvedLanguage||i.language),f=d==="am"?((_=l==null?void 0:l.name)==null?void 0:_.am)||((I=l==null?void 0:l.name)==null?void 0:I.en)||n("header.user"):((L=l==null?void 0:l.name)==null?void 0:L.en)||((D=l==null?void 0:l.name)==null?void 0:D.am)||n("header.user"),h=f.trim().split(" "),m=h.length===1?h[0][0]:`${h[0][0]}${h[1][0]}`,v=(d==="am"?((ie=(oe=(re=(ee=(V=l==null?void 0:l.employee)==null?void 0:V[0])==null?void 0:ee.positions)==null?void 0:re[0])==null?void 0:oe.name)==null?void 0:ie.am)||((ge=(ve=(pe=(ue=(me=l==null?void 0:l.employee)==null?void 0:me[0])==null?void 0:ue.positions)==null?void 0:pe[0])==null?void 0:ve.name)==null?void 0:ge.en):((tr=(Pt=(We=(ze=(Me=l==null?void 0:l.employee)==null?void 0:Me[0])==null?void 0:ze.positions)==null?void 0:We[0])==null?void 0:Pt.name)==null?void 0:tr.en)||((Dr=(At=(rt=(dr=(at=l==null?void 0:l.employee)==null?void 0:at[0])==null?void 0:dr.positions)==null?void 0:rt[0])==null?void 0:At.name)==null?void 0:Dr.am))||((Yn=(fr=(yt=l==null?void 0:l.roles)==null?void 0:yt[0])==null?void 0:fr.key)==null?void 0:Yn.replace(/[:_]/g," ").replace(/\b\w/g,Ze=>Ze.toUpperCase()))||n("header.management"),{permissionKeys:C}=K9(l),x=C.includes("can:activateEmployee"),R=()=>{c()},{isDarkMode:E,toggleDarkMode:P}=Y9(),{pendingUsers:k}=bk({take:5,skip:0}),T=(k==null?void 0:k.count)||0,[N,j]=g.useState(!1),[M,O]=g.useState(!1),[B,H]=g.useState(!1),Y=g.useRef(null),ne=g.useRef(null),te=g.useRef(null),{pendingCount:K}=Iy();g.useEffect(()=>{const Ze=pr=>{const mr=pr.target;mr.closest("[role='dialog']")||mr.closest("[data-slot='dialog-content']")||mr.closest("[data-slot='dialog-overlay']")||mr.closest("[data-slot='dialog-close']")||(Y.current&&!Y.current.contains(mr)&&j(!1),te.current&&!te.current.contains(mr)&&H(!1))};return document.addEventListener("mousedown",Ze),()=>document.removeEventListener("mousedown",Ze)},[]);const{unseenCount:W,refresh:U}=rk({take:100,skip:0,orderBy:"createdAt:DESC"}),z=Ze=>{i.changeLanguage(Ze)};return b.jsx("div",{className:"flex h-16 flex-col",children:b.jsx("header",{className:"fixed left-0 right-0 top-0 z-40 h-16 border-b border-primary-100/70 bg-white/90 shadow-sm backdrop-blur-md dark:border-gray-800 dark:bg-gray-900/90",children:b.jsxs("div",{className:"flex h-full items-center justify-between px-2 sm:px-4 md:px-6",children:[b.jsxs("div",{className:"flex min-w-0 flex-1 items-center gap-2 md:gap-3",children:[b.jsx(Fr,{variant:"ghost",size:"icon",className:"h-9 w-9 flex-shrink-0 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40",onClick:e,children:b.jsx(_8,{className:"h-5 w-5"})}),b.jsx("div",{className:"hidden min-w-0 flex-1 sm:block sm:max-w-[34vw] lg:max-w-[41vw] xl:max-w-[48vw]",children:b.jsx(U8,{})}),t&&b.jsxs(Fr,{variant:"ghost",size:"sm",className:"flex h-9 w-9 sm:w-auto items-center justify-center sm:justify-start gap-1.5 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 px-0 sm:px-3",onClick:()=>a("/record-management/dashboard"),children:[b.jsx(El,{className:"h-4 w-4 shrink-0 text-primary-500"}),b.jsx("span",{className:"hidden sm:inline text-xs font-semibold",children:n("nav.Record Management")})]}),r&&b.jsxs(Fr,{variant:"ghost",size:"sm",className:"flex h-9 w-9 sm:w-auto items-center justify-center sm:justify-start gap-1.5 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 px-0 sm:px-3",onClick:()=>a("/user-management"),children:[b.jsx(Hb,{className:"h-4 w-4 shrink-0 text-primary-500"}),b.jsx("span",{className:"hidden sm:inline text-xs font-semibold",children:n("dashboard.userManagement","User Management")})]})]}),b.jsxs("div",{className:"flex max-w-[56vw] flex-shrink-0 items-center space-x-1.5 sm:max-w-none sm:space-x-2.5",children:[b.jsx(Fr,{variant:"ghost",size:"icon",className:"h-9 w-9 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 sm:h-10 sm:w-10","aria-label":E?"Light mode":"Dark mode",onClick:P,title:E?"Switch to light mode":"Switch to dark mode",children:E?b.jsx(kD,{className:"h-4 w-4 text-yellow-500"}):b.jsx(bD,{className:"h-4 w-4 text-gray-700 dark:text-gray-300"})}),x&&b.jsxs("div",{className:"relative",children:[b.jsx(Fr,{variant:"ghost",size:"icon",className:"relative h-9 w-9 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 sm:h-10 sm:w-10","aria-label":n("header.notifications"),onClick:()=>H(Ze=>!Ze),children:b.jsx(Qx,{className:"h-4 w-4"})}),T>0&&b.jsx("span",{className:"absolute -right-1.5 -top-1.5 rounded-full bg-yellow-500 px-1.5 py-0.5 text-[10px] font-bold text-white shadow",children:T>99?"99+":T}),B&&b.jsx("div",{ref:te,className:"fixed left-3 right-3 top-16 z-50 mt-2 max-h-[calc(100dvh-5rem)] overflow-y-auto rounded-2xl bg-white p-3 shadow-2xl ring-1 ring-black/5 dark:bg-gray-900 dark:ring-white/10 sm:absolute sm:left-auto sm:right-0 sm:top-auto sm:max-h-96 sm:w-80 sm:p-4",children:b.jsx(G9,{})})]}),b.jsxs("div",{className:"relative",ref:Y,children:[b.jsxs(Fr,{variant:"ghost",size:"icon",className:kt("relative h-9 w-9 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 sm:h-10 sm:w-10",N&&"bg-primary-50 text-primary-700 ring-primary-300 dark:bg-primary-900/30 dark:text-primary-300 dark:ring-primary-700/60"),"aria-label":n("header.notifications"),onClick:()=>j(Ze=>{const pr=!Ze;return pr&&U(),pr}),children:[b.jsx(M8,{className:kt("h-4 w-4 transition-colors",N&&"fill-primary-100 text-primary-700 dark:fill-primary-900/40 dark:text-primary-300")}),W>0&&b.jsx("span",{className:"absolute -right-1.5 -top-1.5 min-w-[18px] rounded-full bg-red-500 px-1.5 py-0.5 text-center text-[10px] font-bold text-white shadow",children:W>99?"99+":W})]}),N&&b.jsx("div",{className:"fixed left-3 right-3 top-16 z-50 mt-2 max-h-[calc(100dvh-5rem)] overflow-hidden rounded-2xl bg-white shadow-2xl ring-1 ring-black/5 dark:bg-gray-900 dark:ring-white/10 sm:absolute sm:left-auto sm:right-0 sm:top-auto sm:w-[24rem]",children:b.jsx($9,{})})]}),b.jsxs("div",{className:"relative",ref:ne,children:[b.jsxs(Fr,{variant:"ghost",size:"icon",className:"relative h-9 w-9 rounded-xl bg-white/90 text-gray-600 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary/10 hover:text-primary hover:ring-primary/30 dark:bg-gray-800/90 dark:text-gray-300 dark:ring-white/10 dark:hover:bg-primary/20 dark:hover:text-primary-300 dark:hover:ring-primary/40 sm:h-10 sm:w-10","aria-label":"Reminders",onClick:()=>O(Ze=>!Ze),children:[b.jsx(vg,{className:"h-4 w-4"}),K>0&&b.jsx("span",{className:"absolute -right-1.5 -top-1.5 min-w-[18px] rounded-full bg-primary px-1.5 py-0.5 text-center text-[10px] font-bold text-primary-foreground shadow",children:K>99?"99+":K})]}),M&&b.jsx("div",{className:"fixed left-3 right-3 top-16 z-50 mt-2 max-h-[calc(100dvh-5rem)] overflow-hidden rounded-2xl bg-white shadow-2xl ring-1 ring-black/5 dark:bg-gray-900 dark:ring-white/10 sm:absolute sm:left-auto sm:right-0 sm:top-auto sm:w-[24rem]",children:b.jsx(z9,{})})]}),b.jsxs(Oh,{children:[b.jsx(_h,{asChild:!0,children:b.jsxs(Fr,{variant:"ghost",size:"sm",className:"h-9 w-9 justify-center rounded-xl bg-white/90 px-0 text-xs font-semibold text-gray-700 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:bg-primary-50 hover:text-primary-700 hover:ring-primary-200 dark:bg-gray-800/90 dark:text-gray-200 dark:ring-white/10 dark:hover:bg-primary-900/20 dark:hover:text-primary-300 dark:hover:ring-primary-700/40 sm:h-10 sm:w-auto sm:gap-2 sm:px-3",children:[b.jsx(uD,{className:"h-4 w-4 text-primary-500"}),b.jsx("span",{className:"hidden md:inline",children:lx(d,n)}),b.jsx("span",{className:"hidden sm:inline md:hidden",children:cx(d,n)}),b.jsx(zb,{className:"hidden h-3.5 w-3.5 text-gray-400 sm:block"})]})}),b.jsx(Mh,{className:"w-52 rounded-xl bg-white p-2 shadow-xl ring-1 ring-black/5 dark:bg-gray-900 dark:ring-white/10",align:"end",forceMount:!0,children:X9?.map(Ze=>b.jsxs(Ur,{onClick:()=>z(Ze.value),className:kt("flex cursor-pointer items-center justify-between rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/30",d===Ze.value&&"bg-primary-100 text-primary-800 dark:bg-primary-800/50 dark:text-white"),children:[b.jsxs("div",{className:"flex items-center gap-2",children:[b.jsx("span",{className:"inline-flex h-6 w-6 items-center justify-center rounded-md bg-gray-100 text-[11px] font-bold text-gray-600 dark:bg-gray-700 dark:text-gray-200",children:cx(Ze.value,n)}),b.jsx("span",{children:lx(Ze.value,n)})]}),d===Ze.value&&b.jsx(yg,{className:"h-4 w-4 text-primary-600 dark:text-primary-400"})]},Ze.value))})]}),b.jsxs(Oh,{children:[b.jsx(_h,{asChild:!0,children:b.jsxs(Fr,{variant:"ghost",className:"group h-9 w-9 items-center justify-center rounded-xl bg-gradient-to-r from-white to-primary-50/80 p-0 text-gray-700 shadow-sm ring-1 ring-inset ring-black/5 transition-colors hover:from-primary-50 hover:to-primary-100 hover:ring-primary-200 dark:from-gray-900 dark:to-gray-800 dark:text-gray-200 dark:ring-white/10 dark:hover:from-gray-800 dark:hover:to-primary-900/20 dark:hover:ring-primary-700/40 sm:h-10 sm:w-auto sm:max-w-[170px] sm:justify-start sm:gap-2 sm:rounded-2xl sm:px-1.5 sm:pr-2 md:max-w-[200px]","aria-label":n("header.userMenu"),children:[b.jsx("div",{className:`\r
|
||
flex h-8 w-8 sm:h-9 sm:w-9\r
|
||
items-center justify-center\r
|
||
rounded-full\r
|
||
bg-gradient-to-br\r
|
||
from-primary-500 via-primary-500 to-primary-600\r
|
||
text-[11px] sm:text-sm\r
|
||
font-semibold\r
|
||
text-white\r
|
||
shadow-sm\r
|
||
ring-2 ring-white dark:ring-gray-900\r
|
||
shrink-0\r
|
||
`,children:m.toUpperCase()}),b.jsxs("div",{className:"hidden min-w-0 flex-col items-start text-left lg:flex",children:[b.jsx("span",{className:"max-w-[118px] truncate text-xs font-semibold leading-none",children:f}),b.jsx("span",{className:"max-w-[118px] truncate pt-1 text-[10px] font-medium leading-none text-gray-500 dark:text-gray-400",children:v})]}),b.jsx(zb,{className:"hidden h-4 w-4 text-gray-400 transition group-hover:text-primary-600 dark:group-hover:text-primary-300 sm:block"})]})}),b.jsxs(Mh,{className:"w-64 rounded-xl bg-white p-2 shadow-xl ring-1 ring-black/5 dark:bg-gray-900 dark:ring-white/10",align:"end",children:[b.jsxs("div",{className:"mb-1 rounded-lg bg-gradient-to-r from-primary-500 to-primary-600 p-3 text-white",children:[b.jsx("p",{className:"truncate text-sm font-semibold",children:f}),b.jsx("p",{className:"truncate pt-1 text-xs text-white/90",children:v})]}),b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/20",onClick:()=>a("/profile"),children:[b.jsx(Hb,{className:"mr-2.5 h-4 w-4 text-primary-600 dark:text-primary-400"}),b.jsx("span",{children:n("header.viewProfile")})]}),b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/20",onClick:()=>a("/update-profile"),children:[b.jsx(_D,{className:"mr-2.5 h-4 w-4 text-primary-600 dark:text-primary-400"}),b.jsx("span",{children:n("header.editProfile")})]}),b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/20",onClick:()=>a("/change-password"),children:[b.jsx(lD,{className:"mr-2.5 h-4 w-4 text-primary-600 dark:text-primary-400"}),b.jsx("span",{children:n("header.changePassword")})]}),t&&b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/20",onClick:()=>a("/record-management/dashboard"),children:[b.jsx(El,{className:"mr-2.5 h-4 w-4 text-primary-600 dark:text-primary-400"}),b.jsx("span",{children:n("nav.Record Management")})]}),r&&b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-gray-700 transition-colors hover:bg-primary-50 dark:text-gray-200 dark:hover:bg-primary-900/20",onClick:()=>a("/user-management"),children:[b.jsx(Ym,{className:"mr-2.5 h-4 w-4 text-primary-600 dark:text-primary-400"}),b.jsx("span",{children:n("dashboard.userManagement","User Management")})]}),b.jsx(E8,{className:"my-1 h-px bg-gray-200 dark:bg-gray-700"}),b.jsxs(Ur,{className:"flex cursor-pointer items-center rounded-lg px-3 py-2.5 text-sm text-red-600 transition-colors hover:bg-red-50 dark:hover:bg-red-950/30",onClick:R,children:[b.jsx(hD,{className:"mr-2.5 h-4 w-4"}),b.jsx("span",{children:n("header.signOut")})]})]})]})]})]})})})};function eV(){var t;const e=(t=Dd().layout)==null?void 0:t.userManagementView;return e==="classic"||e==="legacy"?e:"classic"}const tV="var(--um-header-height, 4rem)",rV=()=>{const{pathname:e}=lr(),t=e==="/",{toggleSidebar:r}=NE(),n=wk(),i=eV()==="classic";if(t)return b.jsx("div",{className:"min-h-screen w-full bg-gray-50",children:b.jsx(Hm,{})});const a=b.jsx("div",{className:"mx-auto w-full",style:{maxWidth:"var(--um-content-max-width, none)"},children:b.jsx("div",{className:"w-full overflow-x-auto",children:b.jsx(Hm,{})})});return i?b.jsxs("div",{className:"flex h-screen w-full flex-col overflow-hidden bg-background text-foreground",children:[n&&b.jsx(ux,{onToggleSidebar:r}),b.jsxs("div",{className:"flex min-h-0 w-full flex-1",children:[b.jsx(G4,{topOffset:n?tV:"0px",showBrand:!n}),b.jsxs("main",{className:"flex min-w-0 flex-1 flex-col overflow-hidden",children:[!n&&b.jsx("div",{className:"flex flex-shrink-0 items-center gap-2 border-b bg-white px-3 py-2 dark:bg-gray-900 md:hidden",children:b.jsx("button",{type:"button",onClick:r,"aria-label":"Open menu",className:"rounded-lg p-2 text-slate-700 hover:bg-slate-100 dark:text-gray-200 dark:hover:bg-gray-800",children:b.jsx(yD,{className:"h-5 w-5"})})}),b.jsx("div",{className:"flex-1 overflow-y-auto px-2 pb-2 pt-2 sm:px-4 sm:pb-4 sm:pt-4",children:a})]})]})]}):b.jsxs("div",{className:"w-full flex flex-col min-h-screen bg-background text-foreground",children:[n&&b.jsx(ux,{onToggleSidebar:r}),b.jsx(CI,{}),b.jsx("div",{className:`px-2 pb-2 sm:px-4 sm:pb-4 flex-1 ${n?"pt-14 sm:pt-16":"pt-2 sm:pt-4"}`,children:a})]})},Sk=g.createContext(null),nV=({children:e})=>{const{userDetails:t}=Ny();return b.jsx(Sk.Provider,{value:t,children:e})},oV=()=>g.useContext(Sk),xk=g.createContext({permissions:[]}),iV=({permissions:e,children:t})=>{const r=g.useMemo(()=>e==null?void 0:e?.map(n=>n.key),[e]);return b.jsx(xk.Provider,{value:{permissions:r||[],permissionObjects:e},children:t})},R7=()=>g.useContext(xk);function sV(e){return Array.isArray(e==null?void 0:e.roles)?e.roles?.map(t=>typeof t=="string"?t:t==null?void 0:t.key).filter(t=>!!t):[]}function Ck(e){const t=sV(e);return t.includes("super_admin")?"/user-management/dashboard":t.includes("admin")||t.includes("unit_admin")?"/user-management/user_management-dashboard":(e==null?void 0:e.userType)==="external_organization"||(e==null?void 0:e.userType)==="individual"?"/external-portal":"/user-management/user_management-dashboard"}const dx=({allowedRoles:e,allowedUserTypes:t})=>{const r=Xe.get("auth-token"),{user:n,loading:i}=ba(),a=lr();if(i)return b.jsx("div",{className:"flex items-center justify-center h-screen",children:b.jsx("div",{className:"w-10 h-10 border-4 border-primary border-t-transparent rounded-full animate-spin"})});if(!r||!n)return b.jsx(mo,{to:"/login",replace:!0});const l=n.roles?.map(f=>f.key),c=!e||l?.some(f=>e.includes(f)),d=!t||t.includes(n.userType);if(!c||!d){const f=Ck(n);return a.pathname!==f?b.jsx(mo,{to:f,replace:!0}):b.jsx(mo,{to:"/login",replace:!0})}return b.jsx(Hm,{})};function Rk({label:e="Loading",className:t}){return b.jsxs("div",{className:kt("min-h-screen flex flex-col items-center justify-center gap-5 bg-gradient-to-br from-primary-50 via-white to-primary-50 dark:from-slate-950 dark:via-slate-900 dark:to-primary-950/40",t),role:"status","aria-live":"polite","aria-label":e,children:[b.jsxs("div",{className:"relative h-20 w-20",children:[b.jsx("span",{className:"absolute inset-0 rounded-full border-4 border-primary-100 dark:border-primary-950/80"}),b.jsx("span",{className:"absolute inset-0 rounded-full border-4 border-transparent border-t-primary-600 border-r-primary-500 dark:border-t-primary-400 dark:border-r-primary-500 animate-spin"}),b.jsx("span",{className:"absolute inset-3 rounded-full border-4 border-transparent border-b-primary-500 border-l-primary-400 dark:border-b-primary-300 dark:border-l-primary-400 animate-spin",style:{animationDirection:"reverse",animationDuration:"1.2s"}}),b.jsx("span",{className:"absolute inset-[1.65rem] rounded-full bg-primary-500/85 dark:bg-primary-400/90 shadow-[0_0_24px_rgba(34,197,94,0.45)] dark:shadow-[0_0_30px_rgba(16,185,129,0.7)] animate-pulse"})]}),b.jsx("p",{className:"text-sm font-semibold tracking-wide text-primary-700 dark:text-primary-300",children:e})]})}const aV=()=>{const{user:e,loading:t}=ba();if(t)return b.jsx(Rk,{label:"Loading SmartOffice..."});if(!e)return b.jsx(mo,{to:"/login",replace:!0});const r=gN(e.id);return r?b.jsx(mo,{to:r,replace:!0}):b.jsx(mo,{to:Ck(e),replace:!0})},lV=()=>{const{user:e}=ba(),t=(e==null?void 0:e.roles?.map(r=>r.key))||[];return t.includes("super_admin")?b.jsx(mo,{to:"/user-management/dashboard",replace:!0}):t.includes("admin")||t.includes("unit_admin")?b.jsx(mo,{to:"/user-management/user_management-dashboard",replace:!0}):b.jsx(mo,{to:"/",replace:!0})},cV=g.lazy(()=>Ke(()=>import("./LoginPage-CpY519LO.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.LoginPage}))),uV=g.lazy(()=>Ke(()=>import("./ForgotPassword-CyFdgyUu.js"),__vite__mapDeps([10,2,5,8,9,11,4]))),dV=g.lazy(()=>Ke(()=>import("./ResetPassword-DeJuLwFx.js"),__vite__mapDeps([12,5,7,6,11,4]))),fV=g.lazy(()=>Ke(()=>import("./SetPassword-bCvH9rTk.js"),__vite__mapDeps([13,5,7,6,11,4,9]))),pV=g.lazy(()=>Ke(()=>import("./ChangePassword-DnAAu07A.js"),__vite__mapDeps([14,5,7,6,11,4]))),mV=g.lazy(()=>Ke(()=>import("./OrgAdminDashboard-DhPmvSML.js"),__vite__mapDeps([15,3,16,17,18,19,20,21,22,23,24,25,26,27,5,6,28,29,1,30,31,32,33,34,35,36,37,38,39,40,41,11,7,42,43,44]))),hV=g.lazy(()=>Ke(()=>import("./UserManagementPage-DR2Y3pv2.js"),__vite__mapDeps([45,46,1,47,48,49,50,51,52,53,23,24,54,9,11,8,44,55,6,35,56,57,58,34,59,60,17,61,62,2,63,64,65,66,67,29,68,69,39,32,37,38,41,70,31,20,71]))),gV=g.lazy(()=>Ke(()=>import("./ContentManagementPage-CLduruyz.js"),__vite__mapDeps([72,3,35,73,49,22,1,74,75,2,19,20,63,6,28,68,76,53,61,62,77,78,79,80,30,31,32,81,34,56,57,82,23,44,83,47,11,84,85,25,26,86,87,4,88]))),yV=g.lazy(()=>Ke(()=>import("./BulkUploadPage-DwoaDuCZ.js"),__vite__mapDeps([89,66,65,18,61,62,1,44]))),vV=g.lazy(()=>Ke(()=>import("./WebManagementPage-eEhih19q.js"),__vite__mapDeps([90,6,28,83,22,1,68,47,23,81,34,30,31,32,80,11,73,74,35,91,86,77,78,92]))),bV=g.lazy(()=>Ke(()=>import("./ConfigurationPage-tOdQq5-t.js"),__vite__mapDeps([93,1,61,62,76,22,56,57,3,94,69,39,32,85,74,35,23,18,63,84,44,49,92,9,28,95]))),wV=g.lazy(()=>Ke(()=>import("./ArchiveUsersPage-B2jF61Wl.js"),__vite__mapDeps([96,3,1,83,22,68,47,23,81,34,30,31,32,80,11,97,17,63,50,51,55,28,52,61,62]))),SV=g.lazy(()=>Ke(()=>import("./ArchivedUnitsPositionsPage-m1hNEzal.js"),__vite__mapDeps([98,3,1,83,22,68,47,23,81,34,30,31,32,80,11,61,62,67,57,17,99]))),fx=g.lazy(()=>Ke(()=>import("./UserProfileEditPage-CR2hIt1q.js"),__vite__mapDeps([100,23,101,51,54,68,9,8,11,102]))),xV=g.lazy(()=>Ke(()=>import("./index-GOIG67wS.js"),__vite__mapDeps([103,83,22,1,68,47,23,81,34,30,31,32,80,11,3,58,63,77,78,35,94,69,39,55,28,6,25,26,61,62,49]))),CV=g.lazy(()=>Ke(()=>import("./create-CKkKJa2c.js"),__vite__mapDeps([104,74,84,85,35,58,105,40,41,38,39,32,34,61,62,1,82,30,31,81,60,17,3]))),RV=g.lazy(()=>Ke(()=>import("./edit-C8FjiyEI.js"),__vite__mapDeps([106,3,35,1,61,62,105,40,41,38,39,32,85,74,34,58]))),EV=g.lazy(()=>Ke(()=>import("./MigratedDataManagementPage--fzsv4lI.js"),__vite__mapDeps([107,83,22,1,68,47,23,81,34,30,31,32,80,11,3,101,48,6,78,108,85,74,35,79,82]))),kV=g.lazy(()=>Ke(()=>import("./ViewMigratedDataPage-BKcu67Dm.js"),__vite__mapDeps([109,73,3,11,29]))),PV=g.lazy(()=>Ke(()=>import("./DashboardPage-Ci5_Ntjr.js"),__vite__mapDeps([110,3,22,23,111,26,33,47,60,17,21,24,25,27,5,6,28,29,1,30,31,32,34,35,36,37,38,39,40,41,11,7,42,44,49]))),AV=g.lazy(()=>Ke(()=>import("./OrganizationsPage-Cai8R-Dj.js"),__vite__mapDeps([112,60,17,83,22,1,68,47,23,81,34,30,31,32,80,11,63,64,61,62,36,37,38,39,67,57,48,6,28,113,114,46,8,94,69,25,26,43,3,87,49]))),TV=g.lazy(()=>Ke(()=>import("./OrganizationDetailPage-C-bRL7xT.js"),__vite__mapDeps([115,23,3,80,60,17,116,88,95]))),NV=g.lazy(()=>Ke(()=>import("./NewOrganizationPage-C0u3U4kS.js"),__vite__mapDeps([117,60,17,118,1,3,35,116,74,84,94,69,39,32]))),DV=g.lazy(()=>Ke(()=>import("./EditOrganizationPage-C2QJGrYB.js"),__vite__mapDeps([119,60,17,118,1,3,35,116,74,84,94,69,39,32]))),OV=g.lazy(()=>Ke(()=>import("./PendingExternalUsers-DTQ4H5AP.js"),__vite__mapDeps([120,83,22,1,68,47,23,81,34,30,31,32,80,11,3,101,63,25,26,36,37,38,39,35]))),_V=g.lazy(()=>Ke(()=>import("./UploadedDocumentViewPage-lpdNqwqn.js"),__vite__mapDeps([121,65,17,101,3,122,19,20,18,1,91,16,11,88,9,8]))),MV=g.lazy(()=>Ke(()=>import("./OrganizationAdminsPage-BvY4PVex.js"),__vite__mapDeps([123,3,83,22,1,68,47,23,81,34,30,31,32,80,11,113,114,46,63,61,62,8,6,60,17,35,122,59,52,49]))),jV=g.lazy(()=>Ke(()=>import("./AdminRegistrationPage-DvAhYHqv.js"),__vite__mapDeps([124,74,84,60,17,3,1,35,114,61,62]))),LV=g.lazy(()=>Ke(()=>import("./ActivityLogPage-CaXVQavd.js"),__vite__mapDeps([125,3,22,1,111,26,33,29,34]))),FV=g.lazy(()=>Ke(()=>import("./SettingsPage-DLv7kKUv.js"),__vite__mapDeps([126,3,38,70,32,91,94,69,39,1,35,16,17,27,102]))),IV=g.lazy(()=>Ke(()=>import("./SuperAdminArchiveUsersPage-DOLQicng.js"),__vite__mapDeps([127,83,22,1,68,47,23,81,34,30,31,32,80,11,3,97,17,63,50,51,55,28,52,78,108,85,74,35,79,82]))),UV=g.lazy(()=>Ke(()=>import("./SuperAdminArchivedPage-BdhC08Eo.js"),__vite__mapDeps([128,3,1,83,22,68,47,23,81,34,30,31,32,80,11,60,17,67,62,57,99]))),$V=g.lazy(()=>Ke(()=>import("./templates-BkP239QJ.js"),__vite__mapDeps([129,3,22,74,75,2,1,19,20,63,49,6,28]))),zV=()=>b.jsx("div",{className:"flex items-center justify-center h-screen",children:b.jsx("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-gray-900"})});function BV(){const{user:e}=ba(),t=oV(),r=(t==null?void 0:t.id)||"",n=lr();return g.useEffect(()=>{localStorage.getItem("darkMode")==="true"?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},[]),g.useEffect(()=>{const i=n.pathname+n.search;hN(i,r),typeof window<"u"&&window.parent&&window.parent!==window&&window.parent.postMessage({type:"UM_ROUTE_CHANGED",path:i},"*")},[n.pathname,n.search]),b.jsx(I9,{userId:r,children:b.jsx(RN,{children:b.jsx(iV,{permissions:e==null?void 0:e.permissions,children:b.jsx(g.Suspense,{fallback:b.jsx(zV,{}),children:b.jsxs(Mb,{children:[b.jsx(Le,{path:"/",element:b.jsx(aV,{})}),b.jsx(Le,{path:"/login",element:b.jsx(cV,{})}),b.jsx(Le,{path:"/set-password",element:b.jsx(fV,{})}),b.jsx(Le,{path:"/forgot-password",element:b.jsx(uV,{})}),b.jsx(Le,{path:"/reset-password",element:b.jsx(dV,{})}),b.jsx(Le,{path:"/change-password",element:b.jsx(pV,{})}),b.jsx(Le,{path:"/*",element:b.jsx(V4,{children:b.jsx(Mb,{children:b.jsxs(Le,{element:b.jsx(rV,{}),children:[b.jsx(Le,{path:"user-management",element:b.jsx("div",{className:"w-full flex flex-col p-4",children:b.jsx(lV,{})})}),b.jsx(Le,{path:"/user-management/archive/edit/:id",element:b.jsx(fx,{})}),b.jsx(Le,{path:"user-management/position-management",element:b.jsx(xV,{})}),b.jsx(Le,{path:"user-management/position-management/new",element:b.jsx(CV,{})}),b.jsx(Le,{path:"user-management/position-management/edit/:id",element:b.jsx(RV,{})}),b.jsx(Le,{path:"user-management/migrated-records-management",element:b.jsx(EV,{})}),b.jsx(Le,{path:"user-management/migrated-records-management/view/:id",element:b.jsx(kV,{})}),b.jsxs(Le,{element:b.jsx(dx,{allowedRoles:["admin","unit_admin","super_admin"]}),children:[b.jsx(Le,{path:"user-management/user_management-dashboard",element:b.jsx(mV,{})}),b.jsx(Le,{path:"user-management/user_management",element:b.jsx(hV,{})}),b.jsx(Le,{path:"user-management/content-management",element:b.jsx(gV,{})}),b.jsx(Le,{path:"user-management/bulk-upload",element:b.jsx(yV,{})}),b.jsx(Le,{path:"user-management/web-management/*",element:b.jsx(vV,{})}),b.jsx(Le,{path:"user-management/archives",element:b.jsx(wV,{})}),b.jsx(Le,{path:"user-management/archived",element:b.jsx(SV,{})}),b.jsx(Le,{path:"user-management/organization-settings",element:b.jsx(bV,{})})]}),b.jsxs(Le,{element:b.jsx(dx,{allowedRoles:["super_admin"]}),children:[b.jsx(Le,{path:"user-management/dashboard",element:b.jsx(PV,{})}),b.jsx(Le,{path:"user-management/organizations",element:b.jsx(AV,{})}),b.jsx(Le,{path:"user-management/organizations/detail/:id",element:b.jsx(TV,{})}),b.jsx(Le,{path:"user-management/organizations/new",element:b.jsx(NV,{})}),b.jsx(Le,{path:"user-management/organizations/edit/:id",element:b.jsx(DV,{})}),b.jsx(Le,{path:"user-management/external_users",element:b.jsx(OV,{})}),b.jsx(Le,{path:"user-management/external_users/view/:id",element:b.jsx(_V,{})}),b.jsx(Le,{path:"user-management/external_users/edit/:id",element:b.jsx(fx,{})}),b.jsx(Le,{path:"user-management/organization_admins",element:b.jsx(MV,{})}),b.jsx(Le,{path:"user-management/add_admin",element:b.jsx(jV,{})}),b.jsx(Le,{path:"user-management/activity_log",element:b.jsx(LV,{})}),b.jsx(Le,{path:"user-management/settings",element:b.jsx(FV,{})}),b.jsx(Le,{path:"user-management/archive-users",element:b.jsx(IV,{})}),b.jsx(Le,{path:"user-management/archived-organizations",element:b.jsx(UV,{})}),b.jsx(Le,{path:"user-management/templates",element:b.jsx($V,{})})]})]})})})})]})})})})})}const qV={appName:"Smart Office",organizationName:"Smart Office",logo:"",primaryColor:"#18aa9d",secondaryColor:"#1e293b",footerText:"",footerData:{address:"",phone:"",email:""},socials:{facebook:"",twitter:"",linkedin:"",instagram:"",youtube:"",telegram:"",tiktok:"",website:""},welcomeMessage:""},VV={localhost:{appName:"Smart Office EIAR",organizationName:"Ethiopian Biodiversity Institute - EBI",logo:"/assets/eiarLogo.jpg",primaryColor:"#388e4b",secondaryColor:"#fff",footerText:"The Ethiopian Institute of Agricultural Research (EIAR) is one of the oldest and largest agricultural research institutes in Africa. EIAR has evolved through several stages since its first initiation during the late 1940s, following the establishment of agricultural and technical schools at Ambo and Jimma. In 1955, a full-fledged agricultural experiment station was established at Debre Zeit (now named Debre Zeit Agricultural Research Center) under the then Imperial College of Agricultural and mechanical Arts (now called Haramaya University) and had been continued as the major research entity until the mid-1960s. In 1966, Institute of Agricultural Research (IAR) was established as the first nationally coordinated agricultural research institute in Ethiopia. IAR was established with a mission to formulate national agricultural research guidelines, coordinate national agricultural research system, and undertake research in its centers and sub-centers located in various agro-ecological zones of Ethiopia.",footerData:{address:"Addis Ababa, Ethiopia",phone:"251-116-454441",email:"eiar.gov.et"},socials:{facebook:"https://web.facebook.com/EIARPR",website:"http://www.eiar.gov.et",twitter:"http://www.eiar.gov.et",linkedin:"http://www.eiar.gov.et",instagram:"http://www.eiar.gov.et",youtube:"http://www.eiar.gov.et",telegram:"http://www.eiar.gov.et",tiktok:"http://www.eiar.gov.et"},welcomeMessage:"welcome you to the SmartOffice of the Ethiopian Institute of Agricultural Research. The Institute, since its establishment in 1966, has released over more 3000 agricultural technologies and improved farming practices by undertaking scientific research activities on various areas in crop, livestock, land and water, biotechnology, climate, farm machinery and agricultural economics. Of these technologies, 1190 are crop varieties and the rest include livestock breeds, pest and disease control methods, crop production and livestock husbandry methods, pre- and post-harvest technologies and recommendations. EIAR, in the five decades of its existence, has reached a large number of beneficiaries with its technologies and information found in different agro-ecologies throughout the country. The Institute has engaged itself in multiplication of initial technologies based on the demand created by the beneficiaries and supply to public and private technology multiplication actors for their wider reproduction and distribution."},"127.0.0.1":{appName:"Smart Office EDR",organizationName:"Ethio-Djibouti Railways",logo:"/assets/edrlogo.png",primaryColor:"#DC143C",secondaryColor:"#0f5a3a",footerText:"The Ethio-Djibouti Railway was established in April 2017 following a bilateral agreement signed on December 16, 2016, between Ethiopia and Djibouti.",footerData:{address:"Addis Ababa, Ethiopia",phone:"9546",email:"edr_@edrsc.com"},socials:{facebook:"",twitter:"",linkedin:"",instagram:"",youtube:"",telegram:"",tiktok:"",website:"https://edrsc.com/"},welcomeMessage:`The Ethio-Djibouti Railway was established in April 2017 following a bilateral agreement signed on December 16, 2016, between Ethiopia and Djibouti. A Shareholders Agreement was signed on January 11, 2017, among public bodies and state enterprises from both nations, governed by Ethiopian commercial law.
|
||
|
||
The shareholders formed a Share Company with an initial capital of USD 500 million, dedicated to operating and maintaining the Addis Ababa–Djibouti Railway and providing freight and passenger transport services.`},"smartoffice.edrsc.com":{appName:"Smart Office EDR",organizationName:"Ethio-Djibouti Railways",logo:"/assets/edrlogo.png",primaryColor:"#13724D",secondaryColor:"#0f5a3a",footerText:"The Ethio-Djibouti Railway was established in April 2017 following a bilateral agreement signed on December 16, 2016, between Ethiopia and Djibouti.",footerData:{address:"Addis Ababa, Ethiopia",phone:"9546",email:"edr_@edrsc.com"},socials:{facebook:"https://web.facebook.com/ethiodjiboutirailwaysc",twitter:"https://edrsc.com/",linkedin:"https://edrsc.com/",instagram:"https://edrsc.com/",youtube:"https://edrsc.com/",telegram:"",tiktok:"",website:"https://edrsc.com/"},welcomeMessage:`The Ethio-Djibouti Railway was established in April 2017 following a bilateral agreement signed on December 16, 2016, between Ethiopia and Djibouti. A Shareholders Agreement was signed on January 11, 2017, among public bodies and state enterprises from both nations, governed by Ethiopian commercial law.
|
||
|
||
The shareholders formed a Share Company with an initial capital of USD 500 million, dedicated to operating and maintaining the Addis Ababa–Djibouti Railway and providing freight and passenger transport services.`},"smartoffice.eiar.gov.et":{appName:"Smart Office EIAR",organizationName:"Ethiopian Institute of Agricultural Research",logo:"/assets/eiarLogo.jpg",primaryColor:"#388e4b",secondaryColor:"#fff",footerText:"The Ethiopian Institute of Agricultural Research (EIAR) is one of the oldest and largest agricultural research institutes in Africa. EIAR has evolved through several stages since its first initiation during the late 1940s, following the establishment of agricultural and technical schools at Ambo and Jimma. In 1955, a full-fledged agricultural experiment station was established at Debre Zeit (now named Debre Zeit Agricultural Research Center) under the then Imperial College of Agricultural and mechanical Arts (now called Haramaya University) and had been continued as the major research entity until the mid-1960s. In 1966, Institute of Agricultural Research (IAR) was established as the first nationally coordinated agricultural research institute in Ethiopia. IAR was established with a mission to formulate national agricultural research guidelines, coordinate national agricultural research system, and undertake research in its centers and sub-centers located in various agro-ecological zones of Ethiopia.",footerData:{address:"Addis Ababa, Ethiopia",phone:"+251-116-454441",email:"eiar.gov.et"},socials:{facebook:"https://web.facebook.com/EIARPR",website:"http://www.eiar.gov.et",twitter:"http://www.eiar.gov.et",linkedin:"http://www.eiar.gov.et",instagram:"http://www.eiar.gov.et",youtube:"http://www.eiar.gov.et"},welcomeMessage:"welcome you to the SmartOffice of the Ethiopian Institute of Agricultural Research. The Institute, since its establishment in 1966, has released over more 3000 agricultural technologies and improved farming practices by undertaking scientific research activities on various areas in crop, livestock, land and water, biotechnology, climate, farm machinery and agricultural economics. Of these technologies, 1190 are crop varieties and the rest include livestock breeds, pest and disease control methods, crop production and livestock husbandry methods, pre- and post-harvest technologies and recommendations. EIAR, in the five decades of its existence, has reached a large number of beneficiaries with its technologies and information found in different agro-ecologies throughout the country. The Institute has engaged itself in multiplication of initial technologies based on the demand created by the beneficiaries and supply to public and private technology multiplication actors for their wider reproduction and distribution."},"smartoffice.ebi.gov.et":{appName:"EBI Smart Office",organizationName:"Ethiopian Biodiversity Institute - EBI",logo:"/assets/ebiLogoWhite.png",primaryColor:"#2a741d",secondaryColor:"#2c246d",footerText:"Welcome to the Center of Origin & Diversity, Ethiopia",footerData:{address:"Addis Ababa, Ethiopia",phone:"+251-116-615607",email:" info@ebi.gov.et"},socials:{facebook:"https://www.facebook.com/EthiopiaEBI",twitter:"https://x.com/EthiopiaEBI",linkedin:"https://www.linkedin.com/company/EthiopiaEBI",youtube:"https://www.youtube.com/@EthiopiaEBI",instagram:"https://www.youtube.com/@EthiopiaEBI",website:"https://ebi.gov.et",telegram:"https://t.me/EthiopiaEBI",tiktok:"https://www.tiktok.com/@ethiopiaebi"},welcomeMessage:"Ethiopia is recognized as one of the world’s most biodiverse nations. Our rugged highlands, vast lowlands, and the rift valley lakes hold the genetic codes of the wild relatives of our staple food, and the endemic wildlife that defines our national identity. The Ethiopian Biodiversity Institute - EBI bears the profound responsibility of being the steward of these natural assets since its establishment in the 1970s."},"smartoffice.moa.gov.et":{appName:"Smart Office EFD",organizationName:"Ethiopian Forest Development",logo:"/assets/efdlogo.jpg",primaryColor:"#006400",secondaryColor:"#a52a2a",footerText:"Ethiopian Forestry Development (EFD) is an autonomous federal institution, established by Proclamation No. 1263/2021 on 25th January, as referred on article 81-No. 8 and by the federal government of Ethiopia council of ministers regulation No. 505/2022. EFD was resulted by merging the former research institute (The Ethiopian Environment and Forest Research Institute (EEFRI) together with the forestry sector from the then (Environment, Forest and climate change commission) having the following powers and duties.",footerData:{address:"Addis Ababa, Ethiopia",phone:"9546",email:"dg-office@efd.gov.et"},socials:{facebook:"https://web.facebook.com/Ethiopian-Forestry-Development-EFD-100064767336706/?_rdc=1&_rdr#",twitter:"Ethiopian Forestry Development@EthiopianFores1",youtube:"https://www.youtube.com/@infoefd",website:"https://www.efd.gov.et"},welcomeMessage:"Organized forestry research in Ethiopia was started by the establishment of Forestry Research Centre (FRC) and the then Wood Utilization Research Centre (WUARC) in 1975 and 1979, respectively under the Forestry and Wildlife Conservation Development Authority (FaWCDA). The centres were incorporated to the then Ministry of Natural Resources Development and Environmental Protection in 1992 and again re-transferred to the Ministry of Agriculture in 1995. The Federal Government of Ethiopia reorganized the National Agricultural Research System and established the then Ethiopian Agricultural Research Organization (EARO) in 1997 (Negarit Gazeta, 1997). As a result, FRC and WUARC were transferred to EARO as one research centre (FRC) and one of the research sectors of EARO (now Ethiopian Institute of Agricultural Research (EIAR)). Then, the Government of Ethiopia found it necessary to give due attention to activities of environmental protection and forest development, protection and utilization by linking forestry research with environmental protection research at an institutional level for the attainment of the objectives of the Government that resulted in the establishment of the Ministry of Environment, Forest and Climate Change."}},Ek=(e=typeof window<"u"?window.location.hostname:"localhost")=>{const t=e==null?void 0:e.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/\/.*$/,"").replace(/:\d+$/,"");return VV[t]||qV},kk=e=>{var i,a,l,c,d;if(typeof document>"u")return;const t=document.documentElement,r=Dd(),n=((i=r.colors)==null?void 0:i.primary)||((a=e.primaryColor)==null?void 0:a.trim())||"var(--primary-default, #18aa9d)";if(t.style.setProperty("--primary",n),t.style.setProperty("--ring",n),t.style.setProperty("--sidebar-primary",n),t.style.setProperty("--accent",n),t.style.setProperty("--chart-1",n),!((l=r.brand)!=null&&l.appName)&&e.organizationName&&(document.title=e.organizationName),!((c=r.brand)!=null&&c.logoUrl)&&!((d=r.brand)!=null&&d.faviconUrl)&&e.logo){let f=document.querySelector('link[rel="icon"]');f||(f=document.createElement("link"),f.rel="icon",document.head.appendChild(f)),f.href=e.logo}};typeof window<"u"&&kk(Ek());const HV=()=>{const e=g.useMemo(()=>window.location.hostname,[]),t=g.useMemo(()=>Ek(e),[e]);return g.useEffect(()=>{kk(t)},[t]),{config:t,hostname:e}},WV=({children:e})=>(HV(),e);function GV(e){let t=e,r=!1;const n=new Set;return{getState(){return t},updateState(i){t=typeof i=="function"?i(t):i},setState(i){this.updateState(i),n.forEach(a=>a(t))},initialize(i){r||(t=i,r=!0)},subscribe(i){return n.add(i),()=>n.delete(i)}}}function KV(e){return g.useSyncExternalStore(e.subscribe,()=>e.getState(),()=>e.getState())}function YV(e,t,r){const n=[],i=[],a={};for(const l of e){const c=l.position||t;a[c]=a[c]||0,a[c]+=1,a[c]<=r?i.push(l):n.push(l)}return{notifications:i,queue:n}}const XV=()=>GV({notifications:[],queue:[],defaultPosition:"bottom-right",limit:5}),us=XV(),QV=(e=us)=>KV(e);function ka(e,t){const r=e.getState(),n=t([...r.notifications,...r.queue]),i=YV(n,r.defaultPosition,r.limit);e.setState({notifications:i.notifications,queue:i.queue,limit:r.limit,defaultPosition:r.defaultPosition})}function JV(e,t=us){const r=e.id||lR();return ka(t,n=>e.id&&n?.some(i=>i.id===e.id)?n:[...n,{...e,id:r}]),r}function Pk(e,t=us){return ka(t,r=>r.filter(n=>{var i;return n.id===e?((i=n.onClose)==null||i.call(n,n),!1):!0})),e}function ZV(e,t=us){return ka(t,r=>r?.map(n=>n.id===e.id?{...n,...e}:n)),e.id}function eH(e=us){ka(e,()=>[])}function tH(e=us){ka(e,t=>t.slice(0,e.getState().limit))}const Pa={show:JV,hide:Pk,update:ZV,clean:eH,cleanQueue:tH,updateState:ka};function rg(e,t){return rg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},rg(e,t)}function Ak(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,rg(e,t)}const px={disabled:!1},vd=le.createContext(null);var rH=function(t){return t.scrollTop},Sl="unmounted",Mi="exited",ji="entering",Hs="entered",ng="exiting",ko=(function(e){Ak(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var l=i,c=l&&!l.isMounting?n.enter:n.appear,d;return a.appearStatus=null,n.in?c?(d=Mi,a.appearStatus=ji):d=Hs:n.unmountOnExit||n.mountOnEnter?d=Sl:d=Mi,a.state={status:d},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var l=i.in;return l&&a.status===Sl?{status:Mi}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var l=this.state.status;this.props.in?l!==ji&&l!==Hs&&(a=ji):(l===ji||l===Hs)&&(a=ng)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,l,c;return a=l=c=i,i!=null&&typeof i!="number"&&(a=i.exit,l=i.enter,c=i.appear!==void 0?i.appear:l),{exit:a,enter:l,appear:c}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===ji){if(this.props.unmountOnExit||this.props.mountOnEnter){var l=this.props.nodeRef?this.props.nodeRef.current:Ws.findDOMNode(this);l&&rH(l)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Mi&&this.setState({status:Sl})},r.performEnter=function(i){var a=this,l=this.props.enter,c=this.context?this.context.isMounting:i,d=this.props.nodeRef?[c]:[Ws.findDOMNode(this),c],f=d[0],h=d[1],m=this.getTimeouts(),w=c?m.appear:m.enter;if(!i&&!l||px.disabled){this.safeSetState({status:Hs},function(){a.props.onEntered(f)});return}this.props.onEnter(f,h),this.safeSetState({status:ji},function(){a.props.onEntering(f,h),a.onTransitionEnd(w,function(){a.safeSetState({status:Hs},function(){a.props.onEntered(f,h)})})})},r.performExit=function(){var i=this,a=this.props.exit,l=this.getTimeouts(),c=this.props.nodeRef?void 0:Ws.findDOMNode(this);if(!a||px.disabled){this.safeSetState({status:Mi},function(){i.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:ng},function(){i.props.onExiting(c),i.onTransitionEnd(l.exit,function(){i.safeSetState({status:Mi},function(){i.props.onExited(c)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,l=!0;return this.nextCallback=function(c){l&&(l=!1,a.nextCallback=null,i(c))},this.nextCallback.cancel=function(){l=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var l=this.props.nodeRef?this.props.nodeRef.current:Ws.findDOMNode(this),c=i==null&&!this.props.addEndListener;if(!l||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var d=this.props.nodeRef?[this.nextCallback]:[l,this.nextCallback],f=d[0],h=d[1];this.props.addEndListener(f,h)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Sl)return null;var a=this.props,l=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var c=EE(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return le.createElement(vd.Provider,{value:null},typeof l=="function"?l(i,c):le.cloneElement(le.Children.only(l),c))},t})(le.Component);ko.contextType=vd;ko.propTypes={};function qs(){}ko.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:qs,onEntering:qs,onEntered:qs,onExit:qs,onExiting:qs,onExited:qs};ko.UNMOUNTED=Sl;ko.EXITED=Mi;ko.ENTERING=ji;ko.ENTERED=Hs;ko.EXITING=ng;function nH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uy(e,t){var r=function(a){return t&&g.isValidElement(a)?t(a):a},n=Object.create(null);return e&&g.Children?.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function oH(e,t){e=e||{},t=t||{};function r(h){return h in t?t[h]:e[h]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var l,c={};for(var d in t){if(n[d])for(l=0;l<n[d].length;l++){var f=n[d][l];c[n[d][l]]=r(f)}c[d]=r(d)}for(l=0;l<i.length;l++)c[i[l]]=r(i[l]);return c}function zi(e,t,r){return r[t]!=null?r[t]:e.props[t]}function iH(e,t){return Uy(e.children,function(r){return g.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:zi(r,"appear",e),enter:zi(r,"enter",e),exit:zi(r,"exit",e)})})}function sH(e,t,r){var n=Uy(e.children),i=oH(t,n);return Object.keys(i).forEach(function(a){var l=i[a];if(g.isValidElement(l)){var c=a in t,d=a in n,f=t[a],h=g.isValidElement(f)&&!f.props.in;d&&(!c||h)?i[a]=g.cloneElement(l,{onExited:r.bind(null,l),in:!0,exit:zi(l,"exit",e),enter:zi(l,"enter",e)}):!d&&c&&!h?i[a]=g.cloneElement(l,{in:!1}):d&&c&&g.isValidElement(f)&&(i[a]=g.cloneElement(l,{onExited:r.bind(null,l),in:f.props.in,exit:zi(l,"exit",e),enter:zi(l,"enter",e)}))}}),i}var aH=Object.values||function(e){return Object.keys(e)?.map(function(t){return e[t]})},lH={component:"div",childFactory:function(t){return t}},ti=(function(e){Ak(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var l=a.handleExited.bind(nH(a));return a.state={contextValue:{isMounting:!0},handleExited:l,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var l=a.children,c=a.handleExited,d=a.firstRender;return{children:d?iH(i,c):sH(i,l,c),firstRender:!1}},r.handleExited=function(i,a){var l=Uy(this.props.children);i.key in l||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(c){var d=kh({},c.children);return delete d[i.key],{children:d}}))},r.render=function(){var i=this.props,a=i.component,l=i.childFactory,c=EE(i,["component","childFactory"]),d=this.state.contextValue,f=aH(this.state.children)?.map(l);return delete c.appear,delete c.enter,delete c.exit,a===null?le.createElement(vd.Provider,{value:d},f):le.createElement(vd.Provider,{value:d},le.createElement(a,c,f))},t})(le.Component);ti.propTypes={};ti.defaultProps=lH;const Tk=["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"];function cH(e,t){return e.reduce((r,n)=>(r[n.position||t].push(n),r),Tk.reduce((r,n)=>(r[n]=[],r),{}))}const mx={left:"translateX(-100%)",right:"translateX(100%)","top-center":"translateY(-100%)","bottom-center":"translateY(100%)"},uH={left:"translateX(0)",right:"translateX(0)","top-center":"translateY(0)","bottom-center":"translateY(0)"};function dH({state:e,maxHeight:t,position:r,transitionDuration:n}){const[i,a]=r.split("-"),l=a==="center"?`${i}-center`:a,c={opacity:0,maxHeight:t,transform:mx[l],transitionDuration:`${n}ms, ${n}ms, ${n}ms`,transitionTimingFunction:"cubic-bezier(.51,.3,0,1.21), cubic-bezier(.51,.3,0,1.21), linear",transitionProperty:"opacity, transform, max-height"},d={opacity:1,transform:uH[l]},f={opacity:0,maxHeight:0,transform:mx[l]};return{...c,...{entering:d,entered:d,exiting:f,exited:f}[e]}}function fH(e,t){return typeof t=="number"?t:t===!1||e===!1?!1:e}const Nk=g.forwardRef(({data:e,onHide:t,autoClose:r,...n},i)=>{const{autoClose:a,message:l,...c}=e,d=fH(r,e.autoClose),f=g.useRef(-1),h=()=>window.clearTimeout(f.current),m=()=>{t(e.id),h()},w=()=>{typeof d=="number"&&(f.current=window.setTimeout(m,d))};return g.useEffect(()=>{var v;(v=e.onOpen)==null||v.call(e,e)},[]),g.useEffect(()=>(w(),h),[d]),b.jsx(cy,{...n,...c,onClose:m,ref:i,onMouseEnter:h,onMouseLeave:w,children:l})});Nk.displayName="@mantine/notifications/NotificationContainer";var Dk={root:"m_b37d9ac7",notification:"m_5ed0edd0"};const pH=ko,mH={position:"bottom-right",autoClose:4e3,transitionDuration:250,containerWidth:440,notificationMaxHeight:200,limit:5,zIndex:xo("overlay"),store:us,withinPortal:!0},hH=(e,{zIndex:t,containerWidth:r})=>({root:{"--notifications-z-index":t==null?void 0:t.toString(),"--notifications-container-width":ce(r)}}),Po=st((e,t)=>{const r=Ue("Notifications",mH,e),{classNames:n,className:i,style:a,styles:l,unstyled:c,vars:d,position:f,autoClose:h,transitionDuration:m,containerWidth:w,notificationMaxHeight:v,limit:C,zIndex:x,store:R,portalProps:E,withinPortal:P,...k}=r,T=Rn(),N=QV(R),j=y5(),M=jg(),O=g.useRef({}),B=g.useRef(0),Y=(T.respectReducedMotion?M:!1)?1:m,ne=$t({name:"Notifications",classes:Dk,props:r,className:i,style:a,classNames:n,styles:l,unstyled:c,vars:d,varsResolver:hH});g.useEffect(()=>{R==null||R.updateState(W=>({...W,limit:C||5,defaultPosition:f}))},[C,f]),ua(()=>{N.notifications.length>B.current&&setTimeout(()=>j(),0),B.current=N.notifications.length},[N.notifications]);const te=cH(N.notifications,f),K=Tk.reduce((W,U)=>(W[U]=te[U]?.map(({style:z,..._})=>b.jsx(pH,{timeout:Y,onEnter:()=>O.current[_.id].offsetHeight,nodeRef:{current:O.current[_.id]},children:I=>b.jsx(Nk,{ref:L=>{O.current[_.id]=L},data:_,onHide:L=>Pk(L,R),autoClose:h,...ne("notification",{style:{...dH({state:I,position:U,transitionDuration:Y,maxHeight:v}),...z}})})},_.id)),W),{});return b.jsxs(Ql,{withinPortal:P,...E,children:[b.jsx(Ve,{...ne("root"),"data-position":"top-center",ref:t,...k,children:b.jsx(ti,{children:K["top-center"]})}),b.jsx(Ve,{...ne("root"),"data-position":"top-left",...k,children:b.jsx(ti,{children:K["top-left"]})}),b.jsx(Ve,{...ne("root",{className:Pl.classNames.fullWidth}),"data-position":"top-right",...k,children:b.jsx(ti,{children:K["top-right"]})}),b.jsx(Ve,{...ne("root",{className:Pl.classNames.fullWidth}),"data-position":"bottom-right",...k,children:b.jsx(ti,{children:K["bottom-right"]})}),b.jsx(Ve,{...ne("root"),"data-position":"bottom-left",...k,children:b.jsx(ti,{children:K["bottom-left"]})}),b.jsx(Ve,{...ne("root"),"data-position":"bottom-center",...k,children:b.jsx(ti,{children:K["bottom-center"]})})]})});Po.classes=Dk;Po.displayName="@mantine/notifications/Notifications";Po.show=Pa.show;Po.hide=Pa.hide;Po.update=Pa.update;Po.clean=Pa.clean;Po.cleanQueue=Pa.cleanQueue;Po.updateState=Pa.updateState;function gH(e){const t=e.replace("#","");return t.length!==6?null:[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function yH(e,t,r){return"#"+[e,t,r]?.map(n=>Math.round(Math.min(255,Math.max(0,n))).toString(16).padStart(2,"0")).join("")}function so(e,t,r){const n=gH(e);if(!n)return e;const[i,a,l]=n;return yH(i+(t-i)*r,a+(t-a)*r,l+(t-l)*r)}function vH(e){return[so(e,255,.92),so(e,255,.8),so(e,255,.66),so(e,255,.5),so(e,255,.3),so(e,255,.12),e,so(e,0,.14),so(e,0,.3),so(e,0,.48)]}function bH(e){var i,a,l,c,d,f,h,m,w,v,C,x,R,E,P,k,T,N,j,M,O,B,H,Y,ne,te,K,W;if(typeof document>"u")return;const t=document.documentElement,r=(U,z)=>{z&&t.style.setProperty(`--${U}`,z)};if((i=e.brand)!=null&&i.appName&&(document.title=e.brand.appName),(a=e.brand)!=null&&a.logoUrl||(l=e.brand)!=null&&l.faviconUrl){let U=document.querySelector('link[rel="icon"]');U||(U=document.createElement("link"),U.rel="icon",document.head.appendChild(U)),U.href=e.brand.faviconUrl??e.brand.logoUrl??""}r("primary",(c=e.colors)==null?void 0:c.primary),r("primary-default",(d=e.colors)==null?void 0:d.primary),r("primary-foreground",(f=e.colors)==null?void 0:f.primaryForeground),r("secondary",(h=e.colors)==null?void 0:h.secondary),r("background",(m=e.colors)==null?void 0:m.background),r("foreground",(w=e.colors)==null?void 0:w.foreground),r("destructive",(v=e.colors)==null?void 0:v.danger),r("destructive-foreground",(C=e.colors)==null?void 0:C.danger),r("border",(x=e.colors)==null?void 0:x.border),r("input",(R=e.colors)==null?void 0:R.border),r("muted",(E=e.colors)==null?void 0:E.muted),r("muted-foreground",(P=e.colors)==null?void 0:P.mutedForeground),r("card",(k=e.colors)==null?void 0:k.card),r("card-foreground",(T=e.colors)==null?void 0:T.foreground),r("sidebar",(N=e.colors)==null?void 0:N.sidebar),(j=e.colors)!=null&&j.primary&&(r("ring",e.colors.primary),r("accent",e.colors.primary),r("chart-1",e.colors.primary),r("sidebar-primary",e.colors.primary)),(M=e.typography)!=null&&M.fontFamily&&r("font-sans",e.typography.fontFamily),(O=e.typography)!=null&&O.baseFontSize&&(t.style.fontSize=e.typography.baseFontSize),r("radius",(B=e.shape)==null?void 0:B.radius),(H=e.shadows)!=null&&H.card&&r("shadow-sm",e.shadows.card),(Y=e.shadows)!=null&&Y.dropdown&&r("shadow-md",e.shadows.dropdown),(ne=e.shadows)!=null&&ne.modal&&r("shadow-lg",e.shadows.modal);const n=e.layout;if(r("um-sidebar-width",n==null?void 0:n.sidebarWidth),r("um-sidebar-collapsed-width",n==null?void 0:n.sidebarCollapsedWidth),r("um-header-height",n==null?void 0:n.headerHeight),r("um-content-max-width",n==null?void 0:n.contentMaxWidth),r("um-sidebar-bg",n==null?void 0:n.sidebarBackground),r("um-sidebar-fg",n==null?void 0:n.sidebarColor),r("um-sidebar-muted",n==null?void 0:n.sidebarMutedColor),r("um-sidebar-active-bg",n==null?void 0:n.sidebarActiveBackground),r("um-sidebar-active-fg",n==null?void 0:n.sidebarActiveColor),r("um-sidebar-hover-bg",n==null?void 0:n.sidebarHoverBackground),r("um-sidebar-border",n==null?void 0:n.sidebarBorder),r("um-sidebar-rail",n==null?void 0:n.sidebarRail),r("um-menu-bg",n==null?void 0:n.menuBackground),r("um-menu-active",(n==null?void 0:n.menuActiveColor)??((te=e.colors)==null?void 0:te.primary)),r("um-menu-active-border",(n==null?void 0:n.menuActiveBorderColor)??((K=e.colors)==null?void 0:K.primary)),r("um-menu-color",n==null?void 0:n.menuColor),r("um-menu-hover",(n==null?void 0:n.menuHoverColor)??((W=e.colors)==null?void 0:W.primary)),r("um-modal-accent",n==null?void 0:n.modalAccentColor),r("um-modal-header-bg",n==null?void 0:n.modalHeaderBackground),r("um-modal-header-edit-bg",n==null?void 0:n.modalHeaderEditBackground),r("um-modal-icon-bg",n==null?void 0:n.modalIconBackground),r("um-modal-icon-color",n==null?void 0:n.modalIconColor),r("um-modal-title",n==null?void 0:n.modalTitleColor),r("um-modal-focus",n==null?void 0:n.modalFocusColor),r("um-modal-surface",n==null?void 0:n.modalSurface),e.cssVars)for(const[U,z]of Object.entries(e.cssVars))r(U,z)}function wH(e){var i,a,l,c,d,f,h,m,w,v,C,x,R,E,P,k,T,N,j,M,O,B,H,Y;const t=((i=e.colors)==null?void 0:i.primary)??"#18aa9d",r=vH(t),n={primaryColor:"brand",primaryShade:6,colors:{brand:r,fhcBlue:r,fhcGray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"]},fontFamily:((a=e.typography)==null?void 0:a.fontFamily)??"Inter, ui-sans-serif, system-ui, sans-serif",fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",headings:{fontFamily:((l=e.typography)==null?void 0:l.headingFontFamily)??((c=e.typography)==null?void 0:c.fontFamily)??"Inter, ui-sans-serif, system-ui, sans-serif"},defaultRadius:((d=e.shape)!=null&&d.radius,"md"),cursorType:"pointer",components:{Button:{defaultProps:{variant:((f=e.components)==null?void 0:f.buttonDefaultVariant)??"filled"}},TextInput:{defaultProps:{size:((h=e.components)==null?void 0:h.inputDefaultSize)??"sm",radius:((m=e.components)==null?void 0:m.inputRadius)??"md"}},Select:{defaultProps:{size:((w=e.components)==null?void 0:w.inputDefaultSize)??"sm",radius:((v=e.components)==null?void 0:v.inputRadius)??"md"}},MultiSelect:{defaultProps:{size:((C=e.components)==null?void 0:C.inputDefaultSize)??"sm",radius:((x=e.components)==null?void 0:x.inputRadius)??"md"}},Textarea:{defaultProps:{size:((R=e.components)==null?void 0:R.inputDefaultSize)??"sm",radius:((E=e.components)==null?void 0:E.inputRadius)??"md"}},NumberInput:{defaultProps:{size:((P=e.components)==null?void 0:P.inputDefaultSize)??"sm",radius:((k=e.components)==null?void 0:k.inputRadius)??"md"}},DateInput:{defaultProps:{size:((T=e.components)==null?void 0:T.inputDefaultSize)??"sm",radius:((N=e.components)==null?void 0:N.inputRadius)??"md"}},DatePickerInput:{defaultProps:{size:((j=e.components)==null?void 0:j.inputDefaultSize)??"sm",radius:((M=e.components)==null?void 0:M.inputRadius)??"md"}},Modal:{defaultProps:{radius:((O=e.components)==null?void 0:O.modalRadius)??"md",centered:!0}},Drawer:{defaultProps:{radius:((B=e.components)==null?void 0:B.modalRadius)??"md"}},Table:{defaultProps:{striped:((H=e.components)==null?void 0:H.tableStriped)??!1,highlightOnHover:((Y=e.components)==null?void 0:Y.tableHighlightOnHover)??!0,withTableBorder:!0,withColumnBorders:!1}},Notification:{defaultProps:{radius:"md"}},Badge:{defaultProps:{variant:"light"}}}};return e.mantineTheme?Ok(n,e.mantineTheme):n}function Ok(e,t){const r={...e};for(const n of Object.keys(t)){const i=t[n],a=e[n];i!==null&&typeof i=="object"&&!Array.isArray(i)&&typeof a=="object"&&!Array.isArray(a)?r[n]=Ok(a,i):i!==void 0&&(r[n]=i)}return r}const hx="http://localhost:5183".split(",")?.map(e=>e.trim()).filter(Boolean),SH=()=>typeof window<"u"&&window.parent&&window.parent!==window,xH=e=>hx.length===0||hx.includes(e);function CH({children:e}){const[t,r]=g.useState(()=>!!Xe.get("auth-token")||!SH());return g.useEffect(()=>{if(t)return;let n=!1;const i=()=>{n||(n=!0,r(!0))},a=c=>{if(!xH(c.origin))return;const d=c.data;if(!d||d.type!=="UM_AUTH_TOKEN"||!d.token)return;const f=Pg(!0);Xe.set("auth-token",d.token,f),d.refreshToken&&Xe.set("refresh-token",d.refreshToken,f),i()};window.addEventListener("message",a);try{window.parent.postMessage({type:"UM_REQUEST_AUTH"},"*")}catch{}const l=window.setTimeout(i,1500);return()=>{window.removeEventListener("message",a),window.clearTimeout(l)}},[t]),t?b.jsx(b.Fragment,{children:e}):b.jsx(Rk,{label:"Signing you in…"})}function RH(){const{setColorScheme:e}=bR();return g.useEffect(()=>{const t=document.documentElement,r=()=>e(t.classList.contains("dark")?"dark":"light");r();const n=new MutationObserver(r);return n.observe(t,{attributes:!0,attributeFilter:["class"]}),()=>n.disconnect()},[e]),null}const EH=new dq({defaultOptions:{queries:{staleTime:300*1e3,gcTime:1800*1e3,refetchOnWindowFocus:!1,refetchOnReconnect:!0,retry:1}}}),kH="/_um/".replace(/\/+$/,"")||"/";function PH({config:e}){const[t]=g.useState(()=>(gI(e),bH(e),wH(e)));return b.jsxs(vR,{theme:t,defaultColorScheme:"light",children:[b.jsx(RH,{}),b.jsx(Po,{position:"top-right"}),b.jsx(fq,{client:EH,children:b.jsx(sN,{basename:kH,children:b.jsx(WV,{children:b.jsx(CH,{children:b.jsx(hI,{children:b.jsx(nV,{children:b.jsx(BV,{})})})})})})}),b.jsx(w_,{richColors:!0,theme:"system",toastOptions:{classNames:{toast:"border border-gray-200 bg-white text-gray-900 shadow-xl dark:border-gray-700 dark:bg-gray-900 dark:text-gray-100",title:"font-semibold text-gray-900 dark:text-gray-100",description:"text-sm text-gray-600 dark:text-gray-300",success:"border-primary-200 bg-primary-50 text-primary-800",error:"border-rose-200 bg-rose-50 text-rose-800",warning:"border-amber-200 bg-amber-50 text-amber-800",info:"border-sky-200 bg-sky-50 text-sky-800"}}})]})}const _u={fhcBlue:["#EEF4FC","#D9E8FA","#BCD5F5","#96BDEB","#6FA4E0","#4A90E2","#357ABD","#2C669D","#224F7A","#173654"],fhcBrick:["#F6ECE8","#EACFC4","#DBAD99","#C9876B","#B86B49","#A85735","#8C462B","#703622","#55281A","#3D1E14"],fhcGold:["#FFFBE6","#FFF3BF","#FEE98A","#FCDD57","#F9CF2F","#FFD700","#D9B700","#B39400","#8C7300","#665300"],fhcGray:["#F8FAFC","#F1F5F9","#E2E8F0","#CBD5E1","#94A3B8","#64748B","#475569","#334155","#1E293B","#0F172A"]},og={sidebar:{bg:"linear-gradient(180deg, #5D2E1F 0%, #3D1E14 100%)",headerBg:"rgba(93, 46, 31, 0.82)",footerBg:"rgba(61, 30, 20, 0.62)",border:"rgba(255,255,255,0.10)",text:"rgba(255,255,255,0.76)",mutedText:"rgba(255,255,255,0.42)",childText:"rgba(255,255,255,0.68)",activeText:"#FFFFFF",iconBg:"rgba(255,255,255,0.06)",iconActiveBg:"rgba(255,255,255,0.12)",hoverBg:"rgba(255,255,255,0.08)",activeBg:"rgba(255,255,255,0.15)",activeBorder:"rgba(255,255,255,0.14)",sectionLine:"rgba(255,255,255,0.10)",rail:"linear-gradient(180deg, #FFD700 0%, #4A90E2 100%)"},header:{bg:"rgba(255,255,255,0.92)",border:"rgba(15, 23, 42, 0.08)",searchBg:"#F9FAFB",searchBorder:"#E5E7EB",title:"#1F2937",subtitle:"#6B7280"},page:{bg:"#F8FAFC",cardBg:"rgba(255,255,255,0.92)"},brand:{brick:"#5D2E1F",brickDark:"#3D1E14",blue:"#4A90E2",blueDark:"#357ABD",gold:"#FFD700",text:"#1F2937"},sizes:{sidebarExpanded:288,sidebarCollapsed:80,headerHeight:64}},AH={...og,header:{bg:"rgba(26, 27, 30, 0.92)",border:"rgba(255,255,255,0.08)",searchBg:"#25262B",searchBorder:"#2C2E33",title:"#F1F5F9",subtitle:"#9CA3AF"},page:{bg:"#141517",cardBg:"rgba(26, 27, 30, 0.92)"},brand:{...og.brand,text:"#F1F5F9"}},TH={fontFamily:"Plus Jakarta Sans, sans-serif",headings:{fontFamily:"Plus Jakarta Sans, sans-serif"},defaultRadius:"md",radius:{xs:"6px",sm:"8px",md:"10px",lg:"14px",xl:"18px"},shadows:{xs:"0 1px 2px rgba(15, 23, 42, 0.04)",sm:"0 2px 8px rgba(15, 23, 42, 0.06)",md:"0 4px 20px rgba(15, 23, 42, 0.08)",lg:"0 8px 30px rgba(15, 23, 42, 0.12)"},colors:{fhcBlue:_u.fhcBlue,fhcBrick:_u.fhcBrick,fhcGold:_u.fhcGold,fhcGray:_u.fhcGray},other:{fhcLayout:og,fhcLayoutDark:AH},components:{Paper:{defaultProps:{radius:"lg",shadow:"sm"}},NavLink:{defaultProps:{radius:"md"}}}},NH={brand:{appName:"Federal Housing Corporation"},colors:{primary:"#357ABD"},typography:{fontFamily:"Plus Jakarta Sans, Inter, ui-sans-serif, system-ui, sans-serif"},shape:{radius:"0.625rem"},components:{buttonDefaultVariant:"filled",inputDefaultSize:"sm",inputRadius:"md",modalRadius:"lg",tableHighlightOnHover:!0,tableStriped:!1},layout:{userManagementView:"classic",sidebarWidth:"288px",sidebarCollapsedWidth:"80px",headerHeight:"64px",sidebarBackground:"linear-gradient(180deg, #5D2E1F 0%, #3D1E14 100%)",sidebarColor:"rgba(255,255,255,0.76)",sidebarMutedColor:"rgba(255,255,255,0.42)",sidebarActiveBackground:"rgba(255,255,255,0.15)",sidebarActiveColor:"#FFFFFF",sidebarHoverBackground:"rgba(255,255,255,0.08)",sidebarBorder:"rgba(255,255,255,0.10)",sidebarRail:"linear-gradient(180deg, #FFD700 0%, #4A90E2 100%)",sidebarBrandLabel:"User Management",sidebarBrandSublabel:"Federal Housing",navItems:[{label:"dashboard",href:"/user-management/user_management-dashboard",icon:"dashboard",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"userManagement",href:"/user-management/user_management",icon:"users",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"contentManagement",displayLabel:"contentManagement",href:"/user-management/content-management",icon:"content",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"Position",displayLabel:"positionTypes",href:"/user-management/position-management",icon:"position",roles:["admin","unit_admin","super_admin"],isPrimary:!0,enabled:!0},{label:"settings",displayLabel:"settings",href:"/user-management/organization-settings",icon:"settings",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"Bulk",displayLabel:"bulkUpload",href:"/user-management/bulk-upload",icon:"excel",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"Archive Users",displayLabel:"Archive Users",href:"/user-management/archives",icon:"archive",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"Archived Units & Positions",displayLabel:"Archived Units & Positions",href:"/user-management/archived",icon:"units",roles:["admin","unit_admin"],isPrimary:!0,enabled:!0},{label:"dashboard",href:"/user-management/dashboard",icon:"dashboard",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"organizations",href:"/user-management/organizations",icon:"organizations",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"organizationAdmins",href:"/user-management/organization_admins",icon:"admins",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"externalUsers",href:"/user-management/external_users",icon:"admins",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"Migrated Records",displayLabel:"migratedRecords",href:"/user-management/migrated-records-management",icon:"file",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"Archive Users",displayLabel:"Archive Users",href:"/user-management/archive-users",icon:"archive",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"Archived Organizations",displayLabel:"Archived Organizations",href:"/user-management/archived-organizations",icon:"archive",roles:["super_admin"],isPrimary:!0,enabled:!0},{label:"activityLog",href:"/user-management/activity_log",icon:"activity",roles:["super_admin"],isPrimary:!1,enabled:!0},{label:"setting",href:"/user-management/settings",icon:"settings",roles:["super_admin"],isPrimary:!1,enabled:!0},{label:"Letter Template",href:"/user-management/templates",icon:"file",roles:["super_admin"],isPrimary:!1,enabled:!0}],menuBackground:"#ffffff",menuColor:"#334155",menuActiveColor:"#357ABD",menuActiveBorderColor:"#357ABD",menuHoverColor:"#357ABD",modalAccentColor:"#5D2E1F",modalHeaderBackground:"#F6ECE8",modalHeaderEditBackground:"#EACFC4",modalIconBackground:"#EACFC4",modalIconColor:"#5D2E1F",modalTitleColor:"#1F2937",modalFocusColor:"#357ABD",modalSurface:"#ffffff"},mantineTheme:TH};MA.createRoot(document.getElementById("root")).render(b.jsx(g.StrictMode,{children:b.jsx(PH,{config:NH})}));export{wa as $,Km as A,Fr as B,r5 as C,Fg as D,ua as E,El as F,S5 as G,sD as H,F4 as I,Bl as J,st as K,hg as L,bD as M,Ue as N,Rn as O,jg as P,Ve as Q,le as R,kD as S,wR as T,Hb as U,$t as V,l7 as W,ce as X,gi as Y,Zi as Z,Hn as _,Ny as a,bR as a$,ry as a0,Vd as a1,Hd as a2,i5 as a3,O$ as a4,D$ as a5,m$ as a6,Dg as a7,Mg as a8,Jl as a9,Oh as aA,_h as aB,Mh as aC,y7 as aD,Ur as aE,Bb as aF,Vb as aG,MN as aH,zb as aI,GN as aJ,kq as aK,Aq as aL,Tq as aM,Nq as aN,vg as aO,yg as aP,_D as aQ,Wt as aR,bg as aS,i7 as aT,bd as aU,Ml as aV,l4 as aW,oy as aX,Zl as aY,cR as aZ,fy as a_,da as aa,Ww as ab,a7 as ac,_d as ad,tn as ae,Og as af,Co as ag,pR as ah,Xl as ai,er as aj,J5 as ak,Xd as al,Kl as am,V5 as an,iy as ao,xo as ap,Bg as aq,u7 as ar,_g as as,Wd as at,$g as au,o5 as av,mh as aw,c7 as ax,zn as ay,Dy as az,HV as b,_H as b$,Su as b0,En as b1,Pa as b2,eV as b3,ts as b4,v7 as b5,AD as b6,Pq as b7,kt as b8,Uw as b9,SE as bA,xE as bB,yE as bC,CE as bD,R7 as bE,I4 as bF,d7 as bG,f7 as bH,p7 as bI,Ra as bJ,Mt as bK,gd as bL,q1 as bM,oq as bN,pq as bO,gq as bP,wq as bQ,yq as bR,vq as bS,sr as bT,xq as bU,XS as bV,bq as bW,oD as bX,X9 as bY,zH as bZ,E8 as b_,w7 as ba,yD as bb,Qx as bc,Ke as bd,pt as be,CC as bf,td as bg,OC as bh,gg as bi,MH as bj,lr as bk,Mb as bl,Le as bm,qb as bn,Dq as bo,Zu as bp,B9 as bq,x7 as br,YN as bs,tD as bt,C7 as bu,RI as bv,vE as bw,bE as bx,K3 as by,wE as bz,Y9 as c,cr as c0,Nr as c1,FB as c2,He as c3,go as c4,XE as c5,tc as c6,Th as c7,ME as c8,DE as c9,P3 as cA,aR as cB,gU as cC,g7 as cD,m7 as cE,my as cF,LB as ca,BE as cb,_E as cc,wo as cd,s6 as ce,yB as cf,Pl as cg,IE as ch,LE as ci,ec as cj,dd as ck,IB as cl,UB as cm,c5 as cn,Ql as co,sy as cp,aE as cq,HR as cr,L3 as cs,$R as ct,Yg as cu,Bz as cv,xh as cw,Nm as cx,zR as cy,qz as cz,ba as d,Rk as e,mi as f,RC as g,s7 as h,jH as i,b as j,tk as k,Et as l,cf as m,ek as n,hn as o,Xe as p,sh as q,g as r,cI as s,St as t,So as u,n7 as v,ss as w,o7 as x,$e as y,ND as z};
|