@applica-software-guru/react-admin 1.4.198 → 1.4.199
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Layout/Header/Profile/buttons/StopImpersonateButton.d.ts.map +1 -1
- package/dist/components/Layout/Provider.d.ts.map +1 -1
- package/dist/hooks/index.d.ts +5 -5
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +6 -6
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +662 -646
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +34 -34
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Layout/Header/Profile/buttons/StopImpersonateButton.tsx +2 -0
- package/src/components/Layout/Provider.tsx +12 -4
- package/src/hooks/index.ts +5 -5
package/dist/react-admin.cjs.js
CHANGED
|
@@ -35,7 +35,7 @@ Valid keys: `+JSON.stringify(Object.keys(V),null," "));var ue=xe(Be,Ie,de,ge,he
|
|
|
35
35
|
* LICENSE file in the root directory of this source tree.
|
|
36
36
|
*/var Pm;function RO(){return Pm||(Pm=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),a=Symbol.for("react.context"),c=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),I=!1,B=!1,v=!1,S=!1,O=!1,x;x=Symbol.for("react.module.reference");function R(fe){return!!(typeof fe=="string"||typeof fe=="function"||fe===n||fe===o||O||fe===r||fe===A||fe===p||S||fe===m||I||B||v||typeof fe=="object"&&fe!==null&&(fe.$$typeof===C||fe.$$typeof===h||fe.$$typeof===s||fe.$$typeof===a||fe.$$typeof===u||fe.$$typeof===x||fe.getModuleId!==void 0))}function P(fe){if(typeof fe=="object"&&fe!==null){var st=fe.$$typeof;switch(st){case e:var zt=fe.type;switch(zt){case n:case o:case r:case A:case p:return zt;default:var ft=zt&&zt.$$typeof;switch(ft){case c:case a:case u:case C:case h:case s:return ft;default:return st}}case t:return st}}}var k=a,F=s,G=e,K=u,$=n,Y=C,ie=h,se=t,X=o,Z=r,H=A,J=p,L=!1,_=!1;function V(fe){return L||(L=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function q(fe){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function le(fe){return P(fe)===a}function pe(fe){return P(fe)===s}function de(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===e}function ge(fe){return P(fe)===u}function he(fe){return P(fe)===n}function Be(fe){return P(fe)===C}function Ee(fe){return P(fe)===h}function Ce(fe){return P(fe)===t}function Ie(fe){return P(fe)===o}function xe(fe){return P(fe)===r}function ue(fe){return P(fe)===A}function qe(fe){return P(fe)===p}it.ContextConsumer=k,it.ContextProvider=F,it.Element=G,it.ForwardRef=K,it.Fragment=$,it.Lazy=Y,it.Memo=ie,it.Portal=se,it.Profiler=X,it.StrictMode=Z,it.Suspense=H,it.SuspenseList=J,it.isAsyncMode=V,it.isConcurrentMode=q,it.isContextConsumer=le,it.isContextProvider=pe,it.isElement=de,it.isForwardRef=ge,it.isFragment=he,it.isLazy=Be,it.isMemo=Ee,it.isPortal=Ce,it.isProfiler=Ie,it.isStrictMode=xe,it.isSuspense=ue,it.isSuspenseList=qe,it.isValidElementType=R,it.typeOf=P}()),it}process.env.NODE_ENV==="production"?hg.exports=PO():hg.exports=RO();var Cg=hg.exports;const OO=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function jO(e){const t=`${e}`.match(OO);return t&&t[1]||""}function j0(e,t=""){return e.displayName||e.name||jO(e)||t}function Rm(e,t,n){const r=j0(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function DO(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return j0(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Cg.ForwardRef:return Rm(e,e.render,"ForwardRef");case Cg.Memo:return Rm(e,e.type,"memo");default:return}}}function hi(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=e[t],a=o||t;return s==null?null:s&&s.nodeType!==1?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const MO=f.oneOfType([f.func,f.object]),rf=MO;function Pe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Cs(7));return e.charAt(0).toUpperCase()+e.slice(1)}function mg(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function D0(e,t=166){let n;function r(...o){const s=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(s,t)}return r.clear=()=>{clearTimeout(n)},r}function kO(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,o,s,a)=>{const c=o||"<<anonymous>>",u=a||r;return typeof n[r]<"u"?new Error(`The ${s} \`${u}\` of \`${c}\` is deprecated. ${t}`):null}}function FO(e,t){var n,r;return M.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function hr(e){return e&&e.ownerDocument||document}function Ts(e){return hr(e).defaultView||window}function LO(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?z({},t.propTypes):null;return o=>(s,a,c,u,A,...p)=>{const h=A||a,C=n==null?void 0:n[h];if(C){const m=C(s,a,c,u,A,...p);if(m)return m}return typeof s[a]<"u"&&!s[o]?new Error(`The prop \`${h}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function Lc(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const NO=typeof window<"u"?M.useLayoutEffect:M.useEffect,ms=NO;let Om=0;function VO(e){const[t,n]=M.useState(e),r=e||t;return M.useEffect(()=>{t==null&&(Om+=1,n(`mui-${Om}`))},[t]),r}const jm=M["useId".toString()];function of(e){if(jm!==void 0){const t=jm();return e??t}return VO(e)}function HO(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const s=o||t;return typeof e[t]<"u"?new Error(`The prop \`${s}\` is not supported. Please remove it.`):null}function M0({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=M.useRef(e!==void 0),[s,a]=M.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){M.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
37
37
|
`))},[r,n,e]);const{current:A}=M.useRef(t);M.useEffect(()=>{!o&&A!==t&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
|
|
38
|
-
`))},[JSON.stringify(t)])}const u=M.useCallback(A=>{o||a(A)},[]);return[c,u]}function Qo(e){const t=M.useRef(e);return ms(()=>{t.current=e}),M.useRef((...n)=>(0,t.current)(...n)).current}function kn(...e){return M.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Lc(n,t)})},e)}class sf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new sf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}let hu=!0,Eg=!1;const zO=new sf,WO={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function UO(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&WO[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function YO(e){e.metaKey||e.altKey||e.ctrlKey||(hu=!0)}function Od(){hu=!1}function GO(){this.visibilityState==="hidden"&&Eg&&(hu=!0)}function KO(e){e.addEventListener("keydown",YO,!0),e.addEventListener("mousedown",Od,!0),e.addEventListener("pointerdown",Od,!0),e.addEventListener("touchstart",Od,!0),e.addEventListener("visibilitychange",GO,!0)}function qO(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return hu||UO(t)}function af(){const e=M.useCallback(o=>{o!=null&&KO(o.ownerDocument)},[]),t=M.useRef(!1);function n(){return t.current?(Eg=!0,zO.start(100,()=>{Eg=!1}),t.current=!1,!0):!1}function r(o){return qO(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function JO(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function XO(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function ZO(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const _O=Number.isInteger||ZO;function k0(e,t,n,r){const o=e[t];if(o==null||!_O(o)){const s=XO(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function F0(e,t,...n){return e[t]===void 0?null:k0(e,t,...n)}function Ig(){return null}F0.isRequired=k0;Ig.isRequired=Ig;const Ia=process.env.NODE_ENV==="production"?Ig:F0;function lf(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=o:!o||!Object.keys(o)?n[r]=s:(n[r]=z({},s),Object.keys(o).forEach(a=>{n[r][a]=lf(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function nn(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((s,a)=>{if(a){const c=t(a);c!==""&&s.push(c),n&&n[a]&&s.push(n[a])}return s},[]).join(" ")}),r}const Dm=e=>e,$O=()=>{let e=Dm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Dm}}},e4=$O(),L0=e4,t4={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Dt(e,t,n="Mui"){const r=t4[t];return r?`${n}-${r}`:`${L0.generate(e)}-${t}`}function Vt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Dt(e,o,n)}),r}function n4(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Ra="$$material";function Ne(e,t){if(e==null)return{};var n={}
|
|
38
|
+
`))},[JSON.stringify(t)])}const u=M.useCallback(A=>{o||a(A)},[]);return[c,u]}function Qo(e){const t=M.useRef(e);return ms(()=>{t.current=e}),M.useRef((...n)=>(0,t.current)(...n)).current}function kn(...e){return M.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Lc(n,t)})},e)}class sf{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new sf}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}let hu=!0,Eg=!1;const zO=new sf,WO={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function UO(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&WO[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function YO(e){e.metaKey||e.altKey||e.ctrlKey||(hu=!0)}function Od(){hu=!1}function GO(){this.visibilityState==="hidden"&&Eg&&(hu=!0)}function KO(e){e.addEventListener("keydown",YO,!0),e.addEventListener("mousedown",Od,!0),e.addEventListener("pointerdown",Od,!0),e.addEventListener("touchstart",Od,!0),e.addEventListener("visibilitychange",GO,!0)}function qO(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return hu||UO(t)}function af(){const e=M.useCallback(o=>{o!=null&&KO(o.ownerDocument)},[]),t=M.useRef(!1);function n(){return t.current?(Eg=!0,zO.start(100,()=>{Eg=!1}),t.current=!1,!0):!1}function r(o){return qO(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function JO(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function XO(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function ZO(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const _O=Number.isInteger||ZO;function k0(e,t,n,r){const o=e[t];if(o==null||!_O(o)){const s=XO(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function F0(e,t,...n){return e[t]===void 0?null:k0(e,t,...n)}function Ig(){return null}F0.isRequired=k0;Ig.isRequired=Ig;const Ia=process.env.NODE_ENV==="production"?Ig:F0;function lf(e,t){const n=z({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=z({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},s=t[r];n[r]={},!s||!Object.keys(s)?n[r]=o:!o||!Object.keys(o)?n[r]=s:(n[r]=z({},s),Object.keys(o).forEach(a=>{n[r][a]=lf(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function nn(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((s,a)=>{if(a){const c=t(a);c!==""&&s.push(c),n&&n[a]&&s.push(n[a])}return s},[]).join(" ")}),r}const Dm=e=>e,$O=()=>{let e=Dm;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Dm}}},e4=$O(),L0=e4,t4={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Dt(e,t,n="Mui"){const r=t4[t];return r?`${n}-${r}`:`${L0.generate(e)}-${t}`}function Vt(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Dt(e,o,n)}),r}function n4(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const Ra="$$material";function Ne(e,t){if(e==null)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}/**
|
|
39
39
|
* @mui/styled-engine v5.15.14
|
|
40
40
|
*
|
|
41
41
|
* @license MIT
|
|
@@ -94,10 +94,10 @@ __p += '`),_e&&(ae+=`' +
|
|
|
94
94
|
function print() { __p += __j.call(arguments, '') }
|
|
95
95
|
`:`;
|
|
96
96
|
`)+ae+`return __p
|
|
97
|
-
}`;var Ye=Cm(function(){return et(T,ye+"return "+ae).apply(n,D)});if(Ye.source=ae,fd(Ye))throw Ye;return Ye}function CR(i){return tt(i).toLowerCase()}function mR(i){return tt(i).toUpperCase()}function ER(i,l,d){if(i=tt(i),i&&(d||l===n))return xh(i);if(!i||!(l=Tn(l)))return i;var E=ur(i),b=ur(l),T=wh(E,b),D=Th(E,b)+1;return go(E,T,D).join("")}function IR(i,l,d){if(i=tt(i),i&&(d||l===n))return i.slice(0,Ph(i)+1);if(!i||!(l=Tn(l)))return i;var E=ur(i),b=Th(E,ur(l))+1;return go(E,0,b).join("")}function BR(i,l,d){if(i=tt(i),i&&(d||l===n))return i.replace(jr,"");if(!i||!(l=Tn(l)))return i;var E=ur(i),b=wh(E,ur(l));return go(E,b).join("")}function vR(i,l){var d=$,E=Y;if(Qt(l)){var b="separator"in l?l.separator:b;d="length"in l?He(l.length):d,E="omission"in l?Tn(l.omission):E}i=tt(i);var T=i.length;if(Oi(i)){var D=ur(i);T=D.length}if(d>=T)return i;var N=d-ji(E);if(N<1)return E;var U=D?go(D,0,N).join(""):i.slice(0,N);if(b===n)return U+E;if(D&&(N+=U.length-N),pd(b)){if(i.slice(N).search(b)){var re,oe=U;for(b.global||(b=RA(b.source,tt(zs.exec(b))+"g")),b.lastIndex=0;re=b.exec(oe);)var ae=re.index;U=U.slice(0,ae===n?N:ae)}}else if(i.indexOf(Tn(b),N)!=N){var me=U.lastIndexOf(b);me>-1&&(U=U.slice(0,me))}return U+E}function bR(i){return i=tt(i),i&&ll.test(i)?i.replace(al,_1):i}var yR=Vi(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),md=mC("toUpperCase");function hm(i,l,d){return i=tt(i),l=d?n:l,l===n?K1(i)?tw(i):L1(i):i.match(l)||[]}var Cm=Ke(function(i,l){try{return xn(i,n,l)}catch(d){return fd(d)?d:new Fe(d)}}),QR=Lr(function(i,l){return zn(l,function(d){d=yr(d),kr(i,d,dd(i[d],i))}),i});function xR(i){var l=i==null?0:i.length,d=Re();return i=l?It(i,function(E){if(typeof E[1]!="function")throw new Wn(a);return[d(E[0]),E[1]]}):[],Ke(function(E){for(var b=-1;++b<l;){var T=i[b];if(xn(T[0],this,E))return xn(T[1],this,E)}})}function wR(i){return _w(Yn(i,h))}function Ed(i){return function(){return i}}function TR(i,l){return i==null||i!==i?l:i}var SR=IC(),PR=IC(!0);function pn(i){return i}function Id(i){return Xh(typeof i=="function"?i:Yn(i,h))}function RR(i){return _h(Yn(i,h))}function OR(i,l){return $h(i,Yn(l,h))}var jR=Ke(function(i,l){return function(d){return Zs(d,i,l)}}),DR=Ke(function(i,l){return function(d){return Zs(i,d,l)}});function Bd(i,l,d){var E=Gt(l),b=kl(l,E);d==null&&!(Qt(l)&&(b.length||!E.length))&&(d=l,l=i,i=this,b=kl(l,Gt(l)));var T=!(Qt(d)&&"chain"in d)||!!d.chain,D=Vr(i);return zn(b,function(N){var U=l[N];i[N]=U,D&&(i.prototype[N]=function(){var re=this.__chain__;if(T||re){var oe=i(this.__wrapped__),ae=oe.__actions__=dn(this.__actions__);return ae.push({func:U,args:arguments,thisArg:i}),oe.__chain__=re,oe}return U.apply(i,so([this.value()],arguments))})}),i}function MR(){return Jt._===this&&(Jt._=aw),this}function vd(){}function kR(i){return i=He(i),Ke(function(l){return eC(l,i)})}var FR=$A(It),LR=$A(Bh),NR=$A(yA);function mm(i){return sd(i)?QA(yr(i)):pT(i)}function VR(i){return function(l){return i==null?n:Jo(i,l)}}var HR=vC(),zR=vC(!0);function bd(){return[]}function yd(){return!1}function WR(){return{}}function UR(){return""}function YR(){return!0}function GR(i,l){if(i=He(i),i<1||i>L)return[];var d=q,E=Zt(i,q);l=Re(l),i-=q;for(var b=TA(E,l);++d<i;)l(d);return b}function KR(i){return Le(i)?It(i,yr):Sn(i)?[i]:dn(LC(tt(i)))}function qR(i){var l=++iw;return tt(i)+l}var JR=zl(function(i,l){return i+l},0),XR=ed("ceil"),ZR=zl(function(i,l){return i/l},1),_R=ed("floor");function $R(i){return i&&i.length?Ml(i,pn,NA):n}function eO(i,l){return i&&i.length?Ml(i,Re(l,2),NA):n}function tO(i){return yh(i,pn)}function nO(i,l){return yh(i,Re(l,2))}function rO(i){return i&&i.length?Ml(i,pn,WA):n}function oO(i,l){return i&&i.length?Ml(i,Re(l,2),WA):n}var iO=zl(function(i,l){return i*l},1),sO=ed("round"),aO=zl(function(i,l){return i-l},0);function lO(i){return i&&i.length?wA(i,pn):0}function cO(i,l){return i&&i.length?wA(i,Re(l,2)):0}return w.after=RS,w.ary=JC,w.assign=mP,w.assignIn=cm,w.assignInWith=tc,w.assignWith=EP,w.at=IP,w.before=XC,w.bind=dd,w.bindAll=QR,w.bindKey=ZC,w.castArray=WS,w.chain=GC,w.chunk=_T,w.compact=$T,w.concat=e2,w.cond=xR,w.conforms=wR,w.constant=Ed,w.countBy=lS,w.create=BP,w.curry=_C,w.curryRight=$C,w.debounce=em,w.defaults=vP,w.defaultsDeep=bP,w.defer=OS,w.delay=jS,w.difference=t2,w.differenceBy=n2,w.differenceWith=r2,w.drop=o2,w.dropRight=i2,w.dropRightWhile=s2,w.dropWhile=a2,w.fill=l2,w.filter=uS,w.flatMap=gS,w.flatMapDeep=fS,w.flatMapDepth=pS,w.flatten=zC,w.flattenDeep=c2,w.flattenDepth=u2,w.flip=DS,w.flow=SR,w.flowRight=PR,w.fromPairs=A2,w.functions=PP,w.functionsIn=RP,w.groupBy=hS,w.initial=g2,w.intersection=f2,w.intersectionBy=p2,w.intersectionWith=h2,w.invert=jP,w.invertBy=DP,w.invokeMap=mS,w.iteratee=Id,w.keyBy=ES,w.keys=Gt,w.keysIn=fn,w.map=Jl,w.mapKeys=kP,w.mapValues=FP,w.matches=RR,w.matchesProperty=OR,w.memoize=Zl,w.merge=LP,w.mergeWith=um,w.method=jR,w.methodOf=DR,w.mixin=Bd,w.negate=_l,w.nthArg=kR,w.omit=NP,w.omitBy=VP,w.once=MS,w.orderBy=IS,w.over=FR,w.overArgs=kS,w.overEvery=LR,w.overSome=NR,w.partial=gd,w.partialRight=tm,w.partition=BS,w.pick=HP,w.pickBy=Am,w.property=mm,w.propertyOf=VR,w.pull=I2,w.pullAll=UC,w.pullAllBy=B2,w.pullAllWith=v2,w.pullAt=b2,w.range=HR,w.rangeRight=zR,w.rearg=FS,w.reject=yS,w.remove=y2,w.rest=LS,w.reverse=ud,w.sampleSize=xS,w.set=WP,w.setWith=UP,w.shuffle=wS,w.slice=Q2,w.sortBy=PS,w.sortedUniq=O2,w.sortedUniqBy=j2,w.split=gR,w.spread=NS,w.tail=D2,w.take=M2,w.takeRight=k2,w.takeRightWhile=F2,w.takeWhile=L2,w.tap=$2,w.throttle=VS,w.thru=ql,w.toArray=sm,w.toPairs=dm,w.toPairsIn=gm,w.toPath=KR,w.toPlainObject=lm,w.transform=YP,w.unary=HS,w.union=N2,w.unionBy=V2,w.unionWith=H2,w.uniq=z2,w.uniqBy=W2,w.uniqWith=U2,w.unset=GP,w.unzip=Ad,w.unzipWith=YC,w.update=KP,w.updateWith=qP,w.values=Wi,w.valuesIn=JP,w.without=Y2,w.words=hm,w.wrap=zS,w.xor=G2,w.xorBy=K2,w.xorWith=q2,w.zip=J2,w.zipObject=X2,w.zipObjectDeep=Z2,w.zipWith=_2,w.entries=dm,w.entriesIn=gm,w.extend=cm,w.extendWith=tc,Bd(w,w),w.add=JR,w.attempt=Cm,w.camelCase=$P,w.capitalize=fm,w.ceil=XR,w.clamp=XP,w.clone=US,w.cloneDeep=GS,w.cloneDeepWith=KS,w.cloneWith=YS,w.conformsTo=qS,w.deburr=pm,w.defaultTo=TR,w.divide=ZR,w.endsWith=eR,w.eq=dr,w.escape=tR,w.escapeRegExp=nR,w.every=cS,w.find=AS,w.findIndex=VC,w.findKey=yP,w.findLast=dS,w.findLastIndex=HC,w.findLastKey=QP,w.floor=_R,w.forEach=KC,w.forEachRight=qC,w.forIn=xP,w.forInRight=wP,w.forOwn=TP,w.forOwnRight=SP,w.get=hd,w.gt=JS,w.gte=XS,w.has=OP,w.hasIn=Cd,w.head=WC,w.identity=pn,w.includes=CS,w.indexOf=d2,w.inRange=ZP,w.invoke=MP,w.isArguments=_o,w.isArray=Le,w.isArrayBuffer=ZS,w.isArrayLike=gn,w.isArrayLikeObject=Ot,w.isBoolean=_S,w.isBuffer=fo,w.isDate=$S,w.isElement=eP,w.isEmpty=tP,w.isEqual=nP,w.isEqualWith=rP,w.isError=fd,w.isFinite=oP,w.isFunction=Vr,w.isInteger=nm,w.isLength=$l,w.isMap=rm,w.isMatch=iP,w.isMatchWith=sP,w.isNaN=aP,w.isNative=lP,w.isNil=uP,w.isNull=cP,w.isNumber=om,w.isObject=Qt,w.isObjectLike=wt,w.isPlainObject=ra,w.isRegExp=pd,w.isSafeInteger=AP,w.isSet=im,w.isString=ec,w.isSymbol=Sn,w.isTypedArray=zi,w.isUndefined=dP,w.isWeakMap=gP,w.isWeakSet=fP,w.join=C2,w.kebabCase=rR,w.last=Kn,w.lastIndexOf=m2,w.lowerCase=oR,w.lowerFirst=iR,w.lt=pP,w.lte=hP,w.max=$R,w.maxBy=eO,w.mean=tO,w.meanBy=nO,w.min=rO,w.minBy=oO,w.stubArray=bd,w.stubFalse=yd,w.stubObject=WR,w.stubString=UR,w.stubTrue=YR,w.multiply=iO,w.nth=E2,w.noConflict=MR,w.noop=vd,w.now=Xl,w.pad=sR,w.padEnd=aR,w.padStart=lR,w.parseInt=cR,w.random=_P,w.reduce=vS,w.reduceRight=bS,w.repeat=uR,w.replace=AR,w.result=zP,w.round=sO,w.runInContext=W,w.sample=QS,w.size=TS,w.snakeCase=dR,w.some=SS,w.sortedIndex=x2,w.sortedIndexBy=w2,w.sortedIndexOf=T2,w.sortedLastIndex=S2,w.sortedLastIndexBy=P2,w.sortedLastIndexOf=R2,w.startCase=fR,w.startsWith=pR,w.subtract=aO,w.sum=lO,w.sumBy=cO,w.template=hR,w.times=GR,w.toFinite=Hr,w.toInteger=He,w.toLength=am,w.toLower=CR,w.toNumber=qn,w.toSafeInteger=CP,w.toString=tt,w.toUpper=mR,w.trim=ER,w.trimEnd=IR,w.trimStart=BR,w.truncate=vR,w.unescape=bR,w.uniqueId=qR,w.upperCase=yR,w.upperFirst=md,w.each=KC,w.eachRight=qC,w.first=WC,Bd(w,function(){var i={};return vr(w,function(l,d){at.call(w.prototype,d)||(i[d]=l)}),i}(),{chain:!1}),w.VERSION=r,zn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){w[i].placeholder=w}),zn(["drop","take"],function(i,l){Xe.prototype[i]=function(d){d=d===n?1:Ut(He(d),0);var E=this.__filtered__&&!l?new Xe(this):this.clone();return E.__filtered__?E.__takeCount__=Zt(d,E.__takeCount__):E.__views__.push({size:Zt(d,q),type:i+(E.__dir__<0?"Right":"")}),E},Xe.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),zn(["filter","map","takeWhile"],function(i,l){var d=l+1,E=d==X||d==H;Xe.prototype[i]=function(b){var T=this.clone();return T.__iteratees__.push({iteratee:Re(b,3),type:d}),T.__filtered__=T.__filtered__||E,T}}),zn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Xe.prototype[i]=function(){return this[d](1).value()[0]}}),zn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Xe.prototype[i]=function(){return this.__filtered__?new Xe(this):this[d](1)}}),Xe.prototype.compact=function(){return this.filter(pn)},Xe.prototype.find=function(i){return this.filter(i).head()},Xe.prototype.findLast=function(i){return this.reverse().find(i)},Xe.prototype.invokeMap=Ke(function(i,l){return typeof i=="function"?new Xe(this):this.map(function(d){return Zs(d,i,l)})}),Xe.prototype.reject=function(i){return this.filter(_l(Re(i)))},Xe.prototype.slice=function(i,l){i=He(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Xe(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=He(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Xe.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Xe.prototype.toArray=function(){return this.take(q)},vr(Xe.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),E=/^(?:head|last)$/.test(l),b=w[E?"take"+(l=="last"?"Right":""):l],T=E||/^find/.test(l);b&&(w.prototype[l]=function(){var D=this.__wrapped__,N=E?[1]:arguments,U=D instanceof Xe,re=N[0],oe=U||Le(D),ae=function(Je){var _e=b.apply(w,so([Je],N));return E&&me?_e[0]:_e};oe&&d&&typeof re=="function"&&re.length!=1&&(U=oe=!1);var me=this.__chain__,ye=!!this.__actions__.length,Oe=T&&!me,Ye=U&&!ye;if(!T&&oe){D=Ye?D:new Xe(this);var je=i.apply(D,N);return je.__actions__.push({func:ql,args:[ae],thisArg:n}),new Un(je,me)}return Oe&&Ye?i.apply(this,N):(je=this.thru(ae),Oe?E?je.value()[0]:je.value():je)})}),zn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Il[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",E=/^(?:pop|shift)$/.test(i);w.prototype[i]=function(){var b=arguments;if(E&&!this.__chain__){var T=this.value();return l.apply(Le(T)?T:[],b)}return this[d](function(D){return l.apply(Le(D)?D:[],b)})}}),vr(Xe.prototype,function(i,l){var d=w[l];if(d){var E=d.name+"";at.call(Fi,E)||(Fi[E]=[]),Fi[E].push({name:l,func:d})}}),Fi[Hl(n,S).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=bw,Xe.prototype.reverse=yw,Xe.prototype.value=Qw,w.prototype.at=eS,w.prototype.chain=tS,w.prototype.commit=nS,w.prototype.next=rS,w.prototype.plant=iS,w.prototype.reverse=sS,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=aS,w.prototype.first=w.prototype.head,Us&&(w.prototype[Us]=oS),w},Di=nw();Uo?((Uo.exports=Di)._=Di,IA._=Di):Jt._=Di}).call(In)})(zc,zc.exports);var lt=zc.exports;const te=ro(lt),Qr=()=>{throw new Error("Method must be implemented")},$0={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:Qr,setMenuOrientation:Qr,setMiniDrawer:Qr,setContainer:Qr,setMode:Qr,setPresetColor:Qr,setThemeDirection:Qr,setAppDefaultPath:Qr,setDrawerWidth:Qr,setHorizontalMaxItems:Qr},bf=Q.createContext($0),vD=e=>e==="vertical",bD=e=>e==="horizontal",Wc=({initialConfig:e,children:t})=>{const[n,r]=Pu("theme-config",{...$0,...e}),o=I=>r(B=>({...B,fontFamily:I})),s=I=>r(B=>({...B,menuOrientation:I})),a=I=>r(B=>({...B,miniDrawer:I})),c=I=>r(B=>({...B,container:I})),u=I=>r(B=>({...B,mode:I})),A=I=>r(B=>({...B,presetColor:I})),p=I=>r(B=>({...B,themeDirection:I})),h=I=>r(B=>({...B,appDefaultPath:I})),C=I=>r(B=>({...B,drawerWidth:I})),m=I=>r(B=>({...B,horizontalMaxItems:I}));return g.jsx(bf.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:A,setThemeDirection:p,setAppDefaultPath:h,setDrawerWidth:C,setHorizontalMaxItems:m,isVerticalLayout:vD,isHorizontalLayout:bD},children:t})};Wc.propTypes={children:f.node};const aa=()=>{throw new Error("Not implemented")},eB={openItem:["dashboard"],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:aa,openDrawer:aa,activeID:aa,hasError:aa,setMenu:aa},yf=Q.createContext(eB),tB=({menu:e,children:t})=>{const[n,r]=Pu("menu-config",{...eB,menu:e}),o=A=>r(p=>({...p,menu:A})),s=A=>r(p=>({...p,openItem:A})),a=A=>r(p=>({...p,selectedID:A})),c=A=>r(p=>({...p,drawerOpen:A})),u=A=>r(p=>({...p,error:A}));return Q.useEffect(()=>{o(e)},[e]),g.jsx(yf.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})},Qf=Q.createContext(void 0),xf=Q.createContext(void 0),mi=()=>Q.useContext(yf),yD=["e-","entities/"],QD=e=>{let t=e;return yD.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t},xD=(e,t)=>{var n,r;return((n=t.options)==null?void 0:n.group)===e.id||!((r=t.options)!=null&&r.group)&&e.id==="admin"},wD=(e,t)=>{const n=QD(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))},vg=(e,t)=>{let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=vg(o.children,t),n))return n}return n},nB=(e,t,n)=>{let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&xD(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=nB(s.children,t),r))return r}return r},rB=(e,t)=>{let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=rB(o.children,t),n))return n}return n},oB=e=>e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(oB)),e.children&&e.children.length>0):!1,iB=e=>(e.children&&e.children.forEach(t=>{t.parent=e,iB(t)}),e),TD=({userMenu:e,resources:t,permissions:n,translate:r,roles:o})=>{const s=h=>(h.title=r(h.title,{_:h.title}),h.children&&h.children.forEach(C=>s(C)),h),a=Object.keys(t),c=(h,C)=>(h.children&&(h.children=h.children.filter(m=>{if(m.resource===!1){const I=m.roles||[];return!!(I.length===0||I.some(B=>o.includes(B)))}return m.type==="item"?C.includes(m.id):(c(m,C),m.children&&m.children.length>0)})),h),u=lt.cloneDeep(e).map(h=>({type:"group",icon:Ze.AntDesignOutlined,children:[],...h})).map(s).map(h=>c(h,a)),A=Object.values(t).map(h=>{var C;return((C=h.options)==null?void 0:C.group)||"admin"}).filter((h,C,m)=>m.indexOf(h)===C).filter(h=>h!==void 0&&rB(e,h)===null).map(h=>({id:h,title:r(`ra.menu.group.${h}`),type:"group",icon:Ze.AntDesignOutlined,children:[]})),p=[...u,...A];return Object.values(t).forEach(h=>{var O,x,R,P;const C=nB(p,h),m=(O=C==null?void 0:C.children)==null?void 0:O.find(k=>k.id===h.name),I=(x=C==null?void 0:C.children)==null?void 0:x.some(k=>k.id===h.name),B=(m==null?void 0:m.roles)||((R=h.options)==null?void 0:R.roles)||[],v=!B||B.length===0||B.some(k=>o.includes(k));if(!wD(h,n)||!h.hasList||!v){I&&((P=C==null?void 0:C.children)==null?void 0:P.length)>0&&(C.children=C.children.filter(k=>k.id!==h.name));return}C&&(C.children||(C.children=[]))}),p.filter(oB).map(iB)},wf=()=>{const e=j.useResourceDefinitions(),{isLoading:t,data:n}=j.useGetIdentity(),r=n&&n.id>0,{isLoading:o,permissions:s}=j.usePermissions(r),{menu:a}=mi(),c=j.useTranslate(),u=Q.useMemo(()=>{if(t||!n||n===null||(n==null?void 0:n.id)<=0)return null;const p=((n==null?void 0:n.roles)||[]).map(C=>C.id);return TD({resources:e,permissions:s,translate:c,userMenu:a,roles:p})},[t,o,n,e,s,c,a]),A=Q.useMemo(()=>t,[t]);return{menu:u,isLoading:A,getItem:p=>A?!1:vg(u,p),findInMenu:A?()=>{}:vg}},sB=()=>{const e=j.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=wf(),{pathname:o}=Ct.useLocation();return Q.useMemo(()=>{var h;const s=o.split("/").filter(C=>C);let a=lt.cloneDeep(n),c=o,u=r(a,o);if(u||(u=r(a,s[s.length-1]),c=u?u.id:c),!u)for(let C=s.length;C>=0;C--){let m=s.slice(0,C).join("/");if(u=r(a,m),u){c=u.id;break}}const A=(h=u==null?void 0:u.url)==null?void 0:h.split("/");if(s.length>=(A==null?void 0:A.length)){const C=s[s.length-1];if(u){const m=C==="create"||o===u.url?"create":"edit",I=`resources.${c}.breadcrumbs.${m}`,B={id:`${c}-${m}`,type:"item",title:e(I,{_:e(I,{_:I})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(B),u=B}}let p=[];if(u){let C={...u,last:!0};for(;C;)p.push(C),C=C.parent;p=p.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:p}},[t,o,n,r,e])};var aB={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",A="day",p="week",h="month",C="quarter",m="year",I="date",B="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|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,O={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(X){var Z=["th","st","nd","rd"],H=X%100;return"["+X+(Z[(H-20)%10]||Z[H]||Z[0])+"]"}},x=function(X,Z,H){var J=String(X);return!J||J.length>=Z?X:""+Array(Z+1-J.length).join(H)+X},R={s:x,z:function(X){var Z=-X.utcOffset(),H=Math.abs(Z),J=Math.floor(H/60),L=H%60;return(Z<=0?"+":"-")+x(J,2,"0")+":"+x(L,2,"0")},m:function X(Z,H){if(Z.date()<H.date())return-X(H,Z);var J=12*(H.year()-Z.year())+(H.month()-Z.month()),L=Z.clone().add(J,h),_=H-L<0,V=Z.clone().add(J+(_?-1:1),h);return+(-(J+(H-L)/(_?L-V:V-L))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:h,y:m,w:p,d:A,D:I,h:u,m:c,s:a,ms:s,Q:C}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},P="en",k={};k[P]=O;var F="$isDayjsObject",G=function(X){return X instanceof ie||!(!X||!X[F])},K=function X(Z,H,J){var L;if(!Z)return P;if(typeof Z=="string"){var _=Z.toLowerCase();k[_]&&(L=_),H&&(k[_]=H,L=_);var V=Z.split("-");if(!L&&V.length>1)return X(V[0])}else{var q=Z.name;k[q]=Z,L=q}return!J&&L&&(P=L),L||!J&&P},$=function(X,Z){if(G(X))return X.clone();var H=typeof Z=="object"?Z:{};return H.date=X,H.args=arguments,new ie(H)},Y=R;Y.l=K,Y.i=G,Y.w=function(X,Z){return $(X,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var ie=function(){function X(H){this.$L=K(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[F]=!0}var Z=X.prototype;return Z.parse=function(H){this.$d=function(J){var L=J.date,_=J.utc;if(L===null)return new Date(NaN);if(Y.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var V=L.match(v);if(V){var q=V[2]-1||0,le=(V[7]||"0").substring(0,3);return _?new Date(Date.UTC(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)):new Date(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)}}return new Date(L)}(H),this.init()},Z.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},Z.$utils=function(){return Y},Z.isValid=function(){return this.$d.toString()!==B},Z.isSame=function(H,J){var L=$(H);return this.startOf(J)<=L&&L<=this.endOf(J)},Z.isAfter=function(H,J){return $(H)<this.startOf(J)},Z.isBefore=function(H,J){return this.endOf(J)<$(H)},Z.$g=function(H,J,L){return Y.u(H)?this[J]:this.set(L,H)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(H,J){var L=this,_=!!Y.u(J)||J,V=Y.p(H),q=function(Ce,Ie){var xe=Y.w(L.$u?Date.UTC(L.$y,Ie,Ce):new Date(L.$y,Ie,Ce),L);return _?xe:xe.endOf(A)},le=function(Ce,Ie){return Y.w(L.toDate()[Ce].apply(L.toDate("s"),(_?[0,0,0,0]:[23,59,59,999]).slice(Ie)),L)},pe=this.$W,de=this.$M,ge=this.$D,he="set"+(this.$u?"UTC":"");switch(V){case m:return _?q(1,0):q(31,11);case h:return _?q(1,de):q(0,de+1);case p:var Be=this.$locale().weekStart||0,Ee=(pe<Be?pe+7:pe)-Be;return q(_?ge-Ee:ge+(6-Ee),de);case A:case I:return le(he+"Hours",0);case u:return le(he+"Minutes",1);case c:return le(he+"Seconds",2);case a:return le(he+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(H){return this.startOf(H,!1)},Z.$set=function(H,J){var L,_=Y.p(H),V="set"+(this.$u?"UTC":""),q=(L={},L[A]=V+"Date",L[I]=V+"Date",L[h]=V+"Month",L[m]=V+"FullYear",L[u]=V+"Hours",L[c]=V+"Minutes",L[a]=V+"Seconds",L[s]=V+"Milliseconds",L)[_],le=_===A?this.$D+(J-this.$W):J;if(_===h||_===m){var pe=this.clone().set(I,1);pe.$d[q](le),pe.init(),this.$d=pe.set(I,Math.min(this.$D,pe.daysInMonth())).$d}else q&&this.$d[q](le);return this.init(),this},Z.set=function(H,J){return this.clone().$set(H,J)},Z.get=function(H){return this[Y.p(H)]()},Z.add=function(H,J){var L,_=this;H=Number(H);var V=Y.p(J),q=function(de){var ge=$(_);return Y.w(ge.date(ge.date()+Math.round(de*H)),_)};if(V===h)return this.set(h,this.$M+H);if(V===m)return this.set(m,this.$y+H);if(V===A)return q(1);if(V===p)return q(7);var le=(L={},L[c]=r,L[u]=o,L[a]=n,L)[V]||1,pe=this.$d.getTime()+H*le;return Y.w(pe,this)},Z.subtract=function(H,J){return this.add(-1*H,J)},Z.format=function(H){var J=this,L=this.$locale();if(!this.isValid())return L.invalidDate||B;var _=H||"YYYY-MM-DDTHH:mm:ssZ",V=Y.z(this),q=this.$H,le=this.$m,pe=this.$M,de=L.weekdays,ge=L.months,he=L.meridiem,Be=function(Ie,xe,ue,qe){return Ie&&(Ie[xe]||Ie(J,_))||ue[xe].slice(0,qe)},Ee=function(Ie){return Y.s(q%12||12,Ie,"0")},Ce=he||function(Ie,xe,ue){var qe=Ie<12?"AM":"PM";return ue?qe.toLowerCase():qe};return _.replace(S,function(Ie,xe){return xe||function(ue){switch(ue){case"YY":return String(J.$y).slice(-2);case"YYYY":return Y.s(J.$y,4,"0");case"M":return pe+1;case"MM":return Y.s(pe+1,2,"0");case"MMM":return Be(L.monthsShort,pe,ge,3);case"MMMM":return Be(ge,pe);case"D":return J.$D;case"DD":return Y.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Be(L.weekdaysMin,J.$W,de,2);case"ddd":return Be(L.weekdaysShort,J.$W,de,3);case"dddd":return de[J.$W];case"H":return String(q);case"HH":return Y.s(q,2,"0");case"h":return Ee(1);case"hh":return Ee(2);case"a":return Ce(q,le,!0);case"A":return Ce(q,le,!1);case"m":return String(le);case"mm":return Y.s(le,2,"0");case"s":return String(J.$s);case"ss":return Y.s(J.$s,2,"0");case"SSS":return Y.s(J.$ms,3,"0");case"Z":return V}return null}(Ie)||V.replace(":","")})},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(H,J,L){var _,V=this,q=Y.p(J),le=$(H),pe=(le.utcOffset()-this.utcOffset())*r,de=this-le,ge=function(){return Y.m(V,le)};switch(q){case m:_=ge()/12;break;case h:_=ge();break;case C:_=ge()/3;break;case p:_=(de-pe)/6048e5;break;case A:_=(de-pe)/864e5;break;case u:_=de/o;break;case c:_=de/r;break;case a:_=de/n;break;default:_=de}return L?_:Y.a(_)},Z.daysInMonth=function(){return this.endOf(h).$D},Z.$locale=function(){return k[this.$L]},Z.locale=function(H,J){if(!H)return this.$L;var L=this.clone(),_=K(H,J,!0);return _&&(L.$L=_),L},Z.clone=function(){return Y.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},X}(),se=ie.prototype;return $.prototype=se,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",A],["$M",h],["$y",m],["$D",I]].forEach(function(X){se[X[1]]=function(Z){return this.$g(Z,X[0],X[1])}}),$.extend=function(X,Z){return X.$i||(X(Z,ie,$),X.$i=!0),$},$.locale=K,$.isDayjs=G,$.unix=function(X){return $(1e3*X)},$.en=k[P],$.Ls=k,$.p={},$})})(aB);var lB=aB.exports;const Pr=ro(lB),cB=e=>{const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Pr().hour(n).minute(r)};function SD(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}function Tf(e={},t=[],n={}){const{isEmpty:r=te.isEmpty}=n;return!te.some(t,o=>r((e??{})[o.locale]))}function Sf(e,t,n){if(!te.isPlainObject(e)||t===void 0)return;const r=te.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=te.isArray(r.fallbackLocales)&&!te.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=te.chain(a).map(c=>e[String(c)]).reject(te.isUndefined).first().value(),s===void 0&&(s=te.chain(e).values().first().value())}return s}function bi(e){this._maxSize=e,this.clear()}bi.prototype.clear=function(){this._size=0,this._values=Object.create(null)};bi.prototype.get=function(e){return this._values[e]};bi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var PD=/[^.^\]^[]+|(?=\[\]|\.\.)/g,uB=/^\d+$/,RD=/^\d/,OD=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,jD=/^\s*(['"]?)(.*?)(\1)\s*$/,Pf=512,qm=new bi(Pf),Jm=new bi(Pf),Xm=new bi(Pf),gi={Cache:bi,split:bg,normalizePath:Dd,setter:function(e){var t=Dd(e);return Jm.get(e)||Jm.set(e,function(r,o){for(var s=0,a=t.length,c=r;s<a-1;){var u=t[s];if(u==="__proto__"||u==="constructor"||u==="prototype")return r;c=c[t[s++]]}c[t[s]]=o})},getter:function(e,t){var n=Dd(e);return Xm.get(e)||Xm.set(e,function(o){for(var s=0,a=n.length;s<a;)if(o!=null||!t)o=o[n[s++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Rf(n)||uB.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){DD(Array.isArray(e)?e:bg(e),t,n)}};function Dd(e){return qm.get(e)||qm.set(e,bg(e).map(function(t){return t.replace(jD,"$2")}))}function bg(e){return e.match(PD)||[""]}function DD(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(FD(o)&&(o='"'+o+'"'),c=Rf(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Rf(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function MD(e){return e.match(RD)&&!e.match(uB)}function kD(e){return OD.test(e)}function FD(e){return!Rf(e)&&(MD(e)||kD(e))}const LD=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,wu=e=>e.match(LD)||[],Tu=e=>e[0].toUpperCase()+e.slice(1),Of=(e,t)=>wu(e).join(t).toLowerCase(),AB=e=>wu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),ND=e=>Tu(AB(e)),VD=e=>Of(e,"_"),HD=e=>Of(e,"-"),zD=e=>Tu(Of(e," ")),WD=e=>wu(e).map(Tu).join(" ");var Md={words:wu,upperFirst:Tu,camelCase:AB,pascalCase:ND,snakeCase:VD,kebabCase:HD,sentenceCase:zD,titleCase:WD},jf={exports:{}};jf.exports=function(e){return dB(UD(e),e)};jf.exports.array=dB;function dB(e,t){var n=e.length,r=new Array(n),o={},s=n,a=YD(t),c=GD(e);for(t.forEach(function(A){if(!c.has(A[0])||!c.has(A[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)o[s]||u(e[s],s,new Set);return r;function u(A,p,h){if(h.has(A)){var C;try{C=", node was:"+JSON.stringify(A)}catch{C=""}throw new Error("Cyclic dependency"+C)}if(!c.has(A))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(A));if(!o[p]){o[p]=!0;var m=a.get(A)||new Set;if(m=Array.from(m),p=m.length){h.add(A);do{var I=m[--p];u(I,c.get(I),h)}while(p);h.delete(A)}r[--n]=A}}}function UD(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function YD(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function GD(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var KD=jf.exports;const qD=ro(KD),JD=Object.prototype.toString,XD=Error.prototype.toString,ZD=RegExp.prototype.toString,_D=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",$D=/^Symbol\((.*)\)(.*)$/;function eM(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Zm(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return eM(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return _D.call(e).replace($D,"Symbol($1)");const r=JD.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+XD.call(e)+"]":r==="RegExp"?ZD.call(e):null}function So(e,t){let n=Zm(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Zm(this[r],t);return s!==null?s:o},2)}function gB(e){return e==null?[]:[].concat(e)}let fB,pB,hB,tM=/\$\{\s*(\w+)\s*\}/g;fB=Symbol.toStringTag;class _m{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[fB]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],gB(t).forEach(s=>{if(En.isError(s)){this.errors.push(...s.errors);const a=s.inner.length?s.inner:[s];this.inner.push(...a)}else this.errors.push(s)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}pB=Symbol.hasInstance;hB=Symbol.toStringTag;class En extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(tM,(o,s)=>So(n[s])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,s){const a=new _m(t,n,r,o);if(s)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[hB]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,En)}static[pB](t){return _m[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let xr={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${So(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${So(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${So(n,!0)}\``+o}},mn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Io={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},yg={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},nM={isValue:"${path} field must be ${value}"},Qg={noUnknown:"${path} field has unspecified keys: ${unknown}"},rM={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},oM={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${So(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${So(n,!0)}\``}return En.formatError(xr.notType,e)}};Object.assign(Object.create(null),{mixed:xr,string:mn,number:Io,date:yg,object:Qg,array:rM,boolean:nM,tuple:oM});const Df=e=>e&&e.__isYupSchema__;class Uc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:s}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new Uc(t,(c,u)=>{var A;let p=a(...c)?o:s;return(A=p==null?void 0:p(u))!=null?A:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(s=>s.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Df(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const ic={context:"$",value:"."};class yi{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===ic.context,this.isValue=this.key[0]===ic.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?ic.context:this.isValue?ic.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&gi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}yi.prototype.__isYupRef=!0;const qr=e=>e==null;function Ji(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:A,test:p,params:h,message:C,skipAbsent:m}=e;let{parent:I,context:B,abortEarly:v=a.spec.abortEarly,disableStackTrace:S=a.spec.disableStackTrace}=o;function O(Y){return yi.isRef(Y)?Y.getValue(n,I,B):Y}function x(Y={}){const ie=Object.assign({value:n,originalValue:s,label:a.spec.label,path:Y.path||r,spec:a.spec,disableStackTrace:Y.disableStackTrace||S},h,Y.params);for(const X of Object.keys(ie))ie[X]=O(ie[X]);const se=new En(En.formatError(Y.message||C,ie),n,ie.path,Y.type||A,ie.disableStackTrace);return se.params=ie,se}const R=v?c:u;let P={path:r,parent:I,type:A,from:o.from,createError:x,resolve:O,options:o,originalValue:s,schema:a};const k=Y=>{En.isError(Y)?R(Y):Y?u(null):R(x())},F=Y=>{En.isError(Y)?R(Y):c(Y)};if(m&&qr(n))return k(!0);let K;try{var $;if(K=p.call(P,n,P),typeof(($=K)==null?void 0:$.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(K).then(k,F)}}catch(Y){F(Y);return}k(K)}return t.OPTIONS=e,t}function iM(e,t,n,r=n){let o,s,a;return t?(gi.forEach(t,(c,u,A)=>{let p=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let h=e.type==="tuple",C=A?parseInt(p,10):0;if(e.innerType||h){if(h&&!A)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&C>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[C],e=h?e.spec.types[C]:e.innerType}if(!A){if(!e.fields||!e.fields[p])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[p],e=e.fields[p]}s=p,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Yc extends Set{describe(){const t=[];for(const n of this.values())t.push(yi.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Yc(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function is(e,t=new Map){if(Df(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=is(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,is(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(is(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=is(o,t)}else throw Error(`Unable to clone ${e}`);return n}class or{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Yc,this._blacklist=new Yc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(xr.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=is(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(s=>{t.tests.forEach(a=>{s.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,s)=>s.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,s;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(s=t.disableStackTrace)!=null?s:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",s=r._cast(t,n);if(n.assert!==!1&&!r.isType(s)){if(o&&qr(s))return s;let a=So(t),c=So(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
97
|
+
}`;var Ye=Cm(function(){return et(T,ye+"return "+ae).apply(n,D)});if(Ye.source=ae,fd(Ye))throw Ye;return Ye}function CR(i){return tt(i).toLowerCase()}function mR(i){return tt(i).toUpperCase()}function ER(i,l,d){if(i=tt(i),i&&(d||l===n))return xh(i);if(!i||!(l=Tn(l)))return i;var E=ur(i),b=ur(l),T=wh(E,b),D=Th(E,b)+1;return go(E,T,D).join("")}function IR(i,l,d){if(i=tt(i),i&&(d||l===n))return i.slice(0,Ph(i)+1);if(!i||!(l=Tn(l)))return i;var E=ur(i),b=Th(E,ur(l))+1;return go(E,0,b).join("")}function BR(i,l,d){if(i=tt(i),i&&(d||l===n))return i.replace(jr,"");if(!i||!(l=Tn(l)))return i;var E=ur(i),b=wh(E,ur(l));return go(E,b).join("")}function vR(i,l){var d=$,E=Y;if(Qt(l)){var b="separator"in l?l.separator:b;d="length"in l?He(l.length):d,E="omission"in l?Tn(l.omission):E}i=tt(i);var T=i.length;if(Oi(i)){var D=ur(i);T=D.length}if(d>=T)return i;var N=d-ji(E);if(N<1)return E;var U=D?go(D,0,N).join(""):i.slice(0,N);if(b===n)return U+E;if(D&&(N+=U.length-N),pd(b)){if(i.slice(N).search(b)){var re,oe=U;for(b.global||(b=RA(b.source,tt(zs.exec(b))+"g")),b.lastIndex=0;re=b.exec(oe);)var ae=re.index;U=U.slice(0,ae===n?N:ae)}}else if(i.indexOf(Tn(b),N)!=N){var me=U.lastIndexOf(b);me>-1&&(U=U.slice(0,me))}return U+E}function bR(i){return i=tt(i),i&&ll.test(i)?i.replace(al,_1):i}var yR=Vi(function(i,l,d){return i+(d?" ":"")+l.toUpperCase()}),md=mC("toUpperCase");function hm(i,l,d){return i=tt(i),l=d?n:l,l===n?K1(i)?tw(i):L1(i):i.match(l)||[]}var Cm=Ke(function(i,l){try{return xn(i,n,l)}catch(d){return fd(d)?d:new Fe(d)}}),QR=Lr(function(i,l){return zn(l,function(d){d=yr(d),kr(i,d,dd(i[d],i))}),i});function xR(i){var l=i==null?0:i.length,d=Re();return i=l?It(i,function(E){if(typeof E[1]!="function")throw new Wn(a);return[d(E[0]),E[1]]}):[],Ke(function(E){for(var b=-1;++b<l;){var T=i[b];if(xn(T[0],this,E))return xn(T[1],this,E)}})}function wR(i){return _w(Yn(i,h))}function Ed(i){return function(){return i}}function TR(i,l){return i==null||i!==i?l:i}var SR=IC(),PR=IC(!0);function pn(i){return i}function Id(i){return Xh(typeof i=="function"?i:Yn(i,h))}function RR(i){return _h(Yn(i,h))}function OR(i,l){return $h(i,Yn(l,h))}var jR=Ke(function(i,l){return function(d){return Zs(d,i,l)}}),DR=Ke(function(i,l){return function(d){return Zs(i,d,l)}});function Bd(i,l,d){var E=Gt(l),b=kl(l,E);d==null&&!(Qt(l)&&(b.length||!E.length))&&(d=l,l=i,i=this,b=kl(l,Gt(l)));var T=!(Qt(d)&&"chain"in d)||!!d.chain,D=Vr(i);return zn(b,function(N){var U=l[N];i[N]=U,D&&(i.prototype[N]=function(){var re=this.__chain__;if(T||re){var oe=i(this.__wrapped__),ae=oe.__actions__=dn(this.__actions__);return ae.push({func:U,args:arguments,thisArg:i}),oe.__chain__=re,oe}return U.apply(i,so([this.value()],arguments))})}),i}function MR(){return Jt._===this&&(Jt._=aw),this}function vd(){}function kR(i){return i=He(i),Ke(function(l){return eC(l,i)})}var FR=$A(It),LR=$A(Bh),NR=$A(yA);function mm(i){return sd(i)?QA(yr(i)):pT(i)}function VR(i){return function(l){return i==null?n:Jo(i,l)}}var HR=vC(),zR=vC(!0);function bd(){return[]}function yd(){return!1}function WR(){return{}}function UR(){return""}function YR(){return!0}function GR(i,l){if(i=He(i),i<1||i>L)return[];var d=q,E=Zt(i,q);l=Re(l),i-=q;for(var b=TA(E,l);++d<i;)l(d);return b}function KR(i){return Le(i)?It(i,yr):Sn(i)?[i]:dn(LC(tt(i)))}function qR(i){var l=++iw;return tt(i)+l}var JR=zl(function(i,l){return i+l},0),XR=ed("ceil"),ZR=zl(function(i,l){return i/l},1),_R=ed("floor");function $R(i){return i&&i.length?Ml(i,pn,NA):n}function eO(i,l){return i&&i.length?Ml(i,Re(l,2),NA):n}function tO(i){return yh(i,pn)}function nO(i,l){return yh(i,Re(l,2))}function rO(i){return i&&i.length?Ml(i,pn,WA):n}function oO(i,l){return i&&i.length?Ml(i,Re(l,2),WA):n}var iO=zl(function(i,l){return i*l},1),sO=ed("round"),aO=zl(function(i,l){return i-l},0);function lO(i){return i&&i.length?wA(i,pn):0}function cO(i,l){return i&&i.length?wA(i,Re(l,2)):0}return w.after=RS,w.ary=JC,w.assign=mP,w.assignIn=cm,w.assignInWith=tc,w.assignWith=EP,w.at=IP,w.before=XC,w.bind=dd,w.bindAll=QR,w.bindKey=ZC,w.castArray=WS,w.chain=GC,w.chunk=_T,w.compact=$T,w.concat=e2,w.cond=xR,w.conforms=wR,w.constant=Ed,w.countBy=lS,w.create=BP,w.curry=_C,w.curryRight=$C,w.debounce=em,w.defaults=vP,w.defaultsDeep=bP,w.defer=OS,w.delay=jS,w.difference=t2,w.differenceBy=n2,w.differenceWith=r2,w.drop=o2,w.dropRight=i2,w.dropRightWhile=s2,w.dropWhile=a2,w.fill=l2,w.filter=uS,w.flatMap=gS,w.flatMapDeep=fS,w.flatMapDepth=pS,w.flatten=zC,w.flattenDeep=c2,w.flattenDepth=u2,w.flip=DS,w.flow=SR,w.flowRight=PR,w.fromPairs=A2,w.functions=PP,w.functionsIn=RP,w.groupBy=hS,w.initial=g2,w.intersection=f2,w.intersectionBy=p2,w.intersectionWith=h2,w.invert=jP,w.invertBy=DP,w.invokeMap=mS,w.iteratee=Id,w.keyBy=ES,w.keys=Gt,w.keysIn=fn,w.map=Jl,w.mapKeys=kP,w.mapValues=FP,w.matches=RR,w.matchesProperty=OR,w.memoize=Zl,w.merge=LP,w.mergeWith=um,w.method=jR,w.methodOf=DR,w.mixin=Bd,w.negate=_l,w.nthArg=kR,w.omit=NP,w.omitBy=VP,w.once=MS,w.orderBy=IS,w.over=FR,w.overArgs=kS,w.overEvery=LR,w.overSome=NR,w.partial=gd,w.partialRight=tm,w.partition=BS,w.pick=HP,w.pickBy=Am,w.property=mm,w.propertyOf=VR,w.pull=I2,w.pullAll=UC,w.pullAllBy=B2,w.pullAllWith=v2,w.pullAt=b2,w.range=HR,w.rangeRight=zR,w.rearg=FS,w.reject=yS,w.remove=y2,w.rest=LS,w.reverse=ud,w.sampleSize=xS,w.set=WP,w.setWith=UP,w.shuffle=wS,w.slice=Q2,w.sortBy=PS,w.sortedUniq=O2,w.sortedUniqBy=j2,w.split=gR,w.spread=NS,w.tail=D2,w.take=M2,w.takeRight=k2,w.takeRightWhile=F2,w.takeWhile=L2,w.tap=$2,w.throttle=VS,w.thru=ql,w.toArray=sm,w.toPairs=dm,w.toPairsIn=gm,w.toPath=KR,w.toPlainObject=lm,w.transform=YP,w.unary=HS,w.union=N2,w.unionBy=V2,w.unionWith=H2,w.uniq=z2,w.uniqBy=W2,w.uniqWith=U2,w.unset=GP,w.unzip=Ad,w.unzipWith=YC,w.update=KP,w.updateWith=qP,w.values=Wi,w.valuesIn=JP,w.without=Y2,w.words=hm,w.wrap=zS,w.xor=G2,w.xorBy=K2,w.xorWith=q2,w.zip=J2,w.zipObject=X2,w.zipObjectDeep=Z2,w.zipWith=_2,w.entries=dm,w.entriesIn=gm,w.extend=cm,w.extendWith=tc,Bd(w,w),w.add=JR,w.attempt=Cm,w.camelCase=$P,w.capitalize=fm,w.ceil=XR,w.clamp=XP,w.clone=US,w.cloneDeep=GS,w.cloneDeepWith=KS,w.cloneWith=YS,w.conformsTo=qS,w.deburr=pm,w.defaultTo=TR,w.divide=ZR,w.endsWith=eR,w.eq=dr,w.escape=tR,w.escapeRegExp=nR,w.every=cS,w.find=AS,w.findIndex=VC,w.findKey=yP,w.findLast=dS,w.findLastIndex=HC,w.findLastKey=QP,w.floor=_R,w.forEach=KC,w.forEachRight=qC,w.forIn=xP,w.forInRight=wP,w.forOwn=TP,w.forOwnRight=SP,w.get=hd,w.gt=JS,w.gte=XS,w.has=OP,w.hasIn=Cd,w.head=WC,w.identity=pn,w.includes=CS,w.indexOf=d2,w.inRange=ZP,w.invoke=MP,w.isArguments=_o,w.isArray=Le,w.isArrayBuffer=ZS,w.isArrayLike=gn,w.isArrayLikeObject=Ot,w.isBoolean=_S,w.isBuffer=fo,w.isDate=$S,w.isElement=eP,w.isEmpty=tP,w.isEqual=nP,w.isEqualWith=rP,w.isError=fd,w.isFinite=oP,w.isFunction=Vr,w.isInteger=nm,w.isLength=$l,w.isMap=rm,w.isMatch=iP,w.isMatchWith=sP,w.isNaN=aP,w.isNative=lP,w.isNil=uP,w.isNull=cP,w.isNumber=om,w.isObject=Qt,w.isObjectLike=wt,w.isPlainObject=ra,w.isRegExp=pd,w.isSafeInteger=AP,w.isSet=im,w.isString=ec,w.isSymbol=Sn,w.isTypedArray=zi,w.isUndefined=dP,w.isWeakMap=gP,w.isWeakSet=fP,w.join=C2,w.kebabCase=rR,w.last=Kn,w.lastIndexOf=m2,w.lowerCase=oR,w.lowerFirst=iR,w.lt=pP,w.lte=hP,w.max=$R,w.maxBy=eO,w.mean=tO,w.meanBy=nO,w.min=rO,w.minBy=oO,w.stubArray=bd,w.stubFalse=yd,w.stubObject=WR,w.stubString=UR,w.stubTrue=YR,w.multiply=iO,w.nth=E2,w.noConflict=MR,w.noop=vd,w.now=Xl,w.pad=sR,w.padEnd=aR,w.padStart=lR,w.parseInt=cR,w.random=_P,w.reduce=vS,w.reduceRight=bS,w.repeat=uR,w.replace=AR,w.result=zP,w.round=sO,w.runInContext=W,w.sample=QS,w.size=TS,w.snakeCase=dR,w.some=SS,w.sortedIndex=x2,w.sortedIndexBy=w2,w.sortedIndexOf=T2,w.sortedLastIndex=S2,w.sortedLastIndexBy=P2,w.sortedLastIndexOf=R2,w.startCase=fR,w.startsWith=pR,w.subtract=aO,w.sum=lO,w.sumBy=cO,w.template=hR,w.times=GR,w.toFinite=Hr,w.toInteger=He,w.toLength=am,w.toLower=CR,w.toNumber=qn,w.toSafeInteger=CP,w.toString=tt,w.toUpper=mR,w.trim=ER,w.trimEnd=IR,w.trimStart=BR,w.truncate=vR,w.unescape=bR,w.uniqueId=qR,w.upperCase=yR,w.upperFirst=md,w.each=KC,w.eachRight=qC,w.first=WC,Bd(w,function(){var i={};return vr(w,function(l,d){at.call(w.prototype,d)||(i[d]=l)}),i}(),{chain:!1}),w.VERSION=r,zn(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){w[i].placeholder=w}),zn(["drop","take"],function(i,l){Xe.prototype[i]=function(d){d=d===n?1:Ut(He(d),0);var E=this.__filtered__&&!l?new Xe(this):this.clone();return E.__filtered__?E.__takeCount__=Zt(d,E.__takeCount__):E.__views__.push({size:Zt(d,q),type:i+(E.__dir__<0?"Right":"")}),E},Xe.prototype[i+"Right"]=function(d){return this.reverse()[i](d).reverse()}}),zn(["filter","map","takeWhile"],function(i,l){var d=l+1,E=d==X||d==H;Xe.prototype[i]=function(b){var T=this.clone();return T.__iteratees__.push({iteratee:Re(b,3),type:d}),T.__filtered__=T.__filtered__||E,T}}),zn(["head","last"],function(i,l){var d="take"+(l?"Right":"");Xe.prototype[i]=function(){return this[d](1).value()[0]}}),zn(["initial","tail"],function(i,l){var d="drop"+(l?"":"Right");Xe.prototype[i]=function(){return this.__filtered__?new Xe(this):this[d](1)}}),Xe.prototype.compact=function(){return this.filter(pn)},Xe.prototype.find=function(i){return this.filter(i).head()},Xe.prototype.findLast=function(i){return this.reverse().find(i)},Xe.prototype.invokeMap=Ke(function(i,l){return typeof i=="function"?new Xe(this):this.map(function(d){return Zs(d,i,l)})}),Xe.prototype.reject=function(i){return this.filter(_l(Re(i)))},Xe.prototype.slice=function(i,l){i=He(i);var d=this;return d.__filtered__&&(i>0||l<0)?new Xe(d):(i<0?d=d.takeRight(-i):i&&(d=d.drop(i)),l!==n&&(l=He(l),d=l<0?d.dropRight(-l):d.take(l-i)),d)},Xe.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Xe.prototype.toArray=function(){return this.take(q)},vr(Xe.prototype,function(i,l){var d=/^(?:filter|find|map|reject)|While$/.test(l),E=/^(?:head|last)$/.test(l),b=w[E?"take"+(l=="last"?"Right":""):l],T=E||/^find/.test(l);b&&(w.prototype[l]=function(){var D=this.__wrapped__,N=E?[1]:arguments,U=D instanceof Xe,re=N[0],oe=U||Le(D),ae=function(Je){var _e=b.apply(w,so([Je],N));return E&&me?_e[0]:_e};oe&&d&&typeof re=="function"&&re.length!=1&&(U=oe=!1);var me=this.__chain__,ye=!!this.__actions__.length,Oe=T&&!me,Ye=U&&!ye;if(!T&&oe){D=Ye?D:new Xe(this);var je=i.apply(D,N);return je.__actions__.push({func:ql,args:[ae],thisArg:n}),new Un(je,me)}return Oe&&Ye?i.apply(this,N):(je=this.thru(ae),Oe?E?je.value()[0]:je.value():je)})}),zn(["pop","push","shift","sort","splice","unshift"],function(i){var l=Il[i],d=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",E=/^(?:pop|shift)$/.test(i);w.prototype[i]=function(){var b=arguments;if(E&&!this.__chain__){var T=this.value();return l.apply(Le(T)?T:[],b)}return this[d](function(D){return l.apply(Le(D)?D:[],b)})}}),vr(Xe.prototype,function(i,l){var d=w[l];if(d){var E=d.name+"";at.call(Fi,E)||(Fi[E]=[]),Fi[E].push({name:l,func:d})}}),Fi[Hl(n,S).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=bw,Xe.prototype.reverse=yw,Xe.prototype.value=Qw,w.prototype.at=eS,w.prototype.chain=tS,w.prototype.commit=nS,w.prototype.next=rS,w.prototype.plant=iS,w.prototype.reverse=sS,w.prototype.toJSON=w.prototype.valueOf=w.prototype.value=aS,w.prototype.first=w.prototype.head,Us&&(w.prototype[Us]=oS),w},Di=nw();Uo?((Uo.exports=Di)._=Di,IA._=Di):Jt._=Di}).call(In)})(zc,zc.exports);var lt=zc.exports;const te=ro(lt),Qr=()=>{throw new Error("Method must be implemented")},$0={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:Qr,setMenuOrientation:Qr,setMiniDrawer:Qr,setContainer:Qr,setMode:Qr,setPresetColor:Qr,setThemeDirection:Qr,setAppDefaultPath:Qr,setDrawerWidth:Qr,setHorizontalMaxItems:Qr},bf=Q.createContext($0),vD=e=>e==="vertical",bD=e=>e==="horizontal",Wc=({initialConfig:e,children:t})=>{const[n,r]=Pu("theme-config",{...$0,...e}),o=I=>r(B=>({...B,fontFamily:I})),s=I=>r(B=>({...B,menuOrientation:I})),a=I=>r(B=>({...B,miniDrawer:I})),c=I=>r(B=>({...B,container:I})),u=I=>r(B=>({...B,mode:I})),A=I=>r(B=>({...B,presetColor:I})),p=I=>r(B=>({...B,themeDirection:I})),h=I=>r(B=>({...B,appDefaultPath:I})),C=I=>r(B=>({...B,drawerWidth:I})),m=I=>r(B=>({...B,horizontalMaxItems:I}));return g.jsx(bf.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:A,setThemeDirection:p,setAppDefaultPath:h,setDrawerWidth:C,setHorizontalMaxItems:m,isVerticalLayout:vD,isHorizontalLayout:bD},children:t})};Wc.propTypes={children:f.node};const aa=()=>{throw new Error("Not implemented")},eB={openItem:["dashboard"],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:aa,openDrawer:aa,activeID:aa,hasError:aa,setMenu:aa},yf=Q.createContext(eB),tB=({menu:e,children:t})=>{const[n,r]=Pu("menu-config",{...eB,menu:e}),o=A=>r(p=>({...p,menu:A})),s=A=>r(p=>({...p,openItem:A})),a=A=>r(p=>({...p,selectedID:A})),c=A=>r(p=>({...p,drawerOpen:A})),u=A=>r(p=>({...p,error:A}));return Q.useEffect(()=>{o(e)},[e]),g.jsx(yf.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})},Qf=Q.createContext(void 0),xf=Q.createContext(void 0),mi=()=>Q.useContext(yf),yD=["e-","entities/"],QD=e=>{let t=e;return yD.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t},xD=(e,t)=>{var n,r;return((n=t.options)==null?void 0:n.group)===e.id||!((r=t.options)!=null&&r.group)&&e.id==="admin"},wD=(e,t)=>{const n=QD(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))},vg=(e,t)=>{let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=vg(o.children,t),n))return n}return n},nB=(e,t,n)=>{let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&xD(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=nB(s.children,t),r))return r}return r},rB=(e,t)=>{let n=e.find(r=>r.id===t);if(!n)for(let r=0;r<e.length;r++){const o=e[r];if(o.children&&(n=rB(o.children,t),n))return n}return n},oB=e=>e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(oB)),e.children&&e.children.length>0):!1,iB=e=>(e.children&&e.children.forEach(t=>{t.parent=e,iB(t)}),e),TD=({userMenu:e,resources:t,permissions:n,translate:r,roles:o})=>{const s=h=>(h.title=r(h.title,{_:h.title}),h.children&&h.children.forEach(C=>s(C)),h),a=Object.keys(t),c=(h,C)=>(h.children&&(h.children=h.children.filter(m=>{if(m.resource===!1){const I=m.roles||[];return!!(I.length===0||I.some(B=>o.includes(B)))}return m.type==="item"?C.includes(m.id):(c(m,C),m.children&&m.children.length>0)})),h),u=lt.cloneDeep(e).map(h=>({type:"group",icon:Ze.AntDesignOutlined,children:[],...h})).map(s).map(h=>c(h,a)),A=Object.values(t).map(h=>{var C;return((C=h.options)==null?void 0:C.group)||"admin"}).filter((h,C,m)=>m.indexOf(h)===C).filter(h=>h!==void 0&&rB(e,h)===null).map(h=>({id:h,title:r(`ra.menu.group.${h}`),type:"group",icon:Ze.AntDesignOutlined,children:[]})),p=[...u,...A];return Object.values(t).forEach(h=>{var O,x,R,P;const C=nB(p,h),m=(O=C==null?void 0:C.children)==null?void 0:O.find(k=>k.id===h.name),I=(x=C==null?void 0:C.children)==null?void 0:x.some(k=>k.id===h.name),B=(m==null?void 0:m.roles)||((R=h.options)==null?void 0:R.roles)||[],v=!B||B.length===0||B.some(k=>o.includes(k));if(!wD(h,n)||!h.hasList||!v){I&&((P=C==null?void 0:C.children)==null?void 0:P.length)>0&&(C.children=C.children.filter(k=>k.id!==h.name));return}C&&(C.children||(C.children=[]))}),p.filter(oB).map(iB)},wf=()=>{const e=j.useResourceDefinitions(),{isLoading:t,data:n}=j.useGetIdentity(),r=n&&n.id>0,{isLoading:o,permissions:s}=j.usePermissions(r),{menu:a}=mi(),c=j.useTranslate(),u=Q.useMemo(()=>{if(t||!n||n===null||(n==null?void 0:n.id)<=0)return null;const p=((n==null?void 0:n.roles)||[]).map(C=>C.id);return TD({resources:e,permissions:s,translate:c,userMenu:a,roles:p})},[t,o,n,e,s,c,a]),A=Q.useMemo(()=>t,[t]);return{menu:u,isLoading:A,getItem:p=>A?!1:vg(u,p),findInMenu:A?()=>{}:vg}},sB=()=>{const e=j.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=wf(),{pathname:o}=Ct.useLocation();return Q.useMemo(()=>{var h;const s=o.split("/").filter(C=>C);let a=lt.cloneDeep(n),c=o,u=r(a,o);if(u||(u=r(a,s[s.length-1]),c=u?u.id:c),!u)for(let C=s.length;C>=0;C--){let m=s.slice(0,C).join("/");if(u=r(a,m),u){c=u.id;break}}const A=(h=u==null?void 0:u.url)==null?void 0:h.split("/");if(s.length>=(A==null?void 0:A.length)){const C=s[s.length-1];if(u){const m=C==="create"||o===u.url?"create":"edit",I=`resources.${c}.breadcrumbs.${m}`,B={id:`${c}-${m}`,type:"item",title:e(I,{_:e(I,{_:I})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(B),u=B}}let p=[];if(u){let C={...u,last:!0};for(;C;)p.push(C),C=C.parent;p=p.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:p}},[t,o,n,r,e])};function bi(e){this._maxSize=e,this.clear()}bi.prototype.clear=function(){this._size=0,this._values=Object.create(null)};bi.prototype.get=function(e){return this._values[e]};bi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var SD=/[^.^\]^[]+|(?=\[\]|\.\.)/g,aB=/^\d+$/,PD=/^\d/,RD=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,OD=/^\s*(['"]?)(.*?)(\1)\s*$/,Tf=512,qm=new bi(Tf),Jm=new bi(Tf),Xm=new bi(Tf),gi={Cache:bi,split:bg,normalizePath:Dd,setter:function(e){var t=Dd(e);return Jm.get(e)||Jm.set(e,function(r,o){for(var s=0,a=t.length,c=r;s<a-1;){var u=t[s];if(u==="__proto__"||u==="constructor"||u==="prototype")return r;c=c[t[s++]]}c[t[s]]=o})},getter:function(e,t){var n=Dd(e);return Xm.get(e)||Xm.set(e,function(o){for(var s=0,a=n.length;s<a;)if(o!=null||!t)o=o[n[s++]];else return;return o})},join:function(e){return e.reduce(function(t,n){return t+(Sf(n)||aB.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){jD(Array.isArray(e)?e:bg(e),t,n)}};function Dd(e){return qm.get(e)||qm.set(e,bg(e).map(function(t){return t.replace(OD,"$2")}))}function bg(e){return e.match(SD)||[""]}function jD(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(kD(o)&&(o='"'+o+'"'),c=Sf(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Sf(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function DD(e){return e.match(PD)&&!e.match(aB)}function MD(e){return RD.test(e)}function kD(e){return!Sf(e)&&(DD(e)||MD(e))}const FD=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['’](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['’](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['’](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,wu=e=>e.match(FD)||[],Tu=e=>e[0].toUpperCase()+e.slice(1),Pf=(e,t)=>wu(e).join(t).toLowerCase(),lB=e=>wu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,""),LD=e=>Tu(lB(e)),ND=e=>Pf(e,"_"),VD=e=>Pf(e,"-"),HD=e=>Tu(Pf(e," ")),zD=e=>wu(e).map(Tu).join(" ");var Md={words:wu,upperFirst:Tu,camelCase:lB,pascalCase:LD,snakeCase:ND,kebabCase:VD,sentenceCase:HD,titleCase:zD},Rf={exports:{}};Rf.exports=function(e){return cB(WD(e),e)};Rf.exports.array=cB;function cB(e,t){var n=e.length,r=new Array(n),o={},s=n,a=UD(t),c=YD(e);for(t.forEach(function(A){if(!c.has(A[0])||!c.has(A[1]))throw new Error("Unknown node. There is an unknown node in the supplied edges.")});s--;)o[s]||u(e[s],s,new Set);return r;function u(A,p,h){if(h.has(A)){var C;try{C=", node was:"+JSON.stringify(A)}catch{C=""}throw new Error("Cyclic dependency"+C)}if(!c.has(A))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(A));if(!o[p]){o[p]=!0;var m=a.get(A)||new Set;if(m=Array.from(m),p=m.length){h.add(A);do{var I=m[--p];u(I,c.get(I),h)}while(p);h.delete(A)}r[--n]=A}}}function WD(e){for(var t=new Set,n=0,r=e.length;n<r;n++){var o=e[n];t.add(o[0]),t.add(o[1])}return Array.from(t)}function UD(e){for(var t=new Map,n=0,r=e.length;n<r;n++){var o=e[n];t.has(o[0])||t.set(o[0],new Set),t.has(o[1])||t.set(o[1],new Set),t.get(o[0]).add(o[1])}return t}function YD(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var GD=Rf.exports;const KD=ro(GD),qD=Object.prototype.toString,JD=Error.prototype.toString,XD=RegExp.prototype.toString,ZD=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",_D=/^Symbol\((.*)\)(.*)$/;function $D(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Zm(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return $D(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return ZD.call(e).replace(_D,"Symbol($1)");const r=qD.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+JD.call(e)+"]":r==="RegExp"?XD.call(e):null}function So(e,t){let n=Zm(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Zm(this[r],t);return s!==null?s:o},2)}function uB(e){return e==null?[]:[].concat(e)}let AB,dB,gB,eM=/\$\{\s*(\w+)\s*\}/g;AB=Symbol.toStringTag;class _m{constructor(t,n,r,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[AB]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],uB(t).forEach(s=>{if(En.isError(s)){this.errors.push(...s.errors);const a=s.inner.length?s.inner:[s];this.inner.push(...a)}else this.errors.push(s)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}dB=Symbol.hasInstance;gB=Symbol.toStringTag;class En extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(eM,(o,s)=>So(n[s])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,o,s){const a=new _m(t,n,r,o);if(s)return a;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[gB]="Error",this.name=a.name,this.message=a.message,this.type=a.type,this.value=a.value,this.path=a.path,this.errors=a.errors,this.inner=a.inner,Error.captureStackTrace&&Error.captureStackTrace(this,En)}static[dB](t){return _m[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let xr={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const o=r!=null&&r!==n?` (cast from the value \`${So(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${So(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${So(n,!0)}\``+o}},mn={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Io={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},yg={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},tM={isValue:"${path} field must be ${value}"},Qg={noUnknown:"${path} field has unspecified keys: ${unknown}"},nM={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},rM={notType:e=>{const{path:t,value:n,spec:r}=e,o=r.types.length;if(Array.isArray(n)){if(n.length<o)return`${t} tuple value has too few items, expected a length of ${o} but got ${n.length} for value: \`${So(n,!0)}\``;if(n.length>o)return`${t} tuple value has too many items, expected a length of ${o} but got ${n.length} for value: \`${So(n,!0)}\``}return En.formatError(xr.notType,e)}};Object.assign(Object.create(null),{mixed:xr,string:mn,number:Io,date:yg,object:Qg,array:nM,boolean:tM,tuple:rM});const Of=e=>e&&e.__isYupSchema__;class Uc{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:o,otherwise:s}=n,a=typeof r=="function"?r:(...c)=>c.every(u=>u===r);return new Uc(t,(c,u)=>{var A;let p=a(...c)?o:s;return(A=p==null?void 0:p(u))!=null?A:u})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(s=>s.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),o=this.fn(r,t,n);if(o===void 0||o===t)return t;if(!Of(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const ic={context:"$",value:"."};class yi{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===ic.context,this.isValue=this.key[0]===ic.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?ic.context:this.isValue?ic.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&gi.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let o=this.isContext?r:this.isValue?t:n;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}yi.prototype.__isYupRef=!0;const qr=e=>e==null;function Ji(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:A,test:p,params:h,message:C,skipAbsent:m}=e;let{parent:I,context:B,abortEarly:v=a.spec.abortEarly,disableStackTrace:S=a.spec.disableStackTrace}=o;function O(Y){return yi.isRef(Y)?Y.getValue(n,I,B):Y}function x(Y={}){const ie=Object.assign({value:n,originalValue:s,label:a.spec.label,path:Y.path||r,spec:a.spec,disableStackTrace:Y.disableStackTrace||S},h,Y.params);for(const X of Object.keys(ie))ie[X]=O(ie[X]);const se=new En(En.formatError(Y.message||C,ie),n,ie.path,Y.type||A,ie.disableStackTrace);return se.params=ie,se}const R=v?c:u;let P={path:r,parent:I,type:A,from:o.from,createError:x,resolve:O,options:o,originalValue:s,schema:a};const k=Y=>{En.isError(Y)?R(Y):Y?u(null):R(x())},F=Y=>{En.isError(Y)?R(Y):c(Y)};if(m&&qr(n))return k(!0);let K;try{var $;if(K=p.call(P,n,P),typeof(($=K)==null?void 0:$.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(K).then(k,F)}}catch(Y){F(Y);return}k(K)}return t.OPTIONS=e,t}function oM(e,t,n,r=n){let o,s,a;return t?(gi.forEach(t,(c,u,A)=>{let p=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let h=e.type==="tuple",C=A?parseInt(p,10):0;if(e.innerType||h){if(h&&!A)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${a}" must contain an index to the tuple element, e.g. "${a}[0]"`);if(n&&C>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${c}, in the path: ${t}. because there is no value at that index. `);o=n,n=n&&n[C],e=h?e.spec.types[C]:e.innerType}if(!A){if(!e.fields||!e.fields[p])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${a} which is a type: "${e.type}")`);o=n,n=n&&n[p],e=e.fields[p]}s=p,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Yc extends Set{describe(){const t=[];for(const n of this.values())t.push(yi.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new Yc(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function is(e,t=new Map){if(Of(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r<e.length;r++)n[r]=is(e[r],t)}else if(e instanceof Map){n=new Map,t.set(e,n);for(const[r,o]of e.entries())n.set(r,is(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(is(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=is(o,t)}else throw Error(`Unable to clone ${e}`);return n}class or{constructor(t){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new Yc,this._blacklist=new Yc,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(xr.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=is(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const o=Object.assign({},n.spec,r.spec);return r.spec=o,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(s=>{t.tests.forEach(a=>{s.test(a.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((o,s)=>s.resolve(o,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,o,s;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(o=t.recursive)!=null?o:this.spec.recursive,disableStackTrace:(s=t.disableStackTrace)!=null?s:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),o=n.assert==="ignore-optionality",s=r._cast(t,n);if(n.assert!==!1&&!r.isType(s)){if(o&&qr(s))return s;let a=So(t),c=So(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
98
98
|
|
|
99
99
|
attempted value: ${a}
|
|
100
|
-
`+(c!==a?`result of cast: ${c}`:""))}return s}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,s)=>s.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:s,originalValue:a=t,strict:c=this.spec.strict}=n,u=t;c||(u=this._cast(u,Object.assign({assert:!1},n)));let A=[];for(let p of Object.values(this.internalTests))p&&A.push(p);this.runTests({path:s,value:u,originalValue:a,options:n,tests:A},r,p=>{if(p.length)return o(p,u);this.runTests({path:s,value:u,originalValue:a,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:s,value:a,originalValue:c,path:u,options:A}=t,p=B=>{o||(o=!0,n(B,a))},h=B=>{o||(o=!0,r(B,a))},C=s.length,m=[];if(!C)return h([]);let I={value:a,originalValue:c,path:u,options:A,schema:this};for(let B=0;B<s.length;B++){const v=s[B];v(I,p,function(O){O&&(Array.isArray(O)?m.push(...O):m.push(O)),--C<=0&&h(m)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:s,options:a}){const c=t??n;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let A=r[c];const p=Object.assign({},a,{strict:!0,parent:r,value:A,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(h,C,m)=>this.resolve(p)._validate(A,p,C,m)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((a,c)=>o._validate(t,n,(u,A)=>{En.isError(u)&&(u.value=A),c(u)},(u,A)=>{u.length?c(new En(u,A,void 0,void 0,s)):a(A)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s,a=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(c,u)=>{throw En.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new En(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(En.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(En.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):is(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=Ji({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=Ji({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=xr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=xr.notNull){return this.nullability(!1,t)}required(t=xr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=xr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Ji(n),s=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(s||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=gB(t).map(s=>new yi(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Uc(o,n):Uc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Ji({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=xr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Ji({message:n,name:"oneOf",skipAbsent:!0,test(o){let s=this.schema._whitelist,a=s.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(s).join(", "),resolved:a}})}}),r}notOneOf(t,n=xr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Ji({message:n,name:"notOneOf",test(o){let s=this.schema._blacklist,a=s.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(s).join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:s,nullable:a}=n.spec;return{meta:o,label:r,optional:s,nullable:a,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,A,p)=>p.findIndex(h=>h.name===u.name)===A)}}}or.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])or.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=iM(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])or.prototype[e]=or.prototype.oneOf;for(const e of["not","nope"])or.prototype[e]=or.prototype.notOneOf;const sM=()=>!0;function CB(e){return new mB(e)}class mB extends or{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:sM},t))}}CB.prototype=mB.prototype;const aM=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function lM(e){const t=xg(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function xg(e){var t,n;const r=aM.exec(e);return r?{year:Ur(r[1]),month:Ur(r[2],1)-1,day:Ur(r[3],1),hour:Ur(r[4]),minute:Ur(r[5]),second:Ur(r[6]),millisecond:r[7]?Ur(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Ur(r[10]),minuteOffset:Ur(r[11])}:null}function Ur(e,t=0){return Number(e)||t}let cM=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,uM=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\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0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,dM="^\\d{4}-\\d{2}-\\d{2}",gM="\\d{2}:\\d{2}:\\d{2}",fM="(([+-]\\d{2}(:?\\d{2})?)|Z)",pM=new RegExp(`${dM}T${gM}(\\.\\d+)?${fM}$`),hM=e=>qr(e)||e===e.trim(),CM={}.toString();function Jr(){return new EB}class EB extends or{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===CM?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||xr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=mn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=mn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=mn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,s;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:s}=n:o=n),this.test({name:s||"matches",message:o||mn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=mn.email){return this.matches(cM,{name:"email",message:t,excludeEmptyString:!0})}url(t=mn.url){return this.matches(uM,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=mn.uuid){return this.matches(AM,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(pM,{name:"datetime",message:n||mn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||mn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=xg(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||mn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=xg(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=mn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:hM})}lowercase(t=mn.lowercase){return this.transform(n=>qr(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>qr(n)||n===n.toLowerCase()})}uppercase(t=mn.uppercase){return this.transform(n=>qr(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>qr(n)||n===n.toUpperCase()})}}Jr.prototype=EB.prototype;let mM=e=>e!=+e;function IB(){return new BB}class BB extends or{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!mM(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)||o===null?o:parseFloat(o)})})}min(t,n=Io.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Io.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Io.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Io.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Io.positive){return this.moreThan(0,t)}negative(t=Io.negative){return this.lessThan(0,t)}integer(t=Io.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>qr(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>qr(o)?o:Math[t](o))}}IB.prototype=BB.prototype;let EM=new Date(""),IM=e=>Object.prototype.toString.call(e)==="[object Date]";class Su extends or{constructor(){super({type:"date",check(t){return IM(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=lM(t),isNaN(t)?Su.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(yi.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=yg.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=yg.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Su.INVALID_DATE=EM;Su.prototype;function BM(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=gi.split(a)[0];r.add(u),o.has(`${c}-${u}`)||n.push([c,u])}for(const a of Object.keys(e)){let c=e[a];r.add(a),yi.isRef(c)&&c.isSibling?s(c.path,a):Df(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return qD.array(Array.from(r),n).reverse()}function $m(e,t){let n=1/0;return e.some((r,o)=>{var s;if((s=t.path)!=null&&s.includes(r))return n=o,!0}),n}function vB(e){return(t,n)=>$m(e,t)-$m(e,n)}const vM=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Qc(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Qc(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Qc(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Qc)}):"optional"in e?e.optional():e}const bM=(e,t)=>{const n=[...gi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=gi.getter(gi.join(n),!0)(e);return!!(o&&r in o)};let eE=e=>Object.prototype.toString.call(e)==="[object Object]";function yM(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const QM=vB([]);function Mf(e){return new bB(e)}class bB extends or{constructor(t){super({type:"object",check(n){return eE(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=QM,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let s=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(o).filter(h=>!this._nodes.includes(h))),u={},A=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),p=!1;for(const h of c){let C=s[h],m=h in o;if(C){let I,B=o[h];A.path=(n.path?`${n.path}.`:"")+h,C=C.resolve({value:B,context:n.context,parent:u});let v=C instanceof or?C.spec:void 0,S=v==null?void 0:v.strict;if(v!=null&&v.strip){p=p||h in o;continue}I=!n.__validating||!S?C.cast(o[h],A):o[h],I!==void 0&&(u[h]=I)}else m&&!a&&(u[h]=o[h]);(m!==h in u||u[h]!==o[h])&&(p=!0)}return p?u:o}_validate(t,n={},r,o){let{from:s=[],originalValue:a=t,recursive:c=this.spec.recursive}=n;n.from=[{schema:this,value:a},...s],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(u,A)=>{if(!c||!eE(A)){o(u,A);return}a=a||A;let p=[];for(let h of this._nodes){let C=this.fields[h];!C||yi.isRef(C)||p.push(C.asNestedTest({options:n,key:h,parent:A,parentPath:n.path,originalParent:a}))}this.runTests({tests:p,value:A,originalValue:a,options:n},r,h=>{o(h.sort(this._sortErrors).concat(u),A)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,s]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?s:a}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const s=this.fields[r];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[r]})),n[r]=s&&"getDefault"in s?s.getDefault(a):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=BM(t,n),r._sortErrors=vB(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Qc(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=gi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return bM(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(vM)}noUnknown(t=!0,n=Qg.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const s=yM(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Qg.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(Md.camelCase)}snakeCase(){return this.transformKeys(Md.snakeCase)}constantCase(){return this.transformKeys(t=>Md.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,a]of Object.entries(n.fields)){var o;let c=t;(o=c)!=null&&o.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[s]})),r.fields[s]=a.describe(c)}return r}}Mf.prototype=bB.prototype;const tE=CB().test("function","Invalid function",e=>te.isFunction(e));var yo,Ai,pa;class yB{constructor(){Wr(this,Ai);Wr(this,yo,[])}get(t){if(Jr().required().validateSync(t),ia(this,Ai,pa).call(this)){const n=localStorage.getItem(t);return te.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return Jr().required().validateSync(t),ia(this,Ai,pa).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){Jr().required().validateSync(t),tE.validateSync(n),ia(this,Ai,pa).call(this)&&(hn(this,yo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){Jr().required().validateSync(t),tE.optional().default(te.identity).validateSync(n),ia(this,Ai,pa).call(this)&&(n!==void 0?po(this,yo,te.reject(hn(this,yo),r=>r.key===t&&r.callback===n)):po(this,yo,te.reject(hn(this,yo),r=>r.key===t)))}}yo=new WeakMap,Ai=new WeakSet,pa=function(){return typeof window<"u"};function QB(e){const[t]=ce.useLocaleState();return e!==void 0?String(e):t}function xM(e,t){const n=QB(t==null?void 0:t.locale);return Sf(e,n,t)}function wM(e){const t=QB(e==null?void 0:e.locale);return Q.useCallback(r=>Sf(r,t,e),[t,e])}const ha=new yB;function TM(e,t,n){return function(r){const o=te.isFunction(r)?r(t):r;return ha.set(e,o),n(o),o}}function Pu(e,t){var u;Jr().required().validateSync(e);const[n,r]=Q.useState(ha.get(e)??t),o=Q.useRef(t),s=te.isEqual(o.current,t)?o.current:t,a=Q.useRef(),c=a.current;return Q.useEffect(()=>{r(ha.get(e)??s)},[e,s,r]),Q.useEffect(()=>{function A(p){r(p)}return ha.watch(e,A),()=>{ha.unwatch(e,A)}},[e,r]),(e!==(c==null?void 0:c.key)||!te.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:TM(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??te.noop]}function xB(e){if(!te.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=Q.useState(e);return Q.useEffect(()=>{te.isEqual(e,t)||n(e)},[e,t]),t}function Ru(){const[e,t]=Q.useState(null),n=!!e,r=Q.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=Q.useCallback(()=>t(null),[t]),s=Q.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function SM(e,t){const[n,r]=Q.useState({width:1,height:1}),o=e.current;return Q.useEffect(()=>{function s(){var A;let c=0,u=0;switch(t){case"client":c=(o==null?void 0:o.clientWidth)??0,u=(o==null?void 0:o.clientHeight)??0;break;case"offset":c=(o==null?void 0:o.offsetWidth)??0,u=(o==null?void 0:o.offsetHeight)??0;break;case"scroll":c=(o==null?void 0:o.scrollWidth)??0,u=(o==null?void 0:o.scrollHeight)??0;break;case"bounding":default:{const p=((A=e.current)==null?void 0:A.getBoundingClientRect())??{width:0,height:0};c=p.width,u=p.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return te.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t]),n}function kf(e){const t=j.useRecordContext(),n=j.useTranslate(),r=j.useResourceContext(),o=t!=null&&t.id?"edit":"create";return Q.useMemo(()=>{if(e===!1)return;const a=`resources.${r}.title`;return e||n(`resources.${r}.title.${o}`,{_:n(a,{_:a}),...t})},[o,t,r,n,e])}function Er(e,t,n){const r=te.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>te.isFunction(a)?a:void 0).value();n!=null&&n.defaults?te.defaultsDeep(r,t):te.merge(r,t);const[o,s]=Q.useState(r);return Q.useEffect(()=>{te.isEqual(o,r)||s(r)},[o,r]),o}const wB=()=>Q.useContext(Qf),PM=()=>Q.useContext(xf),Qn=()=>Q.useContext(bf),TB=Ae(BD,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Qn();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}}),RM=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary"},{defaults:!0});return g.jsx(y.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),SB=Q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ou=Q.createContext({}),Ff=Q.createContext(null),ju=typeof document<"u",OM=ju?Q.useLayoutEffect:Q.useEffect,PB=Q.createContext({strict:!1}),Lf=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),jM="framerAppearId",RB="data-"+Lf(jM);function DM(e,t,n,r){const{visualElement:o}=Q.useContext(Ou),s=Q.useContext(PB),a=Q.useContext(Ff),c=Q.useContext(SB).reducedMotion,u=Q.useRef();r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const A=u.current;Q.useInsertionEffect(()=>{A&&A.update(n,a)});const p=Q.useRef(!!(n[RB]&&!window.HandoffComplete));return OM(()=>{A&&(A.render(),p.current&&A.animationState&&A.animationState.animateChanges())}),Q.useEffect(()=>{A&&(A.updateFeatures(),!p.current&&A.animationState&&A.animationState.animateChanges(),p.current&&(p.current=!1,window.HandoffComplete=!0))}),A}function ss(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function MM(e,t,n){return Q.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ss(n)&&(n.current=r))},[t])}function ja(e){return typeof e=="string"||Array.isArray(e)}function Du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Nf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Vf=["initial",...Nf];function Mu(e){return Du(e.animate)||Vf.some(t=>ja(e[t]))}function OB(e){return!!(Mu(e)||e.variants)}function kM(e,t){if(Mu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ja(n)?n:void 0,animate:ja(r)?r:void 0}}return e.inherit!==!1?t:{}}function FM(e){const{initial:t,animate:n}=kM(e,Q.useContext(Ou));return Q.useMemo(()=>({initial:t,animate:n}),[nE(t),nE(n)])}function nE(e){return Array.isArray(e)?e.join(" "):e}const rE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Da={};for(const e in rE)Da[e]={isEnabled:t=>rE[e].some(n=>!!t[n])};function LM(e){for(const t in e)Da[t]={...Da[t],...e[t]}}const jB=Q.createContext({}),DB=Q.createContext({}),NM=Symbol.for("motionComponentSymbol");function VM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&LM(e);function s(c,u){let A;const p={...Q.useContext(SB),...c,layoutId:HM(c)},{isStatic:h}=p,C=FM(c),m=r(c,h);if(!h&&ju){C.visualElement=DM(o,m,p,t);const I=Q.useContext(DB),B=Q.useContext(PB).strict;C.visualElement&&(A=C.visualElement.loadFeatures(p,B,e,I))}return M.createElement(Ou.Provider,{value:C},A&&C.visualElement?M.createElement(A,{visualElement:C.visualElement,...p}):null,n(o,c,MM(m,C.visualElement,u),m,h,C.visualElement))}const a=Q.forwardRef(s);return a[NM]=o,a}function HM({layoutId:e}){const t=Q.useContext(jB).id;return t&&e!==void 0?t+"-"+e:e}function zM(e){function t(r,o={}){return VM(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const WM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Hf(e){return typeof e!="string"||e.includes("-")?!1:!!(WM.indexOf(e)>-1||/[A-Z]/.test(e))}const Gc={};function UM(e){Object.assign(Gc,e)}const Ja=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qi=new Set(Ja);function MB(e,{layout:t,layoutId:n}){return Qi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Gc[e]||e==="opacity")}const bn=e=>!!(e&&e.getVelocity),YM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GM=Ja.length;function KM(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<GM;a++){const c=Ja[a];if(e[c]!==void 0){const u=YM[c]||c;s+=`${u}(${e[c]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,r?"":s):n&&r&&(s="none"),s}const kB=e=>t=>typeof t=="string"&&t.startsWith(e),FB=kB("--"),wg=kB("var(--"),qM=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,JM=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oo=(e,t,n)=>Math.min(Math.max(n,e),t),xi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},va={...xi,transform:e=>Oo(0,1,e)},sc={...xi,default:1},ba=e=>Math.round(e*1e5)/1e5,ku=/(-)?([\d]*\.?[\d])+/g,LB=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,XM=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Xa(e){return typeof e=="string"}const Za=e=>({test:t=>Xa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bo=Za("deg"),Tr=Za("%"),De=Za("px"),ZM=Za("vh"),_M=Za("vw"),oE={...Tr,parse:e=>Tr.parse(e)/100,transform:e=>Tr.transform(e*100)},iE={...xi,transform:Math.round},NB={borderWidth:De,borderTopWidth:De,borderRightWidth:De,borderBottomWidth:De,borderLeftWidth:De,borderRadius:De,radius:De,borderTopLeftRadius:De,borderTopRightRadius:De,borderBottomRightRadius:De,borderBottomLeftRadius:De,width:De,maxWidth:De,height:De,maxHeight:De,size:De,top:De,right:De,bottom:De,left:De,padding:De,paddingTop:De,paddingRight:De,paddingBottom:De,paddingLeft:De,margin:De,marginTop:De,marginRight:De,marginBottom:De,marginLeft:De,rotate:Bo,rotateX:Bo,rotateY:Bo,rotateZ:Bo,scale:sc,scaleX:sc,scaleY:sc,scaleZ:sc,skew:Bo,skewX:Bo,skewY:Bo,distance:De,translateX:De,translateY:De,translateZ:De,x:De,y:De,z:De,perspective:De,transformPerspective:De,opacity:va,originX:oE,originY:oE,originZ:De,zIndex:iE,fillOpacity:va,strokeOpacity:va,numOctaves:iE};function zf(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,A=!1,p=!0;for(const h in t){const C=t[h];if(FB(h)){s[h]=C;continue}const m=NB[h],I=JM(C,m);if(Qi.has(h)){if(u=!0,a[h]=I,!p)continue;C!==(m.default||0)&&(p=!1)}else h.startsWith("origin")?(A=!0,c[h]=I):o[h]=I}if(t.transform||(u||r?o.transform=KM(e.transform,n,p,r):o.transform&&(o.transform="none")),A){const{originX:h="50%",originY:C="50%",originZ:m=0}=c;o.transformOrigin=`${h} ${C} ${m}`}}const Wf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function VB(e,t,n){for(const r in t)!bn(t[r])&&!MB(r,n)&&(e[r]=t[r])}function $M({transformTemplate:e},t,n){return Q.useMemo(()=>{const r=Wf();return zf(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function e3(e,t,n){const r=e.style||{},o={};return VB(o,r,e),Object.assign(o,$M(e,t,n)),e.transformValues?e.transformValues(o):o}function t3(e,t,n){const r={},o=e3(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const n3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Kc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n3.has(e)}let HB=e=>!Kc(e);function r3(e){e&&(HB=t=>t.startsWith("on")?!Kc(t):e(t))}try{r3(require("@emotion/is-prop-valid").default)}catch{}function o3(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(HB(o)||n===!0&&Kc(o)||!t&&!Kc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function sE(e,t,n){return typeof e=="string"?e:De.transform(t+n*e)}function i3(e,t,n){const r=sE(t,e.x,e.width),o=sE(n,e.y,e.height);return`${r} ${o}`}const s3={offset:"stroke-dashoffset",array:"stroke-dasharray"},a3={offset:"strokeDashoffset",array:"strokeDasharray"};function l3(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?s3:a3;e[s.offset]=De.transform(-r);const a=De.transform(t),c=De.transform(n);e[s.array]=`${a} ${c}`}function Uf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...A},p,h,C){if(zf(e,A,p,C),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:I,dimensions:B}=e;m.transform&&(B&&(I.transform=m.transform),delete m.transform),B&&(o!==void 0||s!==void 0||I.transform)&&(I.transformOrigin=i3(B,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),a!==void 0&&l3(m,a,c,u,!1)}const zB=()=>({...Wf(),attrs:{}}),Yf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function c3(e,t,n,r){const o=Q.useMemo(()=>{const s=zB();return Uf(s,t,{enableHardwareAcceleration:!1},Yf(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};VB(s,e.style,e),o.style={...s,...o.style}}return o}function u3(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(Hf(n)?c3:t3)(r,s,a,n),p={...o3(r,typeof n=="string",e),...u,ref:o},{children:h}=r,C=Q.useMemo(()=>bn(h)?h.get():h,[h]);return Q.createElement(n,{...p,children:C})}}function WB(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const UB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function YB(e,t,n,r){WB(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(UB.has(o)?o:Lf(o),t.attrs[o])}function Gf(e,t){const{style:n}=e,r={};for(const o in n)(bn(n[o])||t.style&&bn(t.style[o])||MB(o,e))&&(r[o]=n[o]);return r}function GB(e,t){const n=Gf(e,t);for(const r in e)if(bn(e[r])||bn(t[r])){const o=Ja.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function Kf(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function A3(e){const t=Q.useRef(null);return t.current===null&&(t.current=e()),t.current}const qc=e=>Array.isArray(e),d3=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),g3=e=>qc(e)?e[e.length-1]||0:e;function xc(e){const t=bn(e)?e.get():e;return d3(t)?t.toValue():t}function f3({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:p3(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const KB=e=>(t,n)=>{const r=Q.useContext(Ou),o=Q.useContext(Ff),s=()=>f3(e,t,r,o);return n?s():A3(s)};function p3(e,t,n,r){const o={},s=r(e,{});for(const C in s)o[C]=xc(s[C]);let{initial:a,animate:c}=e;const u=Mu(e),A=OB(e);t&&A&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const h=p?c:a;return h&&typeof h!="boolean"&&!Du(h)&&(Array.isArray(h)?h:[h]).forEach(m=>{const I=Kf(e,m);if(!I)return;const{transitionEnd:B,transition:v,...S}=I;for(const O in S){let x=S[O];if(Array.isArray(x)){const R=p?x.length-1:0;x=x[R]}x!==null&&(o[O]=x)}for(const O in B)o[O]=B[O]}),o}const Pt=e=>e;class aE{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function h3(e){let t=new aE,n=new aE,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,A=!1,p=!1)=>{const h=p&&o,C=h?t:n;return A&&a.add(u),C.add(u)&&h&&o&&(r=t.order.length),u},cancel:u=>{n.remove(u),a.delete(u)},process:u=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let A=0;A<r;A++){const p=t.order[A];p(u),a.has(p)&&(c.schedule(p),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const ac=["prepare","read","update","preRender","render","postRender"],C3=40;function m3(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=ac.reduce((h,C)=>(h[C]=h3(()=>n=!0),h),{}),a=h=>s[h].process(o),c=()=>{const h=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(h-o.timestamp,C3),1),o.timestamp=h,o.isProcessing=!0,ac.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:ac.reduce((h,C)=>{const m=s[C];return h[C]=(I,B=!1,v=!1)=>(n||u(),m.schedule(I,B,v)),h},{}),cancel:h=>ac.forEach(C=>s[C].cancel(h)),state:o,steps:s}}const{schedule:mt,cancel:to,state:$t,steps:kd}=m3(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0),E3={useVisualState:KB({scrapeMotionValuesFromProps:GB,createRenderState:zB,onMount:(e,t,{renderState:n,latestValues:r})=>{mt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),mt.render(()=>{Uf(n,r,{enableHardwareAcceleration:!1},Yf(t.tagName),e.transformTemplate),YB(t,n)})}})},I3={useVisualState:KB({scrapeMotionValuesFromProps:Gf,createRenderState:Wf})};function B3(e,{forwardMotionProps:t=!1},n,r){return{...Hf(e)?E3:I3,preloadedFeatures:n,useRender:u3(t),createVisualElement:r,Component:e}}function Xr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const qB=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Fu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const v3=e=>t=>qB(t)&&e(t,Fu(t));function _r(e,t,n,r){return Xr(e,t,v3(n),r)}const b3=(e,t)=>n=>t(e(n)),Po=(...e)=>e.reduce(b3);function JB(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const lE=JB("dragHorizontal"),cE=JB("dragVertical");function XB(e){let t=!1;if(e==="y")t=cE();else if(e==="x")t=lE();else{const n=lE(),r=cE();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function ZB(){const e=XB(!0);return e?(e(),!1):!0}class ko{constructor(t){this.isMounted=!1,this.node=t}update(){}}function uE(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||ZB())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&mt.update(()=>c[r](s,a))};return _r(e.current,n,o,{passive:!e.getProps()[r]})}class y3 extends ko{mount(){this.unmount=Po(uE(this.node,!0),uE(this.node,!1))}unmount(){}}class Q3 extends ko{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Po(Xr(this.node.current,"focus",()=>this.onFocus()),Xr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const _B=(e,t)=>t?e===t?!0:_B(e,t.parentElement):!1;function Fd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Fu(n))}class x3 extends ko{constructor(){super(...arguments),this.removeStartListeners=Pt,this.removeEndListeners=Pt,this.removeAccessibleListeners=Pt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=_r(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:A,onTapCancel:p,globalTapTarget:h}=this.node.getProps();mt.update(()=>{!h&&!_B(this.node.current,c.target)?p&&p(c,u):A&&A(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=_r(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Po(s,a),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const a=c=>{c.key!=="Enter"||!this.checkPressEnd()||Fd("up",(u,A)=>{const{onTap:p}=this.node.getProps();p&&mt.update(()=>p(u,A))})};this.removeEndListeners(),this.removeEndListeners=Xr(this.node.current,"keyup",a),Fd("down",(c,u)=>{this.startPress(c,u)})},n=Xr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Fd("cancel",(s,a)=>this.cancelPress(s,a))},o=Xr(this.node.current,"blur",r);this.removeAccessibleListeners=Po(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&mt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ZB()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&mt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=_r(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Xr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Po(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Tg=new WeakMap,Ld=new WeakMap,w3=e=>{const t=Tg.get(e.target);t&&t(e)},T3=e=>{e.forEach(w3)};function S3({root:e,...t}){const n=e||document;Ld.has(n)||Ld.set(n,{});const r=Ld.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(T3,{root:e,...t})),r[o]}function P3(e,t,n){const r=S3(t);return Tg.set(e,n),r.observe(e),()=>{Tg.delete(e),r.unobserve(e)}}const R3={some:0,all:1};class O3 extends ko{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:R3[o]},c=u=>{const{isIntersecting:A}=u;if(this.isInView===A||(this.isInView=A,s&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:p,onViewportLeave:h}=this.node.getProps(),C=A?p:h;C&&C(u)};return P3(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(j3(t,n))&&this.startObserver()}unmount(){}}function j3({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const D3={inView:{Feature:O3},tap:{Feature:x3},focus:{Feature:Q3},hover:{Feature:y3}};function $B(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function M3(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function k3(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Lu(e,t,n){const r=e.getProps();return Kf(r,t,n!==void 0?n:r.custom,M3(e),k3(e))}let _a=Pt,mr=Pt;process.env.NODE_ENV!=="production"&&(_a=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},mr=(e,t)=>{if(!e)throw new Error(t)});const Ro=e=>e*1e3,$r=e=>e/1e3,F3={current:!1},ev=e=>Array.isArray(e)&&typeof e[0]=="number";function tv(e){return!!(!e||typeof e=="string"&&nv[e]||ev(e)||Array.isArray(e)&&e.every(tv))}const Ca=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,nv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ca([0,.65,.55,1]),circOut:Ca([.55,0,1,.45]),backIn:Ca([.31,.01,.66,-.59]),backOut:Ca([.33,1.53,.69,.99])};function rv(e){if(e)return ev(e)?Ca(e):Array.isArray(e)?e.map(rv):nv[e]}function L3(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const A={[t]:n};u&&(A.offset=u);const p=rv(c);return Array.isArray(p)&&(A.easing=p),e.animate(A,{delay:r,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function N3(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const ov=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,V3=1e-7,H3=12;function z3(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=ov(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>V3&&++c<H3);return a}function $a(e,t,n,r){if(e===t&&n===r)return Pt;const o=s=>z3(s,0,1,e,n);return s=>s===0||s===1?s:ov(o(s),t,r)}const W3=$a(.42,0,1,1),U3=$a(0,0,.58,1),iv=$a(.42,0,.58,1),Y3=e=>Array.isArray(e)&&typeof e[0]!="number",sv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,av=e=>t=>1-e(1-t),qf=e=>1-Math.sin(Math.acos(e)),lv=av(qf),G3=sv(qf),cv=$a(.33,1.53,.69,.99),Jf=av(cv),K3=sv(Jf),q3=e=>(e*=2)<1?.5*Jf(e):.5*(2-Math.pow(2,-10*(e-1))),AE={linear:Pt,easeIn:W3,easeInOut:iv,easeOut:U3,circIn:qf,circInOut:G3,circOut:lv,backIn:Jf,backInOut:K3,backOut:cv,anticipate:q3},dE=e=>{if(Array.isArray(e)){mr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return $a(t,n,r,o)}else if(typeof e=="string")return mr(AE[e]!==void 0,`Invalid easing type '${e}'`),AE[e];return e},Xf=(e,t)=>n=>!!(Xa(n)&&XM.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),uv=(e,t,n)=>r=>{if(!Xa(r))return r;const[o,s,a,c]=r.match(ku);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},J3=e=>Oo(0,255,e),Nd={...xi,transform:e=>Math.round(J3(e))},ci={test:Xf("rgb","red"),parse:uv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nd.transform(e)+", "+Nd.transform(t)+", "+Nd.transform(n)+", "+ba(va.transform(r))+")"};function X3(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Sg={test:Xf("#"),parse:X3,transform:ci.transform},as={test:Xf("hsl","hue"),parse:uv("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Tr.transform(ba(t))+", "+Tr.transform(ba(n))+", "+ba(va.transform(r))+")"},cn={test:e=>ci.test(e)||Sg.test(e)||as.test(e),parse:e=>ci.test(e)?ci.parse(e):as.test(e)?as.parse(e):Sg.parse(e),transform:e=>Xa(e)?e:e.hasOwnProperty("red")?ci.transform(e):as.transform(e)},xt=(e,t,n)=>-n*e+n*t+e;function Vd(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z3({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,a=0;if(!t)o=s=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;o=Vd(u,c,e+1/3),s=Vd(u,c,e),a=Vd(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const Hd=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},_3=[Sg,ci,as],$3=e=>_3.find(t=>t.test(e));function gE(e){const t=$3(e);mr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===as&&(n=Z3(n)),n}const Av=(e,t)=>{const n=gE(e),r=gE(t),o={...n};return s=>(o.red=Hd(n.red,r.red,s),o.green=Hd(n.green,r.green,s),o.blue=Hd(n.blue,r.blue,s),o.alpha=xt(n.alpha,r.alpha,s),ci.transform(o))};function ek(e){var t,n;return isNaN(e)&&Xa(e)&&(((t=e.match(ku))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(LB))===null||n===void 0?void 0:n.length)||0)>0}const dv={regex:qM,countKey:"Vars",token:"${v}",parse:Pt},gv={regex:LB,countKey:"Colors",token:"${c}",parse:cn.parse},fv={regex:ku,countKey:"Numbers",token:"${n}",parse:xi.parse};function zd(e,{regex:t,countKey:n,token:r,parse:o}){const s=e.tokenised.match(t);s&&(e["num"+n]=s.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...s.map(o)))}function Jc(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&zd(n,dv),zd(n,gv),zd(n,fv),n}function pv(e){return Jc(e).values}function hv(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Jc(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(dv.token,a[u]):u<r+n?c=c.replace(gv.token,cn.transform(a[u])):c=c.replace(fv.token,ba(a[u]));return c}}const tk=e=>typeof e=="number"?0:e;function nk(e){const t=pv(e);return hv(e)(t.map(tk))}const jo={test:ek,parse:pv,createTransformer:hv,getAnimatableNone:nk},Cv=(e,t)=>n=>`${n>0?t:e}`;function mv(e,t){return typeof e=="number"?n=>xt(e,t,n):cn.test(e)?Av(e,t):e.startsWith("var(")?Cv(e,t):Iv(e,t)}const Ev=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>mv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},rk=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=mv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},Iv=(e,t)=>{const n=jo.createTransformer(t),r=Jc(e),o=Jc(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Po(Ev(r.values,o.values),n):(_a(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Cv(e,t))},Ma=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},fE=(e,t)=>n=>xt(e,t,n);function ok(e){return typeof e=="number"?fE:typeof e=="string"?cn.test(e)?Av:Iv:Array.isArray(e)?Ev:typeof e=="object"?rk:fE}function ik(e,t,n){const r=[],o=n||ok(e[0]),s=e.length-1;for(let a=0;a<s;a++){let c=o(e[a],e[a+1]);if(t){const u=Array.isArray(t)?t[a]||Pt:t;c=Po(u,c)}r.push(c)}return r}function Bv(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(mr(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=ik(t,r,o),c=a.length,u=A=>{let p=0;if(c>1)for(;p<e.length-2&&!(A<e[p+1]);p++);const h=Ma(e[p],e[p+1],A);return a[p](h)};return n?A=>u(Oo(e[0],e[s-1],A)):u}function sk(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ma(0,t,r);e.push(xt(n,1,o))}}function ak(e){const t=[0];return sk(t,e.length-1),t}function lk(e,t){return e.map(n=>n*t)}function ck(e,t){return e.map(()=>t||iv).splice(0,e.length-1)}function Xc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=Y3(r)?r.map(dE):dE(r),s={done:!1,value:t[0]},a=lk(n&&n.length===t.length?n:ak(t),e),c=Bv(a,t,{ease:Array.isArray(o)?o:ck(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function vv(e,t){return t?e*(1e3/t):0}const uk=5;function bv(e,t,n){const r=Math.max(t-uk,0);return vv(n-e(r),t-r)}const Wd=.001,Ak=.01,pE=10,dk=.05,gk=1;function fk({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;_a(e<=Ro(pE),"Spring duration must be 10 seconds or less");let a=1-t;a=Oo(dk,gk,a),e=Oo(Ak,pE,$r(e)),a<1?(o=A=>{const p=A*a,h=p*e,C=p-n,m=Pg(A,a),I=Math.exp(-h);return Wd-C/m*I},s=A=>{const h=A*a*e,C=h*n+n,m=Math.pow(a,2)*Math.pow(A,2)*e,I=Math.exp(-h),B=Pg(Math.pow(A,2),a);return(-o(A)+Wd>0?-1:1)*((C-m)*I)/B}):(o=A=>{const p=Math.exp(-A*e),h=(A-n)*e+1;return-Wd+p*h},s=A=>{const p=Math.exp(-A*e),h=(n-A)*(e*e);return p*h});const c=5/e,u=hk(o,s,c);if(e=Ro(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const A=Math.pow(u,2)*r;return{stiffness:A,damping:a*2*Math.sqrt(r*A),duration:e}}}const pk=12;function hk(e,t,n){let r=n;for(let o=1;o<pk;o++)r=r-e(r)/t(r);return r}function Pg(e,t){return e*Math.sqrt(1-t*t)}const Ck=["duration","bounce"],mk=["stiffness","damping","mass"];function hE(e,t){return t.some(n=>e[n]!==void 0)}function Ek(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!hE(e,mk)&&hE(e,Ck)){const n=fk(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function yv({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:c,damping:u,mass:A,duration:p,velocity:h,isResolvedFromDuration:C}=Ek({...r,velocity:-$r(r.velocity||0)}),m=h||0,I=u/(2*Math.sqrt(c*A)),B=s-o,v=$r(Math.sqrt(c/A)),S=Math.abs(B)<5;n||(n=S?.01:2),t||(t=S?.005:.5);let O;if(I<1){const x=Pg(v,I);O=R=>{const P=Math.exp(-I*v*R);return s-P*((m+I*v*B)/x*Math.sin(x*R)+B*Math.cos(x*R))}}else if(I===1)O=x=>s-Math.exp(-v*x)*(B+(m+v*B)*x);else{const x=v*Math.sqrt(I*I-1);O=R=>{const P=Math.exp(-I*v*R),k=Math.min(x*R,300);return s-P*((m+I*v*B)*Math.sinh(k)+x*B*Math.cosh(k))/x}}return{calculatedDuration:C&&p||null,next:x=>{const R=O(x);if(C)a.done=x>=p;else{let P=m;x!==0&&(I<1?P=bv(O,x,R):P=0);const k=Math.abs(P)<=n,F=Math.abs(s-R)<=t;a.done=k&&F}return a.value=a.done?s:R,a}}}function CE({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:A=.5,restSpeed:p}){const h=e[0],C={done:!1,value:h},m=G=>c!==void 0&&G<c||u!==void 0&&G>u,I=G=>c===void 0?u:u===void 0||Math.abs(c-G)<Math.abs(u-G)?c:u;let B=n*t;const v=h+B,S=a===void 0?v:a(v);S!==v&&(B=S-h);const O=G=>-B*Math.exp(-G/r),x=G=>S+O(G),R=G=>{const K=O(G),$=x(G);C.done=Math.abs(K)<=A,C.value=C.done?S:$};let P,k;const F=G=>{m(C.value)&&(P=G,k=yv({keyframes:[C.value,I(C.value)],velocity:bv(x,G,C.value),damping:o,stiffness:s,restDelta:A,restSpeed:p}))};return F(0),{calculatedDuration:null,next:G=>{let K=!1;return!k&&P===void 0&&(K=!0,R(G),F(G)),P!==void 0&&G>P?k.next(G-P):(!K&&R(G),C)}}}const Ik=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>to(t),now:()=>$t.isProcessing?$t.timestamp:performance.now()}},mE=2e4;function EE(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<mE;)t+=n,r=e.next(t);return t>=mE?1/0:t}const Bk={decay:CE,inertia:CE,tween:Xc,keyframes:Xc,spring:yv};function Zc({autoplay:e=!0,delay:t=0,driver:n=Ik,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:A,onComplete:p,onUpdate:h,...C}){let m=1,I=!1,B,v;const S=()=>{v=new Promise(q=>{B=q})};S();let O;const x=Bk[o]||Xc;let R;x!==Xc&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&mr(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),R=Bv([0,100],r,{clamp:!1}),r=[0,100]);const P=x({...C,keyframes:r});let k;c==="mirror"&&(k=x({...C,keyframes:[...r].reverse(),velocity:-(C.velocity||0)}));let F="idle",G=null,K=null,$=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=EE(P));const{calculatedDuration:Y}=P;let ie=1/0,se=1/0;Y!==null&&(ie=Y+a,se=ie*(s+1)-a);let X=0;const Z=q=>{if(K===null)return;m>0&&(K=Math.min(K,q)),m<0&&(K=Math.min(q-se/m,K)),G!==null?X=G:X=Math.round(q-K)*m;const le=X-t*(m>=0?1:-1),pe=m>=0?le<0:le>se;X=Math.max(le,0),F==="finished"&&G===null&&(X=se);let de=X,ge=P;if(s){const Ce=Math.min(X,se)/ie;let Ie=Math.floor(Ce),xe=Ce%1;!xe&&Ce>=1&&(xe=1),xe===1&&Ie--,Ie=Math.min(Ie,s+1),!!(Ie%2)&&(c==="reverse"?(xe=1-xe,a&&(xe-=a/ie)):c==="mirror"&&(ge=k)),de=Oo(0,1,xe)*ie}const he=pe?{done:!1,value:r[0]}:ge.next(de);R&&(he.value=R(he.value));let{done:Be}=he;!pe&&Y!==null&&(Be=m>=0?X>=se:X<=0);const Ee=G===null&&(F==="finished"||F==="running"&&Be);return h&&h(he.value),Ee&&L(),he},H=()=>{O&&O.stop(),O=void 0},J=()=>{F="idle",H(),B(),S(),K=$=null},L=()=>{F="finished",p&&p(),H(),B()},_=()=>{if(I)return;O||(O=n(Z));const q=O.now();u&&u(),G!==null?K=q-G:(!K||F==="finished")&&(K=q),F==="finished"&&S(),$=K,G=null,F="running",O.start()};e&&_();const V={then(q,le){return v.then(q,le)},get time(){return $r(X)},set time(q){q=Ro(q),X=q,G!==null||!O||m===0?G=q:K=O.now()-q/m},get duration(){const q=P.calculatedDuration===null?EE(P):P.calculatedDuration;return $r(q)},get speed(){return m},set speed(q){q===m||!O||(m=q,V.time=$r(X))},get state(){return F},play:_,pause:()=>{F="paused",G=X},stop:()=>{I=!0,F!=="idle"&&(F="idle",A&&A(),J())},cancel:()=>{$!==null&&Z($),J()},complete:()=>{F="finished"},sample:q=>(K=0,Z(q))};return V}function vk(e){let t;return()=>(t===void 0&&(t=e()),t)}const bk=vk(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),yk=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),lc=10,Qk=2e4,xk=(e,t)=>t.type==="spring"||e==="backgroundColor"||!tv(t.ease);function wk(e,t,{onUpdate:n,onComplete:r,...o}){if(!(bk()&&yk.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,A=!1;const p=()=>{u=new Promise(x=>{c=x})};p();let{keyframes:h,duration:C=300,ease:m,times:I}=o;if(xk(t,o)){const x=Zc({...o,repeat:0,delay:0});let R={done:!1,value:h[0]};const P=[];let k=0;for(;!R.done&&k<Qk;)R=x.sample(k),P.push(R.value),k+=lc;I=void 0,h=P,C=k-lc,m="linear"}const B=L3(e.owner.current,t,h,{...o,duration:C,ease:m,times:I}),v=()=>{A=!1,B.cancel()},S=()=>{A=!0,mt.update(v),c(),p()};return B.onfinish=()=>{A||(e.set(N3(h,o)),r&&r(),S())},{then(x,R){return u.then(x,R)},attachTimeline(x){return B.timeline=x,B.onfinish=null,Pt},get time(){return $r(B.currentTime||0)},set time(x){B.currentTime=Ro(x)},get speed(){return B.playbackRate},set speed(x){B.playbackRate=x},get duration(){return $r(C)},play:()=>{a||(B.play(),to(v))},pause:()=>B.pause(),stop:()=>{if(a=!0,B.playState==="idle")return;const{currentTime:x}=B;if(x){const R=Zc({...o,autoplay:!1});e.setWithVelocity(R.sample(x-lc).value,R.sample(x).value,lc)}S()},complete:()=>{A||B.finish()},cancel:S}}function Tk({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Pt,pause:Pt,stop:Pt,then:s=>(s(),Promise.resolve()),cancel:Pt,complete:Pt});return t?Zc({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const Sk={type:"spring",stiffness:500,damping:25,restSpeed:10},Pk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Rk={type:"keyframes",duration:.8},Ok={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jk=(e,{keyframes:t})=>t.length>2?Rk:Qi.has(e)?e.startsWith("scale")?Pk(t[1]):Sk:Ok,Rg=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(jo.test(t)||t==="0")&&!t.startsWith("url(")),Dk=new Set(["brightness","contrast","saturate","opacity"]);function Mk(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ku)||[];if(!r)return e;const o=n.replace(r,"");let s=Dk.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const kk=/([a-z-]*)\(.*?\)/g,Og={...jo,getAnimatableNone:e=>{const t=e.match(kk);return t?t.map(Mk).join(" "):e}},Fk={...NB,color:cn,backgroundColor:cn,outlineColor:cn,fill:cn,stroke:cn,borderColor:cn,borderTopColor:cn,borderRightColor:cn,borderBottomColor:cn,borderLeftColor:cn,filter:Og,WebkitFilter:Og},Zf=e=>Fk[e];function Qv(e,t){let n=Zf(e);return n!==Og&&(n=jo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const xv=e=>/^0[^.\s]+$/.test(e);function Lk(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||xv(e)}function Nk(e,t,n,r){const o=Rg(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const a=r.from!==void 0?r.from:e.get();let c;const u=[];for(let A=0;A<s.length;A++)s[A]===null&&(s[A]=A===0?a:s[A-1]),Lk(s[A])&&u.push(A),typeof s[A]=="string"&&s[A]!=="none"&&s[A]!=="0"&&(c=s[A]);if(o&&u.length&&c)for(let A=0;A<u.length;A++){const p=u[A];s[p]=Qv(t,c)}return s}function Vk({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:A,...p}){return!!Object.keys(p).length}function _f(e,t){return e[t]||e.default||e}const Hk={skipAnimations:!1},$f=(e,t,n,r={})=>o=>{const s=_f(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Ro(a);const u=Nk(t,e,n,s),A=u[0],p=u[u.length-1],h=Rg(e,A),C=Rg(e,p);_a(h===C,`You are trying to animate ${e} from "${A}" to "${p}". ${A} is not an animatable value - to enable this animation set ${A} to a value animatable to ${p} via the \`style\` property.`);let m={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:I=>{t.set(I),s.onUpdate&&s.onUpdate(I)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(Vk(s)||(m={...m,...jk(e,m)}),m.duration&&(m.duration=Ro(m.duration)),m.repeatDelay&&(m.repeatDelay=Ro(m.repeatDelay)),!h||!C||F3.current||s.type===!1||Hk.skipAnimations)return Tk(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const I=wk(t,e,m);if(I)return I}return Zc(m)};function _c(e){return!!(bn(e)&&e.add)}const wv=e=>/^\-?\d*\.?\d+$/.test(e);function ep(e,t){e.indexOf(t)===-1&&e.push(t)}function tp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class np{constructor(){this.subscriptions=[]}add(t){return ep(this.subscriptions,t),()=>tp(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const a=this.subscriptions[s];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const IE=new Set;function rp(e,t,n){e||IE.has(t)||(console.warn(t),n&&console.warn(n),IE.add(t))}const zk=e=>!isNaN(parseFloat(e));class Wk{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:s,timestamp:a}=$t;this.lastUpdated!==a&&(this.timeDelta=s,this.lastUpdated=a,mt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>mt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=zk(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&rp(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new np);const r=this.events[t].add(n);return t==="change"?()=>{r(),mt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?vv(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Is(e,t){return new Wk(e,t)}const Tv=e=>t=>t.test(e),Uk={test:e=>e==="auto",parse:e=>e},Sv=[xi,De,Tr,Bo,_M,ZM,Uk],la=e=>Sv.find(Tv(e)),Yk=[...Sv,cn,jo],Gk=e=>Yk.find(Tv(e));function Kk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Is(n))}function qk(e,t){const n=Lu(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=g3(s[a]);Kk(e,a,c)}}function Jk(e,t,n){var r,o;const s=Object.keys(t).filter(c=>!e.hasValue(c)),a=s.length;if(a)for(let c=0;c<a;c++){const u=s[c],A=t[u];let p=null;Array.isArray(A)&&(p=A[0]),p===null&&(p=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),p!=null&&(typeof p=="string"&&(wv(p)||xv(p))?p=parseFloat(p):!Gk(p)&&jo.test(A)&&(p=Qv(u,A)),e.addValue(u,Is(p,{owner:e})),n[u]===void 0&&(n[u]=p),p!==null&&e.setBaseTarget(u,p))}}function Xk(e,t){return t?(t[e]||t.default||t).from:void 0}function Zk(e,t,n){const r={};for(const o in e){const s=Xk(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function _k({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function $k(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Pv(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...c}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(s=r);const A=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const h in c){const C=e.getValue(h),m=c[h];if(!C||m===void 0||p&&_k(p,h))continue;const I={delay:n,elapsed:0,..._f(s||{},h)};if(window.HandoffAppearAnimations){const S=e.getProps()[RB];if(S){const O=window.HandoffAppearAnimations(S,h,C,mt);O!==null&&(I.elapsed=O,I.isHandoff=!0)}}let B=!I.isHandoff&&!$k(C,m);if(I.type==="spring"&&(C.getVelocity()||I.velocity)&&(B=!1),C.animation&&(B=!1),B)continue;C.start($f(h,C,m,e.shouldReduceMotion&&Qi.has(h)?{type:!1}:I));const v=C.animation;_c(u)&&(u.add(h),v.then(()=>u.remove(h))),A.push(v)}return a&&Promise.all(A).then(()=>{a&&qk(e,a)}),A}function jg(e,t,n={}){const r=Lu(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Pv(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:A=0,staggerChildren:p,staggerDirection:h}=o;return eF(e,t,A+u,p,h,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,A]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>A())}else return Promise.all([s(),a(n.delay)])}function eF(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(A=0)=>A*r:(A=0)=>c-A*r;return Array.from(e.variantChildren).sort(tF).forEach((A,p)=>{A.notify("AnimationStart",t),a.push(jg(A,t,{...s,delay:n+u(p)}).then(()=>A.notify("AnimationComplete",t)))}),Promise.all(a)}function tF(e,t){return e.sortNodePosition(t)}function nF(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>jg(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=jg(e,t,n);else{const o=typeof t=="function"?Lu(e,t,n.custom):t;r=Promise.all(Pv(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const rF=[...Nf].reverse(),oF=Nf.length;function iF(e){return t=>Promise.all(t.map(({animation:n,options:r})=>nF(e,n,r)))}function sF(e){let t=iF(e);const n=lF();let r=!0;const o=(u,A)=>{const p=Lu(e,A);if(p){const{transition:h,transitionEnd:C,...m}=p;u={...u,...m,...C}}return u};function s(u){t=u(e)}function a(u,A){const p=e.getProps(),h=e.getVariantContext(!0)||{},C=[],m=new Set;let I={},B=1/0;for(let S=0;S<oF;S++){const O=rF[S],x=n[O],R=p[O]!==void 0?p[O]:h[O],P=ja(R),k=O===A?x.isActive:null;k===!1&&(B=S);let F=R===h[O]&&R!==p[O]&&P;if(F&&r&&e.manuallyAnimateOnMount&&(F=!1),x.protectedKeys={...I},!x.isActive&&k===null||!R&&!x.prevProp||Du(R)||typeof R=="boolean")continue;let K=aF(x.prevProp,R)||O===A&&x.isActive&&!F&&P||S>B&&P,$=!1;const Y=Array.isArray(R)?R:[R];let ie=Y.reduce(o,{});k===!1&&(ie={});const{prevResolvedValues:se={}}=x,X={...se,...ie},Z=H=>{K=!0,m.has(H)&&($=!0,m.delete(H)),x.needsAnimating[H]=!0};for(const H in X){const J=ie[H],L=se[H];if(I.hasOwnProperty(H))continue;let _=!1;qc(J)&&qc(L)?_=!$B(J,L):_=J!==L,_?J!==void 0?Z(H):m.add(H):J!==void 0&&m.has(H)?Z(H):x.protectedKeys[H]=!0}x.prevProp=R,x.prevResolvedValues=ie,x.isActive&&(I={...I,...ie}),r&&e.blockInitialAnimation&&(K=!1),K&&(!F||$)&&C.push(...Y.map(H=>({animation:H,options:{type:O,...u}})))}if(m.size){const S={};m.forEach(O=>{const x=e.getBaseTarget(O);x!==void 0&&(S[O]=x)}),C.push({animation:S})}let v=!!C.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(C):Promise.resolve()}function c(u,A,p){var h;if(n[u].isActive===A)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(m=>{var I;return(I=m.animationState)===null||I===void 0?void 0:I.setActive(u,A)}),n[u].isActive=A;const C=a(p,u);for(const m in n)n[m].protectedKeys={};return C}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function aF(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$B(t,e):!1}function $o(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lF(){return{animate:$o(!0),whileInView:$o(),whileHover:$o(),whileTap:$o(),whileDrag:$o(),whileFocus:$o(),exit:$o()}}class cF extends ko{constructor(t){super(t),t.animationState||(t.animationState=sF(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Du(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let uF=0;class AF extends ko{constructor(){super(...arguments),this.id=uF++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const dF={animation:{Feature:cF},exit:{Feature:AF}},BE=(e,t)=>Math.abs(e-t);function gF(e,t){const n=BE(e.x,t.x),r=BE(e.y,t.y);return Math.sqrt(n**2+r**2)}class Rv{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Yd(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,m=gF(h.offset,{x:0,y:0})>=3;if(!C&&!m)return;const{point:I}=h,{timestamp:B}=$t;this.history.push({...I,timestamp:B});const{onStart:v,onMove:S}=this.handlers;C||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,h)},this.handlePointerMove=(h,C)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Ud(C,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(h,C)=>{this.end();const{onEnd:m,onSessionEnd:I,resumeAnimation:B}=this.handlers;if(this.dragSnapToOrigin&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Yd(h.type==="pointercancel"?this.lastMoveEventInfo:Ud(C,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,v),I&&I(h,v)},!qB(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Fu(t),c=Ud(a,this.transformPagePoint),{point:u}=c,{timestamp:A}=$t;this.history=[{...u,timestamp:A}];const{onSessionStart:p}=n;p&&p(t,Yd(c,this.history)),this.removeListeners=Po(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),to(this.updatePoint)}}function Ud(e,t){return t?{point:t(e.point)}:e}function vE(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yd({point:e},t){return{point:e,delta:vE(e,Ov(t)),offset:vE(e,fF(t)),velocity:pF(t,.1)}}function fF(e){return e[0]}function Ov(e){return e[e.length-1]}function pF(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Ov(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ro(t)));)n--;if(!r)return{x:0,y:0};const s=$r(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const a={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Fn(e){return e.max-e.min}function Dg(e,t=0,n=.01){return Math.abs(e-t)<=n}function bE(e,t,n,r=.5){e.origin=r,e.originPoint=xt(t.min,t.max,e.origin),e.scale=Fn(n)/Fn(t),(Dg(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xt(n.min,n.max,e.origin)-e.originPoint,(Dg(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ya(e,t,n,r){bE(e.x,t.x,n.x,r?r.originX:void 0),bE(e.y,t.y,n.y,r?r.originY:void 0)}function yE(e,t,n){e.min=n.min+t.min,e.max=e.min+Fn(t)}function hF(e,t,n){yE(e.x,t.x,n.x),yE(e.y,t.y,n.y)}function QE(e,t,n){e.min=t.min-n.min,e.max=e.min+Fn(t)}function Qa(e,t,n){QE(e.x,t.x,n.x),QE(e.y,t.y,n.y)}function CF(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?xt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?xt(n,e,r.max):Math.min(e,n)),e}function xE(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function mF(e,{top:t,left:n,bottom:r,right:o}){return{x:xE(e.x,n,o),y:xE(e.y,t,r)}}function wE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function EF(e,t){return{x:wE(e.x,t.x),y:wE(e.y,t.y)}}function IF(e,t){let n=.5;const r=Fn(e),o=Fn(t);return o>r?n=Ma(t.min,t.max-r,e.min):r>o&&(n=Ma(e.min,e.max-o,t.min)),Oo(0,1,n)}function BF(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Mg=.35;function vF(e=Mg){return e===!1?e=0:e===!0&&(e=Mg),{x:TE(e,"left","right"),y:TE(e,"top","bottom")}}function TE(e,t,n){return{min:SE(e,t),max:SE(e,n)}}function SE(e,t){return typeof e=="number"?e:e[t]||0}const PE=()=>({translate:0,scale:1,origin:0,originPoint:0}),ls=()=>({x:PE(),y:PE()}),RE=()=>({min:0,max:0}),Nt=()=>({x:RE(),y:RE()});function Xn(e){return[e("x"),e("y")]}function jv({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function bF({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yF(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Gd(e){return e===void 0||e===1}function kg({scale:e,scaleX:t,scaleY:n}){return!Gd(e)||!Gd(t)||!Gd(n)}function ri(e){return kg(e)||Dv(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Dv(e){return OE(e.x)||OE(e.y)}function OE(e){return e&&e!=="0%"}function $c(e,t,n){const r=e-n,o=t*r;return n+o}function jE(e,t,n,r,o){return o!==void 0&&(e=$c(e,o,r)),$c(e,n,r)+t}function Fg(e,t=0,n=1,r,o){e.min=jE(e.min,t,n,r,o),e.max=jE(e.max,t,n,r,o)}function Mv(e,{x:t,y:n}){Fg(e.x,t.translate,t.scale,t.originPoint),Fg(e.y,n.translate,n.scale,n.originPoint)}function QF(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,a;for(let c=0;c<o;c++){s=n[c],a=s.projectionDelta;const u=s.instance;u&&u.style&&u.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&cs(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Mv(e,a)),r&&ri(s.latestValues)&&cs(e,s.latestValues))}t.x=DE(t.x),t.y=DE(t.y)}function DE(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function vo(e,t){e.min=e.min+t,e.max=e.max+t}function ME(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=xt(e.min,e.max,s);Fg(e,t[n],t[r],a,t.scale)}const xF=["x","scaleX","originX"],wF=["y","scaleY","originY"];function cs(e,t){ME(e.x,t,xF),ME(e.y,t,wF)}function kv(e,t){return jv(yF(e.getBoundingClientRect(),t))}function TF(e,t,n){const r=kv(e,n),{scroll:o}=t;return o&&(vo(r.x,o.offset.x),vo(r.y,o.offset.y)),r}const Fv=({current:e})=>e?e.ownerDocument.defaultView:null,SF=new WeakMap;class PF{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=p=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Fu(p,"page").point)},s=(p,h)=>{const{drag:C,dragPropagation:m,onDragStart:I}=this.getProps();if(C&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=XB(C),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xn(v=>{let S=this.getAxisMotionValue(v).get()||0;if(Tr.test(S)){const{projection:O}=this.visualElement;if(O&&O.layout){const x=O.layout.layoutBox[v];x&&(S=Fn(x)*(parseFloat(S)/100))}}this.originPoint[v]=S}),I&&mt.update(()=>I(p,h),!1,!0);const{animationState:B}=this.visualElement;B&&B.setActive("whileDrag",!0)},a=(p,h)=>{const{dragPropagation:C,dragDirectionLock:m,onDirectionLock:I,onDrag:B}=this.getProps();if(!C&&!this.openGlobalLock)return;const{offset:v}=h;if(m&&this.currentDirection===null){this.currentDirection=RF(v),this.currentDirection!==null&&I&&I(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),B&&B(p,h)},c=(p,h)=>this.stop(p,h),u=()=>Xn(p=>{var h;return this.getAnimationState(p)==="paused"&&((h=this.getAxisMotionValue(p).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:A}=this.getProps();this.panSession=new Rv(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,contextWindow:Fv(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&mt.update(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!cc(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=CF(a,this.constraints[t],this.elastic[t])),s.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&ss(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=mF(o.layoutBox,n):this.constraints=!1,this.elastic=vF(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Xn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=BF(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ss(t))return!1;const r=t.current;mr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=TF(r,o.root,this.visualElement.getTransformPagePoint());let a=EF(o.layout.layoutBox,s);if(n){const c=n(bF(a));this.hasMutatedConstraints=!!c,c&&(a=jv(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},A=Xn(p=>{if(!cc(p,n,this.currentDirection))return;let h=u&&u[p]||{};a&&(h={min:0,max:0});const C=o?200:1e6,m=o?40:1e7,I={type:"inertia",velocity:r?t[p]:0,bounceStiffness:C,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...h};return this.startAxisValueAnimation(p,I)});return Promise.all(A).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start($f(t,r,0,n))}stopAnimation(){Xn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Xn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Xn(n=>{const{drag:r}=this.getProps();if(!cc(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:c}=o.layout.layoutBox[n];s.set(t[n]-xt(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ss(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Xn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=IF({min:u,max:u},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Xn(a=>{if(!cc(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:A}=this.constraints[a];c.set(xt(u,A,o[a]))})}addListeners(){if(!this.visualElement.current)return;SF.set(this.visualElement,this);const t=this.visualElement.current,n=_r(t,"pointerdown",u=>{const{drag:A,dragListener:p=!0}=this.getProps();A&&p&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();ss(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const a=Xr(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:A})=>{this.isDragging&&A&&(Xn(p=>{const h=this.getAxisMotionValue(p);h&&(this.originPoint[p]+=u[p].translate,h.set(h.get()+u[p].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:a=Mg,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function cc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function RF(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class OF extends ko{constructor(t){super(t),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new PF(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}unmount(){this.removeGroupControls(),this.removeListeners()}}const kE=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class jF extends ko{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(t){this.session=new Rv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fv(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:kE(t),onStart:kE(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&mt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function DF(){const e=Q.useContext(Ff);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=Q.useId();return Q.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function FE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ca={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(De.test(e))e=parseFloat(e);else return e;const n=FE(e,t.target.x),r=FE(e,t.target.y);return`${n}% ${r}%`}},MF={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=jo.parse(e);if(o.length>5)return r;const s=jo.createTransformer(e),a=typeof o[0]!="number"?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;o[0+a]/=c,o[1+a]/=u;const A=xt(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=A),typeof o[3+a]=="number"&&(o[3+a]/=A),s(o)}};class kF extends Q.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;UM(FF),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,a=r.projection;return a&&(a.isPresent=s,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?a.promote():a.relegate()||mt.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Lv(e){const[t,n]=DF(),r=Q.useContext(jB);return Q.createElement(kF,{...e,layoutGroup:r,switchLayoutGroup:Q.useContext(DB),isPresent:t,safeToRemove:n})}const FF={borderRadius:{...ca,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ca,borderTopRightRadius:ca,borderBottomLeftRadius:ca,borderBottomRightRadius:ca,boxShadow:MF},Nv=["TopLeft","TopRight","BottomLeft","BottomRight"],LF=Nv.length,LE=e=>typeof e=="string"?parseFloat(e):e,NE=e=>typeof e=="number"||De.test(e);function NF(e,t,n,r,o,s){o?(e.opacity=xt(0,n.opacity!==void 0?n.opacity:1,VF(r)),e.opacityExit=xt(t.opacity!==void 0?t.opacity:1,0,HF(r))):s&&(e.opacity=xt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<LF;a++){const c=`border${Nv[a]}Radius`;let u=VE(t,c),A=VE(n,c);if(u===void 0&&A===void 0)continue;u||(u=0),A||(A=0),u===0||A===0||NE(u)===NE(A)?(e[c]=Math.max(xt(LE(u),LE(A),r),0),(Tr.test(A)||Tr.test(u))&&(e[c]+="%")):e[c]=A}(t.rotate||n.rotate)&&(e.rotate=xt(t.rotate||0,n.rotate||0,r))}function VE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const VF=Vv(0,.5,lv),HF=Vv(.5,.95,Pt);function Vv(e,t,n){return r=>r<e?0:r>t?1:n(Ma(e,t,r))}function HE(e,t){e.min=t.min,e.max=t.max}function Jn(e,t){HE(e.x,t.x),HE(e.y,t.y)}function zE(e,t,n,r,o){return e-=t,e=$c(e,1/n,r),o!==void 0&&(e=$c(e,1/o,r)),e}function zF(e,t=0,n=1,r=.5,o,s=e,a=e){if(Tr.test(t)&&(t=parseFloat(t),t=xt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=xt(s.min,s.max,r);e===s&&(c-=t),e.min=zE(e.min,t,n,c,o),e.max=zE(e.max,t,n,c,o)}function WE(e,t,[n,r,o],s,a){zF(e,t[n],t[r],t[o],t.scale,s,a)}const WF=["x","scaleX","originX"],UF=["y","scaleY","originY"];function UE(e,t,n,r){WE(e.x,t,WF,n?n.x:void 0,r?r.x:void 0),WE(e.y,t,UF,n?n.y:void 0,r?r.y:void 0)}function YE(e){return e.translate===0&&e.scale===1}function Hv(e){return YE(e.x)&&YE(e.y)}function YF(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zv(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function GE(e){return Fn(e.x)/Fn(e.y)}class GF{constructor(){this.members=[]}add(t){ep(this.members,t),t.scheduleRender()}remove(t){if(tp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function KE(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(r=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:A,rotateY:p}=n;u&&(r+=`rotate(${u}deg) `),A&&(r+=`rotateX(${A}deg) `),p&&(r+=`rotateY(${p}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const KF=(e,t)=>e.depth-t.depth;class qF{constructor(){this.children=[],this.isDirty=!1}add(t){ep(this.children,t),this.isDirty=!0}remove(t){tp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(KF),this.isDirty=!1,this.children.forEach(t)}}function JF(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(to(r),e(s-t))};return mt.read(r,!0),()=>to(r)}function XF(e){window.MotionDebug&&window.MotionDebug.record(e)}function ZF(e){return e instanceof SVGElement&&e.tagName!=="svg"}function _F(e,t,n){const r=bn(e)?e:Is(e);return r.start($f("",r,t,n)),r.animation}const qE=["","X","Y","Z"],$F={visibility:"hidden"},JE=1e3;let e5=0;const oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=e5++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0,this.nodes.forEach(r5),this.nodes.forEach(l5),this.nodes.forEach(c5),this.nodes.forEach(o5),XF(oi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new qF)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new np),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const u=this.eventHandlers.get(a);u&&u.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ZF(a),this.instance=a;const{layoutId:u,layout:A,visualElement:p}=this.options;if(p&&!p.current&&p.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(A||u)&&(this.isLayoutDirty=!0),e){let h;const C=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=JF(C,250),wc.hasAnimatedSinceResize&&(wc.hasAnimatedSinceResize=!1,this.nodes.forEach(ZE))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&p&&(u||A)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:C,hasRelativeTargetChanged:m,layout:I})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||p.getDefaultTransition()||f5,{onLayoutAnimationStart:v,onLayoutAnimationComplete:S}=p.getProps(),O=!this.targetLayout||!zv(this.targetLayout,I)||m,x=!C&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||x||C&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,x);const R={..._f(B,"layout"),onPlay:v,onComplete:S};(p.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R)}else C||ZE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=I})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,to(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(u5),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const h=this.path[p];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(XE);return}this.isUpdating||this.nodes.forEach(s5),this.isUpdating=!1,this.nodes.forEach(a5),this.nodes.forEach(t5),this.nodes.forEach(n5),this.clearAllSnapshots();const c=performance.now();$t.delta=Oo(0,1e3/60,c-$t.timestamp),$t.timestamp=c,$t.isProcessing=!0,kd.update.process($t),kd.preRender.process($t),kd.render.process($t),$t.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(i5),this.sharedNodes.forEach(A5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Nt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform,c=this.projectionDelta&&!Hv(this.projectionDelta),u=this.getTransformTemplate(),A=u?u(this.latestValues,""):void 0,p=A!==this.prevTransformTemplateValue;a&&(c||ri(this.latestValues)||p)&&(o(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),p5(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Nt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(vo(c.x,u.offset.x),vo(c.y,u.offset.y)),c}removeElementScroll(a){const c=Nt();Jn(c,a);for(let u=0;u<this.path.length;u++){const A=this.path[u],{scroll:p,options:h}=A;if(A!==this.root&&p&&h.layoutScroll){if(p.isRoot){Jn(c,a);const{scroll:C}=this.root;C&&(vo(c.x,-C.offset.x),vo(c.y,-C.offset.y))}vo(c.x,p.offset.x),vo(c.y,p.offset.y)}}return c}applyTransform(a,c=!1){const u=Nt();Jn(u,a);for(let A=0;A<this.path.length;A++){const p=this.path[A];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&cs(u,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),ri(p.latestValues)&&cs(u,p.latestValues)}return ri(this.latestValues)&&cs(u,this.latestValues),u}removeTransform(a){const c=Nt();Jn(c,a);for(let u=0;u<this.path.length;u++){const A=this.path[u];if(!A.instance||!ri(A.latestValues))continue;kg(A.latestValues)&&A.updateSnapshot();const p=Nt(),h=A.measurePageBox();Jn(p,h),UE(c,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,p)}return ri(this.latestValues)&&UE(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$t.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var c;const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const A=!!this.resumingFrom||this!==u;if(!(a||A&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:h,layoutId:C}=this.options;if(!(!this.layout||!(h||C))){if(this.resolvedRelativeTargetAt=$t.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Qa(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Jn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),hF(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Jn(this.target,this.layout.layoutBox),Mv(this.target,this.targetDelta)):Jn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Qa(this.relativeTargetOrigin,this.target,m.target),Jn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}oi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||kg(this.parent.latestValues)||Dv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const c=this.getLead(),u=!!this.resumingFrom||this!==c;let A=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(A=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(A=!1),this.resolvedRelativeTargetAt===$t.timestamp&&(A=!1),A)return;const{layout:p,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||h))return;Jn(this.layoutCorrected,this.layout.layoutBox);const C=this.treeScale.x,m=this.treeScale.y;QF(this.layoutCorrected,this.treeScale,this.path,u),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox);const{target:I}=c;if(!I){this.projectionTransform&&(this.projectionDelta=ls(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ls(),this.projectionDeltaWithTransform=ls());const B=this.projectionTransform;ya(this.projectionDelta,this.layoutCorrected,I,this.latestValues),this.projectionTransform=KE(this.projectionDelta,this.treeScale),(this.projectionTransform!==B||this.treeScale.x!==C||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",I)),oi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,c=!1){const u=this.snapshot,A=u?u.latestValues:{},p={...this.latestValues},h=ls();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const C=Nt(),m=u?u.source:void 0,I=this.layout?this.layout.source:void 0,B=m!==I,v=this.getStack(),S=!v||v.members.length<=1,O=!!(B&&!S&&this.options.crossfade===!0&&!this.path.some(g5));this.animationProgress=0;let x;this.mixTargetDelta=R=>{const P=R/1e3;_E(h.x,a.x,P),_E(h.y,a.y,P),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qa(C,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d5(this.relativeTarget,this.relativeTargetOrigin,C,P),x&&YF(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Nt()),Jn(x,this.relativeTarget)),B&&(this.animationValues=p,NF(p,A,this.latestValues,P,O,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(to(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{wc.hasAnimatedSinceResize=!0,this.currentAnimation=_F(0,JE,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(JE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:A,latestValues:p}=a;if(!(!c||!u||!A)){if(this!==a&&this.layout&&A&&Uv(this.options.animationType,this.layout.layoutBox,A.layoutBox)){u=this.target||Nt();const h=Fn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+h;const C=Fn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+C}Jn(c,u),cs(c,p),ya(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new GF),this.sharedNodes.get(a).add(c);const A=c.options.initialPromotionConfig;c.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const A=this.getStack();A&&A.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const A={};for(let p=0;p<qE.length;p++){const h="rotate"+qE[p];u[h]&&(A[h]=u[h],a.setStaticValue(h,0))}a.render();for(const p in A)a.setStaticValue(p,A[p]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return $F;const A={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,A.opacity="",A.pointerEvents=xc(a==null?void 0:a.pointerEvents)||"",A.transform=p?p(this.latestValues,""):"none",A;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const B={};return this.options.layoutId&&(B.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,B.pointerEvents=xc(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(B.transform=p?p({},""):"none",this.hasProjected=!1),B}const C=h.animationValues||h.latestValues;this.applyTransformsToTarget(),A.transform=KE(this.projectionDeltaWithTransform,this.treeScale,C),p&&(A.transform=p(C,A.transform));const{x:m,y:I}=this.projectionDelta;A.transformOrigin=`${m.origin*100}% ${I.origin*100}% 0`,h.animationValues?A.opacity=h===this?(u=(c=C.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:C.opacityExit:A.opacity=h===this?C.opacity!==void 0?C.opacity:"":C.opacityExit!==void 0?C.opacityExit:0;for(const B in Gc){if(C[B]===void 0)continue;const{correct:v,applyTo:S}=Gc[B],O=A.transform==="none"?C[B]:v(C[B],h);if(S){const x=S.length;for(let R=0;R<x;R++)A[S[R]]=O}else A[B]=O}return this.options.layoutId&&(A.pointerEvents=h===this?xc(a==null?void 0:a.pointerEvents)||"":"none"),A}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(XE),this.root.sharedNodes.clear()}}}function t5(e){e.updateLayout()}function n5(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,a=n.source!==e.layout.source;s==="size"?Xn(h=>{const C=a?n.measuredBox[h]:n.layoutBox[h],m=Fn(C);C.min=r[h].min,C.max=C.min+m}):Uv(s,n.layoutBox,r)&&Xn(h=>{const C=a?n.measuredBox[h]:n.layoutBox[h],m=Fn(r[h]);C.max=C.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+m)});const c=ls();ya(c,r,n.layoutBox);const u=ls();a?ya(u,e.applyTransform(o,!0),n.measuredBox):ya(u,r,n.layoutBox);const A=!Hv(c);let p=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:C,layout:m}=h;if(C&&m){const I=Nt();Qa(I,n.layoutBox,C.layoutBox);const B=Nt();Qa(B,r,m.layoutBox),zv(I,B)||(p=!0),h.options.layoutRoot&&(e.relativeTarget=B,e.relativeTargetOrigin=I,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:A,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function r5(e){oi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function o5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i5(e){e.clearSnapshot()}function XE(e){e.clearMeasurements()}function s5(e){e.isLayoutDirty=!1}function a5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ZE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function l5(e){e.resolveTargetDelta()}function c5(e){e.calcProjection()}function u5(e){e.resetRotation()}function A5(e){e.removeLeadSnapshot()}function _E(e,t,n){e.translate=xt(t.translate,0,n),e.scale=xt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $E(e,t,n,r){e.min=xt(t.min,n.min,r),e.max=xt(t.max,n.max,r)}function d5(e,t,n,r){$E(e.x,t.x,n.x,r),$E(e.y,t.y,n.y,r)}function g5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const f5={duration:.45,ease:[.4,0,.1,1]},eI=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),tI=eI("applewebkit/")&&!eI("chrome/")?Math.round:Pt;function nI(e){e.min=tI(e.min),e.max=tI(e.max)}function p5(e){nI(e.x),nI(e.y)}function Uv(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dg(GE(t),GE(n),.2)}const h5=Wv({attachResizeListener:(e,t)=>Xr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Kd={current:void 0},Yv=Wv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Kd.current){const e=new h5({});e.mount(window),e.setOptions({layoutScroll:!0}),Kd.current=e}return Kd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),C5={pan:{Feature:jF},drag:{Feature:OF,ProjectionNode:Yv,MeasureLayout:Lv}},m5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function E5(e){const t=m5.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const I5=4;function Lg(e,t,n=1){mr(n<=I5,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=E5(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return wv(a)?parseFloat(a):a}else return wg(o)?Lg(o,t,n+1):o}function B5(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const s=o.get();if(!wg(s))return;const a=Lg(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!wg(s))continue;const a=Lg(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const v5=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Gv=e=>v5.has(e),b5=e=>Object.keys(e).some(Gv),uc=e=>e===xi||e===De,rI=(e,t)=>parseFloat(e.split(", ")[t]),oI=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return rI(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?rI(s[1],e):0}},y5=new Set(["x","y","z"]),Q5=Ja.filter(e=>!y5.has(e));function x5(e){const t=[];return Q5.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Bs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:oI(4,13),y:oI(5,14)};Bs.translateX=Bs.x;Bs.translateY=Bs.y;const w5=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:a}=s,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(A=>{c[A]=Bs[A](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(A=>{const p=t.getValue(A);p&&p.jump(c[A]),e[A]=Bs[A](u,s)}),e},T5=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Gv);let s=[],a=!1;const c=[];if(o.forEach(u=>{const A=e.getValue(u);if(!e.hasValue(u))return;let p=n[u],h=la(p);const C=t[u];let m;if(qc(C)){const I=C.length,B=C[0]===null?1:0;p=C[B],h=la(p);for(let v=B;v<I&&C[v]!==null;v++)m?mr(la(C[v])===m,"All keyframes must be of the same type"):(m=la(C[v]),mr(m===h||uc(h)&&uc(m),"Keyframes must be of the same dimension as the current value"))}else m=la(C);if(h!==m)if(uc(h)&&uc(m)){const I=A.get();typeof I=="string"&&A.set(parseFloat(I)),typeof C=="string"?t[u]=parseFloat(C):Array.isArray(C)&&m===De&&(t[u]=C.map(parseFloat))}else h!=null&&h.transform&&(m!=null&&m.transform)&&(p===0||C===0)?p===0?A.set(m.transform(p)):t[u]=h.transform(C):(a||(s=x5(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],A.jump(C))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,A=w5(t,e,c);return s.length&&s.forEach(([p,h])=>{e.getValue(p).set(h)}),e.render(),ju&&u!==null&&window.scrollTo({top:u}),{target:A,transitionEnd:r}}else return{target:t,transitionEnd:r}};function S5(e,t,n,r){return b5(t)?T5(e,t,n,r):{target:t,transitionEnd:r}}const P5=(e,t,n,r)=>{const o=B5(e,t,r);return t=o.target,r=o.transitionEnd,S5(e,t,n,r)},Ng={current:null},Kv={current:!1};function R5(){if(Kv.current=!0,!!ju)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ng.current=e.matches;e.addListener(t),t()}else Ng.current=!1}function O5(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(bn(s))e.addValue(o,s),_c(r)&&r.add(o),process.env.NODE_ENV==="development"&&rp(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(bn(a))e.addValue(o,Is(s,{owner:e})),_c(r)&&r.remove(o);else if(a!==s)if(e.hasValue(o)){const c=e.getValue(o);!c.hasAnimated&&c.set(s)}else{const c=e.getStaticValue(o);e.addValue(o,Is(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const iI=new WeakMap,qv=Object.keys(Da),j5=qv.length,sI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],D5=Vf.length;class M5{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>mt.render(this.render,!1,!0);const{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.isControllingVariants=Mu(n),this.isVariantNode=OB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:A,...p}=this.scrapeMotionValuesFromProps(n,{});for(const h in p){const C=p[h];c[h]!==void 0&&bn(C)&&(C.set(c[h],!1),_c(A)&&A.add(h))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,iI.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Kv.current||R5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ng.current,process.env.NODE_ENV!=="production"&&rp(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){iI.delete(this.current),this.projection&&this.projection.unmount(),to(this.notifyUpdate),to(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Qi.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&mt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,s){let a,c;if(process.env.NODE_ENV!=="production"&&o&&r){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?_a(!1,u):mr(!1,u)}for(let u=0;u<j5;u++){const A=qv[u],{isEnabled:p,Feature:h,ProjectionNode:C,MeasureLayout:m}=Da[A];C&&(a=C),p(n)&&(!this.features[A]&&h&&(this.features[A]=new h(this)),m&&(c=m))}if((this.type==="html"||this.type==="svg")&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:u,layout:A,drag:p,dragConstraints:h,layoutScroll:C,layoutRoot:m}=n;this.projection.setOptions({layoutId:u,layout:A,alwaysMeasureLayout:!!p||h&&ss(h),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof A=="string"?A:"both",initialPromotionConfig:s,layoutScroll:C,layoutRoot:m})}return c}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<sI.length;r++){const o=sI[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=O5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<D5;r++){const o=Vf[r],s=this.props[o];(ja(s)||s===!1)&&(n[o]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Is(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=Kf(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!bn(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new np),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Jv extends M5{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},s){let a=Zk(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){Jk(this,r,a);const c=P5(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function k5(e){return window.getComputedStyle(e)}class F5 extends Jv{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Qi.has(n)){const r=Zf(n);return r&&r.default||0}else{const r=k5(t),o=(FB(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return kv(t,n)}build(t,n,r,o){zf(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Gf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;bn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){WB(t,n,r,o)}}class L5 extends Jv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qi.has(n)){const r=Zf(n);return r&&r.default||0}return n=UB.has(n)?n:Lf(n),t.getAttribute(n)}measureInstanceViewportBox(){return Nt()}scrapeMotionValuesFromProps(t,n){return GB(t,n)}build(t,n,r,o){Uf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){YB(t,n,r,o)}mount(t){this.isSVGTag=Yf(t.tagName),super.mount(t)}}const N5=(e,t)=>Hf(e)?new L5(t,{enableHardwareAcceleration:!1}):new F5(t,{enableHardwareAcceleration:!0}),V5={layout:{ProjectionNode:Yv,MeasureLayout:Lv}},H5={...dF,...D3,...C5,...V5},Ac=zM((e,t)=>B3(e,t,H5,N5)),z5=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function aI(...e){const t=Q.useRef(0),[n,r]=Q.useState(e[t.current]),o=Q.useCallback(s=>{t.current=typeof s!="number"?z5(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function Xv({children:e,type:t="scale",direction:n="right",offset:r=10,scale:o={hover:1.05,tap:.95}}){let s,a;switch(n){case"up":case"left":s=r,a=0;break;case"right":case"down":default:s=0,a=r;break}const[c,u]=aI(s,a),[A,p]=aI(s,a);switch(t){case"rotate":return g.jsx(Ac.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?g.jsx(Ac.div,{animate:{y:A!==void 0?A:""},onHoverEnd:()=>p(),onHoverStart:()=>p(),children:e}):g.jsx(Ac.div,{animate:{x:c!==void 0?c:""},onHoverEnd:()=>u(),onHoverStart:()=>u(),children:e});case"scale":default:return typeof o=="number"&&(o={hover:o,tap:o}),g.jsx(Ac.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}Xv.propTypes={children:f.node,offset:f.number,type:f.oneOf(["slide","scale","rotate"]),direction:f.oneOf(["up","down","left","right"]),scale:f.oneOfType([f.number,f.object])};function W5(e){return Dt("MuiSvgIcon",e)}Vt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const U5=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Y5=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Pe(t)}`,`fontSize${Pe(n)}`]};return nn(o,W5,r)},G5=Ae("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Pe(n.color)}`],t[`fontSize${Pe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,A,p,h,C,m,I;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((A=e.typography)==null||(p=A.pxToRem)==null?void 0:p.call(A,35))||"2.1875rem"}[t.fontSize],color:(h=(C=(e.vars||e).palette)==null||(C=C[t.color])==null?void 0:C.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(I=(e.vars||e).palette)==null||(I=I.action)==null?void 0:I.disabled,inherit:void 0}[t.color]}}),op=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:A,inheritViewBox:p=!1,titleAccess:h,viewBox:C="0 0 24 24"}=r,m=Ne(r,U5),I=M.isValidElement(o)&&o.type==="svg",B=z({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:C,hasSvgAsChild:I}),v={};p||(v.viewBox=C);const S=Y5(B);return g.jsxs(G5,z({as:c,className:Ge(S.root,s),focusable:"false",color:A,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:n},v,m,I&&o.props,{ownerState:B,children:[I?o.props.children:o,h?g.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(op.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});op.muiName="SvgIcon";const lI=op;function ip(e,t){function n(r,o){return g.jsx(lI,z({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=lI.muiName,M.memo(M.forwardRef(n))}const K5=ip(g.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function q5(e){return Dt("MuiAvatar",e)}Vt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const J5=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],X5=e=>{const{classes:t,variant:n,colorDefault:r}=e;return nn({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},q5,t)},Z5=Ae("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>z({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&z({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),_5=Ae("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),$5=Ae(K5,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function e8({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=M.useState(!1);return M.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const c=new Image;return c.onload=()=>{a&&s("loaded")},c.onerror=()=>{a&&s("error")},c.crossOrigin=e,c.referrerPolicy=t,c.src=n,r&&(c.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const Zv=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",imgProps:u,sizes:A,src:p,srcSet:h,variant:C="circular"}=r,m=Ne(r,J5);let I=null;const B=e8(z({},u,{src:p,srcSet:h})),v=p||h,S=v&&B!=="error",O=z({},r,{colorDefault:!S,component:c,variant:C}),x=X5(O);return S?I=g.jsx(_5,z({alt:o,srcSet:h,src:p,sizes:A,ownerState:O,className:x.img},u)):s!=null?I=s:v&&o?I=o[0]:I=g.jsx($5,{ownerState:O,className:x.fallback}),g.jsx(Z5,z({as:c,ownerState:O,className:Ge(x.root,a),ref:n},m,{children:I}))});process.env.NODE_ENV!=="production"&&(Zv.propTypes={alt:f.string,children:f.node,classes:f.object,className:f.string,component:f.elementType,imgProps:f.object,sizes:f.string,src:f.string,srcSet:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["circular","rounded","square"]),f.string])});const t8=Zv,rn=(e,t)=>{switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}};function n8({theme:e,color:t,type:n}){const r=rn(e,t),{lighter:o,light:s,main:a,contrastText:c}=r;switch(n){case"filled":return{color:c,backgroundColor:a};case"outlined":return{color:a,border:"1px solid",borderColor:a,backgroundColor:"transparent"};case"combined":return{color:a,border:"1px solid",borderColor:s,backgroundColor:o};default:return{color:a,backgroundColor:o}}}function r8(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const o8=Ae(t8,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,variant:t,color:n,type:r,size:o})=>({...r8(o),...n8({variant:t,theme:e,color:n,type:r}),...o==="badge"&&{borderColor:e.palette.background.default}}));function ka({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=bt();return g.jsx(o8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}ka.propTypes={children:f.node,color:f.string,type:f.string,size:f.string,variant:f.string};const cI={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},er=Q.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:A,shadow:p,sx:h={},title:C,modal:m=!1,color:I="default",...B},v)=>{const S=bt();return t=S.palette.mode==="dark"?t||!0:t,g.jsxs(y.Card,{elevation:u||0,ref:v,...B,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:S.palette.mode==="dark"?S.palette.divider:S.palette.grey.A800,boxShadow:t&&(!e||S.palette.mode==="dark")?p||S.customShadows.z1:"inherit",":hover":{boxShadow:t?p||S.customShadows.z1:"inherit"},backgroundColor:I==="default"?S.palette.background.paper:Es(I==="primary"?S.palette.primary[100]:S.palette.secondary[100],.5),...m&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"calc( 100% - 50px)",sm:"auto"},"& .MuiCardContent-root":{overflowY:"auto",minHeight:"auto",maxHeight:"calc(100vh - 200px)"}},...h},children:[!a&&C&&g.jsx(y.CardHeader,{sx:cI,title:C,action:A,subheader:r}),a&&C&&g.jsx(y.CardHeader,{sx:cI,title:g.jsx(y.Typography,{variant:"h4",children:C}),action:A}),C&&c&&g.jsx(y.Divider,{}),o&&g.jsx(y.CardContent,{sx:s,children:n}),!o&&n]})});er.propTypes={border:f.bool,boxShadow:f.bool,children:f.oneOfType([f.node,f.arrayOf(f.node)]),subheader:f.oneOfType([f.node,f.string]),content:f.bool,contentClass:f.string,contentSX:f.object,darkTitle:f.bool,divider:f.bool,elevation:f.number,secondary:f.oneOfType([f.node,f.string,f.object]),shadow:f.string,sx:f.object,title:f.oneOfType([f.node,f.string,f.object]),modal:f.bool,color:f.oneOf(["default","primary","secondary"])};function i8(e){return Dt("MuiTypography",e)}Vt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const s8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],a8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${Pe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return nn(c,i8,a)},l8=Ae("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Pe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>z({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),uI={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},c8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},u8=e=>c8[e]||e,_v=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiTypography"}),o=u8(r.color),s=aj(z({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:A=!1,noWrap:p=!1,paragraph:h=!1,variant:C="body1",variantMapping:m=uI}=s,I=Ne(s,s8),B=z({},s,{align:a,color:o,className:c,component:u,gutterBottom:A,noWrap:p,paragraph:h,variant:C,variantMapping:m}),v=u||(h?"p":m[C]||uI[C])||"span",S=a8(B);return g.jsx(l8,z({as:v,ref:n,ownerState:B,className:Ge(S.root,c)},I))});process.env.NODE_ENV!=="production"&&(_v.propTypes={align:f.oneOf(["center","inherit","justify","left","right"]),children:f.node,classes:f.object,className:f.string,component:f.elementType,gutterBottom:f.bool,noWrap:f.bool,paragraph:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),f.string]),variantMapping:f.object});const $v=_v,A8=ip(g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");function Vg(e,t){return Vg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Vg(e,t)}function sp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vg(e,t)}const AI={disabled:!1};var d8=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.shape({enter:f.number,exit:f.number,appear:f.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&f.oneOfType([f.string,f.shape({enter:f.string,exit:f.string,active:f.string}),f.shape({enter:f.string,enterDone:f.string,enterActive:f.string,exit:f.string,exitDone:f.string,exitActive:f.string})]);const eu=Q.createContext(null);var g8=function(t){return t.scrollTop},ma="unmounted",ii="exited",si="entering",ns="entered",Hg="exiting",oo=function(e){sp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,u;return s.appearStatus=null,r.in?c?(u=ii,s.appearStatus=si):u=ns:r.unmountOnExit||r.mountOnEnter?u=ma:u=ii,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ma?{status:ii}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==si&&a!==ns&&(s=si):(a===si||a===ns)&&(s=Hg)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,a,c;return s=a=c=o,o!=null&&typeof o!="number"&&(s=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:s,enter:a,appear:c}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===si){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:os.findDOMNode(this);a&&g8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ii&&this.setState({status:ma})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[os.findDOMNode(this),c],A=u[0],p=u[1],h=this.getTimeouts(),C=c?h.appear:h.enter;if(!o&&!a||AI.disabled){this.safeSetState({status:ns},function(){s.props.onEntered(A)});return}this.props.onEnter(A,p),this.safeSetState({status:si},function(){s.props.onEntering(A,p),s.onTransitionEnd(C,function(){s.safeSetState({status:ns},function(){s.props.onEntered(A,p)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:os.findDOMNode(this);if(!s||AI.disabled){this.safeSetState({status:ii},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Hg},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ii},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,s.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:os.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],A=u[0],p=u[1];this.props.addEndListener(A,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ma)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=Ne(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Q.createElement(eu.Provider,{value:null},typeof a=="function"?a(o,c):Q.cloneElement(Q.Children.only(a),c))},t}(Q.Component);oo.contextType=eu;oo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:f.shape({current:typeof Element>"u"?f.any:function(e,t,n,r,o,s){var a=e[t];return f.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:f.oneOfType([f.func.isRequired,f.element.isRequired]).isRequired,in:f.bool,mountOnEnter:f.bool,unmountOnExit:f.bool,appear:f.bool,enter:f.bool,exit:f.bool,timeout:function(t){var n=d8;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:f.func,onEnter:f.func,onEntering:f.func,onEntered:f.func,onExit:f.func,onExiting:f.func,onExited:f.func}:{};function Xi(){}oo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xi,onEntering:Xi,onEntered:Xi,onExit:Xi,onExiting:Xi,onExited:Xi};oo.UNMOUNTED=ma;oo.EXITED=ii;oo.ENTERING=si;oo.ENTERED=ns;oo.EXITING=Hg;const ap=oo;function f8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lp(e,t){var n=function(s){return t&&Q.isValidElement(s)?t(s):s},r=Object.create(null);return e&&Q.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function p8(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var a,c={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var A=r[u][a];c[r[u][a]]=n(A)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function ui(e,t,n){return n[t]!=null?n[t]:e.props[t]}function h8(e,t){return lp(e.children,function(n){return Q.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:ui(n,"appear",e),enter:ui(n,"enter",e),exit:ui(n,"exit",e)})})}function C8(e,t,n){var r=lp(e.children),o=p8(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(Q.isValidElement(a)){var c=s in t,u=s in r,A=t[s],p=Q.isValidElement(A)&&!A.props.in;u&&(!c||p)?o[s]=Q.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:ui(a,"exit",e),enter:ui(a,"enter",e)}):!u&&c&&!p?o[s]=Q.cloneElement(a,{in:!1}):u&&c&&Q.isValidElement(A)&&(o[s]=Q.cloneElement(a,{onExited:n.bind(null,a),in:A.props.in,exit:ui(a,"exit",e),enter:ui(a,"enter",e)}))}}),o}var m8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},E8={component:"div",childFactory:function(t){return t}},cp=function(e){sp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(f8(s));return s.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var a=s.children,c=s.handleExited,u=s.firstRender;return{children:u?h8(o,c):C8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=lp(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=z({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=Ne(o,["component","childFactory"]),u=this.state.contextValue,A=m8(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?Q.createElement(eu.Provider,{value:u},A):Q.createElement(eu.Provider,{value:u},Q.createElement(s,c,A))},t}(Q.Component);cp.propTypes=process.env.NODE_ENV!=="production"?{component:f.any,children:f.node,appear:f.bool,enter:f.bool,exit:f.bool,childFactory:f.func}:{};cp.defaultProps=E8;const I8=cp;function eb(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:A}=e,[p,h]=M.useState(!1),C=Ge(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},I=Ge(n.child,p&&n.childLeaving,r&&n.childPulsate);return!c&&!p&&h(!0),M.useEffect(()=>{if(!c&&u!=null){const B=setTimeout(u,A);return()=>{clearTimeout(B)}}},[u,c,A]),g.jsx("span",{className:C,style:m,children:g.jsx("span",{className:I})})}process.env.NODE_ENV!=="production"&&(eb.propTypes={classes:f.object.isRequired,className:f.string,in:f.bool,onExited:f.func,pulsate:f.bool,rippleSize:f.number,rippleX:f.number,rippleY:f.number,timeout:f.number.isRequired});const B8=Vt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zn=B8,v8=["center","classes","className"];let Nu=e=>e,dI,gI,fI,pI;const zg=550,b8=80,y8=qt.keyframes(dI||(dI=Nu`
|
|
100
|
+
`+(c!==a?`result of cast: ${c}`:""))}return s}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((o,s)=>s.call(this,o,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,o){let{path:s,originalValue:a=t,strict:c=this.spec.strict}=n,u=t;c||(u=this._cast(u,Object.assign({assert:!1},n)));let A=[];for(let p of Object.values(this.internalTests))p&&A.push(p);this.runTests({path:s,value:u,originalValue:a,options:n,tests:A},r,p=>{if(p.length)return o(p,u);this.runTests({path:s,value:u,originalValue:a,options:n,tests:this.tests},r,o)})}runTests(t,n,r){let o=!1,{tests:s,value:a,originalValue:c,path:u,options:A}=t,p=B=>{o||(o=!0,n(B,a))},h=B=>{o||(o=!0,r(B,a))},C=s.length,m=[];if(!C)return h([]);let I={value:a,originalValue:c,path:u,options:A,schema:this};for(let B=0;B<s.length;B++){const v=s[B];v(I,p,function(O){O&&(Array.isArray(O)?m.push(...O):m.push(O)),--C<=0&&h(m)})}}asNestedTest({key:t,index:n,parent:r,parentPath:o,originalParent:s,options:a}){const c=t??n;if(c==null)throw TypeError("Must include `key` or `index` for nested validations");const u=typeof c=="number";let A=r[c];const p=Object.assign({},a,{strict:!0,parent:r,value:A,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(h,C,m)=>this.resolve(p)._validate(A,p,C,m)}validate(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return new Promise((a,c)=>o._validate(t,n,(u,A)=>{En.isError(u)&&(u.value=A),c(u)},(u,A)=>{u.length?c(new En(u,A,void 0,void 0,s)):a(A)}))}validateSync(t,n){var r;let o=this.resolve(Object.assign({},n,{value:t})),s,a=(r=n==null?void 0:n.disableStackTrace)!=null?r:o.spec.disableStackTrace;return o._validate(t,Object.assign({},n,{sync:!0}),(c,u)=>{throw En.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new En(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(En.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(En.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):is(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=Ji({message:n,name:"nullable",test(o){return o===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=Ji({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=xr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=xr.notNull){return this.nullability(!1,t)}required(t=xr.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=xr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Ji(n),s=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(a=>!(a.OPTIONS.name===n.name&&(s||a.OPTIONS.test===o.OPTIONS.test))),r.tests.push(o),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),o=uB(t).map(s=>new yi(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Uc(o,n):Uc.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Ji({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=xr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Ji({message:n,name:"oneOf",skipAbsent:!0,test(o){let s=this.schema._whitelist,a=s.resolveAll(this.resolve);return a.includes(o)?!0:this.createError({params:{values:Array.from(s).join(", "),resolved:a}})}}),r}notOneOf(t,n=xr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Ji({message:n,name:"notOneOf",test(o){let s=this.schema._blacklist,a=s.resolveAll(this.resolve);return a.includes(o)?this.createError({params:{values:Array.from(s).join(", "),resolved:a}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:o,optional:s,nullable:a}=n.spec;return{meta:o,label:r,optional:s,nullable:a,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(u=>({name:u.OPTIONS.name,params:u.OPTIONS.params})).filter((u,A,p)=>p.findIndex(h=>h.name===u.name)===A)}}}or.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])or.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=oM(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])or.prototype[e]=or.prototype.oneOf;for(const e of["not","nope"])or.prototype[e]=or.prototype.notOneOf;const iM=()=>!0;function fB(e){return new pB(e)}class pB extends or{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:iM},t))}}fB.prototype=pB.prototype;const sM=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function aM(e){const t=xg(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function xg(e){var t,n;const r=sM.exec(e);return r?{year:Ur(r[1]),month:Ur(r[2],1)-1,day:Ur(r[3],1),hour:Ur(r[4]),minute:Ur(r[5]),second:Ur(r[6]),millisecond:r[7]?Ur(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:Ur(r[10]),minuteOffset:Ur(r[11])}:null}function Ur(e,t=0){return Number(e)||t}let lM=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cM=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,uM=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,AM="^\\d{4}-\\d{2}-\\d{2}",dM="\\d{2}:\\d{2}:\\d{2}",gM="(([+-]\\d{2}(:?\\d{2})?)|Z)",fM=new RegExp(`${AM}T${dM}(\\.\\d+)?${gM}$`),pM=e=>qr(e)||e===e.trim(),hM={}.toString();function Jr(){return new hB}class hB extends or{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const o=t!=null&&t.toString?t.toString():t;return o===hM?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||xr.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=mn.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=mn.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=mn.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,o,s;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:o,name:s}=n:o=n),this.test({name:s||"matches",message:o||mn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=mn.email){return this.matches(lM,{name:"email",message:t,excludeEmptyString:!0})}url(t=mn.url){return this.matches(cM,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=mn.uuid){return this.matches(uM,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,o;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:o=void 0}=t:n=t),this.matches(fM,{name:"datetime",message:n||mn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||mn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=xg(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||mn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=xg(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=mn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:pM})}lowercase(t=mn.lowercase){return this.transform(n=>qr(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>qr(n)||n===n.toLowerCase()})}uppercase(t=mn.uppercase){return this.transform(n=>qr(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>qr(n)||n===n.toUpperCase()})}}Jr.prototype=hB.prototype;let CM=e=>e!=+e;function CB(){return new mB}class mB extends or{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!CM(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let o=t;if(typeof o=="string"){if(o=o.replace(/\s/g,""),o==="")return NaN;o=+o}return r.isType(o)||o===null?o:parseFloat(o)})})}min(t,n=Io.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=Io.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=Io.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return r<this.resolve(t)}})}moreThan(t,n=Io.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Io.positive){return this.moreThan(0,t)}negative(t=Io.negative){return this.lessThan(0,t)}integer(t=Io.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>qr(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(o=>qr(o)?o:Math[t](o))}}CB.prototype=mB.prototype;let mM=new Date(""),EM=e=>Object.prototype.toString.call(e)==="[object Date]";class Su extends or{constructor(){super({type:"date",check(t){return EM(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=aM(t),isNaN(t)?Su.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(yi.isRef(t))r=t;else{let o=this.cast(t);if(!this._typeCheck(o))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=o}return r}min(t,n=yg.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(o){return o>=this.resolve(r)}})}max(t,n=yg.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(o){return o<=this.resolve(r)}})}}Su.INVALID_DATE=mM;Su.prototype;function IM(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=gi.split(a)[0];r.add(u),o.has(`${c}-${u}`)||n.push([c,u])}for(const a of Object.keys(e)){let c=e[a];r.add(a),yi.isRef(c)&&c.isSibling?s(c.path,a):Of(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return KD.array(Array.from(r),n).reverse()}function $m(e,t){let n=1/0;return e.some((r,o)=>{var s;if((s=t.path)!=null&&s.includes(r))return n=o,!0}),n}function EB(e){return(t,n)=>$m(e,t)-$m(e,n)}const BM=(e,t,n)=>{if(typeof e!="string")return e;let r=e;try{r=JSON.parse(e)}catch{}return n.isType(r)?r:e};function Qc(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Qc(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Qc(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Qc)}):"optional"in e?e.optional():e}const vM=(e,t)=>{const n=[...gi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=gi.getter(gi.join(n),!0)(e);return!!(o&&r in o)};let eE=e=>Object.prototype.toString.call(e)==="[object Object]";function bM(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const yM=EB([]);function jf(e){return new IB(e)}class IB extends or{constructor(t){super({type:"object",check(n){return eE(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=yM,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{t&&this.shape(t)})}_cast(t,n={}){var r;let o=super._cast(t,n);if(o===void 0)return this.getDefault(n);if(!this._typeCheck(o))return o;let s=this.fields,a=(r=n.stripUnknown)!=null?r:this.spec.noUnknown,c=[].concat(this._nodes,Object.keys(o).filter(h=>!this._nodes.includes(h))),u={},A=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),p=!1;for(const h of c){let C=s[h],m=h in o;if(C){let I,B=o[h];A.path=(n.path?`${n.path}.`:"")+h,C=C.resolve({value:B,context:n.context,parent:u});let v=C instanceof or?C.spec:void 0,S=v==null?void 0:v.strict;if(v!=null&&v.strip){p=p||h in o;continue}I=!n.__validating||!S?C.cast(o[h],A):o[h],I!==void 0&&(u[h]=I)}else m&&!a&&(u[h]=o[h]);(m!==h in u||u[h]!==o[h])&&(p=!0)}return p?u:o}_validate(t,n={},r,o){let{from:s=[],originalValue:a=t,recursive:c=this.spec.recursive}=n;n.from=[{schema:this,value:a},...s],n.__validating=!0,n.originalValue=a,super._validate(t,n,r,(u,A)=>{if(!c||!eE(A)){o(u,A);return}a=a||A;let p=[];for(let h of this._nodes){let C=this.fields[h];!C||yi.isRef(C)||p.push(C.asNestedTest({options:n,key:h,parent:A,parentPath:n.path,originalParent:a}))}this.runTests({tests:p,value:A,originalValue:a,options:n},r,h=>{o(h.sort(this._sortErrors).concat(u),A)})})}clone(t){const n=super.clone(t);return n.fields=Object.assign({},this.fields),n._nodes=this._nodes,n._excludedEdges=this._excludedEdges,n._sortErrors=this._sortErrors,n}concat(t){let n=super.concat(t),r=n.fields;for(let[o,s]of Object.entries(this.fields)){const a=r[o];r[o]=a===void 0?s:a}return n.withMutation(o=>o.setFields(r,[...this._excludedEdges,...t._excludedEdges]))}_getDefault(t){if("default"in this.spec)return super._getDefault(t);if(!this._nodes.length)return;let n={};return this._nodes.forEach(r=>{var o;const s=this.fields[r];let a=t;(o=a)!=null&&o.value&&(a=Object.assign({},a,{parent:a.value,value:a.value[r]})),n[r]=s&&"getDefault"in s?s.getDefault(a):void 0}),n}setFields(t,n){let r=this.clone();return r.fields=t,r._nodes=IM(t,n),r._sortErrors=EB(Object.keys(t)),n&&(r._excludedEdges=n),r}shape(t,n=[]){return this.clone().withMutation(r=>{let o=r._excludedEdges;return n.length&&(Array.isArray(n[0])||(n=[n]),o=[...r._excludedEdges,...n]),r.setFields(Object.assign(r.fields,t),o)})}partial(){const t={};for(const[n,r]of Object.entries(this.fields))t[n]="optional"in r&&r.optional instanceof Function?r.optional():r;return this.setFields(t)}deepPartial(){return Qc(this)}pick(t){const n={};for(const r of t)this.fields[r]&&(n[r]=this.fields[r]);return this.setFields(n,this._excludedEdges.filter(([r,o])=>t.includes(r)&&t.includes(o)))}omit(t){const n=[];for(const r of Object.keys(this.fields))t.includes(r)||n.push(r);return this.pick(n)}from(t,n,r){let o=gi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return vM(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(BM)}noUnknown(t=!0,n=Qg.noUnknown){typeof t!="boolean"&&(n=t,t=!0);let r=this.test({name:"noUnknown",exclusive:!0,message:n,test(o){if(o==null)return!0;const s=bM(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Qg.noUnknown){return this.noUnknown(!t,n)}transformKeys(t){return this.transform(n=>{if(!n)return n;const r={};for(const o of Object.keys(n))r[t(o)]=n[o];return r})}camelCase(){return this.transformKeys(Md.camelCase)}snakeCase(){return this.transformKeys(Md.snakeCase)}constantCase(){return this.transformKeys(t=>Md.snakeCase(t).toUpperCase())}describe(t){const n=(t?this.resolve(t):this).clone(),r=super.describe(t);r.fields={};for(const[s,a]of Object.entries(n.fields)){var o;let c=t;(o=c)!=null&&o.value&&(c=Object.assign({},c,{parent:c.value,value:c.value[s]})),r.fields[s]=a.describe(c)}return r}}jf.prototype=IB.prototype;const tE=fB().test("function","Invalid function",e=>te.isFunction(e));var yo,Ai,pa;class BB{constructor(){Wr(this,Ai);Wr(this,yo,[])}get(t){if(Jr().required().validateSync(t),ia(this,Ai,pa).call(this)){const n=localStorage.getItem(t);return te.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return Jr().required().validateSync(t),ia(this,Ai,pa).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){Jr().required().validateSync(t),tE.validateSync(n),ia(this,Ai,pa).call(this)&&(hn(this,yo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){Jr().required().validateSync(t),tE.optional().default(te.identity).validateSync(n),ia(this,Ai,pa).call(this)&&(n!==void 0?po(this,yo,te.reject(hn(this,yo),r=>r.key===t&&r.callback===n)):po(this,yo,te.reject(hn(this,yo),r=>r.key===t)))}}yo=new WeakMap,Ai=new WeakSet,pa=function(){return typeof window<"u"};const ha=new BB;function QM(e,t,n){return function(r){const o=te.isFunction(r)?r(t):r;return ha.set(e,o),n(o),o}}function Pu(e,t){var u;Jr().required().validateSync(e);const[n,r]=Q.useState(ha.get(e)??t),o=Q.useRef(t),s=te.isEqual(o.current,t)?o.current:t,a=Q.useRef(),c=a.current;return Q.useEffect(()=>{r(ha.get(e)??s)},[e,s,r]),Q.useEffect(()=>{function A(p){r(p)}return ha.watch(e,A),()=>{ha.unwatch(e,A)}},[e,r]),(e!==(c==null?void 0:c.key)||!te.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:QM(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??te.noop]}function Df(e){const t=j.useRecordContext(),n=j.useTranslate(),r=j.useResourceContext(),o=t!=null&&t.id?"edit":"create";return Q.useMemo(()=>{if(e===!1)return;const a=`resources.${r}.title`;return e||n(`resources.${r}.title.${o}`,{_:n(a,{_:a}),...t})},[o,t,r,n,e])}const vB=()=>Q.useContext(Qf),xM=()=>Q.useContext(xf),Qn=()=>Q.useContext(bf);var bB={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",A="day",p="week",h="month",C="quarter",m="year",I="date",B="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|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,O={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(X){var Z=["th","st","nd","rd"],H=X%100;return"["+X+(Z[(H-20)%10]||Z[H]||Z[0])+"]"}},x=function(X,Z,H){var J=String(X);return!J||J.length>=Z?X:""+Array(Z+1-J.length).join(H)+X},R={s:x,z:function(X){var Z=-X.utcOffset(),H=Math.abs(Z),J=Math.floor(H/60),L=H%60;return(Z<=0?"+":"-")+x(J,2,"0")+":"+x(L,2,"0")},m:function X(Z,H){if(Z.date()<H.date())return-X(H,Z);var J=12*(H.year()-Z.year())+(H.month()-Z.month()),L=Z.clone().add(J,h),_=H-L<0,V=Z.clone().add(J+(_?-1:1),h);return+(-(J+(H-L)/(_?L-V:V-L))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:h,y:m,w:p,d:A,D:I,h:u,m:c,s:a,ms:s,Q:C}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},P="en",k={};k[P]=O;var F="$isDayjsObject",G=function(X){return X instanceof ie||!(!X||!X[F])},K=function X(Z,H,J){var L;if(!Z)return P;if(typeof Z=="string"){var _=Z.toLowerCase();k[_]&&(L=_),H&&(k[_]=H,L=_);var V=Z.split("-");if(!L&&V.length>1)return X(V[0])}else{var q=Z.name;k[q]=Z,L=q}return!J&&L&&(P=L),L||!J&&P},$=function(X,Z){if(G(X))return X.clone();var H=typeof Z=="object"?Z:{};return H.date=X,H.args=arguments,new ie(H)},Y=R;Y.l=K,Y.i=G,Y.w=function(X,Z){return $(X,{locale:Z.$L,utc:Z.$u,x:Z.$x,$offset:Z.$offset})};var ie=function(){function X(H){this.$L=K(H.locale,null,!0),this.parse(H),this.$x=this.$x||H.x||{},this[F]=!0}var Z=X.prototype;return Z.parse=function(H){this.$d=function(J){var L=J.date,_=J.utc;if(L===null)return new Date(NaN);if(Y.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var V=L.match(v);if(V){var q=V[2]-1||0,le=(V[7]||"0").substring(0,3);return _?new Date(Date.UTC(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)):new Date(V[1],q,V[3]||1,V[4]||0,V[5]||0,V[6]||0,le)}}return new Date(L)}(H),this.init()},Z.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},Z.$utils=function(){return Y},Z.isValid=function(){return this.$d.toString()!==B},Z.isSame=function(H,J){var L=$(H);return this.startOf(J)<=L&&L<=this.endOf(J)},Z.isAfter=function(H,J){return $(H)<this.startOf(J)},Z.isBefore=function(H,J){return this.endOf(J)<$(H)},Z.$g=function(H,J,L){return Y.u(H)?this[J]:this.set(L,H)},Z.unix=function(){return Math.floor(this.valueOf()/1e3)},Z.valueOf=function(){return this.$d.getTime()},Z.startOf=function(H,J){var L=this,_=!!Y.u(J)||J,V=Y.p(H),q=function(Ce,Ie){var xe=Y.w(L.$u?Date.UTC(L.$y,Ie,Ce):new Date(L.$y,Ie,Ce),L);return _?xe:xe.endOf(A)},le=function(Ce,Ie){return Y.w(L.toDate()[Ce].apply(L.toDate("s"),(_?[0,0,0,0]:[23,59,59,999]).slice(Ie)),L)},pe=this.$W,de=this.$M,ge=this.$D,he="set"+(this.$u?"UTC":"");switch(V){case m:return _?q(1,0):q(31,11);case h:return _?q(1,de):q(0,de+1);case p:var Be=this.$locale().weekStart||0,Ee=(pe<Be?pe+7:pe)-Be;return q(_?ge-Ee:ge+(6-Ee),de);case A:case I:return le(he+"Hours",0);case u:return le(he+"Minutes",1);case c:return le(he+"Seconds",2);case a:return le(he+"Milliseconds",3);default:return this.clone()}},Z.endOf=function(H){return this.startOf(H,!1)},Z.$set=function(H,J){var L,_=Y.p(H),V="set"+(this.$u?"UTC":""),q=(L={},L[A]=V+"Date",L[I]=V+"Date",L[h]=V+"Month",L[m]=V+"FullYear",L[u]=V+"Hours",L[c]=V+"Minutes",L[a]=V+"Seconds",L[s]=V+"Milliseconds",L)[_],le=_===A?this.$D+(J-this.$W):J;if(_===h||_===m){var pe=this.clone().set(I,1);pe.$d[q](le),pe.init(),this.$d=pe.set(I,Math.min(this.$D,pe.daysInMonth())).$d}else q&&this.$d[q](le);return this.init(),this},Z.set=function(H,J){return this.clone().$set(H,J)},Z.get=function(H){return this[Y.p(H)]()},Z.add=function(H,J){var L,_=this;H=Number(H);var V=Y.p(J),q=function(de){var ge=$(_);return Y.w(ge.date(ge.date()+Math.round(de*H)),_)};if(V===h)return this.set(h,this.$M+H);if(V===m)return this.set(m,this.$y+H);if(V===A)return q(1);if(V===p)return q(7);var le=(L={},L[c]=r,L[u]=o,L[a]=n,L)[V]||1,pe=this.$d.getTime()+H*le;return Y.w(pe,this)},Z.subtract=function(H,J){return this.add(-1*H,J)},Z.format=function(H){var J=this,L=this.$locale();if(!this.isValid())return L.invalidDate||B;var _=H||"YYYY-MM-DDTHH:mm:ssZ",V=Y.z(this),q=this.$H,le=this.$m,pe=this.$M,de=L.weekdays,ge=L.months,he=L.meridiem,Be=function(Ie,xe,ue,qe){return Ie&&(Ie[xe]||Ie(J,_))||ue[xe].slice(0,qe)},Ee=function(Ie){return Y.s(q%12||12,Ie,"0")},Ce=he||function(Ie,xe,ue){var qe=Ie<12?"AM":"PM";return ue?qe.toLowerCase():qe};return _.replace(S,function(Ie,xe){return xe||function(ue){switch(ue){case"YY":return String(J.$y).slice(-2);case"YYYY":return Y.s(J.$y,4,"0");case"M":return pe+1;case"MM":return Y.s(pe+1,2,"0");case"MMM":return Be(L.monthsShort,pe,ge,3);case"MMMM":return Be(ge,pe);case"D":return J.$D;case"DD":return Y.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return Be(L.weekdaysMin,J.$W,de,2);case"ddd":return Be(L.weekdaysShort,J.$W,de,3);case"dddd":return de[J.$W];case"H":return String(q);case"HH":return Y.s(q,2,"0");case"h":return Ee(1);case"hh":return Ee(2);case"a":return Ce(q,le,!0);case"A":return Ce(q,le,!1);case"m":return String(le);case"mm":return Y.s(le,2,"0");case"s":return String(J.$s);case"ss":return Y.s(J.$s,2,"0");case"SSS":return Y.s(J.$ms,3,"0");case"Z":return V}return null}(Ie)||V.replace(":","")})},Z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Z.diff=function(H,J,L){var _,V=this,q=Y.p(J),le=$(H),pe=(le.utcOffset()-this.utcOffset())*r,de=this-le,ge=function(){return Y.m(V,le)};switch(q){case m:_=ge()/12;break;case h:_=ge();break;case C:_=ge()/3;break;case p:_=(de-pe)/6048e5;break;case A:_=(de-pe)/864e5;break;case u:_=de/o;break;case c:_=de/r;break;case a:_=de/n;break;default:_=de}return L?_:Y.a(_)},Z.daysInMonth=function(){return this.endOf(h).$D},Z.$locale=function(){return k[this.$L]},Z.locale=function(H,J){if(!H)return this.$L;var L=this.clone(),_=K(H,J,!0);return _&&(L.$L=_),L},Z.clone=function(){return Y.w(this.$d,this)},Z.toDate=function(){return new Date(this.valueOf())},Z.toJSON=function(){return this.isValid()?this.toISOString():null},Z.toISOString=function(){return this.$d.toISOString()},Z.toString=function(){return this.$d.toUTCString()},X}(),se=ie.prototype;return $.prototype=se,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",A],["$M",h],["$y",m],["$D",I]].forEach(function(X){se[X[1]]=function(Z){return this.$g(Z,X[0],X[1])}}),$.extend=function(X,Z){return X.$i||(X(Z,ie,$),X.$i=!0),$},$.locale=K,$.isDayjs=G,$.unix=function(X){return $(1e3*X)},$.en=k[P],$.Ls=k,$.p={},$})})(bB);var yB=bB.exports;const Pr=ro(yB),QB=e=>{const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Pr().hour(n).minute(r)};function wM(){let e=new Date().getTime();return window.performance&&typeof window.performance.now=="function"&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(n){const r=(e+Math.random()*16)%16|0;return e=Math.floor(e/16),(n=="x"?r:r&3|8).toString(16)})}function Mf(e={},t=[],n={}){const{isEmpty:r=te.isEmpty}=n;return!te.some(t,o=>r((e??{})[o.locale]))}function kf(e,t,n){if(!te.isPlainObject(e)||t===void 0)return;const r=te.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=te.isArray(r.fallbackLocales)&&!te.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=te.chain(a).map(c=>e[String(c)]).reject(te.isUndefined).first().value(),s===void 0&&(s=te.chain(e).values().first().value())}return s}function xB(e){const[t]=ce.useLocaleState();return e!==void 0?String(e):t}function TM(e,t){const n=xB(t==null?void 0:t.locale);return kf(e,n,t)}function SM(e){const t=xB(e==null?void 0:e.locale);return Q.useCallback(r=>kf(r,t,e),[t,e])}function wB(e){if(!te.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=Q.useState(e);return Q.useEffect(()=>{te.isEqual(e,t)||n(e)},[e,t]),t}function Ru(){const[e,t]=Q.useState(null),n=!!e,r=Q.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=Q.useCallback(()=>t(null),[t]),s=Q.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function PM(e,t){const[n,r]=Q.useState({width:1,height:1}),o=e.current;return Q.useEffect(()=>{function s(){var A;let c=0,u=0;switch(t){case"client":c=(o==null?void 0:o.clientWidth)??0,u=(o==null?void 0:o.clientHeight)??0;break;case"offset":c=(o==null?void 0:o.offsetWidth)??0,u=(o==null?void 0:o.offsetHeight)??0;break;case"scroll":c=(o==null?void 0:o.scrollWidth)??0,u=(o==null?void 0:o.scrollHeight)??0;break;case"bounding":default:{const p=((A=e.current)==null?void 0:A.getBoundingClientRect())??{width:0,height:0};c=p.width,u=p.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return te.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t]),n}function Er(e,t,n){const r=te.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>te.isFunction(a)?a:void 0).value();n!=null&&n.defaults?te.defaultsDeep(r,t):te.merge(r,t);const[o,s]=Q.useState(r);return Q.useEffect(()=>{te.isEqual(o,r)||s(r)},[o,r]),o}const TB=Ae(BD,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Qn();return{zIndex:e.zIndex.drawer+1,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),...!t&&{width:`calc(100% - ${e.spacing(7.5)})`},...t&&{marginLeft:n,width:`calc(100% - ${n}px)`,transition:e.transitions.create(["width","margin"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen})}}}),RM=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary"},{defaults:!0});return g.jsx(y.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),SB=Q.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ou=Q.createContext({}),Ff=Q.createContext(null),ju=typeof document<"u",OM=ju?Q.useLayoutEffect:Q.useEffect,PB=Q.createContext({strict:!1}),Lf=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),jM="framerAppearId",RB="data-"+Lf(jM);function DM(e,t,n,r){const{visualElement:o}=Q.useContext(Ou),s=Q.useContext(PB),a=Q.useContext(Ff),c=Q.useContext(SB).reducedMotion,u=Q.useRef();r=r||s.renderer,!u.current&&r&&(u.current=r(e,{visualState:t,parent:o,props:n,presenceContext:a,blockInitialAnimation:a?a.initial===!1:!1,reducedMotionConfig:c}));const A=u.current;Q.useInsertionEffect(()=>{A&&A.update(n,a)});const p=Q.useRef(!!(n[RB]&&!window.HandoffComplete));return OM(()=>{A&&(A.render(),p.current&&A.animationState&&A.animationState.animateChanges())}),Q.useEffect(()=>{A&&(A.updateFeatures(),!p.current&&A.animationState&&A.animationState.animateChanges(),p.current&&(p.current=!1,window.HandoffComplete=!0))}),A}function ss(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function MM(e,t,n){return Q.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):ss(n)&&(n.current=r))},[t])}function ja(e){return typeof e=="string"||Array.isArray(e)}function Du(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Nf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Vf=["initial",...Nf];function Mu(e){return Du(e.animate)||Vf.some(t=>ja(e[t]))}function OB(e){return!!(Mu(e)||e.variants)}function kM(e,t){if(Mu(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ja(n)?n:void 0,animate:ja(r)?r:void 0}}return e.inherit!==!1?t:{}}function FM(e){const{initial:t,animate:n}=kM(e,Q.useContext(Ou));return Q.useMemo(()=>({initial:t,animate:n}),[nE(t),nE(n)])}function nE(e){return Array.isArray(e)?e.join(" "):e}const rE={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Da={};for(const e in rE)Da[e]={isEnabled:t=>rE[e].some(n=>!!t[n])};function LM(e){for(const t in e)Da[t]={...Da[t],...e[t]}}const jB=Q.createContext({}),DB=Q.createContext({}),NM=Symbol.for("motionComponentSymbol");function VM({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&LM(e);function s(c,u){let A;const p={...Q.useContext(SB),...c,layoutId:HM(c)},{isStatic:h}=p,C=FM(c),m=r(c,h);if(!h&&ju){C.visualElement=DM(o,m,p,t);const I=Q.useContext(DB),B=Q.useContext(PB).strict;C.visualElement&&(A=C.visualElement.loadFeatures(p,B,e,I))}return M.createElement(Ou.Provider,{value:C},A&&C.visualElement?M.createElement(A,{visualElement:C.visualElement,...p}):null,n(o,c,MM(m,C.visualElement,u),m,h,C.visualElement))}const a=Q.forwardRef(s);return a[NM]=o,a}function HM({layoutId:e}){const t=Q.useContext(jB).id;return t&&e!==void 0?t+"-"+e:e}function zM(e){function t(r,o={}){return VM(e(r,o))}if(typeof Proxy>"u")return t;const n=new Map;return new Proxy(t,{get:(r,o)=>(n.has(o)||n.set(o,t(o)),n.get(o))})}const WM=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Hf(e){return typeof e!="string"||e.includes("-")?!1:!!(WM.indexOf(e)>-1||/[A-Z]/.test(e))}const Gc={};function UM(e){Object.assign(Gc,e)}const Ja=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qi=new Set(Ja);function MB(e,{layout:t,layoutId:n}){return Qi.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Gc[e]||e==="opacity")}const bn=e=>!!(e&&e.getVelocity),YM={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},GM=Ja.length;function KM(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<GM;a++){const c=Ja[a];if(e[c]!==void 0){const u=YM[c]||c;s+=`${u}(${e[c]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),o?s=o(e,r?"":s):n&&r&&(s="none"),s}const kB=e=>t=>typeof t=="string"&&t.startsWith(e),FB=kB("--"),wg=kB("var(--"),qM=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,JM=(e,t)=>t&&typeof e=="number"?t.transform(e):e,Oo=(e,t,n)=>Math.min(Math.max(n,e),t),xi={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},va={...xi,transform:e=>Oo(0,1,e)},sc={...xi,default:1},ba=e=>Math.round(e*1e5)/1e5,ku=/(-)?([\d]*\.?[\d])+/g,LB=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,XM=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Xa(e){return typeof e=="string"}const Za=e=>({test:t=>Xa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Bo=Za("deg"),Tr=Za("%"),De=Za("px"),ZM=Za("vh"),_M=Za("vw"),oE={...Tr,parse:e=>Tr.parse(e)/100,transform:e=>Tr.transform(e*100)},iE={...xi,transform:Math.round},NB={borderWidth:De,borderTopWidth:De,borderRightWidth:De,borderBottomWidth:De,borderLeftWidth:De,borderRadius:De,radius:De,borderTopLeftRadius:De,borderTopRightRadius:De,borderBottomRightRadius:De,borderBottomLeftRadius:De,width:De,maxWidth:De,height:De,maxHeight:De,size:De,top:De,right:De,bottom:De,left:De,padding:De,paddingTop:De,paddingRight:De,paddingBottom:De,paddingLeft:De,margin:De,marginTop:De,marginRight:De,marginBottom:De,marginLeft:De,rotate:Bo,rotateX:Bo,rotateY:Bo,rotateZ:Bo,scale:sc,scaleX:sc,scaleY:sc,scaleZ:sc,skew:Bo,skewX:Bo,skewY:Bo,distance:De,translateX:De,translateY:De,translateZ:De,x:De,y:De,z:De,perspective:De,transformPerspective:De,opacity:va,originX:oE,originY:oE,originZ:De,zIndex:iE,fillOpacity:va,strokeOpacity:va,numOctaves:iE};function zf(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,A=!1,p=!0;for(const h in t){const C=t[h];if(FB(h)){s[h]=C;continue}const m=NB[h],I=JM(C,m);if(Qi.has(h)){if(u=!0,a[h]=I,!p)continue;C!==(m.default||0)&&(p=!1)}else h.startsWith("origin")?(A=!0,c[h]=I):o[h]=I}if(t.transform||(u||r?o.transform=KM(e.transform,n,p,r):o.transform&&(o.transform="none")),A){const{originX:h="50%",originY:C="50%",originZ:m=0}=c;o.transformOrigin=`${h} ${C} ${m}`}}const Wf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function VB(e,t,n){for(const r in t)!bn(t[r])&&!MB(r,n)&&(e[r]=t[r])}function $M({transformTemplate:e},t,n){return Q.useMemo(()=>{const r=Wf();return zf(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function e3(e,t,n){const r=e.style||{},o={};return VB(o,r,e),Object.assign(o,$M(e,t,n)),e.transformValues?e.transformValues(o):o}function t3(e,t,n){const r={},o=e3(e,t,n);return e.drag&&e.dragListener!==!1&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const n3=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Kc(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||n3.has(e)}let HB=e=>!Kc(e);function r3(e){e&&(HB=t=>t.startsWith("on")?!Kc(t):e(t))}try{r3(require("@emotion/is-prop-valid").default)}catch{}function o3(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(HB(o)||n===!0&&Kc(o)||!t&&!Kc(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function sE(e,t,n){return typeof e=="string"?e:De.transform(t+n*e)}function i3(e,t,n){const r=sE(t,e.x,e.width),o=sE(n,e.y,e.height);return`${r} ${o}`}const s3={offset:"stroke-dashoffset",array:"stroke-dasharray"},a3={offset:"strokeDashoffset",array:"strokeDasharray"};function l3(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?s3:a3;e[s.offset]=De.transform(-r);const a=De.transform(t),c=De.transform(n);e[s.array]=`${a} ${c}`}function Uf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...A},p,h,C){if(zf(e,A,p,C),h){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:m,style:I,dimensions:B}=e;m.transform&&(B&&(I.transform=m.transform),delete m.transform),B&&(o!==void 0||s!==void 0||I.transform)&&(I.transformOrigin=i3(B,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(m.x=t),n!==void 0&&(m.y=n),r!==void 0&&(m.scale=r),a!==void 0&&l3(m,a,c,u,!1)}const zB=()=>({...Wf(),attrs:{}}),Yf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function c3(e,t,n,r){const o=Q.useMemo(()=>{const s=zB();return Uf(s,t,{enableHardwareAcceleration:!1},Yf(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};VB(s,e.style,e),o.style={...s,...o.style}}return o}function u3(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(Hf(n)?c3:t3)(r,s,a,n),p={...o3(r,typeof n=="string",e),...u,ref:o},{children:h}=r,C=Q.useMemo(()=>bn(h)?h.get():h,[h]);return Q.createElement(n,{...p,children:C})}}function WB(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const s in n)e.style.setProperty(s,n[s])}const UB=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function YB(e,t,n,r){WB(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(UB.has(o)?o:Lf(o),t.attrs[o])}function Gf(e,t){const{style:n}=e,r={};for(const o in n)(bn(n[o])||t.style&&bn(t.style[o])||MB(o,e))&&(r[o]=n[o]);return r}function GB(e,t){const n=Gf(e,t);for(const r in e)if(bn(e[r])||bn(t[r])){const o=Ja.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function Kf(e,t,n,r={},o={}){return typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"&&(t=t(n!==void 0?n:e.custom,r,o)),t}function A3(e){const t=Q.useRef(null);return t.current===null&&(t.current=e()),t.current}const qc=e=>Array.isArray(e),d3=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),g3=e=>qc(e)?e[e.length-1]||0:e;function xc(e){const t=bn(e)?e.get():e;return d3(t)?t.toValue():t}function f3({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:p3(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const KB=e=>(t,n)=>{const r=Q.useContext(Ou),o=Q.useContext(Ff),s=()=>f3(e,t,r,o);return n?s():A3(s)};function p3(e,t,n,r){const o={},s=r(e,{});for(const C in s)o[C]=xc(s[C]);let{initial:a,animate:c}=e;const u=Mu(e),A=OB(e);t&&A&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let p=n?n.initial===!1:!1;p=p||a===!1;const h=p?c:a;return h&&typeof h!="boolean"&&!Du(h)&&(Array.isArray(h)?h:[h]).forEach(m=>{const I=Kf(e,m);if(!I)return;const{transitionEnd:B,transition:v,...S}=I;for(const O in S){let x=S[O];if(Array.isArray(x)){const R=p?x.length-1:0;x=x[R]}x!==null&&(o[O]=x)}for(const O in B)o[O]=B[O]}),o}const Pt=e=>e;class aE{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const n=this.order.indexOf(t);n!==-1&&(this.order.splice(n,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}function h3(e){let t=new aE,n=new aE,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,A=!1,p=!1)=>{const h=p&&o,C=h?t:n;return A&&a.add(u),C.add(u)&&h&&o&&(r=t.order.length),u},cancel:u=>{n.remove(u),a.delete(u)},process:u=>{if(o){s=!0;return}if(o=!0,[t,n]=[n,t],n.clear(),r=t.order.length,r)for(let A=0;A<r;A++){const p=t.order[A];p(u),a.has(p)&&(c.schedule(p),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const ac=["prepare","read","update","preRender","render","postRender"],C3=40;function m3(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=ac.reduce((h,C)=>(h[C]=h3(()=>n=!0),h),{}),a=h=>s[h].process(o),c=()=>{const h=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(h-o.timestamp,C3),1),o.timestamp=h,o.isProcessing=!0,ac.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:ac.reduce((h,C)=>{const m=s[C];return h[C]=(I,B=!1,v=!1)=>(n||u(),m.schedule(I,B,v)),h},{}),cancel:h=>ac.forEach(C=>s[C].cancel(h)),state:o,steps:s}}const{schedule:mt,cancel:to,state:$t,steps:kd}=m3(typeof requestAnimationFrame<"u"?requestAnimationFrame:Pt,!0),E3={useVisualState:KB({scrapeMotionValuesFromProps:GB,createRenderState:zB,onMount:(e,t,{renderState:n,latestValues:r})=>{mt.read(()=>{try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),mt.render(()=>{Uf(n,r,{enableHardwareAcceleration:!1},Yf(t.tagName),e.transformTemplate),YB(t,n)})}})},I3={useVisualState:KB({scrapeMotionValuesFromProps:Gf,createRenderState:Wf})};function B3(e,{forwardMotionProps:t=!1},n,r){return{...Hf(e)?E3:I3,preloadedFeatures:n,useRender:u3(t),createVisualElement:r,Component:e}}function Xr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const qB=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Fu(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const v3=e=>t=>qB(t)&&e(t,Fu(t));function _r(e,t,n,r){return Xr(e,t,v3(n),r)}const b3=(e,t)=>n=>t(e(n)),Po=(...e)=>e.reduce(b3);function JB(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const lE=JB("dragHorizontal"),cE=JB("dragVertical");function XB(e){let t=!1;if(e==="y")t=cE();else if(e==="x")t=lE();else{const n=lE(),r=cE();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function ZB(){const e=XB(!0);return e?(e(),!1):!0}class ko{constructor(t){this.isMounted=!1,this.node=t}update(){}}function uE(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||ZB())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&mt.update(()=>c[r](s,a))};return _r(e.current,n,o,{passive:!e.getProps()[r]})}class y3 extends ko{mount(){this.unmount=Po(uE(this.node,!0),uE(this.node,!1))}unmount(){}}class Q3 extends ko{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Po(Xr(this.node.current,"focus",()=>this.onFocus()),Xr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const _B=(e,t)=>t?e===t?!0:_B(e,t.parentElement):!1;function Fd(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Fu(n))}class x3 extends ko{constructor(){super(...arguments),this.removeStartListeners=Pt,this.removeEndListeners=Pt,this.removeAccessibleListeners=Pt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=_r(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:A,onTapCancel:p,globalTapTarget:h}=this.node.getProps();mt.update(()=>{!h&&!_B(this.node.current,c.target)?p&&p(c,u):A&&A(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=_r(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Po(s,a),this.startPress(t,n)},this.startAccessiblePress=()=>{const t=s=>{if(s.key!=="Enter"||this.isPressing)return;const a=c=>{c.key!=="Enter"||!this.checkPressEnd()||Fd("up",(u,A)=>{const{onTap:p}=this.node.getProps();p&&mt.update(()=>p(u,A))})};this.removeEndListeners(),this.removeEndListeners=Xr(this.node.current,"keyup",a),Fd("down",(c,u)=>{this.startPress(c,u)})},n=Xr(this.node.current,"keydown",t),r=()=>{this.isPressing&&Fd("cancel",(s,a)=>this.cancelPress(s,a))},o=Xr(this.node.current,"blur",r);this.removeAccessibleListeners=Po(n,o)}}startPress(t,n){this.isPressing=!0;const{onTapStart:r,whileTap:o}=this.node.getProps();o&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&mt.update(()=>r(t,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ZB()}cancelPress(t,n){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&mt.update(()=>r(t,n))}mount(){const t=this.node.getProps(),n=_r(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Xr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Po(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Tg=new WeakMap,Ld=new WeakMap,w3=e=>{const t=Tg.get(e.target);t&&t(e)},T3=e=>{e.forEach(w3)};function S3({root:e,...t}){const n=e||document;Ld.has(n)||Ld.set(n,{});const r=Ld.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(T3,{root:e,...t})),r[o]}function P3(e,t,n){const r=S3(t);return Tg.set(e,n),r.observe(e),()=>{Tg.delete(e),r.unobserve(e)}}const R3={some:0,all:1};class O3 extends ko{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=t,a={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:R3[o]},c=u=>{const{isIntersecting:A}=u;if(this.isInView===A||(this.isInView=A,s&&!A&&this.hasEnteredView))return;A&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",A);const{onViewportEnter:p,onViewportLeave:h}=this.node.getProps(),C=A?p:h;C&&C(u)};return P3(this.node.current,a,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(j3(t,n))&&this.startObserver()}unmount(){}}function j3({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const D3={inView:{Feature:O3},tap:{Feature:x3},focus:{Feature:Q3},hover:{Feature:y3}};function $B(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function M3(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function k3(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Lu(e,t,n){const r=e.getProps();return Kf(r,t,n!==void 0?n:r.custom,M3(e),k3(e))}let _a=Pt,mr=Pt;process.env.NODE_ENV!=="production"&&(_a=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},mr=(e,t)=>{if(!e)throw new Error(t)});const Ro=e=>e*1e3,$r=e=>e/1e3,F3={current:!1},ev=e=>Array.isArray(e)&&typeof e[0]=="number";function tv(e){return!!(!e||typeof e=="string"&&nv[e]||ev(e)||Array.isArray(e)&&e.every(tv))}const Ca=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,nv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ca([0,.65,.55,1]),circOut:Ca([.55,0,1,.45]),backIn:Ca([.31,.01,.66,-.59]),backOut:Ca([.33,1.53,.69,.99])};function rv(e){if(e)return ev(e)?Ca(e):Array.isArray(e)?e.map(rv):nv[e]}function L3(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const A={[t]:n};u&&(A.offset=u);const p=rv(c);return Array.isArray(p)&&(A.easing=p),e.animate(A,{delay:r,duration:o,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function N3(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const ov=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,V3=1e-7,H3=12;function z3(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=ov(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>V3&&++c<H3);return a}function $a(e,t,n,r){if(e===t&&n===r)return Pt;const o=s=>z3(s,0,1,e,n);return s=>s===0||s===1?s:ov(o(s),t,r)}const W3=$a(.42,0,1,1),U3=$a(0,0,.58,1),iv=$a(.42,0,.58,1),Y3=e=>Array.isArray(e)&&typeof e[0]!="number",sv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,av=e=>t=>1-e(1-t),qf=e=>1-Math.sin(Math.acos(e)),lv=av(qf),G3=sv(qf),cv=$a(.33,1.53,.69,.99),Jf=av(cv),K3=sv(Jf),q3=e=>(e*=2)<1?.5*Jf(e):.5*(2-Math.pow(2,-10*(e-1))),AE={linear:Pt,easeIn:W3,easeInOut:iv,easeOut:U3,circIn:qf,circInOut:G3,circOut:lv,backIn:Jf,backInOut:K3,backOut:cv,anticipate:q3},dE=e=>{if(Array.isArray(e)){mr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return $a(t,n,r,o)}else if(typeof e=="string")return mr(AE[e]!==void 0,`Invalid easing type '${e}'`),AE[e];return e},Xf=(e,t)=>n=>!!(Xa(n)&&XM.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),uv=(e,t,n)=>r=>{if(!Xa(r))return r;const[o,s,a,c]=r.match(ku);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},J3=e=>Oo(0,255,e),Nd={...xi,transform:e=>Math.round(J3(e))},ci={test:Xf("rgb","red"),parse:uv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Nd.transform(e)+", "+Nd.transform(t)+", "+Nd.transform(n)+", "+ba(va.transform(r))+")"};function X3(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Sg={test:Xf("#"),parse:X3,transform:ci.transform},as={test:Xf("hsl","hue"),parse:uv("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Tr.transform(ba(t))+", "+Tr.transform(ba(n))+", "+ba(va.transform(r))+")"},cn={test:e=>ci.test(e)||Sg.test(e)||as.test(e),parse:e=>ci.test(e)?ci.parse(e):as.test(e)?as.parse(e):Sg.parse(e),transform:e=>Xa(e)?e:e.hasOwnProperty("red")?ci.transform(e):as.transform(e)},xt=(e,t,n)=>-n*e+n*t+e;function Vd(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Z3({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,s=0,a=0;if(!t)o=s=a=n;else{const c=n<.5?n*(1+t):n+t-n*t,u=2*n-c;o=Vd(u,c,e+1/3),s=Vd(u,c,e),a=Vd(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const Hd=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},_3=[Sg,ci,as],$3=e=>_3.find(t=>t.test(e));function gE(e){const t=$3(e);mr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===as&&(n=Z3(n)),n}const Av=(e,t)=>{const n=gE(e),r=gE(t),o={...n};return s=>(o.red=Hd(n.red,r.red,s),o.green=Hd(n.green,r.green,s),o.blue=Hd(n.blue,r.blue,s),o.alpha=xt(n.alpha,r.alpha,s),ci.transform(o))};function ek(e){var t,n;return isNaN(e)&&Xa(e)&&(((t=e.match(ku))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(LB))===null||n===void 0?void 0:n.length)||0)>0}const dv={regex:qM,countKey:"Vars",token:"${v}",parse:Pt},gv={regex:LB,countKey:"Colors",token:"${c}",parse:cn.parse},fv={regex:ku,countKey:"Numbers",token:"${n}",parse:xi.parse};function zd(e,{regex:t,countKey:n,token:r,parse:o}){const s=e.tokenised.match(t);s&&(e["num"+n]=s.length,e.tokenised=e.tokenised.replace(t,r),e.values.push(...s.map(o)))}function Jc(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&zd(n,dv),zd(n,gv),zd(n,fv),n}function pv(e){return Jc(e).values}function hv(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Jc(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(dv.token,a[u]):u<r+n?c=c.replace(gv.token,cn.transform(a[u])):c=c.replace(fv.token,ba(a[u]));return c}}const tk=e=>typeof e=="number"?0:e;function nk(e){const t=pv(e);return hv(e)(t.map(tk))}const jo={test:ek,parse:pv,createTransformer:hv,getAnimatableNone:nk},Cv=(e,t)=>n=>`${n>0?t:e}`;function mv(e,t){return typeof e=="number"?n=>xt(e,t,n):cn.test(e)?Av(e,t):e.startsWith("var(")?Cv(e,t):Iv(e,t)}const Ev=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>mv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},rk=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=mv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},Iv=(e,t)=>{const n=jo.createTransformer(t),r=Jc(e),o=Jc(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Po(Ev(r.values,o.values),n):(_a(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),Cv(e,t))},Ma=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},fE=(e,t)=>n=>xt(e,t,n);function ok(e){return typeof e=="number"?fE:typeof e=="string"?cn.test(e)?Av:Iv:Array.isArray(e)?Ev:typeof e=="object"?rk:fE}function ik(e,t,n){const r=[],o=n||ok(e[0]),s=e.length-1;for(let a=0;a<s;a++){let c=o(e[a],e[a+1]);if(t){const u=Array.isArray(t)?t[a]||Pt:t;c=Po(u,c)}r.push(c)}return r}function Bv(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(mr(s===t.length,"Both input and output ranges must be the same length"),s===1)return()=>t[0];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=ik(t,r,o),c=a.length,u=A=>{let p=0;if(c>1)for(;p<e.length-2&&!(A<e[p+1]);p++);const h=Ma(e[p],e[p+1],A);return a[p](h)};return n?A=>u(Oo(e[0],e[s-1],A)):u}function sk(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Ma(0,t,r);e.push(xt(n,1,o))}}function ak(e){const t=[0];return sk(t,e.length-1),t}function lk(e,t){return e.map(n=>n*t)}function ck(e,t){return e.map(()=>t||iv).splice(0,e.length-1)}function Xc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=Y3(r)?r.map(dE):dE(r),s={done:!1,value:t[0]},a=lk(n&&n.length===t.length?n:ak(t),e),c=Bv(a,t,{ease:Array.isArray(o)?o:ck(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function vv(e,t){return t?e*(1e3/t):0}const uk=5;function bv(e,t,n){const r=Math.max(t-uk,0);return vv(n-e(r),t-r)}const Wd=.001,Ak=.01,pE=10,dk=.05,gk=1;function fk({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;_a(e<=Ro(pE),"Spring duration must be 10 seconds or less");let a=1-t;a=Oo(dk,gk,a),e=Oo(Ak,pE,$r(e)),a<1?(o=A=>{const p=A*a,h=p*e,C=p-n,m=Pg(A,a),I=Math.exp(-h);return Wd-C/m*I},s=A=>{const h=A*a*e,C=h*n+n,m=Math.pow(a,2)*Math.pow(A,2)*e,I=Math.exp(-h),B=Pg(Math.pow(A,2),a);return(-o(A)+Wd>0?-1:1)*((C-m)*I)/B}):(o=A=>{const p=Math.exp(-A*e),h=(A-n)*e+1;return-Wd+p*h},s=A=>{const p=Math.exp(-A*e),h=(n-A)*(e*e);return p*h});const c=5/e,u=hk(o,s,c);if(e=Ro(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const A=Math.pow(u,2)*r;return{stiffness:A,damping:a*2*Math.sqrt(r*A),duration:e}}}const pk=12;function hk(e,t,n){let r=n;for(let o=1;o<pk;o++)r=r-e(r)/t(r);return r}function Pg(e,t){return e*Math.sqrt(1-t*t)}const Ck=["duration","bounce"],mk=["stiffness","damping","mass"];function hE(e,t){return t.some(n=>e[n]!==void 0)}function Ek(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!hE(e,mk)&&hE(e,Ck)){const n=fk(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function yv({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],s=e[e.length-1],a={done:!1,value:o},{stiffness:c,damping:u,mass:A,duration:p,velocity:h,isResolvedFromDuration:C}=Ek({...r,velocity:-$r(r.velocity||0)}),m=h||0,I=u/(2*Math.sqrt(c*A)),B=s-o,v=$r(Math.sqrt(c/A)),S=Math.abs(B)<5;n||(n=S?.01:2),t||(t=S?.005:.5);let O;if(I<1){const x=Pg(v,I);O=R=>{const P=Math.exp(-I*v*R);return s-P*((m+I*v*B)/x*Math.sin(x*R)+B*Math.cos(x*R))}}else if(I===1)O=x=>s-Math.exp(-v*x)*(B+(m+v*B)*x);else{const x=v*Math.sqrt(I*I-1);O=R=>{const P=Math.exp(-I*v*R),k=Math.min(x*R,300);return s-P*((m+I*v*B)*Math.sinh(k)+x*B*Math.cosh(k))/x}}return{calculatedDuration:C&&p||null,next:x=>{const R=O(x);if(C)a.done=x>=p;else{let P=m;x!==0&&(I<1?P=bv(O,x,R):P=0);const k=Math.abs(P)<=n,F=Math.abs(s-R)<=t;a.done=k&&F}return a.value=a.done?s:R,a}}}function CE({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:A=.5,restSpeed:p}){const h=e[0],C={done:!1,value:h},m=G=>c!==void 0&&G<c||u!==void 0&&G>u,I=G=>c===void 0?u:u===void 0||Math.abs(c-G)<Math.abs(u-G)?c:u;let B=n*t;const v=h+B,S=a===void 0?v:a(v);S!==v&&(B=S-h);const O=G=>-B*Math.exp(-G/r),x=G=>S+O(G),R=G=>{const K=O(G),$=x(G);C.done=Math.abs(K)<=A,C.value=C.done?S:$};let P,k;const F=G=>{m(C.value)&&(P=G,k=yv({keyframes:[C.value,I(C.value)],velocity:bv(x,G,C.value),damping:o,stiffness:s,restDelta:A,restSpeed:p}))};return F(0),{calculatedDuration:null,next:G=>{let K=!1;return!k&&P===void 0&&(K=!0,R(G),F(G)),P!==void 0&&G>P?k.next(G-P):(!K&&R(G),C)}}}const Ik=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>to(t),now:()=>$t.isProcessing?$t.timestamp:performance.now()}},mE=2e4;function EE(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<mE;)t+=n,r=e.next(t);return t>=mE?1/0:t}const Bk={decay:CE,inertia:CE,tween:Xc,keyframes:Xc,spring:yv};function Zc({autoplay:e=!0,delay:t=0,driver:n=Ik,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:A,onComplete:p,onUpdate:h,...C}){let m=1,I=!1,B,v;const S=()=>{v=new Promise(q=>{B=q})};S();let O;const x=Bk[o]||Xc;let R;x!==Xc&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&mr(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),R=Bv([0,100],r,{clamp:!1}),r=[0,100]);const P=x({...C,keyframes:r});let k;c==="mirror"&&(k=x({...C,keyframes:[...r].reverse(),velocity:-(C.velocity||0)}));let F="idle",G=null,K=null,$=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=EE(P));const{calculatedDuration:Y}=P;let ie=1/0,se=1/0;Y!==null&&(ie=Y+a,se=ie*(s+1)-a);let X=0;const Z=q=>{if(K===null)return;m>0&&(K=Math.min(K,q)),m<0&&(K=Math.min(q-se/m,K)),G!==null?X=G:X=Math.round(q-K)*m;const le=X-t*(m>=0?1:-1),pe=m>=0?le<0:le>se;X=Math.max(le,0),F==="finished"&&G===null&&(X=se);let de=X,ge=P;if(s){const Ce=Math.min(X,se)/ie;let Ie=Math.floor(Ce),xe=Ce%1;!xe&&Ce>=1&&(xe=1),xe===1&&Ie--,Ie=Math.min(Ie,s+1),!!(Ie%2)&&(c==="reverse"?(xe=1-xe,a&&(xe-=a/ie)):c==="mirror"&&(ge=k)),de=Oo(0,1,xe)*ie}const he=pe?{done:!1,value:r[0]}:ge.next(de);R&&(he.value=R(he.value));let{done:Be}=he;!pe&&Y!==null&&(Be=m>=0?X>=se:X<=0);const Ee=G===null&&(F==="finished"||F==="running"&&Be);return h&&h(he.value),Ee&&L(),he},H=()=>{O&&O.stop(),O=void 0},J=()=>{F="idle",H(),B(),S(),K=$=null},L=()=>{F="finished",p&&p(),H(),B()},_=()=>{if(I)return;O||(O=n(Z));const q=O.now();u&&u(),G!==null?K=q-G:(!K||F==="finished")&&(K=q),F==="finished"&&S(),$=K,G=null,F="running",O.start()};e&&_();const V={then(q,le){return v.then(q,le)},get time(){return $r(X)},set time(q){q=Ro(q),X=q,G!==null||!O||m===0?G=q:K=O.now()-q/m},get duration(){const q=P.calculatedDuration===null?EE(P):P.calculatedDuration;return $r(q)},get speed(){return m},set speed(q){q===m||!O||(m=q,V.time=$r(X))},get state(){return F},play:_,pause:()=>{F="paused",G=X},stop:()=>{I=!0,F!=="idle"&&(F="idle",A&&A(),J())},cancel:()=>{$!==null&&Z($),J()},complete:()=>{F="finished"},sample:q=>(K=0,Z(q))};return V}function vk(e){let t;return()=>(t===void 0&&(t=e()),t)}const bk=vk(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),yk=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),lc=10,Qk=2e4,xk=(e,t)=>t.type==="spring"||e==="backgroundColor"||!tv(t.ease);function wk(e,t,{onUpdate:n,onComplete:r,...o}){if(!(bk()&&yk.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,A=!1;const p=()=>{u=new Promise(x=>{c=x})};p();let{keyframes:h,duration:C=300,ease:m,times:I}=o;if(xk(t,o)){const x=Zc({...o,repeat:0,delay:0});let R={done:!1,value:h[0]};const P=[];let k=0;for(;!R.done&&k<Qk;)R=x.sample(k),P.push(R.value),k+=lc;I=void 0,h=P,C=k-lc,m="linear"}const B=L3(e.owner.current,t,h,{...o,duration:C,ease:m,times:I}),v=()=>{A=!1,B.cancel()},S=()=>{A=!0,mt.update(v),c(),p()};return B.onfinish=()=>{A||(e.set(N3(h,o)),r&&r(),S())},{then(x,R){return u.then(x,R)},attachTimeline(x){return B.timeline=x,B.onfinish=null,Pt},get time(){return $r(B.currentTime||0)},set time(x){B.currentTime=Ro(x)},get speed(){return B.playbackRate},set speed(x){B.playbackRate=x},get duration(){return $r(C)},play:()=>{a||(B.play(),to(v))},pause:()=>B.pause(),stop:()=>{if(a=!0,B.playState==="idle")return;const{currentTime:x}=B;if(x){const R=Zc({...o,autoplay:!1});e.setWithVelocity(R.sample(x-lc).value,R.sample(x).value,lc)}S()},complete:()=>{A||B.finish()},cancel:S}}function Tk({keyframes:e,delay:t,onUpdate:n,onComplete:r}){const o=()=>(n&&n(e[e.length-1]),r&&r(),{time:0,speed:1,duration:0,play:Pt,pause:Pt,stop:Pt,then:s=>(s(),Promise.resolve()),cancel:Pt,complete:Pt});return t?Zc({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const Sk={type:"spring",stiffness:500,damping:25,restSpeed:10},Pk=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Rk={type:"keyframes",duration:.8},Ok={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},jk=(e,{keyframes:t})=>t.length>2?Rk:Qi.has(e)?e.startsWith("scale")?Pk(t[1]):Sk:Ok,Rg=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(jo.test(t)||t==="0")&&!t.startsWith("url(")),Dk=new Set(["brightness","contrast","saturate","opacity"]);function Mk(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(ku)||[];if(!r)return e;const o=n.replace(r,"");let s=Dk.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const kk=/([a-z-]*)\(.*?\)/g,Og={...jo,getAnimatableNone:e=>{const t=e.match(kk);return t?t.map(Mk).join(" "):e}},Fk={...NB,color:cn,backgroundColor:cn,outlineColor:cn,fill:cn,stroke:cn,borderColor:cn,borderTopColor:cn,borderRightColor:cn,borderBottomColor:cn,borderLeftColor:cn,filter:Og,WebkitFilter:Og},Zf=e=>Fk[e];function Qv(e,t){let n=Zf(e);return n!==Og&&(n=jo),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const xv=e=>/^0[^.\s]+$/.test(e);function Lk(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||xv(e)}function Nk(e,t,n,r){const o=Rg(t,n);let s;Array.isArray(n)?s=[...n]:s=[null,n];const a=r.from!==void 0?r.from:e.get();let c;const u=[];for(let A=0;A<s.length;A++)s[A]===null&&(s[A]=A===0?a:s[A-1]),Lk(s[A])&&u.push(A),typeof s[A]=="string"&&s[A]!=="none"&&s[A]!=="0"&&(c=s[A]);if(o&&u.length&&c)for(let A=0;A<u.length;A++){const p=u[A];s[p]=Qv(t,c)}return s}function Vk({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:A,...p}){return!!Object.keys(p).length}function _f(e,t){return e[t]||e.default||e}const Hk={skipAnimations:!1},$f=(e,t,n,r={})=>o=>{const s=_f(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-Ro(a);const u=Nk(t,e,n,s),A=u[0],p=u[u.length-1],h=Rg(e,A),C=Rg(e,p);_a(h===C,`You are trying to animate ${e} from "${A}" to "${p}". ${A} is not an animatable value - to enable this animation set ${A} to a value animatable to ${p} via the \`style\` property.`);let m={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:I=>{t.set(I),s.onUpdate&&s.onUpdate(I)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(Vk(s)||(m={...m,...jk(e,m)}),m.duration&&(m.duration=Ro(m.duration)),m.repeatDelay&&(m.repeatDelay=Ro(m.repeatDelay)),!h||!C||F3.current||s.type===!1||Hk.skipAnimations)return Tk(m);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const I=wk(t,e,m);if(I)return I}return Zc(m)};function _c(e){return!!(bn(e)&&e.add)}const wv=e=>/^\-?\d*\.?\d+$/.test(e);function ep(e,t){e.indexOf(t)===-1&&e.push(t)}function tp(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class np{constructor(){this.subscriptions=[]}add(t){return ep(this.subscriptions,t),()=>tp(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let s=0;s<o;s++){const a=this.subscriptions[s];a&&a(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const IE=new Set;function rp(e,t,n){e||IE.has(t)||(console.warn(t),n&&console.warn(n),IE.add(t))}const zk=e=>!isNaN(parseFloat(e));class Wk{constructor(t,n={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,o=!0)=>{this.prev=this.current,this.current=r;const{delta:s,timestamp:a}=$t;this.lastUpdated!==a&&(this.timeDelta=s,this.lastUpdated=a,mt.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>mt.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=zk(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&rp(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new np);const r=this.events[t].add(n);return t==="change"?()=>{r(),mt.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=t,this.timeDelta=r}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?vv(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Is(e,t){return new Wk(e,t)}const Tv=e=>t=>t.test(e),Uk={test:e=>e==="auto",parse:e=>e},Sv=[xi,De,Tr,Bo,_M,ZM,Uk],la=e=>Sv.find(Tv(e)),Yk=[...Sv,cn,jo],Gk=e=>Yk.find(Tv(e));function Kk(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Is(n))}function qk(e,t){const n=Lu(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=g3(s[a]);Kk(e,a,c)}}function Jk(e,t,n){var r,o;const s=Object.keys(t).filter(c=>!e.hasValue(c)),a=s.length;if(a)for(let c=0;c<a;c++){const u=s[c],A=t[u];let p=null;Array.isArray(A)&&(p=A[0]),p===null&&(p=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),p!=null&&(typeof p=="string"&&(wv(p)||xv(p))?p=parseFloat(p):!Gk(p)&&jo.test(A)&&(p=Qv(u,A)),e.addValue(u,Is(p,{owner:e})),n[u]===void 0&&(n[u]=p),p!==null&&e.setBaseTarget(u,p))}}function Xk(e,t){return t?(t[e]||t.default||t).from:void 0}function Zk(e,t,n){const r={};for(const o in e){const s=Xk(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function _k({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function $k(e,t){const n=e.get();if(Array.isArray(t)){for(let r=0;r<t.length;r++)if(t[r]!==n)return!0}else return n!==t}function Pv(e,t,{delay:n=0,transitionOverride:r,type:o}={}){let{transition:s=e.getDefaultTransition(),transitionEnd:a,...c}=e.makeTargetAnimatable(t);const u=e.getValue("willChange");r&&(s=r);const A=[],p=o&&e.animationState&&e.animationState.getState()[o];for(const h in c){const C=e.getValue(h),m=c[h];if(!C||m===void 0||p&&_k(p,h))continue;const I={delay:n,elapsed:0,..._f(s||{},h)};if(window.HandoffAppearAnimations){const S=e.getProps()[RB];if(S){const O=window.HandoffAppearAnimations(S,h,C,mt);O!==null&&(I.elapsed=O,I.isHandoff=!0)}}let B=!I.isHandoff&&!$k(C,m);if(I.type==="spring"&&(C.getVelocity()||I.velocity)&&(B=!1),C.animation&&(B=!1),B)continue;C.start($f(h,C,m,e.shouldReduceMotion&&Qi.has(h)?{type:!1}:I));const v=C.animation;_c(u)&&(u.add(h),v.then(()=>u.remove(h))),A.push(v)}return a&&Promise.all(A).then(()=>{a&&qk(e,a)}),A}function jg(e,t,n={}){const r=Lu(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Pv(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:A=0,staggerChildren:p,staggerDirection:h}=o;return eF(e,t,A+u,p,h,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,A]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>A())}else return Promise.all([s(),a(n.delay)])}function eF(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(A=0)=>A*r:(A=0)=>c-A*r;return Array.from(e.variantChildren).sort(tF).forEach((A,p)=>{A.notify("AnimationStart",t),a.push(jg(A,t,{...s,delay:n+u(p)}).then(()=>A.notify("AnimationComplete",t)))}),Promise.all(a)}function tF(e,t){return e.sortNodePosition(t)}function nF(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>jg(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=jg(e,t,n);else{const o=typeof t=="function"?Lu(e,t,n.custom):t;r=Promise.all(Pv(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const rF=[...Nf].reverse(),oF=Nf.length;function iF(e){return t=>Promise.all(t.map(({animation:n,options:r})=>nF(e,n,r)))}function sF(e){let t=iF(e);const n=lF();let r=!0;const o=(u,A)=>{const p=Lu(e,A);if(p){const{transition:h,transitionEnd:C,...m}=p;u={...u,...m,...C}}return u};function s(u){t=u(e)}function a(u,A){const p=e.getProps(),h=e.getVariantContext(!0)||{},C=[],m=new Set;let I={},B=1/0;for(let S=0;S<oF;S++){const O=rF[S],x=n[O],R=p[O]!==void 0?p[O]:h[O],P=ja(R),k=O===A?x.isActive:null;k===!1&&(B=S);let F=R===h[O]&&R!==p[O]&&P;if(F&&r&&e.manuallyAnimateOnMount&&(F=!1),x.protectedKeys={...I},!x.isActive&&k===null||!R&&!x.prevProp||Du(R)||typeof R=="boolean")continue;let K=aF(x.prevProp,R)||O===A&&x.isActive&&!F&&P||S>B&&P,$=!1;const Y=Array.isArray(R)?R:[R];let ie=Y.reduce(o,{});k===!1&&(ie={});const{prevResolvedValues:se={}}=x,X={...se,...ie},Z=H=>{K=!0,m.has(H)&&($=!0,m.delete(H)),x.needsAnimating[H]=!0};for(const H in X){const J=ie[H],L=se[H];if(I.hasOwnProperty(H))continue;let _=!1;qc(J)&&qc(L)?_=!$B(J,L):_=J!==L,_?J!==void 0?Z(H):m.add(H):J!==void 0&&m.has(H)?Z(H):x.protectedKeys[H]=!0}x.prevProp=R,x.prevResolvedValues=ie,x.isActive&&(I={...I,...ie}),r&&e.blockInitialAnimation&&(K=!1),K&&(!F||$)&&C.push(...Y.map(H=>({animation:H,options:{type:O,...u}})))}if(m.size){const S={};m.forEach(O=>{const x=e.getBaseTarget(O);x!==void 0&&(S[O]=x)}),C.push({animation:S})}let v=!!C.length;return r&&(p.initial===!1||p.initial===p.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(C):Promise.resolve()}function c(u,A,p){var h;if(n[u].isActive===A)return Promise.resolve();(h=e.variantChildren)===null||h===void 0||h.forEach(m=>{var I;return(I=m.animationState)===null||I===void 0?void 0:I.setActive(u,A)}),n[u].isActive=A;const C=a(p,u);for(const m in n)n[m].protectedKeys={};return C}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function aF(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!$B(t,e):!1}function $o(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function lF(){return{animate:$o(!0),whileInView:$o(),whileHover:$o(),whileTap:$o(),whileDrag:$o(),whileFocus:$o(),exit:$o()}}class cF extends ko{constructor(t){super(t),t.animationState||(t.animationState=sF(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Du(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){}}let uF=0;class AF extends ko{constructor(){super(...arguments),this.id=uF++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n,custom:r}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const s=this.node.animationState.setActive("exit",!t,{custom:r??this.node.getProps().custom});n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const dF={animation:{Feature:cF},exit:{Feature:AF}},BE=(e,t)=>Math.abs(e-t);function gF(e,t){const n=BE(e.x,t.x),r=BE(e.y,t.y);return Math.sqrt(n**2+r**2)}class Rv{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const h=Yd(this.lastMoveEventInfo,this.history),C=this.startEvent!==null,m=gF(h.offset,{x:0,y:0})>=3;if(!C&&!m)return;const{point:I}=h,{timestamp:B}=$t;this.history.push({...I,timestamp:B});const{onStart:v,onMove:S}=this.handlers;C||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,h)},this.handlePointerMove=(h,C)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=Ud(C,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(h,C)=>{this.end();const{onEnd:m,onSessionEnd:I,resumeAnimation:B}=this.handlers;if(this.dragSnapToOrigin&&B&&B(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=Yd(h.type==="pointercancel"?this.lastMoveEventInfo:Ud(C,this.transformPagePoint),this.history);this.startEvent&&m&&m(h,v),I&&I(h,v)},!qB(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Fu(t),c=Ud(a,this.transformPagePoint),{point:u}=c,{timestamp:A}=$t;this.history=[{...u,timestamp:A}];const{onSessionStart:p}=n;p&&p(t,Yd(c,this.history)),this.removeListeners=Po(_r(this.contextWindow,"pointermove",this.handlePointerMove),_r(this.contextWindow,"pointerup",this.handlePointerUp),_r(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),to(this.updatePoint)}}function Ud(e,t){return t?{point:t(e.point)}:e}function vE(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Yd({point:e},t){return{point:e,delta:vE(e,Ov(t)),offset:vE(e,fF(t)),velocity:pF(t,.1)}}function fF(e){return e[0]}function Ov(e){return e[e.length-1]}function pF(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Ov(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ro(t)));)n--;if(!r)return{x:0,y:0};const s=$r(o.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const a={x:(o.x-r.x)/s,y:(o.y-r.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Fn(e){return e.max-e.min}function Dg(e,t=0,n=.01){return Math.abs(e-t)<=n}function bE(e,t,n,r=.5){e.origin=r,e.originPoint=xt(t.min,t.max,e.origin),e.scale=Fn(n)/Fn(t),(Dg(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=xt(n.min,n.max,e.origin)-e.originPoint,(Dg(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ya(e,t,n,r){bE(e.x,t.x,n.x,r?r.originX:void 0),bE(e.y,t.y,n.y,r?r.originY:void 0)}function yE(e,t,n){e.min=n.min+t.min,e.max=e.min+Fn(t)}function hF(e,t,n){yE(e.x,t.x,n.x),yE(e.y,t.y,n.y)}function QE(e,t,n){e.min=t.min-n.min,e.max=e.min+Fn(t)}function Qa(e,t,n){QE(e.x,t.x,n.x),QE(e.y,t.y,n.y)}function CF(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?xt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?xt(n,e,r.max):Math.min(e,n)),e}function xE(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function mF(e,{top:t,left:n,bottom:r,right:o}){return{x:xE(e.x,n,o),y:xE(e.y,t,r)}}function wE(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function EF(e,t){return{x:wE(e.x,t.x),y:wE(e.y,t.y)}}function IF(e,t){let n=.5;const r=Fn(e),o=Fn(t);return o>r?n=Ma(t.min,t.max-r,e.min):r>o&&(n=Ma(e.min,e.max-o,t.min)),Oo(0,1,n)}function BF(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Mg=.35;function vF(e=Mg){return e===!1?e=0:e===!0&&(e=Mg),{x:TE(e,"left","right"),y:TE(e,"top","bottom")}}function TE(e,t,n){return{min:SE(e,t),max:SE(e,n)}}function SE(e,t){return typeof e=="number"?e:e[t]||0}const PE=()=>({translate:0,scale:1,origin:0,originPoint:0}),ls=()=>({x:PE(),y:PE()}),RE=()=>({min:0,max:0}),Nt=()=>({x:RE(),y:RE()});function Xn(e){return[e("x"),e("y")]}function jv({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function bF({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function yF(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Gd(e){return e===void 0||e===1}function kg({scale:e,scaleX:t,scaleY:n}){return!Gd(e)||!Gd(t)||!Gd(n)}function ri(e){return kg(e)||Dv(e)||e.z||e.rotate||e.rotateX||e.rotateY}function Dv(e){return OE(e.x)||OE(e.y)}function OE(e){return e&&e!=="0%"}function $c(e,t,n){const r=e-n,o=t*r;return n+o}function jE(e,t,n,r,o){return o!==void 0&&(e=$c(e,o,r)),$c(e,n,r)+t}function Fg(e,t=0,n=1,r,o){e.min=jE(e.min,t,n,r,o),e.max=jE(e.max,t,n,r,o)}function Mv(e,{x:t,y:n}){Fg(e.x,t.translate,t.scale,t.originPoint),Fg(e.y,n.translate,n.scale,n.originPoint)}function QF(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let s,a;for(let c=0;c<o;c++){s=n[c],a=s.projectionDelta;const u=s.instance;u&&u.style&&u.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&cs(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,Mv(e,a)),r&&ri(s.latestValues)&&cs(e,s.latestValues))}t.x=DE(t.x),t.y=DE(t.y)}function DE(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function vo(e,t){e.min=e.min+t,e.max=e.max+t}function ME(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=xt(e.min,e.max,s);Fg(e,t[n],t[r],a,t.scale)}const xF=["x","scaleX","originX"],wF=["y","scaleY","originY"];function cs(e,t){ME(e.x,t,xF),ME(e.y,t,wF)}function kv(e,t){return jv(yF(e.getBoundingClientRect(),t))}function TF(e,t,n){const r=kv(e,n),{scroll:o}=t;return o&&(vo(r.x,o.offset.x),vo(r.y,o.offset.y)),r}const Fv=({current:e})=>e?e.ownerDocument.defaultView:null,SF=new WeakMap;class PF{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Nt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=p=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Fu(p,"page").point)},s=(p,h)=>{const{drag:C,dragPropagation:m,onDragStart:I}=this.getProps();if(C&&!m&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=XB(C),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Xn(v=>{let S=this.getAxisMotionValue(v).get()||0;if(Tr.test(S)){const{projection:O}=this.visualElement;if(O&&O.layout){const x=O.layout.layoutBox[v];x&&(S=Fn(x)*(parseFloat(S)/100))}}this.originPoint[v]=S}),I&&mt.update(()=>I(p,h),!1,!0);const{animationState:B}=this.visualElement;B&&B.setActive("whileDrag",!0)},a=(p,h)=>{const{dragPropagation:C,dragDirectionLock:m,onDirectionLock:I,onDrag:B}=this.getProps();if(!C&&!this.openGlobalLock)return;const{offset:v}=h;if(m&&this.currentDirection===null){this.currentDirection=RF(v),this.currentDirection!==null&&I&&I(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),B&&B(p,h)},c=(p,h)=>this.stop(p,h),u=()=>Xn(p=>{var h;return this.getAnimationState(p)==="paused"&&((h=this.getAxisMotionValue(p).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:A}=this.getProps();this.panSession=new Rv(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:A,contextWindow:Fv(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:s}=this.getProps();s&&mt.update(()=>s(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!cc(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=CF(a,this.constraints[t],this.elastic[t])),s.set(a)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,s=this.constraints;n&&ss(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=mF(o.layoutBox,n):this.constraints=!1,this.elastic=vF(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Xn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=BF(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ss(t))return!1;const r=t.current;mr(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const s=TF(r,o.root,this.visualElement.getTransformPagePoint());let a=EF(o.layout.layoutBox,s);if(n){const c=n(bF(a));this.hasMutatedConstraints=!!c,c&&(a=jv(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},A=Xn(p=>{if(!cc(p,n,this.currentDirection))return;let h=u&&u[p]||{};a&&(h={min:0,max:0});const C=o?200:1e6,m=o?40:1e7,I={type:"inertia",velocity:r?t[p]:0,bounceStiffness:C,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...s,...h};return this.startAxisValueAnimation(p,I)});return Promise.all(A).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start($f(t,r,0,n))}stopAnimation(){Xn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Xn(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n="_drag"+t.toUpperCase(),r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Xn(n=>{const{drag:r}=this.getProps();if(!cc(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,s=this.getAxisMotionValue(n);if(o&&o.layout){const{min:a,max:c}=o.layout.layoutBox[n];s.set(t[n]-xt(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ss(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Xn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=IF({min:u,max:u},this.constraints[a])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Xn(a=>{if(!cc(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:A}=this.constraints[a];c.set(xt(u,A,o[a]))})}addListeners(){if(!this.visualElement.current)return;SF.set(this.visualElement,this);const t=this.visualElement.current,n=_r(t,"pointerdown",u=>{const{drag:A,dragListener:p=!0}=this.getProps();A&&p&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();ss(u)&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,s=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),r();const a=Xr(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:A})=>{this.isDragging&&A&&(Xn(p=>{const h=this.getAxisMotionValue(p);h&&(this.originPoint[p]+=u[p].translate,h.set(h.get()+u[p].translate))}),this.visualElement.render())});return()=>{a(),n(),s(),c&&c()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:s=!1,dragElastic:a=Mg,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function cc(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function RF(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class OF extends ko{constructor(t){super(t),this.removeGroupControls=Pt,this.removeListeners=Pt,this.controls=new PF(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Pt}unmount(){this.removeGroupControls(),this.removeListeners()}}const kE=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class jF extends ko{constructor(){super(...arguments),this.removePointerDownListener=Pt}onPointerDown(t){this.session=new Rv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fv(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:kE(t),onStart:kE(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&mt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=_r(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function DF(){const e=Q.useContext(Ff);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=Q.useId();return Q.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const wc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function FE(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ca={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(De.test(e))e=parseFloat(e);else return e;const n=FE(e,t.target.x),r=FE(e,t.target.y);return`${n}% ${r}%`}},MF={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=jo.parse(e);if(o.length>5)return r;const s=jo.createTransformer(e),a=typeof o[0]!="number"?1:0,c=n.x.scale*t.x,u=n.y.scale*t.y;o[0+a]/=c,o[1+a]/=u;const A=xt(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=A),typeof o[3+a]=="number"&&(o[3+a]/=A),s(o)}};class kF extends Q.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;UM(FF),s&&(n.group&&n.group.add(s),r&&r.register&&o&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),wc.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:s}=this.props,a=r.projection;return a&&(a.isPresent=s,o||t.layoutDependency!==n||n===void 0?a.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?a.promote():a.relegate()||mt.postRender(()=>{const c=a.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Lv(e){const[t,n]=DF(),r=Q.useContext(jB);return Q.createElement(kF,{...e,layoutGroup:r,switchLayoutGroup:Q.useContext(DB),isPresent:t,safeToRemove:n})}const FF={borderRadius:{...ca,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ca,borderTopRightRadius:ca,borderBottomLeftRadius:ca,borderBottomRightRadius:ca,boxShadow:MF},Nv=["TopLeft","TopRight","BottomLeft","BottomRight"],LF=Nv.length,LE=e=>typeof e=="string"?parseFloat(e):e,NE=e=>typeof e=="number"||De.test(e);function NF(e,t,n,r,o,s){o?(e.opacity=xt(0,n.opacity!==void 0?n.opacity:1,VF(r)),e.opacityExit=xt(t.opacity!==void 0?t.opacity:1,0,HF(r))):s&&(e.opacity=xt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<LF;a++){const c=`border${Nv[a]}Radius`;let u=VE(t,c),A=VE(n,c);if(u===void 0&&A===void 0)continue;u||(u=0),A||(A=0),u===0||A===0||NE(u)===NE(A)?(e[c]=Math.max(xt(LE(u),LE(A),r),0),(Tr.test(A)||Tr.test(u))&&(e[c]+="%")):e[c]=A}(t.rotate||n.rotate)&&(e.rotate=xt(t.rotate||0,n.rotate||0,r))}function VE(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const VF=Vv(0,.5,lv),HF=Vv(.5,.95,Pt);function Vv(e,t,n){return r=>r<e?0:r>t?1:n(Ma(e,t,r))}function HE(e,t){e.min=t.min,e.max=t.max}function Jn(e,t){HE(e.x,t.x),HE(e.y,t.y)}function zE(e,t,n,r,o){return e-=t,e=$c(e,1/n,r),o!==void 0&&(e=$c(e,1/o,r)),e}function zF(e,t=0,n=1,r=.5,o,s=e,a=e){if(Tr.test(t)&&(t=parseFloat(t),t=xt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=xt(s.min,s.max,r);e===s&&(c-=t),e.min=zE(e.min,t,n,c,o),e.max=zE(e.max,t,n,c,o)}function WE(e,t,[n,r,o],s,a){zF(e,t[n],t[r],t[o],t.scale,s,a)}const WF=["x","scaleX","originX"],UF=["y","scaleY","originY"];function UE(e,t,n,r){WE(e.x,t,WF,n?n.x:void 0,r?r.x:void 0),WE(e.y,t,UF,n?n.y:void 0,r?r.y:void 0)}function YE(e){return e.translate===0&&e.scale===1}function Hv(e){return YE(e.x)&&YE(e.y)}function YF(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function zv(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function GE(e){return Fn(e.x)/Fn(e.y)}class GF{constructor(){this.members=[]}add(t){ep(this.members,t),t.scheduleRender()}remove(t){if(tp(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const s=this.members[o];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function KE(e,t,n){let r="";const o=e.x.translate/t.x,s=e.y.translate/t.y;if((o||s)&&(r=`translate3d(${o}px, ${s}px, 0) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{rotate:u,rotateX:A,rotateY:p}=n;u&&(r+=`rotate(${u}deg) `),A&&(r+=`rotateX(${A}deg) `),p&&(r+=`rotateY(${p}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const KF=(e,t)=>e.depth-t.depth;class qF{constructor(){this.children=[],this.isDirty=!1}add(t){ep(this.children,t),this.isDirty=!0}remove(t){tp(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(KF),this.isDirty=!1,this.children.forEach(t)}}function JF(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(to(r),e(s-t))};return mt.read(r,!0),()=>to(r)}function XF(e){window.MotionDebug&&window.MotionDebug.record(e)}function ZF(e){return e instanceof SVGElement&&e.tagName!=="svg"}function _F(e,t,n){const r=bn(e)?e:Is(e);return r.start($f("",r,t,n)),r.animation}const qE=["","X","Y","Z"],$F={visibility:"hidden"},JE=1e3;let e5=0;const oi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wv({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=e5++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,oi.totalNodes=oi.resolvedTargetDeltas=oi.recalculatedProjection=0,this.nodes.forEach(r5),this.nodes.forEach(l5),this.nodes.forEach(c5),this.nodes.forEach(o5),XF(oi)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=a,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new qF)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new np),this.eventHandlers.get(a).add(c)}notifyListeners(a,...c){const u=this.eventHandlers.get(a);u&&u.notify(...c)}hasListeners(a){return this.eventHandlers.has(a)}mount(a,c=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=ZF(a),this.instance=a;const{layoutId:u,layout:A,visualElement:p}=this.options;if(p&&!p.current&&p.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(A||u)&&(this.isLayoutDirty=!0),e){let h;const C=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=JF(C,250),wc.hasAnimatedSinceResize&&(wc.hasAnimatedSinceResize=!1,this.nodes.forEach(ZE))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&p&&(u||A)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:C,hasRelativeTargetChanged:m,layout:I})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const B=this.options.transition||p.getDefaultTransition()||f5,{onLayoutAnimationStart:v,onLayoutAnimationComplete:S}=p.getProps(),O=!this.targetLayout||!zv(this.targetLayout,I)||m,x=!C&&m;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||x||C&&(O||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,x);const R={..._f(B,"layout"),onPlay:v,onComplete:S};(p.shouldReduceMotion||this.options.layoutRoot)&&(R.delay=0,R.type=!1),this.startAnimation(R)}else C||ZE(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=I})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const a=this.getStack();a&&a.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,to(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(u5),this.animationId++)}getTransformTemplate(){const{visualElement:a}=this.options;return a&&a.getProps().transformTemplate}willUpdate(a=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let p=0;p<this.path.length;p++){const h=this.path[p];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const A=this.getTransformTemplate();this.prevTransformTemplateValue=A?A(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(XE);return}this.isUpdating||this.nodes.forEach(s5),this.isUpdating=!1,this.nodes.forEach(a5),this.nodes.forEach(t5),this.nodes.forEach(n5),this.clearAllSnapshots();const c=performance.now();$t.delta=Oo(0,1e3/60,c-$t.timestamp),$t.timestamp=c,$t.isProcessing=!0,kd.update.process($t),kd.preRender.process($t),kd.render.process($t),$t.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(i5),this.sharedNodes.forEach(A5)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,mt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){mt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let u=0;u<this.path.length;u++)this.path[u].updateScroll();const a=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Nt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:c}=this.options;c&&c.notify("LayoutMeasure",this.layout.layoutBox,a?a.layoutBox:void 0)}updateScroll(a="measure"){let c=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===a&&(c=!1),c&&(this.scroll={animationId:this.root.animationId,phase:a,isRoot:r(this.instance),offset:n(this.instance)})}resetTransform(){if(!o)return;const a=this.isLayoutDirty||this.shouldResetTransform,c=this.projectionDelta&&!Hv(this.projectionDelta),u=this.getTransformTemplate(),A=u?u(this.latestValues,""):void 0,p=A!==this.prevTransformTemplateValue;a&&(c||ri(this.latestValues)||p)&&(o(this.instance,A),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),p5(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Nt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(vo(c.x,u.offset.x),vo(c.y,u.offset.y)),c}removeElementScroll(a){const c=Nt();Jn(c,a);for(let u=0;u<this.path.length;u++){const A=this.path[u],{scroll:p,options:h}=A;if(A!==this.root&&p&&h.layoutScroll){if(p.isRoot){Jn(c,a);const{scroll:C}=this.root;C&&(vo(c.x,-C.offset.x),vo(c.y,-C.offset.y))}vo(c.x,p.offset.x),vo(c.y,p.offset.y)}}return c}applyTransform(a,c=!1){const u=Nt();Jn(u,a);for(let A=0;A<this.path.length;A++){const p=this.path[A];!c&&p.options.layoutScroll&&p.scroll&&p!==p.root&&cs(u,{x:-p.scroll.offset.x,y:-p.scroll.offset.y}),ri(p.latestValues)&&cs(u,p.latestValues)}return ri(this.latestValues)&&cs(u,this.latestValues),u}removeTransform(a){const c=Nt();Jn(c,a);for(let u=0;u<this.path.length;u++){const A=this.path[u];if(!A.instance||!ri(A.latestValues))continue;kg(A.latestValues)&&A.updateSnapshot();const p=Nt(),h=A.measurePageBox();Jn(p,h),UE(c,A.latestValues,A.snapshot?A.snapshot.layoutBox:void 0,p)}return ri(this.latestValues)&&UE(c,this.latestValues),c}setTargetDelta(a){this.targetDelta=a,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(a){this.options={...this.options,...a,crossfade:a.crossfade!==void 0?a.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==$t.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(a=!1){var c;const u=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=u.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=u.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=u.isSharedProjectionDirty);const A=!!this.resumingFrom||this!==u;if(!(a||A&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:h,layoutId:C}=this.options;if(!(!this.layout||!(h||C))){if(this.resolvedRelativeTargetAt=$t.timestamp,!this.targetDelta&&!this.relativeTarget){const m=this.getClosestProjectingParent();m&&m.layout&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Qa(this.relativeTargetOrigin,this.layout.layoutBox,m.layout.layoutBox),Jn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Nt(),this.targetWithTransforms=Nt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),hF(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Jn(this.target,this.layout.layoutBox),Mv(this.target,this.targetDelta)):Jn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const m=this.getClosestProjectingParent();m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?(this.relativeParent=m,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Nt(),this.relativeTargetOrigin=Nt(),Qa(this.relativeTargetOrigin,this.target,m.target),Jn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}oi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||kg(this.parent.latestValues)||Dv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var a;const c=this.getLead(),u=!!this.resumingFrom||this!==c;let A=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(A=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(A=!1),this.resolvedRelativeTargetAt===$t.timestamp&&(A=!1),A)return;const{layout:p,layoutId:h}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(p||h))return;Jn(this.layoutCorrected,this.layout.layoutBox);const C=this.treeScale.x,m=this.treeScale.y;QF(this.layoutCorrected,this.treeScale,this.path,u),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox);const{target:I}=c;if(!I){this.projectionTransform&&(this.projectionDelta=ls(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=ls(),this.projectionDeltaWithTransform=ls());const B=this.projectionTransform;ya(this.projectionDelta,this.layoutCorrected,I,this.latestValues),this.projectionTransform=KE(this.projectionDelta,this.treeScale),(this.projectionTransform!==B||this.treeScale.x!==C||this.treeScale.y!==m)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",I)),oi.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(a=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),a){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(a,c=!1){const u=this.snapshot,A=u?u.latestValues:{},p={...this.latestValues},h=ls();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const C=Nt(),m=u?u.source:void 0,I=this.layout?this.layout.source:void 0,B=m!==I,v=this.getStack(),S=!v||v.members.length<=1,O=!!(B&&!S&&this.options.crossfade===!0&&!this.path.some(g5));this.animationProgress=0;let x;this.mixTargetDelta=R=>{const P=R/1e3;_E(h.x,a.x,P),_E(h.y,a.y,P),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qa(C,this.layout.layoutBox,this.relativeParent.layout.layoutBox),d5(this.relativeTarget,this.relativeTargetOrigin,C,P),x&&YF(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=Nt()),Jn(x,this.relativeTarget)),B&&(this.animationValues=p,NF(p,A,this.latestValues,P,O,S)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(a){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(to(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{wc.hasAnimatedSinceResize=!0,this.currentAnimation=_F(0,JE,{...a,onUpdate:c=>{this.mixTargetDelta(c),a.onUpdate&&a.onUpdate(c)},onComplete:()=>{a.onComplete&&a.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const a=this.getStack();a&&a.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(JE),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:A,latestValues:p}=a;if(!(!c||!u||!A)){if(this!==a&&this.layout&&A&&Uv(this.options.animationType,this.layout.layoutBox,A.layoutBox)){u=this.target||Nt();const h=Fn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+h;const C=Fn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+C}Jn(c,u),cs(c,p),ya(this.projectionDeltaWithTransform,this.layoutCorrected,c,p)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new GF),this.sharedNodes.get(a).add(c);const A=c.options.initialPromotionConfig;c.promote({transition:A?A.transition:void 0,preserveFollowOpacity:A&&A.shouldPreserveFollowOpacity?A.shouldPreserveFollowOpacity(c):void 0})}isLead(){const a=this.getStack();return a?a.lead===this:!0}getLead(){var a;const{layoutId:c}=this.options;return c?((a=this.getStack())===null||a===void 0?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:c}=this.options;return c?(a=this.getStack())===null||a===void 0?void 0:a.prevLead:void 0}getStack(){const{layoutId:a}=this.options;if(a)return this.root.sharedNodes.get(a)}promote({needsReset:a,transition:c,preserveFollowOpacity:u}={}){const A=this.getStack();A&&A.promote(this,u),a&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const a=this.getStack();return a?a.relegate(this):!1}resetRotation(){const{visualElement:a}=this.options;if(!a)return;let c=!1;const{latestValues:u}=a;if((u.rotate||u.rotateX||u.rotateY||u.rotateZ)&&(c=!0),!c)return;const A={};for(let p=0;p<qE.length;p++){const h="rotate"+qE[p];u[h]&&(A[h]=u[h],a.setStaticValue(h,0))}a.render();for(const p in A)a.setStaticValue(p,A[p]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return $F;const A={visibility:""},p=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,A.opacity="",A.pointerEvents=xc(a==null?void 0:a.pointerEvents)||"",A.transform=p?p(this.latestValues,""):"none",A;const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){const B={};return this.options.layoutId&&(B.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,B.pointerEvents=xc(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ri(this.latestValues)&&(B.transform=p?p({},""):"none",this.hasProjected=!1),B}const C=h.animationValues||h.latestValues;this.applyTransformsToTarget(),A.transform=KE(this.projectionDeltaWithTransform,this.treeScale,C),p&&(A.transform=p(C,A.transform));const{x:m,y:I}=this.projectionDelta;A.transformOrigin=`${m.origin*100}% ${I.origin*100}% 0`,h.animationValues?A.opacity=h===this?(u=(c=C.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:C.opacityExit:A.opacity=h===this?C.opacity!==void 0?C.opacity:"":C.opacityExit!==void 0?C.opacityExit:0;for(const B in Gc){if(C[B]===void 0)continue;const{correct:v,applyTo:S}=Gc[B],O=A.transform==="none"?C[B]:v(C[B],h);if(S){const x=S.length;for(let R=0;R<x;R++)A[S[R]]=O}else A[B]=O}return this.options.layoutId&&(A.pointerEvents=h===this?xc(a==null?void 0:a.pointerEvents)||"":"none"),A}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(a=>{var c;return(c=a.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(XE),this.root.sharedNodes.clear()}}}function t5(e){e.updateLayout()}function n5(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:s}=e.options,a=n.source!==e.layout.source;s==="size"?Xn(h=>{const C=a?n.measuredBox[h]:n.layoutBox[h],m=Fn(C);C.min=r[h].min,C.max=C.min+m}):Uv(s,n.layoutBox,r)&&Xn(h=>{const C=a?n.measuredBox[h]:n.layoutBox[h],m=Fn(r[h]);C.max=C.min+m,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+m)});const c=ls();ya(c,r,n.layoutBox);const u=ls();a?ya(u,e.applyTransform(o,!0),n.measuredBox):ya(u,r,n.layoutBox);const A=!Hv(c);let p=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:C,layout:m}=h;if(C&&m){const I=Nt();Qa(I,n.layoutBox,C.layoutBox);const B=Nt();Qa(B,r,m.layoutBox),zv(I,B)||(p=!0),h.options.layoutRoot&&(e.relativeTarget=B,e.relativeTargetOrigin=I,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:A,hasRelativeTargetChanged:p})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function r5(e){oi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function o5(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function i5(e){e.clearSnapshot()}function XE(e){e.clearMeasurements()}function s5(e){e.isLayoutDirty=!1}function a5(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ZE(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function l5(e){e.resolveTargetDelta()}function c5(e){e.calcProjection()}function u5(e){e.resetRotation()}function A5(e){e.removeLeadSnapshot()}function _E(e,t,n){e.translate=xt(t.translate,0,n),e.scale=xt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function $E(e,t,n,r){e.min=xt(t.min,n.min,r),e.max=xt(t.max,n.max,r)}function d5(e,t,n,r){$E(e.x,t.x,n.x,r),$E(e.y,t.y,n.y,r)}function g5(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const f5={duration:.45,ease:[.4,0,.1,1]},eI=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),tI=eI("applewebkit/")&&!eI("chrome/")?Math.round:Pt;function nI(e){e.min=tI(e.min),e.max=tI(e.max)}function p5(e){nI(e.x),nI(e.y)}function Uv(e,t,n){return e==="position"||e==="preserve-aspect"&&!Dg(GE(t),GE(n),.2)}const h5=Wv({attachResizeListener:(e,t)=>Xr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Kd={current:void 0},Yv=Wv({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Kd.current){const e=new h5({});e.mount(window),e.setOptions({layoutScroll:!0}),Kd.current=e}return Kd.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),C5={pan:{Feature:jF},drag:{Feature:OF,ProjectionNode:Yv,MeasureLayout:Lv}},m5=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function E5(e){const t=m5.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const I5=4;function Lg(e,t,n=1){mr(n<=I5,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=E5(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return wv(a)?parseFloat(a):a}else return wg(o)?Lg(o,t,n+1):o}function B5(e,{...t},n){const r=e.current;if(!(r instanceof Element))return{target:t,transitionEnd:n};n&&(n={...n}),e.values.forEach(o=>{const s=o.get();if(!wg(s))return;const a=Lg(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!wg(s))continue;const a=Lg(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const v5=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Gv=e=>v5.has(e),b5=e=>Object.keys(e).some(Gv),uc=e=>e===xi||e===De,rI=(e,t)=>parseFloat(e.split(", ")[t]),oI=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return rI(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?rI(s[1],e):0}},y5=new Set(["x","y","z"]),Q5=Ja.filter(e=>!y5.has(e));function x5(e){const t=[];return Q5.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t.length&&e.render(),t}const Bs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:oI(4,13),y:oI(5,14)};Bs.translateX=Bs.x;Bs.translateY=Bs.y;const w5=(e,t,n)=>{const r=t.measureViewportBox(),o=t.current,s=getComputedStyle(o),{display:a}=s,c={};a==="none"&&t.setStaticValue("display",e.display||"block"),n.forEach(A=>{c[A]=Bs[A](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(A=>{const p=t.getValue(A);p&&p.jump(c[A]),e[A]=Bs[A](u,s)}),e},T5=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Gv);let s=[],a=!1;const c=[];if(o.forEach(u=>{const A=e.getValue(u);if(!e.hasValue(u))return;let p=n[u],h=la(p);const C=t[u];let m;if(qc(C)){const I=C.length,B=C[0]===null?1:0;p=C[B],h=la(p);for(let v=B;v<I&&C[v]!==null;v++)m?mr(la(C[v])===m,"All keyframes must be of the same type"):(m=la(C[v]),mr(m===h||uc(h)&&uc(m),"Keyframes must be of the same dimension as the current value"))}else m=la(C);if(h!==m)if(uc(h)&&uc(m)){const I=A.get();typeof I=="string"&&A.set(parseFloat(I)),typeof C=="string"?t[u]=parseFloat(C):Array.isArray(C)&&m===De&&(t[u]=C.map(parseFloat))}else h!=null&&h.transform&&(m!=null&&m.transform)&&(p===0||C===0)?p===0?A.set(m.transform(p)):t[u]=h.transform(C):(a||(s=x5(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],A.jump(C))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,A=w5(t,e,c);return s.length&&s.forEach(([p,h])=>{e.getValue(p).set(h)}),e.render(),ju&&u!==null&&window.scrollTo({top:u}),{target:A,transitionEnd:r}}else return{target:t,transitionEnd:r}};function S5(e,t,n,r){return b5(t)?T5(e,t,n,r):{target:t,transitionEnd:r}}const P5=(e,t,n,r)=>{const o=B5(e,t,r);return t=o.target,r=o.transitionEnd,S5(e,t,n,r)},Ng={current:null},Kv={current:!1};function R5(){if(Kv.current=!0,!!ju)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ng.current=e.matches;e.addListener(t),t()}else Ng.current=!1}function O5(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(bn(s))e.addValue(o,s),_c(r)&&r.add(o),process.env.NODE_ENV==="development"&&rp(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(bn(a))e.addValue(o,Is(s,{owner:e})),_c(r)&&r.remove(o);else if(a!==s)if(e.hasValue(o)){const c=e.getValue(o);!c.hasAnimated&&c.set(s)}else{const c=e.getStaticValue(o);e.addValue(o,Is(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const iI=new WeakMap,qv=Object.keys(Da),j5=qv.length,sI=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],D5=Vf.length;class M5{constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>mt.render(this.render,!1,!0);const{latestValues:c,renderState:u}=s;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.isControllingVariants=Mu(n),this.isVariantNode=OB(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:A,...p}=this.scrapeMotionValuesFromProps(n,{});for(const h in p){const C=p[h];c[h]!==void 0&&bn(C)&&(C.set(c[h],!1),_c(A)&&A.add(h))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,iI.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),Kv.current||R5(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ng.current,process.env.NODE_ENV!=="production"&&rp(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){iI.delete(this.current),this.projection&&this.projection.unmount(),to(this.notifyUpdate),to(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,n){const r=Qi.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&mt.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=n.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{o(),s()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}loadFeatures({children:t,...n},r,o,s){let a,c;if(process.env.NODE_ENV!=="production"&&o&&r){const u="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";n.ignoreStrict?_a(!1,u):mr(!1,u)}for(let u=0;u<j5;u++){const A=qv[u],{isEnabled:p,Feature:h,ProjectionNode:C,MeasureLayout:m}=Da[A];C&&(a=C),p(n)&&(!this.features[A]&&h&&(this.features[A]=new h(this)),m&&(c=m))}if((this.type==="html"||this.type==="svg")&&!this.projection&&a){this.projection=new a(this.latestValues,this.parent&&this.parent.projection);const{layoutId:u,layout:A,drag:p,dragConstraints:h,layoutScroll:C,layoutRoot:m}=n;this.projection.setOptions({layoutId:u,layout:A,alwaysMeasureLayout:!!p||h&&ss(h),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof A=="string"?A:"both",initialPromotionConfig:s,layoutScroll:C,layoutRoot:m})}return c}updateFeatures(){for(const t in this.features){const n=this.features[t];n.isMounted?n.update():(n.mount(),n.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Nt()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}makeTargetAnimatable(t,n=!0){return this.makeTargetAnimatableFromInstance(t,this.props,n)}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<sI.length;r++){const o=sI[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const s=t["on"+o];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=O5(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(t=!1){if(t)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}const n={};for(let r=0;r<D5;r++){const o=Vf[r],s=this.props[o];(ja(s)||s===!1)&&(n[o]=s)}return n}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){n!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,n)),this.values.set(t,n),this.latestValues[t]=n.get()}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Is(n,{owner:this}),this.addValue(t,r)),r}readValue(t){var n;return this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(n=this.getBaseTargetFromProps(this.props,t))!==null&&n!==void 0?n:this.readValueFromInstance(this.current,t,this.options)}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props,o=typeof r=="string"||typeof r=="object"?(n=Kf(this.props,r))===null||n===void 0?void 0:n[t]:void 0;if(r&&o!==void 0)return o;const s=this.getBaseTargetFromProps(this.props,t);return s!==void 0&&!bn(s)?s:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new np),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Jv extends M5{sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}makeTargetAnimatableFromInstance({transition:t,transitionEnd:n,...r},{transformValues:o},s){let a=Zk(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){Jk(this,r,a);const c=P5(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function k5(e){return window.getComputedStyle(e)}class F5 extends Jv{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(Qi.has(n)){const r=Zf(n);return r&&r.default||0}else{const r=k5(t),o=(FB(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return kv(t,n)}build(t,n,r,o){zf(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return Gf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;bn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){WB(t,n,r,o)}}class L5 extends Jv{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qi.has(n)){const r=Zf(n);return r&&r.default||0}return n=UB.has(n)?n:Lf(n),t.getAttribute(n)}measureInstanceViewportBox(){return Nt()}scrapeMotionValuesFromProps(t,n){return GB(t,n)}build(t,n,r,o){Uf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){YB(t,n,r,o)}mount(t){this.isSVGTag=Yf(t.tagName),super.mount(t)}}const N5=(e,t)=>Hf(e)?new L5(t,{enableHardwareAcceleration:!1}):new F5(t,{enableHardwareAcceleration:!0}),V5={layout:{ProjectionNode:Yv,MeasureLayout:Lv}},H5={...dF,...D3,...C5,...V5},Ac=zM((e,t)=>B3(e,t,H5,N5)),z5=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function aI(...e){const t=Q.useRef(0),[n,r]=Q.useState(e[t.current]),o=Q.useCallback(s=>{t.current=typeof s!="number"?z5(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function Xv({children:e,type:t="scale",direction:n="right",offset:r=10,scale:o={hover:1.05,tap:.95}}){let s,a;switch(n){case"up":case"left":s=r,a=0;break;case"right":case"down":default:s=0,a=r;break}const[c,u]=aI(s,a),[A,p]=aI(s,a);switch(t){case"rotate":return g.jsx(Ac.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?g.jsx(Ac.div,{animate:{y:A!==void 0?A:""},onHoverEnd:()=>p(),onHoverStart:()=>p(),children:e}):g.jsx(Ac.div,{animate:{x:c!==void 0?c:""},onHoverEnd:()=>u(),onHoverStart:()=>u(),children:e});case"scale":default:return typeof o=="number"&&(o={hover:o,tap:o}),g.jsx(Ac.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}Xv.propTypes={children:f.node,offset:f.number,type:f.oneOf(["slide","scale","rotate"]),direction:f.oneOf(["up","down","left","right"]),scale:f.oneOfType([f.number,f.object])};function W5(e){return Dt("MuiSvgIcon",e)}Vt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const U5=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Y5=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Pe(t)}`,`fontSize${Pe(n)}`]};return nn(o,W5,r)},G5=Ae("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Pe(n.color)}`],t[`fontSize${Pe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,A,p,h,C,m,I;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(a=s.pxToRem)==null?void 0:a.call(s,20))||"1.25rem",medium:((c=e.typography)==null||(u=c.pxToRem)==null?void 0:u.call(c,24))||"1.5rem",large:((A=e.typography)==null||(p=A.pxToRem)==null?void 0:p.call(A,35))||"2.1875rem"}[t.fontSize],color:(h=(C=(e.vars||e).palette)==null||(C=C[t.color])==null?void 0:C.main)!=null?h:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(I=(e.vars||e).palette)==null||(I=I.action)==null?void 0:I.disabled,inherit:void 0}[t.color]}}),op=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:A,inheritViewBox:p=!1,titleAccess:h,viewBox:C="0 0 24 24"}=r,m=Ne(r,U5),I=M.isValidElement(o)&&o.type==="svg",B=z({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:p,viewBox:C,hasSvgAsChild:I}),v={};p||(v.viewBox=C);const S=Y5(B);return g.jsxs(G5,z({as:c,className:Ge(S.root,s),focusable:"false",color:A,"aria-hidden":h?void 0:!0,role:h?"img":void 0,ref:n},v,m,I&&o.props,{ownerState:B,children:[I?o.props.children:o,h?g.jsx("title",{children:h}):null]}))});process.env.NODE_ENV!=="production"&&(op.propTypes={children:f.node,classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),f.string]),component:f.elementType,fontSize:f.oneOfType([f.oneOf(["inherit","large","medium","small"]),f.string]),htmlColor:f.string,inheritViewBox:f.bool,shapeRendering:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),titleAccess:f.string,viewBox:f.string});op.muiName="SvgIcon";const lI=op;function ip(e,t){function n(r,o){return g.jsx(lI,z({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=lI.muiName,M.memo(M.forwardRef(n))}const K5=ip(g.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person");function q5(e){return Dt("MuiAvatar",e)}Vt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const J5=["alt","children","className","component","imgProps","sizes","src","srcSet","variant"],X5=e=>{const{classes:t,variant:n,colorDefault:r}=e;return nn({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},q5,t)},Z5=Ae("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e,ownerState:t})=>z({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},t.variant==="rounded"&&{borderRadius:(e.vars||e).shape.borderRadius},t.variant==="square"&&{borderRadius:0},t.colorDefault&&z({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.mode==="light"?e.palette.grey[400]:e.palette.grey[600]}))),_5=Ae("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),$5=Ae(K5,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function e8({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=M.useState(!1);return M.useEffect(()=>{if(!n&&!r)return;s(!1);let a=!0;const c=new Image;return c.onload=()=>{a&&s("loaded")},c.onerror=()=>{a&&s("error")},c.crossOrigin=e,c.referrerPolicy=t,c.src=n,r&&(c.srcset=r),()=>{a=!1}},[e,t,n,r]),o}const Zv=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",imgProps:u,sizes:A,src:p,srcSet:h,variant:C="circular"}=r,m=Ne(r,J5);let I=null;const B=e8(z({},u,{src:p,srcSet:h})),v=p||h,S=v&&B!=="error",O=z({},r,{colorDefault:!S,component:c,variant:C}),x=X5(O);return S?I=g.jsx(_5,z({alt:o,srcSet:h,src:p,sizes:A,ownerState:O,className:x.img},u)):s!=null?I=s:v&&o?I=o[0]:I=g.jsx($5,{ownerState:O,className:x.fallback}),g.jsx(Z5,z({as:c,ownerState:O,className:Ge(x.root,a),ref:n},m,{children:I}))});process.env.NODE_ENV!=="production"&&(Zv.propTypes={alt:f.string,children:f.node,classes:f.object,className:f.string,component:f.elementType,imgProps:f.object,sizes:f.string,src:f.string,srcSet:f.string,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["circular","rounded","square"]),f.string])});const t8=Zv,rn=(e,t)=>{switch(t){case"secondary":return e.palette.secondary;case"error":return e.palette.error;case"warning":return e.palette.warning;case"info":return e.palette.info;case"success":return e.palette.success;default:return e.palette.primary}};function n8({theme:e,color:t,type:n}){const r=rn(e,t),{lighter:o,light:s,main:a,contrastText:c}=r;switch(n){case"filled":return{color:c,backgroundColor:a};case"outlined":return{color:a,border:"1px solid",borderColor:a,backgroundColor:"transparent"};case"combined":return{color:a,border:"1px solid",borderColor:s,backgroundColor:o};default:return{color:a,backgroundColor:o}}}function r8(e){switch(e){case"badge":return{border:"2px solid",fontSize:"0.675rem",width:20,height:20};case"xs":return{fontSize:"0.75rem",width:24,height:24};case"sm":return{fontSize:"0.875rem",width:32,height:32};case"lg":return{fontSize:"1.2rem",width:52,height:52};case"xl":return{fontSize:"1.5rem",width:64,height:64};case"md":default:return{fontSize:"1rem",width:40,height:40}}}const o8=Ae(t8,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,variant:t,color:n,type:r,size:o})=>({...r8(o),...n8({variant:t,theme:e,color:n,type:r}),...o==="badge"&&{borderColor:e.palette.background.default}}));function ka({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=bt();return g.jsx(o8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}ka.propTypes={children:f.node,color:f.string,type:f.string,size:f.string,variant:f.string};const cI={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},er=Q.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:A,shadow:p,sx:h={},title:C,modal:m=!1,color:I="default",...B},v)=>{const S=bt();return t=S.palette.mode==="dark"?t||!0:t,g.jsxs(y.Card,{elevation:u||0,ref:v,...B,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:S.palette.mode==="dark"?S.palette.divider:S.palette.grey.A800,boxShadow:t&&(!e||S.palette.mode==="dark")?p||S.customShadows.z1:"inherit",":hover":{boxShadow:t?p||S.customShadows.z1:"inherit"},backgroundColor:I==="default"?S.palette.background.paper:Es(I==="primary"?S.palette.primary[100]:S.palette.secondary[100],.5),...m&&{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:{xs:"calc( 100% - 50px)",sm:"auto"},"& .MuiCardContent-root":{overflowY:"auto",minHeight:"auto",maxHeight:"calc(100vh - 200px)"}},...h},children:[!a&&C&&g.jsx(y.CardHeader,{sx:cI,title:C,action:A,subheader:r}),a&&C&&g.jsx(y.CardHeader,{sx:cI,title:g.jsx(y.Typography,{variant:"h4",children:C}),action:A}),C&&c&&g.jsx(y.Divider,{}),o&&g.jsx(y.CardContent,{sx:s,children:n}),!o&&n]})});er.propTypes={border:f.bool,boxShadow:f.bool,children:f.oneOfType([f.node,f.arrayOf(f.node)]),subheader:f.oneOfType([f.node,f.string]),content:f.bool,contentClass:f.string,contentSX:f.object,darkTitle:f.bool,divider:f.bool,elevation:f.number,secondary:f.oneOfType([f.node,f.string,f.object]),shadow:f.string,sx:f.object,title:f.oneOfType([f.node,f.string,f.object]),modal:f.bool,color:f.oneOf(["default","primary","secondary"])};function i8(e){return Dt("MuiTypography",e)}Vt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const s8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],a8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${Pe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return nn(c,i8,a)},l8=Ae("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${Pe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>z({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),uI={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},c8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},u8=e=>c8[e]||e,_v=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiTypography"}),o=u8(r.color),s=aj(z({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:A=!1,noWrap:p=!1,paragraph:h=!1,variant:C="body1",variantMapping:m=uI}=s,I=Ne(s,s8),B=z({},s,{align:a,color:o,className:c,component:u,gutterBottom:A,noWrap:p,paragraph:h,variant:C,variantMapping:m}),v=u||(h?"p":m[C]||uI[C])||"span",S=a8(B);return g.jsx(l8,z({as:v,ref:n,ownerState:B,className:Ge(S.root,c)},I))});process.env.NODE_ENV!=="production"&&(_v.propTypes={align:f.oneOf(["center","inherit","justify","left","right"]),children:f.node,classes:f.object,className:f.string,component:f.elementType,gutterBottom:f.bool,noWrap:f.bool,paragraph:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),f.string]),variantMapping:f.object});const $v=_v,A8=ip(g.jsx("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");function Vg(e,t){return Vg=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Vg(e,t)}function sp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vg(e,t)}const AI={disabled:!1};var d8=process.env.NODE_ENV!=="production"?f.oneOfType([f.number,f.shape({enter:f.number,exit:f.number,appear:f.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&f.oneOfType([f.string,f.shape({enter:f.string,exit:f.string,active:f.string}),f.shape({enter:f.string,enterDone:f.string,enterActive:f.string,exit:f.string,exitDone:f.string,exitActive:f.string})]);const eu=Q.createContext(null);var g8=function(t){return t.scrollTop},ma="unmounted",ii="exited",si="entering",ns="entered",Hg="exiting",oo=function(e){sp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=o,c=a&&!a.isMounting?r.enter:r.appear,u;return s.appearStatus=null,r.in?c?(u=ii,s.appearStatus=si):u=ns:r.unmountOnExit||r.mountOnEnter?u=ma:u=ii,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ma?{status:ii}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var s=null;if(o!==this.props){var a=this.state.status;this.props.in?a!==si&&a!==ns&&(s=si):(a===si||a===ns)&&(s=Hg)}this.updateStatus(!1,s)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,s,a,c;return s=a=c=o,o!=null&&typeof o!="number"&&(s=o.exit,a=o.enter,c=o.appear!==void 0?o.appear:a),{exit:s,enter:a,appear:c}},n.updateStatus=function(o,s){if(o===void 0&&(o=!1),s!==null)if(this.cancelNextCallback(),s===si){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:os.findDOMNode(this);a&&g8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ii&&this.setState({status:ma})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[os.findDOMNode(this),c],A=u[0],p=u[1],h=this.getTimeouts(),C=c?h.appear:h.enter;if(!o&&!a||AI.disabled){this.safeSetState({status:ns},function(){s.props.onEntered(A)});return}this.props.onEnter(A,p),this.safeSetState({status:si},function(){s.props.onEntering(A,p),s.onTransitionEnd(C,function(){s.safeSetState({status:ns},function(){s.props.onEntered(A,p)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:os.findDOMNode(this);if(!s||AI.disabled){this.safeSetState({status:ii},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Hg},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ii},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,s){s=this.setNextCallback(s),this.setState(o,s)},n.setNextCallback=function(o){var s=this,a=!0;return this.nextCallback=function(c){a&&(a=!1,s.nextCallback=null,o(c))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,s){this.setNextCallback(s);var a=this.props.nodeRef?this.props.nodeRef.current:os.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!a||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],A=u[0],p=u[1];this.props.addEndListener(A,p)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ma)return null;var s=this.props,a=s.children;s.in,s.mountOnEnter,s.unmountOnExit,s.appear,s.enter,s.exit,s.timeout,s.addEndListener,s.onEnter,s.onEntering,s.onEntered,s.onExit,s.onExiting,s.onExited,s.nodeRef;var c=Ne(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return Q.createElement(eu.Provider,{value:null},typeof a=="function"?a(o,c):Q.cloneElement(Q.Children.only(a),c))},t}(Q.Component);oo.contextType=eu;oo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:f.shape({current:typeof Element>"u"?f.any:function(e,t,n,r,o,s){var a=e[t];return f.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:f.oneOfType([f.func.isRequired,f.element.isRequired]).isRequired,in:f.bool,mountOnEnter:f.bool,unmountOnExit:f.bool,appear:f.bool,enter:f.bool,exit:f.bool,timeout:function(t){var n=d8;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),s=1;s<r;s++)o[s-1]=arguments[s];return n.apply(void 0,[t].concat(o))},addEndListener:f.func,onEnter:f.func,onEntering:f.func,onEntered:f.func,onExit:f.func,onExiting:f.func,onExited:f.func}:{};function Xi(){}oo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Xi,onEntering:Xi,onEntered:Xi,onExit:Xi,onExiting:Xi,onExited:Xi};oo.UNMOUNTED=ma;oo.EXITED=ii;oo.ENTERING=si;oo.ENTERED=ns;oo.EXITING=Hg;const ap=oo;function f8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lp(e,t){var n=function(s){return t&&Q.isValidElement(s)?t(s):s},r=Object.create(null);return e&&Q.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function p8(e,t){e=e||{},t=t||{};function n(p){return p in t?t[p]:e[p]}var r=Object.create(null),o=[];for(var s in e)s in t?o.length&&(r[s]=o,o=[]):o.push(s);var a,c={};for(var u in t){if(r[u])for(a=0;a<r[u].length;a++){var A=r[u][a];c[r[u][a]]=n(A)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function ui(e,t,n){return n[t]!=null?n[t]:e.props[t]}function h8(e,t){return lp(e.children,function(n){return Q.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:ui(n,"appear",e),enter:ui(n,"enter",e),exit:ui(n,"exit",e)})})}function C8(e,t,n){var r=lp(e.children),o=p8(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(Q.isValidElement(a)){var c=s in t,u=s in r,A=t[s],p=Q.isValidElement(A)&&!A.props.in;u&&(!c||p)?o[s]=Q.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:ui(a,"exit",e),enter:ui(a,"enter",e)}):!u&&c&&!p?o[s]=Q.cloneElement(a,{in:!1}):u&&c&&Q.isValidElement(A)&&(o[s]=Q.cloneElement(a,{onExited:n.bind(null,a),in:A.props.in,exit:ui(a,"exit",e),enter:ui(a,"enter",e)}))}}),o}var m8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},E8={component:"div",childFactory:function(t){return t}},cp=function(e){sp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(f8(s));return s.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},s}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,s){var a=s.children,c=s.handleExited,u=s.firstRender;return{children:u?h8(o,c):C8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=lp(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=z({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=Ne(o,["component","childFactory"]),u=this.state.contextValue,A=m8(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?Q.createElement(eu.Provider,{value:u},A):Q.createElement(eu.Provider,{value:u},Q.createElement(s,c,A))},t}(Q.Component);cp.propTypes=process.env.NODE_ENV!=="production"?{component:f.any,children:f.node,appear:f.bool,enter:f.bool,exit:f.bool,childFactory:f.func}:{};cp.defaultProps=E8;const I8=cp;function eb(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:A}=e,[p,h]=M.useState(!1),C=Ge(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},I=Ge(n.child,p&&n.childLeaving,r&&n.childPulsate);return!c&&!p&&h(!0),M.useEffect(()=>{if(!c&&u!=null){const B=setTimeout(u,A);return()=>{clearTimeout(B)}}},[u,c,A]),g.jsx("span",{className:C,style:m,children:g.jsx("span",{className:I})})}process.env.NODE_ENV!=="production"&&(eb.propTypes={classes:f.object.isRequired,className:f.string,in:f.bool,onExited:f.func,pulsate:f.bool,rippleSize:f.number,rippleX:f.number,rippleY:f.number,timeout:f.number.isRequired});const B8=Vt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Zn=B8,v8=["center","classes","className"];let Nu=e=>e,dI,gI,fI,pI;const zg=550,b8=80,y8=qt.keyframes(dI||(dI=Nu`
|
|
101
101
|
0% {
|
|
102
102
|
transform: scale(0);
|
|
103
103
|
opacity: 0.1;
|
|
@@ -202,7 +202,7 @@ attempted value: ${a}
|
|
|
202
202
|
animation: ${0} 1.4s linear infinite;
|
|
203
203
|
`),C6)),B6=Ae("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),v6=Ae("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Pe(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>z({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&qt.css(EI||(EI=Hu`
|
|
204
204
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
205
|
-
`),m6)),Ab=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:A=3.6,value:p=0,variant:h="indeterminate"}=r,C=Ne(r,h6),m=z({},r,{color:s,disableShrink:a,size:c,thickness:A,value:p,variant:h}),I=E6(m),B={},v={},S={};if(h==="determinate"){const O=2*Math.PI*((ho-A)/2);B.strokeDasharray=O.toFixed(3),S["aria-valuenow"]=Math.round(p),B.strokeDashoffset=`${((100-p)/100*O).toFixed(3)}px`,v.transform="rotate(-90deg)"}return g.jsx(I6,z({className:Ge(I.root,o),style:z({width:c,height:c},v,u),ownerState:m,ref:n,role:"progressbar"},S,C,{children:g.jsx(B6,{className:I.svg,ownerState:m,viewBox:`${ho/2} ${ho/2} ${ho} ${ho}`,children:g.jsx(v6,{className:I.circle,style:B,ownerState:m,cx:ho,cy:ho,r:(ho-A)/2,fill:"none",strokeWidth:A})})}))});process.env.NODE_ENV!=="production"&&(Ab.propTypes={classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","error","info","success","warning"]),f.string]),disableShrink:Or(f.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:f.oneOfType([f.number,f.string]),style:f.object,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),thickness:f.number,value:f.number,variant:f.oneOf(["determinate","indeterminate"])});const dp=Ab;function b6(e){return Dt("MuiLoadingButton",e)}const y6=Vt("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),Yr=y6,Q6=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],x6=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${Pe(n)}`],endIcon:[t&&`endIconLoading${Pe(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${Pe(n)}`]},s=pr.unstable_composeClasses(o,b6,r);return z({},r,s)},w6=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",T6=Ae(f6,{shouldForwardProp:e=>w6(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${Yr.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${Yr.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>z({[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Yr.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),S6=Ae("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${Pe(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>z({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),db=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:A="center",variant:p="text"}=r,h=Ne(r,Q6),C=of(a),m=u??g.jsx(dp,{"aria-labelledby":C,color:"inherit",size:16}),I=z({},r,{disabled:s,loading:c,loadingIndicator:m,loadingPosition:A,variant:p}),B=x6(I),v=c?g.jsx(S6,{className:B.loadingIndicator,ownerState:I,children:m}):null;return g.jsxs(T6,z({disabled:s||c,id:C,ref:n},h,{variant:p,classes:B,ownerState:I,children:[I.loadingPosition==="end"?o:v,I.loadingPosition==="end"?v:o]}))});process.env.NODE_ENV!=="production"&&(db.propTypes={children:f.node,classes:f.object,disabled:f.bool,id:f.string,loading:f.bool,loadingIndicator:f.node,loadingPosition:Or(f.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const P6=db;function Jd({variant:e,theme:t,color:n,loadingPosition:r}){const o=rn(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,A=`${n}Button`,p=Ss(t,A),h={"& .MuiLoadingButton-loadingIndicator":{color:a}},C={...r&&r!=="center"&&{color:a}},m={"&::after":{boxShadow:`0 0 6px 6px ${ze(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${ze(a,.9)}`},"&:focus-visible":{outline:`2px solid ${c}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...m};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...m};case"shadow":return{boxShadow:p,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...m};case"outlined":return{backgroundColor:"transparent",borderColor:a,...C,...h};case"dashed":return{backgroundColor:s,borderColor:a,...C,...h,...m};case"text":default:return{color:a,...h,...m}}}const R6=Ae(P6,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:o,loadingPosition:s})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!o&&{color:"#fff"},...t!=="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s})}}})),gp=Q.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",...o},s)=>{const a=bt();return g.jsx(R6,{ref:s,variant:e,shape:t,theme:a,loadingPosition:o.loadingPosition,loading:o.loading,color:r,...o,children:n})});gp.propTypes={variant:f.string,shape:f.string,children:f.node,color:f.string};gp.displayName="LoadingButton";function O6({color:e,theme:t,labelColor:n}){const r=rn(t,e),{main:o,contrastText:s}=r;let a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${y.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${y.tooltipClasses.arrow}`]:{color:o}}:{[`& .${y.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${y.tooltipClasses.arrow}`]:{color:a}}}const j6=Ae(({className:e,...t})=>g.jsx(y.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&O6({color:t,theme:e,labelColor:n})}));function zu({children:e,arrow:t,labelColor:n="",...r}){const o=bt();return g.jsx(y.Box,{display:"flex",children:g.jsx(j6,{arrow:t,...r,theme:o,labelColor:n,children:e})})}zu.propTypes={children:f.element,arrow:f.bool,labelColor:f.string,rest:f.array};const Do=Q.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...o},s)=>{let a={transformOrigin:"0 0 0"};switch(t){case"top-right":a={transformOrigin:"top right"};break;case"top":a={transformOrigin:"top"};break;case"bottom-left":a={transformOrigin:"bottom left"};break;case"bottom-right":a={transformOrigin:"bottom right"};break;case"bottom":a={transformOrigin:"bottom"};break;case"top-left":default:a={transformOrigin:"0 0 0"};break}return g.jsxs(y.Box,{ref:s,children:[n==="grow"&&g.jsx(y.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:g.jsx(y.Box,{sx:a,children:e})}),n==="collapse"&&g.jsx(y.Collapse,{...o,sx:a,children:e}),n==="fade"&&g.jsx(y.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:g.jsx(y.Box,{sx:a,children:e})}),n==="slide"&&g.jsx(y.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:g.jsx(y.Box,{sx:a,children:e})}),n==="zoom"&&g.jsx(y.Zoom,{...o,children:g.jsx(y.Box,{sx:a,children:e})})]})});Do.propTypes={children:f.node,type:f.oneOf(["grow","fade","collapse","slide","zoom"]),position:f.oneOf(["top-left","top-right","top","bottom-left","bottom-right","bottom"]),direction:f.oneOf(["up","down","left","right"])};Q.forwardRef(function(t,n){return g.jsx(y.Zoom,{ref:n,timeout:200,...t})});function gb({value:e,...t}){return g.jsxs(y.Box,{sx:{position:"relative",display:"inline-flex"},children:[g.jsx(y.CircularProgress,{variant:"determinate",value:e,...t}),g.jsx(y.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:g.jsx(y.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}gb.propTypes={value:f.number};function fb({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return g.jsxs(y.Box,{sx:{position:"relative",display:"inline-flex"},children:[g.jsx(y.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o&&g.jsx(y.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:g.jsx(y.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}),g.jsx(y.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${y.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}fb.propTypes={value:f.number,size:f.number,variant:f.string,thickness:f.number,showLabel:f.bool,pathColor:f.string,sx:f.array,others:f.array};function pb({icon:e,value:t,...n}){return g.jsxs(y.Box,{sx:{display:"flex",alignItems:"center"},children:[g.jsx(y.Box,{sx:{width:"100%",mr:1},children:g.jsx(y.LinearProgress,{variant:"determinate",value:t,...n})}),g.jsx(y.Box,{sx:{minWidth:35},children:e})]})}pb.propTypes={icon:f.node,value:f.number};function hb({value:e,...t}){return g.jsxs(y.Box,{sx:{display:"flex",alignItems:"center"},children:[g.jsx(y.Box,{sx:{width:"100%",mr:1},children:g.jsx(y.LinearProgress,{variant:"determinate",value:e,...t})}),g.jsx(y.Box,{sx:{minWidth:35},children:g.jsx(y.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}hb.propTypes={value:f.number};const D6=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary"},{defaults:!0});return g.jsx(Ps,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Rs=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return g.jsx(y.ToggleButton,{ref:n,...t,color:"secondary",sx:r})}),M6=qa(j.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function wi(e){return g.jsx(M6,{...e})}function k6({children:e,content:t=!0,title:n,subheader:r=null,secondary:o=null,toolbar:s=!1,lg:a=12,md:c=12,sm:u=12,xs:A=12,...p}){const h=j.useTranslate(),C=j.useResourceContext(),{cardTitle:m,cardSubheader:I}=Q.useMemo(()=>{const B=n||`resources.${C}.title`;return{cardTitle:h(B,{_:B}),cardSubheader:r!==null?h(r,{_:r}):null}},[C,r,n,h]);return g.jsx(y.Grid,{item:!0,...p,lg:a,md:c,sm:u,xs:A,children:g.jsx(er,{content:t,title:m,subheader:I,secondary:o,divider:!0,children:g.jsxs(Q.Fragment,{children:[e,s===!0?g.jsx(wi,{children:g.jsx(j.SaveButton,{})}):s]})})})}const F6=Ae(j.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:"20px !important",paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:0}}));function Cb({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Qn();return g.jsx(F6,{defaultValues:n,spacing:t||o,children:g.jsx(y.Grid,{container:!0,...r,spacing:t||o,children:e})})}Cb.Section=k6;const L6=qa(j.SimpleForm,{slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?0:2.5)},paddingBottom:"0 !important"}));function mb({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=g.jsx(wi,{children:g.jsx(j.SaveButton,{type:"button"})}),secondary:s=g.jsx(Bi,{children:g.jsx(j.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=kf(e),A=j.useRecordContext();return g.jsx(er,{content:n,title:u,subheader:r,secondary:A!=null&&A.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:2.5,paddingRight:2.5,paddingBottom:2.5}},border:!t,divider:!0,children:g.jsx(L6,{toolbar:o,...c})})}function Eb({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const A=qt.useTheme(),{getCurrentDialog:p}=vi(),{source:h,resource:C,isRequired:m}=u,{getFieldState:I,formState:B}=Ii.useFormContext(),{error:v}=I(h,B),S=p();return g.jsxs(y.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:v?A.palette.error.main:A.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&g.jsx(y.InputLabel,{error:!!v,sx:{borderBottom:a?`1px solid ${A.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:g.jsx(j.FieldTitle,{label:e,source:h,resource:S||C,isRequired:m})}),Q.isValidElement(t)?Q.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&g.jsx(y.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!v,children:r})]})}const N6=Ae(j.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function V6({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return g.jsx(Eb,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:g.jsx(N6,{source:n,label:!1,...s})})}function H6({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:g.jsxs(Bi,{children:[e&&g.jsx(j.EditButton,{}),t&&g.jsx(j.DeleteWithConfirmButton,{}),n&&g.jsx(j.CloneButton,{})]})}const II=Ae("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),z6=Ae("ul")({display:"inline-block"});function W6(e){var p;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=ce.useRecordContext(e),c=lt.get(a,r),u=ce.useTranslate();if(!c)return n?g.jsx(y.Typography,{component:"span",variant:"body2",className:t,...s,children:n&&u(n,{_:n})}):g.jsx(II,{className:t,...s});if(Array.isArray(c))return g.jsx(z6,{className:t,...s,children:c.map((h,C)=>{var I;const m=o instanceof String?(I=lt.get(h,o))==null?void 0:I.toString():o;return g.jsx("li",{children:m},C)})});const A=o instanceof String?(p=lt.get(a,o))==null?void 0:p.toString():o;return g.jsx(II,{className:t,...s,children:A})}function Ib({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",...s}){const[a,c]=Q.useState(null),u=j.useRecordContext(s),A=j.useDataProvider(),p=j.useResourceContext(),h=Q.useCallback(async I=>{I.preventDefault(),I.stopPropagation();const B=lt.get(u,s==null?void 0:s.source),v=p.replace("entities/",""),S=await A.getFile(`/attachments/${v}/${e||(u==null?void 0:u.id)}/${t||(s==null?void 0:s.source)}/${(B==null?void 0:B.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=S,O.download=lt.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source)),O.click()},[A,u,e,p,t,s==null?void 0:s.source,s==null?void 0:s.title]),C=Q.useMemo(()=>({...u,[s==null?void 0:s.source]:(u==null?void 0:u.src)||lt.get(u,s==null?void 0:s.source),[s==null?void 0:s.title]:(u==null?void 0:u.title)||lt.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),[u,s==null?void 0:s.source,s==null?void 0:s.title]),m=j.useTranslate();return Q.useEffect(()=>{!u||!(u!=null&&u.userId)||r===!1||A.getOne(o,{id:u==null?void 0:u.userId}).then(({data:I})=>c(I)).catch(()=>c(null))},[u,A,o]),g.jsx(W6,{...s,disabled:n,record:C,onClick:h,title:g.jsxs(y.Box,{sx:{cursor:"pointer"},children:[g.jsx(y.Typography,{variant:"subtitle1",children:lt.get(C,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),g.jsxs(y.Typography,{variant:"caption",color:"secondary",children:[lt.get(C,"sizeDescription"),r&&a&&" | ",r&&a&&m("ra.attachment.info",{user:a==null?void 0:a.name,created:Pr(C==null?void 0:C.createdAt).format("DD/MM/YYYY HH:mm")})]})]})})}const U6=Ae(j.ImageField,{slot:"root"})(()=>({}));function Bb(e){const t=`_${e==null?void 0:e.source}`;return g.jsx(U6,{...e,source:t})}function vb({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,...s}){const a=Q.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5}),[e,t,n]),c=j.useRecordContext(),u=o||c;return g.jsx(Bb,{sx:A=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${A.palette.divider}`,objectFit:"cover !important",...a,minWidth:a.width,minHeight:a.height}}),...s,record:u})}var bb={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){return function(n,r,o){n=n||{};var s=r.prototype,a={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(A,p,h,C){return s.fromToBase(A,p,h,C)}o.en.relativeTime=a,s.fromToBase=function(A,p,h,C,m){for(var I,B,v,S=h.$locale().relativeTime||a,O=n.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"}],x=O.length,R=0;R<x;R+=1){var P=O[R];P.d&&(I=C?o(A).diff(h,P.d,!0):h.diff(A,P.d,!0));var k=(n.rounding||Math.round)(Math.abs(I));if(v=I>0,k<=P.r||!P.r){k<=1&&R>0&&(P=O[R-1]);var F=S[P.l];m&&(k=m(""+k)),B=typeof F=="string"?F.replace("%d",k):F(k,p,P.l,v);break}}if(p)return B;var G=v?S.future:S.past;return typeof G=="function"?G(B):G.replace("%s",B)},s.to=function(A,p){return c(A,p,this,!0)},s.from=function(A,p){return c(A,p,this)};var u=function(A){return A.$u?o.utc():o()};s.toNow=function(A){return this.to(u(this),A)},s.fromNow=function(A){return this.from(u(this),A)}}})})(bb);var Y6=bb.exports;const G6=ro(Y6);var K6={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){return{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(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(K6);var q6={exports:{}};(function(e,t){(function(n,r){e.exports=r(lB)})(In,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var o=r(n),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return o.default.locale(s,null,!0),s})})(q6);Pr.extend(G6);function yb(e){const t=j.useRecordContext(e),[n]=j.useLocaleState(),r=Q.useMemo(()=>Pr(lt.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return g.jsxs(Q.Fragment,{children:[g.jsx(j.DateField,{record:t,source:e.source,showTime:!0}),g.jsx("br",{}),g.jsx(y.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const J6=Ae(j.DateField,{slot:"Root"})(()=>({}));function X6({variant:e="body1",...t}){return g.jsx(J6,{...t,variant:e})}const Z6=Ae(j.EmailField,{slot:"Root"})(()=>({}));function _6({variant:e="body1",...t}){return g.jsx(Z6,{...t,variant:e})}const $6=Ae(j.FileField,{slot:"root"})(()=>({}));function Qb({...e}){const t=j.useRecordContext(e),n=Q.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=lt.get(t,`_${e==null?void 0:e.source}`,lt.get(t,e==null?void 0:e.source)),s=lt.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),a=document.createElement("a");a.href=o,a.download=s,a.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return g.jsx($6,{...e,record:t,onClick:n})}function eL({variant:e="body1",...t}){return g.jsx(j.FunctionField,{...t,variant:e})}const tL=Ae(j.TextField,{slot:"Root"})(()=>({}));function xb({variant:e="body1",...t}){return g.jsx(tL,{...t,variant:e})}function nL(e){const t=y.useTheme(),n=ce.useLocales(),{source:r=""}=e,o=ce.useRecordContext(e),s=o[r],a=!Tf(s,n),c=Er(e,{flex:1}),[u]=ce.useLocaleState(),A=Q.useMemo(()=>a?g.jsx(Ze.FlagFilled,{style:{color:t.palette.warning.main}}):g.jsx(Ze.FlagOutlined,{}),[a]),p=Q.useMemo(()=>g.jsx(y.Stack,{children:te.map(n,(h,C)=>g.jsx(y.Typography,{children:`${h.locale.toUpperCase()}: ${(s??{})[h.locale]??""}`},C))}),[s,n]);return g.jsx(zu,{title:p,arrow:!1,children:g.jsxs(y.Stack,{alignItems:"center",direction:"row",gap:1,children:[A,g.jsx(xb,{...e,source:`${r}.${u}`,sx:c})]})})}const rL=Ae("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}})),oL=({source:e,defaultValue:t=" ",...n})=>{const r=j.useRecordContext(n),o=lt.get(r,e,t);return g.jsx(y.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})},iL=({title:e,children:t})=>t==null?null:typeof e=="string"||e===!0?g.jsx(y.Tooltip,{title:e,placement:"top",children:t}):t;function sL({label:e,source:t,defaultValue:n=" ",children:r=g.jsx(oL,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const{getCurrentDialog:a}=vi(),c=j.useRecordContext(s),u=j.useResourceContext(s),A=a(),p=Q.useMemo(()=>o===!1?!1:typeof o=="function"?o(c):typeof o=="string"?lt.get(c,o,o):o,[c,o]),h=Er(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return g.jsx(iL,{title:p,children:g.jsxs(Q.Fragment,{children:[g.jsx(y.InputLabel,{sx:{pt:1},children:g.jsx(j.FieldTitle,{label:e,source:t,resource:A||u})}),g.jsx(rL,{...s,children:Q.cloneElement(r,{source:t,record:c,defaultValue:n,resource:A||u,sx:h})})]})})}const aL=function({children:e=null,className:t=""}){return g.jsx("div",{className:t,children:e})},lL=qa(aL,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"none",visibility:"hidden"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function wb(e){return g.jsx(lL,{...e,children:g.jsx(j.ReferenceManyField,{pagination:g.jsx(j.Pagination,{}),...e})})}function cL({source:e,...t}){const n=j.useRecordContext(t),r=lt.get(n,e,0),o=r/1024,s=o/1024,a=s/1024,c=a>1?`${a.toFixed(2)} GB`:s>1?`${s.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return g.jsx(y.Typography,{component:"span",variant:"body1",...t,children:c})}function un({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=bt(),{getCurrentDialog:A}=vi(),{source:p,resource:h,isRequired:C}=c,{fieldState:{invalid:m}}=j.useInput(c),I=A();return g.jsxs(y.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{color:m?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&g.jsx(y.InputLabel,{error:m===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:g.jsx(j.FieldTitle,{label:e,source:p,resource:I||h,isRequired:C})}),Q.isValidElement(t)?Q.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,n==="label"&&r&&g.jsx(y.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:m===!0,children:r})]})}const uL=e=>e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{},AL=Ae(j.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...uL(e)}));function dL({children:e=g.jsx(Ib,{title:"name",source:"path"}),multiple:t=!0,disabled:n=!1,type:r="attachment",...o}){const s=j.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return j.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),g.jsx(un,{...o,disabled:n,children:g.jsx(AL,{type:r,multiple:t,disabled:n,children:Q.cloneElement(e,{...e.props,entityId:c,property:a})})})}const gL=Ae(j.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function fL({size:e="small",...t}){return g.jsx(un,{...t,children:g.jsx(gL,{size:e})})}const pL=Ae(j.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall":{paddingTop:"4px"}}));function hL({size:e="small",...t}){const{perPage:n,...r}=t;return g.jsx(un,{...r,children:g.jsx(pL,{size:e})})}const CL=Ae(j.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function mL({...e}){const t=qt.useTheme();return g.jsx(un,{...e,children:g.jsx(CL,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const EL=Ae(j.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function IL(e){return g.jsx(un,{...e,children:g.jsx(EL,{})})}const BL=Ae(j.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function vL(e){return g.jsx(un,{...e,children:g.jsx(BL,{})})}const bL=Ae(j.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function yL({children:e=g.jsx(Qb,{source:"",title:""}),title:t,...n}){const r=Ii.useWatch({name:n.source}),o=j.useRecordContext(n),{source:s}=n,a=Q.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=lt.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return g.jsx(un,{...n,children:g.jsx(bL,{children:Q.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||lt.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||lt.get(o,`_${s}`),[t||s]:a}})})})}function QL({children:e=g.jsx(vb,{}),title:t,multiple:n=!1,...r}){const o=Ii.useWatch({name:r.source}),s=j.useRecordContext(r),{source:a}=r;return j.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),g.jsx(un,{...r,multiple:n,children:g.jsx(j.ImageInput,{accept:"image/*",children:Q.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||lt.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||lt.get(s,`_${a}`)}})})})}function Cr(e){return g.jsx(un,{...e,children:g.jsx(j.TextInput,{})})}const xL={vertical:"bottom",horizontal:"right"},wL={vertical:"top",horizontal:"right"};function TL(e){const{source:t}=e,{fieldState:n}=ce.useInput(e),r=Ii.useWatch({name:t}),{error:o}=n,s=ce.useLocales(),a=!Tf(r,s),[c]=ce.useLocaleState(),[u,A]=Q.useState(c),[p,h]=Q.useState(null),C=!!p,m=Q.useCallback(v=>h(C?null:v.currentTarget),[C,h]),I=Q.useCallback(()=>h(null),[h]),B=Q.useMemo(()=>te.map(s,(v,S)=>g.jsx(y.MenuItem,{onClick:()=>{A(v.locale),I()},children:g.jsx(y.ListItemText,{primary:`${v.locale.toUpperCase()}: ${(r??{})[v.locale]??""}`})},S)),[s,A,I,r]);return g.jsx(un,{...e,helperText:o==null?void 0:o.message,children:g.jsxs(y.Box,{flex:1,children:[te.map(s,(v,S)=>g.jsx(Cr,{...e,source:`${t}.${v.locale}`,sx:{width:"100%",display:v.locale===u?"inline-flex":"none"},label:!1,InputProps:{endAdornment:g.jsx(y.Chip,{label:g.jsx(y.Typography,{variant:"button",children:u}),size:"small",onClick:m,color:a?"warning":void 0})}},S)),g.jsx(y.Menu,{anchorEl:p,open:C,anchorOrigin:xL,transformOrigin:wL,onClose:I,children:B})]})})}const SL=Ae(j.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function PL(e){return g.jsx(un,{...e,children:g.jsx(SL,{})})}function RL({source:e,minWidth:t=300,children:n}){const r=j.useResourceContext(),o=j.useRecordContext(),[s,a]=Q.useState(lt.get(o,e,"")),[c,u]=Q.useState(!1),A=Q.useCallback(I=>a(I.target.value),[]),p=j.useDataProvider(),h=Q.useCallback(I=>{I.key==="Enter"&&(u(!0),p.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,p,r,o,e]),C=Q.useCallback(()=>{lt.get(o,e)!==s&&(u(!0),p.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,p,r,e,o]),m=Q.useCallback(I=>{u(!0),p.update(r,{id:o.id,data:{...o,[e]:I,_changed:e},previousData:o}).then(()=>u(!1))},[p,r,e,o]);return Q.useEffect(()=>a(lt.get(o,e)),[o,e]),n?Q.cloneElement(n,{...n.props,source:e,value:s,onChange:m}):g.jsx(y.TextField,{value:s,disabled:c,onChange:A,onKeyPress:h,onBlur:C,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function OL({children:e,...t}){return g.jsx(j.ReferenceArrayInput,{...t,children:Q.cloneElement(e,{...t,source:e.props.source||t.source})})}function jL({children:e,...t}){return g.jsx(j.ReferenceInput,{...t,children:Q.cloneElement(e,{...t,source:e.props.source||t.source})})}function DL({reference:e,target:t,children:n,filters:r,actions:o,...s}){return g.jsx(j.ResourceContextProvider,{value:e,children:g.jsx(wb,{perPage:5,pagination:g.jsx(j.Pagination,{}),...s,reference:e,target:t,children:g.jsxs(Q.Fragment,{children:[g.jsx(j.ListToolbar,{filters:r,actions:o}),n]})})})}const ML=Ae(j.SearchInput,{slot:"root"})(()=>({}));function kL(e){return g.jsx(ML,{...e})}const FL=Ae(j.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .RaSelectArrayInput-chips > .RaSelectArrayInput-chip":{marginTop:"-2px",marginBottom:"-2px"}}));function LL({optionText:e="name",optionValue:t="id",...n}){return g.jsx(un,{...n,children:g.jsx(FL,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const NL=Ae(j.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function VL(e){return g.jsx(un,{...e,children:g.jsx(NL,{})})}function HL({multiline:e=!1,...t}){var u,A;const n=j.useTranslate(),r=j.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(A=(u=Ii.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:A.value;let s=t.helperText,a=t.validate;a?Array.isArray(a)&&a.indexOf(r)===-1&&a.push(r):a=[r];const c=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(s=s&&s.length>0?`${c} - ${n(s)}`:c),g.jsx(Cr,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function zL(e){if(!e)return"";const t=cB(e);return t?t.format("HH:mm"):""}function WL(e){return e}const UL=Ae(j.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function YL({parse:e=WL,format:t=zL,...n}){return g.jsx(un,{...n,children:g.jsx(UL,{parse:e,format:t,...n})})}function fp({onSuccess:e,firstAccess:t}){const{spacing:n}=Qn(),[r,o]=Q.useState(!1),s=ce.useAuthProvider(),a=ce.useTranslate(),c=ce.useNotify(),u=Q.useCallback(A=>{const{oldPassword:p,newPassword:h}=A;o(!0),s==null||s.changePassword(p,h).then(()=>{c("ra.auth.password_changed"),e()}).catch(C=>{c((C==null?void 0:C.message)||(C==null?void 0:C.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e]);return g.jsx(ce.ResourceContextProvider,{value:"user/change-password",children:g.jsx(ce.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:g.jsx(mb,{onSubmit:u,toolbar:g.jsx(wi,{children:g.jsx(j.SaveButton,{disabled:r})}),children:g.jsxs(y.Grid,{container:!0,spacing:n,children:[t===!0&&g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Alert,{severity:"warning",children:[g.jsx(y.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsx(Cr,{source:"oldPassword",type:"password",validate:ce.required()})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsx(Cr,{source:"newPassword",type:"password",validate:ce.required()})})]})})})})}const Tb=Q.createContext({});function GL(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=j.useResourceContext(),o=j.useDataProvider(),{search:s}=hs.useLocation(),a=`${r}/new`,c=Q.useCallback(()=>{if(!t||!te.isFunction(o.get))return Promise.resolve({});const C={};return new URLSearchParams(s??"").forEach((m,I)=>{C[I]=m}),o.get(a,C).then(m=>m.data).then(m=>{const{responseCode:I,value:B}=m;return I==="ok"?B:Promise.reject(m)})},[r,t,s,o]),u=Q.useMemo(()=>te.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:A,isLoading:p}=As.useQuery(u),h=te.omit(e,["useDefaults"]);return p?g.jsx(y.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:g.jsx(y.CircularProgress,{})}):g.jsx(Tb.Provider,{value:A??{},children:g.jsx(j.Create,{...h})})}function KL(){return Q.useContext(Tb)}const qL=Ae(GL,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingLeft:"20px !important",paddingRight:"20px !important",paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}})),JL=Ae(j.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingLeft:"20px !important",paddingRight:"20px !important",paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function XL(e){return g.jsx(JL,{...e})}const ZL=Ae(y.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),_L=Ae(y.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function $L({title:e,divider:t=!0,variant:n="h5"}){const r=j.useTranslate();return g.jsxs(Q.Fragment,{children:[g.jsx(ZL,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t&&g.jsx(_L,{})]})}const e9=Ae(y.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{position:"initial",marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{position:"initial !important",width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingTop:"20px !important",paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function Sb(e){const{spacing:t}=Qn(),{spacing:n=t}=e,r=te.omit(e,["spacing"]);return g.jsx(j.Form,{...r,className:"LongFormView",children:g.jsx(e9,{container:!0,spacing:n*2,children:e.children})})}function Pb(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=te.omit(e,["disposition"]);return g.jsx(y.Grid,{...n,item:!0,...t,children:e.children})}function Wg(e){return e.id??e.label}function Rb(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function t9(e){return te.map(e,"id")}function tu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function Ob(e,t){const n=e!==void 0?tu(e):0;return te.chain(t).filter(o=>e!==void 0?Rb(e,o.id):!0).filter(o=>tu(o.id)===n+1).value()}function n9(e,t){var s;const n=te.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return te.extend(n,{formRootPath:o});case"setSyncWithLocation":return te.extend(n,{syncWithLocation:o});case"setErrorCount":return te.extend(n,{errorCount:o});case"setActiveItem":return te.includes(t9(e.items),o)?te.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return te.extend(n,{items:te.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=te.isString(o)?o:o.id,c=te.chain(n.items).clone().reject(u=>u.id===a).value();return te.extend(n,{items:c}),n.activeItem===a&&te.extend(n,{activeItem:((s=te.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const r9={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},jb=Q.createContext(void 0);function Db(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=hs.useLocation(),[s,a]=Q.useReducer(n9,te.cloneDeep(r9)),{formRootPath:c,items:u}=s,A=Q.useMemo(()=>({state:s,dispatch:a}),[s,a]);return Q.useEffect(()=>{const p=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&p.push(r);const h=te.chain(p).map(m=>hs.matchPath(m,o)).reject(m=>m===null).first().value(),C=h==null?void 0:h.pathnameBase;C!==void 0&&C!==c&&a({type:"setFormRootPath",payload:C})},[o,c,r]),Q.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),Q.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),Q.useEffect(()=>{var p;if(t&&c!==void 0){let h=o.replace(c,"").replace(new RegExp(/^\/?/),"");te.isEmpty(h)&&(h=((p=te.chain(u).filter(C=>Ob(C.id,u).length===0).orderBy([C=>tu(C.id),C=>C.index]).first().value())==null?void 0:p.id)??void 0),a({type:"setActiveItem",payload:h})}},[a,c,o,u]),g.jsx(jb.Provider,{value:A,children:e.children})}function Mb(){const e=Q.useContext(jb);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function el(){return Mb().state}function pp(){return Mb().dispatch}function kb(){return el().formRootPath}function Fb(){return el().activeItem}function Lb(){return el().items}function Nb(){return el().syncWithLocation}function Vb(){return el().errorCount}function Hb(){const e=pp();return Q.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function zb(){const e=pp();return Q.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function Wb(){const e=pp();return Q.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}function Ub(e){const t=Fb();return t===void 0?!1:e===t||Rb(e,t)}function Yb(e){const t=Lb();return Q.useMemo(()=>Ob(e,t),[t,e])}function o9(){const e=kb(),{search:t}=hs.useLocation(),n=hs.useNavigate();return Q.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n])}function Gb(){const e=Yb();return g.jsx(y.Card,{variant:"outlined",children:g.jsx(y.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:te.map(e,(t,n)=>g.jsx(hp,{...t},n))})})}function hp(e){const t=ce.useTranslate()??te.identity,n=Kb(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:A,level:p,errors:h=0}=n,{spacing:C}=Qn(),[m,I]=Q.useState(r),B=Q.useCallback(O=>{I(!m),a(O)},[a,m]),v=s!==void 0,S=te.omit(e,["label","icon","selected","badge"]);return Q.useEffect(()=>{r&&!m&&I(r)},[r,m,I]),g.jsxs(g.Fragment,{children:[g.jsx(y.ListItem,{...S,disablePadding:!0,children:g.jsxs(y.ListItemButton,{selected:r&&!A,onClick:B,sx:{pl:C*p},children:[v&&g.jsx(y.ListItemIcon,{children:s}),g.jsx(y.ListItemText,{inset:!v,primary:h===0?t(o):g.jsx(y.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c&&g.jsx(y.ListItemAvatar,{children:g.jsx(ka,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}),A&&(m?g.jsx(rr.ExpandLess,{}):g.jsx(rr.ExpandMore,{}))]})}),A&&g.jsx(y.Collapse,{in:m,timeout:"auto",children:g.jsx(y.List,{children:te.map(u,(O,x)=>g.jsx(hp,{...O},x))})})]})}function Kb(e){const{id:t}=e,n=Ub(t),r=tu(t),o=o9(),s=Nb(),a=Hb(),c=Yb(t),u=!te.isEmpty(c),A=Q.useCallback(h=>{u||(s?o(e.id):a(e.id)),te.isFunction(e.onClick)&&e.onClick(h)},[a,o,e,s,u]);return Q.useMemo(()=>({...e,selected:n,onClick:A,items:c,isGroup:u,level:r}),[e,n,A,c,u])}var i9=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},qb=e=>e.firstChild?e.firstChild.offsetParent===e:!0,s9=(e,t)=>{let n=e,r=0;qb(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},a9=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},Fa=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?Fa="sticky":CSS.supports("position","-webkit-sticky")&&(Fa="-webkit-sticky"));var nu=!1;try{const e=Object.defineProperty({},"passive",{get(){nu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Xd=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const s=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),a=o(s()),c=()=>{Object.assign(a,o(s())),n()};return window.addEventListener("resize",c,nu),r.push(()=>window.removeEventListener("resize",c)),a}else{const s=o(t.getBoundingClientRect()),a=()=>{Object.assign(s,o(t.getBoundingClientRect())),n()},c=new ResizeObserver(a);return c.observe(t),r.push(()=>c.disconnect()),s}},l9=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},c9=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=i9(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const F=h();F!==x&&R(F),c=!1}),c=!0};let A=a===window?window.scrollY:a.scrollTop;const p=F=>{const{offsetTop:G,height:K}=m,{naturalTop:$}=v,{height:Y}=S;return F+G+K>=$+Y+O+o},h=()=>{const{height:F}=m,{height:G}=S;return G+s+o<=F?3:p(A)?1:2},C=a!==window&&qb(a),m=Xd({el:a,onChange:u,unsubs:t,measure:({height:F,top:G})=>({height:F,offsetTop:C?G:0})}),I=a9(e),B=I===window?{top:0,bottom:0}:l9(I),v=Xd({el:I,onChange:u,unsubs:t,measure:({height:F})=>({height:F-B.top-B.bottom,naturalTop:I===window?0:s9(I,a)+B.top+m.offsetTop})}),S=Xd({el:e,onChange:u,unsubs:t,measure:({height:F})=>({height:F})});let O=0,x=h();const R=F=>{const G=x;if(x=F,G===2&&(O=-1),F===3){e.style.position=Fa,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:K,offsetTop:$}=m,{height:Y,naturalTop:ie}=v,{height:se}=S;if(F===2)if(e.style.position="relative",O=G===0?Math.max(0,$+A-ie+s):Math.max(0,$+A+K-(ie+se+o)),r){const X=Math.max(0,Y-se-O);e.style.bottom=`${X}px`}else e.style.top=`${O}px`;else e.style.position=Fa,F===1?r?e.style.bottom=`${o}px`:e.style.top=`${K-se-o}px`:r?e.style.bottom=`${K-se-o}px`:e.style.top=`${s}px`};R(x);const P=F=>{if(F===A)return;const G=F-A;if(A=F,x===3)return;const{offsetTop:K,height:$}=m,{naturalTop:Y,height:ie}=v,{height:se}=S;if(G>0)if(x===0){if(F+K+s>Y){const X=Math.max(0,K+A-Y+s);F+K+$<=Y+se+X+o?R(2):R(1)}}else x===2&&p(F)&&R(1);else if(x===1){if(K+F+$<Y+ie+o){const X=Math.max(0,K+A+$-(Y+se+o));K+F+s>=Y+X?R(2):R(0)}}else x===2&&K+F+s<Y+O&&R(0)},k=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",k,nu),a.addEventListener("mousewheel",k,nu),t.push(()=>a.removeEventListener("scroll",k),()=>a.removeEventListener("mousewheel",k))},u9=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=Q.useState(null);return Q.useEffect(()=>{if(!r||!Fa)return;const s=[];return c9(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},A9=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=u9({offsetTop:t,offsetBottom:n,bottom:r});return g.jsx("div",{className:s,style:a,ref:c,children:o})},d9=A9,Jb=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(Jb||{});function Xb(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=te.omit(e,["sticky","disposition","spacing"]),s=t?d9:y.Box,a=Q.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return g.jsx(y.Grid,{...o,item:!0,...n,children:g.jsx(s,{...a,children:g.jsx(y.Stack,{spacing:r,children:e.children})})})}function Zb(e){return g.jsx(g.Fragment,{children:e.children})}function _b(e){const{children:t}=e;return Q.useMemo(()=>{const r={top:[],bottom:[]};return Q.Children.forEach(t,o=>{if(Q.isValidElement(o)&&(o==null?void 0:o.type)===Zb){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function $b(e=[],t){const n=te.isArray(e)?e:[e],r=te.filter(n,o=>Q.isValidElement(o));te.each(r,o=>{var s;t(o),$b(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}function ey(e){const{errors:t}=Ii.useFormState(),n=Vb(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=Wg(e),A=zb(),p=Wb(),h=Ub(u),C=[];n&&(e.sources!==void 0?C.push(...e.sources):$b(c,I=>{var B;((B=I==null?void 0:I.props)==null?void 0:B.source)!==void 0&&C.push(I.props.source)}));const m=te.chain(C).uniq().map(I=>te.get(t,I)).reject(I=>I===void 0).value().length;return Q.useEffect(()=>{A({id:u,index:a,label:r,icon:o,badge:s,errors:m})},[A,p,r,o,u,s,a,m]),Q.useEffect(()=>()=>{p(u)},[u]),g.jsx(y.Box,{display:h?"unset":"none",children:e.children})}function ty(e){const t=Cp(e),n=Wg(e);return g.jsx(ey,{...e,id:n,children:Q.Children.map(t,r=>{const o=Wg(r.props);return Q.cloneElement(r,{id:`${n}.${o}`})})})}function ny(e){return g.jsx(ey,{...e})}function Cp(e){const{children:t}=e;return Q.useMemo(()=>te.chain(Q.Children.toArray(t)).filter(r=>Q.isValidElement(r)&&((r==null?void 0:r.type)===ny||(r==null?void 0:r.type)===ty)).map((r,o)=>Q.cloneElement(r,{index:o})).value(),[t])}function g9(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=te.pick(e,["syncWithLocation","errorCount"]),s=te.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=_b(e),u=Cp(e);return g.jsx(Db,{...o,children:g.jsxs(Sb,{...s,spacing:r,children:[g.jsxs(Xb,{disposition:t,spacing:r,children:[a,g.jsx(Gb,{}),c]}),g.jsx(Pb,{disposition:n,children:u})]})})}const Rt=g9;Rt.BaseForm=Sb;Rt.Content=Pb;Rt.Provider=Db;Rt.useItems=Lb;Rt.useSyncWithLocation=Nb;Rt.useErrorCount=Vb;Rt.useFormRootPath=kb;Rt.useActiveItem=Fb;Rt.useSetActiveItem=Hb;Rt.useAddItem=zb;Rt.useRemoveItem=Wb;Rt.Sidebar=Xb;Rt.SidebarSection=Zb;Rt.SidebarSectionPosition=Jb;Rt.useSidebarChildren=_b;Rt.NavMenu=Gb;Rt.NavMenuItem=hp;Rt.useNavMenuItem=Kb;Rt.Tab=ny;Rt.Group=ty;Rt.useBaseItemChildren=Cp;const f9=Ae(j.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function p9(e){return g.jsx(f9,{...e})}const h9=Ae(j.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function C9(e){return g.jsx(h9,{...e})}const m9=qa(j.TabbedForm,{slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?0:1)},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function E9({children:e}){return g.jsx(g.Fragment,{children:e})}function mp(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=g.jsx(Bi,{children:g.jsx(j.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=g.jsx(wi,{children:g.jsx(j.SaveButton,{type:"button"})}),...A}=e,p=kf(t);return g.jsx(er,{title:p,modal:n,content:r,subheader:o,secondary:s,sx:{...a,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{position:"initial",paddingTop:0},"& .MuiToolbar-root":{padding:2.5}},border:!n,divider:!0,children:g.jsx(m9,{toolbar:u,component:c?E9:void 0,...A})})}function I9({children:e,...t}){return g.jsx(j.TabbedForm.Tab,{...t,children:g.jsx(y.Box,{sx:{width:"100%",p:2.5},children:e})})}mp.Tab=j.TabbedForm.Tab;mp.TabStack=I9;const ry=M.forwardRef((e,t)=>{const{children:n,disabled:r,disableActions:o=!1,index:s,member:a,resource:c}=e,u=j.useTranslate(),[A,p]=M.useState(!1),{total:h,remove:C}=wB(),m=M.useCallback(()=>{p(!1),C(s)},[s,C]),I=Q.useMemo(()=>({index:s,total:h,remove:()=>C(s)}),[s,h,C]);return g.jsxs(xf.Provider,{value:I,children:[Q.Children.map(n,(B,v)=>{if(!Q.isValidElement(B))return null;const{source:S,...O}=B.props;return g.jsx(y.TableCell,{children:Q.cloneElement(B,{source:S?`${a}.${S}`:a,index:S?void 0:v,resource:c,disabled:r,...O,label:""})})}),!o&&g.jsx(y.TableCell,{children:g.jsx(y.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:g.jsx(Bi,{horizontal:!0,children:g.jsx(y.Typography,{color:"error",onClick:()=>p(!0),children:u("ra.action.delete")})})})}),n.length>0&&g.jsx(j.Confirm,{isOpen:A,title:u("ra.action.remove_item"),content:u("ra.message.remove_item"),onConfirm:m,onClose:()=>p(!1)})]})});var B9=Array.isArray,Wu=B9,v9=typeof In=="object"&&In&&In.Object===Object&&In,b9=v9,y9=b9,Q9=typeof self=="object"&&self&&self.Object===Object&&self,x9=y9||Q9||Function("return this")(),Uu=x9,w9=Uu,T9=w9.Symbol,Yu=T9,BI=Yu,oy=Object.prototype,S9=oy.hasOwnProperty,P9=oy.toString,ua=BI?BI.toStringTag:void 0;function R9(e){var t=S9.call(e,ua),n=e[ua];try{e[ua]=void 0;var r=!0}catch{}var o=P9.call(e);return r&&(t?e[ua]=n:delete e[ua]),o}var O9=R9,j9=Object.prototype,D9=j9.toString;function M9(e){return D9.call(e)}var k9=M9,vI=Yu,F9=O9,L9=k9,N9="[object Null]",V9="[object Undefined]",bI=vI?vI.toStringTag:void 0;function H9(e){return e==null?e===void 0?V9:N9:bI&&bI in Object(e)?F9(e):L9(e)}var Ep=H9;function z9(e){return e!=null&&typeof e=="object"}var Gu=z9,W9=Ep,U9=Gu,Y9="[object Symbol]";function G9(e){return typeof e=="symbol"||U9(e)&&W9(e)==Y9}var Ip=G9,K9=Wu,q9=Ip,J9=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X9=/^\w*$/;function Z9(e,t){if(K9(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||q9(e)?!0:X9.test(e)||!J9.test(e)||t!=null&&e in Object(t)}var _9=Z9;function $9(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var iy=$9,eN=Ep,tN=iy,nN="[object AsyncFunction]",rN="[object Function]",oN="[object GeneratorFunction]",iN="[object Proxy]";function sN(e){if(!tN(e))return!1;var t=eN(e);return t==rN||t==oN||t==nN||t==iN}var sy=sN,aN=Uu,lN=aN["__core-js_shared__"],cN=lN,Zd=cN,yI=function(){var e=/[^.]+$/.exec(Zd&&Zd.keys&&Zd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function uN(e){return!!yI&&yI in e}var AN=uN,dN=Function.prototype,gN=dN.toString;function fN(e){if(e!=null){try{return gN.call(e)}catch{}try{return e+""}catch{}}return""}var pN=fN,hN=sy,CN=AN,mN=iy,EN=pN,IN=/[\\^$.*+?()[\]{}|]/g,BN=/^\[object .+?Constructor\]$/,vN=Function.prototype,bN=Object.prototype,yN=vN.toString,QN=bN.hasOwnProperty,xN=RegExp("^"+yN.call(QN).replace(IN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wN(e){if(!mN(e)||CN(e))return!1;var t=hN(e)?xN:BN;return t.test(EN(e))}var TN=wN;function SN(e,t){return e==null?void 0:e[t]}var PN=SN,RN=TN,ON=PN;function jN(e,t){var n=ON(e,t);return RN(n)?n:void 0}var Ku=jN,DN=Ku,MN=DN(Object,"create"),qu=MN,QI=qu;function kN(){this.__data__=QI?QI(null):{},this.size=0}var FN=kN;function LN(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var NN=LN,VN=qu,HN="__lodash_hash_undefined__",zN=Object.prototype,WN=zN.hasOwnProperty;function UN(e){var t=this.__data__;if(VN){var n=t[e];return n===HN?void 0:n}return WN.call(t,e)?t[e]:void 0}var YN=UN,GN=qu,KN=Object.prototype,qN=KN.hasOwnProperty;function JN(e){var t=this.__data__;return GN?t[e]!==void 0:qN.call(t,e)}var XN=JN,ZN=qu,_N="__lodash_hash_undefined__";function $N(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ZN&&t===void 0?_N:t,this}var e7=$N,t7=FN,n7=NN,r7=YN,o7=XN,i7=e7;function Os(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Os.prototype.clear=t7;Os.prototype.delete=n7;Os.prototype.get=r7;Os.prototype.has=o7;Os.prototype.set=i7;var s7=Os;function a7(){this.__data__=[],this.size=0}var l7=a7;function c7(e,t){return e===t||e!==e&&t!==t}var u7=c7,A7=u7;function d7(e,t){for(var n=e.length;n--;)if(A7(e[n][0],t))return n;return-1}var Ju=d7,g7=Ju,f7=Array.prototype,p7=f7.splice;function h7(e){var t=this.__data__,n=g7(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():p7.call(t,n,1),--this.size,!0}var C7=h7,m7=Ju;function E7(e){var t=this.__data__,n=m7(t,e);return n<0?void 0:t[n][1]}var I7=E7,B7=Ju;function v7(e){return B7(this.__data__,e)>-1}var b7=v7,y7=Ju;function Q7(e,t){var n=this.__data__,r=y7(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var x7=Q7,w7=l7,T7=C7,S7=I7,P7=b7,R7=x7;function js(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}js.prototype.clear=w7;js.prototype.delete=T7;js.prototype.get=S7;js.prototype.has=P7;js.prototype.set=R7;var O7=js,j7=Ku,D7=Uu,M7=j7(D7,"Map"),k7=M7,xI=s7,F7=O7,L7=k7;function N7(){this.size=0,this.__data__={hash:new xI,map:new(L7||F7),string:new xI}}var V7=N7;function H7(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var z7=H7,W7=z7;function U7(e,t){var n=e.__data__;return W7(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Xu=U7,Y7=Xu;function G7(e){var t=Y7(this,e).delete(e);return this.size-=t?1:0,t}var K7=G7,q7=Xu;function J7(e){return q7(this,e).get(e)}var X7=J7,Z7=Xu;function _7(e){return Z7(this,e).has(e)}var $7=_7,eV=Xu;function tV(e,t){var n=eV(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var nV=tV,rV=V7,oV=K7,iV=X7,sV=$7,aV=nV;function Ds(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ds.prototype.clear=rV;Ds.prototype.delete=oV;Ds.prototype.get=iV;Ds.prototype.has=sV;Ds.prototype.set=aV;var ay=Ds,ly=ay,lV="Expected a function";function Bp(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(lV);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var a=e.apply(this,r);return n.cache=s.set(o,a)||s,a};return n.cache=new(Bp.Cache||ly),n}Bp.Cache=ly;var cV=Bp,uV=cV,AV=500;function dV(e){var t=uV(e,function(r){return n.size===AV&&n.clear(),r}),n=t.cache;return t}var gV=dV,fV=gV,pV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hV=/\\(\\)?/g,CV=fV(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pV,function(n,r,o,s){t.push(o?s.replace(hV,"$1"):r||n)}),t}),mV=CV;function EV(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var cy=EV,wI=Yu,IV=cy,BV=Wu,vV=Ip,bV=1/0,TI=wI?wI.prototype:void 0,SI=TI?TI.toString:void 0;function uy(e){if(typeof e=="string")return e;if(BV(e))return IV(e,uy)+"";if(vV(e))return SI?SI.call(e):"";var t=e+"";return t=="0"&&1/e==-bV?"-0":t}var yV=uy,QV=yV;function xV(e){return e==null?"":QV(e)}var wV=xV,TV=Wu,SV=_9,PV=mV,RV=wV;function OV(e,t){return TV(e)?e:SV(e,t)?[e]:PV(RV(e))}var jV=OV,DV=Ip,MV=1/0;function kV(e){if(typeof e=="string"||DV(e))return e;var t=e+"";return t=="0"&&1/e==-MV?"-0":t}var FV=kV,LV=jV,NV=FV;function VV(e,t){t=LV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[NV(t[n++])];return n&&n==r?e:void 0}var HV=VV,zV=HV;function WV(e,t,n){var r=e==null?void 0:zV(e,t);return r===void 0?n:r}var UV=WV;const YV=ro(UV);function Ay(e){var J,L;const{children:t,resource:n,source:r,label:o,disableActions:s=!1,disableAdd:a=!1,disableRemove:c=!1,enableClearAll:u=!1,className:A,empty:p,template:h={},inset:C}=e,[m,I]=Q.useState(!1),{fields:B,remove:v,replace:S,append:O}=j.useArrayInput(e),{resetField:x}=Ii.useFormContext(),R=bt(),P=ce.useTranslate(),k=ce.useRecordContext(e),F=Q.useRef(h||{}),G=ce.useTranslateLabel(),K=Q.useCallback(_=>{v(_)},[v]);if(B.length>0){const{..._}=B[0];F.current=_;for(const V in F.current)F.current[V]=null}const $=Q.useCallback((_=void 0)=>{let V=_;_==null&&(V=F.current,Q.Children.count(t)===1&&M.isValidElement(Q.Children.only(t))&&!Q.Children.only(t).props.source&&Q.Children.map(t,le=>M.isValidElement(le)&&le.type!==ce.FormDataConsumer).some(Boolean)?V="":(V=V||{},Q.Children.forEach(t,le=>{M.isValidElement(le)&&le.type!==ce.FormDataConsumer&&le.props.source&&(V[le.props.source]=le.props.defaultValue??null)})));const q={...V,...h};O(q),x(`${r}.${B.length}`,{defaultValue:V})},[O,t,x,r,B.length,h]),Y=_=>V=>{$(),_&&_(V)},ie=Q.useCallback(()=>{S([]),I(!1)},[S]),se=YV(k,r),X=Q.useMemo(()=>({total:B.length,remove:K,source:r}),[B.length,K,r]),Z=R.palette.mode==="dark"?R.palette.grey.A400:R.palette.grey.A800,H=B.length>0&&u;return B?g.jsx(Qf.Provider,{value:X,children:g.jsxs("div",{className:A,children:[M.cloneElement(g.jsx(GV,{}),{label:o,source:r,disableAdd:a,template:h,onClick:Y((L=(J=e==null?void 0:e.addButton)==null?void 0:J.props)==null?void 0:L.onClick),inset:C}),g.jsx(y.TableContainer,{component:y.Paper,sx:C===!0?{borderRadius:0}:{mt:2,border:`1px solid ${Z}`},children:g.jsxs(y.Table,{size:"small",children:[g.jsx(y.TableHead,{sx:C===!0?{}:{borderTop:0,borderBottom:`1px solid ${Z}`},children:g.jsxs(y.TableRow,{children:[Q.Children.map(t,(_,V)=>M.isValidElement(_)?g.jsx(y.TableCell,{children:g.jsx(y.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:G({..._.props,resource:n})})},V):null),!s&&(H?g.jsx(y.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:g.jsx(Bi,{horizontal:!0,children:g.jsx(y.Typography,{color:"error",onClick:()=>I(!0),children:P("ra.action.delete")})})},"actions"):g.jsx(y.TableCell,{},"empty_actions"))]})}),g.jsxs(y.TableBody,{children:[B.length===0&&g.jsx(y.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:g.jsx(y.TableCell,{colSpan:4+(s?0:1),align:"center",children:p||g.jsx(y.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),B.length>0&&B.map((_,V)=>g.jsx(y.TableRow,{sx:{borderBottom:`1px solid ${Z}}`},children:g.jsx(ry,{disableRemove:c,disableActions:s,index:V,member:`${r}.${V}`,onRemoveField:K,record:se&&se[V]||{},resource:n,source:r,children:t})},_.id))]})]})}),B.length>0&&g.jsx(j.Confirm,{isOpen:m,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:ie,onClose:()=>I(!1)})]})}):null}function GV(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=bt(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return g.jsxs(y.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&g.jsx(y.Typography,{children:t}),!n&&(M.isValidElement(e==null?void 0:e.addButton)?M.cloneElement(e==null?void 0:e.addButton,{onClick:r}):g.jsx(y.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:g.jsx(Ze.PlusCircleOutlined,{style:{color:c}})}))]})}const KV=Ae(Ay,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}}));function qV(e,t){const n=te.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=te.chain(n.media).clone().extend(o).value();return te.extend(n,{media:s})}case"updateDrawer":{const s=te.chain(n.drawer).clone().extend(o).value();return te.extend(n,{drawer:s})}case"updateLogo":{const s=te.chain(n.logo).clone().extend(o).value();return te.extend(n,{logo:s})}case"updateNotifications":{const s=te.chain(n.notifications).clone().extend(o).value();return te.extend(n,s)}case"updateTheme":{const s=te.chain(n.theme).clone().extend(o).value();return te.extend(n,{theme:s})}default:return n}}const JV={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},dy=Q.createContext(void 0);function gy(e){var K;const t=ce.useAuthProvider(),n=ce.useGetIdentity(),r=y.useTheme(),o=y.useMediaQuery(r.breakpoints.down("md")),s=y.useMediaQuery(r.breakpoints.down("lg")),a=y.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,menuOrientation:A,drawerWidth:p}=Qn(),h=u(A)&&!s,{drawerOpen:C,openDrawer:m}=mi(),I=Q.useCallback(()=>{m(!C)},[C,m]),[B,v]=Q.useState(!1),[S,O]=Q.useReducer(qV,te.chain(JV).clone().merge({drawer:{open:!c||C}}).value()),x=Q.useCallback(()=>v(!1),[]),R=Q.useMemo(()=>({state:S,dispatch:O}),[S,O]),{logoIcon:P,logoMain:k,enableNotification:F,notification:G}=e;return Q.useEffect(()=>{O({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:h}})},[A,o,s,a]),Q.useEffect(()=>{O({type:"updateDrawer",payload:{open:C,width:p,handleDrawerToggle:I}})},[C,p,I]),Q.useEffect(()=>{c||m(!a)},[a,c]),Q.useEffect(()=>{O({type:"updateLogo",payload:{main:k,icon:P}})},[P,k]),Q.useEffect(()=>{O({type:"updateNotifications",payload:{enable:F,resource:G??"entities/notification"}})},[F,G]),Q.useEffect(()=>{O({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),Q.useEffect(()=>{t.isImpersonating().then($=>{var Y;v(!$&&((Y=n==null?void 0:n.data)==null?void 0:Y.needToChangePassword)===!0)})},[(K=n==null?void 0:n.data)==null?void 0:K.needToChangePassword,t]),g.jsxs(dy.Provider,{value:R,children:[g.jsx(y.Dialog,{open:B,maxWidth:"xs",fullWidth:!0,children:g.jsx(fp,{onSuccess:x,firstAccess:!0})}),e.children]})}function fy(e){return Q.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return g.jsx(gy,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:g.jsx(e,{ref:n,...t})})})}function vp(){const e=Q.useContext(dy);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function XV(){return vp().dispatch}function Ms(){return vp().state}function Nn(){return Ms().media}function Ti(){return Ms().drawer}function py(){return Ms().logo}function Zu(){return Ms().notifications}function ZV(){return Ms().theme}const _V={ml:{xs:0,lg:-2}};function hy(){const{open:e,handleDrawerToggle:t}=Ti();return g.jsx(Rs,{value:"drawer","aria-label":"open drawer",sx:_V,onChange:t,selected:e,children:e?g.jsx(Ze.MenuFoldOutlined,{}):g.jsx(Ze.MenuUnfoldOutlined,{})})}function Cy(e){const t=Q.useRef(),n=y.useTheme(),{downLg:r,horizontal:o}=Nn(),{open:s,width:a}=Ti(),c=r?y.AppBar:TB,u=Er(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}}),A={position:"fixed",color:"inherit",elevation:0,sx:u};return r||te.extend(A,{open:s}),g.jsx(c,{ref:t,...A,children:g.jsxs(y.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&g.jsx(hy,{}),e.children]})})}function $V(e){const t=y.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Zu(),c=ce.useNotify(),u=ce.useRedirect(),[A]=ce.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(u(n==null?void 0:n.resource),r()):(r(),document.location.href=n==null?void 0:n.resource):r()},onFailure:()=>{c("resources.notifications.messages.readed.error","warning")}}),p=Q.useCallback(()=>A(),[A]),[h]=ce.useLocaleState(),C=Q.useMemo(()=>Pr(n.created).locale(h).fromNow(),[n,h]);return g.jsx(y.ListItem,{disablePadding:!0,divider:s,children:g.jsxs(y.ListItemButton,{selected:o,onClick:p,children:[g.jsx(y.ListItemAvatar,{children:g.jsx(y.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:g.jsx(Ze.MessageOutlined,{})})}),g.jsx(y.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),g.jsx(y.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),g.jsx(y.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:C,primaryTypographyProps:{variant:"caption"}})]})})}const eH={width:36,height:36,fontSize:"1rem"},tH={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function my(){const{enable:e}=Zu();return e?g.jsx(nH,{}):null}function nH(){const e=ce.useTranslate(),t=y.useTheme(),n=ce.useRefresh(),r=ce.useNotify(),{downMd:o}=Nn(),{resource:s}=Zu(),[a,c]=Q.useState([]),{data:u,isLoading:A}=ce.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),p=a.filter(O=>O.readed===null).length,{open:h,anchorEl:C,handleClose:m,handleToggle:I}=Ru();Q.useEffect(()=>{!A&&u&&c(u??[])},[u,A]);const B=a.filter(O=>!O.readed).map(O=>O.id),[v]=ce.useUpdateMany(s,{ids:B,data:{readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),S=Q.useCallback(()=>{v()},[v]);return g.jsxs(g.Fragment,{children:[g.jsx(Rs,{value:"notifications",selected:h,onChange:I,children:g.jsx(y.Badge,{badgeContent:p,color:"primary",children:g.jsx(Ze.BellOutlined,{})})}),g.jsx(y.Popper,{placement:o?"bottom":"bottom-end",open:h,anchorEl:C,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:O})=>g.jsx(Do,{type:"grow",position:o?"top":"top-right",in:h,...O,children:g.jsx(y.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:g.jsx(y.ClickAwayListener,{onClickAway:m,children:g.jsxs(er,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:g.jsx(g.Fragment,{children:p>0&&g.jsx(y.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:S,children:g.jsx(Ps,{color:"success",size:"small",children:g.jsx(Ze.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[g.jsx(y.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":eH,"& .MuiListItemSecondaryAction-root":{...tH,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((x,R)=>g.jsx($V,{selected:p>0,notification:x,onClick:m,divider:R<a.length-1},x.id))}),g.jsx(y.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:Ct.Link,onClick:m,children:g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),g.jsx(y.Divider,{})]})})})})})]})}const rH=()=>{const[e,t]=Q.useState(!1),n=Q.useCallback(()=>t(!1),[t]),r=Q.useCallback(()=>t(!0),[t]),o=ce.useTranslate();return g.jsxs(Q.Fragment,{children:[g.jsxs(y.ListItemButton,{onClick:r,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.Key,{})}),g.jsx(y.ListItemText,{primary:o("ra.auth.change_password")})]}),g.jsx(y.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:g.jsx(fp,{onSuccess:n})})]})},oH=()=>{const e=ce.useLogout(),t=ce.useTranslate();return g.jsx(Q.Fragment,{children:g.jsxs(y.ListItemButton,{onClick:e,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.LogoutOutlined,{})}),g.jsx(y.ListItemText,{primary:t("ra.auth.logout")})]})})},iH=()=>{const e=ce.useTranslate(),t=ce.useAuthProvider(),n=Q.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t==null?void 0:t.stopImpersonating]),[r,o]=Q.useState(!1);return Q.useEffect(()=>{t.isImpersonating&&t.isImpersonating().then(s=>o(s))},[t,o]),r?g.jsx(Q.Fragment,{children:g.jsxs(y.ListItemButton,{onClick:n,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.LogoutOutlined,{})}),g.jsx(y.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null};function Ey(){var m;const e=y.useTheme(),t=ce.useDataProvider(),n=ce.useAuthProvider(),{identity:r}=ce.useGetIdentity(),o=r!==void 0&&r.image&&r.image!==null&&r.image!=="",[s,a]=Q.useState(null),{open:c,anchorEl:u,handleToggle:A,handleClose:p}=Ru(),h=ce.useLogout(),C=Q.useCallback(()=>{h()},[n,h]);return Q.useEffect(()=>{o&&t.getFile("/profile/me/image").then(I=>a(I))},[t,o]),g.jsxs(g.Fragment,{children:[g.jsx(Rs,{sx:{p:.25,width:"auto"},onClick:A,value:"profile",selected:c,children:g.jsxs(y.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[g.jsx(ka,{alt:(m=r==null?void 0:r.name)==null?void 0:m.toUpperCase(),src:s,size:"xs"}),g.jsx(y.Typography,{variant:"subtitle1",children:r==null?void 0:r.name})]})}),g.jsx(pr.Popper,{placement:"bottom-end",open:c,anchorEl:u,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:I})=>{var B;return g.jsx(Do,{type:"grow",position:"top-right",in:c,...I,children:g.jsx(y.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:g.jsx(y.ClickAwayListener,{onClickAway:p,children:g.jsxs(er,{elevation:0,border:!1,content:!1,children:[g.jsx(y.CardContent,{sx:{px:2.5,pt:3},children:g.jsxs(y.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[g.jsx(y.Grid,{item:!0,children:g.jsxs(y.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[g.jsx(ka,{alt:"profile user",src:s,sx:{width:32,height:32}}),g.jsxs(y.Stack,{children:[g.jsx(y.Typography,{variant:"h6",children:r==null?void 0:r.name}),g.jsx(y.Typography,{variant:"body2",color:"textSecondary",children:(B=r==null?void 0:r.roles)==null?void 0:B.map(v=>v.name.replace("ROLE_","")).join(",")})]})]})}),g.jsx(y.Grid,{item:!0,children:g.jsx(y.Tooltip,{title:"Logout",children:g.jsx(Ps,{size:"large",sx:{color:"text.primary"},onClick:C,children:g.jsx(Ze.LogoutOutlined,{})})})})]})}),g.jsx(y.Grid,{container:!0,children:g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[g.jsx(rH,{}),g.jsx(oH,{}),g.jsx(iH,{})]})})})]})})})})}})]})}const Iy=e=>{const t=bt(),{downMd:n}=Nn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ru();return n?g.jsxs(g.Fragment,{children:[g.jsx(Rs,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:g.jsx(Ze.MoreOutlined,{})}),g.jsx(y.Popper,{placement:"bottom-end",open:r,anchorEl:o,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:c})=>g.jsx(Do,{type:"fade",in:r,...c,children:g.jsx(y.Paper,{sx:{boxShadow:t.customShadows.z1},children:g.jsx(y.ClickAwayListener,{onClickAway:a,children:g.jsx(y.AppBar,{color:"inherit",children:g.jsx(y.Toolbar,{children:e.children})})})})})})]}):g.jsx(g.Fragment,{children:e.children})};function By(e){return g.jsx(y.Box,{...e,flex:1})}function bp(e){const{name:t,version:n,copy:r="© Applica Software Guru for"}=e;return g.jsx(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{p:"24px 16px 0px",mt:"auto"},children:g.jsxs(y.Typography,{variant:"caption",children:[g.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}var vy={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vy);var _u=vy.exports,_d={};const sH=pO(o6);var PI;function $u(){return PI||(PI=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=sH}(_d)),_d}function by(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=by(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function yy(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=by(e))&&(r&&(r+=" "),r+=t);return r}var aH="__lodash_hash_undefined__";function lH(e){return this.__data__.set(e,aH),this}var cH=lH;function uH(e){return this.__data__.has(e)}var AH=uH,dH=ay,gH=cH,fH=AH;function ru(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new dH;++t<n;)this.add(e[t])}ru.prototype.add=ru.prototype.push=gH;ru.prototype.has=fH;var Qy=ru;function pH(e,t){return e.has(t)}var xy=pH;function hH(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wy=hH;function CH(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var mH=CH,EH=Ep,IH=Gu,BH="[object Arguments]";function vH(e){return IH(e)&&EH(e)==BH}var bH=vH,RI=bH,yH=Gu,Ty=Object.prototype,QH=Ty.hasOwnProperty,xH=Ty.propertyIsEnumerable,wH=RI(function(){return arguments}())?RI:function(e){return yH(e)&&QH.call(e,"callee")&&!xH.call(e,"callee")},TH=wH,SH=9007199254740991;function PH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SH}var RH=PH;function OH(e){return function(t){return e(t)}}var jH=OH,DH=sy,MH=RH;function kH(e){return e!=null&&MH(e.length)&&!DH(e)}var FH=kH,LH=Ku,NH=Uu,VH=LH(NH,"Set"),HH=VH,zH=Ku,WH=function(){try{var e=zH(Object,"defineProperty");return e({},"",{}),e}catch{}}(),UH=WH,YH=FH,GH=Gu;function KH(e){return GH(e)&&YH(e)}var Sy=KH;function qH(e){return e}var Py=qH;function JH(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var XH=JH,ZH=XH,OI=Math.max;function _H(e,t,n){return t=OI(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=OI(r.length-t,0),a=Array(s);++o<s;)a[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(a),ZH(e,this,c)}}var $H=_H;function ez(e){return function(){return e}}var tz=ez,nz=tz,jI=UH,rz=Py,oz=jI?function(e,t){return jI(e,"toString",{configurable:!0,enumerable:!1,value:nz(t),writable:!0})}:rz,iz=oz,sz=800,az=16,lz=Date.now;function cz(e){var t=0,n=0;return function(){var r=lz(),o=az-(r-n);if(n=r,o>0){if(++t>=sz)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var uz=cz,Az=iz,dz=uz,gz=dz(Az),fz=gz,pz=Py,hz=$H,Cz=fz;function mz(e,t){return Cz(hz(e,t,pz),e+"")}var Ry=mz,Ug=globalThis&&globalThis.__assign||function(){return Ug=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ug.apply(this,arguments)},Ez=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},gc,$d,Oy=function(e){var t=e.className,n=e.onClick,r=e.sx,o=Ez(e,["className","onClick","sx"]),s=ce.useLoading(),a=bt();return M.createElement(Iz,{className:t,sx:r},M.createElement(iQ,{className:"".concat(gs.loadedIcon," ").concat(s&&gs.loadedLoading),onClick:n}),s&&M.createElement(dp,Ug({className:yy("app-loader",gs.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};Oy.propTypes={classes:f.object,className:f.string,width:f.string};var Tc="RaLoadingIndicator",gs={loader:"".concat(Tc,"-loader"),loadedLoading:"".concat(Tc,"-loadedLoading"),loadedIcon:"".concat(Tc,"-loadedIcon")},Iz=Ae("div",{name:Tc,overridesResolver:function(e,t){return t.root}})((gc={position:"relative"},gc["& .".concat(gs.loadedIcon)]=($d={},$d["&.".concat(gs.loadedLoading)]={opacity:0},$d),gc["& .".concat(gs.loader)]={position:"absolute",top:"30%",left:"30%"},gc));const yp=e=>e.scrollTop;function vs(e,t){var n,r;const{timeout:o,easing:s,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:a.transitionDelay}}const Bz=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function vz(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),s=Ts(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const A=s.getComputedStyle(t);a=A.getPropertyValue("-webkit-transform")||A.getPropertyValue("transform")}let c=0,u=0;if(a&&a!=="none"&&typeof a=="string"){const A=a.split("(")[1].split(")")[0].split(",");c=parseInt(A[4],10),u=parseInt(A[5],10)}return e==="left"?o?`translateX(${o.right+c-r.left}px)`:`translateX(${s.innerWidth+c-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-c}px)`:`translateX(-${r.left+r.width-c}px)`:e==="up"?o?`translateY(${o.bottom+u-r.top}px)`:`translateY(${s.innerHeight+u-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}function jy(e){return typeof e=="function"?e():e}function fc(e,t,n){const r=jy(n),o=vz(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Dy=M.forwardRef(function(t,n){const r=bt(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:c=!0,children:u,container:A,direction:p="down",easing:h=o,in:C,onEnter:m,onEntered:I,onEntering:B,onExit:v,onExited:S,onExiting:O,style:x,timeout:R=s,TransitionComponent:P=ap}=t,k=Ne(t,Bz),F=M.useRef(null),G=kn(u.ref,F,n),K=L=>_=>{L&&(_===void 0?L(F.current):L(F.current,_))},$=K((L,_)=>{fc(p,L,A),yp(L),m&&m(L,_)}),Y=K((L,_)=>{const V=vs({timeout:R,style:x,easing:h},{mode:"enter"});L.style.webkitTransition=r.transitions.create("-webkit-transform",z({},V)),L.style.transition=r.transitions.create("transform",z({},V)),L.style.webkitTransform="none",L.style.transform="none",B&&B(L,_)}),ie=K(I),se=K(O),X=K(L=>{const _=vs({timeout:R,style:x,easing:h},{mode:"exit"});L.style.webkitTransition=r.transitions.create("-webkit-transform",_),L.style.transition=r.transitions.create("transform",_),fc(p,L,A),v&&v(L)}),Z=K(L=>{L.style.webkitTransition="",L.style.transition="",S&&S(L)}),H=L=>{a&&a(F.current,L)},J=M.useCallback(()=>{F.current&&fc(p,F.current,A)},[p,A]);return M.useEffect(()=>{if(C||p==="down"||p==="right")return;const L=D0(()=>{F.current&&fc(p,F.current,A)}),_=Ts(F.current);return _.addEventListener("resize",L),()=>{L.clear(),_.removeEventListener("resize",L)}},[p,C,A]),M.useEffect(()=>{C||J()},[C,J]),g.jsx(P,z({nodeRef:F,onEnter:$,onEntered:ie,onEntering:Y,onExit:X,onExited:Z,onExiting:se,addEndListener:H,appear:c,in:C,timeout:R},k,{children:(L,_)=>M.cloneElement(u,z({ref:G,style:z({visibility:L==="exited"&&!C?"hidden":void 0},x,u.props.style)},_))}))});process.env.NODE_ENV!=="production"&&(Dy.propTypes={addEndListener:f.func,appear:f.bool,children:ws.isRequired,container:Or(f.oneOfType([hi,f.func]),e=>{if(e.open){const t=jy(e.container);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `container` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
205
|
+
`),m6)),Ab=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:A=3.6,value:p=0,variant:h="indeterminate"}=r,C=Ne(r,h6),m=z({},r,{color:s,disableShrink:a,size:c,thickness:A,value:p,variant:h}),I=E6(m),B={},v={},S={};if(h==="determinate"){const O=2*Math.PI*((ho-A)/2);B.strokeDasharray=O.toFixed(3),S["aria-valuenow"]=Math.round(p),B.strokeDashoffset=`${((100-p)/100*O).toFixed(3)}px`,v.transform="rotate(-90deg)"}return g.jsx(I6,z({className:Ge(I.root,o),style:z({width:c,height:c},v,u),ownerState:m,ref:n,role:"progressbar"},S,C,{children:g.jsx(B6,{className:I.svg,ownerState:m,viewBox:`${ho/2} ${ho/2} ${ho} ${ho}`,children:g.jsx(v6,{className:I.circle,style:B,ownerState:m,cx:ho,cy:ho,r:(ho-A)/2,fill:"none",strokeWidth:A})})}))});process.env.NODE_ENV!=="production"&&(Ab.propTypes={classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary","error","info","success","warning"]),f.string]),disableShrink:Or(f.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:f.oneOfType([f.number,f.string]),style:f.object,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),thickness:f.number,value:f.number,variant:f.oneOf(["determinate","indeterminate"])});const dp=Ab;function b6(e){return Dt("MuiLoadingButton",e)}const y6=Vt("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),Yr=y6,Q6=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],x6=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${Pe(n)}`],endIcon:[t&&`endIconLoading${Pe(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${Pe(n)}`]},s=pr.unstable_composeClasses(o,b6,r);return z({},r,s)},w6=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",T6=Ae(f6,{shouldForwardProp:e=>w6(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${Yr.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${Yr.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>z({[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},e.loadingPosition==="center"&&{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),[`&.${Yr.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${Yr.startIconLoadingStart}, & .${Yr.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),S6=Ae("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${Pe(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>z({position:"absolute",visibility:"visible",display:"flex"},t.loadingPosition==="start"&&(t.variant==="outlined"||t.variant==="contained")&&{left:t.size==="small"?10:14},t.loadingPosition==="start"&&t.variant==="text"&&{left:6},t.loadingPosition==="center"&&{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled},t.loadingPosition==="end"&&(t.variant==="outlined"||t.variant==="contained")&&{right:t.size==="small"?10:14},t.loadingPosition==="end"&&t.variant==="text"&&{right:6},t.loadingPosition==="start"&&t.fullWidth&&{position:"relative",left:-10},t.loadingPosition==="end"&&t.fullWidth&&{position:"relative",right:-10})),db=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:A="center",variant:p="text"}=r,h=Ne(r,Q6),C=of(a),m=u??g.jsx(dp,{"aria-labelledby":C,color:"inherit",size:16}),I=z({},r,{disabled:s,loading:c,loadingIndicator:m,loadingPosition:A,variant:p}),B=x6(I),v=c?g.jsx(S6,{className:B.loadingIndicator,ownerState:I,children:m}):null;return g.jsxs(T6,z({disabled:s||c,id:C,ref:n},h,{variant:p,classes:B,ownerState:I,children:[I.loadingPosition==="end"?o:v,I.loadingPosition==="end"?v:o]}))});process.env.NODE_ENV!=="production"&&(db.propTypes={children:f.node,classes:f.object,disabled:f.bool,id:f.string,loading:f.bool,loadingIndicator:f.node,loadingPosition:Or(f.oneOf(["start","end","center"]),e=>e.loadingPosition==="start"&&!e.startIcon?new Error('MUI: The loadingPosition="start" should be used in combination with startIcon.'):e.loadingPosition==="end"&&!e.endIcon?new Error('MUI: The loadingPosition="end" should be used in combination with endIcon.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["contained","outlined","text"]),f.string])});const P6=db;function Jd({variant:e,theme:t,color:n,loadingPosition:r}){const o=rn(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,A=`${n}Button`,p=Ss(t,A),h={"& .MuiLoadingButton-loadingIndicator":{color:a}},C={...r&&r!=="center"&&{color:a}},m={"&::after":{boxShadow:`0 0 6px 6px ${ze(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${ze(a,.9)}`},"&:focus-visible":{outline:`2px solid ${c}`,outlineOffset:2}};switch(e){case"contained":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...m};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...m};case"shadow":return{boxShadow:p,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...m};case"outlined":return{backgroundColor:"transparent",borderColor:a,...C,...h};case"dashed":return{backgroundColor:s,borderColor:a,...C,...h,...m};case"text":default:return{color:a,...h,...m}}}const R6=Ae(P6,{shouldForwardProp:e=>e!=="shape"&&e!=="variant"})(({theme:e,variant:t,shape:n,color:r,loading:o,loadingPosition:s})=>({"::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:n==="rounded"?"50%":4,opacity:0,transition:"all 0.5s"},":active::after":{position:"absolute",borderRadius:n==="rounded"?"50%":4,left:0,top:0,opacity:1,transition:"0s"},...t==="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s}),"&.MuiButton-sizeMedium":{height:36},"&.MuiButton-sizeSmall":{height:30},"&.MuiButton-sizeLarge":{height:44}},...n&&{minWidth:0,"&.MuiButton-sizeMedium":{width:36,height:36},"&.MuiButton-sizeSmall":{width:30,height:30},"&.MuiButton-sizeLarge":{width:44,height:44},...n==="rounded"&&{borderRadius:"50%"}},...t==="outlined"&&{border:"1px solid"},...t==="dashed"&&{border:"1px dashed"},...(t==="contained"||t==="shadow")&&!o&&{color:"#fff"},...t!=="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Jd({variant:t,theme:e,color:r,loadingPosition:s})}}})),gp=Q.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",...o},s)=>{const a=bt();return g.jsx(R6,{ref:s,variant:e,shape:t,theme:a,loadingPosition:o.loadingPosition,loading:o.loading,color:r,...o,children:n})});gp.propTypes={variant:f.string,shape:f.string,children:f.node,color:f.string};gp.displayName="LoadingButton";function O6({color:e,theme:t,labelColor:n}){const r=rn(t,e),{main:o,contrastText:s}=r;let a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${y.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${y.tooltipClasses.arrow}`]:{color:o}}:{[`& .${y.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${y.tooltipClasses.arrow}`]:{color:a}}}const j6=Ae(({className:e,...t})=>g.jsx(y.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&O6({color:t,theme:e,labelColor:n})}));function zu({children:e,arrow:t,labelColor:n="",...r}){const o=bt();return g.jsx(y.Box,{display:"flex",children:g.jsx(j6,{arrow:t,...r,theme:o,labelColor:n,children:e})})}zu.propTypes={children:f.element,arrow:f.bool,labelColor:f.string,rest:f.array};const Do=Q.forwardRef(({children:e,position:t="top-left",type:n="grow",direction:r="up",...o},s)=>{let a={transformOrigin:"0 0 0"};switch(t){case"top-right":a={transformOrigin:"top right"};break;case"top":a={transformOrigin:"top"};break;case"bottom-left":a={transformOrigin:"bottom left"};break;case"bottom-right":a={transformOrigin:"bottom right"};break;case"bottom":a={transformOrigin:"bottom"};break;case"top-left":default:a={transformOrigin:"0 0 0"};break}return g.jsxs(y.Box,{ref:s,children:[n==="grow"&&g.jsx(y.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:g.jsx(y.Box,{sx:a,children:e})}),n==="collapse"&&g.jsx(y.Collapse,{...o,sx:a,children:e}),n==="fade"&&g.jsx(y.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:g.jsx(y.Box,{sx:a,children:e})}),n==="slide"&&g.jsx(y.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:g.jsx(y.Box,{sx:a,children:e})}),n==="zoom"&&g.jsx(y.Zoom,{...o,children:g.jsx(y.Box,{sx:a,children:e})})]})});Do.propTypes={children:f.node,type:f.oneOf(["grow","fade","collapse","slide","zoom"]),position:f.oneOf(["top-left","top-right","top","bottom-left","bottom-right","bottom"]),direction:f.oneOf(["up","down","left","right"])};Q.forwardRef(function(t,n){return g.jsx(y.Zoom,{ref:n,timeout:200,...t})});function gb({value:e,...t}){return g.jsxs(y.Box,{sx:{position:"relative",display:"inline-flex"},children:[g.jsx(y.CircularProgress,{variant:"determinate",value:e,...t}),g.jsx(y.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:g.jsx(y.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}gb.propTypes={value:f.number};function fb({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return g.jsxs(y.Box,{sx:{position:"relative",display:"inline-flex"},children:[g.jsx(y.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o&&g.jsx(y.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:g.jsx(y.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}),g.jsx(y.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${y.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}fb.propTypes={value:f.number,size:f.number,variant:f.string,thickness:f.number,showLabel:f.bool,pathColor:f.string,sx:f.array,others:f.array};function pb({icon:e,value:t,...n}){return g.jsxs(y.Box,{sx:{display:"flex",alignItems:"center"},children:[g.jsx(y.Box,{sx:{width:"100%",mr:1},children:g.jsx(y.LinearProgress,{variant:"determinate",value:t,...n})}),g.jsx(y.Box,{sx:{minWidth:35},children:e})]})}pb.propTypes={icon:f.node,value:f.number};function hb({value:e,...t}){return g.jsxs(y.Box,{sx:{display:"flex",alignItems:"center"},children:[g.jsx(y.Box,{sx:{width:"100%",mr:1},children:g.jsx(y.LinearProgress,{variant:"determinate",value:e,...t})}),g.jsx(y.Box,{sx:{minWidth:35},children:g.jsx(y.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}hb.propTypes={value:f.number};const D6=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary"},{defaults:!0});return g.jsx(Ps,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Rs=Q.forwardRef(function(t,n){const r=Er(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return g.jsx(y.ToggleButton,{ref:n,...t,color:"secondary",sx:r})}),M6=qa(j.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function wi(e){return g.jsx(M6,{...e})}function k6({children:e,content:t=!0,title:n,subheader:r=null,secondary:o=null,toolbar:s=!1,lg:a=12,md:c=12,sm:u=12,xs:A=12,...p}){const h=j.useTranslate(),C=j.useResourceContext(),{cardTitle:m,cardSubheader:I}=Q.useMemo(()=>{const B=n||`resources.${C}.title`;return{cardTitle:h(B,{_:B}),cardSubheader:r!==null?h(r,{_:r}):null}},[C,r,n,h]);return g.jsx(y.Grid,{item:!0,...p,lg:a,md:c,sm:u,xs:A,children:g.jsx(er,{content:t,title:m,subheader:I,secondary:o,divider:!0,children:g.jsxs(Q.Fragment,{children:[e,s===!0?g.jsx(wi,{children:g.jsx(j.SaveButton,{})}):s]})})})}const F6=Ae(j.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:"20px !important",paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:0}}));function Cb({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Qn();return g.jsx(F6,{defaultValues:n,spacing:t||o,children:g.jsx(y.Grid,{container:!0,...r,spacing:t||o,children:e})})}Cb.Section=k6;const L6=qa(j.SimpleForm,{slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?0:2.5)},paddingBottom:"0 !important"}));function mb({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=g.jsx(wi,{children:g.jsx(j.SaveButton,{type:"button"})}),secondary:s=g.jsx(Bi,{children:g.jsx(j.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=Df(e),A=j.useRecordContext();return g.jsx(er,{content:n,title:u,subheader:r,secondary:A!=null&&A.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:2.5,paddingRight:2.5,paddingBottom:2.5}},border:!t,divider:!0,children:g.jsx(L6,{toolbar:o,...c})})}function Eb({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const A=qt.useTheme(),{getCurrentDialog:p}=vi(),{source:h,resource:C,isRequired:m}=u,{getFieldState:I,formState:B}=Ii.useFormContext(),{error:v}=I(h,B),S=p();return g.jsxs(y.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:v?A.palette.error.main:A.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&g.jsx(y.InputLabel,{error:!!v,sx:{borderBottom:a?`1px solid ${A.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:g.jsx(j.FieldTitle,{label:e,source:h,resource:S||C,isRequired:m})}),Q.isValidElement(t)?Q.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r&&g.jsx(y.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!v,children:r})]})}const N6=Ae(j.ArrayInput,{slot:"root"})(({theme:e})=>({"& .MuiStack-root > label":{marginTop:e.spacing(2)},"& .MuiInputLabel-shrink":{paddingBottom:0},marginTop:"0 !important","& .RaSimpleFormIterator-line > .RaSimpleFormIterator-form":{paddingBottom:e.spacing(.5),"& > div":{width:"100%"}}}));function V6({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return g.jsx(Eb,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:g.jsx(N6,{source:n,label:!1,...s})})}function H6({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:g.jsxs(Bi,{children:[e&&g.jsx(j.EditButton,{}),t&&g.jsx(j.DeleteWithConfirmButton,{}),n&&g.jsx(j.CloneButton,{})]})}const II=Ae("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),z6=Ae("ul")({display:"inline-block"});function W6(e){var p;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=ce.useRecordContext(e),c=lt.get(a,r),u=ce.useTranslate();if(!c)return n?g.jsx(y.Typography,{component:"span",variant:"body2",className:t,...s,children:n&&u(n,{_:n})}):g.jsx(II,{className:t,...s});if(Array.isArray(c))return g.jsx(z6,{className:t,...s,children:c.map((h,C)=>{var I;const m=o instanceof String?(I=lt.get(h,o))==null?void 0:I.toString():o;return g.jsx("li",{children:m},C)})});const A=o instanceof String?(p=lt.get(a,o))==null?void 0:p.toString():o;return g.jsx(II,{className:t,...s,children:A})}function Ib({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",...s}){const[a,c]=Q.useState(null),u=j.useRecordContext(s),A=j.useDataProvider(),p=j.useResourceContext(),h=Q.useCallback(async I=>{I.preventDefault(),I.stopPropagation();const B=lt.get(u,s==null?void 0:s.source),v=p.replace("entities/",""),S=await A.getFile(`/attachments/${v}/${e||(u==null?void 0:u.id)}/${t||(s==null?void 0:s.source)}/${(B==null?void 0:B.id)||(u==null?void 0:u.id)}`),O=document.createElement("a");O.href=S,O.download=lt.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source)),O.click()},[A,u,e,p,t,s==null?void 0:s.source,s==null?void 0:s.title]),C=Q.useMemo(()=>({...u,[s==null?void 0:s.source]:(u==null?void 0:u.src)||lt.get(u,s==null?void 0:s.source),[s==null?void 0:s.title]:(u==null?void 0:u.title)||lt.get(u,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),[u,s==null?void 0:s.source,s==null?void 0:s.title]),m=j.useTranslate();return Q.useEffect(()=>{!u||!(u!=null&&u.userId)||r===!1||A.getOne(o,{id:u==null?void 0:u.userId}).then(({data:I})=>c(I)).catch(()=>c(null))},[u,A,o]),g.jsx(W6,{...s,disabled:n,record:C,onClick:h,title:g.jsxs(y.Box,{sx:{cursor:"pointer"},children:[g.jsx(y.Typography,{variant:"subtitle1",children:lt.get(C,(s==null?void 0:s.title)||(s==null?void 0:s.source))}),g.jsxs(y.Typography,{variant:"caption",color:"secondary",children:[lt.get(C,"sizeDescription"),r&&a&&" | ",r&&a&&m("ra.attachment.info",{user:a==null?void 0:a.name,created:Pr(C==null?void 0:C.createdAt).format("DD/MM/YYYY HH:mm")})]})]})})}const U6=Ae(j.ImageField,{slot:"root"})(()=>({}));function Bb(e){const t=`_${e==null?void 0:e.source}`;return g.jsx(U6,{...e,source:t})}function vb({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,...s}){const a=Q.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5}),[e,t,n]),c=j.useRecordContext(),u=o||c;return g.jsx(Bb,{sx:A=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${A.palette.divider}`,objectFit:"cover !important",...a,minWidth:a.width,minHeight:a.height}}),...s,record:u})}var bb={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){return function(n,r,o){n=n||{};var s=r.prototype,a={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(A,p,h,C){return s.fromToBase(A,p,h,C)}o.en.relativeTime=a,s.fromToBase=function(A,p,h,C,m){for(var I,B,v,S=h.$locale().relativeTime||a,O=n.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"}],x=O.length,R=0;R<x;R+=1){var P=O[R];P.d&&(I=C?o(A).diff(h,P.d,!0):h.diff(A,P.d,!0));var k=(n.rounding||Math.round)(Math.abs(I));if(v=I>0,k<=P.r||!P.r){k<=1&&R>0&&(P=O[R-1]);var F=S[P.l];m&&(k=m(""+k)),B=typeof F=="string"?F.replace("%d",k):F(k,p,P.l,v);break}}if(p)return B;var G=v?S.future:S.past;return typeof G=="function"?G(B):G.replace("%s",B)},s.to=function(A,p){return c(A,p,this,!0)},s.from=function(A,p){return c(A,p,this)};var u=function(A){return A.$u?o.utc():o()};s.toNow=function(A){return this.to(u(this),A)},s.fromNow=function(A){return this.from(u(this),A)}}})})(bb);var Y6=bb.exports;const G6=ro(Y6);var K6={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(In,function(){return{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(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}})})(K6);var q6={exports:{}};(function(e,t){(function(n,r){e.exports=r(yB)})(In,function(n){function r(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var o=r(n),s={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(a){return a+"º"}};return o.default.locale(s,null,!0),s})})(q6);Pr.extend(G6);function yb(e){const t=j.useRecordContext(e),[n]=j.useLocaleState(),r=Q.useMemo(()=>Pr(lt.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return g.jsxs(Q.Fragment,{children:[g.jsx(j.DateField,{record:t,source:e.source,showTime:!0}),g.jsx("br",{}),g.jsx(y.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const J6=Ae(j.DateField,{slot:"Root"})(()=>({}));function X6({variant:e="body1",...t}){return g.jsx(J6,{...t,variant:e})}const Z6=Ae(j.EmailField,{slot:"Root"})(()=>({}));function _6({variant:e="body1",...t}){return g.jsx(Z6,{...t,variant:e})}const $6=Ae(j.FileField,{slot:"root"})(()=>({}));function Qb({...e}){const t=j.useRecordContext(e),n=Q.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=lt.get(t,`_${e==null?void 0:e.source}`,lt.get(t,e==null?void 0:e.source)),s=lt.get(t,(e==null?void 0:e.title)||(e==null?void 0:e.source))||(e==null?void 0:e.title),a=document.createElement("a");a.href=o,a.download=s,a.click()},[e==null?void 0:e.source,t,e==null?void 0:e.title]);return g.jsx($6,{...e,record:t,onClick:n})}function eL({variant:e="body1",...t}){return g.jsx(j.FunctionField,{...t,variant:e})}const tL=Ae(j.TextField,{slot:"Root"})(()=>({}));function xb({variant:e="body1",...t}){return g.jsx(tL,{...t,variant:e})}function nL(e){const t=y.useTheme(),n=ce.useLocales(),{source:r=""}=e,o=ce.useRecordContext(e),s=o[r],a=!Mf(s,n),c=Er(e,{flex:1}),[u]=ce.useLocaleState(),A=Q.useMemo(()=>a?g.jsx(Ze.FlagFilled,{style:{color:t.palette.warning.main}}):g.jsx(Ze.FlagOutlined,{}),[a]),p=Q.useMemo(()=>g.jsx(y.Stack,{children:te.map(n,(h,C)=>g.jsx(y.Typography,{children:`${h.locale.toUpperCase()}: ${(s??{})[h.locale]??""}`},C))}),[s,n]);return g.jsx(zu,{title:p,arrow:!1,children:g.jsxs(y.Stack,{alignItems:"center",direction:"row",gap:1,children:[A,g.jsx(xb,{...e,source:`${r}.${u}`,sx:c})]})})}const rL=Ae("div")(({theme:e,fullWidth:t})=>({borderBottom:`1px solid ${e.palette.divider}`,paddingTop:e.spacing(1),paddingBottom:e.spacing(1),marginBottom:e.spacing(1),whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:t?"100%":"auto",[e.breakpoints.down("sm")]:{whiteSpace:"normal",overflow:"visible",textOverflow:"inherit"}})),oL=({source:e,defaultValue:t=" ",...n})=>{const r=j.useRecordContext(n),o=lt.get(r,e,t);return g.jsx(y.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})},iL=({title:e,children:t})=>t==null?null:typeof e=="string"||e===!0?g.jsx(y.Tooltip,{title:e,placement:"top",children:t}):t;function sL({label:e,source:t,defaultValue:n=" ",children:r=g.jsx(oL,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const{getCurrentDialog:a}=vi(),c=j.useRecordContext(s),u=j.useResourceContext(s),A=a(),p=Q.useMemo(()=>o===!1?!1:typeof o=="function"?o(c):typeof o=="string"?lt.get(c,o,o):o,[c,o]),h=Er(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return g.jsx(iL,{title:p,children:g.jsxs(Q.Fragment,{children:[g.jsx(y.InputLabel,{sx:{pt:1},children:g.jsx(j.FieldTitle,{label:e,source:t,resource:A||u})}),g.jsx(rL,{...s,children:Q.cloneElement(r,{source:t,record:c,defaultValue:n,resource:A||u,sx:h})})]})})}const aL=function({children:e=null,className:t=""}){return g.jsx("div",{className:t,children:e})},lL=qa(aL,{slot:"root"})(({theme:e,bulkActionButtons:t})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,"&>div:first-of-type":{alignItems:"center","& form":{padding:e.spacing(2.5)},"& .MuiToolbar-root":{alignItems:"center",padding:"0 !important",marginTop:e.spacing(1),[e.breakpoints.up("sm")]:{marginLeft:e.spacing(2),marginRight:e.spacing(2),width:`calc(100% - ${e.spacing(4)})`},[e.breakpoints.down("md")]:{marginTop:0,display:"none",visibility:"hidden"}}},"& .RaDatagrid-root":{overflowX:"auto",paddingTop:t===!1?0:48,[e.breakpoints.down("sm")]:{width:"calc(100vw - 26px)"},"& .RaBulkActionsToolbar-toolbar":{borderRadius:0,"& > .RaBulkActionsToolbar-title":{alignItems:"center"},[e.breakpoints.down("sm")]:{paddingLeft:e.spacing(3)}},"& .RaDatagrid-table":{borderBottom:`1px solid ${e.palette.divider}`}},"& .MuiTablePagination-toolbar":{marginTop:"0 !important",marginBottom:"0 !important"},"& .RaBulkActionsToolbar-collapsed.RaBulkActionsToolbar-toolbar":{minHeight:0}}));function wb(e){return g.jsx(lL,{...e,children:g.jsx(j.ReferenceManyField,{pagination:g.jsx(j.Pagination,{}),...e})})}function cL({source:e,...t}){const n=j.useRecordContext(t),r=lt.get(n,e,0),o=r/1024,s=o/1024,a=s/1024,c=a>1?`${a.toFixed(2)} GB`:s>1?`${s.toFixed(2)} MB`:o>1?`${o.toFixed(2)} KB`:`${r.toFixed(2)} B`;return g.jsx(y.Typography,{component:"span",variant:"body1",...t,children:c})}function un({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=bt(),{getCurrentDialog:A}=vi(),{source:p,resource:h,isRequired:C}=c,{fieldState:{invalid:m}}=j.useInput(c),I=A();return g.jsxs(y.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{color:m?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&g.jsx(y.InputLabel,{error:m===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:g.jsx(j.FieldTitle,{label:e,source:p,resource:I||h,isRequired:C})}),Q.isValidElement(t)?Q.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,n==="label"&&r&&g.jsx(y.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:m===!0,children:r})]})}const uL=e=>e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{},AL=Ae(j.FileInput,{slot:"root"})(({disabled:e,theme:t})=>({"& .previews":{},"& .previews>div":{marginTop:t.spacing(1),padding:t.spacing(1.5),border:`1px solid ${t.palette.divider}`,borderRadius:t.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:t.palette.action.hover},"& .MuiLink-root":{fontSize:t.typography.body1.fontSize}},...uL(e)}));function dL({children:e=g.jsx(Ib,{title:"name",source:"path"}),multiple:t=!0,disabled:n=!1,type:r="attachment",...o}){const s=j.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return j.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),g.jsx(un,{...o,disabled:n,children:g.jsx(AL,{type:r,multiple:t,disabled:n,children:Q.cloneElement(e,{...e.props,entityId:c,property:a})})})}const gL=Ae(j.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function fL({size:e="small",...t}){return g.jsx(un,{...t,children:g.jsx(gL,{size:e})})}const pL=Ae(j.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall":{paddingTop:"4px"}}));function hL({size:e="small",...t}){const{perPage:n,...r}=t;return g.jsx(un,{...r,children:g.jsx(pL,{size:e})})}const CL=Ae(j.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function mL({...e}){const t=qt.useTheme();return g.jsx(un,{...e,children:g.jsx(CL,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const EL=Ae(j.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function IL(e){return g.jsx(un,{...e,children:g.jsx(EL,{})})}const BL=Ae(j.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function vL(e){return g.jsx(un,{...e,children:g.jsx(BL,{})})}const bL=Ae(j.FileInput,{slot:"root"})(({theme:e})=>({"& .previews":{},"& .previews>div":{marginTop:e.spacing(1),padding:e.spacing(1.5),border:`1px solid ${e.palette.divider}`,borderRadius:e.shape.borderRadius,"& button":{float:"right",placeItems:"flex-end",verticalAlign:"middle"},"&:hover":{backgroundColor:e.palette.action.hover},"& .MuiLink-root":{fontSize:e.typography.body1.fontSize}}}));function yL({children:e=g.jsx(Qb,{source:"",title:""}),title:t,...n}){const r=Ii.useWatch({name:n.source}),o=j.useRecordContext(n),{source:s}=n,a=Q.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=lt.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return g.jsx(un,{...n,children:g.jsx(bL,{children:Q.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||lt.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||lt.get(o,`_${s}`),[t||s]:a}})})})}function QL({children:e=g.jsx(vb,{}),title:t,multiple:n=!1,...r}){const o=Ii.useWatch({name:r.source}),s=j.useRecordContext(r),{source:a}=r;return j.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),g.jsx(un,{...r,multiple:n,children:g.jsx(j.ImageInput,{accept:"image/*",children:Q.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||lt.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||lt.get(s,`_${a}`)}})})})}function Cr(e){return g.jsx(un,{...e,children:g.jsx(j.TextInput,{})})}const xL={vertical:"bottom",horizontal:"right"},wL={vertical:"top",horizontal:"right"};function TL(e){const{source:t}=e,{fieldState:n}=ce.useInput(e),r=Ii.useWatch({name:t}),{error:o}=n,s=ce.useLocales(),a=!Mf(r,s),[c]=ce.useLocaleState(),[u,A]=Q.useState(c),[p,h]=Q.useState(null),C=!!p,m=Q.useCallback(v=>h(C?null:v.currentTarget),[C,h]),I=Q.useCallback(()=>h(null),[h]),B=Q.useMemo(()=>te.map(s,(v,S)=>g.jsx(y.MenuItem,{onClick:()=>{A(v.locale),I()},children:g.jsx(y.ListItemText,{primary:`${v.locale.toUpperCase()}: ${(r??{})[v.locale]??""}`})},S)),[s,A,I,r]);return g.jsx(un,{...e,helperText:o==null?void 0:o.message,children:g.jsxs(y.Box,{flex:1,children:[te.map(s,(v,S)=>g.jsx(Cr,{...e,source:`${t}.${v.locale}`,sx:{width:"100%",display:v.locale===u?"inline-flex":"none"},label:!1,InputProps:{endAdornment:g.jsx(y.Chip,{label:g.jsx(y.Typography,{variant:"button",children:u}),size:"small",onClick:m,color:a?"warning":void 0})}},S)),g.jsx(y.Menu,{anchorEl:p,open:C,anchorOrigin:xL,transformOrigin:wL,onClose:I,children:B})]})})}const SL=Ae(j.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function PL(e){return g.jsx(un,{...e,children:g.jsx(SL,{})})}function RL({source:e,minWidth:t=300,children:n}){const r=j.useResourceContext(),o=j.useRecordContext(),[s,a]=Q.useState(lt.get(o,e,"")),[c,u]=Q.useState(!1),A=Q.useCallback(I=>a(I.target.value),[]),p=j.useDataProvider(),h=Q.useCallback(I=>{I.key==="Enter"&&(u(!0),p.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,p,r,o,e]),C=Q.useCallback(()=>{lt.get(o,e)!==s&&(u(!0),p.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,p,r,e,o]),m=Q.useCallback(I=>{u(!0),p.update(r,{id:o.id,data:{...o,[e]:I,_changed:e},previousData:o}).then(()=>u(!1))},[p,r,e,o]);return Q.useEffect(()=>a(lt.get(o,e)),[o,e]),n?Q.cloneElement(n,{...n.props,source:e,value:s,onChange:m}):g.jsx(y.TextField,{value:s,disabled:c,onChange:A,onKeyPress:h,onBlur:C,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function OL({children:e,...t}){return g.jsx(j.ReferenceArrayInput,{...t,children:Q.cloneElement(e,{...t,source:e.props.source||t.source})})}function jL({children:e,...t}){return g.jsx(j.ReferenceInput,{...t,children:Q.cloneElement(e,{...t,source:e.props.source||t.source})})}function DL({reference:e,target:t,children:n,filters:r,actions:o,...s}){return g.jsx(j.ResourceContextProvider,{value:e,children:g.jsx(wb,{perPage:5,pagination:g.jsx(j.Pagination,{}),...s,reference:e,target:t,children:g.jsxs(Q.Fragment,{children:[g.jsx(j.ListToolbar,{filters:r,actions:o}),n]})})})}const ML=Ae(j.SearchInput,{slot:"root"})(()=>({}));function kL(e){return g.jsx(ML,{...e})}const FL=Ae(j.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .RaSelectArrayInput-chips > .RaSelectArrayInput-chip":{marginTop:"-2px",marginBottom:"-2px"}}));function LL({optionText:e="name",optionValue:t="id",...n}){return g.jsx(un,{...n,children:g.jsx(FL,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const NL=Ae(j.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function VL(e){return g.jsx(un,{...e,children:g.jsx(NL,{})})}function HL({multiline:e=!1,...t}){var u,A;const n=j.useTranslate(),r=j.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(A=(u=Ii.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:A.value;let s=t.helperText,a=t.validate;a?Array.isArray(a)&&a.indexOf(r)===-1&&a.push(r):a=[r];const c=n("app.input.max_length_info",{count:(o==null?void 0:o.length)||0,max:t==null?void 0:t.maxLength});return t!=null&&t.maxLength&&(s=s&&s.length>0?`${c} - ${n(s)}`:c),g.jsx(Cr,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function zL(e){if(!e)return"";const t=QB(e);return t?t.format("HH:mm"):""}function WL(e){return e}const UL=Ae(j.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function YL({parse:e=WL,format:t=zL,...n}){return g.jsx(un,{...n,children:g.jsx(UL,{parse:e,format:t,...n})})}function fp({onSuccess:e,firstAccess:t}){const{spacing:n}=Qn(),[r,o]=Q.useState(!1),s=ce.useAuthProvider(),a=ce.useTranslate(),c=ce.useNotify(),u=Q.useCallback(A=>{const{oldPassword:p,newPassword:h}=A;o(!0),s==null||s.changePassword(p,h).then(()=>{c("ra.auth.password_changed"),e()}).catch(C=>{c((C==null?void 0:C.message)||(C==null?void 0:C.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e]);return g.jsx(ce.ResourceContextProvider,{value:"user/change-password",children:g.jsx(ce.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:g.jsx(mb,{onSubmit:u,toolbar:g.jsx(wi,{children:g.jsx(j.SaveButton,{disabled:r})}),children:g.jsxs(y.Grid,{container:!0,spacing:n,children:[t===!0&&g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Alert,{severity:"warning",children:[g.jsx(y.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsx(Cr,{source:"oldPassword",type:"password",validate:ce.required()})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsx(Cr,{source:"newPassword",type:"password",validate:ce.required()})})]})})})})}const Tb=Q.createContext({});function GL(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=j.useResourceContext(),o=j.useDataProvider(),{search:s}=hs.useLocation(),a=`${r}/new`,c=Q.useCallback(()=>{if(!t||!te.isFunction(o.get))return Promise.resolve({});const C={};return new URLSearchParams(s??"").forEach((m,I)=>{C[I]=m}),o.get(a,C).then(m=>m.data).then(m=>{const{responseCode:I,value:B}=m;return I==="ok"?B:Promise.reject(m)})},[r,t,s,o]),u=Q.useMemo(()=>te.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:A,isLoading:p}=As.useQuery(u),h=te.omit(e,["useDefaults"]);return p?g.jsx(y.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:g.jsx(y.CircularProgress,{})}):g.jsx(Tb.Provider,{value:A??{},children:g.jsx(j.Create,{...h})})}function KL(){return Q.useContext(Tb)}const qL=Ae(GL,{slot:"root"})(({theme:e})=>({"& .RaCreate-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaCreate-main":{marginTop:0},"& .RaCreate-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingLeft:"20px !important",paddingRight:"20px !important",paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}})),JL=Ae(j.Edit,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-card":{[e.breakpoints.down("sm")]:{marginBottom:e.spacing(6)}},"& .RaEdi-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingLeft:"20px !important",paddingRight:"20px !important",paddingTop:"0 !important"},"& .RaEdit-main":{marginTop:0},"& .RaEdit-main>.MuiPaper-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaEdit-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaEdit-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function XL(e){return g.jsx(JL,{...e})}const ZL=Ae(y.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),_L=Ae(y.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function $L({title:e,divider:t=!0,variant:n="h5"}){const r=j.useTranslate();return g.jsxs(Q.Fragment,{children:[g.jsx(ZL,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t&&g.jsx(_L,{})]})}const e9=Ae(y.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{position:"initial",marginLeft:`-${e.spacing(3)}`,marginRight:`-${e.spacing(3)}`,marginBottom:`-${e.spacing(2)}`,paddingTop:e.spacing(2.5),paddingBottom:e.spacing(2.5),[e.breakpoints.down("sm")]:{position:"initial !important",width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{position:"initial !important",paddingTop:"20px !important",paddingLeft:"0 !important",paddingRight:"0 !important",paddingBottom:"0 !important"},"& form > .MuiToolbar-root":{margin:0,marginRight:`-${e.spacing(.5)}`,[e.breakpoints.down("sm")]:{marginRight:e.spacing(.5)}}}));function Sb(e){const{spacing:t}=Qn(),{spacing:n=t}=e,r=te.omit(e,["spacing"]);return g.jsx(j.Form,{...r,className:"LongFormView",children:g.jsx(e9,{container:!0,spacing:n*2,children:e.children})})}function Pb(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=te.omit(e,["disposition"]);return g.jsx(y.Grid,{...n,item:!0,...t,children:e.children})}function Wg(e){return e.id??e.label}function Rb(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function t9(e){return te.map(e,"id")}function tu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function Ob(e,t){const n=e!==void 0?tu(e):0;return te.chain(t).filter(o=>e!==void 0?Rb(e,o.id):!0).filter(o=>tu(o.id)===n+1).value()}function n9(e,t){var s;const n=te.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return te.extend(n,{formRootPath:o});case"setSyncWithLocation":return te.extend(n,{syncWithLocation:o});case"setErrorCount":return te.extend(n,{errorCount:o});case"setActiveItem":return te.includes(t9(e.items),o)?te.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return te.extend(n,{items:te.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=te.isString(o)?o:o.id,c=te.chain(n.items).clone().reject(u=>u.id===a).value();return te.extend(n,{items:c}),n.activeItem===a&&te.extend(n,{activeItem:((s=te.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const r9={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},jb=Q.createContext(void 0);function Db(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=hs.useLocation(),[s,a]=Q.useReducer(n9,te.cloneDeep(r9)),{formRootPath:c,items:u}=s,A=Q.useMemo(()=>({state:s,dispatch:a}),[s,a]);return Q.useEffect(()=>{const p=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&p.push(r);const h=te.chain(p).map(m=>hs.matchPath(m,o)).reject(m=>m===null).first().value(),C=h==null?void 0:h.pathnameBase;C!==void 0&&C!==c&&a({type:"setFormRootPath",payload:C})},[o,c,r]),Q.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),Q.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),Q.useEffect(()=>{var p;if(t&&c!==void 0){let h=o.replace(c,"").replace(new RegExp(/^\/?/),"");te.isEmpty(h)&&(h=((p=te.chain(u).filter(C=>Ob(C.id,u).length===0).orderBy([C=>tu(C.id),C=>C.index]).first().value())==null?void 0:p.id)??void 0),a({type:"setActiveItem",payload:h})}},[a,c,o,u]),g.jsx(jb.Provider,{value:A,children:e.children})}function Mb(){const e=Q.useContext(jb);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function el(){return Mb().state}function pp(){return Mb().dispatch}function kb(){return el().formRootPath}function Fb(){return el().activeItem}function Lb(){return el().items}function Nb(){return el().syncWithLocation}function Vb(){return el().errorCount}function Hb(){const e=pp();return Q.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function zb(){const e=pp();return Q.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function Wb(){const e=pp();return Q.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}function Ub(e){const t=Fb();return t===void 0?!1:e===t||Rb(e,t)}function Yb(e){const t=Lb();return Q.useMemo(()=>Ob(e,t),[t,e])}function o9(){const e=kb(),{search:t}=hs.useLocation(),n=hs.useNavigate();return Q.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n])}function Gb(){const e=Yb();return g.jsx(y.Card,{variant:"outlined",children:g.jsx(y.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:te.map(e,(t,n)=>g.jsx(hp,{...t},n))})})}function hp(e){const t=ce.useTranslate()??te.identity,n=Kb(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:A,level:p,errors:h=0}=n,{spacing:C}=Qn(),[m,I]=Q.useState(r),B=Q.useCallback(O=>{I(!m),a(O)},[a,m]),v=s!==void 0,S=te.omit(e,["label","icon","selected","badge"]);return Q.useEffect(()=>{r&&!m&&I(r)},[r,m,I]),g.jsxs(g.Fragment,{children:[g.jsx(y.ListItem,{...S,disablePadding:!0,children:g.jsxs(y.ListItemButton,{selected:r&&!A,onClick:B,sx:{pl:C*p},children:[v&&g.jsx(y.ListItemIcon,{children:s}),g.jsx(y.ListItemText,{inset:!v,primary:h===0?t(o):g.jsx(y.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c&&g.jsx(y.ListItemAvatar,{children:g.jsx(ka,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}),A&&(m?g.jsx(rr.ExpandLess,{}):g.jsx(rr.ExpandMore,{}))]})}),A&&g.jsx(y.Collapse,{in:m,timeout:"auto",children:g.jsx(y.List,{children:te.map(u,(O,x)=>g.jsx(hp,{...O},x))})})]})}function Kb(e){const{id:t}=e,n=Ub(t),r=tu(t),o=o9(),s=Nb(),a=Hb(),c=Yb(t),u=!te.isEmpty(c),A=Q.useCallback(h=>{u||(s?o(e.id):a(e.id)),te.isFunction(e.onClick)&&e.onClick(h)},[a,o,e,s,u]);return Q.useMemo(()=>({...e,selected:n,onClick:A,items:c,isGroup:u,level:r}),[e,n,A,c,u])}var i9=e=>{let t=e;for(;t=t.parentElement;){const n=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)return window;if(n==="auto"||n==="scroll"||n==="overlay")return t}return window},qb=e=>e.firstChild?e.firstChild.offsetParent===e:!0,s9=(e,t)=>{let n=e,r=0;qb(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t);return r},a9=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},Fa=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?Fa="sticky":CSS.supports("position","-webkit-sticky")&&(Fa="-webkit-sticky"));var nu=!1;try{const e=Object.defineProperty({},"passive",{get(){nu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var Xd=e=>{const{el:t,onChange:n,unsubs:r,measure:o}=e;if(t===window){const s=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),a=o(s()),c=()=>{Object.assign(a,o(s())),n()};return window.addEventListener("resize",c,nu),r.push(()=>window.removeEventListener("resize",c)),a}else{const s=o(t.getBoundingClientRect()),a=()=>{Object.assign(s,o(t.getBoundingClientRect())),n()},c=new ResizeObserver(a);return c.observe(t),r.push(()=>c.disconnect()),s}},l9=e=>{const t=getComputedStyle(e,null),n=parseInt(t.getPropertyValue("padding-top"),10),r=parseInt(t.getPropertyValue("padding-bottom"),10);return{top:n,bottom:r}},c9=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=i9(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const F=h();F!==x&&R(F),c=!1}),c=!0};let A=a===window?window.scrollY:a.scrollTop;const p=F=>{const{offsetTop:G,height:K}=m,{naturalTop:$}=v,{height:Y}=S;return F+G+K>=$+Y+O+o},h=()=>{const{height:F}=m,{height:G}=S;return G+s+o<=F?3:p(A)?1:2},C=a!==window&&qb(a),m=Xd({el:a,onChange:u,unsubs:t,measure:({height:F,top:G})=>({height:F,offsetTop:C?G:0})}),I=a9(e),B=I===window?{top:0,bottom:0}:l9(I),v=Xd({el:I,onChange:u,unsubs:t,measure:({height:F})=>({height:F-B.top-B.bottom,naturalTop:I===window?0:s9(I,a)+B.top+m.offsetTop})}),S=Xd({el:e,onChange:u,unsubs:t,measure:({height:F})=>({height:F})});let O=0,x=h();const R=F=>{const G=x;if(x=F,G===2&&(O=-1),F===3){e.style.position=Fa,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:K,offsetTop:$}=m,{height:Y,naturalTop:ie}=v,{height:se}=S;if(F===2)if(e.style.position="relative",O=G===0?Math.max(0,$+A-ie+s):Math.max(0,$+A+K-(ie+se+o)),r){const X=Math.max(0,Y-se-O);e.style.bottom=`${X}px`}else e.style.top=`${O}px`;else e.style.position=Fa,F===1?r?e.style.bottom=`${o}px`:e.style.top=`${K-se-o}px`:r?e.style.bottom=`${K-se-o}px`:e.style.top=`${s}px`};R(x);const P=F=>{if(F===A)return;const G=F-A;if(A=F,x===3)return;const{offsetTop:K,height:$}=m,{naturalTop:Y,height:ie}=v,{height:se}=S;if(G>0)if(x===0){if(F+K+s>Y){const X=Math.max(0,K+A-Y+s);F+K+$<=Y+se+X+o?R(2):R(1)}}else x===2&&p(F)&&R(1);else if(x===1){if(K+F+$<Y+ie+o){const X=Math.max(0,K+A+$-(Y+se+o));K+F+s>=Y+X?R(2):R(0)}}else x===2&&K+F+s<Y+O&&R(0)},k=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",k,nu),a.addEventListener("mousewheel",k,nu),t.push(()=>a.removeEventListener("scroll",k),()=>a.removeEventListener("mousewheel",k))},u9=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=Q.useState(null);return Q.useEffect(()=>{if(!r||!Fa)return;const s=[];return c9(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},A9=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=u9({offsetTop:t,offsetBottom:n,bottom:r});return g.jsx("div",{className:s,style:a,ref:c,children:o})},d9=A9,Jb=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(Jb||{});function Xb(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=te.omit(e,["sticky","disposition","spacing"]),s=t?d9:y.Box,a=Q.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return g.jsx(y.Grid,{...o,item:!0,...n,children:g.jsx(s,{...a,children:g.jsx(y.Stack,{spacing:r,children:e.children})})})}function Zb(e){return g.jsx(g.Fragment,{children:e.children})}function _b(e){const{children:t}=e;return Q.useMemo(()=>{const r={top:[],bottom:[]};return Q.Children.forEach(t,o=>{if(Q.isValidElement(o)&&(o==null?void 0:o.type)===Zb){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function $b(e=[],t){const n=te.isArray(e)?e:[e],r=te.filter(n,o=>Q.isValidElement(o));te.each(r,o=>{var s;t(o),$b(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}function ey(e){const{errors:t}=Ii.useFormState(),n=Vb(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=Wg(e),A=zb(),p=Wb(),h=Ub(u),C=[];n&&(e.sources!==void 0?C.push(...e.sources):$b(c,I=>{var B;((B=I==null?void 0:I.props)==null?void 0:B.source)!==void 0&&C.push(I.props.source)}));const m=te.chain(C).uniq().map(I=>te.get(t,I)).reject(I=>I===void 0).value().length;return Q.useEffect(()=>{A({id:u,index:a,label:r,icon:o,badge:s,errors:m})},[A,p,r,o,u,s,a,m]),Q.useEffect(()=>()=>{p(u)},[u]),g.jsx(y.Box,{display:h?"unset":"none",children:e.children})}function ty(e){const t=Cp(e),n=Wg(e);return g.jsx(ey,{...e,id:n,children:Q.Children.map(t,r=>{const o=Wg(r.props);return Q.cloneElement(r,{id:`${n}.${o}`})})})}function ny(e){return g.jsx(ey,{...e})}function Cp(e){const{children:t}=e;return Q.useMemo(()=>te.chain(Q.Children.toArray(t)).filter(r=>Q.isValidElement(r)&&((r==null?void 0:r.type)===ny||(r==null?void 0:r.type)===ty)).map((r,o)=>Q.cloneElement(r,{index:o})).value(),[t])}function g9(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=te.pick(e,["syncWithLocation","errorCount"]),s=te.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=_b(e),u=Cp(e);return g.jsx(Db,{...o,children:g.jsxs(Sb,{...s,spacing:r,children:[g.jsxs(Xb,{disposition:t,spacing:r,children:[a,g.jsx(Gb,{}),c]}),g.jsx(Pb,{disposition:n,children:u})]})})}const Rt=g9;Rt.BaseForm=Sb;Rt.Content=Pb;Rt.Provider=Db;Rt.useItems=Lb;Rt.useSyncWithLocation=Nb;Rt.useErrorCount=Vb;Rt.useFormRootPath=kb;Rt.useActiveItem=Fb;Rt.useSetActiveItem=Hb;Rt.useAddItem=zb;Rt.useRemoveItem=Wb;Rt.Sidebar=Xb;Rt.SidebarSection=Zb;Rt.SidebarSectionPosition=Jb;Rt.useSidebarChildren=_b;Rt.NavMenu=Gb;Rt.NavMenuItem=hp;Rt.useNavMenuItem=Kb;Rt.Tab=ny;Rt.Group=ty;Rt.useBaseItemChildren=Cp;const f9=Ae(j.Show,{slot:"root"})(({theme:e})=>({"&>.MuiToolbar-root:first-of-type":{backgroundColor:e.palette.background.default},"& .RaShow-card, & > div > div > form":{backgroundColor:e.palette.background.default},"& .RaShow-main>.MuiPaper-root:first-of-type":{overflow:"visible"}}));function p9(e){return g.jsx(f9,{...e})}const h9=Ae(j.SimpleFormIterator,{root:"root"})(({theme:e})=>({"& .RaSimpleFormIterator-line":{paddingTop:e.spacing(1),paddingBottom:e.spacing(.5)},"& .RaSimpleFormIterator-action":{display:"flex",flexDirection:"row",alignItems:"center",mb:1.5},"& section":{width:"100%","& label":{position:"relative",overflow:"visible",transform:"none",marginLeft:0}}}));function C9(e){return g.jsx(h9,{...e})}const m9=qa(j.TabbedForm,{slot:"Root"})(({theme:e,modal:t})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:e.spacing(t?0:1)},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function E9({children:e}){return g.jsx(g.Fragment,{children:e})}function mp(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=g.jsx(Bi,{children:g.jsx(j.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=g.jsx(wi,{children:g.jsx(j.SaveButton,{type:"button"})}),...A}=e,p=Df(t);return g.jsx(er,{title:p,modal:n,content:r,subheader:o,secondary:s,sx:{...a,"& .MuiTabs-root":{m:2.5,mb:0},"& .tabbed-form .MuiDivider-root":{ml:2.5,mr:2.5},"& .MuiToolbar-root.RaToolbar-desktopToolbar":{position:"initial",paddingTop:0},"& .MuiToolbar-root":{padding:2.5}},border:!n,divider:!0,children:g.jsx(m9,{toolbar:u,component:c?E9:void 0,...A})})}function I9({children:e,...t}){return g.jsx(j.TabbedForm.Tab,{...t,children:g.jsx(y.Box,{sx:{width:"100%",p:2.5},children:e})})}mp.Tab=j.TabbedForm.Tab;mp.TabStack=I9;const ry=M.forwardRef((e,t)=>{const{children:n,disabled:r,disableActions:o=!1,index:s,member:a,resource:c}=e,u=j.useTranslate(),[A,p]=M.useState(!1),{total:h,remove:C}=vB(),m=M.useCallback(()=>{p(!1),C(s)},[s,C]),I=Q.useMemo(()=>({index:s,total:h,remove:()=>C(s)}),[s,h,C]);return g.jsxs(xf.Provider,{value:I,children:[Q.Children.map(n,(B,v)=>{if(!Q.isValidElement(B))return null;const{source:S,...O}=B.props;return g.jsx(y.TableCell,{children:Q.cloneElement(B,{source:S?`${a}.${S}`:a,index:S?void 0:v,resource:c,disabled:r,...O,label:""})})}),!o&&g.jsx(y.TableCell,{children:g.jsx(y.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:g.jsx(Bi,{horizontal:!0,children:g.jsx(y.Typography,{color:"error",onClick:()=>p(!0),children:u("ra.action.delete")})})})}),n.length>0&&g.jsx(j.Confirm,{isOpen:A,title:u("ra.action.remove_item"),content:u("ra.message.remove_item"),onConfirm:m,onClose:()=>p(!1)})]})});var B9=Array.isArray,Wu=B9,v9=typeof In=="object"&&In&&In.Object===Object&&In,b9=v9,y9=b9,Q9=typeof self=="object"&&self&&self.Object===Object&&self,x9=y9||Q9||Function("return this")(),Uu=x9,w9=Uu,T9=w9.Symbol,Yu=T9,BI=Yu,oy=Object.prototype,S9=oy.hasOwnProperty,P9=oy.toString,ua=BI?BI.toStringTag:void 0;function R9(e){var t=S9.call(e,ua),n=e[ua];try{e[ua]=void 0;var r=!0}catch{}var o=P9.call(e);return r&&(t?e[ua]=n:delete e[ua]),o}var O9=R9,j9=Object.prototype,D9=j9.toString;function M9(e){return D9.call(e)}var k9=M9,vI=Yu,F9=O9,L9=k9,N9="[object Null]",V9="[object Undefined]",bI=vI?vI.toStringTag:void 0;function H9(e){return e==null?e===void 0?V9:N9:bI&&bI in Object(e)?F9(e):L9(e)}var Ep=H9;function z9(e){return e!=null&&typeof e=="object"}var Gu=z9,W9=Ep,U9=Gu,Y9="[object Symbol]";function G9(e){return typeof e=="symbol"||U9(e)&&W9(e)==Y9}var Ip=G9,K9=Wu,q9=Ip,J9=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X9=/^\w*$/;function Z9(e,t){if(K9(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||q9(e)?!0:X9.test(e)||!J9.test(e)||t!=null&&e in Object(t)}var _9=Z9;function $9(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var iy=$9,eN=Ep,tN=iy,nN="[object AsyncFunction]",rN="[object Function]",oN="[object GeneratorFunction]",iN="[object Proxy]";function sN(e){if(!tN(e))return!1;var t=eN(e);return t==rN||t==oN||t==nN||t==iN}var sy=sN,aN=Uu,lN=aN["__core-js_shared__"],cN=lN,Zd=cN,yI=function(){var e=/[^.]+$/.exec(Zd&&Zd.keys&&Zd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function uN(e){return!!yI&&yI in e}var AN=uN,dN=Function.prototype,gN=dN.toString;function fN(e){if(e!=null){try{return gN.call(e)}catch{}try{return e+""}catch{}}return""}var pN=fN,hN=sy,CN=AN,mN=iy,EN=pN,IN=/[\\^$.*+?()[\]{}|]/g,BN=/^\[object .+?Constructor\]$/,vN=Function.prototype,bN=Object.prototype,yN=vN.toString,QN=bN.hasOwnProperty,xN=RegExp("^"+yN.call(QN).replace(IN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wN(e){if(!mN(e)||CN(e))return!1;var t=hN(e)?xN:BN;return t.test(EN(e))}var TN=wN;function SN(e,t){return e==null?void 0:e[t]}var PN=SN,RN=TN,ON=PN;function jN(e,t){var n=ON(e,t);return RN(n)?n:void 0}var Ku=jN,DN=Ku,MN=DN(Object,"create"),qu=MN,QI=qu;function kN(){this.__data__=QI?QI(null):{},this.size=0}var FN=kN;function LN(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var NN=LN,VN=qu,HN="__lodash_hash_undefined__",zN=Object.prototype,WN=zN.hasOwnProperty;function UN(e){var t=this.__data__;if(VN){var n=t[e];return n===HN?void 0:n}return WN.call(t,e)?t[e]:void 0}var YN=UN,GN=qu,KN=Object.prototype,qN=KN.hasOwnProperty;function JN(e){var t=this.__data__;return GN?t[e]!==void 0:qN.call(t,e)}var XN=JN,ZN=qu,_N="__lodash_hash_undefined__";function $N(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ZN&&t===void 0?_N:t,this}var e7=$N,t7=FN,n7=NN,r7=YN,o7=XN,i7=e7;function Os(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Os.prototype.clear=t7;Os.prototype.delete=n7;Os.prototype.get=r7;Os.prototype.has=o7;Os.prototype.set=i7;var s7=Os;function a7(){this.__data__=[],this.size=0}var l7=a7;function c7(e,t){return e===t||e!==e&&t!==t}var u7=c7,A7=u7;function d7(e,t){for(var n=e.length;n--;)if(A7(e[n][0],t))return n;return-1}var Ju=d7,g7=Ju,f7=Array.prototype,p7=f7.splice;function h7(e){var t=this.__data__,n=g7(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():p7.call(t,n,1),--this.size,!0}var C7=h7,m7=Ju;function E7(e){var t=this.__data__,n=m7(t,e);return n<0?void 0:t[n][1]}var I7=E7,B7=Ju;function v7(e){return B7(this.__data__,e)>-1}var b7=v7,y7=Ju;function Q7(e,t){var n=this.__data__,r=y7(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var x7=Q7,w7=l7,T7=C7,S7=I7,P7=b7,R7=x7;function js(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}js.prototype.clear=w7;js.prototype.delete=T7;js.prototype.get=S7;js.prototype.has=P7;js.prototype.set=R7;var O7=js,j7=Ku,D7=Uu,M7=j7(D7,"Map"),k7=M7,xI=s7,F7=O7,L7=k7;function N7(){this.size=0,this.__data__={hash:new xI,map:new(L7||F7),string:new xI}}var V7=N7;function H7(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var z7=H7,W7=z7;function U7(e,t){var n=e.__data__;return W7(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Xu=U7,Y7=Xu;function G7(e){var t=Y7(this,e).delete(e);return this.size-=t?1:0,t}var K7=G7,q7=Xu;function J7(e){return q7(this,e).get(e)}var X7=J7,Z7=Xu;function _7(e){return Z7(this,e).has(e)}var $7=_7,eV=Xu;function tV(e,t){var n=eV(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var nV=tV,rV=V7,oV=K7,iV=X7,sV=$7,aV=nV;function Ds(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ds.prototype.clear=rV;Ds.prototype.delete=oV;Ds.prototype.get=iV;Ds.prototype.has=sV;Ds.prototype.set=aV;var ay=Ds,ly=ay,lV="Expected a function";function Bp(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(lV);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],s=n.cache;if(s.has(o))return s.get(o);var a=e.apply(this,r);return n.cache=s.set(o,a)||s,a};return n.cache=new(Bp.Cache||ly),n}Bp.Cache=ly;var cV=Bp,uV=cV,AV=500;function dV(e){var t=uV(e,function(r){return n.size===AV&&n.clear(),r}),n=t.cache;return t}var gV=dV,fV=gV,pV=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hV=/\\(\\)?/g,CV=fV(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(pV,function(n,r,o,s){t.push(o?s.replace(hV,"$1"):r||n)}),t}),mV=CV;function EV(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var cy=EV,wI=Yu,IV=cy,BV=Wu,vV=Ip,bV=1/0,TI=wI?wI.prototype:void 0,SI=TI?TI.toString:void 0;function uy(e){if(typeof e=="string")return e;if(BV(e))return IV(e,uy)+"";if(vV(e))return SI?SI.call(e):"";var t=e+"";return t=="0"&&1/e==-bV?"-0":t}var yV=uy,QV=yV;function xV(e){return e==null?"":QV(e)}var wV=xV,TV=Wu,SV=_9,PV=mV,RV=wV;function OV(e,t){return TV(e)?e:SV(e,t)?[e]:PV(RV(e))}var jV=OV,DV=Ip,MV=1/0;function kV(e){if(typeof e=="string"||DV(e))return e;var t=e+"";return t=="0"&&1/e==-MV?"-0":t}var FV=kV,LV=jV,NV=FV;function VV(e,t){t=LV(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[NV(t[n++])];return n&&n==r?e:void 0}var HV=VV,zV=HV;function WV(e,t,n){var r=e==null?void 0:zV(e,t);return r===void 0?n:r}var UV=WV;const YV=ro(UV);function Ay(e){var J,L;const{children:t,resource:n,source:r,label:o,disableActions:s=!1,disableAdd:a=!1,disableRemove:c=!1,enableClearAll:u=!1,className:A,empty:p,template:h={},inset:C}=e,[m,I]=Q.useState(!1),{fields:B,remove:v,replace:S,append:O}=j.useArrayInput(e),{resetField:x}=Ii.useFormContext(),R=bt(),P=ce.useTranslate(),k=ce.useRecordContext(e),F=Q.useRef(h||{}),G=ce.useTranslateLabel(),K=Q.useCallback(_=>{v(_)},[v]);if(B.length>0){const{..._}=B[0];F.current=_;for(const V in F.current)F.current[V]=null}const $=Q.useCallback((_=void 0)=>{let V=_;_==null&&(V=F.current,Q.Children.count(t)===1&&M.isValidElement(Q.Children.only(t))&&!Q.Children.only(t).props.source&&Q.Children.map(t,le=>M.isValidElement(le)&&le.type!==ce.FormDataConsumer).some(Boolean)?V="":(V=V||{},Q.Children.forEach(t,le=>{M.isValidElement(le)&&le.type!==ce.FormDataConsumer&&le.props.source&&(V[le.props.source]=le.props.defaultValue??null)})));const q={...V,...h};O(q),x(`${r}.${B.length}`,{defaultValue:V})},[O,t,x,r,B.length,h]),Y=_=>V=>{$(),_&&_(V)},ie=Q.useCallback(()=>{S([]),I(!1)},[S]),se=YV(k,r),X=Q.useMemo(()=>({total:B.length,remove:K,source:r}),[B.length,K,r]),Z=R.palette.mode==="dark"?R.palette.grey.A400:R.palette.grey.A800,H=B.length>0&&u;return B?g.jsx(Qf.Provider,{value:X,children:g.jsxs("div",{className:A,children:[M.cloneElement(g.jsx(GV,{}),{label:o,source:r,disableAdd:a,template:h,onClick:Y((L=(J=e==null?void 0:e.addButton)==null?void 0:J.props)==null?void 0:L.onClick),inset:C}),g.jsx(y.TableContainer,{component:y.Paper,sx:C===!0?{borderRadius:0}:{mt:2,border:`1px solid ${Z}`},children:g.jsxs(y.Table,{size:"small",children:[g.jsx(y.TableHead,{sx:C===!0?{}:{borderTop:0,borderBottom:`1px solid ${Z}`},children:g.jsxs(y.TableRow,{children:[Q.Children.map(t,(_,V)=>M.isValidElement(_)?g.jsx(y.TableCell,{children:g.jsx(y.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:G({..._.props,resource:n})})},V):null),!s&&(H?g.jsx(y.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:g.jsx(Bi,{horizontal:!0,children:g.jsx(y.Typography,{color:"error",onClick:()=>I(!0),children:P("ra.action.delete")})})},"actions"):g.jsx(y.TableCell,{},"empty_actions"))]})}),g.jsxs(y.TableBody,{children:[B.length===0&&g.jsx(y.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:g.jsx(y.TableCell,{colSpan:4+(s?0:1),align:"center",children:p||g.jsx(y.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),B.length>0&&B.map((_,V)=>g.jsx(y.TableRow,{sx:{borderBottom:`1px solid ${Z}}`},children:g.jsx(ry,{disableRemove:c,disableActions:s,index:V,member:`${r}.${V}`,onRemoveField:K,record:se&&se[V]||{},resource:n,source:r,children:t})},_.id))]})]})}),B.length>0&&g.jsx(j.Confirm,{isOpen:m,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:ie,onClose:()=>I(!1)})]})}):null}function GV(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=bt(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return g.jsxs(y.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&g.jsx(y.Typography,{children:t}),!n&&(M.isValidElement(e==null?void 0:e.addButton)?M.cloneElement(e==null?void 0:e.addButton,{onClick:r}):g.jsx(y.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:g.jsx(Ze.PlusCircleOutlined,{style:{color:c}})}))]})}const KV=Ae(Ay,{slot:"Root"})(({theme:e})=>({"& > div.MuiPaper-root":{overflowX:"auto",[e.breakpoints.down("sm")]:{width:`calc(100vw - ${e.spacing(8.25)})`}},[e.breakpoints.down("sm")]:{"& .MuiTableRow-root:last-child":{borderBottom:0}}}));function qV(e,t){const n=te.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=te.chain(n.media).clone().extend(o).value();return te.extend(n,{media:s})}case"updateDrawer":{const s=te.chain(n.drawer).clone().extend(o).value();return te.extend(n,{drawer:s})}case"updateLogo":{const s=te.chain(n.logo).clone().extend(o).value();return te.extend(n,{logo:s})}case"updateNotifications":{const s=te.chain(n.notifications).clone().extend(o).value();return te.extend(n,s)}case"updateTheme":{const s=te.chain(n.theme).clone().extend(o).value();return te.extend(n,{theme:s})}default:return n}}const JV={drawer:{open:!0,width:260,handleDrawerToggle:()=>{}},media:{downMd:!1,downLg:!1,downXl:!1,horizontal:!1},logo:{},notifications:{enable:!0,resource:"entities/notification"},theme:{iconColor:"grey.300",iconColorOpen:"grey.100"}},dy=Q.createContext(void 0);function gy(e){var K;const t=ce.useAuthProvider();console.log("authProvider: ",t);const n=ce.useGetIdentity(),r=y.useTheme(),o=y.useMediaQuery(r.breakpoints.down("md")),s=y.useMediaQuery(r.breakpoints.down("lg")),a=y.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,menuOrientation:A,drawerWidth:p}=Qn(),h=u(A)&&!s,{drawerOpen:C,openDrawer:m}=mi(),I=Q.useCallback(()=>{m(!C)},[C,m]),[B,v]=Q.useState(!1),[S,O]=Q.useReducer(qV,te.chain(JV).clone().merge({drawer:{open:!c||C}}).value()),x=Q.useCallback(()=>v(!1),[]),R=Q.useMemo(()=>({state:S,dispatch:O}),[S,O]),{logoIcon:P,logoMain:k,enableNotification:F,notification:G}=e;return Q.useEffect(()=>{O({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:h}})},[A,o,s,a]),Q.useEffect(()=>{O({type:"updateDrawer",payload:{open:C,width:p,handleDrawerToggle:I}})},[C,p,I]),Q.useEffect(()=>{c||m(!a)},[a,c]),Q.useEffect(()=>{O({type:"updateLogo",payload:{main:k,icon:P}})},[P,k]),Q.useEffect(()=>{O({type:"updateNotifications",payload:{enable:F,resource:G??"entities/notification"}})},[F,G]),Q.useEffect(()=>{O({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),Q.useEffect(()=>{if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then($=>{var Y;v(!$&&((Y=n==null?void 0:n.data)==null?void 0:Y.needToChangePassword)===!0)})},[(K=n==null?void 0:n.data)==null?void 0:K.needToChangePassword,t]),g.jsxs(dy.Provider,{value:R,children:[g.jsx(y.Dialog,{open:B,maxWidth:"xs",fullWidth:!0,children:g.jsx(fp,{onSuccess:x,firstAccess:!0})}),e.children]})}function fy(e){return Q.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return g.jsx(gy,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:g.jsx(e,{ref:n,...t})})})}function vp(){const e=Q.useContext(dy);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function XV(){return vp().dispatch}function Ms(){return vp().state}function Nn(){return Ms().media}function Ti(){return Ms().drawer}function py(){return Ms().logo}function Zu(){return Ms().notifications}function ZV(){return Ms().theme}const _V={ml:{xs:0,lg:-2}};function hy(){const{open:e,handleDrawerToggle:t}=Ti();return g.jsx(Rs,{value:"drawer","aria-label":"open drawer",sx:_V,onChange:t,selected:e,children:e?g.jsx(Ze.MenuFoldOutlined,{}):g.jsx(Ze.MenuUnfoldOutlined,{})})}function Cy(e){const t=Q.useRef(),n=y.useTheme(),{downLg:r,horizontal:o}=Nn(),{open:s,width:a}=Ti(),c=r?y.AppBar:TB,u=Er(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}}),A={position:"fixed",color:"inherit",elevation:0,sx:u};return r||te.extend(A,{open:s}),g.jsx(c,{ref:t,...A,children:g.jsxs(y.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&g.jsx(hy,{}),e.children]})})}function $V(e){const t=y.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Zu(),c=ce.useNotify(),u=ce.useRedirect(),[A]=ce.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{n!=null&&n.resource?n!=null&&n.resource.startsWith("/")?(u(n==null?void 0:n.resource),r()):(r(),document.location.href=n==null?void 0:n.resource):r()},onFailure:()=>{c("resources.notifications.messages.readed.error","warning")}}),p=Q.useCallback(()=>A(),[A]),[h]=ce.useLocaleState(),C=Q.useMemo(()=>Pr(n.created).locale(h).fromNow(),[n,h]);return g.jsx(y.ListItem,{disablePadding:!0,divider:s,children:g.jsxs(y.ListItemButton,{selected:o,onClick:p,children:[g.jsx(y.ListItemAvatar,{children:g.jsx(y.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:g.jsx(Ze.MessageOutlined,{})})}),g.jsx(y.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),g.jsx(y.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),g.jsx(y.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:C,primaryTypographyProps:{variant:"caption"}})]})})}const eH={width:36,height:36,fontSize:"1rem"},tH={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function my(){const{enable:e}=Zu();return e?g.jsx(nH,{}):null}function nH(){const e=ce.useTranslate(),t=y.useTheme(),n=ce.useRefresh(),r=ce.useNotify(),{downMd:o}=Nn(),{resource:s}=Zu(),[a,c]=Q.useState([]),{data:u,isLoading:A}=ce.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),p=a.filter(O=>O.readed===null).length,{open:h,anchorEl:C,handleClose:m,handleToggle:I}=Ru();Q.useEffect(()=>{!A&&u&&c(u??[])},[u,A]);const B=a.filter(O=>!O.readed).map(O=>O.id),[v]=ce.useUpdateMany(s,{ids:B,data:{readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),S=Q.useCallback(()=>{v()},[v]);return g.jsxs(g.Fragment,{children:[g.jsx(Rs,{value:"notifications",selected:h,onChange:I,children:g.jsx(y.Badge,{badgeContent:p,color:"primary",children:g.jsx(Ze.BellOutlined,{})})}),g.jsx(y.Popper,{placement:o?"bottom":"bottom-end",open:h,anchorEl:C,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:O})=>g.jsx(Do,{type:"grow",position:o?"top":"top-right",in:h,...O,children:g.jsx(y.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:g.jsx(y.ClickAwayListener,{onClickAway:m,children:g.jsxs(er,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:g.jsx(g.Fragment,{children:p>0&&g.jsx(y.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:S,children:g.jsx(Ps,{color:"success",size:"small",children:g.jsx(Ze.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[g.jsx(y.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":eH,"& .MuiListItemSecondaryAction-root":{...tH,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((x,R)=>g.jsx($V,{selected:p>0,notification:x,onClick:m,divider:R<a.length-1},x.id))}),g.jsx(y.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:Ct.Link,onClick:m,children:g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),g.jsx(y.Divider,{})]})})})})})]})}const rH=()=>{const[e,t]=Q.useState(!1),n=Q.useCallback(()=>t(!1),[t]),r=Q.useCallback(()=>t(!0),[t]),o=ce.useTranslate();return g.jsxs(Q.Fragment,{children:[g.jsxs(y.ListItemButton,{onClick:r,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.Key,{})}),g.jsx(y.ListItemText,{primary:o("ra.auth.change_password")})]}),g.jsx(y.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:g.jsx(fp,{onSuccess:n})})]})},oH=()=>{const e=ce.useLogout(),t=ce.useTranslate();return g.jsx(Q.Fragment,{children:g.jsxs(y.ListItemButton,{onClick:e,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.LogoutOutlined,{})}),g.jsx(y.ListItemText,{primary:t("ra.auth.logout")})]})})},iH=()=>{const e=ce.useTranslate(),t=ce.useAuthProvider(),n=Q.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t==null?void 0:t.stopImpersonating]),[r,o]=Q.useState(!1);return Q.useEffect(()=>{if(!t.isImpersonating){console.warn("The authProvider does not support the isImpersonating feature",t);return}t.isImpersonating().then(s=>o(s))},[t,o]),r?g.jsx(Q.Fragment,{children:g.jsxs(y.ListItemButton,{onClick:n,children:[g.jsx(y.ListItemIcon,{children:g.jsx(rr.LogoutOutlined,{})}),g.jsx(y.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null};function Ey(){var m;const e=y.useTheme(),t=ce.useDataProvider(),n=ce.useAuthProvider(),{identity:r}=ce.useGetIdentity(),o=r!==void 0&&r.image&&r.image!==null&&r.image!=="",[s,a]=Q.useState(null),{open:c,anchorEl:u,handleToggle:A,handleClose:p}=Ru(),h=ce.useLogout(),C=Q.useCallback(()=>{h()},[n,h]);return Q.useEffect(()=>{o&&t.getFile("/profile/me/image").then(I=>a(I))},[t,o]),g.jsxs(g.Fragment,{children:[g.jsx(Rs,{sx:{p:.25,width:"auto"},onClick:A,value:"profile",selected:c,children:g.jsxs(y.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[g.jsx(ka,{alt:(m=r==null?void 0:r.name)==null?void 0:m.toUpperCase(),src:s,size:"xs"}),g.jsx(y.Typography,{variant:"subtitle1",children:r==null?void 0:r.name})]})}),g.jsx(pr.Popper,{placement:"bottom-end",open:c,anchorEl:u,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:I})=>{var B;return g.jsx(Do,{type:"grow",position:"top-right",in:c,...I,children:g.jsx(y.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:g.jsx(y.ClickAwayListener,{onClickAway:p,children:g.jsxs(er,{elevation:0,border:!1,content:!1,children:[g.jsx(y.CardContent,{sx:{px:2.5,pt:3},children:g.jsxs(y.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[g.jsx(y.Grid,{item:!0,children:g.jsxs(y.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[g.jsx(ka,{alt:"profile user",src:s,sx:{width:32,height:32}}),g.jsxs(y.Stack,{children:[g.jsx(y.Typography,{variant:"h6",children:r==null?void 0:r.name}),g.jsx(y.Typography,{variant:"body2",color:"textSecondary",children:(B=r==null?void 0:r.roles)==null?void 0:B.map(v=>v.name.replace("ROLE_","")).join(",")})]})]})}),g.jsx(y.Grid,{item:!0,children:g.jsx(y.Tooltip,{title:"Logout",children:g.jsx(Ps,{size:"large",sx:{color:"text.primary"},onClick:C,children:g.jsx(Ze.LogoutOutlined,{})})})})]})}),g.jsx(y.Grid,{container:!0,children:g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[g.jsx(rH,{}),g.jsx(oH,{}),g.jsx(iH,{})]})})})]})})})})}})]})}const Iy=e=>{const t=bt(),{downMd:n}=Nn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ru();return n?g.jsxs(g.Fragment,{children:[g.jsx(Rs,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:g.jsx(Ze.MoreOutlined,{})}),g.jsx(y.Popper,{placement:"bottom-end",open:r,anchorEl:o,role:void 0,transition:!0,disablePortal:!0,style:{width:"100%"},popperOptions:{modifiers:[{name:"offset",options:{offset:[0,9]}}]},children:({TransitionProps:c})=>g.jsx(Do,{type:"fade",in:r,...c,children:g.jsx(y.Paper,{sx:{boxShadow:t.customShadows.z1},children:g.jsx(y.ClickAwayListener,{onClickAway:a,children:g.jsx(y.AppBar,{color:"inherit",children:g.jsx(y.Toolbar,{children:e.children})})})})})})]}):g.jsx(g.Fragment,{children:e.children})};function By(e){return g.jsx(y.Box,{...e,flex:1})}function bp(e){const{name:t,version:n,copy:r="© Applica Software Guru for"}=e;return g.jsx(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{p:"24px 16px 0px",mt:"auto"},children:g.jsxs(y.Typography,{variant:"caption",children:[g.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}var vy={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(vy);var _u=vy.exports,_d={};const sH=pO(o6);var PI;function $u(){return PI||(PI=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=sH}(_d)),_d}function by(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=by(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function yy(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=by(e))&&(r&&(r+=" "),r+=t);return r}var aH="__lodash_hash_undefined__";function lH(e){return this.__data__.set(e,aH),this}var cH=lH;function uH(e){return this.__data__.has(e)}var AH=uH,dH=ay,gH=cH,fH=AH;function ru(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new dH;++t<n;)this.add(e[t])}ru.prototype.add=ru.prototype.push=gH;ru.prototype.has=fH;var Qy=ru;function pH(e,t){return e.has(t)}var xy=pH;function hH(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wy=hH;function CH(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var mH=CH,EH=Ep,IH=Gu,BH="[object Arguments]";function vH(e){return IH(e)&&EH(e)==BH}var bH=vH,RI=bH,yH=Gu,Ty=Object.prototype,QH=Ty.hasOwnProperty,xH=Ty.propertyIsEnumerable,wH=RI(function(){return arguments}())?RI:function(e){return yH(e)&&QH.call(e,"callee")&&!xH.call(e,"callee")},TH=wH,SH=9007199254740991;function PH(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SH}var RH=PH;function OH(e){return function(t){return e(t)}}var jH=OH,DH=sy,MH=RH;function kH(e){return e!=null&&MH(e.length)&&!DH(e)}var FH=kH,LH=Ku,NH=Uu,VH=LH(NH,"Set"),HH=VH,zH=Ku,WH=function(){try{var e=zH(Object,"defineProperty");return e({},"",{}),e}catch{}}(),UH=WH,YH=FH,GH=Gu;function KH(e){return GH(e)&&YH(e)}var Sy=KH;function qH(e){return e}var Py=qH;function JH(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var XH=JH,ZH=XH,OI=Math.max;function _H(e,t,n){return t=OI(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=OI(r.length-t,0),a=Array(s);++o<s;)a[o]=r[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=r[o];return c[t]=n(a),ZH(e,this,c)}}var $H=_H;function ez(e){return function(){return e}}var tz=ez,nz=tz,jI=UH,rz=Py,oz=jI?function(e,t){return jI(e,"toString",{configurable:!0,enumerable:!1,value:nz(t),writable:!0})}:rz,iz=oz,sz=800,az=16,lz=Date.now;function cz(e){var t=0,n=0;return function(){var r=lz(),o=az-(r-n);if(n=r,o>0){if(++t>=sz)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var uz=cz,Az=iz,dz=uz,gz=dz(Az),fz=gz,pz=Py,hz=$H,Cz=fz;function mz(e,t){return Cz(hz(e,t,pz),e+"")}var Ry=mz,Ug=globalThis&&globalThis.__assign||function(){return Ug=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ug.apply(this,arguments)},Ez=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},gc,$d,Oy=function(e){var t=e.className,n=e.onClick,r=e.sx,o=Ez(e,["className","onClick","sx"]),s=ce.useLoading(),a=bt();return M.createElement(Iz,{className:t,sx:r},M.createElement(iQ,{className:"".concat(gs.loadedIcon," ").concat(s&&gs.loadedLoading),onClick:n}),s&&M.createElement(dp,Ug({className:yy("app-loader",gs.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};Oy.propTypes={classes:f.object,className:f.string,width:f.string};var Tc="RaLoadingIndicator",gs={loader:"".concat(Tc,"-loader"),loadedLoading:"".concat(Tc,"-loadedLoading"),loadedIcon:"".concat(Tc,"-loadedIcon")},Iz=Ae("div",{name:Tc,overridesResolver:function(e,t){return t.root}})((gc={position:"relative"},gc["& .".concat(gs.loadedIcon)]=($d={},$d["&.".concat(gs.loadedLoading)]={opacity:0},$d),gc["& .".concat(gs.loader)]={position:"absolute",top:"30%",left:"30%"},gc));const yp=e=>e.scrollTop;function vs(e,t){var n,r;const{timeout:o,easing:s,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof s=="object"?s[t.mode]:s,delay:a.transitionDelay}}const Bz=["addEndListener","appear","children","container","direction","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function vz(e,t,n){const r=t.getBoundingClientRect(),o=n&&n.getBoundingClientRect(),s=Ts(t);let a;if(t.fakeTransform)a=t.fakeTransform;else{const A=s.getComputedStyle(t);a=A.getPropertyValue("-webkit-transform")||A.getPropertyValue("transform")}let c=0,u=0;if(a&&a!=="none"&&typeof a=="string"){const A=a.split("(")[1].split(")")[0].split(",");c=parseInt(A[4],10),u=parseInt(A[5],10)}return e==="left"?o?`translateX(${o.right+c-r.left}px)`:`translateX(${s.innerWidth+c-r.left}px)`:e==="right"?o?`translateX(-${r.right-o.left-c}px)`:`translateX(-${r.left+r.width-c}px)`:e==="up"?o?`translateY(${o.bottom+u-r.top}px)`:`translateY(${s.innerHeight+u-r.top}px)`:o?`translateY(-${r.top-o.top+r.height-u}px)`:`translateY(-${r.top+r.height-u}px)`}function jy(e){return typeof e=="function"?e():e}function fc(e,t,n){const r=jy(n),o=vz(e,t,r);o&&(t.style.webkitTransform=o,t.style.transform=o)}const Dy=M.forwardRef(function(t,n){const r=bt(),o={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},s={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:c=!0,children:u,container:A,direction:p="down",easing:h=o,in:C,onEnter:m,onEntered:I,onEntering:B,onExit:v,onExited:S,onExiting:O,style:x,timeout:R=s,TransitionComponent:P=ap}=t,k=Ne(t,Bz),F=M.useRef(null),G=kn(u.ref,F,n),K=L=>_=>{L&&(_===void 0?L(F.current):L(F.current,_))},$=K((L,_)=>{fc(p,L,A),yp(L),m&&m(L,_)}),Y=K((L,_)=>{const V=vs({timeout:R,style:x,easing:h},{mode:"enter"});L.style.webkitTransition=r.transitions.create("-webkit-transform",z({},V)),L.style.transition=r.transitions.create("transform",z({},V)),L.style.webkitTransform="none",L.style.transform="none",B&&B(L,_)}),ie=K(I),se=K(O),X=K(L=>{const _=vs({timeout:R,style:x,easing:h},{mode:"exit"});L.style.webkitTransition=r.transitions.create("-webkit-transform",_),L.style.transition=r.transitions.create("transform",_),fc(p,L,A),v&&v(L)}),Z=K(L=>{L.style.webkitTransition="",L.style.transition="",S&&S(L)}),H=L=>{a&&a(F.current,L)},J=M.useCallback(()=>{F.current&&fc(p,F.current,A)},[p,A]);return M.useEffect(()=>{if(C||p==="down"||p==="right")return;const L=D0(()=>{F.current&&fc(p,F.current,A)}),_=Ts(F.current);return _.addEventListener("resize",L),()=>{L.clear(),_.removeEventListener("resize",L)}},[p,C,A]),M.useEffect(()=>{C||J()},[C,J]),g.jsx(P,z({nodeRef:F,onEnter:$,onEntered:ie,onEntering:Y,onExit:X,onExited:Z,onExiting:se,addEndListener:H,appear:c,in:C,timeout:R},k,{children:(L,_)=>M.cloneElement(u,z({ref:G,style:z({visibility:L==="exited"&&!C?"hidden":void 0},x,u.props.style)},_))}))});process.env.NODE_ENV!=="production"&&(Dy.propTypes={addEndListener:f.func,appear:f.bool,children:ws.isRequired,container:Or(f.oneOfType([hi,f.func]),e=>{if(e.open){const t=jy(e.container);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `container` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
206
206
|
`))}else if(!t||typeof t.getBoundingClientRect!="function"||t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `container` prop provided to the component is invalid.","It should be an HTML element instance."].join(`
|
|
207
207
|
`))}return null}),direction:f.oneOf(["down","left","right","up"]),easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});const bz=Dy;function yz(e){return typeof e=="string"}function Qz(e,t,n){return e===void 0||yz(e)?t:z({},t,{ownerState:z({},t.ownerState,n)})}const xz={disableDefaultClasses:!1},wz=M.createContext(xz);function Tz(e){const{disableDefaultClasses:t}=M.useContext(wz);return n=>t?"":e(n)}function My(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Sz(e,t,n){return typeof e=="function"?e(t,n):e}function DI(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Pz(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const m=Ge(o==null?void 0:o.className,r==null?void 0:r.className,s,n==null?void 0:n.className),I=z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),B=z({},n,o,r);return m.length>0&&(B.className=m),Object.keys(I).length>0&&(B.style=I),{props:B,internalRef:void 0}}const a=My(z({},o,r)),c=DI(r),u=DI(o),A=t(a),p=Ge(A==null?void 0:A.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),h=z({},A==null?void 0:A.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),C=z({},A,n,u,c);return p.length>0&&(C.className=p),Object.keys(h).length>0&&(C.style=h),{props:C,internalRef:A.ref}}const Rz=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Oz(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ne(e,Rz),c=s?{}:Sz(r,o),{props:u,internalRef:A}=Pz(z({},a,{externalSlotProps:c})),p=kn(A,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return Qz(n,z({},u,{ref:p}),o)}function jz(e){const t=hr(e);return t.body===e?Ts(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function xa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function MI(e){return parseInt(Ts(e).getComputedStyle(e).paddingRight,10)||0}function Dz(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function kI(e,t,n,r,o){const s=[t,n,...r];[].forEach.call(e.children,a=>{const c=s.indexOf(a)===-1,u=!Dz(a);c&&u&&xa(a,o)})}function eg(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Mz(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(jz(r)){const a=JO(hr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${MI(r)+a}px`;const c=hr(r).querySelectorAll(".mui-fixed");[].forEach.call(c,u=>{n.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${MI(u)+a}px`})}let s;if(r.parentNode instanceof DocumentFragment)s=hr(r).body;else{const a=r.parentElement,c=Ts(r);s=(a==null?void 0:a.nodeName)==="HTML"&&c.getComputedStyle(a).overflowY==="scroll"?a:r}n.push({value:s.style.overflow,property:"overflow",el:s},{value:s.style.overflowX,property:"overflow-x",el:s},{value:s.style.overflowY,property:"overflow-y",el:s}),s.style.overflow="hidden"}return()=>{n.forEach(({value:s,el:a,property:c})=>{s?a.style.setProperty(c,s):a.style.removeProperty(c)})}}function kz(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Fz{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&xa(t.modalRef,!1);const o=kz(n);kI(n,t.mount,t.modalRef,o,!0);const s=eg(this.containers,a=>a.container===n);return s!==-1?(this.containers[s].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=eg(this.containers,s=>s.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=Mz(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=eg(this.containers,a=>a.modals.indexOf(t)!==-1),s=this.containers[o];if(s.modals.splice(s.modals.indexOf(t),1),this.modals.splice(r,1),s.modals.length===0)s.restore&&s.restore(),t.modalRef&&xa(t.modalRef,n),kI(s.container,t.mount,t.modalRef,s.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=s.modals[s.modals.length-1];a.modalRef&&xa(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function Lz(e){return typeof e=="function"?e():e}function Nz(e){return e?e.props.hasOwnProperty("in"):!1}const Vz=new Fz;function Hz(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Vz,closeAfterTransition:s=!1,onTransitionEnter:a,onTransitionExited:c,children:u,onClose:A,open:p,rootRef:h}=e,C=M.useRef({}),m=M.useRef(null),I=M.useRef(null),B=kn(I,h),[v,S]=M.useState(!p),O=Nz(u);let x=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(x=!1);const R=()=>hr(m.current),P=()=>(C.current.modalRef=I.current,C.current.mount=m.current,C.current),k=()=>{o.mount(P(),{disableScrollLock:r}),I.current&&(I.current.scrollTop=0)},F=Qo(()=>{const H=Lz(t)||R().body;o.add(P(),H),I.current&&k()}),G=M.useCallback(()=>o.isTopModal(P()),[o]),K=Qo(H=>{m.current=H,H&&(p&&G()?k():I.current&&xa(I.current,x))}),$=M.useCallback(()=>{o.remove(P(),x)},[x,o]);M.useEffect(()=>()=>{$()},[$]),M.useEffect(()=>{p?F():(!O||!s)&&$()},[p,$,O,s,F]);const Y=H=>J=>{var L;(L=H.onKeyDown)==null||L.call(H,J),!(J.key!=="Escape"||!G())&&(n||(J.stopPropagation(),A&&A(J,"escapeKeyDown")))},ie=H=>J=>{var L;(L=H.onClick)==null||L.call(H,J),J.target===J.currentTarget&&A&&A(J,"backdropClick")};return{getRootProps:(H={})=>{const J=My(e);delete J.onTransitionEnter,delete J.onTransitionExited;const L=z({},J,H);return z({role:"presentation"},L,{onKeyDown:Y(L),ref:B})},getBackdropProps:(H={})=>{const J=H;return z({"aria-hidden":!0},J,{onClick:ie(J),open:p})},getTransitionProps:()=>{const H=()=>{S(!1),a&&a()},J=()=>{S(!0),c&&c(),s&&$()};return{onEnter:mg(H,u==null?void 0:u.props.onEnter),onExited:mg(J,u==null?void 0:u.props.onExited)}},rootRef:B,portalRef:K,isTopModal:G,exited:v,hasTransition:O}}const zz=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Wz(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Uz(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Yz(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Uz(e))}function Gz(e){const t=[],n=[];return Array.from(e.querySelectorAll(zz)).forEach((r,o)=>{const s=Wz(r);s===-1||!Yz(r)||(s===0?t.push(r):n.push({documentOrder:o,tabIndex:s,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Kz(){return!0}function ou(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:s=Gz,isEnabled:a=Kz,open:c}=e,u=M.useRef(!1),A=M.useRef(null),p=M.useRef(null),h=M.useRef(null),C=M.useRef(null),m=M.useRef(!1),I=M.useRef(null),B=kn(t.ref,I),v=M.useRef(null);M.useEffect(()=>{!c||!I.current||(m.current=!n)},[n,c]),M.useEffect(()=>{if(!c||!I.current)return;const x=hr(I.current);return I.current.contains(x.activeElement)||(I.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
208
208
|
`)),I.current.setAttribute("tabIndex","-1")),m.current&&I.current.focus()),()=>{o||(h.current&&h.current.focus&&(u.current=!0,h.current.focus()),h.current=null)}},[c]),M.useEffect(()=>{if(!c||!I.current)return;const x=hr(I.current),R=F=>{v.current=F,!(r||!a()||F.key!=="Tab")&&x.activeElement===I.current&&F.shiftKey&&(u.current=!0,p.current&&p.current.focus())},P=()=>{const F=I.current;if(F===null)return;if(!x.hasFocus()||!a()||u.current){u.current=!1;return}if(F.contains(x.activeElement)||r&&x.activeElement!==A.current&&x.activeElement!==p.current)return;if(x.activeElement!==C.current)C.current=null;else if(C.current!==null)return;if(!m.current)return;let G=[];if((x.activeElement===A.current||x.activeElement===p.current)&&(G=s(I.current)),G.length>0){var K,$;const Y=!!((K=v.current)!=null&&K.shiftKey&&(($=v.current)==null?void 0:$.key)==="Tab"),ie=G[0],se=G[G.length-1];typeof ie!="string"&&typeof se!="string"&&(Y?se.focus():ie.focus())}else F.focus()};x.addEventListener("focusin",P),x.addEventListener("keydown",R,!0);const k=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&P()},50);return()=>{clearInterval(k),x.removeEventListener("focusin",P),x.removeEventListener("keydown",R,!0)}},[n,r,o,a,c,s]);const S=x=>{h.current===null&&(h.current=x.relatedTarget),m.current=!0,C.current=x.target;const R=t.props.onFocus;R&&R(x)},O=x=>{h.current===null&&(h.current=x.relatedTarget),m.current=!0};return g.jsxs(M.Fragment,{children:[g.jsx("div",{tabIndex:c?0:-1,onFocus:O,ref:A,"data-testid":"sentinelStart"}),M.cloneElement(t,{ref:B,onFocus:S}),g.jsx("div",{tabIndex:c?0:-1,onFocus:O,ref:p,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(ou.propTypes={children:ws,disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableRestoreFocus:f.bool,getTabbable:f.func,isEnabled:f.func,open:f.bool.isRequired});process.env.NODE_ENV!=="production"&&(ou["propTypes"]=pu(ou.propTypes));function qz(e){return typeof e=="function"?e():e}const La=M.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=M.useState(null),u=kn(M.isValidElement(r)?r.ref:null,n);if(ms(()=>{s||c(qz(o)||document.body)},[o,s]),ms(()=>{if(a&&!s)return Lc(n,a),()=>{Lc(n,null)}},[n,a,s]),s){if(M.isValidElement(r)){const A={ref:u};return M.cloneElement(r,A)}return g.jsx(M.Fragment,{children:r})}return g.jsx(M.Fragment,{children:a&&fO.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(La.propTypes={children:f.node,container:f.oneOfType([hi,f.func]),disablePortal:f.bool});process.env.NODE_ENV!=="production"&&(La["propTypes"]=pu(La.propTypes));const Jz=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Xz={entering:{opacity:1},entered:{opacity:1}},ky=M.forwardRef(function(t,n){const r=bt(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:s,appear:a=!0,children:c,easing:u,in:A,onEnter:p,onEntered:h,onEntering:C,onExit:m,onExited:I,onExiting:B,style:v,timeout:S=o,TransitionComponent:O=ap}=t,x=Ne(t,Jz),R=M.useRef(null),P=kn(R,c.ref,n),k=X=>Z=>{if(X){const H=R.current;Z===void 0?X(H):X(H,Z)}},F=k(C),G=k((X,Z)=>{yp(X);const H=vs({style:v,timeout:S,easing:u},{mode:"enter"});X.style.webkitTransition=r.transitions.create("opacity",H),X.style.transition=r.transitions.create("opacity",H),p&&p(X,Z)}),K=k(h),$=k(B),Y=k(X=>{const Z=vs({style:v,timeout:S,easing:u},{mode:"exit"});X.style.webkitTransition=r.transitions.create("opacity",Z),X.style.transition=r.transitions.create("opacity",Z),m&&m(X)}),ie=k(I),se=X=>{s&&s(R.current,X)};return g.jsx(O,z({appear:a,in:A,nodeRef:R,onEnter:G,onEntered:K,onEntering:F,onExit:Y,onExited:ie,onExiting:$,addEndListener:se,timeout:S},x,{children:(X,Z)=>M.cloneElement(c,z({style:z({opacity:0,visibility:X==="exited"&&!A?"hidden":void 0},Xz[X],v,c.props.style),ref:P},Z))}))});process.env.NODE_ENV!=="production"&&(ky.propTypes={addEndListener:f.func,appear:f.bool,children:ws.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});const Zz=ky;function _z(e){return Dt("MuiBackdrop",e)}Vt("MuiBackdrop",["root","invisible"]);const $z=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],eW=e=>{const{classes:t,invisible:n}=e;return nn({root:["root",n&&"invisible"]},_z,t)},tW=Ae("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>z({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Fy=M.forwardRef(function(t,n){var r,o,s;const a=Ht({props:t,name:"MuiBackdrop"}),{children:c,className:u,component:A="div",components:p={},componentsProps:h={},invisible:C=!1,open:m,slotProps:I={},slots:B={},TransitionComponent:v=Zz,transitionDuration:S}=a,O=Ne(a,$z),x=z({},a,{component:A,invisible:C}),R=eW(x),P=(r=I.root)!=null?r:h.root;return g.jsx(v,z({in:m,timeout:S},O,{children:g.jsx(tW,z({"aria-hidden":!0},P,{as:(o=(s=B.root)!=null?s:p.Root)!=null?o:A,className:Ge(R.root,u,P==null?void 0:P.className),ownerState:z({},x,P==null?void 0:P.ownerState),classes:R,ref:n,children:c}))}))});process.env.NODE_ENV!=="production"&&(Fy.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,components:f.shape({Root:f.elementType}),componentsProps:f.shape({root:f.object}),invisible:f.bool,open:f.bool.isRequired,slotProps:f.shape({root:f.object}),slots:f.shape({root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),TransitionComponent:f.elementType,transitionDuration:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});const nW=Fy;function rW(e){return Dt("MuiModal",e)}Vt("MuiModal",["root","hidden","backdrop"]);const oW=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],iW=e=>{const{open:t,exited:n,classes:r}=e;return nn({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},rW,r)},sW=Ae("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>z({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),aW=Ae(nW,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Ly=M.forwardRef(function(t,n){var r,o,s,a,c,u;const A=Ht({name:"MuiModal",props:t}),{BackdropComponent:p=aW,BackdropProps:h,className:C,closeAfterTransition:m=!1,children:I,container:B,component:v,components:S={},componentsProps:O={},disableAutoFocus:x=!1,disableEnforceFocus:R=!1,disableEscapeKeyDown:P=!1,disablePortal:k=!1,disableRestoreFocus:F=!1,disableScrollLock:G=!1,hideBackdrop:K=!1,keepMounted:$=!1,onBackdropClick:Y,open:ie,slotProps:se,slots:X}=A,Z=Ne(A,oW),H=z({},A,{closeAfterTransition:m,disableAutoFocus:x,disableEnforceFocus:R,disableEscapeKeyDown:P,disablePortal:k,disableRestoreFocus:F,disableScrollLock:G,hideBackdrop:K,keepMounted:$}),{getRootProps:J,getBackdropProps:L,getTransitionProps:_,portalRef:V,isTopModal:q,exited:le,hasTransition:pe}=Hz(z({},H,{rootRef:n})),de=z({},H,{exited:le}),ge=iW(de),he={};if(I.props.tabIndex===void 0&&(he.tabIndex="-1"),pe){const{onEnter:qe,onExited:fe}=_();he.onEnter=qe,he.onExited=fe}const Be=(r=(o=X==null?void 0:X.root)!=null?o:S.Root)!=null?r:sW,Ee=(s=(a=X==null?void 0:X.backdrop)!=null?a:S.Backdrop)!=null?s:p,Ce=(c=se==null?void 0:se.root)!=null?c:O.root,Ie=(u=se==null?void 0:se.backdrop)!=null?u:O.backdrop,xe=pr.useSlotProps({elementType:Be,externalSlotProps:Ce,externalForwardedProps:Z,getSlotProps:J,additionalProps:{ref:n,as:v},ownerState:de,className:Ge(C,Ce==null?void 0:Ce.className,ge==null?void 0:ge.root,!de.open&&de.exited&&(ge==null?void 0:ge.hidden))}),ue=pr.useSlotProps({elementType:Ee,externalSlotProps:Ie,additionalProps:h,getSlotProps:qe=>L(z({},qe,{onClick:fe=>{Y&&Y(fe),qe!=null&&qe.onClick&&qe.onClick(fe)}})),className:Ge(Ie==null?void 0:Ie.className,h==null?void 0:h.className,ge==null?void 0:ge.backdrop),ownerState:de});return!$&&!ie&&(!pe||le)?null:g.jsx(La,{ref:V,container:B,disablePortal:k,children:g.jsxs(Be,z({},xe,{children:[!K&&p?g.jsx(Ee,z({},ue)):null,g.jsx(ou,{disableEnforceFocus:R,disableAutoFocus:x,disableRestoreFocus:F,isEnabled:q,open:ie,children:M.cloneElement(I,he)})]}))})});process.env.NODE_ENV!=="production"&&(Ly.propTypes={BackdropComponent:f.elementType,BackdropProps:f.object,children:ws.isRequired,classes:f.object,className:f.string,closeAfterTransition:f.bool,component:f.elementType,components:f.shape({Backdrop:f.elementType,Root:f.elementType}),componentsProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),container:f.oneOfType([hi,f.func]),disableAutoFocus:f.bool,disableEnforceFocus:f.bool,disableEscapeKeyDown:f.bool,disablePortal:f.bool,disableRestoreFocus:f.bool,disableScrollLock:f.bool,hideBackdrop:f.bool,keepMounted:f.bool,onBackdropClick:f.func,onClose:f.func,onTransitionEnter:f.func,onTransitionExited:f.func,open:f.bool.isRequired,slotProps:f.shape({backdrop:f.oneOfType([f.func,f.object]),root:f.oneOfType([f.func,f.object])}),slots:f.shape({backdrop:f.elementType,root:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const lW=Ly;var Qp={},cW=_u;Object.defineProperty(Qp,"__esModule",{value:!0});var Ny=Qp.default=void 0,uW=cW($u()),AW=g;Ny=Qp.default=(0,uW.default)((0,AW.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"History");var xp={},dW=_u;Object.defineProperty(xp,"__esModule",{value:!0});var Vy=xp.default=void 0,gW=dW($u()),fW=g;Vy=xp.default=(0,gW.default)((0,fW.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings");var pW=function(e){var t=e.children,n=e.editor,r=e.preferenceKey,o=e.openButtonLabel,s=o===void 0?"ra.configurable.customize":o,a=e.sx,c="preferences.".concat(r),u=ce.usePreferencesEditor(),A=!!u,p=ce.useTranslate(),h=u||{},C=h.isEnabled,m=h.setEditor,I=h.preferenceKey,B=h.setPreferenceKey,v=c===I,S=Q.useRef(v),O=Q.useRef(null),x=Q.useState(!1),R=x[0],P=x[1];if(Q.useEffect(function(){S.current=v},[v]),Q.useEffect(function(){return function(){S.current&&(B&&B(null),m&&m(null))}},[m,B]),!A)return t;var k=function(){m(Q.cloneElement(n,{preferenceKey:c,key:c})),B(c)},F=function(){P(!0)},G=function(){P(!1)};return M.createElement(ce.PreferenceKeyContextProvider,{value:c},M.createElement(hW,{className:yy(Kr.root,C&&Kr.editMode,v&&Kr.editorActive),sx:a,ref:O,onMouseEnter:C?F:void 0,onMouseLeave:C?G:void 0},t),M.createElement(y.Popover,{open:C&&(R||v),sx:{pointerEvents:"none","& .MuiPaper-root":{pointerEvents:"auto",borderRadius:10,padding:"2px",lineHeight:0,backgroundColor:"warning.light",color:"warning.contrastText","&:hover":{cursor:"pointer"}}},anchorEl:O.current,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"center"},onClose:G,PaperProps:{elevation:1,onMouseEnter:F,onMouseLeave:G,title:p(s),onClick:k},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},M.createElement(Vy,{fontSize:"12px"})))},Sc="RaConfigurable",Kr={root:"".concat(Sc,"-root"),editMode:"".concat(Sc,"-editMode"),editorActive:"".concat(Sc,"-editorActive")},hW=Ae("span",{name:Sc,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative",display:"inline-block"},t["&.".concat(Kr.editMode)]={transition:n.transitions.create("outline"),outline:"".concat(y.alpha(n.palette.warning.main,.3)," solid 2px")},t["&.".concat(Kr.editMode,":hover ")]={outline:"".concat(y.alpha(n.palette.warning.main,.5)," solid 2px")},t["&.".concat(Kr.editMode,".").concat(Kr.editorActive," , &.").concat(Kr.editMode,".").concat(Kr.editorActive,":hover ")]={outline:"".concat(n.palette.warning.main," solid 2px")},t}),li=globalThis&&globalThis.__assign||function(){return li=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},li.apply(this,arguments)},CW=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},mW=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=CW(e,["title","defaultTitle","className"]),s=ce.usePreference()[0],a=ce.useTranslate(),c=ce.useRecordContext();return s?M.createElement("span",li({className:r},o),a(s,li(li({},c),{_:s}))):M.createElement("span",{className:r},t?typeof t=="string"?M.createElement("span",li({},o),a(t,{_:t})):t:M.createElement("span",li({},o),n))},iu=globalThis&&globalThis.__assign||function(){return iu=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},iu.apply(this,arguments)},EW=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},IW=function(){var e=ce.usePreferenceInput();return M.createElement("form",null,M.createElement(y.TextField,iu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},BW=function(e){var t=e.preferenceKey,n=EW(e,["preferenceKey"]),r=Ct.useLocation().pathname;return M.createElement(pW,{editor:M.createElement(IW,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},M.createElement(mW,iu({},n)))},Yg=globalThis&&globalThis.__assign||function(){return Yg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Yg.apply(this,arguments)},vW=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Hy=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=vW(e,["defaultTitle","title","preferenceKey"]),s=Q.useState(function(){return typeof document<"u"?document.getElementById("react-admin-title"):null}),a=s[0],c=s[1];return Q.useEffect(function(){c(function(u){var A=typeof document<"u"&&document.body.contains(u);return u&&A?u:typeof document<"u"?document.getElementById("react-admin-title"):null})},[]),a?(ce.warning(!t&&!n,"Missing title prop in <Title> element"),os.createPortal(M.createElement(BW,Yg({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},zy=f.oneOfType([f.string,f.element]);Hy.propTypes={defaultTitle:f.string,className:f.string,record:f.any,title:zy};var bW=function(e){var t=hs.useLocation().pathname,n=Q.useRef(t);Q.useEffect(function(){t!==n.current&&e()},[t,e])},yW=function(t,n){return t===void 0&&(t=[]),n===void 0&&(n=[]),t.length!==n.length||t.some(function(r,o){return!Object.is(r,n[o])})},FI={error:null},QW=function(e){sp(t,e);function t(){for(var r,o=arguments.length,s=new Array(o),a=0;a<o;a++)s[a]=arguments[a];return r=e.call.apply(e,[this].concat(s))||this,r.state=FI,r.resetErrorBoundary=function(){for(var c,u=arguments.length,A=new Array(u),p=0;p<u;p++)A[p]=arguments[p];r.props.onReset==null||(c=r.props).onReset.apply(c,A),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(FI)},n.componentDidCatch=function(o,s){var a,c;(a=(c=this.props).onError)==null||a.call(c,o,s)},n.componentDidUpdate=function(o,s){var a=this.state.error,c=this.props.resetKeys;if(a!==null&&s.error!==null&&yW(o.resetKeys,c)){var u,A;(u=(A=this.props).onResetKeysChange)==null||u.call(A,o.resetKeys,c),this.reset()}},n.render=function(){var o=this.state.error,s=this.props,a=s.fallbackRender,c=s.FallbackComponent,u=s.fallback;if(o!==null){var A={error:o,resetErrorBoundary:this.resetErrorBoundary};if(M.isValidElement(u))return u;if(typeof a=="function")return a(A);if(c)return M.createElement(c,A);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(M.Component),Gg=globalThis&&globalThis.__assign||function(){return Gg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Gg.apply(this,arguments)},xW=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},Wy=function(e){var t=e.className,n=e.loadingPrimary,r=n===void 0?"ra.page.loading":n,o=e.loadingSecondary,s=o===void 0?"ra.message.loading":o,a=xW(e,["className","loadingPrimary","loadingSecondary"]),c=ce.useTimeout(1e3),u=ce.useTranslate();return c?M.createElement(wW,Gg({className:t},a),M.createElement("div",{className:su.message},M.createElement(dp,{className:su.icon}),M.createElement(y.Typography,{variant:"h5",mt:3,color:"text.secondary"},u(r,{_:r})),M.createElement(y.Typography,{variant:"body2"},u(s,{_:s})))):null};Wy.propTypes={className:f.string,loadingPrimary:f.string,loadingSecondary:f.string};var Pc="RaLoading",su={root:"".concat(Pc,"-root"),icon:"".concat(Pc,"-icon"),message:"".concat(Pc,"-message")},wW=Ae("div",{name:Pc,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",height:"100%"},t["& .".concat(su.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(su.icon)]={width:"9em",height:"9em"},t});function TW(e){return Dt("MuiToolbar",e)}Vt("MuiToolbar",["root","gutters","regular","dense"]);const SW=["className","component","disableGutters","variant"],PW=e=>{const{classes:t,disableGutters:n,variant:r}=e;return nn({root:["root",!n&&"gutters",r]},TW,t)},RW=Ae("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>z({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),Uy=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiToolbar"}),{className:o,component:s="div",disableGutters:a=!1,variant:c="regular"}=r,u=Ne(r,SW),A=z({},r,{component:s,disableGutters:a,variant:c}),p=PW(A);return g.jsx(RW,z({as:s,className:Ge(p.root,o),ref:n,ownerState:A},u))});process.env.NODE_ENV!=="production"&&(Uy.propTypes={children:f.node,classes:f.object,className:f.string,component:f.elementType,disableGutters:f.bool,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),variant:f.oneOfType([f.oneOf(["dense","regular"]),f.string])});const OW=Uy;var wp={},jW=_u;Object.defineProperty(wp,"__esModule",{value:!0});var Yy=wp.default=void 0,DW=jW($u()),MW=g;Yy=wp.default=(0,DW.default)((0,MW.jsx)("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"}),"Refresh");const kW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Kg(e){return`scale(${e}, ${e**2})`}const FW={entering:{opacity:1,transform:Kg(1)},entered:{opacity:1,transform:"none"}},tg=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Tp=M.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:a,in:c,onEnter:u,onEntered:A,onEntering:p,onExit:h,onExited:C,onExiting:m,style:I,timeout:B="auto",TransitionComponent:v=ap}=t,S=Ne(t,kW),O=M.useRef(),x=M.useRef(),R=bt(),P=M.useRef(null),k=kn(P,s.ref,n),F=Z=>H=>{if(Z){const J=P.current;H===void 0?Z(J):Z(J,H)}},G=F(p),K=F((Z,H)=>{yp(Z);const{duration:J,delay:L,easing:_}=vs({style:I,timeout:B,easing:a},{mode:"enter"});let V;B==="auto"?(V=R.transitions.getAutoHeightDuration(Z.clientHeight),x.current=V):V=J,Z.style.transition=[R.transitions.create("opacity",{duration:V,delay:L}),R.transitions.create("transform",{duration:tg?V:V*.666,delay:L,easing:_})].join(","),u&&u(Z,H)}),$=F(A),Y=F(m),ie=F(Z=>{const{duration:H,delay:J,easing:L}=vs({style:I,timeout:B,easing:a},{mode:"exit"});let _;B==="auto"?(_=R.transitions.getAutoHeightDuration(Z.clientHeight),x.current=_):_=H,Z.style.transition=[R.transitions.create("opacity",{duration:_,delay:J}),R.transitions.create("transform",{duration:tg?_:_*.666,delay:tg?J:J||_*.333,easing:L})].join(","),Z.style.opacity=0,Z.style.transform=Kg(.75),h&&h(Z)}),se=F(C),X=Z=>{B==="auto"&&(O.current=setTimeout(Z,x.current||0)),r&&r(P.current,Z)};return M.useEffect(()=>()=>{clearTimeout(O.current)},[]),g.jsx(v,z({appear:o,in:c,nodeRef:P,onEnter:K,onEntered:$,onEntering:G,onExit:ie,onExited:se,onExiting:Y,addEndListener:X,timeout:B==="auto"?null:B},S,{children:(Z,H)=>M.cloneElement(s,z({style:z({opacity:0,transform:Kg(.75),visibility:Z==="exited"&&!c?"hidden":void 0},FW[Z],I,s.props.style),ref:k},H))}))});process.env.NODE_ENV!=="production"&&(Tp.propTypes={addEndListener:f.func,appear:f.bool,children:ws.isRequired,easing:f.oneOfType([f.shape({enter:f.string,exit:f.string}),f.string]),in:f.bool,onEnter:f.func,onEntered:f.func,onEntering:f.func,onExit:f.func,onExited:f.func,onExiting:f.func,style:f.object,timeout:f.oneOfType([f.oneOf(["auto"]),f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})])});Tp.muiSupportAuto=!0;const LI=Tp;var Bn="top",ir="bottom",sr="right",vn="left",Sp="auto",tl=[Bn,ir,sr,vn],bs="start",Na="end",LW="clippingParents",Gy="viewport",Aa="popper",NW="reference",NI=tl.reduce(function(e,t){return e.concat([t+"-"+bs,t+"-"+Na])},[]),Ky=[].concat(tl,[Sp]).reduce(function(e,t){return e.concat([t,t+"-"+bs,t+"-"+Na])},[]),VW="beforeRead",HW="read",zW="afterRead",WW="beforeMain",UW="main",YW="afterMain",GW="beforeWrite",KW="write",qW="afterWrite",JW=[VW,HW,zW,WW,UW,YW,GW,KW,qW];function Rr(e){return e?(e.nodeName||"").toLowerCase():null}function Ln(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ei(e){var t=Ln(e).Element;return e instanceof t||e instanceof Element}function tr(e){var t=Ln(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pp(e){if(typeof ShadowRoot>"u")return!1;var t=Ln(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function XW(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},s=t.elements[n];!tr(s)||!Rr(s)||(Object.assign(s.style,r),Object.keys(o).forEach(function(a){var c=o[a];c===!1?s.removeAttribute(a):s.setAttribute(a,c===!0?"":c)}))})}function ZW(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],s=t.attributes[r]||{},a=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=a.reduce(function(u,A){return u[A]="",u},{});!tr(o)||!Rr(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const _W={name:"applyStyles",enabled:!0,phase:"write",fn:XW,effect:ZW,requires:["computeStyles"]};function Sr(e){return e.split("-")[0]}var fi=Math.max,au=Math.min,ys=Math.round;function qg(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function qy(){return!/^((?!chrome|android).)*safari/i.test(qg())}function Qs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&tr(e)&&(o=e.offsetWidth>0&&ys(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ys(r.height)/e.offsetHeight||1);var a=Ei(e)?Ln(e):window,c=a.visualViewport,u=!qy()&&n,A=(r.left+(u&&c?c.offsetLeft:0))/o,p=(r.top+(u&&c?c.offsetTop:0))/s,h=r.width/o,C=r.height/s;return{width:h,height:C,top:p,right:A+h,bottom:p+C,left:A,x:A,y:p}}function Rp(e){var t=Qs(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Jy(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function no(e){return Ln(e).getComputedStyle(e)}function $W(e){return["table","td","th"].indexOf(Rr(e))>=0}function Fo(e){return((Ei(e)?e.ownerDocument:e.document)||window.document).documentElement}function eA(e){return Rr(e)==="html"?e:e.assignedSlot||e.parentNode||(Pp(e)?e.host:null)||Fo(e)}function VI(e){return!tr(e)||no(e).position==="fixed"?null:e.offsetParent}function eU(e){var t=/firefox/i.test(qg()),n=/Trident/i.test(qg());if(n&&tr(e)){var r=no(e);if(r.position==="fixed")return null}var o=eA(e);for(Pp(o)&&(o=o.host);tr(o)&&["html","body"].indexOf(Rr(o))<0;){var s=no(o);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return o;o=o.parentNode}return null}function nl(e){for(var t=Ln(e),n=VI(e);n&&$W(n)&&no(n).position==="static";)n=VI(n);return n&&(Rr(n)==="html"||Rr(n)==="body"&&no(n).position==="static")?t:n||eU(e)||t}function Op(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function wa(e,t,n){return fi(e,au(t,n))}function tU(e,t,n){var r=wa(e,t,n);return r>n?n:r}function Xy(){return{top:0,right:0,bottom:0,left:0}}function Zy(e){return Object.assign({},Xy(),e)}function _y(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var nU=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Zy(typeof t!="number"?t:_y(t,tl))};function rU(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Sr(n.placement),u=Op(c),A=[vn,sr].indexOf(c)>=0,p=A?"height":"width";if(!(!s||!a)){var h=nU(o.padding,n),C=Rp(s),m=u==="y"?Bn:vn,I=u==="y"?ir:sr,B=n.rects.reference[p]+n.rects.reference[u]-a[u]-n.rects.popper[p],v=a[u]-n.rects.reference[u],S=nl(s),O=S?u==="y"?S.clientHeight||0:S.clientWidth||0:0,x=B/2-v/2,R=h[m],P=O-C[p]-h[I],k=O/2-C[p]/2+x,F=wa(R,k,P),G=u;n.modifiersData[r]=(t={},t[G]=F,t.centerOffset=F-k,t)}}function oU(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Jy(t.elements.popper,o)&&(t.elements.arrow=o))}const iU={name:"arrow",enabled:!0,phase:"main",fn:rU,effect:oU,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xs(e){return e.split("-")[1]}var sU={top:"auto",right:"auto",bottom:"auto",left:"auto"};function aU(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ys(n*o)/o||0,y:ys(r*o)/o||0}}function HI(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,A=e.adaptive,p=e.roundOffsets,h=e.isFixed,C=a.x,m=C===void 0?0:C,I=a.y,B=I===void 0?0:I,v=typeof p=="function"?p({x:m,y:B}):{x:m,y:B};m=v.x,B=v.y;var S=a.hasOwnProperty("x"),O=a.hasOwnProperty("y"),x=vn,R=Bn,P=window;if(A){var k=nl(n),F="clientHeight",G="clientWidth";if(k===Ln(n)&&(k=Fo(n),no(k).position!=="static"&&c==="absolute"&&(F="scrollHeight",G="scrollWidth")),k=k,o===Bn||(o===vn||o===sr)&&s===Na){R=ir;var K=h&&k===P&&P.visualViewport?P.visualViewport.height:k[F];B-=K-r.height,B*=u?1:-1}if(o===vn||(o===Bn||o===ir)&&s===Na){x=sr;var $=h&&k===P&&P.visualViewport?P.visualViewport.width:k[G];m-=$-r.width,m*=u?1:-1}}var Y=Object.assign({position:c},A&&sU),ie=p===!0?aU({x:m,y:B},Ln(n)):{x:m,y:B};if(m=ie.x,B=ie.y,u){var se;return Object.assign({},Y,(se={},se[R]=O?"0":"",se[x]=S?"0":"",se.transform=(P.devicePixelRatio||1)<=1?"translate("+m+"px, "+B+"px)":"translate3d("+m+"px, "+B+"px, 0)",se))}return Object.assign({},Y,(t={},t[R]=O?B+"px":"",t[x]=S?m+"px":"",t.transform="",t))}function lU(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,s=n.adaptive,a=s===void 0?!0:s,c=n.roundOffsets,u=c===void 0?!0:c,A={placement:Sr(t.placement),variation:xs(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,HI(Object.assign({},A,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,HI(Object.assign({},A,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const cU={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lU,data:{}};var pc={passive:!0};function uU(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,s=o===void 0?!0:o,a=r.resize,c=a===void 0?!0:a,u=Ln(t.elements.popper),A=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&A.forEach(function(p){p.addEventListener("scroll",n.update,pc)}),c&&u.addEventListener("resize",n.update,pc),function(){s&&A.forEach(function(p){p.removeEventListener("scroll",n.update,pc)}),c&&u.removeEventListener("resize",n.update,pc)}}const AU={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uU,data:{}};var dU={left:"right",right:"left",bottom:"top",top:"bottom"};function Rc(e){return e.replace(/left|right|bottom|top/g,function(t){return dU[t]})}var gU={start:"end",end:"start"};function zI(e){return e.replace(/start|end/g,function(t){return gU[t]})}function jp(e){var t=Ln(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Dp(e){return Qs(Fo(e)).left+jp(e).scrollLeft}function fU(e,t){var n=Ln(e),r=Fo(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){s=o.width,a=o.height;var A=qy();(A||!A&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Dp(e),y:u}}function pU(e){var t,n=Fo(e),r=jp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=fi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=fi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Dp(e),u=-r.scrollTop;return no(o||n).direction==="rtl"&&(c+=fi(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Mp(e){var t=no(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function $y(e){return["html","body","#document"].indexOf(Rr(e))>=0?e.ownerDocument.body:tr(e)&&Mp(e)?e:$y(eA(e))}function Ta(e,t){var n;t===void 0&&(t=[]);var r=$y(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Ln(r),a=o?[s].concat(s.visualViewport||[],Mp(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Ta(eA(a)))}function Jg(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function hU(e,t){var n=Qs(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function WI(e,t,n){return t===Gy?Jg(fU(e,n)):Ei(t)?hU(t,n):Jg(pU(Fo(e)))}function CU(e){var t=Ta(eA(e)),n=["absolute","fixed"].indexOf(no(e).position)>=0,r=n&&tr(e)?nl(e):e;return Ei(r)?t.filter(function(o){return Ei(o)&&Jy(o,r)&&Rr(o)!=="body"}):[]}function mU(e,t,n,r){var o=t==="clippingParents"?CU(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,A){var p=WI(e,A,r);return u.top=fi(p.top,u.top),u.right=au(p.right,u.right),u.bottom=au(p.bottom,u.bottom),u.left=fi(p.left,u.left),u},WI(e,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function eQ(e){var t=e.reference,n=e.element,r=e.placement,o=r?Sr(r):null,s=r?xs(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Bn:u={x:a,y:t.y-n.height};break;case ir:u={x:a,y:t.y+t.height};break;case sr:u={x:t.x+t.width,y:c};break;case vn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var A=o?Op(o):null;if(A!=null){var p=A==="y"?"height":"width";switch(s){case bs:u[A]=u[A]-(t[p]/2-n[p]/2);break;case Na:u[A]=u[A]+(t[p]/2-n[p]/2);break}}return u}function Va(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,s=n.strategy,a=s===void 0?e.strategy:s,c=n.boundary,u=c===void 0?LW:c,A=n.rootBoundary,p=A===void 0?Gy:A,h=n.elementContext,C=h===void 0?Aa:h,m=n.altBoundary,I=m===void 0?!1:m,B=n.padding,v=B===void 0?0:B,S=Zy(typeof v!="number"?v:_y(v,tl)),O=C===Aa?NW:Aa,x=e.rects.popper,R=e.elements[I?O:C],P=mU(Ei(R)?R:R.contextElement||Fo(e.elements.popper),u,p,a),k=Qs(e.elements.reference),F=eQ({reference:k,element:x,strategy:"absolute",placement:o}),G=Jg(Object.assign({},x,F)),K=C===Aa?G:k,$={top:P.top-K.top+S.top,bottom:K.bottom-P.bottom+S.bottom,left:P.left-K.left+S.left,right:K.right-P.right+S.right},Y=e.modifiersData.offset;if(C===Aa&&Y){var ie=Y[o];Object.keys($).forEach(function(se){var X=[sr,ir].indexOf(se)>=0?1:-1,Z=[Bn,ir].indexOf(se)>=0?"y":"x";$[se]+=ie[Z]*X})}return $}function EU(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,s=n.rootBoundary,a=n.padding,c=n.flipVariations,u=n.allowedAutoPlacements,A=u===void 0?Ky:u,p=xs(r),h=p?c?NI:NI.filter(function(I){return xs(I)===p}):tl,C=h.filter(function(I){return A.indexOf(I)>=0});C.length===0&&(C=h);var m=C.reduce(function(I,B){return I[B]=Va(e,{placement:B,boundary:o,rootBoundary:s,padding:a})[Sr(B)],I},{});return Object.keys(m).sort(function(I,B){return m[I]-m[B]})}function IU(e){if(Sr(e)===Sp)return[];var t=Rc(e);return[zI(e),t,zI(t)]}function BU(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!0:a,u=n.fallbackPlacements,A=n.padding,p=n.boundary,h=n.rootBoundary,C=n.altBoundary,m=n.flipVariations,I=m===void 0?!0:m,B=n.allowedAutoPlacements,v=t.options.placement,S=Sr(v),O=S===v,x=u||(O||!I?[Rc(v)]:IU(v)),R=[v].concat(x).reduce(function(de,ge){return de.concat(Sr(ge)===Sp?EU(t,{placement:ge,boundary:p,rootBoundary:h,padding:A,flipVariations:I,allowedAutoPlacements:B}):ge)},[]),P=t.rects.reference,k=t.rects.popper,F=new Map,G=!0,K=R[0],$=0;$<R.length;$++){var Y=R[$],ie=Sr(Y),se=xs(Y)===bs,X=[Bn,ir].indexOf(ie)>=0,Z=X?"width":"height",H=Va(t,{placement:Y,boundary:p,rootBoundary:h,altBoundary:C,padding:A}),J=X?se?sr:vn:se?ir:Bn;P[Z]>k[Z]&&(J=Rc(J));var L=Rc(J),_=[];if(s&&_.push(H[ie]<=0),c&&_.push(H[J]<=0,H[L]<=0),_.every(function(de){return de})){K=Y,G=!1;break}F.set(Y,_)}if(G)for(var V=I?3:1,q=function(ge){var he=R.find(function(Be){var Ee=F.get(Be);if(Ee)return Ee.slice(0,ge).every(function(Ce){return Ce})});if(he)return K=he,"break"},le=V;le>0;le--){var pe=q(le);if(pe==="break")break}t.placement!==K&&(t.modifiersData[r]._skip=!0,t.placement=K,t.reset=!0)}}const vU={name:"flip",enabled:!0,phase:"main",fn:BU,requiresIfExists:["offset"],data:{_skip:!1}};function UI(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function YI(e){return[Bn,sr,ir,vn].some(function(t){return e[t]>=0})}function bU(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=Va(t,{elementContext:"reference"}),c=Va(t,{altBoundary:!0}),u=UI(a,r),A=UI(c,o,s),p=YI(u),h=YI(A);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:A,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}const yU={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:bU};function QU(e,t,n){var r=Sr(e),o=[vn,Bn].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,a=s[0],c=s[1];return a=a||0,c=(c||0)*o,[vn,sr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function xU(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=Ky.reduce(function(p,h){return p[h]=QU(h,t.rects,s),p},{}),c=a[t.placement],u=c.x,A=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=A),t.modifiersData[r]=a}const wU={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:xU};function TU(e){var t=e.state,n=e.name;t.modifiersData[n]=eQ({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const SU={name:"popperOffsets",enabled:!0,phase:"read",fn:TU,data:{}};function PU(e){return e==="x"?"y":"x"}function RU(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=o===void 0?!0:o,a=n.altAxis,c=a===void 0?!1:a,u=n.boundary,A=n.rootBoundary,p=n.altBoundary,h=n.padding,C=n.tether,m=C===void 0?!0:C,I=n.tetherOffset,B=I===void 0?0:I,v=Va(t,{boundary:u,rootBoundary:A,padding:h,altBoundary:p}),S=Sr(t.placement),O=xs(t.placement),x=!O,R=Op(S),P=PU(R),k=t.modifiersData.popperOffsets,F=t.rects.reference,G=t.rects.popper,K=typeof B=="function"?B(Object.assign({},t.rects,{placement:t.placement})):B,$=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),Y=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ie={x:0,y:0};if(k){if(s){var se,X=R==="y"?Bn:vn,Z=R==="y"?ir:sr,H=R==="y"?"height":"width",J=k[R],L=J+v[X],_=J-v[Z],V=m?-G[H]/2:0,q=O===bs?F[H]:G[H],le=O===bs?-G[H]:-F[H],pe=t.elements.arrow,de=m&&pe?Rp(pe):{width:0,height:0},ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Xy(),he=ge[X],Be=ge[Z],Ee=wa(0,F[H],de[H]),Ce=x?F[H]/2-V-Ee-he-$.mainAxis:q-Ee-he-$.mainAxis,Ie=x?-F[H]/2+V+Ee+Be+$.mainAxis:le+Ee+Be+$.mainAxis,xe=t.elements.arrow&&nl(t.elements.arrow),ue=xe?R==="y"?xe.clientTop||0:xe.clientLeft||0:0,qe=(se=Y==null?void 0:Y[R])!=null?se:0,fe=J+Ce-qe-ue,st=J+Ie-qe,zt=wa(m?au(L,fe):L,J,m?fi(_,st):_);k[R]=zt,ie[R]=zt-J}if(c){var ft,yt=R==="x"?Bn:vn,Ir=R==="x"?ir:sr,Et=k[P],pt=P==="y"?"height":"width",ct=Et+v[yt],kt=Et-v[Ir],Ft=[Bn,vn].indexOf(S)!==-1,Se=(ft=Y==null?void 0:Y[P])!=null?ft:0,ke=Ft?ct:Et-F[pt]-G[pt]-Se+$.altAxis,we=Ft?Et+F[pt]+G[pt]-Se-$.altAxis:kt,We=m&&Ft?tU(ke,Et,we):wa(m?ke:ct,Et,m?we:kt);k[P]=We,ie[P]=We-Et}t.modifiersData[r]=ie}}const OU={name:"preventOverflow",enabled:!0,phase:"main",fn:RU,requiresIfExists:["offset"]};function jU(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function DU(e){return e===Ln(e)||!tr(e)?jp(e):jU(e)}function MU(e){var t=e.getBoundingClientRect(),n=ys(t.width)/e.offsetWidth||1,r=ys(t.height)/e.offsetHeight||1;return n!==1||r!==1}function kU(e,t,n){n===void 0&&(n=!1);var r=tr(t),o=tr(t)&&MU(t),s=Fo(t),a=Qs(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Rr(t)!=="body"||Mp(s))&&(c=DU(t)),tr(t)?(u=Qs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Dp(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function FU(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function o(s){n.add(s.name);var a=[].concat(s.requires||[],s.requiresIfExists||[]);a.forEach(function(c){if(!n.has(c)){var u=t.get(c);u&&o(u)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||o(s)}),r}function LU(e){var t=FU(e);return JW.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function NU(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function VU(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var GI={placement:"bottom",modifiers:[],strategy:"absolute"};function KI(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function HU(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?GI:o;return function(c,u,A){A===void 0&&(A=s);var p={placement:"bottom",orderedModifiers:[],options:Object.assign({},GI,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},h=[],C=!1,m={state:p,setOptions:function(S){var O=typeof S=="function"?S(p.options):S;B(),p.options=Object.assign({},s,p.options,O),p.scrollParents={reference:Ei(c)?Ta(c):c.contextElement?Ta(c.contextElement):[],popper:Ta(u)};var x=LU(VU([].concat(r,p.options.modifiers)));return p.orderedModifiers=x.filter(function(R){return R.enabled}),I(),m.update()},forceUpdate:function(){if(!C){var S=p.elements,O=S.reference,x=S.popper;if(KI(O,x)){p.rects={reference:kU(O,nl(x),p.options.strategy==="fixed"),popper:Rp(x)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach(function($){return p.modifiersData[$.name]=Object.assign({},$.data)});for(var R=0;R<p.orderedModifiers.length;R++){if(p.reset===!0){p.reset=!1,R=-1;continue}var P=p.orderedModifiers[R],k=P.fn,F=P.options,G=F===void 0?{}:F,K=P.name;typeof k=="function"&&(p=k({state:p,options:G,name:K,instance:m})||p)}}}},update:NU(function(){return new Promise(function(v){m.forceUpdate(),v(p)})}),destroy:function(){B(),C=!0}};if(!KI(c,u))return m;m.setOptions(A).then(function(v){!C&&A.onFirstUpdate&&A.onFirstUpdate(v)});function I(){p.orderedModifiers.forEach(function(v){var S=v.name,O=v.options,x=O===void 0?{}:O,R=v.effect;if(typeof R=="function"){var P=R({state:p,name:S,instance:m,options:x}),k=function(){};h.push(P||k)}})}function B(){h.forEach(function(v){return v()}),h=[]}return m}}var zU=[AU,SU,cU,_W,wU,vU,OU,iU,yU],WU=HU({defaultModifiers:zU});function UU(e){return Dt("MuiPopper",e)}Vt("MuiPopper",["root"]);const YU=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],GU=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function KU(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function lu(e){return typeof e=="function"?e():e}function tA(e){return e.nodeType!==void 0}function qU(e){return!tA(e)}const JU=()=>nn({root:["root"]},Tz(UU)),XU={},ZU=M.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:A,placement:p,popperOptions:h,popperRef:C,slotProps:m={},slots:I={},TransitionProps:B}=t,v=Ne(t,YU),S=M.useRef(null),O=kn(S,n),x=M.useRef(null),R=kn(x,C),P=M.useRef(R);ms(()=>{P.current=R},[R]),M.useImperativeHandle(C,()=>x.current,[]);const k=KU(p,a),[F,G]=M.useState(k),[K,$]=M.useState(lu(o));M.useEffect(()=>{x.current&&x.current.forceUpdate()}),M.useEffect(()=>{o&&$(lu(o))},[o]),ms(()=>{if(!K||!A)return;const Z=L=>{G(L.placement)};if(process.env.NODE_ENV!=="production"&&K&&tA(K)&&K.nodeType===1){const L=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&L.top===0&&L.left===0&&L.right===0&&L.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
@@ -212,7 +212,7 @@ attempted value: ${a}
|
|
|
212
212
|
`))},[xe,yt,Ve])}const Ue=of(V),Qe=M.useRef(),Lt=M.useCallback(()=>{Qe.current!==void 0&&(document.body.style.WebkitUserSelect=Qe.current,Qe.current=void 0),clearTimeout(we.current)},[]);M.useEffect(()=>()=>{clearTimeout(Ft.current),clearTimeout(Se.current),clearTimeout(ke.current),Lt()},[Lt]);const Br=Ve=>{clearTimeout(ng),hc=!0,Te(!0),de&&!ut&&de(Ve)},cr=Qo(Ve=>{clearTimeout(ng),ng=setTimeout(()=>{hc=!1},800+q),Te(!1),pe&&ut&&pe(Ve),clearTimeout(Ft.current),Ft.current=setTimeout(()=>{ct.current=!1},zt.transitions.duration.shortest)}),Vo=Ve=>{ct.current&&Ve.type!=="touchstart"||(yt&&yt.removeAttribute("title"),clearTimeout(Se.current),clearTimeout(ke.current),H||hc&&J?Se.current=setTimeout(()=>{Br(Ve)},hc?J:H):Br(Ve))},Si=Ve=>{clearTimeout(Se.current),clearTimeout(ke.current),ke.current=setTimeout(()=>{cr(Ve)},q)},{isFocusVisibleRef:sl,onBlur:oA,onFocus:iA,ref:al}=af(),[,Ls]=M.useState(!1),ll=Ve=>{oA(Ve),sl.current===!1&&(Ls(!1),Si(Ve))},cl=Ve=>{yt||Ir(Ve.currentTarget),iA(Ve),sl.current===!0&&(Ls(!0),Vo(Ve))},ul=Ve=>{ct.current=!0;const Yt=st.props;Yt.onTouchStart&&Yt.onTouchStart(Ve)},Al=Vo,Ns=Si,sA=Ve=>{ul(Ve),clearTimeout(ke.current),clearTimeout(Ft.current),Lt(),Qe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",we.current=setTimeout(()=>{document.body.style.WebkitUserSelect=Qe.current,Vo(Ve)},L)},aA=Ve=>{st.props.onTouchEnd&&st.props.onTouchEnd(Ve),Lt(),clearTimeout(ke.current),ke.current=setTimeout(()=>{cr(Ve)},le)};M.useEffect(()=>{if(!ut)return;function Ve(Yt){(Yt.key==="Escape"||Yt.key==="Esc")&&cr(Yt)}return document.addEventListener("keydown",Ve),()=>{document.removeEventListener("keydown",Ve)}},[cr,ut]);const lA=kn(st.ref,al,Ir,n);!xe&&xe!==0&&(ut=!1);const Ho=M.useRef(),cA=Ve=>{const Yt=st.props;Yt.onMouseMove&&Yt.onMouseMove(Ve),da={x:Ve.clientX,y:Ve.clientY},Ho.current&&Ho.current.update()},jr={},Vs=typeof xe=="string";Y?(jr.title=!ut&&Vs&&!se?xe:null,jr["aria-describedby"]=ut?Ue:null):(jr["aria-label"]=Vs?xe:null,jr["aria-labelledby"]=ut&&!Vs?Ue:null);const An=z({},jr,fe,st.props,{className:Ge(fe.className,st.props.className),onTouchStart:ul,ref:lA},_?{onMouseMove:cA}:{});process.env.NODE_ENV!=="production"&&(An["data-mui-internal-clone-element"]=!0,M.useEffect(()=>{yt&&!yt.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
213
213
|
`))},[yt]));const zo={};Z||(An.onTouchStart=sA,An.onTouchEnd=aA),se||(An.onMouseOver=Cc(Al,An.onMouseOver),An.onMouseLeave=Cc(Ns,An.onMouseLeave),kt||(zo.onMouseOver=Al,zo.onMouseLeave=Ns)),ie||(An.onFocus=Cc(cl,An.onFocus),An.onBlur=Cc(ll,An.onBlur),kt||(zo.onFocus=cl,zo.onBlur=ll)),process.env.NODE_ENV!=="production"&&st.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${st.props.title}\` or the Tooltip component.`].join(`
|
|
214
214
|
`));const uA=M.useMemo(()=>{var Ve;let Yt=[{name:"arrow",enabled:!!Et,options:{element:Et,padding:4}}];return(Ve=Ee.popperOptions)!=null&&Ve.modifiers&&(Yt=Yt.concat(Ee.popperOptions.modifiers)),z({},Ee.popperOptions,{modifiers:Yt})},[Et,Ee]),Wo=z({},k,{isRtl:ft,arrow:F,disableInteractive:kt,placement:he,PopperComponentProp:Be,touch:ct.current}),Hs=oY(Wo),dl=(r=(o=Ie.popper)!=null?o:K.Popper)!=null?r:iY,gl=(s=(a=(c=Ie.transition)!=null?c:K.Transition)!=null?a:ue)!=null?s:LI,zs=(u=(A=Ie.tooltip)!=null?A:K.Tooltip)!=null?u:sY,fl=(p=(h=Ie.arrow)!=null?h:K.Arrow)!=null?p:aY,AA=pr.appendOwnerState(dl,z({},Ee,(C=Ce.popper)!=null?C:$.popper,{className:Ge(Hs.popper,Ee==null?void 0:Ee.className,(m=(I=Ce.popper)!=null?I:$.popper)==null?void 0:m.className)}),Wo),dA=pr.appendOwnerState(gl,z({},qe,(B=Ce.transition)!=null?B:$.transition),Wo),gA=pr.appendOwnerState(zs,z({},(v=Ce.tooltip)!=null?v:$.tooltip,{className:Ge(Hs.tooltip,(S=(O=Ce.tooltip)!=null?O:$.tooltip)==null?void 0:S.className)}),Wo),fA=pr.appendOwnerState(fl,z({},(x=Ce.arrow)!=null?x:$.arrow,{className:Ge(Hs.arrow,(R=(P=Ce.arrow)!=null?P:$.arrow)==null?void 0:R.className)}),Wo);return g.jsxs(M.Fragment,{children:[M.cloneElement(st,An),g.jsx(dl,z({as:Be??rQ,placement:he,anchorEl:_?{getBoundingClientRect:()=>({top:da.y,left:da.x,right:da.x,bottom:da.y,width:0,height:0})}:yt,popperRef:Ho,open:yt?ut:!1,id:Ue,transition:!0},zo,AA,{popperOptions:uA,children:({TransitionProps:Ve})=>g.jsx(gl,z({timeout:zt.transitions.duration.shorter},Ve,dA,{children:g.jsxs(zs,z({},gA,{children:[xe,F?g.jsx(fl,z({},fA,{ref:pt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(oQ.propTypes={arrow:f.bool,children:ws.isRequired,classes:f.object,className:f.string,components:f.shape({Arrow:f.elementType,Popper:f.elementType,Tooltip:f.elementType,Transition:f.elementType}),componentsProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),describeChild:f.bool,disableFocusListener:f.bool,disableHoverListener:f.bool,disableInteractive:f.bool,disableTouchListener:f.bool,enterDelay:f.number,enterNextDelay:f.number,enterTouchDelay:f.number,followCursor:f.bool,id:f.string,leaveDelay:f.number,leaveTouchDelay:f.number,onClose:f.func,onOpen:f.func,open:f.bool,placement:f.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:f.elementType,PopperProps:f.object,slotProps:f.shape({arrow:f.object,popper:f.object,tooltip:f.object,transition:f.object}),slots:f.shape({arrow:f.elementType,popper:f.elementType,tooltip:f.elementType,transition:f.elementType}),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),title:f.node,TransitionComponent:f.elementType,TransitionProps:f.object});const lY=oQ;var Xg=globalThis&&globalThis.__assign||function(){return Xg=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Xg.apply(this,arguments)},cY=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},iQ=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?uY:r,s=e.onClick,a=e.className,c=cY(e,["label","icon","onClick","className"]),u=ce.useRefresh(),A=ce.useTranslate(),p=Q.useCallback(function(h){h.preventDefault(),u(),typeof s=="function"&&s(h)},[u,s]);return M.createElement(lY,{title:n&&A(n,{_:"Refresh"})},M.createElement(Ap,Xg({"aria-label":n&&A(n,{_:"Refresh"}),className:a,color:"inherit",onClick:p},c),o))},uY=M.createElement(Yy,null);iQ.propTypes={className:f.string,label:f.string,icon:f.element};var qI=Yu,AY=TH,dY=Wu,JI=qI?qI.isConcatSpreadable:void 0;function gY(e){return dY(e)||AY(e)||!!(JI&&e&&e[JI])}var fY=gY,pY=mH,hY=fY;function sQ(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=hY),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?sQ(c,t-1,n,r,o):pY(o,c):r||(o[o.length]=c)}return o}var aQ=sQ;function CY(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}var mY=CY;function EY(e){return e!==e}var IY=EY;function BY(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var vY=BY,bY=mY,yY=IY,QY=vY;function xY(e,t,n){return t===t?QY(e,t,n):bY(e,yY,n)}var wY=xY,TY=wY;function SY(e,t){var n=e==null?0:e.length;return!!n&&TY(e,t,0)>-1}var lQ=SY;function PY(e,t,n){for(var r=-1,o=e==null?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}var cQ=PY;function RY(){}var OY=RY,rg=HH,jY=OY,DY=wy,MY=1/0,kY=rg&&1/DY(new rg([,-0]))[1]==MY?function(e){return new rg(e)}:jY,FY=kY,LY=Qy,NY=lQ,VY=cQ,HY=xy,zY=FY,WY=wy,UY=200;function YY(e,t,n){var r=-1,o=NY,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=VY;else if(s>=UY){var A=t?null:zY(e);if(A)return WY(A);a=!1,o=HY,u=new LY}else u=t?[]:c;e:for(;++r<s;){var p=e[r],h=t?t(p):p;if(p=n||p!==0?p:0,a&&h===h){for(var C=u.length;C--;)if(u[C]===h)continue e;t&&u.push(h),c.push(p)}else o(u,h,n)||(u!==c&&u.push(h),c.push(p))}return c}var GY=YY,KY=aQ,qY=Ry,JY=GY,XY=Sy,ZY=qY(function(e){return JY(KY(e,1,XY,!0))}),_Y=ZY;const $Y=ro(_Y);var eG=Qy,tG=lQ,nG=cQ,rG=cy,oG=jH,iG=xy,sG=200;function aG(e,t,n,r){var o=-1,s=tG,a=!0,c=e.length,u=[],A=t.length;if(!c)return u;n&&(t=rG(t,oG(n))),r?(s=nG,a=!1):t.length>=sG&&(s=iG,a=!1,t=new eG(t));e:for(;++o<c;){var p=e[o],h=n==null?p:n(p);if(p=r||p!==0?p:0,a&&h===h){for(var C=A;C--;)if(t[C]===h)continue e;u.push(p)}else s(t,h,r)||u.push(p)}return u}var lG=aG,cG=lG,uG=aQ,AG=Ry,XI=Sy,dG=AG(function(e,t){return XI(e)?cG(e,uG(t,1,XI,!0)):[]}),gG=dG;const fG=ro(gG);var kp={},pG=_u;Object.defineProperty(kp,"__esModule",{value:!0});var cu=kp.default=void 0,hG=pG($u()),CG=g;cu=kp.default=(0,hG.default)((0,CG.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function mG(e){return Dt("MuiCard",e)}Vt("MuiCard",["root"]);const EG=["className","raised"],IG=e=>{const{classes:t}=e;return nn({root:["root"]},mG,t)},BG=Ae(If,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),uQ=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiCard"}),{className:o,raised:s=!1}=r,a=Ne(r,EG),c=z({},r,{raised:s}),u=IG(c);return g.jsx(BG,z({className:Ge(u.root,o),elevation:s?8:void 0,ref:n,ownerState:c},a))});process.env.NODE_ENV!=="production"&&(uQ.propTypes={children:f.node,classes:f.object,className:f.string,raised:Or(f.bool,e=>e.raised&&e.variant==="outlined"?new Error('MUI: Combining `raised={true}` with `variant="outlined"` has no effect.'):null),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object])});const vG=uQ,AQ="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHVycdXVwFQTBHxBXFydFFynxvqTQIsYHl/dx3juH++4DhEaFqWZXFFA1y0jFY2I2tyr2vKIPo1QTCEjM1BPpxQw819c9fHy/i/As73t/rn4lbzLAJxJHmW5YxBvEs5uWznmfOMRKkkJ8TjxpUIPEj1yXXX7jXHRY4JkhI5OaJw4Ri8UOljuYlQyVeIY4rKga5QtZlxXOW5zVSo21+uQvDOa1lTTXqUYQxxISSEKEjBrKqMBChHaNFBMpOo95+Icdf5JcMrnKYORYQBUqJMcP/ge/Z2sWpqfcpGAM6H6x7Y8xoGcXaNZt+/vYtpsngP8ZuNLa/moDmPskvd7WwkfAwDZwcd3W5D3gcgcYetIlQ3IkP5VQKADvZ/RNOWDwFgisuXNrneP0AcjQrJZvgINDYLxI2ese7+7tnNu/d1rz+wG6i3LDQcXpPQAADXZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1s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IuMTAuMzYiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIgogICB4bXA6TWV0YWRhdGFEYXRlPSIyMDIzOjExOjMwVDEyOjQxOjMwKzAxOjAwIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMzoxMTozMFQxMjo0MTozMCswMTowMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjVkNGE4NzAxLWYzOTItNGVhOS04YzdlLWEwNzQ4ODE5ODIyYSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMy0xMS0zMFQxMjo0MTozMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5A30f8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5wseCykesp/dTgAAIABJREFUeNrsvXt0XGeZ5vt8e9e9dClJtuzYupQTEkjiJDIQOw0By4EQzJCOTNMkDsyJciAzNDAdmZk1Z4awxvJMN92nV9OyaWCaQ1h2GogcBtqGhHZMQmxjQsehg0VQCISOVZKvki2rdKl71f7OH7uqVKXaVSqpLqqSnt9aWrbqsmvr27v2s9/v/d7nBQghBbN2r1y9tk/ezJEghBBCKluwzWv65Ns5EoQQQkhlC7ZpdZ9s5UgQQgghlS3YFo4CIYQQUuG4+qSJo0AIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCC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2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";function bG(){window.history.go(-1)}function Fp(e){var p;const{error:t,errorComponent:n,errorInfo:r,resetErrorBoundary:o,title:s}=e,a=ce.useTranslate(),c=y.useTheme(),u=process.env.NODE_ENV==="production";bW(o);const A=Q.useCallback(()=>{bG()},[]);return n?g.jsx(n,{error:t,errorInfo:r,title:s}):g.jsx(y.Container,{children:g.jsxs(y.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[s&&g.jsx(Hy,{title:s}),g.jsx("img",{src:AQ,style:{width:"100%",maxWidth:450,marginTop:c.spacing(4)}}),g.jsx(y.Typography,{variant:"h2",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:a(u?"ra.page.error":t.message,{_:t.message})}),!u&&g.jsx(y.Typography,{variant:"caption",children:a("ra.message.error_more_info")}),r&&g.jsx(y.Typography,{variant:"body1",component:"pre",textAlign:u?"center":"start",fontFamily:u?"inherit":"monospace",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:u?a("ra.message.error"):((p=r==null?void 0:r.componentStack)==null?void 0:p.substring(0,250))+"..."}),g.jsx(y.Button,{variant:"contained",startIcon:g.jsx(Ny,{}),onClick:A,children:a("ra.action.back")})]})})}Fp.propTypes={className:f.string,error:f.object.isRequired,errorInfo:f.object,title:zy};function dQ(e){const{width:t}=Ti(),{horizontal:n}=Nn(),{container:r}=Qn(),[o,s]=Q.useState(null),a=(u,A)=>{s(A)},c=bt();return g.jsx(QW,{onError:a,fallbackRender:({error:u,resetErrorBoundary:A})=>g.jsx(Fp,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:A}),children:g.jsx(Q.Suspense,{fallback:g.jsx(Wy,{}),children:g.jsxs(y.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[g.jsx(y.Toolbar,{sx:{mt:n?8:"inherit"}})," ",g.jsx(y.Container,{maxWidth:r?"xl":!1,sx:{...r&&{px:{xs:0,sm:2}},position:"relative",minHeight:"calc(100vh - 110px)",display:"flex",flexDirection:"column",[c.breakpoints.down("sm")]:{px:"12px"}},children:e.children})]})})})}const gQ=Q.forwardRef((e,t)=>{const n=Er(e,{display:"flex",width:"100%"});return g.jsx(y.Box,{ref:t,...e,sx:n,children:e.children})});function yG(e){return Dt("MuiDrawer",e)}Vt("MuiDrawer",["root","docked","paper","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"]);const QG=["BackdropProps"],xG=["anchor","BackdropProps","children","className","elevation","hideBackdrop","ModalProps","onClose","open","PaperProps","SlideProps","TransitionComponent","transitionDuration","variant"],fQ=(e,t)=>{const{ownerState:n}=e;return[t.root,(n.variant==="permanent"||n.variant==="persistent")&&t.docked,t.modal]},wG=e=>{const{classes:t,anchor:n,variant:r}=e,o={root:["root"],docked:[(r==="permanent"||r==="persistent")&&"docked"],modal:["modal"],paper:["paper",`paperAnchor${Pe(n)}`,r!=="temporary"&&`paperAnchorDocked${Pe(n)}`]};return nn(o,yG,t)},TG=Ae(lW,{name:"MuiDrawer",slot:"Root",overridesResolver:fQ})(({theme:e})=>({zIndex:(e.vars||e).zIndex.drawer})),ZI=Ae("div",{shouldForwardProp:mf,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:fQ})({flex:"0 0 auto"}),SG=Ae(If,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`paperAnchor${Pe(n.anchor)}`],n.variant!=="temporary"&&t[`paperAnchorDocked${Pe(n.anchor)}`]]}})(({theme:e,ownerState:t})=>z({overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(e.vars||e).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},t.anchor==="left"&&{left:0},t.anchor==="top"&&{top:0,left:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="right"&&{right:0},t.anchor==="bottom"&&{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},t.anchor==="left"&&t.variant!=="temporary"&&{borderRight:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="top"&&t.variant!=="temporary"&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="right"&&t.variant!=="temporary"&&{borderLeft:`1px solid ${(e.vars||e).palette.divider}`},t.anchor==="bottom"&&t.variant!=="temporary"&&{borderTop:`1px solid ${(e.vars||e).palette.divider}`})),pQ={left:"right",right:"left",top:"down",bottom:"up"};function PG(e){return["left","right"].indexOf(e)!==-1}function RG(e,t){return e.direction==="rtl"&&PG(t)?pQ[t]:t}const hQ=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiDrawer"}),o=bt(),s={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{anchor:a="left",BackdropProps:c,children:u,className:A,elevation:p=16,hideBackdrop:h=!1,ModalProps:{BackdropProps:C}={},onClose:m,open:I=!1,PaperProps:B={},SlideProps:v,TransitionComponent:S=bz,transitionDuration:O=s,variant:x="temporary"}=r,R=Ne(r.ModalProps,QG),P=Ne(r,xG),k=M.useRef(!1);M.useEffect(()=>{k.current=!0},[]);const F=RG(o,a),K=z({},r,{anchor:a,elevation:p,open:I,variant:x},P),$=wG(K),Y=g.jsx(SG,z({elevation:x==="temporary"?p:0,square:!0},B,{className:Ge($.paper,B.className),ownerState:K,children:u}));if(x==="permanent")return g.jsx(ZI,z({className:Ge($.root,$.docked,A),ownerState:K,ref:n},P,{children:Y}));const ie=g.jsx(S,z({in:I,direction:pQ[F],timeout:O,appear:k.current},v,{children:Y}));return x==="persistent"?g.jsx(ZI,z({className:Ge($.root,$.docked,A),ownerState:K,ref:n},P,{children:ie})):g.jsx(TG,z({BackdropProps:z({},c,C,{transitionDuration:O}),className:Ge($.root,$.modal,A),open:I,ownerState:K,onClose:m,hideBackdrop:h,ref:n},P,R,{children:ie}))});process.env.NODE_ENV!=="production"&&(hQ.propTypes={anchor:f.oneOf(["bottom","left","right","top"]),BackdropProps:f.object,children:f.node,classes:f.object,className:f.string,elevation:Ia,hideBackdrop:f.bool,ModalProps:f.object,onClose:f.func,open:f.bool,PaperProps:f.object,SlideProps:f.object,sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),transitionDuration:f.oneOfType([f.number,f.shape({appear:f.number,enter:f.number,exit:f.number})]),variant:f.oneOf(["permanent","persistent","temporary"])});const OG=hQ,_I=(e,t)=>({width:t,borderRight:`1px solid ${e.palette.divider}`,transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.enteringScreen}),overflowX:"hidden",boxShadow:e.palette.mode==="dark"?e.customShadows.z1:"none"}),$I=e=>({transition:e.transitions.create("width",{easing:e.transitions.easing.sharp,duration:e.transitions.duration.leavingScreen}),overflowX:"hidden",width:e.spacing(7.5),borderRight:"none",boxShadow:e.customShadows.z1}),jG=Ae(OG,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Qn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{..._I(e,n),"& .MuiDrawer-paper":_I(e,n)},...!t&&{...$I(e),"& .MuiDrawer-paper":$I(e)}}}),CQ=Ae(y.Box,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>({...e.mixins.toolbar,display:"flex",alignItems:"center",justifyContent:t?"flex-start":"center",paddingLeft:e.spacing(t?3:0)})),DG="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABjwAAAX8CAYAAACRmSIiAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAUGVYSWZNTQAqAAAACAACARIAAwAAAAEAAQAAh2kABAAAAAEAAAAmAAAAAAADoAEAAwAAAAEAAQAAoAIABAAAAAEAAAY8oAMABAAAAAEAAAX8AAAAAC6mAq8AAAI0aVRYdFhNTDpjb20uYWRvYmUueG1wAAAAAAA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJYTVAgQ29yZSA2LjAuMCI+CiAgIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgICAgIDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiCiAgICAgICAgICAgIHhtbG5zOmV4aWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vZXhpZi8xLjAvIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDxleGlmOlBpeGVsWURpbWVuc2lvbj4xNTMyPC9leGlmOlBpeGVsWURpbWVuc2lvbj4KICAgICAgICAgPGV4aWY6UGl4ZWxYRGltZW5zaW9uPjE1OTY8L2V4aWY6UGl4ZWxYRGltZW5zaW9uPgogICAgICAgICA8ZXhpZjpDb2xvclNwYWNlPjE8L2V4aWY6Q29sb3JTcGFjZT4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CvmGb2cAAEAASURBVHgB7N1NdhRJlihgNw+geyYYIE6OUA+gNEO9goxaQcZLyHGqVtD0Ckq1gketoFRjfl7kCipYQYsZBYMKRpwUA2BWDYTbsyARJUAISREebu7+6RxOKiLc7V77biRIujKzovBBgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAn0WCH2evLkTIECAAAECBAg0I7D/07WtEAcXj4xexa2qjEe/lm4IMb0Wy60j7z3myRDiRiyKq8dccuqX0hfTz2IM05PeGMs4+dq1ZVF+8dq7d8X0u/Hj6dfu8TwBAgQIECBAgAABAgQI/EtAw+NfFj4jQIAAAQIECBA4QuCo5kRVVMPDl361CRHivDGxdvhany8s8KiI4dXHUUKcxlBMPz6OxV4ZyvevxzB7tX736d7H13xCgAABAgQIECBAgACBDgtoeHS4uKZGgAABAgQIEJgLfN6w+KJZUYXhJ1Ihfv/JYw+6IxDDw4+TCdVeDL81Tg5Wl2iQfNTxCQECBAgQIECAAAECLRTQ8Ghh0aRMgAABAgQI9FPg5Wjj4rtz/z5fMfH+45PGRSzSFlHh4vsXwvvtoG58uMx/CJxJIH2j8HG7roOtuEIVp6EcpBUlVo6cCdVNBAgQIECAAAECBAjUKqDhUSuvwQkQIECAAAECXxd4PtrcOHeu2JhfEavZRizD+89DTM/FD5/XcO5ECueDwDIFftti68OKkYOmiPNHlklsLAIECBAgQIAAAQIETiKg4XESJdcQIECAAAECBE4ocLiJURw6fDscbBtl9cUJJV3WIYHXqYG3l06bf3/WiIZIhyprKgQIECBAgAABAgQyE9DwyKwg0iFAgA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1uzSevkovvz7mEi8RIECAAAECBAgQIECAAAECBFYjUIXdl6ONi6sJJgoBAgQIEGifgIbHt2oWbWv1LSKvEyBAgAABAgQIECBAgAABAisRuPF2cH5nJZEEIUCAAAECLRTQ8PhW0UJlW6tvGXmdAAECBAgQIECAAAECBAgQWJFA+K8XtzaHKwomDAECBAgQaJWAhse3yhULDY9vGXmdAAECBAgQIECAAAECBAgQWJ1ArGxttTptkQgQIECgRQIaHt8oVigH029c4mUCBAgQIECAAAECBAgQIECAwMoEYlFctbXVyrgFIkCAAIEWCYQW5dpYqvs3r6evJXwQIECAAAECBAgQIECAAAECBPIRCKH8/eV7jyf5ZCQTAgQIECDQrIAVHifwT12hZye4zCUECBAgQIAAAQIECBAgQIAAgdUJ2NpqddYiESBAgEArBDQ8TlCmqnCOxwmYXEKAAAECBAgQIECAAAECBAisUMDWVivEFooAAQIEWiGg4XGSMgUNj5MwuYYAAQIECBAgQIAAAQIECBBYtUD4rxe3NoerjioeAQIECBDIUUDD4yRViRoeJ2FyDQECBAgQIECAAAECBAgQINCAgK2tGkAXkgABAgRyFNDwOEFVqlm5d4LLXEKAAAECBAgQIECAAAECBAgQWLmAra1WTi4gAQIECGQqkM7j9nESgf2b19PXDz4IECBAgAABAgQIECBAgAABApkKlPE/1+8+9UubmZZHWgQIECBQv4AVHic1juHhSS91HQECBAgQIECAAAECBAgQIEBg5QJV2F15TAEJECBAgEBGAhoeJy1GqPyGxEmtXEeAAAECBAgQIECAAAECBAg0IXDj11vXd5oILCYBAgQIEMhBQMPjpFVwcPlJpVxHgAABAgQIECBAgAABAgQINCQQYnH7+Whzo6HwwhIgQIAAgUYFNDxOyB/KwfSEl7qMAAECBAgQIECAAAECBAgQINCUwNqgjLtNBReXAAECBAg0KeDQ8lPoO7j8FFguJUCAAAECBAgQIECAAAECBJoTiPEP6w+e7jaXgMgECBAgQGD1AlZ4nM780ekudzUBAgQIECBAgAABAgQIECBAoAGBEO68HG1cbCCykAQIECBAoDEBDY/T0Tu4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IppEEI8Z8LWt6yBAgQIECgUQL55wm3GxWwYAkQIEDg0gIaHpcm84RlC1QzOP7or2/+Gf5229DxZeu7HwECBAgQINBkgRh7g5RKDY8mF1HsBAgQIECAAAECBAhcWMCRVhemciEBAgQIECBAgACB5gnk40H3ctS3mhe5iAkQIECAwJwFUvzl3n/+9+acV7UcAQIECNRIoKhRLEIhQIAAAQIECBAgQGDOAvm88uGcl7QcAQIECBAgQIAAAQIEaimg4VHLsgiKAAECBAgQIECAwHwEYqrmeHgjQIAAAQIECBAgQIBA+wU0PNpfYxkSIECAAAECBAh0WOCw7A07nL7UCRAgQIAAAQIECBDokICGR4eKLVUCBAgQIECAAIHuCdwf7Izz4L733ctcxgQIECBA4JRATBunHvEpAQIECLRMQMOjZQWVDgECBAgQIECAAIHTAuZ4nBbxOQECBAh0VOBWR/OWNgECBDojoOHRmVJLlAABAgQIECBAoLMCKQ07m7vECRAgQIAAAQIECBDojICGR2dKLVECBAgQIECAAIGuCpjj0dXKy5sAAQIECBAgQIBAtwQ0PLpVb9kSIECAAAECBAh0UMAcjw4WXcoECBAgQIAAAQIEOiig4dHBokuZAAECBAgQIECgewJlCKPuZS1jAgQIECBAgAABAgS6JKDh0aVqy5UAAQIECBAgQKCzAkWKw84mL3ECBAgQIECAAAECBDohoOHRiTJLkgABAgQIECBAoPMCRbTDo/MvAgAECBAgQIAAAQIE2i2g4dHu+sqOAAECBAgQIECAwETg7pudIQoCBAgQIECAAAECBAi0WUDDo83VlRsBAgQIECBAgACBkwIp/nLyUx8TIECAAAECBAgQIECgTQIaHm2qplwIECBAgAABAgQInCcQS8danefjawQIECBAgAABAgQINFpAw6PR5RM8AQIECBAgQIAAgUsIpKDhcQkulxIgQIBA+wQ+PH+82b6sZESAAAECUwENj6mE9wQIECBAgAABAgRaLhCL3rjlKUqPAAECBAgQIECAAIEOC2h4dLj4UidAgAABAgQIEOiWgMHl3aq3bAkQIECAAAECBAh0TUDDo2sVly8BAgQIECBAgEDXBd52HUD+BAgQ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ig4dHAogmZAAECBAgQIECAwHUFYpnGIeYfeXojQKAdAid2XpzVvHBMVDtKLQsCBAgQIEDgbAENj7NtfIUAAQIECBAgQIBAawVi0RunVLY2P4kRaLzApwbGyeHcRRn3QhEnx0TZedH4CkuAAAECBAgQWICAhscCUC1JgAABAgQIECBAgAABAgROCnxxhFQsRynm5kV+K0IxnF53983O8cfTx7wnQIAAAQIECBC4uICGx8WtXEmAAAECBAgQIECgNQLV0Tb7vZutyUciBFYh8K0mhl0Yq6iKexIgQIAAAQJdFnBob5erL3cCBAgQIECAAIFOC+w+e5Q6DSB5AmcJTOdhxDROMYyry6Y7MTQxzkLzOAECBAgQIEBg9QJ2eKy+BiIgQIAAAQIECBAgQIAAgcULfAzpaP5F+HSk1MmZGAZ6L74A7kCAAAECBAgQWLSAhseiha1PgAABAgQIECBAoL4Cb3NoT+obnsgIXEhAI+NCTC4iQIAAAQIECLRfQMOj/TWWIQECBAgQIECAAIHZAikPTY5OtZqN49GaCLzNuzKq1+lXR0sdHITx/cHOuCZxCoMAAQIECBAgQKAGAhoeNSiCEAgQIECAAAECBAgQINA5geM5GeUoxbgXyzSORS83Ng737r1+N+qch4QJECBAgAABAgSuLaDhcW1CCxAgQIAAAQIECBBopkCKaS82M3RR11vg+IipVKThJNQURkUs9uzKqHfhREeAAAECBAgQaLqAhkfTKyh+AgQIECBAgAABAlcViGEUUvjuqk/3vI4KnNqZkV9DmhkdfSlImwABAgQIECBQNwENj7pVRDwECBAgQIAAAQIECBBYncAXMzOKMs/PKGI+csoxU6sriTsTIECAAAECBAhcVEDD46JSriNAgAABAgQIECBAgEDTBT7tzpgeNVWEYliltHbw5+jOYLzX9PTET4AAAQIECBAg0G0BDY9u11/2BAgQIECAAAECBAi0RCDPY3mfUsxDv9NeyMeV2Z3RksJKgwABAgQIECBA4MICGh4XpnIhAQIECBAgQIAAgZYJ5NkLLcuo1elMGxohptzUCONYpnEsemODwFtddskRIECAAAECBAhcQkDD4xJYLiVAgAABAgQIECDQJo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8MnSdix0YhaCpIAAQIECBAgQIAAAQLXEdDwuI6e5xIgQIAAAQIECCxNYHocVRnKzdy/WM833sj/PAnlZK9GCLnLkeduTN7lj7wRIECAAAECBAgQIECAQMcENDw6VnDpEiBAgAABAgSaIHDecVT5ICpvBAgQIECAAAECBAgQIEDgKwENj69IPECAAAECBAgQILAsgZO7NvLWjI3czFjP937iOKplVcB9CBAgQIAAAQIECBAg0B4BDY/21FImBAgQIECAAIFaC1SzNsJh2EhFXK9mbeTjpzb2Q7gV8qwNuzZqXTrBESBAgAABAgQIECBAoBECGh6NKJMgCRAgQIAAAQLNEqiOpApl2ki5qRFSXM/NjafVrI2qszGZH26IeLMKKloCBAgQIECAAAECBAg0QEDDowFFEiIBAgQIECBAoK4C5x9J9SlqzY26lk9cBAgQIECAAAECBAgQaJWAhkeryikZAgQIECBAgMDiBH7rP14veuVG3qWRd22EjSKE6kiqB46kWpy5lQkQIECAAAECBAgQIEDg4gIaHhe3ciUBAgQIECBAoDMCJ5sb03kbIZS3JgDpiOHTu86YSJQAAQIECBAgQIAAAQIE6i2g4VHv+oiOAAECBAgQILBwgW82NxxJtfAauAEBAgQIECBAgAABAgQIXF9Aw+P6hlYgQIAAAQIECDRGQHOjMaUSKAECBAgQIECAAAECBAhcUkDD45JgLidAgAABAgQINEVAc6MplRInAQIECBAgQIAAAQIECMxDQMNjHorWIECAAAECBAisWOCP/vrtg7W/bZSh3JwOFE+hfDAJqxq24ViqFVfI7QkQIECAAAECBAgQIEBg0QIaHosWtj4BAgQIECBAYAECH54/3gxl2ihj2ixC2NgP4UFIZYif7mWg+ALQLUmAAAECBAgQIECAAAECtRbQ8Kh1eQRHgAABAgQIEAhh94eHG+EwbIQYN7PHRv7nScrNjaq7UTU4NDcygjcCBAgQIECAAAECBAgQ6LyAhkfnXwIACBAgQIAAgToJzJi78TTk3sbx1o06BSsWAgQIECBAgAABAgQIECBQIwENjxoVQygECBAgQIBA9wROH01l7kb3XgMyJkCAAAECBAgQIECAAIH5C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Hr6P1lVzjVuNFBEiAAAECBD4hYCurT6B4igABAgQIECBAgAABAgQIECDQIIHKGh7D4bnVHQ0qvFAIECBAYHwBW1mNb+VKAgQIECBAgAABAgQIECBAgEBdApU1PGKIzu+oq8rmJUCAAIFZBN5k5wNN+1kE3UuAAAECBAgQIECAAAECBAgQqECgkobHy821Uf7p2JsV5GMKAgQIECBQqkCKYffG/rOjUgc1GAECBAgQIECAAAECBAgQIECAQOkClTQ8YghWd5ReOgMSIECAQAUCT7/+4flOBfOYggABAgQIECBAgAABAgQIECBAYEaBShoeeYwaHjMWyu0ECBAgUL1AjLayql7djAQIECBAgAABAgQIECBAgACB6QTm3vA4vre6lYe2NF147iJAgAABAvUIFAeVX//h2UE9s5uVAAECBAgQIECAAAECBAgQIEBgUoG5NzxSdFj5pEVxPQECBAjULuCg8tpLIAACBAgQIECAAAECBAgQIECAwGQCc214vBqtXM3P77g7WUiuJkCAAAEC9Qo4qLxef7MTIECAAAECBAgQIECAAAECBKYRmGvD42xwxdkd01TFPQQIECBQp8Cbxbenu3UGYG4CBAgQIECAAAECBAgQIECAAIHJBeba8LCd1eQFcQcBAgQI1CyQ0va1/aPXNUdhegIECBAgQIAAAQIECBAgQIAAgQkF5tbwsJ3VhJVwOQECBAjULpBvw/jL8pMXe7UHIgACBAgQIECAAAECBAgQIECAAIGJBebW8LCd1cS1cAMBAgQI1CyQUtqpOQTTEyBAgAABAgQIECBAgAABAgQITCkwt4aH7aymrIjbCBAgQKAWAas7amE3KQECBAgQIECAAAECBAgQIECgNIG5NDxsZ1VafQxEgAABAhUJWN1REbRpCBAgQIAAAQIECBAgQIAAAQJzEliYx7i2s5qHqjEJECBAYF4CxeqO687umBevcQkQIECAAAECBAgQIECAAAEClQjMZYWH7awqqZ1JCBAgQKAkAas7SoI0DAECBAgQIECAAAECBAgQIECgRoG5rPDIPym7UWNOpiZAgAABAmMLWN0xNpULCRAgQIAAAQIECBAgQIAAAQKNFih9hcfLzbVRnvFSo7MWHAECBAgQeC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D4WGK/h8fFdviZAgAABAgQIECBAgAABAgQIECBAgAABAgQINEhAw6NBxRAKAQIECJQrcHJ/faPcEY1GgAABAgQIECBAgAABAgQIECDQVIFLGx5+WdTU0omLAAECBAgQIECAAAECBAgQIECAAAECBAgQeC9wacPj/YX+JECAAAECBAgQIECAAAECBAgQIECAAAECBAg0VUDDo6mVERcBAgQIzC6QpduzD2IEAgQIECBAgAABAgQIECBAgACBNghc2vBI2flKGxIRIwECBAgQ+FggG6SrHz/nawIECBAgQIAAAQIECBAgQIAAgW4KXN7wGMSVbqYuKwIECBAgQIAAAQIECBAgQIAAAQIECBAgQKArApc2PLqSqDwIECBAoH8CMYsb/ctaxgQIECBAgAABAgQIECBAgACBfgpoePSz7rImQIAAAQIECBAgQIAAAQIECBAgQIAAAQKdEtDw6FQ5JUOAAAECHwhEZ3h84OELAgQIECBAgAABAgQIECBAgECHBS5teMTkl0Udrr/UCBAg0HWBW11PUH4ECBAgQIAAAQIECBAgQIAAAQK/CVza8AhpcBsWAQIECBAgQIAAAQIECBAgQIAAAQIECBAgQKDJApc3PJocvdgIECBAgMAlAif31zcuucTLBAgQIECAAAECBAgQIECAAAECHRDQ8OhAEaVAgAABAgQIECBAgAABAgQIECBAgAABAgT6LqDh0fd3gPwJECDQdYEs2Zqx6zWWHwECBAgQIECAAAECBAgQIEAgF9Dw8DYgQIAAgU4LZIN0tdMJSo4AAQIECBAgQIAAAQIECBAgQOBCQMPDG4EAAQIEui2QghUe3a6w7AgQIECAAAECBAgQIECAAAECFwIaHt4IBAgQINBpgZiiFR6drrDkCBAgQIAAAQIECBAgQIAAAQK/CWh4eCcQIECAQLcFYrrT7QRlR4AAAQIECBAgQIAAAQIECBAgUAhoeHgfECBAgEDnBV6NVqzy6HyVJUiAAAECBAgQIECAAAECBAj0XUDDo+/vAPkTIECgBwJvF/7kHI8e1FmKBAgQIECAAAECBAgQIECAQL8FNDz6XX/ZEyBAoBcCKTtf6UWikiRAgAABAgQIECBAgAABAgQI9FhAw6PHxZc6AQIE+iKQBnGlL7nKkwABAgQIECBAgAABAgQIECDQVwENj75WXt4ECBDokUDM4kaP0pUqAQIECBAgQIAAAQIECBAgQKCXApc3PGJ22EsZSRMgQIBAZwRiTCudSUYiBAgQIECAAAECBAgQIECAAAECnxS4tOGRYnz9yTs9SYAAAQIEWiKQQrjZklCFSYAAAQIECBAgQIAAAQIECBAgMKXApQ2PKcd1GwECBAgQaJTAyf31jUYFJBgCBAgQIECAAAECBAgQIECAAIFSBTQ8SuU0GAECBAg0VSBl5ytNjU1cBAgQIECAAAECBAgQIECAAAECswtc3vBIwRkeszsbgQABAgTqFojhdt0hmJ8AAQIECBAgQIAAAQIECBAgQGB+Apc2PAZx4AyP+fkbmQABAgSqEkgDDY+qrM1DgAABAgQIECBAgAABAgQIEKhB4NKGRw0xmZIAAQIECJQvENOd8gc1IgECBAgQIECAAAECBAgQIECAQFMENDyaUglxECBAgMDcBY4frFrlMXdlExAgQIAAAQIECBAgQIAAAQIE6hHQ8KjH3awECBAgUIfAuXM86mA3JwECBAgQIECAAAECBAgQIECgCgENjyqUzUGAAAECzRBwcHkz6iAKAgQIECBAgAABAgQIECBAgMAcBDQ85oBqSAIECBBoqkDcaGpk4iJAgAABAgQIECBAgAABAgQIEJhNQMNjNj93EyBAgEC7BG61K1zREiBAgAABAgQIECBAgAABAgQIjCug4TGulOsIECBAoBMCJ/fXNzqRiCQIECBAgAABAgQIECBAgAABAgQ+ENDw+IDDFwQIECDQdYEsZBtdz1F+BAgQIECAAAECBAgQIECAAIE+Cmh49LHqciZAgECPBWLmHI8el1/qBAgQIECAAAECBAgQIECAQIcFNDw6XFypESBAgMAnBGK684lnPUWAAAECBAgQIECAAAECBAgQINByAQ2PlhdQ+AQIECAwuYBzPCY3cwcBAgQIECBAgAABAgQIECBAoOkClzY83r4NR01PQnwECBAgQGASAed4TKLlWgIECBAgQIAAAQLdE3g1WrnavaxkRIAAAQKXNjxu7D87wkSAAAECBLokEFMYdSkfuRAgQIAAAQI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AgTmKnCUdWJ37eFp/j2cHwIECNRKoDYzPEaqMe7WSlewBAgQIECAAAECBAgQIECAAAECBOol8HU2DIfn9+926xW2aAkQIJBWiqoTQj6l7tXSylmK+bM6xS1WAgQIECBAgAABAgQIECBAgAABAjUU2F8eXGy/2V+3huELmQCBtgnUaobHm/+49tqWJOMlQIAAAQIECBAgQIAAAQIECBAgsACBH18vrTw7/+HuxgL61iUBAgQmFqhVwSMf3WDQ2Zl4lE4gQIAAAQIECBAgQIAAAQIECBAgQGBigZhlX6Ylrv7vt+/v7Ux8shMIECBQskCtlrS6tDm//7fDLMRvLv/2mwABAgQIECBAgAABAgQIECBAgACBwgWO0s3IW3d6x2eF96QDAgQITCFQuxke+RhjsHn5FLl2CgECBAgQIECAAAECBAgQIECAAIFZBL6+1YlbszTgXAIECBQpUMuCx+2Dk16amvKiSBhtEyBAgAABAgQIECBAgAABAgQIECDwnkAnPHvvGX8SIECgMgK1LHiM9GLYrYyiQAgQIECAAAECBAgQIECAAAECBAi0QGD10fFhC4ZpiAQI1FSgtgWPW8M/9pJ5v6buwiZAgAABAgQIECBAgAABAgQIECBQL4EYntYrYNESINA2gdoWPL7onb1Mu3nstS1hxkuAAAECBAgQIECAAAECBAgQIEBgEQKxEw8X0a8+CRAgMK5AbQse+QAHgyXLWo2baccRIECAAAECBAgQIECAAAECBAgQmEGgk3UOZzjdqQQIEChcoNYFjzu947MktF+4kg4IECBAgAABAgQIECBAgAABAgQItFugb/+Odl8ARk+gDgK1LnjkwCF09uoALUYCBAgQIECAAAECBAgQIECAAAECdRWIWXZY19jFTYBAewRqX/AYVZZtmNSeK9ZICRAgQIAAAQIECBAgQIAAAQIEShfoxHBYeqc6JECAwIQCtS945OONIdrLY8LEO5wAAQIECBAgQIAAAQIECBAgQIDAuAJxaXg47rGOI0CAwKIEwqI6nne/vz+4d5am1n0573a1R4AAAQIECBAgQIAAAQIECBAgQKDNAukLxBerByfrbTYwdgIE6iHQiBkeOXWMcace5KIkQIAAAQIECBA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VOPAzDNHOjs3S2+uj4cMJmHE6AAAECBAgQIECAAAECBAgQuFFAweNGHi8SIECgegL5jJBhHH6eb5KeL42Vlv1Jj+M31YtURK0TeLMUVQzZWbo2n5mx0borwIAJECBAgAABAgQIECBAgMBCBRQ8FsqvcwIECMxP4HJWyGUxJMQsLZGVNk03M2R+yFrqp2vqWQzxZb4M1eVsjVuv/9+zL3pnL/EQIECAAAECBAgQIECAAAECBBYpoOCxSH19EyBAoESBfNP0W7ey9TgcrMdOKoTE+PmbPUM+T2F8XWIouqqyQD5LI/3ky0/lvztZZ/TbElS5hh8CBAgQIECAAAECBAgQIECgygIKHlXOjtgIECBQssBoA/XU52VRJO8+DMPm6LeZIjlDnX9GszNGAwjDNEsjvLycoRHD4KXNwuucWrETIECAAAECBAgQIECAAAECuYCCh+uAAAECBCYWOP/hbto7ZCmfGZINs+Hm2wYu9xRJT1hK661KYQ/SP+KjzcDzDi6XmcofXxYy8seWm8oV/BAgQIAAAQIECBAgQIAAAQJtEFDwaEOWjZEAAQIVELicPXIZyjuFkvzJK8WSy2PSZuwb6fFnb/9u4oM3S0hdDu1q4SJ/rjMML7NOeHb5ugLGpYTfBAgQIECAAAECBAgQIECAAIF3BRQ83vXwFwECBAjUQOByP5IbQx3GjWEn7VNS0s/VWRXXdfn6dXZ2p3d8dt1rniNAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAgQIECBAgAABAtMI/H/aSfYY3gk9ugAAAABJRU5ErkJggg==",MG="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASIAAABFCAYAAADuOOvgAAAABHNCSVQICAgIfAhkiAAAD1dJREFUeJztndF127qWhj/QnudRB5e3gjDHmefDVGCnAisVRPYtIEoBJ1YqsFxBlApCP098TFdw6ApGfre45wGkKcmUBIqgSCn41tKKIkHANgn+ADaADUVDyCDoof7rDaQBSvVAfET52bc+Kn8//yMiABQRQow836pRPG3KRofD0Q1U3QxeBEdJ+CI2irC2ZS8FEIOMkdkPNYoTa/k6HI7OUFmIZBAEqKM/UQQIYWnPpjFkTDr7pkZxvLsyHQ5H02wUojnhCTPh6e3CsA1WjUlnF27Y5nAcBqVCJBfvTlFytvseTwVEpnh8VH/dTdo2xeFw1ONFiGQQBHhHnxDOutHrMWaovv760rYRDodje7zinReC6u+ZCAEM5fLkum0jHA7H9hRClHp77ABWfbn8o9+2FQ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wlFCsrE6fRyC7WvG7Y+Rxz3xEDsdvxYsQqVE8JZ3Z2CRpiy/2hosytJOPw+FogoW9ZrrXkH5syxiNPKHkg/r6awhiYdpdHvfISe1w/Ja82vSqH9q2xEgeSGdhHmrWji2uN+RwdJ3S3fetiJHIN9JZuOzLUV//HqPkw3b+K3lwvaGD4EB9l46clWFA1Ne/x6TPb5t3YMsDKe/V1d1gVZhZ9dfdhHQWIFIhHII8kc76loz8XemKACRtG+BolrXxiNQojtXXOx+rjuMceYT0o/p6F6jRr2hTajWKp+rqbkDKe0RuNtsjAzdTVpuuLHnoih2OhjBeNi+DoIfn9XXIjhrbQUR+4DGue+RQZs8Zos5A9RajQ6Yf3ZBsI0PWb/FYd26VTSLWb/F4YP0ucccBsNX+Hb1R1gt1mA3lrw4RK0863pHEeETMZlGTp3xkO+191xMyYoCOb7xMHvp0yG6GRBPKT+HIN1IOcSLkqEqHw244HI6O8v+AtLH7T4DxhAAAAABJRU5ErkJggg==",kG=g.jsx("img",{src:DG,alt:"Applica",width:"20px"}),FG=g.jsx("img",{src:MG,alt:"Applica",width:"100px"}),Lp=({isIcon:e,sx:t,to:n,logoIcon:r=kG,logoMain:o=FG})=>{const{appDefaultPath:s}=Qn();return g.jsx(y.ButtonBase,{disableRipple:!0,component:Ct.Link,to:n||s,sx:t,children:e?r:o})};Lp.propTypes={reverse:f.bool,isIcon:f.bool,sx:f.object,to:f.string,logoIcon:f.node,logoMain:f.node};function mQ(e){const t=y.useTheme(),{horizontal:n}=Nn(),{open:r}=Ti(),{icon:o,main:s}=py(),a=Er(e,{minHeight:n?"unset":"60px",width:n?{xs:"100%",lg:"424px"}:"inherit",paddingTop:n?{xs:"10px",lg:"0"}:"8px",paddingBottom:n?{xs:"18px",lg:"0"}:"8px",paddingLeft:n?{xs:"24px",lg:"0"}:r?"24px":0});return g.jsx(CQ,{theme:t,open:r,sx:a,children:g.jsx(Lp,{isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}var be={},Zg={exports:{}};(function(e,t){(function(n,r){var o="1.0.37",s="",a="?",c="function",u="undefined",A="object",p="string",h="major",C="model",m="name",I="type",B="vendor",v="version",S="architecture",O="console",x="mobile",R="tablet",P="smarttv",k="wearable",F="embedded",G=500,K="Amazon",$="Apple",Y="ASUS",ie="BlackBerry",se="Browser",X="Chrome",Z="Edge",H="Firefox",J="Google",L="Huawei",_="LG",V="Microsoft",q="Motorola",le="Opera",pe="Samsung",de="Sharp",ge="Sony",he="Xiaomi",Be="Zebra",Ee="Facebook",Ce="Chromium OS",Ie="Mac OS",xe=function(Se,ke){var we={};for(var We in Se)ke[We]&&ke[We].length%2===0?we[We]=ke[We].concat(Se[We]):we[We]=Se[We];return we},ue=function(Se){for(var ke={},we=0;we<Se.length;we++)ke[Se[we].toUpperCase()]=Se[we];return ke},qe=function(Se,ke){return typeof Se===p?fe(ke).indexOf(fe(Se))!==-1:!1},fe=function(Se){return Se.toLowerCase()},st=function(Se){return typeof Se===p?Se.replace(/[^\d\.]/g,s).split(".")[0]:r},zt=function(Se,ke){if(typeof Se===p)return Se=Se.replace(/^\s\s*/,s),typeof ke===u?Se:Se.substring(0,G)},ft=function(Se,ke){for(var we=0,We,Te,ut,Ue,Qe,Lt;we<ke.length&&!Qe;){var Br=ke[we],cr=ke[we+1];for(We=Te=0;We<Br.length&&!Qe&&Br[We];)if(Qe=Br[We++].exec(Se),Qe)for(ut=0;ut<cr.length;ut++)Lt=Qe[++Te],Ue=cr[ut],typeof Ue===A&&Ue.length>0?Ue.length===2?typeof Ue[1]==c?this[Ue[0]]=Ue[1].call(this,Lt):this[Ue[0]]=Ue[1]:Ue.length===3?typeof Ue[1]===c&&!(Ue[1].exec&&Ue[1].test)?this[Ue[0]]=Lt?Ue[1].call(this,Lt,Ue[2]):r:this[Ue[0]]=Lt?Lt.replace(Ue[1],Ue[2]):r:Ue.length===4&&(this[Ue[0]]=Lt?Ue[3].call(this,Lt.replace(Ue[1],Ue[2])):r):this[Ue]=Lt||r;we+=2}},yt=function(Se,ke){for(var we in ke)if(typeof ke[we]===A&&ke[we].length>0){for(var We=0;We<ke[we].length;We++)if(qe(ke[we][We],Se))return we===a?r:we}else if(qe(ke[we],Se))return we===a?r:we;return Se},Ir={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Et={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},pt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[v,[m,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[v,[m,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[m,v],[/opios[\/ ]+([\w\.]+)/i],[v,[m,le+" Mini"]],[/\bopr\/([\w\.]+)/i],[v,[m,le]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[v,[m,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[m,v],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[v,[m,"UC"+se]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[v,[m,"WeChat"]],[/konqueror\/([\w\.]+)/i],[v,[m,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[v,[m,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[v,[m,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[v,[m,"Smart Lenovo "+se]],[/(avast|avg)\/([\w\.]+)/i],[[m,/(.+)/,"$1 Secure "+se],v],[/\bfocus\/([\w\.]+)/i],[v,[m,H+" Focus"]],[/\bopt\/([\w\.]+)/i],[v,[m,le+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[v,[m,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[v,[m,"Dolphin"]],[/coast\/([\w\.]+)/i],[v,[m,le+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[v,[m,"MIUI "+se]],[/fxios\/([-\w\.]+)/i],[v,[m,H]],[/\bqihu|(qi?ho?o?|360)browser/i],[[m,"360 "+se]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[m,/(.+)/,"$1 "+se],v],[/samsungbrowser\/([\w\.]+)/i],[v,[m,pe+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[m,/_/g," "],v],[/metasr[\/ ]?([\d\.]+)/i],[v,[m,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[m,"Sogou Mobile"],v],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[m,v],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[m],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[m,Ee],v],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[m,v],[/\bgsa\/([\w\.]+) .*safari\//i],[v,[m,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[v,[m,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[v,[m,X+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[m,X+" WebView"],v],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[v,[m,"Android "+se]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[m,v],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[v,[m,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[v,m],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[m,[v,yt,Ir]],[/(webkit|khtml)\/([\w\.]+)/i],[m,v],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[m,"Netscape"],v],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[v,[m,H+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[m,v],[/(cobalt)\/([\w\.]+)/i],[m,[v,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,fe]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,s,fe]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,fe]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[C,[B,pe],[I,R]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[C,[B,pe],[I,x]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[C,[B,$],[I,x]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[C,[B,$],[I,R]],[/(macintosh);/i],[C,[B,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[C,[B,de],[I,x]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[C,[B,L],[I,R]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[C,[B,L],[I,x]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[C,/_/g," "],[B,he],[I,x]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[C,/_/g," "],[B,he],[I,R]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[C,[B,"OPPO"],[I,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[C,[B,"Vivo"],[I,x]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[C,[B,"Realme"],[I,x]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[C,[B,q],[I,x]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[C,[B,q],[I,R]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[C,[B,_],[I,R]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[C,[B,_],[I,x]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[C,[B,"Lenovo"],[I,R]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[C,/_/g," "],[B,"Nokia"],[I,x]],[/(pixel c)\b/i],[C,[B,J],[I,R]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[C,[B,J],[I,x]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[C,[B,ge],[I,x]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[C,"Xperia Tablet"],[B,ge],[I,R]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[C,[B,"OnePlus"],[I,x]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[C,[B,K],[I,R]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[C,/(.+)/g,"Fire Phone $1"],[B,K],[I,x]],[/(playbook);[-\w\),; ]+(rim)/i],[C,B,[I,R]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[C,[B,ie],[I,x]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[C,[B,Y],[I,R]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[C,[B,Y],[I,x]],[/(nexus 9)/i],[C,[B,"HTC"],[I,R]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[B,[C,/_/g," "],[I,x]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[C,[B,"Acer"],[I,R]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[C,[B,"Meizu"],[I,x]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[C,[B,"Ulefone"],[I,x]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[B,C,[I,x]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[B,C,[I,R]],[/(surface duo)/i],[C,[B,V],[I,R]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[C,[B,"Fairphone"],[I,x]],[/(u304aa)/i],[C,[B,"AT&T"],[I,x]],[/\bsie-(\w*)/i],[C,[B,"Siemens"],[I,x]],[/\b(rct\w+) b/i],[C,[B,"RCA"],[I,R]],[/\b(venue[\d ]{2,7}) b/i],[C,[B,"Dell"],[I,R]],[/\b(q(?:mv|ta)\w+) b/i],[C,[B,"Verizon"],[I,R]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[C,[B,"Barnes & Noble"],[I,R]],[/\b(tm\d{3}\w+) b/i],[C,[B,"NuVision"],[I,R]],[/\b(k88) b/i],[C,[B,"ZTE"],[I,R]],[/\b(nx\d{3}j) b/i],[C,[B,"ZTE"],[I,x]],[/\b(gen\d{3}) b.+49h/i],[C,[B,"Swiss"],[I,x]],[/\b(zur\d{3}) b/i],[C,[B,"Swiss"],[I,R]],[/\b((zeki)?tb.*\b) b/i],[C,[B,"Zeki"],[I,R]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[B,"Dragon Touch"],C,[I,R]],[/\b(ns-?\w{0,9}) b/i],[C,[B,"Insignia"],[I,R]],[/\b((nxa|next)-?\w{0,9}) b/i],[C,[B,"NextBook"],[I,R]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[B,"Voice"],C,[I,x]],[/\b(lvtel\-)?(v1[12]) b/i],[[B,"LvTel"],C,[I,x]],[/\b(ph-1) /i],[C,[B,"Essential"],[I,x]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[C,[B,"Envizen"],[I,R]],[/\b(trio[-\w\. ]+) b/i],[C,[B,"MachSpeed"],[I,R]],[/\btu_(1491) b/i],[C,[B,"Rotor"],[I,R]],[/(shield[\w ]+) b/i],[C,[B,"Nvidia"],[I,R]],[/(sprint) (\w+)/i],[B,C,[I,x]],[/(kin\.[onetw]{3})/i],[[C,/\./g," "],[B,V],[I,x]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[C,[B,Be],[I,R]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[C,[B,Be],[I,x]],[/smart-tv.+(samsung)/i],[B,[I,P]],[/hbbtv.+maple;(\d+)/i],[[C,/^/,"SmartTV"],[B,pe],[I,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[B,_],[I,P]],[/(apple) ?tv/i],[B,[C,$+" TV"],[I,P]],[/crkey/i],[[C,X+"cast"],[B,J],[I,P]],[/droid.+aft(\w+)( bui|\))/i],[C,[B,K],[I,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[C,[B,de],[I,P]],[/(bravia[\w ]+)( bui|\))/i],[C,[B,ge],[I,P]],[/(mitv-\w{5}) bui/i],[C,[B,he],[I,P]],[/Hbbtv.*(technisat) (.*);/i],[B,C,[I,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[B,zt],[C,zt],[I,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[I,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[B,C,[I,O]],[/droid.+; (shield) bui/i],[C,[B,"Nvidia"],[I,O]],[/(playstation [345portablevi]+)/i],[C,[B,ge],[I,O]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[C,[B,V],[I,O]],[/((pebble))app/i],[B,C,[I,k]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[C,[B,$],[I,k]],[/droid.+; (glass) \d/i],[C,[B,J],[I,k]],[/droid.+; (wt63?0{2,3})\)/i],[C,[B,Be],[I,k]],[/(quest( 2| pro)?)/i],[C,[B,Ee],[I,k]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[B,[I,F]],[/(aeobc)\b/i],[C,[B,K],[I,F]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[C,[I,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[C,[I,R]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[I,R]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[I,x]],[/(android[-\w\. ]{0,9});.+buil/i],[C,[B,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[v,[m,Z+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[v,[m,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[m,v],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[v,m]],os:[[/microsoft (windows) (vista|xp)/i],[m,v],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[m,[v,yt,Et]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[v,yt,Et],[m,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[v,/_/g,"."],[m,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[m,Ie],[v,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[v,m],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[m,v],[/\(bb(10);/i],[v,[m,ie]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[v,[m,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[v,[m,H+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[v,[m,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[v,[m,"watchOS"]],[/crkey\/([\d\.]+)/i],[v,[m,X+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[m,Ce],v],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[m,v],[/(sunos) ?([\w\.\d]*)/i],[[m,"Solaris"],v],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[m,v]]},ct=function(Se,ke){if(typeof Se===A&&(ke=Se,Se=r),!(this instanceof ct))return new ct(Se,ke).getResult();var we=typeof n!==u&&n.navigator?n.navigator:r,We=Se||(we&&we.userAgent?we.userAgent:s),Te=we&&we.userAgentData?we.userAgentData:r,ut=ke?xe(pt,ke):pt,Ue=we&&we.userAgent==We;return this.getBrowser=function(){var Qe={};return Qe[m]=r,Qe[v]=r,ft.call(Qe,We,ut.browser),Qe[h]=st(Qe[v]),Ue&&we&&we.brave&&typeof we.brave.isBrave==c&&(Qe[m]="Brave"),Qe},this.getCPU=function(){var Qe={};return Qe[S]=r,ft.call(Qe,We,ut.cpu),Qe},this.getDevice=function(){var Qe={};return Qe[B]=r,Qe[C]=r,Qe[I]=r,ft.call(Qe,We,ut.device),Ue&&!Qe[I]&&Te&&Te.mobile&&(Qe[I]=x),Ue&&Qe[C]=="Macintosh"&&we&&typeof we.standalone!==u&&we.maxTouchPoints&&we.maxTouchPoints>2&&(Qe[C]="iPad",Qe[I]=R),Qe},this.getEngine=function(){var Qe={};return Qe[m]=r,Qe[v]=r,ft.call(Qe,We,ut.engine),Qe},this.getOS=function(){var Qe={};return Qe[m]=r,Qe[v]=r,ft.call(Qe,We,ut.os),Ue&&!Qe[m]&&Te&&Te.platform!="Unknown"&&(Qe[m]=Te.platform.replace(/chrome os/i,Ce).replace(/macos/i,Ie)),Qe},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return We},this.setUA=function(Qe){return We=typeof Qe===p&&Qe.length>G?zt(Qe,G):Qe,this},this.setUA(We),this};ct.VERSION=o,ct.BROWSER=ue([m,v,h]),ct.CPU=ue([S]),ct.DEVICE=ue([C,B,I,O,x,P,R,k,F]),ct.ENGINE=ct.OS=ue([m,v]),e.exports&&(t=e.exports=ct),t.UAParser=ct;var kt=typeof n!==u&&(n.jQuery||n.Zepto);if(kt&&!kt.ua){var Ft=new ct;kt.ua=Ft.getResult(),kt.ua.get=function(){return Ft.getUA()},kt.ua.set=function(Se){Ft.setUA(Se);var ke=Ft.getResult();for(var we in ke)kt.ua[we]=ke[we]}}})(typeof window=="object"?window:In)})(Zg,Zg.exports);var LG=Zg.exports;Object.defineProperty(be,"__esModule",{value:!0});function NG(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var tn=Q,gt=NG(tn),EQ=LG,Lo=new EQ,on=Lo.getBrowser(),VG=Lo.getCPU(),Vn=Lo.getDevice(),Np=Lo.getEngine(),No=Lo.getOS(),rl=Lo.getUA(),IQ=function(t){return Lo.setUA(t)},ol=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new EQ(t);return{UA:n,browser:n.getBrowser(),cpu:n.getCPU(),device:n.getDevice(),engine:n.getEngine(),os:n.getOS(),ua:n.getUA(),setUserAgent:function(o){return n.setUA(o)}}},BQ=Object.freeze({ClientUAInstance:Lo,browser:on,cpu:VG,device:Vn,engine:Np,os:No,ua:rl,setUa:IQ,parseUserAgent:ol});function e0(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function HG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?e0(Object(n),!0).forEach(function(r){UG(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):e0(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Sa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Sa=function(t){return typeof t}:Sa=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Sa(e)}function zG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t0(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function WG(e,t,n){return t&&t0(e.prototype,t),n&&t0(e,n),e}function UG(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _g(){return _g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_g.apply(this,arguments)}function YG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ef(e,t)}function $g(e){return $g=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$g(e)}function ef(e,t){return ef=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},ef(e,t)}function GG(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function lr(e,t){if(e==null)return{};var n=GG(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Oc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KG(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Oc(e)}function qG(e,t){return JG(e)||XG(e,t)||ZG(e,t)||_G()}function JG(e){if(Array.isArray(e))return e}function XG(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],o=!0,s=!1,a,c;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));o=!0);}catch(u){s=!0,c=u}finally{try{!o&&n.return!=null&&n.return()}finally{if(s)throw c}}return r}}function ZG(e,t){if(e){if(typeof e=="string")return n0(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return n0(e,t)}}function n0(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _G(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
215
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var en={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},yn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},ks={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},$G={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},eK=function(t){switch(t){case en.Mobile:return{isMobile:!0};case en.Tablet:return{isTablet:!0};case en.SmartTv:return{isSmartTV:!0};case en.Console:return{isConsole:!0};case en.Wearable:return{isWearable:!0};case en.Browser:return{isBrowser:!0};case en.Embedded:return{isEmbedded:!0};default:return $G}},tK=function(t){return IQ(t)},Me=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Vp=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Hp=function(t){var n=Vp();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},nK=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:Me(n.major),browserFullVersion:Me(n.version),browserName:Me(n.name),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(o.name),osVersion:Me(o.version),userAgent:Me(s)}},r0=function(t,n,r,o){return HG({},t,{vendor:Me(n.vendor),model:Me(n.model),os:Me(r.name),osVersion:Me(r.version),ua:Me(o)})},rK=function(t,n,r,o){return{isSmartTV:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},oK=function(t,n,r,o){return{isConsole:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},iK=function(t,n,r,o){return{isWearable:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},sK=function(t,n,r,o,s){return{isEmbedded:t,vendor:Me(n.vendor),model:Me(n.model),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(o.name),osVersion:Me(o.version),userAgent:Me(s)}};function aK(e){var t=e?ol(e):BQ,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=eK(n.type),u=c.isBrowser,A=c.isMobile,p=c.isTablet,h=c.isSmartTV,C=c.isConsole,m=c.isWearable,I=c.isEmbedded;if(u)return nK(u,r,o,s,a);if(h)return rK(h,o,s,a);if(C)return oK(C,o,s,a);if(A||p)return r0(c,n,s,a);if(m)return iK(m,o,s,a);if(I)return sK(I,n,o,s,a)}var vQ=function(t){var n=t.type;return n===en.Mobile},bQ=function(t){var n=t.type;return n===en.Tablet},yQ=function(t){var n=t.type;return n===en.Mobile||n===en.Tablet},QQ=function(t){var n=t.type;return n===en.SmartTv},uu=function(t){var n=t.type;return n===en.Browser},xQ=function(t){var n=t.type;return n===en.Wearable},wQ=function(t){var n=t.type;return n===en.Console},TQ=function(t){var n=t.type;return n===en.Embedded},SQ=function(t){var n=t.vendor;return Me(n)},PQ=function(t){var n=t.model;return Me(n)},RQ=function(t){var n=t.type;return Me(n,"browser")},OQ=function(t){var n=t.name;return n===ks.Android},jQ=function(t){var n=t.name;return n===ks.Windows},DQ=function(t){var n=t.name;return n===ks.MAC_OS},MQ=function(t){var n=t.name;return n===ks.WindowsPhone},kQ=function(t){var n=t.name;return n===ks.IOS},FQ=function(t){var n=t.version;return Me(n)},LQ=function(t){var n=t.name;return Me(n)},NQ=function(t){var n=t.name;return n===yn.Chrome},VQ=function(t){var n=t.name;return n===yn.Firefox},HQ=function(t){var n=t.name;return n===yn.Chromium},Au=function(t){var n=t.name;return n===yn.Edge},zQ=function(t){var n=t.name;return n===yn.Yandex},WQ=function(t){var n=t.name;return n===yn.Safari||n===yn.MobileSafari},UQ=function(t){var n=t.name;return n===yn.MobileSafari},YQ=function(t){var n=t.name;return n===yn.Opera},GQ=function(t){var n=t.name;return n===yn.InternetExplorer||n===yn.Ie},KQ=function(t){var n=t.name;return n===yn.MIUI},qQ=function(t){var n=t.name;return n===yn.SamsungBrowser},JQ=function(t){var n=t.version;return Me(n)},XQ=function(t){var n=t.major;return Me(n)},ZQ=function(t){var n=t.name;return Me(n)},_Q=function(t){var n=t.name;return Me(n)},$Q=function(t){var n=t.version;return Me(n)},ex=function(){var t=Vp(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},fs=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},tx=function(){var t=Vp();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},wr=function(){return Hp("iPad")},nx=function(){return Hp("iPhone")},rx=function(){return Hp("iPod")},ox=function(t){return Me(t)};function ix(e){var t=e||BQ,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:QQ(n),isConsole:wQ(n),isWearable:xQ(n),isEmbedded:TQ(n),isMobileSafari:UQ(r)||wr(),isChromium:HQ(r),isMobile:yQ(n)||wr(),isMobileOnly:vQ(n),isTablet:bQ(n)||wr(),isBrowser:uu(n),isDesktop:uu(n),isAndroid:OQ(o),isWinPhone:MQ(o),isIOS:kQ(o)||wr(),isChrome:NQ(r),isFirefox:VQ(r),isSafari:WQ(r),isOpera:YQ(r),isIE:GQ(r),osVersion:FQ(o),osName:LQ(o),fullBrowserVersion:JQ(r),browserVersion:XQ(r),browserName:ZQ(r),mobileVendor:SQ(n),mobileModel:PQ(n),engineName:_Q(s),engineVersion:$Q(s),getUA:ox(a),isEdge:Au(r)||fs(a),isYandex:zQ(r),deviceType:RQ(n),isIOS13:tx(),isIPad13:wr(),isIPhone13:nx(),isIPod13:rx(),isElectron:ex(),isEdgeChromium:fs(a),isLegacyEdge:Au(r)&&!fs(a),isWindows:jQ(o),isMacOs:DQ(o),isMIUI:KQ(r),isSamsungBrowser:qQ(r)}}var sx=QQ(Vn),ax=wQ(Vn),lx=xQ(Vn),lK=TQ(Vn),cK=UQ(on)||wr(),uK=HQ(on),nA=yQ(Vn)||wr(),cx=vQ(Vn),ux=bQ(Vn)||wr(),Ax=uu(Vn),AK=uu(Vn),dx=OQ(No),gx=MQ(No),fx=kQ(No)||wr(),dK=NQ(on),gK=VQ(on),fK=WQ(on),pK=YQ(on),px=GQ(on),hK=FQ(No),CK=LQ(No),mK=JQ(on),EK=XQ(on),IK=ZQ(on),BK=SQ(Vn),vK=PQ(Vn),bK=_Q(Np),yK=$Q(Np),QK=ox(rl),xK=Au(on)||fs(rl),wK=zQ(on),TK=RQ(Vn),SK=tx(),PK=wr(),RK=nx(),OK=rx(),jK=ex(),DK=fs(rl),MK=Au(on)&&!fs(rl),kK=jQ(No),FK=DQ(No),LK=KQ(on),NK=qQ(on),VK=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=ol(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return ix({device:r,browser:o,os:s,engine:a,ua:c})},HK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return dx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},zK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return Ax?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},WK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return px?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},UK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return fx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},YK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return nA?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},GK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return ux?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},KK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return gx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},qK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=lr(t,["renderWithFragment","children","viewClassName","style"]);return cx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},JK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return sx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},XK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return ax?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},ZK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return lx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},_K=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=lr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",s,r):null};function $K(e){return function(t){YG(n,t);function n(r){var o;return zG(this,n),o=KG(this,$g(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Oc(o)),o.onOrientationChange=o.onOrientationChange.bind(Oc(o)),o.onPageLoad=o.onPageLoad.bind(Oc(o)),o.state={isLandscape:!1,isPortrait:!1},o}return WG(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Sa(window))!==void 0&&nA&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return gt.createElement(e,_g({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(gt.Component)}function eq(){var e=tn.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=qG(e,2),n=t[0],r=t[1],o=tn.useCallback(function(){var s=window.innerWidth>window.innerHeight?90:0,a={isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"};n.orientation!==a.orientation&&r(a)},[n.orientation]);return tn.useEffect(function(){return(typeof window>"u"?"undefined":Sa(window))!==void 0&&nA&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function hx(e){var t=e||window.navigator.userAgent;return ol(t)}function tq(e){var t=e||window.navigator.userAgent,n=hx(t),r=ix(n);return[r,n]}be.AndroidView=HK;be.BrowserTypes=yn;var nq=be.BrowserView=zK;be.ConsoleView=XK;be.CustomView=_K;be.IEView=WK;be.IOSView=UK;be.MobileOnlyView=qK;var rq=be.MobileView=YK;be.OsTypes=ks;be.SmartTVView=JK;be.TabletView=GK;be.WearableView=ZK;be.WinPhoneView=KK;be.browserName=IK;be.browserVersion=EK;be.deviceDetect=aK;be.deviceType=TK;be.engineName=bK;be.engineVersion=yK;be.fullBrowserVersion=mK;be.getSelectorsByUserAgent=VK;be.getUA=QK;be.isAndroid=dx;be.isBrowser=Ax;be.isChrome=dK;be.isChromium=uK;be.isConsole=ax;be.isDesktop=AK;be.isEdge=xK;be.isEdgeChromium=DK;be.isElectron=jK;be.isEmbedded=lK;be.isFirefox=gK;be.isIE=px;be.isIOS=fx;be.isIOS13=SK;be.isIPad13=PK;be.isIPhone13=RK;be.isIPod13=OK;be.isLegacyEdge=MK;be.isMIUI=LK;be.isMacOs=FK;be.isMobile=nA;be.isMobileOnly=cx;be.isMobileSafari=cK;be.isOpera=pK;be.isSafari=fK;be.isSamsungBrowser=NK;be.isSmartTV=sx;be.isTablet=ux;be.isWearable=lx;be.isWinPhone=gx;be.isWindows=kK;be.isYandex=wK;be.mobileModel=vK;be.mobileVendor=BK;be.osName=CK;be.osVersion=hK;be.parseUserAgent=ol;be.setUserAgent=tK;be.useDeviceData=hx;be.useDeviceSelectors=tq;be.useMobileOrientation=eq;be.withOrientationChange=$K;var oq=typeof global=="object"&&global&&global.Object===Object&&global;const iq=oq;var sq=typeof self=="object"&&self&&self.Object===Object&&self,aq=iq||sq||Function("return this")();const Cx=aq;var lq=Cx.Symbol;const du=lq;var mx=Object.prototype,cq=mx.hasOwnProperty,uq=mx.toString,ga=du?du.toStringTag:void 0;function Aq(e){var t=cq.call(e,ga),n=e[ga];try{e[ga]=void 0;var r=!0}catch{}var o=uq.call(e);return r&&(t?e[ga]=n:delete e[ga]),o}var dq=Object.prototype,gq=dq.toString;function fq(e){return gq.call(e)}var pq="[object Null]",hq="[object Undefined]",o0=du?du.toStringTag:void 0;function Cq(e){return e==null?e===void 0?hq:pq:o0&&o0 in Object(e)?Aq(e):fq(e)}function mq(e){return e!=null&&typeof e=="object"}var Eq="[object Symbol]";function Iq(e){return typeof e=="symbol"||mq(e)&&Cq(e)==Eq}var Bq=/\s/;function vq(e){for(var t=e.length;t--&&Bq.test(e.charAt(t)););return t}var bq=/^\s+/;function yq(e){return e&&e.slice(0,vq(e)+1).replace(bq,"")}function gu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var i0=0/0,Qq=/^[-+]0x[0-9a-f]+$/i,xq=/^0b[01]+$/i,wq=/^0o[0-7]+$/i,Tq=parseInt;function s0(e){if(typeof e=="number")return e;if(Iq(e))return i0;if(gu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=gu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yq(e);var n=xq.test(e);return n||wq.test(e)?Tq(e.slice(2),n?2:8):Qq.test(e)?i0:+e}var Sq=function(){return Cx.Date.now()};const og=Sq;var Pq="Expected a function",Rq=Math.max,Oq=Math.min;function jc(e,t,n){var r,o,s,a,c,u,A=0,p=!1,h=!1,C=!0;if(typeof e!="function")throw new TypeError(Pq);t=s0(t)||0,gu(n)&&(p=!!n.leading,h="maxWait"in n,s=h?Rq(s0(n.maxWait)||0,t):s,C="trailing"in n?!!n.trailing:C);function m(k){var F=r,G=o;return r=o=void 0,A=k,a=e.apply(G,F),a}function I(k){return A=k,c=setTimeout(S,t),p?m(k):a}function B(k){var F=k-u,G=k-A,K=t-F;return h?Oq(K,s-G):K}function v(k){var F=k-u,G=k-A;return u===void 0||F>=t||F<0||h&&G>=s}function S(){var k=og();if(v(k))return O(k);c=setTimeout(S,B(k))}function O(k){return c=void 0,C&&r?m(k):(r=o=void 0,a)}function x(){c!==void 0&&clearTimeout(c),A=0,r=u=o=c=void 0}function R(){return c===void 0?a:O(og())}function P(){var k=og(),F=v(k);if(r=arguments,o=this,u=k,F){if(c===void 0)return I(u);if(h)return clearTimeout(c),c=setTimeout(S,t),m(u)}return c===void 0&&(c=setTimeout(S,t)),a}return P.cancel=x,P.flush=R,P}var jq="Expected a function";function Dq(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jq);return gu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),jc(e,t,{leading:r,maxWait:t,trailing:o})}var Mq=!!(typeof window<"u"&&window.document&&window.document.createElement),kq=Mq;const Ex=ro(kq);var us=function(){return us=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},us.apply(this,arguments)},rs=null,a0=null;Ex&&window.addEventListener("resize",function(){a0!==window.devicePixelRatio&&(a0=window.devicePixelRatio,rs=null)});function l0(){if(rs===null){if(typeof document>"u")return rs=0,rs;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),rs=n}return rs}function Ix(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Bx(e){return!e||!e.ownerDocument?document:e.ownerDocument}var vx=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,o){var s=o.name.match(/data-simplebar-(.+)/);if(s){var a=s[1].replace(/\W+(.)/g,function(c,u){return u.toUpperCase()});switch(o.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=o.value}}return r},t);return n};function bx(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function yx(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function Qx(e){return".".concat(e.split(" ").join("."))}var Fq=Object.freeze({__proto__:null,getElementWindow:Ix,getElementDocument:Bx,getOptions:vx,addClasses:bx,removeClasses:yx,classNamesToQuery:Qx}),Co=Ix,ig=Bx,Lq=vx,mo=bx,Eo=yx,Cn=Qx,mc=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Co(r.el);r.scrollXTicking||(o.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(o.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,mo(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){Eo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(mo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){Eo(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(o){r.mouseX=o.clientX,r.mouseY=o.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var s,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(s=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(s||a)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(s&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(o,"x"):r.onTrackClick(o,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(o,"y"):r.onTrackClick(o,"y"))))}},this.drag=function(o){var s,a,c,u,A,p,h,C,m,I,B;if(!(!r.draggedAxis||!r.contentWrapperEl)){var v,S=r.axis[r.draggedAxis].track,O=(a=(s=S.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,x=r.axis[r.draggedAxis].scrollbar,R=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((p=(A=r.elStyles)===null||A===void 0?void 0:A[r.axis[r.draggedAxis].sizeAttr])!==null&&p!==void 0?p:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?v=o.pageY:v=o.pageX;var k=v-((C=(h=S.rect)===null||h===void 0?void 0:h[r.axis[r.draggedAxis].offsetAttr])!==null&&C!==void 0?C:0)-r.axis[r.draggedAxis].dragOffset;k=r.draggedAxis==="x"&&r.isRtl?((I=(m=S.rect)===null||m===void 0?void 0:m[r.axis[r.draggedAxis].sizeAttr])!==null&&I!==void 0?I:0)-x.size-k:k;var F=k/(O-x.size),G=F*(R-P);r.draggedAxis==="x"&&r.isRtl&&(G=!((B=e.getRtlHelpers())===null||B===void 0)&&B.isScrollingToNegative?-G:G),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=G}},this.onEndDrag=function(o){var s=ig(r.el),a=Co(r.el);o.preventDefault(),o.stopPropagation(),Eo(r.el,r.classNames.dragging),s.removeEventListener("mousemove",r.drag,!0),s.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){s.removeEventListener("click",r.preventClick,!0),s.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=us(us({},e.defaultOptions),n),this.classNames=us(us({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Dq(this._onMouseMove,64),this.onWindowResize=jc(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=jc(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=jc(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),s=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==s.left,isScrollingToNegative:s.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:l0()}catch{return l0()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=ig(t),o=Co(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Ex&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(Cn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Cn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Cn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Cn(this.classNames.offset)),this.maskEl=this.el.querySelector(Cn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Cn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Cn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Cn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Cn(this.classNames.track)).concat(Cn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Cn(this.classNames.track)).concat(Cn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Cn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Cn(this.classNames.scrollbar)))||null,this.options.autoHide||(mo(this.axis.x.scrollbar.el,this.classNames.visible),mo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Co(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){o&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Co(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var u=this.contentEl.scrollHeight,A=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||A,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var p=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&A>n,this.axis.y.isOverflowing=u>p,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,C=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&A>s-C,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>p-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],s=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,a=s/o,c;return c=Math.max(~~(a*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,r,o;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,u=parseInt(this.elStyles[this.axis[t].sizeAttr],10),A=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];A=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-A:A,t==="x"&&this.isRtl&&(A=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?A:-A);var p=A/(a-u),h=~~((c-s.size)*p);h=t==="x"&&this.isRtl?-h+(c-s.size):h,s.el.style.transform=t==="x"?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(mo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Eo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),mo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?mo(n.scrollbar.el,this.classNames.hover):Eo(n.scrollbar.el,this.classNames.hover)):(Eo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Eo(this.axis[t].track.el,this.classNames.hover),Eo(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y");var o=ig(this.el),s=Co(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,mo(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,o,s,a,c;n===void 0&&(n="y");var u=this.axis[n];if(!(!this.options.clickOnTrack||!u.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var A=Co(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var p=this.axis[n].scrollbar,h=(s=(o=p.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,C=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),m=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],I=n==="y"?this.mouseY-h:this.mouseX-h,B=I<0?-1:1,v=B===-1?m-C:m+C,S=40,O=function(){r.contentWrapperEl&&(B===-1?m>v&&(m-=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,A.requestAnimationFrame(O)):m<v&&(m+=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,A.requestAnimationFrame(O)))};O()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Co(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return r.call(o,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Lq,e.helpers=Fq,e}(),Dn=function(){return Dn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Dn.apply(this,arguments)};function Nq(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var xx=M.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=Nq(e,["children","scrollableNodeProps"]),a=M.useRef(),c=M.useRef(),u=M.useRef(),A={},p={};Object.keys(s).forEach(function(m){Object.prototype.hasOwnProperty.call(mc.defaultOptions,m)?A[m]=s[m]:p[m]=s[m]});var h=Dn(Dn({},mc.defaultOptions.classNames),A.classNames),C=Dn(Dn({},o),{className:"".concat(h.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":A.ariaLabel||mc.defaultOptions.ariaLabel});return M.useEffect(function(){var m;return c.current=C.ref?C.ref.current:c.current,a.current&&(m=new mc(a.current,Dn(Dn(Dn({},A),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(m):t&&(t.current=m)),function(){m==null||m.unMount(),m=null,typeof t=="function"&&t(null)}},[]),M.createElement("div",Dn({"data-simplebar":"init",ref:a},p),M.createElement("div",{className:h.wrapper},M.createElement("div",{className:h.heightAutoObserverWrapperEl},M.createElement("div",{className:h.heightAutoObserverEl})),M.createElement("div",{className:h.mask},M.createElement("div",{className:h.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Dn(Dn({},C),{ref:c}),contentNodeRef:u,contentNodeProps:{className:h.contentEl,ref:u}}):M.createElement("div",Dn({},C),M.createElement("div",{className:h.contentEl},n)))),M.createElement("div",{className:h.placeholder})),M.createElement("div",{className:"".concat(h.track," simplebar-horizontal")},M.createElement("div",{className:h.scrollbar})),M.createElement("div",{className:"".concat(h.track," simplebar-vertical")},M.createElement("div",{className:h.scrollbar})))});xx.displayName="SimpleBar";const Vq=Ae(nq)({flexGrow:1,height:"100%",overflow:"hidden"}),Hq=Ae(xx)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:ze(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function zp({children:e,sx:t,...n}){return g.jsxs(g.Fragment,{children:[g.jsx(Vq,{children:g.jsx(Hq,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),g.jsx(rq,{children:g.jsx(y.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}zp.propTypes={children:f.node,sx:f.object};function wx(e){const t=y.useTheme(),n=Er(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Nn(),{open:o,handleDrawerToggle:s,width:a}=Ti(),c=r?y.Drawer:jG,u=document.body,A=Q.useMemo(()=>r?{container:u,variant:"temporary",onClose:s,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:a,borderRight:`1px solid ${t.palette.divider}`,backgroundImage:"none",boxShadow:"inherit",overflow:"auto"}}}:{variant:"permanent"},[r,u,s,a]);return g.jsx(y.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:g.jsxs(c,{...A,open:o,children:[g.jsx(mQ,{}),g.jsx(zp,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Tx(e){const t=y.useTheme(),n=y.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Qn();return t.shadows[4]=t.customShadows.z1,g.jsx(y.AppBar,{elevation:n?4:0,sx:{top:60,bgcolor:t.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${t.palette.divider}`,borderBottom:`1px solid ${t.palette.divider}`,zIndex:1098,color:t.palette.grey[500]},children:g.jsx(y.Container,{maxWidth:r?"xl":!1,children:g.jsx(y.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function Sx(e){const{horizontal:t}=Nn();return t?g.jsx(Tx,{children:e.children}):g.jsx(wx,{children:e.children})}const Dc=({item:e,level:t})=>{const n=bt(),{horizontal:r,downLg:o}=Nn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=mi();let A="_self";e.target&&(A="_blank");let p={component:Q.forwardRef((S,O)=>g.jsx(Ct.Link,{...S,to:e.url,target:A,ref:O}))};e!=null&&e.external&&(p={component:"a",href:e.url,target:A});const h=e.icon,C=e.icon?g.jsx(h,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,m=a.findIndex(S=>S===e.id)>-1,{pathname:I}=Ct.useLocation();Q.useEffect(()=>{I.endsWith(e.url)&&c([e.id])},[I]);const B=n.palette.mode==="dark"?"grey.400":"text.primary",v=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return g.jsx(g.Fragment,{children:r?g.jsxs(y.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:v,"&:hover":{color:v,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[C&&g.jsx(y.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:C}),!C&&g.jsx(y.ListItemIcon,{sx:{color:m?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:g.jsx(Vu,{size:4,color:m?"primary":"secondary"})}),g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip&&g.jsx(y.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&g.jsx(y.Avatar,{children:e.chip.avatar})})]}):g.jsxs(y.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,pl:s?`${t*28}px`:1.5,py:!s&&t===1?1.25:1,...s&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:v,"&:hover":{color:v,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[C&&g.jsx(y.ListItemIcon,{sx:{minWidth:28,color:m?v:B,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&m&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:C}),(s||!s&&t!==1)&&g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",sx:{color:m?v:B},children:e.title})}),(s||!s&&t!==1)&&e.chip&&g.jsx(y.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&g.jsx(y.Avatar,{children:e.chip.avatar})})]})})},c0=Ae(y.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}})),Mc=({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a})=>{var L;const c=bt(),{activeItem:u}=mi(),{horizontal:A}=Nn(),{drawerOpen:p}=mi(),h=Ct.useNavigate(),[C,m]=Q.useState(!1),[I,B]=Q.useState(null),[v,S]=Q.useState(null),O=_=>{S(null),s(t),p?(m(!C),B(I?null:e.id),r(I?"":e.id),e.url&&h(`${e.url}`)):S(_==null?void 0:_.currentTarget)},x=()=>{p||e.url&&h(`${e.url}`)},R=_=>{S(_==null?void 0:_.currentTarget)},P=()=>{m(!1),B(null),S(null)};Q.useMemo(()=>{I===o?t===1&&m(!0):t===a&&(m(!1),B(null))},[o,t,I,a]);const{pathname:k}=Ct.useLocation(),F=!!v,G=(_,V)=>{_.forEach(q=>{q.url===k&&(m(!0),B(V))})};Q.useEffect(()=>{m(!1),B(null),F&&S(null),e.children&&e.children.forEach(_=>{var V;(V=_.children)!=null&&V.length&&G(_.children,e.id),_.url===k&&(B(e.id),m(!0)),k.includes(_.url)&&(B(e.id),m(!0))})},[k,e.children]),Q.useEffect(()=>{e.url===k&&I!==e.id&&(u([e.id]),B(e.id),S(null),m(!0))},[k,e,I,u]);const K=(L=e.children)==null?void 0:L.map(_=>{switch(_.type){case"collapse":return g.jsx(Mc,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:_,level:t+1,parentId:n},_.id);case"item":return g.jsx(Dc,{item:_,level:t+1},_.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},_.id)}}),$=I===e.id,Y=t===1?g.jsx(Ze.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ie=e.icon,se=e.icon?g.jsx(ie,{style:{fontSize:p?"1rem":"1.25rem"}}):Y,X=c.palette.mode==="dark"?"grey.400":"text.primary",Z=c.palette.mode==="dark"&&p?c.palette.text.primary:c.palette.primary.main,H=F?`collapse-pop-${e.id}`:void 0,J={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return g.jsx(g.Fragment,{children:A?g.jsx(g.Fragment,{children:g.jsxs(y.ListItemButton,{id:`boundary-${H}`,disableRipple:!0,selected:$,onMouseEnter:R,onMouseLeave:P,onClick:R,"aria-describedby":H,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[g.jsxs(y.Box,{onClick:x,sx:J,children:[se&&g.jsx(y.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:se}),!se&&t!==1&&g.jsx(y.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:g.jsx(Vu,{size:4,color:$?"primary":"secondary"})}),g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),F?g.jsx(Ze.RightOutlined,{}):g.jsx(Ze.DownOutlined,{})]}),v&&g.jsx(c0,{id:H,open:F,anchorEl:v,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:_})=>g.jsx(Do,{in:F,..._,children:g.jsx(y.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:g.jsx(y.ClickAwayListener,{onClickAway:P,children:g.jsx(y.Box,{children:K})})})})})]})}):g.jsxs(g.Fragment,{children:[g.jsxs(y.ListItemButton,{disableRipple:!0,selected:I===e.id,...!p&&{onMouseEnter:O,onMouseLeave:P},onClick:O,sx:{pl:p?`${t*28}px`:1.5,py:!p&&t===1?1.25:1,...p&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:Z,"&:hover":{color:Z,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!p&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[se&&g.jsx(y.ListItemIcon,{onClick:x,sx:{minWidth:28,color:I===e.id?"primary.main":X,...!p&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!p&&I===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:se}),(p||!p&&t!==1)&&g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:I===e.id?"primary":X,children:e.title}),secondary:e.caption&&g.jsx(y.Typography,{variant:"caption",color:"secondary",children:e.caption})}),(p||!p&&t!==1)&&(F||C?g.jsx(Ze.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):g.jsx(Ze.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}})),!p&&g.jsx(c0,{open:F,anchorEl:v,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:_})=>g.jsx(Do,{in:F,..._,children:g.jsx(y.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:g.jsx(y.ClickAwayListener,{onClickAway:P,children:g.jsx(y.Box,{children:K})})})})})]}),p&&g.jsx(y.Collapse,{in:C,timeout:"auto",unmountOnExit:!0,children:g.jsx(y.List,{sx:{p:0},children:K})})]})})},zq=Ae(y.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}})),Wp=({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c})=>{var H,J;const u=bt(),A=j.useTranslate(),{pathname:p}={pathname:""},{horizontal:h,downLg:C}=Nn(),m=mi(),{drawerOpen:I,selectedID:B,activeID:v}=m,[S,O]=Q.useState(null),[x,R]=Q.useState(e),P=!!S;Q.useEffect(()=>{if(t)if(e.id===r){const L={...e},_=n.map(V=>V.elements);L.children=_.flat(1),R(L)}else R(e)},[e,t,C]);const k=(L,_)=>{L.forEach(V=>{var q;(q=V.children)!=null&&q.length&&k(V.children,x.id),V.url===p&&v(_)})},F=L=>{(L.children?L.children:[]).forEach(V=>{var q;(q=V.children)!=null&&q.length&&k(V.children,x.id),V.url===p&&v(x.id)})};Q.useEffect(()=>{F(x),P&&O(null)},[p,x]);const G=L=>{P||O(L==null?void 0:L.currentTarget)},K=()=>{O(null)},$=x==null?void 0:x.icon,Y=x!=null&&x.icon?g.jsx($,{style:{fontSize:20,stroke:"1.5",color:B===x.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ie=(H=e.children)==null?void 0:H.map(L=>{switch(L.type){case"collapse":return g.jsx(Mc,{menu:L,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:x.id},L.id);case"item":return g.jsx(Dc,{item:L,level:1},L.id)}}),se=n.map((L,_)=>{var V;return g.jsxs(Q.Fragment,{children:[L.title&&g.jsx(y.Typography,{variant:"caption",sx:{pl:2},children:L.title}),(V=L==null?void 0:L.elements)==null?void 0:V.map(q=>{switch(q.type){case"collapse":return g.jsx(Mc,{menu:q,level:1,parentId:x.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},q.id);case"item":return g.jsx(Dc,{item:q,level:1},q.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},q.id)}})]},_)}),X=(J=x.children)==null?void 0:J.map(L=>{switch(L.type){case"collapse":return g.jsx(Mc,{menu:L,level:1,parentId:x.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},L.id);case"item":return g.jsx(Dc,{item:L,level:1},L.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},L.id)}}),Z=P?`group-pop-${e.id}`:void 0;return g.jsx(g.Fragment,{children:h?g.jsx(y.List,{children:g.jsxs(y.ListItemButton,{selected:B===x.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:G,onClick:G,onMouseLeave:K,"aria-describedby":Z,children:[Y&&g.jsx(y.ListItemIcon,{sx:{minWidth:28},children:x.id===r?g.jsx(Ze.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):Y}),g.jsx(y.ListItemText,{sx:{mr:1},primary:g.jsx(y.Typography,{variant:"body1",color:B===x.id?u.palette.primary.main:u.palette.secondary.dark,children:x.id===r?A("ra.actions.more"):x.title})}),P?g.jsx(Ze.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):g.jsx(Ze.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),S&&g.jsx(zq,{id:Z,open:P,anchorEl:S,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:L})=>g.jsx(Do,{in:P,...L,children:g.jsx(y.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:g.jsx(y.ClickAwayListener,{onClickAway:K,children:g.jsx(y.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:u.palette.divider,borderRadius:4}},children:x.id!==r?X:se})})})})})]})}):g.jsx(y.List,{subheader:e.title&&I&&g.jsxs(y.Box,{sx:{pl:3,mb:1.5},children:[g.jsx(y.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption&&g.jsx(y.Typography,{variant:"caption",color:"secondary",children:e.caption})]}),sx:{mt:I&&e.title?1.5:0,py:0,zIndex:0},children:ie})})};Wp.propTypes={item:f.object,lastItem:f.number,remItems:f.array,lastItemId:f.string,setSelectedItems:f.func,selectedItems:f.string,setSelectedLevel:f.func,selectedLevel:f.number};const Wq=e=>{const{horizontal:t}=Nn(),{open:n}=Ti(),r=Er(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return g.jsx(y.Box,{sx:r,children:e.children})};function Px(e){const{horizontal:t}=Nn(),{menu:n,isLoading:r}=wf(),[o,s]=Q.useState(""),[a,c]=Q.useState(0),{horizontalMaxItems:u}=Qn(),A=t?u:void 0;let p=r?0:(n??[]).length-1,h=[],C;return!r&&A&&A<(n??[]).length&&(C=(n??[])[A-1].id,p=A-1,h=(n??[]).slice(A-1,(n??[]).length).map(m=>({title:m.title,elements:m.children,icon:m.icon}))),g.jsx(Wq,{...e,children:!r&&te.map((n??[]).slice(0,p+1),m=>{const{type:I}=m;switch(I){case"group":return g.jsx(Wp,{item:m,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:A,remItems:h,lastItemId:C},m.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},m.id)}})})}const Rx=()=>{const{mode:e,setMode:t}=Qn();return g.jsx(Rs,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?g.jsx(Ze.SunOutlined,{}):g.jsx(Ze.MoonOutlined,{})})},Ox=fy(function(t){const{name:n,version:r,enableThemeToggler:o}=t,{isLoading:s,navigation:a,breadcrumbs:c}=sB();return g.jsxs(gQ,{children:[g.jsxs(Cy,{children:[g.jsx(By,{}),o&&g.jsx(Rx,{}),g.jsx(Oy,{}),g.jsx(my,{}),g.jsx(Iy,{children:g.jsx(Ey,{})})]}),g.jsx(Sx,{children:g.jsx(Px,{})}),g.jsxs(dQ,{error:t.error,children:[!s&&g.jsx(ib,{titleBottom:!0,mode:"breadcrumbs",navigation:a,breadcrumbs:c,card:!1,divider:!1,icon:!0,icons:!0}),t.children,g.jsx(Ct.Outlet,{}),g.jsx(bp,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})});function Uq(e){return Dt("MuiLinearProgress",e)}Vt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Yq=["className","color","value","valueBuffer","variant"];let Fs=e=>e,u0,A0,d0,g0,f0,p0;const tf=4,Gq=qt.keyframes(u0||(u0=Fs`
|
|
215
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var en={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},yn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},ks={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},$G={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},eK=function(t){switch(t){case en.Mobile:return{isMobile:!0};case en.Tablet:return{isTablet:!0};case en.SmartTv:return{isSmartTV:!0};case en.Console:return{isConsole:!0};case en.Wearable:return{isWearable:!0};case en.Browser:return{isBrowser:!0};case en.Embedded:return{isEmbedded:!0};default:return $G}},tK=function(t){return IQ(t)},Me=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Vp=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Hp=function(t){var n=Vp();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},nK=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:Me(n.major),browserFullVersion:Me(n.version),browserName:Me(n.name),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(o.name),osVersion:Me(o.version),userAgent:Me(s)}},r0=function(t,n,r,o){return HG({},t,{vendor:Me(n.vendor),model:Me(n.model),os:Me(r.name),osVersion:Me(r.version),ua:Me(o)})},rK=function(t,n,r,o){return{isSmartTV:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},oK=function(t,n,r,o){return{isConsole:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},iK=function(t,n,r,o){return{isWearable:t,engineName:Me(n.name),engineVersion:Me(n.version),osName:Me(r.name),osVersion:Me(r.version),userAgent:Me(o)}},sK=function(t,n,r,o,s){return{isEmbedded:t,vendor:Me(n.vendor),model:Me(n.model),engineName:Me(r.name),engineVersion:Me(r.version),osName:Me(o.name),osVersion:Me(o.version),userAgent:Me(s)}};function aK(e){var t=e?ol(e):BQ,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=eK(n.type),u=c.isBrowser,A=c.isMobile,p=c.isTablet,h=c.isSmartTV,C=c.isConsole,m=c.isWearable,I=c.isEmbedded;if(u)return nK(u,r,o,s,a);if(h)return rK(h,o,s,a);if(C)return oK(C,o,s,a);if(A||p)return r0(c,n,s,a);if(m)return iK(m,o,s,a);if(I)return sK(I,n,o,s,a)}var vQ=function(t){var n=t.type;return n===en.Mobile},bQ=function(t){var n=t.type;return n===en.Tablet},yQ=function(t){var n=t.type;return n===en.Mobile||n===en.Tablet},QQ=function(t){var n=t.type;return n===en.SmartTv},uu=function(t){var n=t.type;return n===en.Browser},xQ=function(t){var n=t.type;return n===en.Wearable},wQ=function(t){var n=t.type;return n===en.Console},TQ=function(t){var n=t.type;return n===en.Embedded},SQ=function(t){var n=t.vendor;return Me(n)},PQ=function(t){var n=t.model;return Me(n)},RQ=function(t){var n=t.type;return Me(n,"browser")},OQ=function(t){var n=t.name;return n===ks.Android},jQ=function(t){var n=t.name;return n===ks.Windows},DQ=function(t){var n=t.name;return n===ks.MAC_OS},MQ=function(t){var n=t.name;return n===ks.WindowsPhone},kQ=function(t){var n=t.name;return n===ks.IOS},FQ=function(t){var n=t.version;return Me(n)},LQ=function(t){var n=t.name;return Me(n)},NQ=function(t){var n=t.name;return n===yn.Chrome},VQ=function(t){var n=t.name;return n===yn.Firefox},HQ=function(t){var n=t.name;return n===yn.Chromium},Au=function(t){var n=t.name;return n===yn.Edge},zQ=function(t){var n=t.name;return n===yn.Yandex},WQ=function(t){var n=t.name;return n===yn.Safari||n===yn.MobileSafari},UQ=function(t){var n=t.name;return n===yn.MobileSafari},YQ=function(t){var n=t.name;return n===yn.Opera},GQ=function(t){var n=t.name;return n===yn.InternetExplorer||n===yn.Ie},KQ=function(t){var n=t.name;return n===yn.MIUI},qQ=function(t){var n=t.name;return n===yn.SamsungBrowser},JQ=function(t){var n=t.version;return Me(n)},XQ=function(t){var n=t.major;return Me(n)},ZQ=function(t){var n=t.name;return Me(n)},_Q=function(t){var n=t.name;return Me(n)},$Q=function(t){var n=t.version;return Me(n)},ex=function(){var t=Vp(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},fs=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},tx=function(){var t=Vp();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},wr=function(){return Hp("iPad")},nx=function(){return Hp("iPhone")},rx=function(){return Hp("iPod")},ox=function(t){return Me(t)};function ix(e){var t=e||BQ,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:QQ(n),isConsole:wQ(n),isWearable:xQ(n),isEmbedded:TQ(n),isMobileSafari:UQ(r)||wr(),isChromium:HQ(r),isMobile:yQ(n)||wr(),isMobileOnly:vQ(n),isTablet:bQ(n)||wr(),isBrowser:uu(n),isDesktop:uu(n),isAndroid:OQ(o),isWinPhone:MQ(o),isIOS:kQ(o)||wr(),isChrome:NQ(r),isFirefox:VQ(r),isSafari:WQ(r),isOpera:YQ(r),isIE:GQ(r),osVersion:FQ(o),osName:LQ(o),fullBrowserVersion:JQ(r),browserVersion:XQ(r),browserName:ZQ(r),mobileVendor:SQ(n),mobileModel:PQ(n),engineName:_Q(s),engineVersion:$Q(s),getUA:ox(a),isEdge:Au(r)||fs(a),isYandex:zQ(r),deviceType:RQ(n),isIOS13:tx(),isIPad13:wr(),isIPhone13:nx(),isIPod13:rx(),isElectron:ex(),isEdgeChromium:fs(a),isLegacyEdge:Au(r)&&!fs(a),isWindows:jQ(o),isMacOs:DQ(o),isMIUI:KQ(r),isSamsungBrowser:qQ(r)}}var sx=QQ(Vn),ax=wQ(Vn),lx=xQ(Vn),lK=TQ(Vn),cK=UQ(on)||wr(),uK=HQ(on),nA=yQ(Vn)||wr(),cx=vQ(Vn),ux=bQ(Vn)||wr(),Ax=uu(Vn),AK=uu(Vn),dx=OQ(No),gx=MQ(No),fx=kQ(No)||wr(),dK=NQ(on),gK=VQ(on),fK=WQ(on),pK=YQ(on),px=GQ(on),hK=FQ(No),CK=LQ(No),mK=JQ(on),EK=XQ(on),IK=ZQ(on),BK=SQ(Vn),vK=PQ(Vn),bK=_Q(Np),yK=$Q(Np),QK=ox(rl),xK=Au(on)||fs(rl),wK=zQ(on),TK=RQ(Vn),SK=tx(),PK=wr(),RK=nx(),OK=rx(),jK=ex(),DK=fs(rl),MK=Au(on)&&!fs(rl),kK=jQ(No),FK=DQ(No),LK=KQ(on),NK=qQ(on),VK=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=ol(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return ix({device:r,browser:o,os:s,engine:a,ua:c})},HK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return dx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},zK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return Ax?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},WK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return px?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},UK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return fx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},YK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return nA?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},GK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return ux?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},KK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return gx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},qK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=lr(t,["renderWithFragment","children","viewClassName","style"]);return cx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},JK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return sx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},XK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return ax?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},ZK=function(t){var n=t.renderWithFragment,r=t.children,o=lr(t,["renderWithFragment","children"]);return lx?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",o,r):null},_K=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=lr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?gt.createElement(tn.Fragment,null,r):gt.createElement("div",s,r):null};function $K(e){return function(t){YG(n,t);function n(r){var o;return zG(this,n),o=KG(this,$g(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Oc(o)),o.onOrientationChange=o.onOrientationChange.bind(Oc(o)),o.onPageLoad=o.onPageLoad.bind(Oc(o)),o.state={isLandscape:!1,isPortrait:!1},o}return WG(n,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var o=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:o===0,isLandscape:o===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":Sa(window))!==void 0&&nA&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return gt.createElement(e,_g({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(gt.Component)}function eq(){var e=tn.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=qG(e,2),n=t[0],r=t[1],o=tn.useCallback(function(){var s=window.innerWidth>window.innerHeight?90:0,a={isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"};n.orientation!==a.orientation&&r(a)},[n.orientation]);return tn.useEffect(function(){return(typeof window>"u"?"undefined":Sa(window))!==void 0&&nA&&(o(),window.addEventListener("load",o,!1),window.addEventListener("resize",o,!1)),function(){window.removeEventListener("resize",o,!1),window.removeEventListener("load",o,!1)}},[o]),n}function hx(e){var t=e||window.navigator.userAgent;return ol(t)}function tq(e){var t=e||window.navigator.userAgent,n=hx(t),r=ix(n);return[r,n]}be.AndroidView=HK;be.BrowserTypes=yn;var nq=be.BrowserView=zK;be.ConsoleView=XK;be.CustomView=_K;be.IEView=WK;be.IOSView=UK;be.MobileOnlyView=qK;var rq=be.MobileView=YK;be.OsTypes=ks;be.SmartTVView=JK;be.TabletView=GK;be.WearableView=ZK;be.WinPhoneView=KK;be.browserName=IK;be.browserVersion=EK;be.deviceDetect=aK;be.deviceType=TK;be.engineName=bK;be.engineVersion=yK;be.fullBrowserVersion=mK;be.getSelectorsByUserAgent=VK;be.getUA=QK;be.isAndroid=dx;be.isBrowser=Ax;be.isChrome=dK;be.isChromium=uK;be.isConsole=ax;be.isDesktop=AK;be.isEdge=xK;be.isEdgeChromium=DK;be.isElectron=jK;be.isEmbedded=lK;be.isFirefox=gK;be.isIE=px;be.isIOS=fx;be.isIOS13=SK;be.isIPad13=PK;be.isIPhone13=RK;be.isIPod13=OK;be.isLegacyEdge=MK;be.isMIUI=LK;be.isMacOs=FK;be.isMobile=nA;be.isMobileOnly=cx;be.isMobileSafari=cK;be.isOpera=pK;be.isSafari=fK;be.isSamsungBrowser=NK;be.isSmartTV=sx;be.isTablet=ux;be.isWearable=lx;be.isWinPhone=gx;be.isWindows=kK;be.isYandex=wK;be.mobileModel=vK;be.mobileVendor=BK;be.osName=CK;be.osVersion=hK;be.parseUserAgent=ol;be.setUserAgent=tK;be.useDeviceData=hx;be.useDeviceSelectors=tq;be.useMobileOrientation=eq;be.withOrientationChange=$K;var oq=typeof global=="object"&&global&&global.Object===Object&&global;const iq=oq;var sq=typeof self=="object"&&self&&self.Object===Object&&self,aq=iq||sq||Function("return this")();const Cx=aq;var lq=Cx.Symbol;const du=lq;var mx=Object.prototype,cq=mx.hasOwnProperty,uq=mx.toString,ga=du?du.toStringTag:void 0;function Aq(e){var t=cq.call(e,ga),n=e[ga];try{e[ga]=void 0;var r=!0}catch{}var o=uq.call(e);return r&&(t?e[ga]=n:delete e[ga]),o}var dq=Object.prototype,gq=dq.toString;function fq(e){return gq.call(e)}var pq="[object Null]",hq="[object Undefined]",o0=du?du.toStringTag:void 0;function Cq(e){return e==null?e===void 0?hq:pq:o0&&o0 in Object(e)?Aq(e):fq(e)}function mq(e){return e!=null&&typeof e=="object"}var Eq="[object Symbol]";function Iq(e){return typeof e=="symbol"||mq(e)&&Cq(e)==Eq}var Bq=/\s/;function vq(e){for(var t=e.length;t--&&Bq.test(e.charAt(t)););return t}var bq=/^\s+/;function yq(e){return e&&e.slice(0,vq(e)+1).replace(bq,"")}function gu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var i0=0/0,Qq=/^[-+]0x[0-9a-f]+$/i,xq=/^0b[01]+$/i,wq=/^0o[0-7]+$/i,Tq=parseInt;function s0(e){if(typeof e=="number")return e;if(Iq(e))return i0;if(gu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=gu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=yq(e);var n=xq.test(e);return n||wq.test(e)?Tq(e.slice(2),n?2:8):Qq.test(e)?i0:+e}var Sq=function(){return Cx.Date.now()};const og=Sq;var Pq="Expected a function",Rq=Math.max,Oq=Math.min;function jc(e,t,n){var r,o,s,a,c,u,A=0,p=!1,h=!1,C=!0;if(typeof e!="function")throw new TypeError(Pq);t=s0(t)||0,gu(n)&&(p=!!n.leading,h="maxWait"in n,s=h?Rq(s0(n.maxWait)||0,t):s,C="trailing"in n?!!n.trailing:C);function m(k){var F=r,G=o;return r=o=void 0,A=k,a=e.apply(G,F),a}function I(k){return A=k,c=setTimeout(S,t),p?m(k):a}function B(k){var F=k-u,G=k-A,K=t-F;return h?Oq(K,s-G):K}function v(k){var F=k-u,G=k-A;return u===void 0||F>=t||F<0||h&&G>=s}function S(){var k=og();if(v(k))return O(k);c=setTimeout(S,B(k))}function O(k){return c=void 0,C&&r?m(k):(r=o=void 0,a)}function x(){c!==void 0&&clearTimeout(c),A=0,r=u=o=c=void 0}function R(){return c===void 0?a:O(og())}function P(){var k=og(),F=v(k);if(r=arguments,o=this,u=k,F){if(c===void 0)return I(u);if(h)return clearTimeout(c),c=setTimeout(S,t),m(u)}return c===void 0&&(c=setTimeout(S,t)),a}return P.cancel=x,P.flush=R,P}var jq="Expected a function";function Dq(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jq);return gu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),jc(e,t,{leading:r,maxWait:t,trailing:o})}var Mq=!!(typeof window<"u"&&window.document&&window.document.createElement),kq=Mq;const Ex=ro(kq);var us=function(){return us=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},us.apply(this,arguments)},rs=null,a0=null;Ex&&window.addEventListener("resize",function(){a0!==window.devicePixelRatio&&(a0=window.devicePixelRatio,rs=null)});function l0(){if(rs===null){if(typeof document>"u")return rs=0,rs;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),rs=n}return rs}function Ix(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Bx(e){return!e||!e.ownerDocument?document:e.ownerDocument}var vx=function(e){var t={},n=Array.prototype.reduce.call(e,function(r,o){var s=o.name.match(/data-simplebar-(.+)/);if(s){var a=s[1].replace(/\W+(.)/g,function(c,u){return u.toUpperCase()});switch(o.value){case"true":r[a]=!0;break;case"false":r[a]=!1;break;case void 0:r[a]=!0;break;default:r[a]=o.value}}return r},t);return n};function bx(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function yx(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function Qx(e){return".".concat(e.split(" ").join("."))}var Fq=Object.freeze({__proto__:null,addClasses:bx,classNamesToQuery:Qx,getElementDocument:Bx,getElementWindow:Ix,getOptions:vx,removeClasses:yx}),Co=Ix,ig=Bx,Lq=vx,mo=bx,Eo=yx,Cn=Qx,mc=function(){function e(t,n){n===void 0&&(n={});var r=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var o=Co(r.el);r.scrollXTicking||(o.requestAnimationFrame(r.scrollX),r.scrollXTicking=!0),r.scrollYTicking||(o.requestAnimationFrame(r.scrollY),r.scrollYTicking=!0),r.isScrolling||(r.isScrolling=!0,mo(r.el,r.classNames.scrolling)),r.showScrollbar("x"),r.showScrollbar("y"),r.onStopScrolling()},this.scrollX=function(){r.axis.x.isOverflowing&&r.positionScrollbar("x"),r.scrollXTicking=!1},this.scrollY=function(){r.axis.y.isOverflowing&&r.positionScrollbar("y"),r.scrollYTicking=!1},this._onStopScrolling=function(){Eo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(mo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){Eo(r.el,r.classNames.mouseEntered),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isMouseEntering=!1},this._onMouseMove=function(o){r.mouseX=o.clientX,r.mouseY=o.clientY,(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseMoveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseMoveForAxis("y")},this.onMouseLeave=function(){r.onMouseMove.cancel(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&r.onMouseLeaveForAxis("x"),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&r.onMouseLeaveForAxis("y"),r.mouseX=-1,r.mouseY=-1},this._onWindowResize=function(){r.scrollbarWidth=r.getScrollbarWidth(),r.hideNativeScrollbar()},this.onPointerEvent=function(o){if(!(!r.axis.x.track.el||!r.axis.y.track.el||!r.axis.x.scrollbar.el||!r.axis.y.scrollbar.el)){var s,a;r.axis.x.track.rect=r.axis.x.track.el.getBoundingClientRect(),r.axis.y.track.rect=r.axis.y.track.el.getBoundingClientRect(),(r.axis.x.isOverflowing||r.axis.x.forceVisible)&&(s=r.isWithinBounds(r.axis.x.track.rect)),(r.axis.y.isOverflowing||r.axis.y.forceVisible)&&(a=r.isWithinBounds(r.axis.y.track.rect)),(s||a)&&(o.stopPropagation(),o.type==="pointerdown"&&o.pointerType!=="touch"&&(s&&(r.axis.x.scrollbar.rect=r.axis.x.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.x.scrollbar.rect)?r.onDragStart(o,"x"):r.onTrackClick(o,"x")),a&&(r.axis.y.scrollbar.rect=r.axis.y.scrollbar.el.getBoundingClientRect(),r.isWithinBounds(r.axis.y.scrollbar.rect)?r.onDragStart(o,"y"):r.onTrackClick(o,"y"))))}},this.drag=function(o){var s,a,c,u,A,p,h,C,m,I,B;if(!(!r.draggedAxis||!r.contentWrapperEl)){var v,S=r.axis[r.draggedAxis].track,O=(a=(s=S.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,x=r.axis[r.draggedAxis].scrollbar,R=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((p=(A=r.elStyles)===null||A===void 0?void 0:A[r.axis[r.draggedAxis].sizeAttr])!==null&&p!==void 0?p:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?v=o.pageY:v=o.pageX;var k=v-((C=(h=S.rect)===null||h===void 0?void 0:h[r.axis[r.draggedAxis].offsetAttr])!==null&&C!==void 0?C:0)-r.axis[r.draggedAxis].dragOffset;k=r.draggedAxis==="x"&&r.isRtl?((I=(m=S.rect)===null||m===void 0?void 0:m[r.axis[r.draggedAxis].sizeAttr])!==null&&I!==void 0?I:0)-x.size-k:k;var F=k/(O-x.size),G=F*(R-P);r.draggedAxis==="x"&&r.isRtl&&(G=!((B=e.getRtlHelpers())===null||B===void 0)&&B.isScrollingToNegative?-G:G),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=G}},this.onEndDrag=function(o){r.isDragging=!1;var s=ig(r.el),a=Co(r.el);o.preventDefault(),o.stopPropagation(),Eo(r.el,r.classNames.dragging),r.onStopScrolling(),s.removeEventListener("mousemove",r.drag,!0),s.removeEventListener("mouseup",r.onEndDrag,!0),r.removePreventClickId=a.setTimeout(function(){s.removeEventListener("click",r.preventClick,!0),s.removeEventListener("dblclick",r.preventClick,!0),r.removePreventClickId=null})},this.preventClick=function(o){o.preventDefault(),o.stopPropagation()},this.el=t,this.options=us(us({},e.defaultOptions),n),this.classNames=us(us({},e.defaultOptions.classNames),n.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},typeof this.el!="object"||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=Dq(this._onMouseMove,64),this.onWindowResize=jc(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=jc(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=jc(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var n=t.firstElementChild,r=n==null?void 0:n.firstElementChild;if(!r)return null;document.body.appendChild(n),n.scrollLeft=0;var o=e.getOffset(n),s=e.getOffset(r);n.scrollLeft=-999;var a=e.getOffset(r);return document.body.removeChild(n),e.rtlHelpers={isScrollOriginAtZero:o.left!==s.left,isScrollingToNegative:s.left!==a.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:l0()}catch{return l0()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=ig(t),o=Co(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Ex&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var t,n;this.wrapperEl=this.el.querySelector(Cn(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(Cn(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(Cn(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(Cn(this.classNames.offset)),this.maskEl=this.el.querySelector(Cn(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,Cn(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(Cn(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(Cn(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(Cn(this.classNames.track)).concat(Cn(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(Cn(this.classNames.track)).concat(Cn(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(Cn(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(Cn(this.classNames.scrollbar)))||null,this.options.autoHide||(mo(this.axis.x.scrollbar.el,this.classNames.visible),mo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Co(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),(n=this.contentWrapperEl)===null||n===void 0||n.addEventListener("scroll",this.onScroll),r.addEventListener("resize",this.onWindowResize),!!this.contentEl){if(window.ResizeObserver){var o=!1,s=r.ResizeObserver||ResizeObserver;this.resizeObserver=new s(function(){o&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){o=!0})}this.mutationObserver=new r.MutationObserver(function(){r.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(!(!this.heightAutoObserverEl||!this.contentEl||!this.contentWrapperEl||!this.wrapperEl||!this.placeholderEl)){var t=Co(this.el);this.elStyles=t.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var n=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,o=this.heightAutoObserverEl.offsetWidth<=1||n>0,s=this.contentWrapperEl.offsetWidth,a=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var u=this.contentEl.scrollHeight,A=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||A,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var p=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&A>n,this.axis.y.isOverflowing=u>p,this.axis.x.isOverflowing=a==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,C=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&A>s-C,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>p-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(t){var n,r;if(t===void 0&&(t="y"),!this.axis[t].isOverflowing||!this.contentEl)return 0;var o=this.contentEl[this.axis[t].scrollSizeAttr],s=(r=(n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])!==null&&r!==void 0?r:0,a=s/o,c;return c=Math.max(~~(a*s),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(c=Math.min(c,this.options.scrollbarMaxSize)),c},e.prototype.positionScrollbar=function(t){var n,r,o;t===void 0&&(t="y");var s=this.axis[t].scrollbar;if(!(!this.axis[t].isOverflowing||!this.contentWrapperEl||!s.el||!this.elStyles)){var a=this.contentWrapperEl[this.axis[t].scrollSizeAttr],c=((n=this.axis[t].track.el)===null||n===void 0?void 0:n[this.axis[t].offsetSizeAttr])||0,u=parseInt(this.elStyles[this.axis[t].sizeAttr],10),A=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];A=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-A:A,t==="x"&&this.isRtl&&(A=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?A:-A);var p=A/(a-u),h=~~((c-s.size)*p);h=t==="x"&&this.isRtl?-h+(c-s.size):h,s.el.style.transform=t==="x"?"translate3d(".concat(h,"px, 0, 0)"):"translate3d(0, ".concat(h,"px, 0)")}},e.prototype.toggleTrackVisibility=function(t){t===void 0&&(t="y");var n=this.axis[t].track.el,r=this.axis[t].scrollbar.el;!n||!r||!this.contentWrapperEl||(this.axis[t].isOverflowing||this.axis[t].forceVisible?(n.style.visibility="visible",this.contentWrapperEl.style[this.axis[t].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(t))):(n.style.visibility="hidden",this.contentWrapperEl.style[this.axis[t].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(t))),this.axis[t].isOverflowing?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(t){t===void 0&&(t="y"),this.axis[t].isOverflowing&&!this.axis[t].scrollbar.isVisible&&(mo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(t){t===void 0&&(t="y"),!this.isDragging&&this.axis[t].isOverflowing&&this.axis[t].scrollbar.isVisible&&(Eo(this.axis[t].scrollbar.el,this.classNames.visible),this.axis[t].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(t){t===void 0&&(t="y");var n=this.axis[t];!n.track.el||!n.scrollbar.el||(n.track.rect=n.track.el.getBoundingClientRect(),n.scrollbar.rect=n.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(n.track.rect)?(this.showScrollbar(t),mo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?mo(n.scrollbar.el,this.classNames.hover):Eo(n.scrollbar.el,this.classNames.hover)):(Eo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Eo(this.axis[t].track.el,this.classNames.hover),Eo(this.axis[t].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)},e.prototype.onDragStart=function(t,n){var r;n===void 0&&(n="y"),this.isDragging=!0;var o=ig(this.el),s=Co(this.el),a=this.axis[n].scrollbar,c=n==="y"?t.pageY:t.pageX;this.axis[n].dragOffset=c-(((r=a.rect)===null||r===void 0?void 0:r[this.axis[n].offsetAttr])||0),this.draggedAxis=n,mo(this.el,this.classNames.dragging),o.addEventListener("mousemove",this.drag,!0),o.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(o.addEventListener("click",this.preventClick,!0),o.addEventListener("dblclick",this.preventClick,!0)):(s.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(t,n){var r=this,o,s,a,c;n===void 0&&(n="y");var u=this.axis[n];if(!(!this.options.clickOnTrack||!u.scrollbar.el||!this.contentWrapperEl)){t.preventDefault();var A=Co(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var p=this.axis[n].scrollbar,h=(s=(o=p.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,C=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),m=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],I=n==="y"?this.mouseY-h:this.mouseX-h,B=I<0?-1:1,v=B===-1?m-C:m+C,S=40,O=function(){r.contentWrapperEl&&(B===-1?m>v&&(m-=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,A.requestAnimationFrame(O)):m<v&&(m+=S,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=m,A.requestAnimationFrame(O)))};O()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=Co(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(t){return this.mouseX>=t.left&&this.mouseX<=t.left+t.width&&this.mouseY>=t.top&&this.mouseY<=t.top+t.height},e.prototype.findChild=function(t,n){var r=t.matches||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector;return Array.prototype.filter.call(t.children,function(o){return r.call(o,n)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=Lq,e.helpers=Fq,e}(),Dn=function(){return Dn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Dn.apply(this,arguments)};function Nq(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}var xx=M.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=Nq(e,["children","scrollableNodeProps"]),a=M.useRef(),c=M.useRef(),u=M.useRef(),A={},p={};Object.keys(s).forEach(function(m){Object.prototype.hasOwnProperty.call(mc.defaultOptions,m)?A[m]=s[m]:p[m]=s[m]});var h=Dn(Dn({},mc.defaultOptions.classNames),A.classNames),C=Dn(Dn({},o),{className:"".concat(h.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":A.ariaLabel||mc.defaultOptions.ariaLabel});return M.useEffect(function(){var m;return c.current=C.ref?C.ref.current:c.current,a.current&&(m=new mc(a.current,Dn(Dn(Dn({},A),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(m):t&&(t.current=m)),function(){m==null||m.unMount(),m=null,typeof t=="function"&&t(null)}},[]),M.createElement("div",Dn({"data-simplebar":"init",ref:a},p),M.createElement("div",{className:h.wrapper},M.createElement("div",{className:h.heightAutoObserverWrapperEl},M.createElement("div",{className:h.heightAutoObserverEl})),M.createElement("div",{className:h.mask},M.createElement("div",{className:h.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Dn(Dn({},C),{ref:c}),contentNodeRef:u,contentNodeProps:{className:h.contentEl,ref:u}}):M.createElement("div",Dn({},C),M.createElement("div",{className:h.contentEl},n)))),M.createElement("div",{className:h.placeholder})),M.createElement("div",{className:"".concat(h.track," simplebar-horizontal")},M.createElement("div",{className:h.scrollbar})),M.createElement("div",{className:"".concat(h.track," simplebar-vertical")},M.createElement("div",{className:h.scrollbar})))});xx.displayName="SimpleBar";const Vq=Ae(nq)({flexGrow:1,height:"100%",overflow:"hidden"}),Hq=Ae(xx)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:ze(e.palette.grey[500],.48)},"&.simplebar-visible:before":{opacity:1}},"& .simplebar-track.simplebar-vertical":{width:10},"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar":{height:6},"& .simplebar-mask":{zIndex:"inherit"}}));function zp({children:e,sx:t,...n}){return g.jsxs(g.Fragment,{children:[g.jsx(Vq,{children:g.jsx(Hq,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),g.jsx(rq,{children:g.jsx(y.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}zp.propTypes={children:f.node,sx:f.object};function wx(e){const t=y.useTheme(),n=Er(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Nn(),{open:o,handleDrawerToggle:s,width:a}=Ti(),c=r?y.Drawer:jG,u=document.body,A=Q.useMemo(()=>r?{container:u,variant:"temporary",onClose:s,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",lg:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:a,borderRight:`1px solid ${t.palette.divider}`,backgroundImage:"none",boxShadow:"inherit",overflow:"auto"}}}:{variant:"permanent"},[r,u,s,a]);return g.jsx(y.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:g.jsxs(c,{...A,open:o,children:[g.jsx(mQ,{}),g.jsx(zp,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Tx(e){const t=y.useTheme(),n=y.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Qn();return t.shadows[4]=t.customShadows.z1,g.jsx(y.AppBar,{elevation:n?4:0,sx:{top:60,bgcolor:t.palette.background.paper,width:"100%",height:62,justifyContent:"center",borderTop:`1px solid ${t.palette.divider}`,borderBottom:`1px solid ${t.palette.divider}`,zIndex:1098,color:t.palette.grey[500]},children:g.jsx(y.Container,{maxWidth:r?"xl":!1,children:g.jsx(y.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function Sx(e){const{horizontal:t}=Nn();return t?g.jsx(Tx,{children:e.children}):g.jsx(wx,{children:e.children})}const Dc=({item:e,level:t})=>{const n=bt(),{horizontal:r,downLg:o}=Nn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=mi();let A="_self";e.target&&(A="_blank");let p={component:Q.forwardRef((S,O)=>g.jsx(Ct.Link,{...S,to:e.url,target:A,ref:O}))};e!=null&&e.external&&(p={component:"a",href:e.url,target:A});const h=e.icon,C=e.icon?g.jsx(h,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,m=a.findIndex(S=>S===e.id)>-1,{pathname:I}=Ct.useLocation();Q.useEffect(()=>{I.endsWith(e.url)&&c([e.id])},[I]);const B=n.palette.mode==="dark"?"grey.400":"text.primary",v=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return g.jsx(g.Fragment,{children:r?g.jsxs(y.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:v,"&:hover":{color:v,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[C&&g.jsx(y.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:C}),!C&&g.jsx(y.ListItemIcon,{sx:{color:m?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&m&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:g.jsx(Vu,{size:4,color:m?"primary":"secondary"})}),g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip&&g.jsx(y.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&g.jsx(y.Avatar,{children:e.chip.avatar})})]}):g.jsxs(y.ListItemButton,{...p,disabled:e.disabled,selected:m,sx:{zIndex:1201,pl:s?`${t*28}px`:1.5,py:!s&&t===1?1.25:1,...s&&{"&:hover":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter",borderRight:`2px solid ${n.palette.primary.main}`,color:v,"&:hover":{color:v,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[C&&g.jsx(y.ListItemIcon,{sx:{minWidth:28,color:m?v:B,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&m&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:C}),(s||!s&&t!==1)&&g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",sx:{color:m?v:B},children:e.title})}),(s||!s&&t!==1)&&e.chip&&g.jsx(y.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar&&g.jsx(y.Avatar,{children:e.chip.avatar})})]})})},c0=Ae(y.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:38,left:-5,width:10,height:10,backgroundColor:e.palette.background.paper,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderLeft:`1px solid ${e.palette.grey.A800}`,borderBottom:`1px solid ${e.palette.grey.A800}`}})),Mc=({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a})=>{var L;const c=bt(),{activeItem:u}=mi(),{horizontal:A}=Nn(),{drawerOpen:p}=mi(),h=Ct.useNavigate(),[C,m]=Q.useState(!1),[I,B]=Q.useState(null),[v,S]=Q.useState(null),O=_=>{S(null),s(t),p?(m(!C),B(I?null:e.id),r(I?"":e.id),e.url&&h(`${e.url}`)):S(_==null?void 0:_.currentTarget)},x=()=>{p||e.url&&h(`${e.url}`)},R=_=>{S(_==null?void 0:_.currentTarget)},P=()=>{m(!1),B(null),S(null)};Q.useMemo(()=>{I===o?t===1&&m(!0):t===a&&(m(!1),B(null))},[o,t,I,a]);const{pathname:k}=Ct.useLocation(),F=!!v,G=(_,V)=>{_.forEach(q=>{q.url===k&&(m(!0),B(V))})};Q.useEffect(()=>{m(!1),B(null),F&&S(null),e.children&&e.children.forEach(_=>{var V;(V=_.children)!=null&&V.length&&G(_.children,e.id),_.url===k&&(B(e.id),m(!0)),k.includes(_.url)&&(B(e.id),m(!0))})},[k,e.children]),Q.useEffect(()=>{e.url===k&&I!==e.id&&(u([e.id]),B(e.id),S(null),m(!0))},[k,e,I,u]);const K=(L=e.children)==null?void 0:L.map(_=>{switch(_.type){case"collapse":return g.jsx(Mc,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:_,level:t+1,parentId:n},_.id);case"item":return g.jsx(Dc,{item:_,level:t+1},_.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},_.id)}}),$=I===e.id,Y=t===1?g.jsx(Ze.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ie=e.icon,se=e.icon?g.jsx(ie,{style:{fontSize:p?"1rem":"1.25rem"}}):Y,X=c.palette.mode==="dark"?"grey.400":"text.primary",Z=c.palette.mode==="dark"&&p?c.palette.text.primary:c.palette.primary.main,H=F?`collapse-pop-${e.id}`:void 0,J={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return g.jsx(g.Fragment,{children:A?g.jsx(g.Fragment,{children:g.jsxs(y.ListItemButton,{id:`boundary-${H}`,disableRipple:!0,selected:$,onMouseEnter:R,onMouseLeave:P,onClick:R,"aria-describedby":H,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[g.jsxs(y.Box,{onClick:x,sx:J,children:[se&&g.jsx(y.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:se}),!se&&t!==1&&g.jsx(y.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:g.jsx(Vu,{size:4,color:$?"primary":"secondary"})}),g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),F?g.jsx(Ze.RightOutlined,{}):g.jsx(Ze.DownOutlined,{})]}),v&&g.jsx(c0,{id:H,open:F,anchorEl:v,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:_})=>g.jsx(Do,{in:F,..._,children:g.jsx(y.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:g.jsx(y.ClickAwayListener,{onClickAway:P,children:g.jsx(y.Box,{children:K})})})})})]})}):g.jsxs(g.Fragment,{children:[g.jsxs(y.ListItemButton,{disableRipple:!0,selected:I===e.id,...!p&&{onMouseEnter:O,onMouseLeave:P},onClick:O,sx:{pl:p?`${t*28}px`:1.5,py:!p&&t===1?1.25:1,...p&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:Z,"&:hover":{color:Z,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!p&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[se&&g.jsx(y.ListItemIcon,{onClick:x,sx:{minWidth:28,color:I===e.id?"primary.main":X,...!p&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!p&&I===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:se}),(p||!p&&t!==1)&&g.jsx(y.ListItemText,{primary:g.jsx(y.Typography,{variant:"h6",color:I===e.id?"primary":X,children:e.title}),secondary:e.caption&&g.jsx(y.Typography,{variant:"caption",color:"secondary",children:e.caption})}),(p||!p&&t!==1)&&(F||C?g.jsx(Ze.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):g.jsx(Ze.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}})),!p&&g.jsx(c0,{open:F,anchorEl:v,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:_})=>g.jsx(Do,{in:F,..._,children:g.jsx(y.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:g.jsx(y.ClickAwayListener,{onClickAway:P,children:g.jsx(y.Box,{children:K})})})})})]}),p&&g.jsx(y.Collapse,{in:C,timeout:"auto",unmountOnExit:!0,children:g.jsx(y.List,{sx:{p:0},children:K})})]})})},zq=Ae(y.Popper)(({theme:e})=>({overflow:"visible",zIndex:1202,minWidth:180,"&:before":{content:'""',display:"block",position:"absolute",top:5,left:32,width:12,height:12,transform:"translateY(-50%) rotate(45deg)",zIndex:120,borderWidth:"6px",borderStyle:"solid",borderColor:`${e.palette.background.paper} transparent transparent ${e.palette.background.paper}`}})),Wp=({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c})=>{var H,J;const u=bt(),A=j.useTranslate(),{pathname:p}={pathname:""},{horizontal:h,downLg:C}=Nn(),m=mi(),{drawerOpen:I,selectedID:B,activeID:v}=m,[S,O]=Q.useState(null),[x,R]=Q.useState(e),P=!!S;Q.useEffect(()=>{if(t)if(e.id===r){const L={...e},_=n.map(V=>V.elements);L.children=_.flat(1),R(L)}else R(e)},[e,t,C]);const k=(L,_)=>{L.forEach(V=>{var q;(q=V.children)!=null&&q.length&&k(V.children,x.id),V.url===p&&v(_)})},F=L=>{(L.children?L.children:[]).forEach(V=>{var q;(q=V.children)!=null&&q.length&&k(V.children,x.id),V.url===p&&v(x.id)})};Q.useEffect(()=>{F(x),P&&O(null)},[p,x]);const G=L=>{P||O(L==null?void 0:L.currentTarget)},K=()=>{O(null)},$=x==null?void 0:x.icon,Y=x!=null&&x.icon?g.jsx($,{style:{fontSize:20,stroke:"1.5",color:B===x.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ie=(H=e.children)==null?void 0:H.map(L=>{switch(L.type){case"collapse":return g.jsx(Mc,{menu:L,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:x.id},L.id);case"item":return g.jsx(Dc,{item:L,level:1},L.id)}}),se=n.map((L,_)=>{var V;return g.jsxs(Q.Fragment,{children:[L.title&&g.jsx(y.Typography,{variant:"caption",sx:{pl:2},children:L.title}),(V=L==null?void 0:L.elements)==null?void 0:V.map(q=>{switch(q.type){case"collapse":return g.jsx(Mc,{menu:q,level:1,parentId:x.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},q.id);case"item":return g.jsx(Dc,{item:q,level:1},q.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},q.id)}})]},_)}),X=(J=x.children)==null?void 0:J.map(L=>{switch(L.type){case"collapse":return g.jsx(Mc,{menu:L,level:1,parentId:x.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},L.id);case"item":return g.jsx(Dc,{item:L,level:1},L.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},L.id)}}),Z=P?`group-pop-${e.id}`:void 0;return g.jsx(g.Fragment,{children:h?g.jsx(y.List,{children:g.jsxs(y.ListItemButton,{selected:B===x.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:G,onClick:G,onMouseLeave:K,"aria-describedby":Z,children:[Y&&g.jsx(y.ListItemIcon,{sx:{minWidth:28},children:x.id===r?g.jsx(Ze.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):Y}),g.jsx(y.ListItemText,{sx:{mr:1},primary:g.jsx(y.Typography,{variant:"body1",color:B===x.id?u.palette.primary.main:u.palette.secondary.dark,children:x.id===r?A("ra.actions.more"):x.title})}),P?g.jsx(Ze.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):g.jsx(Ze.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),S&&g.jsx(zq,{id:Z,open:P,anchorEl:S,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:L})=>g.jsx(Do,{in:P,...L,children:g.jsx(y.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:g.jsx(y.ClickAwayListener,{onClickAway:K,children:g.jsx(y.Box,{sx:{maxHeight:"calc(100vh - 170px)",overflowY:"auto","&::-webkit-scrollbar":{opacity:0,width:4,"&:hover":{opacity:.7}},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:u.palette.divider,borderRadius:4}},children:x.id!==r?X:se})})})})})]})}):g.jsx(y.List,{subheader:e.title&&I&&g.jsxs(y.Box,{sx:{pl:3,mb:1.5},children:[g.jsx(y.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption&&g.jsx(y.Typography,{variant:"caption",color:"secondary",children:e.caption})]}),sx:{mt:I&&e.title?1.5:0,py:0,zIndex:0},children:ie})})};Wp.propTypes={item:f.object,lastItem:f.number,remItems:f.array,lastItemId:f.string,setSelectedItems:f.func,selectedItems:f.string,setSelectedLevel:f.func,selectedLevel:f.number};const Wq=e=>{const{horizontal:t}=Nn(),{open:n}=Ti(),r=Er(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return g.jsx(y.Box,{sx:r,children:e.children})};function Px(e){const{horizontal:t}=Nn(),{menu:n,isLoading:r}=wf(),[o,s]=Q.useState(""),[a,c]=Q.useState(0),{horizontalMaxItems:u}=Qn(),A=t?u:void 0;let p=r?0:(n??[]).length-1,h=[],C;return!r&&A&&A<(n??[]).length&&(C=(n??[])[A-1].id,p=A-1,h=(n??[]).slice(A-1,(n??[]).length).map(m=>({title:m.title,elements:m.children,icon:m.icon}))),g.jsx(Wq,{...e,children:!r&&te.map((n??[]).slice(0,p+1),m=>{const{type:I}=m;switch(I){case"group":return g.jsx(Wp,{item:m,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:A,remItems:h,lastItemId:C},m.id);default:return g.jsx(y.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},m.id)}})})}const Rx=()=>{const{mode:e,setMode:t}=Qn();return g.jsx(Rs,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?g.jsx(Ze.SunOutlined,{}):g.jsx(Ze.MoonOutlined,{})})},Ox=fy(function(t){const{name:n,version:r,enableThemeToggler:o}=t,{isLoading:s,navigation:a,breadcrumbs:c}=sB();return g.jsxs(gQ,{children:[g.jsxs(Cy,{children:[g.jsx(By,{}),o&&g.jsx(Rx,{}),g.jsx(Oy,{}),g.jsx(my,{}),g.jsx(Iy,{children:g.jsx(Ey,{})})]}),g.jsx(Sx,{children:g.jsx(Px,{})}),g.jsxs(dQ,{error:t.error,children:[!s&&g.jsx(ib,{titleBottom:!0,mode:"breadcrumbs",navigation:a,breadcrumbs:c,card:!1,divider:!1,icon:!0,icons:!0}),t.children,g.jsx(Ct.Outlet,{}),g.jsx(bp,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})});function Uq(e){return Dt("MuiLinearProgress",e)}Vt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Yq=["className","color","value","valueBuffer","variant"];let Fs=e=>e,u0,A0,d0,g0,f0,p0;const tf=4,Gq=qt.keyframes(u0||(u0=Fs`
|
|
216
216
|
0% {
|
|
217
217
|
left: -35%;
|
|
218
218
|
right: 100%;
|
|
@@ -265,5 +265,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
265
265
|
`),Gq)),$q=Ae("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${Pe(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>z({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:Up(t,e.color),transition:`transform .${tf}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&qt.css(p0||(p0=Fs`
|
|
266
266
|
width: auto;
|
|
267
267
|
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
|
|
268
|
-
`),Kq)),jx=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiLinearProgress"}),{className:o,color:s="primary",value:a,valueBuffer:c,variant:u="indeterminate"}=r,A=Ne(r,Yq),p=z({},r,{color:s,variant:u}),h=Jq(p),C=bt(),m={},I={bar1:{},bar2:{}};if(u==="determinate"||u==="buffer")if(a!==void 0){m["aria-valuenow"]=Math.round(a),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let B=a-100;C.direction==="rtl"&&(B=-B),I.bar1.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(u==="buffer")if(c!==void 0){let B=(c||0)-100;C.direction==="rtl"&&(B=-B),I.bar2.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return g.jsxs(Xq,z({className:Ge(h.root,o),ownerState:p,role:"progressbar"},m,{ref:n},A,{children:[u==="buffer"?g.jsx(Zq,{className:h.dashed,ownerState:p}):null,g.jsx(_q,{className:h.bar1,ownerState:p,style:I.bar1}),u==="determinate"?null:g.jsx($q,{className:h.bar2,ownerState:p,style:I.bar2})]}))});process.env.NODE_ENV!=="production"&&(jx.propTypes={classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),value:f.number,valueBuffer:f.number,variant:f.oneOf(["buffer","determinate","indeterminate","query"])});const eJ=jx,tJ=Ae("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}})),Dx=()=>g.jsx(tJ,{children:g.jsx(eJ,{color:"primary"})}),nJ=e=>t=>g.jsx(Q.Suspense,{fallback:g.jsx(Dx,{}),children:g.jsx(e,{...t})}),Yp=({title:e})=>g.jsxs(y.Stack,{direction:"row",children:[g.jsx(y.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",g.jsx(y.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]}),rJ=Ae(j.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function Mx(e){return g.jsx(rJ,{...e})}const Gp=({children:e})=>{const t=Ct.useLocation(),{pathname:n}=t;return Q.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),e||null};Gp.propTypes={children:f.node};const oJ=Ae("div")({width:"100%",overflowX:"auto",display:"block"}),Kp=({title:e})=>g.jsx(y.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substr(0,1).toUpperCase()});Kp.propTypes={title:f.string.isRequired};var Ha=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(Ha||{});const iJ=Jr().required(),sJ=Jr().oneOf(Object.values(Ha));function aJ(e){var S;const t=As.useQueryClient(),[n,r]=Q.useState(!1),[o,s]=Q.useState(()=>()=>Promise.resolve()),a=ce.useGetIdentity(),c=(S=a==null?void 0:a.data)==null?void 0:S.email,u=ce.useDataProvider(),A=Q.useCallback(()=>c?u.get("onboarding").then(O=>{var x;return(x=O==null?void 0:O.data)==null?void 0:x.value}):Promise.reject(),[u,c]),{data:p,isLoading:h,isError:C}=As.useQuery({queryKey:["GET","onboarding",c],queryFn:A,staleTime:24*60*60*1e3,retry:c!==void 0}),[m,I]=Q.useState(()=>()=>Promise.resolve()),B=As.useMutation({mutationFn:m}),v=B.mutateAsync;return Q.useEffect(()=>{function O(){const x=te.chain(p??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",x).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}I(()=>O)},[u,p,e,t,c]),Q.useEffect(()=>{r(te.isNil((p??{})[e]))},[p,e,r]),Q.useEffect(()=>{s(()=>()=>v())},[v]),{loading:h,error:C,onboardingRequired:n,acknowledgeOnboarding:o}}function lJ(e){const[t,n]=Pu("onboarding",{}),[r,o]=Q.useState(!1),[s,a]=Q.useState(()=>()=>Promise.resolve());return Q.useEffect(()=>{o(te.isNil((t??{})[e]))},[t,e,o]),Q.useEffect(()=>{a(()=>()=>(n(c=>te.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function cJ(){return{onboardingRequired:!1,acknowledgeOnboarding:Q.useRef(()=>Promise.resolve()).current}}function uJ(e,t){Mf({mode:sJ,topic:iJ}).validateSync({mode:e,topic:t});const n=aJ(t),r=lJ(t),o=cJ();switch(e){case Ha.USER:return n.loading?o:n.error?r:te.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case Ha.BROWSER:return r;default:return o}}var Pa=(e=>(e.RESTART="RESTART",e.SET_SHOW="SET_SHOW",e.REGISTER_TIP="REGISTER_TIP",e.UNREGISTER_TIP="UNREGISTER_TIP",e.DISMISS_TIP="DISMISS_TIP",e.SET_ON_COMPLETE="SET_ON_COMPLETE",e))(Pa||{});function AJ(e,t){var o;const n=te.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return te.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=te.chain(n.tips).clone().reject(p=>p.id===a).value(),u=te.find(n.tips,{id:a}),A=te.chain(u??{}).clone().extend(s).value();return c.push(A),te.extend(n,{tips:te.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=te.isString(s)?s:s.id,c=te.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return te.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=te.isString(s)?s:s.id,c=te.chain(n.tips).reject(C=>C.id===a).value(),u=te.find(n.tips,{id:a});if(te.isNil(u))return n;const A=te.chain(u).clone().extend({dismissed:!0}).value();c.push(A);const p=((o=te.chain(c).reject(C=>C.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(A==null?void 0:A.completeOnboarding)&&te.chain(c).reject(C=>C.step<p).reject(C=>C.dismissed??!1).isEmpty().value()&&e.onComplete(),te.extend(n,{tips:te.sortBy(c,["step"]),currentStep:p})}case"SET_ON_COMPLETE":{const{payload:s}=t;return te.extend(n,{onComplete:s})}case"RESTART":{const s=te.chain(n.tips).clone().map(a=>te.omit(a,"dismissed")).value();return te.extend(n,{tips:s,currentStep:0})}default:return n}}const kx=Q.createContext(void 0);function dJ(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=uJ(t,n),[s,a]=Q.useReducer(AJ,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=Q.useMemo(()=>({state:s,dispatch:a}),[s,a]);return Q.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),Q.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),g.jsx(kx.Provider,{value:c,children:e.children})}function Fx(){const e=Q.useContext(kx);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function gJ(){return Fx().state}function Lx(){return Fx().dispatch}function fJ(e){Mf({id:Jr().required(),step:IB().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=gJ(),c=te.find(s,{id:t}),{dismissed:u}=c??{},A=Lx(),p=Q.useCallback(()=>{A({type:Pa.DISMISS_TIP,payload:t})},[A,t]);return Q.useEffect(()=>{(te.isNil(c)||n!==(c==null?void 0:c.step))&&A({type:Pa.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c]),Q.useEffect(()=>()=>{A({type:Pa.UNREGISTER_TIP,payload:t})},[t,A]),{tip:te.chain(c??e).clone().extend({open:o&&!te.isNil(c)&&a===n&&!u}).value(),dismiss:p}}function pJ(){const e=Lx();return Q.useCallback(()=>{e({type:Pa.RESTART})},[e])}function hJ(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=fJ({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=te.omit(e,["id","step","title","completeOnboarding"]);return g.jsx(zu,{...u,arrow:!0,open:c,title:g.jsxs(y.Stack,{gap:1,children:[g.jsx(y.Typography,{children:r}),g.jsx(y.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const CJ=y.styled(hJ)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${y.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${y.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${y.tooltipClasses.arrow}`]:{color:r.main}}});function mJ({label:e="ra.auth.sign_in",...t}){const n=j.useRecordContext(),[r,o]=Q.useState(!1),s=j.useAuthProvider(),a=Q.useCallback(c=>{c.stopPropagation(),c.preventDefault(),o(!0),s.impersonate(n==null?void 0:n.id).then(()=>{o(!1),document.location.href="/"})},[s,n==null?void 0:n.id]);return g.jsx(j.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:g.jsx(rr.VpnKey,{})})}const qp=(e,t)=>{const n=t.id;if(!e)return[t];const r=e.findIndex(o=>o.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]},EJ=(e,t)=>e&&e.data?{data:qp(e.data,t),total:e.total+1}:e,IJ=(e,t)=>e&&e.length>0?qp(e,t):e,BJ=(e,t)=>e&&e.data?{...e,data:qp(e.data,t),total:e.total+1}:e,vJ=({onClose:e,record:t,children:n,redirect:r=!1,onSubmit:o,onSuccess:s,onError:a})=>{const c=As.useQueryClient(),u=j.useResourceContext(),A=j.useRedirect(),p=j.useNotify(),h=Q.useCallback(B=>{const S=Date.now();c.setQueryData([u,"getOne",{id:B.id}],B),c.setQueriesData([u,"getList"],O=>BJ(O,B),{updatedAt:S}),c.setQueriesData([u,"getMany"],O=>IJ(O,B),{updatedAt:S}),c.setQueriesData([u,"getManyReference"],O=>EJ(O,B),{updatedAt:S}),e(),p("ra.notification.created"),r!==void 0&&A(r,u,B.id,B),s&&s(B)},[e,s,c,u,p,A,r]),{save:C,...m}=j.useCreateController({mutationOptions:{onSuccess:h,onError:a}}),I=Q.useCallback(B=>{o?o(B,e):C&&C(B)},[o,C,e]);return g.jsx(j.CreateContextProvider,{value:{record:t,save:I,saving:m==null?void 0:m.saving,redirect:r},children:Q.cloneElement(n,{...n.props,toolbar:g.jsxs(wi,{children:[g.jsx(j.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e,disabled:m==null?void 0:m.saving}),g.jsx(j.SaveButton,{type:"button",disabled:m==null?void 0:m.saving})]})})})},bJ={true:{_scrollToTop:!0},false:{}},yJ=Ae(y.Fab,{overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`&.${j.CreateButtonClasses.floating}`]:{color:e.palette.getContrastText(e.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3}}));function QJ({fullWidth:e=!0,maxWidth:t="md",label:n="ra.action.create",record:r,redirect:o,scrollToTop:s=!0,className:a,sx:c,style:u,fab:A=!0,onSubmit:p,onSuccess:h,onError:C,...m}){const[I,B]=Q.useState(!1),v=j.useTranslate(),S=j.useResourceContext(),{openDialog:O,closeDialog:x}=vi(),R=y.useTheme(),P=Q.useCallback(()=>O(S,()=>B(!0)),[O,S]),k=Q.useCallback(()=>x(S,()=>B(!1)),[x,S]),F=A&&y.useMediaQuery(G=>G.breakpoints.down("md"));return g.jsxs(g.Fragment,{children:[F?g.jsx(yJ,{...m,state:bJ[String(s)],color:"primary",className:Ge(j.CreateButtonClasses.floating,a),"aria-label":n&&v(n),onClick:P,children:g.jsx(Ze.PlusCircleOutlined,{})}):g.jsx(j.Button,{...m,sx:c,label:n,onClick:P,style:u,children:g.jsx(Ze.PlusCircleOutlined,{})}),g.jsx(y.Dialog,{open:I,scroll:"body",sx:{"& .MuiToolbar-root":{borderTop:`1px solid ${R.palette.divider}`,position:"initial",padding:2.5}},onClose:k,fullWidth:e,maxWidth:t,children:g.jsx(vJ,{...m,redirect:o,record:r,onClose:k,onSubmit:p,onSuccess:h,onError:C})})]})}const xJ=({onClose:e,children:t})=>{const n=j.useNotify(),r=j.useRecordContext(),o=j.useResourceContext(),{id:s}=r,{isLoading:a,data:c}=j.useGetOne(o,{id:s}),u=Q.useCallback(()=>{n("ra.notification.updated",{type:"info",messageArgs:{smart_count:1}}),e()},[e,n]),{save:A,saving:p}=j.useEditController({resource:o,id:s,mutationMode:"pessimistic",mutationOptions:{onSuccess:u}});return g.jsx(j.EditContextProvider,{value:{record:c,isLoading:a,save:A,saving:p},children:Q.cloneElement(t,{toolbar:g.jsxs(wi,{children:[g.jsx(j.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),g.jsx(j.SaveButton,{type:"button"})]})})})};function wJ({fullWidth:e=!0,maxWidth:t="md",label:n="ra.action.edit",style:r,...o}){const[s,a]=Q.useState(!1),{openDialog:c,closeDialog:u}=vi(),A=j.useResourceContext(),p=Q.useCallback(()=>c(A,()=>a(!0)),[c,A]),h=Q.useCallback(()=>u(A,()=>a(!1)),[u,A]),C=y.useTheme();return g.jsxs(g.Fragment,{children:[g.jsx(j.Button,{label:n,onClick:p,style:r,children:g.jsx(rr.Edit,{})}),g.jsx(y.Dialog,{open:s,scroll:"body",sx:{"& .MuiToolbar-root":{borderTop:`1px solid ${C.palette.divider}`,position:"initial",padding:2.5}},onClose:h,fullWidth:e,maxWidth:t,children:g.jsx(xJ,{onClose:h,children:o==null?void 0:o.children})})]})}function Nx(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=ce.useListContext(e),A=ce.useTranslate(),p=Q.useCallback(()=>{u()},[u]);return g.jsx(TJ,{className:r,children:g.jsxs(OW,{"data-test":"bulk-actions-toolbar",className:Ge($n.toolbar,{[$n.collapsed]:c.length===0}),...ce.sanitizeListRestProps(o),children:[g.jsxs("div",{className:$n.title,children:[g.jsx(Ap,{className:$n.icon,"aria-label":A("ra.action.unselect"),title:A("ra.action.unselect"),onClick:p,size:"small",children:g.jsx(cu,{fontSize:"small"})}),g.jsx($v,{color:"inherit",variant:"subtitle1",children:A(t,{_:t,smart_count:c.length})})]}),g.jsx(j.TopToolbar,{className:$n.topToolbar,children:Q.Children.map(n,h=>Q.isValidElement(h)?Q.cloneElement(h,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const ai="RaBulkActionsToolbar",$n={toolbar:`${ai}-toolbar`,topToolbar:`${ai}-topToolbar`,buttons:`${ai}-buttons`,collapsed:`${ai}-collapsed`,title:`${ai}-title`,icon:`${ai}-icon`},TJ=Ae("div",{name:ai,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${$n.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?Es(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${$n.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${$n.buttons}`]:{},[`& .${$n.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${$n.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${$n.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),sg={p:0,m:0},h0={p:2,m:0,borderRadius:0,width:"100%"};function SJ(e){const{children:t}=e,[n,r]=M.useState(null),o=I=>{r(I.currentTarget)},s=()=>{r(null)},a=y.useMediaQuery(I=>I.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:A=[],onUnselectItems:p}=j.useListContext(e),h=!!n&&A!==void 0&&A.length>0,C=h?"simple-popover":void 0,m=M.useCallback(()=>{p(),r(null)},[p,r]);return g.jsx(y.Fade,{in:A!==void 0&&A.length>0,children:g.jsxs(y.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[g.jsx(y.Fab,{color:"primary","aria-label":"manage",onClick:o,children:A==null?void 0:A.length}),g.jsx(y.Popover,{id:C,open:h,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:g.jsxs(y.List,{sx:sg,children:[g.jsx(y.ListItem,{sx:sg,children:g.jsx(j.Button,{onClick:m,sx:h0,label:"ra.action.unselect",startIcon:g.jsx(cu,{}),children:g.jsx(cu,{})})}),M.Children.map(t,I=>{var B;return g.jsx(y.ListItem,{sx:sg,children:M.isValidElement(I)?M.cloneElement(I,{filterValues:c,resource:u,selectedIds:A,sx:h0,...(B=I.props)!=null&&B.popover?{closePopover:s}:{}}):null})})]})})]})})}const Vx=Q.createContext({});Vx.displayName="DatagridContext";const PJ=({children:e,value:t})=>g.jsx(Vx.Provider,{value:t,children:e}),C0=g.jsx(j.BulkDeleteButton,{}),Hx=M.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?j.PureDatagridBody:j.DatagridBody,header:o=j.DatagridHeader,children:s,className:a,empty:c=jJ,expand:u,bulkActionsToolbar:A=!1,bulkActionButtons:p=C0,hover:h,isRowSelectable:C,isRowExpandable:m,resource:I,rowClick:B,rowSx:v,rowStyle:S,size:O="small",sx:x,expandSingle:R=!1,...P}=e,{sort:k,data:F,isLoading:G,onSelect:K,onToggleItem:$,selectedIds:Y,setSort:ie,total:se}=ce.useListContext(e),X=!!p,Z=Q.useMemo(()=>({isRowExpandable:m,expandSingle:R}),[m,R]),H=Q.useRef(null);Q.useEffect(()=>{(!Y||Y.length===0)&&(H.current=null)},[JSON.stringify(Y)]);const J=Q.useCallback((L,_)=>{const V=F.map(le=>le.id),q=V.indexOf(H.current);if(H.current=_.target.checked?L:null,_.shiftKey&&q!==-1){const le=V.indexOf(L),pe=V.slice(Math.min(q,le),Math.max(q,le)+1),de=_.target.checked?$Y(Y,pe):fG(Y,pe);K(C?de.filter(ge=>C(F.find(he=>he.id===ge))):de)}else $(L)},[F,C,K,$,Y]);return G===!0?g.jsx(j.DatagridLoading,{className:a,expand:u,hasBulkActions:X,nbChildren:M.Children.count(s),size:O}):F==null||F.length===0||se===0?c||null:g.jsx(PJ,{value:Z,children:g.jsxs(j.DatagridRoot,{sx:x,className:Ge(j.DatagridClasses.root,a),children:[A!=null&&Q.isValidElement(A)?Q.cloneElement(A,{selectedIds:Y,total:se}):p!==!1?g.jsx(Nx,{children:Q.isValidElement(p)?p:C0}):null,g.jsx("div",{className:j.DatagridClasses.tableWrapper,children:g.jsxs(y.Table,{ref:t,className:j.DatagridClasses.table,size:O,...OJ(P),children:[m0(o,{children:s,sort:k,data:F,hasExpand:!!u,hasBulkActions:X,isRowSelectable:C,onSelect:K,resource:I,selectedIds:Y,setSort:ie},s),m0(r,{expand:u,rowClick:B,data:F,hasBulkActions:X,hover:h,onToggleItem:J,resource:I,rowSx:v,rowStyle:S,selectedIds:Y,isRowSelectable:C},s)]})})]})})}),m0=(e,t,n)=>Q.isValidElement(e)?Q.cloneElement(e,t,n):Q.createElement(e,t,n),RJ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"],OJ=e=>Object.keys(ce.sanitizeListRestProps(e)).filter(t=>!RJ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{});Hx.displayName="Datagrid";const jJ=g.jsx(j.ListNoResults,{}),DJ=Ae(Hx,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function MJ(e){return g.jsx(DJ,{...e})}const kJ=Ae("div")(({theme:e})=>({padding:e.spacing(2)}));function FJ({actions:e,className:t,...n}){const{hasCreate:r}=ce.useResourceDefinition(n),o=ce.useResourceContext(n),s=ce.useTranslate(),a=ce.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),A=s("ra.page.invite");return g.jsxs(LJ,{className:t,children:[g.jsxs("div",{className:pi.message,children:[g.jsx(rr.Inbox,{className:pi.icon}),g.jsx(y.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r&&g.jsx(y.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:A})})]}),g.jsx(kJ,{className:pi.toolbar,children:e})]})}const kc="ApplicaEmpty",pi={message:`${kc}-message`,icon:`${kc}-icon`,toolbar:`${kc}-toolbar`},LJ=Ae("span",{name:kc,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${pi.icon}`]:{width:"9em",height:"9em"},[`& .${pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),NJ=g.jsx(j.ListActions,{}),VJ=g.jsx(j.Pagination,{}),HJ=g.jsx(j.Empty,{}),zJ=vG,WJ=e=>{const{actions:t=NJ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=VJ,children:u,className:A,component:p=zJ,title:h,empty:C=HJ,...m}=e,{defaultTitle:I,data:B,error:v,isLoading:S,filterValues:O,resource:x}=ce.useListContext(e);if(!u||!B&&S&&s)return null;const R=()=>g.jsxs("div",{className:wo.main,children:[(r||t)&&g.jsx(j.ListToolbar,{className:wo.actions,filters:r,actions:t,hasCreate:a}),!v&&g.jsx(p,{className:wo.content,children:o&&u&&M.isValidElement(u)?Q.cloneElement(u,{bulkActionButtons:o}):u}),v?g.jsx(Fp,{error:v,resetErrorBoundary:null}):c!==!1&&c]}),P=()=>C!==!1&&Q.cloneElement(C,{className:wo.noResults,hasCreate:a}),k=!S&&(B==null?void 0:B.length)===0&&!Object.keys(O).length&&C!==!1;return g.jsxs(UJ,{className:Ge("list-page",A),...m,children:[g.jsx(j.Title,{title:h,defaultTitle:I,preferenceKey:`${x}.list.title`}),k?P():R(),n]})},Ea="RaList",wo={main:`${Ea}-main`,content:`${Ea}-content`,actions:`${Ea}-actions`,noResults:`${Ea}-noResults`},UJ=Ae("div",{name:Ea,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${wo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${wo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${wo.actions}`]:{},[`& .${wo.noResults}`]:{}})),YJ=({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=GJ,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:A,storeKey:p,...h})=>g.jsx(ce.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:A,storeKey:p,children:g.jsx(WJ,{...h})}),GJ={},KJ=qa(YJ,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",padding:e.spacing(2.5),"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function qJ(e){return g.jsx(er,{content:!1,children:g.jsx(KJ,{...e})})}function JJ(){const e=j.useRefresh(),t=j.useNotify(),n=j.useResourceContext(),r=j.useUnselectAll(n),{selectedIds:o,data:s}=j.useListContext(),a=j.useRecordContext(),c=o.map(h=>s.find(C=>C.id===h)),[u,{isLoading:A}]=j.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Pr().format("YYYY-MM-DD HH:mm:ss")},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),p=Q.useCallback(()=>{u()},[u]);return g.jsx(j.Button,{label:"ra.notification.mark_as_readed",disabled:A||(a==null?void 0:a.readed)!==null,onClick:p,children:g.jsx(rr.Email,{})})}function XJ(){const e=j.useRefresh(),t=j.useNotify(),n=j.useResourceContext(),r=j.useUnselectAll(n),{selectedIds:o,data:s}=j.useListContext(),a=j.useRecordContext(),c=o.map(h=>s.find(C=>C.id===h)).concat([a]),[u,{isLoading:A}]=j.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:null},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),p=Q.useCallback(()=>{u()},[u]);return g.jsx(j.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:A||a&&!(a!=null&&a.readed),onClick:p,children:g.jsx(rr.Drafts,{})})}function ZJ(e){const t=j.useRecordContext(e),n=j.useResourceContext(e),r=j.useRedirect(),o=j.useNotify(),s=j.useTranslate(),[a]=j.useLocaleState(),c=Q.useMemo(()=>t!=null&&t.readed?Pr(t==null?void 0:t.readed).locale(a).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,a]),[u]=j.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),A=Q.useCallback(()=>u(),[u]);return g.jsxs("div",{onClick:A,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[g.jsx(y.Typography,{variant:"subtitle1",children:g.jsxs(y.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),g.jsx(y.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),c&&g.jsx(y.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})})]})}function _J({...e}){const t=y.useTheme(),{mode:n,colorize:r,density:o}=Q.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?y.darken:y.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]),s=a=>({backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)});return g.jsxs(j.Datagrid,{...e,rowSx:s,children:[g.jsx(ZJ,{source:"notification",sortable:!1}),g.jsx(yb,{source:"created"}),g.jsxs(Bi,{children:[g.jsx(JJ,{}),g.jsx(XJ,{})]})]})}const $J=Ae(j.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0})),Ec={width:"1.5rem",alignSelf:"center"};function eX({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:A,buttonProps:p,...h}){const{getCurrentDialog:C}=vi(),m=ce.useResourceContext(h),I=C(),B=ce.useRecordContext(),v=r||B,S=lt.get(v,e||"");return g.jsxs(y.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:O=>({pt:1,pb:1,borderBottom:`1px solid ${O.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[g.jsxs(y.Stack,{direction:"row",alignItems:"start",children:[c&&(Q.isValidElement(c)?Q.cloneElement(c,{style:Ec}):Q.createElement(c,{style:Ec})),g.jsx(ce.FieldTitle,{label:t,source:e,resource:I||m})]}),g.jsxs(y.Stack,{direction:"row",alignItems:"center",children:[a?Q.isValidElement(a)?Q.cloneElement(a,{record:v,resource:m,value:S}):Q.createElement(a,{source:e,record:v,resource:m,value:S}):g.jsx(y.Typography,{variant:n,children:S}),u&&(Q.isValidElement(u)?Q.cloneElement(u,{style:Ec}):Q.createElement(u,{style:Ec})),A&&g.jsx(y.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...p,children:A})]})]})}const zx=({children:e,...t})=>{const n=bt();return g.jsx(er,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,...t,border:!1,boxShadow:!0,shadow:n.customShadows.z1,children:g.jsx(y.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})};zx.propTypes={children:f.node};const il=({version:e,name:t,copy:n,children:r,logo:o,background:s=fu})=>g.jsxs(y.Box,{sx:{minHeight:"100vh"},children:[Q.isValidElement(s)?s:Q.createElement(s),g.jsxs(y.Grid,{container:!0,direction:"column",justifyContent:"flex-end",sx:{minHeight:"100vh"},children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{ml:3},children:o||g.jsx(Yp,{title:t})}),g.jsxs(y.Grid,{item:!0,xs:12,children:[g.jsx(y.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:g.jsx(y.Grid,{item:!0,children:g.jsx(zx,{children:r})})}),g.jsx(y.Grid,{item:!0,sx:{pb:1},children:g.jsx(bp,{name:t,copy:n,version:e})})]})]})]});il.propTypes={children:f.node,version:f.string,name:f.string,copy:f.string,background:f.oneOfType([f.node,f.func,f.object])};const Wx=({name:e,copy:t,logo:n,version:r,background:o})=>{const s=ce.useTranslate(),a=ce.useAuthProvider(),c=ce.useNotify(),u=Ct.useNavigate(),{token:A}=Ct.useParams();return Q.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(A).then(()=>{c("ra.auth.activate_success",{type:"info"}),te.delay(()=>u("/login"),1e3)}).catch(p=>{c(p,{type:"error"}),te.delay(()=>u("/login"),1e3)})},[A]),g.jsx(il,{name:e,copy:t,logo:n,version:r,background:o,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:s("ra.auth.activate")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})};Wx.propTypes={name:f.string.isRequired,version:f.string.isRequired,background:f.node};function Ux({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=g.jsx(fu,{})}){const[u,A]=ce.useSafeSetState(!1),p=ce.useLogin(),h=ce.useTranslate(),C=ce.useNotify(),m=ce.useCheckAuth(),I=Ct.useNavigate();Q.useEffect(()=>{m({},!1).then(()=>{I("/")}).catch(()=>{})},[m,I]);const B=v=>{A(!0),p(v,a).then(()=>{A(!1)}).catch(S=>{A(!1),C(typeof S=="string"?S:typeof S>"u"||!S.message?"ra.auth.sign_in_error":S.message,{type:"error",messageArgs:{_:typeof S=="string"?S:S&&S.message?S.message:void 0}})})};return g.jsx(il,{name:t,version:e,copy:n,logo:r,background:c,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:"Login"}),s&&g.jsx(y.Typography,{component:Ct.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:h("ra.auth.register")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(ce.Form,{onSubmit:B,children:[g.jsxs(y.Grid,{container:!0,children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:2},children:g.jsx(Cr,{autoFocus:!0,source:"username",label:h("ra.auth.username"),autoComplete:"username",validate:ce.required(),placeholder:"user@company.name",fullWidth:!0})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:2},children:g.jsx(Cr,{source:"password",label:h("ra.auth.password"),type:"password",autoComplete:"current-password",validate:ce.required(),placeholder:h("ra.auth.password_placeholder"),fullWidth:!0})})]}),o&&g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:g.jsx(y.Link,{variant:"h6",component:Ct.Link,to:"/recover",color:"text.primary",children:h("ra.auth.forgot_password")})})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?g.jsx(y.CircularProgress,{size:19,thickness:3}):h("ra.auth.sign_in")})})]})})]})})}const Yx=({name:e,copy:t,logo:n,version:r,background:o})=>{const[s,a]=Q.useState(!1),c=ce.useTranslate(),u=ce.useRedirect(),A=ce.useNotify(),p=ce.useAuthProvider(),h=({email:C})=>{a(!0),p.recover(C).then(m=>{const I=`ra.auth.recover_${m.responseCode}`,B=m.responseCode==="ok"?"info":"error";A(I,{type:B}),u("/login")}).catch(m=>{A(m,{type:"error"})}).finally(()=>a(!1))};return g.jsx(il,{name:e,copy:t,logo:n,version:r,background:o,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(j.Form,{onSubmit:h,children:[g.jsx(y.Grid,{container:!0,children:g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"email",validate:[ce.required(),ce.email()]})})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:g.jsx(y.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?g.jsx(y.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})};Yx.propTypes={name:f.string.isRequired,version:f.string.isRequired,background:f.node};const Gx=({name:e,copy:t,version:n,logo:r,background:o})=>{const[s,a]=Q.useState(!1),c=ce.useTranslate(),u=ce.useRedirect(),A=ce.useNotify(),p=ce.useAuthProvider(),h=C=>{a(!0),p.register(C).then(m=>{const I=`ra.auth.register_${m.responseCode}`,B=m.responseCode==="ok"?"info":"error";A(I,{type:B}),u("/login")}).catch(m=>{A(m,{type:"error"})}).finally(()=>a(!1))};return g.jsx(il,{name:e,copy:t,logo:r,background:o,version:n,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:c("ra.auth.register.title")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(j.Form,{onSubmit:h,children:[g.jsxs(y.Grid,{container:!0,children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"name",label:c("ra.register.name"),validate:ce.required()})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"email",type:"email",validate:[ce.required(),ce.email()]})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"password",type:"password",validate:ce.required()})})]}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?g.jsx(y.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})};Gx.propTypes={name:f.string.isRequired,version:f.string.isRequired};function Kx(){const e=Q.useCallback(()=>location.reload(),[]);return g.jsx(y.Container,{children:g.jsxs(y.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[g.jsx("img",{src:AQ,style:{width:"100%",maxWidth:450}}),g.jsx(y.Typography,{variant:"h2",children:"Ops! An error occurred..."}),g.jsx(y.Typography,{children:"We're fixing the problem. Please try again later."}),g.jsx(y.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}const tX=e=>({button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${ze(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${ze(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${ze(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${ze(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${ze(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${ze(e.palette.info.main,.2)}`,success:`0 0 0 2px ${ze(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${ze(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${ze(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${ze(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${ze(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${ze(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${ze(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${ze(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${ze(e.palette.grey[500],.2)}`});function nr(e,t){nX(e)&&(e="100%");var n=rX(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function nX(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function rX(e){return typeof e=="string"&&e.indexOf("%")!==-1}function oX(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ic(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ag(e){return e.length===1?"0"+e:String(e)}function iX(e,t,n){return{r:nr(e,255)*255,g:nr(t,255)*255,b:nr(n,255)*255}}function lg(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sX(e,t,n){var r,o,s;if(e=nr(e,360),t=nr(t,100),n=nr(n,100),t===0)o=n,s=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=lg(c,a,e+1/3),o=lg(c,a,e),s=lg(c,a,e-1/3)}return{r:r*255,g:o*255,b:s*255}}function aX(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),s=0,a=r,c=r-o,u=r===0?0:c/r;if(r===o)s=0;else{switch(r){case e:s=(t-n)/c+(t<n?6:0);break;case t:s=(n-e)/c+2;break;case n:s=(e-t)/c+4;break}s/=6}return{h:s,s:u,v:a}}function lX(e,t,n){e=nr(e,360)*6,t=nr(t,100),n=nr(n,100);var r=Math.floor(e),o=e-r,s=n*(1-t),a=n*(1-o*t),c=n*(1-(1-o)*t),u=r%6,A=[n,a,s,s,c,n][u],p=[c,n,n,a,s,s][u],h=[s,s,c,n,n,a][u];return{r:A*255,g:p*255,b:h*255}}function cX(e,t,n,r){var o=[ag(Math.round(e).toString(16)),ag(Math.round(t).toString(16)),ag(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function E0(e){return jn(e)/255}function jn(e){return parseInt(e,16)}var I0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function fa(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,s=null,a=!1,c=!1;return typeof e=="string"&&(e=dX(e)),typeof e=="object"&&(Gr(e.r)&&Gr(e.g)&&Gr(e.b)?(t=iX(e.r,e.g,e.b),a=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Gr(e.h)&&Gr(e.s)&&Gr(e.v)?(r=Ic(e.s),o=Ic(e.v),t=lX(e.h,r,o),a=!0,c="hsv"):Gr(e.h)&&Gr(e.s)&&Gr(e.l)&&(r=Ic(e.s),s=Ic(e.l),t=sX(e.h,r,s),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=oX(n),{ok:a,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var uX="[-\\+]?\\d+%?",AX="[-\\+]?\\d*\\.\\d+%?",To="(?:".concat(AX,")|(?:").concat(uX,")"),cg="[\\s|\\(]+(".concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")\\s*\\)?"),ug="[\\s|\\(]+(".concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")\\s*\\)?"),fr={CSS_UNIT:new RegExp(To),rgb:new RegExp("rgb"+cg),rgba:new RegExp("rgba"+ug),hsl:new RegExp("hsl"+cg),hsla:new RegExp("hsla"+ug),hsv:new RegExp("hsv"+cg),hsva:new RegExp("hsva"+ug),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function dX(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(I0[e])e=I0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=fr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=fr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=fr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=fr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=fr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=fr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=fr.hex8.exec(e),n?{r:jn(n[1]),g:jn(n[2]),b:jn(n[3]),a:E0(n[4]),format:t?"name":"hex8"}:(n=fr.hex6.exec(e),n?{r:jn(n[1]),g:jn(n[2]),b:jn(n[3]),format:t?"name":"hex"}:(n=fr.hex4.exec(e),n?{r:jn(n[1]+n[1]),g:jn(n[2]+n[2]),b:jn(n[3]+n[3]),a:E0(n[4]+n[4]),format:t?"name":"hex8"}:(n=fr.hex3.exec(e),n?{r:jn(n[1]+n[1]),g:jn(n[2]+n[2]),b:jn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Gr(e){return!!fr.CSS_UNIT.exec(String(e))}var Bc=2,B0=.16,gX=.05,fX=.05,pX=.15,qx=5,Jx=4,hX=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function v0(e){var t=e.r,n=e.g,r=e.b,o=aX(t,n,r);return{h:o.h*360,s:o.s,v:o.v}}function vc(e){var t=e.r,n=e.g,r=e.b;return"#".concat(cX(t,n,r,!1))}function CX(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function b0(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Bc*t:Math.round(e.h)+Bc*t:r=n?Math.round(e.h)+Bc*t:Math.round(e.h)-Bc*t,r<0?r+=360:r>=360&&(r-=360),r}function y0(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-B0*t:t===Jx?r=e.s+B0:r=e.s+gX*t,r>1&&(r=1),n&&t===qx&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Q0(e,t,n){var r;return n?r=e.v+fX*t:r=e.v-pX*t,r>1&&(r=1),Number(r.toFixed(2))}function x0(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=fa(e),o=qx;o>0;o-=1){var s=v0(r),a=vc(fa({h:b0(s,o,!0),s:y0(s,o,!0),v:Q0(s,o,!0)}));n.push(a)}n.push(vc(r));for(var c=1;c<=Jx;c+=1){var u=v0(r),A=vc(fa({h:b0(u,c),s:y0(u,c),v:Q0(u,c)}));n.push(A)}return t.theme==="dark"?hX.map(function(p){var h=p.index,C=p.opacity,m=vc(CX(fa(t.backgroundColor||"#141414"),fa(n[h]),C*100));return m}):n}var Ag={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Kt={},Fc={};Object.keys(Ag).forEach(function(e){Kt[e]=x0(Ag[e]),Kt[e].primary=Kt[e][5],Fc[e]=x0(Ag[e],{theme:"dark",backgroundColor:"#141414"}),Fc[e].primary=Fc[e][5]});Kt.red;Kt.volcano;Kt.gold;Kt.orange;Kt.yellow;Kt.lime;Kt.green;Kt.cyan;Kt.blue;Kt.geekblue;Kt.purple;Kt.magenta;Kt.grey;Kt.grey;const Xx=e=>{const{blue:t,red:n,gold:r,cyan:o,green:s,grey:a}=e,c={0:a[0],50:a[1],100:a[2],200:a[3],300:a[4],400:a[5],500:a[6],600:a[7],700:a[8],800:a[9],900:a[10],A50:a[15],A100:a[11],A200:a[12],A400:a[13],A700:a[14],A800:a[16]},u="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:u},secondary:{lighter:c[100],100:c[100],200:c[200],light:c[300],400:c[400],main:c[500],600:c[600],dark:c[700],800:c[800],darker:c[900],A100:c[0],A200:c.A400,A300:c.A700,contrastText:c[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:u},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:c[100]},info:{lighter:o[0],light:o[3],main:o[5],dark:o[7],darker:o[9],contrastText:u},success:{lighter:s[0],light:s[3],main:s[5],dark:s[7],darker:s[9],contrastText:u},grey:c}};Xx.propTypes={colors:f.object};const mX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],a=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],c=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],u=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],A=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(s=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],a=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],c=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],u=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],A=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},EX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},IX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},BX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},vX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},bX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},yX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},QX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},Zx=(e,t,n)=>{switch(t){case"theme1":return mX(e,n);case"theme2":return EX(e,n);case"theme3":return IX(e,n);case"theme4":return BX(e,n);case"theme5":return vX(e,n);case"theme6":return bX(e,n);case"theme7":return yX(e,n);case"theme8":return QX(e,n);default:return Xx(e)}};Zx.propTypes={colors:f.object,presetColor:f.any};const xX=(e,t)=>{const n=e==="dark"?Fc:Kt;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#121212","#d3d8db"]),n.grey=[...r,...o,...s];const a=Zx(n,t,e);return hf({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?ze(a.grey[900],.87):a.grey[700],secondary:e==="dark"?ze(a.grey[900],.45):a.grey[500],disabled:e==="dark"?ze(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?ze(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})},wX=e=>({htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}});function TX(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function SX(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function PX(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:g.jsx(Ze.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function ei({color:e,theme:t}){const n=rn(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:ze(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function RX(e){const t=ei({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":ei({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":ei({color:"secondary",theme:e}),"&.MuiAlert-borderError":ei({color:"error",theme:e}),"&.MuiAlert-borderSuccess":ei({color:"success",theme:e}),"&.MuiAlert-borderInfo":ei({color:"info",theme:e}),"&.MuiAlert-borderWarning":ei({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function OX(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function jX(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function ti({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function DX(e){const t=ti({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":ti({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":ti({color:"secondary",theme:e}),"&.MuiBadge-colorError":ti({color:"error",theme:e}),"&.MuiBadge-colorInfo":ti({color:"info",theme:e}),"&.MuiBadge-colorSuccess":ti({color:"success",theme:e}),"&.MuiBadge-colorWarning":ti({color:"warning",theme:e})}}}}}function $e({variant:e,color:t,theme:n}){const r=rn(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,A=Ss(n,u),p={"&::after":{boxShadow:`0 0 5px 5px ${ze(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${ze(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...p};case"shadow":return{color:c,backgroundColor:s,boxShadow:A,"&:hover":{boxShadow:"none",backgroundColor:a},...p};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...p};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...p};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...p}}}function MX(e){const t=$e({variant:"dashed",color:"primary",theme:e}),n=$e({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},o={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...o},startIcon:{...o},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":$e({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":$e({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":$e({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":$e({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":$e({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":$e({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":$e({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":$e({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":$e({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":$e({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":$e({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":$e({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:$e({variant:"contained",color:"primary",theme:e}),containedSecondary:$e({variant:"contained",color:"secondary",theme:e}),containedError:$e({variant:"contained",color:"error",theme:e}),containedSuccess:$e({variant:"contained",color:"success",theme:e}),containedInfo:$e({variant:"contained",color:"info",theme:e}),containedWarning:$e({variant:"contained",color:"warning",theme:e}),outlinedPrimary:$e({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:$e({variant:"outlined",color:"secondary",theme:e}),outlinedError:$e({variant:"outlined",color:"error",theme:e}),outlinedSuccess:$e({variant:"outlined",color:"success",theme:e}),outlinedInfo:$e({variant:"outlined",color:"info",theme:e}),outlinedWarning:$e({variant:"outlined",color:"warning",theme:e}),textPrimary:$e({variant:"text",color:"primary",theme:e}),textSecondary:$e({variant:"text",color:"secondary",theme:e}),textError:$e({variant:"text",color:"error",theme:e}),textSuccess:$e({variant:"text",color:"success",theme:e}),textInfo:$e({variant:"text",color:"info",theme:e}),textWarning:$e({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function kX(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function FX(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function LX(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function Zi({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o,dark:s}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:o}},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function NX(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function dg(e){const t=NX(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function VX(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:g.jsx(Ze.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:g.jsx(Ze.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...dg("small")},"&.size-medium":{...dg("medium")},"&.size-large":{...dg("large")}},colorPrimary:Zi({color:"primary",theme:e}),colorSecondary:Zi({color:"secondary",theme:e}),colorSuccess:Zi({color:"success",theme:e}),colorWarning:Zi({color:"warning",theme:e}),colorInfo:Zi({color:"info",theme:e}),colorError:Zi({color:"error",theme:e})}}}}function _i({color:e,theme:t}){const n=rn(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function On({color:e,theme:t}){const n=rn(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function HX(e){const t=On({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":_i({color:"primary",theme:e}),"&.MuiChip-colorSecondary":_i({color:"secondary",theme:e}),"&.MuiChip-colorError":_i({color:"error",theme:e}),"&.MuiChip-colorInfo":_i({color:"info",theme:e}),"&.MuiChip-colorSuccess":_i({color:"success",theme:e}),"&.MuiChip-colorWarning":_i({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":On({color:"primary",theme:e}),"&.MuiChip-lightSecondary":On({color:"secondary",theme:e}),"&.MuiChip-lightError":On({color:"error",theme:e}),"&.MuiChip-lightInfo":On({color:"info",theme:e}),"&.MuiChip-lightSuccess":On({color:"success",theme:e}),"&.MuiChip-lightWarning":On({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":On({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":On({color:"secondary",theme:e}),"&.MuiChip-combinedError":On({color:"error",theme:e}),"&.MuiChip-combinedInfo":On({color:"info",theme:e}),"&.MuiChip-combinedSuccess":On({color:"success",theme:e}),"&.MuiChip-combinedWarning":On({color:"warning",theme:e})}}}}}function zX(){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:ze("#000",.7)}}}}}}function WX(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function UX(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function $i({color:e,theme:t}){const n=rn(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=Ss(t,a);return{color:s,backgroundColor:r,boxShadow:c,"&:hover":{boxShadow:"none",backgroundColor:o},"&:focus-visible":{outline:`2px solid ${o}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${ze(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${ze(r,.9)}`}}}function YX(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":$i({color:"primary",theme:e}),"&.MuiFab-secondary":$i({color:"secondary",theme:e}),"&.Mui-error":$i({color:"error",theme:e}),"&.MuiFab-success":$i({color:"success",theme:e}),"&.MuiFab-info":$i({color:"info",theme:e}),"&.MuiFab-warning":$i({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function GX(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function KX(){return{MuiInputBase:{styleOverrides:{}}}}function qX(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function JX(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function XX(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function ZX(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function _X(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function $X(){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function eZ(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function ni({variant:e,theme:t}){const n=rn(t,e),{light:r}=n,o=Ss(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function tZ(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...ni({variant:"primary",theme:e}),"&.Mui-error":{...ni({variant:"error",theme:e})}},inputSizeSmall:{padding:"7.5px 8px 7.5px 12px"},inputMultiline:{padding:0},colorSecondary:ni({variant:"secondary",theme:e}),colorError:ni({variant:"error",theme:e}),colorWarning:ni({variant:"warning",theme:e}),colorInfo:ni({variant:"info",theme:e}),colorSuccess:ni({variant:"success",theme:e})}}}}function nZ(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function vt({variant:e,color:t,theme:n}){const r=rn(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,A={"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:s},...A};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...A};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...A}}}function rZ(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":vt({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":vt({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":vt({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":vt({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":vt({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":vt({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":vt({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":vt({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":vt({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":vt({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":vt({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":vt({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":vt({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":vt({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":vt({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":vt({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":vt({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":vt({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":vt({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":vt({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":vt({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":vt({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":vt({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":vt({variant:"outlined",color:"warning",theme:e})}}}}}}function oZ(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function es({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o,dark:s}=n;return{"& .dot":{backgroundColor:o},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function iZ(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function gg(e){const t=iZ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function sZ(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:g.jsx(y.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...gg("small")},"&.size-medium":{...gg("medium")},"&.size-large":{...gg("large")}},colorPrimary:es({color:"primary",theme:e}),colorSecondary:es({color:"secondary",theme:e}),colorSuccess:es({color:"success",theme:e}),colorWarning:es({color:"warning",theme:e}),colorInfo:es({color:"info",theme:e}),colorError:es({color:"error",theme:e})}}}}function ts({color:e,theme:t}){const n=rn(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function aZ(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":ts({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":ts({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":ts({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":ts({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":ts({color:"info",theme:e}),"&.MuiSlider-thumbColorError":ts({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function lZ(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function fg(e,t){const n=lZ(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function cZ(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...fg(e,"medium")},sizeLarge:{...fg(e,"large")},sizeSmall:{...fg(e,"small")}}}}}function uZ(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function AZ(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function dZ(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function gZ(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function fZ(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function pZ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function hZ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function CZ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function mZ(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function EZ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function IZ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function BZ(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function vZ(e){return lt.merge(TX(e),SX(e),PX(e),RX(e),OX(),jX(e),DX(e),MX(e),kX(),FX(),LX(),VX(e),HX(e),zX(),WX(e),UX(),YX(e),GX(e),KX(),qX(e),JX(),XX(),ZX(e),_X(e),$X(),eZ(),tZ(e),nZ(),rZ(e),oZ(e),sZ(e),aZ(e),cZ(e),uZ(e),AZ(e),dZ(e),gZ(e),fZ(e),pZ(),hZ(),CZ(),mZ(e),EZ(e),IZ(),BZ())}const rA=({themeOverrides:e,children:t})=>{const n=Qn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=Q.useMemo(()=>xX(o,s),[o,s]),u=Q.useMemo(()=>wX(a),[a]),A=Q.useMemo(()=>tX(c),[c]),p=Q.useMemo(()=>te.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:r,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:c.palette,customShadows:A,typography:u,shadows:c.shadows.map(()=>"none"),components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:c.spacing(2.6875),height:c.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(c):e),[r,c,u,A,e]),h=hf(p),C=te.cloneDeep(h.components??{});return h.components=te.merge(vZ(h),C),g.jsx(y.StyledEngineProvider,{injectFirst:!0,children:g.jsxs(J0,{theme:h,children:[g.jsx(y.CssBaseline,{}),t]})})};rA.propTypes={children:f.node,themeOverrides:f.oneOfType([f.object,f.func])};function bZ({children:e,theme:t,...n}){return g.jsx(j.CoreAdminContext,{...n,children:g.jsx(rA,{themeOverrides:t,children:g.jsx(Gp,{children:e})})})}function _x(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:A,loading:p,loginPage:h,authCallbackPage:C,menu:m,notification:I,queryClient:B,requireAuth:v,store:S=j.localStorageStore(),ready:O,theme:x,title:R="React Admin"}=e;return g.jsx(bZ,{authProvider:t,dataProvider:s,i18nProvider:u,store:S,history:c,queryClient:B,theme:x,children:g.jsx(j.AdminUI,{layout:A,dashboard:o,disableTelemetry:a,menu:m,catchAll:n,title:R,loading:p,loginPage:h,authCallbackPage:C,notification:I,requireAuth:v,ready:O,children:r})})}var za,Wa,ps;class yZ{constructor(t){Wr(this,za,void 0);Wr(this,Wa,void 0);Wr(this,ps,new Set);const{apiUrl:n}=t??{};if(!te.isString(n)||te.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");po(this,Wa,n),po(this,za,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handle(t){var c;const{message:n,filename:r,lineno:o,colno:s}=t,a=`${n}${r}${o}${s}`;hn(this,ps).has(a)||(hn(this,ps).add(a),fetch(`${hn(this,Wa)}/ui/error-log`,{method:"PUT",headers:hn(this,za),body:JSON.stringify({filename:t.filename,message:t.message,line:t.lineno,column:t.colno,stack:(c=t.error)==null?void 0:c.stack})}).catch(()=>{console.log("Unable to send error to server"),hn(this,ps).delete(a)}))}}za=new WeakMap,Wa=new WeakMap,ps=new WeakMap;class $x{constructor({catch:t,display:n,log:r,error:o}){oa(this,"catch");oa(this,"display");oa(this,"log");oa(this,"error");this.catch=t,this.display=n,this.log=r,this.error=o}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}const QZ=({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new $x({catch:s!=null,display:!1,log:s!=null,error:s}),...o})=>{const s=M.useMemo(()=>o.errorHandler?o.errorHandler:new yZ({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=M.useCallback(function(u,...A){var h;if(!u)return!1;const p=r(u instanceof ErrorEvent?u:(h=u==null?void 0:u.toString())==null?void 0:h.replace(/%s/g,()=>A.shift()));if(p.isCatched())return!1;p.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),p.displayError()&&a.apply(console,arguments)},[t,n,r,e,s]);return M.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c]),!0};var Ua,Ya,di;class xZ{constructor(t){Wr(this,Ua,void 0);Wr(this,Ya,void 0);Wr(this,di,[]);const{apiUrl:n}=t??{};if(!te.isString(n)||te.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");po(this,Ya,n),po(this,Ua,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!te.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!te.isString(n)||te.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!te.isString(r)||te.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!te.some(hn(this,di),o=>te.isEqual(o,{code:n,lang:r}))){hn(this,di).push({code:n,lang:r}),fetch(`${hn(this,Ya)}/i18n/message`,{method:"put",headers:hn(this,Ua),body:JSON.stringify({code:n,lang:r,text:n})}).then(o=>o.json()).then(()=>{console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`)}).catch(o=>{console.error(o),po(this,di,te.reject(hn(this,di),s=>te.isEqual(s,{code:n,lang:r})))});return}}}Ua=new WeakMap,Ya=new WeakMap,di=new WeakMap;function e1(e){const{apiUrl:t,defaultLocale:n,allowMissing:r=!1,createMissing:o=!1}=e,s=[{locale:n,name:n}],a=new Headers({Accept:"application/json","Content-Type":"application/json"}),c=new xZ({apiUrl:t}),u=()=>fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(h=>h.json()).catch(()=>Promise.resolve(s)),A=()=>fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(h=>h.json()).then(h=>h.reduce((C,m)=>({...C,[m.lang]:{...C[m.lang]||{},[m.code]:m.text}}),{})),p=(h,C,m)=>(r||console.error(`Warning: Missing translation for key: "${h}"`),o&&(te.isString(h)?h.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${h}`):c.handleMessage({code:h,lang:m}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),h);return Promise.all([u(),A()]).then(h=>{const[C,m]=h;function I(B){return te.get(m,B,{})}return gO(I,n,C,{allowMissing:r||o,onMissingKey:p})})}window.React=Q;const wZ=({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})})=>{const[r,o]=Q.useState({loading:!0,languages:null});return Q.useEffect(()=>{let s=new Headers;s.append("Accept","application/json"),s.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:s}).then(a=>a.json()).then(a=>o({loading:!1,...n(a)}))},[e,t,n]),r};function t1(e){const[t,n]=Q.useState(),r=xB(e);return Q.useEffect(()=>{e1(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r]),t}const TZ=new As.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function SZ({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=g.jsx(Ux,{version:"0.0.0",name:"Applica",redirectTo:"/",background:g.jsx(fu,{})}),menu:u,name:A,copy:p,version:h="0.0.0",dataProvider:C,authProvider:m,errorHandler:I,error:B,enableNotification:v=!1,enableRegistration:S=!1,enablePasswordRecover:O=!1,enableThemeToggler:x=!1,queryClient:R=TZ,background:P,notificationAPI:k="entities/notification",...F}){QZ({apiUrl:n,errorHandler:I,catcherFn:Y=>{const ie=Y==null?void 0:Y.toString(),X=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","Support for defaultProps will be removed from function components in a future major release.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>.","Missing translation for key:","HttpError: "].some(H=>ie==null?void 0:ie.includes(H));return new $x({catch:X,display:!X,log:!X,error:ie})}});const G=Q.useMemo(()=>Q.isValidElement(c)?Q.cloneElement(c,{name:A,copy:p,logo:s,version:h,background:P,enableRegistration:S,enablePasswordRecover:O}):c,[c,A,h,p,P,s,S,O]),K=Q.useMemo(()=>Y=>{const ie=A?g.jsx(Yp,{title:A}):s,se=A?g.jsx(Kp,{title:A}):a;return g.jsx(Ox,{...Y,name:A,copy:p,enableThemeToggler:x,version:h,logoMain:ie,logoIcon:se,notification:k,enableNotification:v,error:B})},[s,a,A,h,B,k,v]),$=t1({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o});return $===void 0?g.jsx(g.Fragment,{}):$.error?g.jsx(Wc,{initialConfig:t,children:g.jsx(rA,{themeOverrides:e,children:g.jsx(Kx,{})})}):g.jsx(vf,{children:g.jsx(tB,{menu:u,children:g.jsx(Wc,{initialConfig:t,children:g.jsx(_x,{theme:e,layout:K,notification:Mx,queryClient:R,dataProvider:C,authProvider:m,i18nProvider:$,loginPage:G,...F})})})})}Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>j.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>j.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>j.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>j.Button});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>j.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>j.Confirm});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>j.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>j.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>j.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>j.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>j.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>j.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>j.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>j.FieldTitle});Object.defineProperty(exports,"FilterButton",{enumerable:!0,get:()=>j.FilterButton});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>j.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>j.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>j.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>j.I18nContextProvider});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>j.ListToolbar});Object.defineProperty(exports,"LoadingIndicator",{enumerable:!0,get:()=>j.LoadingIndicator});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>j.Pagination});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>j.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>j.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>j.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>j.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>j.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>j.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>j.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>j.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleShowLayout",{enumerable:!0,get:()=>j.SimpleShowLayout});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>j.SingleFieldList});Object.defineProperty(exports,"TabbedFormTabs",{enumerable:!0,get:()=>j.TabbedFormTabs});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>j.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>j.UrlField});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>j.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>j.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>j.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>j.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>j.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>j.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>j.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>j.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>j.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>j.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>j.useAuthProvider});Object.defineProperty(exports,"useChoices",{enumerable:!0,get:()=>j.useChoices});Object.defineProperty(exports,"useChoicesContext",{enumerable:!0,get:()=>j.useChoicesContext});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>j.useCreateController});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>j.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>j.useEditContext});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>j.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>j.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>j.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>j.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>j.useGetOne});Object.defineProperty(exports,"useInput",{enumerable:!0,get:()=>j.useInput});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>j.useListContext});Object.defineProperty(exports,"useLocaleState",{enumerable:!0,get:()=>j.useLocaleState});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>j.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>j.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>j.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>j.useRefresh});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>j.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>j.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>j.useResourceDefinitions});Object.defineProperty(exports,"useShowContext",{enumerable:!0,get:()=>j.useShowContext});Object.defineProperty(exports,"useShowController",{enumerable:!0,get:()=>j.useShowController});Object.defineProperty(exports,"useSimpleFormIterator",{enumerable:!0,get:()=>j.useSimpleFormIterator});Object.defineProperty(exports,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>j.useSimpleFormIteratorItem});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>j.useTranslate});Object.defineProperty(exports,"useTranslateLabel",{enumerable:!0,get:()=>j.useTranslateLabel});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>j.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>j.useUnselectAll});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>j.useUpdateMany});Object.defineProperty(exports,"withLifecycleCallbacks",{enumerable:!0,get:()=>j.withLifecycleCallbacks});exports.ActionsField=H6;exports.ActionsMenu=Bi;exports.ActivatePage=Wx;exports.Admin=_x;exports.AnimateButton=Xv;exports.AppBarStyled=TB;exports.AppConfigContext=Bf;exports.AppConfigProvider=vf;exports.ApplicaAdmin=SZ;exports.ArrayInput=V6;exports.AttachmentField=Ib;exports.AttachmentInput=dL;exports.AuthBackground=fu;exports.AutocompleteArrayInput=fL;exports.AutocompleteInput=hL;exports.Avatar=ka;exports.BooleanInput=mL;exports.Breadcrumbs=ib;exports.BulkActionsToolbar=Nx;exports.BulkActionsToolbarClasses=$n;exports.BulkFloatingActionsToolbar=SJ;exports.CardForm=Cb;exports.ChangePasswordForm=fp;exports.CircularWithLabel=gb;exports.CircularWithPath=fb;exports.CoverField=vb;exports.Create=qL;exports.CreateInDialogButton=QJ;exports.Datagrid=MJ;exports.DateAgoField=yb;exports.DateField=X6;exports.DateInput=IL;exports.DateTimeInput=vL;exports.Dot=Vu;exports.Drawer=wx;exports.DrawerHeader=mQ;exports.DrawerHeaderStyled=CQ;exports.DrawerToggle=hy;exports.Edit=XL;exports.EditInDialogButton=wJ;exports.EmailField=_6;exports.Empty=FJ;exports.EmptyClasses=pi;exports.FileField=Qb;exports.FileInput=yL;exports.Footer=bp;exports.FormHeader=$L;exports.FunctionField=eL;exports.GenericErrorPage=Kx;exports.Header=Cy;exports.HeaderButton=RM;exports.HeaderIconButton=D6;exports.HeaderNotification=my;exports.HeaderProfile=Ey;exports.HeaderSpacer=By;exports.HeaderToggleButton=Rs;exports.HorizontalBar=Tx;exports.IconButton=Ps;exports.ImageField=Bb;exports.ImageInput=QL;exports.ImpersonateUserButton=mJ;exports.LabeledArrayInput=Eb;exports.LabeledInput=un;exports.Layout=Ox;exports.LayoutContent=dQ;exports.LayoutProvider=gy;exports.LayoutWrapper=gQ;exports.LinearWithIcon=pb;exports.LinearWithLabel=hb;exports.List=qJ;exports.ListItem=eX;exports.Loadable=nJ;exports.Loader=Dx;exports.LoadingButton=gp;exports.LocalStorage=yB;exports.LocalizedTextField=nL;exports.LocalizedTextInput=TL;exports.LoginPage=Ux;exports.Logo=Lp;exports.LongForm=Rt;exports.MainCard=er;exports.MainIcon=Yp;exports.MenuConfigContext=yf;exports.MenuConfigProvider=tB;exports.MenuPopover=Ef;exports.NavGroup=Wp;exports.NavMenu=Sx;exports.Navigation=Px;exports.Notification=Mx;exports.NotificationList=_J;exports.NumberInput=PL;exports.OnboardingModes=Ha;exports.OnboardingProvider=dJ;exports.OnboardingTip=CJ;exports.RawTableFormIterator=Ay;exports.ReadonlyField=sL;exports.RecordInput=RL;exports.RecoverPage=Yx;exports.ReferenceArrayInput=OL;exports.ReferenceInput=jL;exports.ReferenceManyField=wb;exports.ReferenceManyInput=DL;exports.RegisterPage=Gx;exports.ResponsiveSection=Iy;exports.ScrollTop=Gp;exports.ScrollX=oJ;exports.SearchInput=kL;exports.SelectArrayInput=LL;exports.SelectInput=VL;exports.Show=p9;exports.SimpleBar=zp;exports.SimpleForm=mb;exports.SimpleFormIterator=C9;exports.SimpleList=$J;exports.SizeField=cL;exports.SmallIcon=Kp;exports.SmartTextInput=HL;exports.TabbedForm=mp;exports.TableFormIterator=KV;exports.TableFormIteratorContext=Qf;exports.TableFormIteratorItem=ry;exports.TableFormIteratorItemContext=xf;exports.TextField=xb;exports.TextInput=Cr;exports.ThemeConfigContext=bf;exports.ThemeConfigProvider=Wc;exports.ThemeProvider=rA;exports.ThemeToggler=Rx;exports.TimeInput=YL;exports.Toolbar=wi;exports.Tooltip=zu;exports.Transitions=Do;exports.createI18nProvider=e1;exports.getLocalizedValue=Sf;exports.localizedValueHasAllLocales=Tf;exports.parseTime=cB;exports.useAppConfig=vi;exports.useBreadcrumbs=sB;exports.useGetLocalizedValue=wM;exports.useI18nLanguages=wZ;exports.useI18nProvider=t1;exports.useLayoutContext=vp;exports.useLayoutDispatch=XV;exports.useLayoutDrawerState=Ti;exports.useLayoutLogoState=py;exports.useLayoutMediaState=Nn;exports.useLayoutNotificationsState=Zu;exports.useLayoutState=Ms;exports.useLayoutThemeState=ZV;exports.useLocalStorage=Pu;exports.useLocalizedValue=xM;exports.useMemoizedObject=xB;exports.useMenu=wf;exports.useMenuConfig=mi;exports.usePopoverState=Ru;exports.useRefDimensions=SM;exports.useResourceDefaultValues=KL;exports.useResourceTitle=kf;exports.useRestartOnboarding=pJ;exports.useSx=Er;exports.useTableFormIterator=wB;exports.useTableFormIteratorItem=PM;exports.useThemeConfig=Qn;exports.uuid=SD;exports.withLayoutProvider=fy;
|
|
268
|
+
`),Kq)),jx=M.forwardRef(function(t,n){const r=Ht({props:t,name:"MuiLinearProgress"}),{className:o,color:s="primary",value:a,valueBuffer:c,variant:u="indeterminate"}=r,A=Ne(r,Yq),p=z({},r,{color:s,variant:u}),h=Jq(p),C=bt(),m={},I={bar1:{},bar2:{}};if(u==="determinate"||u==="buffer")if(a!==void 0){m["aria-valuenow"]=Math.round(a),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let B=a-100;C.direction==="rtl"&&(B=-B),I.bar1.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(u==="buffer")if(c!==void 0){let B=(c||0)-100;C.direction==="rtl"&&(B=-B),I.bar2.transform=`translateX(${B}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return g.jsxs(Xq,z({className:Ge(h.root,o),ownerState:p,role:"progressbar"},m,{ref:n},A,{children:[u==="buffer"?g.jsx(Zq,{className:h.dashed,ownerState:p}):null,g.jsx(_q,{className:h.bar1,ownerState:p,style:I.bar1}),u==="determinate"?null:g.jsx($q,{className:h.bar2,ownerState:p,style:I.bar2})]}))});process.env.NODE_ENV!=="production"&&(jx.propTypes={classes:f.object,className:f.string,color:f.oneOfType([f.oneOf(["inherit","primary","secondary"]),f.string]),sx:f.oneOfType([f.arrayOf(f.oneOfType([f.func,f.object,f.bool])),f.func,f.object]),value:f.number,valueBuffer:f.number,variant:f.oneOf(["buffer","determinate","indeterminate","query"])});const eJ=jx,tJ=Ae("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}})),Dx=()=>g.jsx(tJ,{children:g.jsx(eJ,{color:"primary"})}),nJ=e=>t=>g.jsx(Q.Suspense,{fallback:g.jsx(Dx,{}),children:g.jsx(e,{...t})}),Yp=({title:e})=>g.jsxs(y.Stack,{direction:"row",children:[g.jsx(y.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",g.jsx(y.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]}),rJ=Ae(j.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function Mx(e){return g.jsx(rJ,{...e})}const Gp=({children:e})=>{const t=Ct.useLocation(),{pathname:n}=t;return Q.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),e||null};Gp.propTypes={children:f.node};const oJ=Ae("div")({width:"100%",overflowX:"auto",display:"block"}),Kp=({title:e})=>g.jsx(y.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substr(0,1).toUpperCase()});Kp.propTypes={title:f.string.isRequired};var Ha=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(Ha||{});const iJ=Jr().required(),sJ=Jr().oneOf(Object.values(Ha));function aJ(e){var S;const t=As.useQueryClient(),[n,r]=Q.useState(!1),[o,s]=Q.useState(()=>()=>Promise.resolve()),a=ce.useGetIdentity(),c=(S=a==null?void 0:a.data)==null?void 0:S.email,u=ce.useDataProvider(),A=Q.useCallback(()=>c?u.get("onboarding").then(O=>{var x;return(x=O==null?void 0:O.data)==null?void 0:x.value}):Promise.reject(),[u,c]),{data:p,isLoading:h,isError:C}=As.useQuery({queryKey:["GET","onboarding",c],queryFn:A,staleTime:24*60*60*1e3,retry:c!==void 0}),[m,I]=Q.useState(()=>()=>Promise.resolve()),B=As.useMutation({mutationFn:m}),v=B.mutateAsync;return Q.useEffect(()=>{function O(){const x=te.chain(p??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",x).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}I(()=>O)},[u,p,e,t,c]),Q.useEffect(()=>{r(te.isNil((p??{})[e]))},[p,e,r]),Q.useEffect(()=>{s(()=>()=>v())},[v]),{loading:h,error:C,onboardingRequired:n,acknowledgeOnboarding:o}}function lJ(e){const[t,n]=Pu("onboarding",{}),[r,o]=Q.useState(!1),[s,a]=Q.useState(()=>()=>Promise.resolve());return Q.useEffect(()=>{o(te.isNil((t??{})[e]))},[t,e,o]),Q.useEffect(()=>{a(()=>()=>(n(c=>te.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function cJ(){return{onboardingRequired:!1,acknowledgeOnboarding:Q.useRef(()=>Promise.resolve()).current}}function uJ(e,t){jf({mode:sJ,topic:iJ}).validateSync({mode:e,topic:t});const n=aJ(t),r=lJ(t),o=cJ();switch(e){case Ha.USER:return n.loading?o:n.error?r:te.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case Ha.BROWSER:return r;default:return o}}var Pa=(e=>(e.RESTART="RESTART",e.SET_SHOW="SET_SHOW",e.REGISTER_TIP="REGISTER_TIP",e.UNREGISTER_TIP="UNREGISTER_TIP",e.DISMISS_TIP="DISMISS_TIP",e.SET_ON_COMPLETE="SET_ON_COMPLETE",e))(Pa||{});function AJ(e,t){var o;const n=te.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return te.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=te.chain(n.tips).clone().reject(p=>p.id===a).value(),u=te.find(n.tips,{id:a}),A=te.chain(u??{}).clone().extend(s).value();return c.push(A),te.extend(n,{tips:te.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=te.isString(s)?s:s.id,c=te.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return te.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=te.isString(s)?s:s.id,c=te.chain(n.tips).reject(C=>C.id===a).value(),u=te.find(n.tips,{id:a});if(te.isNil(u))return n;const A=te.chain(u).clone().extend({dismissed:!0}).value();c.push(A);const p=((o=te.chain(c).reject(C=>C.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(A==null?void 0:A.completeOnboarding)&&te.chain(c).reject(C=>C.step<p).reject(C=>C.dismissed??!1).isEmpty().value()&&e.onComplete(),te.extend(n,{tips:te.sortBy(c,["step"]),currentStep:p})}case"SET_ON_COMPLETE":{const{payload:s}=t;return te.extend(n,{onComplete:s})}case"RESTART":{const s=te.chain(n.tips).clone().map(a=>te.omit(a,"dismissed")).value();return te.extend(n,{tips:s,currentStep:0})}default:return n}}const kx=Q.createContext(void 0);function dJ(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=uJ(t,n),[s,a]=Q.useReducer(AJ,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=Q.useMemo(()=>({state:s,dispatch:a}),[s,a]);return Q.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),Q.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),g.jsx(kx.Provider,{value:c,children:e.children})}function Fx(){const e=Q.useContext(kx);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function gJ(){return Fx().state}function Lx(){return Fx().dispatch}function fJ(e){jf({id:Jr().required(),step:CB().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=gJ(),c=te.find(s,{id:t}),{dismissed:u}=c??{},A=Lx(),p=Q.useCallback(()=>{A({type:Pa.DISMISS_TIP,payload:t})},[A,t]);return Q.useEffect(()=>{(te.isNil(c)||n!==(c==null?void 0:c.step))&&A({type:Pa.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c]),Q.useEffect(()=>()=>{A({type:Pa.UNREGISTER_TIP,payload:t})},[t,A]),{tip:te.chain(c??e).clone().extend({open:o&&!te.isNil(c)&&a===n&&!u}).value(),dismiss:p}}function pJ(){const e=Lx();return Q.useCallback(()=>{e({type:Pa.RESTART})},[e])}function hJ(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=fJ({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=te.omit(e,["id","step","title","completeOnboarding"]);return g.jsx(zu,{...u,arrow:!0,open:c,title:g.jsxs(y.Stack,{gap:1,children:[g.jsx(y.Typography,{children:r}),g.jsx(y.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const CJ=y.styled(hJ)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${y.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${y.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${y.tooltipClasses.arrow}`]:{color:r.main}}});function mJ({label:e="ra.auth.sign_in",...t}){const n=j.useRecordContext(),[r,o]=Q.useState(!1),s=j.useAuthProvider(),a=Q.useCallback(c=>{c.stopPropagation(),c.preventDefault(),o(!0),s.impersonate(n==null?void 0:n.id).then(()=>{o(!1),document.location.href="/"})},[s,n==null?void 0:n.id]);return g.jsx(j.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:g.jsx(rr.VpnKey,{})})}const qp=(e,t)=>{const n=t.id;if(!e)return[t];const r=e.findIndex(o=>o.id===n);return r===-1?[...e,t]:[...e.slice(0,r),{...e[r],...t},...e.slice(r+1)]},EJ=(e,t)=>e&&e.data?{data:qp(e.data,t),total:e.total+1}:e,IJ=(e,t)=>e&&e.length>0?qp(e,t):e,BJ=(e,t)=>e&&e.data?{...e,data:qp(e.data,t),total:e.total+1}:e,vJ=({onClose:e,record:t,children:n,redirect:r=!1,onSubmit:o,onSuccess:s,onError:a})=>{const c=As.useQueryClient(),u=j.useResourceContext(),A=j.useRedirect(),p=j.useNotify(),h=Q.useCallback(B=>{const S=Date.now();c.setQueryData([u,"getOne",{id:B.id}],B),c.setQueriesData([u,"getList"],O=>BJ(O,B),{updatedAt:S}),c.setQueriesData([u,"getMany"],O=>IJ(O,B),{updatedAt:S}),c.setQueriesData([u,"getManyReference"],O=>EJ(O,B),{updatedAt:S}),e(),p("ra.notification.created"),r!==void 0&&A(r,u,B.id,B),s&&s(B)},[e,s,c,u,p,A,r]),{save:C,...m}=j.useCreateController({mutationOptions:{onSuccess:h,onError:a}}),I=Q.useCallback(B=>{o?o(B,e):C&&C(B)},[o,C,e]);return g.jsx(j.CreateContextProvider,{value:{record:t,save:I,saving:m==null?void 0:m.saving,redirect:r},children:Q.cloneElement(n,{...n.props,toolbar:g.jsxs(wi,{children:[g.jsx(j.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e,disabled:m==null?void 0:m.saving}),g.jsx(j.SaveButton,{type:"button",disabled:m==null?void 0:m.saving})]})})})},bJ={true:{_scrollToTop:!0},false:{}},yJ=Ae(y.Fab,{overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`&.${j.CreateButtonClasses.floating}`]:{color:e.palette.getContrastText(e.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3}}));function QJ({fullWidth:e=!0,maxWidth:t="md",label:n="ra.action.create",record:r,redirect:o,scrollToTop:s=!0,className:a,sx:c,style:u,fab:A=!0,onSubmit:p,onSuccess:h,onError:C,...m}){const[I,B]=Q.useState(!1),v=j.useTranslate(),S=j.useResourceContext(),{openDialog:O,closeDialog:x}=vi(),R=y.useTheme(),P=Q.useCallback(()=>O(S,()=>B(!0)),[O,S]),k=Q.useCallback(()=>x(S,()=>B(!1)),[x,S]),F=A&&y.useMediaQuery(G=>G.breakpoints.down("md"));return g.jsxs(g.Fragment,{children:[F?g.jsx(yJ,{...m,state:bJ[String(s)],color:"primary",className:Ge(j.CreateButtonClasses.floating,a),"aria-label":n&&v(n),onClick:P,children:g.jsx(Ze.PlusCircleOutlined,{})}):g.jsx(j.Button,{...m,sx:c,label:n,onClick:P,style:u,children:g.jsx(Ze.PlusCircleOutlined,{})}),g.jsx(y.Dialog,{open:I,scroll:"body",sx:{"& .MuiToolbar-root":{borderTop:`1px solid ${R.palette.divider}`,position:"initial",padding:2.5}},onClose:k,fullWidth:e,maxWidth:t,children:g.jsx(vJ,{...m,redirect:o,record:r,onClose:k,onSubmit:p,onSuccess:h,onError:C})})]})}const xJ=({onClose:e,children:t})=>{const n=j.useNotify(),r=j.useRecordContext(),o=j.useResourceContext(),{id:s}=r,{isLoading:a,data:c}=j.useGetOne(o,{id:s}),u=Q.useCallback(()=>{n("ra.notification.updated",{type:"info",messageArgs:{smart_count:1}}),e()},[e,n]),{save:A,saving:p}=j.useEditController({resource:o,id:s,mutationMode:"pessimistic",mutationOptions:{onSuccess:u}});return g.jsx(j.EditContextProvider,{value:{record:c,isLoading:a,save:A,saving:p},children:Q.cloneElement(t,{toolbar:g.jsxs(wi,{children:[g.jsx(j.Button,{variant:"text",size:"medium",label:"ra.action.cancel",onClick:e}),g.jsx(j.SaveButton,{type:"button"})]})})})};function wJ({fullWidth:e=!0,maxWidth:t="md",label:n="ra.action.edit",style:r,...o}){const[s,a]=Q.useState(!1),{openDialog:c,closeDialog:u}=vi(),A=j.useResourceContext(),p=Q.useCallback(()=>c(A,()=>a(!0)),[c,A]),h=Q.useCallback(()=>u(A,()=>a(!1)),[u,A]),C=y.useTheme();return g.jsxs(g.Fragment,{children:[g.jsx(j.Button,{label:n,onClick:p,style:r,children:g.jsx(rr.Edit,{})}),g.jsx(y.Dialog,{open:s,scroll:"body",sx:{"& .MuiToolbar-root":{borderTop:`1px solid ${C.palette.divider}`,position:"initial",padding:2.5}},onClose:h,fullWidth:e,maxWidth:t,children:g.jsx(xJ,{onClose:h,children:o==null?void 0:o.children})})]})}function Nx(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=ce.useListContext(e),A=ce.useTranslate(),p=Q.useCallback(()=>{u()},[u]);return g.jsx(TJ,{className:r,children:g.jsxs(OW,{"data-test":"bulk-actions-toolbar",className:Ge($n.toolbar,{[$n.collapsed]:c.length===0}),...ce.sanitizeListRestProps(o),children:[g.jsxs("div",{className:$n.title,children:[g.jsx(Ap,{className:$n.icon,"aria-label":A("ra.action.unselect"),title:A("ra.action.unselect"),onClick:p,size:"small",children:g.jsx(cu,{fontSize:"small"})}),g.jsx($v,{color:"inherit",variant:"subtitle1",children:A(t,{_:t,smart_count:c.length})})]}),g.jsx(j.TopToolbar,{className:$n.topToolbar,children:Q.Children.map(n,h=>Q.isValidElement(h)?Q.cloneElement(h,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const ai="RaBulkActionsToolbar",$n={toolbar:`${ai}-toolbar`,topToolbar:`${ai}-topToolbar`,buttons:`${ai}-buttons`,collapsed:`${ai}-collapsed`,title:`${ai}-title`,icon:`${ai}-icon`},TJ=Ae("div",{name:ai,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${$n.toolbar}`]:{position:"absolute",left:0,right:0,zIndex:3,color:e.palette.mode==="light"?e.palette.primary.main:e.palette.text.primary,justifyContent:"space-between",backgroundColor:e.palette.mode==="light"?Es(e.palette.primary.light,.8):e.palette.primary.dark,minHeight:e.spacing(6),height:e.spacing(6),transform:`translateY(-${e.spacing(6)})`,transition:`${e.transitions.create("height")}, ${e.transitions.create("min-height")}, ${e.transitions.create("transform")}`,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},[`& .${$n.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${$n.buttons}`]:{},[`& .${$n.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${$n.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${$n.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),sg={p:0,m:0},h0={p:2,m:0,borderRadius:0,width:"100%"};function SJ(e){const{children:t}=e,[n,r]=M.useState(null),o=I=>{r(I.currentTarget)},s=()=>{r(null)},a=y.useMediaQuery(I=>I.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:A=[],onUnselectItems:p}=j.useListContext(e),h=!!n&&A!==void 0&&A.length>0,C=h?"simple-popover":void 0,m=M.useCallback(()=>{p(),r(null)},[p,r]);return g.jsx(y.Fade,{in:A!==void 0&&A.length>0,children:g.jsxs(y.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[g.jsx(y.Fab,{color:"primary","aria-label":"manage",onClick:o,children:A==null?void 0:A.length}),g.jsx(y.Popover,{id:C,open:h,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:g.jsxs(y.List,{sx:sg,children:[g.jsx(y.ListItem,{sx:sg,children:g.jsx(j.Button,{onClick:m,sx:h0,label:"ra.action.unselect",startIcon:g.jsx(cu,{}),children:g.jsx(cu,{})})}),M.Children.map(t,I=>{var B;return g.jsx(y.ListItem,{sx:sg,children:M.isValidElement(I)?M.cloneElement(I,{filterValues:c,resource:u,selectedIds:A,sx:h0,...(B=I.props)!=null&&B.popover?{closePopover:s}:{}}):null})})]})})]})})}const Vx=Q.createContext({});Vx.displayName="DatagridContext";const PJ=({children:e,value:t})=>g.jsx(Vx.Provider,{value:t,children:e}),C0=g.jsx(j.BulkDeleteButton,{}),Hx=M.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?j.PureDatagridBody:j.DatagridBody,header:o=j.DatagridHeader,children:s,className:a,empty:c=jJ,expand:u,bulkActionsToolbar:A=!1,bulkActionButtons:p=C0,hover:h,isRowSelectable:C,isRowExpandable:m,resource:I,rowClick:B,rowSx:v,rowStyle:S,size:O="small",sx:x,expandSingle:R=!1,...P}=e,{sort:k,data:F,isLoading:G,onSelect:K,onToggleItem:$,selectedIds:Y,setSort:ie,total:se}=ce.useListContext(e),X=!!p,Z=Q.useMemo(()=>({isRowExpandable:m,expandSingle:R}),[m,R]),H=Q.useRef(null);Q.useEffect(()=>{(!Y||Y.length===0)&&(H.current=null)},[JSON.stringify(Y)]);const J=Q.useCallback((L,_)=>{const V=F.map(le=>le.id),q=V.indexOf(H.current);if(H.current=_.target.checked?L:null,_.shiftKey&&q!==-1){const le=V.indexOf(L),pe=V.slice(Math.min(q,le),Math.max(q,le)+1),de=_.target.checked?$Y(Y,pe):fG(Y,pe);K(C?de.filter(ge=>C(F.find(he=>he.id===ge))):de)}else $(L)},[F,C,K,$,Y]);return G===!0?g.jsx(j.DatagridLoading,{className:a,expand:u,hasBulkActions:X,nbChildren:M.Children.count(s),size:O}):F==null||F.length===0||se===0?c||null:g.jsx(PJ,{value:Z,children:g.jsxs(j.DatagridRoot,{sx:x,className:Ge(j.DatagridClasses.root,a),children:[A!=null&&Q.isValidElement(A)?Q.cloneElement(A,{selectedIds:Y,total:se}):p!==!1?g.jsx(Nx,{children:Q.isValidElement(p)?p:C0}):null,g.jsx("div",{className:j.DatagridClasses.tableWrapper,children:g.jsxs(y.Table,{ref:t,className:j.DatagridClasses.table,size:O,...OJ(P),children:[m0(o,{children:s,sort:k,data:F,hasExpand:!!u,hasBulkActions:X,isRowSelectable:C,onSelect:K,resource:I,selectedIds:Y,setSort:ie},s),m0(r,{expand:u,rowClick:B,data:F,hasBulkActions:X,hover:h,onToggleItem:J,resource:I,rowSx:v,rowStyle:S,selectedIds:Y,isRowSelectable:C},s)]})})]})})}),m0=(e,t,n)=>Q.isValidElement(e)?Q.cloneElement(e,t,n):Q.createElement(e,t,n),RJ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"],OJ=e=>Object.keys(ce.sanitizeListRestProps(e)).filter(t=>!RJ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{});Hx.displayName="Datagrid";const jJ=g.jsx(j.ListNoResults,{}),DJ=Ae(Hx,{slot:"root"})(({theme:e})=>({"& .RaBulkActionsToolbar-toolbar":{height:48},"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .RaBulkActionsToolbar-topToolbar":{backgroundColor:"transparent"},"& .icon span":{top:-1,left:-1},"& th":{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",backgroundColor:"inherit !important",textTransform:"none",fontSize:e.typography.subtitle1.fontSize}}));function MJ(e){return g.jsx(DJ,{...e})}const kJ=Ae("div")(({theme:e})=>({padding:e.spacing(2)}));function FJ({actions:e,className:t,...n}){const{hasCreate:r}=ce.useResourceDefinition(n),o=ce.useResourceContext(n),s=ce.useTranslate(),a=ce.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),A=s("ra.page.invite");return g.jsxs(LJ,{className:t,children:[g.jsxs("div",{className:pi.message,children:[g.jsx(rr.Inbox,{className:pi.icon}),g.jsx(y.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r&&g.jsx(y.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:A})})]}),g.jsx(kJ,{className:pi.toolbar,children:e})]})}const kc="ApplicaEmpty",pi={message:`${kc}-message`,icon:`${kc}-icon`,toolbar:`${kc}-toolbar`},LJ=Ae("span",{name:kc,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${pi.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${pi.icon}`]:{width:"9em",height:"9em"},[`& .${pi.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),NJ=g.jsx(j.ListActions,{}),VJ=g.jsx(j.Pagination,{}),HJ=g.jsx(j.Empty,{}),zJ=vG,WJ=e=>{const{actions:t=NJ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=VJ,children:u,className:A,component:p=zJ,title:h,empty:C=HJ,...m}=e,{defaultTitle:I,data:B,error:v,isLoading:S,filterValues:O,resource:x}=ce.useListContext(e);if(!u||!B&&S&&s)return null;const R=()=>g.jsxs("div",{className:wo.main,children:[(r||t)&&g.jsx(j.ListToolbar,{className:wo.actions,filters:r,actions:t,hasCreate:a}),!v&&g.jsx(p,{className:wo.content,children:o&&u&&M.isValidElement(u)?Q.cloneElement(u,{bulkActionButtons:o}):u}),v?g.jsx(Fp,{error:v,resetErrorBoundary:null}):c!==!1&&c]}),P=()=>C!==!1&&Q.cloneElement(C,{className:wo.noResults,hasCreate:a}),k=!S&&(B==null?void 0:B.length)===0&&!Object.keys(O).length&&C!==!1;return g.jsxs(UJ,{className:Ge("list-page",A),...m,children:[g.jsx(j.Title,{title:h,defaultTitle:I,preferenceKey:`${x}.list.title`}),k?P():R(),n]})},Ea="RaList",wo={main:`${Ea}-main`,content:`${Ea}-content`,actions:`${Ea}-actions`,noResults:`${Ea}-noResults`},UJ=Ae("div",{name:Ea,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${wo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${wo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${wo.actions}`]:{},[`& .${wo.noResults}`]:{}})),YJ=({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=GJ,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:A,storeKey:p,...h})=>g.jsx(ce.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:A,storeKey:p,children:g.jsx(WJ,{...h})}),GJ={},KJ=qa(YJ,{slot:"root"})(({theme:e})=>({"& .RaList-main":{overflowX:"auto","& .RaBulkActionsToolbar-toolbar":{height:36,top:42,paddingTop:16,"& .RaBulkActionsToolbar-title":{alignItems:"end","& .MuiTypography-root":{alignSelf:"center"}}},"& .MuiToolbar-root":{"& form":{padding:e.spacing(2),paddingBottom:e.spacing(2),alignItems:"flex-start"}},"& .MuiButton-root":{margin:0},"& .RaList-actions":{minHeight:80,alignItems:"center",padding:e.spacing(2.5),"& form":{alignItems:"center",minHeight:"auto",paddingBottom:0,rowGap:e.spacing(2.5)},"& .RaFilterForm-filterFormInput":{margin:0,"& .MuiFormControl-root":{marginTop:0},"& .ra-input":{alignSelf:"center",marginTop:0},[e.breakpoints.down("sm")]:{"&>.MuiStack-root":{width:"100%","&>div:not(.MuiStack-root)":{width:"100%"}}}},"& .RaFilterFormInput-hideButton":{margin:"0 !important",alignSelf:"center"},"& > .MuiToolbar-root":{flex:"unset",padding:0,alignSelf:"center",minHeight:"fit-content",[e.breakpoints.down("sm")]:{paddingBottom:e.spacing(2)}}},"& .RaList-content":{borderRadius:0,"& .RaBulkActionsToolbar-collapsed":{height:0,paddingTop:0,paddingBottom:0},"& .icon span":{top:-1,left:-1}}},"& .RaEmpty-toolbar":{margin:e.spacing(2)}}));function qJ(e){return g.jsx(er,{content:!1,children:g.jsx(KJ,{...e})})}function JJ(){const e=j.useRefresh(),t=j.useNotify(),n=j.useResourceContext(),r=j.useUnselectAll(n),{selectedIds:o,data:s}=j.useListContext(),a=j.useRecordContext(),c=o.map(h=>s.find(C=>C.id===h)),[u,{isLoading:A}]=j.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Pr().format("YYYY-MM-DD HH:mm:ss")},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.readed.done"),r()},onError:()=>t("ra.notification.readed_error",{type:"warning"}),onFailure:()=>t("ra.notification.readed_error",{type:"warning"})}),p=Q.useCallback(()=>{u()},[u]);return g.jsx(j.Button,{label:"ra.notification.mark_as_readed",disabled:A||(a==null?void 0:a.readed)!==null,onClick:p,children:g.jsx(rr.Email,{})})}function XJ(){const e=j.useRefresh(),t=j.useNotify(),n=j.useResourceContext(),r=j.useUnselectAll(n),{selectedIds:o,data:s}=j.useListContext(),a=j.useRecordContext(),c=o.map(h=>s.find(C=>C.id===h)).concat([a]),[u,{isLoading:A}]=j.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:null},rows:c},{onSuccess:()=>{e(),t("resources.notifications.messages.unreaded.done"),r()},onFailure:()=>t("resources.notifications.messages.unreaded.error",{type:"warning"})}),p=Q.useCallback(()=>{u()},[u]);return g.jsx(j.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:A||a&&!(a!=null&&a.readed),onClick:p,children:g.jsx(rr.Drafts,{})})}function ZJ(e){const t=j.useRecordContext(e),n=j.useResourceContext(e),r=j.useRedirect(),o=j.useNotify(),s=j.useTranslate(),[a]=j.useLocaleState(),c=Q.useMemo(()=>t!=null&&t.readed?Pr(t==null?void 0:t.readed).locale(a).format("ddd, DD MMM YYYY HH:mm:ss"):!1,[t==null?void 0:t.readed,a]),[u]=j.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Pr().format("YYYY-MM-DD HH:mm:ss")}},{onSuccess:()=>{t!=null&&t.resource&&(t!=null&&t.resource.startsWith("/")?r(t==null?void 0:t.resource):document.location.href=t==null?void 0:t.resource)},onError:()=>{o("ra.notification.readed_error",{type:"warning"})}}),A=Q.useCallback(()=>u(),[u]);return g.jsxs("div",{onClick:A,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[g.jsx(y.Typography,{variant:"subtitle1",children:g.jsxs(y.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),g.jsx(y.Typography,{variant:"body1",sx:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",whiteSpace:"break-spaces"},dangerouslySetInnerHTML:{__html:t==null?void 0:t.content}}),c&&g.jsx(y.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})})]})}function _J({...e}){const t=y.useTheme(),{mode:n,colorize:r,density:o}=Q.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?y.darken:y.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]),s=a=>({backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)});return g.jsxs(j.Datagrid,{...e,rowSx:s,children:[g.jsx(ZJ,{source:"notification",sortable:!1}),g.jsx(yb,{source:"created"}),g.jsxs(Bi,{children:[g.jsx(JJ,{}),g.jsx(XJ,{})]})]})}const $J=Ae(j.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0})),Ec={width:"1.5rem",alignSelf:"center"};function eX({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:A,buttonProps:p,...h}){const{getCurrentDialog:C}=vi(),m=ce.useResourceContext(h),I=C(),B=ce.useRecordContext(),v=r||B,S=lt.get(v,e||"");return g.jsxs(y.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:O=>({pt:1,pb:1,borderBottom:`1px solid ${O.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[g.jsxs(y.Stack,{direction:"row",alignItems:"start",children:[c&&(Q.isValidElement(c)?Q.cloneElement(c,{style:Ec}):Q.createElement(c,{style:Ec})),g.jsx(ce.FieldTitle,{label:t,source:e,resource:I||m})]}),g.jsxs(y.Stack,{direction:"row",alignItems:"center",children:[a?Q.isValidElement(a)?Q.cloneElement(a,{record:v,resource:m,value:S}):Q.createElement(a,{source:e,record:v,resource:m,value:S}):g.jsx(y.Typography,{variant:n,children:S}),u&&(Q.isValidElement(u)?Q.cloneElement(u,{style:Ec}):Q.createElement(u,{style:Ec})),A&&g.jsx(y.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...p,children:A})]})]})}const zx=({children:e,...t})=>{const n=bt();return g.jsx(er,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,...t,border:!1,boxShadow:!0,shadow:n.customShadows.z1,children:g.jsx(y.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})};zx.propTypes={children:f.node};const il=({version:e,name:t,copy:n,children:r,logo:o,background:s=fu})=>g.jsxs(y.Box,{sx:{minHeight:"100vh"},children:[Q.isValidElement(s)?s:Q.createElement(s),g.jsxs(y.Grid,{container:!0,direction:"column",justifyContent:"flex-end",sx:{minHeight:"100vh"},children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{ml:3},children:o||g.jsx(Yp,{title:t})}),g.jsxs(y.Grid,{item:!0,xs:12,children:[g.jsx(y.Grid,{item:!0,xs:12,container:!0,justifyContent:"center",alignItems:"center",sx:{minHeight:{xs:"calc(100vh - 210px)",sm:"calc(100vh - 134px)",md:"calc(100vh - 112px)"}},children:g.jsx(y.Grid,{item:!0,children:g.jsx(zx,{children:r})})}),g.jsx(y.Grid,{item:!0,sx:{pb:1},children:g.jsx(bp,{name:t,copy:n,version:e})})]})]})]});il.propTypes={children:f.node,version:f.string,name:f.string,copy:f.string,background:f.oneOfType([f.node,f.func,f.object])};const Wx=({name:e,copy:t,logo:n,version:r,background:o})=>{const s=ce.useTranslate(),a=ce.useAuthProvider(),c=ce.useNotify(),u=Ct.useNavigate(),{token:A}=Ct.useParams();return Q.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(A).then(()=>{c("ra.auth.activate_success",{type:"info"}),te.delay(()=>u("/login"),1e3)}).catch(p=>{c(p,{type:"error"}),te.delay(()=>u("/login"),1e3)})},[A]),g.jsx(il,{name:e,copy:t,logo:n,version:r,background:o,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:s("ra.auth.activate")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})};Wx.propTypes={name:f.string.isRequired,version:f.string.isRequired,background:f.node};function Ux({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=g.jsx(fu,{})}){const[u,A]=ce.useSafeSetState(!1),p=ce.useLogin(),h=ce.useTranslate(),C=ce.useNotify(),m=ce.useCheckAuth(),I=Ct.useNavigate();Q.useEffect(()=>{m({},!1).then(()=>{I("/")}).catch(()=>{})},[m,I]);const B=v=>{A(!0),p(v,a).then(()=>{A(!1)}).catch(S=>{A(!1),C(typeof S=="string"?S:typeof S>"u"||!S.message?"ra.auth.sign_in_error":S.message,{type:"error",messageArgs:{_:typeof S=="string"?S:S&&S.message?S.message:void 0}})})};return g.jsx(il,{name:t,version:e,copy:n,logo:r,background:c,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:"Login"}),s&&g.jsx(y.Typography,{component:Ct.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:h("ra.auth.register")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(ce.Form,{onSubmit:B,children:[g.jsxs(y.Grid,{container:!0,children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:2},children:g.jsx(Cr,{autoFocus:!0,source:"username",label:h("ra.auth.username"),autoComplete:"username",validate:ce.required(),placeholder:"user@company.name",fullWidth:!0})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:2},children:g.jsx(Cr,{source:"password",label:h("ra.auth.password"),type:"password",autoComplete:"current-password",validate:ce.required(),placeholder:h("ra.auth.password_placeholder"),fullWidth:!0})})]}),o&&g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:g.jsx(y.Link,{variant:"h6",component:Ct.Link,to:"/recover",color:"text.primary",children:h("ra.auth.forgot_password")})})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?g.jsx(y.CircularProgress,{size:19,thickness:3}):h("ra.auth.sign_in")})})]})})]})})}const Yx=({name:e,copy:t,logo:n,version:r,background:o})=>{const[s,a]=Q.useState(!1),c=ce.useTranslate(),u=ce.useRedirect(),A=ce.useNotify(),p=ce.useAuthProvider(),h=({email:C})=>{a(!0),p.recover(C).then(m=>{const I=`ra.auth.recover_${m.responseCode}`,B=m.responseCode==="ok"?"info":"error";A(I,{type:B}),u("/login")}).catch(m=>{A(m,{type:"error"})}).finally(()=>a(!1))};return g.jsx(il,{name:e,copy:t,logo:n,version:r,background:o,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(j.Form,{onSubmit:h,children:[g.jsx(y.Grid,{container:!0,children:g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"email",validate:[ce.required(),ce.email()]})})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:g.jsx(y.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?g.jsx(y.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})};Yx.propTypes={name:f.string.isRequired,version:f.string.isRequired,background:f.node};const Gx=({name:e,copy:t,version:n,logo:r,background:o})=>{const[s,a]=Q.useState(!1),c=ce.useTranslate(),u=ce.useRedirect(),A=ce.useNotify(),p=ce.useAuthProvider(),h=C=>{a(!0),p.register(C).then(m=>{const I=`ra.auth.register_${m.responseCode}`,B=m.responseCode==="ok"?"info":"error";A(I,{type:B}),u("/login")}).catch(m=>{A(m,{type:"error"})}).finally(()=>a(!1))};return g.jsx(il,{name:e,copy:t,logo:r,background:o,version:n,children:g.jsxs(y.Grid,{container:!0,spacing:3,children:[g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(y.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[g.jsx(y.Typography,{variant:"h3",children:c("ra.auth.register.title")}),g.jsx(y.Typography,{component:Ct.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),g.jsx(y.Grid,{item:!0,xs:12,children:g.jsxs(j.Form,{onSubmit:h,children:[g.jsxs(y.Grid,{container:!0,children:[g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"name",label:c("ra.register.name"),validate:ce.required()})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"email",type:"email",validate:[ce.required(),ce.email()]})}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mb:1},children:g.jsx(Cr,{source:"password",type:"password",validate:ce.required()})})]}),g.jsx(y.Grid,{item:!0,xs:12,sx:{mt:1},children:g.jsx(y.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?g.jsx(y.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})};Gx.propTypes={name:f.string.isRequired,version:f.string.isRequired};function Kx(){const e=Q.useCallback(()=>location.reload(),[]);return g.jsx(y.Container,{children:g.jsxs(y.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[g.jsx("img",{src:AQ,style:{width:"100%",maxWidth:450}}),g.jsx(y.Typography,{variant:"h2",children:"Ops! An error occurred..."}),g.jsx(y.Typography,{children:"We're fixing the problem. Please try again later."}),g.jsx(y.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}const tX=e=>({button:e.palette.mode==="dark"?"0 2px 0 rgb(0 0 0 / 5%)":"0 2px #0000000b",text:"0 -1px 0 rgb(0 0 0 / 12%)",z1:e.palette.mode==="dark"?"0px 1px 1px rgb(0 0 0 / 14%), 0px 2px 1px rgb(0 0 0 / 12%), 0px 1px 3px rgb(0 0 0 / 20%)":`0px 1px 4px ${ze(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${ze(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${ze(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${ze(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${ze(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${ze(e.palette.info.main,.2)}`,success:`0 0 0 2px ${ze(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${ze(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${ze(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${ze(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${ze(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${ze(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${ze(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${ze(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${ze(e.palette.grey[500],.2)}`});function nr(e,t){nX(e)&&(e="100%");var n=rX(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function nX(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function rX(e){return typeof e=="string"&&e.indexOf("%")!==-1}function oX(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ic(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ag(e){return e.length===1?"0"+e:String(e)}function iX(e,t,n){return{r:nr(e,255)*255,g:nr(t,255)*255,b:nr(n,255)*255}}function lg(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sX(e,t,n){var r,o,s;if(e=nr(e,360),t=nr(t,100),n=nr(n,100),t===0)o=n,s=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=lg(c,a,e+1/3),o=lg(c,a,e),s=lg(c,a,e-1/3)}return{r:r*255,g:o*255,b:s*255}}function aX(e,t,n){e=nr(e,255),t=nr(t,255),n=nr(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),s=0,a=r,c=r-o,u=r===0?0:c/r;if(r===o)s=0;else{switch(r){case e:s=(t-n)/c+(t<n?6:0);break;case t:s=(n-e)/c+2;break;case n:s=(e-t)/c+4;break}s/=6}return{h:s,s:u,v:a}}function lX(e,t,n){e=nr(e,360)*6,t=nr(t,100),n=nr(n,100);var r=Math.floor(e),o=e-r,s=n*(1-t),a=n*(1-o*t),c=n*(1-(1-o)*t),u=r%6,A=[n,a,s,s,c,n][u],p=[c,n,n,a,s,s][u],h=[s,s,c,n,n,a][u];return{r:A*255,g:p*255,b:h*255}}function cX(e,t,n,r){var o=[ag(Math.round(e).toString(16)),ag(Math.round(t).toString(16)),ag(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function E0(e){return jn(e)/255}function jn(e){return parseInt(e,16)}var I0={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function fa(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,s=null,a=!1,c=!1;return typeof e=="string"&&(e=dX(e)),typeof e=="object"&&(Gr(e.r)&&Gr(e.g)&&Gr(e.b)?(t=iX(e.r,e.g,e.b),a=!0,c=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Gr(e.h)&&Gr(e.s)&&Gr(e.v)?(r=Ic(e.s),o=Ic(e.v),t=lX(e.h,r,o),a=!0,c="hsv"):Gr(e.h)&&Gr(e.s)&&Gr(e.l)&&(r=Ic(e.s),s=Ic(e.l),t=sX(e.h,r,s),a=!0,c="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=oX(n),{ok:a,format:e.format||c,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var uX="[-\\+]?\\d+%?",AX="[-\\+]?\\d*\\.\\d+%?",To="(?:".concat(AX,")|(?:").concat(uX,")"),cg="[\\s|\\(]+(".concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")\\s*\\)?"),ug="[\\s|\\(]+(".concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")[,|\\s]+(").concat(To,")\\s*\\)?"),fr={CSS_UNIT:new RegExp(To),rgb:new RegExp("rgb"+cg),rgba:new RegExp("rgba"+ug),hsl:new RegExp("hsl"+cg),hsla:new RegExp("hsla"+ug),hsv:new RegExp("hsv"+cg),hsva:new RegExp("hsva"+ug),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function dX(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(I0[e])e=I0[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=fr.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=fr.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=fr.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=fr.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=fr.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=fr.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=fr.hex8.exec(e),n?{r:jn(n[1]),g:jn(n[2]),b:jn(n[3]),a:E0(n[4]),format:t?"name":"hex8"}:(n=fr.hex6.exec(e),n?{r:jn(n[1]),g:jn(n[2]),b:jn(n[3]),format:t?"name":"hex"}:(n=fr.hex4.exec(e),n?{r:jn(n[1]+n[1]),g:jn(n[2]+n[2]),b:jn(n[3]+n[3]),a:E0(n[4]+n[4]),format:t?"name":"hex8"}:(n=fr.hex3.exec(e),n?{r:jn(n[1]+n[1]),g:jn(n[2]+n[2]),b:jn(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Gr(e){return!!fr.CSS_UNIT.exec(String(e))}var Bc=2,B0=.16,gX=.05,fX=.05,pX=.15,qx=5,Jx=4,hX=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function v0(e){var t=e.r,n=e.g,r=e.b,o=aX(t,n,r);return{h:o.h*360,s:o.s,v:o.v}}function vc(e){var t=e.r,n=e.g,r=e.b;return"#".concat(cX(t,n,r,!1))}function CX(e,t,n){var r=n/100,o={r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b};return o}function b0(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-Bc*t:Math.round(e.h)+Bc*t:r=n?Math.round(e.h)+Bc*t:Math.round(e.h)-Bc*t,r<0?r+=360:r>=360&&(r-=360),r}function y0(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-B0*t:t===Jx?r=e.s+B0:r=e.s+gX*t,r>1&&(r=1),n&&t===qx&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function Q0(e,t,n){var r;return n?r=e.v+fX*t:r=e.v-pX*t,r>1&&(r=1),Number(r.toFixed(2))}function x0(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=fa(e),o=qx;o>0;o-=1){var s=v0(r),a=vc(fa({h:b0(s,o,!0),s:y0(s,o,!0),v:Q0(s,o,!0)}));n.push(a)}n.push(vc(r));for(var c=1;c<=Jx;c+=1){var u=v0(r),A=vc(fa({h:b0(u,c),s:y0(u,c),v:Q0(u,c)}));n.push(A)}return t.theme==="dark"?hX.map(function(p){var h=p.index,C=p.opacity,m=vc(CX(fa(t.backgroundColor||"#141414"),fa(n[h]),C*100));return m}):n}var Ag={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1677FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},Kt={},Fc={};Object.keys(Ag).forEach(function(e){Kt[e]=x0(Ag[e]),Kt[e].primary=Kt[e][5],Fc[e]=x0(Ag[e],{theme:"dark",backgroundColor:"#141414"}),Fc[e].primary=Fc[e][5]});Kt.red;Kt.volcano;Kt.gold;Kt.orange;Kt.yellow;Kt.lime;Kt.green;Kt.cyan;Kt.blue;Kt.geekblue;Kt.purple;Kt.magenta;Kt.grey;Kt.grey;const Xx=e=>{const{blue:t,red:n,gold:r,cyan:o,green:s,grey:a}=e,c={0:a[0],50:a[1],100:a[2],200:a[3],300:a[4],400:a[5],500:a[6],600:a[7],700:a[8],800:a[9],900:a[10],A50:a[15],A100:a[11],A200:a[12],A400:a[13],A700:a[14],A800:a[16]},u="#fff";return{primary:{lighter:t[0],100:t[1],200:t[2],light:t[3],400:t[4],main:t[5],dark:t[6],700:t[7],darker:t[8],900:t[9],contrastText:u},secondary:{lighter:c[100],100:c[100],200:c[200],light:c[300],400:c[400],main:c[500],600:c[600],dark:c[700],800:c[800],darker:c[900],A100:c[0],A200:c.A400,A300:c.A700,contrastText:c[0]},error:{lighter:n[0],light:n[2],main:n[4],dark:n[7],darker:n[9],contrastText:u},warning:{lighter:r[0],light:r[3],main:r[5],dark:r[7],darker:r[9],contrastText:c[100]},info:{lighter:o[0],light:o[3],main:o[5],dark:o[7],darker:o[9],contrastText:u},success:{lighter:s[0],light:s[3],main:s[5],dark:s[7],darker:s[9],contrastText:u},grey:c}};Xx.propTypes={colors:f.object};const mX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#D6E4FF","#D6E4FF","#ADC8FF","#84A9FF","#6690FF","#3366FF","#254EDB","#1939B7","#102693","#102693"],a=["#FFE7D3","#FF805D","#FF4528","#DB271D","#930C1A"],c=["#FFF6D0","#FFCF4E","#FFB814","#DB970E","#935B06"],u=["#DCF0FF","#7EB9FF","#549BFF","#3D78DB","#1A3D93"],A=["#EAFCD4","#8AE65B","#58D62A","#3DB81E","#137C0D"];return t==="dark"&&(s=["#1c2134","#1f294d","#243462","#273e83","#2c4db0","#305bdd","#567fe9","#80a4f4","#a9c5f8","#d2e2fb"],a=["#341d1b","#b03725","#dd3f27","#e9664d","#fbd6c9"],c=["#342a1a","#83631a","#dda116","#e9ba3a","#fbefb5"],u=["#202734","#416fb0","#4c88dd","#74a8e9","#ecf4fb"],A=["#1f2e1c","#449626","#4fba28","#74cf4d","#e3fbd2"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},EX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#EEEDFC","#D5D1F8","#B9B2F3","#9C93EE","#877CEA","#7265E6","#6A5DE3","#5F53DF","#5549DB","#4237D5"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#222130","#2b2946","#37335a","#443e78","#554ca0","#655ac8","#9186dd","#5F53DF","#c3baf4","#efecfb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},IX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#E6F3EC","#84c297","#5eb57d","#3da866","#1f9c53","#068e44","#006933","#004222","#001c0f","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a231f","#173123","#174029","#13502f","#0e6737","#0a7d3e","#1f8f4e","#3ba162","#5cb07a","#82bf95"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},BX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#f0f6ff","#edf4ff","#bed3f7","#8faeeb","#6488de","#3c64d0","#2947ab","#192f85","#0d1b5e","#070e38"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1d212d","#212841","#273353","#2c3e6e","#324c92","#385ab5","#5d7dcb","#89a7e1","#b9cef0","#e9f0fb"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},vX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#fff4e6","#ffdfb8","#ffc98f","#ffb066","#ff943d","#f27013","#cc5206","#a63a00","#802800","#591900"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#32221a","#4a2b18","#5e371b","#7d4319","#a85317","#d26415","#e9883a","#f4a962","#f8c48c","#fbdbb5"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},bX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#e1f0ef","#c8e3e2","#9ad6d6","#71c6c9","#4bb5bd","#2aa1af","#1a7b8a","#0e5563","#06323d","#021217"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1c2628","#1d3539","#22454a","#23595f","#26737c","#288d99","#47a6ad","#6dbec0","#96d0d0","#c5dfde"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},yX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#d1e8d99c","#8cdba9","#63cf8e","#3ec277","#1db564","#00a854","#008245","#005c34","#003620","#000f0a"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2721","#173728","#15472e","#115c36","#0b7841","#05934c","#1da65d","#3cba73","#61ca8b","#8ad7a6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},QX=(e,t)=>{const{grey:n}=e,r={0:n[0],50:n[1],100:n[2],200:n[3],300:n[4],400:n[5],500:n[6],600:n[7],700:n[8],800:n[9],900:n[10],A50:n[15],A100:n[11],A200:n[12],A400:n[13],A700:n[14],A800:n[16]},o="#fff";let s=["#c1d6d066","#81c9b9","#5bbda9","#38b09c","#1aa391","#009688","#007069","#004a47","#002424","#000000"],a=["#FDE8E7","#F25E52","#F04134","#EE3B2F","#E92A21"],c=["#FFF7E0","#FFC926","#FFBF00","#FFB900","#FFA900"],u=["#E0F4F5","#26B0BA","#00A2AE","#009AA7","#008694"],A=["#E0F5EA","#26B56E","#00A854","#00A04D","#008D3A"];return t==="dark"&&(s=["#1a2524","#173331","#15423e","#11544e","#0b6c63","#058478","#1a9686","#37a996","#59b8a5","#7fc6b6"],a=["#321d1d","#7d2e28","#d13c31","#e66859","#f8baaf"],c=["#342c1a","#836611","#dda705","#e9bf28","#f8e577"],u=["#1a2628","#11595f","#058e98","#1ea6aa","#64cfcb"],A=["#1a2721","#115c36","#05934c","#1da65d","#61ca8b"]),{primary:{lighter:s[0],100:s[1],200:s[2],light:s[3],400:s[4],main:s[5],dark:s[6],700:s[7],darker:s[8],900:s[9],contrastText:o},secondary:{lighter:r[100],100:r[100],200:r[200],light:r[300],400:r[400],main:r[500],600:r[600],dark:r[700],800:r[800],darker:r[900],A100:r[0],A200:r.A400,A300:r.A700,contrastText:r[0]},error:{lighter:a[0],light:a[1],main:a[2],dark:a[3],darker:a[4],contrastText:o},warning:{lighter:c[0],light:c[1],main:c[2],dark:c[3],darker:c[4],contrastText:r[100]},info:{lighter:u[0],light:u[1],main:u[2],dark:u[3],darker:u[4],contrastText:o},success:{lighter:A[0],light:A[1],main:A[2],dark:A[3],darker:A[4],contrastText:o},grey:r}},Zx=(e,t,n)=>{switch(t){case"theme1":return mX(e,n);case"theme2":return EX(e,n);case"theme3":return IX(e,n);case"theme4":return BX(e,n);case"theme5":return vX(e,n);case"theme6":return bX(e,n);case"theme7":return yX(e,n);case"theme8":return QX(e,n);default:return Xx(e)}};Zx.propTypes={colors:f.object,presetColor:f.any};const xX=(e,t)=>{const n=e==="dark"?Fc:Kt;let r=["#ffffff","#fafafa","#f5f5f5","#f0f0f0","#d9d9d9","#bfbfbf","#8c8c8c","#595959","#262626","#141414","#000000"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#fafafb","#e6ebf1"];e==="dark"&&(r=["#000000","#141414","#1e1e1e","#595959","#8c8c8c","#bfbfbf","#d9d9d9","#f0f0f0","#f5f5f5","#fafafa","#ffffff"],o=["#fafafa","#bfbfbf","#434343","#1f1f1f"],s=["#121212","#d3d8db"]),n.grey=[...r,...o,...s];const a=Zx(n,t,e);return hf({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?ze(a.grey[900],.87):a.grey[700],secondary:e==="dark"?ze(a.grey[900],.45):a.grey[500],disabled:e==="dark"?ze(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?ze(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})},wX=e=>({htmlFontSize:16,fontFamily:e,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:500,fontWeightBold:600,h1:{fontWeight:600,fontSize:"2.375rem",lineHeight:1.21},h2:{fontWeight:600,fontSize:"1.875rem",lineHeight:1.27},h3:{fontWeight:600,fontSize:"1.5rem",lineHeight:1.33},h4:{fontWeight:600,fontSize:"1.25rem",lineHeight:1.4},h5:{fontWeight:600,fontSize:"1rem",lineHeight:1.5},h6:{fontWeight:400,fontSize:"0.875rem",lineHeight:1.57},caption:{fontWeight:400,fontSize:"0.75rem",lineHeight:1.66},body1:{fontSize:"0.875rem",lineHeight:1.57},body2:{fontSize:"0.75rem",lineHeight:1.66},subtitle1:{fontSize:"0.875rem",fontWeight:600,lineHeight:1.57},subtitle2:{fontSize:"0.75rem",fontWeight:500,lineHeight:1.66},overline:{lineHeight:1.66},button:{textTransform:"capitalize"}});function TX(e){return{MuiAccordion:{defaultProps:{disableGutters:!0,square:!0,elevation:0},styleOverrides:{root:{border:`1px solid ${e.palette.secondary.light}`,"&:not(:last-child)":{borderBottom:0},"&:before":{display:"none"},"&.Mui-disabled":{backgroundColor:e.palette.secondary.lighter}}}}}}function SX(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function PX(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:g.jsx(Ze.RightOutlined,{style:{fontSize:"0.75rem"}})},styleOverrides:{root:{backgroundColor:t.secondary.lighter,flexDirection:"row-reverse",minHeight:46},expandIconWrapper:{"&.Mui-expanded":{transform:"rotate(90deg)"}},content:{marginTop:n(1.25),marginBottom:n(1.25),marginLeft:n(1)}}}}}function ei({color:e,theme:t}){const n=rn(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:ze(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function RX(e){const t=ei({color:"primary",theme:e});return{MuiAlert:{styleOverrides:{root:{color:e.palette.text.primary,fontSize:"0.875rem"},icon:{fontSize:"1rem"},message:{padding:0,marginTop:3},filled:{color:e.palette.grey[0]},border:{padding:"10px 16px",border:"1px solid",...t,"&.MuiAlert-borderPrimary":ei({color:"primary",theme:e}),"&.MuiAlert-borderSecondary":ei({color:"secondary",theme:e}),"&.MuiAlert-borderError":ei({color:"error",theme:e}),"&.MuiAlert-borderSuccess":ei({color:"success",theme:e}),"&.MuiAlert-borderInfo":ei({color:"info",theme:e}),"&.MuiAlert-borderWarning":ei({color:"warning",theme:e})},action:{"& .MuiButton-root":{padding:2,height:"auto",fontSize:"0.75rem",marginTop:-2},"& .MuiIconButton-root":{width:"auto",height:"auto",padding:2,marginRight:6,"& .MuiSvgIcon-root":{fontSize:"1rem"}}}}}}}function OX(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function jX(e){var t;return{MuiAutocomplete:{styleOverrides:{root:{"& .MuiOutlinedInput-root":{padding:"3px 9px"}},popupIndicator:{width:"auto",height:"auto"},popper:{border:`1px solid ${e.palette.mode==="dark"?(t=e.palette.dark)==null?void 0:t.main:e.palette.grey[100]}`},clearIndicator:{width:"auto",height:"auto"}}}}}function ti({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function DX(e){const t=ti({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":ti({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":ti({color:"secondary",theme:e}),"&.MuiBadge-colorError":ti({color:"error",theme:e}),"&.MuiBadge-colorInfo":ti({color:"info",theme:e}),"&.MuiBadge-colorSuccess":ti({color:"success",theme:e}),"&.MuiBadge-colorWarning":ti({color:"warning",theme:e})}}}}}function $e({variant:e,color:t,theme:n}){const r=rn(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,A=Ss(n,u),p={"&::after":{boxShadow:`0 0 5px 5px ${ze(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${ze(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...p};case"shadow":return{color:c,backgroundColor:s,boxShadow:A,"&:hover":{boxShadow:"none",backgroundColor:a},...p};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...p};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...p};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...p}}}function MX(e){const t=$e({variant:"dashed",color:"primary",theme:e}),n=$e({variant:"shadow",color:"primary",theme:e}),r={"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},o={"&>*:nth-of-type(1)":{fontSize:"inherit"}};return{MuiButton:{defaultProps:{disableElevation:!0},styleOverrides:{root:{fontWeight:400,"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}},contained:{...r},outlined:{...r},text:{boxShadow:"none","&:hover":{boxShadow:"none"}},endIcon:{...o},startIcon:{...o},dashed:{border:"1px dashed",...t,"&.MuiButton-dashedPrimary":$e({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":$e({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":$e({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":$e({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":$e({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":$e({variant:"dashed",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},shadow:{...n,"&.MuiButton-shadowPrimary":$e({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":$e({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":$e({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":$e({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":$e({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":$e({variant:"shadow",color:"warning",theme:e}),"&.Mui-disabled":{color:`${e.palette.grey[300]} !important`,borderColor:`${e.palette.grey[400]} !important`,backgroundColor:`${e.palette.grey[200]} !important`}},containedPrimary:$e({variant:"contained",color:"primary",theme:e}),containedSecondary:$e({variant:"contained",color:"secondary",theme:e}),containedError:$e({variant:"contained",color:"error",theme:e}),containedSuccess:$e({variant:"contained",color:"success",theme:e}),containedInfo:$e({variant:"contained",color:"info",theme:e}),containedWarning:$e({variant:"contained",color:"warning",theme:e}),outlinedPrimary:$e({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:$e({variant:"outlined",color:"secondary",theme:e}),outlinedError:$e({variant:"outlined",color:"error",theme:e}),outlinedSuccess:$e({variant:"outlined",color:"success",theme:e}),outlinedInfo:$e({variant:"outlined",color:"info",theme:e}),outlinedWarning:$e({variant:"outlined",color:"warning",theme:e}),textPrimary:$e({variant:"text",color:"primary",theme:e}),textSecondary:$e({variant:"text",color:"secondary",theme:e}),textError:$e({variant:"text",color:"error",theme:e}),textSuccess:$e({variant:"text",color:"success",theme:e}),textInfo:$e({variant:"text",color:"info",theme:e}),textWarning:$e({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function kX(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function FX(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function LX(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function Zi({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o,dark:s}=n;return{"&:hover":{backgroundColor:r,"& .icon":{borderColor:o}},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function NX(e){switch(e){case"small":return{size:16,fontSize:1,position:1};case"large":return{size:24,fontSize:1.6,position:2};case"medium":default:return{size:20,fontSize:1.35,position:2}}}function dg(e){const t=NX(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function VX(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:g.jsx(Ze.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:g.jsx(Ze.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...dg("small")},"&.size-medium":{...dg("medium")},"&.size-large":{...dg("large")}},colorPrimary:Zi({color:"primary",theme:e}),colorSecondary:Zi({color:"secondary",theme:e}),colorSuccess:Zi({color:"success",theme:e}),colorWarning:Zi({color:"warning",theme:e}),colorInfo:Zi({color:"info",theme:e}),colorError:Zi({color:"error",theme:e})}}}}function _i({color:e,theme:t}){const n=rn(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function On({color:e,theme:t}){const n=rn(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function HX(e){const t=On({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":_i({color:"primary",theme:e}),"&.MuiChip-colorSecondary":_i({color:"secondary",theme:e}),"&.MuiChip-colorError":_i({color:"error",theme:e}),"&.MuiChip-colorInfo":_i({color:"info",theme:e}),"&.MuiChip-colorSuccess":_i({color:"success",theme:e}),"&.MuiChip-colorWarning":_i({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":On({color:"primary",theme:e}),"&.MuiChip-lightSecondary":On({color:"secondary",theme:e}),"&.MuiChip-lightError":On({color:"error",theme:e}),"&.MuiChip-lightInfo":On({color:"info",theme:e}),"&.MuiChip-lightSuccess":On({color:"success",theme:e}),"&.MuiChip-lightWarning":On({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":On({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":On({color:"secondary",theme:e}),"&.MuiChip-combinedError":On({color:"error",theme:e}),"&.MuiChip-combinedInfo":On({color:"info",theme:e}),"&.MuiChip-combinedSuccess":On({color:"success",theme:e}),"&.MuiChip-combinedWarning":On({color:"warning",theme:e})}}}}}function zX(){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:ze("#000",.7)}}}}}}function WX(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function UX(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function $i({color:e,theme:t}){const n=rn(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=Ss(t,a);return{color:s,backgroundColor:r,boxShadow:c,"&:hover":{boxShadow:"none",backgroundColor:o},"&:focus-visible":{outline:`2px solid ${o}`,outlineOffset:2},"&::after":{borderRadius:"50px",boxShadow:`0 0 5px 5px ${ze(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${ze(r,.9)}`}}}function YX(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":$i({color:"primary",theme:e}),"&.MuiFab-secondary":$i({color:"secondary",theme:e}),"&.Mui-error":$i({color:"error",theme:e}),"&.MuiFab-success":$i({color:"success",theme:e}),"&.MuiFab-info":$i({color:"info",theme:e}),"&.MuiFab-warning":$i({color:"warning",theme:e}),"&::after":{content:'""',display:"block",position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:4,opacity:0,transition:"all 0.5s"},"&:active::after":{position:"absolute",borderRadius:4,left:0,top:0,opacity:1,transition:"0s"}}}}}}function GX(e){return{MuiIconButton:{styleOverrides:{root:{borderRadius:4},sizeLarge:{width:e.spacing(5.5),height:e.spacing(5.5),fontSize:"1.25rem"},sizeMedium:{width:e.spacing(4.5),height:e.spacing(4.5),fontSize:"1rem"},sizeSmall:{width:e.spacing(3.75),height:e.spacing(3.75),fontSize:"0.75rem"},sizeExtraSmall:{width:e.spacing(2.6875),height:e.spacing(2.6875),fontSize:"0.625rem"}}}}}function KX(){return{MuiInputBase:{styleOverrides:{}}}}function qX(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function JX(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function XX(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function ZX(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function _X(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function $X(){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function eZ(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function ni({variant:e,theme:t}){const n=rn(t,e),{light:r}=n,o=Ss(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function tZ(e){return{MuiOutlinedInput:{styleOverrides:{input:{padding:"10.5px 14px 10.5px 12px"},notchedOutline:{borderColor:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[300]},root:{...ni({variant:"primary",theme:e}),"&.Mui-error":{...ni({variant:"error",theme:e})}},inputSizeSmall:{padding:"7.5px 8px 7.5px 12px"},inputMultiline:{padding:0},colorSecondary:ni({variant:"secondary",theme:e}),colorError:ni({variant:"error",theme:e}),colorWarning:ni({variant:"warning",theme:e}),colorInfo:ni({variant:"info",theme:e}),colorSuccess:ni({variant:"success",theme:e})}}}}function nZ(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function vt({variant:e,color:t,theme:n}){const r=rn(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,A={"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2,...e==="text"&&{backgroundColor:n.palette.background.paper}}};switch(e){case"combined":case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:s},...A};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...A};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...A}}}function rZ(e){return{MuiPaginationItem:{styleOverrides:{root:{"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}},text:{"&.Mui-selected":{backgroundColor:"transparent",fontSize:"1rem",fontWeight:500,"&.MuiPaginationItem-textPrimary":vt({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":vt({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":vt({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":vt({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":vt({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":vt({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":vt({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":vt({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":vt({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":vt({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":vt({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":vt({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":vt({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":vt({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":vt({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":vt({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":vt({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":vt({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":vt({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":vt({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":vt({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":vt({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":vt({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":vt({variant:"outlined",color:"warning",theme:e})}}}}}}function oZ(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function es({color:e,theme:t}){const n=rn(t,e),{lighter:r,main:o,dark:s}=n;return{"& .dot":{backgroundColor:o},"&:hover":{backgroundColor:r},"&.Mui-focusVisible":{outline:`2px solid ${s}`,outlineOffset:-4}}}function iZ(e){switch(e){case"small":return{size:16,dotSize:8,position:3};case"large":return{size:24,dotSize:12,position:5};case"medium":default:return{size:20,dotSize:10,position:4}}}function gg(e){const t=iZ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function sZ(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:g.jsx(y.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:g.jsx(y.Box,{className:"dot",sx:{width:8,height:8,backgroundColor:"inherit",borderRadius:"50%",position:"absolute",top:3,left:3}})})},styleOverrides:{root:{color:t.secondary[300],"&.size-small":{...gg("small")},"&.size-medium":{...gg("medium")},"&.size-large":{...gg("large")}},colorPrimary:es({color:"primary",theme:e}),colorSecondary:es({color:"secondary",theme:e}),colorSuccess:es({color:"success",theme:e}),colorWarning:es({color:"warning",theme:e}),colorInfo:es({color:"info",theme:e}),colorError:es({color:"error",theme:e})}}}}function ts({color:e,theme:t}){const n=rn(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function aZ(e){return{MuiSlider:{styleOverrides:{track:{height:"1px"},thumb:{width:14,height:14,border:`2px solid ${e.palette.primary.main}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-thumbColorPrimary":ts({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":ts({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":ts({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":ts({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":ts({color:"info",theme:e}),"&.MuiSlider-thumbColorError":ts({color:"error",theme:e})},mark:{width:4,height:4,borderRadius:"50%",border:`1px solid ${e.palette.secondary.light}`,backgroundColor:e.palette.background.paper,"&.MuiSlider-markActive":{opacity:1,borderColor:"inherit",borderWidth:2}},rail:{color:e.palette.secondary.light},root:{"&.Mui-disabled":{".MuiSlider-rail":{opacity:.25},".MuiSlider-track":{color:e.palette.secondary.lighter},".MuiSlider-thumb":{border:`2px solid ${e.palette.secondary.lighter}`}}},valueLabel:{backgroundColor:e.palette.grey[600],color:e.palette.grey[0]}}}}}function lZ(e){switch(e){case"small":return{width:28,height:16,base:12,thumb:10,trackRadius:8};case"large":return{width:60,height:28,base:32,thumb:22,trackRadius:24};case"medium":default:return{width:44,height:22,base:22,thumb:16,trackRadius:16}}}function fg(e,t){const n=lZ(t);return{width:n.width,height:n.height,"& .MuiSwitch-switchBase":{padding:3,"&.Mui-checked":{transform:`translateX(${n.base}px)`}},"& .MuiSwitch-thumb":{width:n.thumb,height:n.thumb},"& .MuiSwitch-track":{borderRadius:n.trackRadius}}}function cZ(e){return{MuiSwitch:{styleOverrides:{track:{opacity:1,backgroundColor:e.palette.secondary[400],boxSizing:"border-box"},thumb:{borderRadius:"50%",transition:e.transitions.create(["width"],{duration:200})},switchBase:{"&.Mui-checked":{color:"#fff","& + .MuiSwitch-track":{opacity:1},"&.Mui-disabled":{color:e.palette.background.paper}},"&.Mui-disabled":{color:e.palette.background.paper,"+.MuiSwitch-track":{opacity:.3}}},root:{color:e.palette.text.primary,padding:0,margin:8,display:"flex","& ~ .MuiFormControlLabel-label":{margin:6},...fg(e,"medium")},sizeLarge:{...fg(e,"large")},sizeSmall:{...fg(e,"small")}}}}}function uZ(e){return{MuiTab:{styleOverrides:{root:{minHeight:46,color:e.palette.text.primary,borderRadius:4,"&:hover":{backgroundColor:e.palette.primary.lighter+60,color:e.palette.primary.main},"&:focus-visible":{borderRadius:4,outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:-3}}}}}}function AZ(e){const t={"&:hover":{backgroundColor:e.palette.secondary.lighter}};return{MuiTableBody:{styleOverrides:{root:{"&.striped .MuiTableRow-root":{"&:nth-of-type(even)":{backgroundColor:e.palette.grey[50]},...t},"& .MuiTableRow-root":{...t}}}}}}function dZ(e){const t={"&:not(:last-of-type)":{position:"relative","&:after":{position:"absolute",content:'""',backgroundColor:e.palette.divider,width:1,height:"calc(100% - 30px)",right:0,top:16}}};return{MuiTableCell:{styleOverrides:{root:{fontSize:"0.875rem",padding:12,borderColor:e.palette.divider},sizeSmall:{padding:8},head:{fontSize:"0.75rem",fontWeight:700,textTransform:"uppercase",...t},footer:{fontSize:"0.75rem",textTransform:"uppercase",...t}}}}}function gZ(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function fZ(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function pZ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function hZ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function CZ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function mZ(e){return{MuiToggleButton:{styleOverrides:{root:{"&.Mui-disabled":{borderColor:e.palette.divider,color:e.palette.text.disabled},"&:focus-visible":{outline:`2px solid ${e.palette.secondary.dark}`,outlineOffset:2}}}}}}function EZ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function IZ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function BZ(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function vZ(e){return lt.merge(TX(e),SX(e),PX(e),RX(e),OX(),jX(e),DX(e),MX(e),kX(),FX(),LX(),VX(e),HX(e),zX(),WX(e),UX(),YX(e),GX(e),KX(),qX(e),JX(),XX(),ZX(e),_X(e),$X(),eZ(),tZ(e),nZ(),rZ(e),oZ(e),sZ(e),aZ(e),cZ(e),uZ(e),AZ(e),dZ(e),gZ(e),fZ(e),pZ(),hZ(),CZ(),mZ(e),EZ(e),IZ(),BZ())}const rA=({themeOverrides:e,children:t})=>{const n=Qn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=Q.useMemo(()=>xX(o,s),[o,s]),u=Q.useMemo(()=>wX(a),[a]),A=Q.useMemo(()=>tX(c),[c]),p=Q.useMemo(()=>te.merge({breakpoints:{values:{xs:0,sm:768,md:1024,lg:1266,xl:1440}},direction:r,mixins:{toolbar:{minHeight:60,paddingTop:8,paddingBottom:8}},palette:c.palette,customShadows:A,typography:u,shadows:c.shadows.map(()=>"none"),components:{MuiIconButton:{styleOverrides:{sizeExtraSmall:{width:c.spacing(2.6875),height:c.spacing(2.6875),fontSize:"0.625rem"}}}}},typeof e=="function"?e(c):e),[r,c,u,A,e]),h=hf(p),C=te.cloneDeep(h.components??{});return h.components=te.merge(vZ(h),C),g.jsx(y.StyledEngineProvider,{injectFirst:!0,children:g.jsxs(J0,{theme:h,children:[g.jsx(y.CssBaseline,{}),t]})})};rA.propTypes={children:f.node,themeOverrides:f.oneOfType([f.object,f.func])};function bZ({children:e,theme:t,...n}){return g.jsx(j.CoreAdminContext,{...n,children:g.jsx(rA,{themeOverrides:t,children:g.jsx(Gp,{children:e})})})}function _x(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:A,loading:p,loginPage:h,authCallbackPage:C,menu:m,notification:I,queryClient:B,requireAuth:v,store:S=j.localStorageStore(),ready:O,theme:x,title:R="React Admin"}=e;return g.jsx(bZ,{authProvider:t,dataProvider:s,i18nProvider:u,store:S,history:c,queryClient:B,theme:x,children:g.jsx(j.AdminUI,{layout:A,dashboard:o,disableTelemetry:a,menu:m,catchAll:n,title:R,loading:p,loginPage:h,authCallbackPage:C,notification:I,requireAuth:v,ready:O,children:r})})}var za,Wa,ps;class yZ{constructor(t){Wr(this,za,void 0);Wr(this,Wa,void 0);Wr(this,ps,new Set);const{apiUrl:n}=t??{};if(!te.isString(n)||te.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");po(this,Wa,n),po(this,za,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handle(t){var c;const{message:n,filename:r,lineno:o,colno:s}=t,a=`${n}${r}${o}${s}`;hn(this,ps).has(a)||(hn(this,ps).add(a),fetch(`${hn(this,Wa)}/ui/error-log`,{method:"PUT",headers:hn(this,za),body:JSON.stringify({filename:t.filename,message:t.message,line:t.lineno,column:t.colno,stack:(c=t.error)==null?void 0:c.stack})}).catch(()=>{console.log("Unable to send error to server"),hn(this,ps).delete(a)}))}}za=new WeakMap,Wa=new WeakMap,ps=new WeakMap;class $x{constructor({catch:t,display:n,log:r,error:o}){oa(this,"catch");oa(this,"display");oa(this,"log");oa(this,"error");this.catch=t,this.display=n,this.log=r,this.error=o}isCatched(){return this.catch}logError(){return this.log}displayError(){return this.display}}const QZ=({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new $x({catch:s!=null,display:!1,log:s!=null,error:s}),...o})=>{const s=M.useMemo(()=>o.errorHandler?o.errorHandler:new yZ({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=M.useCallback(function(u,...A){var h;if(!u)return!1;const p=r(u instanceof ErrorEvent?u:(h=u==null?void 0:u.toString())==null?void 0:h.replace(/%s/g,()=>A.shift()));if(p.isCatched())return!1;p.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),p.displayError()&&a.apply(console,arguments)},[t,n,r,e,s]);return M.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c]),!0};var Ua,Ya,di;class xZ{constructor(t){Wr(this,Ua,void 0);Wr(this,Ya,void 0);Wr(this,di,[]);const{apiUrl:n}=t??{};if(!te.isString(n)||te.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");po(this,Ya,n),po(this,Ua,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!te.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!te.isString(n)||te.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!te.isString(r)||te.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!te.some(hn(this,di),o=>te.isEqual(o,{code:n,lang:r}))){hn(this,di).push({code:n,lang:r}),fetch(`${hn(this,Ya)}/i18n/message`,{method:"put",headers:hn(this,Ua),body:JSON.stringify({code:n,lang:r,text:n})}).then(o=>o.json()).then(()=>{console.log(`[MissingMessageHandler] handleMessage: created message for lang ${r} and code ${n}`)}).catch(o=>{console.error(o),po(this,di,te.reject(hn(this,di),s=>te.isEqual(s,{code:n,lang:r})))});return}}}Ua=new WeakMap,Ya=new WeakMap,di=new WeakMap;function e1(e){const{apiUrl:t,defaultLocale:n,allowMissing:r=!1,createMissing:o=!1}=e,s=[{locale:n,name:n}],a=new Headers({Accept:"application/json","Content-Type":"application/json"}),c=new xZ({apiUrl:t}),u=()=>fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(h=>h.json()).catch(()=>Promise.resolve(s)),A=()=>fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(h=>h.json()).then(h=>h.reduce((C,m)=>({...C,[m.lang]:{...C[m.lang]||{},[m.code]:m.text}}),{})),p=(h,C,m)=>(r||console.error(`Warning: Missing translation for key: "${h}"`),o&&(te.isString(h)?h.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${h}`):c.handleMessage({code:h,lang:m}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),h);return Promise.all([u(),A()]).then(h=>{const[C,m]=h;function I(B){return te.get(m,B,{})}return gO(I,n,C,{allowMissing:r||o,onMissingKey:p})})}window.React=Q;const wZ=({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})})=>{const[r,o]=Q.useState({loading:!0,languages:null});return Q.useEffect(()=>{let s=new Headers;s.append("Accept","application/json"),s.append("Content-Type","application/json"),fetch(`${e}${t}`,{headers:s}).then(a=>a.json()).then(a=>o({loading:!1,...n(a)}))},[e,t,n]),r};function t1(e){const[t,n]=Q.useState(),r=wB(e);return Q.useEffect(()=>{e1(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r]),t}const TZ=new As.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function SZ({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=g.jsx(Ux,{version:"0.0.0",name:"Applica",redirectTo:"/",background:g.jsx(fu,{})}),menu:u,name:A,copy:p,version:h="0.0.0",dataProvider:C,authProvider:m,errorHandler:I,error:B,enableNotification:v=!1,enableRegistration:S=!1,enablePasswordRecover:O=!1,enableThemeToggler:x=!1,queryClient:R=TZ,background:P,notificationAPI:k="entities/notification",...F}){QZ({apiUrl:n,errorHandler:I,catcherFn:Y=>{const ie=Y==null?void 0:Y.toString(),X=["Invalid prop `file` of type `string` supplied to `FileInputPreview`, expected `object`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(Switch)`, expected `boolean`.","Failed prop type: Invalid prop `checked` of type `string` supplied to `ForwardRef(SwitchBase)`, expected `boolean`.","Support for defaultProps will be removed from function components in a future major release.","validateDOMNesting(...): <form> cannot appear as a descendant of <form>.","Missing translation for key:","HttpError: "].some(H=>ie==null?void 0:ie.includes(H));return new $x({catch:X,display:!X,log:!X,error:ie})}});const G=Q.useMemo(()=>Q.isValidElement(c)?Q.cloneElement(c,{name:A,copy:p,logo:s,version:h,background:P,enableRegistration:S,enablePasswordRecover:O}):c,[c,A,h,p,P,s,S,O]),K=Q.useMemo(()=>Y=>{const ie=A?g.jsx(Yp,{title:A}):s,se=A?g.jsx(Kp,{title:A}):a;return g.jsx(Ox,{...Y,name:A,copy:p,enableThemeToggler:x,version:h,logoMain:ie,logoIcon:se,notification:k,enableNotification:v,error:B})},[s,a,A,h,B,k,v]),$=t1({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o});return $===void 0?g.jsx(g.Fragment,{}):$.error?g.jsx(Wc,{initialConfig:t,children:g.jsx(rA,{themeOverrides:e,children:g.jsx(Kx,{})})}):g.jsx(vf,{children:g.jsx(tB,{menu:u,children:g.jsx(Wc,{initialConfig:t,children:g.jsx(_x,{theme:e,layout:K,notification:Mx,queryClient:R,dataProvider:C,authProvider:m,i18nProvider:$,loginPage:G,...F})})})})}Object.defineProperty(exports,"ArrayInputContext",{enumerable:!0,get:()=>j.ArrayInputContext});Object.defineProperty(exports,"BooleanField",{enumerable:!0,get:()=>j.BooleanField});Object.defineProperty(exports,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>j.BulkDeleteWithConfirmButton});Object.defineProperty(exports,"Button",{enumerable:!0,get:()=>j.Button});Object.defineProperty(exports,"ChipField",{enumerable:!0,get:()=>j.ChipField});Object.defineProperty(exports,"Confirm",{enumerable:!0,get:()=>j.Confirm});Object.defineProperty(exports,"CreateButton",{enumerable:!0,get:()=>j.CreateButton});Object.defineProperty(exports,"CreateContextProvider",{enumerable:!0,get:()=>j.CreateContextProvider});Object.defineProperty(exports,"CustomRoutes",{enumerable:!0,get:()=>j.CustomRoutes});Object.defineProperty(exports,"DeleteWithConfirmButton",{enumerable:!0,get:()=>j.DeleteWithConfirmButton});Object.defineProperty(exports,"DeleteWithUndoButton",{enumerable:!0,get:()=>j.DeleteWithUndoButton});Object.defineProperty(exports,"EditButton",{enumerable:!0,get:()=>j.EditButton});Object.defineProperty(exports,"EditContextProvider",{enumerable:!0,get:()=>j.EditContextProvider});Object.defineProperty(exports,"FieldTitle",{enumerable:!0,get:()=>j.FieldTitle});Object.defineProperty(exports,"FilterButton",{enumerable:!0,get:()=>j.FilterButton});Object.defineProperty(exports,"Form",{enumerable:!0,get:()=>j.Form});Object.defineProperty(exports,"FormDataConsumer",{enumerable:!0,get:()=>j.FormDataConsumer});Object.defineProperty(exports,"HttpError",{enumerable:!0,get:()=>j.HttpError});Object.defineProperty(exports,"I18nContextProvider",{enumerable:!0,get:()=>j.I18nContextProvider});Object.defineProperty(exports,"ListToolbar",{enumerable:!0,get:()=>j.ListToolbar});Object.defineProperty(exports,"LoadingIndicator",{enumerable:!0,get:()=>j.LoadingIndicator});Object.defineProperty(exports,"Pagination",{enumerable:!0,get:()=>j.Pagination});Object.defineProperty(exports,"RaSimpleFormIterator",{enumerable:!0,get:()=>j.SimpleFormIterator});Object.defineProperty(exports,"RecordContextProvider",{enumerable:!0,get:()=>j.RecordContextProvider});Object.defineProperty(exports,"ReferenceArrayField",{enumerable:!0,get:()=>j.ReferenceArrayField});Object.defineProperty(exports,"ReferenceField",{enumerable:!0,get:()=>j.ReferenceField});Object.defineProperty(exports,"Resource",{enumerable:!0,get:()=>j.Resource});Object.defineProperty(exports,"ResourceContextProvider",{enumerable:!0,get:()=>j.ResourceContextProvider});Object.defineProperty(exports,"SaveButton",{enumerable:!0,get:()=>j.SaveButton});Object.defineProperty(exports,"SimpleFormIteratorContext",{enumerable:!0,get:()=>j.SimpleFormIteratorContext});Object.defineProperty(exports,"SimpleShowLayout",{enumerable:!0,get:()=>j.SimpleShowLayout});Object.defineProperty(exports,"SingleFieldList",{enumerable:!0,get:()=>j.SingleFieldList});Object.defineProperty(exports,"TabbedFormTabs",{enumerable:!0,get:()=>j.TabbedFormTabs});Object.defineProperty(exports,"TopToolbar",{enumerable:!0,get:()=>j.TopToolbar});Object.defineProperty(exports,"UrlField",{enumerable:!0,get:()=>j.UrlField});Object.defineProperty(exports,"choices",{enumerable:!0,get:()=>j.choices});Object.defineProperty(exports,"email",{enumerable:!0,get:()=>j.email});Object.defineProperty(exports,"maxLength",{enumerable:!0,get:()=>j.maxLength});Object.defineProperty(exports,"maxValue",{enumerable:!0,get:()=>j.maxValue});Object.defineProperty(exports,"minLength",{enumerable:!0,get:()=>j.minLength});Object.defineProperty(exports,"minValue",{enumerable:!0,get:()=>j.minValue});Object.defineProperty(exports,"number",{enumerable:!0,get:()=>j.number});Object.defineProperty(exports,"regex",{enumerable:!0,get:()=>j.regex});Object.defineProperty(exports,"required",{enumerable:!0,get:()=>j.required});Object.defineProperty(exports,"useArrayInput",{enumerable:!0,get:()=>j.useArrayInput});Object.defineProperty(exports,"useAuthProvider",{enumerable:!0,get:()=>j.useAuthProvider});Object.defineProperty(exports,"useChoices",{enumerable:!0,get:()=>j.useChoices});Object.defineProperty(exports,"useChoicesContext",{enumerable:!0,get:()=>j.useChoicesContext});Object.defineProperty(exports,"useCreateController",{enumerable:!0,get:()=>j.useCreateController});Object.defineProperty(exports,"useDataProvider",{enumerable:!0,get:()=>j.useDataProvider});Object.defineProperty(exports,"useEditContext",{enumerable:!0,get:()=>j.useEditContext});Object.defineProperty(exports,"useGetIdentity",{enumerable:!0,get:()=>j.useGetIdentity});Object.defineProperty(exports,"useGetList",{enumerable:!0,get:()=>j.useGetList});Object.defineProperty(exports,"useGetMany",{enumerable:!0,get:()=>j.useGetMany});Object.defineProperty(exports,"useGetManyReference",{enumerable:!0,get:()=>j.useGetManyReference});Object.defineProperty(exports,"useGetOne",{enumerable:!0,get:()=>j.useGetOne});Object.defineProperty(exports,"useInput",{enumerable:!0,get:()=>j.useInput});Object.defineProperty(exports,"useListContext",{enumerable:!0,get:()=>j.useListContext});Object.defineProperty(exports,"useLocaleState",{enumerable:!0,get:()=>j.useLocaleState});Object.defineProperty(exports,"useNotify",{enumerable:!0,get:()=>j.useNotify});Object.defineProperty(exports,"usePermissions",{enumerable:!0,get:()=>j.usePermissions});Object.defineProperty(exports,"useRecordContext",{enumerable:!0,get:()=>j.useRecordContext});Object.defineProperty(exports,"useRefresh",{enumerable:!0,get:()=>j.useRefresh});Object.defineProperty(exports,"useResourceContext",{enumerable:!0,get:()=>j.useResourceContext});Object.defineProperty(exports,"useResourceDefinition",{enumerable:!0,get:()=>j.useResourceDefinition});Object.defineProperty(exports,"useResourceDefinitions",{enumerable:!0,get:()=>j.useResourceDefinitions});Object.defineProperty(exports,"useShowContext",{enumerable:!0,get:()=>j.useShowContext});Object.defineProperty(exports,"useShowController",{enumerable:!0,get:()=>j.useShowController});Object.defineProperty(exports,"useSimpleFormIterator",{enumerable:!0,get:()=>j.useSimpleFormIterator});Object.defineProperty(exports,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>j.useSimpleFormIteratorItem});Object.defineProperty(exports,"useTranslate",{enumerable:!0,get:()=>j.useTranslate});Object.defineProperty(exports,"useTranslateLabel",{enumerable:!0,get:()=>j.useTranslateLabel});Object.defineProperty(exports,"useUnselect",{enumerable:!0,get:()=>j.useUnselect});Object.defineProperty(exports,"useUnselectAll",{enumerable:!0,get:()=>j.useUnselectAll});Object.defineProperty(exports,"useUpdateMany",{enumerable:!0,get:()=>j.useUpdateMany});Object.defineProperty(exports,"withLifecycleCallbacks",{enumerable:!0,get:()=>j.withLifecycleCallbacks});exports.ActionsField=H6;exports.ActionsMenu=Bi;exports.ActivatePage=Wx;exports.Admin=_x;exports.AnimateButton=Xv;exports.AppBarStyled=TB;exports.AppConfigContext=Bf;exports.AppConfigProvider=vf;exports.ApplicaAdmin=SZ;exports.ArrayInput=V6;exports.AttachmentField=Ib;exports.AttachmentInput=dL;exports.AuthBackground=fu;exports.AutocompleteArrayInput=fL;exports.AutocompleteInput=hL;exports.Avatar=ka;exports.BooleanInput=mL;exports.Breadcrumbs=ib;exports.BulkActionsToolbar=Nx;exports.BulkActionsToolbarClasses=$n;exports.BulkFloatingActionsToolbar=SJ;exports.CardForm=Cb;exports.ChangePasswordForm=fp;exports.CircularWithLabel=gb;exports.CircularWithPath=fb;exports.CoverField=vb;exports.Create=qL;exports.CreateInDialogButton=QJ;exports.Datagrid=MJ;exports.DateAgoField=yb;exports.DateField=X6;exports.DateInput=IL;exports.DateTimeInput=vL;exports.Dot=Vu;exports.Drawer=wx;exports.DrawerHeader=mQ;exports.DrawerHeaderStyled=CQ;exports.DrawerToggle=hy;exports.Edit=XL;exports.EditInDialogButton=wJ;exports.EmailField=_6;exports.Empty=FJ;exports.EmptyClasses=pi;exports.FileField=Qb;exports.FileInput=yL;exports.Footer=bp;exports.FormHeader=$L;exports.FunctionField=eL;exports.GenericErrorPage=Kx;exports.Header=Cy;exports.HeaderButton=RM;exports.HeaderIconButton=D6;exports.HeaderNotification=my;exports.HeaderProfile=Ey;exports.HeaderSpacer=By;exports.HeaderToggleButton=Rs;exports.HorizontalBar=Tx;exports.IconButton=Ps;exports.ImageField=Bb;exports.ImageInput=QL;exports.ImpersonateUserButton=mJ;exports.LabeledArrayInput=Eb;exports.LabeledInput=un;exports.Layout=Ox;exports.LayoutContent=dQ;exports.LayoutProvider=gy;exports.LayoutWrapper=gQ;exports.LinearWithIcon=pb;exports.LinearWithLabel=hb;exports.List=qJ;exports.ListItem=eX;exports.Loadable=nJ;exports.Loader=Dx;exports.LoadingButton=gp;exports.LocalStorage=BB;exports.LocalizedTextField=nL;exports.LocalizedTextInput=TL;exports.LoginPage=Ux;exports.Logo=Lp;exports.LongForm=Rt;exports.MainCard=er;exports.MainIcon=Yp;exports.MenuConfigContext=yf;exports.MenuConfigProvider=tB;exports.MenuPopover=Ef;exports.NavGroup=Wp;exports.NavMenu=Sx;exports.Navigation=Px;exports.Notification=Mx;exports.NotificationList=_J;exports.NumberInput=PL;exports.OnboardingModes=Ha;exports.OnboardingProvider=dJ;exports.OnboardingTip=CJ;exports.RawTableFormIterator=Ay;exports.ReadonlyField=sL;exports.RecordInput=RL;exports.RecoverPage=Yx;exports.ReferenceArrayInput=OL;exports.ReferenceInput=jL;exports.ReferenceManyField=wb;exports.ReferenceManyInput=DL;exports.RegisterPage=Gx;exports.ResponsiveSection=Iy;exports.ScrollTop=Gp;exports.ScrollX=oJ;exports.SearchInput=kL;exports.SelectArrayInput=LL;exports.SelectInput=VL;exports.Show=p9;exports.SimpleBar=zp;exports.SimpleForm=mb;exports.SimpleFormIterator=C9;exports.SimpleList=$J;exports.SizeField=cL;exports.SmallIcon=Kp;exports.SmartTextInput=HL;exports.TabbedForm=mp;exports.TableFormIterator=KV;exports.TableFormIteratorContext=Qf;exports.TableFormIteratorItem=ry;exports.TableFormIteratorItemContext=xf;exports.TextField=xb;exports.TextInput=Cr;exports.ThemeConfigContext=bf;exports.ThemeConfigProvider=Wc;exports.ThemeProvider=rA;exports.ThemeToggler=Rx;exports.TimeInput=YL;exports.Toolbar=wi;exports.Tooltip=zu;exports.Transitions=Do;exports.createI18nProvider=e1;exports.getLocalizedValue=kf;exports.localizedValueHasAllLocales=Mf;exports.parseTime=QB;exports.useAppConfig=vi;exports.useBreadcrumbs=sB;exports.useGetLocalizedValue=SM;exports.useI18nLanguages=wZ;exports.useI18nProvider=t1;exports.useLayoutContext=vp;exports.useLayoutDispatch=XV;exports.useLayoutDrawerState=Ti;exports.useLayoutLogoState=py;exports.useLayoutMediaState=Nn;exports.useLayoutNotificationsState=Zu;exports.useLayoutState=Ms;exports.useLayoutThemeState=ZV;exports.useLocalStorage=Pu;exports.useLocalizedValue=TM;exports.useMemoizedObject=wB;exports.useMenu=wf;exports.useMenuConfig=mi;exports.usePopoverState=Ru;exports.useRefDimensions=PM;exports.useResourceDefaultValues=KL;exports.useResourceTitle=Df;exports.useRestartOnboarding=pJ;exports.useSx=Er;exports.useTableFormIterator=vB;exports.useTableFormIteratorItem=xM;exports.useThemeConfig=Qn;exports.uuid=wM;exports.withLayoutProvider=fy;
|
|
269
269
|
//# sourceMappingURL=react-admin.cjs.js.map
|