@applica-software-guru/react-admin 1.5.281 → 1.5.282
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/Pagination/Pagination.d.ts +15 -0
- package/dist/components/Pagination/Pagination.d.ts.map +1 -0
- package/dist/components/Pagination/PaginationActions.d.ts +12 -0
- package/dist/components/Pagination/PaginationActions.d.ts.map +1 -0
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/components/ra-lists/SimpleList.d.ts +2 -2
- package/dist/react-admin.cjs.js +54 -54
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +8316 -8176
- package/dist/react-admin.es.js.gz +0 -0
- package/dist/react-admin.es.js.map +1 -1
- package/dist/react-admin.umd.js +52 -52
- package/dist/react-admin.umd.js.gz +0 -0
- package/dist/react-admin.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Pagination/Pagination.tsx +184 -0
- package/src/components/Pagination/PaginationActions.tsx +84 -0
- package/src/components/Pagination/index.ts +2 -0
- package/src/components/ra-lists/List.tsx +2 -1
package/dist/react-admin.umd.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
(function(M,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react/jsx-runtime"),require("@emotion/styled"),require("@emotion/react"),require("react"),require("@mui/material"),require("@ant-design/icons"),require("react-router-dom"),require("@mui/icons-material"),require("ra-core"),require("react-router"),require("react-admin"),require("react-hook-form"),require("react-query"),require("react-dom"),require("ra-i18n-polyglot")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@emotion/styled","@emotion/react","react","@mui/material","@ant-design/icons","react-router-dom","@mui/icons-material","ra-core","react-router","react-admin","react-hook-form","react-query","react-dom","ra-i18n-polyglot"],f):(M=typeof globalThis<"u"?globalThis:M||self,f(M["react-admin"]={},M["react/jsx-runtime"],M["@emotion/styled"],M["@emotion/react"],M.React,M["@mui/material"],M["@ant-design/icons"],M["react-router-dom"],M["@mui/icons-material"],M["ra-core"],M["react-router"],M["react-admin"],M["react-hook-form"],M["react-query"],M.ReactDOM,M["ra-i18n-polyglot"]))})(this,function(M,f,Ht,Nt,T,S,Ke,ut,Fn,re,ei,_,Qn,Ui,Hi,E0){"use strict";var roe=Object.defineProperty;var RO=M=>{throw TypeError(M)};var ooe=(M,f,Ht)=>f in M?roe(M,f,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):M[f]=Ht;var Ml=(M,f,Ht)=>ooe(M,typeof f!="symbol"?f+"":f,Ht),T0=(M,f,Ht)=>f.has(M)||RO("Cannot "+Ht);var kn=(M,f,Ht)=>(T0(M,f,"read from private field"),Ht?Ht.call(M):f.get(M)),yo=(M,f,Ht)=>f.has(M)?RO("Cannot add the same private member more than once"):f instanceof WeakSet?f.add(M):f.set(M,Ht),$o=(M,f,Ht,Nt)=>(T0(M,f,"write to private field"),Nt?Nt.call(M,Ht):f.set(M,Ht),Ht),kl=(M,f,Ht)=>(T0(M,f,"access private method"),Ht);var Uo,Pi,Fl,ll,cl,Ws,ul,dl,ji;function I0(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const B=I0(T),O0=I0(Hi),P0=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ll=T.createContext({}),Zd=T.createContext(null),Dl=typeof document<"u",_O=Dl?T.useLayoutEffect:T.useEffect,j0=T.createContext({strict:!1}),Qd=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),M0="data-"+Qd("framerAppearId");function BO(e,t,n,r){const{visualElement:o}=T.useContext(Ll),s=T.useContext(j0),a=T.useContext(Zd),c=T.useContext(P0).reducedMotion,u=T.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 d=u.current;T.useInsertionEffect(()=>{d&&d.update(n,a)});const h=T.useRef(!!(n[M0]&&!window.HandoffComplete));return _O(()=>{d&&(d.render(),h.current&&d.animationState&&d.animationState.animateChanges())}),T.useEffect(()=>{d&&(d.updateFeatures(),!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),d}function Gi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function NO(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Gi(n)&&(n.current=r))},[t])}function na(e){return typeof e=="string"||Array.isArray(e)}function Rl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Jd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qd=["initial",...Jd];function _l(e){return Rl(e.animate)||qd.some(t=>na(e[t]))}function k0(e){return!!(_l(e)||e.variants)}function VO(e,t){if(_l(e)){const{initial:n,animate:r}=e;return{initial:n===!1||na(n)?n:void 0,animate:na(r)?r:void 0}}return e.inherit!==!1?t:{}}function WO(e){const{initial:t,animate:n}=VO(e,T.useContext(Ll));return T.useMemo(()=>({initial:t,animate:n}),[F0(t),F0(n)])}function F0(e){return Array.isArray(e)?e.join(" "):e}const L0={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"]},ra={};for(const e in L0)ra[e]={isEnabled:t=>L0[e].some(n=>!!t[n])};function zO(e){for(const t in e)ra[t]={...ra[t],...e[t]}}const D0=T.createContext({}),R0=T.createContext({}),UO=Symbol.for("motionComponentSymbol");function HO({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&zO(e);function s(c,u){let d;const h={...T.useContext(P0),...c,layoutId:GO(c)},{isStatic:g}=h,m=WO(c),v=r(c,g);if(!g&&Dl){m.visualElement=BO(o,v,h,t);const b=T.useContext(R0),x=T.useContext(j0).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,x,e,b))}return B.createElement(Ll.Provider,{value:m},d&&m.visualElement?B.createElement(d,{visualElement:m.visualElement,...h}):null,n(o,c,NO(v,m.visualElement,u),v,g,m.visualElement))}const a=T.forwardRef(s);return a[UO]=o,a}function GO({layoutId:e}){const t=T.useContext(D0).id;return t&&e!==void 0?t+"-"+e:e}function YO(e){function t(r,o={}){return HO(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 KO=["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 $d(e){return typeof e!="string"||e.includes("-")?!1:!!(KO.indexOf(e)>-1||/[A-Z]/.test(e))}const Bl={};function XO(e){Object.assign(Bl,e)}const oa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(oa);function _0(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bl[e]||e==="opacity")}const vn=e=>!!(e&&e.getVelocity),ZO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QO=oa.length;function JO(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<QO;a++){const c=oa[a];if(e[c]!==void 0){const u=ZO[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 B0=e=>t=>typeof t=="string"&&t.startsWith(e),N0=B0("--"),ef=B0("var(--"),qO=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,$O=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bo=(e,t,n)=>Math.min(Math.max(n,e),t),ni={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ni,transform:e=>bo(0,1,e)},Nl={...ni,default:1},sa=e=>Math.round(e*1e5)/1e5,Vl=/(-)?([\d]*\.?[\d])+/g,V0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,eP=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function aa(e){return typeof e=="string"}const la=e=>({test:t=>aa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xo=la("deg"),kr=la("%"),Fe=la("px"),tP=la("vh"),nP=la("vw"),W0={...kr,parse:e=>kr.parse(e)/100,transform:e=>kr.transform(e*100)},z0={...ni,transform:Math.round},U0={borderWidth:Fe,borderTopWidth:Fe,borderRightWidth:Fe,borderBottomWidth:Fe,borderLeftWidth:Fe,borderRadius:Fe,radius:Fe,borderTopLeftRadius:Fe,borderTopRightRadius:Fe,borderBottomRightRadius:Fe,borderBottomLeftRadius:Fe,width:Fe,maxWidth:Fe,height:Fe,maxHeight:Fe,size:Fe,top:Fe,right:Fe,bottom:Fe,left:Fe,padding:Fe,paddingTop:Fe,paddingRight:Fe,paddingBottom:Fe,paddingLeft:Fe,margin:Fe,marginTop:Fe,marginRight:Fe,marginBottom:Fe,marginLeft:Fe,rotate:xo,rotateX:xo,rotateY:xo,rotateZ:xo,scale:Nl,scaleX:Nl,scaleY:Nl,scaleZ:Nl,skew:xo,skewX:xo,skewY:xo,distance:Fe,translateX:Fe,translateY:Fe,translateZ:Fe,x:Fe,y:Fe,z:Fe,perspective:Fe,transformPerspective:Fe,opacity:ia,originX:W0,originY:W0,originZ:Fe,zIndex:z0,fillOpacity:ia,strokeOpacity:ia,numOctaves:z0};function tf(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,d=!1,h=!0;for(const g in t){const m=t[g];if(N0(g)){s[g]=m;continue}const v=U0[g],b=$O(m,v);if(ti.has(g)){if(u=!0,a[g]=b,!h)continue;m!==(v.default||0)&&(h=!1)}else g.startsWith("origin")?(d=!0,c[g]=b):o[g]=b}if(t.transform||(u||r?o.transform=JO(e.transform,n,h,r):o.transform&&(o.transform="none")),d){const{originX:g="50%",originY:m="50%",originZ:v=0}=c;o.transformOrigin=`${g} ${m} ${v}`}}const nf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function H0(e,t,n){for(const r in t)!vn(t[r])&&!_0(r,n)&&(e[r]=t[r])}function rP({transformTemplate:e},t,n){return T.useMemo(()=>{const r=nf();return tf(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function oP(e,t,n){const r=e.style||{},o={};return H0(o,r,e),Object.assign(o,rP(e,t,n)),e.transformValues?e.transformValues(o):o}function iP(e,t,n){const r={},o=oP(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 sP=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 Wl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||sP.has(e)}let G0=e=>!Wl(e);function aP(e){e&&(G0=t=>t.startsWith("on")?!Wl(t):e(t))}try{aP(require("@emotion/is-prop-valid").default)}catch{}function lP(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(G0(o)||n===!0&&Wl(o)||!t&&!Wl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Y0(e,t,n){return typeof e=="string"?e:Fe.transform(t+n*e)}function cP(e,t,n){const r=Y0(t,e.x,e.width),o=Y0(n,e.y,e.height);return`${r} ${o}`}const uP={offset:"stroke-dashoffset",array:"stroke-dasharray"},dP={offset:"strokeDashoffset",array:"strokeDasharray"};function fP(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?uP:dP;e[s.offset]=Fe.transform(-r);const a=Fe.transform(t),c=Fe.transform(n);e[s.array]=`${a} ${c}`}function rf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(tf(e,d,h,m),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b,dimensions:x}=e;v.transform&&(x&&(b.transform=v.transform),delete v.transform),x&&(o!==void 0||s!==void 0||b.transform)&&(b.transformOrigin=cP(x,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),a!==void 0&&fP(v,a,c,u,!1)}const K0=()=>({...nf(),attrs:{}}),of=e=>typeof e=="string"&&e.toLowerCase()==="svg";function pP(e,t,n,r){const o=T.useMemo(()=>{const s=K0();return rf(s,t,{enableHardwareAcceleration:!1},of(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};H0(s,e.style,e),o.style={...s,...o.style}}return o}function hP(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=($d(n)?pP:iP)(r,s,a,n),h={...lP(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>vn(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function X0(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 Z0=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 Q0(e,t,n,r){X0(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Z0.has(o)?o:Qd(o),t.attrs[o])}function sf(e,t){const{style:n}=e,r={};for(const o in n)(vn(n[o])||t.style&&vn(t.style[o])||_0(o,e))&&(r[o]=n[o]);return r}function J0(e,t){const n=sf(e,t);for(const r in e)if(vn(e[r])||vn(t[r])){const o=oa.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function af(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 gP(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const zl=e=>Array.isArray(e),mP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),vP=e=>zl(e)?e[e.length-1]||0:e;function Ul(e){const t=vn(e)?e.get():e;return mP(t)?t.toValue():t}function yP({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:bP(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const q0=e=>(t,n)=>{const r=T.useContext(Ll),o=T.useContext(Zd),s=()=>yP(e,t,r,o);return n?s():gP(s)};function bP(e,t,n,r){const o={},s=r(e,{});for(const m in s)o[m]=Ul(s[m]);let{initial:a,animate:c}=e;const u=_l(e),d=k0(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let h=n?n.initial===!1:!1;h=h||a===!1;const g=h?c:a;return g&&typeof g!="boolean"&&!Rl(g)&&(Array.isArray(g)?g:[g]).forEach(v=>{const b=af(e,v);if(!b)return;const{transitionEnd:x,transition:w,...I}=b;for(const F in I){let E=I[F];if(Array.isArray(E)){const k=h?E.length-1:0;E=E[k]}E!==null&&(o[F]=E)}for(const F in x)o[F]=x[F]}),o}const jt=e=>e;class $0{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 xP(e){let t=new $0,n=new $0,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,d=!1,h=!1)=>{const g=h&&o,m=g?t:n;return d&&a.add(u),m.add(u)&&g&&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 d=0;d<r;d++){const h=t.order[d];h(u),a.has(h)&&(c.schedule(h),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const Hl=["prepare","read","update","preRender","render","postRender"],CP=40;function wP(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Hl.reduce((g,m)=>(g[m]=xP(()=>n=!0),g),{}),a=g=>s[g].process(o),c=()=>{const g=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(g-o.timestamp,CP),1),o.timestamp=g,o.isProcessing=!0,Hl.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:Hl.reduce((g,m)=>{const v=s[m];return g[m]=(b,x=!1,w=!1)=>(n||u(),v.schedule(b,x,w)),g},{}),cancel:g=>Hl.forEach(m=>s[m].cancel(g)),state:o,steps:s}}const{schedule:mt,cancel:Yr,state:tn,steps:lf}=wP(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0),SP={useVisualState:q0({scrapeMotionValuesFromProps:J0,createRenderState:K0,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(()=>{rf(n,r,{enableHardwareAcceleration:!1},of(t.tagName),e.transformTemplate),Q0(t,n)})}})},AP={useVisualState:q0({scrapeMotionValuesFromProps:sf,createRenderState:nf})};function TP(e,{forwardMotionProps:t=!1},n,r){return{...$d(e)?SP:AP,preloadedFeatures:n,useRender:hP(t),createVisualElement:r,Component:e}}function Kr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ev=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Gl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const EP=e=>t=>ev(t)&&e(t,Gl(t));function Xr(e,t,n,r){return Kr(e,t,EP(n),r)}const IP=(e,t)=>n=>t(e(n)),Co=(...e)=>e.reduce(IP);function tv(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const nv=tv("dragHorizontal"),rv=tv("dragVertical");function ov(e){let t=!1;if(e==="y")t=rv();else if(e==="x")t=nv();else{const n=nv(),r=rv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function iv(){const e=ov(!0);return e?(e(),!1):!0}class wo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sv(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||iv())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&mt.update(()=>c[r](s,a))};return Xr(e.current,n,o,{passive:!e.getProps()[r]})}class OP extends wo{mount(){this.unmount=Co(sv(this.node,!0),sv(this.node,!1))}unmount(){}}class PP extends wo{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=Co(Kr(this.node.current,"focus",()=>this.onFocus()),Kr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const av=(e,t)=>t?e===t?!0:av(e,t.parentElement):!1;function cf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Gl(n))}class jP extends wo{constructor(){super(...arguments),this.removeStartListeners=jt,this.removeEndListeners=jt,this.removeAccessibleListeners=jt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Xr(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h,globalTapTarget:g}=this.node.getProps();mt.update(()=>{!g&&!av(this.node.current,c.target)?h&&h(c,u):d&&d(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=Xr(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Co(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()||cf("up",(u,d)=>{const{onTap:h}=this.node.getProps();h&&mt.update(()=>h(u,d))})};this.removeEndListeners(),this.removeEndListeners=Kr(this.node.current,"keyup",a),cf("down",(c,u)=>{this.startPress(c,u)})},n=Kr(this.node.current,"keydown",t),r=()=>{this.isPressing&&cf("cancel",(s,a)=>this.cancelPress(s,a))},o=Kr(this.node.current,"blur",r);this.removeAccessibleListeners=Co(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),!iv()}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=Xr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Kr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Co(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const uf=new WeakMap,df=new WeakMap,MP=e=>{const t=uf.get(e.target);t&&t(e)},kP=e=>{e.forEach(MP)};function FP({root:e,...t}){const n=e||document;df.has(n)||df.set(n,{});const r=df.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(kP,{root:e,...t})),r[o]}function LP(e,t,n){const r=FP(t);return uf.set(e,n),r.observe(e),()=>{uf.delete(e),r.unobserve(e)}}const DP={some:0,all:1};class RP extends wo{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:DP[o]},c=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),m=d?h:g;m&&m(u)};return LP(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(_P(t,n))&&this.startObserver()}unmount(){}}function _P({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const BP={inView:{Feature:RP},tap:{Feature:jP},focus:{Feature:PP},hover:{Feature:OP}};function lv(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 NP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function VP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Yl(e,t,n){const r=e.getProps();return af(r,t,n!==void 0?n:r.custom,NP(e),VP(e))}let ca=jt,wr=jt;process.env.NODE_ENV!=="production"&&(ca=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},wr=(e,t)=>{if(!e)throw new Error(t)});const So=e=>e*1e3,Zr=e=>e/1e3,WP={current:!1},cv=e=>Array.isArray(e)&&typeof e[0]=="number";function uv(e){return!!(!e||typeof e=="string"&&dv[e]||cv(e)||Array.isArray(e)&&e.every(uv))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,dv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ua([0,.65,.55,1]),circOut:ua([.55,0,1,.45]),backIn:ua([.31,.01,.66,-.59]),backOut:ua([.33,1.53,.69,.99])};function fv(e){if(e)return cv(e)?ua(e):Array.isArray(e)?e.map(fv):dv[e]}function zP(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const d={[t]:n};u&&(d.offset=u);const h=fv(c);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:r,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function UP(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const pv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,HP=1e-7,GP=12;function YP(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=pv(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>HP&&++c<GP);return a}function da(e,t,n,r){if(e===t&&n===r)return jt;const o=s=>YP(s,0,1,e,n);return s=>s===0||s===1?s:pv(o(s),t,r)}const KP=da(.42,0,1,1),XP=da(0,0,.58,1),hv=da(.42,0,.58,1),ZP=e=>Array.isArray(e)&&typeof e[0]!="number",gv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mv=e=>t=>1-e(1-t),ff=e=>1-Math.sin(Math.acos(e)),vv=mv(ff),QP=gv(ff),yv=da(.33,1.53,.69,.99),pf=mv(yv),JP=gv(pf),bv={linear:jt,easeIn:KP,easeInOut:hv,easeOut:XP,circIn:ff,circInOut:QP,circOut:vv,backIn:pf,backInOut:JP,backOut:yv,anticipate:e=>(e*=2)<1?.5*pf(e):.5*(2-Math.pow(2,-10*(e-1)))},xv=e=>{if(Array.isArray(e)){wr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return da(t,n,r,o)}else if(typeof e=="string")return wr(bv[e]!==void 0,`Invalid easing type '${e}'`),bv[e];return e},hf=(e,t)=>n=>!!(aa(n)&&eP.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Cv=(e,t,n)=>r=>{if(!aa(r))return r;const[o,s,a,c]=r.match(Vl);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},qP=e=>bo(0,255,e),gf={...ni,transform:e=>Math.round(qP(e))},ri={test:hf("rgb","red"),parse:Cv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+gf.transform(e)+", "+gf.transform(t)+", "+gf.transform(n)+", "+sa(ia.transform(r))+")"};function $P(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 mf={test:hf("#"),parse:$P,transform:ri.transform},Yi={test:hf("hsl","hue"),parse:Cv("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+kr.transform(sa(t))+", "+kr.transform(sa(n))+", "+sa(ia.transform(r))+")"},dn={test:e=>ri.test(e)||mf.test(e)||Yi.test(e),parse:e=>ri.test(e)?ri.parse(e):Yi.test(e)?Yi.parse(e):mf.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?ri.transform(e):Yi.transform(e)},Tt=(e,t,n)=>-n*e+n*t+e;function vf(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 e3({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=vf(u,c,e+1/3),s=vf(u,c,e),a=vf(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const yf=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},t3=[mf,ri,Yi],n3=e=>t3.find(t=>t.test(e));function wv(e){const t=n3(e);wr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Yi&&(n=e3(n)),n}const Sv=(e,t)=>{const n=wv(e),r=wv(t),o={...n};return s=>(o.red=yf(n.red,r.red,s),o.green=yf(n.green,r.green,s),o.blue=yf(n.blue,r.blue,s),o.alpha=Tt(n.alpha,r.alpha,s),ri.transform(o))};function r3(e){var t,n;return isNaN(e)&&aa(e)&&(((t=e.match(Vl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(V0))===null||n===void 0?void 0:n.length)||0)>0}const Av={regex:qO,countKey:"Vars",token:"${v}",parse:jt},Tv={regex:V0,countKey:"Colors",token:"${c}",parse:dn.parse},Ev={regex:Vl,countKey:"Numbers",token:"${n}",parse:ni.parse};function bf(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 Kl(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&bf(n,Av),bf(n,Tv),bf(n,Ev),n}function Iv(e){return Kl(e).values}function Ov(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Kl(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(Av.token,a[u]):u<r+n?c=c.replace(Tv.token,dn.transform(a[u])):c=c.replace(Ev.token,sa(a[u]));return c}}const o3=e=>typeof e=="number"?0:e;function i3(e){const t=Iv(e);return Ov(e)(t.map(o3))}const Ao={test:r3,parse:Iv,createTransformer:Ov,getAnimatableNone:i3},Pv=(e,t)=>n=>`${n>0?t:e}`;function jv(e,t){return typeof e=="number"?n=>Tt(e,t,n):dn.test(e)?Sv(e,t):e.startsWith("var(")?Pv(e,t):kv(e,t)}const Mv=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>jv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},s3=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=jv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},kv=(e,t)=>{const n=Ao.createTransformer(t),r=Kl(e),o=Kl(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Co(Mv(r.values,o.values),n):(ca(!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.`),Pv(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Fv=(e,t)=>n=>Tt(e,t,n);function a3(e){return typeof e=="number"?Fv:typeof e=="string"?dn.test(e)?Sv:kv:Array.isArray(e)?Mv:typeof e=="object"?s3:Fv}function l3(e,t,n){const r=[],o=n||a3(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]||jt:t;c=Co(u,c)}r.push(c)}return r}function Lv(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(wr(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=l3(t,r,o),c=a.length,u=d=>{let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const g=fa(e[h],e[h+1],d);return a[h](g)};return n?d=>u(bo(e[0],e[s-1],d)):u}function c3(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=fa(0,t,r);e.push(Tt(n,1,o))}}function u3(e){const t=[0];return c3(t,e.length-1),t}function d3(e,t){return e.map(n=>n*t)}function f3(e,t){return e.map(()=>t||hv).splice(0,e.length-1)}function Xl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=ZP(r)?r.map(xv):xv(r),s={done:!1,value:t[0]},a=d3(n&&n.length===t.length?n:u3(t),e),c=Lv(a,t,{ease:Array.isArray(o)?o:f3(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function Dv(e,t){return t?e*(1e3/t):0}const p3=5;function Rv(e,t,n){const r=Math.max(t-p3,0);return Dv(n-e(r),t-r)}const xf=.001,h3=.01,_v=10,g3=.05,m3=1;function v3({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;ca(e<=So(_v),"Spring duration must be 10 seconds or less");let a=1-t;a=bo(g3,m3,a),e=bo(h3,_v,Zr(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=Cf(d,a),b=Math.exp(-g);return xf-m/v*b},s=d=>{const g=d*a*e,m=g*n+n,v=Math.pow(a,2)*Math.pow(d,2)*e,b=Math.exp(-g),x=Cf(Math.pow(d,2),a);return(-o(d)+xf>0?-1:1)*((m-v)*b)/x}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-xf+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=b3(o,s,c);if(e=So(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const y3=12;function b3(e,t,n){let r=n;for(let o=1;o<y3;o++)r=r-e(r)/t(r);return r}function Cf(e,t){return e*Math.sqrt(1-t*t)}const x3=["duration","bounce"],C3=["stiffness","damping","mass"];function Bv(e,t){return t.some(n=>e[n]!==void 0)}function w3(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bv(e,C3)&&Bv(e,x3)){const n=v3(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Nv({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:d,duration:h,velocity:g,isResolvedFromDuration:m}=w3({...r,velocity:-Zr(r.velocity||0)}),v=g||0,b=u/(2*Math.sqrt(c*d)),x=s-o,w=Zr(Math.sqrt(c/d)),I=Math.abs(x)<5;n||(n=I?.01:2),t||(t=I?.005:.5);let F;if(b<1){const E=Cf(w,b);F=k=>{const P=Math.exp(-b*w*k);return s-P*((v+b*w*x)/E*Math.sin(E*k)+x*Math.cos(E*k))}}else if(b===1)F=E=>s-Math.exp(-w*E)*(x+(v+w*x)*E);else{const E=w*Math.sqrt(b*b-1);F=k=>{const P=Math.exp(-b*w*k),L=Math.min(E*k,300);return s-P*((v+b*w*x)*Math.sinh(L)+E*x*Math.cosh(L))/E}}return{calculatedDuration:m&&h||null,next:E=>{const k=F(E);if(m)a.done=E>=h;else{let P=v;E!==0&&(b<1?P=Rv(F,E,k):P=0);const L=Math.abs(P)<=n,D=Math.abs(s-k)<=t;a.done=L&&D}return a.value=a.done?s:k,a}}}function Vv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:d=.5,restSpeed:h}){const g=e[0],m={done:!1,value:g},v=Y=>c!==void 0&&Y<c||u!==void 0&&Y>u,b=Y=>c===void 0?u:u===void 0||Math.abs(c-Y)<Math.abs(u-Y)?c:u;let x=n*t;const w=g+x,I=a===void 0?w:a(w);I!==w&&(x=I-g);const F=Y=>-x*Math.exp(-Y/r),E=Y=>I+F(Y),k=Y=>{const Z=F(Y),ee=E(Y);m.done=Math.abs(Z)<=d,m.value=m.done?I:ee};let P,L;const D=Y=>{v(m.value)&&(P=Y,L=Nv({keyframes:[m.value,b(m.value)],velocity:Rv(E,Y,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return D(0),{calculatedDuration:null,next:Y=>{let Z=!1;return!L&&P===void 0&&(Z=!0,k(Y),D(Y)),P!==void 0&&Y>P?L.next(Y-P):(!Z&&k(Y),m)}}}const S3=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>Yr(t),now:()=>tn.isProcessing?tn.timestamp:performance.now()}},Wv=2e4;function zv(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Wv;)t+=n,r=e.next(t);return t>=Wv?1/0:t}const A3={decay:Vv,inertia:Vv,tween:Xl,keyframes:Xl,spring:Nv};function Zl({autoplay:e=!0,delay:t=0,driver:n=S3,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:d,onComplete:h,onUpdate:g,...m}){let v=1,b=!1,x,w;const I=()=>{w=new Promise(K=>{x=K})};I();let F;const E=A3[o]||Xl;let k;E!==Xl&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&wr(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),k=Lv([0,100],r,{clamp:!1}),r=[0,100]);const P=E({...m,keyframes:r});let L;c==="mirror"&&(L=E({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let D="idle",Y=null,Z=null,ee=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=zv(P));const{calculatedDuration:G}=P;let le=1/0,ae=1/0;G!==null&&(le=G+a,ae=le*(s+1)-a);let q=0;const J=K=>{if(Z===null)return;v>0&&(Z=Math.min(Z,K)),v<0&&(Z=Math.min(K-ae/v,Z)),Y!==null?q=Y:q=Math.round(K-Z)*v;const de=q-t*(v>=0?1:-1),he=v>=0?de<0:de>ae;q=Math.max(de,0),D==="finished"&&Y===null&&(q=ae);let fe=q,ge=P;if(s){const be=Math.min(q,ae)/le;let we=Math.floor(be),Ie=be%1;!Ie&&be>=1&&(Ie=1),Ie===1&&we--,we=Math.min(we,s+1),!!(we%2)&&(c==="reverse"?(Ie=1-Ie,a&&(Ie-=a/le)):c==="mirror"&&(ge=L)),fe=bo(0,1,Ie)*le}const ve=he?{done:!1,value:r[0]}:ge.next(fe);k&&(ve.value=k(ve.value));let{done:Te}=ve;!he&&G!==null&&(Te=v>=0?q>=ae:q<=0);const Ce=Y===null&&(D==="finished"||D==="running"&&Te);return g&&g(ve.value),Ce&&N(),ve},z=()=>{F&&F.stop(),F=void 0},Q=()=>{D="idle",z(),x(),I(),Z=ee=null},N=()=>{D="finished",h&&h(),z(),x()},ne=()=>{if(b)return;F||(F=n(J));const K=F.now();u&&u(),Y!==null?Z=K-Y:(!Z||D==="finished")&&(Z=K),D==="finished"&&I(),ee=Z,Y=null,D="running",F.start()};e&&ne();const W={then(K,de){return w.then(K,de)},get time(){return Zr(q)},set time(K){K=So(K),q=K,Y!==null||!F||v===0?Y=K:Z=F.now()-K/v},get duration(){const K=P.calculatedDuration===null?zv(P):P.calculatedDuration;return Zr(K)},get speed(){return v},set speed(K){K===v||!F||(v=K,W.time=Zr(q))},get state(){return D},play:ne,pause:()=>{D="paused",Y=q},stop:()=>{b=!0,D!=="idle"&&(D="idle",d&&d(),Q())},cancel:()=>{ee!==null&&J(ee),Q()},complete:()=>{D="finished"},sample:K=>(Z=0,J(K))};return W}function T3(e){let t;return()=>(t===void 0&&(t=e()),t)}const E3=T3(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),I3=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ql=10,O3=2e4,P3=(e,t)=>t.type==="spring"||e==="backgroundColor"||!uv(t.ease);function j3(e,t,{onUpdate:n,onComplete:r,...o}){if(!(E3()&&I3.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,d=!1;const h=()=>{u=new Promise(E=>{c=E})};h();let{keyframes:g,duration:m=300,ease:v,times:b}=o;if(P3(t,o)){const E=Zl({...o,repeat:0,delay:0});let k={done:!1,value:g[0]};const P=[];let L=0;for(;!k.done&&L<O3;)k=E.sample(L),P.push(k.value),L+=Ql;b=void 0,g=P,m=L-Ql,v="linear"}const x=zP(e.owner.current,t,g,{...o,duration:m,ease:v,times:b}),w=()=>{d=!1,x.cancel()},I=()=>{d=!0,mt.update(w),c(),h()};return x.onfinish=()=>{d||(e.set(UP(g,o)),r&&r(),I())},{then(E,k){return u.then(E,k)},attachTimeline(E){return x.timeline=E,x.onfinish=null,jt},get time(){return Zr(x.currentTime||0)},set time(E){x.currentTime=So(E)},get speed(){return x.playbackRate},set speed(E){x.playbackRate=E},get duration(){return Zr(m)},play:()=>{a||(x.play(),Yr(w))},pause:()=>x.pause(),stop:()=>{if(a=!0,x.playState==="idle")return;const{currentTime:E}=x;if(E){const k=Zl({...o,autoplay:!1});e.setWithVelocity(k.sample(E-Ql).value,k.sample(E).value,Ql)}I()},complete:()=>{d||x.finish()},cancel:I}}function M3({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:jt,pause:jt,stop:jt,then:s=>(s(),Promise.resolve()),cancel:jt,complete:jt});return t?Zl({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const k3={type:"spring",stiffness:500,damping:25,restSpeed:10},F3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),L3={type:"keyframes",duration:.8},D3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},R3=(e,{keyframes:t})=>t.length>2?L3:ti.has(e)?e.startsWith("scale")?F3(t[1]):k3:D3,wf=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ao.test(t)||t==="0")&&!t.startsWith("url(")),_3=new Set(["brightness","contrast","saturate","opacity"]);function B3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Vl)||[];if(!r)return e;const o=n.replace(r,"");let s=_3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const N3=/([a-z-]*)\(.*?\)/g,Sf={...Ao,getAnimatableNone:e=>{const t=e.match(N3);return t?t.map(B3).join(" "):e}},V3={...U0,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:Sf,WebkitFilter:Sf},Af=e=>V3[e];function Uv(e,t){let n=Af(e);return n!==Sf&&(n=Ao),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Hv=e=>/^0[^.\s]+$/.test(e);function W3(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Hv(e)}function z3(e,t,n,r){const o=wf(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 d=0;d<s.length;d++)s[d]===null&&(s[d]=d===0?a:s[d-1]),W3(s[d])&&u.push(d),typeof s[d]=="string"&&s[d]!=="none"&&s[d]!=="0"&&(c=s[d]);if(o&&u.length&&c)for(let d=0;d<u.length;d++){const h=u[d];s[h]=Uv(t,c)}return s}function U3({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:d,...h}){return!!Object.keys(h).length}function Tf(e,t){return e[t]||e.default||e}const H3={skipAnimations:!1},Ef=(e,t,n,r={})=>o=>{const s=Tf(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-So(a);const u=z3(t,e,n,s),d=u[0],h=u[u.length-1],g=wf(e,d),m=wf(e,h);ca(g===m,`You are trying to animate ${e} from "${d}" to "${h}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:b=>{t.set(b),s.onUpdate&&s.onUpdate(b)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(U3(s)||(v={...v,...R3(e,v)}),v.duration&&(v.duration=So(v.duration)),v.repeatDelay&&(v.repeatDelay=So(v.repeatDelay)),!g||!m||WP.current||s.type===!1||H3.skipAnimations)return M3(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=j3(t,e,v);if(b)return b}return Zl(v)};function Jl(e){return!!(vn(e)&&e.add)}const Gv=e=>/^\-?\d*\.?\d+$/.test(e);function If(e,t){e.indexOf(t)===-1&&e.push(t)}function Of(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Pf{constructor(){this.subscriptions=[]}add(t){return If(this.subscriptions,t),()=>Of(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 Yv=new Set;function jf(e,t,n){e||Yv.has(t)||(console.warn(t),Yv.add(t))}const G3=e=>!isNaN(parseFloat(e));class Y3{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}=tn;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=G3(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&jf(!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 Pf);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?Dv(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 Ki(e,t){return new Y3(e,t)}const Kv=e=>t=>t.test(e),Xv=[ni,Fe,kr,xo,nP,tP,{test:e=>e==="auto",parse:e=>e}],pa=e=>Xv.find(Kv(e)),K3=[...Xv,dn,Ao],X3=e=>K3.find(Kv(e));function Z3(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function Q3(e,t){const n=Yl(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=vP(s[a]);Z3(e,a,c)}}function J3(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],d=t[u];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),h!=null&&(typeof h=="string"&&(Gv(h)||Hv(h))?h=parseFloat(h):!X3(h)&&Ao.test(d)&&(h=Uv(u,d)),e.addValue(u,Ki(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function q3(e,t){return t?(t[e]||t.default||t).from:void 0}function $3(e,t,n){const r={};for(const o in e){const s=q3(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function e4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function t4(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 Zv(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 d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const g in c){const m=e.getValue(g),v=c[g];if(!m||v===void 0||h&&e4(h,g))continue;const b={delay:n,elapsed:0,...Tf(s||{},g)};if(window.HandoffAppearAnimations){const I=e.getProps()[M0];if(I){const F=window.HandoffAppearAnimations(I,g,m,mt);F!==null&&(b.elapsed=F,b.isHandoff=!0)}}let x=!b.isHandoff&&!t4(m,v);if(b.type==="spring"&&(m.getVelocity()||b.velocity)&&(x=!1),m.animation&&(x=!1),x)continue;m.start(Ef(g,m,v,e.shouldReduceMotion&&ti.has(g)?{type:!1}:b));const w=m.animation;Jl(u)&&(u.add(g),w.then(()=>u.remove(g))),d.push(w)}return a&&Promise.all(d).then(()=>{a&&Q3(e,a)}),d}function Mf(e,t,n={}){const r=Yl(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Zv(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return n4(e,t,d+u,h,g,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,d]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>d())}else return Promise.all([s(),a(n.delay)])}function n4(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(r4).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(Mf(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function r4(e,t){return e.sortNodePosition(t)}function o4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Mf(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Mf(e,t,n);else{const o=typeof t=="function"?Yl(e,t,n.custom):t;r=Promise.all(Zv(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const i4=[...Jd].reverse(),s4=Jd.length;function a4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>o4(e,n,r)))}function l4(e){let t=a4(e);const n=u4();let r=!0;const o=(u,d)=>{const h=Yl(e,d);if(h){const{transition:g,transitionEnd:m,...v}=h;u={...u,...v,...m}}return u};function s(u){t=u(e)}function a(u,d){const h=e.getProps(),g=e.getVariantContext(!0)||{},m=[],v=new Set;let b={},x=1/0;for(let I=0;I<s4;I++){const F=i4[I],E=n[F],k=h[F]!==void 0?h[F]:g[F],P=na(k),L=F===d?E.isActive:null;L===!1&&(x=I);let D=k===g[F]&&k!==h[F]&&P;if(D&&r&&e.manuallyAnimateOnMount&&(D=!1),E.protectedKeys={...b},!E.isActive&&L===null||!k&&!E.prevProp||Rl(k)||typeof k=="boolean")continue;let Z=c4(E.prevProp,k)||F===d&&E.isActive&&!D&&P||I>x&&P,ee=!1;const G=Array.isArray(k)?k:[k];let le=G.reduce(o,{});L===!1&&(le={});const{prevResolvedValues:ae={}}=E,q={...ae,...le},J=z=>{Z=!0,v.has(z)&&(ee=!0,v.delete(z)),E.needsAnimating[z]=!0};for(const z in q){const Q=le[z],N=ae[z];if(b.hasOwnProperty(z))continue;let ne=!1;zl(Q)&&zl(N)?ne=!lv(Q,N):ne=Q!==N,ne?Q!==void 0?J(z):v.add(z):Q!==void 0&&v.has(z)?J(z):E.protectedKeys[z]=!0}E.prevProp=k,E.prevResolvedValues=le,E.isActive&&(b={...b,...le}),r&&e.blockInitialAnimation&&(Z=!1),Z&&(!D||ee)&&m.push(...G.map(z=>({animation:z,options:{type:F,...u}})))}if(v.size){const I={};v.forEach(F=>{const E=e.getBaseTarget(F);E!==void 0&&(I[F]=E)}),m.push({animation:I})}let w=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(m):Promise.resolve()}function c(u,d,h){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(u,d)}),n[u].isActive=d;const m=a(h,u);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function c4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lv(t,e):!1}function oi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function u4(){return{animate:oi(!0),whileInView:oi(),whileHover:oi(),whileTap:oi(),whileDrag:oi(),whileFocus:oi(),exit:oi()}}class d4 extends wo{constructor(t){super(t),t.animationState||(t.animationState=l4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),Rl(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 f4=0;class p4 extends wo{constructor(){super(...arguments),this.id=f4++}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 h4={animation:{Feature:d4},exit:{Feature:p4}},Qv=(e,t)=>Math.abs(e-t);function g4(e,t){const n=Qv(e.x,t.x),r=Qv(e.y,t.y);return Math.sqrt(n**2+r**2)}class Jv{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 g=Ff(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=g4(g.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:b}=g,{timestamp:x}=tn;this.history.push({...b,timestamp:x});const{onStart:w,onMove:I}=this.handlers;m||(w&&w(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,g)},this.handlePointerMove=(g,m)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=kf(m,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(g,m)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Ff(g.type==="pointercancel"?this.lastMoveEventInfo:kf(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),b&&b(g,w)},!ev(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Gl(t),c=kf(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=tn;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Ff(c,this.history)),this.removeListeners=Co(Xr(this.contextWindow,"pointermove",this.handlePointerMove),Xr(this.contextWindow,"pointerup",this.handlePointerUp),Xr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Yr(this.updatePoint)}}function kf(e,t){return t?{point:t(e.point)}:e}function qv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ff({point:e},t){return{point:e,delta:qv(e,$v(t)),offset:qv(e,m4(t)),velocity:v4(t,.1)}}function m4(e){return e[0]}function $v(e){return e[e.length-1]}function v4(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=$v(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>So(t)));)n--;if(!r)return{x:0,y:0};const s=Zr(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 Ln(e){return e.max-e.min}function Lf(e,t=0,n=.01){return Math.abs(e-t)<=n}function ey(e,t,n,r=.5){e.origin=r,e.originPoint=Tt(t.min,t.max,e.origin),e.scale=Ln(n)/Ln(t),(Lf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Tt(n.min,n.max,e.origin)-e.originPoint,(Lf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){ey(e.x,t.x,n.x,r?r.originX:void 0),ey(e.y,t.y,n.y,r?r.originY:void 0)}function ty(e,t,n){e.min=n.min+t.min,e.max=e.min+Ln(t)}function y4(e,t,n){ty(e.x,t.x,n.x),ty(e.y,t.y,n.y)}function ny(e,t,n){e.min=t.min-n.min,e.max=e.min+Ln(t)}function ga(e,t,n){ny(e.x,t.x,n.x),ny(e.y,t.y,n.y)}function b4(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Tt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Tt(n,e,r.max):Math.min(e,n)),e}function ry(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 x4(e,{top:t,left:n,bottom:r,right:o}){return{x:ry(e.x,n,o),y:ry(e.y,t,r)}}function oy(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 C4(e,t){return{x:oy(e.x,t.x),y:oy(e.y,t.y)}}function w4(e,t){let n=.5;const r=Ln(e),o=Ln(t);return o>r?n=fa(t.min,t.max-r,e.min):r>o&&(n=fa(e.min,e.max-o,t.min)),bo(0,1,n)}function S4(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 Df=.35;function A4(e=Df){return e===!1?e=0:e===!0&&(e=Df),{x:iy(e,"left","right"),y:iy(e,"top","bottom")}}function iy(e,t,n){return{min:sy(e,t),max:sy(e,n)}}function sy(e,t){return typeof e=="number"?e:e[t]||0}const ay=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:ay(),y:ay()}),ly=()=>({min:0,max:0}),Vt=()=>({x:ly(),y:ly()});function Jn(e){return[e("x"),e("y")]}function cy({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function T4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function E4(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 Rf(e){return e===void 0||e===1}function _f({scale:e,scaleX:t,scaleY:n}){return!Rf(e)||!Rf(t)||!Rf(n)}function ii(e){return _f(e)||uy(e)||e.z||e.rotate||e.rotateX||e.rotateY}function uy(e){return dy(e.x)||dy(e.y)}function dy(e){return e&&e!=="0%"}function ql(e,t,n){const r=e-n,o=t*r;return n+o}function fy(e,t,n,r,o){return o!==void 0&&(e=ql(e,o,r)),ql(e,n,r)+t}function Bf(e,t=0,n=1,r,o){e.min=fy(e.min,t,n,r,o),e.max=fy(e.max,t,n,r,o)}function py(e,{x:t,y:n}){Bf(e.x,t.translate,t.scale,t.originPoint),Bf(e.y,n.translate,n.scale,n.originPoint)}function I4(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&&Zi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,py(e,a)),r&&ii(s.latestValues)&&Zi(e,s.latestValues))}t.x=hy(t.x),t.y=hy(t.y)}function hy(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function To(e,t){e.min=e.min+t,e.max=e.max+t}function gy(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Tt(e.min,e.max,s);Bf(e,t[n],t[r],a,t.scale)}const O4=["x","scaleX","originX"],P4=["y","scaleY","originY"];function Zi(e,t){gy(e.x,t,O4),gy(e.y,t,P4)}function my(e,t){return cy(E4(e.getBoundingClientRect(),t))}function j4(e,t,n){const r=my(e,n),{scroll:o}=t;return o&&(To(r.x,o.offset.x),To(r.y,o.offset.y)),r}const vy=({current:e})=>e?e.ownerDocument.defaultView:null,M4=new WeakMap;class k4{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=Vt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gl(h,"page").point)},s=(h,g)=>{const{drag:m,dragPropagation:v,onDragStart:b}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ov(m),!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),Jn(w=>{let I=this.getAxisMotionValue(w).get()||0;if(kr.test(I)){const{projection:F}=this.visualElement;if(F&&F.layout){const E=F.layout.layoutBox[w];E&&(I=Ln(E)*(parseFloat(I)/100))}}this.originPoint[w]=I}),b&&mt.update(()=>b(h,g),!1,!0);const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(h,g)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:b,onDrag:x}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:w}=g;if(v&&this.currentDirection===null){this.currentDirection=F4(w),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",g.point,w),this.updateAxis("y",g.point,w),this.visualElement.render(),x&&x(h,g)},c=(h,g)=>this.stop(h,g),u=()=>Jn(h=>{var g;return this.getAnimationState(h)==="paused"&&((g=this.getAxisMotionValue(h).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Jv(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:vy(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||!$l(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=b4(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&&Gi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=x4(o.layoutBox,n):this.constraints=!1,this.elastic=A4(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=S4(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Gi(t))return!1;const r=t.current;wr(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=j4(r,o.root,this.visualElement.getTransformPagePoint());let a=C4(o.layout.layoutBox,s);if(n){const c=n(T4(a));this.hasMutatedConstraints=!!c,c&&(a=cy(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=Jn(h=>{if(!$l(h,n,this.currentDirection))return;let g=u&&u[h]||{};a&&(g={min:0,max:0});const m=o?200:1e6,v=o?40:1e7,b={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...s,...g};return this.startAxisValueAnimation(h,b)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Ef(t,r,0,n))}stopAnimation(){Jn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Jn(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){Jn(n=>{const{drag:r}=this.getProps();if(!$l(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]-Tt(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Gi(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Jn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=w4({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(),Jn(a=>{if(!$l(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:d}=this.constraints[a];c.set(Tt(u,d,o[a]))})}addListeners(){if(!this.visualElement.current)return;M4.set(this.visualElement,this);const t=this.visualElement.current,n=Xr(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();Gi(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=Kr(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Jn(h=>{const g=this.getAxisMotionValue(h);g&&(this.originPoint[h]+=u[h].translate,g.set(g.get()+u[h].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=Df,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function $l(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function F4(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class L4 extends wo{constructor(t){super(t),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new k4(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jt}unmount(){this.removeGroupControls(),this.removeListeners()}}const yy=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class D4 extends wo{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(t){this.session=new Jv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:yy(t),onStart:yy(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&mt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=Xr(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 R4(){const e=T.useContext(Zd);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=T.useId();return T.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const ec={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function by(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ma={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Fe.test(e))e=parseFloat(e);else return e;const n=by(e,t.target.x),r=by(e,t.target.y);return`${n}% ${r}%`}},_4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ao.parse(e);if(o.length>5)return r;const s=Ao.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 d=Tt(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=d),typeof o[3+a]=="number"&&(o[3+a]/=d),s(o)}};class B4 extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;XO(N4),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()})),ec.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 xy(e){const[t,n]=R4(),r=T.useContext(D0);return T.createElement(B4,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(R0),isPresent:t,safeToRemove:n})}const N4={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:_4},Cy=["TopLeft","TopRight","BottomLeft","BottomRight"],V4=Cy.length,wy=e=>typeof e=="string"?parseFloat(e):e,Sy=e=>typeof e=="number"||Fe.test(e);function W4(e,t,n,r,o,s){o?(e.opacity=Tt(0,n.opacity!==void 0?n.opacity:1,z4(r)),e.opacityExit=Tt(t.opacity!==void 0?t.opacity:1,0,U4(r))):s&&(e.opacity=Tt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<V4;a++){const c=`border${Cy[a]}Radius`;let u=Ay(t,c),d=Ay(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||Sy(u)===Sy(d)?(e[c]=Math.max(Tt(wy(u),wy(d),r),0),(kr.test(d)||kr.test(u))&&(e[c]+="%")):e[c]=d}(t.rotate||n.rotate)&&(e.rotate=Tt(t.rotate||0,n.rotate||0,r))}function Ay(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const z4=Ty(0,.5,vv),U4=Ty(.5,.95,jt);function Ty(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function Ey(e,t){e.min=t.min,e.max=t.max}function qn(e,t){Ey(e.x,t.x),Ey(e.y,t.y)}function Iy(e,t,n,r,o){return e-=t,e=ql(e,1/n,r),o!==void 0&&(e=ql(e,1/o,r)),e}function H4(e,t=0,n=1,r=.5,o,s=e,a=e){if(kr.test(t)&&(t=parseFloat(t),t=Tt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Tt(s.min,s.max,r);e===s&&(c-=t),e.min=Iy(e.min,t,n,c,o),e.max=Iy(e.max,t,n,c,o)}function Oy(e,t,[n,r,o],s,a){H4(e,t[n],t[r],t[o],t.scale,s,a)}const G4=["x","scaleX","originX"],Y4=["y","scaleY","originY"];function Py(e,t,n,r){Oy(e.x,t,G4,n?n.x:void 0,r?r.x:void 0),Oy(e.y,t,Y4,n?n.y:void 0,r?r.y:void 0)}function jy(e){return e.translate===0&&e.scale===1}function My(e){return jy(e.x)&&jy(e.y)}function K4(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 ky(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 Fy(e){return Ln(e.x)/Ln(e.y)}class X4{constructor(){this.members=[]}add(t){If(this.members,t),t.scheduleRender()}remove(t){if(Of(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 Ly(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:d,rotateY:h}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}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 Z4=(e,t)=>e.depth-t.depth;class Q4{constructor(){this.children=[],this.isDirty=!1}add(t){If(this.children,t),this.isDirty=!0}remove(t){Of(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Z4),this.isDirty=!1,this.children.forEach(t)}}function J4(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Yr(r),e(s-t))};return mt.read(r,!0),()=>Yr(r)}function q4(e){window.MotionDebug&&window.MotionDebug.record(e)}function $4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function ej(e,t,n){const r=vn(e)?e:Ki(e);return r.start(Ef("",r,t,n)),r.animation}const Dy=["","X","Y","Z"],tj={visibility:"hidden"},Ry=1e3;let nj=0;const si={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function _y({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=nj++,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,si.totalNodes=si.resolvedTargetDeltas=si.recalculatedProjection=0,this.nodes.forEach(ij),this.nodes.forEach(uj),this.nodes.forEach(dj),this.nodes.forEach(sj),q4(si)},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 Q4)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Pf),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=$4(a),this.instance=a;const{layoutId:u,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(d||u)&&(this.isLayoutDirty=!0),e){let g;const m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=J4(m,250),ec.hasAnimatedSinceResize&&(ec.hasAnimatedSinceResize=!1,this.nodes.forEach(Ny))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||h.getDefaultTransition()||mj,{onLayoutAnimationStart:w,onLayoutAnimationComplete:I}=h.getProps(),F=!this.targetLayout||!ky(this.targetLayout,b)||v,E=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||E||m&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,E);const k={...Tf(x,"layout"),onPlay:w,onComplete:I};(h.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k)}else m||Ny(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}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,Yr(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(fj),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 h=0;h<this.path.length;h++){const g=this.path[h];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(By);return}this.isUpdating||this.nodes.forEach(lj),this.isUpdating=!1,this.nodes.forEach(cj),this.nodes.forEach(rj),this.nodes.forEach(oj),this.clearAllSnapshots();const c=performance.now();tn.delta=bo(0,1e3/60,c-tn.timestamp),tn.timestamp=c,tn.isProcessing=!0,lf.update.process(tn),lf.preRender.process(tn),lf.render.process(tn),tn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(aj),this.sharedNodes.forEach(pj)}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=Vt(),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&&!My(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||ii(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),vj(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Vt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(To(c.x,u.offset.x),To(c.y,u.offset.y)),c}removeElementScroll(a){const c=Vt();qn(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:g}=d;if(d!==this.root&&h&&g.layoutScroll){if(h.isRoot){qn(c,a);const{scroll:m}=this.root;m&&(To(c.x,-m.offset.x),To(c.y,-m.offset.y))}To(c.x,h.offset.x),To(c.y,h.offset.y)}}return c}applyTransform(a,c=!1){const u=Vt();qn(u,a);for(let d=0;d<this.path.length;d++){const h=this.path[d];!c&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Zi(u,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),ii(h.latestValues)&&Zi(u,h.latestValues)}return ii(this.latestValues)&&Zi(u,this.latestValues),u}removeTransform(a){const c=Vt();qn(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!ii(d.latestValues))continue;_f(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();qn(h,g),Py(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return ii(this.latestValues)&&Py(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!==tn.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 d=!!this.resumingFrom||this!==u;if(!(a||d&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:g,layoutId:m}=this.options;if(!(!this.layout||!(g||m))){if(this.resolvedRelativeTargetAt=tn.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),ga(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),y4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qn(this.target,this.layout.layoutBox),py(this.target,this.targetDelta)):qn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),ga(this.relativeTargetOrigin,this.target,v.target),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}si.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||_f(this.parent.latestValues)||uy(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 d=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(d=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===tn.timestamp&&(d=!1),d)return;const{layout:h,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||g))return;qn(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;I4(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:b}=c;if(!b){this.projectionTransform&&(this.projectionDelta=Xi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Xi(),this.projectionDeltaWithTransform=Xi());const x=this.projectionTransform;ha(this.projectionDelta,this.layoutCorrected,b,this.latestValues),this.projectionTransform=Ly(this.projectionDelta,this.treeScale),(this.projectionTransform!==x||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),si.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,d=u?u.latestValues:{},h={...this.latestValues},g=Xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const m=Vt(),v=u?u.source:void 0,b=this.layout?this.layout.source:void 0,x=v!==b,w=this.getStack(),I=!w||w.members.length<=1,F=!!(x&&!I&&this.options.crossfade===!0&&!this.path.some(gj));this.animationProgress=0;let E;this.mixTargetDelta=k=>{const P=k/1e3;Vy(g.x,a.x,P),Vy(g.y,a.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ga(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hj(this.relativeTarget,this.relativeTargetOrigin,m,P),E&&K4(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Vt()),qn(E,this.relativeTarget)),x&&(this.animationValues=h,W4(h,d,this.latestValues,P,F,I)),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&&(Yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{ec.hasAnimatedSinceResize=!0,this.currentAnimation=ej(0,Ry,{...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(Ry),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:h}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&Gy(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Ln(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Ln(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}qn(c,u),Zi(c,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new X4),this.sharedNodes.get(a).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.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 d=this.getStack();d&&d.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 d={};for(let h=0;h<Dy.length;h++){const g="rotate"+Dy[h];u[g]&&(d[g]=u[g],a.setStaticValue(g,0))}a.render();for(const h in d)a.setStaticValue(h,d[h]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return tj;const d={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Ul(a==null?void 0:a.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const x={};return this.options.layoutId&&(x.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,x.pointerEvents=Ul(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ii(this.latestValues)&&(x.transform=h?h({},""):"none",this.hasProjected=!1),x}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=Ly(this.projectionDeltaWithTransform,this.treeScale,m),h&&(d.transform=h(m,d.transform));const{x:v,y:b}=this.projectionDelta;d.transformOrigin=`${v.origin*100}% ${b.origin*100}% 0`,g.animationValues?d.opacity=g===this?(u=(c=m.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:d.opacity=g===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const x in Bl){if(m[x]===void 0)continue;const{correct:w,applyTo:I}=Bl[x],F=d.transform==="none"?m[x]:w(m[x],g);if(I){const E=I.length;for(let k=0;k<E;k++)d[I[k]]=F}else d[x]=F}return this.options.layoutId&&(d.pointerEvents=g===this?Ul(a==null?void 0:a.pointerEvents)||"":"none"),d}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(By),this.root.sharedNodes.clear()}}}function rj(e){e.updateLayout()}function oj(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"?Jn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Ln(m);m.min=r[g].min,m.max=m.min+v}):Gy(s,n.layoutBox,r)&&Jn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Ln(r[g]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=Xi();ha(c,r,n.layoutBox);const u=Xi();a?ha(u,e.applyTransform(o,!0),n.measuredBox):ha(u,r,n.layoutBox);const d=!My(c);let h=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:m,layout:v}=g;if(m&&v){const b=Vt();ga(b,n.layoutBox,m.layoutBox);const x=Vt();ga(x,r,v.layoutBox),ky(b,x)||(h=!0),g.options.layoutRoot&&(e.relativeTarget=x,e.relativeTargetOrigin=b,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function ij(e){si.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 sj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function aj(e){e.clearSnapshot()}function By(e){e.clearMeasurements()}function lj(e){e.isLayoutDirty=!1}function cj(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ny(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function uj(e){e.resolveTargetDelta()}function dj(e){e.calcProjection()}function fj(e){e.resetRotation()}function pj(e){e.removeLeadSnapshot()}function Vy(e,t,n){e.translate=Tt(t.translate,0,n),e.scale=Tt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Wy(e,t,n,r){e.min=Tt(t.min,n.min,r),e.max=Tt(t.max,n.max,r)}function hj(e,t,n,r){Wy(e.x,t.x,n.x,r),Wy(e.y,t.y,n.y,r)}function gj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const mj={duration:.45,ease:[.4,0,.1,1]},zy=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Uy=zy("applewebkit/")&&!zy("chrome/")?Math.round:jt;function Hy(e){e.min=Uy(e.min),e.max=Uy(e.max)}function vj(e){Hy(e.x),Hy(e.y)}function Gy(e,t,n){return e==="position"||e==="preserve-aspect"&&!Lf(Fy(t),Fy(n),.2)}const yj=_y({attachResizeListener:(e,t)=>Kr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Nf={current:void 0},Yy=_y({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Nf.current){const e=new yj({});e.mount(window),e.setOptions({layoutScroll:!0}),Nf.current=e}return Nf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),bj={pan:{Feature:D4},drag:{Feature:L4,ProjectionNode:Yy,MeasureLayout:xy}},xj=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Cj(e){const t=xj.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const wj=4;function Vf(e,t,n=1){wr(n<=wj,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=Cj(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return Gv(a)?parseFloat(a):a}else return ef(o)?Vf(o,t,n+1):o}function Sj(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(!ef(s))return;const a=Vf(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!ef(s))continue;const a=Vf(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const Aj=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ky=e=>Aj.has(e),Tj=e=>Object.keys(e).some(Ky),tc=e=>e===ni||e===Fe,Xy=(e,t)=>parseFloat(e.split(", ")[t]),Zy=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Xy(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?Xy(s[1],e):0}},Ej=new Set(["x","y","z"]),Ij=oa.filter(e=>!Ej.has(e));function Oj(e){const t=[];return Ij.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 Qi={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:Zy(4,13),y:Zy(5,14)};Qi.translateX=Qi.x,Qi.translateY=Qi.y;const Pj=(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(d=>{c[d]=Qi[d](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const h=t.getValue(d);h&&h.jump(c[d]),e[d]=Qi[d](u,s)}),e},jj=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Ky);let s=[],a=!1;const c=[];if(o.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let h=n[u],g=pa(h);const m=t[u];let v;if(zl(m)){const b=m.length,x=m[0]===null?1:0;h=m[x],g=pa(h);for(let w=x;w<b&&m[w]!==null;w++)v?wr(pa(m[w])===v,"All keyframes must be of the same type"):(v=pa(m[w]),wr(v===g||tc(g)&&tc(v),"Keyframes must be of the same dimension as the current value"))}else v=pa(m);if(g!==v)if(tc(g)&&tc(v)){const b=d.get();typeof b=="string"&&d.set(parseFloat(b)),typeof m=="string"?t[u]=parseFloat(m):Array.isArray(m)&&v===Fe&&(t[u]=m.map(parseFloat))}else g!=null&&g.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?d.set(v.transform(h)):t[u]=g.transform(m):(a||(s=Oj(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],d.jump(m))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,d=Pj(t,e,c);return s.length&&s.forEach(([h,g])=>{e.getValue(h).set(g)}),e.render(),Dl&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function Mj(e,t,n,r){return Tj(t)?jj(e,t,n,r):{target:t,transitionEnd:r}}const kj=(e,t,n,r)=>{const o=Sj(e,t,r);return t=o.target,r=o.transitionEnd,Mj(e,t,n,r)},Wf={current:null},Qy={current:!1};function Fj(){if(Qy.current=!0,!!Dl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wf.current=e.matches;e.addListener(t),t()}else Wf.current=!1}function Lj(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(vn(s))e.addValue(o,s),Jl(r)&&r.add(o),process.env.NODE_ENV==="development"&&jf(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(vn(a))e.addValue(o,Ki(s,{owner:e})),Jl(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,Ki(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const Jy=new WeakMap,qy=Object.keys(ra),Dj=qy.length,$y=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Rj=qd.length;class _j{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=_l(n),this.isVariantNode=k0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{});for(const g in h){const m=h[g];c[g]!==void 0&&vn(m)&&(m.set(c[g],!1),Jl(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Jy.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)),Qy.current||Fj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Wf.current,process.env.NODE_ENV!=="production"&&jf(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(){Jy.delete(this.current),this.projection&&this.projection.unmount(),Yr(this.notifyUpdate),Yr(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=ti.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?ca(!1,u):wr(!1,u)}for(let u=0;u<Dj;u++){const d=qy[u],{isEnabled:h,Feature:g,ProjectionNode:m,MeasureLayout:v}=ra[d];m&&(a=m),h(n)&&(!this.features[d]&&g&&(this.features[d]=new g(this)),v&&(c=v))}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:d,drag:h,dragConstraints:g,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!h||g&&Gi(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:v})}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):Vt()}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<$y.length;r++){const o=$y[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=Lj(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<Rj;r++){const o=qd[r],s=this.props[o];(na(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=Ki(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=af(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&&!vn(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 Pf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class eb extends _j{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=$3(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){J3(this,r,a);const c=kj(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function Bj(e){return window.getComputedStyle(e)}class Nj extends eb{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ti.has(n)){const r=Af(n);return r&&r.default||0}else{const r=Bj(t),o=(N0(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return my(t,n)}build(t,n,r,o){tf(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return sf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;vn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){X0(t,n,r,o)}}class Vj extends eb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=Af(n);return r&&r.default||0}return n=Z0.has(n)?n:Qd(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return J0(t,n)}build(t,n,r,o){rf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){Q0(t,n,r,o)}mount(t){this.isSVGTag=of(t.tagName),super.mount(t)}}const Wj=(e,t)=>$d(e)?new Vj(t,{enableHardwareAcceleration:!1}):new Nj(t,{enableHardwareAcceleration:!0}),zj={...h4,...BP,...bj,...{layout:{ProjectionNode:Yy,MeasureLayout:xy}}},nc=YO((e,t)=>TP(e,t,zj,Wj)),Uj=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function tb(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?Uj(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function Hj({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]=tb(s,a),[d,h]=tb(s,a);switch(t){case"rotate":return f.jsx(nc.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(nc.div,{animate:{y:d!==void 0?d:""},onHoverEnd:()=>h(),onHoverStart:()=>h(),children:e}):f.jsx(nc.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}),f.jsx(nc.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}function Qt(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 Ge(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(null,arguments)}var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var zf={exports:{}},rc={exports:{}},rt={};/** @license React v16.13.1
|
|
1
|
+
(function(k,f){typeof exports=="object"&&typeof module<"u"?f(exports,require("react/jsx-runtime"),require("@emotion/styled"),require("@emotion/react"),require("react"),require("@mui/material"),require("@ant-design/icons"),require("react-router-dom"),require("@mui/icons-material"),require("ra-core"),require("react-router"),require("react-admin"),require("react-hook-form"),require("react-query"),require("react-dom"),require("ra-i18n-polyglot")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@emotion/styled","@emotion/react","react","@mui/material","@ant-design/icons","react-router-dom","@mui/icons-material","ra-core","react-router","react-admin","react-hook-form","react-query","react-dom","ra-i18n-polyglot"],f):(k=typeof globalThis<"u"?globalThis:k||self,f(k["react-admin"]={},k["react/jsx-runtime"],k["@emotion/styled"],k["@emotion/react"],k.React,k["@mui/material"],k["@ant-design/icons"],k["react-router-dom"],k["@mui/icons-material"],k["ra-core"],k["react-router"],k["react-admin"],k["react-hook-form"],k["react-query"],k.ReactDOM,k["ra-i18n-polyglot"]))})(this,function(k,f,Ht,Nt,T,S,Ke,dt,Ln,ne,ei,R,Qn,Ui,Hi,E0){"use strict";var coe=Object.defineProperty;var NO=k=>{throw TypeError(k)};var uoe=(k,f,Ht)=>f in k?coe(k,f,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):k[f]=Ht;var Ml=(k,f,Ht)=>uoe(k,typeof f!="symbol"?f+"":f,Ht),T0=(k,f,Ht)=>f.has(k)||NO("Cannot "+Ht);var kn=(k,f,Ht)=>(T0(k,f,"read from private field"),Ht?Ht.call(k):f.get(k)),yo=(k,f,Ht)=>f.has(k)?NO("Cannot add the same private member more than once"):f instanceof WeakSet?f.add(k):f.set(k,Ht),$o=(k,f,Ht,Nt)=>(T0(k,f,"write to private field"),Nt?Nt.call(k,Ht):f.set(k,Ht),Ht),kl=(k,f,Ht)=>(T0(k,f,"access private method"),Ht);var Uo,Pi,Ll,ll,cl,Ws,ul,dl,ji;function I0(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const B=I0(T),O0=I0(Hi),P0=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Fl=T.createContext({}),Zd=T.createContext(null),Dl=typeof document<"u",VO=Dl?T.useLayoutEffect:T.useEffect,j0=T.createContext({strict:!1}),Qd=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),M0="data-"+Qd("framerAppearId");function WO(e,t,n,r){const{visualElement:o}=T.useContext(Fl),s=T.useContext(j0),a=T.useContext(Zd),c=T.useContext(P0).reducedMotion,u=T.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 d=u.current;T.useInsertionEffect(()=>{d&&d.update(n,a)});const h=T.useRef(!!(n[M0]&&!window.HandoffComplete));return VO(()=>{d&&(d.render(),h.current&&d.animationState&&d.animationState.animateChanges())}),T.useEffect(()=>{d&&(d.updateFeatures(),!h.current&&d.animationState&&d.animationState.animateChanges(),h.current&&(h.current=!1,window.HandoffComplete=!0))}),d}function Gi(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function zO(e,t,n){return T.useCallback(r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Gi(n)&&(n.current=r))},[t])}function na(e){return typeof e=="string"||Array.isArray(e)}function _l(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const Jd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qd=["initial",...Jd];function Rl(e){return _l(e.animate)||qd.some(t=>na(e[t]))}function k0(e){return!!(Rl(e)||e.variants)}function UO(e,t){if(Rl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||na(n)?n:void 0,animate:na(r)?r:void 0}}return e.inherit!==!1?t:{}}function HO(e){const{initial:t,animate:n}=UO(e,T.useContext(Fl));return T.useMemo(()=>({initial:t,animate:n}),[L0(t),L0(n)])}function L0(e){return Array.isArray(e)?e.join(" "):e}const F0={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"]},ra={};for(const e in F0)ra[e]={isEnabled:t=>F0[e].some(n=>!!t[n])};function GO(e){for(const t in e)ra[t]={...ra[t],...e[t]}}const D0=T.createContext({}),_0=T.createContext({}),YO=Symbol.for("motionComponentSymbol");function KO({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&GO(e);function s(c,u){let d;const h={...T.useContext(P0),...c,layoutId:XO(c)},{isStatic:g}=h,m=HO(c),v=r(c,g);if(!g&&Dl){m.visualElement=WO(o,v,h,t);const b=T.useContext(_0),C=T.useContext(j0).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,C,e,b))}return B.createElement(Fl.Provider,{value:m},d&&m.visualElement?B.createElement(d,{visualElement:m.visualElement,...h}):null,n(o,c,zO(v,m.visualElement,u),v,g,m.visualElement))}const a=T.forwardRef(s);return a[YO]=o,a}function XO({layoutId:e}){const t=T.useContext(D0).id;return t&&e!==void 0?t+"-"+e:e}function ZO(e){function t(r,o={}){return KO(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 QO=["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 $d(e){return typeof e!="string"||e.includes("-")?!1:!!(QO.indexOf(e)>-1||/[A-Z]/.test(e))}const Bl={};function JO(e){Object.assign(Bl,e)}const oa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ti=new Set(oa);function R0(e,{layout:t,layoutId:n}){return ti.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bl[e]||e==="opacity")}const vn=e=>!!(e&&e.getVelocity),qO={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},$O=oa.length;function eP(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<$O;a++){const c=oa[a];if(e[c]!==void 0){const u=qO[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 B0=e=>t=>typeof t=="string"&&t.startsWith(e),N0=B0("--"),ef=B0("var(--"),tP=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,nP=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bo=(e,t,n)=>Math.min(Math.max(n,e),t),ni={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ni,transform:e=>bo(0,1,e)},Nl={...ni,default:1},sa=e=>Math.round(e*1e5)/1e5,Vl=/(-)?([\d]*\.?[\d])+/g,V0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rP=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function aa(e){return typeof e=="string"}const la=e=>({test:t=>aa(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),xo=la("deg"),kr=la("%"),Le=la("px"),oP=la("vh"),iP=la("vw"),W0={...kr,parse:e=>kr.parse(e)/100,transform:e=>kr.transform(e*100)},z0={...ni,transform:Math.round},U0={borderWidth:Le,borderTopWidth:Le,borderRightWidth:Le,borderBottomWidth:Le,borderLeftWidth:Le,borderRadius:Le,radius:Le,borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomRightRadius:Le,borderBottomLeftRadius:Le,width:Le,maxWidth:Le,height:Le,maxHeight:Le,size:Le,top:Le,right:Le,bottom:Le,left:Le,padding:Le,paddingTop:Le,paddingRight:Le,paddingBottom:Le,paddingLeft:Le,margin:Le,marginTop:Le,marginRight:Le,marginBottom:Le,marginLeft:Le,rotate:xo,rotateX:xo,rotateY:xo,rotateZ:xo,scale:Nl,scaleX:Nl,scaleY:Nl,scaleZ:Nl,skew:xo,skewX:xo,skewY:xo,distance:Le,translateX:Le,translateY:Le,translateZ:Le,x:Le,y:Le,z:Le,perspective:Le,transformPerspective:Le,opacity:ia,originX:W0,originY:W0,originZ:Le,zIndex:z0,fillOpacity:ia,strokeOpacity:ia,numOctaves:z0};function tf(e,t,n,r){const{style:o,vars:s,transform:a,transformOrigin:c}=e;let u=!1,d=!1,h=!0;for(const g in t){const m=t[g];if(N0(g)){s[g]=m;continue}const v=U0[g],b=nP(m,v);if(ti.has(g)){if(u=!0,a[g]=b,!h)continue;m!==(v.default||0)&&(h=!1)}else g.startsWith("origin")?(d=!0,c[g]=b):o[g]=b}if(t.transform||(u||r?o.transform=eP(e.transform,n,h,r):o.transform&&(o.transform="none")),d){const{originX:g="50%",originY:m="50%",originZ:v=0}=c;o.transformOrigin=`${g} ${m} ${v}`}}const nf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function H0(e,t,n){for(const r in t)!vn(t[r])&&!R0(r,n)&&(e[r]=t[r])}function sP({transformTemplate:e},t,n){return T.useMemo(()=>{const r=nf();return tf(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function aP(e,t,n){const r=e.style||{},o={};return H0(o,r,e),Object.assign(o,sP(e,t,n)),e.transformValues?e.transformValues(o):o}function lP(e,t,n){const r={},o=aP(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 cP=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 Wl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||cP.has(e)}let G0=e=>!Wl(e);function uP(e){e&&(G0=t=>t.startsWith("on")?!Wl(t):e(t))}try{uP(require("@emotion/is-prop-valid").default)}catch{}function dP(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(G0(o)||n===!0&&Wl(o)||!t&&!Wl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Y0(e,t,n){return typeof e=="string"?e:Le.transform(t+n*e)}function fP(e,t,n){const r=Y0(t,e.x,e.width),o=Y0(n,e.y,e.height);return`${r} ${o}`}const pP={offset:"stroke-dashoffset",array:"stroke-dasharray"},hP={offset:"strokeDashoffset",array:"strokeDasharray"};function gP(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?pP:hP;e[s.offset]=Le.transform(-r);const a=Le.transform(t),c=Le.transform(n);e[s.array]=`${a} ${c}`}function rf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(tf(e,d,h,m),g){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:v,style:b,dimensions:C}=e;v.transform&&(C&&(b.transform=v.transform),delete v.transform),C&&(o!==void 0||s!==void 0||b.transform)&&(b.transformOrigin=fP(C,o!==void 0?o:.5,s!==void 0?s:.5)),t!==void 0&&(v.x=t),n!==void 0&&(v.y=n),r!==void 0&&(v.scale=r),a!==void 0&&gP(v,a,c,u,!1)}const K0=()=>({...nf(),attrs:{}}),of=e=>typeof e=="string"&&e.toLowerCase()==="svg";function mP(e,t,n,r){const o=T.useMemo(()=>{const s=K0();return rf(s,t,{enableHardwareAcceleration:!1},of(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};H0(s,e.style,e),o.style={...s,...o.style}}return o}function vP(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=($d(n)?mP:lP)(r,s,a,n),h={...dP(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>vn(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function X0(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 Z0=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 Q0(e,t,n,r){X0(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Z0.has(o)?o:Qd(o),t.attrs[o])}function sf(e,t){const{style:n}=e,r={};for(const o in n)(vn(n[o])||t.style&&vn(t.style[o])||R0(o,e))&&(r[o]=n[o]);return r}function J0(e,t){const n=sf(e,t);for(const r in e)if(vn(e[r])||vn(t[r])){const o=oa.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function af(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 yP(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const zl=e=>Array.isArray(e),bP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),xP=e=>zl(e)?e[e.length-1]||0:e;function Ul(e){const t=vn(e)?e.get():e;return bP(t)?t.toValue():t}function CP({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:wP(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const q0=e=>(t,n)=>{const r=T.useContext(Fl),o=T.useContext(Zd),s=()=>CP(e,t,r,o);return n?s():yP(s)};function wP(e,t,n,r){const o={},s=r(e,{});for(const m in s)o[m]=Ul(s[m]);let{initial:a,animate:c}=e;const u=Rl(e),d=k0(e);t&&d&&!u&&e.inherit!==!1&&(a===void 0&&(a=t.initial),c===void 0&&(c=t.animate));let h=n?n.initial===!1:!1;h=h||a===!1;const g=h?c:a;return g&&typeof g!="boolean"&&!_l(g)&&(Array.isArray(g)?g:[g]).forEach(v=>{const b=af(e,v);if(!b)return;const{transitionEnd:C,transition:w,...I}=b;for(const L in I){let E=I[L];if(Array.isArray(E)){const j=h?E.length-1:0;E=E[j]}E!==null&&(o[L]=E)}for(const L in C)o[L]=C[L]}),o}const jt=e=>e;class $0{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 SP(e){let t=new $0,n=new $0,r=0,o=!1,s=!1;const a=new WeakSet,c={schedule:(u,d=!1,h=!1)=>{const g=h&&o,m=g?t:n;return d&&a.add(u),m.add(u)&&g&&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 d=0;d<r;d++){const h=t.order[d];h(u),a.has(h)&&(c.schedule(h),e())}o=!1,s&&(s=!1,c.process(u))}};return c}const Hl=["prepare","read","update","preRender","render","postRender"],AP=40;function TP(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Hl.reduce((g,m)=>(g[m]=SP(()=>n=!0),g),{}),a=g=>s[g].process(o),c=()=>{const g=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(g-o.timestamp,AP),1),o.timestamp=g,o.isProcessing=!0,Hl.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:Hl.reduce((g,m)=>{const v=s[m];return g[m]=(b,C=!1,w=!1)=>(n||u(),v.schedule(b,C,w)),g},{}),cancel:g=>Hl.forEach(m=>s[m].cancel(g)),state:o,steps:s}}const{schedule:mt,cancel:Yr,state:tn,steps:lf}=TP(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0),EP={useVisualState:q0({scrapeMotionValuesFromProps:J0,createRenderState:K0,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(()=>{rf(n,r,{enableHardwareAcceleration:!1},of(t.tagName),e.transformTemplate),Q0(t,n)})}})},IP={useVisualState:q0({scrapeMotionValuesFromProps:sf,createRenderState:nf})};function OP(e,{forwardMotionProps:t=!1},n,r){return{...$d(e)?EP:IP,preloadedFeatures:n,useRender:vP(t),createVisualElement:r,Component:e}}function Kr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ev=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Gl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const PP=e=>t=>ev(t)&&e(t,Gl(t));function Xr(e,t,n,r){return Kr(e,t,PP(n),r)}const jP=(e,t)=>n=>t(e(n)),Co=(...e)=>e.reduce(jP);function tv(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const nv=tv("dragHorizontal"),rv=tv("dragVertical");function ov(e){let t=!1;if(e==="y")t=rv();else if(e==="x")t=nv();else{const n=nv(),r=rv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function iv(){const e=ov(!0);return e?(e(),!1):!0}class wo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sv(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||iv())return;const c=e.getProps();e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",t),c[r]&&mt.update(()=>c[r](s,a))};return Xr(e.current,n,o,{passive:!e.getProps()[r]})}class MP extends wo{mount(){this.unmount=Co(sv(this.node,!0),sv(this.node,!1))}unmount(){}}class kP extends wo{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=Co(Kr(this.node.current,"focus",()=>this.onFocus()),Kr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const av=(e,t)=>t?e===t?!0:av(e,t.parentElement):!1;function cf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Gl(n))}class LP extends wo{constructor(){super(...arguments),this.removeStartListeners=jt,this.removeEndListeners=jt,this.removeAccessibleListeners=jt,this.startPointerPress=(t,n)=>{if(this.isPressing)return;this.removeEndListeners();const r=this.node.getProps(),s=Xr(window,"pointerup",(c,u)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:h,globalTapTarget:g}=this.node.getProps();mt.update(()=>{!g&&!av(this.node.current,c.target)?h&&h(c,u):d&&d(c,u)})},{passive:!(r.onTap||r.onPointerUp)}),a=Xr(window,"pointercancel",(c,u)=>this.cancelPress(c,u),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Co(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()||cf("up",(u,d)=>{const{onTap:h}=this.node.getProps();h&&mt.update(()=>h(u,d))})};this.removeEndListeners(),this.removeEndListeners=Kr(this.node.current,"keyup",a),cf("down",(c,u)=>{this.startPress(c,u)})},n=Kr(this.node.current,"keydown",t),r=()=>{this.isPressing&&cf("cancel",(s,a)=>this.cancelPress(s,a))},o=Kr(this.node.current,"blur",r);this.removeAccessibleListeners=Co(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),!iv()}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=Xr(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),r=Kr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Co(n,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const uf=new WeakMap,df=new WeakMap,FP=e=>{const t=uf.get(e.target);t&&t(e)},DP=e=>{e.forEach(FP)};function _P({root:e,...t}){const n=e||document;df.has(n)||df.set(n,{});const r=df.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(DP,{root:e,...t})),r[o]}function RP(e,t,n){const r=_P(t);return uf.set(e,n),r.observe(e),()=>{uf.delete(e),r.unobserve(e)}}const BP={some:0,all:1};class NP extends wo{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:BP[o]},c=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,s&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:h,onViewportLeave:g}=this.node.getProps(),m=d?h:g;m&&m(u)};return RP(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(VP(t,n))&&this.startObserver()}unmount(){}}function VP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const WP={inView:{Feature:NP},tap:{Feature:LP},focus:{Feature:kP},hover:{Feature:MP}};function lv(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 zP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function UP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Yl(e,t,n){const r=e.getProps();return af(r,t,n!==void 0?n:r.custom,zP(e),UP(e))}let ca=jt,wr=jt;process.env.NODE_ENV!=="production"&&(ca=(e,t)=>{!e&&typeof console<"u"&&console.warn(t)},wr=(e,t)=>{if(!e)throw new Error(t)});const So=e=>e*1e3,Zr=e=>e/1e3,HP={current:!1},cv=e=>Array.isArray(e)&&typeof e[0]=="number";function uv(e){return!!(!e||typeof e=="string"&&dv[e]||cv(e)||Array.isArray(e)&&e.every(uv))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,dv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ua([0,.65,.55,1]),circOut:ua([.55,0,1,.45]),backIn:ua([.31,.01,.66,-.59]),backOut:ua([.33,1.53,.69,.99])};function fv(e){if(e)return cv(e)?ua(e):Array.isArray(e)?e.map(fv):dv[e]}function GP(e,t,n,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:c,times:u}={}){const d={[t]:n};u&&(d.offset=u);const h=fv(c);return Array.isArray(h)&&(d.easing=h),e.animate(d,{delay:r,duration:o,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:a==="reverse"?"alternate":"normal"})}function YP(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const pv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,KP=1e-7,XP=12;function ZP(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=pv(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>KP&&++c<XP);return a}function da(e,t,n,r){if(e===t&&n===r)return jt;const o=s=>ZP(s,0,1,e,n);return s=>s===0||s===1?s:pv(o(s),t,r)}const QP=da(.42,0,1,1),JP=da(0,0,.58,1),hv=da(.42,0,.58,1),qP=e=>Array.isArray(e)&&typeof e[0]!="number",gv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,mv=e=>t=>1-e(1-t),ff=e=>1-Math.sin(Math.acos(e)),vv=mv(ff),$P=gv(ff),yv=da(.33,1.53,.69,.99),pf=mv(yv),e3=gv(pf),bv={linear:jt,easeIn:QP,easeInOut:hv,easeOut:JP,circIn:ff,circInOut:$P,circOut:vv,backIn:pf,backInOut:e3,backOut:yv,anticipate:e=>(e*=2)<1?.5*pf(e):.5*(2-Math.pow(2,-10*(e-1)))},xv=e=>{if(Array.isArray(e)){wr(e.length===4,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return da(t,n,r,o)}else if(typeof e=="string")return wr(bv[e]!==void 0,`Invalid easing type '${e}'`),bv[e];return e},hf=(e,t)=>n=>!!(aa(n)&&rP.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Cv=(e,t,n)=>r=>{if(!aa(r))return r;const[o,s,a,c]=r.match(Vl);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},t3=e=>bo(0,255,e),gf={...ni,transform:e=>Math.round(t3(e))},ri={test:hf("rgb","red"),parse:Cv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+gf.transform(e)+", "+gf.transform(t)+", "+gf.transform(n)+", "+sa(ia.transform(r))+")"};function n3(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 mf={test:hf("#"),parse:n3,transform:ri.transform},Yi={test:hf("hsl","hue"),parse:Cv("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+kr.transform(sa(t))+", "+kr.transform(sa(n))+", "+sa(ia.transform(r))+")"},dn={test:e=>ri.test(e)||mf.test(e)||Yi.test(e),parse:e=>ri.test(e)?ri.parse(e):Yi.test(e)?Yi.parse(e):mf.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?ri.transform(e):Yi.transform(e)},Tt=(e,t,n)=>-n*e+n*t+e;function vf(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 r3({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=vf(u,c,e+1/3),s=vf(u,c,e),a=vf(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const yf=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},o3=[mf,ri,Yi],i3=e=>o3.find(t=>t.test(e));function wv(e){const t=i3(e);wr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Yi&&(n=r3(n)),n}const Sv=(e,t)=>{const n=wv(e),r=wv(t),o={...n};return s=>(o.red=yf(n.red,r.red,s),o.green=yf(n.green,r.green,s),o.blue=yf(n.blue,r.blue,s),o.alpha=Tt(n.alpha,r.alpha,s),ri.transform(o))};function s3(e){var t,n;return isNaN(e)&&aa(e)&&(((t=e.match(Vl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(V0))===null||n===void 0?void 0:n.length)||0)>0}const Av={regex:tP,countKey:"Vars",token:"${v}",parse:jt},Tv={regex:V0,countKey:"Colors",token:"${c}",parse:dn.parse},Ev={regex:Vl,countKey:"Numbers",token:"${n}",parse:ni.parse};function bf(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 Kl(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&bf(n,Av),bf(n,Tv),bf(n,Ev),n}function Iv(e){return Kl(e).values}function Ov(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Kl(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(Av.token,a[u]):u<r+n?c=c.replace(Tv.token,dn.transform(a[u])):c=c.replace(Ev.token,sa(a[u]));return c}}const a3=e=>typeof e=="number"?0:e;function l3(e){const t=Iv(e);return Ov(e)(t.map(a3))}const Ao={test:s3,parse:Iv,createTransformer:Ov,getAnimatableNone:l3},Pv=(e,t)=>n=>`${n>0?t:e}`;function jv(e,t){return typeof e=="number"?n=>Tt(e,t,n):dn.test(e)?Sv(e,t):e.startsWith("var(")?Pv(e,t):kv(e,t)}const Mv=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>jv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},c3=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=jv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},kv=(e,t)=>{const n=Ao.createTransformer(t),r=Kl(e),o=Kl(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Co(Mv(r.values,o.values),n):(ca(!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.`),Pv(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Lv=(e,t)=>n=>Tt(e,t,n);function u3(e){return typeof e=="number"?Lv:typeof e=="string"?dn.test(e)?Sv:kv:Array.isArray(e)?Mv:typeof e=="object"?c3:Lv}function d3(e,t,n){const r=[],o=n||u3(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]||jt:t;c=Co(u,c)}r.push(c)}return r}function Fv(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const s=e.length;if(wr(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=d3(t,r,o),c=a.length,u=d=>{let h=0;if(c>1)for(;h<e.length-2&&!(d<e[h+1]);h++);const g=fa(e[h],e[h+1],d);return a[h](g)};return n?d=>u(bo(e[0],e[s-1],d)):u}function f3(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=fa(0,t,r);e.push(Tt(n,1,o))}}function p3(e){const t=[0];return f3(t,e.length-1),t}function h3(e,t){return e.map(n=>n*t)}function g3(e,t){return e.map(()=>t||hv).splice(0,e.length-1)}function Xl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=qP(r)?r.map(xv):xv(r),s={done:!1,value:t[0]},a=h3(n&&n.length===t.length?n:p3(t),e),c=Fv(a,t,{ease:Array.isArray(o)?o:g3(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function Dv(e,t){return t?e*(1e3/t):0}const m3=5;function _v(e,t,n){const r=Math.max(t-m3,0);return Dv(n-e(r),t-r)}const xf=.001,v3=.01,Rv=10,y3=.05,b3=1;function x3({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;ca(e<=So(Rv),"Spring duration must be 10 seconds or less");let a=1-t;a=bo(y3,b3,a),e=bo(v3,Rv,Zr(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=Cf(d,a),b=Math.exp(-g);return xf-m/v*b},s=d=>{const g=d*a*e,m=g*n+n,v=Math.pow(a,2)*Math.pow(d,2)*e,b=Math.exp(-g),C=Cf(Math.pow(d,2),a);return(-o(d)+xf>0?-1:1)*((m-v)*b)/C}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-xf+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=w3(o,s,c);if(e=So(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{const d=Math.pow(u,2)*r;return{stiffness:d,damping:a*2*Math.sqrt(r*d),duration:e}}}const C3=12;function w3(e,t,n){let r=n;for(let o=1;o<C3;o++)r=r-e(r)/t(r);return r}function Cf(e,t){return e*Math.sqrt(1-t*t)}const S3=["duration","bounce"],A3=["stiffness","damping","mass"];function Bv(e,t){return t.some(n=>e[n]!==void 0)}function T3(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Bv(e,A3)&&Bv(e,S3)){const n=x3(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Nv({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:d,duration:h,velocity:g,isResolvedFromDuration:m}=T3({...r,velocity:-Zr(r.velocity||0)}),v=g||0,b=u/(2*Math.sqrt(c*d)),C=s-o,w=Zr(Math.sqrt(c/d)),I=Math.abs(C)<5;n||(n=I?.01:2),t||(t=I?.005:.5);let L;if(b<1){const E=Cf(w,b);L=j=>{const P=Math.exp(-b*w*j);return s-P*((v+b*w*C)/E*Math.sin(E*j)+C*Math.cos(E*j))}}else if(b===1)L=E=>s-Math.exp(-w*E)*(C+(v+w*C)*E);else{const E=w*Math.sqrt(b*b-1);L=j=>{const P=Math.exp(-b*w*j),D=Math.min(E*j,300);return s-P*((v+b*w*C)*Math.sinh(D)+E*C*Math.cosh(D))/E}}return{calculatedDuration:m&&h||null,next:E=>{const j=L(E);if(m)a.done=E>=h;else{let P=v;E!==0&&(b<1?P=_v(L,E,j):P=0);const D=Math.abs(P)<=n,F=Math.abs(s-j)<=t;a.done=D&&F}return a.value=a.done?s:j,a}}}function Vv({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:s=500,modifyTarget:a,min:c,max:u,restDelta:d=.5,restSpeed:h}){const g=e[0],m={done:!1,value:g},v=U=>c!==void 0&&U<c||u!==void 0&&U>u,b=U=>c===void 0?u:u===void 0||Math.abs(c-U)<Math.abs(u-U)?c:u;let C=n*t;const w=g+C,I=a===void 0?w:a(w);I!==w&&(C=I-g);const L=U=>-C*Math.exp(-U/r),E=U=>I+L(U),j=U=>{const K=L(U),ee=E(U);m.done=Math.abs(K)<=d,m.value=m.done?I:ee};let P,D;const F=U=>{v(m.value)&&(P=U,D=Nv({keyframes:[m.value,b(m.value)],velocity:_v(E,U,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return F(0),{calculatedDuration:null,next:U=>{let K=!1;return!D&&P===void 0&&(K=!0,j(U),F(U)),P!==void 0&&U>P?D.next(U-P):(!K&&j(U),m)}}}const E3=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>Yr(t),now:()=>tn.isProcessing?tn.timestamp:performance.now()}},Wv=2e4;function zv(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Wv;)t+=n,r=e.next(t);return t>=Wv?1/0:t}const I3={decay:Vv,inertia:Vv,tween:Xl,keyframes:Xl,spring:Nv};function Zl({autoplay:e=!0,delay:t=0,driver:n=E3,keyframes:r,type:o="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:c="loop",onPlay:u,onStop:d,onComplete:h,onUpdate:g,...m}){let v=1,b=!1,C,w;const I=()=>{w=new Promise(X=>{C=X})};I();let L;const E=I3[o]||Xl;let j;E!==Xl&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&wr(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),j=Fv([0,100],r,{clamp:!1}),r=[0,100]);const P=E({...m,keyframes:r});let D;c==="mirror"&&(D=E({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let F="idle",U=null,K=null,ee=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=zv(P));const{calculatedDuration:G}=P;let le=1/0,ae=1/0;G!==null&&(le=G+a,ae=le*(s+1)-a);let q=0;const J=X=>{if(K===null)return;v>0&&(K=Math.min(K,X)),v<0&&(K=Math.min(X-ae/v,K)),U!==null?q=U:q=Math.round(X-K)*v;const de=q-t*(v>=0?1:-1),he=v>=0?de<0:de>ae;q=Math.max(de,0),F==="finished"&&U===null&&(q=ae);let fe=q,ge=P;if(s){const be=Math.min(q,ae)/le;let we=Math.floor(be),Ie=be%1;!Ie&&be>=1&&(Ie=1),Ie===1&&we--,we=Math.min(we,s+1),!!(we%2)&&(c==="reverse"?(Ie=1-Ie,a&&(Ie-=a/le)):c==="mirror"&&(ge=D)),fe=bo(0,1,Ie)*le}const ve=he?{done:!1,value:r[0]}:ge.next(fe);j&&(ve.value=j(ve.value));let{done:Te}=ve;!he&&G!==null&&(Te=v>=0?q>=ae:q<=0);const Ce=U===null&&(F==="finished"||F==="running"&&Te);return g&&g(ve.value),Ce&&N(),ve},z=()=>{L&&L.stop(),L=void 0},Q=()=>{F="idle",z(),C(),I(),K=ee=null},N=()=>{F="finished",h&&h(),z(),C()},re=()=>{if(b)return;L||(L=n(J));const X=L.now();u&&u(),U!==null?K=X-U:(!K||F==="finished")&&(K=X),F==="finished"&&I(),ee=K,U=null,F="running",L.start()};e&&re();const W={then(X,de){return w.then(X,de)},get time(){return Zr(q)},set time(X){X=So(X),q=X,U!==null||!L||v===0?U=X:K=L.now()-X/v},get duration(){const X=P.calculatedDuration===null?zv(P):P.calculatedDuration;return Zr(X)},get speed(){return v},set speed(X){X===v||!L||(v=X,W.time=Zr(q))},get state(){return F},play:re,pause:()=>{F="paused",U=q},stop:()=>{b=!0,F!=="idle"&&(F="idle",d&&d(),Q())},cancel:()=>{ee!==null&&J(ee),Q()},complete:()=>{F="finished"},sample:X=>(K=0,J(X))};return W}function O3(e){let t;return()=>(t===void 0&&(t=e()),t)}const P3=O3(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),j3=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ql=10,M3=2e4,k3=(e,t)=>t.type==="spring"||e==="backgroundColor"||!uv(t.ease);function L3(e,t,{onUpdate:n,onComplete:r,...o}){if(!(P3()&&j3.has(t)&&!o.repeatDelay&&o.repeatType!=="mirror"&&o.damping!==0&&o.type!=="inertia"))return!1;let a=!1,c,u,d=!1;const h=()=>{u=new Promise(E=>{c=E})};h();let{keyframes:g,duration:m=300,ease:v,times:b}=o;if(k3(t,o)){const E=Zl({...o,repeat:0,delay:0});let j={done:!1,value:g[0]};const P=[];let D=0;for(;!j.done&&D<M3;)j=E.sample(D),P.push(j.value),D+=Ql;b=void 0,g=P,m=D-Ql,v="linear"}const C=GP(e.owner.current,t,g,{...o,duration:m,ease:v,times:b}),w=()=>{d=!1,C.cancel()},I=()=>{d=!0,mt.update(w),c(),h()};return C.onfinish=()=>{d||(e.set(YP(g,o)),r&&r(),I())},{then(E,j){return u.then(E,j)},attachTimeline(E){return C.timeline=E,C.onfinish=null,jt},get time(){return Zr(C.currentTime||0)},set time(E){C.currentTime=So(E)},get speed(){return C.playbackRate},set speed(E){C.playbackRate=E},get duration(){return Zr(m)},play:()=>{a||(C.play(),Yr(w))},pause:()=>C.pause(),stop:()=>{if(a=!0,C.playState==="idle")return;const{currentTime:E}=C;if(E){const j=Zl({...o,autoplay:!1});e.setWithVelocity(j.sample(E-Ql).value,j.sample(E).value,Ql)}I()},complete:()=>{d||C.finish()},cancel:I}}function F3({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:jt,pause:jt,stop:jt,then:s=>(s(),Promise.resolve()),cancel:jt,complete:jt});return t?Zl({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const D3={type:"spring",stiffness:500,damping:25,restSpeed:10},_3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),R3={type:"keyframes",duration:.8},B3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},N3=(e,{keyframes:t})=>t.length>2?R3:ti.has(e)?e.startsWith("scale")?_3(t[1]):D3:B3,wf=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ao.test(t)||t==="0")&&!t.startsWith("url(")),V3=new Set(["brightness","contrast","saturate","opacity"]);function W3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Vl)||[];if(!r)return e;const o=n.replace(r,"");let s=V3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const z3=/([a-z-]*)\(.*?\)/g,Sf={...Ao,getAnimatableNone:e=>{const t=e.match(z3);return t?t.map(W3).join(" "):e}},U3={...U0,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:Sf,WebkitFilter:Sf},Af=e=>U3[e];function Uv(e,t){let n=Af(e);return n!==Sf&&(n=Ao),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Hv=e=>/^0[^.\s]+$/.test(e);function H3(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Hv(e)}function G3(e,t,n,r){const o=wf(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 d=0;d<s.length;d++)s[d]===null&&(s[d]=d===0?a:s[d-1]),H3(s[d])&&u.push(d),typeof s[d]=="string"&&s[d]!=="none"&&s[d]!=="0"&&(c=s[d]);if(o&&u.length&&c)for(let d=0;d<u.length;d++){const h=u[d];s[h]=Uv(t,c)}return s}function Y3({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:s,repeatType:a,repeatDelay:c,from:u,elapsed:d,...h}){return!!Object.keys(h).length}function Tf(e,t){return e[t]||e.default||e}const K3={skipAnimations:!1},Ef=(e,t,n,r={})=>o=>{const s=Tf(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-So(a);const u=G3(t,e,n,s),d=u[0],h=u[u.length-1],g=wf(e,d),m=wf(e,h);ca(g===m,`You are trying to animate ${e} from "${d}" to "${h}". ${d} is not an animatable value - to enable this animation set ${d} to a value animatable to ${h} via the \`style\` property.`);let v={keyframes:u,velocity:t.getVelocity(),ease:"easeOut",...s,delay:-c,onUpdate:b=>{t.set(b),s.onUpdate&&s.onUpdate(b)},onComplete:()=>{o(),s.onComplete&&s.onComplete()}};if(Y3(s)||(v={...v,...N3(e,v)}),v.duration&&(v.duration=So(v.duration)),v.repeatDelay&&(v.repeatDelay=So(v.repeatDelay)),!g||!m||HP.current||s.type===!1||K3.skipAnimations)return F3(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=L3(t,e,v);if(b)return b}return Zl(v)};function Jl(e){return!!(vn(e)&&e.add)}const Gv=e=>/^\-?\d*\.?\d+$/.test(e);function If(e,t){e.indexOf(t)===-1&&e.push(t)}function Of(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Pf{constructor(){this.subscriptions=[]}add(t){return If(this.subscriptions,t),()=>Of(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 Yv=new Set;function jf(e,t,n){e||Yv.has(t)||(console.warn(t),Yv.add(t))}const X3=e=>!isNaN(parseFloat(e));class Z3{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}=tn;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=X3(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&jf(!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 Pf);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?Dv(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 Ki(e,t){return new Z3(e,t)}const Kv=e=>t=>t.test(e),Xv=[ni,Le,kr,xo,iP,oP,{test:e=>e==="auto",parse:e=>e}],pa=e=>Xv.find(Kv(e)),Q3=[...Xv,dn,Ao],J3=e=>Q3.find(Kv(e));function q3(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function $3(e,t){const n=Yl(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=xP(s[a]);q3(e,a,c)}}function e4(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],d=t[u];let h=null;Array.isArray(d)&&(h=d[0]),h===null&&(h=(o=(r=n[u])!==null&&r!==void 0?r:e.readValue(u))!==null&&o!==void 0?o:t[u]),h!=null&&(typeof h=="string"&&(Gv(h)||Hv(h))?h=parseFloat(h):!J3(h)&&Ao.test(d)&&(h=Uv(u,d)),e.addValue(u,Ki(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function t4(e,t){return t?(t[e]||t.default||t).from:void 0}function n4(e,t,n){const r={};for(const o in e){const s=t4(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function r4({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function o4(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 Zv(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 d=[],h=o&&e.animationState&&e.animationState.getState()[o];for(const g in c){const m=e.getValue(g),v=c[g];if(!m||v===void 0||h&&r4(h,g))continue;const b={delay:n,elapsed:0,...Tf(s||{},g)};if(window.HandoffAppearAnimations){const I=e.getProps()[M0];if(I){const L=window.HandoffAppearAnimations(I,g,m,mt);L!==null&&(b.elapsed=L,b.isHandoff=!0)}}let C=!b.isHandoff&&!o4(m,v);if(b.type==="spring"&&(m.getVelocity()||b.velocity)&&(C=!1),m.animation&&(C=!1),C)continue;m.start(Ef(g,m,v,e.shouldReduceMotion&&ti.has(g)?{type:!1}:b));const w=m.animation;Jl(u)&&(u.add(g),w.then(()=>u.remove(g))),d.push(w)}return a&&Promise.all(d).then(()=>{a&&$3(e,a)}),d}function Mf(e,t,n={}){const r=Yl(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(Zv(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return i4(e,t,d+u,h,g,n)}:()=>Promise.resolve(),{when:c}=o;if(c){const[u,d]=c==="beforeChildren"?[s,a]:[a,s];return u().then(()=>d())}else return Promise.all([s(),a(n.delay)])}function i4(e,t,n=0,r=0,o=1,s){const a=[],c=(e.variantChildren.size-1)*r,u=o===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(e.variantChildren).sort(s4).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(Mf(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function s4(e,t){return e.sortNodePosition(t)}function a4(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Mf(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Mf(e,t,n);else{const o=typeof t=="function"?Yl(e,t,n.custom):t;r=Promise.all(Zv(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const l4=[...Jd].reverse(),c4=Jd.length;function u4(e){return t=>Promise.all(t.map(({animation:n,options:r})=>a4(e,n,r)))}function d4(e){let t=u4(e);const n=p4();let r=!0;const o=(u,d)=>{const h=Yl(e,d);if(h){const{transition:g,transitionEnd:m,...v}=h;u={...u,...v,...m}}return u};function s(u){t=u(e)}function a(u,d){const h=e.getProps(),g=e.getVariantContext(!0)||{},m=[],v=new Set;let b={},C=1/0;for(let I=0;I<c4;I++){const L=l4[I],E=n[L],j=h[L]!==void 0?h[L]:g[L],P=na(j),D=L===d?E.isActive:null;D===!1&&(C=I);let F=j===g[L]&&j!==h[L]&&P;if(F&&r&&e.manuallyAnimateOnMount&&(F=!1),E.protectedKeys={...b},!E.isActive&&D===null||!j&&!E.prevProp||_l(j)||typeof j=="boolean")continue;let K=f4(E.prevProp,j)||L===d&&E.isActive&&!F&&P||I>C&&P,ee=!1;const G=Array.isArray(j)?j:[j];let le=G.reduce(o,{});D===!1&&(le={});const{prevResolvedValues:ae={}}=E,q={...ae,...le},J=z=>{K=!0,v.has(z)&&(ee=!0,v.delete(z)),E.needsAnimating[z]=!0};for(const z in q){const Q=le[z],N=ae[z];if(b.hasOwnProperty(z))continue;let re=!1;zl(Q)&&zl(N)?re=!lv(Q,N):re=Q!==N,re?Q!==void 0?J(z):v.add(z):Q!==void 0&&v.has(z)?J(z):E.protectedKeys[z]=!0}E.prevProp=j,E.prevResolvedValues=le,E.isActive&&(b={...b,...le}),r&&e.blockInitialAnimation&&(K=!1),K&&(!F||ee)&&m.push(...G.map(z=>({animation:z,options:{type:L,...u}})))}if(v.size){const I={};v.forEach(L=>{const E=e.getBaseTarget(L);E!==void 0&&(I[L]=E)}),m.push({animation:I})}let w=!!m.length;return r&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(w=!1),r=!1,w?t(m):Promise.resolve()}function c(u,d,h){var g;if(n[u].isActive===d)return Promise.resolve();(g=e.variantChildren)===null||g===void 0||g.forEach(v=>{var b;return(b=v.animationState)===null||b===void 0?void 0:b.setActive(u,d)}),n[u].isActive=d;const m=a(h,u);for(const v in n)n[v].protectedKeys={};return m}return{animateChanges:a,setActive:c,setAnimateFunction:s,getState:()=>n}}function f4(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!lv(t,e):!1}function oi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function p4(){return{animate:oi(!0),whileInView:oi(),whileHover:oi(),whileTap:oi(),whileDrag:oi(),whileFocus:oi(),exit:oi()}}class h4 extends wo{constructor(t){super(t),t.animationState||(t.animationState=d4(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),_l(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 g4=0;class m4 extends wo{constructor(){super(...arguments),this.id=g4++}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 v4={animation:{Feature:h4},exit:{Feature:m4}},Qv=(e,t)=>Math.abs(e-t);function y4(e,t){const n=Qv(e.x,t.x),r=Qv(e.y,t.y);return Math.sqrt(n**2+r**2)}class Jv{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 g=Lf(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=y4(g.offset,{x:0,y:0})>=3;if(!m&&!v)return;const{point:b}=g,{timestamp:C}=tn;this.history.push({...b,timestamp:C});const{onStart:w,onMove:I}=this.handlers;m||(w&&w(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),I&&I(this.lastMoveEvent,g)},this.handlePointerMove=(g,m)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=kf(m,this.transformPagePoint),mt.update(this.updatePoint,!0)},this.handlePointerUp=(g,m)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:C}=this.handlers;if(this.dragSnapToOrigin&&C&&C(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=Lf(g.type==="pointercancel"?this.lastMoveEventInfo:kf(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),b&&b(g,w)},!ev(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Gl(t),c=kf(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=tn;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Lf(c,this.history)),this.removeListeners=Co(Xr(this.contextWindow,"pointermove",this.handlePointerMove),Xr(this.contextWindow,"pointerup",this.handlePointerUp),Xr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Yr(this.updatePoint)}}function kf(e,t){return t?{point:t(e.point)}:e}function qv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Lf({point:e},t){return{point:e,delta:qv(e,$v(t)),offset:qv(e,b4(t)),velocity:x4(t,.1)}}function b4(e){return e[0]}function $v(e){return e[e.length-1]}function x4(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=$v(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>So(t)));)n--;if(!r)return{x:0,y:0};const s=Zr(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 Ff(e,t=0,n=.01){return Math.abs(e-t)<=n}function ey(e,t,n,r=.5){e.origin=r,e.originPoint=Tt(t.min,t.max,e.origin),e.scale=Fn(n)/Fn(t),(Ff(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Tt(n.min,n.max,e.origin)-e.originPoint,(Ff(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){ey(e.x,t.x,n.x,r?r.originX:void 0),ey(e.y,t.y,n.y,r?r.originY:void 0)}function ty(e,t,n){e.min=n.min+t.min,e.max=e.min+Fn(t)}function C4(e,t,n){ty(e.x,t.x,n.x),ty(e.y,t.y,n.y)}function ny(e,t,n){e.min=t.min-n.min,e.max=e.min+Fn(t)}function ga(e,t,n){ny(e.x,t.x,n.x),ny(e.y,t.y,n.y)}function w4(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?Tt(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?Tt(n,e,r.max):Math.min(e,n)),e}function ry(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 S4(e,{top:t,left:n,bottom:r,right:o}){return{x:ry(e.x,n,o),y:ry(e.y,t,r)}}function oy(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 A4(e,t){return{x:oy(e.x,t.x),y:oy(e.y,t.y)}}function T4(e,t){let n=.5;const r=Fn(e),o=Fn(t);return o>r?n=fa(t.min,t.max-r,e.min):r>o&&(n=fa(e.min,e.max-o,t.min)),bo(0,1,n)}function E4(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 Df=.35;function I4(e=Df){return e===!1?e=0:e===!0&&(e=Df),{x:iy(e,"left","right"),y:iy(e,"top","bottom")}}function iy(e,t,n){return{min:sy(e,t),max:sy(e,n)}}function sy(e,t){return typeof e=="number"?e:e[t]||0}const ay=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:ay(),y:ay()}),ly=()=>({min:0,max:0}),Vt=()=>({x:ly(),y:ly()});function Jn(e){return[e("x"),e("y")]}function cy({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function O4({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function P4(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 _f(e){return e===void 0||e===1}function Rf({scale:e,scaleX:t,scaleY:n}){return!_f(e)||!_f(t)||!_f(n)}function ii(e){return Rf(e)||uy(e)||e.z||e.rotate||e.rotateX||e.rotateY}function uy(e){return dy(e.x)||dy(e.y)}function dy(e){return e&&e!=="0%"}function ql(e,t,n){const r=e-n,o=t*r;return n+o}function fy(e,t,n,r,o){return o!==void 0&&(e=ql(e,o,r)),ql(e,n,r)+t}function Bf(e,t=0,n=1,r,o){e.min=fy(e.min,t,n,r,o),e.max=fy(e.max,t,n,r,o)}function py(e,{x:t,y:n}){Bf(e.x,t.translate,t.scale,t.originPoint),Bf(e.y,n.translate,n.scale,n.originPoint)}function j4(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&&Zi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,py(e,a)),r&&ii(s.latestValues)&&Zi(e,s.latestValues))}t.x=hy(t.x),t.y=hy(t.y)}function hy(e){return Number.isInteger(e)||e>1.0000000000001||e<.999999999999?e:1}function To(e,t){e.min=e.min+t,e.max=e.max+t}function gy(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Tt(e.min,e.max,s);Bf(e,t[n],t[r],a,t.scale)}const M4=["x","scaleX","originX"],k4=["y","scaleY","originY"];function Zi(e,t){gy(e.x,t,M4),gy(e.y,t,k4)}function my(e,t){return cy(P4(e.getBoundingClientRect(),t))}function L4(e,t,n){const r=my(e,n),{scroll:o}=t;return o&&(To(r.x,o.offset.x),To(r.y,o.offset.y)),r}const vy=({current:e})=>e?e.ownerDocument.defaultView:null,F4=new WeakMap;class D4{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=Vt(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=h=>{const{dragSnapToOrigin:g}=this.getProps();g?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gl(h,"page").point)},s=(h,g)=>{const{drag:m,dragPropagation:v,onDragStart:b}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ov(m),!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),Jn(w=>{let I=this.getAxisMotionValue(w).get()||0;if(kr.test(I)){const{projection:L}=this.visualElement;if(L&&L.layout){const E=L.layout.layoutBox[w];E&&(I=Fn(E)*(parseFloat(I)/100))}}this.originPoint[w]=I}),b&&mt.update(()=>b(h,g),!1,!0);const{animationState:C}=this.visualElement;C&&C.setActive("whileDrag",!0)},a=(h,g)=>{const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:b,onDrag:C}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:w}=g;if(v&&this.currentDirection===null){this.currentDirection=_4(w),this.currentDirection!==null&&b&&b(this.currentDirection);return}this.updateAxis("x",g.point,w),this.updateAxis("y",g.point,w),this.visualElement.render(),C&&C(h,g)},c=(h,g)=>this.stop(h,g),u=()=>Jn(h=>{var g;return this.getAnimationState(h)==="paused"&&((g=this.getAxisMotionValue(h).animation)===null||g===void 0?void 0:g.play())}),{dragSnapToOrigin:d}=this.getProps();this.panSession=new Jv(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:vy(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||!$l(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=w4(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&&Gi(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=S4(o.layoutBox,n):this.constraints=!1,this.elastic=I4(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Jn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=E4(o.layoutBox[a],this.constraints[a]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Gi(t))return!1;const r=t.current;wr(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=L4(r,o.root,this.visualElement.getTransformPagePoint());let a=A4(o.layout.layoutBox,s);if(n){const c=n(O4(a));this.hasMutatedConstraints=!!c,c&&(a=cy(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=Jn(h=>{if(!$l(h,n,this.currentDirection))return;let g=u&&u[h]||{};a&&(g={min:0,max:0});const m=o?200:1e6,v=o?40:1e7,b={type:"inertia",velocity:r?t[h]:0,bounceStiffness:m,bounceDamping:v,timeConstant:750,restDelta:1,restSpeed:10,...s,...g};return this.startAxisValueAnimation(h,b)});return Promise.all(d).then(c)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return r.start(Ef(t,r,0,n))}stopAnimation(){Jn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Jn(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){Jn(n=>{const{drag:r}=this.getProps();if(!$l(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]-Tt(a,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Gi(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};Jn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=T4({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(),Jn(a=>{if(!$l(a,t,null))return;const c=this.getAxisMotionValue(a),{min:u,max:d}=this.constraints[a];c.set(Tt(u,d,o[a]))})}addListeners(){if(!this.visualElement.current)return;F4.set(this.visualElement,this);const t=this.visualElement.current,n=Xr(t,"pointerdown",u=>{const{drag:d,dragListener:h=!0}=this.getProps();d&&h&&this.start(u)}),r=()=>{const{dragConstraints:u}=this.getProps();Gi(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=Kr(window,"resize",()=>this.scalePositionWithinConstraints()),c=o.addEventListener("didUpdate",({delta:u,hasLayoutChanged:d})=>{this.isDragging&&d&&(Jn(h=>{const g=this.getAxisMotionValue(h);g&&(this.originPoint[h]+=u[h].translate,g.set(g.get()+u[h].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=Df,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function $l(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function _4(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class R4 extends wo{constructor(t){super(t),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new D4(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||jt}unmount(){this.removeGroupControls(),this.removeListeners()}}const yy=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class B4 extends wo{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(t){this.session=new Jv(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:vy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:yy(t),onStart:yy(n),onMove:r,onEnd:(s,a)=>{delete this.session,o&&mt.update(()=>o(s,a))}}}mount(){this.removePointerDownListener=Xr(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 N4(){const e=T.useContext(Zd);if(e===null)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,o=T.useId();return T.useEffect(()=>r(o),[]),!t&&n?[!1,()=>n&&n(o)]:[!0]}const ec={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function by(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const ma={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Le.test(e))e=parseFloat(e);else return e;const n=by(e,t.target.x),r=by(e,t.target.y);return`${n}% ${r}%`}},V4={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Ao.parse(e);if(o.length>5)return r;const s=Ao.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 d=Tt(c,u,.5);return typeof o[2+a]=="number"&&(o[2+a]/=d),typeof o[3+a]=="number"&&(o[3+a]/=d),s(o)}};class W4 extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;JO(z4),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()})),ec.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 xy(e){const[t,n]=N4(),r=T.useContext(D0);return T.createElement(W4,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(_0),isPresent:t,safeToRemove:n})}const z4={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:V4},Cy=["TopLeft","TopRight","BottomLeft","BottomRight"],U4=Cy.length,wy=e=>typeof e=="string"?parseFloat(e):e,Sy=e=>typeof e=="number"||Le.test(e);function H4(e,t,n,r,o,s){o?(e.opacity=Tt(0,n.opacity!==void 0?n.opacity:1,G4(r)),e.opacityExit=Tt(t.opacity!==void 0?t.opacity:1,0,Y4(r))):s&&(e.opacity=Tt(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let a=0;a<U4;a++){const c=`border${Cy[a]}Radius`;let u=Ay(t,c),d=Ay(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||Sy(u)===Sy(d)?(e[c]=Math.max(Tt(wy(u),wy(d),r),0),(kr.test(d)||kr.test(u))&&(e[c]+="%")):e[c]=d}(t.rotate||n.rotate)&&(e.rotate=Tt(t.rotate||0,n.rotate||0,r))}function Ay(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const G4=Ty(0,.5,vv),Y4=Ty(.5,.95,jt);function Ty(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function Ey(e,t){e.min=t.min,e.max=t.max}function qn(e,t){Ey(e.x,t.x),Ey(e.y,t.y)}function Iy(e,t,n,r,o){return e-=t,e=ql(e,1/n,r),o!==void 0&&(e=ql(e,1/o,r)),e}function K4(e,t=0,n=1,r=.5,o,s=e,a=e){if(kr.test(t)&&(t=parseFloat(t),t=Tt(a.min,a.max,t/100)-a.min),typeof t!="number")return;let c=Tt(s.min,s.max,r);e===s&&(c-=t),e.min=Iy(e.min,t,n,c,o),e.max=Iy(e.max,t,n,c,o)}function Oy(e,t,[n,r,o],s,a){K4(e,t[n],t[r],t[o],t.scale,s,a)}const X4=["x","scaleX","originX"],Z4=["y","scaleY","originY"];function Py(e,t,n,r){Oy(e.x,t,X4,n?n.x:void 0,r?r.x:void 0),Oy(e.y,t,Z4,n?n.y:void 0,r?r.y:void 0)}function jy(e){return e.translate===0&&e.scale===1}function My(e){return jy(e.x)&&jy(e.y)}function Q4(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 ky(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 Ly(e){return Fn(e.x)/Fn(e.y)}class J4{constructor(){this.members=[]}add(t){If(this.members,t),t.scheduleRender()}remove(t){if(Of(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 Fy(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:d,rotateY:h}=n;u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),h&&(r+=`rotateY(${h}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 q4=(e,t)=>e.depth-t.depth;class $4{constructor(){this.children=[],this.isDirty=!1}add(t){If(this.children,t),this.isDirty=!0}remove(t){Of(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(q4),this.isDirty=!1,this.children.forEach(t)}}function ej(e,t){const n=performance.now(),r=({timestamp:o})=>{const s=o-n;s>=t&&(Yr(r),e(s-t))};return mt.read(r,!0),()=>Yr(r)}function tj(e){window.MotionDebug&&window.MotionDebug.record(e)}function nj(e){return e instanceof SVGElement&&e.tagName!=="svg"}function rj(e,t,n){const r=vn(e)?e:Ki(e);return r.start(Ef("",r,t,n)),r.animation}const Dy=["","X","Y","Z"],oj={visibility:"hidden"},_y=1e3;let ij=0;const si={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Ry({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=ij++,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,si.totalNodes=si.resolvedTargetDeltas=si.recalculatedProjection=0,this.nodes.forEach(lj),this.nodes.forEach(pj),this.nodes.forEach(hj),this.nodes.forEach(cj),tj(si)},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 $4)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Pf),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=nj(a),this.instance=a;const{layoutId:u,layout:d,visualElement:h}=this.options;if(h&&!h.current&&h.mount(a),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),c&&(d||u)&&(this.isLayoutDirty=!0),e){let g;const m=()=>this.root.updateBlockedByResize=!1;e(a,()=>{this.root.updateBlockedByResize=!0,g&&g(),g=ej(m,250),ec.hasAnimatedSinceResize&&(ec.hasAnimatedSinceResize=!1,this.nodes.forEach(Ny))})}u&&this.root.registerSharedNode(u,this),this.options.animate!==!1&&h&&(u||d)&&this.addEventListener("didUpdate",({delta:g,hasLayoutChanged:m,hasRelativeTargetChanged:v,layout:b})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const C=this.options.transition||h.getDefaultTransition()||bj,{onLayoutAnimationStart:w,onLayoutAnimationComplete:I}=h.getProps(),L=!this.targetLayout||!ky(this.targetLayout,b)||v,E=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||E||m&&(L||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,E);const j={...Tf(C,"layout"),onPlay:w,onComplete:I};(h.shouldReduceMotion||this.options.layoutRoot)&&(j.delay=0,j.type=!1),this.startAnimation(j)}else m||Ny(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=b})}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,Yr(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(gj),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 h=0;h<this.path.length;h++){const g=this.path[h];g.shouldResetTransform=!0,g.updateScroll("snapshot"),g.options.layoutRoot&&g.willUpdate(!1)}const{layoutId:c,layout:u}=this.options;if(c===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),a&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(By);return}this.isUpdating||this.nodes.forEach(dj),this.isUpdating=!1,this.nodes.forEach(fj),this.nodes.forEach(sj),this.nodes.forEach(aj),this.clearAllSnapshots();const c=performance.now();tn.delta=bo(0,1e3/60,c-tn.timestamp),tn.timestamp=c,tn.isProcessing=!0,lf.update.process(tn),lf.preRender.process(tn),lf.render.process(tn),tn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(uj),this.sharedNodes.forEach(mj)}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=Vt(),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&&!My(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||ii(this.latestValues)||h)&&(o(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(a=!0){const c=this.measurePageBox();let u=this.removeElementScroll(c);return a&&(u=this.removeTransform(u)),xj(u),{animationId:this.root.animationId,measuredBox:c,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:a}=this.options;if(!a)return Vt();const c=a.measureViewportBox(),{scroll:u}=this.root;return u&&(To(c.x,u.offset.x),To(c.y,u.offset.y)),c}removeElementScroll(a){const c=Vt();qn(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:h,options:g}=d;if(d!==this.root&&h&&g.layoutScroll){if(h.isRoot){qn(c,a);const{scroll:m}=this.root;m&&(To(c.x,-m.offset.x),To(c.y,-m.offset.y))}To(c.x,h.offset.x),To(c.y,h.offset.y)}}return c}applyTransform(a,c=!1){const u=Vt();qn(u,a);for(let d=0;d<this.path.length;d++){const h=this.path[d];!c&&h.options.layoutScroll&&h.scroll&&h!==h.root&&Zi(u,{x:-h.scroll.offset.x,y:-h.scroll.offset.y}),ii(h.latestValues)&&Zi(u,h.latestValues)}return ii(this.latestValues)&&Zi(u,this.latestValues),u}removeTransform(a){const c=Vt();qn(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!ii(d.latestValues))continue;Rf(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();qn(h,g),Py(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return ii(this.latestValues)&&Py(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!==tn.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 d=!!this.resumingFrom||this!==u;if(!(a||d&&this.isSharedProjectionDirty||this.isProjectionDirty||!((c=this.parent)===null||c===void 0)&&c.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:g,layoutId:m}=this.options;if(!(!this.layout||!(g||m))){if(this.resolvedRelativeTargetAt=tn.timestamp,!this.targetDelta&&!this.relativeTarget){const v=this.getClosestProjectingParent();v&&v.layout&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),ga(this.relativeTargetOrigin,this.layout.layoutBox,v.layout.layoutBox),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=Vt(),this.targetWithTransforms=Vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),C4(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qn(this.target,this.layout.layoutBox),py(this.target,this.targetDelta)):qn(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const v=this.getClosestProjectingParent();v&&!!v.resumingFrom==!!this.resumingFrom&&!v.options.layoutScroll&&v.target&&this.animationProgress!==1?(this.relativeParent=v,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Vt(),this.relativeTargetOrigin=Vt(),ga(this.relativeTargetOrigin,this.target,v.target),qn(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}si.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Rf(this.parent.latestValues)||uy(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 d=!0;if((this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty)&&(d=!1),u&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(d=!1),this.resolvedRelativeTargetAt===tn.timestamp&&(d=!1),d)return;const{layout:h,layoutId:g}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||g))return;qn(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;j4(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:b}=c;if(!b){this.projectionTransform&&(this.projectionDelta=Xi(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=Xi(),this.projectionDeltaWithTransform=Xi());const C=this.projectionTransform;ha(this.projectionDelta,this.layoutCorrected,b,this.latestValues),this.projectionTransform=Fy(this.projectionDelta,this.treeScale),(this.projectionTransform!==C||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),si.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,d=u?u.latestValues:{},h={...this.latestValues},g=Xi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!c;const m=Vt(),v=u?u.source:void 0,b=this.layout?this.layout.source:void 0,C=v!==b,w=this.getStack(),I=!w||w.members.length<=1,L=!!(C&&!I&&this.options.crossfade===!0&&!this.path.some(yj));this.animationProgress=0;let E;this.mixTargetDelta=j=>{const P=j/1e3;Vy(g.x,a.x,P),Vy(g.y,a.y,P),this.setTargetDelta(g),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ga(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),vj(this.relativeTarget,this.relativeTargetOrigin,m,P),E&&Q4(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Vt()),qn(E,this.relativeTarget)),C&&(this.animationValues=h,H4(h,d,this.latestValues,P,L,I)),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&&(Yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=mt.update(()=>{ec.hasAnimatedSinceResize=!0,this.currentAnimation=rj(0,_y,{...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(_y),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const a=this.getLead();let{targetWithTransforms:c,target:u,layout:d,latestValues:h}=a;if(!(!c||!u||!d)){if(this!==a&&this.layout&&d&&Gy(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Fn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Fn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}qn(c,u),Zi(c,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new J4),this.sharedNodes.get(a).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.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 d=this.getStack();d&&d.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 d={};for(let h=0;h<Dy.length;h++){const g="rotate"+Dy[h];u[g]&&(d[g]=u[g],a.setStaticValue(g,0))}a.render();for(const h in d)a.setStaticValue(h,d[h]);a.scheduleRender()}getProjectionStyles(a){var c,u;if(!this.instance||this.isSVG)return;if(!this.isVisible)return oj;const d={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Ul(a==null?void 0:a.pointerEvents)||"",d.transform=h?h(this.latestValues,""):"none",d;const g=this.getLead();if(!this.projectionDelta||!this.layout||!g.target){const C={};return this.options.layoutId&&(C.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,C.pointerEvents=Ul(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!ii(this.latestValues)&&(C.transform=h?h({},""):"none",this.hasProjected=!1),C}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=Fy(this.projectionDeltaWithTransform,this.treeScale,m),h&&(d.transform=h(m,d.transform));const{x:v,y:b}=this.projectionDelta;d.transformOrigin=`${v.origin*100}% ${b.origin*100}% 0`,g.animationValues?d.opacity=g===this?(u=(c=m.opacity)!==null&&c!==void 0?c:this.latestValues.opacity)!==null&&u!==void 0?u:1:this.preserveOpacity?this.latestValues.opacity:m.opacityExit:d.opacity=g===this?m.opacity!==void 0?m.opacity:"":m.opacityExit!==void 0?m.opacityExit:0;for(const C in Bl){if(m[C]===void 0)continue;const{correct:w,applyTo:I}=Bl[C],L=d.transform==="none"?m[C]:w(m[C],g);if(I){const E=I.length;for(let j=0;j<E;j++)d[I[j]]=L}else d[C]=L}return this.options.layoutId&&(d.pointerEvents=g===this?Ul(a==null?void 0:a.pointerEvents)||"":"none"),d}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(By),this.root.sharedNodes.clear()}}}function sj(e){e.updateLayout()}function aj(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"?Jn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Fn(m);m.min=r[g].min,m.max=m.min+v}):Gy(s,n.layoutBox,r)&&Jn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Fn(r[g]);m.max=m.min+v,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[g].max=e.relativeTarget[g].min+v)});const c=Xi();ha(c,r,n.layoutBox);const u=Xi();a?ha(u,e.applyTransform(o,!0),n.measuredBox):ha(u,r,n.layoutBox);const d=!My(c);let h=!1;if(!e.resumeFrom){const g=e.getClosestProjectingParent();if(g&&!g.resumeFrom){const{snapshot:m,layout:v}=g;if(m&&v){const b=Vt();ga(b,n.layoutBox,m.layoutBox);const C=Vt();ga(C,r,v.layoutBox),ky(b,C)||(h=!0),g.options.layoutRoot&&(e.relativeTarget=C,e.relativeTargetOrigin=b,e.relativeParent=g)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:h})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function lj(e){si.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 cj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uj(e){e.clearSnapshot()}function By(e){e.clearMeasurements()}function dj(e){e.isLayoutDirty=!1}function fj(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ny(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function pj(e){e.resolveTargetDelta()}function hj(e){e.calcProjection()}function gj(e){e.resetRotation()}function mj(e){e.removeLeadSnapshot()}function Vy(e,t,n){e.translate=Tt(t.translate,0,n),e.scale=Tt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Wy(e,t,n,r){e.min=Tt(t.min,n.min,r),e.max=Tt(t.max,n.max,r)}function vj(e,t,n,r){Wy(e.x,t.x,n.x,r),Wy(e.y,t.y,n.y,r)}function yj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const bj={duration:.45,ease:[.4,0,.1,1]},zy=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Uy=zy("applewebkit/")&&!zy("chrome/")?Math.round:jt;function Hy(e){e.min=Uy(e.min),e.max=Uy(e.max)}function xj(e){Hy(e.x),Hy(e.y)}function Gy(e,t,n){return e==="position"||e==="preserve-aspect"&&!Ff(Ly(t),Ly(n),.2)}const Cj=Ry({attachResizeListener:(e,t)=>Kr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Nf={current:void 0},Yy=Ry({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Nf.current){const e=new Cj({});e.mount(window),e.setOptions({layoutScroll:!0}),Nf.current=e}return Nf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),wj={pan:{Feature:B4},drag:{Feature:R4,ProjectionNode:Yy,MeasureLayout:xy}},Sj=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Aj(e){const t=Sj.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const Tj=4;function Vf(e,t,n=1){wr(n<=Tj,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=Aj(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return Gv(a)?parseFloat(a):a}else return ef(o)?Vf(o,t,n+1):o}function Ej(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(!ef(s))return;const a=Vf(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!ef(s))continue;const a=Vf(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const Ij=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ky=e=>Ij.has(e),Oj=e=>Object.keys(e).some(Ky),tc=e=>e===ni||e===Le,Xy=(e,t)=>parseFloat(e.split(", ")[t]),Zy=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return Xy(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?Xy(s[1],e):0}},Pj=new Set(["x","y","z"]),jj=oa.filter(e=>!Pj.has(e));function Mj(e){const t=[];return jj.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 Qi={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:Zy(4,13),y:Zy(5,14)};Qi.translateX=Qi.x,Qi.translateY=Qi.y;const kj=(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(d=>{c[d]=Qi[d](r,s)}),t.render();const u=t.measureViewportBox();return n.forEach(d=>{const h=t.getValue(d);h&&h.jump(c[d]),e[d]=Qi[d](u,s)}),e},Lj=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Ky);let s=[],a=!1;const c=[];if(o.forEach(u=>{const d=e.getValue(u);if(!e.hasValue(u))return;let h=n[u],g=pa(h);const m=t[u];let v;if(zl(m)){const b=m.length,C=m[0]===null?1:0;h=m[C],g=pa(h);for(let w=C;w<b&&m[w]!==null;w++)v?wr(pa(m[w])===v,"All keyframes must be of the same type"):(v=pa(m[w]),wr(v===g||tc(g)&&tc(v),"Keyframes must be of the same dimension as the current value"))}else v=pa(m);if(g!==v)if(tc(g)&&tc(v)){const b=d.get();typeof b=="string"&&d.set(parseFloat(b)),typeof m=="string"?t[u]=parseFloat(m):Array.isArray(m)&&v===Le&&(t[u]=m.map(parseFloat))}else g!=null&&g.transform&&(v!=null&&v.transform)&&(h===0||m===0)?h===0?d.set(v.transform(h)):t[u]=g.transform(m):(a||(s=Mj(e),a=!0),c.push(u),r[u]=r[u]!==void 0?r[u]:t[u],d.jump(m))}),c.length){const u=c.indexOf("height")>=0?window.pageYOffset:null,d=kj(t,e,c);return s.length&&s.forEach(([h,g])=>{e.getValue(h).set(g)}),e.render(),Dl&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function Fj(e,t,n,r){return Oj(t)?Lj(e,t,n,r):{target:t,transitionEnd:r}}const Dj=(e,t,n,r)=>{const o=Ej(e,t,r);return t=o.target,r=o.transitionEnd,Fj(e,t,n,r)},Wf={current:null},Qy={current:!1};function _j(){if(Qy.current=!0,!!Dl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wf.current=e.matches;e.addListener(t),t()}else Wf.current=!1}function Rj(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(vn(s))e.addValue(o,s),Jl(r)&&r.add(o),process.env.NODE_ENV==="development"&&jf(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(vn(a))e.addValue(o,Ki(s,{owner:e})),Jl(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,Ki(c!==void 0?c:s,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const Jy=new WeakMap,qy=Object.keys(ra),Bj=qy.length,$y=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Nj=qd.length;class Vj{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=Rl(n),this.isVariantNode=k0(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(n,{});for(const g in h){const m=h[g];c[g]!==void 0&&vn(m)&&(m.set(c[g],!1),Jl(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,Jy.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)),Qy.current||_j(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Wf.current,process.env.NODE_ENV!=="production"&&jf(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(){Jy.delete(this.current),this.projection&&this.projection.unmount(),Yr(this.notifyUpdate),Yr(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=ti.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?ca(!1,u):wr(!1,u)}for(let u=0;u<Bj;u++){const d=qy[u],{isEnabled:h,Feature:g,ProjectionNode:m,MeasureLayout:v}=ra[d];m&&(a=m),h(n)&&(!this.features[d]&&g&&(this.features[d]=new g(this)),v&&(c=v))}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:d,drag:h,dragConstraints:g,layoutScroll:m,layoutRoot:v}=n;this.projection.setOptions({layoutId:u,layout:d,alwaysMeasureLayout:!!h||g&&Gi(g),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:s,layoutScroll:m,layoutRoot:v})}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):Vt()}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<$y.length;r++){const o=$y[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=Rj(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<Nj;r++){const o=qd[r],s=this.props[o];(na(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=Ki(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=af(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&&!vn(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 Pf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class eb extends Vj{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=n4(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){e4(this,r,a);const c=Dj(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function Wj(e){return window.getComputedStyle(e)}class zj extends eb{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ti.has(n)){const r=Af(n);return r&&r.default||0}else{const r=Wj(t),o=(N0(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return my(t,n)}build(t,n,r,o){tf(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return sf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;vn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){X0(t,n,r,o)}}class Uj extends eb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ti.has(n)){const r=Af(n);return r&&r.default||0}return n=Z0.has(n)?n:Qd(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return J0(t,n)}build(t,n,r,o){rf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){Q0(t,n,r,o)}mount(t){this.isSVGTag=of(t.tagName),super.mount(t)}}const Hj=(e,t)=>$d(e)?new Uj(t,{enableHardwareAcceleration:!1}):new zj(t,{enableHardwareAcceleration:!0}),Gj={...v4,...WP,...wj,...{layout:{ProjectionNode:Yy,MeasureLayout:xy}}},nc=ZO((e,t)=>OP(e,t,Gj,Hj)),Yj=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function tb(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?Yj(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function Kj({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]=tb(s,a),[d,h]=tb(s,a);switch(t){case"rotate":return f.jsx(nc.div,{animate:{rotate:360},transition:{repeat:1/0,repeatType:"loop",duration:2,repeatDelay:0},children:e});case"slide":return n==="up"||n==="down"?f.jsx(nc.div,{animate:{y:d!==void 0?d:""},onHoverEnd:()=>h(),onHoverStart:()=>h(),children:e}):f.jsx(nc.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}),f.jsx(nc.div,{whileHover:{scale:o==null?void 0:o.hover},whileTap:{scale:o==null?void 0:o.tap},children:e})}}function Qt(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 Ge(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z.apply(null,arguments)}var yn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Jr(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var zf={exports:{}},rc={exports:{}},rt={};/** @license React v16.13.1
|
|
2
2
|
* react-is.production.min.js
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var nb;function
|
|
8
|
+
*/var nb;function Xj(){if(nb)return rt;nb=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,L=e?Symbol.for("react.scope"):60119;function E(P){if(typeof P=="object"&&P!==null){var D=P.$$typeof;switch(D){case t:switch(P=P.type,P){case u:case d:case r:case s:case o:case g:return P;default:switch(P=P&&P.$$typeof,P){case c:case h:case b:case v:case a:return P;default:return D}}case n:return D}}}function j(P){return E(P)===d}return rt.AsyncMode=u,rt.ConcurrentMode=d,rt.ContextConsumer=c,rt.ContextProvider=a,rt.Element=t,rt.ForwardRef=h,rt.Fragment=r,rt.Lazy=b,rt.Memo=v,rt.Portal=n,rt.Profiler=s,rt.StrictMode=o,rt.Suspense=g,rt.isAsyncMode=function(P){return j(P)||E(P)===u},rt.isConcurrentMode=j,rt.isContextConsumer=function(P){return E(P)===c},rt.isContextProvider=function(P){return E(P)===a},rt.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},rt.isForwardRef=function(P){return E(P)===h},rt.isFragment=function(P){return E(P)===r},rt.isLazy=function(P){return E(P)===b},rt.isMemo=function(P){return E(P)===v},rt.isPortal=function(P){return E(P)===n},rt.isProfiler=function(P){return E(P)===s},rt.isStrictMode=function(P){return E(P)===o},rt.isSuspense=function(P){return E(P)===g},rt.isValidElementType=function(P){return typeof P=="string"||typeof P=="function"||P===r||P===d||P===s||P===o||P===g||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===b||P.$$typeof===v||P.$$typeof===a||P.$$typeof===c||P.$$typeof===h||P.$$typeof===w||P.$$typeof===I||P.$$typeof===L||P.$$typeof===C)},rt.typeOf=E,rt}var ot={};/** @license React v16.13.1
|
|
9
9
|
* react-is.development.js
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
12
|
*
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/var rb;function
|
|
15
|
+
*/var rb;function Zj(){return rb||(rb=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,h=e?Symbol.for("react.forward_ref"):60112,g=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,C=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,L=e?Symbol.for("react.scope"):60119;function E(ue){return typeof ue=="string"||typeof ue=="function"||ue===r||ue===d||ue===s||ue===o||ue===g||ue===m||typeof ue=="object"&&ue!==null&&(ue.$$typeof===b||ue.$$typeof===v||ue.$$typeof===a||ue.$$typeof===c||ue.$$typeof===h||ue.$$typeof===w||ue.$$typeof===I||ue.$$typeof===L||ue.$$typeof===C)}function j(ue){if(typeof ue=="object"&&ue!==null){var qe=ue.$$typeof;switch(qe){case t:var me=ue.type;switch(me){case u:case d:case r:case s:case o:case g:return me;default:var Qe=me&&me.$$typeof;switch(Qe){case c:case h:case b:case v:case a:return Qe;default:return qe}}case n:return qe}}}var P=u,D=d,F=c,U=a,K=t,ee=h,G=r,le=b,ae=v,q=n,J=s,z=o,Q=g,N=!1;function re(ue){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),W(ue)||j(ue)===u}function W(ue){return j(ue)===d}function X(ue){return j(ue)===c}function de(ue){return j(ue)===a}function he(ue){return typeof ue=="object"&&ue!==null&&ue.$$typeof===t}function fe(ue){return j(ue)===h}function ge(ue){return j(ue)===r}function ve(ue){return j(ue)===b}function Te(ue){return j(ue)===v}function Ce(ue){return j(ue)===n}function be(ue){return j(ue)===s}function we(ue){return j(ue)===o}function Ie(ue){return j(ue)===g}ot.AsyncMode=P,ot.ConcurrentMode=D,ot.ContextConsumer=F,ot.ContextProvider=U,ot.Element=K,ot.ForwardRef=ee,ot.Fragment=G,ot.Lazy=le,ot.Memo=ae,ot.Portal=q,ot.Profiler=J,ot.StrictMode=z,ot.Suspense=Q,ot.isAsyncMode=re,ot.isConcurrentMode=W,ot.isContextConsumer=X,ot.isContextProvider=de,ot.isElement=he,ot.isForwardRef=fe,ot.isFragment=ge,ot.isLazy=ve,ot.isMemo=Te,ot.isPortal=Ce,ot.isProfiler=be,ot.isStrictMode=we,ot.isSuspense=Ie,ot.isValidElementType=E,ot.typeOf=j}()),ot}var ob;function ib(){return ob||(ob=1,process.env.NODE_ENV==="production"?rc.exports=Xj():rc.exports=Zj()),rc.exports}/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/var Uf,sb;function
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(W),null," "));var ue=Ie(Te,we,fe,ge,ve+"."+we,n);if(ue)return ue}return null}return w(
|
|
19
|
+
*/var Uf,sb;function Qj(){if(sb)return Uf;sb=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function o(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var a={},c=0;c<10;c++)a["_"+String.fromCharCode(c)]=c;var u=Object.getOwnPropertyNames(a).map(function(h){return a[h]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(h){d[h]=h}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Uf=o()?Object.assign:function(s,a){for(var c,u=r(s),d,h=1;h<arguments.length;h++){c=Object(arguments[h]);for(var g in c)t.call(c,g)&&(u[g]=c[g]);if(e){d=e(c);for(var m=0;m<d.length;m++)n.call(c,d[m])&&(u[d[m]]=c[d[m]])}}return u},Uf}var Hf,ab;function Gf(){if(ab)return Hf;ab=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Hf=e,Hf}var Yf,lb;function cb(){return lb||(lb=1,Yf=Function.call.bind(Object.prototype.hasOwnProperty)),Yf}var Kf,ub;function Jj(){if(ub)return Kf;ub=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Gf(),n={},r=cb();e=function(s){var a="Warning: "+s;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(s,a,c,u,d){if(process.env.NODE_ENV!=="production"){for(var h in s)if(r(s,h)){var g;try{if(typeof s[h]!="function"){var m=Error((u||"React class")+": "+c+" type `"+h+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof s[h]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}g=s[h](a,h,u,c,null,t)}catch(b){g=b}if(g&&!(g instanceof Error)&&e((u||"React class")+": type specification of "+c+" `"+h+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in n)){n[g.message]=!0;var v=d?d():"";e("Failed "+c+" type: "+g.message+(v??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Kf=o,Kf}var Xf,db;function qj(){if(db)return Xf;db=1;var e=ib(),t=Qj(),n=Gf(),r=cb(),o=Jj(),s=function(){};process.env.NODE_ENV!=="production"&&(s=function(c){var u="Warning: "+c;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function a(){return null}return Xf=function(c,u){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(W){var X=W&&(d&&W[d]||W[h]);if(typeof X=="function")return X}var m="<<anonymous>>",v={array:I("array"),bigint:I("bigint"),bool:I("boolean"),func:I("function"),number:I("number"),object:I("object"),string:I("string"),symbol:I("symbol"),any:L(),arrayOf:E,element:j(),elementType:P(),instanceOf:D,node:ee(),objectOf:U,oneOf:F,oneOfType:K,shape:le,exact:ae};function b(W,X){return W===X?W!==0||1/W===1/X:W!==W&&X!==X}function C(W,X){this.message=W,this.data=X&&typeof X=="object"?X:{},this.stack=""}C.prototype=Error.prototype;function w(W){if(process.env.NODE_ENV!=="production")var X={},de=0;function he(ge,ve,Te,Ce,be,we,Ie){if(Ce=Ce||m,we=we||Te,Ie!==n){if(u){var ue=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw ue.name="Invariant Violation",ue}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var qe=Ce+":"+Te;!X[qe]&&de<3&&(s("You are manually calling a React.PropTypes validation function for the `"+we+"` prop on `"+Ce+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),X[qe]=!0,de++)}}return ve[Te]==null?ge?ve[Te]===null?new C("The "+be+" `"+we+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new C("The "+be+" `"+we+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:W(ve,Te,Ce,be,we)}var fe=he.bind(null,!1);return fe.isRequired=he.bind(null,!0),fe}function I(W){function X(de,he,fe,ge,ve,Te){var Ce=de[he],be=z(Ce);if(be!==W){var we=Q(Ce);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+we+"` supplied to `"+fe+"`, expected ")+("`"+W+"`."),{expectedType:W})}return null}return w(X)}function L(){return w(a)}function E(W){function X(de,he,fe,ge,ve){if(typeof W!="function")return new C("Property `"+ve+"` of component `"+fe+"` has invalid PropType notation inside arrayOf.");var Te=de[he];if(!Array.isArray(Te)){var Ce=z(Te);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+fe+"`, expected an array."))}for(var be=0;be<Te.length;be++){var we=W(Te,be,fe,ge,ve+"["+be+"]",n);if(we instanceof Error)return we}return null}return w(X)}function j(){function W(X,de,he,fe,ge){var ve=X[de];if(!c(ve)){var Te=z(ve);return new C("Invalid "+fe+" `"+ge+"` of type "+("`"+Te+"` supplied to `"+he+"`, expected a single ReactElement."))}return null}return w(W)}function P(){function W(X,de,he,fe,ge){var ve=X[de];if(!e.isValidElementType(ve)){var Te=z(ve);return new C("Invalid "+fe+" `"+ge+"` of type "+("`"+Te+"` supplied to `"+he+"`, expected a single ReactElement type."))}return null}return w(W)}function D(W){function X(de,he,fe,ge,ve){if(!(de[he]instanceof W)){var Te=W.name||m,Ce=re(de[he]);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+fe+"`, expected ")+("instance of `"+Te+"`."))}return null}return w(X)}function F(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&(arguments.length>1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array.")),a;function X(de,he,fe,ge,ve){for(var Te=de[he],Ce=0;Ce<W.length;Ce++)if(b(Te,W[Ce]))return null;var be=JSON.stringify(W,function(Ie,ue){var qe=Q(ue);return qe==="symbol"?String(ue):ue});return new C("Invalid "+ge+" `"+ve+"` of value `"+String(Te)+"` "+("supplied to `"+fe+"`, expected one of "+be+"."))}return w(X)}function U(W){function X(de,he,fe,ge,ve){if(typeof W!="function")return new C("Property `"+ve+"` of component `"+fe+"` has invalid PropType notation inside objectOf.");var Te=de[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+fe+"`, expected an object."));for(var be in Te)if(r(Te,be)){var we=W(Te,be,fe,ge,ve+"."+be,n);if(we instanceof Error)return we}return null}return w(X)}function K(W){if(!Array.isArray(W))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var X=0;X<W.length;X++){var de=W[X];if(typeof de!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+N(de)+" at index "+X+"."),a}function he(fe,ge,ve,Te,Ce){for(var be=[],we=0;we<W.length;we++){var Ie=W[we],ue=Ie(fe,ge,ve,Te,Ce,n);if(ue==null)return null;ue.data&&r(ue.data,"expectedType")&&be.push(ue.data.expectedType)}var qe=be.length>0?", expected one of type ["+be.join(", ")+"]":"";return new C("Invalid "+Te+" `"+Ce+"` supplied to "+("`"+ve+"`"+qe+"."))}return w(he)}function ee(){function W(X,de,he,fe,ge){return q(X[de])?null:new C("Invalid "+fe+" `"+ge+"` supplied to "+("`"+he+"`, expected a ReactNode."))}return w(W)}function G(W,X,de,he,fe){return new C((W||"React class")+": "+X+" type `"+de+"."+he+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+fe+"`.")}function le(W){function X(de,he,fe,ge,ve){var Te=de[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type `"+Ce+"` "+("supplied to `"+fe+"`, expected `object`."));for(var be in W){var we=W[be];if(typeof we!="function")return G(fe,ge,ve,be,Q(we));var Ie=we(Te,be,fe,ge,ve+"."+be,n);if(Ie)return Ie}return null}return w(X)}function ae(W){function X(de,he,fe,ge,ve){var Te=de[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type `"+Ce+"` "+("supplied to `"+fe+"`, expected `object`."));var be=t({},de[he],W);for(var we in be){var Ie=W[we];if(r(W,we)&&typeof Ie!="function")return G(fe,ge,ve,we,Q(Ie));if(!Ie)return new C("Invalid "+ge+" `"+ve+"` key `"+we+"` supplied to `"+fe+"`.\nBad object: "+JSON.stringify(de[he],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys(W),null," "));var ue=Ie(Te,we,fe,ge,ve+"."+we,n);if(ue)return ue}return null}return w(X)}function q(W){switch(typeof W){case"number":case"string":case"undefined":return!0;case"boolean":return!W;case"object":if(Array.isArray(W))return W.every(q);if(W===null||c(W))return!0;var X=g(W);if(X){var de=X.call(W),he;if(X!==W.entries){for(;!(he=de.next()).done;)if(!q(he.value))return!1}else for(;!(he=de.next()).done;){var fe=he.value;if(fe&&!q(fe[1]))return!1}}else return!1;return!0;default:return!1}}function J(W,X){return W==="symbol"?!0:X?X["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&X instanceof Symbol:!1}function z(W){var X=typeof W;return Array.isArray(W)?"array":W instanceof RegExp?"object":J(X,W)?"symbol":X}function Q(W){if(typeof W>"u"||W===null)return""+W;var X=z(W);if(X==="object"){if(W instanceof Date)return"date";if(W instanceof RegExp)return"regexp"}return X}function N(W){var X=Q(W);switch(X){case"array":case"object":return"an "+X;case"boolean":case"date":case"regexp":return"a "+X;default:return X}}function re(W){return!W.constructor||!W.constructor.name?m:W.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},Xf}var Zf,fb;function $j(){if(fb)return Zf;fb=1;var e=Gf();function t(){}function n(){}return n.resetWarningCache=t,Zf=function(){function r(a,c,u,d,h,g){if(g!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},Zf}if(process.env.NODE_ENV!=="production"){var e5=ib(),t5=!0;zf.exports=qj()(e5.isElement,t5)}else zf.exports=$j()();var n5=zf.exports;const x=Qr(n5);function pb(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=pb(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function lt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=pb(e))&&(r&&(r+=" "),r+=t);return r}function $n(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}function Qf(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]=Qf(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function r5(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Qf(t.components[n].defaultProps,r)}function qr(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function hb(e){if(!qr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=hb(e[n])}),t}function Lr(e,t,n={clone:!0}){const r=n.clone?Z({},e):e;return qr(e)&&qr(t)&&Object.keys(t).forEach(o=>{qr(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&qr(e[o])?r[o]=Lr(e[o],t[o],n):n.clone?r[o]=qr(t[o])?hb(t[o]):t[o]:r[o]=t[o]}),r}const o5=Object.freeze(Object.defineProperty({__proto__:null,default:Lr,isPlainObject:qr},Symbol.toStringTag,{value:"Module"})),i5=["values","unit","step"],s5=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>Z({},n,{[r.key]:r.val}),{})};function gb(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ge(e,i5),s=s5(t),a=Object.keys(s);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function u(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function d(m,v){const b=a.indexOf(v);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(b!==-1&&typeof t[a[b]]=="number"?t[a[b]]:v)-r/100}${n})`}function h(m){return a.indexOf(m)+1<a.length?d(m,a[a.indexOf(m)+1]):c(m)}function g(m){const v=a.indexOf(m);return v===0?c(a[1]):v===a.length-1?u(a[v]):d(m,a[a.indexOf(m)+1]).replace("@media","@media not all and")}return Z({keys:a,values:s,up:c,down:u,between:d,only:h,not:g,unit:n},o)}const a5={borderRadius:4},Eo=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.string,x.object,x.array]):{};function va(e,t){return t?Lr(e,t,{clone:!1}):e}const Jf={xs:0,sm:600,md:900,lg:1200,xl:1536},mb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Jf[e]}px)`};function $r(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||mb;return t.reduce((a,c,u)=>(a[s.up(s.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const s=r.breakpoints||mb;return Object.keys(t).reduce((a,c)=>{if(Object.keys(s.values||Jf).indexOf(c)!==-1){const u=s.up(c);a[u]=n(t[c],c)}else{const u=c;a[u]=t[u]}return a},{})}return n(t)}function l5(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function c5(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function ai(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const u5=Object.freeze(Object.defineProperty({__proto__:null,default:ai},Symbol.toStringTag,{value:"Module"}));function He(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ai(7));return e.charAt(0).toUpperCase()+e.slice(1)}const d5=Object.freeze(Object.defineProperty({__proto__:null,default:He},Symbol.toStringTag,{value:"Module"}));function oc(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,s)=>o&&o[s]?o[s]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function ic(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=oc(e,n)||r,t&&(o=t(o,r,e)),o}function Dt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,s=a=>{if(a[t]==null)return null;const c=a[t],u=a.theme,d=oc(u,r)||{};return $r(a,c,g=>{let m=ic(d,o,g);return g===m&&typeof g=="string"&&(m=ic(d,o,`${t}${g==="default"?"":He(g)}`,g)),n===!1?m:{[n]:m}})};return s.propTypes=process.env.NODE_ENV!=="production"?{[t]:Eo}:{},s.filterProps=[t],s}function f5(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const p5={m:"margin",p:"padding"},h5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},vb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},g5=f5(e=>{if(e.length>2)if(vb[e])e=vb[e];else return[e];const[t,n]=e.split(""),r=p5[t],o=h5[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),sc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ac=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],m5=[...sc,...ac];function ya(e,t,n,r){var o;const s=(o=oc(e,t,!1))!=null?o:n;return typeof s=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`),s*a):Array.isArray(s)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>s.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${a} > ${s.length-1}, you need to add the missing values.`].join(`
|
|
21
21
|
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
|
|
22
22
|
`))),s[a]):typeof s=="function"?s:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
23
|
-
`)),()=>{})}function yb(e){return ya(e,"spacing",8,"spacing")}function ba(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function h5(e,t){return n=>e.reduce((r,o)=>(r[o]=ba(t,n),r),{})}function g5(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=f5(n),s=h5(o,r),a=e[n];return $r(e,a,s)}function bb(e,t){const n=yb(e.theme);return Object.keys(e).map(r=>g5(e,t,r,n)).reduce(va,{})}function Mt(e){return bb(e,sc)}Mt.propTypes=process.env.NODE_ENV!=="production"?sc.reduce((e,t)=>(e[t]=Eo,e),{}):{},Mt.filterProps=sc;function kt(e){return bb(e,ac)}kt.propTypes=process.env.NODE_ENV!=="production"?ac.reduce((e,t)=>(e[t]=Eo,e),{}):{},kt.filterProps=ac,process.env.NODE_ENV!=="production"&&p5.reduce((e,t)=>(e[t]=Eo,e),{});function m5(e=8){if(e.mui)return e;const t=yb({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function lc(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?va(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function er(e){return typeof e!="number"?e:`${e}px solid`}function tr(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const v5=tr("border",er),y5=tr("borderTop",er),b5=tr("borderRight",er),x5=tr("borderBottom",er),C5=tr("borderLeft",er),w5=tr("borderColor"),S5=tr("borderTopColor"),A5=tr("borderRightColor"),T5=tr("borderBottomColor"),E5=tr("borderLeftColor"),I5=tr("outline",er),O5=tr("outlineColor"),cc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ya(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:ba(t,r)});return $r(e,e.borderRadius,n)}return null};cc.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Eo}:{},cc.filterProps=["borderRadius"],lc(v5,y5,b5,x5,C5,w5,S5,A5,T5,E5,cc,I5,O5);const uc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ya(e.theme,"spacing",8,"gap"),n=r=>({gap:ba(t,r)});return $r(e,e.gap,n)}return null};uc.propTypes=process.env.NODE_ENV!=="production"?{gap:Eo}:{},uc.filterProps=["gap"];const dc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ya(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:ba(t,r)});return $r(e,e.columnGap,n)}return null};dc.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Eo}:{},dc.filterProps=["columnGap"];const fc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ya(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:ba(t,r)});return $r(e,e.rowGap,n)}return null};fc.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Eo}:{},fc.filterProps=["rowGap"];const P5=Dt({prop:"gridColumn"}),j5=Dt({prop:"gridRow"}),M5=Dt({prop:"gridAutoFlow"}),k5=Dt({prop:"gridAutoColumns"}),F5=Dt({prop:"gridAutoRows"}),L5=Dt({prop:"gridTemplateColumns"}),D5=Dt({prop:"gridTemplateRows"}),R5=Dt({prop:"gridTemplateAreas"}),_5=Dt({prop:"gridArea"});lc(uc,dc,fc,P5,j5,M5,k5,F5,L5,D5,R5,_5);function Ji(e,t){return t==="grey"?t:e}const B5=Dt({prop:"color",themeKey:"palette",transform:Ji}),N5=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ji}),V5=Dt({prop:"backgroundColor",themeKey:"palette",transform:Ji});lc(B5,N5,V5);function Dn(e){return e<=1&&e!==0?`${e*100}%`:e}const W5=Dt({prop:"width",transform:Dn}),qf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Jf[n];return s?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Dn(n)}};return $r(e,e.maxWidth,t)}return null};qf.filterProps=["maxWidth"];const z5=Dt({prop:"minWidth",transform:Dn}),U5=Dt({prop:"height",transform:Dn}),H5=Dt({prop:"maxHeight",transform:Dn}),G5=Dt({prop:"minHeight",transform:Dn});Dt({prop:"size",cssProperty:"width",transform:Dn}),Dt({prop:"size",cssProperty:"height",transform:Dn});const Y5=Dt({prop:"boxSizing"});lc(W5,qf,z5,U5,H5,G5,Y5);const xa={border:{themeKey:"borders",transform:er},borderTop:{themeKey:"borders",transform:er},borderRight:{themeKey:"borders",transform:er},borderBottom:{themeKey:"borders",transform:er},borderLeft:{themeKey:"borders",transform:er},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:er},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cc},color:{themeKey:"palette",transform:Ji},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ji},backgroundColor:{themeKey:"palette",transform:Ji},p:{style:kt},pt:{style:kt},pr:{style:kt},pb:{style:kt},pl:{style:kt},px:{style:kt},py:{style:kt},padding:{style:kt},paddingTop:{style:kt},paddingRight:{style:kt},paddingBottom:{style:kt},paddingLeft:{style:kt},paddingX:{style:kt},paddingY:{style:kt},paddingInline:{style:kt},paddingInlineStart:{style:kt},paddingInlineEnd:{style:kt},paddingBlock:{style:kt},paddingBlockStart:{style:kt},paddingBlockEnd:{style:kt},m:{style:Mt},mt:{style:Mt},mr:{style:Mt},mb:{style:Mt},ml:{style:Mt},mx:{style:Mt},my:{style:Mt},margin:{style:Mt},marginTop:{style:Mt},marginRight:{style:Mt},marginBottom:{style:Mt},marginLeft:{style:Mt},marginX:{style:Mt},marginY:{style:Mt},marginInline:{style:Mt},marginInlineStart:{style:Mt},marginInlineEnd:{style:Mt},marginBlock:{style:Mt},marginBlockStart:{style:Mt},marginBlockEnd:{style:Mt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:uc},rowGap:{style:fc},columnGap:{style:dc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Dn},maxWidth:{style:qf},minWidth:{transform:Dn},height:{transform:Dn},maxHeight:{transform:Dn},minHeight:{transform:Dn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function K5(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function X5(e,t){return typeof e=="function"?e(t):e}function xb(){function e(n,r,o,s){const a={[n]:r,theme:o},c=s[n];if(!c)return{[n]:r};const{cssProperty:u=n,themeKey:d,transform:h,style:g}=c;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const m=oc(o,d)||{};return g?g(a):$r(a,r,b=>{let x=ic(m,h,b);return b===x&&typeof b=="string"&&(x=ic(m,h,`${n}${b==="default"?"":He(b)}`,b)),u===!1?x:{[u]:x}})}function t(n){var r;const{sx:o,theme:s={}}=n||{};if(!o)return null;const a=(r=s.unstable_sxConfig)!=null?r:xa;function c(u){let d=u;if(typeof u=="function")d=u(s);else if(typeof u!="object")return u;if(!d)return null;const h=i5(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const b=X5(d[v],s);if(b!=null)if(typeof b=="object")if(a[v])m=va(m,e(v,b,s,a));else{const x=$r({theme:s},b,w=>({[v]:w}));K5(x,b)?m[v]=t({sx:b,theme:s}):m=va(m,x)}else m=va(m,e(v,b,s,a))}),s5(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const Ca=xb();Ca.filterProps=["sx"];function Cb(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const Z5=["breakpoints","palette","spacing","shape"];function pc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=Ge(e,Z5),c=gb(n),u=m5(o);let d=Fr({breakpoints:c,direction:"ltr",components:{},palette:X({mode:"light"},r),spacing:u,shape:X({},o5,s)},a);return d.applyStyles=Cb,d=t.reduce((h,g)=>Fr(h,g),d),d.unstable_sxConfig=X({},xa,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return Ca({sx:g,theme:this})},d}const Q5=Object.freeze(Object.defineProperty({__proto__:null,default:pc,private_createBreakpoints:gb,unstable_applyStyles:Cb},Symbol.toStringTag,{value:"Module"}));var J5=!1;function q5(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function $5(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var eM=function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!J5:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag($5(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=q5(o);try{s.insertRule(r,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),nn="-ms-",hc="-moz-",$e="-webkit-",wb="comm",$f="rule",ep="decl",tM="@import",Sb="@keyframes",nM="@layer",rM=Math.abs,gc=String.fromCharCode,oM=Object.assign;function iM(e,t){return Jt(e,0)^45?(((t<<2^Jt(e,0))<<2^Jt(e,1))<<2^Jt(e,2))<<2^Jt(e,3):0}function Ab(e){return e.trim()}function sM(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function tp(e,t){return e.indexOf(t)}function Jt(e,t){return e.charCodeAt(t)|0}function wa(e,t,n){return e.slice(t,n)}function Lr(e){return e.length}function np(e){return e.length}function mc(e,t){return t.push(e),e}function aM(e,t){return e.map(t).join("")}var vc=1,qi=1,Tb=0,bn=0,Wt=0,$i="";function yc(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:vc,column:qi,length:a,return:""}}function Sa(e,t){return oM(yc("",null,null,"",null,null,0),e,{length:-e.length},t)}function lM(){return Wt}function cM(){return Wt=bn>0?Jt($i,--bn):0,qi--,Wt===10&&(qi=1,vc--),Wt}function Rn(){return Wt=bn<Tb?Jt($i,bn++):0,qi++,Wt===10&&(qi=1,vc++),Wt}function Dr(){return Jt($i,bn)}function bc(){return bn}function Aa(e,t){return wa($i,e,t)}function Ta(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Eb(e){return vc=qi=1,Tb=Lr($i=e),bn=0,[]}function Ib(e){return $i="",e}function xc(e){return Ab(Aa(bn-1,rp(e===91?e+2:e===40?e+1:e)))}function uM(e){for(;(Wt=Dr())&&Wt<33;)Rn();return Ta(e)>2||Ta(Wt)>3?"":" "}function dM(e,t){for(;--t&&Rn()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return Aa(e,bc()+(t<6&&Dr()==32&&Rn()==32))}function rp(e){for(;Rn();)switch(Wt){case e:return bn;case 34:case 39:e!==34&&e!==39&&rp(Wt);break;case 40:e===41&&rp(e);break;case 92:Rn();break}return bn}function fM(e,t){for(;Rn()&&e+Wt!==57;)if(e+Wt===84&&Dr()===47)break;return"/*"+Aa(t,bn-1)+"*"+gc(e===47?e:Rn())}function pM(e){for(;!Ta(Dr());)Rn();return Aa(e,bn)}function hM(e){return Ib(Cc("",null,null,null,[""],e=Eb(e),0,[0],e))}function Cc(e,t,n,r,o,s,a,c,u){for(var d=0,h=0,g=a,m=0,v=0,b=0,x=1,w=1,I=1,F=0,E="",k=o,P=s,L=r,D=E;w;)switch(b=F,F=Rn()){case 40:if(b!=108&&Jt(D,g-1)==58){tp(D+=et(xc(F),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:D+=xc(F);break;case 9:case 10:case 13:case 32:D+=uM(b);break;case 92:D+=dM(bc()-1,7);continue;case 47:switch(Dr()){case 42:case 47:mc(gM(fM(Rn(),bc()),t,n),u);break;default:D+="/"}break;case 123*x:c[d++]=Lr(D)*I;case 125*x:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+h:I==-1&&(D=et(D,/\f/g,"")),v>0&&Lr(D)-g&&mc(v>32?Pb(D+";",r,n,g-1):Pb(et(D," ","")+";",r,n,g-2),u);break;case 59:D+=";";default:if(mc(L=Ob(D,t,n,d,h,o,c,E,k=[],P=[],g),s),F===123)if(h===0)Cc(D,t,L,L,k,s,g,c,P);else switch(m===99&&Jt(D,3)===110?100:m){case 100:case 108:case 109:case 115:Cc(e,L,L,r&&mc(Ob(e,L,L,0,0,o,c,E,o,k=[],g),P),o,P,g,c,r?k:P);break;default:Cc(D,L,L,L,[""],P,0,c,P)}}d=h=v=0,x=I=1,E=D="",g=a;break;case 58:g=1+Lr(D),v=b;default:if(x<1){if(F==123)--x;else if(F==125&&x++==0&&cM()==125)continue}switch(D+=gc(F),F*x){case 38:I=h>0?1:(D+="\f",-1);break;case 44:c[d++]=(Lr(D)-1)*I,I=1;break;case 64:Dr()===45&&(D+=xc(Rn())),m=Dr(),h=g=Lr(E=D+=pM(bc())),F++;break;case 45:b===45&&Lr(D)==2&&(x=0)}}return s}function Ob(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=np(m),b=0,x=0,w=0;b<r;++b)for(var I=0,F=wa(e,g+1,g=rM(x=a[b])),E=e;I<v;++I)(E=Ab(x>0?m[I]+" "+F:et(F,/&\f/g,m[I])))&&(u[w++]=E);return yc(e,t,n,o===0?$f:c,u,d,h)}function gM(e,t,n){return yc(e,t,n,wb,gc(lM()),wa(e,2,-2),0)}function Pb(e,t,n,r){return yc(e,t,n,ep,wa(e,0,r),wa(e,r+1,-1),r)}function es(e,t){for(var n="",r=np(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function mM(e,t,n,r){switch(e.type){case nM:if(e.children.length)break;case tM:case ep:return e.return=e.return||e.value;case wb:return"";case Sb:return e.return=e.value+"{"+es(e.children,r)+"}";case $f:e.value=e.props.join(",")}return Lr(n=es(e.children,r))?e.return=e.value+"{"+n+"}":""}function vM(e){var t=np(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function yM(e){return function(t){t.root||(t=t.return)&&e(t)}}var bM=function(t,n,r){for(var o=0,s=0;o=s,s=Dr(),o===38&&s===12&&(n[r]=1),!Ta(s);)Rn();return Aa(t,bn)},xM=function(t,n){var r=-1,o=44;do switch(Ta(o)){case 0:o===38&&Dr()===12&&(n[r]=1),t[r]+=bM(bn-1,n,r);break;case 2:t[r]+=xc(o);break;case 4:if(o===44){t[++r]=Dr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=gc(o)}while(o=Rn());return t},CM=function(t,n){return Ib(xM(Eb(t),n))},jb=new WeakMap,wM=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!jb.get(r))&&!o){jb.set(t,!0);for(var s=[],a=CM(n,s),c=r.props,u=0,d=0;u<a.length;u++)for(var h=0;h<c.length;h++,d++)t.props[d]=s[u]?a[u].replace(/&\f/g,c[h]):c[h]+" "+a[u]}}},SM=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Mb(e,t){switch(iM(e,t)){case 5103:return $e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $e+e+hc+e+nn+e+e;case 6828:case 4268:return $e+e+nn+e+e;case 6165:return $e+e+nn+"flex-"+e+e;case 5187:return $e+e+et(e,/(\w+).+(:[^]+)/,$e+"box-$1$2"+nn+"flex-$1$2")+e;case 5443:return $e+e+nn+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return $e+e+nn+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return $e+e+nn+et(e,"shrink","negative")+e;case 5292:return $e+e+nn+et(e,"basis","preferred-size")+e;case 6060:return $e+"box-"+et(e,"-grow","")+$e+e+nn+et(e,"grow","positive")+e;case 4554:return $e+et(e,/([^-])(transform)/g,"$1"+$e+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,$e+"$1"),/(image-set)/,$e+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,$e+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,$e+"box-pack:$3"+nn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$e+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,$e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Lr(e)-1-t>6)switch(Jt(e,t+1)){case 109:if(Jt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+$e+"$2-$3$1"+hc+(Jt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tp(e,"stretch")?Mb(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Jt(e,t+1)!==115)break;case 6444:switch(Jt(e,Lr(e)-3-(~tp(e,"!important")&&10))){case 107:return et(e,":",":"+$e)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$e+(Jt(e,14)===45?"inline-":"")+"box$3$1"+$e+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Jt(e,t+11)){case 114:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $e+e+nn+e+e}return e}var AM=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ep:t.return=Mb(t.value,t.length);break;case Sb:return es([Sa(t,{value:et(t.value,"@","@"+$e)})],o);case $f:if(t.length)return aM(t.props,function(s){switch(sM(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return es([Sa(t,{props:[et(s,/:(read-\w+)/,":"+hc+"$1")]})],o);case"::placeholder":return es([Sa(t,{props:[et(s,/:(plac\w+)/,":"+$e+"input-$1")]}),Sa(t,{props:[et(s,/:(plac\w+)/,":"+hc+"$1")]}),Sa(t,{props:[et(s,/:(plac\w+)/,nn+"input-$1")]})],o)}return""})}},TM=[AM],EM=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var w=x.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=t.stylisPlugins||TM,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var w=x.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)s[w[I]]=!0;c.push(x)});var u,d=[wM,SM];{var h,g=[mM,yM(function(x){h.insert(x)})],m=vM(d.concat(o,g)),v=function(w){return es(hM(w),m)};u=function(w,I,F,E){h=F,v(w?w+"{"+I.styles+"}":I.styles),E&&(b.inserted[I.name]=!0)}}var b={key:n,sheet:new eM({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return b.sheet.hydrate(c),b};let op;typeof document=="object"&&(op=EM({key:"css",prepend:!0}));function kb(e){const{injectFirst:t,children:n}=e;return t&&op?f.jsx(Nt.CacheProvider,{value:op,children:n}):n}process.env.NODE_ENV!=="production"&&(kb.propTypes={children:C.node,injectFirst:C.bool});function IM(e){return e==null||Object.keys(e).length===0}function Fb(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(IM(o)?n:o):t;return f.jsx(Nt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Fb.propTypes={defaultTheme:C.object,styles:C.oneOfType([C.array,C.string,C.object,C.func])});/**
|
|
23
|
+
`)),()=>{})}function yb(e){return ya(e,"spacing",8,"spacing")}function ba(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function v5(e,t){return n=>e.reduce((r,o)=>(r[o]=ba(t,n),r),{})}function y5(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=g5(n),s=v5(o,r),a=e[n];return $r(e,a,s)}function bb(e,t){const n=yb(e.theme);return Object.keys(e).map(r=>y5(e,t,r,n)).reduce(va,{})}function Mt(e){return bb(e,sc)}Mt.propTypes=process.env.NODE_ENV!=="production"?sc.reduce((e,t)=>(e[t]=Eo,e),{}):{},Mt.filterProps=sc;function kt(e){return bb(e,ac)}kt.propTypes=process.env.NODE_ENV!=="production"?ac.reduce((e,t)=>(e[t]=Eo,e),{}):{},kt.filterProps=ac,process.env.NODE_ENV!=="production"&&m5.reduce((e,t)=>(e[t]=Eo,e),{});function b5(e=8){if(e.mui)return e;const t=yb({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(s=>{const a=t(s);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function lc(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(s=>{r[s]=o}),r),{}),n=r=>Object.keys(r).reduce((o,s)=>t[s]?va(o,t[s](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function er(e){return typeof e!="number"?e:`${e}px solid`}function tr(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const x5=tr("border",er),C5=tr("borderTop",er),w5=tr("borderRight",er),S5=tr("borderBottom",er),A5=tr("borderLeft",er),T5=tr("borderColor"),E5=tr("borderTopColor"),I5=tr("borderRightColor"),O5=tr("borderBottomColor"),P5=tr("borderLeftColor"),j5=tr("outline",er),M5=tr("outlineColor"),cc=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=ya(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:ba(t,r)});return $r(e,e.borderRadius,n)}return null};cc.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Eo}:{},cc.filterProps=["borderRadius"],lc(x5,C5,w5,S5,A5,T5,E5,I5,O5,P5,cc,j5,M5);const uc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=ya(e.theme,"spacing",8,"gap"),n=r=>({gap:ba(t,r)});return $r(e,e.gap,n)}return null};uc.propTypes=process.env.NODE_ENV!=="production"?{gap:Eo}:{},uc.filterProps=["gap"];const dc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=ya(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:ba(t,r)});return $r(e,e.columnGap,n)}return null};dc.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Eo}:{},dc.filterProps=["columnGap"];const fc=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=ya(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:ba(t,r)});return $r(e,e.rowGap,n)}return null};fc.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Eo}:{},fc.filterProps=["rowGap"];const k5=Dt({prop:"gridColumn"}),L5=Dt({prop:"gridRow"}),F5=Dt({prop:"gridAutoFlow"}),D5=Dt({prop:"gridAutoColumns"}),_5=Dt({prop:"gridAutoRows"}),R5=Dt({prop:"gridTemplateColumns"}),B5=Dt({prop:"gridTemplateRows"}),N5=Dt({prop:"gridTemplateAreas"}),V5=Dt({prop:"gridArea"});lc(uc,dc,fc,k5,L5,F5,D5,_5,R5,B5,N5,V5);function Ji(e,t){return t==="grey"?t:e}const W5=Dt({prop:"color",themeKey:"palette",transform:Ji}),z5=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ji}),U5=Dt({prop:"backgroundColor",themeKey:"palette",transform:Ji});lc(W5,z5,U5);function Dn(e){return e<=1&&e!==0?`${e*100}%`:e}const H5=Dt({prop:"width",transform:Dn}),qf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const s=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Jf[n];return s?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${s}${e.theme.breakpoints.unit}`}:{maxWidth:s}:{maxWidth:Dn(n)}};return $r(e,e.maxWidth,t)}return null};qf.filterProps=["maxWidth"];const G5=Dt({prop:"minWidth",transform:Dn}),Y5=Dt({prop:"height",transform:Dn}),K5=Dt({prop:"maxHeight",transform:Dn}),X5=Dt({prop:"minHeight",transform:Dn});Dt({prop:"size",cssProperty:"width",transform:Dn}),Dt({prop:"size",cssProperty:"height",transform:Dn});const Z5=Dt({prop:"boxSizing"});lc(H5,qf,G5,Y5,K5,X5,Z5);const xa={border:{themeKey:"borders",transform:er},borderTop:{themeKey:"borders",transform:er},borderRight:{themeKey:"borders",transform:er},borderBottom:{themeKey:"borders",transform:er},borderLeft:{themeKey:"borders",transform:er},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:er},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:cc},color:{themeKey:"palette",transform:Ji},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ji},backgroundColor:{themeKey:"palette",transform:Ji},p:{style:kt},pt:{style:kt},pr:{style:kt},pb:{style:kt},pl:{style:kt},px:{style:kt},py:{style:kt},padding:{style:kt},paddingTop:{style:kt},paddingRight:{style:kt},paddingBottom:{style:kt},paddingLeft:{style:kt},paddingX:{style:kt},paddingY:{style:kt},paddingInline:{style:kt},paddingInlineStart:{style:kt},paddingInlineEnd:{style:kt},paddingBlock:{style:kt},paddingBlockStart:{style:kt},paddingBlockEnd:{style:kt},m:{style:Mt},mt:{style:Mt},mr:{style:Mt},mb:{style:Mt},ml:{style:Mt},mx:{style:Mt},my:{style:Mt},margin:{style:Mt},marginTop:{style:Mt},marginRight:{style:Mt},marginBottom:{style:Mt},marginLeft:{style:Mt},marginX:{style:Mt},marginY:{style:Mt},marginInline:{style:Mt},marginInlineStart:{style:Mt},marginInlineEnd:{style:Mt},marginBlock:{style:Mt},marginBlockStart:{style:Mt},marginBlockEnd:{style:Mt},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:uc},rowGap:{style:fc},columnGap:{style:dc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Dn},maxWidth:{style:qf},minWidth:{transform:Dn},height:{transform:Dn},maxHeight:{transform:Dn},minHeight:{transform:Dn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Q5(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function J5(e,t){return typeof e=="function"?e(t):e}function xb(){function e(n,r,o,s){const a={[n]:r,theme:o},c=s[n];if(!c)return{[n]:r};const{cssProperty:u=n,themeKey:d,transform:h,style:g}=c;if(r==null)return null;if(d==="typography"&&r==="inherit")return{[n]:r};const m=oc(o,d)||{};return g?g(a):$r(a,r,b=>{let C=ic(m,h,b);return b===C&&typeof b=="string"&&(C=ic(m,h,`${n}${b==="default"?"":He(b)}`,b)),u===!1?C:{[u]:C}})}function t(n){var r;const{sx:o,theme:s={}}=n||{};if(!o)return null;const a=(r=s.unstable_sxConfig)!=null?r:xa;function c(u){let d=u;if(typeof u=="function")d=u(s);else if(typeof u!="object")return u;if(!d)return null;const h=l5(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const b=J5(d[v],s);if(b!=null)if(typeof b=="object")if(a[v])m=va(m,e(v,b,s,a));else{const C=$r({theme:s},b,w=>({[v]:w}));Q5(C,b)?m[v]=t({sx:b,theme:s}):m=va(m,C)}else m=va(m,e(v,b,s,a))}),c5(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const Ca=xb();Ca.filterProps=["sx"];function Cb(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const q5=["breakpoints","palette","spacing","shape"];function pc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=Ge(e,q5),c=gb(n),u=b5(o);let d=Lr({breakpoints:c,direction:"ltr",components:{},palette:Z({mode:"light"},r),spacing:u,shape:Z({},a5,s)},a);return d.applyStyles=Cb,d=t.reduce((h,g)=>Lr(h,g),d),d.unstable_sxConfig=Z({},xa,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return Ca({sx:g,theme:this})},d}const $5=Object.freeze(Object.defineProperty({__proto__:null,default:pc,private_createBreakpoints:gb,unstable_applyStyles:Cb},Symbol.toStringTag,{value:"Module"}));var eM=!1;function tM(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function nM(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var rM=function(){function e(n){var r=this;this._insertTag=function(o){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,s),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!eM:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(nM(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=tM(o);try{s.insertRule(r,s.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),nn="-ms-",hc="-moz-",$e="-webkit-",wb="comm",$f="rule",ep="decl",oM="@import",Sb="@keyframes",iM="@layer",sM=Math.abs,gc=String.fromCharCode,aM=Object.assign;function lM(e,t){return Jt(e,0)^45?(((t<<2^Jt(e,0))<<2^Jt(e,1))<<2^Jt(e,2))<<2^Jt(e,3):0}function Ab(e){return e.trim()}function cM(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function tp(e,t){return e.indexOf(t)}function Jt(e,t){return e.charCodeAt(t)|0}function wa(e,t,n){return e.slice(t,n)}function Fr(e){return e.length}function np(e){return e.length}function mc(e,t){return t.push(e),e}function uM(e,t){return e.map(t).join("")}var vc=1,qi=1,Tb=0,bn=0,Wt=0,$i="";function yc(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:vc,column:qi,length:a,return:""}}function Sa(e,t){return aM(yc("",null,null,"",null,null,0),e,{length:-e.length},t)}function dM(){return Wt}function fM(){return Wt=bn>0?Jt($i,--bn):0,qi--,Wt===10&&(qi=1,vc--),Wt}function _n(){return Wt=bn<Tb?Jt($i,bn++):0,qi++,Wt===10&&(qi=1,vc++),Wt}function Dr(){return Jt($i,bn)}function bc(){return bn}function Aa(e,t){return wa($i,e,t)}function Ta(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Eb(e){return vc=qi=1,Tb=Fr($i=e),bn=0,[]}function Ib(e){return $i="",e}function xc(e){return Ab(Aa(bn-1,rp(e===91?e+2:e===40?e+1:e)))}function pM(e){for(;(Wt=Dr())&&Wt<33;)_n();return Ta(e)>2||Ta(Wt)>3?"":" "}function hM(e,t){for(;--t&&_n()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return Aa(e,bc()+(t<6&&Dr()==32&&_n()==32))}function rp(e){for(;_n();)switch(Wt){case e:return bn;case 34:case 39:e!==34&&e!==39&&rp(Wt);break;case 40:e===41&&rp(e);break;case 92:_n();break}return bn}function gM(e,t){for(;_n()&&e+Wt!==57;)if(e+Wt===84&&Dr()===47)break;return"/*"+Aa(t,bn-1)+"*"+gc(e===47?e:_n())}function mM(e){for(;!Ta(Dr());)_n();return Aa(e,bn)}function vM(e){return Ib(Cc("",null,null,null,[""],e=Eb(e),0,[0],e))}function Cc(e,t,n,r,o,s,a,c,u){for(var d=0,h=0,g=a,m=0,v=0,b=0,C=1,w=1,I=1,L=0,E="",j=o,P=s,D=r,F=E;w;)switch(b=L,L=_n()){case 40:if(b!=108&&Jt(F,g-1)==58){tp(F+=et(xc(L),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:F+=xc(L);break;case 9:case 10:case 13:case 32:F+=pM(b);break;case 92:F+=hM(bc()-1,7);continue;case 47:switch(Dr()){case 42:case 47:mc(yM(gM(_n(),bc()),t,n),u);break;default:F+="/"}break;case 123*C:c[d++]=Fr(F)*I;case 125*C:case 59:case 0:switch(L){case 0:case 125:w=0;case 59+h:I==-1&&(F=et(F,/\f/g,"")),v>0&&Fr(F)-g&&mc(v>32?Pb(F+";",r,n,g-1):Pb(et(F," ","")+";",r,n,g-2),u);break;case 59:F+=";";default:if(mc(D=Ob(F,t,n,d,h,o,c,E,j=[],P=[],g),s),L===123)if(h===0)Cc(F,t,D,D,j,s,g,c,P);else switch(m===99&&Jt(F,3)===110?100:m){case 100:case 108:case 109:case 115:Cc(e,D,D,r&&mc(Ob(e,D,D,0,0,o,c,E,o,j=[],g),P),o,P,g,c,r?j:P);break;default:Cc(F,D,D,D,[""],P,0,c,P)}}d=h=v=0,C=I=1,E=F="",g=a;break;case 58:g=1+Fr(F),v=b;default:if(C<1){if(L==123)--C;else if(L==125&&C++==0&&fM()==125)continue}switch(F+=gc(L),L*C){case 38:I=h>0?1:(F+="\f",-1);break;case 44:c[d++]=(Fr(F)-1)*I,I=1;break;case 64:Dr()===45&&(F+=xc(_n())),m=Dr(),h=g=Fr(E=F+=mM(bc())),L++;break;case 45:b===45&&Fr(F)==2&&(C=0)}}return s}function Ob(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=np(m),b=0,C=0,w=0;b<r;++b)for(var I=0,L=wa(e,g+1,g=sM(C=a[b])),E=e;I<v;++I)(E=Ab(C>0?m[I]+" "+L:et(L,/&\f/g,m[I])))&&(u[w++]=E);return yc(e,t,n,o===0?$f:c,u,d,h)}function yM(e,t,n){return yc(e,t,n,wb,gc(dM()),wa(e,2,-2),0)}function Pb(e,t,n,r){return yc(e,t,n,ep,wa(e,0,r),wa(e,r+1,-1),r)}function es(e,t){for(var n="",r=np(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function bM(e,t,n,r){switch(e.type){case iM:if(e.children.length)break;case oM:case ep:return e.return=e.return||e.value;case wb:return"";case Sb:return e.return=e.value+"{"+es(e.children,r)+"}";case $f:e.value=e.props.join(",")}return Fr(n=es(e.children,r))?e.return=e.value+"{"+n+"}":""}function xM(e){var t=np(e);return function(n,r,o,s){for(var a="",c=0;c<t;c++)a+=e[c](n,r,o,s)||"";return a}}function CM(e){return function(t){t.root||(t=t.return)&&e(t)}}var wM=function(t,n,r){for(var o=0,s=0;o=s,s=Dr(),o===38&&s===12&&(n[r]=1),!Ta(s);)_n();return Aa(t,bn)},SM=function(t,n){var r=-1,o=44;do switch(Ta(o)){case 0:o===38&&Dr()===12&&(n[r]=1),t[r]+=wM(bn-1,n,r);break;case 2:t[r]+=xc(o);break;case 4:if(o===44){t[++r]=Dr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=gc(o)}while(o=_n());return t},AM=function(t,n){return Ib(SM(Eb(t),n))},jb=new WeakMap,TM=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!jb.get(r))&&!o){jb.set(t,!0);for(var s=[],a=AM(n,s),c=r.props,u=0,d=0;u<a.length;u++)for(var h=0;h<c.length;h++,d++)t.props[d]=s[u]?a[u].replace(/&\f/g,c[h]):c[h]+" "+a[u]}}},EM=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Mb(e,t){switch(lM(e,t)){case 5103:return $e+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return $e+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return $e+e+hc+e+nn+e+e;case 6828:case 4268:return $e+e+nn+e+e;case 6165:return $e+e+nn+"flex-"+e+e;case 5187:return $e+e+et(e,/(\w+).+(:[^]+)/,$e+"box-$1$2"+nn+"flex-$1$2")+e;case 5443:return $e+e+nn+"flex-item-"+et(e,/flex-|-self/,"")+e;case 4675:return $e+e+nn+"flex-line-pack"+et(e,/align-content|flex-|-self/,"")+e;case 5548:return $e+e+nn+et(e,"shrink","negative")+e;case 5292:return $e+e+nn+et(e,"basis","preferred-size")+e;case 6060:return $e+"box-"+et(e,"-grow","")+$e+e+nn+et(e,"grow","positive")+e;case 4554:return $e+et(e,/([^-])(transform)/g,"$1"+$e+"$2")+e;case 6187:return et(et(et(e,/(zoom-|grab)/,$e+"$1"),/(image-set)/,$e+"$1"),e,"")+e;case 5495:case 3959:return et(e,/(image-set\([^]*)/,$e+"$1$`$1");case 4968:return et(et(e,/(.+:)(flex-)?(.*)/,$e+"box-pack:$3"+nn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+$e+e+e;case 4095:case 3583:case 4068:case 2532:return et(e,/(.+)-inline(.+)/,$e+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Fr(e)-1-t>6)switch(Jt(e,t+1)){case 109:if(Jt(e,t+4)!==45)break;case 102:return et(e,/(.+:)(.+)-([^]+)/,"$1"+$e+"$2-$3$1"+hc+(Jt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~tp(e,"stretch")?Mb(et(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Jt(e,t+1)!==115)break;case 6444:switch(Jt(e,Fr(e)-3-(~tp(e,"!important")&&10))){case 107:return et(e,":",":"+$e)+e;case 101:return et(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+$e+(Jt(e,14)===45?"inline-":"")+"box$3$1"+$e+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Jt(e,t+11)){case 114:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return $e+e+nn+et(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return $e+e+nn+e+e}return e}var IM=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ep:t.return=Mb(t.value,t.length);break;case Sb:return es([Sa(t,{value:et(t.value,"@","@"+$e)})],o);case $f:if(t.length)return uM(t.props,function(s){switch(cM(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return es([Sa(t,{props:[et(s,/:(read-\w+)/,":"+hc+"$1")]})],o);case"::placeholder":return es([Sa(t,{props:[et(s,/:(plac\w+)/,":"+$e+"input-$1")]}),Sa(t,{props:[et(s,/:(plac\w+)/,":"+hc+"$1")]}),Sa(t,{props:[et(s,/:(plac\w+)/,nn+"input-$1")]})],o)}return""})}},OM=[IM],PM=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(C){var w=C.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(C),C.setAttribute("data-s",""))})}var o=t.stylisPlugins||OM,s={},a,c=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(C){for(var w=C.getAttribute("data-emotion").split(" "),I=1;I<w.length;I++)s[w[I]]=!0;c.push(C)});var u,d=[TM,EM];{var h,g=[bM,CM(function(C){h.insert(C)})],m=xM(d.concat(o,g)),v=function(w){return es(vM(w),m)};u=function(w,I,L,E){h=L,v(w?w+"{"+I.styles+"}":I.styles),E&&(b.inserted[I.name]=!0)}}var b={key:n,sheet:new rM({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:u};return b.sheet.hydrate(c),b};let op;typeof document=="object"&&(op=PM({key:"css",prepend:!0}));function kb(e){const{injectFirst:t,children:n}=e;return t&&op?f.jsx(Nt.CacheProvider,{value:op,children:n}):n}process.env.NODE_ENV!=="production"&&(kb.propTypes={children:x.node,injectFirst:x.bool});function jM(e){return e==null||Object.keys(e).length===0}function Lb(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(jM(o)?n:o):t;return f.jsx(Nt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Lb.propTypes={defaultTheme:x.object,styles:x.oneOfType([x.array,x.string,x.object,x.func])});/**
|
|
24
24
|
* @mui/styled-engine v5.16.6
|
|
25
25
|
*
|
|
26
26
|
* @license MIT
|
|
27
27
|
* This source code is licensed under the MIT license found in the
|
|
28
28
|
* LICENSE file in the root directory of this source tree.
|
|
29
|
-
*/function
|
|
30
|
-
`)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}const Db=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},
|
|
29
|
+
*/function Fb(e,t){const n=Ht(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
30
|
+
`)):r.some(s=>s===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}const Db=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},MM=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Lb,StyledEngineProvider:kb,ThemeContext:Nt.ThemeContext,css:Nt.css,default:Fb,internal_processStyles:Db,keyframes:Nt.keyframes},Symbol.toStringTag,{value:"Module"}));function kM(e){return Object.keys(e).length===0}function _b(e=null){const t=B.useContext(Nt.ThemeContext);return!t||kM(t)?e:t}const LM=pc();function ip(e=LM){return _b(e)}function FM({props:e,name:t,defaultTheme:n,themeId:r}){let o=ip(n);return r&&(o=o[r]||o),r5({theme:o,name:t,props:e})}const DM=["sx"],_M=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:xa;return Object.keys(e).forEach(s=>{o[s]?r.systemProps[s]=e[s]:r.otherProps[s]=e[s]}),r};function Rb(e){const{sx:t}=e,n=Ge(e,DM),{systemProps:r,otherProps:o}=_M(n);let s;return Array.isArray(t)?s=[r,...t]:typeof t=="function"?s=(...a)=>{const c=t(...a);return qr(c)?Z({},r,c):r}:s=Z({},r,t),Z({},o,{sx:s})}const RM=Object.freeze(Object.defineProperty({__proto__:null,default:Ca,extendSxProp:Rb,unstable_createStyleFunctionSx:xb,unstable_defaultSxConfig:xa},Symbol.toStringTag,{value:"Module"})),Bb=e=>e,Nb=(()=>{let e=Bb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Bb}}})(),Vb={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 Rn(e,t,n="Mui"){const r=Vb[t];return r?`${n}-${r}`:`${Nb.generate(e)}-${t}`}function BM(e,t){return Z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _t={},Wb={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})(Wb);var Io=Wb.exports;const NM=Jr(u5);function zb(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const VM=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:zb},Symbol.toStringTag,{value:"Module"})));var Ub=Io;Object.defineProperty(_t,"__esModule",{value:!0});var Oo=_t.alpha=Qb;_t.blend=qM,_t.colorChannel=void 0;var WM=_t.darken=ap;_t.decomposeColor=nr;var Hb=_t.emphasize=Jb,Gb=_t.getContrastRatio=KM;_t.getLuminance=wc,_t.hexToRgb=Kb,_t.hslToRgb=Zb;var zM=_t.lighten=lp;_t.private_safeAlpha=XM,_t.private_safeColorChannel=void 0,_t.private_safeDarken=ZM,_t.private_safeEmphasize=JM,_t.private_safeLighten=QM,_t.recomposeColor=ts,_t.rgbToHex=YM;var Yb=Ub(NM),UM=Ub(VM);function sp(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),(0,UM.default)(e,t,n)}function Kb(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function HM(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function nr(e){if(e.type)return e;if(e.charAt(0)==="#")return nr(Kb(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
31
31
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,Yb.default)(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
32
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Yb.default)(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const Xb=e=>{const t=nr(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};
|
|
33
|
-
`))}return w}const m=({color:
|
|
34
|
-
The color object needs to have a \`main\` property or a \`${I}\` property.`:ai(11,w?` (${w})`:"",I));if(typeof
|
|
35
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
32
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,Yb.default)(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const Xb=e=>{const t=nr(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_t.colorChannel=Xb;const GM=(e,t)=>{try{return Xb(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_t.private_safeColorChannel=GM;function ts(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function YM(e){if(e.indexOf("#")===0)return e;const{values:t}=nr(e);return`#${t.map((n,r)=>HM(r===3?Math.round(255*n):n)).join("")}`}function Zb(e){e=nr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,s=r*Math.min(o,1-o),a=(d,h=(d+n/30)%12)=>o-s*Math.max(Math.min(h-3,9-h,1),-1);let c="rgb";const u=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(c+="a",u.push(t[3])),ts({type:c,values:u})}function wc(e){e=nr(e);let t=e.type==="hsl"||e.type==="hsla"?nr(Zb(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function KM(e,t){const n=wc(e),r=wc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Qb(e,t){return e=nr(e),t=sp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ts(e)}function XM(e,t,n){try{return Qb(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function ap(e,t){if(e=nr(e),t=sp(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ts(e)}function ZM(e,t,n){try{return ap(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function lp(e,t){if(e=nr(e),t=sp(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ts(e)}function QM(e,t,n){try{return lp(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function Jb(e,t=.15){return wc(e)>.5?ap(e,t):lp(e,t)}function JM(e,t,n){try{return Jb(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function qM(e,t,n,r=1){const o=(u,d)=>Math.round((u**(1/r)*(1-n)+d**(1/r)*n)**r),s=nr(e),a=nr(t),c=[o(s.values[0],a.values[0]),o(s.values[1],a.values[1]),o(s.values[2],a.values[2])];return ts({type:"rgb",values:c})}const Ea={black:"#000",white:"#fff"},$M={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ns={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},rs={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ia={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},os={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},is={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ss={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},e6=["mode","contrastThreshold","tonalOffset"],qb={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Ea.white,default:Ea.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},cp={text:{primary:Ea.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Ea.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function $b(e,t,n,r){const o=r.light||r,s=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=zM(e.main,o):t==="dark"&&(e.dark=WM(e.main,s)))}function t6(e="light"){return e==="dark"?{main:os[200],light:os[50],dark:os[400]}:{main:os[700],light:os[400],dark:os[800]}}function n6(e="light"){return e==="dark"?{main:ns[200],light:ns[50],dark:ns[400]}:{main:ns[500],light:ns[300],dark:ns[700]}}function r6(e="light"){return e==="dark"?{main:rs[500],light:rs[300],dark:rs[700]}:{main:rs[700],light:rs[400],dark:rs[800]}}function o6(e="light"){return e==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[700],light:is[500],dark:is[900]}}function i6(e="light"){return e==="dark"?{main:ss[400],light:ss[300],dark:ss[700]}:{main:ss[800],light:ss[500],dark:ss[900]}}function s6(e="light"){return e==="dark"?{main:Ia[400],light:Ia[300],dark:Ia[700]}:{main:"#ed6c02",light:Ia[500],dark:Ia[900]}}function a6(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ge(e,e6),s=e.primary||t6(t),a=e.secondary||n6(t),c=e.error||r6(t),u=e.info||o6(t),d=e.success||i6(t),h=e.warning||s6(t);function g(C){const w=Gb(C,cp.text.primary)>=n?cp.text.primary:qb.text.primary;if(process.env.NODE_ENV!=="production"){const I=Gb(C,w);I<3&&console.error([`MUI: The contrast ratio of ${I}:1 for ${w} on ${C}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
33
|
+
`))}return w}const m=({color:C,name:w,mainShade:I=500,lightShade:L=300,darkShade:E=700})=>{if(C=Z({},C),!C.main&&C[I]&&(C.main=C[I]),!C.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
34
|
+
The color object needs to have a \`main\` property or a \`${I}\` property.`:ai(11,w?` (${w})`:"",I));if(typeof C.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${w?` (${w})`:""} provided to augmentColor(color) is invalid.
|
|
35
|
+
\`color.main\` should be a string, but \`${JSON.stringify(C.main)}\` was provided instead.
|
|
36
36
|
|
|
37
37
|
Did you intend to use one of the following approaches?
|
|
38
38
|
|
|
@@ -44,9 +44,9 @@ const theme1 = createTheme({ palette: {
|
|
|
44
44
|
|
|
45
45
|
const theme2 = createTheme({ palette: {
|
|
46
46
|
primary: { main: green[500] },
|
|
47
|
-
} });`:ai(12,w?` (${w})`:"",JSON.stringify(
|
|
48
|
-
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:nx(a)} ${c} ${typeof u=="string"?u:nx(u)}`).join(",")}},e,{easing:t,duration:n})}const
|
|
49
|
-
`))}m[b]={}}}};Object.keys(d.components).forEach(m=>{const v=d.components[m].styleOverrides;v&&m.indexOf("Mui")===0&&g(v,m)})}return d.unstable_sxConfig=
|
|
47
|
+
} });`:ai(12,w?` (${w})`:"",JSON.stringify(C.main)));return $b(C,"light",L,r),$b(C,"dark",E,r),C.contrastText||(C.contrastText=g(C.main)),C},v={dark:cp,light:qb};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Lr(Z({common:Z({},Ea),mode:t,primary:m({color:s,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:h,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:d,name:"success"}),grey:$M,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r},v[t]),o)}const l6=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function c6(e){return Math.round(e*1e5)/1e5}const ex={textTransform:"uppercase"},tx='"Roboto", "Helvetica", "Arial", sans-serif';function u6(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=tx,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:a=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:h,pxToRem:g}=n,m=Ge(n,l6);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const v=o/14,b=g||(I=>`${I/d*v}rem`),C=(I,L,E,j,P)=>Z({fontFamily:r,fontWeight:I,fontSize:b(L),lineHeight:E},r===tx?{letterSpacing:`${c6(j/L)}em`}:{},P,h),w={h1:C(s,96,1.167,-1.5),h2:C(s,60,1.2,-.5),h3:C(a,48,1.167,0),h4:C(a,34,1.235,.25),h5:C(a,24,1.334,0),h6:C(c,20,1.6,.15),subtitle1:C(a,16,1.75,.15),subtitle2:C(c,14,1.57,.1),body1:C(a,16,1.5,.15),body2:C(a,14,1.43,.15),button:C(c,14,1.75,.4,ex),caption:C(a,12,1.66,.4),overline:C(a,12,2.66,1,ex),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Lr(Z({htmlFontSize:d,pxToRem:b,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},w),m,{clone:!1})}const d6=.2,f6=.14,p6=.12;function wt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${d6})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${f6})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${p6})`].join(",")}const h6=["none",wt(0,2,1,-1,0,1,1,0,0,1,3,0),wt(0,3,1,-2,0,2,2,0,0,1,5,0),wt(0,3,3,-2,0,3,4,0,0,1,8,0),wt(0,2,4,-1,0,4,5,0,0,1,10,0),wt(0,3,5,-1,0,5,8,0,0,1,14,0),wt(0,3,5,-1,0,6,10,0,0,1,18,0),wt(0,4,5,-2,0,7,10,1,0,2,16,1),wt(0,5,5,-3,0,8,10,1,0,3,14,2),wt(0,5,6,-3,0,9,12,1,0,3,16,2),wt(0,6,6,-3,0,10,14,1,0,4,18,3),wt(0,6,7,-4,0,11,15,1,0,4,20,3),wt(0,7,8,-4,0,12,17,2,0,5,22,4),wt(0,7,8,-4,0,13,19,2,0,5,24,4),wt(0,7,9,-4,0,14,21,2,0,5,26,4),wt(0,8,9,-5,0,15,22,2,0,6,28,5),wt(0,8,10,-5,0,16,24,2,0,6,30,5),wt(0,8,11,-5,0,17,26,2,0,6,32,5),wt(0,9,11,-5,0,18,28,2,0,7,34,6),wt(0,9,12,-6,0,19,29,2,0,7,36,6),wt(0,10,13,-6,0,20,31,3,0,8,38,7),wt(0,10,13,-6,0,21,33,3,0,8,40,7),wt(0,10,14,-6,0,22,35,3,0,8,42,7),wt(0,11,14,-7,0,23,36,3,0,9,44,8),wt(0,11,15,-7,0,24,38,3,0,9,46,8)],g6=["duration","easing","delay"],m6={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},v6={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function nx(e){return`${Math.round(e)}ms`}function y6(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function b6(e){const t=Z({},m6,e.easing),n=Z({},v6,e.duration);return Z({getAutoHeightDuration:y6,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=t.easeInOut,delay:u=0}=s,d=Ge(s,g6);if(process.env.NODE_ENV!=="production"){const h=m=>typeof m=="string",g=m=>!isNaN(parseFloat(m));!h(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!g(a)&&!h(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),h(c)||console.error('MUI: Argument "easing" must be a string.'),!g(u)&&!h(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof s!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
48
|
+
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(h=>`${h} ${typeof a=="string"?a:nx(a)} ${c} ${typeof u=="string"?u:nx(u)}`).join(",")}},e,{easing:t,duration:n})}const x6={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},C6=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function up(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:s={}}=e,a=Ge(e,C6);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":ai(18));const c=a6(r),u=pc(e);let d=Lr(u,{mixins:BM(u.breakpoints,n),palette:c,shadows:h6.slice(),typography:u6(c,s),transitions:b6(o),zIndex:Z({},x6)});if(d=Lr(d,a),d=t.reduce((h,g)=>Lr(h,g),d),process.env.NODE_ENV!=="production"){const h=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],g=(m,v)=>{let b;for(b in m){const C=m[b];if(h.indexOf(b)!==-1&&Object.keys(C).length>0){if(process.env.NODE_ENV!=="production"){const w=Rn("",b);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${b}\` internal state.`,"You can not override it like this: ",JSON.stringify(m,null,2),"",`Instead, you need to use the '&.${w}' syntax:`,JSON.stringify({root:{[`&.${w}`]:C}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
49
|
+
`))}m[b]={}}}};Object.keys(d.components).forEach(m=>{const v=d.components[m].styleOverrides;v&&m.indexOf("Mui")===0&&g(v,m)})}return d.unstable_sxConfig=Z({},xa,a==null?void 0:a.unstable_sxConfig),d.unstable_sx=function(g){return Ca({sx:g,theme:this})},d}const dp=up(),Oa="$$material";function rr({props:e,name:t}){return FM({props:e,name:t,defaultTheme:dp,themeId:Oa})}var Pa={},fp={exports:{}},rx;function w6(){return rx||(rx=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var s in o)({}).hasOwnProperty.call(o,s)&&(n[s]=o[s])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(fp)),fp.exports}var pp={exports:{}},ox;function S6(){return ox||(ox=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var s in n)if({}.hasOwnProperty.call(n,s)){if(r.includes(s))continue;o[s]=n[s]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(pp)),pp.exports}const ix=Jr(MM),A6=Jr(o5),T6=Jr(d5);var hp={exports:{}},it={};/**
|
|
50
50
|
* @license React
|
|
51
51
|
* react-is.production.min.js
|
|
52
52
|
*
|
|
@@ -54,7 +54,7 @@ const theme2 = createTheme({ palette: {
|
|
|
54
54
|
*
|
|
55
55
|
* This source code is licensed under the MIT license found in the
|
|
56
56
|
* LICENSE file in the root directory of this source tree.
|
|
57
|
-
*/var sx;function
|
|
57
|
+
*/var sx;function E6(){if(sx)return it;sx=1;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"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function C(w){if(typeof w=="object"&&w!==null){var I=w.$$typeof;switch(I){case e:switch(w=w.type,w){case n:case o:case r:case d:case h:return w;default:switch(w=w&&w.$$typeof,w){case c:case a:case u:case m:case g:case s:return w;default:return I}}case t:return I}}}return it.ContextConsumer=a,it.ContextProvider=s,it.Element=e,it.ForwardRef=u,it.Fragment=n,it.Lazy=m,it.Memo=g,it.Portal=t,it.Profiler=o,it.StrictMode=r,it.Suspense=d,it.SuspenseList=h,it.isAsyncMode=function(){return!1},it.isConcurrentMode=function(){return!1},it.isContextConsumer=function(w){return C(w)===a},it.isContextProvider=function(w){return C(w)===s},it.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},it.isForwardRef=function(w){return C(w)===u},it.isFragment=function(w){return C(w)===n},it.isLazy=function(w){return C(w)===m},it.isMemo=function(w){return C(w)===g},it.isPortal=function(w){return C(w)===t},it.isProfiler=function(w){return C(w)===o},it.isStrictMode=function(w){return C(w)===r},it.isSuspense=function(w){return C(w)===d},it.isSuspenseList=function(w){return C(w)===h},it.isValidElementType=function(w){return typeof w=="string"||typeof w=="function"||w===n||w===o||w===r||w===d||w===h||w===v||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===g||w.$$typeof===s||w.$$typeof===a||w.$$typeof===u||w.$$typeof===b||w.getModuleId!==void 0)},it.typeOf=C,it}var st={};/**
|
|
58
58
|
* @license React
|
|
59
59
|
* react-is.development.js
|
|
60
60
|
*
|
|
@@ -62,14 +62,14 @@ const theme2 = createTheme({ palette: {
|
|
|
62
62
|
*
|
|
63
63
|
* This source code is licensed under the MIT license found in the
|
|
64
64
|
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/var ax;function A6(){return ax||(ax=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"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=!1,x=!1,w=!1,I=!1,F=!1,E;E=Symbol.for("react.module.reference");function k(me){return!!(typeof me=="string"||typeof me=="function"||me===n||me===o||F||me===r||me===d||me===h||I||me===v||b||x||w||typeof me=="object"&&me!==null&&(me.$$typeof===m||me.$$typeof===g||me.$$typeof===s||me.$$typeof===a||me.$$typeof===u||me.$$typeof===E||me.getModuleId!==void 0))}function P(me){if(typeof me=="object"&&me!==null){var Qe=me.$$typeof;switch(Qe){case e:var an=me.type;switch(an){case n:case o:case r:case d:case h:return an;default:var Et=an&&an.$$typeof;switch(Et){case c:case a:case u:case m:case g:case s:return Et;default:return Qe}}case t:return Qe}}}var L=a,D=s,Y=e,Z=u,ee=n,G=m,le=g,ae=t,q=o,J=r,z=d,Q=h,N=!1,ne=!1;function W(me){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function K(me){return ne||(ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(me){return P(me)===a}function he(me){return P(me)===s}function fe(me){return typeof me=="object"&&me!==null&&me.$$typeof===e}function ge(me){return P(me)===u}function ve(me){return P(me)===n}function Te(me){return P(me)===m}function Ce(me){return P(me)===g}function be(me){return P(me)===t}function we(me){return P(me)===o}function Ie(me){return P(me)===r}function ue(me){return P(me)===d}function qe(me){return P(me)===h}st.ContextConsumer=L,st.ContextProvider=D,st.Element=Y,st.ForwardRef=Z,st.Fragment=ee,st.Lazy=G,st.Memo=le,st.Portal=ae,st.Profiler=q,st.StrictMode=J,st.Suspense=z,st.SuspenseList=Q,st.isAsyncMode=W,st.isConcurrentMode=K,st.isContextConsumer=de,st.isContextProvider=he,st.isElement=fe,st.isForwardRef=ge,st.isFragment=ve,st.isLazy=Te,st.isMemo=Ce,st.isPortal=be,st.isProfiler=we,st.isStrictMode=Ie,st.isSuspense=ue,st.isSuspenseList=qe,st.isValidElementType=k,st.typeOf=P}()),st}process.env.NODE_ENV==="production"?hp.exports=S6():hp.exports=A6();var gp=hp.exports;const T6=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function lx(e){const t=`${e}`.match(T6);return t&&t[1]||""}function cx(e,t=""){return e.displayName||e.name||lx(e)||t}function ux(e,t,n){const r=cx(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function dx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return cx(e,"Component");if(typeof e=="object")switch(e.$$typeof){case gp.ForwardRef:return ux(e,e.render,"ForwardRef");case gp.Memo:return ux(e,e.type,"memo");default:return}}}const E6=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:dx,getFunctionName:lx},Symbol.toStringTag,{value:"Module"}))),I6=Jr(Q5),O6=Jr(LM);var as=Io;Object.defineProperty(Pa,"__esModule",{value:!0});var P6=Pa.default=U6;Pa.shouldForwardProp=Sc,Pa.systemDefaultTheme=void 0;var or=as(b6()),mp=as(x6()),fx=B6(ix),j6=C6,M6=as(w6),k6=as(E6),F6=as(I6),L6=as(O6);const D6=["ownerState"],R6=["variants"],_6=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function px(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(px=function(r){return r?n:t})(e)}function B6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=px(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function N6(e){return Object.keys(e).length===0}function V6(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Sc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const W6=Pa.systemDefaultTheme=(0,F6.default)(),hx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ac({defaultTheme:e,theme:t,themeId:n}){return N6(t)?e:t[n]||t}function z6(e){return e?(t,n)=>n[e]:null}function Tc(e,t){let{ownerState:n}=t,r=(0,mp.default)(t,D6);const o=typeof e=="function"?e((0,or.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Tc(s,(0,or.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,mp.default)(o,R6);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,or.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,or.default)({ownerState:n},r,n)):u.style))}),c}return o}function U6(e={}){const{themeId:t,defaultTheme:n=W6,rootShouldForwardProp:r=Sc,slotShouldForwardProp:o=Sc}=e,s=a=>(0,L6.default)((0,or.default)({},a,{theme:Ac((0,or.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,fx.internal_processStyles)(a,P=>P.filter(L=>!(L!=null&&L.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=z6(hx(d))}=c,v=(0,mp.default)(c,_6),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,x=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${hx(d||"Root")}`);let I=Sc;d==="Root"||d==="root"?I=r:d?I=o:V6(a)&&(I=void 0);const F=(0,fx.default)(a,(0,or.default)({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||(0,j6.isPlainObject)(P)?L=>Tc(P,(0,or.default)({},L,{theme:Ac({theme:L.theme,defaultTheme:n,themeId:t})})):P,k=(P,...L)=>{let D=E(P);const Y=L?L.map(E):[];u&&m&&Y.push(G=>{const le=Ac((0,or.default)({},G,{defaultTheme:n,themeId:t}));if(!le.components||!le.components[u]||!le.components[u].styleOverrides)return null;const ae=le.components[u].styleOverrides,q={};return Object.entries(ae).forEach(([J,z])=>{q[J]=Tc(z,(0,or.default)({},G,{theme:le}))}),m(G,q)}),u&&!b&&Y.push(G=>{var le;const ae=Ac((0,or.default)({},G,{defaultTheme:n,themeId:t})),q=ae==null||(le=ae.components)==null||(le=le[u])==null?void 0:le.variants;return Tc({variants:q},(0,or.default)({},G,{theme:ae}))}),x||Y.push(s);const Z=Y.length-L.length;if(Array.isArray(P)&&Z>0){const G=new Array(Z).fill("");D=[...P,...G],D.raw=[...P.raw,...G]}const ee=F(D,...Y);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${(0,M6.default)(d||"")}`),G===void 0&&(G=`Styled(${(0,k6.default)(a)})`),ee.displayName=G}return a.muiName&&(ee.muiName=a.muiName),ee};return F.withConfig&&(k.withConfig=F.withConfig),k}}function H6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gx=e=>H6(e)&&e!=="classes",pe=P6({themeId:Oa,defaultTheme:dp,rootShouldForwardProp:gx});function G6(e){return rr}function ir(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=_n(e,o,n)}),r}function Y6(e){return _n("MuiSvgIcon",e)}ir("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const K6=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],X6=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${He(t)}`,`fontSize${He(n)}`]};return $n(o,Y6,r)},Z6=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${He(n.color)}`],t[`fontSize${He(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,d,h,g,m,v,b;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:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(g=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?g:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.disabled,inherit:void 0}[t.color]}}),Ec=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=r,v=Ge(r,K6),b=B.isValidElement(o)&&o.type==="svg",x=X({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:b}),w={};h||(w.viewBox=m);const I=X6(x);return f.jsxs(Z6,X({as:c,className:lt(I.root,s),focusable:"false",color:d,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},w,v,b&&o.props,{ownerState:x,children:[b?o.props.children:o,g?f.jsx("title",{children:g}):null]}))});process.env.NODE_ENV!=="production"&&(Ec.propTypes={children:C.node,classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),C.string]),component:C.elementType,fontSize:C.oneOfType([C.oneOf(["inherit","large","medium","small"]),C.string]),htmlColor:C.string,inheritViewBox:C.bool,shapeRendering:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),titleAccess:C.string,viewBox:C.string}),Ec.muiName="SvgIcon";function vp(e,t){function n(r,o){return f.jsx(Ec,X({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Ec.muiName,B.memo(B.forwardRef(n))}const Q6=vp(f.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 J6(e){return _n("MuiAvatar",e)}ir("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function ls(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function xn(...e){return B.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ls(n,t)})},e)}function q6(e){return typeof e=="string"}function cs(e,t,n){return e===void 0||q6(e)?t:X({},t,{ownerState:X({},t.ownerState,n)})}const $6={disableDefaultClasses:!1},mx=B.createContext($6);process.env.NODE_ENV!=="production"&&(mx.displayName="ClassNameConfiguratorContext");function ek(e){const{disableDefaultClasses:t}=B.useContext(mx);return n=>t?"":e(n)}function tk(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 vx(e,t,n){return typeof e=="function"?e(t,n):e}function Po(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function nk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function yx(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;const u=s.type;return typeof u=="function"&&!nk(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const yp=Po(C.element,yx);yp.isRequired=Po(C.element.isRequired,yx);function rk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ok(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;return typeof s=="function"&&!rk(s)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ik=Po(C.elementType,ok),sk="exact-prop: ";function Ic(e){return process.env.NODE_ENV==="production"?e:X({},e,{[sk]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function jo(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 Oc=C.oneOfType([C.func,C.object]);function ak(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function lk(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 ck(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 uk(e,t){var n,r;return B.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 us(e){return e&&e.ownerDocument||document}function dk(e){return us(e).defaultView||window}function fk(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?X({},t.propTypes):null;return o=>(s,a,c,u,d,...h)=>{const g=d||a,m=n==null?void 0:n[g];if(m){const v=m(s,a,c,u,d,...h);if(v)return v}return typeof s[a]<"u"&&!s[o]?new Error(`The prop \`${g}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const Rr=typeof window<"u"?B.useLayoutEffect:B.useEffect;let bx=0;function pk(e){const[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t==null&&(bx+=1,n(`mui-${bx}`))},[t]),r}const xx=B.useId;function bp(e){if(xx!==void 0){const t=xx();return e??t}return pk(e)}function hk(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 Cx({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=B.useRef(e!==void 0),[s,a]=B.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){B.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(`
|
|
65
|
+
*/var ax;function I6(){return ax||(ax=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"),d=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),g=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),b=!1,C=!1,w=!1,I=!1,L=!1,E;E=Symbol.for("react.module.reference");function j(me){return!!(typeof me=="string"||typeof me=="function"||me===n||me===o||L||me===r||me===d||me===h||I||me===v||b||C||w||typeof me=="object"&&me!==null&&(me.$$typeof===m||me.$$typeof===g||me.$$typeof===s||me.$$typeof===a||me.$$typeof===u||me.$$typeof===E||me.getModuleId!==void 0))}function P(me){if(typeof me=="object"&&me!==null){var Qe=me.$$typeof;switch(Qe){case e:var an=me.type;switch(an){case n:case o:case r:case d:case h:return an;default:var Et=an&&an.$$typeof;switch(Et){case c:case a:case u:case m:case g:case s:return Et;default:return Qe}}case t:return Qe}}}var D=a,F=s,U=e,K=u,ee=n,G=m,le=g,ae=t,q=o,J=r,z=d,Q=h,N=!1,re=!1;function W(me){return N||(N=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function X(me){return re||(re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(me){return P(me)===a}function he(me){return P(me)===s}function fe(me){return typeof me=="object"&&me!==null&&me.$$typeof===e}function ge(me){return P(me)===u}function ve(me){return P(me)===n}function Te(me){return P(me)===m}function Ce(me){return P(me)===g}function be(me){return P(me)===t}function we(me){return P(me)===o}function Ie(me){return P(me)===r}function ue(me){return P(me)===d}function qe(me){return P(me)===h}st.ContextConsumer=D,st.ContextProvider=F,st.Element=U,st.ForwardRef=K,st.Fragment=ee,st.Lazy=G,st.Memo=le,st.Portal=ae,st.Profiler=q,st.StrictMode=J,st.Suspense=z,st.SuspenseList=Q,st.isAsyncMode=W,st.isConcurrentMode=X,st.isContextConsumer=de,st.isContextProvider=he,st.isElement=fe,st.isForwardRef=ge,st.isFragment=ve,st.isLazy=Te,st.isMemo=Ce,st.isPortal=be,st.isProfiler=we,st.isStrictMode=Ie,st.isSuspense=ue,st.isSuspenseList=qe,st.isValidElementType=j,st.typeOf=P}()),st}process.env.NODE_ENV==="production"?hp.exports=E6():hp.exports=I6();var gp=hp.exports;const O6=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function lx(e){const t=`${e}`.match(O6);return t&&t[1]||""}function cx(e,t=""){return e.displayName||e.name||lx(e)||t}function ux(e,t,n){const r=cx(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function dx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return cx(e,"Component");if(typeof e=="object")switch(e.$$typeof){case gp.ForwardRef:return ux(e,e.render,"ForwardRef");case gp.Memo:return ux(e,e.type,"memo");default:return}}}const P6=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:dx,getFunctionName:lx},Symbol.toStringTag,{value:"Module"}))),j6=Jr($5),M6=Jr(RM);var as=Io;Object.defineProperty(Pa,"__esModule",{value:!0});var k6=Pa.default=Y6;Pa.shouldForwardProp=Sc,Pa.systemDefaultTheme=void 0;var or=as(w6()),mp=as(S6()),fx=W6(ix),L6=A6,F6=as(T6),D6=as(P6),_6=as(j6),R6=as(M6);const B6=["ownerState"],N6=["variants"],V6=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function px(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(px=function(r){return r?n:t})(e)}function W6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=px(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function z6(e){return Object.keys(e).length===0}function U6(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Sc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const H6=Pa.systemDefaultTheme=(0,_6.default)(),hx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ac({defaultTheme:e,theme:t,themeId:n}){return z6(t)?e:t[n]||t}function G6(e){return e?(t,n)=>n[e]:null}function Tc(e,t){let{ownerState:n}=t,r=(0,mp.default)(t,B6);const o=typeof e=="function"?e((0,or.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Tc(s,(0,or.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,mp.default)(o,N6);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,or.default)({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style((0,or.default)({ownerState:n},r,n)):u.style))}),c}return o}function Y6(e={}){const{themeId:t,defaultTheme:n=H6,rootShouldForwardProp:r=Sc,slotShouldForwardProp:o=Sc}=e,s=a=>(0,R6.default)((0,or.default)({},a,{theme:Ac((0,or.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,fx.internal_processStyles)(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=G6(hx(d))}=c,v=(0,mp.default)(c,V6),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${hx(d||"Root")}`);let I=Sc;d==="Root"||d==="root"?I=r:d?I=o:U6(a)&&(I=void 0);const L=(0,fx.default)(a,(0,or.default)({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||(0,L6.isPlainObject)(P)?D=>Tc(P,(0,or.default)({},D,{theme:Ac({theme:D.theme,defaultTheme:n,themeId:t})})):P,j=(P,...D)=>{let F=E(P);const U=D?D.map(E):[];u&&m&&U.push(G=>{const le=Ac((0,or.default)({},G,{defaultTheme:n,themeId:t}));if(!le.components||!le.components[u]||!le.components[u].styleOverrides)return null;const ae=le.components[u].styleOverrides,q={};return Object.entries(ae).forEach(([J,z])=>{q[J]=Tc(z,(0,or.default)({},G,{theme:le}))}),m(G,q)}),u&&!b&&U.push(G=>{var le;const ae=Ac((0,or.default)({},G,{defaultTheme:n,themeId:t})),q=ae==null||(le=ae.components)==null||(le=le[u])==null?void 0:le.variants;return Tc({variants:q},(0,or.default)({},G,{theme:ae}))}),C||U.push(s);const K=U.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");F=[...P,...G],F.raw=[...P.raw,...G]}const ee=L(F,...U);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${(0,F6.default)(d||"")}`),G===void 0&&(G=`Styled(${(0,D6.default)(a)})`),ee.displayName=G}return a.muiName&&(ee.muiName=a.muiName),ee};return L.withConfig&&(j.withConfig=L.withConfig),j}}function K6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gx=e=>K6(e)&&e!=="classes",pe=k6({themeId:Oa,defaultTheme:dp,rootShouldForwardProp:gx});function X6(e){return rr}function ir(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Rn(e,o,n)}),r}function Z6(e){return Rn("MuiSvgIcon",e)}ir("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Q6=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],J6=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${He(t)}`,`fontSize${He(n)}`]};return $n(o,Z6,r)},q6=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${He(n.color)}`],t[`fontSize${He(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,s,a,c,u,d,h,g,m,v,b;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:((d=e.typography)==null||(h=d.pxToRem)==null?void 0:h.call(d,35))||"2.1875rem"}[t.fontSize],color:(g=(m=(e.vars||e).palette)==null||(m=m[t.color])==null?void 0:m.main)!=null?g:{action:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.active,disabled:(b=(e.vars||e).palette)==null||(b=b.action)==null?void 0:b.disabled,inherit:void 0}[t.color]}}),Ec=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiSvgIcon"}),{children:o,className:s,color:a="inherit",component:c="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=r,v=Ge(r,Q6),b=B.isValidElement(o)&&o.type==="svg",C=Z({},r,{color:a,component:c,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:b}),w={};h||(w.viewBox=m);const I=J6(C);return f.jsxs(q6,Z({as:c,className:lt(I.root,s),focusable:"false",color:d,"aria-hidden":g?void 0:!0,role:g?"img":void 0,ref:n},w,v,b&&o.props,{ownerState:C,children:[b?o.props.children:o,g?f.jsx("title",{children:g}):null]}))});process.env.NODE_ENV!=="production"&&(Ec.propTypes={children:x.node,classes:x.object,className:x.string,color:x.oneOfType([x.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),x.string]),component:x.elementType,fontSize:x.oneOfType([x.oneOf(["inherit","large","medium","small"]),x.string]),htmlColor:x.string,inheritViewBox:x.bool,shapeRendering:x.string,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),titleAccess:x.string,viewBox:x.string}),Ec.muiName="SvgIcon";function vp(e,t){function n(r,o){return f.jsx(Ec,Z({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Ec.muiName,B.memo(B.forwardRef(n))}const $6=vp(f.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 ek(e){return Rn("MuiAvatar",e)}ir("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function ls(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function xn(...e){return B.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ls(n,t)})},e)}function tk(e){return typeof e=="string"}function cs(e,t,n){return e===void 0||tk(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const nk={disableDefaultClasses:!1},mx=B.createContext(nk);process.env.NODE_ENV!=="production"&&(mx.displayName="ClassNameConfiguratorContext");function rk(e){const{disableDefaultClasses:t}=B.useContext(mx);return n=>t?"":e(n)}function ok(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 vx(e,t,n){return typeof e=="function"?e(t,n):e}function Po(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function ik(e){const{prototype:t={}}=e;return!!t.isReactComponent}function yx(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;const u=s.type;return typeof u=="function"&&!ik(u)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const yp=Po(x.element,yx);yp.isRequired=Po(x.element.isRequired,yx);function sk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function ak(e,t,n,r,o){const s=e[t],a=o||t;if(s==null||typeof window>"u")return null;let c;return typeof s=="function"&&!sk(s)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const lk=Po(x.elementType,ak),ck="exact-prop: ";function Ic(e){return process.env.NODE_ENV==="production"?e:Z({},e,{[ck]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function jo(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 Oc=x.oneOfType([x.func,x.object]);function uk(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function dk(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 fk(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 pk(e,t){var n,r;return B.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 us(e){return e&&e.ownerDocument||document}function hk(e){return us(e).defaultView||window}function gk(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?Z({},t.propTypes):null;return o=>(s,a,c,u,d,...h)=>{const g=d||a,m=n==null?void 0:n[g];if(m){const v=m(s,a,c,u,d,...h);if(v)return v}return typeof s[a]<"u"&&!s[o]?new Error(`The prop \`${g}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}const _r=typeof window<"u"?B.useLayoutEffect:B.useEffect;let bx=0;function mk(e){const[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t==null&&(bx+=1,n(`mui-${bx}`))},[t]),r}const xx=B.useId;function bp(e){if(xx!==void 0){const t=xx();return e??t}return mk(e)}function vk(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 Cx({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=B.useRef(e!==void 0),[s,a]=B.useState(t),c=o?e:s;if(process.env.NODE_ENV!=="production"){B.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(`
|
|
66
66
|
`))},[r,n,e]);const{current:d}=B.useRef(t);B.useEffect(()=>{!o&&!Object.is(d,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(`
|
|
67
|
-
`))},[JSON.stringify(t)])}const u=B.useCallback(d=>{o||a(d)},[]);return[c,u]}function li(e){const t=B.useRef(e);return Rr(()=>{t.current=e}),B.useRef((...n)=>(0,t.current)(...n)).current}const wx={};function gk(e,t){const n=B.useRef(wx);return n.current===wx&&(n.current=e(t)),n}const mk=[];function vk(e){B.useEffect(e,mk)}class ja{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ja}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ds(){const e=gk(ja.create).current;return vk(e.disposeEffect),e}let Pc=!0,xp=!1;const yk=new ja,bk={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 xk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&bk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ck(e){e.metaKey||e.altKey||e.ctrlKey||(Pc=!0)}function Cp(){Pc=!1}function wk(){this.visibilityState==="hidden"&&xp&&(Pc=!0)}function Sk(e){e.addEventListener("keydown",Ck,!0),e.addEventListener("mousedown",Cp,!0),e.addEventListener("pointerdown",Cp,!0),e.addEventListener("touchstart",Cp,!0),e.addEventListener("visibilitychange",wk,!0)}function Ak(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Pc||xk(t)}function wp(){const e=B.useCallback(o=>{o!=null&&Sk(o.ownerDocument)},[]),t=B.useRef(!1);function n(){return t.current?(xp=!0,yk.start(100,()=>{xp=!1}),t.current=!1,!0):!1}function r(o){return Ak(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Tk(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 Ek(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Ik=Number.isInteger||Ek;function Sx(e,t,n,r){const o=e[t];if(o==null||!Ik(o)){const s=Tk(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Ax(e,t,...n){return e[t]===void 0?null:Sx(e,t,...n)}function Sp(){return null}Ax.isRequired=Sx,Sp.isRequired=Sp;const Ap=process.env.NODE_ENV==="production"?Sp:Ax;function Tx(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 Ex(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),b=X({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=X({},n,o,r);return v.length>0&&(x.className=v),Object.keys(b).length>0&&(x.style=b),{props:x,internalRef:void 0}}const a=tk(X({},o,r)),c=Tx(r),u=Tx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=X({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=X({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const Ok=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ix(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,Ok),c=s?{}:vx(r,o),{props:u,internalRef:d}=Ex(X({},a,{externalSlotProps:c})),h=xn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return cs(n,X({},u,{ref:h}),o)}const Pk=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],jk=["component","slots","slotProps"],Mk=["component"];function kk(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=Ge(t,Pk),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;Ge(s,jk);const m=h[e]||r,v=vx(g[e],o),b=Ex(X({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:x},internalRef:w}=b,I=Ge(b.props,Mk),F=xn(w,v==null?void 0:v.ref,t.ref),E=a?a(I):{},k=X({},o,E),P=x,L=cs(m,X({},e==="root",!h[e]&&c,I,P&&{as:P},{ref:F}),k);return Object.keys(E).forEach(D=>{delete L[D]}),[m,L]}const Fk=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],Lk=G6(),Dk=e=>{const{classes:t,variant:n,colorDefault:r}=e;return $n({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},J6,t)},Rk=pe("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({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",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:X({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:X({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),_k=pe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Bk=pe(Q6,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Nk({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=B.useState(!1);return B.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 Ox=B.forwardRef(function(t,n){const r=Lk({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",slots:u={},slotProps:d={},imgProps:h,sizes:g,src:m,srcSet:v,variant:b="circular"}=r,x=Ge(r,Fk);let w=null;const I=Nk(X({},h,{src:m,srcSet:v})),F=m||v,E=F&&I!=="error",k=X({},r,{colorDefault:!E,component:c,variant:b}),P=Dk(k),[L,D]=kk("img",{className:P.img,elementType:_k,externalForwardedProps:{slots:u,slotProps:{img:X({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:k});return E?w=f.jsx(L,X({},D)):s||s===0?w=s:F&&o?w=o[0]:w=f.jsx(Bk,{ownerState:k,className:P.fallback}),f.jsx(Rk,X({as:c,ownerState:k,className:lt(P.root,a),ref:n},x,{children:w}))});process.env.NODE_ENV!=="production"&&(Ox.propTypes={alt:C.string,children:C.node,classes:C.object,className:C.string,component:C.elementType,imgProps:C.object,sizes:C.string,slotProps:C.shape({img:C.oneOfType([C.func,C.object])}),slots:C.shape({img:C.elementType}),src:C.string,srcSet:C.string,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["circular","rounded","square"]),C.string])});const Vk=["ownerState"],Wk=["variants"],zk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Uk(e){return Object.keys(e).length===0}function Hk(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Gk=pc(),Px=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function jc({defaultTheme:e,theme:t,themeId:n}){return Uk(t)?e:t[n]||t}function Yk(e){return e?(t,n)=>n[e]:null}function Mc(e,t){let{ownerState:n}=t,r=Ge(t,Vk);const o=typeof e=="function"?e(X({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Mc(s,X({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=Ge(o,Wk);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props(X({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style(X({ownerState:n},r,n)):u.style))}),c}return o}function Kk(e={}){const{themeId:t,defaultTheme:n=Gk,rootShouldForwardProp:r=Tp,slotShouldForwardProp:o=Tp}=e,s=a=>Ca(X({},a,{theme:jc(X({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{Db(a,P=>P.filter(L=>!(L!=null&&L.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=Yk(Px(d))}=c,v=Ge(c,zk),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,x=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Px(d||"Root")}`);let I=Tp;d==="Root"||d==="root"?I=r:d?I=o:Hk(a)&&(I=void 0);const F=Lb(a,X({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||qr(P)?L=>Mc(P,X({},L,{theme:jc({theme:L.theme,defaultTheme:n,themeId:t})})):P,k=(P,...L)=>{let D=E(P);const Y=L?L.map(E):[];u&&m&&Y.push(G=>{const le=jc(X({},G,{defaultTheme:n,themeId:t}));if(!le.components||!le.components[u]||!le.components[u].styleOverrides)return null;const ae=le.components[u].styleOverrides,q={};return Object.entries(ae).forEach(([J,z])=>{q[J]=Mc(z,X({},G,{theme:le}))}),m(G,q)}),u&&!b&&Y.push(G=>{var le;const ae=jc(X({},G,{defaultTheme:n,themeId:t})),q=ae==null||(le=ae.components)==null||(le=le[u])==null?void 0:le.variants;return Mc({variants:q},X({},G,{theme:ae}))}),x||Y.push(s);const Z=Y.length-L.length;if(Array.isArray(P)&&Z>0){const G=new Array(Z).fill("");D=[...P,...G],D.raw=[...P.raw,...G]}const ee=F(D,...Y);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${He(d||"")}`),G===void 0&&(G=`Styled(${dx(a)})`),ee.displayName=G}return a.muiName&&(ee.muiName=a.muiName),ee};return F.withConfig&&(k.withConfig=F.withConfig),k}}const Ma=Kk();function jx(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),zb(e,t,n)}function Xk(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Ep(e){if(e.type)return e;if(e.charAt(0)==="#")return Ep(Xk(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
67
|
+
`))},[JSON.stringify(t)])}const u=B.useCallback(d=>{o||a(d)},[]);return[c,u]}function li(e){const t=B.useRef(e);return _r(()=>{t.current=e}),B.useRef((...n)=>(0,t.current)(...n)).current}const wx={};function yk(e,t){const n=B.useRef(wx);return n.current===wx&&(n.current=e(t)),n}const bk=[];function xk(e){B.useEffect(e,bk)}class ja{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new ja}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function ds(){const e=yk(ja.create).current;return xk(e.disposeEffect),e}let Pc=!0,xp=!1;const Ck=new ja,wk={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 Sk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&wk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ak(e){e.metaKey||e.altKey||e.ctrlKey||(Pc=!0)}function Cp(){Pc=!1}function Tk(){this.visibilityState==="hidden"&&xp&&(Pc=!0)}function Ek(e){e.addEventListener("keydown",Ak,!0),e.addEventListener("mousedown",Cp,!0),e.addEventListener("pointerdown",Cp,!0),e.addEventListener("touchstart",Cp,!0),e.addEventListener("visibilitychange",Tk,!0)}function Ik(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Pc||Sk(t)}function wp(){const e=B.useCallback(o=>{o!=null&&Ek(o.ownerDocument)},[]),t=B.useRef(!1);function n(){return t.current?(xp=!0,Ck.start(100,()=>{xp=!1}),t.current=!1,!0):!1}function r(o){return Ik(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Ok(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 Pk(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const jk=Number.isInteger||Pk;function Sx(e,t,n,r){const o=e[t];if(o==null||!jk(o)){const s=Ok(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Ax(e,t,...n){return e[t]===void 0?null:Sx(e,t,...n)}function Sp(){return null}Ax.isRequired=Sx,Sp.isRequired=Sp;const Ap=process.env.NODE_ENV==="production"?Sp:Ax;function Tx(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 Ex(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),b=Z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),C=Z({},n,o,r);return v.length>0&&(C.className=v),Object.keys(b).length>0&&(C.style=b),{props:C,internalRef:void 0}}const a=ok(Z({},o,r)),c=Tx(r),u=Tx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Z({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Z({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const Mk=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ix(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,Mk),c=s?{}:vx(r,o),{props:u,internalRef:d}=Ex(Z({},a,{externalSlotProps:c})),h=xn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return cs(n,Z({},u,{ref:h}),o)}const kk=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Lk=["component","slots","slotProps"],Fk=["component"];function Dk(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=Ge(t,kk),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;Ge(s,Lk);const m=h[e]||r,v=vx(g[e],o),b=Ex(Z({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:C},internalRef:w}=b,I=Ge(b.props,Fk),L=xn(w,v==null?void 0:v.ref,t.ref),E=a?a(I):{},j=Z({},o,E),P=C,D=cs(m,Z({},e==="root",!h[e]&&c,I,P&&{as:P},{ref:L}),j);return Object.keys(E).forEach(F=>{delete D[F]}),[m,D]}const _k=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],Rk=X6(),Bk=e=>{const{classes:t,variant:n,colorDefault:r}=e;return $n({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},ek,t)},Nk=pe("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(({theme:e})=>({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",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:Z({color:(e.vars||e).palette.background.default},e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:Z({backgroundColor:e.palette.grey[400]},e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})))}]})),Vk=pe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Wk=pe($6,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function zk({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[o,s]=B.useState(!1);return B.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 Ox=B.forwardRef(function(t,n){const r=Rk({props:t,name:"MuiAvatar"}),{alt:o,children:s,className:a,component:c="div",slots:u={},slotProps:d={},imgProps:h,sizes:g,src:m,srcSet:v,variant:b="circular"}=r,C=Ge(r,_k);let w=null;const I=zk(Z({},h,{src:m,srcSet:v})),L=m||v,E=L&&I!=="error",j=Z({},r,{colorDefault:!E,component:c,variant:b}),P=Bk(j),[D,F]=Dk("img",{className:P.img,elementType:Vk,externalForwardedProps:{slots:u,slotProps:{img:Z({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:j});return E?w=f.jsx(D,Z({},F)):s||s===0?w=s:L&&o?w=o[0]:w=f.jsx(Wk,{ownerState:j,className:P.fallback}),f.jsx(Nk,Z({as:c,ownerState:j,className:lt(P.root,a),ref:n},C,{children:w}))});process.env.NODE_ENV!=="production"&&(Ox.propTypes={alt:x.string,children:x.node,classes:x.object,className:x.string,component:x.elementType,imgProps:x.object,sizes:x.string,slotProps:x.shape({img:x.oneOfType([x.func,x.object])}),slots:x.shape({img:x.elementType}),src:x.string,srcSet:x.string,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),variant:x.oneOfType([x.oneOf(["circular","rounded","square"]),x.string])});const Uk=["ownerState"],Hk=["variants"],Gk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Yk(e){return Object.keys(e).length===0}function Kk(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Tp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Xk=pc(),Px=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function jc({defaultTheme:e,theme:t,themeId:n}){return Yk(t)?e:t[n]||t}function Zk(e){return e?(t,n)=>n[e]:null}function Mc(e,t){let{ownerState:n}=t,r=Ge(t,Uk);const o=typeof e=="function"?e(Z({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Mc(s,Z({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=Ge(o,Hk);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props(Z({ownerState:n},r,n)):Object.keys(u.props).forEach(h=>{(n==null?void 0:n[h])!==u.props[h]&&r[h]!==u.props[h]&&(d=!1)}),d&&(Array.isArray(c)||(c=[c]),c.push(typeof u.style=="function"?u.style(Z({ownerState:n},r,n)):u.style))}),c}return o}function Qk(e={}){const{themeId:t,defaultTheme:n=Xk,rootShouldForwardProp:r=Tp,slotShouldForwardProp:o=Tp}=e,s=a=>Ca(Z({},a,{theme:jc(Z({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{Db(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=Zk(Px(d))}=c,v=Ge(c,Gk),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Px(d||"Root")}`);let I=Tp;d==="Root"||d==="root"?I=r:d?I=o:Kk(a)&&(I=void 0);const L=Fb(a,Z({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||qr(P)?D=>Mc(P,Z({},D,{theme:jc({theme:D.theme,defaultTheme:n,themeId:t})})):P,j=(P,...D)=>{let F=E(P);const U=D?D.map(E):[];u&&m&&U.push(G=>{const le=jc(Z({},G,{defaultTheme:n,themeId:t}));if(!le.components||!le.components[u]||!le.components[u].styleOverrides)return null;const ae=le.components[u].styleOverrides,q={};return Object.entries(ae).forEach(([J,z])=>{q[J]=Mc(z,Z({},G,{theme:le}))}),m(G,q)}),u&&!b&&U.push(G=>{var le;const ae=jc(Z({},G,{defaultTheme:n,themeId:t})),q=ae==null||(le=ae.components)==null||(le=le[u])==null?void 0:le.variants;return Mc({variants:q},Z({},G,{theme:ae}))}),C||U.push(s);const K=U.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");F=[...P,...G],F.raw=[...P.raw,...G]}const ee=L(F,...U);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${He(d||"")}`),G===void 0&&(G=`Styled(${dx(a)})`),ee.displayName=G}return a.muiName&&(ee.muiName=a.muiName),ee};return L.withConfig&&(j.withConfig=L.withConfig),j}}const Ma=Qk();function jx(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),zb(e,t,n)}function Jk(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Ep(e){if(e.type)return e;if(e.charAt(0)==="#")return Ep(Jk(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
68
68
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ai(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
69
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ai(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}function Mx(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function tt(e,t){return e=Ep(e),t=jx(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Mx(e)}function Ip(e,t){if(e=Ep(e),t=jx(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Mx(e)}const Op=B.createContext(null);process.env.NODE_ENV!=="production"&&(Op.displayName="ThemeContext");function kx(){const e=B.useContext(Op);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e}const
|
|
70
|
-
`))),n}return
|
|
71
|
-
`));const o=B.useMemo(()=>{const s=r===null?n
|
|
72
|
-
`));const a=_x(r,o,n),c=_x(r,s,n,!0),u=a.direction==="rtl";return f.jsx(kc,{theme:c,children:f.jsx(Nt.ThemeContext.Provider,{value:a,children:f.jsx(Lx,{value:u,children:f.jsx(Dx,{value:a==null?void 0:a.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(Fc.propTypes={children:C.node,theme:C.oneOfType([C.func,C.object]).isRequired,themeId:C.string}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Fc.propTypes=Ic(Fc.propTypes));function Kt(){const e=ip(dp);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e[Oa]||e}const e8=["theme"];function Bx(e){let{theme:t}=e,n=Ge(e,e8);const r=t[Oa];return f.jsx(Fc,X({},n,{themeId:r?Oa:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(Bx.propTypes={children:C.node,theme:C.oneOfType([C.object,C.func]).isRequired});function t8({theme:e,color:t,type:n}){const r=Qt(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 n8(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 r8=pe(Ox,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...n8(r),...t8({theme:e,color:t,type:n}),...r==="badge"&&{borderColor:e.palette.background.default}}));function Lc({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=Kt();return f.jsx(r8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Nx={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},sr=T.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:d,shadow:h,sx:g={},title:m,modal:v=!1,color:b="default",...x},w)=>{const I=Kt();return t=I.palette.mode==="dark"?t||!0:t,f.jsxs(S.Card,{elevation:u||0,ref:w,...x,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:I.palette.mode==="dark"?I.palette.divider:I.palette.grey.A800,boxShadow:t&&(!e||I.palette.mode==="dark")?h||I.customShadows.z0:"inherit",":hover":{boxShadow:t?h||I.customShadows.z0:"inherit"},backgroundColor:b==="default"?I.palette.background.paper:Ip(b==="primary"?I.palette.primary[100]:I.palette.secondary[100],.5),...v&&{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)"}},...g},children:[!a&&m?f.jsx(S.CardHeader,{sx:Nx,title:m,action:d,subheader:r}):null,a&&m?f.jsx(S.CardHeader,{sx:Nx,title:f.jsx(S.Typography,{variant:"h4",children:m}),action:d}):null,m&&c?f.jsx(S.Divider,{}):null,o?f.jsx(S.CardContent,{sx:s,children:n}):null,!o&&n]})});function o8(e){return _n("MuiTypography",e)}ir("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const i8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],s8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${He(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return $n(c,o8,a)},a8=pe("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${He(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>X({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})),Vx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},l8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},c8=e=>l8[e]||e,Wx=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiTypography"}),o=c8(r.color),s=_b(X({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:d=!1,noWrap:h=!1,paragraph:g=!1,variant:m="body1",variantMapping:v=Vx}=s,b=Ge(s,i8),x=X({},s,{align:a,color:o,className:c,component:u,gutterBottom:d,noWrap:h,paragraph:g,variant:m,variantMapping:v}),w=u||(g?"p":v[m]||Vx[m])||"span",I=s8(x);return f.jsx(a8,X({as:w,ref:n,ownerState:x,className:lt(I.root,c)},b))});process.env.NODE_ENV!=="production"&&(Wx.propTypes={align:C.oneOf(["center","inherit","justify","left","right"]),children:C.node,classes:C.object,className:C.string,component:C.elementType,gutterBottom:C.bool,noWrap:C.bool,paragraph:C.bool,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),C.string]),variantMapping:C.object});const u8=vp(f.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 Pp(e,t){return Pp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Pp(e,t)}function jp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pp(e,t)}const zx={disabled:!1};var d8=process.env.NODE_ENV!=="production"?C.oneOfType([C.number,C.shape({enter:C.number,exit:C.number,appear:C.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&C.oneOfType([C.string,C.shape({enter:C.string,exit:C.string,active:C.string}),C.shape({enter:C.string,enterDone:C.string,enterActive:C.string,exit:C.string,exitDone:C.string,exitActive:C.string})]);const Dc=T.createContext(null);var f8=function(t){return t.scrollTop},ka="unmounted",ci="exited",ui="entering",fs="entered",Mp="exiting",eo=function(e){jp(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=ci,s.appearStatus=ui):u=fs:r.unmountOnExit||r.mountOnEnter?u=ka:u=ci,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ka?{status:ci}: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!==ui&&a!==fs&&(s=ui):(a===ui||a===fs)&&(s=Mp)}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===ui){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Hi.findDOMNode(this);a&&f8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ci&&this.setState({status:ka})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[Hi.findDOMNode(this),c],d=u[0],h=u[1],g=this.getTimeouts(),m=c?g.appear:g.enter;if(!o&&!a||zx.disabled){this.safeSetState({status:fs},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:ui},function(){s.props.onEntering(d,h),s.onTransitionEnd(m,function(){s.safeSetState({status:fs},function(){s.props.onEntered(d,h)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:Hi.findDOMNode(this);if(!s||zx.disabled){this.safeSetState({status:ci},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Mp},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ci},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:Hi.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],d=u[0],h=u[1];this.props.addEndListener(d,h)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ka)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=Ge(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(Dc.Provider,{value:null},typeof a=="function"?a(o,c):T.cloneElement(T.Children.only(a),c))},t}(T.Component);eo.contextType=Dc,eo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:C.shape({current:typeof Element>"u"?C.any:function(e,t,n,r,o,s){var a=e[t];return C.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:C.oneOfType([C.func.isRequired,C.element.isRequired]).isRequired,in:C.bool,mountOnEnter:C.bool,unmountOnExit:C.bool,appear:C.bool,enter:C.bool,exit:C.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:C.func,onEnter:C.func,onEntering:C.func,onEntered:C.func,onExit:C.func,onExiting:C.func,onExited:C.func}:{};function ps(){}eo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ps,onEntering:ps,onEntered:ps,onExit:ps,onExiting:ps,onExited:ps},eo.UNMOUNTED=ka,eo.EXITED=ci,eo.ENTERING=ui,eo.ENTERED=fs,eo.EXITING=Mp;function p8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t){var n=function(s){return t&&T.isValidElement(s)?t(s):s},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function h8(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}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 d=r[u][a];c[r[u][a]]=n(d)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function di(e,t,n){return n[t]!=null?n[t]:e.props[t]}function g8(e,t){return kp(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:di(n,"appear",e),enter:di(n,"enter",e),exit:di(n,"exit",e)})})}function m8(e,t,n){var r=kp(e.children),o=h8(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(T.isValidElement(a)){var c=s in t,u=s in r,d=t[s],h=T.isValidElement(d)&&!d.props.in;u&&(!c||h)?o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:di(a,"exit",e),enter:di(a,"enter",e)}):!u&&c&&!h?o[s]=T.cloneElement(a,{in:!1}):u&&c&&T.isValidElement(d)&&(o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:d.props.in,exit:di(a,"exit",e),enter:di(a,"enter",e)}))}}),o}var v8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},y8={component:"div",childFactory:function(t){return t}},Fp=function(e){jp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(p8(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?g8(o,c):m8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=kp(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=X({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=Ge(o,["component","childFactory"]),u=this.state.contextValue,d=v8(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?T.createElement(Dc.Provider,{value:u},d):T.createElement(Dc.Provider,{value:u},T.createElement(s,c,d))},t}(T.Component);Fp.propTypes=process.env.NODE_ENV!=="production"?{component:C.any,children:C.node,appear:C.bool,enter:C.bool,exit:C.bool,childFactory:C.func}:{},Fp.defaultProps=y8;function Ux(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:d}=e,[h,g]=B.useState(!1),m=lt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},b=lt(n.child,h&&n.childLeaving,r&&n.childPulsate);return!c&&!h&&g(!0),B.useEffect(()=>{if(!c&&u!=null){const x=setTimeout(u,d);return()=>{clearTimeout(x)}}},[u,c,d]),f.jsx("span",{className:m,style:v,children:f.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(Ux.propTypes={classes:C.object.isRequired,className:C.string,in:C.bool,onExited:C.func,pulsate:C.bool,rippleSize:C.number,rippleX:C.number,rippleY:C.number,timeout:C.number.isRequired});const ar=ir("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),b8=["center","classes","className"];let Rc=e=>e,Hx,Gx,Yx,Kx;const Lp=550,x8=80,C8=Nt.keyframes(Hx||(Hx=Rc`
|
|
69
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ai(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}function Mx(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,s)=>s<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function tt(e,t){return e=Ep(e),t=jx(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Mx(e)}function Ip(e,t){if(e=Ep(e),t=jx(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Mx(e)}const Op=B.createContext(null);process.env.NODE_ENV!=="production"&&(Op.displayName="ThemeContext");function kx(){const e=B.useContext(Op);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e}const qk=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function $k(e,t){if(typeof t=="function"){const n=t(e);return process.env.NODE_ENV!=="production"&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
|
|
70
|
+
`))),n}return Z({},e,t)}function kc(e){const{children:t,theme:n}=e,r=kx();process.env.NODE_ENV!=="production"&&r===null&&typeof n=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
71
|
+
`));const o=B.useMemo(()=>{const s=r===null?n:$k(r,n);return s!=null&&(s[qk]=r!==null),s},[n,r]);return f.jsx(Op.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(kc.propTypes={children:x.node,theme:x.oneOfType([x.object,x.func]).isRequired}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(kc.propTypes=Ic(kc.propTypes));const e8=["value"],Lx=B.createContext();function Fx(e){let{value:t}=e,n=Ge(e,e8);return f.jsx(Lx.Provider,Z({value:t??!0},n))}process.env.NODE_ENV!=="production"&&(Fx.propTypes={children:x.node,value:x.bool});const t8=()=>{const e=B.useContext(Lx);return e??!1},n8=B.createContext(void 0);function Dx({value:e,children:t}){return f.jsx(n8.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(Dx.propTypes={children:x.node,value:x.object});const _x={};function Rx(e,t,n,r=!1){return B.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const s=n(o),a=e?Z({},t,{[e]:s}):s;return r?()=>a:a}return e?Z({},t,{[e]:n}):Z({},t,n)},[e,t,n,r])}function Lc(e){const{children:t,theme:n,themeId:r}=e,o=_b(_x),s=kx()||_x;process.env.NODE_ENV!=="production"&&(o===null&&typeof n=="function"||r&&o&&!o[r]&&typeof n=="function")&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
72
|
+
`));const a=Rx(r,o,n),c=Rx(r,s,n,!0),u=a.direction==="rtl";return f.jsx(kc,{theme:c,children:f.jsx(Nt.ThemeContext.Provider,{value:a,children:f.jsx(Fx,{value:u,children:f.jsx(Dx,{value:a==null?void 0:a.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(Lc.propTypes={children:x.node,theme:x.oneOfType([x.func,x.object]).isRequired,themeId:x.string}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Lc.propTypes=Ic(Lc.propTypes));function Kt(){const e=ip(dp);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e[Oa]||e}const r8=["theme"];function Bx(e){let{theme:t}=e,n=Ge(e,r8);const r=t[Oa];return f.jsx(Lc,Z({},n,{themeId:r?Oa:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(Bx.propTypes={children:x.node,theme:x.oneOfType([x.object,x.func]).isRequired});function o8({theme:e,color:t,type:n}){const r=Qt(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 i8(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 s8=pe(Ox,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...i8(r),...o8({theme:e,color:t,type:n}),...r==="badge"&&{borderColor:e.palette.background.default}}));function Fc({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=Kt();return f.jsx(s8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Nx={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},sr=T.forwardRef(({border:e=!0,boxShadow:t,children:n,subheader:r,content:o=!0,contentSX:s={},darkTitle:a,divider:c=!0,elevation:u,secondary:d,shadow:h,sx:g={},title:m,modal:v=!1,color:b="default",...C},w)=>{const I=Kt();return t=I.palette.mode==="dark"?t||!0:t,f.jsxs(S.Card,{elevation:u||0,ref:w,...C,sx:{position:"relative",border:e?"1px solid":"none",borderRadius:1,borderColor:I.palette.mode==="dark"?I.palette.divider:I.palette.grey.A800,boxShadow:t&&(!e||I.palette.mode==="dark")?h||I.customShadows.z0:"inherit",":hover":{boxShadow:t?h||I.customShadows.z0:"inherit"},backgroundColor:b==="default"?I.palette.background.paper:Ip(b==="primary"?I.palette.primary[100]:I.palette.secondary[100],.5),...v&&{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)"}},...g},children:[!a&&m?f.jsx(S.CardHeader,{sx:Nx,title:m,action:d,subheader:r}):null,a&&m?f.jsx(S.CardHeader,{sx:Nx,title:f.jsx(S.Typography,{variant:"h4",children:m}),action:d}):null,m&&c?f.jsx(S.Divider,{}):null,o?f.jsx(S.CardContent,{sx:s,children:n}):null,!o&&n]})});function a8(e){return Rn("MuiTypography",e)}ir("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const l8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],c8=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:s,classes:a}=e,c={root:["root",s,e.align!=="inherit"&&`align${He(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return $n(c,a8,a)},u8=pe("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${He(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})),Vx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},d8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},f8=e=>d8[e]||e,Wx=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiTypography"}),o=f8(r.color),s=Rb(Z({},r,{color:o})),{align:a="inherit",className:c,component:u,gutterBottom:d=!1,noWrap:h=!1,paragraph:g=!1,variant:m="body1",variantMapping:v=Vx}=s,b=Ge(s,l8),C=Z({},s,{align:a,color:o,className:c,component:u,gutterBottom:d,noWrap:h,paragraph:g,variant:m,variantMapping:v}),w=u||(g?"p":v[m]||Vx[m])||"span",I=c8(C);return f.jsx(u8,Z({as:w,ref:n,ownerState:C,className:lt(I.root,c)},b))});process.env.NODE_ENV!=="production"&&(Wx.propTypes={align:x.oneOf(["center","inherit","justify","left","right"]),children:x.node,classes:x.object,className:x.string,component:x.elementType,gutterBottom:x.bool,noWrap:x.bool,paragraph:x.bool,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),variant:x.oneOfType([x.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),x.string]),variantMapping:x.object});const p8=vp(f.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 Pp(e,t){return Pp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Pp(e,t)}function jp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pp(e,t)}const zx={disabled:!1};var h8=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.shape({enter:x.number,exit:x.number,appear:x.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&x.oneOfType([x.string,x.shape({enter:x.string,exit:x.string,active:x.string}),x.shape({enter:x.string,enterDone:x.string,enterActive:x.string,exit:x.string,exitDone:x.string,exitActive:x.string})]);const Dc=T.createContext(null);var g8=function(t){return t.scrollTop},ka="unmounted",ci="exited",ui="entering",fs="entered",Mp="exiting",eo=function(e){jp(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=ci,s.appearStatus=ui):u=fs:r.unmountOnExit||r.mountOnEnter?u=ka:u=ci,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ka?{status:ci}: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!==ui&&a!==fs&&(s=ui):(a===ui||a===fs)&&(s=Mp)}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===ui){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Hi.findDOMNode(this);a&&g8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ci&&this.setState({status:ka})},n.performEnter=function(o){var s=this,a=this.props.enter,c=this.context?this.context.isMounting:o,u=this.props.nodeRef?[c]:[Hi.findDOMNode(this),c],d=u[0],h=u[1],g=this.getTimeouts(),m=c?g.appear:g.enter;if(!o&&!a||zx.disabled){this.safeSetState({status:fs},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:ui},function(){s.props.onEntering(d,h),s.onTransitionEnd(m,function(){s.safeSetState({status:fs},function(){s.props.onEntered(d,h)})})})},n.performExit=function(){var o=this,s=this.props.exit,a=this.getTimeouts(),c=this.props.nodeRef?void 0:Hi.findDOMNode(this);if(!s||zx.disabled){this.safeSetState({status:ci},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Mp},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ci},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:Hi.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],d=u[0],h=u[1];this.props.addEndListener(d,h)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===ka)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=Ge(s,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return T.createElement(Dc.Provider,{value:null},typeof a=="function"?a(o,c):T.cloneElement(T.Children.only(a),c))},t}(T.Component);eo.contextType=Dc,eo.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:x.shape({current:typeof Element>"u"?x.any:function(e,t,n,r,o,s){var a=e[t];return x.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,s)}}),children:x.oneOfType([x.func.isRequired,x.element.isRequired]).isRequired,in:x.bool,mountOnEnter:x.bool,unmountOnExit:x.bool,appear:x.bool,enter:x.bool,exit:x.bool,timeout:function(t){var n=h8;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:x.func,onEnter:x.func,onEntering:x.func,onEntered:x.func,onExit:x.func,onExiting:x.func,onExited:x.func}:{};function ps(){}eo.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ps,onEntering:ps,onEntered:ps,onExit:ps,onExiting:ps,onExited:ps},eo.UNMOUNTED=ka,eo.EXITED=ci,eo.ENTERING=ui,eo.ENTERED=fs,eo.EXITING=Mp;function m8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kp(e,t){var n=function(s){return t&&T.isValidElement(s)?t(s):s},r=Object.create(null);return e&&T.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function v8(e,t){e=e||{},t=t||{};function n(h){return h in t?t[h]:e[h]}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 d=r[u][a];c[r[u][a]]=n(d)}c[u]=n(u)}for(a=0;a<o.length;a++)c[o[a]]=n(o[a]);return c}function di(e,t,n){return n[t]!=null?n[t]:e.props[t]}function y8(e,t){return kp(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:di(n,"appear",e),enter:di(n,"enter",e),exit:di(n,"exit",e)})})}function b8(e,t,n){var r=kp(e.children),o=v8(t,r);return Object.keys(o).forEach(function(s){var a=o[s];if(T.isValidElement(a)){var c=s in t,u=s in r,d=t[s],h=T.isValidElement(d)&&!d.props.in;u&&(!c||h)?o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:di(a,"exit",e),enter:di(a,"enter",e)}):!u&&c&&!h?o[s]=T.cloneElement(a,{in:!1}):u&&c&&T.isValidElement(d)&&(o[s]=T.cloneElement(a,{onExited:n.bind(null,a),in:d.props.in,exit:di(a,"exit",e),enter:di(a,"enter",e)}))}}),o}var x8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},C8={component:"div",childFactory:function(t){return t}},Lp=function(e){jp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(m8(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?y8(o,c):b8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=kp(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=Ge(o,["component","childFactory"]),u=this.state.contextValue,d=x8(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?T.createElement(Dc.Provider,{value:u},d):T.createElement(Dc.Provider,{value:u},T.createElement(s,c,d))},t}(T.Component);Lp.propTypes=process.env.NODE_ENV!=="production"?{component:x.any,children:x.node,appear:x.bool,enter:x.bool,exit:x.bool,childFactory:x.func}:{},Lp.defaultProps=C8;function Ux(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:s,rippleSize:a,in:c,onExited:u,timeout:d}=e,[h,g]=B.useState(!1),m=lt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},b=lt(n.child,h&&n.childLeaving,r&&n.childPulsate);return!c&&!h&&g(!0),B.useEffect(()=>{if(!c&&u!=null){const C=setTimeout(u,d);return()=>{clearTimeout(C)}}},[u,c,d]),f.jsx("span",{className:m,style:v,children:f.jsx("span",{className:b})})}process.env.NODE_ENV!=="production"&&(Ux.propTypes={classes:x.object.isRequired,className:x.string,in:x.bool,onExited:x.func,pulsate:x.bool,rippleSize:x.number,rippleX:x.number,rippleY:x.number,timeout:x.number.isRequired});const ar=ir("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),w8=["center","classes","className"];let _c=e=>e,Hx,Gx,Yx,Kx;const Fp=550,S8=80,A8=Nt.keyframes(Hx||(Hx=_c`
|
|
73
73
|
0% {
|
|
74
74
|
transform: scale(0);
|
|
75
75
|
opacity: 0.1;
|
|
@@ -79,7 +79,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
79
79
|
transform: scale(1);
|
|
80
80
|
opacity: 0.3;
|
|
81
81
|
}
|
|
82
|
-
`)),
|
|
82
|
+
`)),T8=Nt.keyframes(Gx||(Gx=_c`
|
|
83
83
|
0% {
|
|
84
84
|
opacity: 1;
|
|
85
85
|
}
|
|
@@ -87,7 +87,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
87
87
|
100% {
|
|
88
88
|
opacity: 0;
|
|
89
89
|
}
|
|
90
|
-
`)),
|
|
90
|
+
`)),E8=Nt.keyframes(Yx||(Yx=_c`
|
|
91
91
|
0% {
|
|
92
92
|
transform: scale(1);
|
|
93
93
|
}
|
|
@@ -99,7 +99,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
99
99
|
100% {
|
|
100
100
|
transform: scale(1);
|
|
101
101
|
}
|
|
102
|
-
`)),
|
|
102
|
+
`)),I8=pe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),O8=pe(Ux,{name:"MuiTouchRipple",slot:"Ripple"})(Kx||(Kx=_c`
|
|
103
103
|
opacity: 0;
|
|
104
104
|
position: absolute;
|
|
105
105
|
|
|
@@ -142,15 +142,15 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
142
142
|
animation-iteration-count: infinite;
|
|
143
143
|
animation-delay: 200ms;
|
|
144
144
|
}
|
|
145
|
-
`),ar.rippleVisible,
|
|
146
|
-
`))},[Ce]);const
|
|
147
|
-
`)),
|
|
148
|
-
`)),B.isValidElement(
|
|
149
|
-
`)):null),classes:
|
|
150
|
-
`)),Nb.configure(e)}},unstable_useEnhancedEffect:Rr,unstable_useId:bp,unsupportedProp:hk,useControlled:Cx,useEventCallback:li,useForkRef:xn,useIsFocusVisible:wp},Symbol.toStringTag,{value:"Module"}));function J8(e){return typeof e=="string"}function q8(e,t,n){return e===void 0||J8(e)?t:X({},t,{ownerState:X({},t.ownerState,n)})}const $8={disableDefaultClasses:!1},e9=B.createContext($8);function t9(e){const{disableDefaultClasses:t}=B.useContext(e9);return n=>t?"":e(n)}function n9(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 r9(e,t,n){return typeof e=="function"?e(t,n):e}function Jx(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 o9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(o==null?void 0:o.className,r==null?void 0:r.className,s,n==null?void 0:n.className),b=X({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),x=X({},n,o,r);return v.length>0&&(x.className=v),Object.keys(b).length>0&&(x.style=b),{props:x,internalRef:void 0}}const a=n9(X({},o,r)),c=Jx(r),u=Jx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=X({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=X({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const i9=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function s9(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,i9),c=s?{}:r9(r,o),{props:u,internalRef:d}=o9(X({},a,{externalSlotProps:c})),h=xn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return q8(n,X({},u,{ref:h}),o)}var Cn="top",lr="bottom",cr="right",wn="left",_p="auto",Fa=[Cn,lr,cr,wn],gs="start",La="end",a9="clippingParents",qx="viewport",Da="popper",l9="reference",$x=Fa.reduce(function(e,t){return e.concat([t+"-"+gs,t+"-"+La])},[]),e1=[].concat(Fa,[_p]).reduce(function(e,t){return e.concat([t,t+"-"+gs,t+"-"+La])},[]),c9="beforeRead",u9="read",d9="afterRead",f9="beforeMain",p9="main",h9="afterMain",g9="beforeWrite",m9="write",v9="afterWrite",y9=[c9,u9,d9,f9,p9,h9,g9,m9,v9];function _r(e){return e?(e.nodeName||"").toLowerCase():null}function Bn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fi(e){var t=Bn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Bn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bp(e){if(typeof ShadowRoot>"u")return!1;var t=Bn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function b9(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];!ur(s)||!_r(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 x9(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,d){return u[d]="",u},{});!ur(o)||!_r(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const C9={name:"applyStyles",enabled:!0,phase:"write",fn:b9,effect:x9,requires:["computeStyles"]};function Br(e){return e.split("-")[0]}var pi=Math.max,Vc=Math.min,ms=Math.round;function Np(){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 t1(){return!/^((?!chrome|android).)*safari/i.test(Np())}function vs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&ur(e)&&(o=e.offsetWidth>0&&ms(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ms(r.height)/e.offsetHeight||1);var a=fi(e)?Bn(e):window,c=a.visualViewport,u=!t1()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/o,h=(r.top+(u&&c?c.offsetTop:0))/s,g=r.width/o,m=r.height/s;return{width:g,height:m,top:h,right:d+g,bottom:h+m,left:d,x:d,y:h}}function Vp(e){var t=vs(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 n1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function to(e){return Bn(e).getComputedStyle(e)}function w9(e){return["table","td","th"].indexOf(_r(e))>=0}function Mo(e){return((fi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wc(e){return _r(e)==="html"?e:e.assignedSlot||e.parentNode||(Bp(e)?e.host:null)||Mo(e)}function r1(e){return!ur(e)||to(e).position==="fixed"?null:e.offsetParent}function S9(e){var t=/firefox/i.test(Np()),n=/Trident/i.test(Np());if(n&&ur(e)){var r=to(e);if(r.position==="fixed")return null}var o=Wc(e);for(Bp(o)&&(o=o.host);ur(o)&&["html","body"].indexOf(_r(o))<0;){var s=to(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 Ra(e){for(var t=Bn(e),n=r1(e);n&&w9(n)&&to(n).position==="static";)n=r1(n);return n&&(_r(n)==="html"||_r(n)==="body"&&to(n).position==="static")?t:n||S9(e)||t}function Wp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function _a(e,t,n){return pi(e,Vc(t,n))}function A9(e,t,n){var r=_a(e,t,n);return r>n?n:r}function o1(){return{top:0,right:0,bottom:0,left:0}}function i1(e){return Object.assign({},o1(),e)}function s1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var T9=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,i1(typeof t!="number"?t:s1(t,Fa))};function E9(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Br(n.placement),u=Wp(c),d=[wn,cr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=T9(o.padding,n),m=Vp(s),v=u==="y"?Cn:wn,b=u==="y"?lr:cr,x=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],w=a[u]-n.rects.reference[u],I=Ra(s),F=I?u==="y"?I.clientHeight||0:I.clientWidth||0:0,E=x/2-w/2,k=g[v],P=F-m[h]-g[b],L=F/2-m[h]/2+E,D=_a(k,L,P),Y=u;n.modifiersData[r]=(t={},t[Y]=D,t.centerOffset=D-L,t)}}function I9(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)||n1(t.elements.popper,o)&&(t.elements.arrow=o))}const O9={name:"arrow",enabled:!0,phase:"main",fn:E9,effect:I9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ys(e){return e.split("-")[1]}var P9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function j9(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ms(n*o)/o||0,y:ms(r*o)/o||0}}function a1(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,g=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,x=b===void 0?0:b,w=typeof h=="function"?h({x:v,y:x}):{x:v,y:x};v=w.x,x=w.y;var I=a.hasOwnProperty("x"),F=a.hasOwnProperty("y"),E=wn,k=Cn,P=window;if(d){var L=Ra(n),D="clientHeight",Y="clientWidth";if(L===Bn(n)&&(L=Mo(n),to(L).position!=="static"&&c==="absolute"&&(D="scrollHeight",Y="scrollWidth")),L=L,o===Cn||(o===wn||o===cr)&&s===La){k=lr;var Z=g&&L===P&&P.visualViewport?P.visualViewport.height:L[D];x-=Z-r.height,x*=u?1:-1}if(o===wn||(o===Cn||o===lr)&&s===La){E=cr;var ee=g&&L===P&&P.visualViewport?P.visualViewport.width:L[Y];v-=ee-r.width,v*=u?1:-1}}var G=Object.assign({position:c},d&&P9),le=h===!0?j9({x:v,y:x},Bn(n)):{x:v,y:x};if(v=le.x,x=le.y,u){var ae;return Object.assign({},G,(ae={},ae[k]=F?"0":"",ae[E]=I?"0":"",ae.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+x+"px)":"translate3d("+v+"px, "+x+"px, 0)",ae))}return Object.assign({},G,(t={},t[k]=F?x+"px":"",t[E]=I?v+"px":"",t.transform="",t))}function M9(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,d={placement:Br(t.placement),variation:ys(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,a1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,a1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const k9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:M9,data:{}};var zc={passive:!0};function F9(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=Bn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",n.update,zc)}),c&&u.addEventListener("resize",n.update,zc),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",n.update,zc)}),c&&u.removeEventListener("resize",n.update,zc)}}const L9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:F9,data:{}};var D9={left:"right",right:"left",bottom:"top",top:"bottom"};function Uc(e){return e.replace(/left|right|bottom|top/g,function(t){return D9[t]})}var R9={start:"end",end:"start"};function l1(e){return e.replace(/start|end/g,function(t){return R9[t]})}function zp(e){var t=Bn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Up(e){return vs(Mo(e)).left+zp(e).scrollLeft}function _9(e,t){var n=Bn(e),r=Mo(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){s=o.width,a=o.height;var d=t1();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Up(e),y:u}}function B9(e){var t,n=Mo(e),r=zp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=pi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=pi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Up(e),u=-r.scrollTop;return to(o||n).direction==="rtl"&&(c+=pi(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Hp(e){var t=to(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function c1(e){return["html","body","#document"].indexOf(_r(e))>=0?e.ownerDocument.body:ur(e)&&Hp(e)?e:c1(Wc(e))}function Ba(e,t){var n;t===void 0&&(t=[]);var r=c1(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Bn(r),a=o?[s].concat(s.visualViewport||[],Hp(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Ba(Wc(a)))}function Gp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function N9(e,t){var n=vs(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 u1(e,t,n){return t===qx?Gp(_9(e,n)):fi(t)?N9(t,n):Gp(B9(Mo(e)))}function V9(e){var t=Ba(Wc(e)),n=["absolute","fixed"].indexOf(to(e).position)>=0,r=n&&ur(e)?Ra(e):e;return fi(r)?t.filter(function(o){return fi(o)&&n1(o,r)&&_r(o)!=="body"}):[]}function W9(e,t,n,r){var o=t==="clippingParents"?V9(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=u1(e,d,r);return u.top=pi(h.top,u.top),u.right=Vc(h.right,u.right),u.bottom=Vc(h.bottom,u.bottom),u.left=pi(h.left,u.left),u},u1(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 d1(e){var t=e.reference,n=e.element,r=e.placement,o=r?Br(r):null,s=r?ys(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Cn:u={x:a,y:t.y-n.height};break;case lr:u={x:a,y:t.y+t.height};break;case cr:u={x:t.x+t.width,y:c};break;case wn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Wp(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(s){case gs:u[d]=u[d]-(t[h]/2-n[h]/2);break;case La:u[d]=u[d]+(t[h]/2-n[h]/2);break}}return u}function Na(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?a9:c,d=n.rootBoundary,h=d===void 0?qx:d,g=n.elementContext,m=g===void 0?Da:g,v=n.altBoundary,b=v===void 0?!1:v,x=n.padding,w=x===void 0?0:x,I=i1(typeof w!="number"?w:s1(w,Fa)),F=m===Da?l9:Da,E=e.rects.popper,k=e.elements[b?F:m],P=W9(fi(k)?k:k.contextElement||Mo(e.elements.popper),u,h,a),L=vs(e.elements.reference),D=d1({reference:L,element:E,strategy:"absolute",placement:o}),Y=Gp(Object.assign({},E,D)),Z=m===Da?Y:L,ee={top:P.top-Z.top+I.top,bottom:Z.bottom-P.bottom+I.bottom,left:P.left-Z.left+I.left,right:Z.right-P.right+I.right},G=e.modifiersData.offset;if(m===Da&&G){var le=G[o];Object.keys(ee).forEach(function(ae){var q=[cr,lr].indexOf(ae)>=0?1:-1,J=[Cn,lr].indexOf(ae)>=0?"y":"x";ee[ae]+=le[J]*q})}return ee}function z9(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,d=u===void 0?e1:u,h=ys(r),g=h?c?$x:$x.filter(function(b){return ys(b)===h}):Fa,m=g.filter(function(b){return d.indexOf(b)>=0});m.length===0&&(m=g);var v=m.reduce(function(b,x){return b[x]=Na(e,{placement:x,boundary:o,rootBoundary:s,padding:a})[Br(x)],b},{});return Object.keys(v).sort(function(b,x){return v[b]-v[x]})}function U9(e){if(Br(e)===_p)return[];var t=Uc(e);return[l1(e),t,l1(t)]}function H9(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,d=n.padding,h=n.boundary,g=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,x=n.allowedAutoPlacements,w=t.options.placement,I=Br(w),F=I===w,E=u||(F||!b?[Uc(w)]:U9(w)),k=[w].concat(E).reduce(function(fe,ge){return fe.concat(Br(ge)===_p?z9(t,{placement:ge,boundary:h,rootBoundary:g,padding:d,flipVariations:b,allowedAutoPlacements:x}):ge)},[]),P=t.rects.reference,L=t.rects.popper,D=new Map,Y=!0,Z=k[0],ee=0;ee<k.length;ee++){var G=k[ee],le=Br(G),ae=ys(G)===gs,q=[Cn,lr].indexOf(le)>=0,J=q?"width":"height",z=Na(t,{placement:G,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),Q=q?ae?cr:wn:ae?lr:Cn;P[J]>L[J]&&(Q=Uc(Q));var N=Uc(Q),ne=[];if(s&&ne.push(z[le]<=0),c&&ne.push(z[Q]<=0,z[N]<=0),ne.every(function(fe){return fe})){Z=G,Y=!1;break}D.set(G,ne)}if(Y)for(var W=b?3:1,K=function(ge){var ve=k.find(function(Te){var Ce=D.get(Te);if(Ce)return Ce.slice(0,ge).every(function(be){return be})});if(ve)return Z=ve,"break"},de=W;de>0;de--){var he=K(de);if(he==="break")break}t.placement!==Z&&(t.modifiersData[r]._skip=!0,t.placement=Z,t.reset=!0)}}const G9={name:"flip",enabled:!0,phase:"main",fn:H9,requiresIfExists:["offset"],data:{_skip:!1}};function f1(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 p1(e){return[Cn,cr,lr,wn].some(function(t){return e[t]>=0})}function Y9(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=Na(t,{elementContext:"reference"}),c=Na(t,{altBoundary:!0}),u=f1(a,r),d=f1(c,o,s),h=p1(u),g=p1(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const K9={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Y9};function X9(e,t,n){var r=Br(e),o=[wn,Cn].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,[wn,cr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function Z9(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=e1.reduce(function(h,g){return h[g]=X9(g,t.rects,s),h},{}),c=a[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const Q9={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Z9};function J9(e){var t=e.state,n=e.name;t.modifiersData[n]=d1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const q9={name:"popperOffsets",enabled:!0,phase:"read",fn:J9,data:{}};function $9(e){return e==="x"?"y":"x"}function e2(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,d=n.rootBoundary,h=n.altBoundary,g=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,x=b===void 0?0:b,w=Na(t,{boundary:u,rootBoundary:d,padding:g,altBoundary:h}),I=Br(t.placement),F=ys(t.placement),E=!F,k=Wp(I),P=$9(k),L=t.modifiersData.popperOffsets,D=t.rects.reference,Y=t.rects.popper,Z=typeof x=="function"?x(Object.assign({},t.rects,{placement:t.placement})):x,ee=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(L){if(s){var ae,q=k==="y"?Cn:wn,J=k==="y"?lr:cr,z=k==="y"?"height":"width",Q=L[k],N=Q+w[q],ne=Q-w[J],W=v?-Y[z]/2:0,K=F===gs?D[z]:Y[z],de=F===gs?-Y[z]:-D[z],he=t.elements.arrow,fe=v&&he?Vp(he):{width:0,height:0},ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:o1(),ve=ge[q],Te=ge[J],Ce=_a(0,D[z],fe[z]),be=E?D[z]/2-W-Ce-ve-ee.mainAxis:K-Ce-ve-ee.mainAxis,we=E?-D[z]/2+W+Ce+Te+ee.mainAxis:de+Ce+Te+ee.mainAxis,Ie=t.elements.arrow&&Ra(t.elements.arrow),ue=Ie?k==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,qe=(ae=G==null?void 0:G[k])!=null?ae:0,me=Q+be-qe-ue,Qe=Q+we-qe,an=_a(v?Vc(N,me):N,Q,v?pi(ne,Qe):ne);L[k]=an,le[k]=an-Q}if(c){var Et,yt=k==="x"?Cn:wn,Un=k==="x"?lr:cr,It=L[P],bt=P==="y"?"height":"width",Xt=It+w[yt],xt=It-w[Un],zt=[Cn,wn].indexOf(I)!==-1,Ot=(Et=G==null?void 0:G[P])!=null?Et:0,Le=zt?Xt:It-D[bt]-Y[bt]-Ot+ee.altAxis,Re=zt?It+D[bt]+Y[bt]-Ot-ee.altAxis:xt,Oe=v&&zt?A9(Le,It,Re):_a(v?Le:Xt,It,v?Re:xt);L[P]=Oe,le[P]=Oe-It}t.modifiersData[r]=le}}const t2={name:"preventOverflow",enabled:!0,phase:"main",fn:e2,requiresIfExists:["offset"]};function n2(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function r2(e){return e===Bn(e)||!ur(e)?zp(e):n2(e)}function o2(e){var t=e.getBoundingClientRect(),n=ms(t.width)/e.offsetWidth||1,r=ms(t.height)/e.offsetHeight||1;return n!==1||r!==1}function i2(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&o2(t),s=Mo(t),a=vs(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((_r(t)!=="body"||Hp(s))&&(c=r2(t)),ur(t)?(u=vs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Up(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function s2(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 a2(e){var t=s2(e);return y9.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function l2(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function c2(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 h1={placement:"bottom",modifiers:[],strategy:"absolute"};function g1(){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 u2(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?h1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},h1,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],m=!1,v={state:h,setOptions:function(I){var F=typeof I=="function"?I(h.options):I;x(),h.options=Object.assign({},s,h.options,F),h.scrollParents={reference:fi(c)?Ba(c):c.contextElement?Ba(c.contextElement):[],popper:Ba(u)};var E=a2(c2([].concat(r,h.options.modifiers)));return h.orderedModifiers=E.filter(function(k){return k.enabled}),b(),v.update()},forceUpdate:function(){if(!m){var I=h.elements,F=I.reference,E=I.popper;if(g1(F,E)){h.rects={reference:i2(F,Ra(E),h.options.strategy==="fixed"),popper:Vp(E)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(ee){return h.modifiersData[ee.name]=Object.assign({},ee.data)});for(var k=0;k<h.orderedModifiers.length;k++){if(h.reset===!0){h.reset=!1,k=-1;continue}var P=h.orderedModifiers[k],L=P.fn,D=P.options,Y=D===void 0?{}:D,Z=P.name;typeof L=="function"&&(h=L({state:h,options:Y,name:Z,instance:v})||h)}}}},update:l2(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){x(),m=!0}};if(!g1(c,u))return v;v.setOptions(d).then(function(w){!m&&d.onFirstUpdate&&d.onFirstUpdate(w)});function b(){h.orderedModifiers.forEach(function(w){var I=w.name,F=w.options,E=F===void 0?{}:F,k=w.effect;if(typeof k=="function"){var P=k({state:h,name:I,instance:v,options:E}),L=function(){};g.push(P||L)}})}function x(){g.forEach(function(w){return w()}),g=[]}return v}}var d2=[L9,q9,k9,C9,Q9,G9,t2,O9,K9],m1=u2({defaultModifiers:d2});function f2(e){return typeof e=="function"?e():e}const Hc=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=xn(B.isValidElement(r)?r.ref:null,n);if(Rr(()=>{s||c(f2(o)||document.body)},[o,s]),Rr(()=>{if(a&&!s)return ls(n,a),()=>{ls(n,null)}},[n,a,s]),s){if(B.isValidElement(r)){const d={ref:u};return B.cloneElement(r,d)}return f.jsx(B.Fragment,{children:r})}return f.jsx(B.Fragment,{children:a&&O0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(Hc.propTypes={children:C.node,container:C.oneOfType([jo,C.func]),disablePortal:C.bool}),process.env.NODE_ENV!=="production"&&(Hc.propTypes=Ic(Hc.propTypes));function p2(e){return _n("MuiPopper",e)}ir("MuiPopper",["root"]);const h2=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],g2=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function m2(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 Gc(e){return typeof e=="function"?e():e}function Yc(e){return e.nodeType!==void 0}function v2(e){return!Yc(e)}const y2=()=>$n({root:["root"]},t9(p2)),b2={},x2=B.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:x}=t,w=Ge(t,h2),I=B.useRef(null),F=xn(I,n),E=B.useRef(null),k=xn(E,m),P=B.useRef(k);Rr(()=>{P.current=k},[k]),B.useImperativeHandle(m,()=>E.current,[]);const L=m2(h,a),[D,Y]=B.useState(L),[Z,ee]=B.useState(Gc(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&ee(Gc(o))},[o]),Rr(()=>{if(!Z||!d)return;const J=N=>{Y(N.placement)};if(process.env.NODE_ENV!=="production"&&Z&&Yc(Z)&&Z.nodeType===1){const N=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.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(`
|
|
151
|
-
`))}let z=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{J(N)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const Q=m1(
|
|
152
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||
|
|
153
|
-
`))}return null}),children:
|
|
145
|
+
`),ar.rippleVisible,A8,Fp,({theme:e})=>e.transitions.easing.easeInOut,ar.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,ar.child,ar.childLeaving,T8,Fp,({theme:e})=>e.transitions.easing.easeInOut,ar.childPulsate,E8,({theme:e})=>e.transitions.easing.easeInOut),Xx=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a}=r,c=Ge(r,w8),[u,d]=B.useState([]),h=B.useRef(0),g=B.useRef(null);B.useEffect(()=>{g.current&&(g.current(),g.current=null)},[u]);const m=B.useRef(!1),v=ds(),b=B.useRef(null),C=B.useRef(null),w=B.useCallback(j=>{const{pulsate:P,rippleX:D,rippleY:F,rippleSize:U,cb:K}=j;d(ee=>[...ee,f.jsx(O8,{classes:{ripple:lt(s.ripple,ar.ripple),rippleVisible:lt(s.rippleVisible,ar.rippleVisible),ripplePulsate:lt(s.ripplePulsate,ar.ripplePulsate),child:lt(s.child,ar.child),childLeaving:lt(s.childLeaving,ar.childLeaving),childPulsate:lt(s.childPulsate,ar.childPulsate)},timeout:Fp,pulsate:P,rippleX:D,rippleY:F,rippleSize:U},h.current)]),h.current+=1,g.current=K},[s]),I=B.useCallback((j={},P={},D=()=>{})=>{const{pulsate:F=!1,center:U=o||P.pulsate,fakeElement:K=!1}=P;if((j==null?void 0:j.type)==="mousedown"&&m.current){m.current=!1;return}(j==null?void 0:j.type)==="touchstart"&&(m.current=!0);const ee=K?null:C.current,G=ee?ee.getBoundingClientRect():{width:0,height:0,left:0,top:0};let le,ae,q;if(U||j===void 0||j.clientX===0&&j.clientY===0||!j.clientX&&!j.touches)le=Math.round(G.width/2),ae=Math.round(G.height/2);else{const{clientX:J,clientY:z}=j.touches&&j.touches.length>0?j.touches[0]:j;le=Math.round(J-G.left),ae=Math.round(z-G.top)}if(U)q=Math.sqrt((2*G.width**2+G.height**2)/3),q%2===0&&(q+=1);else{const J=Math.max(Math.abs((ee?ee.clientWidth:0)-le),le)*2+2,z=Math.max(Math.abs((ee?ee.clientHeight:0)-ae),ae)*2+2;q=Math.sqrt(J**2+z**2)}j!=null&&j.touches?b.current===null&&(b.current=()=>{w({pulsate:F,rippleX:le,rippleY:ae,rippleSize:q,cb:D})},v.start(S8,()=>{b.current&&(b.current(),b.current=null)})):w({pulsate:F,rippleX:le,rippleY:ae,rippleSize:q,cb:D})},[o,w,v]),L=B.useCallback(()=>{I({},{pulsate:!0})},[I]),E=B.useCallback((j,P)=>{if(v.clear(),(j==null?void 0:j.type)==="touchend"&&b.current){b.current(),b.current=null,v.start(0,()=>{E(j,P)});return}b.current=null,d(D=>D.length>0?D.slice(1):D),g.current=P},[v]);return B.useImperativeHandle(n,()=>({pulsate:L,start:I,stop:E}),[L,I,E]),f.jsx(I8,Z({className:lt(ar.root,s.root,a),ref:C},c,{children:f.jsx(Lp,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(Xx.propTypes={center:x.bool,classes:x.object,className:x.string});function P8(e){return Rn("MuiButtonBase",e)}const j8=ir("MuiButtonBase",["root","disabled","focusVisible"]),M8=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],k8=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=$n({root:["root",t&&"disabled",n&&"focusVisible"]},P8,o);return n&&r&&(a.root+=` ${r}`),a},L8=pe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${j8.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Rc=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:s=!1,children:a,className:c,component:u="button",disabled:d=!1,disableRipple:h=!1,disableTouchRipple:g=!1,focusRipple:m=!1,LinkComponent:v="a",onBlur:b,onClick:C,onContextMenu:w,onDragLeave:I,onFocus:L,onFocusVisible:E,onKeyDown:j,onKeyUp:P,onMouseDown:D,onMouseLeave:F,onMouseUp:U,onTouchEnd:K,onTouchMove:ee,onTouchStart:G,tabIndex:le=0,TouchRippleProps:ae,touchRippleRef:q,type:J}=r,z=Ge(r,M8),Q=B.useRef(null),N=B.useRef(null),re=xn(N,q),{isFocusVisibleRef:W,onFocus:X,onBlur:de,ref:he}=wp(),[fe,ge]=B.useState(!1);d&&fe&&ge(!1),B.useImperativeHandle(o,()=>({focusVisible:()=>{ge(!0),Q.current.focus()}}),[]);const[ve,Te]=B.useState(!1);B.useEffect(()=>{Te(!0)},[]);const Ce=ve&&!h&&!d;B.useEffect(()=>{fe&&m&&!h&&ve&&N.current.pulsate()},[h,m,fe,ve]);function be(xe,ht,Ut=g){return li(Be=>(ht&&ht(Be),!Ut&&N.current&&N.current[xe](Be),!0))}const we=be("start",D),Ie=be("stop",w),ue=be("stop",I),qe=be("stop",U),me=be("stop",xe=>{fe&&xe.preventDefault(),F&&F(xe)}),Qe=be("start",G),an=be("stop",K),Et=be("stop",ee),yt=be("stop",xe=>{de(xe),W.current===!1&&ge(!1),b&&b(xe)},!1),Un=li(xe=>{Q.current||(Q.current=xe.currentTarget),X(xe),W.current===!0&&(ge(!0),E&&E(xe)),L&&L(xe)}),It=()=>{const xe=Q.current;return u&&u!=="button"&&!(xe.tagName==="A"&&xe.href)},bt=B.useRef(!1),Xt=li(xe=>{m&&!bt.current&&fe&&N.current&&xe.key===" "&&(bt.current=!0,N.current.stop(xe,()=>{N.current.start(xe)})),xe.target===xe.currentTarget&&It()&&xe.key===" "&&xe.preventDefault(),j&&j(xe),xe.target===xe.currentTarget&&It()&&xe.key==="Enter"&&!d&&(xe.preventDefault(),C&&C(xe))}),xt=li(xe=>{m&&xe.key===" "&&N.current&&fe&&!xe.defaultPrevented&&(bt.current=!1,N.current.stop(xe,()=>{N.current.pulsate(xe)})),P&&P(xe),C&&xe.target===xe.currentTarget&&It()&&xe.key===" "&&!xe.defaultPrevented&&C(xe)});let zt=u;zt==="button"&&(z.href||z.to)&&(zt=v);const Ot={};zt==="button"?(Ot.type=J===void 0?"button":J,Ot.disabled=d):(!z.href&&!z.to&&(Ot.role="button"),d&&(Ot["aria-disabled"]=d));const Fe=xn(n,he,Q);process.env.NODE_ENV!=="production"&&B.useEffect(()=>{Ce&&!N.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
146
|
+
`))},[Ce]);const _e=Z({},r,{centerRipple:s,component:u,disabled:d,disableRipple:h,disableTouchRipple:g,focusRipple:m,tabIndex:le,focusVisible:fe}),Oe=k8(_e);return f.jsxs(L8,Z({as:zt,className:lt(Oe.root,c),ownerState:_e,onBlur:yt,onClick:C,onContextMenu:Ie,onFocus:Un,onKeyDown:Xt,onKeyUp:xt,onMouseDown:we,onMouseLeave:me,onMouseUp:qe,onDragLeave:ue,onTouchEnd:an,onTouchMove:Et,onTouchStart:Qe,ref:Fe,tabIndex:d?-1:le,type:J},Ot,z,{children:[a,Ce?f.jsx(Xx,Z({ref:re,center:s},ae)):null]}))});process.env.NODE_ENV!=="production"&&(Rc.propTypes={action:Oc,centerRipple:x.bool,children:x.node,classes:x.object,className:x.string,component:lk,disabled:x.bool,disableRipple:x.bool,disableTouchRipple:x.bool,focusRipple:x.bool,focusVisibleClassName:x.string,href:x.any,LinkComponent:x.elementType,onBlur:x.func,onClick:x.func,onContextMenu:x.func,onDragLeave:x.func,onFocus:x.func,onFocusVisible:x.func,onKeyDown:x.func,onKeyUp:x.func,onMouseDown:x.func,onMouseLeave:x.func,onMouseUp:x.func,onTouchEnd:x.func,onTouchMove:x.func,onTouchStart:x.func,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),tabIndex:x.number,TouchRippleProps:x.object,touchRippleRef:x.oneOfType([x.func,x.shape({current:x.shape({pulsate:x.func.isRequired,start:x.func.isRequired,stop:x.func.isRequired})})]),type:x.oneOfType([x.oneOf(["button","reset","submit"]),x.string])});const F8=["slots","slotProps"],D8=pe(Rc)(({theme:e})=>Z({display:"flex",marginLeft:`calc(${e.spacing(1)} * 0.5)`,marginRight:`calc(${e.spacing(1)} * 0.5)`},e.palette.mode==="light"?{backgroundColor:e.palette.grey[100],color:e.palette.grey[700]}:{backgroundColor:e.palette.grey[700],color:e.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":Z({},e.palette.mode==="light"?{backgroundColor:e.palette.grey[200]}:{backgroundColor:e.palette.grey[600]}),"&:active":Z({boxShadow:e.shadows[0]},e.palette.mode==="light"?{backgroundColor:Hb(e.palette.grey[200],.12)}:{backgroundColor:Hb(e.palette.grey[600],.12)})})),_8=pe(p8)({width:24,height:16});function Zx(e){const{slots:t={},slotProps:n={}}=e,r=Ge(e,F8),o=e;return f.jsx("li",{children:f.jsx(D8,Z({focusRipple:!0},r,{ownerState:o,children:f.jsx(_8,Z({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(Zx.propTypes={slotProps:x.shape({collapsedIcon:x.oneOfType([x.func,x.object])}),slots:x.shape({CollapsedIcon:x.elementType}),sx:x.object});function R8(e){return Rn("MuiBreadcrumbs",e)}const B8=ir("MuiBreadcrumbs",["root","ol","li","separator"]),N8=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],V8=e=>{const{classes:t}=e;return $n({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},R8,t)},W8=pe(Wx,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${B8.li}`]:t.li},t.root]})({}),z8=pe("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),U8=pe("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function H8(e,t,n,r){return e.reduce((o,s,a)=>(a<e.length-1?o=o.concat(s,f.jsx(U8,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(s),o),[])}const Bc=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiBreadcrumbs"}),{children:o,className:s,component:a="nav",slots:c={},slotProps:u={},expandText:d="Show path",itemsAfterCollapse:h=1,itemsBeforeCollapse:g=1,maxItems:m=8,separator:v="/"}=r,b=Ge(r,N8),[C,w]=B.useState(!1),I=Z({},r,{component:a,expanded:C,expandText:d,itemsAfterCollapse:h,itemsBeforeCollapse:g,maxItems:m,separator:v}),L=V8(I),E=Ix({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:I}),j=B.useRef(null),P=F=>{const U=()=>{w(!0);const K=j.current.querySelector("a[href],button,[tabindex]");K&&K.focus()};return g+h>=F.length?(process.env.NODE_ENV!=="production"&&console.error(["MUI: You have provided an invalid combination of props to the Breadcrumbs.",`itemsAfterCollapse={${h}} + itemsBeforeCollapse={${g}} >= maxItems={${m}}`].join(`
|
|
147
|
+
`)),F):[...F.slice(0,g),f.jsx(Zx,{"aria-label":d,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:E},onClick:U},"ellipsis"),...F.slice(F.length-h,F.length)]},D=B.Children.toArray(o).filter(F=>(process.env.NODE_ENV!=="production"&&gp.isFragment(F)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
148
|
+
`)),B.isValidElement(F))).map((F,U)=>f.jsx("li",{className:L.li,children:F},`child-${U}`));return f.jsx(W8,Z({ref:n,component:a,color:"text.secondary",className:lt(L.root,s),ownerState:I},b,{children:f.jsx(z8,{className:L.ol,ref:j,ownerState:I,children:H8(C||m&&D.length<=m?D:P(D),L.separator,v,I)})}))});process.env.NODE_ENV!=="production"&&(Bc.propTypes={children:x.node,classes:x.object,className:x.string,component:x.elementType,expandText:x.string,itemsAfterCollapse:Ap,itemsBeforeCollapse:Ap,maxItems:Ap,separator:x.node,slotProps:x.shape({collapsedIcon:x.oneOfType([x.func,x.object])}),slots:x.shape({CollapsedIcon:x.elementType}),sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object])});function G8({id:e,title:t,icon:n,url:r,last:o}){const s=n||Ke.ApartmentOutlined;return f.jsxs(S.Typography,{component:dt.Link,to:r,variant:o?"subtitle1":"h6",sx:{textDecoration:"none",display:"inline-flex",alignItems:"center"},color:"textSecondary",children:[n?f.jsx(s,{style:{marginRight:8,fontSize:"0.875rem"}}):null,t]},e)}function Qx({home:e="Home",card:t,divider:n=!0,icon:r,icons:o,maxItems:s,navigation:a,rightAlign:c,separator:u,title:d,titleBottom:h,sx:g,breadcrumbs:m,mode:v="navigation",...b}){const C=Kt(),w=dt.useLocation(),[I,L]=T.useState(),[E,j]=T.useState(),P=w.pathname,D={marginRight:C.spacing(.75),marginTop:`-${C.spacing(.25)}`,width:"1rem",height:"1rem",color:C.palette.secondary.main};function F(Q){Q.children&&Q.children.filter(N=>(N.type&&N.type==="collapse"?(F(N),N.url===P&&(L(N),j(N))):N.type&&N.type==="item"&&P.includes(N.url)&&(L(Q),j(N)),!1))}T.useEffect(()=>{var Q;(Q=a==null?void 0:a.items)==null||Q.map(N=>(N.type&&N.type==="group"&&F(N),!1))});const U=u,K=u?f.jsx(U,{style:{fontSize:"0.75rem",marginTop:2}}):"/",ee={mb:2,bgcolor:t===!1?"transparent":"inherit",...g,[C.breakpoints.down("sm")]:{mb:1}};let G,le,ae=f.jsx(S.Typography,{}),q="",J,z;return v==="breadcrumbs"?f.jsxs(sr,{border:t,sx:ee,...b,content:t,shadow:"none",children:[f.jsxs(S.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(S.Grid,{item:!0,children:f.jsx(S.Typography,{variant:"h2",children:E.title})}):null,f.jsx(S.Grid,{item:!0,children:f.jsxs(Bc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,sx:{[C.breakpoints.down("sm")]:{mt:1}},children:[e!==!1&&f.jsxs(S.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(Ke.HomeOutlined,{style:D}):null,r&&!o?f.jsx(Ke.HomeFilled,{style:{...D,marginRight:0}}):null,!r||o?e:null]}),m.map(G8)]})}),d&&h?f.jsx(S.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(S.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(S.Divider,{sx:{mt:2}})]}):(I&&I.type==="collapse"&&I.breadcrumbs===!0&&(J=I.icon?I.icon:Ke.ApartmentOutlined,G=f.jsxs(S.Typography,{component:dt.Link,to:(E==null?void 0:E.url)||document.location.pathname,variant:"h6",sx:{textDecoration:"none"},color:"textSecondary",children:[o?f.jsx(J,{style:D}):null,I.title]}),ae=f.jsxs(sr,{border:t,sx:ee,...b,content:t,shadow:"none",children:[f.jsxs(S.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[f.jsx(S.Grid,{item:!0,children:f.jsxs(Bc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,children:[e!==!1&&f.jsxs(S.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(Ke.HomeOutlined,{style:D}):null,r&&!o?f.jsx(Ke.HomeFilled,{style:{...D,marginRight:0}}):null,!r||o?e:null]}),G]})}),d&&h?f.jsx(S.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(S.Typography,{variant:"h2",children:I.title})}):null]}),t===!1&&n!==!1&&f.jsx(S.Divider,{sx:{mt:2}})]})),E&&E.type==="item"&&(q=E.title,z=E.icon?E.icon:Ke.ApartmentOutlined,le=f.jsxs(S.Typography,{variant:"subtitle1",color:"textPrimary",component:dt.Link,to:E.url,sx:{textDecoration:"none"},children:[o?f.jsx(z,{style:D}):null,q]}),E.breadcrumbs!==!1&&(ae=f.jsxs(sr,{border:t,sx:{mb:3,bgcolor:t===!1?"transparent":"inherit",...g,[C.breakpoints.down("sm")]:{mb:1}},...b,content:t,shadow:"none",children:[f.jsxs(S.Grid,{container:!0,direction:c?"row":"column",justifyContent:c?"space-between":"flex-start",alignItems:c?"center":"flex-start",spacing:1,children:[d&&!h?f.jsx(S.Grid,{item:!0,children:f.jsx(S.Typography,{variant:"h2",children:E.title})}):null,f.jsx(S.Grid,{item:!0,children:f.jsxs(Bc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,children:[e!==!1&&f.jsxs(S.Typography,{component:dt.Link,to:"/",color:"textSecondary",variant:"h6",sx:{textDecoration:"none"},children:[o?f.jsx(Ke.HomeOutlined,{style:D}):null,r&&!o?f.jsx(Ke.HomeFilled,{style:{...D,marginRight:0}}):null,!r||o?e:null]}),G,le]})}),d&&h?f.jsx(S.Grid,{item:!0,sx:{mt:t===!1?.25:1},children:f.jsx(S.Typography,{variant:"h2",children:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(S.Divider,{sx:{mt:2}})]}))),ae)}function Dp({color:e,size:t,variant:n,sx:r}){const o=Kt(),s=Qt(o,e),{main:a}=s;return f.jsx(S.Box,{component:"span",sx:{width:t||8,height:t||8,borderRadius:"50%",bgcolor:n==="outlined"?"":a,...n==="outlined"&&{border:`1px solid ${a}`},...r}})}function hs(e,t){switch(t){case"secondary":return e.customShadows.secondary;case"error":return e.customShadows.error;case"warning":return e.customShadows.warning;case"info":return e.customShadows.info;case"success":return e.customShadows.success;case"primaryButton":return e.customShadows.primaryButton;case"secondaryButton":return e.customShadows.secondaryButton;case"errorButton":return e.customShadows.errorButton;case"warningButton":return e.customShadows.warningButton;case"infoButton":return e.customShadows.infoButton;case"successButton":return e.customShadows.successButton;default:return e.customShadows.primary}}function Y8(e){return Rn("MuiIconButton",e)}const K8=ir("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),X8=["edge","children","className","color","disabled","disableFocusRipple","size"],Z8=e=>{const{classes:t,disabled:n,color:r,edge:o,size:s}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${He(r)}`,o&&`edge${He(o)}`,`size${He(s)}`]};return $n(a,Y8,t)},Q8=pe(Rc,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${He(n.color)}`],n.edge&&t[`edge${He(n.edge)}`],t[`size${He(n.size)}`]]}})(({theme:e,ownerState:t})=>Z({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Oo(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return Z({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&Z({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":Z({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oo(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${K8.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),_p=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiIconButton"}),{edge:o=!1,children:s,className:a,color:c="default",disabled:u=!1,disableFocusRipple:d=!1,size:h="medium"}=r,g=Ge(r,X8),m=Z({},r,{edge:o,color:c,disabled:u,disableFocusRipple:d,size:h}),v=Z8(m);return f.jsx(Q8,Z({className:lt(v.root,a),centerRipple:!0,focusRipple:!d,disabled:u,ref:n},g,{ownerState:m,children:s}))});process.env.NODE_ENV!=="production"&&(_p.propTypes={children:Po(x.node,e=>B.Children.toArray(e.children).some(n=>B.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
|
|
149
|
+
`)):null),classes:x.object,className:x.string,color:x.oneOfType([x.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),x.string]),disabled:x.bool,disableFocusRipple:x.bool,disableRipple:x.bool,edge:x.oneOf(["end","start",!1]),size:x.oneOfType([x.oneOf(["small","medium","large"]),x.string]),sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object])});function J8({variant:e,theme:t,color:n}){const r=Qt(t,n),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d=`${n}Button`,h=hs(t,d),g={"&::after":{boxShadow:`0 0 6px 6px ${tt(c,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(c,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{color:u,backgroundColor:c,"&:hover":{backgroundColor:a},...g};case"light":return{color:c,backgroundColor:o,"&:hover":{backgroundColor:s},...g};case"shadow":return{boxShadow:h,color:u,backgroundColor:c,"&:hover":{boxShadow:"none",backgroundColor:a},...g};case"outlined":return{"&:hover":{backgroundColor:"transparent",color:a,borderColor:a},...g};case"dashed":return{backgroundColor:o,"&:hover":{color:a,borderColor:a},...g};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...g}}}const q8=pe(_p,{shouldForwardProp:e=>e!=="variant"&&e!=="shape"})(({theme:e,variant:t,shape:n,color:r})=>({position:"relative","::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"},...n==="rounded"&&{borderRadius:"50%"},...t==="outlined"&&{border:"1px solid",borderColor:"inherit"},...t==="dashed"&&{border:"1px dashed",borderColor:"inherit"},...t!=="text"&&{"&.Mui-disabled":{backgroundColor:e.palette.grey[200]}},...J8({variant:t,theme:e,color:r})})),Nc=T.forwardRef(({variant:e="text",shape:t="square",children:n,color:r="primary",...o},s)=>{const a=Kt();return f.jsx(q8,{ref:s,disableRipple:!0,variant:e,shape:t,theme:a,color:r,...o,children:n})}),$8=Object.freeze(Object.defineProperty({__proto__:null,capitalize:He,createChainedFunction:uk,createSvgIcon:vp,debounce:dk,deprecatedPropType:fk,isMuiElement:pk,ownerDocument:us,ownerWindow:hk,requirePropFactory:gk,setRef:ls,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
150
|
+
`)),Nb.configure(e)}},unstable_useEnhancedEffect:_r,unstable_useId:bp,unsupportedProp:vk,useControlled:Cx,useEventCallback:li,useForkRef:xn,useIsFocusVisible:wp},Symbol.toStringTag,{value:"Module"}));function e9(e){return typeof e=="string"}function t9(e,t,n){return e===void 0||e9(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const n9={disableDefaultClasses:!1},r9=B.createContext(n9);function o9(e){const{disableDefaultClasses:t}=B.useContext(r9);return n=>t?"":e(n)}function i9(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 s9(e,t,n){return typeof e=="function"?e(t,n):e}function Jx(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 a9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=lt(o==null?void 0:o.className,r==null?void 0:r.className,s,n==null?void 0:n.className),b=Z({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),C=Z({},n,o,r);return v.length>0&&(C.className=v),Object.keys(b).length>0&&(C.style=b),{props:C,internalRef:void 0}}const a=i9(Z({},o,r)),c=Jx(r),u=Jx(o),d=t(a),h=lt(d==null?void 0:d.className,n==null?void 0:n.className,s,o==null?void 0:o.className,r==null?void 0:r.className),g=Z({},d==null?void 0:d.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),m=Z({},d,n,u,c);return h.length>0&&(m.className=h),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:d.ref}}const l9=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function c9(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,l9),c=s?{}:s9(r,o),{props:u,internalRef:d}=a9(Z({},a,{externalSlotProps:c})),h=xn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return t9(n,Z({},u,{ref:h}),o)}var Cn="top",lr="bottom",cr="right",wn="left",Rp="auto",La=[Cn,lr,cr,wn],gs="start",Fa="end",u9="clippingParents",qx="viewport",Da="popper",d9="reference",$x=La.reduce(function(e,t){return e.concat([t+"-"+gs,t+"-"+Fa])},[]),e1=[].concat(La,[Rp]).reduce(function(e,t){return e.concat([t,t+"-"+gs,t+"-"+Fa])},[]),f9="beforeRead",p9="read",h9="afterRead",g9="beforeMain",m9="main",v9="afterMain",y9="beforeWrite",b9="write",x9="afterWrite",C9=[f9,p9,h9,g9,m9,v9,y9,b9,x9];function Rr(e){return e?(e.nodeName||"").toLowerCase():null}function Bn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fi(e){var t=Bn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Bn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bp(e){if(typeof ShadowRoot>"u")return!1;var t=Bn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function w9(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];!ur(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 S9(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,d){return u[d]="",u},{});!ur(o)||!Rr(o)||(Object.assign(o.style,c),Object.keys(s).forEach(function(u){o.removeAttribute(u)}))})}}const A9={name:"applyStyles",enabled:!0,phase:"write",fn:w9,effect:S9,requires:["computeStyles"]};function Br(e){return e.split("-")[0]}var pi=Math.max,Vc=Math.min,ms=Math.round;function Np(){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 t1(){return!/^((?!chrome|android).)*safari/i.test(Np())}function vs(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,s=1;t&&ur(e)&&(o=e.offsetWidth>0&&ms(r.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ms(r.height)/e.offsetHeight||1);var a=fi(e)?Bn(e):window,c=a.visualViewport,u=!t1()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/o,h=(r.top+(u&&c?c.offsetTop:0))/s,g=r.width/o,m=r.height/s;return{width:g,height:m,top:h,right:d+g,bottom:h+m,left:d,x:d,y:h}}function Vp(e){var t=vs(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 n1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bp(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function to(e){return Bn(e).getComputedStyle(e)}function T9(e){return["table","td","th"].indexOf(Rr(e))>=0}function Mo(e){return((fi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wc(e){return Rr(e)==="html"?e:e.assignedSlot||e.parentNode||(Bp(e)?e.host:null)||Mo(e)}function r1(e){return!ur(e)||to(e).position==="fixed"?null:e.offsetParent}function E9(e){var t=/firefox/i.test(Np()),n=/Trident/i.test(Np());if(n&&ur(e)){var r=to(e);if(r.position==="fixed")return null}var o=Wc(e);for(Bp(o)&&(o=o.host);ur(o)&&["html","body"].indexOf(Rr(o))<0;){var s=to(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 _a(e){for(var t=Bn(e),n=r1(e);n&&T9(n)&&to(n).position==="static";)n=r1(n);return n&&(Rr(n)==="html"||Rr(n)==="body"&&to(n).position==="static")?t:n||E9(e)||t}function Wp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ra(e,t,n){return pi(e,Vc(t,n))}function I9(e,t,n){var r=Ra(e,t,n);return r>n?n:r}function o1(){return{top:0,right:0,bottom:0,left:0}}function i1(e){return Object.assign({},o1(),e)}function s1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var O9=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,i1(typeof t!="number"?t:s1(t,La))};function P9(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,c=Br(n.placement),u=Wp(c),d=[wn,cr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=O9(o.padding,n),m=Vp(s),v=u==="y"?Cn:wn,b=u==="y"?lr:cr,C=n.rects.reference[h]+n.rects.reference[u]-a[u]-n.rects.popper[h],w=a[u]-n.rects.reference[u],I=_a(s),L=I?u==="y"?I.clientHeight||0:I.clientWidth||0:0,E=C/2-w/2,j=g[v],P=L-m[h]-g[b],D=L/2-m[h]/2+E,F=Ra(j,D,P),U=u;n.modifiersData[r]=(t={},t[U]=F,t.centerOffset=F-D,t)}}function j9(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)||n1(t.elements.popper,o)&&(t.elements.arrow=o))}const M9={name:"arrow",enabled:!0,phase:"main",fn:P9,effect:j9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ys(e){return e.split("-")[1]}var k9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function L9(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:ms(n*o)/o||0,y:ms(r*o)/o||0}}function a1(e){var t,n=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,h=e.roundOffsets,g=e.isFixed,m=a.x,v=m===void 0?0:m,b=a.y,C=b===void 0?0:b,w=typeof h=="function"?h({x:v,y:C}):{x:v,y:C};v=w.x,C=w.y;var I=a.hasOwnProperty("x"),L=a.hasOwnProperty("y"),E=wn,j=Cn,P=window;if(d){var D=_a(n),F="clientHeight",U="clientWidth";if(D===Bn(n)&&(D=Mo(n),to(D).position!=="static"&&c==="absolute"&&(F="scrollHeight",U="scrollWidth")),D=D,o===Cn||(o===wn||o===cr)&&s===Fa){j=lr;var K=g&&D===P&&P.visualViewport?P.visualViewport.height:D[F];C-=K-r.height,C*=u?1:-1}if(o===wn||(o===Cn||o===lr)&&s===Fa){E=cr;var ee=g&&D===P&&P.visualViewport?P.visualViewport.width:D[U];v-=ee-r.width,v*=u?1:-1}}var G=Object.assign({position:c},d&&k9),le=h===!0?L9({x:v,y:C},Bn(n)):{x:v,y:C};if(v=le.x,C=le.y,u){var ae;return Object.assign({},G,(ae={},ae[j]=L?"0":"",ae[E]=I?"0":"",ae.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+C+"px)":"translate3d("+v+"px, "+C+"px, 0)",ae))}return Object.assign({},G,(t={},t[j]=L?C+"px":"",t[E]=I?v+"px":"",t.transform="",t))}function F9(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,d={placement:Br(t.placement),variation:ys(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,a1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,a1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const D9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:F9,data:{}};var zc={passive:!0};function _9(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=Bn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",n.update,zc)}),c&&u.addEventListener("resize",n.update,zc),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",n.update,zc)}),c&&u.removeEventListener("resize",n.update,zc)}}const R9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_9,data:{}};var B9={left:"right",right:"left",bottom:"top",top:"bottom"};function Uc(e){return e.replace(/left|right|bottom|top/g,function(t){return B9[t]})}var N9={start:"end",end:"start"};function l1(e){return e.replace(/start|end/g,function(t){return N9[t]})}function zp(e){var t=Bn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Up(e){return vs(Mo(e)).left+zp(e).scrollLeft}function V9(e,t){var n=Bn(e),r=Mo(e),o=n.visualViewport,s=r.clientWidth,a=r.clientHeight,c=0,u=0;if(o){s=o.width,a=o.height;var d=t1();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Up(e),y:u}}function W9(e){var t,n=Mo(e),r=zp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=pi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=pi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Up(e),u=-r.scrollTop;return to(o||n).direction==="rtl"&&(c+=pi(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Hp(e){var t=to(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function c1(e){return["html","body","#document"].indexOf(Rr(e))>=0?e.ownerDocument.body:ur(e)&&Hp(e)?e:c1(Wc(e))}function Ba(e,t){var n;t===void 0&&(t=[]);var r=c1(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Bn(r),a=o?[s].concat(s.visualViewport||[],Hp(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Ba(Wc(a)))}function Gp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function z9(e,t){var n=vs(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 u1(e,t,n){return t===qx?Gp(V9(e,n)):fi(t)?z9(t,n):Gp(W9(Mo(e)))}function U9(e){var t=Ba(Wc(e)),n=["absolute","fixed"].indexOf(to(e).position)>=0,r=n&&ur(e)?_a(e):e;return fi(r)?t.filter(function(o){return fi(o)&&n1(o,r)&&Rr(o)!=="body"}):[]}function H9(e,t,n,r){var o=t==="clippingParents"?U9(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=u1(e,d,r);return u.top=pi(h.top,u.top),u.right=Vc(h.right,u.right),u.bottom=Vc(h.bottom,u.bottom),u.left=pi(h.left,u.left),u},u1(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 d1(e){var t=e.reference,n=e.element,r=e.placement,o=r?Br(r):null,s=r?ys(r):null,a=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,u;switch(o){case Cn:u={x:a,y:t.y-n.height};break;case lr:u={x:a,y:t.y+t.height};break;case cr:u={x:t.x+t.width,y:c};break;case wn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Wp(o):null;if(d!=null){var h=d==="y"?"height":"width";switch(s){case gs:u[d]=u[d]-(t[h]/2-n[h]/2);break;case Fa:u[d]=u[d]+(t[h]/2-n[h]/2);break}}return u}function Na(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?u9:c,d=n.rootBoundary,h=d===void 0?qx:d,g=n.elementContext,m=g===void 0?Da:g,v=n.altBoundary,b=v===void 0?!1:v,C=n.padding,w=C===void 0?0:C,I=i1(typeof w!="number"?w:s1(w,La)),L=m===Da?d9:Da,E=e.rects.popper,j=e.elements[b?L:m],P=H9(fi(j)?j:j.contextElement||Mo(e.elements.popper),u,h,a),D=vs(e.elements.reference),F=d1({reference:D,element:E,strategy:"absolute",placement:o}),U=Gp(Object.assign({},E,F)),K=m===Da?U:D,ee={top:P.top-K.top+I.top,bottom:K.bottom-P.bottom+I.bottom,left:P.left-K.left+I.left,right:K.right-P.right+I.right},G=e.modifiersData.offset;if(m===Da&&G){var le=G[o];Object.keys(ee).forEach(function(ae){var q=[cr,lr].indexOf(ae)>=0?1:-1,J=[Cn,lr].indexOf(ae)>=0?"y":"x";ee[ae]+=le[J]*q})}return ee}function G9(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,d=u===void 0?e1:u,h=ys(r),g=h?c?$x:$x.filter(function(b){return ys(b)===h}):La,m=g.filter(function(b){return d.indexOf(b)>=0});m.length===0&&(m=g);var v=m.reduce(function(b,C){return b[C]=Na(e,{placement:C,boundary:o,rootBoundary:s,padding:a})[Br(C)],b},{});return Object.keys(v).sort(function(b,C){return v[b]-v[C]})}function Y9(e){if(Br(e)===Rp)return[];var t=Uc(e);return[l1(e),t,l1(t)]}function K9(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,d=n.padding,h=n.boundary,g=n.rootBoundary,m=n.altBoundary,v=n.flipVariations,b=v===void 0?!0:v,C=n.allowedAutoPlacements,w=t.options.placement,I=Br(w),L=I===w,E=u||(L||!b?[Uc(w)]:Y9(w)),j=[w].concat(E).reduce(function(fe,ge){return fe.concat(Br(ge)===Rp?G9(t,{placement:ge,boundary:h,rootBoundary:g,padding:d,flipVariations:b,allowedAutoPlacements:C}):ge)},[]),P=t.rects.reference,D=t.rects.popper,F=new Map,U=!0,K=j[0],ee=0;ee<j.length;ee++){var G=j[ee],le=Br(G),ae=ys(G)===gs,q=[Cn,lr].indexOf(le)>=0,J=q?"width":"height",z=Na(t,{placement:G,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),Q=q?ae?cr:wn:ae?lr:Cn;P[J]>D[J]&&(Q=Uc(Q));var N=Uc(Q),re=[];if(s&&re.push(z[le]<=0),c&&re.push(z[Q]<=0,z[N]<=0),re.every(function(fe){return fe})){K=G,U=!1;break}F.set(G,re)}if(U)for(var W=b?3:1,X=function(ge){var ve=j.find(function(Te){var Ce=F.get(Te);if(Ce)return Ce.slice(0,ge).every(function(be){return be})});if(ve)return K=ve,"break"},de=W;de>0;de--){var he=X(de);if(he==="break")break}t.placement!==K&&(t.modifiersData[r]._skip=!0,t.placement=K,t.reset=!0)}}const X9={name:"flip",enabled:!0,phase:"main",fn:K9,requiresIfExists:["offset"],data:{_skip:!1}};function f1(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 p1(e){return[Cn,cr,lr,wn].some(function(t){return e[t]>=0})}function Z9(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,s=t.modifiersData.preventOverflow,a=Na(t,{elementContext:"reference"}),c=Na(t,{altBoundary:!0}),u=f1(a,r),d=f1(c,o,s),h=p1(u),g=p1(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:h,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":h,"data-popper-escaped":g})}const Q9={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Z9};function J9(e,t,n){var r=Br(e),o=[wn,Cn].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,[wn,cr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function q9(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=e1.reduce(function(h,g){return h[g]=J9(g,t.rects,s),h},{}),c=a[t.placement],u=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=a}const $9={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:q9};function eL(e){var t=e.state,n=e.name;t.modifiersData[n]=d1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const tL={name:"popperOffsets",enabled:!0,phase:"read",fn:eL,data:{}};function nL(e){return e==="x"?"y":"x"}function rL(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,d=n.rootBoundary,h=n.altBoundary,g=n.padding,m=n.tether,v=m===void 0?!0:m,b=n.tetherOffset,C=b===void 0?0:b,w=Na(t,{boundary:u,rootBoundary:d,padding:g,altBoundary:h}),I=Br(t.placement),L=ys(t.placement),E=!L,j=Wp(I),P=nL(j),D=t.modifiersData.popperOffsets,F=t.rects.reference,U=t.rects.popper,K=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,ee=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(D){if(s){var ae,q=j==="y"?Cn:wn,J=j==="y"?lr:cr,z=j==="y"?"height":"width",Q=D[j],N=Q+w[q],re=Q-w[J],W=v?-U[z]/2:0,X=L===gs?F[z]:U[z],de=L===gs?-U[z]:-F[z],he=t.elements.arrow,fe=v&&he?Vp(he):{width:0,height:0},ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:o1(),ve=ge[q],Te=ge[J],Ce=Ra(0,F[z],fe[z]),be=E?F[z]/2-W-Ce-ve-ee.mainAxis:X-Ce-ve-ee.mainAxis,we=E?-F[z]/2+W+Ce+Te+ee.mainAxis:de+Ce+Te+ee.mainAxis,Ie=t.elements.arrow&&_a(t.elements.arrow),ue=Ie?j==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,qe=(ae=G==null?void 0:G[j])!=null?ae:0,me=Q+be-qe-ue,Qe=Q+we-qe,an=Ra(v?Vc(N,me):N,Q,v?pi(re,Qe):re);D[j]=an,le[j]=an-Q}if(c){var Et,yt=j==="x"?Cn:wn,Un=j==="x"?lr:cr,It=D[P],bt=P==="y"?"height":"width",Xt=It+w[yt],xt=It-w[Un],zt=[Cn,wn].indexOf(I)!==-1,Ot=(Et=G==null?void 0:G[P])!=null?Et:0,Fe=zt?Xt:It-F[bt]-U[bt]-Ot+ee.altAxis,_e=zt?It+F[bt]+U[bt]-Ot-ee.altAxis:xt,Oe=v&&zt?I9(Fe,It,_e):Ra(v?Fe:Xt,It,v?_e:xt);D[P]=Oe,le[P]=Oe-It}t.modifiersData[r]=le}}const oL={name:"preventOverflow",enabled:!0,phase:"main",fn:rL,requiresIfExists:["offset"]};function iL(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function sL(e){return e===Bn(e)||!ur(e)?zp(e):iL(e)}function aL(e){var t=e.getBoundingClientRect(),n=ms(t.width)/e.offsetWidth||1,r=ms(t.height)/e.offsetHeight||1;return n!==1||r!==1}function lL(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&aL(t),s=Mo(t),a=vs(e,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Rr(t)!=="body"||Hp(s))&&(c=sL(t)),ur(t)?(u=vs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Up(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function cL(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 uL(e){var t=cL(e);return C9.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function dL(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function fL(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 h1={placement:"bottom",modifiers:[],strategy:"absolute"};function g1(){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 pL(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?h1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},h1,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],m=!1,v={state:h,setOptions:function(I){var L=typeof I=="function"?I(h.options):I;C(),h.options=Object.assign({},s,h.options,L),h.scrollParents={reference:fi(c)?Ba(c):c.contextElement?Ba(c.contextElement):[],popper:Ba(u)};var E=uL(fL([].concat(r,h.options.modifiers)));return h.orderedModifiers=E.filter(function(j){return j.enabled}),b(),v.update()},forceUpdate:function(){if(!m){var I=h.elements,L=I.reference,E=I.popper;if(g1(L,E)){h.rects={reference:lL(L,_a(E),h.options.strategy==="fixed"),popper:Vp(E)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function(ee){return h.modifiersData[ee.name]=Object.assign({},ee.data)});for(var j=0;j<h.orderedModifiers.length;j++){if(h.reset===!0){h.reset=!1,j=-1;continue}var P=h.orderedModifiers[j],D=P.fn,F=P.options,U=F===void 0?{}:F,K=P.name;typeof D=="function"&&(h=D({state:h,options:U,name:K,instance:v})||h)}}}},update:dL(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){C(),m=!0}};if(!g1(c,u))return v;v.setOptions(d).then(function(w){!m&&d.onFirstUpdate&&d.onFirstUpdate(w)});function b(){h.orderedModifiers.forEach(function(w){var I=w.name,L=w.options,E=L===void 0?{}:L,j=w.effect;if(typeof j=="function"){var P=j({state:h,name:I,instance:v,options:E}),D=function(){};g.push(P||D)}})}function C(){g.forEach(function(w){return w()}),g=[]}return v}}var hL=[R9,tL,D9,A9,$9,X9,oL,M9,Q9],m1=pL({defaultModifiers:hL});function gL(e){return typeof e=="function"?e():e}const Hc=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=xn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(gL(o)||document.body)},[o,s]),_r(()=>{if(a&&!s)return ls(n,a),()=>{ls(n,null)}},[n,a,s]),s){if(B.isValidElement(r)){const d={ref:u};return B.cloneElement(r,d)}return f.jsx(B.Fragment,{children:r})}return f.jsx(B.Fragment,{children:a&&O0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(Hc.propTypes={children:x.node,container:x.oneOfType([jo,x.func]),disablePortal:x.bool}),process.env.NODE_ENV!=="production"&&(Hc.propTypes=Ic(Hc.propTypes));function mL(e){return Rn("MuiPopper",e)}ir("MuiPopper",["root"]);const vL=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],yL=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function bL(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 Gc(e){return typeof e=="function"?e():e}function Yc(e){return e.nodeType!==void 0}function xL(e){return!Yc(e)}const CL=()=>$n({root:["root"]},o9(mL)),wL={},SL=B.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:C}=t,w=Ge(t,vL),I=B.useRef(null),L=xn(I,n),E=B.useRef(null),j=xn(E,m),P=B.useRef(j);_r(()=>{P.current=j},[j]),B.useImperativeHandle(m,()=>E.current,[]);const D=bL(h,a),[F,U]=B.useState(D),[K,ee]=B.useState(Gc(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&ee(Gc(o))},[o]),_r(()=>{if(!K||!d)return;const J=N=>{U(N.placement)};if(process.env.NODE_ENV!=="production"&&K&&Yc(K)&&K.nodeType===1){const N=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.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(`
|
|
151
|
+
`))}let z=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{J(N)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const Q=m1(K,I.current,Z({placement:D},g,{modifiers:z}));return P.current(Q),()=>{Q.destroy(),P.current(null)}},[K,c,u,d,g,D]);const G={placement:F};C!==null&&(G.TransitionProps=C);const le=CL(),ae=(r=b.root)!=null?r:"div",q=c9({elementType:ae,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:L},ownerState:t,className:le.root});return f.jsx(ae,Z({},q,{children:typeof s=="function"?s(G):s}))}),v1=B.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=wL,popperRef:v,style:b,transition:C=!1,slotProps:w={},slots:I={}}=t,L=Ge(t,yL),[E,j]=B.useState(!0),P=()=>{j(!1)},D=()=>{j(!0)};if(!u&&!h&&(!C||E))return null;let F;if(s)F=s;else if(r){const ee=Gc(r);F=ee&&Yc(ee)?us(ee).body:us(null).body}const U=!h&&u&&(!C||E)?"none":void 0,K=C?{in:h,onEnter:P,onExited:D}:void 0;return f.jsx(Hc,{disablePortal:c,container:F,children:f.jsx(SL,Z({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:C?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},L,{style:Z({position:"fixed",top:0,left:0,display:U},b),TransitionProps:K,children:o}))})});process.env.NODE_ENV!=="production"&&(v1.propTypes={anchorEl:Po(x.oneOfType([jo,x.object,x.func]),e=>{if(e.open){const t=Gc(e.anchorEl);if(t&&Yc(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 `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(`
|
|
152
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||xL(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
153
|
+
`))}return null}),children:x.oneOfType([x.node,x.func]),container:x.oneOfType([jo,x.func]),direction:x.oneOf(["ltr","rtl"]),disablePortal:x.bool,keepMounted:x.bool,modifiers:x.arrayOf(x.shape({data:x.object,effect:x.func,enabled:x.bool,fn:x.func,name:x.any,options:x.object,phase:x.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:x.arrayOf(x.string),requiresIfExists:x.arrayOf(x.string)})),open:x.bool.isRequired,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:x.shape({modifiers:x.array,onFirstUpdate:x.func,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:x.oneOf(["absolute","fixed"])}),popperRef:Oc,slotProps:x.shape({root:x.oneOfType([x.func,x.object])}),slots:x.shape({root:x.elementType}),transition:x.bool});function AL(e){return Rn("MuiButton",e)}const Kc=ir("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),y1=B.createContext({});process.env.NODE_ENV!=="production"&&(y1.displayName="ButtonGroupContext");const b1=B.createContext(void 0);process.env.NODE_ENV!=="production"&&(b1.displayName="ButtonGroupButtonContext");const TL=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],EL=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:s,classes:a}=e,c={root:["root",s,`${s}${He(t)}`,`size${He(o)}`,`${s}Size${He(o)}`,`color${He(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${He(o)}`],endIcon:["icon","endIcon",`iconSize${He(o)}`]},u=$n(c,AL,a);return Z({},a,u)},x1=e=>Z({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),IL=pe(Rc,{shouldForwardProp:e=>gx(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${He(n.color)}`],t[`size${He(n.size)}`],t[`${n.variant}Size${He(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],s=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return Z({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":Z({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Oo(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oo(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Oo(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:s,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":Z({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Kc.focusVisible}`]:Z({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Kc.disabled}`]:Z({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${Oo(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Kc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Kc.disabled}`]:{boxShadow:"none"}}),OL=pe("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${He(n.size)}`]]}})(({ownerState:e})=>Z({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},x1(e))),PL=pe("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${He(n.size)}`]]}})(({ownerState:e})=>Z({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},x1(e))),C1=B.forwardRef(function(t,n){const r=B.useContext(y1),o=B.useContext(b1),s=Qf(r,t),a=rr({props:s,name:"MuiButton"}),{children:c,color:u="primary",component:d="button",className:h,disabled:g=!1,disableElevation:m=!1,disableFocusRipple:v=!1,endIcon:b,focusVisibleClassName:C,fullWidth:w=!1,size:I="medium",startIcon:L,type:E,variant:j="text"}=a,P=Ge(a,TL),D=Z({},a,{color:u,component:d,disabled:g,disableElevation:m,disableFocusRipple:v,fullWidth:w,size:I,type:E,variant:j}),F=EL(D),U=L&&f.jsx(OL,{className:F.startIcon,ownerState:D,children:L}),K=b&&f.jsx(PL,{className:F.endIcon,ownerState:D,children:b}),ee=o||"";return f.jsxs(IL,Z({ownerState:D,className:lt(r.className,F.root,h,ee),component:d,disabled:g,focusRipple:!v,focusVisibleClassName:lt(F.focusVisible,C),ref:n,type:E},P,{classes:F,children:[U,c,K]}))});process.env.NODE_ENV!=="production"&&(C1.propTypes={children:x.node,classes:x.object,className:x.string,color:x.oneOfType([x.oneOf(["inherit","primary","secondary","success","error","info","warning"]),x.string]),component:x.elementType,disabled:x.bool,disableElevation:x.bool,disableFocusRipple:x.bool,disableRipple:x.bool,endIcon:x.node,focusVisibleClassName:x.string,fullWidth:x.bool,href:x.string,size:x.oneOfType([x.oneOf(["small","medium","large"]),x.string]),startIcon:x.node,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),type:x.oneOfType([x.oneOf(["button","reset","submit"]),x.string]),variant:x.oneOfType([x.oneOf(["contained","outlined","text"]),x.string])});function jL(e){return Rn("MuiCircularProgress",e)}ir("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const ML=["className","color","disableShrink","size","style","thickness","value","variant"];let Xc=e=>e,w1,S1,A1,T1;const ko=44,kL=Nt.keyframes(w1||(w1=Xc`
|
|
154
154
|
0% {
|
|
155
155
|
transform: rotate(0deg);
|
|
156
156
|
}
|
|
@@ -158,7 +158,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
158
158
|
100% {
|
|
159
159
|
transform: rotate(360deg);
|
|
160
160
|
}
|
|
161
|
-
`)),
|
|
161
|
+
`)),LL=Nt.keyframes(S1||(S1=Xc`
|
|
162
162
|
0% {
|
|
163
163
|
stroke-dasharray: 1px, 200px;
|
|
164
164
|
stroke-dashoffset: 0;
|
|
@@ -173,29 +173,29 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
173
173
|
stroke-dasharray: 100px, 200px;
|
|
174
174
|
stroke-dashoffset: -125px;
|
|
175
175
|
}
|
|
176
|
-
`)),
|
|
176
|
+
`)),FL=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,s={root:["root",n,`color${He(r)}`],svg:["svg"],circle:["circle",`circle${He(n)}`,o&&"circleDisableShrink"]};return $n(s,jL,t)},DL=pe("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${He(n.color)}`]]}})(({ownerState:e,theme:t})=>Z({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&Nt.css(A1||(A1=Xc`
|
|
177
177
|
animation: ${0} 1.4s linear infinite;
|
|
178
|
-
`),
|
|
178
|
+
`),kL)),_L=pe("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),RL=pe("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${He(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&&Nt.css(T1||(T1=Xc`
|
|
179
179
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
180
|
-
`),j2)),Zc=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:d=3.6,value:h=0,variant:g="indeterminate"}=r,m=Ge(r,O2),v=X({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),b=M2(v),x={},w={},I={};if(g==="determinate"){const F=2*Math.PI*((ko-d)/2);x.strokeDasharray=F.toFixed(3),I["aria-valuenow"]=Math.round(h),x.strokeDashoffset=`${((100-h)/100*F).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(k2,X({className:lt(b.root,o),style:X({width:c,height:c},w,u),ownerState:v,ref:n,role:"progressbar"},I,m,{children:f.jsx(F2,{className:b.svg,ownerState:v,viewBox:`${ko/2} ${ko/2} ${ko} ${ko}`,children:f.jsx(L2,{className:b.circle,style:x,ownerState:v,cx:ko,cy:ko,r:(ko-d)/2,fill:"none",strokeWidth:d})})}))});process.env.NODE_ENV!=="production"&&(Zc.propTypes={classes:C.object,className:C.string,color:C.oneOfType([C.oneOf(["inherit","primary","secondary","error","info","success","warning"]),C.string]),disableShrink:Po(C.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:C.oneOfType([C.number,C.string]),style:C.object,sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),thickness:C.number,value:C.number,variant:C.oneOf(["determinate","indeterminate"])});function D2(e){return _n("MuiLoadingButton",e)}const no=ir("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),R2=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],_2=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${He(n)}`],endIcon:[t&&`endIconLoading${He(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${He(n)}`]},s=$n(o,D2,r);return X({},r,s)},B2=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",N2=pe(C1,{shouldForwardProp:e=>B2(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${no.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${no.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>X({[`& .${no.startIconLoadingStart}, & .${no.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}),[`&.${no.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${no.startIconLoadingStart}, & .${no.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${no.startIconLoadingStart}, & .${no.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),V2=pe("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${He(n.loadingPosition)}`]]}})(({theme:e,ownerState:t})=>X({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})),E1=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:d="center",variant:h="text"}=r,g=Ge(r,R2),m=bp(a),v=u??f.jsx(Zc,{"aria-labelledby":m,color:"inherit",size:16}),b=X({},r,{disabled:s,loading:c,loadingIndicator:v,loadingPosition:d,variant:h}),x=_2(b),w=c?f.jsx(V2,{className:x.loadingIndicator,ownerState:b,children:v}):null;return f.jsxs(N2,X({disabled:s||c,id:m,ref:n},g,{variant:h,classes:x,ownerState:b,children:[b.loadingPosition==="end"?o:w,b.loadingPosition==="end"?w:o]}))});process.env.NODE_ENV!=="production"&&(E1.propTypes={children:C.node,classes:C.object,disabled:C.bool,id:C.string,loading:C.bool,loadingIndicator:C.node,loadingPosition:Po(C.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:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),variant:C.oneOfType([C.oneOf(["contained","outlined","text"]),C.string])});function Yp({variant:e,theme:t,color:n,loadingPosition:r}){const o=Qt(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,d=`${n}Button`,h=hs(t,d),g={"& .MuiLoadingButton-loadingIndicator":{color:a}},m={...r&&r!=="center"&&{color:a}},v={"&::after":{boxShadow:`0 0 6px 6px ${tt(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(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},...v};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"shadow":return{boxShadow:h,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...v};case"outlined":return{backgroundColor:"transparent",borderColor:a,...m,...g};case"dashed":return{backgroundColor:s,borderColor:a,...m,...g,...v};case"text":default:return{color:a,...g,...v}}}const W2=pe(E1,{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"&&{...Yp({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"&&{...Yp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Yp({variant:t,theme:e,color:r,loadingPosition:s})}}})),z2=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Kt();return f.jsx(W2,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function U2({color:e,theme:t,labelColor:n}){const r=Qt(t,e),{main:o,contrastText:s}=r,a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${S.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${S.tooltipClasses.arrow}`]:{color:o}}:{[`& .${S.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${S.tooltipClasses.arrow}`]:{color:a}}}const H2=pe(({className:e,...t})=>f.jsx(S.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&U2({color:t,theme:e,labelColor:n})}));function Qc({children:e,arrow:t,labelColor:n="",...r}){const o=Kt();return f.jsx(S.Box,{display:"flex",children:f.jsx(H2,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const hi=T.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 f.jsxs(S.Box,{ref:s,children:[n==="grow"&&f.jsx(S.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:f.jsx(S.Box,{sx:a,children:e})}),n==="collapse"&&f.jsx(S.Collapse,{...o,sx:a,children:e}),n==="fade"&&f.jsx(S.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:f.jsx(S.Box,{sx:a,children:e})}),n==="slide"&&f.jsx(S.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(S.Box,{sx:a,children:e})}),n==="zoom"&&f.jsx(S.Zoom,{...o,children:f.jsx(S.Box,{sx:a,children:e})})]})}),G2=T.forwardRef(function(t,n){return f.jsx(S.Zoom,{ref:n,timeout:200,...t})});function Y2({value:e,...t}){return f.jsxs(S.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(S.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(S.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(S.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}function K2({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return f.jsxs(S.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(S.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o?f.jsx(S.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(S.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}):null,f.jsx(S.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${S.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}function X2({icon:e,value:t,...n}){return f.jsxs(S.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(S.Box,{sx:{width:"100%",mr:1},children:f.jsx(S.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(S.Box,{sx:{minWidth:35},children:e})]})}function Z2({value:e,...t}){return f.jsxs(S.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(S.Box,{sx:{width:"100%",mr:1},children:f.jsx(S.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(S.Box,{sx:{minWidth:35},children:f.jsx(S.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}const I1=pe("span")(({arrow:e="top-right",theme:t})=>{const o=t.palette.mode==="dark"?"none":`solid 1px ${tt(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},c={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},u={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper,backgroundImage:"inherit",borderLeft:o,borderBottom:o},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...a,left:20},...e==="bottom-center"&&{...a,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...a,right:20},...e==="left-top"&&{...c,top:20},...e==="left-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...c,bottom:20},...e==="right-top"&&{...u,top:20},...e==="right-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...u,bottom:20}}});function O1(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}function P1({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=O1(n);return f.jsxs(S.Popover,{open:!!e,anchorEl:e,anchorOrigin:c,transformOrigin:u,keepMounted:!0,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...a,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(I1,{arrow:n}),t]})}const Q2={width:"100%",justifyContent:"flex-start"},J2=S.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),q2=S.styled(P1,{slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,"& .MuiButton-startIcon":{marginRight:e.spacing(0)},[e.breakpoints.down("sm")]:{"&>.MuiSvgIcon-root, & svg":{marginRight:e.spacing(0)}}}}));function Fo({horizontal:e=!1,children:t}){const[n,r]=T.useState(null),o=T.useRef(null);function s(u){u.stopPropagation(),u.preventDefault(),r(u.currentTarget),o.current=u.currentTarget}const a=T.useCallback(u=>{u.stopPropagation(),u.preventDefault(),r(null)},[]),c=T.useCallback(u=>{var d;r(null),typeof((d=u.currentTarget)==null?void 0:d.onClick)=="function"&&u.currentTarget.onClick(u)},[]);return!t||T.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(u=>T.isValidElement(u)).length)===0?null:f.jsxs(J2,{children:[f.jsx(S.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:s,color:n?"inherit":"default",children:e?f.jsx(Fn.MoreHoriz,{}):f.jsx(Fn.MoreVert,{})}),f.jsx(q2,{open:n,onClose:a,arrow:"right-top",children:T.Children.map(t,(u,d)=>T.isValidElement(u)&&f.jsx(S.MenuItem,{onClick:c,children:T.cloneElement(u,{style:{...Q2}})},d))})]})}function Jc(){const e=Nt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(S.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})}const j1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHVycdXVwFQTBHxBXFydFFynxvqTQIsYHl/dx3juH++4DhEaFqWZXFFA1y0jFY2I2tyr2vKIPo1QTCEjM1BPpxQw819c9fHy/i/As73t/rn4lbzLAJxJHmW5YxBvEs5uWznmfOMRKkkJ8TjxpUIPEj1yXXX7jXHRY4JkhI5OaJw4Ri8UOljuYlQyVeIY4rKga5QtZlxXOW5zVSo21+uQvDOa1lTTXqUYQxxISSEKEjBrKqMBChHaNFBMpOo95+Icdf5JcMrnKYORYQBUq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gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5A30f8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5wseCykesp/dTgAAIABJREF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iyhjoSd4/MqWnbRB83QK0yZBN0lONA1lDf4g5liZuoG6A6sdLbg6L+jKyBqJuoG6Bq5HwqEz0PBgKBYY4EkDW4ydsSdw/yBvCdoUzkPCguhwGyhiLFHcpIG3kDeCfn4Uz0jJwBWYOv8u7NfGwQLWIAblhpbSJnQNZQcYH32gS+QVxYg8ZlxJKyqDkDsoYql3fEJu8eom+o86h52IqciZoBWUOtC7wnE3EjcKh1MVtRc5RjAWQNCBygMoxkhBxFzICsAZwFbl1gs0SOxMHPaHnEFi0PiwtggKwBkDhUPFK2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";var Kp={};const $2=Jr(Q8);var M1;function bs(){return M1||(M1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=$2}(Kp)),Kp}var Va=function(){return Va=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},Va.apply(this,arguments)},k1=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},Xp=function(e){var t=e.alignIcon,n=t===void 0?"left":t,r=e.children,o=e.className,s=e.disabled,a=e.label,c=e.color,u=c===void 0?"primary":c,d=e.size,h=d===void 0?"small":d,g=e.to,m=k1(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=re.useTranslate(),b=a?v(a,{_:a}):void 0,x=nF(g),w=S.useMediaQuery(function(I){return I.breakpoints.down("sm")});return w?a&&!s?B.createElement(S.Tooltip,{title:b},B.createElement(S.IconButton,Va({"aria-label":b,className:o,color:u,size:"large"},x,m),r)):B.createElement(S.IconButton,Va({className:o,color:u,disabled:s,size:"large"},x,m),r):B.createElement(tF,Va({className:o,color:u,size:h,"aria-label":b,disabled:s,startIcon:n==="left"&&r?r:void 0,endIcon:n==="right"&&r?r:void 0},x,m),b)};Xp.propTypes={alignIcon:C.oneOf(["left","right"]),children:C.element,className:C.string,color:C.oneOfType([C.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),C.string]),disabled:C.bool,label:C.string,size:C.oneOf(["small","medium","large"])};var eF="RaButton",tF=pe(S.Button,{name:eF,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),nF=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=k1(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},Zp={},rF=Io;Object.defineProperty(Zp,"__esModule",{value:!0});var F1=Zp.default=void 0,oF=rF(bs()),iF=f;F1=Zp.default=(0,oF.default)((0,iF.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function L1(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=L1(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Wa(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=L1(e))&&(r&&(r+=" "),r+=t);return r}function sF(){this.__data__=[],this.size=0}var aF=sF;function lF(e,t){return e===t||e!==e&&t!==t}var za=lF,cF=za;function uF(e,t){for(var n=e.length;n--;)if(cF(e[n][0],t))return n;return-1}var qc=uF,dF=qc,fF=Array.prototype,pF=fF.splice;function hF(e){var t=this.__data__,n=dF(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():pF.call(t,n,1),--this.size,!0}var gF=hF,mF=qc;function vF(e){var t=this.__data__,n=mF(t,e);return n<0?void 0:t[n][1]}var yF=vF,bF=qc;function xF(e){return bF(this.__data__,e)>-1}var CF=xF,wF=qc;function SF(e,t){var n=this.__data__,r=wF(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var AF=SF,TF=aF,EF=gF,IF=yF,OF=CF,PF=AF;function xs(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])}}xs.prototype.clear=TF,xs.prototype.delete=EF,xs.prototype.get=IF,xs.prototype.has=OF,xs.prototype.set=PF;var $c=xs,jF=$c;function MF(){this.__data__=new jF,this.size=0}var kF=MF;function FF(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var LF=FF;function DF(e){return this.__data__.get(e)}var RF=DF;function _F(e){return this.__data__.has(e)}var BF=_F,NF=typeof yn=="object"&&yn&&yn.Object===Object&&yn,D1=NF,VF=D1,WF=typeof self=="object"&&self&&self.Object===Object&&self,zF=VF||WF||Function("return this")(),Nr=zF,UF=Nr,HF=UF.Symbol,eu=HF,R1=eu,_1=Object.prototype,GF=_1.hasOwnProperty,YF=_1.toString,Ua=R1?R1.toStringTag:void 0;function KF(e){var t=GF.call(e,Ua),n=e[Ua];try{e[Ua]=void 0;var r=!0}catch{}var o=YF.call(e);return r&&(t?e[Ua]=n:delete e[Ua]),o}var XF=KF,ZF=Object.prototype,QF=ZF.toString;function JF(e){return QF.call(e)}var qF=JF,B1=eu,$F=XF,eL=qF,tL="[object Null]",nL="[object Undefined]",N1=B1?B1.toStringTag:void 0;function rL(e){return e==null?e===void 0?nL:tL:N1&&N1 in Object(e)?$F(e):eL(e)}var Ha=rL;function oL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gi=oL,iL=Ha,sL=gi,aL="[object AsyncFunction]",lL="[object Function]",cL="[object GeneratorFunction]",uL="[object Proxy]";function dL(e){if(!sL(e))return!1;var t=iL(e);return t==lL||t==cL||t==aL||t==uL}var Qp=dL,fL=Nr,pL=fL["__core-js_shared__"],hL=pL,Jp=hL,V1=function(){var e=/[^.]+$/.exec(Jp&&Jp.keys&&Jp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gL(e){return!!V1&&V1 in e}var mL=gL,vL=Function.prototype,yL=vL.toString;function bL(e){if(e!=null){try{return yL.call(e)}catch{}try{return e+""}catch{}}return""}var W1=bL,xL=Qp,CL=mL,wL=gi,SL=W1,AL=/[\\^$.*+?()[\]{}|]/g,TL=/^\[object .+?Constructor\]$/,EL=Function.prototype,IL=Object.prototype,OL=EL.toString,PL=IL.hasOwnProperty,jL=RegExp("^"+OL.call(PL).replace(AL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ML(e){if(!wL(e)||CL(e))return!1;var t=xL(e)?jL:TL;return t.test(SL(e))}var kL=ML;function FL(e,t){return e==null?void 0:e[t]}var LL=FL,DL=kL,RL=LL;function _L(e,t){var n=RL(e,t);return DL(n)?n:void 0}var mi=_L,BL=mi,NL=Nr,VL=BL(NL,"Map"),qp=VL,WL=mi,zL=WL(Object,"create"),tu=zL,z1=tu;function UL(){this.__data__=z1?z1(null):{},this.size=0}var HL=UL;function GL(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var YL=GL,KL=tu,XL="__lodash_hash_undefined__",ZL=Object.prototype,QL=ZL.hasOwnProperty;function JL(e){var t=this.__data__;if(KL){var n=t[e];return n===XL?void 0:n}return QL.call(t,e)?t[e]:void 0}var qL=JL,$L=tu,eD=Object.prototype,tD=eD.hasOwnProperty;function nD(e){var t=this.__data__;return $L?t[e]!==void 0:tD.call(t,e)}var rD=nD,oD=tu,iD="__lodash_hash_undefined__";function sD(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=oD&&t===void 0?iD:t,this}var aD=sD,lD=HL,cD=YL,uD=qL,dD=rD,fD=aD;function Cs(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])}}Cs.prototype.clear=lD,Cs.prototype.delete=cD,Cs.prototype.get=uD,Cs.prototype.has=dD,Cs.prototype.set=fD;var pD=Cs,U1=pD,hD=$c,gD=qp;function mD(){this.size=0,this.__data__={hash:new U1,map:new(gD||hD),string:new U1}}var vD=mD;function yD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var bD=yD,xD=bD;function CD(e,t){var n=e.__data__;return xD(t)?n[typeof t=="string"?"string":"hash"]:n.map}var nu=CD,wD=nu;function SD(e){var t=wD(this,e).delete(e);return this.size-=t?1:0,t}var AD=SD,TD=nu;function ED(e){return TD(this,e).get(e)}var ID=ED,OD=nu;function PD(e){return OD(this,e).has(e)}var jD=PD,MD=nu;function kD(e,t){var n=MD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var FD=kD,LD=vD,DD=AD,RD=ID,_D=jD,BD=FD;function ws(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])}}ws.prototype.clear=LD,ws.prototype.delete=DD,ws.prototype.get=RD,ws.prototype.has=_D,ws.prototype.set=BD;var H1=ws,ND=$c,VD=qp,WD=H1,zD=200;function UD(e,t){var n=this.__data__;if(n instanceof ND){var r=n.__data__;if(!VD||r.length<zD-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new WD(r)}return n.set(e,t),this.size=n.size,this}var HD=UD,GD=$c,YD=kF,KD=LF,XD=RF,ZD=BF,QD=HD;function Ss(e){var t=this.__data__=new GD(e);this.size=t.size}Ss.prototype.clear=YD,Ss.prototype.delete=KD,Ss.prototype.get=XD,Ss.prototype.has=ZD,Ss.prototype.set=QD;var G1=Ss,JD="__lodash_hash_undefined__";function qD(e){return this.__data__.set(e,JD),this}var $D=qD;function eR(e){return this.__data__.has(e)}var tR=eR,nR=H1,rR=$D,oR=tR;function ru(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new nR;++t<n;)this.add(e[t])}ru.prototype.add=ru.prototype.push=rR,ru.prototype.has=oR;var $p=ru;function iR(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var sR=iR;function aR(e,t){return e.has(t)}var eh=aR,lR=$p,cR=sR,uR=eh,dR=1,fR=2;function pR(e,t,n,r,o,s){var a=n&dR,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var g=-1,m=!0,v=n&fR?new lR:void 0;for(s.set(e,t),s.set(t,e);++g<c;){var b=e[g],x=t[g];if(r)var w=a?r(x,b,g,t,e,s):r(b,x,g,e,t,s);if(w!==void 0){if(w)continue;m=!1;break}if(v){if(!cR(t,function(I,F){if(!uR(v,F)&&(b===I||o(b,I,n,r,s)))return v.push(F)})){m=!1;break}}else if(!(b===x||o(b,x,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Y1=pR,hR=Nr,gR=hR.Uint8Array,K1=gR;function mR(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var vR=mR;function yR(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var th=yR,X1=eu,Z1=K1,bR=za,xR=Y1,CR=vR,wR=th,SR=1,AR=2,TR="[object Boolean]",ER="[object Date]",IR="[object Error]",OR="[object Map]",PR="[object Number]",jR="[object RegExp]",MR="[object Set]",kR="[object String]",FR="[object Symbol]",LR="[object ArrayBuffer]",DR="[object DataView]",Q1=X1?X1.prototype:void 0,nh=Q1?Q1.valueOf:void 0;function RR(e,t,n,r,o,s,a){switch(n){case DR:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case LR:return!(e.byteLength!=t.byteLength||!s(new Z1(e),new Z1(t)));case TR:case ER:case PR:return bR(+e,+t);case IR:return e.name==t.name&&e.message==t.message;case jR:case kR:return e==t+"";case OR:var c=CR;case MR:var u=r&SR;if(c||(c=wR),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=AR,a.set(e,t);var h=xR(c(e),c(t),r,o,s,a);return a.delete(e),h;case FR:if(nh)return nh.call(e)==nh.call(t)}return!1}var _R=RR;function BR(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var J1=BR,NR=Array.isArray,Ga=NR,VR=J1,WR=Ga;function zR(e,t,n){var r=t(e);return WR(e)?r:VR(r,n(e))}var UR=zR;function HR(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var a=e[n];t(a,n,e)&&(s[o++]=a)}return s}var GR=HR;function YR(){return[]}var KR=YR,XR=GR,ZR=KR,QR=Object.prototype,JR=QR.propertyIsEnumerable,q1=Object.getOwnPropertySymbols,qR=q1?function(e){return e==null?[]:(e=Object(e),XR(q1(e),function(t){return JR.call(e,t)}))}:ZR,$R=qR;function e_(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var t_=e_;function n_(e){return e!=null&&typeof e=="object"}var As=n_,r_=Ha,o_=As,i_="[object Arguments]";function s_(e){return o_(e)&&r_(e)==i_}var a_=s_,$1=a_,l_=As,eC=Object.prototype,c_=eC.hasOwnProperty,u_=eC.propertyIsEnumerable,d_=$1(function(){return arguments}())?$1:function(e){return l_(e)&&c_.call(e,"callee")&&!u_.call(e,"callee")},rh=d_,ou={exports:{}};function f_(){return!1}var p_=f_;ou.exports,function(e,t){var n=Nr,r=p_,o=t&&!t.nodeType&&t,s=o&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===o,c=a?n.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||r;e.exports=d}(ou,ou.exports);var oh=ou.exports,h_=9007199254740991,g_=/^(?:0|[1-9]\d*)$/;function m_(e,t){var n=typeof e;return t=t??h_,!!t&&(n=="number"||n!="symbol"&&g_.test(e))&&e>-1&&e%1==0&&e<t}var tC=m_,v_=9007199254740991;function y_(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=v_}var nC=y_,b_=Ha,x_=nC,C_=As,w_="[object Arguments]",S_="[object Array]",A_="[object Boolean]",T_="[object Date]",E_="[object Error]",I_="[object Function]",O_="[object Map]",P_="[object Number]",j_="[object Object]",M_="[object RegExp]",k_="[object Set]",F_="[object String]",L_="[object WeakMap]",D_="[object ArrayBuffer]",R_="[object DataView]",__="[object Float32Array]",B_="[object Float64Array]",N_="[object Int8Array]",V_="[object Int16Array]",W_="[object Int32Array]",z_="[object Uint8Array]",U_="[object Uint8ClampedArray]",H_="[object Uint16Array]",G_="[object Uint32Array]",vt={};vt[__]=vt[B_]=vt[N_]=vt[V_]=vt[W_]=vt[z_]=vt[U_]=vt[H_]=vt[G_]=!0,vt[w_]=vt[S_]=vt[D_]=vt[A_]=vt[R_]=vt[T_]=vt[E_]=vt[I_]=vt[O_]=vt[P_]=vt[j_]=vt[M_]=vt[k_]=vt[F_]=vt[L_]=!1;function Y_(e){return C_(e)&&x_(e.length)&&!!vt[b_(e)]}var K_=Y_;function X_(e){return function(t){return e(t)}}var rC=X_,iu={exports:{}};iu.exports,function(e,t){var n=D1,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s&&n.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c}(iu,iu.exports);var Z_=iu.exports,Q_=K_,J_=rC,oC=Z_,iC=oC&&oC.isTypedArray,q_=iC?J_(iC):Q_,ih=q_,$_=t_,e7=rh,t7=Ga,n7=oh,r7=tC,o7=ih,i7=Object.prototype,s7=i7.hasOwnProperty;function a7(e,t){var n=t7(e),r=!n&&e7(e),o=!n&&!r&&n7(e),s=!n&&!r&&!o&&o7(e),a=n||r||o||s,c=a?$_(e.length,String):[],u=c.length;for(var d in e)(t||s7.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||r7(d,u)))&&c.push(d);return c}var sC=a7,l7=Object.prototype;function c7(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||l7;return e===n}var sh=c7;function u7(e,t){return function(n){return e(t(n))}}var aC=u7,d7=aC,f7=d7(Object.keys,Object),p7=f7,h7=sh,g7=p7,m7=Object.prototype,v7=m7.hasOwnProperty;function y7(e){if(!h7(e))return g7(e);var t=[];for(var n in Object(e))v7.call(e,n)&&n!="constructor"&&t.push(n);return t}var b7=y7,x7=Qp,C7=nC;function w7(e){return e!=null&&C7(e.length)&&!x7(e)}var su=w7,S7=sC,A7=b7,T7=su;function E7(e){return T7(e)?S7(e):A7(e)}var I7=E7,O7=UR,P7=$R,j7=I7;function M7(e){return O7(e,j7,P7)}var k7=M7,lC=k7,F7=1,L7=Object.prototype,D7=L7.hasOwnProperty;function R7(e,t,n,r,o,s){var a=n&F7,c=lC(e),u=c.length,d=lC(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:D7.call(t,m)))return!1}var v=s.get(e),b=s.get(t);if(v&&b)return v==t&&b==e;var x=!0;s.set(e,t),s.set(t,e);for(var w=a;++g<u;){m=c[g];var I=e[m],F=t[m];if(r)var E=a?r(F,I,m,t,e,s):r(I,F,m,e,t,s);if(!(E===void 0?I===F||o(I,F,n,r,s):E)){x=!1;break}w||(w=m=="constructor")}if(x&&!w){var k=e.constructor,P=t.constructor;k!=P&&"constructor"in e&&"constructor"in t&&!(typeof k=="function"&&k instanceof k&&typeof P=="function"&&P instanceof P)&&(x=!1)}return s.delete(e),s.delete(t),x}var _7=R7,B7=mi,N7=Nr,V7=B7(N7,"DataView"),W7=V7,z7=mi,U7=Nr,H7=z7(U7,"Promise"),G7=H7,Y7=mi,K7=Nr,X7=Y7(K7,"Set"),cC=X7,Z7=mi,Q7=Nr,J7=Z7(Q7,"WeakMap"),q7=J7,ah=W7,lh=qp,ch=G7,uh=cC,dh=q7,uC=Ha,Ts=W1,dC="[object Map]",$7="[object Object]",fC="[object Promise]",pC="[object Set]",hC="[object WeakMap]",gC="[object DataView]",eB=Ts(ah),tB=Ts(lh),nB=Ts(ch),rB=Ts(uh),oB=Ts(dh),vi=uC;(ah&&vi(new ah(new ArrayBuffer(1)))!=gC||lh&&vi(new lh)!=dC||ch&&vi(ch.resolve())!=fC||uh&&vi(new uh)!=pC||dh&&vi(new dh)!=hC)&&(vi=function(e){var t=uC(e),n=t==$7?e.constructor:void 0,r=n?Ts(n):"";if(r)switch(r){case eB:return gC;case tB:return dC;case nB:return fC;case rB:return pC;case oB:return hC}return t});var iB=vi,fh=G1,sB=Y1,aB=_R,lB=_7,mC=iB,vC=Ga,yC=oh,cB=ih,uB=1,bC="[object Arguments]",xC="[object Array]",au="[object Object]",dB=Object.prototype,CC=dB.hasOwnProperty;function fB(e,t,n,r,o,s){var a=vC(e),c=vC(t),u=a?xC:mC(e),d=c?xC:mC(t);u=u==bC?au:u,d=d==bC?au:d;var h=u==au,g=d==au,m=u==d;if(m&&yC(e)){if(!yC(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new fh),a||cB(e)?sB(e,t,n,r,o,s):aB(e,t,u,n,r,o,s);if(!(n&uB)){var v=h&&CC.call(e,"__wrapped__"),b=g&&CC.call(t,"__wrapped__");if(v||b){var x=v?e.value():e,w=b?t.value():t;return s||(s=new fh),o(x,w,n,r,s)}}return m?(s||(s=new fh),lB(e,t,n,r,o,s)):!1}var pB=fB,hB=pB,wC=As;function SC(e,t,n,r,o){return e===t?!0:e==null||t==null||!wC(e)&&!wC(t)?e!==e&&t!==t:hB(e,t,n,r,SC,o)}var gB=SC,mB=gB;function vB(e,t){return mB(e,t)}var yB=vB;const AC=Qr(yB);var bB=mi,xB=function(){try{var e=bB(Object,"defineProperty");return e({},"",{}),e}catch{}}(),TC=xB,EC=TC;function CB(e,t,n){t=="__proto__"&&EC?EC(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var ph=CB,wB=ph,SB=za;function AB(e,t,n){(n!==void 0&&!SB(e[t],n)||n===void 0&&!(t in e))&&wB(e,t,n)}var IC=AB;function TB(e){return function(t,n,r){for(var o=-1,s=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(n(s[u],u,s)===!1)break}return t}}var EB=TB,IB=EB,OB=IB(),PB=OB,lu={exports:{}};lu.exports,function(e,t){var n=Nr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;function u(d,h){if(h)return d.slice();var g=d.length,m=c?c(g):new d.constructor(g);return d.copy(m),m}e.exports=u}(lu,lu.exports);var jB=lu.exports,OC=K1;function MB(e){var t=new e.constructor(e.byteLength);return new OC(t).set(new OC(e)),t}var kB=MB,FB=kB;function LB(e,t){var n=t?FB(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var DB=LB;function RB(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var _B=RB,BB=gi,PC=Object.create,NB=function(){function e(){}return function(t){if(!BB(t))return{};if(PC)return PC(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),VB=NB,WB=aC,zB=WB(Object.getPrototypeOf,Object),jC=zB,UB=VB,HB=jC,GB=sh;function YB(e){return typeof e.constructor=="function"&&!GB(e)?UB(HB(e)):{}}var KB=YB,XB=su,ZB=As;function QB(e){return ZB(e)&&XB(e)}var hh=QB,JB=Ha,qB=jC,$B=As,eN="[object Object]",tN=Function.prototype,nN=Object.prototype,MC=tN.toString,rN=nN.hasOwnProperty,oN=MC.call(Object);function iN(e){if(!$B(e)||JB(e)!=eN)return!1;var t=qB(e);if(t===null)return!0;var n=rN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&MC.call(n)==oN}var sN=iN;function aN(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var kC=aN,lN=ph,cN=za,uN=Object.prototype,dN=uN.hasOwnProperty;function fN(e,t,n){var r=e[t];(!(dN.call(e,t)&&cN(r,n))||n===void 0&&!(t in e))&&lN(e,t,n)}var pN=fN,hN=pN,gN=ph;function mN(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),o?gN(n,c,u):hN(n,c,u)}return n}var vN=mN;function yN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var bN=yN,xN=gi,CN=sh,wN=bN,SN=Object.prototype,AN=SN.hasOwnProperty;function TN(e){if(!xN(e))return wN(e);var t=CN(e),n=[];for(var r in e)r=="constructor"&&(t||!AN.call(e,r))||n.push(r);return n}var EN=TN,IN=sC,ON=EN,PN=su;function jN(e){return PN(e)?IN(e,!0):ON(e)}var FC=jN,MN=vN,kN=FC;function FN(e){return MN(e,kN(e))}var LN=FN,LC=IC,DN=jB,RN=DB,_N=_B,BN=KB,DC=rh,RC=Ga,NN=hh,VN=oh,WN=Qp,zN=gi,UN=sN,HN=ih,_C=kC,GN=LN;function YN(e,t,n,r,o,s,a){var c=_C(e,n),u=_C(t,n),d=a.get(u);if(d){LC(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=RC(u),v=!m&&VN(u),b=!m&&!v&&HN(u);h=u,m||v||b?RC(c)?h=c:NN(c)?h=_N(c):v?(g=!1,h=DN(u,!0)):b?(g=!1,h=RN(u,!0)):h=[]:UN(u)||DC(u)?(h=c,DC(c)?h=GN(c):(!zN(c)||WN(c))&&(h=BN(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),LC(e,n,h)}var KN=YN,XN=G1,ZN=IC,QN=PB,JN=KN,qN=gi,$N=FC,eV=kC;function BC(e,t,n,r,o){e!==t&&QN(t,function(s,a){if(o||(o=new XN),qN(s))JN(e,t,a,n,BC,r,o);else{var c=r?r(eV(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),ZN(e,a,c)}},$N)}var tV=BC;function nV(e){return e}var NC=nV;function rV(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 oV=rV,iV=oV,VC=Math.max;function sV(e,t,n){return t=VC(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=VC(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),iV(e,this,c)}}var aV=sV;function lV(e){return function(){return e}}var cV=lV,uV=cV,WC=TC,dV=NC,fV=WC?function(e,t){return WC(e,"toString",{configurable:!0,enumerable:!1,value:uV(t),writable:!0})}:dV,pV=fV,hV=800,gV=16,mV=Date.now;function vV(e){var t=0,n=0;return function(){var r=mV(),o=gV-(r-n);if(n=r,o>0){if(++t>=hV)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var yV=vV,bV=pV,xV=yV,CV=xV(bV),wV=CV,SV=NC,AV=aV,TV=wV;function EV(e,t){return TV(AV(e,t,SV),e+"")}var gh=EV,IV=za,OV=su,PV=tC,jV=gi;function MV(e,t,n){if(!jV(n))return!1;var r=typeof t;return(r=="number"?OV(n)&&PV(t,n.length):r=="string"&&t in n)?IV(n[t],e):!1}var kV=MV,FV=gh,LV=kV;function DV(e){return FV(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,a&&LV(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,s)}return t})}var RV=DV,_V=tV,BV=RV,NV=BV(function(e,t,n){_V(e,t,n)}),VV=NV;const WV=Qr(VV);var cu=function(){return cu=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},cu.apply(this,arguments)},zC=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},UC=function(e){var t=e.className,n=e.icon,r=n===void 0?UV:n,o=e.label,s=o===void 0?"ra.action.create":o;e.resource;var a=e.scrollToTop,c=a===void 0?!0:a,u=e.variant,d=e.to,h=e.state,g=h===void 0?{}:h,m=zC(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=re.useResourceContext(e),b=re.useCreatePath(),x=re.useTranslate(),w=S.useMediaQuery(function(E){return E.breakpoints.down("md")}),I=WV({},zV.get(String(c)),g),F=KV(d);return w?B.createElement(HV,cu({component:ut.Link,to:b({resource:v,type:"create"}),state:I,color:"primary",className:Wa(mh.floating,t),"aria-label":s&&x(s)},m,F),r):B.createElement(GV,cu({component:ut.Link,to:b({resource:v,type:"create"}),state:I,className:Wa(mh.root,t),label:s,variant:u},m,F),r)},zV=new Map([["true",{_scrollToTop:!0}],["false",{}]]),UV=B.createElement(F1,null);UC.propTypes={resource:C.string,className:C.string,icon:C.element,label:C.string};var uu="RaCreateButton",mh={root:"".concat(uu,"-root"),floating:"".concat(uu,"-floating")},HV=pe(S.Fab,{name:uu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(mh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),GV=pe(Xp,{name:uu,overridesResolver:function(e,t){return t.root}})({});const YV=B.memo(UC,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&AC(e.to,t.to)&&AC(e.state,t.state)});var KV=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=zC(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},vh=function(){return vh=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},vh.apply(this,arguments)},XV=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},du,yh,HC=function(e){var t=e.className,n=e.onClick,r=e.sx,o=XV(e,["className","onClick","sx"]),s=re.useLoading(),a=Kt();return B.createElement(ZV,{className:t,sx:r},B.createElement(lw,{className:"".concat(Es.loadedIcon," ").concat(s&&Es.loadedLoading),onClick:n}),s&&B.createElement(Zc,vh({className:Wa("app-loader",Es.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};HC.propTypes={classes:C.object,className:C.string,width:C.string};var fu="RaLoadingIndicator",Es={loader:"".concat(fu,"-loader"),loadedLoading:"".concat(fu,"-loadedLoading"),loadedIcon:"".concat(fu,"-loadedIcon")},ZV=pe("div",{name:fu,overridesResolver:function(e,t){return t.root}})((du={position:"relative"},du["& .".concat(Es.loadedIcon)]=(yh={},yh["&.".concat(Es.loadedLoading)]={opacity:0},yh),du["& .".concat(Es.loader)]={position:"absolute",top:"30%",left:"30%"},du));const QV=e=>e.scrollTop;function GC(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}}function JV(e){return typeof e=="function"?e():e}const pu=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=xn(B.isValidElement(r)?r.ref:null,n);if(Rr(()=>{s||c(JV(o)||document.body)},[o,s]),Rr(()=>{if(a&&!s)return ls(n,a),()=>{ls(n,null)}},[n,a,s]),s){if(B.isValidElement(r)){const d={ref:u};return B.cloneElement(r,d)}return f.jsx(B.Fragment,{children:r})}return f.jsx(B.Fragment,{children:a&&O0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(pu.propTypes={children:C.node,container:C.oneOfType([jo,C.func]),disablePortal:C.bool}),process.env.NODE_ENV!=="production"&&(pu.propTypes=Ic(pu.propTypes));var bh={},qV=Io;Object.defineProperty(bh,"__esModule",{value:!0});var YC=bh.default=void 0,$V=qV(bs()),eW=f;YC=bh.default=(0,$V.default)((0,eW.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 tW=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=re.usePreferencesEditor(),d=!!u,h=re.useTranslate(),g=u||{},m=g.isEnabled,v=g.setEditor,b=g.preferenceKey,x=g.setPreferenceKey,w=c===b,I=T.useRef(w),F=T.useRef(null),E=T.useState(!1),k=E[0],P=E[1];if(T.useEffect(function(){I.current=w},[w]),T.useEffect(function(){return function(){I.current&&(x&&x(null),v&&v(null))}},[v,x]),!d)return t;var L=function(){v(T.cloneElement(n,{preferenceKey:c,key:c})),x(c)},D=function(){P(!0)},Y=function(){P(!1)};return B.createElement(re.PreferenceKeyContextProvider,{value:c},B.createElement(nW,{className:Wa(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:F,onMouseEnter:m?D:void 0,onMouseLeave:m?Y:void 0},t),B.createElement(S.Popover,{open:m&&(k||w),sx:{pointerEvents:"none","& .MuiPaper-root":{pointerEvents:"auto",borderRadius:10,padding:"2px",lineHeight:0,backgroundColor:"warning.light",color:"warning.contrastText","&:hover":{cursor:"pointer"}}},anchorEl:F.current,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"center"},onClose:Y,PaperProps:{elevation:1,onMouseEnter:D,onMouseLeave:Y,title:h(s),onClick:L},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},B.createElement(YC,{fontSize:"12px"})))},hu="RaConfigurable",ro={root:"".concat(hu,"-root"),editMode:"".concat(hu,"-editMode"),editorActive:"".concat(hu,"-editorActive")},nW=pe("span",{name:hu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative",display:"inline-block"},t["&.".concat(ro.editMode)]={transition:n.transitions.create("outline"),outline:"".concat(S.alpha(n.palette.warning.main,.3)," solid 2px")},t["&.".concat(ro.editMode,":hover ")]={outline:"".concat(S.alpha(n.palette.warning.main,.5)," solid 2px")},t["&.".concat(ro.editMode,".").concat(ro.editorActive," , &.").concat(ro.editMode,".").concat(ro.editorActive,":hover ")]={outline:"".concat(n.palette.warning.main," solid 2px")},t}),yi=function(){return yi=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},yi.apply(this,arguments)},rW=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},oW=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=rW(e,["title","defaultTitle","className"]),s=re.usePreference()[0],a=re.useTranslate(),c=re.useRecordContext();return s?B.createElement("span",yi({className:r},o),a(s,yi(yi({},c),{_:s}))):B.createElement("span",{className:r},t?typeof t=="string"?B.createElement("span",yi({},o),a(t,{_:t})):t:B.createElement("span",yi({},o),n))},gu=function(){return gu=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},gu.apply(this,arguments)},iW=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},sW=function(){var e=re.usePreferenceInput();return B.createElement("form",null,B.createElement(S.TextField,gu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},aW=function(e){var t=e.preferenceKey,n=iW(e,["preferenceKey"]),r=ut.useLocation().pathname;return B.createElement(tW,{editor:B.createElement(sW,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},B.createElement(oW,gu({},n)))},xh=function(){return xh=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},xh.apply(this,arguments)},lW=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},KC=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=lW(e,["defaultTitle","title","preferenceKey"]),s=T.useState(function(){return typeof document<"u"?document.getElementById("react-admin-title"):null}),a=s[0],c=s[1];return T.useEffect(function(){c(function(u){var d=typeof document<"u"&&document.body.contains(u);return u&&d?u:typeof document<"u"?document.getElementById("react-admin-title"):null})},[]),a?(re.warning(!t&&!n,"Missing title prop in <Title> element"),Hi.createPortal(B.createElement(aW,xh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},cW=C.oneOfType([C.string,C.element]);KC.propTypes={defaultTitle:C.string,className:C.string,record:C.any,title:cW};var uW=function(e){var t=ei.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},dW=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])})},XC={error:null},fW=function(e){jp(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=XC,r.resetErrorBoundary=function(){for(var c,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];r.props.onReset==null||(c=r.props).onReset.apply(c,d),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(XC)},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&&dW(o.resetKeys,c)){var u,d;(u=(d=this.props).onResetKeysChange)==null||u.call(d,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 d={error:o,resetErrorBoundary:this.resetErrorBoundary};if(B.isValidElement(u))return u;if(typeof a=="function")return a(d);if(c)return B.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(B.Component);function pW(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 hW=pW,Ch=function(){return Ch=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},Ch.apply(this,arguments)},gW=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},ZC=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=gW(e,["className","loadingPrimary","loadingSecondary"]),c=re.useTimeout(1e3),u=re.useTranslate();return c?B.createElement(mW,Ch({className:t},a),B.createElement("div",{className:vu.message},B.createElement(Zc,{className:vu.icon}),B.createElement(S.Typography,{variant:"h5",mt:3,color:"text.secondary"},u(r,{_:r})),B.createElement(S.Typography,{variant:"body2"},u(s,{_:s})))):null};ZC.propTypes={className:C.string,loadingPrimary:C.string,loadingSecondary:C.string};var mu="RaLoading",vu={root:"".concat(mu,"-root"),icon:"".concat(mu,"-icon"),message:"".concat(mu,"-message")},mW=pe("div",{name:mu,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(vu.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(vu.icon)]={width:"9em",height:"9em"},t}),wh={},vW=Io;Object.defineProperty(wh,"__esModule",{value:!0});var QC=wh.default=void 0,yW=vW(bs()),bW=f;QC=wh.default=(0,yW.default)((0,bW.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create");var Sh=function(){return Sh=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},Sh.apply(this,arguments)},xW=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},JC=function(e){var t=e.icon,n=t===void 0?wW:t,r=e.label,o=r===void 0?"ra.action.edit":r,s=e.scrollToTop,a=s===void 0?!0:s,c=e.className,u=xW(e,["icon","label","scrollToTop","className"]),d=re.useResourceContext(e),h=re.useRecordContext(e),g=re.useCreatePath();return h?B.createElement(TW,Sh({component:ut.Link,to:g({type:"edit",resource:d,id:h.id}),state:CW[String(a)],label:o,onClick:SW,className:Wa(AW.root,c)},u),n):null},CW={true:{_scrollToTop:!0},false:{}},wW=B.createElement(QC,null),SW=function(e){return e.stopPropagation()};JC.propTypes={icon:C.element,label:C.string,record:C.any,scrollToTop:C.bool};var qC="RaEditButton",AW={root:"".concat(qC,"-root")},TW=pe(Xp,{name:qC,overridesResolver:function(e,t){return t.root}})({}),Ah={},EW=Io;Object.defineProperty(Ah,"__esModule",{value:!0});var $C=Ah.default=void 0,IW=EW(bs()),OW=f;$C=Ah.default=(0,IW.default)((0,OW.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 PW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Th(e){return`scale(${e}, ${e**2})`}const jW={entering:{opacity:1,transform:Th(1)},entered:{opacity:1,transform:"none"}},Eh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),yu=B.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:a,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:g,onExited:m,onExiting:v,style:b,timeout:x="auto",TransitionComponent:w=eo}=t,I=Ge(t,PW),F=ds(),E=B.useRef(),k=Kt(),P=B.useRef(null),L=xn(P,s.ref,n),D=J=>z=>{if(J){const Q=P.current;z===void 0?J(Q):J(Q,z)}},Y=D(h),Z=D((J,z)=>{QV(J);const{duration:Q,delay:N,easing:ne}=GC({style:b,timeout:x,easing:a},{mode:"enter"});let W;x==="auto"?(W=k.transitions.getAutoHeightDuration(J.clientHeight),E.current=W):W=Q,J.style.transition=[k.transitions.create("opacity",{duration:W,delay:N}),k.transitions.create("transform",{duration:Eh?W:W*.666,delay:N,easing:ne})].join(","),u&&u(J,z)}),ee=D(d),G=D(v),le=D(J=>{const{duration:z,delay:Q,easing:N}=GC({style:b,timeout:x,easing:a},{mode:"exit"});let ne;x==="auto"?(ne=k.transitions.getAutoHeightDuration(J.clientHeight),E.current=ne):ne=z,J.style.transition=[k.transitions.create("opacity",{duration:ne,delay:Q}),k.transitions.create("transform",{duration:Eh?ne:ne*.666,delay:Eh?Q:Q||ne*.333,easing:N})].join(","),J.style.opacity=0,J.style.transform=Th(.75),g&&g(J)}),ae=D(m),q=J=>{x==="auto"&&F.start(E.current||0,J),r&&r(P.current,J)};return f.jsx(w,X({appear:o,in:c,nodeRef:P,onEnter:Z,onEntered:ee,onEntering:Y,onExit:le,onExited:ae,onExiting:G,addEndListener:q,timeout:x==="auto"?null:x},I,{children:(J,z)=>B.cloneElement(s,X({style:X({opacity:0,transform:Th(.75),visibility:J==="exited"&&!c?"hidden":void 0},jW[J],b,s.props.style),ref:L},z))}))});process.env.NODE_ENV!=="production"&&(yu.propTypes={addEndListener:C.func,appear:C.bool,children:yp.isRequired,easing:C.oneOfType([C.shape({enter:C.string,exit:C.string}),C.string]),in:C.bool,onEnter:C.func,onEntered:C.func,onEntering:C.func,onExit:C.func,onExited:C.func,onExiting:C.func,style:C.object,timeout:C.oneOfType([C.oneOf(["auto"]),C.number,C.shape({appear:C.number,enter:C.number,exit:C.number})])}),yu.muiSupportAuto=!0;const ew="base";function MW(e){return`${ew}--${e}`}function kW(e,t){return`${ew}-${e}-${t}`}function tw(e,t){const n=Vb[t];return n?MW(n):kW(e,t)}function FW(e,t){const n={};return t.forEach(r=>{n[r]=tw(e,r)}),n}const nw="Popper";function LW(e){return tw(nw,e)}FW(nw,["root"]);const DW=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],RW=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function _W(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 bu(e){return typeof e=="function"?e():e}function xu(e){return e.nodeType!==void 0}function BW(e){return!xu(e)}const NW=()=>$n({root:["root"]},ek(LW)),VW={},WW=B.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:x}=t,w=Ge(t,DW),I=B.useRef(null),F=xn(I,n),E=B.useRef(null),k=xn(E,m),P=B.useRef(k);Rr(()=>{P.current=k},[k]),B.useImperativeHandle(m,()=>E.current,[]);const L=_W(h,a),[D,Y]=B.useState(L),[Z,ee]=B.useState(bu(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&ee(bu(o))},[o]),Rr(()=>{if(!Z||!d)return;const J=N=>{Y(N.placement)};if(process.env.NODE_ENV!=="production"&&Z&&xu(Z)&&Z.nodeType===1){const N=Z.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.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(`
|
|
181
|
-
`))}let z=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{J(N)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const Q=m1(
|
|
182
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||
|
|
183
|
-
`))}return null}),children:
|
|
184
|
-
`))},[Ie,yt,Ve])}const Ut=bp(W),Be=B.useRef(),Pe=li(()=>{Be.current!==void 0&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),
|
|
180
|
+
`),LL)),Zc=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiCircularProgress"}),{className:o,color:s="primary",disableShrink:a=!1,size:c=40,style:u,thickness:d=3.6,value:h=0,variant:g="indeterminate"}=r,m=Ge(r,ML),v=Z({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),b=FL(v),C={},w={},I={};if(g==="determinate"){const L=2*Math.PI*((ko-d)/2);C.strokeDasharray=L.toFixed(3),I["aria-valuenow"]=Math.round(h),C.strokeDashoffset=`${((100-h)/100*L).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(DL,Z({className:lt(b.root,o),style:Z({width:c,height:c},w,u),ownerState:v,ref:n,role:"progressbar"},I,m,{children:f.jsx(_L,{className:b.svg,ownerState:v,viewBox:`${ko/2} ${ko/2} ${ko} ${ko}`,children:f.jsx(RL,{className:b.circle,style:C,ownerState:v,cx:ko,cy:ko,r:(ko-d)/2,fill:"none",strokeWidth:d})})}))});process.env.NODE_ENV!=="production"&&(Zc.propTypes={classes:x.object,className:x.string,color:x.oneOfType([x.oneOf(["inherit","primary","secondary","error","info","success","warning"]),x.string]),disableShrink:Po(x.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:x.oneOfType([x.number,x.string]),style:x.object,sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),thickness:x.number,value:x.number,variant:x.oneOf(["determinate","indeterminate"])});function BL(e){return Rn("MuiLoadingButton",e)}const no=ir("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),NL=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],VL=e=>{const{loading:t,loadingPosition:n,classes:r}=e,o={root:["root",t&&"loading"],startIcon:[t&&`startIconLoading${He(n)}`],endIcon:[t&&`endIconLoading${He(n)}`],loadingIndicator:["loadingIndicator",t&&`loadingIndicator${He(n)}`]},s=$n(o,BL,r);return Z({},r,s)},WL=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",zL=pe(C1,{shouldForwardProp:e=>WL(e)||e==="classes",name:"MuiLoadingButton",slot:"Root",overridesResolver:(e,t)=>[t.root,t.startIconLoadingStart&&{[`& .${no.startIconLoadingStart}`]:t.startIconLoadingStart},t.endIconLoadingEnd&&{[`& .${no.endIconLoadingEnd}`]:t.endIconLoadingEnd}]})(({ownerState:e,theme:t})=>Z({[`& .${no.startIconLoadingStart}, & .${no.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}),[`&.${no.loading}`]:{color:"transparent"}},e.loadingPosition==="start"&&e.fullWidth&&{[`& .${no.startIconLoadingStart}, & .${no.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginRight:-8}},e.loadingPosition==="end"&&e.fullWidth&&{[`& .${no.startIconLoadingStart}, & .${no.endIconLoadingEnd}`]:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0,marginLeft:-8}})),UL=pe("span",{name:"MuiLoadingButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.loadingIndicator,t[`loadingIndicator${He(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})),E1=B.forwardRef(function(t,n){const r=rr({props:t,name:"MuiLoadingButton"}),{children:o,disabled:s=!1,id:a,loading:c=!1,loadingIndicator:u,loadingPosition:d="center",variant:h="text"}=r,g=Ge(r,NL),m=bp(a),v=u??f.jsx(Zc,{"aria-labelledby":m,color:"inherit",size:16}),b=Z({},r,{disabled:s,loading:c,loadingIndicator:v,loadingPosition:d,variant:h}),C=VL(b),w=c?f.jsx(UL,{className:C.loadingIndicator,ownerState:b,children:v}):null;return f.jsxs(zL,Z({disabled:s||c,id:m,ref:n},g,{variant:h,classes:C,ownerState:b,children:[b.loadingPosition==="end"?o:w,b.loadingPosition==="end"?w:o]}))});process.env.NODE_ENV!=="production"&&(E1.propTypes={children:x.node,classes:x.object,disabled:x.bool,id:x.string,loading:x.bool,loadingIndicator:x.node,loadingPosition:Po(x.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:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),variant:x.oneOfType([x.oneOf(["contained","outlined","text"]),x.string])});function Yp({variant:e,theme:t,color:n,loadingPosition:r}){const o=Qt(t,n),{lighter:s,main:a,dark:c,contrastText:u}=o,d=`${n}Button`,h=hs(t,d),g={"& .MuiLoadingButton-loadingIndicator":{color:a}},m={...r&&r!=="center"&&{color:a}},v={"&::after":{boxShadow:`0 0 6px 6px ${tt(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(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},...v};case"light":return{backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{backgroundColor:c,color:u},...v};case"shadow":return{boxShadow:h,backgroundColor:a,...r&&r!=="center"&&{color:u},"& .MuiLoadingButton-loadingIndicator":{color:u},"&:hover":{boxShadow:"none",backgroundColor:c,color:u},...v};case"outlined":return{backgroundColor:"transparent",borderColor:a,...m,...g};case"dashed":return{backgroundColor:s,borderColor:a,...m,...g,...v};case"text":default:return{color:a,...g,...v}}}const HL=pe(E1,{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"&&{...Yp({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"&&{...Yp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Yp({variant:t,theme:e,color:r,loadingPosition:s})}}})),GL=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Kt();return f.jsx(HL,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function YL({color:e,theme:t,labelColor:n}){const r=Qt(t,e),{main:o,contrastText:s}=r,a=e||"";return["primary","secondary","info","success","warning","error"].includes(a)?{[`& .${S.tooltipClasses.tooltip}`]:{backgroundColor:o,color:n||s},[`& .${S.tooltipClasses.arrow}`]:{color:o}}:{[`& .${S.tooltipClasses.tooltip}`]:{backgroundColor:a,color:n||s,boxShadow:t.shadows[1]},[`& .${S.tooltipClasses.arrow}`]:{color:a}}}const KL=pe(({className:e,...t})=>f.jsx(S.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&YL({color:t,theme:e,labelColor:n})}));function Qc({children:e,arrow:t,labelColor:n="",...r}){const o=Kt();return f.jsx(S.Box,{display:"flex",children:f.jsx(KL,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const hi=T.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 f.jsxs(S.Box,{ref:s,children:[n==="grow"&&f.jsx(S.Grow,{...o,timeout:{appear:0,enter:150,exit:150},children:f.jsx(S.Box,{sx:a,children:e})}),n==="collapse"&&f.jsx(S.Collapse,{...o,sx:a,children:e}),n==="fade"&&f.jsx(S.Fade,{...o,timeout:{appear:0,enter:300,exit:150},children:f.jsx(S.Box,{sx:a,children:e})}),n==="slide"&&f.jsx(S.Slide,{...o,timeout:{appear:0,enter:150,exit:150},direction:r,children:f.jsx(S.Box,{sx:a,children:e})}),n==="zoom"&&f.jsx(S.Zoom,{...o,children:f.jsx(S.Box,{sx:a,children:e})})]})}),XL=T.forwardRef(function(t,n){return f.jsx(S.Zoom,{ref:n,timeout:200,...t})});function ZL({value:e,...t}){return f.jsxs(S.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(S.CircularProgress,{variant:"determinate",value:e,...t}),f.jsx(S.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(S.Typography,{variant:"caption",component:"div",color:"text.secondary",children:`${Math.round(e)}%`})})]})}function QL({value:e,size:t,variant:n,thickness:r,showLabel:o,pathColor:s,sx:a,...c}){return f.jsxs(S.Box,{sx:{position:"relative",display:"inline-flex"},children:[f.jsx(S.CircularProgress,{variant:"determinate",sx:{color:s||"grey.200"},size:t,thickness:r,...c,value:100}),o?f.jsx(S.Box,{sx:{top:0,left:0,bottom:0,right:0,position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},children:f.jsx(S.Typography,{variant:"caption",component:"div",color:"text.secondary",children:e?`${Math.round(e)}%`:"0%"})}):null,f.jsx(S.CircularProgress,{variant:n,sx:{...a,position:"absolute",left:0,[`& .${S.circularProgressClasses.circle}`]:{strokeLinecap:"round"}},size:t,thickness:r,value:e,...c})]})}function JL({icon:e,value:t,...n}){return f.jsxs(S.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(S.Box,{sx:{width:"100%",mr:1},children:f.jsx(S.LinearProgress,{variant:"determinate",value:t,...n})}),f.jsx(S.Box,{sx:{minWidth:35},children:e})]})}function qL({value:e,...t}){return f.jsxs(S.Box,{sx:{display:"flex",alignItems:"center"},children:[f.jsx(S.Box,{sx:{width:"100%",mr:1},children:f.jsx(S.LinearProgress,{variant:"determinate",value:e,...t})}),f.jsx(S.Box,{sx:{minWidth:35},children:f.jsx(S.Typography,{variant:"body2",color:"text.secondary",children:`${Math.round(e)}%`})})]})}const I1=pe("span")(({arrow:e="top-right",theme:t})=>{const o=t.palette.mode==="dark"?"none":`solid 1px ${tt(t.palette.grey[500],.12)}`,s={borderRadius:"0 0 3px 0",top:-6,borderBottom:o,borderRight:o},a={borderRadius:"3px 0 0 0",bottom:-6,borderTop:o,borderLeft:o},c={borderRadius:"0 3px 0 0",left:-6,borderTop:o,borderRight:o},u={borderRadius:"0 0 0 3px",right:-6,borderBottom:o,borderLeft:o};return{display:"none",[t.breakpoints.up("sm")]:{zIndex:1,width:12,height:12,content:"''",display:"block",position:"absolute",transform:"rotate(-135deg)",background:t.palette.background.paper,backgroundImage:"inherit",borderLeft:o,borderBottom:o},...e==="top-left"&&{...s,left:20},...e==="top-center"&&{...s,left:0,right:0,margin:"auto"},...e==="top-right"&&{...s,right:20},...e==="bottom-left"&&{...a,left:20},...e==="bottom-center"&&{...a,left:0,right:0,margin:"auto"},...e==="bottom-right"&&{...a,right:20},...e==="left-top"&&{...c,top:20},...e==="left-center"&&{...c,top:0,bottom:0,margin:"auto"},...e==="left-bottom"&&{...c,bottom:20},...e==="right-top"&&{...u,top:20},...e==="right-center"&&{...u,top:0,bottom:0,margin:"auto"},...e==="right-bottom"&&{...u,bottom:20}}});function O1(e){let t;switch(e){case"top-left":t={style:{ml:-.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"top-center":t={style:{},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}};break;case"top-right":t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"bottom-left":t={style:{ml:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"bottom-center":t={style:{},anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}};break;case"bottom-right":t={style:{ml:.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;case"left-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"}};break;case"left-center":t={anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}};break;case"left-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"bottom",horizontal:"left"}};break;case"right-top":t={style:{mt:-.75},anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"}};break;case"right-center":t={anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}};break;case"right-bottom":t={style:{mt:.75},anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"bottom",horizontal:"right"}};break;default:t={style:{ml:.75},anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"}}}return t}function P1({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=O1(n);return f.jsxs(S.Popover,{open:!!e,anchorEl:e,anchorOrigin:c,transformOrigin:u,keepMounted:!0,PaperProps:{sx:{p:1,width:"auto",overflow:"inherit",...a,"& .MuiMenuItem-root":{px:1,typography:"body2",borderRadius:.75,"& svg":{mr:2,width:20,height:20,flexShrink:0}},...o}},...s,children:[!r&&f.jsx(I1,{arrow:n}),t]})}const $L={width:"100%",justifyContent:"flex-start"},e2=S.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),t2=S.styled(P1,{slot:"root"})(({theme:e})=>({"& .MuiMenuItem-root":{padding:0,margin:0,"& .MuiButton-startIcon":{marginRight:e.spacing(0)},[e.breakpoints.down("sm")]:{"&>.MuiSvgIcon-root, & svg":{marginRight:e.spacing(0)}}}}));function Lo({horizontal:e=!1,children:t}){const[n,r]=T.useState(null),o=T.useRef(null);function s(u){u.stopPropagation(),u.preventDefault(),r(u.currentTarget),o.current=u.currentTarget}const a=T.useCallback(u=>{u.stopPropagation(),u.preventDefault(),r(null)},[]),c=T.useCallback(u=>{var d;r(null),typeof((d=u.currentTarget)==null?void 0:d.onClick)=="function"&&u.currentTarget.onClick(u)},[]);return!t||T.Children.count(t)===0||t!=null&&t.filter&&(t==null?void 0:t.filter(u=>T.isValidElement(u)).length)===0?null:f.jsxs(e2,{children:[f.jsx(S.IconButton,{"aria-label":"more","aria-haspopup":"true",onClick:s,color:n?"inherit":"default",children:e?f.jsx(Ln.MoreHoriz,{}):f.jsx(Ln.MoreVert,{})}),f.jsx(t2,{open:n,onClose:a,arrow:"right-top",children:T.Children.map(t,(u,d)=>T.isValidElement(u)&&f.jsx(S.MenuItem,{onClick:c,children:T.cloneElement(u,{style:{...$L}})},d))})]})}function Jc(){const e=Nt.useTheme(),n=e.palette.mode==="dark"?e.palette.primary.dark:e.palette.primary.light;return f.jsx(S.Box,{sx:{position:"absolute",filter:"blur(20px)",bottom:0,p:4,pb:8},children:f.jsxs("svg",{width:"100%",height:"calc(100vh - 175px)",viewBox:"0 0 117 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[f.jsx("path",{d:"M15.7523 21.9601L14.0526 17.2379H4.6534L2.95369 21.9601H0L7.78722 0.903564H10.9187L18.706 21.9601H15.7523ZM5.60948 14.6207H13.0988L9.33912 4.24262L5.60948 14.6207Z",fill:n}),f.jsx("path",{d:"M33.592 8.8437C35.0538 10.3782 35.7997 12.2433 35.7997 14.4391C35.7997 16.6348 35.0538 18.5302 33.592 20.0647C32.1301 21.5992 30.3404 22.3513 28.2504 22.3513C25.7747 22.3513 23.8949 21.3593 22.6109 19.3731V27.9769H20.0151V6.91804H22.6109V9.505C23.8949 7.51879 25.7724 6.52686 28.2504 6.52686C30.3381 6.52686 32.1301 7.30923 33.592 8.8437ZM31.6821 18.2881C32.6959 17.2356 33.204 15.9712 33.204 14.4367C33.204 12.9023 32.6959 11.6402 31.6821 10.6157C30.6683 9.56321 29.4143 9.05094 27.9224 9.05094C26.4306 9.05094 25.1489 9.56321 24.1328 10.6157C23.1189 11.6379 22.6109 12.9023 22.6109 14.4367C22.6109 15.9712 23.1189 17.2333 24.1328 18.2881C25.1466 19.3103 26.4006 19.8225 27.9224 19.8225C29.4443 19.8225 30.6683 19.3103 31.6821 18.2881Z",fill:n}),f.jsx("path",{d:"M51.5798 8.8437C53.0416 10.3782 53.7875 12.2433 53.7875 14.4391C53.7875 16.6348 53.0416 18.5302 51.5798 20.0647C50.1179 21.5992 48.3282 22.3513 46.2382 22.3513C43.7625 22.3513 41.8827 21.3593 40.5987 19.3731V27.9769H38.0029V6.91804H40.5987V9.505C41.8827 7.51879 43.7602 6.52686 46.2382 6.52686C48.3258 6.52686 50.1179 7.30923 51.5798 8.8437ZM49.6699 18.2881C50.6837 17.2356 51.1918 15.9712 51.1918 14.4367C51.1918 12.9023 50.6837 11.6402 49.6699 10.6157C48.6561 9.56321 47.4021 9.05094 45.9102 9.05094C44.4184 9.05094 43.1367 9.56321 42.1206 10.6157C41.1067 11.6379 40.5987 12.9023 40.5987 14.4367C40.5987 15.9712 41.1067 17.2333 42.1206 18.2881C43.1344 19.3103 44.3884 19.8225 45.9102 19.8225C47.4321 19.8225 48.6561 19.3103 49.6699 18.2881Z",fill:n}),f.jsx("path",{d:"M55.5449 21.96V0H58.1407V21.96H55.5449Z",fill:n}),f.jsx("path",{d:"M60.3188 2.43569C60.3188 1.47402 61.0948 0.661377 62.0786 0.661377C63.0624 0.661377 63.8083 1.47402 63.8083 2.43569C63.8083 3.39736 63.0324 4.17973 62.0786 4.17973C61.1248 4.17973 60.3188 3.39736 60.3188 2.43569ZM60.7669 21.9578V6.91803H63.3626V21.9578H60.7669Z",fill:n}),f.jsx("path",{d:"M67.8354 20.095C66.3436 18.5605 65.5977 16.6954 65.5977 14.4391C65.5977 12.1828 66.3436 10.3176 67.8354 8.81343C69.3273 7.27896 71.2071 6.52686 73.4449 6.52686C76.3986 6.52686 78.8743 8.06133 80.0382 10.4667L77.8605 11.731C77.1145 10.136 75.4425 9.08354 73.4449 9.08354C71.9531 9.08354 70.6991 9.59581 69.6853 10.618C68.7015 11.6402 68.1934 12.9046 68.1934 14.4391C68.1934 15.9735 68.7015 17.2076 69.6853 18.2299C70.6991 19.2521 71.9531 19.7643 73.4449 19.7643C75.4448 19.7643 77.1145 18.7421 77.9505 17.1471L80.1583 18.4394C78.8766 20.8168 76.3386 22.349 73.4449 22.349C71.2071 22.349 69.3273 21.5969 67.8354 20.0927V20.095Z",fill:n}),f.jsx("path",{d:"M94.2686 6.91793H96.8643V21.9577H94.2686V19.3707C92.9869 21.3569 91.107 22.3488 88.6314 22.3488C86.5437 22.3488 84.7516 21.5967 83.2898 20.0623C81.828 18.5278 81.082 16.6324 81.082 14.4366C81.082 12.2409 81.828 10.3757 83.2898 8.84126C84.7516 7.30679 86.5414 6.52441 88.6314 6.52441C91.107 6.52441 92.9869 7.51635 94.2686 9.50256V6.9156V6.91793ZM92.7467 18.288C93.7605 17.2355 94.2686 15.9711 94.2686 14.4366C94.2686 12.9022 93.7605 11.6401 92.7467 10.6156C91.7329 9.5631 90.4789 9.05083 88.957 9.05083C87.4351 9.05083 86.2112 9.5631 85.1973 10.6156C84.1835 11.6378 83.6755 12.9022 83.6755 14.4366C83.6755 15.9711 84.1835 17.2331 85.1973 18.288C86.2112 19.3102 87.4652 19.8224 88.957 19.8224C90.4489 19.8224 91.7306 19.3102 92.7467 18.288Z",fill:n}),f.jsx("path",{d:"M0.836162 48.9264L3.22406 47.5432C4.03003 50.0999 5.90986 51.3643 8.80351 51.3643C11.6972 51.3643 13.219 50.072 13.219 48.116C13.219 47.1241 12.8311 46.372 12.0851 45.8597C11.3392 45.3475 10.0575 44.8375 8.29545 44.2647L6.29553 43.6034C5.84751 43.4218 5.25169 43.1517 4.56581 42.8211C3.87992 42.4601 3.37186 42.0992 3.04393 41.7383C2.35804 40.9862 1.72989 39.7521 1.72989 38.22C1.72989 36.3851 2.35573 34.9414 3.63975 33.889C4.92376 32.8062 6.47335 32.2637 8.29314 32.2637C11.6048 32.2637 14.1405 34.0985 15.3645 36.8648L13.0366 38.2176C12.1406 36.0521 10.561 34.9694 8.29314 34.9694C6.02533 34.9694 4.50345 36.1732 4.50345 38.0989C4.50345 39.0303 4.83139 39.7242 5.48725 40.2038C6.14311 40.6858 7.27702 41.1958 8.88896 41.708L10.1129 42.0992C10.3508 42.19 10.7088 42.3088 11.2168 42.5207C12.2607 42.9119 12.5008 43.0609 13.3045 43.5126C14.1405 43.9643 14.4084 44.295 14.9164 44.8957C15.6624 45.6478 15.9603 46.7306 15.9603 48.0532C15.9603 49.888 15.3044 51.362 13.9604 52.475C12.6186 53.5577 10.8866 54.1003 8.73885 54.1003C4.83139 54.1003 1.93773 52.1443 0.831543 48.9264H0.836162Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M25.089 54.1001C22.9112 54.1001 21.0314 53.348 19.5095 51.8135C17.9876 50.279 17.2417 48.4139 17.2417 46.1878C17.2417 43.9618 17.9876 42.0967 19.5095 40.5622C21.0314 39.0277 22.9112 38.2756 25.089 38.2756C27.2667 38.2756 29.1465 39.0277 30.6684 40.5622C32.1903 42.0967 32.9663 43.9618 32.9663 46.1878C32.9663 48.4139 32.1903 50.279 30.6684 51.8135C29.1465 53.348 27.2667 54.1001 25.089 54.1001ZM28.8486 50.0089C29.8624 48.9867 30.3705 47.7223 30.3705 46.1878C30.3705 44.6534 29.8624 43.3913 28.8486 42.3668C27.8348 41.3446 26.5808 40.8323 25.089 40.8323C23.5971 40.8323 22.3731 41.3446 21.3593 42.3668C20.3455 43.389 19.8374 44.6534 19.8374 46.1878C19.8374 47.7223 20.3455 48.9844 21.3593 50.0089C22.3731 51.0311 23.6271 51.5434 25.089 51.5434C26.5508 51.5434 27.8348 51.0311 28.8486 50.0089Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.5409 34.7877C39.9151 34.5782 38.6034 35.7215 38.6034 38.2176V38.6693H42.5409V41.1958H38.6034V53.7091H36.0077V41.1958H33.6221V38.6693H36.0077V38.2176C36.0077 34.1567 38.3355 31.9912 42.5409 32.2613V34.7877Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M52.7718 41.1958H48.8043V49.3478C48.8043 51.6647 50.116 51.4831 52.7718 51.3643V53.7114C48.2362 54.3122 46.2086 53.0804 46.2086 49.3502V41.1981H43.2549V38.6717H46.2086V35.2418L48.8043 34.4595V38.6717H52.7718V41.1981V41.1958Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M72.9095 38.6692H75.6254L71.002 53.7089H68.3462L64.8544 42.5787L61.3627 53.7089H58.7069L54.0835 38.6692H56.797L60.0786 50.0998L63.5981 38.6692H66.1038L69.6233 50.13L72.9049 38.6692H72.9095Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M88.5694 38.6692H91.1651V53.7089H88.5694V51.1219C87.2876 53.1081 85.4078 54.1001 82.9322 54.1001C80.8445 54.1001 79.0524 53.348 77.5906 51.8135C76.1287 50.279 75.3828 48.3836 75.3828 46.1878C75.3828 43.9921 76.1287 42.127 77.5906 40.5925C79.0524 39.058 80.8422 38.2756 82.9322 38.2756C85.4078 38.2756 87.2876 39.2676 88.5694 41.2538V38.6668V38.6692ZM87.0475 50.0392C88.0613 48.9867 88.5694 47.7223 88.5694 46.1878C88.5694 44.6534 88.0613 43.3913 87.0475 42.3668C86.0337 41.3143 84.7797 40.802 83.2578 40.802C81.7359 40.802 80.5119 41.3143 79.4981 42.3668C78.4843 43.389 77.9762 44.6534 77.9762 46.1878C77.9762 47.7223 78.4843 48.9844 79.4981 50.0392C80.5119 51.0614 81.7659 51.5737 83.2578 51.5737C84.7496 51.5737 86.0313 51.0614 87.0475 50.0392Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M96.8023 41.1957C97.6683 39.3306 99.2202 38.3992 101.456 38.3992V41.1375C100.172 41.0769 99.0978 41.4076 98.1741 42.1597C97.2503 42.9118 96.8023 44.0853 96.8023 45.7386V53.709H94.2065V38.6693H96.8023V41.1957Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M104.409 47.3918C104.917 50.0696 106.975 51.6343 109.809 51.6343C111.778 51.6343 113.21 50.9125 114.104 49.4385L116.312 50.7029C114.85 52.9592 112.672 54.1025 109.748 54.1025C107.391 54.1025 105.453 53.3504 103.961 51.8765C102.499 50.3723 101.753 48.4769 101.753 46.1903C101.753 43.9037 102.469 42.0386 103.931 40.5344C105.393 39.0302 107.273 38.2781 109.568 38.2781C111.746 38.2781 113.536 39.0604 114.91 40.6252C116.312 42.1597 116.998 44.0248 116.998 46.2206C116.998 46.6117 116.968 47.0029 116.908 47.3941H104.407L104.409 47.3918ZM104.409 45.1052H114.374C113.926 42.2482 111.956 40.7439 109.571 40.7439C106.797 40.7439 104.857 42.4577 104.409 45.1052Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M22.1377 69.1726V70.4369C22.1377 73.1752 21.2116 75.4595 19.3341 77.2943C17.4542 79.0989 14.9786 80.0024 11.9048 80.0024C8.83102 80.0024 6.08748 78.9499 3.99749 76.8449C1.93983 74.7097 0.895996 72.1228 0.895996 69.0841C0.895996 66.0454 1.93983 63.4584 3.99749 61.3535C6.08517 59.2182 8.71093 58.1658 11.8448 58.1658C13.7846 58.1658 15.5444 58.6478 17.1563 59.5792C18.7683 60.5106 20.02 61.7144 20.886 63.2489L18.4981 64.6623C17.3041 62.3757 14.7084 60.8715 11.8147 60.8715C9.42684 60.8715 7.45925 61.6539 5.93737 63.2489C4.41549 64.8136 3.63954 66.7695 3.63954 69.0841C3.63954 71.3986 4.41549 73.3545 5.93737 74.9193C7.48927 76.484 9.48688 77.2664 11.9348 77.2664C16.1102 77.2664 18.796 74.9798 19.3641 71.7013H11.697V69.1749H22.14L22.1377 69.1726Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M34.636 64.5691H37.2317V79.6088H34.636V77.4433C33.5921 79.1571 31.9802 80 29.8024 80C26.3107 80 24.0151 77.6226 24.0151 73.8039V64.5691H26.6109V73.6525C26.6109 76.0881 28.0127 77.5039 30.3105 77.5039C32.9062 77.5039 34.636 75.9089 34.636 72.5395V64.5691Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M42.4209 67.0956C43.287 65.2305 44.8389 64.2991 47.0743 64.2991V67.0374C45.7903 66.9768 44.7165 67.3075 43.7927 68.0596C42.869 68.8117 42.4209 69.9852 42.4209 71.6385V79.6089H39.8252V64.5692H42.4209V67.0956Z",fill:n,opacity:"0.6"}),f.jsx("path",{d:"M59.3049 64.5691H61.9007V79.6088H59.3049V77.4433C58.2611 79.1571 56.6491 80 54.4714 80C50.9796 80 48.6841 77.6226 48.6841 73.8039V64.5691H51.2798V73.6525C51.2798 76.0881 52.6816 77.5039 54.9794 77.5039C57.5752 77.5039 59.3049 75.9089 59.3049 72.5395V64.5691Z",fill:n,opacity:"0.6"})]})})}const j1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHV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6d2hlbj0iMjAyMy0xMS0zMFQxMjo0MTozMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA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DSBpZF2P0u7VjX5tAIBai6J/K+kVUt3IulGkHZHUK26RA0D1M6wb9WiiaGRNtM1pAABRNCDr6pZ2SOZ0tD7R/gUAlYFaNLKGAsQdkXkh7QsiTQ4A/kfR+zOCjnIcyBqKE3evLdpG3ADglaBJcyNr8Enc22SmyqlvA0Axgh6StE/SMGluZA3+S9uqb2+TmSoHAHAT9ClJA5koGkEja0DcAICgAVlDPvK2izvEiQA0jKBfzQiaFDeyhhoTd6+4nAZQr4zIbLPikhiyhjoSd4/MqWnbRB83QK0yZBN0lONA1lDf4g5liZuoG6A6sdLbg6L+jKyBqJuoG6Bq5HwqEz0PBgKBYY4EkDW4ydsSdw/yBvCdoUzkPCguhwGyhiLFHcpIG3kDeCfn4Uz0jJwBWYOv8u7NfGwQLWIAblhpbSJnQNZQcYH32gS+QVxYg8ZlxJKyqDkDsoYql3fEJu8eom+o86h52IqciZoBWUOtC7wnE3EjcKh1MVtRc5RjAWQNCBygMoxkhBxFzICsAZwFbl1gs0SOxMHPaHnEFi0PiwtggKwBkDhUPFK2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";var Kp={};const n2=Jr($8);var M1;function bs(){return M1||(M1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=n2}(Kp)),Kp}var Va=function(){return Va=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},Va.apply(this,arguments)},k1=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},Xp=function(e){var t=e.alignIcon,n=t===void 0?"left":t,r=e.children,o=e.className,s=e.disabled,a=e.label,c=e.color,u=c===void 0?"primary":c,d=e.size,h=d===void 0?"small":d,g=e.to,m=k1(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=ne.useTranslate(),b=a?v(a,{_:a}):void 0,C=i2(g),w=S.useMediaQuery(function(I){return I.breakpoints.down("sm")});return w?a&&!s?B.createElement(S.Tooltip,{title:b},B.createElement(S.IconButton,Va({"aria-label":b,className:o,color:u,size:"large"},C,m),r)):B.createElement(S.IconButton,Va({className:o,color:u,disabled:s,size:"large"},C,m),r):B.createElement(o2,Va({className:o,color:u,size:h,"aria-label":b,disabled:s,startIcon:n==="left"&&r?r:void 0,endIcon:n==="right"&&r?r:void 0},C,m),b)};Xp.propTypes={alignIcon:x.oneOf(["left","right"]),children:x.element,className:x.string,color:x.oneOfType([x.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),x.string]),disabled:x.bool,label:x.string,size:x.oneOf(["small","medium","large"])};var r2="RaButton",o2=pe(S.Button,{name:r2,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),i2=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=k1(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},Zp={},s2=Io;Object.defineProperty(Zp,"__esModule",{value:!0});var L1=Zp.default=void 0,a2=s2(bs()),l2=f;L1=Zp.default=(0,a2.default)((0,l2.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function F1(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=F1(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Wa(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=F1(e))&&(r&&(r+=" "),r+=t);return r}function c2(){this.__data__=[],this.size=0}var u2=c2;function d2(e,t){return e===t||e!==e&&t!==t}var za=d2,f2=za;function p2(e,t){for(var n=e.length;n--;)if(f2(e[n][0],t))return n;return-1}var qc=p2,h2=qc,g2=Array.prototype,m2=g2.splice;function v2(e){var t=this.__data__,n=h2(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():m2.call(t,n,1),--this.size,!0}var y2=v2,b2=qc;function x2(e){var t=this.__data__,n=b2(t,e);return n<0?void 0:t[n][1]}var C2=x2,w2=qc;function S2(e){return w2(this.__data__,e)>-1}var A2=S2,T2=qc;function E2(e,t){var n=this.__data__,r=T2(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var I2=E2,O2=u2,P2=y2,j2=C2,M2=A2,k2=I2;function xs(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])}}xs.prototype.clear=O2,xs.prototype.delete=P2,xs.prototype.get=j2,xs.prototype.has=M2,xs.prototype.set=k2;var $c=xs,L2=$c;function F2(){this.__data__=new L2,this.size=0}var D2=F2;function _2(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var R2=_2;function B2(e){return this.__data__.get(e)}var N2=B2;function V2(e){return this.__data__.has(e)}var W2=V2,z2=typeof yn=="object"&&yn&&yn.Object===Object&&yn,D1=z2,U2=D1,H2=typeof self=="object"&&self&&self.Object===Object&&self,G2=U2||H2||Function("return this")(),Nr=G2,Y2=Nr,K2=Y2.Symbol,eu=K2,_1=eu,R1=Object.prototype,X2=R1.hasOwnProperty,Z2=R1.toString,Ua=_1?_1.toStringTag:void 0;function Q2(e){var t=X2.call(e,Ua),n=e[Ua];try{e[Ua]=void 0;var r=!0}catch{}var o=Z2.call(e);return r&&(t?e[Ua]=n:delete e[Ua]),o}var J2=Q2,q2=Object.prototype,$2=q2.toString;function eF(e){return $2.call(e)}var tF=eF,B1=eu,nF=J2,rF=tF,oF="[object Null]",iF="[object Undefined]",N1=B1?B1.toStringTag:void 0;function sF(e){return e==null?e===void 0?iF:oF:N1&&N1 in Object(e)?nF(e):rF(e)}var Ha=sF;function aF(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gi=aF,lF=Ha,cF=gi,uF="[object AsyncFunction]",dF="[object Function]",fF="[object GeneratorFunction]",pF="[object Proxy]";function hF(e){if(!cF(e))return!1;var t=lF(e);return t==dF||t==fF||t==uF||t==pF}var Qp=hF,gF=Nr,mF=gF["__core-js_shared__"],vF=mF,Jp=vF,V1=function(){var e=/[^.]+$/.exec(Jp&&Jp.keys&&Jp.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function yF(e){return!!V1&&V1 in e}var bF=yF,xF=Function.prototype,CF=xF.toString;function wF(e){if(e!=null){try{return CF.call(e)}catch{}try{return e+""}catch{}}return""}var W1=wF,SF=Qp,AF=bF,TF=gi,EF=W1,IF=/[\\^$.*+?()[\]{}|]/g,OF=/^\[object .+?Constructor\]$/,PF=Function.prototype,jF=Object.prototype,MF=PF.toString,kF=jF.hasOwnProperty,LF=RegExp("^"+MF.call(kF).replace(IF,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function FF(e){if(!TF(e)||AF(e))return!1;var t=SF(e)?LF:OF;return t.test(EF(e))}var DF=FF;function _F(e,t){return e==null?void 0:e[t]}var RF=_F,BF=DF,NF=RF;function VF(e,t){var n=NF(e,t);return BF(n)?n:void 0}var mi=VF,WF=mi,zF=Nr,UF=WF(zF,"Map"),qp=UF,HF=mi,GF=HF(Object,"create"),tu=GF,z1=tu;function YF(){this.__data__=z1?z1(null):{},this.size=0}var KF=YF;function XF(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ZF=XF,QF=tu,JF="__lodash_hash_undefined__",qF=Object.prototype,$F=qF.hasOwnProperty;function eD(e){var t=this.__data__;if(QF){var n=t[e];return n===JF?void 0:n}return $F.call(t,e)?t[e]:void 0}var tD=eD,nD=tu,rD=Object.prototype,oD=rD.hasOwnProperty;function iD(e){var t=this.__data__;return nD?t[e]!==void 0:oD.call(t,e)}var sD=iD,aD=tu,lD="__lodash_hash_undefined__";function cD(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=aD&&t===void 0?lD:t,this}var uD=cD,dD=KF,fD=ZF,pD=tD,hD=sD,gD=uD;function Cs(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])}}Cs.prototype.clear=dD,Cs.prototype.delete=fD,Cs.prototype.get=pD,Cs.prototype.has=hD,Cs.prototype.set=gD;var mD=Cs,U1=mD,vD=$c,yD=qp;function bD(){this.size=0,this.__data__={hash:new U1,map:new(yD||vD),string:new U1}}var xD=bD;function CD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var wD=CD,SD=wD;function AD(e,t){var n=e.__data__;return SD(t)?n[typeof t=="string"?"string":"hash"]:n.map}var nu=AD,TD=nu;function ED(e){var t=TD(this,e).delete(e);return this.size-=t?1:0,t}var ID=ED,OD=nu;function PD(e){return OD(this,e).get(e)}var jD=PD,MD=nu;function kD(e){return MD(this,e).has(e)}var LD=kD,FD=nu;function DD(e,t){var n=FD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var _D=DD,RD=xD,BD=ID,ND=jD,VD=LD,WD=_D;function ws(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])}}ws.prototype.clear=RD,ws.prototype.delete=BD,ws.prototype.get=ND,ws.prototype.has=VD,ws.prototype.set=WD;var H1=ws,zD=$c,UD=qp,HD=H1,GD=200;function YD(e,t){var n=this.__data__;if(n instanceof zD){var r=n.__data__;if(!UD||r.length<GD-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new HD(r)}return n.set(e,t),this.size=n.size,this}var KD=YD,XD=$c,ZD=D2,QD=R2,JD=N2,qD=W2,$D=KD;function Ss(e){var t=this.__data__=new XD(e);this.size=t.size}Ss.prototype.clear=ZD,Ss.prototype.delete=QD,Ss.prototype.get=JD,Ss.prototype.has=qD,Ss.prototype.set=$D;var G1=Ss,e_="__lodash_hash_undefined__";function t_(e){return this.__data__.set(e,e_),this}var n_=t_;function r_(e){return this.__data__.has(e)}var o_=r_,i_=H1,s_=n_,a_=o_;function ru(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new i_;++t<n;)this.add(e[t])}ru.prototype.add=ru.prototype.push=s_,ru.prototype.has=a_;var $p=ru;function l_(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var c_=l_;function u_(e,t){return e.has(t)}var eh=u_,d_=$p,f_=c_,p_=eh,h_=1,g_=2;function m_(e,t,n,r,o,s){var a=n&h_,c=e.length,u=t.length;if(c!=u&&!(a&&u>c))return!1;var d=s.get(e),h=s.get(t);if(d&&h)return d==t&&h==e;var g=-1,m=!0,v=n&g_?new d_:void 0;for(s.set(e,t),s.set(t,e);++g<c;){var b=e[g],C=t[g];if(r)var w=a?r(C,b,g,t,e,s):r(b,C,g,e,t,s);if(w!==void 0){if(w)continue;m=!1;break}if(v){if(!f_(t,function(I,L){if(!p_(v,L)&&(b===I||o(b,I,n,r,s)))return v.push(L)})){m=!1;break}}else if(!(b===C||o(b,C,n,r,s))){m=!1;break}}return s.delete(e),s.delete(t),m}var Y1=m_,v_=Nr,y_=v_.Uint8Array,K1=y_;function b_(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var x_=b_;function C_(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var th=C_,X1=eu,Z1=K1,w_=za,S_=Y1,A_=x_,T_=th,E_=1,I_=2,O_="[object Boolean]",P_="[object Date]",j_="[object Error]",M_="[object Map]",k_="[object Number]",L_="[object RegExp]",F_="[object Set]",D_="[object String]",__="[object Symbol]",R_="[object ArrayBuffer]",B_="[object DataView]",Q1=X1?X1.prototype:void 0,nh=Q1?Q1.valueOf:void 0;function N_(e,t,n,r,o,s,a){switch(n){case B_:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case R_:return!(e.byteLength!=t.byteLength||!s(new Z1(e),new Z1(t)));case O_:case P_:case k_:return w_(+e,+t);case j_:return e.name==t.name&&e.message==t.message;case L_:case D_:return e==t+"";case M_:var c=A_;case F_:var u=r&E_;if(c||(c=T_),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=I_,a.set(e,t);var h=S_(c(e),c(t),r,o,s,a);return a.delete(e),h;case __:if(nh)return nh.call(e)==nh.call(t)}return!1}var V_=N_;function W_(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var J1=W_,z_=Array.isArray,Ga=z_,U_=J1,H_=Ga;function G_(e,t,n){var r=t(e);return H_(e)?r:U_(r,n(e))}var Y_=G_;function K_(e,t){for(var n=-1,r=e==null?0:e.length,o=0,s=[];++n<r;){var a=e[n];t(a,n,e)&&(s[o++]=a)}return s}var X_=K_;function Z_(){return[]}var Q_=Z_,J_=X_,q_=Q_,$_=Object.prototype,eR=$_.propertyIsEnumerable,q1=Object.getOwnPropertySymbols,tR=q1?function(e){return e==null?[]:(e=Object(e),J_(q1(e),function(t){return eR.call(e,t)}))}:q_,nR=tR;function rR(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var oR=rR;function iR(e){return e!=null&&typeof e=="object"}var As=iR,sR=Ha,aR=As,lR="[object Arguments]";function cR(e){return aR(e)&&sR(e)==lR}var uR=cR,$1=uR,dR=As,eC=Object.prototype,fR=eC.hasOwnProperty,pR=eC.propertyIsEnumerable,hR=$1(function(){return arguments}())?$1:function(e){return dR(e)&&fR.call(e,"callee")&&!pR.call(e,"callee")},rh=hR,ou={exports:{}};function gR(){return!1}var mR=gR;ou.exports,function(e,t){var n=Nr,r=mR,o=t&&!t.nodeType&&t,s=o&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===o,c=a?n.Buffer:void 0,u=c?c.isBuffer:void 0,d=u||r;e.exports=d}(ou,ou.exports);var oh=ou.exports,vR=9007199254740991,yR=/^(?:0|[1-9]\d*)$/;function bR(e,t){var n=typeof e;return t=t??vR,!!t&&(n=="number"||n!="symbol"&&yR.test(e))&&e>-1&&e%1==0&&e<t}var tC=bR,xR=9007199254740991;function CR(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=xR}var nC=CR,wR=Ha,SR=nC,AR=As,TR="[object Arguments]",ER="[object Array]",IR="[object Boolean]",OR="[object Date]",PR="[object Error]",jR="[object Function]",MR="[object Map]",kR="[object Number]",LR="[object Object]",FR="[object RegExp]",DR="[object Set]",_R="[object String]",RR="[object WeakMap]",BR="[object ArrayBuffer]",NR="[object DataView]",VR="[object Float32Array]",WR="[object Float64Array]",zR="[object Int8Array]",UR="[object Int16Array]",HR="[object Int32Array]",GR="[object Uint8Array]",YR="[object Uint8ClampedArray]",KR="[object Uint16Array]",XR="[object Uint32Array]",vt={};vt[VR]=vt[WR]=vt[zR]=vt[UR]=vt[HR]=vt[GR]=vt[YR]=vt[KR]=vt[XR]=!0,vt[TR]=vt[ER]=vt[BR]=vt[IR]=vt[NR]=vt[OR]=vt[PR]=vt[jR]=vt[MR]=vt[kR]=vt[LR]=vt[FR]=vt[DR]=vt[_R]=vt[RR]=!1;function ZR(e){return AR(e)&&SR(e.length)&&!!vt[wR(e)]}var QR=ZR;function JR(e){return function(t){return e(t)}}var rC=JR,iu={exports:{}};iu.exports,function(e,t){var n=D1,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s&&n.process,c=function(){try{var u=o&&o.require&&o.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}}();e.exports=c}(iu,iu.exports);var qR=iu.exports,$R=QR,e7=rC,oC=qR,iC=oC&&oC.isTypedArray,t7=iC?e7(iC):$R,ih=t7,n7=oR,r7=rh,o7=Ga,i7=oh,s7=tC,a7=ih,l7=Object.prototype,c7=l7.hasOwnProperty;function u7(e,t){var n=o7(e),r=!n&&r7(e),o=!n&&!r&&i7(e),s=!n&&!r&&!o&&a7(e),a=n||r||o||s,c=a?n7(e.length,String):[],u=c.length;for(var d in e)(t||c7.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||s7(d,u)))&&c.push(d);return c}var sC=u7,d7=Object.prototype;function f7(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||d7;return e===n}var sh=f7;function p7(e,t){return function(n){return e(t(n))}}var aC=p7,h7=aC,g7=h7(Object.keys,Object),m7=g7,v7=sh,y7=m7,b7=Object.prototype,x7=b7.hasOwnProperty;function C7(e){if(!v7(e))return y7(e);var t=[];for(var n in Object(e))x7.call(e,n)&&n!="constructor"&&t.push(n);return t}var w7=C7,S7=Qp,A7=nC;function T7(e){return e!=null&&A7(e.length)&&!S7(e)}var su=T7,E7=sC,I7=w7,O7=su;function P7(e){return O7(e)?E7(e):I7(e)}var j7=P7,M7=Y_,k7=nR,L7=j7;function F7(e){return M7(e,L7,k7)}var D7=F7,lC=D7,_7=1,R7=Object.prototype,B7=R7.hasOwnProperty;function N7(e,t,n,r,o,s){var a=n&_7,c=lC(e),u=c.length,d=lC(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:B7.call(t,m)))return!1}var v=s.get(e),b=s.get(t);if(v&&b)return v==t&&b==e;var C=!0;s.set(e,t),s.set(t,e);for(var w=a;++g<u;){m=c[g];var I=e[m],L=t[m];if(r)var E=a?r(L,I,m,t,e,s):r(I,L,m,e,t,s);if(!(E===void 0?I===L||o(I,L,n,r,s):E)){C=!1;break}w||(w=m=="constructor")}if(C&&!w){var j=e.constructor,P=t.constructor;j!=P&&"constructor"in e&&"constructor"in t&&!(typeof j=="function"&&j instanceof j&&typeof P=="function"&&P instanceof P)&&(C=!1)}return s.delete(e),s.delete(t),C}var V7=N7,W7=mi,z7=Nr,U7=W7(z7,"DataView"),H7=U7,G7=mi,Y7=Nr,K7=G7(Y7,"Promise"),X7=K7,Z7=mi,Q7=Nr,J7=Z7(Q7,"Set"),cC=J7,q7=mi,$7=Nr,eB=q7($7,"WeakMap"),tB=eB,ah=H7,lh=qp,ch=X7,uh=cC,dh=tB,uC=Ha,Ts=W1,dC="[object Map]",nB="[object Object]",fC="[object Promise]",pC="[object Set]",hC="[object WeakMap]",gC="[object DataView]",rB=Ts(ah),oB=Ts(lh),iB=Ts(ch),sB=Ts(uh),aB=Ts(dh),vi=uC;(ah&&vi(new ah(new ArrayBuffer(1)))!=gC||lh&&vi(new lh)!=dC||ch&&vi(ch.resolve())!=fC||uh&&vi(new uh)!=pC||dh&&vi(new dh)!=hC)&&(vi=function(e){var t=uC(e),n=t==nB?e.constructor:void 0,r=n?Ts(n):"";if(r)switch(r){case rB:return gC;case oB:return dC;case iB:return fC;case sB:return pC;case aB:return hC}return t});var lB=vi,fh=G1,cB=Y1,uB=V_,dB=V7,mC=lB,vC=Ga,yC=oh,fB=ih,pB=1,bC="[object Arguments]",xC="[object Array]",au="[object Object]",hB=Object.prototype,CC=hB.hasOwnProperty;function gB(e,t,n,r,o,s){var a=vC(e),c=vC(t),u=a?xC:mC(e),d=c?xC:mC(t);u=u==bC?au:u,d=d==bC?au:d;var h=u==au,g=d==au,m=u==d;if(m&&yC(e)){if(!yC(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new fh),a||fB(e)?cB(e,t,n,r,o,s):uB(e,t,u,n,r,o,s);if(!(n&pB)){var v=h&&CC.call(e,"__wrapped__"),b=g&&CC.call(t,"__wrapped__");if(v||b){var C=v?e.value():e,w=b?t.value():t;return s||(s=new fh),o(C,w,n,r,s)}}return m?(s||(s=new fh),dB(e,t,n,r,o,s)):!1}var mB=gB,vB=mB,wC=As;function SC(e,t,n,r,o){return e===t?!0:e==null||t==null||!wC(e)&&!wC(t)?e!==e&&t!==t:vB(e,t,n,r,SC,o)}var yB=SC,bB=yB;function xB(e,t){return bB(e,t)}var CB=xB;const AC=Qr(CB);var wB=mi,SB=function(){try{var e=wB(Object,"defineProperty");return e({},"",{}),e}catch{}}(),TC=SB,EC=TC;function AB(e,t,n){t=="__proto__"&&EC?EC(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var ph=AB,TB=ph,EB=za;function IB(e,t,n){(n!==void 0&&!EB(e[t],n)||n===void 0&&!(t in e))&&TB(e,t,n)}var IC=IB;function OB(e){return function(t,n,r){for(var o=-1,s=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(n(s[u],u,s)===!1)break}return t}}var PB=OB,jB=PB,MB=jB(),kB=MB,lu={exports:{}};lu.exports,function(e,t){var n=Nr,r=t&&!t.nodeType&&t,o=r&&!0&&e&&!e.nodeType&&e,s=o&&o.exports===r,a=s?n.Buffer:void 0,c=a?a.allocUnsafe:void 0;function u(d,h){if(h)return d.slice();var g=d.length,m=c?c(g):new d.constructor(g);return d.copy(m),m}e.exports=u}(lu,lu.exports);var LB=lu.exports,OC=K1;function FB(e){var t=new e.constructor(e.byteLength);return new OC(t).set(new OC(e)),t}var DB=FB,_B=DB;function RB(e,t){var n=t?_B(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var BB=RB;function NB(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var VB=NB,WB=gi,PC=Object.create,zB=function(){function e(){}return function(t){if(!WB(t))return{};if(PC)return PC(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),UB=zB,HB=aC,GB=HB(Object.getPrototypeOf,Object),jC=GB,YB=UB,KB=jC,XB=sh;function ZB(e){return typeof e.constructor=="function"&&!XB(e)?YB(KB(e)):{}}var QB=ZB,JB=su,qB=As;function $B(e){return qB(e)&&JB(e)}var hh=$B,eN=Ha,tN=jC,nN=As,rN="[object Object]",oN=Function.prototype,iN=Object.prototype,MC=oN.toString,sN=iN.hasOwnProperty,aN=MC.call(Object);function lN(e){if(!nN(e)||eN(e)!=rN)return!1;var t=tN(e);if(t===null)return!0;var n=sN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&MC.call(n)==aN}var cN=lN;function uN(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var kC=uN,dN=ph,fN=za,pN=Object.prototype,hN=pN.hasOwnProperty;function gN(e,t,n){var r=e[t];(!(hN.call(e,t)&&fN(r,n))||n===void 0&&!(t in e))&&dN(e,t,n)}var mN=gN,vN=mN,yN=ph;function bN(e,t,n,r){var o=!n;n||(n={});for(var s=-1,a=t.length;++s<a;){var c=t[s],u=r?r(n[c],e[c],c,n,e):void 0;u===void 0&&(u=e[c]),o?yN(n,c,u):vN(n,c,u)}return n}var xN=bN;function CN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var wN=CN,SN=gi,AN=sh,TN=wN,EN=Object.prototype,IN=EN.hasOwnProperty;function ON(e){if(!SN(e))return TN(e);var t=AN(e),n=[];for(var r in e)r=="constructor"&&(t||!IN.call(e,r))||n.push(r);return n}var PN=ON,jN=sC,MN=PN,kN=su;function LN(e){return kN(e)?jN(e,!0):MN(e)}var LC=LN,FN=xN,DN=LC;function _N(e){return FN(e,DN(e))}var RN=_N,FC=IC,BN=LB,NN=BB,VN=VB,WN=QB,DC=rh,_C=Ga,zN=hh,UN=oh,HN=Qp,GN=gi,YN=cN,KN=ih,RC=kC,XN=RN;function ZN(e,t,n,r,o,s,a){var c=RC(e,n),u=RC(t,n),d=a.get(u);if(d){FC(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=_C(u),v=!m&&UN(u),b=!m&&!v&&KN(u);h=u,m||v||b?_C(c)?h=c:zN(c)?h=VN(c):v?(g=!1,h=BN(u,!0)):b?(g=!1,h=NN(u,!0)):h=[]:YN(u)||DC(u)?(h=c,DC(c)?h=XN(c):(!GN(c)||HN(c))&&(h=WN(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),FC(e,n,h)}var QN=ZN,JN=G1,qN=IC,$N=kB,eV=QN,tV=gi,nV=LC,rV=kC;function BC(e,t,n,r,o){e!==t&&$N(t,function(s,a){if(o||(o=new JN),tV(s))eV(e,t,a,n,BC,r,o);else{var c=r?r(rV(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),qN(e,a,c)}},nV)}var oV=BC;function iV(e){return e}var NC=iV;function sV(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 aV=sV,lV=aV,VC=Math.max;function cV(e,t,n){return t=VC(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=VC(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),lV(e,this,c)}}var uV=cV;function dV(e){return function(){return e}}var fV=dV,pV=fV,WC=TC,hV=NC,gV=WC?function(e,t){return WC(e,"toString",{configurable:!0,enumerable:!1,value:pV(t),writable:!0})}:hV,mV=gV,vV=800,yV=16,bV=Date.now;function xV(e){var t=0,n=0;return function(){var r=bV(),o=yV-(r-n);if(n=r,o>0){if(++t>=vV)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var CV=xV,wV=mV,SV=CV,AV=SV(wV),TV=AV,EV=NC,IV=uV,OV=TV;function PV(e,t){return OV(IV(e,t,EV),e+"")}var gh=PV,jV=za,MV=su,kV=tC,LV=gi;function FV(e,t,n){if(!LV(n))return!1;var r=typeof t;return(r=="number"?MV(n)&&kV(t,n.length):r=="string"&&t in n)?jV(n[t],e):!1}var DV=FV,_V=gh,RV=DV;function BV(e){return _V(function(t,n){var r=-1,o=n.length,s=o>1?n[o-1]:void 0,a=o>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,a&&RV(n[0],n[1],a)&&(s=o<3?void 0:s,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,s)}return t})}var NV=BV,VV=oV,WV=NV,zV=WV(function(e,t,n){VV(e,t,n)}),UV=zV;const HV=Qr(UV);var cu=function(){return cu=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},cu.apply(this,arguments)},zC=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},UC=function(e){var t=e.className,n=e.icon,r=n===void 0?YV:n,o=e.label,s=o===void 0?"ra.action.create":o;e.resource;var a=e.scrollToTop,c=a===void 0?!0:a,u=e.variant,d=e.to,h=e.state,g=h===void 0?{}:h,m=zC(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=ne.useResourceContext(e),b=ne.useCreatePath(),C=ne.useTranslate(),w=S.useMediaQuery(function(E){return E.breakpoints.down("md")}),I=HV({},GV.get(String(c)),g),L=QV(d);return w?B.createElement(KV,cu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,color:"primary",className:Wa(mh.floating,t),"aria-label":s&&C(s)},m,L),r):B.createElement(XV,cu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,className:Wa(mh.root,t),label:s,variant:u},m,L),r)},GV=new Map([["true",{_scrollToTop:!0}],["false",{}]]),YV=B.createElement(L1,null);UC.propTypes={resource:x.string,className:x.string,icon:x.element,label:x.string};var uu="RaCreateButton",mh={root:"".concat(uu,"-root"),floating:"".concat(uu,"-floating")},KV=pe(S.Fab,{name:uu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(mh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),XV=pe(Xp,{name:uu,overridesResolver:function(e,t){return t.root}})({});const ZV=B.memo(UC,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&AC(e.to,t.to)&&AC(e.state,t.state)});var QV=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=zC(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},vh=function(){return vh=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},vh.apply(this,arguments)},JV=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},du,yh,HC=function(e){var t=e.className,n=e.onClick,r=e.sx,o=JV(e,["className","onClick","sx"]),s=ne.useLoading(),a=Kt();return B.createElement(qV,{className:t,sx:r},B.createElement(lw,{className:"".concat(Es.loadedIcon," ").concat(s&&Es.loadedLoading),onClick:n}),s&&B.createElement(Zc,vh({className:Wa("app-loader",Es.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};HC.propTypes={classes:x.object,className:x.string,width:x.string};var fu="RaLoadingIndicator",Es={loader:"".concat(fu,"-loader"),loadedLoading:"".concat(fu,"-loadedLoading"),loadedIcon:"".concat(fu,"-loadedIcon")},qV=pe("div",{name:fu,overridesResolver:function(e,t){return t.root}})((du={position:"relative"},du["& .".concat(Es.loadedIcon)]=(yh={},yh["&.".concat(Es.loadedLoading)]={opacity:0},yh),du["& .".concat(Es.loader)]={position:"absolute",top:"30%",left:"30%"},du));const $V=e=>e.scrollTop;function GC(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}}function eW(e){return typeof e=="function"?e():e}const pu=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=xn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(eW(o)||document.body)},[o,s]),_r(()=>{if(a&&!s)return ls(n,a),()=>{ls(n,null)}},[n,a,s]),s){if(B.isValidElement(r)){const d={ref:u};return B.cloneElement(r,d)}return f.jsx(B.Fragment,{children:r})}return f.jsx(B.Fragment,{children:a&&O0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(pu.propTypes={children:x.node,container:x.oneOfType([jo,x.func]),disablePortal:x.bool}),process.env.NODE_ENV!=="production"&&(pu.propTypes=Ic(pu.propTypes));var bh={},tW=Io;Object.defineProperty(bh,"__esModule",{value:!0});var YC=bh.default=void 0,nW=tW(bs()),rW=f;YC=bh.default=(0,nW.default)((0,rW.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 oW=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=ne.usePreferencesEditor(),d=!!u,h=ne.useTranslate(),g=u||{},m=g.isEnabled,v=g.setEditor,b=g.preferenceKey,C=g.setPreferenceKey,w=c===b,I=T.useRef(w),L=T.useRef(null),E=T.useState(!1),j=E[0],P=E[1];if(T.useEffect(function(){I.current=w},[w]),T.useEffect(function(){return function(){I.current&&(C&&C(null),v&&v(null))}},[v,C]),!d)return t;var D=function(){v(T.cloneElement(n,{preferenceKey:c,key:c})),C(c)},F=function(){P(!0)},U=function(){P(!1)};return B.createElement(ne.PreferenceKeyContextProvider,{value:c},B.createElement(iW,{className:Wa(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:L,onMouseEnter:m?F:void 0,onMouseLeave:m?U:void 0},t),B.createElement(S.Popover,{open:m&&(j||w),sx:{pointerEvents:"none","& .MuiPaper-root":{pointerEvents:"auto",borderRadius:10,padding:"2px",lineHeight:0,backgroundColor:"warning.light",color:"warning.contrastText","&:hover":{cursor:"pointer"}}},anchorEl:L.current,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"center"},onClose:U,PaperProps:{elevation:1,onMouseEnter:F,onMouseLeave:U,title:h(s),onClick:D},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},B.createElement(YC,{fontSize:"12px"})))},hu="RaConfigurable",ro={root:"".concat(hu,"-root"),editMode:"".concat(hu,"-editMode"),editorActive:"".concat(hu,"-editorActive")},iW=pe("span",{name:hu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative",display:"inline-block"},t["&.".concat(ro.editMode)]={transition:n.transitions.create("outline"),outline:"".concat(S.alpha(n.palette.warning.main,.3)," solid 2px")},t["&.".concat(ro.editMode,":hover ")]={outline:"".concat(S.alpha(n.palette.warning.main,.5)," solid 2px")},t["&.".concat(ro.editMode,".").concat(ro.editorActive," , &.").concat(ro.editMode,".").concat(ro.editorActive,":hover ")]={outline:"".concat(n.palette.warning.main," solid 2px")},t}),yi=function(){return yi=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},yi.apply(this,arguments)},sW=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},aW=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=sW(e,["title","defaultTitle","className"]),s=ne.usePreference()[0],a=ne.useTranslate(),c=ne.useRecordContext();return s?B.createElement("span",yi({className:r},o),a(s,yi(yi({},c),{_:s}))):B.createElement("span",{className:r},t?typeof t=="string"?B.createElement("span",yi({},o),a(t,{_:t})):t:B.createElement("span",yi({},o),n))},gu=function(){return gu=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},gu.apply(this,arguments)},lW=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},cW=function(){var e=ne.usePreferenceInput();return B.createElement("form",null,B.createElement(S.TextField,gu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},uW=function(e){var t=e.preferenceKey,n=lW(e,["preferenceKey"]),r=dt.useLocation().pathname;return B.createElement(oW,{editor:B.createElement(cW,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},B.createElement(aW,gu({},n)))},xh=function(){return xh=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},xh.apply(this,arguments)},dW=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},KC=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=dW(e,["defaultTitle","title","preferenceKey"]),s=T.useState(function(){return typeof document<"u"?document.getElementById("react-admin-title"):null}),a=s[0],c=s[1];return T.useEffect(function(){c(function(u){var d=typeof document<"u"&&document.body.contains(u);return u&&d?u:typeof document<"u"?document.getElementById("react-admin-title"):null})},[]),a?(ne.warning(!t&&!n,"Missing title prop in <Title> element"),Hi.createPortal(B.createElement(uW,xh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},fW=x.oneOfType([x.string,x.element]);KC.propTypes={defaultTitle:x.string,className:x.string,record:x.any,title:fW};var pW=function(e){var t=ei.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},hW=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])})},XC={error:null},gW=function(e){jp(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=XC,r.resetErrorBoundary=function(){for(var c,u=arguments.length,d=new Array(u),h=0;h<u;h++)d[h]=arguments[h];r.props.onReset==null||(c=r.props).onReset.apply(c,d),r.reset()},r}t.getDerivedStateFromError=function(o){return{error:o}};var n=t.prototype;return n.reset=function(){this.setState(XC)},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&&hW(o.resetKeys,c)){var u,d;(u=(d=this.props).onResetKeysChange)==null||u.call(d,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 d={error:o,resetErrorBoundary:this.resetErrorBoundary};if(B.isValidElement(u))return u;if(typeof a=="function")return a(d);if(c)return B.createElement(c,d);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},t}(B.Component);function mW(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 vW=mW,Ch=function(){return Ch=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},Ch.apply(this,arguments)},yW=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},ZC=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=yW(e,["className","loadingPrimary","loadingSecondary"]),c=ne.useTimeout(1e3),u=ne.useTranslate();return c?B.createElement(bW,Ch({className:t},a),B.createElement("div",{className:vu.message},B.createElement(Zc,{className:vu.icon}),B.createElement(S.Typography,{variant:"h5",mt:3,color:"text.secondary"},u(r,{_:r})),B.createElement(S.Typography,{variant:"body2"},u(s,{_:s})))):null};ZC.propTypes={className:x.string,loadingPrimary:x.string,loadingSecondary:x.string};var mu="RaLoading",vu={root:"".concat(mu,"-root"),icon:"".concat(mu,"-icon"),message:"".concat(mu,"-message")},bW=pe("div",{name:mu,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(vu.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(vu.icon)]={width:"9em",height:"9em"},t}),wh={},xW=Io;Object.defineProperty(wh,"__esModule",{value:!0});var QC=wh.default=void 0,CW=xW(bs()),wW=f;QC=wh.default=(0,CW.default)((0,wW.jsx)("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"}),"Create");var Sh=function(){return Sh=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},Sh.apply(this,arguments)},SW=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},JC=function(e){var t=e.icon,n=t===void 0?TW:t,r=e.label,o=r===void 0?"ra.action.edit":r,s=e.scrollToTop,a=s===void 0?!0:s,c=e.className,u=SW(e,["icon","label","scrollToTop","className"]),d=ne.useResourceContext(e),h=ne.useRecordContext(e),g=ne.useCreatePath();return h?B.createElement(OW,Sh({component:dt.Link,to:g({type:"edit",resource:d,id:h.id}),state:AW[String(a)],label:o,onClick:EW,className:Wa(IW.root,c)},u),n):null},AW={true:{_scrollToTop:!0},false:{}},TW=B.createElement(QC,null),EW=function(e){return e.stopPropagation()};JC.propTypes={icon:x.element,label:x.string,record:x.any,scrollToTop:x.bool};var qC="RaEditButton",IW={root:"".concat(qC,"-root")},OW=pe(Xp,{name:qC,overridesResolver:function(e,t){return t.root}})({}),Ah={},PW=Io;Object.defineProperty(Ah,"__esModule",{value:!0});var $C=Ah.default=void 0,jW=PW(bs()),MW=f;$C=Ah.default=(0,jW.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 Th(e){return`scale(${e}, ${e**2})`}const LW={entering:{opacity:1,transform:Th(1)},entered:{opacity:1,transform:"none"}},Eh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),yu=B.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:s,easing:a,in:c,onEnter:u,onEntered:d,onEntering:h,onExit:g,onExited:m,onExiting:v,style:b,timeout:C="auto",TransitionComponent:w=eo}=t,I=Ge(t,kW),L=ds(),E=B.useRef(),j=Kt(),P=B.useRef(null),D=xn(P,s.ref,n),F=J=>z=>{if(J){const Q=P.current;z===void 0?J(Q):J(Q,z)}},U=F(h),K=F((J,z)=>{$V(J);const{duration:Q,delay:N,easing:re}=GC({style:b,timeout:C,easing:a},{mode:"enter"});let W;C==="auto"?(W=j.transitions.getAutoHeightDuration(J.clientHeight),E.current=W):W=Q,J.style.transition=[j.transitions.create("opacity",{duration:W,delay:N}),j.transitions.create("transform",{duration:Eh?W:W*.666,delay:N,easing:re})].join(","),u&&u(J,z)}),ee=F(d),G=F(v),le=F(J=>{const{duration:z,delay:Q,easing:N}=GC({style:b,timeout:C,easing:a},{mode:"exit"});let re;C==="auto"?(re=j.transitions.getAutoHeightDuration(J.clientHeight),E.current=re):re=z,J.style.transition=[j.transitions.create("opacity",{duration:re,delay:Q}),j.transitions.create("transform",{duration:Eh?re:re*.666,delay:Eh?Q:Q||re*.333,easing:N})].join(","),J.style.opacity=0,J.style.transform=Th(.75),g&&g(J)}),ae=F(m),q=J=>{C==="auto"&&L.start(E.current||0,J),r&&r(P.current,J)};return f.jsx(w,Z({appear:o,in:c,nodeRef:P,onEnter:K,onEntered:ee,onEntering:U,onExit:le,onExited:ae,onExiting:G,addEndListener:q,timeout:C==="auto"?null:C},I,{children:(J,z)=>B.cloneElement(s,Z({style:Z({opacity:0,transform:Th(.75),visibility:J==="exited"&&!c?"hidden":void 0},LW[J],b,s.props.style),ref:D},z))}))});process.env.NODE_ENV!=="production"&&(yu.propTypes={addEndListener:x.func,appear:x.bool,children:yp.isRequired,easing:x.oneOfType([x.shape({enter:x.string,exit:x.string}),x.string]),in:x.bool,onEnter:x.func,onEntered:x.func,onEntering:x.func,onExit:x.func,onExited:x.func,onExiting:x.func,style:x.object,timeout:x.oneOfType([x.oneOf(["auto"]),x.number,x.shape({appear:x.number,enter:x.number,exit:x.number})])}),yu.muiSupportAuto=!0;const ew="base";function FW(e){return`${ew}--${e}`}function DW(e,t){return`${ew}-${e}-${t}`}function tw(e,t){const n=Vb[t];return n?FW(n):DW(e,t)}function _W(e,t){const n={};return t.forEach(r=>{n[r]=tw(e,r)}),n}const nw="Popper";function RW(e){return tw(nw,e)}_W(nw,["root"]);const BW=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],NW=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function VW(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 bu(e){return typeof e=="function"?e():e}function xu(e){return e.nodeType!==void 0}function WW(e){return!xu(e)}const zW=()=>$n({root:["root"]},rk(RW)),UW={},HW=B.forwardRef(function(t,n){var r;const{anchorEl:o,children:s,direction:a,disablePortal:c,modifiers:u,open:d,placement:h,popperOptions:g,popperRef:m,slotProps:v={},slots:b={},TransitionProps:C}=t,w=Ge(t,BW),I=B.useRef(null),L=xn(I,n),E=B.useRef(null),j=xn(E,m),P=B.useRef(j);_r(()=>{P.current=j},[j]),B.useImperativeHandle(m,()=>E.current,[]);const D=VW(h,a),[F,U]=B.useState(D),[K,ee]=B.useState(bu(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&ee(bu(o))},[o]),_r(()=>{if(!K||!d)return;const J=N=>{U(N.placement)};if(process.env.NODE_ENV!=="production"&&K&&xu(K)&&K.nodeType===1){const N=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&N.top===0&&N.left===0&&N.right===0&&N.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(`
|
|
181
|
+
`))}let z=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:N})=>{J(N)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const Q=m1(K,I.current,Z({placement:D},g,{modifiers:z}));return P.current(Q),()=>{Q.destroy(),P.current(null)}},[K,c,u,d,g,D]);const G={placement:F};C!==null&&(G.TransitionProps=C);const le=zW(),ae=(r=b.root)!=null?r:"div",q=Ix({elementType:ae,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:L},ownerState:t,className:le.root});return f.jsx(ae,Z({},q,{children:typeof s=="function"?s(G):s}))}),rw=B.forwardRef(function(t,n){const{anchorEl:r,children:o,container:s,direction:a="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:h,placement:g="bottom",popperOptions:m=UW,popperRef:v,style:b,transition:C=!1,slotProps:w={},slots:I={}}=t,L=Ge(t,NW),[E,j]=B.useState(!0),P=()=>{j(!1)},D=()=>{j(!0)};if(!u&&!h&&(!C||E))return null;let F;if(s)F=s;else if(r){const ee=bu(r);F=ee&&xu(ee)?us(ee).body:us(null).body}const U=!h&&u&&(!C||E)?"none":void 0,K=C?{in:h,onEnter:P,onExited:D}:void 0;return f.jsx(pu,{disablePortal:c,container:F,children:f.jsx(HW,Z({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:C?!E:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:I},L,{style:Z({position:"fixed",top:0,left:0,display:U},b),TransitionProps:K,children:o}))})});process.env.NODE_ENV!=="production"&&(rw.propTypes={anchorEl:Po(x.oneOfType([jo,x.object,x.func]),e=>{if(e.open){const t=bu(e.anchorEl);if(t&&xu(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 `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(`
|
|
182
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||WW(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
183
|
+
`))}return null}),children:x.oneOfType([x.node,x.func]),container:x.oneOfType([jo,x.func]),direction:x.oneOf(["ltr","rtl"]),disablePortal:x.bool,keepMounted:x.bool,modifiers:x.arrayOf(x.shape({data:x.object,effect:x.func,enabled:x.bool,fn:x.func,name:x.any,options:x.object,phase:x.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:x.arrayOf(x.string),requiresIfExists:x.arrayOf(x.string)})),open:x.bool.isRequired,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:x.shape({modifiers:x.array,onFirstUpdate:x.func,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:x.oneOf(["absolute","fixed"])}),popperRef:Oc,slotProps:x.shape({root:x.oneOfType([x.func,x.object])}),slots:x.shape({root:x.elementType}),transition:x.bool});var Ih={};Object.defineProperty(Ih,"__esModule",{value:!0});var ow=Ih.default=void 0,GW=KW(T),YW=ix;function iw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(iw=function(r){return r?n:t})(e)}function KW(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=iw(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if(s!=="default"&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(r,s,a):r[s]=e[s]}return r.default=e,n&&n.set(e,r),r}function XW(e){return Object.keys(e).length===0}function ZW(e=null){const t=GW.useContext(YW.ThemeContext);return!t||XW(t)?e:t}ow=Ih.default=ZW;const QW=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],JW=pe(rw,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Oh=B.forwardRef(function(t,n){var r;const o=ow(),s=rr({props:t,name:"MuiPopper"}),{anchorEl:a,component:c,components:u,componentsProps:d,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:b,placement:C,popperOptions:w,popperRef:I,transition:L,slots:E,slotProps:j}=s,P=Ge(s,QW),D=(r=E==null?void 0:E.root)!=null?r:u==null?void 0:u.Root,F=Z({anchorEl:a,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:b,placement:C,popperOptions:w,popperRef:I,transition:L},P);return f.jsx(JW,Z({as:c,direction:o==null?void 0:o.direction,slots:{root:D},slotProps:j??d},F,{ref:n}))});process.env.NODE_ENV!=="production"&&(Oh.propTypes={anchorEl:x.oneOfType([jo,x.object,x.func]),children:x.oneOfType([x.node,x.func]),component:x.elementType,components:x.shape({Root:x.elementType}),componentsProps:x.shape({root:x.oneOfType([x.func,x.object])}),container:x.oneOfType([jo,x.func]),disablePortal:x.bool,keepMounted:x.bool,modifiers:x.arrayOf(x.shape({data:x.object,effect:x.func,enabled:x.bool,fn:x.func,name:x.any,options:x.object,phase:x.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:x.arrayOf(x.string),requiresIfExists:x.arrayOf(x.string)})),open:x.bool.isRequired,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:x.shape({modifiers:x.array,onFirstUpdate:x.func,placement:x.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:x.oneOf(["absolute","fixed"])}),popperRef:Oc,slotProps:x.shape({root:x.oneOfType([x.func,x.object])}),slots:x.shape({root:x.elementType}),sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),transition:x.bool});function qW(e){return Rn("MuiTooltip",e)}const Fo=ir("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),$W=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function ez(e){return Math.round(e*1e5)/1e5}const tz=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:s}=e,a={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${He(s.split("-")[0])}`],arrow:["arrow"]};return $n(a,qW,t)},nz=pe(Oh,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>Z({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${Fo.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Fo.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Fo.arrow}`]:Z({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${Fo.arrow}`]:Z({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),rz=pe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${He(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>Z({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Oo(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${ez(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Fo.popper}[data-popper-placement*="left"] &`]:Z({transformOrigin:"right center"},t.isRtl?Z({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):Z({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${Fo.popper}[data-popper-placement*="right"] &`]:Z({transformOrigin:"left center"},t.isRtl?Z({marginRight:"14px"},t.touch&&{marginRight:"24px"}):Z({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${Fo.popper}[data-popper-placement*="top"] &`]:Z({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Fo.popper}[data-popper-placement*="bottom"] &`]:Z({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),oz=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Oo(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let Cu=!1;const sw=new ja;let Ya={x:0,y:0};function wu(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const aw=B.forwardRef(function(t,n){var r,o,s,a,c,u,d,h,g,m,v,b,C,w,I,L,E,j,P;const D=rr({props:t,name:"MuiTooltip"}),{arrow:F=!1,children:U,components:K={},componentsProps:ee={},describeChild:G=!1,disableFocusListener:le=!1,disableHoverListener:ae=!1,disableInteractive:q=!1,disableTouchListener:J=!1,enterDelay:z=100,enterNextDelay:Q=0,enterTouchDelay:N=700,followCursor:re=!1,id:W,leaveDelay:X=0,leaveTouchDelay:de=1500,onClose:he,onOpen:fe,open:ge,placement:ve="bottom",PopperComponent:Te,PopperProps:Ce={},slotProps:be={},slots:we={},title:Ie,TransitionComponent:ue=yu,TransitionProps:qe}=D,me=Ge(D,$W),Qe=B.isValidElement(U)?U:f.jsx("span",{children:U}),an=Kt(),Et=t8(),[yt,Un]=B.useState(),[It,bt]=B.useState(null),Xt=B.useRef(!1),xt=q||re,zt=ds(),Ot=ds(),Fe=ds(),_e=ds(),[Oe,xe]=Cx({controlled:ge,default:!1,name:"Tooltip",state:"open"});let ht=Oe;if(process.env.NODE_ENV!=="production"){const{current:Ve}=B.useRef(ge!==void 0);B.useEffect(()=>{yt&&yt.disabled&&!Ve&&Ie!==""&&yt.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
184
|
+
`))},[Ie,yt,Ve])}const Ut=bp(W),Be=B.useRef(),Pe=li(()=>{Be.current!==void 0&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),_e.clear()});B.useEffect(()=>Pe,[Pe]);const qt=Ve=>{sw.clear(),Cu=!0,xe(!0),fe&&!ht&&fe(Ve)},pr=li(Ve=>{sw.start(800+X,()=>{Cu=!1}),xe(!1),he&&ht&&he(Ve),zt.start(an.transitions.duration.shortest,()=>{Xt.current=!1})}),Ir=Ve=>{Xt.current&&Ve.type!=="touchstart"||(yt&&yt.removeAttribute("title"),Ot.clear(),Fe.clear(),z||Cu&&Q?Ot.start(Cu?Q:z,()=>{qt(Ve)}):qt(Ve))},Mi=Ve=>{Ot.clear(),Fe.start(X,()=>{pr(Ve)})},{isFocusVisibleRef:Qu,onBlur:sm,onFocus:am,ref:Ju}=wp(),[,fl]=B.useState(!1),qu=Ve=>{sm(Ve),Qu.current===!1&&(fl(!1),Mi(Ve))},$u=Ve=>{yt||Un(Ve.currentTarget),am(Ve),Qu.current===!0&&(fl(!0),Ir(Ve))},ed=Ve=>{Xt.current=!0;const pn=Qe.props;pn.onTouchStart&&pn.onTouchStart(Ve)},lm=Ve=>{ed(Ve),Fe.clear(),zt.clear(),Pe(),Be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",_e.start(N,()=>{document.body.style.WebkitUserSelect=Be.current,Ir(Ve)})},td=Ve=>{Qe.props.onTouchEnd&&Qe.props.onTouchEnd(Ve),Pe(),Fe.start(de,()=>{pr(Ve)})};B.useEffect(()=>{if(!ht)return;function Ve(pn){(pn.key==="Escape"||pn.key==="Esc")&&pr(pn)}return document.addEventListener("keydown",Ve),()=>{document.removeEventListener("keydown",Ve)}},[pr,ht]);const cm=xn(Qe.ref,Ju,Un,n);!Ie&&Ie!==0&&(ht=!1);const pl=B.useRef(),um=Ve=>{const pn=Qe.props;pn.onMouseMove&&pn.onMouseMove(Ve),Ya={x:Ve.clientX,y:Ve.clientY},pl.current&&pl.current.update()},ao={},hl=typeof Ie=="string";G?(ao.title=!ht&&hl&&!ae?Ie:null,ao["aria-describedby"]=ht?Ut:null):(ao["aria-label"]=hl?Ie:null,ao["aria-labelledby"]=ht&&!hl?Ut:null);const ln=Z({},ao,me,Qe.props,{className:lt(me.className,Qe.props.className),onTouchStart:ed,ref:cm},re?{onMouseMove:um}:{});process.env.NODE_ENV!=="production"&&(ln["data-mui-internal-clone-element"]=!0,B.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(`
|
|
185
185
|
`))},[yt]));const ki={};J||(ln.onTouchStart=lm,ln.onTouchEnd=td),ae||(ln.onMouseOver=wu(Ir,ln.onMouseOver),ln.onMouseLeave=wu(Mi,ln.onMouseLeave),xt||(ki.onMouseOver=Ir,ki.onMouseLeave=Mi)),le||(ln.onFocus=wu($u,ln.onFocus),ln.onBlur=wu(qu,ln.onBlur),xt||(ki.onFocus=$u,ki.onBlur=qu)),process.env.NODE_ENV!=="production"&&Qe.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${Qe.props.title}\` or the Tooltip component.`].join(`
|
|
186
|
-
`));const dm=B.useMemo(()=>{var Ve;let pn=[{name:"arrow",enabled:!!It,options:{element:It,padding:4}}];return(Ve=Ce.popperOptions)!=null&&Ve.modifiers&&(pn=pn.concat(Ce.popperOptions.modifiers)),X({},Ce.popperOptions,{modifiers:pn})},[It,Ce]),Fi=X({},L,{isRtl:Et,arrow:D,disableInteractive:xt,placement:ve,PopperComponentProp:Te,touch:Xt.current}),gl=qW(Fi),nd=(r=(o=we.popper)!=null?o:Z.Popper)!=null?r:$W,rd=(s=(a=(c=we.transition)!=null?c:Z.Transition)!=null?a:ue)!=null?s:yu,od=(u=(d=we.tooltip)!=null?d:Z.Tooltip)!=null?u:ez,id=(h=(g=we.arrow)!=null?g:Z.Arrow)!=null?h:tz,sd=cs(nd,X({},Ce,(m=be.popper)!=null?m:ee.popper,{className:lt(gl.popper,Ce==null?void 0:Ce.className,(v=(b=be.popper)!=null?b:ee.popper)==null?void 0:v.className)}),Fi),fm=cs(rd,X({},qe,(x=be.transition)!=null?x:ee.transition),Fi),pm=cs(od,X({},(w=be.tooltip)!=null?w:ee.tooltip,{className:lt(gl.tooltip,(I=(F=be.tooltip)!=null?F:ee.tooltip)==null?void 0:I.className)}),Fi),hm=cs(id,X({},(E=be.arrow)!=null?E:ee.arrow,{className:lt(gl.arrow,(k=(P=be.arrow)!=null?P:ee.arrow)==null?void 0:k.className)}),Fi);return f.jsxs(B.Fragment,{children:[B.cloneElement(Qe,ln),f.jsx(nd,X({as:Te??Oh,placement:ve,anchorEl:ne?{getBoundingClientRect:()=>({top:Ya.y,left:Ya.x,right:Ya.x,bottom:Ya.y,width:0,height:0})}:yt,popperRef:pl,open:yt?ht:!1,id:Ut,transition:!0},ki,sd,{popperOptions:dm,children:({TransitionProps:Ve})=>f.jsx(rd,X({timeout:an.transitions.duration.shorter},Ve,fm,{children:f.jsxs(od,X({},pm,{children:[Ie,D?f.jsx(id,X({},hm,{ref:bt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(aw.propTypes={arrow:C.bool,children:yp.isRequired,classes:C.object,className:C.string,components:C.shape({Arrow:C.elementType,Popper:C.elementType,Tooltip:C.elementType,Transition:C.elementType}),componentsProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),describeChild:C.bool,disableFocusListener:C.bool,disableHoverListener:C.bool,disableInteractive:C.bool,disableTouchListener:C.bool,enterDelay:C.number,enterNextDelay:C.number,enterTouchDelay:C.number,followCursor:C.bool,id:C.string,leaveDelay:C.number,leaveTouchDelay:C.number,onClose:C.func,onOpen:C.func,open:C.bool,placement:C.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:C.elementType,PopperProps:C.object,slotProps:C.shape({arrow:C.object,popper:C.object,tooltip:C.object,transition:C.object}),slots:C.shape({arrow:C.elementType,popper:C.elementType,tooltip:C.elementType,transition:C.elementType}),sx:C.oneOfType([C.arrayOf(C.oneOfType([C.func,C.object,C.bool])),C.func,C.object]),title:C.node,TransitionComponent:C.elementType,TransitionProps:C.object});var Ph=function(){return Ph=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},Ph.apply(this,arguments)},nz=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},lw=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?rz:r,s=e.onClick,a=e.className,c=nz(e,["label","icon","onClick","className"]),u=re.useRefresh(),d=re.useTranslate(),h=T.useCallback(function(g){g.preventDefault(),u(),typeof s=="function"&&s(g)},[u,s]);return B.createElement(aw,{title:n&&d(n,{_:"Refresh"})},B.createElement(Rp,Ph({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},rz=B.createElement($C,null);lw.propTypes={className:C.string,label:C.string,icon:C.element};var jh={},oz=Io;Object.defineProperty(jh,"__esModule",{value:!0});var cw=jh.default=void 0,iz=oz(bs()),sz=f;cw=jh.default=(0,iz.default)((0,sz.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save");var Ka=function(){return Ka=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},Ka.apply(this,arguments)},uw=function(e,t,n,r){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(h){try{d(r.next(h))}catch(g){a(g)}}function u(h){try{d(r.throw(h))}catch(g){a(g)}}function d(h){h.done?s(h.value):o(h.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},dw=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(n=0)),n;)try{if(r=1,o&&(s=d[0]&2?o.return:d[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,d[1])).done)return s;switch(o=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,o=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){n.label=d[1];break}if(d[0]===6&&n.label<s[1]){n.label=s[1],s=d;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(d);break}s[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(h){d=[6,h],o=0}finally{r=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},az=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},Mh=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?cz:r;e.invalid;var s=e.label,a=s===void 0?"ra.action.save":s,c=e.onClick,u=e.mutationOptions,d=e.disabled,h=e.type,g=h===void 0?"submit":h,m=e.transform,v=e.variant,b=v===void 0?"contained":v,x=e.alwaysEnable,w=x===void 0?!1:x,I=az(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),F=re.useTranslate(),E=Qn.useFormContext(),k=re.useSaveContext(),P=Qn.useFormState(),L=P.dirtyFields,D=P.isValidating,Y=P.isSubmitting,Z=Object.keys(L).length>0,ee=fz(w===!1||w===void 0?void 0:!w,d||!Z||D||Y);re.warning(g==="submit"&&(u&&(u.onSuccess||u.onError)||m),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var G=T.useCallback(function(q){return uw(void 0,void 0,void 0,function(){var J;return dw(this,function(z){switch(z.label){case 0:return k!=null&&k.save?[4,k.save(q,Ka(Ka({},u),{transform:m}))]:[3,2];case 1:J=z.sent(),z.label=2;case 2:return J!=null&&re.setSubmissionErrors(J,E.setError),[2]}})})},[E.setError,k,u,m]),le=T.useCallback(function(q){return uw(void 0,void 0,void 0,function(){return dw(this,function(J){switch(J.label){case 0:return c&&c(q),q.defaultPrevented?[2]:g!=="button"?[3,2]:(q.stopPropagation(),[4,E.handleSubmit(G)(q)]);case 1:J.sent(),J.label=2;case 2:return[2]}})})},[c,g,E,G]),ae=a&&F(a,{_:a});return B.createElement(dz,Ka({variant:b,type:g,color:n,"aria-label":ae,disabled:ee,onClick:le},I),Y?B.createElement(S.CircularProgress,{sx:lz,size:14,thickness:3,color:"inherit"}):o,ae)},lz={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},cz=B.createElement(cw,null);Mh.propTypes={className:C.string,invalid:C.bool,label:C.string,variant:C.oneOf(["text","outlined","contained"]),icon:C.element,alwaysEnable:C.bool};var uz="RaSaveButton",dz=pe(S.Button,{name:uz,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),fz=function(e,t){return typeof e>"u"?t:e},fw=eu,pz=rh,hz=Ga,pw=fw?fw.isConcatSpreadable:void 0;function gz(e){return hz(e)||pz(e)||!!(pw&&e&&e[pw])}var mz=gz,vz=J1,yz=mz;function hw(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=yz),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?hw(c,t-1,n,r,o):vz(o,c):r||(o[o.length]=c)}return o}var gw=hw;function bz(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 xz=bz;function Cz(e){return e!==e}var wz=Cz;function Sz(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var Az=Sz,Tz=xz,Ez=wz,Iz=Az;function Oz(e,t,n){return t===t?Iz(e,t,n):Tz(e,Ez,n)}var Pz=Oz,jz=Pz;function Mz(e,t){var n=e==null?0:e.length;return!!n&&jz(e,t,0)>-1}var mw=Mz;function kz(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 vw=kz;function Fz(){}var Lz=Fz,kh=cC,Dz=Lz,Rz=th,_z=1/0,Bz=kh&&1/Rz(new kh([,-0]))[1]==_z?function(e){return new kh(e)}:Dz,Nz=Bz,Vz=$p,Wz=mw,zz=vw,Uz=eh,Hz=Nz,Gz=th,Yz=200;function Kz(e,t,n){var r=-1,o=Wz,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=zz;else if(s>=Yz){var d=t?null:Hz(e);if(d)return Gz(d);a=!1,o=Uz,u=new Vz}else u=t?[]:c;e:for(;++r<s;){var h=e[r],g=t?t(h):h;if(h=n||h!==0?h:0,a&&g===g){for(var m=u.length;m--;)if(u[m]===g)continue e;t&&u.push(g),c.push(h)}else o(u,g,n)||(u!==c&&u.push(g),c.push(h))}return c}var Xz=Kz,Zz=gw,Qz=gh,Jz=Xz,qz=hh,$z=Qz(function(e){return Jz(Zz(e,1,qz,!0))}),eU=$z;const tU=Qr(eU);var nU=$p,rU=mw,oU=vw,iU=hW,sU=rC,aU=eh,lU=200;function cU(e,t,n,r){var o=-1,s=rU,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=iU(t,sU(n))),r?(s=oU,a=!1):t.length>=lU&&(s=aU,a=!1,t=new nU(t));e:for(;++o<c;){var h=e[o],g=n==null?h:n(h);if(h=r||h!==0?h:0,a&&g===g){for(var m=d;m--;)if(t[m]===g)continue e;u.push(h)}else s(t,g,r)||u.push(h)}return u}var uU=cU,dU=uU,fU=gw,pU=gh,yw=hh,hU=pU(function(e,t){return yw(e)?dU(e,fU(t,1,yw,!0)):[]}),gU=hU;const mU=Qr(gU);var Fh={},vU=Io;Object.defineProperty(Fh,"__esModule",{value:!0});var Lh=Fh.default=void 0,yU=vU(bs()),bU=f;Lh=Fh.default=(0,yU.default)((0,bU.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 xU(){window.history.go(-1)}function Dh(e){var h;const{error:t,errorComponent:n,errorInfo:r,resetErrorBoundary:o,title:s}=e,a=re.useTranslate(),c=S.useTheme(),u=process.env.NODE_ENV==="production";uW(o);const d=T.useCallback(()=>{xU()},[]);return n?f.jsx(n,{error:t,errorInfo:r,title:s}):f.jsx(S.Container,{children:f.jsxs(S.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[s?f.jsx(KC,{title:s}):null,f.jsx("img",{src:j1,style:{width:"100%",maxWidth:450,marginTop:c.spacing(4)},alt:"oops!"}),f.jsx(S.Typography,{variant:"h2",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:a(u?"ra.page.error":t.message,{_:t.message})}),!u&&f.jsx(S.Typography,{variant:"caption",children:a("ra.message.error_more_info")}),r?f.jsx(S.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"):((h=r==null?void 0:r.componentStack)==null?void 0:h.substring(0,250))+"..."}):null,f.jsx(S.Button,{variant:"contained",startIcon:f.jsx(Fn.History,{}),onClick:d,children:a("ra.action.back")})]})})}var Su={exports:{}};/**
|
|
186
|
+
`));const dm=B.useMemo(()=>{var Ve;let pn=[{name:"arrow",enabled:!!It,options:{element:It,padding:4}}];return(Ve=Ce.popperOptions)!=null&&Ve.modifiers&&(pn=pn.concat(Ce.popperOptions.modifiers)),Z({},Ce.popperOptions,{modifiers:pn})},[It,Ce]),Li=Z({},D,{isRtl:Et,arrow:F,disableInteractive:xt,placement:ve,PopperComponentProp:Te,touch:Xt.current}),gl=tz(Li),nd=(r=(o=we.popper)!=null?o:K.Popper)!=null?r:nz,rd=(s=(a=(c=we.transition)!=null?c:K.Transition)!=null?a:ue)!=null?s:yu,od=(u=(d=we.tooltip)!=null?d:K.Tooltip)!=null?u:rz,id=(h=(g=we.arrow)!=null?g:K.Arrow)!=null?h:oz,sd=cs(nd,Z({},Ce,(m=be.popper)!=null?m:ee.popper,{className:lt(gl.popper,Ce==null?void 0:Ce.className,(v=(b=be.popper)!=null?b:ee.popper)==null?void 0:v.className)}),Li),fm=cs(rd,Z({},qe,(C=be.transition)!=null?C:ee.transition),Li),pm=cs(od,Z({},(w=be.tooltip)!=null?w:ee.tooltip,{className:lt(gl.tooltip,(I=(L=be.tooltip)!=null?L:ee.tooltip)==null?void 0:I.className)}),Li),hm=cs(id,Z({},(E=be.arrow)!=null?E:ee.arrow,{className:lt(gl.arrow,(j=(P=be.arrow)!=null?P:ee.arrow)==null?void 0:j.className)}),Li);return f.jsxs(B.Fragment,{children:[B.cloneElement(Qe,ln),f.jsx(nd,Z({as:Te??Oh,placement:ve,anchorEl:re?{getBoundingClientRect:()=>({top:Ya.y,left:Ya.x,right:Ya.x,bottom:Ya.y,width:0,height:0})}:yt,popperRef:pl,open:yt?ht:!1,id:Ut,transition:!0},ki,sd,{popperOptions:dm,children:({TransitionProps:Ve})=>f.jsx(rd,Z({timeout:an.transitions.duration.shorter},Ve,fm,{children:f.jsxs(od,Z({},pm,{children:[Ie,F?f.jsx(id,Z({},hm,{ref:bt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(aw.propTypes={arrow:x.bool,children:yp.isRequired,classes:x.object,className:x.string,components:x.shape({Arrow:x.elementType,Popper:x.elementType,Tooltip:x.elementType,Transition:x.elementType}),componentsProps:x.shape({arrow:x.object,popper:x.object,tooltip:x.object,transition:x.object}),describeChild:x.bool,disableFocusListener:x.bool,disableHoverListener:x.bool,disableInteractive:x.bool,disableTouchListener:x.bool,enterDelay:x.number,enterNextDelay:x.number,enterTouchDelay:x.number,followCursor:x.bool,id:x.string,leaveDelay:x.number,leaveTouchDelay:x.number,onClose:x.func,onOpen:x.func,open:x.bool,placement:x.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:x.elementType,PopperProps:x.object,slotProps:x.shape({arrow:x.object,popper:x.object,tooltip:x.object,transition:x.object}),slots:x.shape({arrow:x.elementType,popper:x.elementType,tooltip:x.elementType,transition:x.elementType}),sx:x.oneOfType([x.arrayOf(x.oneOfType([x.func,x.object,x.bool])),x.func,x.object]),title:x.node,TransitionComponent:x.elementType,TransitionProps:x.object});var Ph=function(){return Ph=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},Ph.apply(this,arguments)},iz=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},lw=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?sz:r,s=e.onClick,a=e.className,c=iz(e,["label","icon","onClick","className"]),u=ne.useRefresh(),d=ne.useTranslate(),h=T.useCallback(function(g){g.preventDefault(),u(),typeof s=="function"&&s(g)},[u,s]);return B.createElement(aw,{title:n&&d(n,{_:"Refresh"})},B.createElement(_p,Ph({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},sz=B.createElement($C,null);lw.propTypes={className:x.string,label:x.string,icon:x.element};var jh={},az=Io;Object.defineProperty(jh,"__esModule",{value:!0});var cw=jh.default=void 0,lz=az(bs()),cz=f;cw=jh.default=(0,lz.default)((0,cz.jsx)("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"}),"Save");var Ka=function(){return Ka=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},Ka.apply(this,arguments)},uw=function(e,t,n,r){function o(s){return s instanceof n?s:new n(function(a){a(s)})}return new(n||(n=Promise))(function(s,a){function c(h){try{d(r.next(h))}catch(g){a(g)}}function u(h){try{d(r.throw(h))}catch(g){a(g)}}function d(h){h.done?s(h.value):o(h.value).then(c,u)}d((r=r.apply(e,t||[])).next())})},dw=function(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,o,s,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(d){return function(h){return u([d,h])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,d[0]&&(n=0)),n;)try{if(r=1,o&&(s=d[0]&2?o.return:d[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,d[1])).done)return s;switch(o=0,s&&(d=[d[0]&2,s.value]),d[0]){case 0:case 1:s=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,o=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!s||d[1]>s[0]&&d[1]<s[3])){n.label=d[1];break}if(d[0]===6&&n.label<s[1]){n.label=s[1],s=d;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(d);break}s[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(h){d=[6,h],o=0}finally{r=s=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}},uz=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},Mh=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?fz:r;e.invalid;var s=e.label,a=s===void 0?"ra.action.save":s,c=e.onClick,u=e.mutationOptions,d=e.disabled,h=e.type,g=h===void 0?"submit":h,m=e.transform,v=e.variant,b=v===void 0?"contained":v,C=e.alwaysEnable,w=C===void 0?!1:C,I=uz(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),L=ne.useTranslate(),E=Qn.useFormContext(),j=ne.useSaveContext(),P=Qn.useFormState(),D=P.dirtyFields,F=P.isValidating,U=P.isSubmitting,K=Object.keys(D).length>0,ee=gz(w===!1||w===void 0?void 0:!w,d||!K||F||U);ne.warning(g==="submit"&&(u&&(u.onSuccess||u.onError)||m),'Cannot use <SaveButton mutationOptions> props on a button of type "submit". To override the default mutation options on a particular save button, set the <SaveButton type="button"> prop, or set mutationOptions in the main view component (<Create> or <Edit>).');var G=T.useCallback(function(q){return uw(void 0,void 0,void 0,function(){var J;return dw(this,function(z){switch(z.label){case 0:return j!=null&&j.save?[4,j.save(q,Ka(Ka({},u),{transform:m}))]:[3,2];case 1:J=z.sent(),z.label=2;case 2:return J!=null&&ne.setSubmissionErrors(J,E.setError),[2]}})})},[E.setError,j,u,m]),le=T.useCallback(function(q){return uw(void 0,void 0,void 0,function(){return dw(this,function(J){switch(J.label){case 0:return c&&c(q),q.defaultPrevented?[2]:g!=="button"?[3,2]:(q.stopPropagation(),[4,E.handleSubmit(G)(q)]);case 1:J.sent(),J.label=2;case 2:return[2]}})})},[c,g,E,G]),ae=a&&L(a,{_:a});return B.createElement(hz,Ka({variant:b,type:g,color:n,"aria-label":ae,disabled:ee,onClick:le},I),U?B.createElement(S.CircularProgress,{sx:dz,size:14,thickness:3,color:"inherit"}):o,ae)},dz={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},fz=B.createElement(cw,null);Mh.propTypes={className:x.string,invalid:x.bool,label:x.string,variant:x.oneOf(["text","outlined","contained"]),icon:x.element,alwaysEnable:x.bool};var pz="RaSaveButton",hz=pe(S.Button,{name:pz,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={position:"relative"},t["& .MuiSvgIcon-root, & .MuiIcon-root, & .MuiCircularProgress-root"]={marginRight:n.spacing(1)},t["& .MuiSvgIcon-root, & .MuiIcon-root"]={fontSize:18},t}),gz=function(e,t){return typeof e>"u"?t:e},fw=eu,mz=rh,vz=Ga,pw=fw?fw.isConcatSpreadable:void 0;function yz(e){return vz(e)||mz(e)||!!(pw&&e&&e[pw])}var bz=yz,xz=J1,Cz=bz;function hw(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=Cz),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?hw(c,t-1,n,r,o):xz(o,c):r||(o[o.length]=c)}return o}var gw=hw;function wz(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 Sz=wz;function Az(e){return e!==e}var Tz=Az;function Ez(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var Iz=Ez,Oz=Sz,Pz=Tz,jz=Iz;function Mz(e,t,n){return t===t?jz(e,t,n):Oz(e,Pz,n)}var kz=Mz,Lz=kz;function Fz(e,t){var n=e==null?0:e.length;return!!n&&Lz(e,t,0)>-1}var mw=Fz;function Dz(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 vw=Dz;function _z(){}var Rz=_z,kh=cC,Bz=Rz,Nz=th,Vz=1/0,Wz=kh&&1/Nz(new kh([,-0]))[1]==Vz?function(e){return new kh(e)}:Bz,zz=Wz,Uz=$p,Hz=mw,Gz=vw,Yz=eh,Kz=zz,Xz=th,Zz=200;function Qz(e,t,n){var r=-1,o=Hz,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=Gz;else if(s>=Zz){var d=t?null:Kz(e);if(d)return Xz(d);a=!1,o=Yz,u=new Uz}else u=t?[]:c;e:for(;++r<s;){var h=e[r],g=t?t(h):h;if(h=n||h!==0?h:0,a&&g===g){for(var m=u.length;m--;)if(u[m]===g)continue e;t&&u.push(g),c.push(h)}else o(u,g,n)||(u!==c&&u.push(g),c.push(h))}return c}var Jz=Qz,qz=gw,$z=gh,eU=Jz,tU=hh,nU=$z(function(e){return eU(qz(e,1,tU,!0))}),rU=nU;const oU=Qr(rU);var iU=$p,sU=mw,aU=vw,lU=vW,cU=rC,uU=eh,dU=200;function fU(e,t,n,r){var o=-1,s=sU,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=lU(t,cU(n))),r?(s=aU,a=!1):t.length>=dU&&(s=uU,a=!1,t=new iU(t));e:for(;++o<c;){var h=e[o],g=n==null?h:n(h);if(h=r||h!==0?h:0,a&&g===g){for(var m=d;m--;)if(t[m]===g)continue e;u.push(h)}else s(t,g,r)||u.push(h)}return u}var pU=fU,hU=pU,gU=gw,mU=gh,yw=hh,vU=mU(function(e,t){return yw(e)?hU(e,gU(t,1,yw,!0)):[]}),yU=vU;const bU=Qr(yU);var Lh={},xU=Io;Object.defineProperty(Lh,"__esModule",{value:!0});var Fh=Lh.default=void 0,CU=xU(bs()),wU=f;Fh=Lh.default=(0,CU.default)((0,wU.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 SU(){window.history.go(-1)}function Dh(e){var h;const{error:t,errorComponent:n,errorInfo:r,resetErrorBoundary:o,title:s}=e,a=ne.useTranslate(),c=S.useTheme(),u=process.env.NODE_ENV==="production";pW(o);const d=T.useCallback(()=>{SU()},[]);return n?f.jsx(n,{error:t,errorInfo:r,title:s}):f.jsx(S.Container,{children:f.jsxs(S.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[s?f.jsx(KC,{title:s}):null,f.jsx("img",{src:j1,style:{width:"100%",maxWidth:450,marginTop:c.spacing(4)},alt:"oops!"}),f.jsx(S.Typography,{variant:"h2",sx:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:a(u?"ra.page.error":t.message,{_:t.message})}),!u&&f.jsx(S.Typography,{variant:"caption",children:a("ra.message.error_more_info")}),r?f.jsx(S.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"):((h=r==null?void 0:r.componentStack)==null?void 0:h.substring(0,250))+"..."}):null,f.jsx(S.Button,{variant:"contained",startIcon:f.jsx(Ln.History,{}),onClick:d,children:a("ra.action.back")})]})})}var Su={exports:{}};/**
|
|
187
187
|
* @license
|
|
188
188
|
* Lodash <https://lodash.com/>
|
|
189
189
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
190
190
|
* Released under MIT license <https://lodash.com/license>
|
|
191
191
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
192
192
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
193
|
-
*/Su.exports,function(e,t){(function(){var n,r="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",g=1,m=2,v=4,b=1,x=2,w=1,I=2,F=4,E=8,k=16,P=32,L=64,D=128,Y=256,Z=512,ee=30,G="...",le=800,ae=16,q=1,J=2,z=3,Q=1/0,N=9007199254740991,ne=17976931348623157e292,W=NaN,K=4294967295,de=K-1,he=K>>>1,fe=[["ary",D],["bind",w],["bindKey",I],["curry",E],["curryRight",k],["flip",Z],["partial",P],["partialRight",L],["rearg",Y]],ge="[object Arguments]",ve="[object Array]",Te="[object AsyncFunction]",Ce="[object Boolean]",be="[object Date]",we="[object DOMException]",Ie="[object Error]",ue="[object Function]",qe="[object GeneratorFunction]",me="[object Map]",Qe="[object Number]",an="[object Null]",Et="[object Object]",yt="[object Promise]",Un="[object Proxy]",It="[object RegExp]",bt="[object Set]",Xt="[object String]",xt="[object Symbol]",zt="[object Undefined]",Ot="[object WeakMap]",Le="[object WeakSet]",Re="[object ArrayBuffer]",Oe="[object DataView]",xe="[object Float32Array]",ht="[object Float64Array]",Ut="[object Int8Array]",Be="[object Int16Array]",Pe="[object Int32Array]",qt="[object Uint8Array]",pr="[object Uint8ClampedArray]",Ir="[object Uint16Array]",Mi="[object Uint32Array]",Qu=/\b__p \+= '';/g,sm=/\b(__p \+=) '' \+/g,am=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ju=/&(?:amp|lt|gt|quot|#39);/g,fl=/[&<>"']/g,qu=RegExp(Ju.source),$u=RegExp(fl.source),ed=/<%-([\s\S]+?)%>/g,lm=/<%([\s\S]+?)%>/g,td=/<%=([\s\S]+?)%>/g,cm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pl=/^\w*$/,um=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ao=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(ao.source),ln=/^\s+/,ki=/\s/,dm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fi=/\{\n\/\* \[wrapped with (.+)\] \*/,gl=/,? & /,nd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rd=/[()=,{}\[\]\/\s]/,od=/\\(\\)?/g,id=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sd=/\w*$/,fm=/^[-+]0x[0-9a-f]+$/i,pm=/^0b[01]+$/i,hm=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,pn=/^(?:0|[1-9]\d*)$/,XQ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ad=/($^)/,ZQ=/['\n\r\u2028\u2029\\]/g,ld="\\ud800-\\udfff",QQ="\\u0300-\\u036f",JQ="\\ufe20-\\ufe2f",qQ="\\u20d0-\\u20ff",dE=QQ+JQ+qQ,fE="\\u2700-\\u27bf",pE="a-z\\xdf-\\xf6\\xf8-\\xff",$Q="\\xac\\xb1\\xd7\\xf7",eJ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",tJ="\\u2000-\\u206f",nJ=" \\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",hE="A-Z\\xc0-\\xd6\\xd8-\\xde",gE="\\ufe0e\\ufe0f",mE=$Q+eJ+tJ+nJ,gm="['’]",rJ="["+ld+"]",vE="["+mE+"]",cd="["+dE+"]",yE="\\d+",oJ="["+fE+"]",bE="["+pE+"]",xE="[^"+ld+mE+yE+fE+pE+hE+"]",mm="\\ud83c[\\udffb-\\udfff]",iJ="(?:"+cd+"|"+mm+")",CE="[^"+ld+"]",vm="(?:\\ud83c[\\udde6-\\uddff]){2}",ym="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+hE+"]",wE="\\u200d",SE="(?:"+bE+"|"+xE+")",sJ="(?:"+zs+"|"+xE+")",AE="(?:"+gm+"(?:d|ll|m|re|s|t|ve))?",TE="(?:"+gm+"(?:D|LL|M|RE|S|T|VE))?",EE=iJ+"?",IE="["+gE+"]?",aJ="(?:"+wE+"(?:"+[CE,vm,ym].join("|")+")"+IE+EE+")*",lJ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",cJ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",OE=IE+EE+aJ,uJ="(?:"+[oJ,vm,ym].join("|")+")"+OE,dJ="(?:"+[CE+cd+"?",cd,vm,ym,rJ].join("|")+")",fJ=RegExp(gm,"g"),pJ=RegExp(cd,"g"),bm=RegExp(mm+"(?="+mm+")|"+dJ+OE,"g"),hJ=RegExp([zs+"?"+bE+"+"+AE+"(?="+[vE,zs,"$"].join("|")+")",sJ+"+"+TE+"(?="+[vE,zs+SE,"$"].join("|")+")",zs+"?"+SE+"+"+AE,zs+"+"+TE,cJ,lJ,yE,uJ].join("|"),"g"),gJ=RegExp("["+wE+ld+dE+gE+"]"),mJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],yJ=-1,Ct={};Ct[xe]=Ct[ht]=Ct[Ut]=Ct[Be]=Ct[Pe]=Ct[qt]=Ct[pr]=Ct[Ir]=Ct[Mi]=!0,Ct[ge]=Ct[ve]=Ct[Re]=Ct[Ce]=Ct[Oe]=Ct[be]=Ct[Ie]=Ct[ue]=Ct[me]=Ct[Qe]=Ct[Et]=Ct[It]=Ct[bt]=Ct[Xt]=Ct[Ot]=!1;var gt={};gt[ge]=gt[ve]=gt[Re]=gt[Oe]=gt[Ce]=gt[be]=gt[xe]=gt[ht]=gt[Ut]=gt[Be]=gt[Pe]=gt[me]=gt[Qe]=gt[Et]=gt[It]=gt[bt]=gt[Xt]=gt[xt]=gt[qt]=gt[pr]=gt[Ir]=gt[Mi]=!0,gt[Ie]=gt[ue]=gt[Ot]=!1;var bJ={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",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"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},xJ={"&":"&","<":"<",">":">",'"':""","'":"'"},CJ={"&":"&","<":"<",">":">",""":'"',"'":"'"},wJ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},SJ=parseFloat,AJ=parseInt,PE=typeof yn=="object"&&yn&&yn.Object===Object&&yn,TJ=typeof self=="object"&&self&&self.Object===Object&&self,$t=PE||TJ||Function("return this")(),xm=t&&!t.nodeType&&t,Li=xm&&!0&&e&&!e.nodeType&&e,jE=Li&&Li.exports===xm,Cm=jE&&PE.process,hr=function(){try{var U=Li&&Li.require&&Li.require("util").types;return U||Cm&&Cm.binding&&Cm.binding("util")}catch{}}(),ME=hr&&hr.isArrayBuffer,kE=hr&&hr.isDate,FE=hr&&hr.isMap,LE=hr&&hr.isRegExp,DE=hr&&hr.isSet,RE=hr&&hr.isTypedArray;function Hn(U,oe,te){switch(te.length){case 0:return U.call(oe);case 1:return U.call(oe,te[0]);case 2:return U.call(oe,te[0],te[1]);case 3:return U.call(oe,te[0],te[1],te[2])}return U.apply(oe,te)}function EJ(U,oe,te,Se){for(var _e=-1,nt=U==null?0:U.length;++_e<nt;){var Gt=U[_e];oe(Se,Gt,te(Gt),U)}return Se}function gr(U,oe){for(var te=-1,Se=U==null?0:U.length;++te<Se&&oe(U[te],te,U)!==!1;);return U}function IJ(U,oe){for(var te=U==null?0:U.length;te--&&oe(U[te],te,U)!==!1;);return U}function _E(U,oe){for(var te=-1,Se=U==null?0:U.length;++te<Se;)if(!oe(U[te],te,U))return!1;return!0}function Ho(U,oe){for(var te=-1,Se=U==null?0:U.length,_e=0,nt=[];++te<Se;){var Gt=U[te];oe(Gt,te,U)&&(nt[_e++]=Gt)}return nt}function ud(U,oe){var te=U==null?0:U.length;return!!te&&Us(U,oe,0)>-1}function wm(U,oe,te){for(var Se=-1,_e=U==null?0:U.length;++Se<_e;)if(te(oe,U[Se]))return!0;return!1}function At(U,oe){for(var te=-1,Se=U==null?0:U.length,_e=Array(Se);++te<Se;)_e[te]=oe(U[te],te,U);return _e}function Go(U,oe){for(var te=-1,Se=oe.length,_e=U.length;++te<Se;)U[_e+te]=oe[te];return U}function Sm(U,oe,te,Se){var _e=-1,nt=U==null?0:U.length;for(Se&&nt&&(te=U[++_e]);++_e<nt;)te=oe(te,U[_e],_e,U);return te}function OJ(U,oe,te,Se){var _e=U==null?0:U.length;for(Se&&_e&&(te=U[--_e]);_e--;)te=oe(te,U[_e],_e,U);return te}function Am(U,oe){for(var te=-1,Se=U==null?0:U.length;++te<Se;)if(oe(U[te],te,U))return!0;return!1}var PJ=Tm("length");function jJ(U){return U.split("")}function MJ(U){return U.match(nd)||[]}function BE(U,oe,te){var Se;return te(U,function(_e,nt,Gt){if(oe(_e,nt,Gt))return Se=nt,!1}),Se}function dd(U,oe,te,Se){for(var _e=U.length,nt=te+(Se?1:-1);Se?nt--:++nt<_e;)if(oe(U[nt],nt,U))return nt;return-1}function Us(U,oe,te){return oe===oe?UJ(U,oe,te):dd(U,NE,te)}function kJ(U,oe,te,Se){for(var _e=te-1,nt=U.length;++_e<nt;)if(Se(U[_e],oe))return _e;return-1}function NE(U){return U!==U}function VE(U,oe){var te=U==null?0:U.length;return te?Im(U,oe)/te:W}function Tm(U){return function(oe){return oe==null?n:oe[U]}}function Em(U){return function(oe){return U==null?n:U[oe]}}function WE(U,oe,te,Se,_e){return _e(U,function(nt,Gt,ft){te=Se?(Se=!1,nt):oe(te,nt,Gt,ft)}),te}function FJ(U,oe){var te=U.length;for(U.sort(oe);te--;)U[te]=U[te].value;return U}function Im(U,oe){for(var te,Se=-1,_e=U.length;++Se<_e;){var nt=oe(U[Se]);nt!==n&&(te=te===n?nt:te+nt)}return te}function Om(U,oe){for(var te=-1,Se=Array(U);++te<U;)Se[te]=oe(te);return Se}function LJ(U,oe){return At(oe,function(te){return[te,U[te]]})}function zE(U){return U&&U.slice(0,YE(U)+1).replace(ln,"")}function Gn(U){return function(oe){return U(oe)}}function Pm(U,oe){return At(oe,function(te){return U[te]})}function ml(U,oe){return U.has(oe)}function UE(U,oe){for(var te=-1,Se=U.length;++te<Se&&Us(oe,U[te],0)>-1;);return te}function HE(U,oe){for(var te=U.length;te--&&Us(oe,U[te],0)>-1;);return te}function DJ(U,oe){for(var te=U.length,Se=0;te--;)U[te]===oe&&++Se;return Se}var RJ=Em(bJ),_J=Em(xJ);function BJ(U){return"\\"+wJ[U]}function NJ(U,oe){return U==null?n:U[oe]}function Hs(U){return gJ.test(U)}function VJ(U){return mJ.test(U)}function WJ(U){for(var oe,te=[];!(oe=U.next()).done;)te.push(oe.value);return te}function jm(U){var oe=-1,te=Array(U.size);return U.forEach(function(Se,_e){te[++oe]=[_e,Se]}),te}function GE(U,oe){return function(te){return U(oe(te))}}function Yo(U,oe){for(var te=-1,Se=U.length,_e=0,nt=[];++te<Se;){var Gt=U[te];(Gt===oe||Gt===h)&&(U[te]=h,nt[_e++]=te)}return nt}function fd(U){var oe=-1,te=Array(U.size);return U.forEach(function(Se){te[++oe]=Se}),te}function zJ(U){var oe=-1,te=Array(U.size);return U.forEach(function(Se){te[++oe]=[Se,Se]}),te}function UJ(U,oe,te){for(var Se=te-1,_e=U.length;++Se<_e;)if(U[Se]===oe)return Se;return-1}function HJ(U,oe,te){for(var Se=te+1;Se--;)if(U[Se]===oe)return Se;return Se}function Gs(U){return Hs(U)?YJ(U):PJ(U)}function Or(U){return Hs(U)?KJ(U):jJ(U)}function YE(U){for(var oe=U.length;oe--&&ki.test(U.charAt(oe)););return oe}var GJ=Em(CJ);function YJ(U){for(var oe=bm.lastIndex=0;bm.test(U);)++oe;return oe}function KJ(U){return U.match(bm)||[]}function XJ(U){return U.match(hJ)||[]}var ZJ=function U(oe){oe=oe==null?$t:Ys.defaults($t.Object(),oe,Ys.pick($t,vJ));var te=oe.Array,Se=oe.Date,_e=oe.Error,nt=oe.Function,Gt=oe.Math,ft=oe.Object,Mm=oe.RegExp,QJ=oe.String,mr=oe.TypeError,pd=te.prototype,JJ=nt.prototype,Ks=ft.prototype,hd=oe["__core-js_shared__"],gd=JJ.toString,ct=Ks.hasOwnProperty,qJ=0,KE=function(){var i=/[^.]+$/.exec(hd&&hd.keys&&hd.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),md=Ks.toString,$J=gd.call(ft),eq=$t._,tq=Mm("^"+gd.call(ct).replace(ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vd=jE?oe.Buffer:n,Ko=oe.Symbol,yd=oe.Uint8Array,XE=vd?vd.allocUnsafe:n,bd=GE(ft.getPrototypeOf,ft),ZE=ft.create,QE=Ks.propertyIsEnumerable,xd=pd.splice,JE=Ko?Ko.isConcatSpreadable:n,vl=Ko?Ko.iterator:n,Di=Ko?Ko.toStringTag:n,Cd=function(){try{var i=Vi(ft,"defineProperty");return i({},"",{}),i}catch{}}(),nq=oe.clearTimeout!==$t.clearTimeout&&oe.clearTimeout,rq=Se&&Se.now!==$t.Date.now&&Se.now,oq=oe.setTimeout!==$t.setTimeout&&oe.setTimeout,wd=Gt.ceil,Sd=Gt.floor,km=ft.getOwnPropertySymbols,iq=vd?vd.isBuffer:n,qE=oe.isFinite,sq=pd.join,aq=GE(ft.keys,ft),Yt=Gt.max,cn=Gt.min,lq=Se.now,cq=oe.parseInt,$E=Gt.random,uq=pd.reverse,Fm=Vi(oe,"DataView"),yl=Vi(oe,"Map"),Lm=Vi(oe,"Promise"),Xs=Vi(oe,"Set"),bl=Vi(oe,"WeakMap"),xl=Vi(ft,"create"),Ad=bl&&new bl,Zs={},dq=Wi(Fm),fq=Wi(yl),pq=Wi(Lm),hq=Wi(Xs),gq=Wi(bl),Td=Ko?Ko.prototype:n,Cl=Td?Td.valueOf:n,eI=Td?Td.toString:n;function O(i){if(Lt(i)&&!Ne(i)&&!(i instanceof Xe)){if(i instanceof vr)return i;if(ct.call(i,"__wrapped__"))return tO(i)}return new vr(i)}var Qs=function(){function i(){}return function(l){if(!Pt(l))return{};if(ZE)return ZE(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function Ed(){}function vr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:ed,evaluate:lm,interpolate:td,variable:"",imports:{_:O}},O.prototype=Ed.prototype,O.prototype.constructor=O,vr.prototype=Qs(Ed.prototype),vr.prototype.constructor=vr;function Xe(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=K,this.__views__=[]}function mq(){var i=new Xe(this.__wrapped__);return i.__actions__=On(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=On(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=On(this.__views__),i}function vq(){if(this.__filtered__){var i=new Xe(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function yq(){var i=this.__wrapped__.value(),l=this.__dir__,p=Ne(i),y=l<0,A=p?i.length:0,j=j$(0,A,this.__views__),R=j.start,V=j.end,H=V-R,ie=y?V:R-1,se=this.__iteratees__,ce=se.length,ye=0,Ee=cn(H,this.__takeCount__);if(!p||!y&&A==H&&Ee==H)return AI(i,this.__actions__);var Me=[];e:for(;H--&&ye<Ee;){ie+=l;for(var ze=-1,ke=i[ie];++ze<ce;){var Ye=se[ze],Ze=Ye.iteratee,Xn=Ye.type,mn=Ze(ke);if(Xn==J)ke=mn;else if(!mn){if(Xn==q)continue e;break e}}Me[ye++]=ke}return Me}Xe.prototype=Qs(Ed.prototype),Xe.prototype.constructor=Xe;function Ri(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function bq(){this.__data__=xl?xl(null):{},this.size=0}function xq(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function Cq(i){var l=this.__data__;if(xl){var p=l[i];return p===u?n:p}return ct.call(l,i)?l[i]:n}function wq(i){var l=this.__data__;return xl?l[i]!==n:ct.call(l,i)}function Sq(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=xl&&l===n?u:l,this}Ri.prototype.clear=bq,Ri.prototype.delete=xq,Ri.prototype.get=Cq,Ri.prototype.has=wq,Ri.prototype.set=Sq;function lo(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function Aq(){this.__data__=[],this.size=0}function Tq(i){var l=this.__data__,p=Id(l,i);if(p<0)return!1;var y=l.length-1;return p==y?l.pop():xd.call(l,p,1),--this.size,!0}function Eq(i){var l=this.__data__,p=Id(l,i);return p<0?n:l[p][1]}function Iq(i){return Id(this.__data__,i)>-1}function Oq(i,l){var p=this.__data__,y=Id(p,i);return y<0?(++this.size,p.push([i,l])):p[y][1]=l,this}lo.prototype.clear=Aq,lo.prototype.delete=Tq,lo.prototype.get=Eq,lo.prototype.has=Iq,lo.prototype.set=Oq;function co(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function Pq(){this.size=0,this.__data__={hash:new Ri,map:new(yl||lo),string:new Ri}}function jq(i){var l=Nd(this,i).delete(i);return this.size-=l?1:0,l}function Mq(i){return Nd(this,i).get(i)}function kq(i){return Nd(this,i).has(i)}function Fq(i,l){var p=Nd(this,i),y=p.size;return p.set(i,l),this.size+=p.size==y?0:1,this}co.prototype.clear=Pq,co.prototype.delete=jq,co.prototype.get=Mq,co.prototype.has=kq,co.prototype.set=Fq;function _i(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new co;++l<p;)this.add(i[l])}function Lq(i){return this.__data__.set(i,u),this}function Dq(i){return this.__data__.has(i)}_i.prototype.add=_i.prototype.push=Lq,_i.prototype.has=Dq;function Pr(i){var l=this.__data__=new lo(i);this.size=l.size}function Rq(){this.__data__=new lo,this.size=0}function _q(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function Bq(i){return this.__data__.get(i)}function Nq(i){return this.__data__.has(i)}function Vq(i,l){var p=this.__data__;if(p instanceof lo){var y=p.__data__;if(!yl||y.length<o-1)return y.push([i,l]),this.size=++p.size,this;p=this.__data__=new co(y)}return p.set(i,l),this.size=p.size,this}Pr.prototype.clear=Rq,Pr.prototype.delete=_q,Pr.prototype.get=Bq,Pr.prototype.has=Nq,Pr.prototype.set=Vq;function tI(i,l){var p=Ne(i),y=!p&&zi(i),A=!p&&!y&&qo(i),j=!p&&!y&&!A&&ea(i),R=p||y||A||j,V=R?Om(i.length,QJ):[],H=V.length;for(var ie in i)(l||ct.call(i,ie))&&!(R&&(ie=="length"||A&&(ie=="offset"||ie=="parent")||j&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||ho(ie,H)))&&V.push(ie);return V}function nI(i){var l=i.length;return l?i[Gm(0,l-1)]:n}function Wq(i,l){return Vd(On(i),Bi(l,0,i.length))}function zq(i){return Vd(On(i))}function Dm(i,l,p){(p!==n&&!jr(i[l],p)||p===n&&!(l in i))&&uo(i,l,p)}function wl(i,l,p){var y=i[l];(!(ct.call(i,l)&&jr(y,p))||p===n&&!(l in i))&&uo(i,l,p)}function Id(i,l){for(var p=i.length;p--;)if(jr(i[p][0],l))return p;return-1}function Uq(i,l,p,y){return Xo(i,function(A,j,R){l(y,A,p(A),R)}),y}function rI(i,l){return i&&Hr(l,Zt(l),i)}function Hq(i,l){return i&&Hr(l,jn(l),i)}function uo(i,l,p){l=="__proto__"&&Cd?Cd(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function Rm(i,l){for(var p=-1,y=l.length,A=te(y),j=i==null;++p<y;)A[p]=j?n:m0(i,l[p]);return A}function Bi(i,l,p){return i===i&&(p!==n&&(i=i<=p?i:p),l!==n&&(i=i>=l?i:l)),i}function yr(i,l,p,y,A,j){var R,V=l&g,H=l&m,ie=l&v;if(p&&(R=A?p(i,y,A,j):p(i)),R!==n)return R;if(!Pt(i))return i;var se=Ne(i);if(se){if(R=k$(i),!V)return On(i,R)}else{var ce=un(i),ye=ce==ue||ce==qe;if(qo(i))return II(i,V);if(ce==Et||ce==ge||ye&&!A){if(R=H||ye?{}:YI(i),!V)return H?C$(i,Hq(R,i)):x$(i,rI(R,i))}else{if(!gt[ce])return A?i:{};R=F$(i,ce,V)}}j||(j=new Pr);var Ee=j.get(i);if(Ee)return Ee;j.set(i,R),CO(i)?i.forEach(function(ke){R.add(yr(ke,l,p,ke,i,j))}):bO(i)&&i.forEach(function(ke,Ye){R.set(Ye,yr(ke,l,p,Ye,i,j))});var Me=ie?H?n0:t0:H?jn:Zt,ze=se?n:Me(i);return gr(ze||i,function(ke,Ye){ze&&(Ye=ke,ke=i[Ye]),wl(R,Ye,yr(ke,l,p,Ye,i,j))}),R}function Gq(i){var l=Zt(i);return function(p){return oI(p,i,l)}}function oI(i,l,p){var y=p.length;if(i==null)return!y;for(i=ft(i);y--;){var A=p[y],j=l[A],R=i[A];if(R===n&&!(A in i)||!j(R))return!1}return!0}function iI(i,l,p){if(typeof i!="function")throw new mr(a);return Pl(function(){i.apply(n,p)},l)}function Sl(i,l,p,y){var A=-1,j=ud,R=!0,V=i.length,H=[],ie=l.length;if(!V)return H;p&&(l=At(l,Gn(p))),y?(j=wm,R=!1):l.length>=o&&(j=ml,R=!1,l=new _i(l));e:for(;++A<V;){var se=i[A],ce=p==null?se:p(se);if(se=y||se!==0?se:0,R&&ce===ce){for(var ye=ie;ye--;)if(l[ye]===ce)continue e;H.push(se)}else j(l,ce,y)||H.push(se)}return H}var Xo=kI(Ur),sI=kI(Bm,!0);function Yq(i,l){var p=!0;return Xo(i,function(y,A,j){return p=!!l(y,A,j),p}),p}function Od(i,l,p){for(var y=-1,A=i.length;++y<A;){var j=i[y],R=l(j);if(R!=null&&(V===n?R===R&&!Kn(R):p(R,V)))var V=R,H=j}return H}function Kq(i,l,p,y){var A=i.length;for(p=We(p),p<0&&(p=-p>A?0:A+p),y=y===n||y>A?A:We(y),y<0&&(y+=A),y=p>y?0:SO(y);p<y;)i[p++]=l;return i}function aI(i,l){var p=[];return Xo(i,function(y,A,j){l(y,A,j)&&p.push(y)}),p}function en(i,l,p,y,A){var j=-1,R=i.length;for(p||(p=D$),A||(A=[]);++j<R;){var V=i[j];l>0&&p(V)?l>1?en(V,l-1,p,y,A):Go(A,V):y||(A[A.length]=V)}return A}var _m=FI(),lI=FI(!0);function Ur(i,l){return i&&_m(i,l,Zt)}function Bm(i,l){return i&&lI(i,l,Zt)}function Pd(i,l){return Ho(l,function(p){return go(i[p])})}function Ni(i,l){l=Qo(l,i);for(var p=0,y=l.length;i!=null&&p<y;)i=i[Gr(l[p++])];return p&&p==y?i:n}function cI(i,l,p){var y=l(i);return Ne(i)?y:Go(y,p(i))}function hn(i){return i==null?i===n?zt:an:Di&&Di in ft(i)?P$(i):z$(i)}function Nm(i,l){return i>l}function Xq(i,l){return i!=null&&ct.call(i,l)}function Zq(i,l){return i!=null&&l in ft(i)}function Qq(i,l,p){return i>=cn(l,p)&&i<Yt(l,p)}function Vm(i,l,p){for(var y=p?wm:ud,A=i[0].length,j=i.length,R=j,V=te(j),H=1/0,ie=[];R--;){var se=i[R];R&&l&&(se=At(se,Gn(l))),H=cn(se.length,H),V[R]=!p&&(l||A>=120&&se.length>=120)?new _i(R&&se):n}se=i[0];var ce=-1,ye=V[0];e:for(;++ce<A&&ie.length<H;){var Ee=se[ce],Me=l?l(Ee):Ee;if(Ee=p||Ee!==0?Ee:0,!(ye?ml(ye,Me):y(ie,Me,p))){for(R=j;--R;){var ze=V[R];if(!(ze?ml(ze,Me):y(i[R],Me,p)))continue e}ye&&ye.push(Me),ie.push(Ee)}}return ie}function Jq(i,l,p,y){return Ur(i,function(A,j,R){l(y,p(A),j,R)}),y}function Al(i,l,p){l=Qo(l,i),i=QI(i,l);var y=i==null?i:i[Gr(xr(l))];return y==null?n:Hn(y,i,p)}function uI(i){return Lt(i)&&hn(i)==ge}function qq(i){return Lt(i)&&hn(i)==Re}function $q(i){return Lt(i)&&hn(i)==be}function Tl(i,l,p,y,A){return i===l?!0:i==null||l==null||!Lt(i)&&!Lt(l)?i!==i&&l!==l:e$(i,l,p,y,Tl,A)}function e$(i,l,p,y,A,j){var R=Ne(i),V=Ne(l),H=R?ve:un(i),ie=V?ve:un(l);H=H==ge?Et:H,ie=ie==ge?Et:ie;var se=H==Et,ce=ie==Et,ye=H==ie;if(ye&&qo(i)){if(!qo(l))return!1;R=!0,se=!1}if(ye&&!se)return j||(j=new Pr),R||ea(i)?UI(i,l,p,y,A,j):I$(i,l,H,p,y,A,j);if(!(p&b)){var Ee=se&&ct.call(i,"__wrapped__"),Me=ce&&ct.call(l,"__wrapped__");if(Ee||Me){var ze=Ee?i.value():i,ke=Me?l.value():l;return j||(j=new Pr),A(ze,ke,p,y,j)}}return ye?(j||(j=new Pr),O$(i,l,p,y,A,j)):!1}function t$(i){return Lt(i)&&un(i)==me}function Wm(i,l,p,y){var A=p.length,j=A,R=!y;if(i==null)return!j;for(i=ft(i);A--;){var V=p[A];if(R&&V[2]?V[1]!==i[V[0]]:!(V[0]in i))return!1}for(;++A<j;){V=p[A];var H=V[0],ie=i[H],se=V[1];if(R&&V[2]){if(ie===n&&!(H in i))return!1}else{var ce=new Pr;if(y)var ye=y(ie,se,H,i,l,ce);if(!(ye===n?Tl(se,ie,b|x,y,ce):ye))return!1}}return!0}function dI(i){if(!Pt(i)||_$(i))return!1;var l=go(i)?tq:hm;return l.test(Wi(i))}function n$(i){return Lt(i)&&hn(i)==It}function r$(i){return Lt(i)&&un(i)==bt}function o$(i){return Lt(i)&&Yd(i.length)&&!!Ct[hn(i)]}function fI(i){return typeof i=="function"?i:i==null?Mn:typeof i=="object"?Ne(i)?gI(i[0],i[1]):hI(i):LO(i)}function zm(i){if(!Ol(i))return aq(i);var l=[];for(var p in ft(i))ct.call(i,p)&&p!="constructor"&&l.push(p);return l}function i$(i){if(!Pt(i))return W$(i);var l=Ol(i),p=[];for(var y in i)y=="constructor"&&(l||!ct.call(i,y))||p.push(y);return p}function Um(i,l){return i<l}function pI(i,l){var p=-1,y=Pn(i)?te(i.length):[];return Xo(i,function(A,j,R){y[++p]=l(A,j,R)}),y}function hI(i){var l=o0(i);return l.length==1&&l[0][2]?XI(l[0][0],l[0][1]):function(p){return p===i||Wm(p,i,l)}}function gI(i,l){return s0(i)&&KI(l)?XI(Gr(i),l):function(p){var y=m0(p,i);return y===n&&y===l?v0(p,i):Tl(l,y,b|x)}}function jd(i,l,p,y,A){i!==l&&_m(l,function(j,R){if(A||(A=new Pr),Pt(j))s$(i,l,R,p,jd,y,A);else{var V=y?y(l0(i,R),j,R+"",i,l,A):n;V===n&&(V=j),Dm(i,R,V)}},jn)}function s$(i,l,p,y,A,j,R){var V=l0(i,p),H=l0(l,p),ie=R.get(H);if(ie){Dm(i,p,ie);return}var se=j?j(V,H,p+"",i,l,R):n,ce=se===n;if(ce){var ye=Ne(H),Ee=!ye&&qo(H),Me=!ye&&!Ee&&ea(H);se=H,ye||Ee||Me?Ne(V)?se=V:_t(V)?se=On(V):Ee?(ce=!1,se=II(H,!0)):Me?(ce=!1,se=OI(H,!0)):se=[]:jl(H)||zi(H)?(se=V,zi(V)?se=AO(V):(!Pt(V)||go(V))&&(se=YI(H))):ce=!1}ce&&(R.set(H,se),A(se,H,y,j,R),R.delete(H)),Dm(i,p,se)}function mI(i,l){var p=i.length;if(p)return l+=l<0?p:0,ho(l,p)?i[l]:n}function vI(i,l,p){l.length?l=At(l,function(j){return Ne(j)?function(R){return Ni(R,j.length===1?j[0]:j)}:j}):l=[Mn];var y=-1;l=At(l,Gn(je()));var A=pI(i,function(j,R,V){var H=At(l,function(ie){return ie(j)});return{criteria:H,index:++y,value:j}});return FJ(A,function(j,R){return b$(j,R,p)})}function a$(i,l){return yI(i,l,function(p,y){return v0(i,y)})}function yI(i,l,p){for(var y=-1,A=l.length,j={};++y<A;){var R=l[y],V=Ni(i,R);p(V,R)&&El(j,Qo(R,i),V)}return j}function l$(i){return function(l){return Ni(l,i)}}function Hm(i,l,p,y){var A=y?kJ:Us,j=-1,R=l.length,V=i;for(i===l&&(l=On(l)),p&&(V=At(i,Gn(p)));++j<R;)for(var H=0,ie=l[j],se=p?p(ie):ie;(H=A(V,se,H,y))>-1;)V!==i&&xd.call(V,H,1),xd.call(i,H,1);return i}function bI(i,l){for(var p=i?l.length:0,y=p-1;p--;){var A=l[p];if(p==y||A!==j){var j=A;ho(A)?xd.call(i,A,1):Xm(i,A)}}return i}function Gm(i,l){return i+Sd($E()*(l-i+1))}function c$(i,l,p,y){for(var A=-1,j=Yt(wd((l-i)/(p||1)),0),R=te(j);j--;)R[y?j:++A]=i,i+=p;return R}function Ym(i,l){var p="";if(!i||l<1||l>N)return p;do l%2&&(p+=i),l=Sd(l/2),l&&(i+=i);while(l);return p}function Ue(i,l){return c0(ZI(i,l,Mn),i+"")}function u$(i){return nI(ta(i))}function d$(i,l){var p=ta(i);return Vd(p,Bi(l,0,p.length))}function El(i,l,p,y){if(!Pt(i))return i;l=Qo(l,i);for(var A=-1,j=l.length,R=j-1,V=i;V!=null&&++A<j;){var H=Gr(l[A]),ie=p;if(H==="__proto__"||H==="constructor"||H==="prototype")return i;if(A!=R){var se=V[H];ie=y?y(se,H,V):n,ie===n&&(ie=Pt(se)?se:ho(l[A+1])?[]:{})}wl(V,H,ie),V=V[H]}return i}var xI=Ad?function(i,l){return Ad.set(i,l),i}:Mn,f$=Cd?function(i,l){return Cd(i,"toString",{configurable:!0,enumerable:!1,value:b0(l),writable:!0})}:Mn;function p$(i){return Vd(ta(i))}function br(i,l,p){var y=-1,A=i.length;l<0&&(l=-l>A?0:A+l),p=p>A?A:p,p<0&&(p+=A),A=l>p?0:p-l>>>0,l>>>=0;for(var j=te(A);++y<A;)j[y]=i[y+l];return j}function h$(i,l){var p;return Xo(i,function(y,A,j){return p=l(y,A,j),!p}),!!p}function Md(i,l,p){var y=0,A=i==null?y:i.length;if(typeof l=="number"&&l===l&&A<=he){for(;y<A;){var j=y+A>>>1,R=i[j];R!==null&&!Kn(R)&&(p?R<=l:R<l)?y=j+1:A=j}return A}return Km(i,l,Mn,p)}function Km(i,l,p,y){var A=0,j=i==null?0:i.length;if(j===0)return 0;l=p(l);for(var R=l!==l,V=l===null,H=Kn(l),ie=l===n;A<j;){var se=Sd((A+j)/2),ce=p(i[se]),ye=ce!==n,Ee=ce===null,Me=ce===ce,ze=Kn(ce);if(R)var ke=y||Me;else ie?ke=Me&&(y||ye):V?ke=Me&&ye&&(y||!Ee):H?ke=Me&&ye&&!Ee&&(y||!ze):Ee||ze?ke=!1:ke=y?ce<=l:ce<l;ke?A=se+1:j=se}return cn(j,de)}function CI(i,l){for(var p=-1,y=i.length,A=0,j=[];++p<y;){var R=i[p],V=l?l(R):R;if(!p||!jr(V,H)){var H=V;j[A++]=R===0?0:R}}return j}function wI(i){return typeof i=="number"?i:Kn(i)?W:+i}function Yn(i){if(typeof i=="string")return i;if(Ne(i))return At(i,Yn)+"";if(Kn(i))return eI?eI.call(i):"";var l=i+"";return l=="0"&&1/i==-Q?"-0":l}function Zo(i,l,p){var y=-1,A=ud,j=i.length,R=!0,V=[],H=V;if(p)R=!1,A=wm;else if(j>=o){var ie=l?null:T$(i);if(ie)return fd(ie);R=!1,A=ml,H=new _i}else H=l?[]:V;e:for(;++y<j;){var se=i[y],ce=l?l(se):se;if(se=p||se!==0?se:0,R&&ce===ce){for(var ye=H.length;ye--;)if(H[ye]===ce)continue e;l&&H.push(ce),V.push(se)}else A(H,ce,p)||(H!==V&&H.push(ce),V.push(se))}return V}function Xm(i,l){return l=Qo(l,i),i=QI(i,l),i==null||delete i[Gr(xr(l))]}function SI(i,l,p,y){return El(i,l,p(Ni(i,l)),y)}function kd(i,l,p,y){for(var A=i.length,j=y?A:-1;(y?j--:++j<A)&&l(i[j],j,i););return p?br(i,y?0:j,y?j+1:A):br(i,y?j+1:0,y?A:j)}function AI(i,l){var p=i;return p instanceof Xe&&(p=p.value()),Sm(l,function(y,A){return A.func.apply(A.thisArg,Go([y],A.args))},p)}function Zm(i,l,p){var y=i.length;if(y<2)return y?Zo(i[0]):[];for(var A=-1,j=te(y);++A<y;)for(var R=i[A],V=-1;++V<y;)V!=A&&(j[A]=Sl(j[A]||R,i[V],l,p));return Zo(en(j,1),l,p)}function TI(i,l,p){for(var y=-1,A=i.length,j=l.length,R={};++y<A;){var V=y<j?l[y]:n;p(R,i[y],V)}return R}function Qm(i){return _t(i)?i:[]}function Jm(i){return typeof i=="function"?i:Mn}function Qo(i,l){return Ne(i)?i:s0(i,l)?[i]:eO(at(i))}var g$=Ue;function Jo(i,l,p){var y=i.length;return p=p===n?y:p,!l&&p>=y?i:br(i,l,p)}var EI=nq||function(i){return $t.clearTimeout(i)};function II(i,l){if(l)return i.slice();var p=i.length,y=XE?XE(p):new i.constructor(p);return i.copy(y),y}function qm(i){var l=new i.constructor(i.byteLength);return new yd(l).set(new yd(i)),l}function m$(i,l){var p=l?qm(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function v$(i){var l=new i.constructor(i.source,sd.exec(i));return l.lastIndex=i.lastIndex,l}function y$(i){return Cl?ft(Cl.call(i)):{}}function OI(i,l){var p=l?qm(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function PI(i,l){if(i!==l){var p=i!==n,y=i===null,A=i===i,j=Kn(i),R=l!==n,V=l===null,H=l===l,ie=Kn(l);if(!V&&!ie&&!j&&i>l||j&&R&&H&&!V&&!ie||y&&R&&H||!p&&H||!A)return 1;if(!y&&!j&&!ie&&i<l||ie&&p&&A&&!y&&!j||V&&p&&A||!R&&A||!H)return-1}return 0}function b$(i,l,p){for(var y=-1,A=i.criteria,j=l.criteria,R=A.length,V=p.length;++y<R;){var H=PI(A[y],j[y]);if(H){if(y>=V)return H;var ie=p[y];return H*(ie=="desc"?-1:1)}}return i.index-l.index}function jI(i,l,p,y){for(var A=-1,j=i.length,R=p.length,V=-1,H=l.length,ie=Yt(j-R,0),se=te(H+ie),ce=!y;++V<H;)se[V]=l[V];for(;++A<R;)(ce||A<j)&&(se[p[A]]=i[A]);for(;ie--;)se[V++]=i[A++];return se}function MI(i,l,p,y){for(var A=-1,j=i.length,R=-1,V=p.length,H=-1,ie=l.length,se=Yt(j-V,0),ce=te(se+ie),ye=!y;++A<se;)ce[A]=i[A];for(var Ee=A;++H<ie;)ce[Ee+H]=l[H];for(;++R<V;)(ye||A<j)&&(ce[Ee+p[R]]=i[A++]);return ce}function On(i,l){var p=-1,y=i.length;for(l||(l=te(y));++p<y;)l[p]=i[p];return l}function Hr(i,l,p,y){var A=!p;p||(p={});for(var j=-1,R=l.length;++j<R;){var V=l[j],H=y?y(p[V],i[V],V,p,i):n;H===n&&(H=i[V]),A?uo(p,V,H):wl(p,V,H)}return p}function x$(i,l){return Hr(i,i0(i),l)}function C$(i,l){return Hr(i,HI(i),l)}function Fd(i,l){return function(p,y){var A=Ne(p)?EJ:Uq,j=l?l():{};return A(p,i,je(y,2),j)}}function Js(i){return Ue(function(l,p){var y=-1,A=p.length,j=A>1?p[A-1]:n,R=A>2?p[2]:n;for(j=i.length>3&&typeof j=="function"?(A--,j):n,R&&gn(p[0],p[1],R)&&(j=A<3?n:j,A=1),l=ft(l);++y<A;){var V=p[y];V&&i(l,V,y,j)}return l})}function kI(i,l){return function(p,y){if(p==null)return p;if(!Pn(p))return i(p,y);for(var A=p.length,j=l?A:-1,R=ft(p);(l?j--:++j<A)&&y(R[j],j,R)!==!1;);return p}}function FI(i){return function(l,p,y){for(var A=-1,j=ft(l),R=y(l),V=R.length;V--;){var H=R[i?V:++A];if(p(j[H],H,j)===!1)break}return l}}function w$(i,l,p){var y=l&w,A=Il(i);function j(){var R=this&&this!==$t&&this instanceof j?A:i;return R.apply(y?p:this,arguments)}return j}function LI(i){return function(l){l=at(l);var p=Hs(l)?Or(l):n,y=p?p[0]:l.charAt(0),A=p?Jo(p,1).join(""):l.slice(1);return y[i]()+A}}function qs(i){return function(l){return Sm(kO(MO(l).replace(fJ,"")),i,"")}}function Il(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=Qs(i.prototype),y=i.apply(p,l);return Pt(y)?y:p}}function S$(i,l,p){var y=Il(i);function A(){for(var j=arguments.length,R=te(j),V=j,H=$s(A);V--;)R[V]=arguments[V];var ie=j<3&&R[0]!==H&&R[j-1]!==H?[]:Yo(R,H);if(j-=ie.length,j<p)return NI(i,l,Ld,A.placeholder,n,R,ie,n,n,p-j);var se=this&&this!==$t&&this instanceof A?y:i;return Hn(se,this,R)}return A}function DI(i){return function(l,p,y){var A=ft(l);if(!Pn(l)){var j=je(p,3);l=Zt(l),p=function(V){return j(A[V],V,A)}}var R=i(l,p,y);return R>-1?A[j?l[R]:R]:n}}function RI(i){return po(function(l){var p=l.length,y=p,A=vr.prototype.thru;for(i&&l.reverse();y--;){var j=l[y];if(typeof j!="function")throw new mr(a);if(A&&!R&&Bd(j)=="wrapper")var R=new vr([],!0)}for(y=R?y:p;++y<p;){j=l[y];var V=Bd(j),H=V=="wrapper"?r0(j):n;H&&a0(H[0])&&H[1]==(D|E|P|Y)&&!H[4].length&&H[9]==1?R=R[Bd(H[0])].apply(R,H[3]):R=j.length==1&&a0(j)?R[V]():R.thru(j)}return function(){var ie=arguments,se=ie[0];if(R&&ie.length==1&&Ne(se))return R.plant(se).value();for(var ce=0,ye=p?l[ce].apply(this,ie):se;++ce<p;)ye=l[ce].call(this,ye);return ye}})}function Ld(i,l,p,y,A,j,R,V,H,ie){var se=l&D,ce=l&w,ye=l&I,Ee=l&(E|k),Me=l&Z,ze=ye?n:Il(i);function ke(){for(var Ye=arguments.length,Ze=te(Ye),Xn=Ye;Xn--;)Ze[Xn]=arguments[Xn];if(Ee)var mn=$s(ke),Zn=DJ(Ze,mn);if(y&&(Ze=jI(Ze,y,A,Ee)),j&&(Ze=MI(Ze,j,R,Ee)),Ye-=Zn,Ee&&Ye<ie){var Bt=Yo(Ze,mn);return NI(i,l,Ld,ke.placeholder,p,Ze,Bt,V,H,ie-Ye)}var Mr=ce?p:this,vo=ye?Mr[i]:i;return Ye=Ze.length,V?Ze=U$(Ze,V):Me&&Ye>1&&Ze.reverse(),se&&H<Ye&&(Ze.length=H),this&&this!==$t&&this instanceof ke&&(vo=ze||Il(vo)),vo.apply(Mr,Ze)}return ke}function _I(i,l){return function(p,y){return Jq(p,i,l(y),{})}}function Dd(i,l){return function(p,y){var A;if(p===n&&y===n)return l;if(p!==n&&(A=p),y!==n){if(A===n)return y;typeof p=="string"||typeof y=="string"?(p=Yn(p),y=Yn(y)):(p=wI(p),y=wI(y)),A=i(p,y)}return A}}function $m(i){return po(function(l){return l=At(l,Gn(je())),Ue(function(p){var y=this;return i(l,function(A){return Hn(A,y,p)})})})}function Rd(i,l){l=l===n?" ":Yn(l);var p=l.length;if(p<2)return p?Ym(l,i):l;var y=Ym(l,wd(i/Gs(l)));return Hs(l)?Jo(Or(y),0,i).join(""):y.slice(0,i)}function A$(i,l,p,y){var A=l&w,j=Il(i);function R(){for(var V=-1,H=arguments.length,ie=-1,se=y.length,ce=te(se+H),ye=this&&this!==$t&&this instanceof R?j:i;++ie<se;)ce[ie]=y[ie];for(;H--;)ce[ie++]=arguments[++V];return Hn(ye,A?p:this,ce)}return R}function BI(i){return function(l,p,y){return y&&typeof y!="number"&&gn(l,p,y)&&(p=y=n),l=mo(l),p===n?(p=l,l=0):p=mo(p),y=y===n?l<p?1:-1:mo(y),c$(l,p,y,i)}}function _d(i){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=Cr(l),p=Cr(p)),i(l,p)}}function NI(i,l,p,y,A,j,R,V,H,ie){var se=l&E,ce=se?R:n,ye=se?n:R,Ee=se?j:n,Me=se?n:j;l|=se?P:L,l&=~(se?L:P),l&F||(l&=~(w|I));var ze=[i,l,A,Ee,ce,Me,ye,V,H,ie],ke=p.apply(n,ze);return a0(i)&&JI(ke,ze),ke.placeholder=y,qI(ke,i,l)}function e0(i){var l=Gt[i];return function(p,y){if(p=Cr(p),y=y==null?0:cn(We(y),292),y&&qE(p)){var A=(at(p)+"e").split("e"),j=l(A[0]+"e"+(+A[1]+y));return A=(at(j)+"e").split("e"),+(A[0]+"e"+(+A[1]-y))}return l(p)}}var T$=Xs&&1/fd(new Xs([,-0]))[1]==Q?function(i){return new Xs(i)}:w0;function VI(i){return function(l){var p=un(l);return p==me?jm(l):p==bt?zJ(l):LJ(l,i(l))}}function fo(i,l,p,y,A,j,R,V){var H=l&I;if(!H&&typeof i!="function")throw new mr(a);var ie=y?y.length:0;if(ie||(l&=~(P|L),y=A=n),R=R===n?R:Yt(We(R),0),V=V===n?V:We(V),ie-=A?A.length:0,l&L){var se=y,ce=A;y=A=n}var ye=H?n:r0(i),Ee=[i,l,p,y,A,se,ce,j,R,V];if(ye&&V$(Ee,ye),i=Ee[0],l=Ee[1],p=Ee[2],y=Ee[3],A=Ee[4],V=Ee[9]=Ee[9]===n?H?0:i.length:Yt(Ee[9]-ie,0),!V&&l&(E|k)&&(l&=~(E|k)),!l||l==w)var Me=w$(i,l,p);else l==E||l==k?Me=S$(i,l,V):(l==P||l==(w|P))&&!A.length?Me=A$(i,l,p,y):Me=Ld.apply(n,Ee);var ze=ye?xI:JI;return qI(ze(Me,Ee),i,l)}function WI(i,l,p,y){return i===n||jr(i,Ks[p])&&!ct.call(y,p)?l:i}function zI(i,l,p,y,A,j){return Pt(i)&&Pt(l)&&(j.set(l,i),jd(i,l,n,zI,j),j.delete(l)),i}function E$(i){return jl(i)?n:i}function UI(i,l,p,y,A,j){var R=p&b,V=i.length,H=l.length;if(V!=H&&!(R&&H>V))return!1;var ie=j.get(i),se=j.get(l);if(ie&&se)return ie==l&&se==i;var ce=-1,ye=!0,Ee=p&x?new _i:n;for(j.set(i,l),j.set(l,i);++ce<V;){var Me=i[ce],ze=l[ce];if(y)var ke=R?y(ze,Me,ce,l,i,j):y(Me,ze,ce,i,l,j);if(ke!==n){if(ke)continue;ye=!1;break}if(Ee){if(!Am(l,function(Ye,Ze){if(!ml(Ee,Ze)&&(Me===Ye||A(Me,Ye,p,y,j)))return Ee.push(Ze)})){ye=!1;break}}else if(!(Me===ze||A(Me,ze,p,y,j))){ye=!1;break}}return j.delete(i),j.delete(l),ye}function I$(i,l,p,y,A,j,R){switch(p){case Oe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case Re:return!(i.byteLength!=l.byteLength||!j(new yd(i),new yd(l)));case Ce:case be:case Qe:return jr(+i,+l);case Ie:return i.name==l.name&&i.message==l.message;case It:case Xt:return i==l+"";case me:var V=jm;case bt:var H=y&b;if(V||(V=fd),i.size!=l.size&&!H)return!1;var ie=R.get(i);if(ie)return ie==l;y|=x,R.set(i,l);var se=UI(V(i),V(l),y,A,j,R);return R.delete(i),se;case xt:if(Cl)return Cl.call(i)==Cl.call(l)}return!1}function O$(i,l,p,y,A,j){var R=p&b,V=t0(i),H=V.length,ie=t0(l),se=ie.length;if(H!=se&&!R)return!1;for(var ce=H;ce--;){var ye=V[ce];if(!(R?ye in l:ct.call(l,ye)))return!1}var Ee=j.get(i),Me=j.get(l);if(Ee&&Me)return Ee==l&&Me==i;var ze=!0;j.set(i,l),j.set(l,i);for(var ke=R;++ce<H;){ye=V[ce];var Ye=i[ye],Ze=l[ye];if(y)var Xn=R?y(Ze,Ye,ye,l,i,j):y(Ye,Ze,ye,i,l,j);if(!(Xn===n?Ye===Ze||A(Ye,Ze,p,y,j):Xn)){ze=!1;break}ke||(ke=ye=="constructor")}if(ze&&!ke){var mn=i.constructor,Zn=l.constructor;mn!=Zn&&"constructor"in i&&"constructor"in l&&!(typeof mn=="function"&&mn instanceof mn&&typeof Zn=="function"&&Zn instanceof Zn)&&(ze=!1)}return j.delete(i),j.delete(l),ze}function po(i){return c0(ZI(i,n,oO),i+"")}function t0(i){return cI(i,Zt,i0)}function n0(i){return cI(i,jn,HI)}var r0=Ad?function(i){return Ad.get(i)}:w0;function Bd(i){for(var l=i.name+"",p=Zs[l],y=ct.call(Zs,l)?p.length:0;y--;){var A=p[y],j=A.func;if(j==null||j==i)return A.name}return l}function $s(i){var l=ct.call(O,"placeholder")?O:i;return l.placeholder}function je(){var i=O.iteratee||x0;return i=i===x0?fI:i,arguments.length?i(arguments[0],arguments[1]):i}function Nd(i,l){var p=i.__data__;return R$(l)?p[typeof l=="string"?"string":"hash"]:p.map}function o0(i){for(var l=Zt(i),p=l.length;p--;){var y=l[p],A=i[y];l[p]=[y,A,KI(A)]}return l}function Vi(i,l){var p=NJ(i,l);return dI(p)?p:n}function P$(i){var l=ct.call(i,Di),p=i[Di];try{i[Di]=n;var y=!0}catch{}var A=md.call(i);return y&&(l?i[Di]=p:delete i[Di]),A}var i0=km?function(i){return i==null?[]:(i=ft(i),Ho(km(i),function(l){return QE.call(i,l)}))}:S0,HI=km?function(i){for(var l=[];i;)Go(l,i0(i)),i=bd(i);return l}:S0,un=hn;(Fm&&un(new Fm(new ArrayBuffer(1)))!=Oe||yl&&un(new yl)!=me||Lm&&un(Lm.resolve())!=yt||Xs&&un(new Xs)!=bt||bl&&un(new bl)!=Ot)&&(un=function(i){var l=hn(i),p=l==Et?i.constructor:n,y=p?Wi(p):"";if(y)switch(y){case dq:return Oe;case fq:return me;case pq:return yt;case hq:return bt;case gq:return Ot}return l});function j$(i,l,p){for(var y=-1,A=p.length;++y<A;){var j=p[y],R=j.size;switch(j.type){case"drop":i+=R;break;case"dropRight":l-=R;break;case"take":l=cn(l,i+R);break;case"takeRight":i=Yt(i,l-R);break}}return{start:i,end:l}}function M$(i){var l=i.match(Fi);return l?l[1].split(gl):[]}function GI(i,l,p){l=Qo(l,i);for(var y=-1,A=l.length,j=!1;++y<A;){var R=Gr(l[y]);if(!(j=i!=null&&p(i,R)))break;i=i[R]}return j||++y!=A?j:(A=i==null?0:i.length,!!A&&Yd(A)&&ho(R,A)&&(Ne(i)||zi(i)))}function k$(i){var l=i.length,p=new i.constructor(l);return l&&typeof i[0]=="string"&&ct.call(i,"index")&&(p.index=i.index,p.input=i.input),p}function YI(i){return typeof i.constructor=="function"&&!Ol(i)?Qs(bd(i)):{}}function F$(i,l,p){var y=i.constructor;switch(l){case Re:return qm(i);case Ce:case be:return new y(+i);case Oe:return m$(i,p);case xe:case ht:case Ut:case Be:case Pe:case qt:case pr:case Ir:case Mi:return OI(i,p);case me:return new y;case Qe:case Xt:return new y(i);case It:return v$(i);case bt:return new y;case xt:return y$(i)}}function L$(i,l){var p=l.length;if(!p)return i;var y=p-1;return l[y]=(p>1?"& ":"")+l[y],l=l.join(p>2?", ":" "),i.replace(dm,`{
|
|
193
|
+
*/Su.exports,function(e,t){(function(){var n,r="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",c="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,h="__lodash_placeholder__",g=1,m=2,v=4,b=1,C=2,w=1,I=2,L=4,E=8,j=16,P=32,D=64,F=128,U=256,K=512,ee=30,G="...",le=800,ae=16,q=1,J=2,z=3,Q=1/0,N=9007199254740991,re=17976931348623157e292,W=NaN,X=4294967295,de=X-1,he=X>>>1,fe=[["ary",F],["bind",w],["bindKey",I],["curry",E],["curryRight",j],["flip",K],["partial",P],["partialRight",D],["rearg",U]],ge="[object Arguments]",ve="[object Array]",Te="[object AsyncFunction]",Ce="[object Boolean]",be="[object Date]",we="[object DOMException]",Ie="[object Error]",ue="[object Function]",qe="[object GeneratorFunction]",me="[object Map]",Qe="[object Number]",an="[object Null]",Et="[object Object]",yt="[object Promise]",Un="[object Proxy]",It="[object RegExp]",bt="[object Set]",Xt="[object String]",xt="[object Symbol]",zt="[object Undefined]",Ot="[object WeakMap]",Fe="[object WeakSet]",_e="[object ArrayBuffer]",Oe="[object DataView]",xe="[object Float32Array]",ht="[object Float64Array]",Ut="[object Int8Array]",Be="[object Int16Array]",Pe="[object Int32Array]",qt="[object Uint8Array]",pr="[object Uint8ClampedArray]",Ir="[object Uint16Array]",Mi="[object Uint32Array]",Qu=/\b__p \+= '';/g,sm=/\b(__p \+=) '' \+/g,am=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ju=/&(?:amp|lt|gt|quot|#39);/g,fl=/[&<>"']/g,qu=RegExp(Ju.source),$u=RegExp(fl.source),ed=/<%-([\s\S]+?)%>/g,lm=/<%([\s\S]+?)%>/g,td=/<%=([\s\S]+?)%>/g,cm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pl=/^\w*$/,um=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ao=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(ao.source),ln=/^\s+/,ki=/\s/,dm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Li=/\{\n\/\* \[wrapped with (.+)\] \*/,gl=/,? & /,nd=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rd=/[()=,{}\[\]\/\s]/,od=/\\(\\)?/g,id=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sd=/\w*$/,fm=/^[-+]0x[0-9a-f]+$/i,pm=/^0b[01]+$/i,hm=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,pn=/^(?:0|[1-9]\d*)$/,eJ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ad=/($^)/,tJ=/['\n\r\u2028\u2029\\]/g,ld="\\ud800-\\udfff",nJ="\\u0300-\\u036f",rJ="\\ufe20-\\ufe2f",oJ="\\u20d0-\\u20ff",hE=nJ+rJ+oJ,gE="\\u2700-\\u27bf",mE="a-z\\xdf-\\xf6\\xf8-\\xff",iJ="\\xac\\xb1\\xd7\\xf7",sJ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",aJ="\\u2000-\\u206f",lJ=" \\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",vE="A-Z\\xc0-\\xd6\\xd8-\\xde",yE="\\ufe0e\\ufe0f",bE=iJ+sJ+aJ+lJ,gm="['’]",cJ="["+ld+"]",xE="["+bE+"]",cd="["+hE+"]",CE="\\d+",uJ="["+gE+"]",wE="["+mE+"]",SE="[^"+ld+bE+CE+gE+mE+vE+"]",mm="\\ud83c[\\udffb-\\udfff]",dJ="(?:"+cd+"|"+mm+")",AE="[^"+ld+"]",vm="(?:\\ud83c[\\udde6-\\uddff]){2}",ym="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+vE+"]",TE="\\u200d",EE="(?:"+wE+"|"+SE+")",fJ="(?:"+zs+"|"+SE+")",IE="(?:"+gm+"(?:d|ll|m|re|s|t|ve))?",OE="(?:"+gm+"(?:D|LL|M|RE|S|T|VE))?",PE=dJ+"?",jE="["+yE+"]?",pJ="(?:"+TE+"(?:"+[AE,vm,ym].join("|")+")"+jE+PE+")*",hJ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gJ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ME=jE+PE+pJ,mJ="(?:"+[uJ,vm,ym].join("|")+")"+ME,vJ="(?:"+[AE+cd+"?",cd,vm,ym,cJ].join("|")+")",yJ=RegExp(gm,"g"),bJ=RegExp(cd,"g"),bm=RegExp(mm+"(?="+mm+")|"+vJ+ME,"g"),xJ=RegExp([zs+"?"+wE+"+"+IE+"(?="+[xE,zs,"$"].join("|")+")",fJ+"+"+OE+"(?="+[xE,zs+EE,"$"].join("|")+")",zs+"?"+EE+"+"+IE,zs+"+"+OE,gJ,hJ,CE,mJ].join("|"),"g"),CJ=RegExp("["+TE+ld+hE+yE+"]"),wJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,SJ=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],AJ=-1,Ct={};Ct[xe]=Ct[ht]=Ct[Ut]=Ct[Be]=Ct[Pe]=Ct[qt]=Ct[pr]=Ct[Ir]=Ct[Mi]=!0,Ct[ge]=Ct[ve]=Ct[_e]=Ct[Ce]=Ct[Oe]=Ct[be]=Ct[Ie]=Ct[ue]=Ct[me]=Ct[Qe]=Ct[Et]=Ct[It]=Ct[bt]=Ct[Xt]=Ct[Ot]=!1;var gt={};gt[ge]=gt[ve]=gt[_e]=gt[Oe]=gt[Ce]=gt[be]=gt[xe]=gt[ht]=gt[Ut]=gt[Be]=gt[Pe]=gt[me]=gt[Qe]=gt[Et]=gt[It]=gt[bt]=gt[Xt]=gt[xt]=gt[qt]=gt[pr]=gt[Ir]=gt[Mi]=!0,gt[Ie]=gt[ue]=gt[Ot]=!1;var TJ={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O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ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},EJ={"&":"&","<":"<",">":">",'"':""","'":"'"},IJ={"&":"&","<":"<",">":">",""":'"',"'":"'"},OJ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},PJ=parseFloat,jJ=parseInt,kE=typeof yn=="object"&&yn&&yn.Object===Object&&yn,MJ=typeof self=="object"&&self&&self.Object===Object&&self,$t=kE||MJ||Function("return this")(),xm=t&&!t.nodeType&&t,Fi=xm&&!0&&e&&!e.nodeType&&e,LE=Fi&&Fi.exports===xm,Cm=LE&&kE.process,hr=function(){try{var H=Fi&&Fi.require&&Fi.require("util").types;return H||Cm&&Cm.binding&&Cm.binding("util")}catch{}}(),FE=hr&&hr.isArrayBuffer,DE=hr&&hr.isDate,_E=hr&&hr.isMap,RE=hr&&hr.isRegExp,BE=hr&&hr.isSet,NE=hr&&hr.isTypedArray;function Hn(H,oe,te){switch(te.length){case 0:return H.call(oe);case 1:return H.call(oe,te[0]);case 2:return H.call(oe,te[0],te[1]);case 3:return H.call(oe,te[0],te[1],te[2])}return H.apply(oe,te)}function kJ(H,oe,te,Se){for(var Re=-1,nt=H==null?0:H.length;++Re<nt;){var Gt=H[Re];oe(Se,Gt,te(Gt),H)}return Se}function gr(H,oe){for(var te=-1,Se=H==null?0:H.length;++te<Se&&oe(H[te],te,H)!==!1;);return H}function LJ(H,oe){for(var te=H==null?0:H.length;te--&&oe(H[te],te,H)!==!1;);return H}function VE(H,oe){for(var te=-1,Se=H==null?0:H.length;++te<Se;)if(!oe(H[te],te,H))return!1;return!0}function Ho(H,oe){for(var te=-1,Se=H==null?0:H.length,Re=0,nt=[];++te<Se;){var Gt=H[te];oe(Gt,te,H)&&(nt[Re++]=Gt)}return nt}function ud(H,oe){var te=H==null?0:H.length;return!!te&&Us(H,oe,0)>-1}function wm(H,oe,te){for(var Se=-1,Re=H==null?0:H.length;++Se<Re;)if(te(oe,H[Se]))return!0;return!1}function At(H,oe){for(var te=-1,Se=H==null?0:H.length,Re=Array(Se);++te<Se;)Re[te]=oe(H[te],te,H);return Re}function Go(H,oe){for(var te=-1,Se=oe.length,Re=H.length;++te<Se;)H[Re+te]=oe[te];return H}function Sm(H,oe,te,Se){var Re=-1,nt=H==null?0:H.length;for(Se&&nt&&(te=H[++Re]);++Re<nt;)te=oe(te,H[Re],Re,H);return te}function FJ(H,oe,te,Se){var Re=H==null?0:H.length;for(Se&&Re&&(te=H[--Re]);Re--;)te=oe(te,H[Re],Re,H);return te}function Am(H,oe){for(var te=-1,Se=H==null?0:H.length;++te<Se;)if(oe(H[te],te,H))return!0;return!1}var DJ=Tm("length");function _J(H){return H.split("")}function RJ(H){return H.match(nd)||[]}function WE(H,oe,te){var Se;return te(H,function(Re,nt,Gt){if(oe(Re,nt,Gt))return Se=nt,!1}),Se}function dd(H,oe,te,Se){for(var Re=H.length,nt=te+(Se?1:-1);Se?nt--:++nt<Re;)if(oe(H[nt],nt,H))return nt;return-1}function Us(H,oe,te){return oe===oe?ZJ(H,oe,te):dd(H,zE,te)}function BJ(H,oe,te,Se){for(var Re=te-1,nt=H.length;++Re<nt;)if(Se(H[Re],oe))return Re;return-1}function zE(H){return H!==H}function UE(H,oe){var te=H==null?0:H.length;return te?Im(H,oe)/te:W}function Tm(H){return function(oe){return oe==null?n:oe[H]}}function Em(H){return function(oe){return H==null?n:H[oe]}}function HE(H,oe,te,Se,Re){return Re(H,function(nt,Gt,ft){te=Se?(Se=!1,nt):oe(te,nt,Gt,ft)}),te}function NJ(H,oe){var te=H.length;for(H.sort(oe);te--;)H[te]=H[te].value;return H}function Im(H,oe){for(var te,Se=-1,Re=H.length;++Se<Re;){var nt=oe(H[Se]);nt!==n&&(te=te===n?nt:te+nt)}return te}function Om(H,oe){for(var te=-1,Se=Array(H);++te<H;)Se[te]=oe(te);return Se}function VJ(H,oe){return At(oe,function(te){return[te,H[te]]})}function GE(H){return H&&H.slice(0,ZE(H)+1).replace(ln,"")}function Gn(H){return function(oe){return H(oe)}}function Pm(H,oe){return At(oe,function(te){return H[te]})}function ml(H,oe){return H.has(oe)}function YE(H,oe){for(var te=-1,Se=H.length;++te<Se&&Us(oe,H[te],0)>-1;);return te}function KE(H,oe){for(var te=H.length;te--&&Us(oe,H[te],0)>-1;);return te}function WJ(H,oe){for(var te=H.length,Se=0;te--;)H[te]===oe&&++Se;return Se}var zJ=Em(TJ),UJ=Em(EJ);function HJ(H){return"\\"+OJ[H]}function GJ(H,oe){return H==null?n:H[oe]}function Hs(H){return CJ.test(H)}function YJ(H){return wJ.test(H)}function KJ(H){for(var oe,te=[];!(oe=H.next()).done;)te.push(oe.value);return te}function jm(H){var oe=-1,te=Array(H.size);return H.forEach(function(Se,Re){te[++oe]=[Re,Se]}),te}function XE(H,oe){return function(te){return H(oe(te))}}function Yo(H,oe){for(var te=-1,Se=H.length,Re=0,nt=[];++te<Se;){var Gt=H[te];(Gt===oe||Gt===h)&&(H[te]=h,nt[Re++]=te)}return nt}function fd(H){var oe=-1,te=Array(H.size);return H.forEach(function(Se){te[++oe]=Se}),te}function XJ(H){var oe=-1,te=Array(H.size);return H.forEach(function(Se){te[++oe]=[Se,Se]}),te}function ZJ(H,oe,te){for(var Se=te-1,Re=H.length;++Se<Re;)if(H[Se]===oe)return Se;return-1}function QJ(H,oe,te){for(var Se=te+1;Se--;)if(H[Se]===oe)return Se;return Se}function Gs(H){return Hs(H)?qJ(H):DJ(H)}function Or(H){return Hs(H)?$J(H):_J(H)}function ZE(H){for(var oe=H.length;oe--&&ki.test(H.charAt(oe)););return oe}var JJ=Em(IJ);function qJ(H){for(var oe=bm.lastIndex=0;bm.test(H);)++oe;return oe}function $J(H){return H.match(bm)||[]}function eq(H){return H.match(xJ)||[]}var tq=function H(oe){oe=oe==null?$t:Ys.defaults($t.Object(),oe,Ys.pick($t,SJ));var te=oe.Array,Se=oe.Date,Re=oe.Error,nt=oe.Function,Gt=oe.Math,ft=oe.Object,Mm=oe.RegExp,nq=oe.String,mr=oe.TypeError,pd=te.prototype,rq=nt.prototype,Ks=ft.prototype,hd=oe["__core-js_shared__"],gd=rq.toString,ct=Ks.hasOwnProperty,oq=0,QE=function(){var i=/[^.]+$/.exec(hd&&hd.keys&&hd.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),md=Ks.toString,iq=gd.call(ft),sq=$t._,aq=Mm("^"+gd.call(ct).replace(ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vd=LE?oe.Buffer:n,Ko=oe.Symbol,yd=oe.Uint8Array,JE=vd?vd.allocUnsafe:n,bd=XE(ft.getPrototypeOf,ft),qE=ft.create,$E=Ks.propertyIsEnumerable,xd=pd.splice,eI=Ko?Ko.isConcatSpreadable:n,vl=Ko?Ko.iterator:n,Di=Ko?Ko.toStringTag:n,Cd=function(){try{var i=Vi(ft,"defineProperty");return i({},"",{}),i}catch{}}(),lq=oe.clearTimeout!==$t.clearTimeout&&oe.clearTimeout,cq=Se&&Se.now!==$t.Date.now&&Se.now,uq=oe.setTimeout!==$t.setTimeout&&oe.setTimeout,wd=Gt.ceil,Sd=Gt.floor,km=ft.getOwnPropertySymbols,dq=vd?vd.isBuffer:n,tI=oe.isFinite,fq=pd.join,pq=XE(ft.keys,ft),Yt=Gt.max,cn=Gt.min,hq=Se.now,gq=oe.parseInt,nI=Gt.random,mq=pd.reverse,Lm=Vi(oe,"DataView"),yl=Vi(oe,"Map"),Fm=Vi(oe,"Promise"),Xs=Vi(oe,"Set"),bl=Vi(oe,"WeakMap"),xl=Vi(ft,"create"),Ad=bl&&new bl,Zs={},vq=Wi(Lm),yq=Wi(yl),bq=Wi(Fm),xq=Wi(Xs),Cq=Wi(bl),Td=Ko?Ko.prototype:n,Cl=Td?Td.valueOf:n,rI=Td?Td.toString:n;function O(i){if(Ft(i)&&!Ne(i)&&!(i instanceof Xe)){if(i instanceof vr)return i;if(ct.call(i,"__wrapped__"))return oO(i)}return new vr(i)}var Qs=function(){function i(){}return function(l){if(!Pt(l))return{};if(qE)return qE(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function Ed(){}function vr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:ed,evaluate:lm,interpolate:td,variable:"",imports:{_:O}},O.prototype=Ed.prototype,O.prototype.constructor=O,vr.prototype=Qs(Ed.prototype),vr.prototype.constructor=vr;function Xe(i){this.__wrapped__=i,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=X,this.__views__=[]}function wq(){var i=new Xe(this.__wrapped__);return i.__actions__=On(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=On(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=On(this.__views__),i}function Sq(){if(this.__filtered__){var i=new Xe(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function Aq(){var i=this.__wrapped__.value(),l=this.__dir__,p=Ne(i),y=l<0,A=p?i.length:0,M=_$(0,A,this.__views__),_=M.start,V=M.end,Y=V-_,ie=y?V:_-1,se=this.__iteratees__,ce=se.length,ye=0,Ee=cn(Y,this.__takeCount__);if(!p||!y&&A==Y&&Ee==Y)return II(i,this.__actions__);var Me=[];e:for(;Y--&&ye<Ee;){ie+=l;for(var ze=-1,ke=i[ie];++ze<ce;){var Ye=se[ze],Ze=Ye.iteratee,Xn=Ye.type,mn=Ze(ke);if(Xn==J)ke=mn;else if(!mn){if(Xn==q)continue e;break e}}Me[ye++]=ke}return Me}Xe.prototype=Qs(Ed.prototype),Xe.prototype.constructor=Xe;function _i(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function Tq(){this.__data__=xl?xl(null):{},this.size=0}function Eq(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function Iq(i){var l=this.__data__;if(xl){var p=l[i];return p===u?n:p}return ct.call(l,i)?l[i]:n}function Oq(i){var l=this.__data__;return xl?l[i]!==n:ct.call(l,i)}function Pq(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=xl&&l===n?u:l,this}_i.prototype.clear=Tq,_i.prototype.delete=Eq,_i.prototype.get=Iq,_i.prototype.has=Oq,_i.prototype.set=Pq;function lo(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function jq(){this.__data__=[],this.size=0}function Mq(i){var l=this.__data__,p=Id(l,i);if(p<0)return!1;var y=l.length-1;return p==y?l.pop():xd.call(l,p,1),--this.size,!0}function kq(i){var l=this.__data__,p=Id(l,i);return p<0?n:l[p][1]}function Lq(i){return Id(this.__data__,i)>-1}function Fq(i,l){var p=this.__data__,y=Id(p,i);return y<0?(++this.size,p.push([i,l])):p[y][1]=l,this}lo.prototype.clear=jq,lo.prototype.delete=Mq,lo.prototype.get=kq,lo.prototype.has=Lq,lo.prototype.set=Fq;function co(i){var l=-1,p=i==null?0:i.length;for(this.clear();++l<p;){var y=i[l];this.set(y[0],y[1])}}function Dq(){this.size=0,this.__data__={hash:new _i,map:new(yl||lo),string:new _i}}function _q(i){var l=Nd(this,i).delete(i);return this.size-=l?1:0,l}function Rq(i){return Nd(this,i).get(i)}function Bq(i){return Nd(this,i).has(i)}function Nq(i,l){var p=Nd(this,i),y=p.size;return p.set(i,l),this.size+=p.size==y?0:1,this}co.prototype.clear=Dq,co.prototype.delete=_q,co.prototype.get=Rq,co.prototype.has=Bq,co.prototype.set=Nq;function Ri(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new co;++l<p;)this.add(i[l])}function Vq(i){return this.__data__.set(i,u),this}function Wq(i){return this.__data__.has(i)}Ri.prototype.add=Ri.prototype.push=Vq,Ri.prototype.has=Wq;function Pr(i){var l=this.__data__=new lo(i);this.size=l.size}function zq(){this.__data__=new lo,this.size=0}function Uq(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function Hq(i){return this.__data__.get(i)}function Gq(i){return this.__data__.has(i)}function Yq(i,l){var p=this.__data__;if(p instanceof lo){var y=p.__data__;if(!yl||y.length<o-1)return y.push([i,l]),this.size=++p.size,this;p=this.__data__=new co(y)}return p.set(i,l),this.size=p.size,this}Pr.prototype.clear=zq,Pr.prototype.delete=Uq,Pr.prototype.get=Hq,Pr.prototype.has=Gq,Pr.prototype.set=Yq;function oI(i,l){var p=Ne(i),y=!p&&zi(i),A=!p&&!y&&qo(i),M=!p&&!y&&!A&&ea(i),_=p||y||A||M,V=_?Om(i.length,nq):[],Y=V.length;for(var ie in i)(l||ct.call(i,ie))&&!(_&&(ie=="length"||A&&(ie=="offset"||ie=="parent")||M&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||ho(ie,Y)))&&V.push(ie);return V}function iI(i){var l=i.length;return l?i[Gm(0,l-1)]:n}function Kq(i,l){return Vd(On(i),Bi(l,0,i.length))}function Xq(i){return Vd(On(i))}function Dm(i,l,p){(p!==n&&!jr(i[l],p)||p===n&&!(l in i))&&uo(i,l,p)}function wl(i,l,p){var y=i[l];(!(ct.call(i,l)&&jr(y,p))||p===n&&!(l in i))&&uo(i,l,p)}function Id(i,l){for(var p=i.length;p--;)if(jr(i[p][0],l))return p;return-1}function Zq(i,l,p,y){return Xo(i,function(A,M,_){l(y,A,p(A),_)}),y}function sI(i,l){return i&&Hr(l,Zt(l),i)}function Qq(i,l){return i&&Hr(l,jn(l),i)}function uo(i,l,p){l=="__proto__"&&Cd?Cd(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function _m(i,l){for(var p=-1,y=l.length,A=te(y),M=i==null;++p<y;)A[p]=M?n:m0(i,l[p]);return A}function Bi(i,l,p){return i===i&&(p!==n&&(i=i<=p?i:p),l!==n&&(i=i>=l?i:l)),i}function yr(i,l,p,y,A,M){var _,V=l&g,Y=l&m,ie=l&v;if(p&&(_=A?p(i,y,A,M):p(i)),_!==n)return _;if(!Pt(i))return i;var se=Ne(i);if(se){if(_=B$(i),!V)return On(i,_)}else{var ce=un(i),ye=ce==ue||ce==qe;if(qo(i))return jI(i,V);if(ce==Et||ce==ge||ye&&!A){if(_=Y||ye?{}:ZI(i),!V)return Y?I$(i,Qq(_,i)):E$(i,sI(_,i))}else{if(!gt[ce])return A?i:{};_=N$(i,ce,V)}}M||(M=new Pr);var Ee=M.get(i);if(Ee)return Ee;M.set(i,_),AO(i)?i.forEach(function(ke){_.add(yr(ke,l,p,ke,i,M))}):wO(i)&&i.forEach(function(ke,Ye){_.set(Ye,yr(ke,l,p,Ye,i,M))});var Me=ie?Y?n0:t0:Y?jn:Zt,ze=se?n:Me(i);return gr(ze||i,function(ke,Ye){ze&&(Ye=ke,ke=i[Ye]),wl(_,Ye,yr(ke,l,p,Ye,i,M))}),_}function Jq(i){var l=Zt(i);return function(p){return aI(p,i,l)}}function aI(i,l,p){var y=p.length;if(i==null)return!y;for(i=ft(i);y--;){var A=p[y],M=l[A],_=i[A];if(_===n&&!(A in i)||!M(_))return!1}return!0}function lI(i,l,p){if(typeof i!="function")throw new mr(a);return Pl(function(){i.apply(n,p)},l)}function Sl(i,l,p,y){var A=-1,M=ud,_=!0,V=i.length,Y=[],ie=l.length;if(!V)return Y;p&&(l=At(l,Gn(p))),y?(M=wm,_=!1):l.length>=o&&(M=ml,_=!1,l=new Ri(l));e:for(;++A<V;){var se=i[A],ce=p==null?se:p(se);if(se=y||se!==0?se:0,_&&ce===ce){for(var ye=ie;ye--;)if(l[ye]===ce)continue e;Y.push(se)}else M(l,ce,y)||Y.push(se)}return Y}var Xo=DI(Ur),cI=DI(Bm,!0);function qq(i,l){var p=!0;return Xo(i,function(y,A,M){return p=!!l(y,A,M),p}),p}function Od(i,l,p){for(var y=-1,A=i.length;++y<A;){var M=i[y],_=l(M);if(_!=null&&(V===n?_===_&&!Kn(_):p(_,V)))var V=_,Y=M}return Y}function $q(i,l,p,y){var A=i.length;for(p=We(p),p<0&&(p=-p>A?0:A+p),y=y===n||y>A?A:We(y),y<0&&(y+=A),y=p>y?0:EO(y);p<y;)i[p++]=l;return i}function uI(i,l){var p=[];return Xo(i,function(y,A,M){l(y,A,M)&&p.push(y)}),p}function en(i,l,p,y,A){var M=-1,_=i.length;for(p||(p=W$),A||(A=[]);++M<_;){var V=i[M];l>0&&p(V)?l>1?en(V,l-1,p,y,A):Go(A,V):y||(A[A.length]=V)}return A}var Rm=_I(),dI=_I(!0);function Ur(i,l){return i&&Rm(i,l,Zt)}function Bm(i,l){return i&&dI(i,l,Zt)}function Pd(i,l){return Ho(l,function(p){return go(i[p])})}function Ni(i,l){l=Qo(l,i);for(var p=0,y=l.length;i!=null&&p<y;)i=i[Gr(l[p++])];return p&&p==y?i:n}function fI(i,l,p){var y=l(i);return Ne(i)?y:Go(y,p(i))}function hn(i){return i==null?i===n?zt:an:Di&&Di in ft(i)?D$(i):X$(i)}function Nm(i,l){return i>l}function e$(i,l){return i!=null&&ct.call(i,l)}function t$(i,l){return i!=null&&l in ft(i)}function n$(i,l,p){return i>=cn(l,p)&&i<Yt(l,p)}function Vm(i,l,p){for(var y=p?wm:ud,A=i[0].length,M=i.length,_=M,V=te(M),Y=1/0,ie=[];_--;){var se=i[_];_&&l&&(se=At(se,Gn(l))),Y=cn(se.length,Y),V[_]=!p&&(l||A>=120&&se.length>=120)?new Ri(_&&se):n}se=i[0];var ce=-1,ye=V[0];e:for(;++ce<A&&ie.length<Y;){var Ee=se[ce],Me=l?l(Ee):Ee;if(Ee=p||Ee!==0?Ee:0,!(ye?ml(ye,Me):y(ie,Me,p))){for(_=M;--_;){var ze=V[_];if(!(ze?ml(ze,Me):y(i[_],Me,p)))continue e}ye&&ye.push(Me),ie.push(Ee)}}return ie}function r$(i,l,p,y){return Ur(i,function(A,M,_){l(y,p(A),M,_)}),y}function Al(i,l,p){l=Qo(l,i),i=$I(i,l);var y=i==null?i:i[Gr(xr(l))];return y==null?n:Hn(y,i,p)}function pI(i){return Ft(i)&&hn(i)==ge}function o$(i){return Ft(i)&&hn(i)==_e}function i$(i){return Ft(i)&&hn(i)==be}function Tl(i,l,p,y,A){return i===l?!0:i==null||l==null||!Ft(i)&&!Ft(l)?i!==i&&l!==l:s$(i,l,p,y,Tl,A)}function s$(i,l,p,y,A,M){var _=Ne(i),V=Ne(l),Y=_?ve:un(i),ie=V?ve:un(l);Y=Y==ge?Et:Y,ie=ie==ge?Et:ie;var se=Y==Et,ce=ie==Et,ye=Y==ie;if(ye&&qo(i)){if(!qo(l))return!1;_=!0,se=!1}if(ye&&!se)return M||(M=new Pr),_||ea(i)?YI(i,l,p,y,A,M):L$(i,l,Y,p,y,A,M);if(!(p&b)){var Ee=se&&ct.call(i,"__wrapped__"),Me=ce&&ct.call(l,"__wrapped__");if(Ee||Me){var ze=Ee?i.value():i,ke=Me?l.value():l;return M||(M=new Pr),A(ze,ke,p,y,M)}}return ye?(M||(M=new Pr),F$(i,l,p,y,A,M)):!1}function a$(i){return Ft(i)&&un(i)==me}function Wm(i,l,p,y){var A=p.length,M=A,_=!y;if(i==null)return!M;for(i=ft(i);A--;){var V=p[A];if(_&&V[2]?V[1]!==i[V[0]]:!(V[0]in i))return!1}for(;++A<M;){V=p[A];var Y=V[0],ie=i[Y],se=V[1];if(_&&V[2]){if(ie===n&&!(Y in i))return!1}else{var ce=new Pr;if(y)var ye=y(ie,se,Y,i,l,ce);if(!(ye===n?Tl(se,ie,b|C,y,ce):ye))return!1}}return!0}function hI(i){if(!Pt(i)||U$(i))return!1;var l=go(i)?aq:hm;return l.test(Wi(i))}function l$(i){return Ft(i)&&hn(i)==It}function c$(i){return Ft(i)&&un(i)==bt}function u$(i){return Ft(i)&&Yd(i.length)&&!!Ct[hn(i)]}function gI(i){return typeof i=="function"?i:i==null?Mn:typeof i=="object"?Ne(i)?yI(i[0],i[1]):vI(i):RO(i)}function zm(i){if(!Ol(i))return pq(i);var l=[];for(var p in ft(i))ct.call(i,p)&&p!="constructor"&&l.push(p);return l}function d$(i){if(!Pt(i))return K$(i);var l=Ol(i),p=[];for(var y in i)y=="constructor"&&(l||!ct.call(i,y))||p.push(y);return p}function Um(i,l){return i<l}function mI(i,l){var p=-1,y=Pn(i)?te(i.length):[];return Xo(i,function(A,M,_){y[++p]=l(A,M,_)}),y}function vI(i){var l=o0(i);return l.length==1&&l[0][2]?JI(l[0][0],l[0][1]):function(p){return p===i||Wm(p,i,l)}}function yI(i,l){return s0(i)&&QI(l)?JI(Gr(i),l):function(p){var y=m0(p,i);return y===n&&y===l?v0(p,i):Tl(l,y,b|C)}}function jd(i,l,p,y,A){i!==l&&Rm(l,function(M,_){if(A||(A=new Pr),Pt(M))f$(i,l,_,p,jd,y,A);else{var V=y?y(l0(i,_),M,_+"",i,l,A):n;V===n&&(V=M),Dm(i,_,V)}},jn)}function f$(i,l,p,y,A,M,_){var V=l0(i,p),Y=l0(l,p),ie=_.get(Y);if(ie){Dm(i,p,ie);return}var se=M?M(V,Y,p+"",i,l,_):n,ce=se===n;if(ce){var ye=Ne(Y),Ee=!ye&&qo(Y),Me=!ye&&!Ee&&ea(Y);se=Y,ye||Ee||Me?Ne(V)?se=V:Rt(V)?se=On(V):Ee?(ce=!1,se=jI(Y,!0)):Me?(ce=!1,se=MI(Y,!0)):se=[]:jl(Y)||zi(Y)?(se=V,zi(V)?se=IO(V):(!Pt(V)||go(V))&&(se=ZI(Y))):ce=!1}ce&&(_.set(Y,se),A(se,Y,y,M,_),_.delete(Y)),Dm(i,p,se)}function bI(i,l){var p=i.length;if(p)return l+=l<0?p:0,ho(l,p)?i[l]:n}function xI(i,l,p){l.length?l=At(l,function(M){return Ne(M)?function(_){return Ni(_,M.length===1?M[0]:M)}:M}):l=[Mn];var y=-1;l=At(l,Gn(je()));var A=mI(i,function(M,_,V){var Y=At(l,function(ie){return ie(M)});return{criteria:Y,index:++y,value:M}});return NJ(A,function(M,_){return T$(M,_,p)})}function p$(i,l){return CI(i,l,function(p,y){return v0(i,y)})}function CI(i,l,p){for(var y=-1,A=l.length,M={};++y<A;){var _=l[y],V=Ni(i,_);p(V,_)&&El(M,Qo(_,i),V)}return M}function h$(i){return function(l){return Ni(l,i)}}function Hm(i,l,p,y){var A=y?BJ:Us,M=-1,_=l.length,V=i;for(i===l&&(l=On(l)),p&&(V=At(i,Gn(p)));++M<_;)for(var Y=0,ie=l[M],se=p?p(ie):ie;(Y=A(V,se,Y,y))>-1;)V!==i&&xd.call(V,Y,1),xd.call(i,Y,1);return i}function wI(i,l){for(var p=i?l.length:0,y=p-1;p--;){var A=l[p];if(p==y||A!==M){var M=A;ho(A)?xd.call(i,A,1):Xm(i,A)}}return i}function Gm(i,l){return i+Sd(nI()*(l-i+1))}function g$(i,l,p,y){for(var A=-1,M=Yt(wd((l-i)/(p||1)),0),_=te(M);M--;)_[y?M:++A]=i,i+=p;return _}function Ym(i,l){var p="";if(!i||l<1||l>N)return p;do l%2&&(p+=i),l=Sd(l/2),l&&(i+=i);while(l);return p}function Ue(i,l){return c0(qI(i,l,Mn),i+"")}function m$(i){return iI(ta(i))}function v$(i,l){var p=ta(i);return Vd(p,Bi(l,0,p.length))}function El(i,l,p,y){if(!Pt(i))return i;l=Qo(l,i);for(var A=-1,M=l.length,_=M-1,V=i;V!=null&&++A<M;){var Y=Gr(l[A]),ie=p;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return i;if(A!=_){var se=V[Y];ie=y?y(se,Y,V):n,ie===n&&(ie=Pt(se)?se:ho(l[A+1])?[]:{})}wl(V,Y,ie),V=V[Y]}return i}var SI=Ad?function(i,l){return Ad.set(i,l),i}:Mn,y$=Cd?function(i,l){return Cd(i,"toString",{configurable:!0,enumerable:!1,value:b0(l),writable:!0})}:Mn;function b$(i){return Vd(ta(i))}function br(i,l,p){var y=-1,A=i.length;l<0&&(l=-l>A?0:A+l),p=p>A?A:p,p<0&&(p+=A),A=l>p?0:p-l>>>0,l>>>=0;for(var M=te(A);++y<A;)M[y]=i[y+l];return M}function x$(i,l){var p;return Xo(i,function(y,A,M){return p=l(y,A,M),!p}),!!p}function Md(i,l,p){var y=0,A=i==null?y:i.length;if(typeof l=="number"&&l===l&&A<=he){for(;y<A;){var M=y+A>>>1,_=i[M];_!==null&&!Kn(_)&&(p?_<=l:_<l)?y=M+1:A=M}return A}return Km(i,l,Mn,p)}function Km(i,l,p,y){var A=0,M=i==null?0:i.length;if(M===0)return 0;l=p(l);for(var _=l!==l,V=l===null,Y=Kn(l),ie=l===n;A<M;){var se=Sd((A+M)/2),ce=p(i[se]),ye=ce!==n,Ee=ce===null,Me=ce===ce,ze=Kn(ce);if(_)var ke=y||Me;else ie?ke=Me&&(y||ye):V?ke=Me&&ye&&(y||!Ee):Y?ke=Me&&ye&&!Ee&&(y||!ze):Ee||ze?ke=!1:ke=y?ce<=l:ce<l;ke?A=se+1:M=se}return cn(M,de)}function AI(i,l){for(var p=-1,y=i.length,A=0,M=[];++p<y;){var _=i[p],V=l?l(_):_;if(!p||!jr(V,Y)){var Y=V;M[A++]=_===0?0:_}}return M}function TI(i){return typeof i=="number"?i:Kn(i)?W:+i}function Yn(i){if(typeof i=="string")return i;if(Ne(i))return At(i,Yn)+"";if(Kn(i))return rI?rI.call(i):"";var l=i+"";return l=="0"&&1/i==-Q?"-0":l}function Zo(i,l,p){var y=-1,A=ud,M=i.length,_=!0,V=[],Y=V;if(p)_=!1,A=wm;else if(M>=o){var ie=l?null:M$(i);if(ie)return fd(ie);_=!1,A=ml,Y=new Ri}else Y=l?[]:V;e:for(;++y<M;){var se=i[y],ce=l?l(se):se;if(se=p||se!==0?se:0,_&&ce===ce){for(var ye=Y.length;ye--;)if(Y[ye]===ce)continue e;l&&Y.push(ce),V.push(se)}else A(Y,ce,p)||(Y!==V&&Y.push(ce),V.push(se))}return V}function Xm(i,l){return l=Qo(l,i),i=$I(i,l),i==null||delete i[Gr(xr(l))]}function EI(i,l,p,y){return El(i,l,p(Ni(i,l)),y)}function kd(i,l,p,y){for(var A=i.length,M=y?A:-1;(y?M--:++M<A)&&l(i[M],M,i););return p?br(i,y?0:M,y?M+1:A):br(i,y?M+1:0,y?A:M)}function II(i,l){var p=i;return p instanceof Xe&&(p=p.value()),Sm(l,function(y,A){return A.func.apply(A.thisArg,Go([y],A.args))},p)}function Zm(i,l,p){var y=i.length;if(y<2)return y?Zo(i[0]):[];for(var A=-1,M=te(y);++A<y;)for(var _=i[A],V=-1;++V<y;)V!=A&&(M[A]=Sl(M[A]||_,i[V],l,p));return Zo(en(M,1),l,p)}function OI(i,l,p){for(var y=-1,A=i.length,M=l.length,_={};++y<A;){var V=y<M?l[y]:n;p(_,i[y],V)}return _}function Qm(i){return Rt(i)?i:[]}function Jm(i){return typeof i=="function"?i:Mn}function Qo(i,l){return Ne(i)?i:s0(i,l)?[i]:rO(at(i))}var C$=Ue;function Jo(i,l,p){var y=i.length;return p=p===n?y:p,!l&&p>=y?i:br(i,l,p)}var PI=lq||function(i){return $t.clearTimeout(i)};function jI(i,l){if(l)return i.slice();var p=i.length,y=JE?JE(p):new i.constructor(p);return i.copy(y),y}function qm(i){var l=new i.constructor(i.byteLength);return new yd(l).set(new yd(i)),l}function w$(i,l){var p=l?qm(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function S$(i){var l=new i.constructor(i.source,sd.exec(i));return l.lastIndex=i.lastIndex,l}function A$(i){return Cl?ft(Cl.call(i)):{}}function MI(i,l){var p=l?qm(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function kI(i,l){if(i!==l){var p=i!==n,y=i===null,A=i===i,M=Kn(i),_=l!==n,V=l===null,Y=l===l,ie=Kn(l);if(!V&&!ie&&!M&&i>l||M&&_&&Y&&!V&&!ie||y&&_&&Y||!p&&Y||!A)return 1;if(!y&&!M&&!ie&&i<l||ie&&p&&A&&!y&&!M||V&&p&&A||!_&&A||!Y)return-1}return 0}function T$(i,l,p){for(var y=-1,A=i.criteria,M=l.criteria,_=A.length,V=p.length;++y<_;){var Y=kI(A[y],M[y]);if(Y){if(y>=V)return Y;var ie=p[y];return Y*(ie=="desc"?-1:1)}}return i.index-l.index}function LI(i,l,p,y){for(var A=-1,M=i.length,_=p.length,V=-1,Y=l.length,ie=Yt(M-_,0),se=te(Y+ie),ce=!y;++V<Y;)se[V]=l[V];for(;++A<_;)(ce||A<M)&&(se[p[A]]=i[A]);for(;ie--;)se[V++]=i[A++];return se}function FI(i,l,p,y){for(var A=-1,M=i.length,_=-1,V=p.length,Y=-1,ie=l.length,se=Yt(M-V,0),ce=te(se+ie),ye=!y;++A<se;)ce[A]=i[A];for(var Ee=A;++Y<ie;)ce[Ee+Y]=l[Y];for(;++_<V;)(ye||A<M)&&(ce[Ee+p[_]]=i[A++]);return ce}function On(i,l){var p=-1,y=i.length;for(l||(l=te(y));++p<y;)l[p]=i[p];return l}function Hr(i,l,p,y){var A=!p;p||(p={});for(var M=-1,_=l.length;++M<_;){var V=l[M],Y=y?y(p[V],i[V],V,p,i):n;Y===n&&(Y=i[V]),A?uo(p,V,Y):wl(p,V,Y)}return p}function E$(i,l){return Hr(i,i0(i),l)}function I$(i,l){return Hr(i,KI(i),l)}function Ld(i,l){return function(p,y){var A=Ne(p)?kJ:Zq,M=l?l():{};return A(p,i,je(y,2),M)}}function Js(i){return Ue(function(l,p){var y=-1,A=p.length,M=A>1?p[A-1]:n,_=A>2?p[2]:n;for(M=i.length>3&&typeof M=="function"?(A--,M):n,_&&gn(p[0],p[1],_)&&(M=A<3?n:M,A=1),l=ft(l);++y<A;){var V=p[y];V&&i(l,V,y,M)}return l})}function DI(i,l){return function(p,y){if(p==null)return p;if(!Pn(p))return i(p,y);for(var A=p.length,M=l?A:-1,_=ft(p);(l?M--:++M<A)&&y(_[M],M,_)!==!1;);return p}}function _I(i){return function(l,p,y){for(var A=-1,M=ft(l),_=y(l),V=_.length;V--;){var Y=_[i?V:++A];if(p(M[Y],Y,M)===!1)break}return l}}function O$(i,l,p){var y=l&w,A=Il(i);function M(){var _=this&&this!==$t&&this instanceof M?A:i;return _.apply(y?p:this,arguments)}return M}function RI(i){return function(l){l=at(l);var p=Hs(l)?Or(l):n,y=p?p[0]:l.charAt(0),A=p?Jo(p,1).join(""):l.slice(1);return y[i]()+A}}function qs(i){return function(l){return Sm(DO(FO(l).replace(yJ,"")),i,"")}}function Il(i){return function(){var l=arguments;switch(l.length){case 0:return new i;case 1:return new i(l[0]);case 2:return new i(l[0],l[1]);case 3:return new i(l[0],l[1],l[2]);case 4:return new i(l[0],l[1],l[2],l[3]);case 5:return new i(l[0],l[1],l[2],l[3],l[4]);case 6:return new i(l[0],l[1],l[2],l[3],l[4],l[5]);case 7:return new i(l[0],l[1],l[2],l[3],l[4],l[5],l[6])}var p=Qs(i.prototype),y=i.apply(p,l);return Pt(y)?y:p}}function P$(i,l,p){var y=Il(i);function A(){for(var M=arguments.length,_=te(M),V=M,Y=$s(A);V--;)_[V]=arguments[V];var ie=M<3&&_[0]!==Y&&_[M-1]!==Y?[]:Yo(_,Y);if(M-=ie.length,M<p)return zI(i,l,Fd,A.placeholder,n,_,ie,n,n,p-M);var se=this&&this!==$t&&this instanceof A?y:i;return Hn(se,this,_)}return A}function BI(i){return function(l,p,y){var A=ft(l);if(!Pn(l)){var M=je(p,3);l=Zt(l),p=function(V){return M(A[V],V,A)}}var _=i(l,p,y);return _>-1?A[M?l[_]:_]:n}}function NI(i){return po(function(l){var p=l.length,y=p,A=vr.prototype.thru;for(i&&l.reverse();y--;){var M=l[y];if(typeof M!="function")throw new mr(a);if(A&&!_&&Bd(M)=="wrapper")var _=new vr([],!0)}for(y=_?y:p;++y<p;){M=l[y];var V=Bd(M),Y=V=="wrapper"?r0(M):n;Y&&a0(Y[0])&&Y[1]==(F|E|P|U)&&!Y[4].length&&Y[9]==1?_=_[Bd(Y[0])].apply(_,Y[3]):_=M.length==1&&a0(M)?_[V]():_.thru(M)}return function(){var ie=arguments,se=ie[0];if(_&&ie.length==1&&Ne(se))return _.plant(se).value();for(var ce=0,ye=p?l[ce].apply(this,ie):se;++ce<p;)ye=l[ce].call(this,ye);return ye}})}function Fd(i,l,p,y,A,M,_,V,Y,ie){var se=l&F,ce=l&w,ye=l&I,Ee=l&(E|j),Me=l&K,ze=ye?n:Il(i);function ke(){for(var Ye=arguments.length,Ze=te(Ye),Xn=Ye;Xn--;)Ze[Xn]=arguments[Xn];if(Ee)var mn=$s(ke),Zn=WJ(Ze,mn);if(y&&(Ze=LI(Ze,y,A,Ee)),M&&(Ze=FI(Ze,M,_,Ee)),Ye-=Zn,Ee&&Ye<ie){var Bt=Yo(Ze,mn);return zI(i,l,Fd,ke.placeholder,p,Ze,Bt,V,Y,ie-Ye)}var Mr=ce?p:this,vo=ye?Mr[i]:i;return Ye=Ze.length,V?Ze=Z$(Ze,V):Me&&Ye>1&&Ze.reverse(),se&&Y<Ye&&(Ze.length=Y),this&&this!==$t&&this instanceof ke&&(vo=ze||Il(vo)),vo.apply(Mr,Ze)}return ke}function VI(i,l){return function(p,y){return r$(p,i,l(y),{})}}function Dd(i,l){return function(p,y){var A;if(p===n&&y===n)return l;if(p!==n&&(A=p),y!==n){if(A===n)return y;typeof p=="string"||typeof y=="string"?(p=Yn(p),y=Yn(y)):(p=TI(p),y=TI(y)),A=i(p,y)}return A}}function $m(i){return po(function(l){return l=At(l,Gn(je())),Ue(function(p){var y=this;return i(l,function(A){return Hn(A,y,p)})})})}function _d(i,l){l=l===n?" ":Yn(l);var p=l.length;if(p<2)return p?Ym(l,i):l;var y=Ym(l,wd(i/Gs(l)));return Hs(l)?Jo(Or(y),0,i).join(""):y.slice(0,i)}function j$(i,l,p,y){var A=l&w,M=Il(i);function _(){for(var V=-1,Y=arguments.length,ie=-1,se=y.length,ce=te(se+Y),ye=this&&this!==$t&&this instanceof _?M:i;++ie<se;)ce[ie]=y[ie];for(;Y--;)ce[ie++]=arguments[++V];return Hn(ye,A?p:this,ce)}return _}function WI(i){return function(l,p,y){return y&&typeof y!="number"&&gn(l,p,y)&&(p=y=n),l=mo(l),p===n?(p=l,l=0):p=mo(p),y=y===n?l<p?1:-1:mo(y),g$(l,p,y,i)}}function Rd(i){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=Cr(l),p=Cr(p)),i(l,p)}}function zI(i,l,p,y,A,M,_,V,Y,ie){var se=l&E,ce=se?_:n,ye=se?n:_,Ee=se?M:n,Me=se?n:M;l|=se?P:D,l&=~(se?D:P),l&L||(l&=~(w|I));var ze=[i,l,A,Ee,ce,Me,ye,V,Y,ie],ke=p.apply(n,ze);return a0(i)&&eO(ke,ze),ke.placeholder=y,tO(ke,i,l)}function e0(i){var l=Gt[i];return function(p,y){if(p=Cr(p),y=y==null?0:cn(We(y),292),y&&tI(p)){var A=(at(p)+"e").split("e"),M=l(A[0]+"e"+(+A[1]+y));return A=(at(M)+"e").split("e"),+(A[0]+"e"+(+A[1]-y))}return l(p)}}var M$=Xs&&1/fd(new Xs([,-0]))[1]==Q?function(i){return new Xs(i)}:w0;function UI(i){return function(l){var p=un(l);return p==me?jm(l):p==bt?XJ(l):VJ(l,i(l))}}function fo(i,l,p,y,A,M,_,V){var Y=l&I;if(!Y&&typeof i!="function")throw new mr(a);var ie=y?y.length:0;if(ie||(l&=~(P|D),y=A=n),_=_===n?_:Yt(We(_),0),V=V===n?V:We(V),ie-=A?A.length:0,l&D){var se=y,ce=A;y=A=n}var ye=Y?n:r0(i),Ee=[i,l,p,y,A,se,ce,M,_,V];if(ye&&Y$(Ee,ye),i=Ee[0],l=Ee[1],p=Ee[2],y=Ee[3],A=Ee[4],V=Ee[9]=Ee[9]===n?Y?0:i.length:Yt(Ee[9]-ie,0),!V&&l&(E|j)&&(l&=~(E|j)),!l||l==w)var Me=O$(i,l,p);else l==E||l==j?Me=P$(i,l,V):(l==P||l==(w|P))&&!A.length?Me=j$(i,l,p,y):Me=Fd.apply(n,Ee);var ze=ye?SI:eO;return tO(ze(Me,Ee),i,l)}function HI(i,l,p,y){return i===n||jr(i,Ks[p])&&!ct.call(y,p)?l:i}function GI(i,l,p,y,A,M){return Pt(i)&&Pt(l)&&(M.set(l,i),jd(i,l,n,GI,M),M.delete(l)),i}function k$(i){return jl(i)?n:i}function YI(i,l,p,y,A,M){var _=p&b,V=i.length,Y=l.length;if(V!=Y&&!(_&&Y>V))return!1;var ie=M.get(i),se=M.get(l);if(ie&&se)return ie==l&&se==i;var ce=-1,ye=!0,Ee=p&C?new Ri:n;for(M.set(i,l),M.set(l,i);++ce<V;){var Me=i[ce],ze=l[ce];if(y)var ke=_?y(ze,Me,ce,l,i,M):y(Me,ze,ce,i,l,M);if(ke!==n){if(ke)continue;ye=!1;break}if(Ee){if(!Am(l,function(Ye,Ze){if(!ml(Ee,Ze)&&(Me===Ye||A(Me,Ye,p,y,M)))return Ee.push(Ze)})){ye=!1;break}}else if(!(Me===ze||A(Me,ze,p,y,M))){ye=!1;break}}return M.delete(i),M.delete(l),ye}function L$(i,l,p,y,A,M,_){switch(p){case Oe:if(i.byteLength!=l.byteLength||i.byteOffset!=l.byteOffset)return!1;i=i.buffer,l=l.buffer;case _e:return!(i.byteLength!=l.byteLength||!M(new yd(i),new yd(l)));case Ce:case be:case Qe:return jr(+i,+l);case Ie:return i.name==l.name&&i.message==l.message;case It:case Xt:return i==l+"";case me:var V=jm;case bt:var Y=y&b;if(V||(V=fd),i.size!=l.size&&!Y)return!1;var ie=_.get(i);if(ie)return ie==l;y|=C,_.set(i,l);var se=YI(V(i),V(l),y,A,M,_);return _.delete(i),se;case xt:if(Cl)return Cl.call(i)==Cl.call(l)}return!1}function F$(i,l,p,y,A,M){var _=p&b,V=t0(i),Y=V.length,ie=t0(l),se=ie.length;if(Y!=se&&!_)return!1;for(var ce=Y;ce--;){var ye=V[ce];if(!(_?ye in l:ct.call(l,ye)))return!1}var Ee=M.get(i),Me=M.get(l);if(Ee&&Me)return Ee==l&&Me==i;var ze=!0;M.set(i,l),M.set(l,i);for(var ke=_;++ce<Y;){ye=V[ce];var Ye=i[ye],Ze=l[ye];if(y)var Xn=_?y(Ze,Ye,ye,l,i,M):y(Ye,Ze,ye,i,l,M);if(!(Xn===n?Ye===Ze||A(Ye,Ze,p,y,M):Xn)){ze=!1;break}ke||(ke=ye=="constructor")}if(ze&&!ke){var mn=i.constructor,Zn=l.constructor;mn!=Zn&&"constructor"in i&&"constructor"in l&&!(typeof mn=="function"&&mn instanceof mn&&typeof Zn=="function"&&Zn instanceof Zn)&&(ze=!1)}return M.delete(i),M.delete(l),ze}function po(i){return c0(qI(i,n,aO),i+"")}function t0(i){return fI(i,Zt,i0)}function n0(i){return fI(i,jn,KI)}var r0=Ad?function(i){return Ad.get(i)}:w0;function Bd(i){for(var l=i.name+"",p=Zs[l],y=ct.call(Zs,l)?p.length:0;y--;){var A=p[y],M=A.func;if(M==null||M==i)return A.name}return l}function $s(i){var l=ct.call(O,"placeholder")?O:i;return l.placeholder}function je(){var i=O.iteratee||x0;return i=i===x0?gI:i,arguments.length?i(arguments[0],arguments[1]):i}function Nd(i,l){var p=i.__data__;return z$(l)?p[typeof l=="string"?"string":"hash"]:p.map}function o0(i){for(var l=Zt(i),p=l.length;p--;){var y=l[p],A=i[y];l[p]=[y,A,QI(A)]}return l}function Vi(i,l){var p=GJ(i,l);return hI(p)?p:n}function D$(i){var l=ct.call(i,Di),p=i[Di];try{i[Di]=n;var y=!0}catch{}var A=md.call(i);return y&&(l?i[Di]=p:delete i[Di]),A}var i0=km?function(i){return i==null?[]:(i=ft(i),Ho(km(i),function(l){return $E.call(i,l)}))}:S0,KI=km?function(i){for(var l=[];i;)Go(l,i0(i)),i=bd(i);return l}:S0,un=hn;(Lm&&un(new Lm(new ArrayBuffer(1)))!=Oe||yl&&un(new yl)!=me||Fm&&un(Fm.resolve())!=yt||Xs&&un(new Xs)!=bt||bl&&un(new bl)!=Ot)&&(un=function(i){var l=hn(i),p=l==Et?i.constructor:n,y=p?Wi(p):"";if(y)switch(y){case vq:return Oe;case yq:return me;case bq:return yt;case xq:return bt;case Cq:return Ot}return l});function _$(i,l,p){for(var y=-1,A=p.length;++y<A;){var M=p[y],_=M.size;switch(M.type){case"drop":i+=_;break;case"dropRight":l-=_;break;case"take":l=cn(l,i+_);break;case"takeRight":i=Yt(i,l-_);break}}return{start:i,end:l}}function R$(i){var l=i.match(Li);return l?l[1].split(gl):[]}function XI(i,l,p){l=Qo(l,i);for(var y=-1,A=l.length,M=!1;++y<A;){var _=Gr(l[y]);if(!(M=i!=null&&p(i,_)))break;i=i[_]}return M||++y!=A?M:(A=i==null?0:i.length,!!A&&Yd(A)&&ho(_,A)&&(Ne(i)||zi(i)))}function B$(i){var l=i.length,p=new i.constructor(l);return l&&typeof i[0]=="string"&&ct.call(i,"index")&&(p.index=i.index,p.input=i.input),p}function ZI(i){return typeof i.constructor=="function"&&!Ol(i)?Qs(bd(i)):{}}function N$(i,l,p){var y=i.constructor;switch(l){case _e:return qm(i);case Ce:case be:return new y(+i);case Oe:return w$(i,p);case xe:case ht:case Ut:case Be:case Pe:case qt:case pr:case Ir:case Mi:return MI(i,p);case me:return new y;case Qe:case Xt:return new y(i);case It:return S$(i);case bt:return new y;case xt:return A$(i)}}function V$(i,l){var p=l.length;if(!p)return i;var y=p-1;return l[y]=(p>1?"& ":"")+l[y],l=l.join(p>2?", ":" "),i.replace(dm,`{
|
|
194
194
|
/* [wrapped with `+l+`] */
|
|
195
|
-
`)}function D$(i){return Ne(i)||zi(i)||!!(JE&&i&&i[JE])}function ho(i,l){var p=typeof i;return l=l??N,!!l&&(p=="number"||p!="symbol"&&pn.test(i))&&i>-1&&i%1==0&&i<l}function gn(i,l,p){if(!Pt(p))return!1;var y=typeof l;return(y=="number"?Pn(p)&&ho(l,p.length):y=="string"&&l in p)?jr(p[l],i):!1}function s0(i,l){if(Ne(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Kn(i)?!0:pl.test(i)||!cm.test(i)||l!=null&&i in ft(l)}function R$(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function a0(i){var l=Bd(i),p=O[l];if(typeof p!="function"||!(l in Xe.prototype))return!1;if(i===p)return!0;var y=r0(p);return!!y&&i===y[0]}function _$(i){return!!KE&&KE in i}var B$=hd?go:A0;function Ol(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Ks;return i===p}function KI(i){return i===i&&!Pt(i)}function XI(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ft(p))}}function N$(i){var l=Hd(i,function(y){return p.size===d&&p.clear(),y}),p=l.cache;return l}function V$(i,l){var p=i[1],y=l[1],A=p|y,j=A<(w|I|D),R=y==D&&p==E||y==D&&p==Y&&i[7].length<=l[8]||y==(D|Y)&&l[7].length<=l[8]&&p==E;if(!(j||R))return i;y&w&&(i[2]=l[2],A|=p&w?0:F);var V=l[3];if(V){var H=i[3];i[3]=H?jI(H,V,l[4]):V,i[4]=H?Yo(i[3],h):l[4]}return V=l[5],V&&(H=i[5],i[5]=H?MI(H,V,l[6]):V,i[6]=H?Yo(i[5],h):l[6]),V=l[7],V&&(i[7]=V),y&D&&(i[8]=i[8]==null?l[8]:cn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=A,i}function W$(i){var l=[];if(i!=null)for(var p in ft(i))l.push(p);return l}function z$(i){return md.call(i)}function ZI(i,l,p){return l=Yt(l===n?i.length-1:l,0),function(){for(var y=arguments,A=-1,j=Yt(y.length-l,0),R=te(j);++A<j;)R[A]=y[l+A];A=-1;for(var V=te(l+1);++A<l;)V[A]=y[A];return V[l]=p(R),Hn(i,this,V)}}function QI(i,l){return l.length<2?i:Ni(i,br(l,0,-1))}function U$(i,l){for(var p=i.length,y=cn(l.length,p),A=On(i);y--;){var j=l[y];i[y]=ho(j,p)?A[j]:n}return i}function l0(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var JI=$I(xI),Pl=oq||function(i,l){return $t.setTimeout(i,l)},c0=$I(f$);function qI(i,l,p){var y=l+"";return c0(i,L$(y,H$(M$(y),p)))}function $I(i){var l=0,p=0;return function(){var y=lq(),A=ae-(y-p);if(p=y,A>0){if(++l>=le)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Vd(i,l){var p=-1,y=i.length,A=y-1;for(l=l===n?y:l;++p<l;){var j=Gm(p,A),R=i[j];i[j]=i[p],i[p]=R}return i.length=l,i}var eO=N$(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(um,function(p,y,A,j){l.push(A?j.replace(od,"$1"):y||p)}),l});function Gr(i){if(typeof i=="string"||Kn(i))return i;var l=i+"";return l=="0"&&1/i==-Q?"-0":l}function Wi(i){if(i!=null){try{return gd.call(i)}catch{}try{return i+""}catch{}}return""}function H$(i,l){return gr(fe,function(p){var y="_."+p[0];l&p[1]&&!ud(i,y)&&i.push(y)}),i.sort()}function tO(i){if(i instanceof Xe)return i.clone();var l=new vr(i.__wrapped__,i.__chain__);return l.__actions__=On(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function G$(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=Yt(We(l),0);var y=i==null?0:i.length;if(!y||l<1)return[];for(var A=0,j=0,R=te(wd(y/l));A<y;)R[j++]=br(i,A,A+=l);return R}function Y$(i){for(var l=-1,p=i==null?0:i.length,y=0,A=[];++l<p;){var j=i[l];j&&(A[y++]=j)}return A}function K$(){var i=arguments.length;if(!i)return[];for(var l=te(i-1),p=arguments[0],y=i;y--;)l[y-1]=arguments[y];return Go(Ne(p)?On(p):[p],en(l,1))}var X$=Ue(function(i,l){return _t(i)?Sl(i,en(l,1,_t,!0)):[]}),Z$=Ue(function(i,l){var p=xr(l);return _t(p)&&(p=n),_t(i)?Sl(i,en(l,1,_t,!0),je(p,2)):[]}),Q$=Ue(function(i,l){var p=xr(l);return _t(p)&&(p=n),_t(i)?Sl(i,en(l,1,_t,!0),n,p):[]});function J$(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),br(i,l<0?0:l,y)):[]}function q$(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),l=y-l,br(i,0,l<0?0:l)):[]}function $$(i,l){return i&&i.length?kd(i,je(l,3),!0,!0):[]}function eee(i,l){return i&&i.length?kd(i,je(l,3),!0):[]}function tee(i,l,p,y){var A=i==null?0:i.length;return A?(p&&typeof p!="number"&&gn(i,l,p)&&(p=0,y=A),Kq(i,l,p,y)):[]}function nO(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=p==null?0:We(p);return A<0&&(A=Yt(y+A,0)),dd(i,je(l,3),A)}function rO(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=y-1;return p!==n&&(A=We(p),A=p<0?Yt(y+A,0):cn(A,y-1)),dd(i,je(l,3),A,!0)}function oO(i){var l=i==null?0:i.length;return l?en(i,1):[]}function nee(i){var l=i==null?0:i.length;return l?en(i,Q):[]}function ree(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:We(l),en(i,l)):[]}function oee(i){for(var l=-1,p=i==null?0:i.length,y={};++l<p;){var A=i[l];y[A[0]]=A[1]}return y}function iO(i){return i&&i.length?i[0]:n}function iee(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=p==null?0:We(p);return A<0&&(A=Yt(y+A,0)),Us(i,l,A)}function see(i){var l=i==null?0:i.length;return l?br(i,0,-1):[]}var aee=Ue(function(i){var l=At(i,Qm);return l.length&&l[0]===i[0]?Vm(l):[]}),lee=Ue(function(i){var l=xr(i),p=At(i,Qm);return l===xr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?Vm(p,je(l,2)):[]}),cee=Ue(function(i){var l=xr(i),p=At(i,Qm);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?Vm(p,n,l):[]});function uee(i,l){return i==null?"":sq.call(i,l)}function xr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function dee(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=y;return p!==n&&(A=We(p),A=A<0?Yt(y+A,0):cn(A,y-1)),l===l?HJ(i,l,A):dd(i,NE,A,!0)}function fee(i,l){return i&&i.length?mI(i,We(l)):n}var pee=Ue(sO);function sO(i,l){return i&&i.length&&l&&l.length?Hm(i,l):i}function hee(i,l,p){return i&&i.length&&l&&l.length?Hm(i,l,je(p,2)):i}function gee(i,l,p){return i&&i.length&&l&&l.length?Hm(i,l,n,p):i}var mee=po(function(i,l){var p=i==null?0:i.length,y=Rm(i,l);return bI(i,At(l,function(A){return ho(A,p)?+A:A}).sort(PI)),y});function vee(i,l){var p=[];if(!(i&&i.length))return p;var y=-1,A=[],j=i.length;for(l=je(l,3);++y<j;){var R=i[y];l(R,y,i)&&(p.push(R),A.push(y))}return bI(i,A),p}function u0(i){return i==null?i:uq.call(i)}function yee(i,l,p){var y=i==null?0:i.length;return y?(p&&typeof p!="number"&&gn(i,l,p)?(l=0,p=y):(l=l==null?0:We(l),p=p===n?y:We(p)),br(i,l,p)):[]}function bee(i,l){return Md(i,l)}function xee(i,l,p){return Km(i,l,je(p,2))}function Cee(i,l){var p=i==null?0:i.length;if(p){var y=Md(i,l);if(y<p&&jr(i[y],l))return y}return-1}function wee(i,l){return Md(i,l,!0)}function See(i,l,p){return Km(i,l,je(p,2),!0)}function Aee(i,l){var p=i==null?0:i.length;if(p){var y=Md(i,l,!0)-1;if(jr(i[y],l))return y}return-1}function Tee(i){return i&&i.length?CI(i):[]}function Eee(i,l){return i&&i.length?CI(i,je(l,2)):[]}function Iee(i){var l=i==null?0:i.length;return l?br(i,1,l):[]}function Oee(i,l,p){return i&&i.length?(l=p||l===n?1:We(l),br(i,0,l<0?0:l)):[]}function Pee(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),l=y-l,br(i,l<0?0:l,y)):[]}function jee(i,l){return i&&i.length?kd(i,je(l,3),!1,!0):[]}function Mee(i,l){return i&&i.length?kd(i,je(l,3)):[]}var kee=Ue(function(i){return Zo(en(i,1,_t,!0))}),Fee=Ue(function(i){var l=xr(i);return _t(l)&&(l=n),Zo(en(i,1,_t,!0),je(l,2))}),Lee=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Zo(en(i,1,_t,!0),n,l)});function Dee(i){return i&&i.length?Zo(i):[]}function Ree(i,l){return i&&i.length?Zo(i,je(l,2)):[]}function _ee(i,l){return l=typeof l=="function"?l:n,i&&i.length?Zo(i,n,l):[]}function d0(i){if(!(i&&i.length))return[];var l=0;return i=Ho(i,function(p){if(_t(p))return l=Yt(p.length,l),!0}),Om(l,function(p){return At(i,Tm(p))})}function aO(i,l){if(!(i&&i.length))return[];var p=d0(i);return l==null?p:At(p,function(y){return Hn(l,n,y)})}var Bee=Ue(function(i,l){return _t(i)?Sl(i,l):[]}),Nee=Ue(function(i){return Zm(Ho(i,_t))}),Vee=Ue(function(i){var l=xr(i);return _t(l)&&(l=n),Zm(Ho(i,_t),je(l,2))}),Wee=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Zm(Ho(i,_t),n,l)}),zee=Ue(d0);function Uee(i,l){return TI(i||[],l||[],wl)}function Hee(i,l){return TI(i||[],l||[],El)}var Gee=Ue(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,aO(i,p)});function lO(i){var l=O(i);return l.__chain__=!0,l}function Yee(i,l){return l(i),i}function Wd(i,l){return l(i)}var Kee=po(function(i){var l=i.length,p=l?i[0]:0,y=this.__wrapped__,A=function(j){return Rm(j,i)};return l>1||this.__actions__.length||!(y instanceof Xe)||!ho(p)?this.thru(A):(y=y.slice(p,+p+(l?1:0)),y.__actions__.push({func:Wd,args:[A],thisArg:n}),new vr(y,this.__chain__).thru(function(j){return l&&!j.length&&j.push(n),j}))});function Xee(){return lO(this)}function Zee(){return new vr(this.value(),this.__chain__)}function Qee(){this.__values__===n&&(this.__values__=wO(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function Jee(){return this}function qee(i){for(var l,p=this;p instanceof Ed;){var y=tO(p);y.__index__=0,y.__values__=n,l?A.__wrapped__=y:l=y;var A=y;p=p.__wrapped__}return A.__wrapped__=i,l}function $ee(){var i=this.__wrapped__;if(i instanceof Xe){var l=i;return this.__actions__.length&&(l=new Xe(this)),l=l.reverse(),l.__actions__.push({func:Wd,args:[u0],thisArg:n}),new vr(l,this.__chain__)}return this.thru(u0)}function ete(){return AI(this.__wrapped__,this.__actions__)}var tte=Fd(function(i,l,p){ct.call(i,p)?++i[p]:uo(i,p,1)});function nte(i,l,p){var y=Ne(i)?_E:Yq;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}function rte(i,l){var p=Ne(i)?Ho:aI;return p(i,je(l,3))}var ote=DI(nO),ite=DI(rO);function ste(i,l){return en(zd(i,l),1)}function ate(i,l){return en(zd(i,l),Q)}function lte(i,l,p){return p=p===n?1:We(p),en(zd(i,l),p)}function cO(i,l){var p=Ne(i)?gr:Xo;return p(i,je(l,3))}function uO(i,l){var p=Ne(i)?IJ:sI;return p(i,je(l,3))}var cte=Fd(function(i,l,p){ct.call(i,p)?i[p].push(l):uo(i,p,[l])});function ute(i,l,p,y){i=Pn(i)?i:ta(i),p=p&&!y?We(p):0;var A=i.length;return p<0&&(p=Yt(A+p,0)),Kd(i)?p<=A&&i.indexOf(l,p)>-1:!!A&&Us(i,l,p)>-1}var dte=Ue(function(i,l,p){var y=-1,A=typeof l=="function",j=Pn(i)?te(i.length):[];return Xo(i,function(R){j[++y]=A?Hn(l,R,p):Al(R,l,p)}),j}),fte=Fd(function(i,l,p){uo(i,p,l)});function zd(i,l){var p=Ne(i)?At:pI;return p(i,je(l,3))}function pte(i,l,p,y){return i==null?[]:(Ne(l)||(l=l==null?[]:[l]),p=y?n:p,Ne(p)||(p=p==null?[]:[p]),vI(i,l,p))}var hte=Fd(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function gte(i,l,p){var y=Ne(i)?Sm:WE,A=arguments.length<3;return y(i,je(l,4),p,A,Xo)}function mte(i,l,p){var y=Ne(i)?OJ:WE,A=arguments.length<3;return y(i,je(l,4),p,A,sI)}function vte(i,l){var p=Ne(i)?Ho:aI;return p(i,Gd(je(l,3)))}function yte(i){var l=Ne(i)?nI:u$;return l(i)}function bte(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=We(l);var y=Ne(i)?Wq:d$;return y(i,l)}function xte(i){var l=Ne(i)?zq:p$;return l(i)}function Cte(i){if(i==null)return 0;if(Pn(i))return Kd(i)?Gs(i):i.length;var l=un(i);return l==me||l==bt?i.size:zm(i).length}function wte(i,l,p){var y=Ne(i)?Am:h$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}var Ste=Ue(function(i,l){if(i==null)return[];var p=l.length;return p>1&&gn(i,l[0],l[1])?l=[]:p>2&&gn(l[0],l[1],l[2])&&(l=[l[0]]),vI(i,en(l,1),[])}),Ud=rq||function(){return $t.Date.now()};function Ate(i,l){if(typeof l!="function")throw new mr(a);return i=We(i),function(){if(--i<1)return l.apply(this,arguments)}}function dO(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,fo(i,D,n,n,n,n,l)}function fO(i,l){var p;if(typeof l!="function")throw new mr(a);return i=We(i),function(){return--i>0&&(p=l.apply(this,arguments)),i<=1&&(l=n),p}}var f0=Ue(function(i,l,p){var y=w;if(p.length){var A=Yo(p,$s(f0));y|=P}return fo(i,y,l,p,A)}),pO=Ue(function(i,l,p){var y=w|I;if(p.length){var A=Yo(p,$s(pO));y|=P}return fo(l,y,i,p,A)});function hO(i,l,p){l=p?n:l;var y=fo(i,E,n,n,n,n,n,l);return y.placeholder=hO.placeholder,y}function gO(i,l,p){l=p?n:l;var y=fo(i,k,n,n,n,n,n,l);return y.placeholder=gO.placeholder,y}function mO(i,l,p){var y,A,j,R,V,H,ie=0,se=!1,ce=!1,ye=!0;if(typeof i!="function")throw new mr(a);l=Cr(l)||0,Pt(p)&&(se=!!p.leading,ce="maxWait"in p,j=ce?Yt(Cr(p.maxWait)||0,l):j,ye="trailing"in p?!!p.trailing:ye);function Ee(Bt){var Mr=y,vo=A;return y=A=n,ie=Bt,R=i.apply(vo,Mr),R}function Me(Bt){return ie=Bt,V=Pl(Ye,l),se?Ee(Bt):R}function ze(Bt){var Mr=Bt-H,vo=Bt-ie,DO=l-Mr;return ce?cn(DO,j-vo):DO}function ke(Bt){var Mr=Bt-H,vo=Bt-ie;return H===n||Mr>=l||Mr<0||ce&&vo>=j}function Ye(){var Bt=Ud();if(ke(Bt))return Ze(Bt);V=Pl(Ye,ze(Bt))}function Ze(Bt){return V=n,ye&&y?Ee(Bt):(y=A=n,R)}function Xn(){V!==n&&EI(V),ie=0,y=H=A=V=n}function mn(){return V===n?R:Ze(Ud())}function Zn(){var Bt=Ud(),Mr=ke(Bt);if(y=arguments,A=this,H=Bt,Mr){if(V===n)return Me(H);if(ce)return EI(V),V=Pl(Ye,l),Ee(H)}return V===n&&(V=Pl(Ye,l)),R}return Zn.cancel=Xn,Zn.flush=mn,Zn}var Tte=Ue(function(i,l){return iI(i,1,l)}),Ete=Ue(function(i,l,p){return iI(i,Cr(l)||0,p)});function Ite(i){return fo(i,Z)}function Hd(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new mr(a);var p=function(){var y=arguments,A=l?l.apply(this,y):y[0],j=p.cache;if(j.has(A))return j.get(A);var R=i.apply(this,y);return p.cache=j.set(A,R)||j,R};return p.cache=new(Hd.Cache||co),p}Hd.Cache=co;function Gd(i){if(typeof i!="function")throw new mr(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function Ote(i){return fO(2,i)}var Pte=g$(function(i,l){l=l.length==1&&Ne(l[0])?At(l[0],Gn(je())):At(en(l,1),Gn(je()));var p=l.length;return Ue(function(y){for(var A=-1,j=cn(y.length,p);++A<j;)y[A]=l[A].call(this,y[A]);return Hn(i,this,y)})}),p0=Ue(function(i,l){var p=Yo(l,$s(p0));return fo(i,P,n,l,p)}),vO=Ue(function(i,l){var p=Yo(l,$s(vO));return fo(i,L,n,l,p)}),jte=po(function(i,l){return fo(i,Y,n,n,n,l)});function Mte(i,l){if(typeof i!="function")throw new mr(a);return l=l===n?l:We(l),Ue(i,l)}function kte(i,l){if(typeof i!="function")throw new mr(a);return l=l==null?0:Yt(We(l),0),Ue(function(p){var y=p[l],A=Jo(p,0,l);return y&&Go(A,y),Hn(i,this,A)})}function Fte(i,l,p){var y=!0,A=!0;if(typeof i!="function")throw new mr(a);return Pt(p)&&(y="leading"in p?!!p.leading:y,A="trailing"in p?!!p.trailing:A),mO(i,l,{leading:y,maxWait:l,trailing:A})}function Lte(i){return dO(i,1)}function Dte(i,l){return p0(Jm(l),i)}function Rte(){if(!arguments.length)return[];var i=arguments[0];return Ne(i)?i:[i]}function _te(i){return yr(i,v)}function Bte(i,l){return l=typeof l=="function"?l:n,yr(i,v,l)}function Nte(i){return yr(i,g|v)}function Vte(i,l){return l=typeof l=="function"?l:n,yr(i,g|v,l)}function Wte(i,l){return l==null||oI(i,l,Zt(l))}function jr(i,l){return i===l||i!==i&&l!==l}var zte=_d(Nm),Ute=_d(function(i,l){return i>=l}),zi=uI(function(){return arguments}())?uI:function(i){return Lt(i)&&ct.call(i,"callee")&&!QE.call(i,"callee")},Ne=te.isArray,Hte=ME?Gn(ME):qq;function Pn(i){return i!=null&&Yd(i.length)&&!go(i)}function _t(i){return Lt(i)&&Pn(i)}function Gte(i){return i===!0||i===!1||Lt(i)&&hn(i)==Ce}var qo=iq||A0,Yte=kE?Gn(kE):$q;function Kte(i){return Lt(i)&&i.nodeType===1&&!jl(i)}function Xte(i){if(i==null)return!0;if(Pn(i)&&(Ne(i)||typeof i=="string"||typeof i.splice=="function"||qo(i)||ea(i)||zi(i)))return!i.length;var l=un(i);if(l==me||l==bt)return!i.size;if(Ol(i))return!zm(i).length;for(var p in i)if(ct.call(i,p))return!1;return!0}function Zte(i,l){return Tl(i,l)}function Qte(i,l,p){p=typeof p=="function"?p:n;var y=p?p(i,l):n;return y===n?Tl(i,l,n,p):!!y}function h0(i){if(!Lt(i))return!1;var l=hn(i);return l==Ie||l==we||typeof i.message=="string"&&typeof i.name=="string"&&!jl(i)}function Jte(i){return typeof i=="number"&&qE(i)}function go(i){if(!Pt(i))return!1;var l=hn(i);return l==ue||l==qe||l==Te||l==Un}function yO(i){return typeof i=="number"&&i==We(i)}function Yd(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=N}function Pt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Lt(i){return i!=null&&typeof i=="object"}var bO=FE?Gn(FE):t$;function qte(i,l){return i===l||Wm(i,l,o0(l))}function $te(i,l,p){return p=typeof p=="function"?p:n,Wm(i,l,o0(l),p)}function ene(i){return xO(i)&&i!=+i}function tne(i){if(B$(i))throw new _e(s);return dI(i)}function nne(i){return i===null}function rne(i){return i==null}function xO(i){return typeof i=="number"||Lt(i)&&hn(i)==Qe}function jl(i){if(!Lt(i)||hn(i)!=Et)return!1;var l=bd(i);if(l===null)return!0;var p=ct.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&gd.call(p)==$J}var g0=LE?Gn(LE):n$;function one(i){return yO(i)&&i>=-N&&i<=N}var CO=DE?Gn(DE):r$;function Kd(i){return typeof i=="string"||!Ne(i)&&Lt(i)&&hn(i)==Xt}function Kn(i){return typeof i=="symbol"||Lt(i)&&hn(i)==xt}var ea=RE?Gn(RE):o$;function ine(i){return i===n}function sne(i){return Lt(i)&&un(i)==Ot}function ane(i){return Lt(i)&&hn(i)==Le}var lne=_d(Um),cne=_d(function(i,l){return i<=l});function wO(i){if(!i)return[];if(Pn(i))return Kd(i)?Or(i):On(i);if(vl&&i[vl])return WJ(i[vl]());var l=un(i),p=l==me?jm:l==bt?fd:ta;return p(i)}function mo(i){if(!i)return i===0?i:0;if(i=Cr(i),i===Q||i===-Q){var l=i<0?-1:1;return l*ne}return i===i?i:0}function We(i){var l=mo(i),p=l%1;return l===l?p?l-p:l:0}function SO(i){return i?Bi(We(i),0,K):0}function Cr(i){if(typeof i=="number")return i;if(Kn(i))return W;if(Pt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Pt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=zE(i);var p=pm.test(i);return p||Ve.test(i)?AJ(i.slice(2),p?2:8):fm.test(i)?W:+i}function AO(i){return Hr(i,jn(i))}function une(i){return i?Bi(We(i),-N,N):i===0?i:0}function at(i){return i==null?"":Yn(i)}var dne=Js(function(i,l){if(Ol(l)||Pn(l)){Hr(l,Zt(l),i);return}for(var p in l)ct.call(l,p)&&wl(i,p,l[p])}),TO=Js(function(i,l){Hr(l,jn(l),i)}),Xd=Js(function(i,l,p,y){Hr(l,jn(l),i,y)}),fne=Js(function(i,l,p,y){Hr(l,Zt(l),i,y)}),pne=po(Rm);function hne(i,l){var p=Qs(i);return l==null?p:rI(p,l)}var gne=Ue(function(i,l){i=ft(i);var p=-1,y=l.length,A=y>2?l[2]:n;for(A&&gn(l[0],l[1],A)&&(y=1);++p<y;)for(var j=l[p],R=jn(j),V=-1,H=R.length;++V<H;){var ie=R[V],se=i[ie];(se===n||jr(se,Ks[ie])&&!ct.call(i,ie))&&(i[ie]=j[ie])}return i}),mne=Ue(function(i){return i.push(n,zI),Hn(EO,n,i)});function vne(i,l){return BE(i,je(l,3),Ur)}function yne(i,l){return BE(i,je(l,3),Bm)}function bne(i,l){return i==null?i:_m(i,je(l,3),jn)}function xne(i,l){return i==null?i:lI(i,je(l,3),jn)}function Cne(i,l){return i&&Ur(i,je(l,3))}function wne(i,l){return i&&Bm(i,je(l,3))}function Sne(i){return i==null?[]:Pd(i,Zt(i))}function Ane(i){return i==null?[]:Pd(i,jn(i))}function m0(i,l,p){var y=i==null?n:Ni(i,l);return y===n?p:y}function Tne(i,l){return i!=null&&GI(i,l,Xq)}function v0(i,l){return i!=null&&GI(i,l,Zq)}var Ene=_I(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=md.call(l)),i[l]=p},b0(Mn)),Ine=_I(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=md.call(l)),ct.call(i,l)?i[l].push(p):i[l]=[p]},je),One=Ue(Al);function Zt(i){return Pn(i)?tI(i):zm(i)}function jn(i){return Pn(i)?tI(i,!0):i$(i)}function Pne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,j){uo(p,l(y,A,j),y)}),p}function jne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,j){uo(p,A,l(y,A,j))}),p}var Mne=Js(function(i,l,p){jd(i,l,p)}),EO=Js(function(i,l,p,y){jd(i,l,p,y)}),kne=po(function(i,l){var p={};if(i==null)return p;var y=!1;l=At(l,function(j){return j=Qo(j,i),y||(y=j.length>1),j}),Hr(i,n0(i),p),y&&(p=yr(p,g|m|v,E$));for(var A=l.length;A--;)Xm(p,l[A]);return p});function Fne(i,l){return IO(i,Gd(je(l)))}var Lne=po(function(i,l){return i==null?{}:a$(i,l)});function IO(i,l){if(i==null)return{};var p=At(n0(i),function(y){return[y]});return l=je(l),yI(i,p,function(y,A){return l(y,A[0])})}function Dne(i,l,p){l=Qo(l,i);var y=-1,A=l.length;for(A||(A=1,i=n);++y<A;){var j=i==null?n:i[Gr(l[y])];j===n&&(y=A,j=p),i=go(j)?j.call(i):j}return i}function Rne(i,l,p){return i==null?i:El(i,l,p)}function _ne(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:El(i,l,p,y)}var OO=VI(Zt),PO=VI(jn);function Bne(i,l,p){var y=Ne(i),A=y||qo(i)||ea(i);if(l=je(l,4),p==null){var j=i&&i.constructor;A?p=y?new j:[]:Pt(i)?p=go(j)?Qs(bd(i)):{}:p={}}return(A?gr:Ur)(i,function(R,V,H){return l(p,R,V,H)}),p}function Nne(i,l){return i==null?!0:Xm(i,l)}function Vne(i,l,p){return i==null?i:SI(i,l,Jm(p))}function Wne(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:SI(i,l,Jm(p),y)}function ta(i){return i==null?[]:Pm(i,Zt(i))}function zne(i){return i==null?[]:Pm(i,jn(i))}function Une(i,l,p){return p===n&&(p=l,l=n),p!==n&&(p=Cr(p),p=p===p?p:0),l!==n&&(l=Cr(l),l=l===l?l:0),Bi(Cr(i),l,p)}function Hne(i,l,p){return l=mo(l),p===n?(p=l,l=0):p=mo(p),i=Cr(i),Qq(i,l,p)}function Gne(i,l,p){if(p&&typeof p!="boolean"&&gn(i,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof i=="boolean"&&(p=i,i=n)),i===n&&l===n?(i=0,l=1):(i=mo(i),l===n?(l=i,i=0):l=mo(l)),i>l){var y=i;i=l,l=y}if(p||i%1||l%1){var A=$E();return cn(i+A*(l-i+SJ("1e-"+((A+"").length-1))),l)}return Gm(i,l)}var Yne=qs(function(i,l,p){return l=l.toLowerCase(),i+(p?jO(l):l)});function jO(i){return y0(at(i).toLowerCase())}function MO(i){return i=at(i),i&&i.replace(XQ,RJ).replace(pJ,"")}function Kne(i,l,p){i=at(i),l=Yn(l);var y=i.length;p=p===n?y:Bi(We(p),0,y);var A=p;return p-=l.length,p>=0&&i.slice(p,A)==l}function Xne(i){return i=at(i),i&&$u.test(i)?i.replace(fl,_J):i}function Zne(i){return i=at(i),i&&hl.test(i)?i.replace(ao,"\\$&"):i}var Qne=qs(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),Jne=qs(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),qne=LI("toLowerCase");function $ne(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;if(!l||y>=l)return i;var A=(l-y)/2;return Rd(Sd(A),p)+i+Rd(wd(A),p)}function ere(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?i+Rd(l-y,p):i}function tre(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?Rd(l-y,p)+i:i}function nre(i,l,p){return p||l==null?l=0:l&&(l=+l),cq(at(i).replace(ln,""),l||0)}function rre(i,l,p){return(p?gn(i,l,p):l===n)?l=1:l=We(l),Ym(at(i),l)}function ore(){var i=arguments,l=at(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var ire=qs(function(i,l,p){return i+(p?"_":"")+l.toLowerCase()});function sre(i,l,p){return p&&typeof p!="number"&&gn(i,l,p)&&(l=p=n),p=p===n?K:p>>>0,p?(i=at(i),i&&(typeof l=="string"||l!=null&&!g0(l))&&(l=Yn(l),!l&&Hs(i))?Jo(Or(i),0,p):i.split(l,p)):[]}var are=qs(function(i,l,p){return i+(p?" ":"")+y0(l)});function lre(i,l,p){return i=at(i),p=p==null?0:Bi(We(p),0,i.length),l=Yn(l),i.slice(p,p+l.length)==l}function cre(i,l,p){var y=O.templateSettings;p&&gn(i,l,p)&&(l=n),i=at(i),l=Xd({},l,y,WI);var A=Xd({},l.imports,y.imports,WI),j=Zt(A),R=Pm(A,j),V,H,ie=0,se=l.interpolate||ad,ce="__p += '",ye=Mm((l.escape||ad).source+"|"+se.source+"|"+(se===td?id:ad).source+"|"+(l.evaluate||ad).source+"|$","g"),Ee="//# sourceURL="+(ct.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++yJ+"]")+`
|
|
196
|
-
`;i.replace(ye,function(ke,Ye,Ze,Xn,mn,Zn){return Ze||(Ze=Xn),ce+=i.slice(ie,Zn).replace(
|
|
195
|
+
`)}function W$(i){return Ne(i)||zi(i)||!!(eI&&i&&i[eI])}function ho(i,l){var p=typeof i;return l=l??N,!!l&&(p=="number"||p!="symbol"&&pn.test(i))&&i>-1&&i%1==0&&i<l}function gn(i,l,p){if(!Pt(p))return!1;var y=typeof l;return(y=="number"?Pn(p)&&ho(l,p.length):y=="string"&&l in p)?jr(p[l],i):!1}function s0(i,l){if(Ne(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Kn(i)?!0:pl.test(i)||!cm.test(i)||l!=null&&i in ft(l)}function z$(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function a0(i){var l=Bd(i),p=O[l];if(typeof p!="function"||!(l in Xe.prototype))return!1;if(i===p)return!0;var y=r0(p);return!!y&&i===y[0]}function U$(i){return!!QE&&QE in i}var H$=hd?go:A0;function Ol(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Ks;return i===p}function QI(i){return i===i&&!Pt(i)}function JI(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ft(p))}}function G$(i){var l=Hd(i,function(y){return p.size===d&&p.clear(),y}),p=l.cache;return l}function Y$(i,l){var p=i[1],y=l[1],A=p|y,M=A<(w|I|F),_=y==F&&p==E||y==F&&p==U&&i[7].length<=l[8]||y==(F|U)&&l[7].length<=l[8]&&p==E;if(!(M||_))return i;y&w&&(i[2]=l[2],A|=p&w?0:L);var V=l[3];if(V){var Y=i[3];i[3]=Y?LI(Y,V,l[4]):V,i[4]=Y?Yo(i[3],h):l[4]}return V=l[5],V&&(Y=i[5],i[5]=Y?FI(Y,V,l[6]):V,i[6]=Y?Yo(i[5],h):l[6]),V=l[7],V&&(i[7]=V),y&F&&(i[8]=i[8]==null?l[8]:cn(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=A,i}function K$(i){var l=[];if(i!=null)for(var p in ft(i))l.push(p);return l}function X$(i){return md.call(i)}function qI(i,l,p){return l=Yt(l===n?i.length-1:l,0),function(){for(var y=arguments,A=-1,M=Yt(y.length-l,0),_=te(M);++A<M;)_[A]=y[l+A];A=-1;for(var V=te(l+1);++A<l;)V[A]=y[A];return V[l]=p(_),Hn(i,this,V)}}function $I(i,l){return l.length<2?i:Ni(i,br(l,0,-1))}function Z$(i,l){for(var p=i.length,y=cn(l.length,p),A=On(i);y--;){var M=l[y];i[y]=ho(M,p)?A[M]:n}return i}function l0(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var eO=nO(SI),Pl=uq||function(i,l){return $t.setTimeout(i,l)},c0=nO(y$);function tO(i,l,p){var y=l+"";return c0(i,V$(y,Q$(R$(y),p)))}function nO(i){var l=0,p=0;return function(){var y=hq(),A=ae-(y-p);if(p=y,A>0){if(++l>=le)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Vd(i,l){var p=-1,y=i.length,A=y-1;for(l=l===n?y:l;++p<l;){var M=Gm(p,A),_=i[M];i[M]=i[p],i[p]=_}return i.length=l,i}var rO=G$(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(um,function(p,y,A,M){l.push(A?M.replace(od,"$1"):y||p)}),l});function Gr(i){if(typeof i=="string"||Kn(i))return i;var l=i+"";return l=="0"&&1/i==-Q?"-0":l}function Wi(i){if(i!=null){try{return gd.call(i)}catch{}try{return i+""}catch{}}return""}function Q$(i,l){return gr(fe,function(p){var y="_."+p[0];l&p[1]&&!ud(i,y)&&i.push(y)}),i.sort()}function oO(i){if(i instanceof Xe)return i.clone();var l=new vr(i.__wrapped__,i.__chain__);return l.__actions__=On(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function J$(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=Yt(We(l),0);var y=i==null?0:i.length;if(!y||l<1)return[];for(var A=0,M=0,_=te(wd(y/l));A<y;)_[M++]=br(i,A,A+=l);return _}function q$(i){for(var l=-1,p=i==null?0:i.length,y=0,A=[];++l<p;){var M=i[l];M&&(A[y++]=M)}return A}function $$(){var i=arguments.length;if(!i)return[];for(var l=te(i-1),p=arguments[0],y=i;y--;)l[y-1]=arguments[y];return Go(Ne(p)?On(p):[p],en(l,1))}var eee=Ue(function(i,l){return Rt(i)?Sl(i,en(l,1,Rt,!0)):[]}),tee=Ue(function(i,l){var p=xr(l);return Rt(p)&&(p=n),Rt(i)?Sl(i,en(l,1,Rt,!0),je(p,2)):[]}),nee=Ue(function(i,l){var p=xr(l);return Rt(p)&&(p=n),Rt(i)?Sl(i,en(l,1,Rt,!0),n,p):[]});function ree(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),br(i,l<0?0:l,y)):[]}function oee(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),l=y-l,br(i,0,l<0?0:l)):[]}function iee(i,l){return i&&i.length?kd(i,je(l,3),!0,!0):[]}function see(i,l){return i&&i.length?kd(i,je(l,3),!0):[]}function aee(i,l,p,y){var A=i==null?0:i.length;return A?(p&&typeof p!="number"&&gn(i,l,p)&&(p=0,y=A),$q(i,l,p,y)):[]}function iO(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=p==null?0:We(p);return A<0&&(A=Yt(y+A,0)),dd(i,je(l,3),A)}function sO(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=y-1;return p!==n&&(A=We(p),A=p<0?Yt(y+A,0):cn(A,y-1)),dd(i,je(l,3),A,!0)}function aO(i){var l=i==null?0:i.length;return l?en(i,1):[]}function lee(i){var l=i==null?0:i.length;return l?en(i,Q):[]}function cee(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:We(l),en(i,l)):[]}function uee(i){for(var l=-1,p=i==null?0:i.length,y={};++l<p;){var A=i[l];y[A[0]]=A[1]}return y}function lO(i){return i&&i.length?i[0]:n}function dee(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=p==null?0:We(p);return A<0&&(A=Yt(y+A,0)),Us(i,l,A)}function fee(i){var l=i==null?0:i.length;return l?br(i,0,-1):[]}var pee=Ue(function(i){var l=At(i,Qm);return l.length&&l[0]===i[0]?Vm(l):[]}),hee=Ue(function(i){var l=xr(i),p=At(i,Qm);return l===xr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?Vm(p,je(l,2)):[]}),gee=Ue(function(i){var l=xr(i),p=At(i,Qm);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?Vm(p,n,l):[]});function mee(i,l){return i==null?"":fq.call(i,l)}function xr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function vee(i,l,p){var y=i==null?0:i.length;if(!y)return-1;var A=y;return p!==n&&(A=We(p),A=A<0?Yt(y+A,0):cn(A,y-1)),l===l?QJ(i,l,A):dd(i,zE,A,!0)}function yee(i,l){return i&&i.length?bI(i,We(l)):n}var bee=Ue(cO);function cO(i,l){return i&&i.length&&l&&l.length?Hm(i,l):i}function xee(i,l,p){return i&&i.length&&l&&l.length?Hm(i,l,je(p,2)):i}function Cee(i,l,p){return i&&i.length&&l&&l.length?Hm(i,l,n,p):i}var wee=po(function(i,l){var p=i==null?0:i.length,y=_m(i,l);return wI(i,At(l,function(A){return ho(A,p)?+A:A}).sort(kI)),y});function See(i,l){var p=[];if(!(i&&i.length))return p;var y=-1,A=[],M=i.length;for(l=je(l,3);++y<M;){var _=i[y];l(_,y,i)&&(p.push(_),A.push(y))}return wI(i,A),p}function u0(i){return i==null?i:mq.call(i)}function Aee(i,l,p){var y=i==null?0:i.length;return y?(p&&typeof p!="number"&&gn(i,l,p)?(l=0,p=y):(l=l==null?0:We(l),p=p===n?y:We(p)),br(i,l,p)):[]}function Tee(i,l){return Md(i,l)}function Eee(i,l,p){return Km(i,l,je(p,2))}function Iee(i,l){var p=i==null?0:i.length;if(p){var y=Md(i,l);if(y<p&&jr(i[y],l))return y}return-1}function Oee(i,l){return Md(i,l,!0)}function Pee(i,l,p){return Km(i,l,je(p,2),!0)}function jee(i,l){var p=i==null?0:i.length;if(p){var y=Md(i,l,!0)-1;if(jr(i[y],l))return y}return-1}function Mee(i){return i&&i.length?AI(i):[]}function kee(i,l){return i&&i.length?AI(i,je(l,2)):[]}function Lee(i){var l=i==null?0:i.length;return l?br(i,1,l):[]}function Fee(i,l,p){return i&&i.length?(l=p||l===n?1:We(l),br(i,0,l<0?0:l)):[]}function Dee(i,l,p){var y=i==null?0:i.length;return y?(l=p||l===n?1:We(l),l=y-l,br(i,l<0?0:l,y)):[]}function _ee(i,l){return i&&i.length?kd(i,je(l,3),!1,!0):[]}function Ree(i,l){return i&&i.length?kd(i,je(l,3)):[]}var Bee=Ue(function(i){return Zo(en(i,1,Rt,!0))}),Nee=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),Zo(en(i,1,Rt,!0),je(l,2))}),Vee=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Zo(en(i,1,Rt,!0),n,l)});function Wee(i){return i&&i.length?Zo(i):[]}function zee(i,l){return i&&i.length?Zo(i,je(l,2)):[]}function Uee(i,l){return l=typeof l=="function"?l:n,i&&i.length?Zo(i,n,l):[]}function d0(i){if(!(i&&i.length))return[];var l=0;return i=Ho(i,function(p){if(Rt(p))return l=Yt(p.length,l),!0}),Om(l,function(p){return At(i,Tm(p))})}function uO(i,l){if(!(i&&i.length))return[];var p=d0(i);return l==null?p:At(p,function(y){return Hn(l,n,y)})}var Hee=Ue(function(i,l){return Rt(i)?Sl(i,l):[]}),Gee=Ue(function(i){return Zm(Ho(i,Rt))}),Yee=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),Zm(Ho(i,Rt),je(l,2))}),Kee=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Zm(Ho(i,Rt),n,l)}),Xee=Ue(d0);function Zee(i,l){return OI(i||[],l||[],wl)}function Qee(i,l){return OI(i||[],l||[],El)}var Jee=Ue(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,uO(i,p)});function dO(i){var l=O(i);return l.__chain__=!0,l}function qee(i,l){return l(i),i}function Wd(i,l){return l(i)}var $ee=po(function(i){var l=i.length,p=l?i[0]:0,y=this.__wrapped__,A=function(M){return _m(M,i)};return l>1||this.__actions__.length||!(y instanceof Xe)||!ho(p)?this.thru(A):(y=y.slice(p,+p+(l?1:0)),y.__actions__.push({func:Wd,args:[A],thisArg:n}),new vr(y,this.__chain__).thru(function(M){return l&&!M.length&&M.push(n),M}))});function ete(){return dO(this)}function tte(){return new vr(this.value(),this.__chain__)}function nte(){this.__values__===n&&(this.__values__=TO(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function rte(){return this}function ote(i){for(var l,p=this;p instanceof Ed;){var y=oO(p);y.__index__=0,y.__values__=n,l?A.__wrapped__=y:l=y;var A=y;p=p.__wrapped__}return A.__wrapped__=i,l}function ite(){var i=this.__wrapped__;if(i instanceof Xe){var l=i;return this.__actions__.length&&(l=new Xe(this)),l=l.reverse(),l.__actions__.push({func:Wd,args:[u0],thisArg:n}),new vr(l,this.__chain__)}return this.thru(u0)}function ste(){return II(this.__wrapped__,this.__actions__)}var ate=Ld(function(i,l,p){ct.call(i,p)?++i[p]:uo(i,p,1)});function lte(i,l,p){var y=Ne(i)?VE:qq;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}function cte(i,l){var p=Ne(i)?Ho:uI;return p(i,je(l,3))}var ute=BI(iO),dte=BI(sO);function fte(i,l){return en(zd(i,l),1)}function pte(i,l){return en(zd(i,l),Q)}function hte(i,l,p){return p=p===n?1:We(p),en(zd(i,l),p)}function fO(i,l){var p=Ne(i)?gr:Xo;return p(i,je(l,3))}function pO(i,l){var p=Ne(i)?LJ:cI;return p(i,je(l,3))}var gte=Ld(function(i,l,p){ct.call(i,p)?i[p].push(l):uo(i,p,[l])});function mte(i,l,p,y){i=Pn(i)?i:ta(i),p=p&&!y?We(p):0;var A=i.length;return p<0&&(p=Yt(A+p,0)),Kd(i)?p<=A&&i.indexOf(l,p)>-1:!!A&&Us(i,l,p)>-1}var vte=Ue(function(i,l,p){var y=-1,A=typeof l=="function",M=Pn(i)?te(i.length):[];return Xo(i,function(_){M[++y]=A?Hn(l,_,p):Al(_,l,p)}),M}),yte=Ld(function(i,l,p){uo(i,p,l)});function zd(i,l){var p=Ne(i)?At:mI;return p(i,je(l,3))}function bte(i,l,p,y){return i==null?[]:(Ne(l)||(l=l==null?[]:[l]),p=y?n:p,Ne(p)||(p=p==null?[]:[p]),xI(i,l,p))}var xte=Ld(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function Cte(i,l,p){var y=Ne(i)?Sm:HE,A=arguments.length<3;return y(i,je(l,4),p,A,Xo)}function wte(i,l,p){var y=Ne(i)?FJ:HE,A=arguments.length<3;return y(i,je(l,4),p,A,cI)}function Ste(i,l){var p=Ne(i)?Ho:uI;return p(i,Gd(je(l,3)))}function Ate(i){var l=Ne(i)?iI:m$;return l(i)}function Tte(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=We(l);var y=Ne(i)?Kq:v$;return y(i,l)}function Ete(i){var l=Ne(i)?Xq:b$;return l(i)}function Ite(i){if(i==null)return 0;if(Pn(i))return Kd(i)?Gs(i):i.length;var l=un(i);return l==me||l==bt?i.size:zm(i).length}function Ote(i,l,p){var y=Ne(i)?Am:x$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}var Pte=Ue(function(i,l){if(i==null)return[];var p=l.length;return p>1&&gn(i,l[0],l[1])?l=[]:p>2&&gn(l[0],l[1],l[2])&&(l=[l[0]]),xI(i,en(l,1),[])}),Ud=cq||function(){return $t.Date.now()};function jte(i,l){if(typeof l!="function")throw new mr(a);return i=We(i),function(){if(--i<1)return l.apply(this,arguments)}}function hO(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,fo(i,F,n,n,n,n,l)}function gO(i,l){var p;if(typeof l!="function")throw new mr(a);return i=We(i),function(){return--i>0&&(p=l.apply(this,arguments)),i<=1&&(l=n),p}}var f0=Ue(function(i,l,p){var y=w;if(p.length){var A=Yo(p,$s(f0));y|=P}return fo(i,y,l,p,A)}),mO=Ue(function(i,l,p){var y=w|I;if(p.length){var A=Yo(p,$s(mO));y|=P}return fo(l,y,i,p,A)});function vO(i,l,p){l=p?n:l;var y=fo(i,E,n,n,n,n,n,l);return y.placeholder=vO.placeholder,y}function yO(i,l,p){l=p?n:l;var y=fo(i,j,n,n,n,n,n,l);return y.placeholder=yO.placeholder,y}function bO(i,l,p){var y,A,M,_,V,Y,ie=0,se=!1,ce=!1,ye=!0;if(typeof i!="function")throw new mr(a);l=Cr(l)||0,Pt(p)&&(se=!!p.leading,ce="maxWait"in p,M=ce?Yt(Cr(p.maxWait)||0,l):M,ye="trailing"in p?!!p.trailing:ye);function Ee(Bt){var Mr=y,vo=A;return y=A=n,ie=Bt,_=i.apply(vo,Mr),_}function Me(Bt){return ie=Bt,V=Pl(Ye,l),se?Ee(Bt):_}function ze(Bt){var Mr=Bt-Y,vo=Bt-ie,BO=l-Mr;return ce?cn(BO,M-vo):BO}function ke(Bt){var Mr=Bt-Y,vo=Bt-ie;return Y===n||Mr>=l||Mr<0||ce&&vo>=M}function Ye(){var Bt=Ud();if(ke(Bt))return Ze(Bt);V=Pl(Ye,ze(Bt))}function Ze(Bt){return V=n,ye&&y?Ee(Bt):(y=A=n,_)}function Xn(){V!==n&&PI(V),ie=0,y=Y=A=V=n}function mn(){return V===n?_:Ze(Ud())}function Zn(){var Bt=Ud(),Mr=ke(Bt);if(y=arguments,A=this,Y=Bt,Mr){if(V===n)return Me(Y);if(ce)return PI(V),V=Pl(Ye,l),Ee(Y)}return V===n&&(V=Pl(Ye,l)),_}return Zn.cancel=Xn,Zn.flush=mn,Zn}var Mte=Ue(function(i,l){return lI(i,1,l)}),kte=Ue(function(i,l,p){return lI(i,Cr(l)||0,p)});function Lte(i){return fo(i,K)}function Hd(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new mr(a);var p=function(){var y=arguments,A=l?l.apply(this,y):y[0],M=p.cache;if(M.has(A))return M.get(A);var _=i.apply(this,y);return p.cache=M.set(A,_)||M,_};return p.cache=new(Hd.Cache||co),p}Hd.Cache=co;function Gd(i){if(typeof i!="function")throw new mr(a);return function(){var l=arguments;switch(l.length){case 0:return!i.call(this);case 1:return!i.call(this,l[0]);case 2:return!i.call(this,l[0],l[1]);case 3:return!i.call(this,l[0],l[1],l[2])}return!i.apply(this,l)}}function Fte(i){return gO(2,i)}var Dte=C$(function(i,l){l=l.length==1&&Ne(l[0])?At(l[0],Gn(je())):At(en(l,1),Gn(je()));var p=l.length;return Ue(function(y){for(var A=-1,M=cn(y.length,p);++A<M;)y[A]=l[A].call(this,y[A]);return Hn(i,this,y)})}),p0=Ue(function(i,l){var p=Yo(l,$s(p0));return fo(i,P,n,l,p)}),xO=Ue(function(i,l){var p=Yo(l,$s(xO));return fo(i,D,n,l,p)}),_te=po(function(i,l){return fo(i,U,n,n,n,l)});function Rte(i,l){if(typeof i!="function")throw new mr(a);return l=l===n?l:We(l),Ue(i,l)}function Bte(i,l){if(typeof i!="function")throw new mr(a);return l=l==null?0:Yt(We(l),0),Ue(function(p){var y=p[l],A=Jo(p,0,l);return y&&Go(A,y),Hn(i,this,A)})}function Nte(i,l,p){var y=!0,A=!0;if(typeof i!="function")throw new mr(a);return Pt(p)&&(y="leading"in p?!!p.leading:y,A="trailing"in p?!!p.trailing:A),bO(i,l,{leading:y,maxWait:l,trailing:A})}function Vte(i){return hO(i,1)}function Wte(i,l){return p0(Jm(l),i)}function zte(){if(!arguments.length)return[];var i=arguments[0];return Ne(i)?i:[i]}function Ute(i){return yr(i,v)}function Hte(i,l){return l=typeof l=="function"?l:n,yr(i,v,l)}function Gte(i){return yr(i,g|v)}function Yte(i,l){return l=typeof l=="function"?l:n,yr(i,g|v,l)}function Kte(i,l){return l==null||aI(i,l,Zt(l))}function jr(i,l){return i===l||i!==i&&l!==l}var Xte=Rd(Nm),Zte=Rd(function(i,l){return i>=l}),zi=pI(function(){return arguments}())?pI:function(i){return Ft(i)&&ct.call(i,"callee")&&!$E.call(i,"callee")},Ne=te.isArray,Qte=FE?Gn(FE):o$;function Pn(i){return i!=null&&Yd(i.length)&&!go(i)}function Rt(i){return Ft(i)&&Pn(i)}function Jte(i){return i===!0||i===!1||Ft(i)&&hn(i)==Ce}var qo=dq||A0,qte=DE?Gn(DE):i$;function $te(i){return Ft(i)&&i.nodeType===1&&!jl(i)}function ene(i){if(i==null)return!0;if(Pn(i)&&(Ne(i)||typeof i=="string"||typeof i.splice=="function"||qo(i)||ea(i)||zi(i)))return!i.length;var l=un(i);if(l==me||l==bt)return!i.size;if(Ol(i))return!zm(i).length;for(var p in i)if(ct.call(i,p))return!1;return!0}function tne(i,l){return Tl(i,l)}function nne(i,l,p){p=typeof p=="function"?p:n;var y=p?p(i,l):n;return y===n?Tl(i,l,n,p):!!y}function h0(i){if(!Ft(i))return!1;var l=hn(i);return l==Ie||l==we||typeof i.message=="string"&&typeof i.name=="string"&&!jl(i)}function rne(i){return typeof i=="number"&&tI(i)}function go(i){if(!Pt(i))return!1;var l=hn(i);return l==ue||l==qe||l==Te||l==Un}function CO(i){return typeof i=="number"&&i==We(i)}function Yd(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=N}function Pt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Ft(i){return i!=null&&typeof i=="object"}var wO=_E?Gn(_E):a$;function one(i,l){return i===l||Wm(i,l,o0(l))}function ine(i,l,p){return p=typeof p=="function"?p:n,Wm(i,l,o0(l),p)}function sne(i){return SO(i)&&i!=+i}function ane(i){if(H$(i))throw new Re(s);return hI(i)}function lne(i){return i===null}function cne(i){return i==null}function SO(i){return typeof i=="number"||Ft(i)&&hn(i)==Qe}function jl(i){if(!Ft(i)||hn(i)!=Et)return!1;var l=bd(i);if(l===null)return!0;var p=ct.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&gd.call(p)==iq}var g0=RE?Gn(RE):l$;function une(i){return CO(i)&&i>=-N&&i<=N}var AO=BE?Gn(BE):c$;function Kd(i){return typeof i=="string"||!Ne(i)&&Ft(i)&&hn(i)==Xt}function Kn(i){return typeof i=="symbol"||Ft(i)&&hn(i)==xt}var ea=NE?Gn(NE):u$;function dne(i){return i===n}function fne(i){return Ft(i)&&un(i)==Ot}function pne(i){return Ft(i)&&hn(i)==Fe}var hne=Rd(Um),gne=Rd(function(i,l){return i<=l});function TO(i){if(!i)return[];if(Pn(i))return Kd(i)?Or(i):On(i);if(vl&&i[vl])return KJ(i[vl]());var l=un(i),p=l==me?jm:l==bt?fd:ta;return p(i)}function mo(i){if(!i)return i===0?i:0;if(i=Cr(i),i===Q||i===-Q){var l=i<0?-1:1;return l*re}return i===i?i:0}function We(i){var l=mo(i),p=l%1;return l===l?p?l-p:l:0}function EO(i){return i?Bi(We(i),0,X):0}function Cr(i){if(typeof i=="number")return i;if(Kn(i))return W;if(Pt(i)){var l=typeof i.valueOf=="function"?i.valueOf():i;i=Pt(l)?l+"":l}if(typeof i!="string")return i===0?i:+i;i=GE(i);var p=pm.test(i);return p||Ve.test(i)?jJ(i.slice(2),p?2:8):fm.test(i)?W:+i}function IO(i){return Hr(i,jn(i))}function mne(i){return i?Bi(We(i),-N,N):i===0?i:0}function at(i){return i==null?"":Yn(i)}var vne=Js(function(i,l){if(Ol(l)||Pn(l)){Hr(l,Zt(l),i);return}for(var p in l)ct.call(l,p)&&wl(i,p,l[p])}),OO=Js(function(i,l){Hr(l,jn(l),i)}),Xd=Js(function(i,l,p,y){Hr(l,jn(l),i,y)}),yne=Js(function(i,l,p,y){Hr(l,Zt(l),i,y)}),bne=po(_m);function xne(i,l){var p=Qs(i);return l==null?p:sI(p,l)}var Cne=Ue(function(i,l){i=ft(i);var p=-1,y=l.length,A=y>2?l[2]:n;for(A&&gn(l[0],l[1],A)&&(y=1);++p<y;)for(var M=l[p],_=jn(M),V=-1,Y=_.length;++V<Y;){var ie=_[V],se=i[ie];(se===n||jr(se,Ks[ie])&&!ct.call(i,ie))&&(i[ie]=M[ie])}return i}),wne=Ue(function(i){return i.push(n,GI),Hn(PO,n,i)});function Sne(i,l){return WE(i,je(l,3),Ur)}function Ane(i,l){return WE(i,je(l,3),Bm)}function Tne(i,l){return i==null?i:Rm(i,je(l,3),jn)}function Ene(i,l){return i==null?i:dI(i,je(l,3),jn)}function Ine(i,l){return i&&Ur(i,je(l,3))}function One(i,l){return i&&Bm(i,je(l,3))}function Pne(i){return i==null?[]:Pd(i,Zt(i))}function jne(i){return i==null?[]:Pd(i,jn(i))}function m0(i,l,p){var y=i==null?n:Ni(i,l);return y===n?p:y}function Mne(i,l){return i!=null&&XI(i,l,e$)}function v0(i,l){return i!=null&&XI(i,l,t$)}var kne=VI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=md.call(l)),i[l]=p},b0(Mn)),Lne=VI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=md.call(l)),ct.call(i,l)?i[l].push(p):i[l]=[p]},je),Fne=Ue(Al);function Zt(i){return Pn(i)?oI(i):zm(i)}function jn(i){return Pn(i)?oI(i,!0):d$(i)}function Dne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,M){uo(p,l(y,A,M),y)}),p}function _ne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,M){uo(p,A,l(y,A,M))}),p}var Rne=Js(function(i,l,p){jd(i,l,p)}),PO=Js(function(i,l,p,y){jd(i,l,p,y)}),Bne=po(function(i,l){var p={};if(i==null)return p;var y=!1;l=At(l,function(M){return M=Qo(M,i),y||(y=M.length>1),M}),Hr(i,n0(i),p),y&&(p=yr(p,g|m|v,k$));for(var A=l.length;A--;)Xm(p,l[A]);return p});function Nne(i,l){return jO(i,Gd(je(l)))}var Vne=po(function(i,l){return i==null?{}:p$(i,l)});function jO(i,l){if(i==null)return{};var p=At(n0(i),function(y){return[y]});return l=je(l),CI(i,p,function(y,A){return l(y,A[0])})}function Wne(i,l,p){l=Qo(l,i);var y=-1,A=l.length;for(A||(A=1,i=n);++y<A;){var M=i==null?n:i[Gr(l[y])];M===n&&(y=A,M=p),i=go(M)?M.call(i):M}return i}function zne(i,l,p){return i==null?i:El(i,l,p)}function Une(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:El(i,l,p,y)}var MO=UI(Zt),kO=UI(jn);function Hne(i,l,p){var y=Ne(i),A=y||qo(i)||ea(i);if(l=je(l,4),p==null){var M=i&&i.constructor;A?p=y?new M:[]:Pt(i)?p=go(M)?Qs(bd(i)):{}:p={}}return(A?gr:Ur)(i,function(_,V,Y){return l(p,_,V,Y)}),p}function Gne(i,l){return i==null?!0:Xm(i,l)}function Yne(i,l,p){return i==null?i:EI(i,l,Jm(p))}function Kne(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:EI(i,l,Jm(p),y)}function ta(i){return i==null?[]:Pm(i,Zt(i))}function Xne(i){return i==null?[]:Pm(i,jn(i))}function Zne(i,l,p){return p===n&&(p=l,l=n),p!==n&&(p=Cr(p),p=p===p?p:0),l!==n&&(l=Cr(l),l=l===l?l:0),Bi(Cr(i),l,p)}function Qne(i,l,p){return l=mo(l),p===n?(p=l,l=0):p=mo(p),i=Cr(i),n$(i,l,p)}function Jne(i,l,p){if(p&&typeof p!="boolean"&&gn(i,l,p)&&(l=p=n),p===n&&(typeof l=="boolean"?(p=l,l=n):typeof i=="boolean"&&(p=i,i=n)),i===n&&l===n?(i=0,l=1):(i=mo(i),l===n?(l=i,i=0):l=mo(l)),i>l){var y=i;i=l,l=y}if(p||i%1||l%1){var A=nI();return cn(i+A*(l-i+PJ("1e-"+((A+"").length-1))),l)}return Gm(i,l)}var qne=qs(function(i,l,p){return l=l.toLowerCase(),i+(p?LO(l):l)});function LO(i){return y0(at(i).toLowerCase())}function FO(i){return i=at(i),i&&i.replace(eJ,zJ).replace(bJ,"")}function $ne(i,l,p){i=at(i),l=Yn(l);var y=i.length;p=p===n?y:Bi(We(p),0,y);var A=p;return p-=l.length,p>=0&&i.slice(p,A)==l}function ere(i){return i=at(i),i&&$u.test(i)?i.replace(fl,UJ):i}function tre(i){return i=at(i),i&&hl.test(i)?i.replace(ao,"\\$&"):i}var nre=qs(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),rre=qs(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),ore=RI("toLowerCase");function ire(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;if(!l||y>=l)return i;var A=(l-y)/2;return _d(Sd(A),p)+i+_d(wd(A),p)}function sre(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?i+_d(l-y,p):i}function are(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?_d(l-y,p)+i:i}function lre(i,l,p){return p||l==null?l=0:l&&(l=+l),gq(at(i).replace(ln,""),l||0)}function cre(i,l,p){return(p?gn(i,l,p):l===n)?l=1:l=We(l),Ym(at(i),l)}function ure(){var i=arguments,l=at(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var dre=qs(function(i,l,p){return i+(p?"_":"")+l.toLowerCase()});function fre(i,l,p){return p&&typeof p!="number"&&gn(i,l,p)&&(l=p=n),p=p===n?X:p>>>0,p?(i=at(i),i&&(typeof l=="string"||l!=null&&!g0(l))&&(l=Yn(l),!l&&Hs(i))?Jo(Or(i),0,p):i.split(l,p)):[]}var pre=qs(function(i,l,p){return i+(p?" ":"")+y0(l)});function hre(i,l,p){return i=at(i),p=p==null?0:Bi(We(p),0,i.length),l=Yn(l),i.slice(p,p+l.length)==l}function gre(i,l,p){var y=O.templateSettings;p&&gn(i,l,p)&&(l=n),i=at(i),l=Xd({},l,y,HI);var A=Xd({},l.imports,y.imports,HI),M=Zt(A),_=Pm(A,M),V,Y,ie=0,se=l.interpolate||ad,ce="__p += '",ye=Mm((l.escape||ad).source+"|"+se.source+"|"+(se===td?id:ad).source+"|"+(l.evaluate||ad).source+"|$","g"),Ee="//# sourceURL="+(ct.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++AJ+"]")+`
|
|
196
|
+
`;i.replace(ye,function(ke,Ye,Ze,Xn,mn,Zn){return Ze||(Ze=Xn),ce+=i.slice(ie,Zn).replace(tJ,HJ),Ye&&(V=!0,ce+=`' +
|
|
197
197
|
__e(`+Ye+`) +
|
|
198
|
-
'`),mn&&(
|
|
198
|
+
'`),mn&&(Y=!0,ce+=`';
|
|
199
199
|
`+mn+`;
|
|
200
200
|
__p += '`),Ze&&(ce+=`' +
|
|
201
201
|
((__t = (`+Ze+`)) == null ? '' : __t) +
|
|
@@ -203,15 +203,15 @@ __p += '`),Ze&&(ce+=`' +
|
|
|
203
203
|
`;var Me=ct.call(l,"variable")&&l.variable;if(!Me)ce=`with (obj) {
|
|
204
204
|
`+ce+`
|
|
205
205
|
}
|
|
206
|
-
`;else if(rd.test(Me))throw new
|
|
206
|
+
`;else if(rd.test(Me))throw new Re(c);ce=(Y?ce.replace(Qu,""):ce).replace(sm,"$1").replace(am,"$1;"),ce="function("+(Me||"obj")+`) {
|
|
207
207
|
`+(Me?"":`obj || (obj = {});
|
|
208
|
-
`)+"var __t, __p = ''"+(V?", __e = _.escape":"")+(
|
|
208
|
+
`)+"var __t, __p = ''"+(V?", __e = _.escape":"")+(Y?`, __j = Array.prototype.join;
|
|
209
209
|
function print() { __p += __j.call(arguments, '') }
|
|
210
210
|
`:`;
|
|
211
211
|
`)+ce+`return __p
|
|
212
|
-
}`;var ze=FO(function(){return nt(j,Ee+"return "+ce).apply(n,R)});if(ze.source=ce,h0(ze))throw ze;return ze}function ure(i){return at(i).toLowerCase()}function dre(i){return at(i).toUpperCase()}function fre(i,l,p){if(i=at(i),i&&(p||l===n))return zE(i);if(!i||!(l=Yn(l)))return i;var y=Or(i),A=Or(l),j=UE(y,A),R=HE(y,A)+1;return Jo(y,j,R).join("")}function pre(i,l,p){if(i=at(i),i&&(p||l===n))return i.slice(0,YE(i)+1);if(!i||!(l=Yn(l)))return i;var y=Or(i),A=HE(y,Or(l))+1;return Jo(y,0,A).join("")}function hre(i,l,p){if(i=at(i),i&&(p||l===n))return i.replace(ln,"");if(!i||!(l=Yn(l)))return i;var y=Or(i),A=UE(y,Or(l));return Jo(y,A).join("")}function gre(i,l){var p=ee,y=G;if(Pt(l)){var A="separator"in l?l.separator:A;p="length"in l?We(l.length):p,y="omission"in l?Yn(l.omission):y}i=at(i);var j=i.length;if(Hs(i)){var R=Or(i);j=R.length}if(p>=j)return i;var V=p-Gs(y);if(V<1)return y;var H=R?Jo(R,0,V).join(""):i.slice(0,V);if(A===n)return H+y;if(R&&(V+=H.length-V),g0(A)){if(i.slice(V).search(A)){var ie,se=H;for(A.global||(A=Mm(A.source,at(sd.exec(A))+"g")),A.lastIndex=0;ie=A.exec(se);)var ce=ie.index;H=H.slice(0,ce===n?V:ce)}}else if(i.indexOf(Yn(A),V)!=V){var ye=H.lastIndexOf(A);ye>-1&&(H=H.slice(0,ye))}return H+y}function mre(i){return i=at(i),i&&qu.test(i)?i.replace(Ju,GJ):i}var vre=qs(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),y0=LI("toUpperCase");function kO(i,l,p){return i=at(i),l=p?n:l,l===n?VJ(i)?XJ(i):MJ(i):i.match(l)||[]}var FO=Ue(function(i,l){try{return Hn(i,n,l)}catch(p){return h0(p)?p:new _e(p)}}),yre=po(function(i,l){return gr(l,function(p){p=Gr(p),uo(i,p,f0(i[p],i))}),i});function bre(i){var l=i==null?0:i.length,p=je();return i=l?At(i,function(y){if(typeof y[1]!="function")throw new mr(a);return[p(y[0]),y[1]]}):[],Ue(function(y){for(var A=-1;++A<l;){var j=i[A];if(Hn(j[0],this,y))return Hn(j[1],this,y)}})}function xre(i){return Gq(yr(i,g))}function b0(i){return function(){return i}}function Cre(i,l){return i==null||i!==i?l:i}var wre=RI(),Sre=RI(!0);function Mn(i){return i}function x0(i){return fI(typeof i=="function"?i:yr(i,g))}function Are(i){return hI(yr(i,g))}function Tre(i,l){return gI(i,yr(l,g))}var Ere=Ue(function(i,l){return function(p){return Al(p,i,l)}}),Ire=Ue(function(i,l){return function(p){return Al(i,p,l)}});function C0(i,l,p){var y=Zt(l),A=Pd(l,y);p==null&&!(Pt(l)&&(A.length||!y.length))&&(p=l,l=i,i=this,A=Pd(l,Zt(l)));var j=!(Pt(p)&&"chain"in p)||!!p.chain,R=go(i);return gr(A,function(V){var H=l[V];i[V]=H,R&&(i.prototype[V]=function(){var ie=this.__chain__;if(j||ie){var se=i(this.__wrapped__),ce=se.__actions__=On(this.__actions__);return ce.push({func:H,args:arguments,thisArg:i}),se.__chain__=ie,se}return H.apply(i,Go([this.value()],arguments))})}),i}function Ore(){return $t._===this&&($t._=eq),this}function w0(){}function Pre(i){return i=We(i),Ue(function(l){return mI(l,i)})}var jre=$m(At),Mre=$m(_E),kre=$m(Am);function LO(i){return s0(i)?Tm(Gr(i)):l$(i)}function Fre(i){return function(l){return i==null?n:Ni(i,l)}}var Lre=BI(),Dre=BI(!0);function S0(){return[]}function A0(){return!1}function Rre(){return{}}function _re(){return""}function Bre(){return!0}function Nre(i,l){if(i=We(i),i<1||i>N)return[];var p=K,y=cn(i,K);l=je(l),i-=K;for(var A=Om(y,l);++p<i;)l(p);return A}function Vre(i){return Ne(i)?At(i,Gr):Kn(i)?[i]:On(eO(at(i)))}function Wre(i){var l=++qJ;return at(i)+l}var zre=Dd(function(i,l){return i+l},0),Ure=e0("ceil"),Hre=Dd(function(i,l){return i/l},1),Gre=e0("floor");function Yre(i){return i&&i.length?Od(i,Mn,Nm):n}function Kre(i,l){return i&&i.length?Od(i,je(l,2),Nm):n}function Xre(i){return VE(i,Mn)}function Zre(i,l){return VE(i,je(l,2))}function Qre(i){return i&&i.length?Od(i,Mn,Um):n}function Jre(i,l){return i&&i.length?Od(i,je(l,2),Um):n}var qre=Dd(function(i,l){return i*l},1),$re=e0("round"),eoe=Dd(function(i,l){return i-l},0);function toe(i){return i&&i.length?Im(i,Mn):0}function noe(i,l){return i&&i.length?Im(i,je(l,2)):0}return O.after=Ate,O.ary=dO,O.assign=dne,O.assignIn=TO,O.assignInWith=Xd,O.assignWith=fne,O.at=pne,O.before=fO,O.bind=f0,O.bindAll=yre,O.bindKey=pO,O.castArray=Rte,O.chain=lO,O.chunk=G$,O.compact=Y$,O.concat=K$,O.cond=bre,O.conforms=xre,O.constant=b0,O.countBy=tte,O.create=hne,O.curry=hO,O.curryRight=gO,O.debounce=mO,O.defaults=gne,O.defaultsDeep=mne,O.defer=Tte,O.delay=Ete,O.difference=X$,O.differenceBy=Z$,O.differenceWith=Q$,O.drop=J$,O.dropRight=q$,O.dropRightWhile=$$,O.dropWhile=eee,O.fill=tee,O.filter=rte,O.flatMap=ste,O.flatMapDeep=ate,O.flatMapDepth=lte,O.flatten=oO,O.flattenDeep=nee,O.flattenDepth=ree,O.flip=Ite,O.flow=wre,O.flowRight=Sre,O.fromPairs=oee,O.functions=Sne,O.functionsIn=Ane,O.groupBy=cte,O.initial=see,O.intersection=aee,O.intersectionBy=lee,O.intersectionWith=cee,O.invert=Ene,O.invertBy=Ine,O.invokeMap=dte,O.iteratee=x0,O.keyBy=fte,O.keys=Zt,O.keysIn=jn,O.map=zd,O.mapKeys=Pne,O.mapValues=jne,O.matches=Are,O.matchesProperty=Tre,O.memoize=Hd,O.merge=Mne,O.mergeWith=EO,O.method=Ere,O.methodOf=Ire,O.mixin=C0,O.negate=Gd,O.nthArg=Pre,O.omit=kne,O.omitBy=Fne,O.once=Ote,O.orderBy=pte,O.over=jre,O.overArgs=Pte,O.overEvery=Mre,O.overSome=kre,O.partial=p0,O.partialRight=vO,O.partition=hte,O.pick=Lne,O.pickBy=IO,O.property=LO,O.propertyOf=Fre,O.pull=pee,O.pullAll=sO,O.pullAllBy=hee,O.pullAllWith=gee,O.pullAt=mee,O.range=Lre,O.rangeRight=Dre,O.rearg=jte,O.reject=vte,O.remove=vee,O.rest=Mte,O.reverse=u0,O.sampleSize=bte,O.set=Rne,O.setWith=_ne,O.shuffle=xte,O.slice=yee,O.sortBy=Ste,O.sortedUniq=Tee,O.sortedUniqBy=Eee,O.split=sre,O.spread=kte,O.tail=Iee,O.take=Oee,O.takeRight=Pee,O.takeRightWhile=jee,O.takeWhile=Mee,O.tap=Yee,O.throttle=Fte,O.thru=Wd,O.toArray=wO,O.toPairs=OO,O.toPairsIn=PO,O.toPath=Vre,O.toPlainObject=AO,O.transform=Bne,O.unary=Lte,O.union=kee,O.unionBy=Fee,O.unionWith=Lee,O.uniq=Dee,O.uniqBy=Ree,O.uniqWith=_ee,O.unset=Nne,O.unzip=d0,O.unzipWith=aO,O.update=Vne,O.updateWith=Wne,O.values=ta,O.valuesIn=zne,O.without=Bee,O.words=kO,O.wrap=Dte,O.xor=Nee,O.xorBy=Vee,O.xorWith=Wee,O.zip=zee,O.zipObject=Uee,O.zipObjectDeep=Hee,O.zipWith=Gee,O.entries=OO,O.entriesIn=PO,O.extend=TO,O.extendWith=Xd,C0(O,O),O.add=zre,O.attempt=FO,O.camelCase=Yne,O.capitalize=jO,O.ceil=Ure,O.clamp=Une,O.clone=_te,O.cloneDeep=Nte,O.cloneDeepWith=Vte,O.cloneWith=Bte,O.conformsTo=Wte,O.deburr=MO,O.defaultTo=Cre,O.divide=Hre,O.endsWith=Kne,O.eq=jr,O.escape=Xne,O.escapeRegExp=Zne,O.every=nte,O.find=ote,O.findIndex=nO,O.findKey=vne,O.findLast=ite,O.findLastIndex=rO,O.findLastKey=yne,O.floor=Gre,O.forEach=cO,O.forEachRight=uO,O.forIn=bne,O.forInRight=xne,O.forOwn=Cne,O.forOwnRight=wne,O.get=m0,O.gt=zte,O.gte=Ute,O.has=Tne,O.hasIn=v0,O.head=iO,O.identity=Mn,O.includes=ute,O.indexOf=iee,O.inRange=Hne,O.invoke=One,O.isArguments=zi,O.isArray=Ne,O.isArrayBuffer=Hte,O.isArrayLike=Pn,O.isArrayLikeObject=_t,O.isBoolean=Gte,O.isBuffer=qo,O.isDate=Yte,O.isElement=Kte,O.isEmpty=Xte,O.isEqual=Zte,O.isEqualWith=Qte,O.isError=h0,O.isFinite=Jte,O.isFunction=go,O.isInteger=yO,O.isLength=Yd,O.isMap=bO,O.isMatch=qte,O.isMatchWith=$te,O.isNaN=ene,O.isNative=tne,O.isNil=rne,O.isNull=nne,O.isNumber=xO,O.isObject=Pt,O.isObjectLike=Lt,O.isPlainObject=jl,O.isRegExp=g0,O.isSafeInteger=one,O.isSet=CO,O.isString=Kd,O.isSymbol=Kn,O.isTypedArray=ea,O.isUndefined=ine,O.isWeakMap=sne,O.isWeakSet=ane,O.join=uee,O.kebabCase=Qne,O.last=xr,O.lastIndexOf=dee,O.lowerCase=Jne,O.lowerFirst=qne,O.lt=lne,O.lte=cne,O.max=Yre,O.maxBy=Kre,O.mean=Xre,O.meanBy=Zre,O.min=Qre,O.minBy=Jre,O.stubArray=S0,O.stubFalse=A0,O.stubObject=Rre,O.stubString=_re,O.stubTrue=Bre,O.multiply=qre,O.nth=fee,O.noConflict=Ore,O.noop=w0,O.now=Ud,O.pad=$ne,O.padEnd=ere,O.padStart=tre,O.parseInt=nre,O.random=Gne,O.reduce=gte,O.reduceRight=mte,O.repeat=rre,O.replace=ore,O.result=Dne,O.round=$re,O.runInContext=U,O.sample=yte,O.size=Cte,O.snakeCase=ire,O.some=wte,O.sortedIndex=bee,O.sortedIndexBy=xee,O.sortedIndexOf=Cee,O.sortedLastIndex=wee,O.sortedLastIndexBy=See,O.sortedLastIndexOf=Aee,O.startCase=are,O.startsWith=lre,O.subtract=eoe,O.sum=toe,O.sumBy=noe,O.template=cre,O.times=Nre,O.toFinite=mo,O.toInteger=We,O.toLength=SO,O.toLower=ure,O.toNumber=Cr,O.toSafeInteger=une,O.toString=at,O.toUpper=dre,O.trim=fre,O.trimEnd=pre,O.trimStart=hre,O.truncate=gre,O.unescape=mre,O.uniqueId=Wre,O.upperCase=vre,O.upperFirst=y0,O.each=cO,O.eachRight=uO,O.first=iO,C0(O,function(){var i={};return Ur(O,function(l,p){ct.call(O.prototype,p)||(i[p]=l)}),i}(),{chain:!1}),O.VERSION=r,gr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){O[i].placeholder=O}),gr(["drop","take"],function(i,l){Xe.prototype[i]=function(p){p=p===n?1:Yt(We(p),0);var y=this.__filtered__&&!l?new Xe(this):this.clone();return y.__filtered__?y.__takeCount__=cn(p,y.__takeCount__):y.__views__.push({size:cn(p,K),type:i+(y.__dir__<0?"Right":"")}),y},Xe.prototype[i+"Right"]=function(p){return this.reverse()[i](p).reverse()}}),gr(["filter","map","takeWhile"],function(i,l){var p=l+1,y=p==q||p==z;Xe.prototype[i]=function(A){var j=this.clone();return j.__iteratees__.push({iteratee:je(A,3),type:p}),j.__filtered__=j.__filtered__||y,j}}),gr(["head","last"],function(i,l){var p="take"+(l?"Right":"");Xe.prototype[i]=function(){return this[p](1).value()[0]}}),gr(["initial","tail"],function(i,l){var p="drop"+(l?"":"Right");Xe.prototype[i]=function(){return this.__filtered__?new Xe(this):this[p](1)}}),Xe.prototype.compact=function(){return this.filter(Mn)},Xe.prototype.find=function(i){return this.filter(i).head()},Xe.prototype.findLast=function(i){return this.reverse().find(i)},Xe.prototype.invokeMap=Ue(function(i,l){return typeof i=="function"?new Xe(this):this.map(function(p){return Al(p,i,l)})}),Xe.prototype.reject=function(i){return this.filter(Gd(je(i)))},Xe.prototype.slice=function(i,l){i=We(i);var p=this;return p.__filtered__&&(i>0||l<0)?new Xe(p):(i<0?p=p.takeRight(-i):i&&(p=p.drop(i)),l!==n&&(l=We(l),p=l<0?p.dropRight(-l):p.take(l-i)),p)},Xe.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Xe.prototype.toArray=function(){return this.take(K)},Ur(Xe.prototype,function(i,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),y=/^(?:head|last)$/.test(l),A=O[y?"take"+(l=="last"?"Right":""):l],j=y||/^find/.test(l);A&&(O.prototype[l]=function(){var R=this.__wrapped__,V=y?[1]:arguments,H=R instanceof Xe,ie=V[0],se=H||Ne(R),ce=function(Ye){var Ze=A.apply(O,Go([Ye],V));return y&&ye?Ze[0]:Ze};se&&p&&typeof ie=="function"&&ie.length!=1&&(H=se=!1);var ye=this.__chain__,Ee=!!this.__actions__.length,Me=j&&!ye,ze=H&&!Ee;if(!j&&se){R=ze?R:new Xe(this);var ke=i.apply(R,V);return ke.__actions__.push({func:Wd,args:[ce],thisArg:n}),new vr(ke,ye)}return Me&&ze?i.apply(this,V):(ke=this.thru(ce),Me?y?ke.value()[0]:ke.value():ke)})}),gr(["pop","push","shift","sort","splice","unshift"],function(i){var l=pd[i],p=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",y=/^(?:pop|shift)$/.test(i);O.prototype[i]=function(){var A=arguments;if(y&&!this.__chain__){var j=this.value();return l.apply(Ne(j)?j:[],A)}return this[p](function(R){return l.apply(Ne(R)?R:[],A)})}}),Ur(Xe.prototype,function(i,l){var p=O[l];if(p){var y=p.name+"";ct.call(Zs,y)||(Zs[y]=[]),Zs[y].push({name:l,func:p})}}),Zs[Ld(n,I).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=mq,Xe.prototype.reverse=vq,Xe.prototype.value=yq,O.prototype.at=Kee,O.prototype.chain=Xee,O.prototype.commit=Zee,O.prototype.next=Qee,O.prototype.plant=qee,O.prototype.reverse=$ee,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=ete,O.prototype.first=O.prototype.head,vl&&(O.prototype[vl]=Jee),O},Ys=ZJ();Li?((Li.exports=Ys)._=Ys,xm._=Ys):$t._=Ys}).call(yn)}(Su,Su.exports);var dt=Su.exports;const $=Qr(dt),CU=["e-","entities/"];function wU(e){let t=e;return CU.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function SU(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"}function AU(e,t){const n=wU(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function Rh(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=Rh(o.children,t),n))return n}return n}function bw(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&SU(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=bw(s.children,t),r))return r}return r}function xw(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=xw(o.children,t),n))return n}return n}function Cw(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(Cw)),e.children&&e.children.length>0):!1}function ww(e){return e.children&&e.children.forEach(t=>{t.parent=e,ww(t)}),e}function TU(e,t,n,r,o){function s(g){return g.title=r(g.title,{_:g.title}),g.children&&g.children.forEach(m=>s(m)),g}const a=Object.keys(t);function c(g,m){return g.children&&(g.children=g.children.filter(v=>{if(v.resource===!1){const b=v.roles||[];return!!(b.length===0||b.some(x=>o.includes(x)))}return v.type==="item"?m.includes(v.id):(c(v,m),v.children&&v.children.length>0)})),g}const u=$.cloneDeep(e).map(g=>({children:[],...g,type:g.type||"group"})).map(s).map(g=>c(g,a)),d=Object.values(t).map(g=>{var m;return((m=g.options)==null?void 0:m.group)||"admin"}).filter((g,m,v)=>v.indexOf(g)===m).filter(g=>g!==void 0&&xw(e,g)===null).map(g=>({id:g,title:r(`ra.menu.group.${g}`),type:"group",icon:Ke.AntDesignOutlined,children:[]})),h=[...u,...d];return Object.values(t).forEach(g=>{var F,E,k,P;const m=bw(h,g),v=(F=m==null?void 0:m.children)==null?void 0:F.find(L=>L.id===g.name),b=(E=m==null?void 0:m.children)==null?void 0:E.some(L=>L.id===g.name),x=(v==null?void 0:v.roles)||((k=g.options)==null?void 0:k.roles)||[],w=!x||x.length===0||x.some(L=>o.includes(L));if(!AU(g,n)||g.list||!w){b&&m&&m.children&&((P=m==null?void 0:m.children)==null?void 0:P.length)>0&&(m.children=m.children.filter(L=>L.id!==g.name));return}m&&(m.children||(m.children=[]))}),h.filter(Cw).map(ww)}function Xa(){throw new Error("Not implemented")}const Sw={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Xa,openDrawer:Xa,activeID:Xa,hasError:Xa,setMenu:Xa},Aw=T.createContext(Sw);function Tw({menu:e,children:t}){const[n,r]=T.useState({...Sw,menu:e});function o(d){r(h=>({...h,menu:d}))}function s(d){r(h=>({...h,openItem:d}))}function a(d){r(h=>({...h,selectedID:d}))}function c(d){r(h=>({...h,drawerOpen:d}))}function u(d){r(h=>({...h,error:d}))}return T.useEffect(()=>{o(e)},[e]),f.jsx(Aw.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Au(){return T.useContext(Aw)}function _h(){const e=re.useResourceDefinitions(),{isLoading:t,data:n}=re.useGetIdentity(),r=!!n&&!!n.id,{permissions:o}=re.usePermissions(r),{menu:s}=Au(),a=re.useTranslate(),c=T.useMemo(()=>{if(t||!n)return null;const h=((n==null?void 0:n.roles)||[]).map(m=>m.id);return TU(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return Rh(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:Rh}}function Ew(){const e=re.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=_h(),{pathname:o}=ei.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=$.cloneDeep(n);let c=o,u=r(a,o);if((!u||u.type==="collapse"||u.type==="group")&&(u=r(a,s[s.length-1]),c=u?u.id:c),!u||u.type==="collapse"||u.type==="group")for(let v=s.length;v>=0;v--){const b=s.slice(0,v).join("/");if(u=r(a,b),u){c=u.id;break}}const d=(m=u==null?void 0:u.url)==null?void 0:m.split("/"),h=(d==null?void 0:d.length)||0;if(s.length>=h){const v=s[s.length-1];if(u){const b=v==="create"||o===u.url?"create":"edit",x=`resources.${c}.breadcrumbs.${b}`,w={id:`${c}-${b}`,type:"item",title:e(x,{_:e(x,{_:x})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(w),u=w}}let g=[];if(u){let v={...u,last:!0};for(;v;)g.push(v),v=v.parent;g=g.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:g}},[t,o,n,r,e])}function Za(){return Au()}function Sr(e,t,n){const r=$.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>$.isFunction(a)?a:void 0).value();n!=null&&n.defaults?$.defaultsDeep(r,t):$.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{$.isEqual(o,r)||s(r)},[o,r]),o}function EU(){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 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 IU=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Iw=/^\d+$/,OU=/^\d/,PU=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,jU=/^\s*(['"]?)(.*?)(\1)\s*$/,Bh=512,Ow=new bi(Bh),Pw=new bi(Bh),jw=new bi(Bh),xi={Cache:bi,split:Vh,normalizePath:Nh,setter:function(e){var t=Nh(e);return Pw.get(e)||Pw.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=Nh(e);return jw.get(e)||jw.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+(Wh(n)||Iw.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){MU(Array.isArray(e)?e:Vh(e),t,n)}};function Nh(e){return Ow.get(e)||Ow.set(e,Vh(e).map(function(t){return t.replace(jU,"$2")}))}function Vh(e){return e.match(IU)||[""]}function MU(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(LU(o)&&(o='"'+o+'"'),c=Wh(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Wh(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function kU(e){return e.match(OU)&&!e.match(Iw)}function FU(e){return PU.test(e)}function LU(e){return!Wh(e)&&(kU(e)||FU(e))}const DU=/[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,Tu=e=>e.match(DU)||[],Eu=e=>e[0].toUpperCase()+e.slice(1),zh=(e,t)=>Tu(e).join(t).toLowerCase(),Mw=e=>Tu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,"");var Uh={words:Tu,upperFirst:Eu,camelCase:Mw,pascalCase:e=>Eu(Mw(e)),snakeCase:e=>zh(e,"_"),kebabCase:e=>zh(e,"-"),sentenceCase:e=>Eu(zh(e," ")),titleCase:e=>Tu(e).map(Eu).join(" ")},Hh={exports:{}};Hh.exports=function(e){return kw(RU(e),e)},Hh.exports.array=kw;function kw(e,t){var n=e.length,r=new Array(n),o={},s=n,a=_U(t),c=BU(e);for(t.forEach(function(d){if(!c.has(d[0])||!c.has(d[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(d,h,g){if(g.has(d)){var m;try{m=", node was:"+JSON.stringify(d)}catch{m=""}throw new Error("Cyclic dependency"+m)}if(!c.has(d))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(d));if(!o[h]){o[h]=!0;var v=a.get(d)||new Set;if(v=Array.from(v),h=v.length){g.add(d);do{var b=v[--h];u(b,c.get(b),g)}while(h);g.delete(d)}r[--n]=d}}}function RU(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 _U(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 BU(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var NU=Hh.exports;const VU=Qr(NU),WU=Object.prototype.toString,zU=Error.prototype.toString,UU=RegExp.prototype.toString,HU=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",GU=/^Symbol\((.*)\)(.*)$/;function YU(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Fw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return YU(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return HU.call(e).replace(GU,"Symbol($1)");const r=WU.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+zU.call(e)+"]":r==="RegExp"?UU.call(e):null}function Do(e,t){let n=Fw(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Fw(this[r],t);return s!==null?s:o},2)}function Lw(e){return e==null?[]:[].concat(e)}let Dw,Rw,_w,KU=/\$\{\s*(\w+)\s*\}/g;Dw=Symbol.toStringTag;class Bw{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[Dw]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],Lw(t).forEach(s=>{if(Sn.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]}}Rw=Symbol.hasInstance,_w=Symbol.toStringTag;class Sn 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(KU,(o,s)=>Do(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 Bw(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[_w]="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,Sn)}static[Rw](t){return Bw[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Vr={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 \`${Do(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Do(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Do(n,!0)}\``+o}},An={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"},Ro={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"},Gh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},XU={isValue:"${path} field must be ${value}"},Yh={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:Vr,string:An,number:Ro,date:Gh,object:Yh,array:{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"},boolean:XU,tuple:{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: \`${Do(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: \`${Do(n,!0)}\``}return Sn.formatError(Vr.notType,e)}}});const Kh=e=>e&&e.__isYupSchema__;class Iu{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 Iu(t,(c,u)=>{var d;let h=a(...c)?o:s;return(d=h==null?void 0:h(u))!=null?d: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(!Kh(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const Ou={context:"$",value:"."};class Ci{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]===Ou.context,this.isValue=this.key[0]===Ou.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Ou.context:this.isValue?Ou.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&xi.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}}Ci.prototype.__isYupRef=!0;const oo=e=>e==null;function Is(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:d,test:h,params:g,message:m,skipAbsent:v}=e;let{parent:b,context:x,abortEarly:w=a.spec.abortEarly,disableStackTrace:I=a.spec.disableStackTrace}=o;function F(G){return Ci.isRef(G)?G.getValue(n,b,x):G}function E(G={}){const le=Object.assign({value:n,originalValue:s,label:a.spec.label,path:G.path||r,spec:a.spec,disableStackTrace:G.disableStackTrace||I},g,G.params);for(const q of Object.keys(le))le[q]=F(le[q]);const ae=new Sn(Sn.formatError(G.message||m,le),n,le.path,G.type||d,le.disableStackTrace);return ae.params=le,ae}const k=w?c:u;let P={path:r,parent:b,type:d,from:o.from,createError:E,resolve:F,options:o,originalValue:s,schema:a};const L=G=>{Sn.isError(G)?k(G):G?u(null):k(E())},D=G=>{Sn.isError(G)?k(G):c(G)};if(v&&oo(n))return L(!0);let Z;try{var ee;if(Z=h.call(P,n,P),typeof((ee=Z)==null?void 0:ee.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(Z).then(L,D)}}catch(G){D(G);return}L(Z)}return t.OPTIONS=e,t}function ZU(e,t,n,r=n){let o,s,a;return t?(xi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let g=e.type==="tuple",m=d?parseInt(h,10):0;if(e.innerType||g){if(g&&!d)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&&m>=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[m],e=g?e.spec.types[m]:e.innerType}if(!d){if(!e.fields||!e.fields[h])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[h],e=e.fields[h]}s=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Pu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ci.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 Pu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Os(e,t=new Map){if(Kh(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]=Os(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,Os(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Os(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Os(o,t)}else throw Error(`Unable to clone ${e}`);return n}class dr{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 Pu,this._blacklist=new Pu,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Vr.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=Os(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&&oo(s))return s;let a=Do(t),c=Do(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
212
|
+
}`;var ze=_O(function(){return nt(M,Ee+"return "+ce).apply(n,_)});if(ze.source=ce,h0(ze))throw ze;return ze}function mre(i){return at(i).toLowerCase()}function vre(i){return at(i).toUpperCase()}function yre(i,l,p){if(i=at(i),i&&(p||l===n))return GE(i);if(!i||!(l=Yn(l)))return i;var y=Or(i),A=Or(l),M=YE(y,A),_=KE(y,A)+1;return Jo(y,M,_).join("")}function bre(i,l,p){if(i=at(i),i&&(p||l===n))return i.slice(0,ZE(i)+1);if(!i||!(l=Yn(l)))return i;var y=Or(i),A=KE(y,Or(l))+1;return Jo(y,0,A).join("")}function xre(i,l,p){if(i=at(i),i&&(p||l===n))return i.replace(ln,"");if(!i||!(l=Yn(l)))return i;var y=Or(i),A=YE(y,Or(l));return Jo(y,A).join("")}function Cre(i,l){var p=ee,y=G;if(Pt(l)){var A="separator"in l?l.separator:A;p="length"in l?We(l.length):p,y="omission"in l?Yn(l.omission):y}i=at(i);var M=i.length;if(Hs(i)){var _=Or(i);M=_.length}if(p>=M)return i;var V=p-Gs(y);if(V<1)return y;var Y=_?Jo(_,0,V).join(""):i.slice(0,V);if(A===n)return Y+y;if(_&&(V+=Y.length-V),g0(A)){if(i.slice(V).search(A)){var ie,se=Y;for(A.global||(A=Mm(A.source,at(sd.exec(A))+"g")),A.lastIndex=0;ie=A.exec(se);)var ce=ie.index;Y=Y.slice(0,ce===n?V:ce)}}else if(i.indexOf(Yn(A),V)!=V){var ye=Y.lastIndexOf(A);ye>-1&&(Y=Y.slice(0,ye))}return Y+y}function wre(i){return i=at(i),i&&qu.test(i)?i.replace(Ju,JJ):i}var Sre=qs(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),y0=RI("toUpperCase");function DO(i,l,p){return i=at(i),l=p?n:l,l===n?YJ(i)?eq(i):RJ(i):i.match(l)||[]}var _O=Ue(function(i,l){try{return Hn(i,n,l)}catch(p){return h0(p)?p:new Re(p)}}),Are=po(function(i,l){return gr(l,function(p){p=Gr(p),uo(i,p,f0(i[p],i))}),i});function Tre(i){var l=i==null?0:i.length,p=je();return i=l?At(i,function(y){if(typeof y[1]!="function")throw new mr(a);return[p(y[0]),y[1]]}):[],Ue(function(y){for(var A=-1;++A<l;){var M=i[A];if(Hn(M[0],this,y))return Hn(M[1],this,y)}})}function Ere(i){return Jq(yr(i,g))}function b0(i){return function(){return i}}function Ire(i,l){return i==null||i!==i?l:i}var Ore=NI(),Pre=NI(!0);function Mn(i){return i}function x0(i){return gI(typeof i=="function"?i:yr(i,g))}function jre(i){return vI(yr(i,g))}function Mre(i,l){return yI(i,yr(l,g))}var kre=Ue(function(i,l){return function(p){return Al(p,i,l)}}),Lre=Ue(function(i,l){return function(p){return Al(i,p,l)}});function C0(i,l,p){var y=Zt(l),A=Pd(l,y);p==null&&!(Pt(l)&&(A.length||!y.length))&&(p=l,l=i,i=this,A=Pd(l,Zt(l)));var M=!(Pt(p)&&"chain"in p)||!!p.chain,_=go(i);return gr(A,function(V){var Y=l[V];i[V]=Y,_&&(i.prototype[V]=function(){var ie=this.__chain__;if(M||ie){var se=i(this.__wrapped__),ce=se.__actions__=On(this.__actions__);return ce.push({func:Y,args:arguments,thisArg:i}),se.__chain__=ie,se}return Y.apply(i,Go([this.value()],arguments))})}),i}function Fre(){return $t._===this&&($t._=sq),this}function w0(){}function Dre(i){return i=We(i),Ue(function(l){return bI(l,i)})}var _re=$m(At),Rre=$m(VE),Bre=$m(Am);function RO(i){return s0(i)?Tm(Gr(i)):h$(i)}function Nre(i){return function(l){return i==null?n:Ni(i,l)}}var Vre=WI(),Wre=WI(!0);function S0(){return[]}function A0(){return!1}function zre(){return{}}function Ure(){return""}function Hre(){return!0}function Gre(i,l){if(i=We(i),i<1||i>N)return[];var p=X,y=cn(i,X);l=je(l),i-=X;for(var A=Om(y,l);++p<i;)l(p);return A}function Yre(i){return Ne(i)?At(i,Gr):Kn(i)?[i]:On(rO(at(i)))}function Kre(i){var l=++oq;return at(i)+l}var Xre=Dd(function(i,l){return i+l},0),Zre=e0("ceil"),Qre=Dd(function(i,l){return i/l},1),Jre=e0("floor");function qre(i){return i&&i.length?Od(i,Mn,Nm):n}function $re(i,l){return i&&i.length?Od(i,je(l,2),Nm):n}function eoe(i){return UE(i,Mn)}function toe(i,l){return UE(i,je(l,2))}function noe(i){return i&&i.length?Od(i,Mn,Um):n}function roe(i,l){return i&&i.length?Od(i,je(l,2),Um):n}var ooe=Dd(function(i,l){return i*l},1),ioe=e0("round"),soe=Dd(function(i,l){return i-l},0);function aoe(i){return i&&i.length?Im(i,Mn):0}function loe(i,l){return i&&i.length?Im(i,je(l,2)):0}return O.after=jte,O.ary=hO,O.assign=vne,O.assignIn=OO,O.assignInWith=Xd,O.assignWith=yne,O.at=bne,O.before=gO,O.bind=f0,O.bindAll=Are,O.bindKey=mO,O.castArray=zte,O.chain=dO,O.chunk=J$,O.compact=q$,O.concat=$$,O.cond=Tre,O.conforms=Ere,O.constant=b0,O.countBy=ate,O.create=xne,O.curry=vO,O.curryRight=yO,O.debounce=bO,O.defaults=Cne,O.defaultsDeep=wne,O.defer=Mte,O.delay=kte,O.difference=eee,O.differenceBy=tee,O.differenceWith=nee,O.drop=ree,O.dropRight=oee,O.dropRightWhile=iee,O.dropWhile=see,O.fill=aee,O.filter=cte,O.flatMap=fte,O.flatMapDeep=pte,O.flatMapDepth=hte,O.flatten=aO,O.flattenDeep=lee,O.flattenDepth=cee,O.flip=Lte,O.flow=Ore,O.flowRight=Pre,O.fromPairs=uee,O.functions=Pne,O.functionsIn=jne,O.groupBy=gte,O.initial=fee,O.intersection=pee,O.intersectionBy=hee,O.intersectionWith=gee,O.invert=kne,O.invertBy=Lne,O.invokeMap=vte,O.iteratee=x0,O.keyBy=yte,O.keys=Zt,O.keysIn=jn,O.map=zd,O.mapKeys=Dne,O.mapValues=_ne,O.matches=jre,O.matchesProperty=Mre,O.memoize=Hd,O.merge=Rne,O.mergeWith=PO,O.method=kre,O.methodOf=Lre,O.mixin=C0,O.negate=Gd,O.nthArg=Dre,O.omit=Bne,O.omitBy=Nne,O.once=Fte,O.orderBy=bte,O.over=_re,O.overArgs=Dte,O.overEvery=Rre,O.overSome=Bre,O.partial=p0,O.partialRight=xO,O.partition=xte,O.pick=Vne,O.pickBy=jO,O.property=RO,O.propertyOf=Nre,O.pull=bee,O.pullAll=cO,O.pullAllBy=xee,O.pullAllWith=Cee,O.pullAt=wee,O.range=Vre,O.rangeRight=Wre,O.rearg=_te,O.reject=Ste,O.remove=See,O.rest=Rte,O.reverse=u0,O.sampleSize=Tte,O.set=zne,O.setWith=Une,O.shuffle=Ete,O.slice=Aee,O.sortBy=Pte,O.sortedUniq=Mee,O.sortedUniqBy=kee,O.split=fre,O.spread=Bte,O.tail=Lee,O.take=Fee,O.takeRight=Dee,O.takeRightWhile=_ee,O.takeWhile=Ree,O.tap=qee,O.throttle=Nte,O.thru=Wd,O.toArray=TO,O.toPairs=MO,O.toPairsIn=kO,O.toPath=Yre,O.toPlainObject=IO,O.transform=Hne,O.unary=Vte,O.union=Bee,O.unionBy=Nee,O.unionWith=Vee,O.uniq=Wee,O.uniqBy=zee,O.uniqWith=Uee,O.unset=Gne,O.unzip=d0,O.unzipWith=uO,O.update=Yne,O.updateWith=Kne,O.values=ta,O.valuesIn=Xne,O.without=Hee,O.words=DO,O.wrap=Wte,O.xor=Gee,O.xorBy=Yee,O.xorWith=Kee,O.zip=Xee,O.zipObject=Zee,O.zipObjectDeep=Qee,O.zipWith=Jee,O.entries=MO,O.entriesIn=kO,O.extend=OO,O.extendWith=Xd,C0(O,O),O.add=Xre,O.attempt=_O,O.camelCase=qne,O.capitalize=LO,O.ceil=Zre,O.clamp=Zne,O.clone=Ute,O.cloneDeep=Gte,O.cloneDeepWith=Yte,O.cloneWith=Hte,O.conformsTo=Kte,O.deburr=FO,O.defaultTo=Ire,O.divide=Qre,O.endsWith=$ne,O.eq=jr,O.escape=ere,O.escapeRegExp=tre,O.every=lte,O.find=ute,O.findIndex=iO,O.findKey=Sne,O.findLast=dte,O.findLastIndex=sO,O.findLastKey=Ane,O.floor=Jre,O.forEach=fO,O.forEachRight=pO,O.forIn=Tne,O.forInRight=Ene,O.forOwn=Ine,O.forOwnRight=One,O.get=m0,O.gt=Xte,O.gte=Zte,O.has=Mne,O.hasIn=v0,O.head=lO,O.identity=Mn,O.includes=mte,O.indexOf=dee,O.inRange=Qne,O.invoke=Fne,O.isArguments=zi,O.isArray=Ne,O.isArrayBuffer=Qte,O.isArrayLike=Pn,O.isArrayLikeObject=Rt,O.isBoolean=Jte,O.isBuffer=qo,O.isDate=qte,O.isElement=$te,O.isEmpty=ene,O.isEqual=tne,O.isEqualWith=nne,O.isError=h0,O.isFinite=rne,O.isFunction=go,O.isInteger=CO,O.isLength=Yd,O.isMap=wO,O.isMatch=one,O.isMatchWith=ine,O.isNaN=sne,O.isNative=ane,O.isNil=cne,O.isNull=lne,O.isNumber=SO,O.isObject=Pt,O.isObjectLike=Ft,O.isPlainObject=jl,O.isRegExp=g0,O.isSafeInteger=une,O.isSet=AO,O.isString=Kd,O.isSymbol=Kn,O.isTypedArray=ea,O.isUndefined=dne,O.isWeakMap=fne,O.isWeakSet=pne,O.join=mee,O.kebabCase=nre,O.last=xr,O.lastIndexOf=vee,O.lowerCase=rre,O.lowerFirst=ore,O.lt=hne,O.lte=gne,O.max=qre,O.maxBy=$re,O.mean=eoe,O.meanBy=toe,O.min=noe,O.minBy=roe,O.stubArray=S0,O.stubFalse=A0,O.stubObject=zre,O.stubString=Ure,O.stubTrue=Hre,O.multiply=ooe,O.nth=yee,O.noConflict=Fre,O.noop=w0,O.now=Ud,O.pad=ire,O.padEnd=sre,O.padStart=are,O.parseInt=lre,O.random=Jne,O.reduce=Cte,O.reduceRight=wte,O.repeat=cre,O.replace=ure,O.result=Wne,O.round=ioe,O.runInContext=H,O.sample=Ate,O.size=Ite,O.snakeCase=dre,O.some=Ote,O.sortedIndex=Tee,O.sortedIndexBy=Eee,O.sortedIndexOf=Iee,O.sortedLastIndex=Oee,O.sortedLastIndexBy=Pee,O.sortedLastIndexOf=jee,O.startCase=pre,O.startsWith=hre,O.subtract=soe,O.sum=aoe,O.sumBy=loe,O.template=gre,O.times=Gre,O.toFinite=mo,O.toInteger=We,O.toLength=EO,O.toLower=mre,O.toNumber=Cr,O.toSafeInteger=mne,O.toString=at,O.toUpper=vre,O.trim=yre,O.trimEnd=bre,O.trimStart=xre,O.truncate=Cre,O.unescape=wre,O.uniqueId=Kre,O.upperCase=Sre,O.upperFirst=y0,O.each=fO,O.eachRight=pO,O.first=lO,C0(O,function(){var i={};return Ur(O,function(l,p){ct.call(O.prototype,p)||(i[p]=l)}),i}(),{chain:!1}),O.VERSION=r,gr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(i){O[i].placeholder=O}),gr(["drop","take"],function(i,l){Xe.prototype[i]=function(p){p=p===n?1:Yt(We(p),0);var y=this.__filtered__&&!l?new Xe(this):this.clone();return y.__filtered__?y.__takeCount__=cn(p,y.__takeCount__):y.__views__.push({size:cn(p,X),type:i+(y.__dir__<0?"Right":"")}),y},Xe.prototype[i+"Right"]=function(p){return this.reverse()[i](p).reverse()}}),gr(["filter","map","takeWhile"],function(i,l){var p=l+1,y=p==q||p==z;Xe.prototype[i]=function(A){var M=this.clone();return M.__iteratees__.push({iteratee:je(A,3),type:p}),M.__filtered__=M.__filtered__||y,M}}),gr(["head","last"],function(i,l){var p="take"+(l?"Right":"");Xe.prototype[i]=function(){return this[p](1).value()[0]}}),gr(["initial","tail"],function(i,l){var p="drop"+(l?"":"Right");Xe.prototype[i]=function(){return this.__filtered__?new Xe(this):this[p](1)}}),Xe.prototype.compact=function(){return this.filter(Mn)},Xe.prototype.find=function(i){return this.filter(i).head()},Xe.prototype.findLast=function(i){return this.reverse().find(i)},Xe.prototype.invokeMap=Ue(function(i,l){return typeof i=="function"?new Xe(this):this.map(function(p){return Al(p,i,l)})}),Xe.prototype.reject=function(i){return this.filter(Gd(je(i)))},Xe.prototype.slice=function(i,l){i=We(i);var p=this;return p.__filtered__&&(i>0||l<0)?new Xe(p):(i<0?p=p.takeRight(-i):i&&(p=p.drop(i)),l!==n&&(l=We(l),p=l<0?p.dropRight(-l):p.take(l-i)),p)},Xe.prototype.takeRightWhile=function(i){return this.reverse().takeWhile(i).reverse()},Xe.prototype.toArray=function(){return this.take(X)},Ur(Xe.prototype,function(i,l){var p=/^(?:filter|find|map|reject)|While$/.test(l),y=/^(?:head|last)$/.test(l),A=O[y?"take"+(l=="last"?"Right":""):l],M=y||/^find/.test(l);A&&(O.prototype[l]=function(){var _=this.__wrapped__,V=y?[1]:arguments,Y=_ instanceof Xe,ie=V[0],se=Y||Ne(_),ce=function(Ye){var Ze=A.apply(O,Go([Ye],V));return y&&ye?Ze[0]:Ze};se&&p&&typeof ie=="function"&&ie.length!=1&&(Y=se=!1);var ye=this.__chain__,Ee=!!this.__actions__.length,Me=M&&!ye,ze=Y&&!Ee;if(!M&&se){_=ze?_:new Xe(this);var ke=i.apply(_,V);return ke.__actions__.push({func:Wd,args:[ce],thisArg:n}),new vr(ke,ye)}return Me&&ze?i.apply(this,V):(ke=this.thru(ce),Me?y?ke.value()[0]:ke.value():ke)})}),gr(["pop","push","shift","sort","splice","unshift"],function(i){var l=pd[i],p=/^(?:push|sort|unshift)$/.test(i)?"tap":"thru",y=/^(?:pop|shift)$/.test(i);O.prototype[i]=function(){var A=arguments;if(y&&!this.__chain__){var M=this.value();return l.apply(Ne(M)?M:[],A)}return this[p](function(_){return l.apply(Ne(_)?_:[],A)})}}),Ur(Xe.prototype,function(i,l){var p=O[l];if(p){var y=p.name+"";ct.call(Zs,y)||(Zs[y]=[]),Zs[y].push({name:l,func:p})}}),Zs[Fd(n,I).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=wq,Xe.prototype.reverse=Sq,Xe.prototype.value=Aq,O.prototype.at=$ee,O.prototype.chain=ete,O.prototype.commit=tte,O.prototype.next=nte,O.prototype.plant=ote,O.prototype.reverse=ite,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=ste,O.prototype.first=O.prototype.head,vl&&(O.prototype[vl]=rte),O},Ys=tq();Fi?((Fi.exports=Ys)._=Ys,xm._=Ys):$t._=Ys}).call(yn)}(Su,Su.exports);var ut=Su.exports;const $=Qr(ut),AU=["e-","entities/"];function TU(e){let t=e;return AU.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function EU(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"}function IU(e,t){const n=TU(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function _h(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=_h(o.children,t),n))return n}return n}function bw(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&EU(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=bw(s.children,t),r))return r}return r}function xw(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=xw(o.children,t),n))return n}return n}function Cw(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(Cw)),e.children&&e.children.length>0):!1}function ww(e){return e.children&&e.children.forEach(t=>{t.parent=e,ww(t)}),e}function OU(e,t,n,r,o){function s(g){return g.title=r(g.title,{_:g.title}),g.children&&g.children.forEach(m=>s(m)),g}const a=Object.keys(t);function c(g,m){return g.children&&(g.children=g.children.filter(v=>{if(v.resource===!1){const b=v.roles||[];return!!(b.length===0||b.some(C=>o.includes(C)))}return v.type==="item"?m.includes(v.id):(c(v,m),v.children&&v.children.length>0)})),g}const u=$.cloneDeep(e).map(g=>({children:[],...g,type:g.type||"group"})).map(s).map(g=>c(g,a)),d=Object.values(t).map(g=>{var m;return((m=g.options)==null?void 0:m.group)||"admin"}).filter((g,m,v)=>v.indexOf(g)===m).filter(g=>g!==void 0&&xw(e,g)===null).map(g=>({id:g,title:r(`ra.menu.group.${g}`),type:"group",icon:Ke.AntDesignOutlined,children:[]})),h=[...u,...d];return Object.values(t).forEach(g=>{var L,E,j,P;const m=bw(h,g),v=(L=m==null?void 0:m.children)==null?void 0:L.find(D=>D.id===g.name),b=(E=m==null?void 0:m.children)==null?void 0:E.some(D=>D.id===g.name),C=(v==null?void 0:v.roles)||((j=g.options)==null?void 0:j.roles)||[],w=!C||C.length===0||C.some(D=>o.includes(D));if(!IU(g,n)||g.list||!w){b&&m&&m.children&&((P=m==null?void 0:m.children)==null?void 0:P.length)>0&&(m.children=m.children.filter(D=>D.id!==g.name));return}m&&(m.children||(m.children=[]))}),h.filter(Cw).map(ww)}function Xa(){throw new Error("Not implemented")}const Sw={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Xa,openDrawer:Xa,activeID:Xa,hasError:Xa,setMenu:Xa},Aw=T.createContext(Sw);function Tw({menu:e,children:t}){const[n,r]=T.useState({...Sw,menu:e});function o(d){r(h=>({...h,menu:d}))}function s(d){r(h=>({...h,openItem:d}))}function a(d){r(h=>({...h,selectedID:d}))}function c(d){r(h=>({...h,drawerOpen:d}))}function u(d){r(h=>({...h,error:d}))}return T.useEffect(()=>{o(e)},[e]),f.jsx(Aw.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Au(){return T.useContext(Aw)}function Rh(){const e=ne.useResourceDefinitions(),{isLoading:t,data:n}=ne.useGetIdentity(),r=!!n&&!!n.id,{permissions:o}=ne.usePermissions(r),{menu:s}=Au(),a=ne.useTranslate(),c=T.useMemo(()=>{if(t||!n)return null;const h=((n==null?void 0:n.roles)||[]).map(m=>m.id);return OU(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return _h(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:_h}}function Ew(){const e=ne.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=Rh(),{pathname:o}=ei.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=$.cloneDeep(n);let c=o,u=r(a,o);if((!u||u.type==="collapse"||u.type==="group")&&(u=r(a,s[s.length-1]),c=u?u.id:c),!u||u.type==="collapse"||u.type==="group")for(let v=s.length;v>=0;v--){const b=s.slice(0,v).join("/");if(u=r(a,b),u){c=u.id;break}}const d=(m=u==null?void 0:u.url)==null?void 0:m.split("/"),h=(d==null?void 0:d.length)||0;if(s.length>=h){const v=s[s.length-1];if(u){const b=v==="create"||o===u.url?"create":"edit",C=`resources.${c}.breadcrumbs.${b}`,w={id:`${c}-${b}`,type:"item",title:e(C,{_:e(C,{_:C})}),url:o,breadcrumbs:!0,parent:u};u.type="collapse",u.breadcrumbs=!0,u.children=u.children||[],u.children.push(w),u=w}}let g=[];if(u){let v={...u,last:!0};for(;v;)g.push(v),v=v.parent;g=g.reverse()}return{isLoading:t,navigation:{items:a},breadcrumbs:g}},[t,o,n,r,e])}function Za(){return Au()}function Sr(e,t,n){const r=$.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>$.isFunction(a)?a:void 0).value();n!=null&&n.defaults?$.defaultsDeep(r,t):$.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{$.isEqual(o,r)||s(r)},[o,r]),o}function PU(){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 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 jU=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Iw=/^\d+$/,MU=/^\d/,kU=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,LU=/^\s*(['"]?)(.*?)(\1)\s*$/,Bh=512,Ow=new bi(Bh),Pw=new bi(Bh),jw=new bi(Bh),xi={Cache:bi,split:Vh,normalizePath:Nh,setter:function(e){var t=Nh(e);return Pw.get(e)||Pw.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=Nh(e);return jw.get(e)||jw.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+(Wh(n)||Iw.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){FU(Array.isArray(e)?e:Vh(e),t,n)}};function Nh(e){return Ow.get(e)||Ow.set(e,Vh(e).map(function(t){return t.replace(LU,"$2")}))}function Vh(e){return e.match(jU)||[""]}function FU(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(RU(o)&&(o='"'+o+'"'),c=Wh(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Wh(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function DU(e){return e.match(MU)&&!e.match(Iw)}function _U(e){return kU.test(e)}function RU(e){return!Wh(e)&&(DU(e)||_U(e))}const BU=/[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,Tu=e=>e.match(BU)||[],Eu=e=>e[0].toUpperCase()+e.slice(1),zh=(e,t)=>Tu(e).join(t).toLowerCase(),Mw=e=>Tu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,"");var Uh={words:Tu,upperFirst:Eu,camelCase:Mw,pascalCase:e=>Eu(Mw(e)),snakeCase:e=>zh(e,"_"),kebabCase:e=>zh(e,"-"),sentenceCase:e=>Eu(zh(e," ")),titleCase:e=>Tu(e).map(Eu).join(" ")},Hh={exports:{}};Hh.exports=function(e){return kw(NU(e),e)},Hh.exports.array=kw;function kw(e,t){var n=e.length,r=new Array(n),o={},s=n,a=VU(t),c=WU(e);for(t.forEach(function(d){if(!c.has(d[0])||!c.has(d[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(d,h,g){if(g.has(d)){var m;try{m=", node was:"+JSON.stringify(d)}catch{m=""}throw new Error("Cyclic dependency"+m)}if(!c.has(d))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(d));if(!o[h]){o[h]=!0;var v=a.get(d)||new Set;if(v=Array.from(v),h=v.length){g.add(d);do{var b=v[--h];u(b,c.get(b),g)}while(h);g.delete(d)}r[--n]=d}}}function NU(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 VU(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 WU(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var zU=Hh.exports;const UU=Qr(zU),HU=Object.prototype.toString,GU=Error.prototype.toString,YU=RegExp.prototype.toString,KU=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",XU=/^Symbol\((.*)\)(.*)$/;function ZU(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Lw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return ZU(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return KU.call(e).replace(XU,"Symbol($1)");const r=HU.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+GU.call(e)+"]":r==="RegExp"?YU.call(e):null}function Do(e,t){let n=Lw(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Lw(this[r],t);return s!==null?s:o},2)}function Fw(e){return e==null?[]:[].concat(e)}let Dw,_w,Rw,QU=/\$\{\s*(\w+)\s*\}/g;Dw=Symbol.toStringTag;class Bw{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[Dw]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],Fw(t).forEach(s=>{if(Sn.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]}}_w=Symbol.hasInstance,Rw=Symbol.toStringTag;class Sn 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(QU,(o,s)=>Do(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 Bw(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[Rw]="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,Sn)}static[_w](t){return Bw[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let Vr={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 \`${Do(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${Do(n,!0)}\``+o:`${e} must match the configured type. The validated value was: \`${Do(n,!0)}\``+o}},An={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"},_o={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"},Gh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},JU={isValue:"${path} field must be ${value}"},Yh={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:Vr,string:An,number:_o,date:Gh,object:Yh,array:{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"},boolean:JU,tuple:{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: \`${Do(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: \`${Do(n,!0)}\``}return Sn.formatError(Vr.notType,e)}}});const Kh=e=>e&&e.__isYupSchema__;class Iu{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 Iu(t,(c,u)=>{var d;let h=a(...c)?o:s;return(d=h==null?void 0:h(u))!=null?d: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(!Kh(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const Ou={context:"$",value:"."};class Ci{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]===Ou.context,this.isValue=this.key[0]===Ou.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?Ou.context:this.isValue?Ou.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&xi.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}}Ci.prototype.__isYupRef=!0;const oo=e=>e==null;function Is(e){function t({value:n,path:r="",options:o,originalValue:s,schema:a},c,u){const{name:d,test:h,params:g,message:m,skipAbsent:v}=e;let{parent:b,context:C,abortEarly:w=a.spec.abortEarly,disableStackTrace:I=a.spec.disableStackTrace}=o;function L(G){return Ci.isRef(G)?G.getValue(n,b,C):G}function E(G={}){const le=Object.assign({value:n,originalValue:s,label:a.spec.label,path:G.path||r,spec:a.spec,disableStackTrace:G.disableStackTrace||I},g,G.params);for(const q of Object.keys(le))le[q]=L(le[q]);const ae=new Sn(Sn.formatError(G.message||m,le),n,le.path,G.type||d,le.disableStackTrace);return ae.params=le,ae}const j=w?c:u;let P={path:r,parent:b,type:d,from:o.from,createError:E,resolve:L,options:o,originalValue:s,schema:a};const D=G=>{Sn.isError(G)?j(G):G?u(null):j(E())},F=G=>{Sn.isError(G)?j(G):c(G)};if(v&&oo(n))return D(!0);let K;try{var ee;if(K=h.call(P,n,P),typeof((ee=K)==null?void 0:ee.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(D,F)}}catch(G){F(G);return}D(K)}return t.OPTIONS=e,t}function qU(e,t,n,r=n){let o,s,a;return t?(xi.forEach(t,(c,u,d)=>{let h=u?c.slice(1,c.length-1):c;e=e.resolve({context:r,parent:o,value:n});let g=e.type==="tuple",m=d?parseInt(h,10):0;if(e.innerType||g){if(g&&!d)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&&m>=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[m],e=g?e.spec.types[m]:e.innerType}if(!d){if(!e.fields||!e.fields[h])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[h],e=e.fields[h]}s=h,a=u?"["+c+"]":"."+c}),{schema:e,parent:o,parentPath:s}):{parent:o,parentPath:t,schema:e}}class Pu extends Set{describe(){const t=[];for(const n of this.values())t.push(Ci.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 Pu(this.values())}merge(t,n){const r=this.clone();return t.forEach(o=>r.add(o)),n.forEach(o=>r.delete(o)),r}}function Os(e,t=new Map){if(Kh(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]=Os(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,Os(o,t))}else if(e instanceof Set){n=new Set,t.set(e,n);for(const r of e)n.add(Os(r,t))}else if(e instanceof Object){n={},t.set(e,n);for(const[r,o]of Object.entries(e))n[r]=Os(o,t)}else throw Error(`Unable to clone ${e}`);return n}class dr{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 Pu,this._blacklist=new Pu,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(Vr.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=Os(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&&oo(s))return s;let a=Do(t),c=Do(s);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}".
|
|
213
213
|
|
|
214
214
|
attempted value: ${a}
|
|
215
|
-
`+(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 d=[];for(let h of Object.values(this.internalTests))h&&d.push(h);this.runTests({path:s,value:u,originalValue:a,options:n,tests:d},r,h=>{if(h.length)return o(h,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:d}=t,h=x=>{o||(o=!0,n(x,a))},g=x=>{o||(o=!0,r(x,a))},m=s.length,v=[];if(!m)return g([]);let b={value:a,originalValue:c,path:u,options:d,schema:this};for(let x=0;x<s.length;x++){const w=s[x];w(b,h,function(F){F&&(Array.isArray(F)?v.push(...F):v.push(F)),--m<=0&&g(v)})}}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 d=r[c];const h=Object.assign({},a,{strict:!0,parent:r,value:d,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(g,m,v)=>this.resolve(h)._validate(d,h,m,v)}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,d)=>{Sn.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new Sn(u,d,void 0,void 0,s)):a(d)}))}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 Sn.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new Sn(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Sn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Sn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Os(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=Is({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=Is({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Vr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Vr.notNull){return this.nullability(!1,t)}required(t=Vr.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=Vr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Is(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=Lw(t).map(s=>new Ci(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Iu(o,n):Iu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Is({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=Vr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Is({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=Vr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Is({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,d,h)=>h.findIndex(g=>g.name===u.name)===d)}}}dr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])dr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=ZU(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])dr.prototype[e]=dr.prototype.oneOf;for(const e of["not","nope"])dr.prototype[e]=dr.prototype.notOneOf;const QU=()=>!0;function Nw(e){return new Vw(e)}class Vw extends dr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:QU},t))}}Nw.prototype=Vw.prototype;const JU=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function qU(e){const t=Xh(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 Xh(e){var t,n;const r=JU.exec(e);return r?{year:io(r[1]),month:io(r[2],1)-1,day:io(r[3],1),hour:io(r[4]),minute:io(r[5]),second:io(r[6]),millisecond:r[7]?io(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:io(r[10]),minuteOffset:io(r[11])}:null}function io(e,t=0){return Number(e)||t}let $U=/^[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])?)*$/,eH=/^((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,tH=/^(?:[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,nH="^\\d{4}-\\d{2}-\\d{2}",rH="\\d{2}:\\d{2}:\\d{2}",oH="(([+-]\\d{2}(:?\\d{2})?)|Z)",iH=new RegExp(`${nH}T${rH}(\\.\\d+)?${oH}$`),sH=e=>oo(e)||e===e.trim(),aH={}.toString();function so(){return new Ww}class Ww extends dr{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===aH?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Vr.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=An.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=An.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=An.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||An.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=An.email){return this.matches($U,{name:"email",message:t,excludeEmptyString:!0})}url(t=An.url){return this.matches(eH,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=An.uuid){return this.matches(tH,{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(iH,{name:"datetime",message:n||An.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||An.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=Xh(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||An.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=Xh(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=An.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:sH})}lowercase(t=An.lowercase){return this.transform(n=>oo(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toLowerCase()})}uppercase(t=An.uppercase){return this.transform(n=>oo(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toUpperCase()})}}so.prototype=Ww.prototype;let lH=e=>e!=+e;function zw(){return new Uw}class Uw extends dr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!lH(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=Ro.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=Ro.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=Ro.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=Ro.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=Ro.positive){return this.moreThan(0,t)}negative(t=Ro.negative){return this.lessThan(0,t)}integer(t=Ro.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>oo(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=>oo(o)?o:Math[t](o))}}zw.prototype=Uw.prototype;let cH=new Date(""),uH=e=>Object.prototype.toString.call(e)==="[object Date]";class ju extends dr{constructor(){super({type:"date",check(t){return uH(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=qU(t),isNaN(t)?ju.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ci.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=Gh.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=Gh.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)}})}}ju.INVALID_DATE=cH,ju.prototype;function dH(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=xi.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),Ci.isRef(c)&&c.isSibling?s(c.path,a):Kh(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return VU.array(Array.from(r),n).reverse()}function Hw(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 Gw(e){return(t,n)=>Hw(e,t)-Hw(e,n)}const fH=(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 Mu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Mu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Mu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Mu)}):"optional"in e?e.optional():e}const pH=(e,t)=>{const n=[...xi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=xi.getter(xi.join(n),!0)(e);return!!(o&&r in o)};let Yw=e=>Object.prototype.toString.call(e)==="[object Object]";function hH(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const gH=Gw([]);function Zh(e){return new Kw(e)}class Kw extends dr{constructor(t){super({type:"object",check(n){return Yw(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=gH,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(g=>!this._nodes.includes(g))),u={},d=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),h=!1;for(const g of c){let m=s[g],v=g in o;if(m){let b,x=o[g];d.path=(n.path?`${n.path}.`:"")+g,m=m.resolve({value:x,context:n.context,parent:u});let w=m instanceof dr?m.spec:void 0,I=w==null?void 0:w.strict;if(w!=null&&w.strip){h=h||g in o;continue}b=!n.__validating||!I?m.cast(o[g],d):o[g],b!==void 0&&(u[g]=b)}else v&&!a&&(u[g]=o[g]);(v!==g in u||u[g]!==o[g])&&(h=!0)}return h?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,d)=>{if(!c||!Yw(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||Ci.isRef(m)||h.push(m.asNestedTest({options:n,key:g,parent:d,parentPath:n.path,originalParent:a}))}this.runTests({tests:h,value:d,originalValue:a,options:n},r,g=>{o(g.sort(this._sortErrors).concat(u),d)})})}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=dH(t,n),r._sortErrors=Gw(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 Mu(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=xi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return pH(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(fH)}noUnknown(t=!0,n=Yh.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=hH(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Yh.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(Uh.camelCase)}snakeCase(){return this.transformKeys(Uh.snakeCase)}constantCase(){return this.transformKeys(t=>Uh.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}}Zh.prototype=Kw.prototype;const Xw=Nw().test("function","Invalid function",e=>$.isFunction(e));class Zw{constructor(){yo(this,Pi);yo(this,Uo,[])}get(t){if(so().required().validateSync(t),kl(this,Pi,Fl).call(this)){const n=localStorage.getItem(t);return $.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return so().required().validateSync(t),kl(this,Pi,Fl).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){so().required().validateSync(t),Xw.validateSync(n),kl(this,Pi,Fl).call(this)&&(kn(this,Uo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){so().required().validateSync(t),Xw.optional().default($.identity).validateSync(n),kl(this,Pi,Fl).call(this)&&(n!==void 0?$o(this,Uo,$.reject(kn(this,Uo),r=>r.key===t&&r.callback===n)):$o(this,Uo,$.reject(kn(this,Uo),r=>r.key===t)))}}Uo=new WeakMap,Pi=new WeakSet,Fl=function(){return typeof window<"u"};function ku(e={},t=[],n={}){const{isEmpty:r=$.isEmpty}=n;return!$.some(t,o=>r((e??{})[o.locale]))}function Qw(e={},t=[],n={}){const{isEmpty:r=$.isEmpty}=n;return $.some(t,o=>!r((e??{})[o.locale]))}function Qh(e,t,n){if(!$.isPlainObject(e)||t===void 0)return;const r=$.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=$.isArray(r.fallbackLocales)&&!$.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=$.chain(a).map(c=>e[String(c)]).reject($.isUndefined).first().value(),s===void 0&&(s=$.chain(e).values().first().value())}return s}var Jw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",d="day",h="week",g="month",m="quarter",v="year",b="date",x="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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,F={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(q){var J=["th","st","nd","rd"],z=q%100;return"["+q+(J[(z-20)%10]||J[z]||J[0])+"]"}},E=function(q,J,z){var Q=String(q);return!Q||Q.length>=J?q:""+Array(J+1-Q.length).join(z)+q},k={s:E,z:function(q){var J=-q.utcOffset(),z=Math.abs(J),Q=Math.floor(z/60),N=z%60;return(J<=0?"+":"-")+E(Q,2,"0")+":"+E(N,2,"0")},m:function q(J,z){if(J.date()<z.date())return-q(z,J);var Q=12*(z.year()-J.year())+(z.month()-J.month()),N=J.clone().add(Q,g),ne=z-N<0,W=J.clone().add(Q+(ne?-1:1),g);return+(-(Q+(z-N)/(ne?N-W:W-N))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:g,y:v,w:h,d,D:b,h:u,m:c,s:a,ms:s,Q:m}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},P="en",L={};L[P]=F;var D="$isDayjsObject",Y=function(q){return q instanceof le||!(!q||!q[D])},Z=function q(J,z,Q){var N;if(!J)return P;if(typeof J=="string"){var ne=J.toLowerCase();L[ne]&&(N=ne),z&&(L[ne]=z,N=ne);var W=J.split("-");if(!N&&W.length>1)return q(W[0])}else{var K=J.name;L[K]=J,N=K}return!Q&&N&&(P=N),N||!Q&&P},ee=function(q,J){if(Y(q))return q.clone();var z=typeof J=="object"?J:{};return z.date=q,z.args=arguments,new le(z)},G=k;G.l=Z,G.i=Y,G.w=function(q,J){return ee(q,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var le=function(){function q(z){this.$L=Z(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[D]=!0}var J=q.prototype;return J.parse=function(z){this.$d=function(Q){var N=Q.date,ne=Q.utc;if(N===null)return new Date(NaN);if(G.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var W=N.match(w);if(W){var K=W[2]-1||0,de=(W[7]||"0").substring(0,3);return ne?new Date(Date.UTC(W[1],K,W[3]||1,W[4]||0,W[5]||0,W[6]||0,de)):new Date(W[1],K,W[3]||1,W[4]||0,W[5]||0,W[6]||0,de)}}return new Date(N)}(z),this.init()},J.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},J.$utils=function(){return G},J.isValid=function(){return this.$d.toString()!==x},J.isSame=function(z,Q){var N=ee(z);return this.startOf(Q)<=N&&N<=this.endOf(Q)},J.isAfter=function(z,Q){return ee(z)<this.startOf(Q)},J.isBefore=function(z,Q){return this.endOf(Q)<ee(z)},J.$g=function(z,Q,N){return G.u(z)?this[Q]:this.set(N,z)},J.unix=function(){return Math.floor(this.valueOf()/1e3)},J.valueOf=function(){return this.$d.getTime()},J.startOf=function(z,Q){var N=this,ne=!!G.u(Q)||Q,W=G.p(z),K=function(be,we){var Ie=G.w(N.$u?Date.UTC(N.$y,we,be):new Date(N.$y,we,be),N);return ne?Ie:Ie.endOf(d)},de=function(be,we){return G.w(N.toDate()[be].apply(N.toDate("s"),(ne?[0,0,0,0]:[23,59,59,999]).slice(we)),N)},he=this.$W,fe=this.$M,ge=this.$D,ve="set"+(this.$u?"UTC":"");switch(W){case v:return ne?K(1,0):K(31,11);case g:return ne?K(1,fe):K(0,fe+1);case h:var Te=this.$locale().weekStart||0,Ce=(he<Te?he+7:he)-Te;return K(ne?ge-Ce:ge+(6-Ce),fe);case d:case b:return de(ve+"Hours",0);case u:return de(ve+"Minutes",1);case c:return de(ve+"Seconds",2);case a:return de(ve+"Milliseconds",3);default:return this.clone()}},J.endOf=function(z){return this.startOf(z,!1)},J.$set=function(z,Q){var N,ne=G.p(z),W="set"+(this.$u?"UTC":""),K=(N={},N[d]=W+"Date",N[b]=W+"Date",N[g]=W+"Month",N[v]=W+"FullYear",N[u]=W+"Hours",N[c]=W+"Minutes",N[a]=W+"Seconds",N[s]=W+"Milliseconds",N)[ne],de=ne===d?this.$D+(Q-this.$W):Q;if(ne===g||ne===v){var he=this.clone().set(b,1);he.$d[K](de),he.init(),this.$d=he.set(b,Math.min(this.$D,he.daysInMonth())).$d}else K&&this.$d[K](de);return this.init(),this},J.set=function(z,Q){return this.clone().$set(z,Q)},J.get=function(z){return this[G.p(z)]()},J.add=function(z,Q){var N,ne=this;z=Number(z);var W=G.p(Q),K=function(fe){var ge=ee(ne);return G.w(ge.date(ge.date()+Math.round(fe*z)),ne)};if(W===g)return this.set(g,this.$M+z);if(W===v)return this.set(v,this.$y+z);if(W===d)return K(1);if(W===h)return K(7);var de=(N={},N[c]=r,N[u]=o,N[a]=n,N)[W]||1,he=this.$d.getTime()+z*de;return G.w(he,this)},J.subtract=function(z,Q){return this.add(-1*z,Q)},J.format=function(z){var Q=this,N=this.$locale();if(!this.isValid())return N.invalidDate||x;var ne=z||"YYYY-MM-DDTHH:mm:ssZ",W=G.z(this),K=this.$H,de=this.$m,he=this.$M,fe=N.weekdays,ge=N.months,ve=N.meridiem,Te=function(we,Ie,ue,qe){return we&&(we[Ie]||we(Q,ne))||ue[Ie].slice(0,qe)},Ce=function(we){return G.s(K%12||12,we,"0")},be=ve||function(we,Ie,ue){var qe=we<12?"AM":"PM";return ue?qe.toLowerCase():qe};return ne.replace(I,function(we,Ie){return Ie||function(ue){switch(ue){case"YY":return String(Q.$y).slice(-2);case"YYYY":return G.s(Q.$y,4,"0");case"M":return he+1;case"MM":return G.s(he+1,2,"0");case"MMM":return Te(N.monthsShort,he,ge,3);case"MMMM":return Te(ge,he);case"D":return Q.$D;case"DD":return G.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return Te(N.weekdaysMin,Q.$W,fe,2);case"ddd":return Te(N.weekdaysShort,Q.$W,fe,3);case"dddd":return fe[Q.$W];case"H":return String(K);case"HH":return G.s(K,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return be(K,de,!0);case"A":return be(K,de,!1);case"m":return String(de);case"mm":return G.s(de,2,"0");case"s":return String(Q.$s);case"ss":return G.s(Q.$s,2,"0");case"SSS":return G.s(Q.$ms,3,"0");case"Z":return W}return null}(we)||W.replace(":","")})},J.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},J.diff=function(z,Q,N){var ne,W=this,K=G.p(Q),de=ee(z),he=(de.utcOffset()-this.utcOffset())*r,fe=this-de,ge=function(){return G.m(W,de)};switch(K){case v:ne=ge()/12;break;case g:ne=ge();break;case m:ne=ge()/3;break;case h:ne=(fe-he)/6048e5;break;case d:ne=(fe-he)/864e5;break;case u:ne=fe/o;break;case c:ne=fe/r;break;case a:ne=fe/n;break;default:ne=fe}return N?ne:G.a(ne)},J.daysInMonth=function(){return this.endOf(g).$D},J.$locale=function(){return L[this.$L]},J.locale=function(z,Q){if(!z)return this.$L;var N=this.clone(),ne=Z(z,Q,!0);return ne&&(N.$L=ne),N},J.clone=function(){return G.w(this.$d,this)},J.toDate=function(){return new Date(this.valueOf())},J.toJSON=function(){return this.isValid()?this.toISOString():null},J.toISOString=function(){return this.$d.toISOString()},J.toString=function(){return this.$d.toUTCString()},q}(),ae=le.prototype;return ee.prototype=ae,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",b]].forEach(function(q){ae[q[1]]=function(J){return this.$g(J,q[0],q[1])}}),ee.extend=function(q,J){return q.$i||(q(J,le,ee),q.$i=!0),ee},ee.locale=Z,ee.isDayjs=Y,ee.unix=function(q){return ee(1e3*q)},ee.en=L[P],ee.Ls=L,ee.p={},ee})})(Jw);var qw=Jw.exports;const Ar=Qr(qw);function $w(e){const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Ar().hour(n).minute(r)}const Qa=new Zw;function mH(e,t,n){return function(r){const o=$.isFunction(r)?r(t):r;return Qa.set(e,o),n(o),o}}function Jh(e,t){var u;so().required().validateSync(e);const[n,r]=T.useState(Qa.get(e)??t),o=T.useRef(t),s=$.isEqual(o.current,t)?o.current:t,a=T.useRef(),c=a.current;return T.useEffect(()=>{r(Qa.get(e)??s)},[e,s,r]),T.useEffect(()=>{function d(h){r(h)}return Qa.watch(e,d),()=>{Qa.unwatch(e,d)}},[e,r]),(e!==(c==null?void 0:c.key)||!$.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:mH(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??$.noop]}function eS(e){const[t]=re.useLocaleState();return e!==void 0?String(e):t}function vH(e,t){const n=eS(t==null?void 0:t.locale);return Qh(e,n,t)}function yH(e){const t=eS(e==null?void 0:e.locale);return T.useCallback(r=>Qh(r,t,e),[t,e])}function tS(e){if(!$.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{$.isEqual(e,t)||n(e)},[e,t]),t}function Ja(){const[e,t]=T.useState(null),n=!!e,r=T.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=T.useCallback(()=>t(null),[t]),s=T.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function bH(e,t){const[n,r]=T.useState({width:1,height:1}),o=e.current;return T.useEffect(()=>{function s(){var d;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 h=((d=e.current)==null?void 0:d.getBoundingClientRect())??{width:0,height:0};c=h.width,u=h.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return $.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function qh(e){const t=_.useRecordContext(),n=_.useTranslate(),r=_.useResourceContext(),o=t!=null&&t.id?"edit":"create";return T.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 Wr(){throw new Error("Method must be implemented")}const nS={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:Wr,setMenuOrientation:Wr,setMiniDrawer:Wr,setContainer:Wr,setMode:Wr,setPresetColor:Wr,setThemeDirection:Wr,setAppDefaultPath:Wr,setDrawerWidth:Wr,setHorizontalMaxItems:Wr,isVerticalLayout:e=>!1,isHorizontalLayout:e=>!1};function xH(e){return e==="vertical"}function CH(e){return e==="horizontal"}const $h=T.createContext(nS);function eg({initialConfig:e,children:t}){const[n,r]=Jh("theme-config",{...nS,...e});function o(b){r(x=>({...x,fontFamily:b}))}function s(b){r(x=>({...x,menuOrientation:b}))}function a(b){r(x=>({...x,miniDrawer:b}))}function c(b){r(x=>({...x,container:b}))}function u(b){r(x=>({...x,mode:b}))}function d(b){r(x=>({...x,presetColor:b}))}function h(b){r(x=>({...x,themeDirection:b}))}function g(b){r(x=>({...x,appDefaultPath:b}))}function m(b){r(x=>({...x,drawerWidth:b}))}function v(b){r(x=>({...x,horizontalMaxItems:b}))}return f.jsx($h.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:xH,isHorizontalLayout:CH},children:t})}function tg(){return T.useContext($h)}function Tn(){return tg()}const wH=Ma(_.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end",position:"initial !important","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function wi(e){return f.jsx(wH,{...e})}function rS({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Tn();return f.jsx(AH,{defaultValues:n,spacing:t||o,children:f.jsx(S.Grid,{container:!0,...r,spacing:t||o,children:e})})}function SH({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:d=12,...h}){const g=_.useTranslate(),m=_.useResourceContext(),{cardTitle:v,cardSubheader:b}=T.useMemo(()=>{const x=n||`resources.${m}.title`;return{cardTitle:g(x,{_:x}),cardSubheader:r!==null?g(r,{_:r}):null}},[m,r,n,g]);return f.jsx(S.Grid,{item:!0,...h,lg:a,md:c,sm:u,xs:d,children:f.jsx(sr,{content:t,title:v,subheader:b,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(wi,{children:f.jsx(_.SaveButton,{})}):s]})})})}const AH=pe(_.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:"0 !important"}}));rS.Section=SH;const TH=Ma(_.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function oS({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(wi,{children:f.jsx(_.SaveButton,{type:"button"})}),secondary:s=f.jsx(Fo,{children:f.jsx(_.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=qh(e),d=_.useRecordContext(),h=ip();return f.jsx(sr,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:h.spacing(2.5),paddingRight:h.spacing(2.5),paddingBottom:h.spacing(2.5),paddingTop:t?h.spacing(2.5):0,borderTop:t?`1px solid ${h.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(TH,{toolbar:o,...c})})}const iS={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},sS=T.createContext(iS);function EH(e){const[t,n]=T.useState(iS);function r(a,c){n(u=>({...u,openDialogs:[...u.openDialogs,a]})),c&&c()}function o(a,c){n(u=>({...u,openDialogs:u.openDialogs.filter(d=>d!==a)})),c&&c()}function s(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(sS.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function aS(){const e=T.useContext(sS);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function ng(){return aS()}function lS({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const d=Nt.useTheme(),{getCurrentDialog:h}=ng(),{source:g,resource:m,isRequired:v}=u,{getFieldState:b,formState:x}=Qn.useFormContext(),{error:w}=b(g,x),I=h();return f.jsxs(S.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:w?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(S.InputLabel,{error:!!w,sx:{borderBottom:a?`1px solid ${d.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:f.jsx(_.FieldTitle,{label:e,source:g,resource:I||m,isRequired:v})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(S.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!w,children:r}):null]})}const IH=pe(_.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 OH({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(lS,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(IH,{source:n,label:!1,...s})})}function PH({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(Fo,{children:[e?f.jsx(_.EditButton,{}):null,t?f.jsx(_.DeleteWithConfirmButton,{}):null,n?f.jsx(_.CloneButton,{}):null]})}const cS=pe("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),jH=pe("ul")({display:"inline-block"});function MH(e){var h;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=re.useRecordContext(e),c=dt.get(a,r),u=re.useTranslate();if(!c)return n?f.jsx(S.Typography,{component:"span",variant:"body2",className:t,...s,children:n?u(n,{_:n}):null}):f.jsx(cS,{className:t,...s});if(Array.isArray(c))return f.jsx(jH,{className:t,...s,children:c.map((g,m)=>{var b;const v=o instanceof String?(b=dt.get(g,o))==null?void 0:b.toString():o;return f.jsx("li",{children:v},m)})});const d=o instanceof String?(h=dt.get(a,o))==null?void 0:h.toString():o;return f.jsx(cS,{className:t,...s,children:d})}function uS({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:s,...a}){const[c,u]=T.useState(null),d=_.useRecordContext(a),h=_.useDataProvider(),g=_.useResourceContext(),m=_.useNotify(),v=T.useCallback(async w=>{w.preventDefault(),w.stopPropagation(),m("ra.notification.download",{type:"info"});const I=dt.get(d,a==null?void 0:a.source),F=(s||g).replace("entities/",""),E=e||(d==null?void 0:d.id),k=await h.getFile(`/attachments/${F}/${E}/${t||(a==null?void 0:a.source)}/${(I==null?void 0:I.id)||(d==null?void 0:d.id)}`),P=document.createElement("a");P.href=k,P.download=dt.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source)),P.click()},[h,d,e,g,s,t,a==null?void 0:a.source,a==null?void 0:a.title,m]),b=T.useMemo(()=>({...d,[a==null?void 0:a.source]:(d==null?void 0:d.src)||dt.get(d,a==null?void 0:a.source),[a==null?void 0:a.title]:(d==null?void 0:d.title)||dt.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),[d,a==null?void 0:a.source,a==null?void 0:a.title]),x=_.useTranslate();return T.useEffect(()=>{!d||!(d!=null&&d.userId)||r===!1||h.getOne(o,{id:d==null?void 0:d.userId}).then(({data:w})=>u(w)).catch(()=>u(null))},[d,h,o,r]),f.jsx(MH,{...a,disabled:n,record:b,onClick:v,title:f.jsxs(S.Box,{sx:{cursor:"pointer"},children:[f.jsx(S.Typography,{variant:"subtitle1",children:dt.get(b,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),f.jsxs(S.Typography,{variant:"caption",color:"secondary",children:[dt.get(b,"sizeDescription"),r&&c?" | ":null,r&&c?x("ra.attachment.info",{user:c==null?void 0:c.name,created:Ar(b==null?void 0:b.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const kH=pe(_.ImageField,{slot:"root"})(()=>({}));function dS(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(kH,{...e,source:t})}function fS({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:s,...a}){const c=T.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...s}),[e,t,n,s]),u=_.useRecordContext(),d=o||u;return f.jsx(dS,{sx:h=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${h.palette.divider}`,objectFit:"cover !important",...c,minWidth:c.width,minHeight:c.height}}),...a,record:d})}var FH={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,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])+"]"}}})})(FH);var LH={exports:{}};(function(e,t){(function(n,r){e.exports=r(qw)})(yn,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})})(LH);var pS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,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(d,h,g,m){return s.fromToBase(d,h,g,m)}o.en.relativeTime=a,s.fromToBase=function(d,h,g,m,v){for(var b,x,w,I=g.$locale().relativeTime||a,F=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"}],E=F.length,k=0;k<E;k+=1){var P=F[k];P.d&&(b=m?o(d).diff(g,P.d,!0):g.diff(d,P.d,!0));var L=(n.rounding||Math.round)(Math.abs(b));if(w=b>0,L<=P.r||!P.r){L<=1&&k>0&&(P=F[k-1]);var D=I[P.l];v&&(L=v(""+L)),x=typeof D=="string"?D.replace("%d",L):D(L,h,P.l,w);break}}if(h)return x;var Y=w?I.future:I.past;return typeof Y=="function"?Y(x):Y.replace("%s",x)},s.to=function(d,h){return c(d,h,this,!0)},s.from=function(d,h){return c(d,h,this)};var u=function(d){return d.$u?o.utc():o()};s.toNow=function(d){return this.to(u(this),d)},s.fromNow=function(d){return this.from(u(this),d)}}})})(pS);var DH=pS.exports;const RH=Qr(DH);Ar.extend(RH);function hS(e){const t=_.useRecordContext(e),[n]=_.useLocaleState(),r=T.useMemo(()=>Ar(dt.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(_.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(S.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const _H=pe(_.DateField,{slot:"Root"})(()=>({}));function BH({variant:e="body1",...t}){return f.jsx(_H,{...t,variant:e})}const NH=pe(_.EmailField,{slot:"Root"})(()=>({}));function VH({variant:e="body1",...t}){return f.jsx(NH,{...t,variant:e})}const WH=pe(_.FileField,{slot:"root"})(()=>({}));function gS({...e}){const t=_.useRecordContext(e),n=T.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=dt.get(t,`_${e==null?void 0:e.source}`,dt.get(t,e==null?void 0:e.source)),s=dt.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 f.jsx(WH,{...e,record:t,onClick:n})}function zH({variant:e="body1",...t}){return f.jsx(_.FunctionField,{...t,variant:e})}const UH=pe(_.TextField,{slot:"Root"})(()=>({}));function mS({variant:e="body1",...t}){return f.jsx(UH,{...t,variant:e})}function HH(e){const t=S.useTheme(),n=re.useLocales(),{source:r=""}=e,s=re.useRecordContext(e)[r],a=!ku(s,n),c=Sr(e,{flex:1}),[u]=re.useLocaleState(),d=T.useMemo(()=>a?f.jsx(Ke.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(Ke.FlagOutlined,{}),[a,t.palette.warning.main]),h=T.useMemo(()=>f.jsx(S.Stack,{children:$.map(n,(g,m)=>f.jsx(S.Typography,{children:`${g.locale.toUpperCase()}: ${(s??{})[g.locale]??""}`},m))}),[s,n]);return f.jsx(Qc,{title:h,arrow:!1,children:f.jsxs(S.Stack,{alignItems:"center",direction:"row",gap:1,children:[d,f.jsx(mS,{...e,source:`${r}.${u}`,sx:c})]})})}const GH=pe("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"}}));function YH({source:e,defaultValue:t=" ",...n}){const r=_.useRecordContext(n),o=dt.get(r,e,t);return f.jsx(S.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function KH({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(S.Tooltip,{title:e,placement:"top",children:t}):t}function XH({label:e,source:t,defaultValue:n=" ",children:r=f.jsx(YH,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=aS(),u=_.useRecordContext(s),d=_.useResourceContext(s),h=c(),g=T.useMemo(()=>o===!1?!1:typeof o=="function"?o(u):typeof o=="string"?dt.get(u,o,o):o,[u,o]),m=Sr(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return f.jsx(KH,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(S.InputLabel,{sx:{pt:1},children:f.jsx(_.FieldTitle,{label:e,source:t,resource:h||d})}),f.jsx(GH,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function ZH({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const QH=Ma(ZH,{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:"contents"}}},"& .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 vS(e){return f.jsx(QH,{...e,children:f.jsx(_.ReferenceManyField,{pagination:f.jsx(_.Pagination,{}),...e})})}function JH({source:e,...t}){const n=_.useRecordContext(t),r=dt.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 f.jsx(S.Typography,{component:"span",variant:"body1",...t,children:c})}function fn({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Kt(),{getCurrentDialog:d}=ng(),{source:h,resource:g,isRequired:m}=c,{fieldState:{invalid:v}}=_.useInput(c),b=d();return f.jsxs(S.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:v?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(S.InputLabel,{error:v===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:f.jsx(_.FieldTitle,{label:e,source:h,resource:b||g,isRequired:m})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,r?f.jsx(S.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:v===!0,children:r}):null]})}function qH(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const $H=pe(_.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}},...qH(e)}));function eG({children:e=f.jsx(uS,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const s=_.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return _.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(fn,{...o,disabled:n,children:f.jsx($H,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const tG=pe(_.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function nG({size:e="small",...t}){return f.jsx(fn,{...t,children:f.jsx(tG,{size:e})})}const rG=pe(_.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function oG({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(fn,{...r,children:f.jsx(rG,{size:e})})}const iG=pe(_.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function sG({...e}){const t=Nt.useTheme();return f.jsx(fn,{...e,children:f.jsx(iG,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const aG=4,lG=pe(_.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function cG(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Ar(s).year().toString().length>aG?o.target.value=t:n(s)},[t]);return f.jsx(fn,{...e,children:f.jsx(lG,{...e,onInput:r})})}const uG=pe(_.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function dG(e){return f.jsx(fn,{...e,children:f.jsx(uG,{})})}const fG=pe(_.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 pG({children:e=f.jsx(gS,{source:"",title:""}),title:t,...n}){const r=Qn.useWatch({name:n.source}),o=_.useRecordContext(n),{source:s}=n,a=T.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=dt.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return f.jsx(fn,{...n,children:f.jsx(fG,{children:T.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||dt.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||dt.get(o,`_${s}`),[t||s]:a}})})})}function hG({children:e=f.jsx(fS,{}),title:t,multiple:n=!1,...r}){const o=Qn.useWatch({name:r.source}),s=_.useRecordContext(r),{source:a}=r;return _.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(fn,{...r,multiple:n,children:f.jsx(_.ImageInput,{accept:"image/*",children:T.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||dt.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||dt.get(s,`_${a}`)}})})})}function Tr(e){return f.jsx(fn,{...e,children:f.jsx(_.TextInput,{})})}const gG={vertical:"bottom",horizontal:"right"},mG={vertical:"top",horizontal:"right"};function vG({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=re.useLocales(),c=T.useCallback((L="ra.validation.required",D="ra.validation.required_locale")=>Y=>{if(e&&!t&&!Qw(Y,a))return L;if(t&&(!$.has(Y,t)||$.isEmpty($.get(Y,t))))return{message:D,args:{locale:t}};if(!e&&r&&!ku(Y,a))return L},[e,t,a,r]),u=T.useMemo(()=>re.composeValidators(n,c()),[n,c]),{fieldState:d}=re.useInput({...o,validate:u}),{error:h}=d,g=Qn.useWatch({name:s}),m=!ku(g,a),[v]=re.useLocaleState(),[b,x]=T.useState(v),[w,I]=T.useState(null),F=!!w,E=T.useCallback(L=>I(F?null:L.currentTarget),[F,I]),k=T.useCallback(()=>I(null),[I]),P=T.useMemo(()=>$.map(a,(L,D)=>f.jsx(S.MenuItem,{onClick:()=>{x(L.locale),k()},children:f.jsx(S.ListItemText,{primary:`${L.locale.toUpperCase()}: ${(g??{})[L.locale]??""}`})},D)),[a,x,k,g]);return f.jsx(fn,{...o,validate:u,helperText:h!=null&&h.message?f.jsx(re.ValidationError,{error:h==null?void 0:h.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(S.Box,{flex:1,children:[$.map(a,(L,D)=>f.jsx(Tr,{...o,source:`${s}.${L.locale}`,sx:{width:"100%",display:L.locale===b?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(S.Chip,{label:f.jsx(S.Typography,{variant:"button",children:b}),size:"small",onClick:E,color:m?"warning":void 0})}},D)),f.jsx(S.Menu,{anchorEl:w,open:F,anchorOrigin:gG,transformOrigin:mG,onClose:k,children:P})]})})})}const yG=pe(_.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function bG(e){return f.jsx(fn,{...e,children:f.jsx(yG,{})})}function xG({source:e,minWidth:t=300,children:n}){const r=_.useResourceContext(),o=_.useRecordContext(),[s,a]=T.useState(dt.get(o,e,"")),[c,u]=T.useState(!1),d=T.useCallback(b=>a(b.target.value),[]),h=_.useDataProvider(),g=T.useCallback(b=>{b.key==="Enter"&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,o,e]),m=T.useCallback(()=>{dt.get(o,e)!==s&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,e,o]),v=T.useCallback(b=>{u(!0),h.update(r,{id:o.id,data:{...o,[e]:b,_changed:e},previousData:o}).then(()=>u(!1))},[h,r,e,o]);return T.useEffect(()=>a(dt.get(o,e)),[o,e]),n?T.cloneElement(n,{...n.props,source:e,value:s,onChange:v}):f.jsx(S.TextField,{value:s,disabled:c,onChange:d,onKeyPress:g,onBlur:m,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function CG({children:e,...t}){const n=T.Children.only(e);return f.jsx(_.ReferenceArrayInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function wG({children:e,...t}){const n=T.Children.only(e);return f.jsx(_.ReferenceInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function SG({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(_.ResourceContextProvider,{value:e,children:f.jsx(vS,{perPage:5,pagination:f.jsx(_.Pagination,{}),...s,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(_.ListToolbar,{filters:r,actions:o}),n]})})})}const AG=pe(_.SearchInput,{slot:"root"})(()=>({}));function TG(e){return f.jsx(AG,{...e})}const EG=pe(_.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function IG({optionText:e="name",optionValue:t="id",...n}){return f.jsx(fn,{...n,children:f.jsx(EG,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const OG=pe(_.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function PG(e){return f.jsx(fn,{...e,children:f.jsx(OG,{})})}function jG({multiline:e=!1,...t}){var u,d;const n=_.useTranslate(),r=_.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(d=(u=Qn.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:d.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),f.jsx(Tr,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function MG(e){if(!e)return"";const t=$w(e);return t?t.format("HH:mm"):""}function kG(e){return e}const FG=pe(_.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function LG({parse:e=kG,format:t=MG,...n}){return f.jsx(fn,{...n,children:f.jsx(FG,{parse:e,format:t,...n})})}function rg({onSuccess:e,firstAccess:t}){const{spacing:n}=Tn(),[r,o]=T.useState(!1),s=re.useAuthProvider(),a=re.useTranslate(),c=re.useNotify(),u=T.useCallback(d=>{const{oldPassword:h,newPassword:g}=d;o(!0),s==null||s.changePassword(h,g).then(()=>{c("ra.auth.password_changed"),e()}).catch(m=>{c((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e,c]);return f.jsx(re.ResourceContextProvider,{value:"user/change-password",children:f.jsx(re.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(oS,{onSubmit:u,toolbar:f.jsx(wi,{children:f.jsx(_.SaveButton,{disabled:r})}),children:f.jsxs(S.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Alert,{severity:"warning",children:[f.jsx(S.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsx(Tr,{source:"oldPassword",type:"password",validate:re.required()})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsx(Tr,{source:"newPassword",type:"password",validate:re.required()})})]})})})})}const yS=T.createContext({});function DG(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=_.useResourceContext(),o=_.useDataProvider(),{search:s}=ei.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!$.isFunction(o.get))return Promise.resolve({});const m={};return new URLSearchParams(s??"").forEach((v,b)=>{m[b]=v}),o.get(a,m).then(v=>v.data).then(v=>{const{responseCode:b,value:x}=v;return b==="ok"?x:Promise.reject(v)})},[t,s,o,a]),u=T.useMemo(()=>$.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ui.useQuery(u),g=$.omit(e,["useDefaults"]);return h?f.jsx(S.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(S.CircularProgress,{})}):f.jsx(yS.Provider,{value:d??{},children:f.jsx(_.Create,{...g,children:e.children})})}const RG=pe(DG,{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":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function _G(){return T.useContext(yS)}const BG=pe(_.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":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !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 NG(e){return f.jsx(BG,{...e})}const VG=pe(S.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),WG=pe(S.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function zG({title:e,divider:t=!0,variant:n="h5"}){const r=_.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(VG,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(WG,{}):null]})}function og(e){return e.id??e.label}function bS(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function UG(e){return $.map(e,"id")}function Fu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function xS(e,t){const n=e!==void 0?Fu(e):0;return $.chain(t).filter(o=>e!==void 0?bS(e,o.id):!0).filter(o=>Fu(o.id)===n+1).value()}function HG(e,t){var s;const n=$.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return $.extend(n,{formRootPath:o});case"setSyncWithLocation":return $.extend(n,{syncWithLocation:o});case"setErrorCount":return $.extend(n,{errorCount:o});case"setActiveItem":return $.includes(UG(e.items),o)?$.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return $.extend(n,{items:$.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=$.isString(o)?o:o.id,c=$.chain(n.items).clone().reject(u=>u.id===a).value();return $.extend(n,{items:c}),n.activeItem===a&&$.extend(n,{activeItem:((s=$.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const GG={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},CS=T.createContext(void 0);function wS(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ei.useLocation(),[s,a]=T.useReducer(HG,$.cloneDeep(GG)),{formRootPath:c,items:u}=s,d=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{const h=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&h.push(r);const g=$.chain(h).map(v=>ei.matchPath(v,o)).reject(v=>v===null).first().value(),m=g==null?void 0:g.pathnameBase;m!==void 0&&m!==c&&a({type:"setFormRootPath",payload:m})},[o,c,r]),T.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),T.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),T.useEffect(()=>{var h;if(t&&c!==void 0){let g=o.replace(c,"").replace(new RegExp(/^\/?/),"");$.isEmpty(g)&&(g=((h=$.chain(u).filter(m=>xS(m.id,u).length===0).orderBy([m=>Fu(m.id),m=>m.index]).first().value())==null?void 0:h.id)??void 0),a({type:"setActiveItem",payload:g})}},[a,c,o,u,t]),f.jsx(CS.Provider,{value:d,children:e.children})}function SS(){const e=T.useContext(CS);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function qa(){return SS().state}function ig(){return SS().dispatch}function AS(){return qa().formRootPath}function TS(){return qa().activeItem}function ES(){return qa().items}function IS(){return qa().syncWithLocation}function OS(){return qa().errorCount}function PS(){const e=ig();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function jS(){const e=ig();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function MS(){const e=ig();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const YG=pe(S.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{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")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !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 kS(e){const{spacing:t}=Tn(),{spacing:n=t}=e,r=$.omit(e,["spacing"]);return f.jsx(_.Form,{...r,className:"LongFormView",children:f.jsx(YG,{container:!0,spacing:n*2,children:e.children})})}function FS(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=$.omit(e,["disposition"]);return f.jsx(S.Grid,{...n,item:!0,...t,children:e.children})}function LS(e){const t=TS();return t===void 0?!1:e===t||bS(e,t)}function DS(e){const t=ES();return T.useMemo(()=>xS(e,t),[t,e])}function KG(){const e=AS(),{search:t}=ei.useLocation(),n=ei.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function RS(){const e=DS();return f.jsx(S.Card,{variant:"outlined",children:f.jsx(S.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:$.map(e,(t,n)=>f.jsx(sg,{...t},n))})})}function sg(e){const t=re.useTranslate()??$.identity,n=_S(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=Tn(),[v,b]=T.useState(r),x=T.useCallback(F=>{b(!v),a(F)},[a,v]),w=s!==void 0,I=$.omit(e,["label","icon","selected","badge"]);return T.useEffect(()=>{r&&!v&&b(r)},[r,v,b]),f.jsxs(f.Fragment,{children:[f.jsx(S.ListItem,{...I,disablePadding:!0,children:f.jsxs(S.ListItemButton,{selected:r?!d:null,onClick:x,sx:{pl:m*h},children:[w?f.jsx(S.ListItemIcon,{children:s}):null,f.jsx(S.ListItemText,{inset:!w,primary:g===0?t(o):f.jsx(S.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c?f.jsx(S.ListItemAvatar,{children:f.jsx(Lc,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}):null,d?v?f.jsx(Fn.ExpandLess,{}):f.jsx(Fn.ExpandMore,{}):null]})}),d?f.jsx(S.Collapse,{in:v,timeout:"auto",children:f.jsx(S.List,{children:$.map(u,(F,E)=>f.jsx(sg,{...F},E))})}):null]})}function _S(e){const{id:t}=e,n=LS(t),r=Fu(t),o=KG(),s=IS(),a=PS(),c=DS(t),u=!$.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),$.isFunction(e.onClick)&&e.onClick(g)},[a,o,e,s,u]);return T.useMemo(()=>({...e,selected:n,onClick:d,items:c,isGroup:u,level:r}),[e,n,d,c,u,r])}var XG=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},BS=e=>e.firstChild?e.firstChild.offsetParent===e:!0,ZG=(e,t)=>{let n=e,r=0;BS(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},QG=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},$a=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?$a="sticky":CSS.supports("position","-webkit-sticky")&&($a="-webkit-sticky"));var Lu=!1;try{const e=Object.defineProperty({},"passive",{get(){Lu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var ag=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,Lu),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}},JG=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}},qG=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=XG(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const D=g();D!==E&&k(D),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=D=>{const{offsetTop:Y,height:Z}=v,{naturalTop:ee}=w,{height:G}=I;return D+Y+Z>=ee+G+F+o},g=()=>{const{height:D}=v,{height:Y}=I;return Y+s+o<=D?3:h(d)?1:2},m=a!==window&&BS(a),v=ag({el:a,onChange:u,unsubs:t,measure:({height:D,top:Y})=>({height:D,offsetTop:m?Y:0})}),b=QG(e),x=b===window?{top:0,bottom:0}:JG(b),w=ag({el:b,onChange:u,unsubs:t,measure:({height:D})=>({height:D-x.top-x.bottom,naturalTop:b===window?0:ZG(b,a)+x.top+v.offsetTop})}),I=ag({el:e,onChange:u,unsubs:t,measure:({height:D})=>({height:D})});let F=0,E=g();const k=D=>{const Y=E;if(E=D,Y===2&&(F=-1),D===3){e.style.position=$a,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:Z,offsetTop:ee}=v,{height:G,naturalTop:le}=w,{height:ae}=I;if(D===2)if(e.style.position="relative",F=Y===0?Math.max(0,ee+d-le+s):Math.max(0,ee+d+Z-(le+ae+o)),r){const q=Math.max(0,G-ae-F);e.style.bottom=`${q}px`}else e.style.top=`${F}px`;else e.style.position=$a,D===1?r?e.style.bottom=`${o}px`:e.style.top=`${Z-ae-o}px`:r?e.style.bottom=`${Z-ae-o}px`:e.style.top=`${s}px`};k(E);const P=D=>{if(D===d)return;const Y=D-d;if(d=D,E===3)return;const{offsetTop:Z,height:ee}=v,{naturalTop:G,height:le}=w,{height:ae}=I;if(Y>0)if(E===0){if(D+Z+s>G){const q=Math.max(0,Z+d-G+s);D+Z+ee<=G+ae+q+o?k(2):k(1)}}else E===2&&h(D)&&k(1);else if(E===1){if(Z+D+ee<G+le+o){const q=Math.max(0,Z+d+ee-(G+ae+o));Z+D+s>=G+q?k(2):k(0)}}else E===2&&Z+D+s<G+F&&k(0)},L=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",L,Lu),a.addEventListener("mousewheel",L,Lu),t.push(()=>a.removeEventListener("scroll",L),()=>a.removeEventListener("mousewheel",L))},$G=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=T.useState(null);return T.useEffect(()=>{if(!r||!$a)return;const s=[];return qG(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},eY=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=$G({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},tY=eY,NS=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(NS||{});function VS(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=$.omit(e,["sticky","disposition","spacing"]),s=t?tY:S.Box,a=T.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(S.Grid,{...o,item:!0,...n,children:f.jsx(s,{...a,children:f.jsx(S.Stack,{spacing:r,children:e.children})})})}function WS(e){return f.jsx(f.Fragment,{children:e.children})}function zS(e){const{children:t}=e;return T.useMemo(()=>{const r={top:[],bottom:[]};return T.Children.forEach(t,o=>{if(T.isValidElement(o)&&(o==null?void 0:o.type)===WS){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function US(e=[],t){const n=$.isArray(e)?e:[e],r=$.filter(n,o=>T.isValidElement(o));$.each(r,o=>{var s;t(o),US(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}function HS(e){const{errors:t}=Qn.useFormState(),n=OS(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=og(e),d=jS(),h=MS(),g=LS(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):US(c,b=>{var x;((x=b==null?void 0:b.props)==null?void 0:x.source)!==void 0&&m.push(b.props.source)}));const v=$.chain(m).uniq().map(b=>$.get(t,b)).reject(b=>b===void 0).value().length;return T.useEffect(()=>{d({id:u,index:a,label:r,icon:o,badge:s,errors:v})},[d,h,r,o,u,s,a,v]),T.useEffect(()=>()=>{h(u)},[u,h]),f.jsx(S.Box,{display:g?"unset":"none",children:e.children})}function GS(e){const t=lg(e),n=og(e);return f.jsx(HS,{...e,id:n,children:T.Children.map(t,r=>{const o=og(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function YS(e){return f.jsx(HS,{...e})}function lg(e){const{children:t}=e;return T.useMemo(()=>$.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===YS||(r==null?void 0:r.type)===GS)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function nY(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=$.pick(e,["syncWithLocation","errorCount"]),s=$.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=zS(e),u=lg(e);return f.jsx(wS,{...o,children:f.jsxs(kS,{...s,spacing:r,children:[f.jsxs(VS,{disposition:t,spacing:r,children:[a,f.jsx(RS,{}),c]}),f.jsx(FS,{disposition:n,children:u})]})})}const Ft=nY;Ft.BaseForm=kS,Ft.Content=FS,Ft.Provider=wS,Ft.useItems=ES,Ft.useSyncWithLocation=IS,Ft.useErrorCount=OS,Ft.useFormRootPath=AS,Ft.useActiveItem=TS,Ft.useSetActiveItem=PS,Ft.useAddItem=jS,Ft.useRemoveItem=MS,Ft.Sidebar=VS,Ft.SidebarSection=WS,Ft.SidebarSectionPosition=NS,Ft.useSidebarChildren=zS,Ft.NavMenu=RS,Ft.NavMenuItem=sg,Ft.useNavMenuItem=_S,Ft.Tab=YS,Ft.Group=GS,Ft.useBaseItemChildren=lg;const rY=pe(_.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 oY(e){return f.jsx(rY,{...e})}const iY=pe(_.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 sY(e){return f.jsx(iY,{...e})}const aY=Ma(_.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function lY({children:e}){return f.jsx(f.Fragment,{children:e})}function cg(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=f.jsx(Fo,{children:f.jsx(_.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=f.jsx(wi,{children:f.jsx(_.SaveButton,{type:"button"})}),...d}=e,h=qh(t),g=S.useTheme();return f.jsx(sr,{title:h,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":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(aY,{toolbar:u,component:c?lY:void 0,...d})})}function cY({children:e,...t}){return f.jsx(_.TabbedForm.Tab,{...t,children:f.jsx(S.Box,{sx:{width:"100%",p:2.5},children:e})})}cg.Tab=_.TabbedForm.Tab,cg.TabStack=cY;function ug(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=S.useTheme(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(S.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(S.Typography,{children:t}),!n&&(T.isValidElement(e==null?void 0:e.customButton)?T.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(S.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:f.jsx(Ke.PlusCircleOutlined,{style:{color:c}})}))]})}function KS(e){const{label:t,disableAdd:n,inset:r,source:o,template:s}=e,[a,c]=T.useState(!1),{append:u}=_.useArrayInput(),d=T.useCallback(()=>{c(g=>!g)},[c]),h=T.useCallback(g=>(c(!1),u(g),Promise.resolve()),[c,u]);return f.jsxs(f.Fragment,{children:[T.cloneElement(f.jsx(ug,{}),{label:t,source:o,disableAdd:n,template:s,onClick:d,inset:r}),f.jsx(S.Dialog,{open:a,onClose:d,maxWidth:"xs",children:f.jsx(re.CreateContextProvider,{value:{save:h},children:e.children})})]})}const dg=T.createContext(void 0);function XS(){return T.useContext(dg)}function Du(e){const{children:t}=e,{item:n,index:r}=XS(),[o,s]=T.useState(!1),{update:a}=_.useArrayInput(),c=_.useTranslate(),u=T.useCallback(d=>(s(!1),a(r,d),Promise.resolve()),[r,a]);return f.jsxs(f.Fragment,{children:[f.jsx(S.Button,{color:"primary",onClick:()=>s(!0),sx:{justifyContent:"flex-start"},children:c("ra.action.edit")}),f.jsx(S.Dialog,{open:o,onClose:()=>s(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(_.EditContextProvider,{value:{record:n,save:u},children:t})})]})}function ZS({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=Qn.useFormContext(),o=_.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}const fg=T.createContext(void 0);function QS(){return T.useContext(fg)}const JS=B.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:s,member:a,resource:c,record:u}=e,d=_.useTranslate(),[h,g]=B.useState(!1),{total:m,remove:v}=QS(),b=B.useCallback(()=>{g(!1),v(s)},[s,v]),x=T.useMemo(()=>({index:s,total:m,item:u,remove:()=>v(s)}),[s,m,v,u]),w=T.useMemo(()=>T.Children.map(n,I=>T.isValidElement(I)&&(I==null?void 0:I.type)===Du&&B.isValidElement(I)?I:null),[n]);return f.jsxs(dg.Provider,{value:x,children:[T.Children.map(n,(I,F)=>{if(I.type===Du||!T.isValidElement(I))return null;const{source:E,...k}=I.props;return f.jsx(S.TableCell,{children:T.cloneElement(I,{source:E?`${a}.${E}`:a,index:E?void 0:F,resource:c,disabled:r,...k,label:""})})}),!o&&f.jsx(S.TableCell,{children:f.jsx(S.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(Fo,{horizontal:!0,children:[f.jsx(S.Button,{onClick:()=>g(!0),color:"error",sx:{justifyContent:"flex-start"},children:d("ra.action.delete")}),w]})})}),o&&w?f.jsx(S.TableCell,{children:f.jsx(S.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(Fo,{horizontal:!0,children:w})})}):null,n.length>0&&f.jsx(_.Confirm,{isOpen:h,title:d("ra.action.remove_item"),content:d("ra.message.remove_item"),onConfirm:b,onClose:()=>g(!1)})]})});function uY(e){var J,z;const{children:t,resource:n,source:r,label:o,disableAdd:s=!1,disableRemove:a=!1,enableClearAll:c=!1,className:u,empty:d,template:h={},addButton:g=f.jsx(ug,{}),inset:m}=e,[v,b]=T.useState(!1),{fields:x,remove:w,replace:I,append:F}=_.useArrayInput(e),{resetField:E}=Qn.useFormContext(),k=Kt(),P=re.useTranslate(),L=T.useRef(h||{}),D=re.useTranslateLabel(),Y=T.useCallback(Q=>{w(Q)},[w]);if(x.length>0){const{...Q}=x[0];L.current=Q;for(const N in L.current)L.current[N]=null}const Z=T.useCallback((Q=void 0)=>{let N=Q;Q==null&&(N=L.current,T.Children.count(t)===1&&B.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,W=>B.isValidElement(W)&&W.type!==re.FormDataConsumer).some(Boolean)?N="":(N=N||{},T.Children.forEach(t,W=>{B.isValidElement(W)&&W.type!==re.FormDataConsumer&&W.props.source&&(N[W.props.source]=W.props.defaultValue??null)})));const ne={...N,...h};F(ne),E(`${r}.${x.length}`,{defaultValue:N})},[F,t,E,r,x.length,h]);function ee(Q){return N=>{Z(),Q&&Q(N)}}const G=T.useCallback(()=>{I([]),b(!1)},[I]),le=T.useMemo(()=>({total:x.length,remove:Y,source:r}),[x.length,Y,r]),ae=k.palette.mode==="dark"?k.palette.grey.A400:k.palette.grey.A800,q=x.length>0&&c;return x?f.jsx(fg.Provider,{value:le,children:f.jsxs("div",{className:u,children:[B.cloneElement(g,{label:o,source:r,disableAdd:s,template:h,onClick:(g==null?void 0:g.type)!==KS?ee((z=(J=e==null?void 0:e.addButton)==null?void 0:J.props)==null?void 0:z.onClick):void 0,inset:m}),f.jsx(S.TableContainer,{component:S.Paper,sx:m===!0?{borderRadius:0}:{mt:2,border:`1px solid ${ae}`},children:f.jsxs(S.Table,{size:"small",children:[f.jsx(S.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${ae}`},children:f.jsxs(S.TableRow,{children:[T.Children.map(t,(Q,N)=>{if(Q.type===Du||!B.isValidElement(Q))return null;const ne=f.jsx(S.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:D({...Q.props,resource:n})});return f.jsx(S.TableCell,{children:Q.props.title?f.jsx(Qc,{title:Q.props.title,arrow:!0,children:ne}):ne},N)}),!a&&q?f.jsx(S.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(Fo,{horizontal:!0,children:f.jsx(S.Typography,{color:"error",onClick:()=>b(!0),children:P("ra.action.delete")})})},"actions"):f.jsx(S.TableCell,{},"empty_actions")]})}),f.jsxs(S.TableBody,{children:[x.length===0&&f.jsx(S.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(S.TableCell,{colSpan:4+(a?0:1),align:"center",children:d||f.jsx(S.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),x.length>0&&x.map((Q,N)=>f.jsx(S.TableRow,{sx:{borderBottom:`1px solid ${ae}}`},children:f.jsx(JS,{disableRemove:a,index:N,member:`${r}.${N}`,onRemoveField:Y,record:x&&x[N]||{},resource:n,source:r,children:t})},Q.id))]})]})}),x.length>0&&f.jsx(_.Confirm,{isOpen:v,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:G,onClose:()=>b(!1)})]})}):null}const Ru=pe(uY,{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}}}));Ru.CreateButton=KS,Ru.EditButton=Du,Ru.Field=ZS;function dY(e,t){const n=$.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=$.chain(n.media).clone().extend(o).value();return $.extend(n,{media:s})}case"updateDrawer":{const s=$.chain(n.drawer).clone().extend(o).value();return $.extend(n,{drawer:s})}case"updateLogo":{const s=$.chain(n.logo).clone().extend(o).value();return $.extend(n,{logo:s})}case"updateNotifications":{const s=$.chain(n.notifications).clone().extend(o).value();return $.extend(n,{notifications:s})}case"updateTheme":{const s=$.chain(n.theme).clone().extend(o).value();return $.extend(n,{theme:s})}default:return n}}const fY={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"}},qS=T.createContext(void 0);function $S(e){var Z;const t=re.useAuthProvider(),n=re.useGetIdentity(),r=S.useTheme(),o=S.useMediaQuery(r.breakpoints.down("md")),s=S.useMediaQuery(r.breakpoints.down("lg")),a=S.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,themeDirection:d,drawerWidth:h}=tg(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Au(),b=T.useCallback(()=>{v(!m)},[m,v]),[x,w]=T.useState(!1),[I,F]=T.useReducer(dY,$.chain(fY).clone().merge({drawer:{open:!c||m}}).value()),E=T.useCallback(()=>w(!1),[]),k=T.useMemo(()=>({state:I,dispatch:F}),[I,F]),{logoIcon:P,logoMain:L,enableNotification:D,notification:Y}=e;return T.useEffect(()=>{F({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:g}})},[o,s,a,g]),T.useEffect(()=>{F({type:"updateDrawer",payload:{open:m,width:h,handleDrawerToggle:b}})},[m,h,b]),T.useEffect(()=>{c||v(!a)},[a,c]),T.useEffect(()=>{F({type:"updateLogo",payload:{main:L,icon:P}})},[P,L]),T.useEffect(()=>{F({type:"updateNotifications",payload:{enable:D,resource:Y??"entities/notification"}})},[D,Y]),T.useEffect(()=>{F({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),T.useEffect(()=>{if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(ee=>{var G;w(!ee&&((G=n==null?void 0:n.data)==null?void 0:G.needToChangePassword)===!0)})},[(Z=n==null?void 0:n.data)==null?void 0:Z.needToChangePassword,t]),f.jsxs(qS.Provider,{value:k,children:[f.jsx(S.Dialog,{open:x,maxWidth:"xs",fullWidth:!0,children:f.jsx(rg,{onSuccess:E,firstAccess:!0})}),e.children]})}function eA(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx($S,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function pg(){const e=T.useContext(qS);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function pY(){return pg().dispatch}function Ps(){return pg().state}function Nn(){return Ps().media}function Si(){return Ps().drawer}function tA(){return Ps().logo}function _u(){return Ps().notifications}function hY(){return Ps().theme}function nA(e){const{width:t}=Si(),{horizontal:n}=Nn(),{container:r}=Tn(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Kt();return f.jsx(fW,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(Dh,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx(ZC,{}),children:f.jsxs(S.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(S.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(S.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 rA=pe(S.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)}));function oA({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=Tn();return f.jsx(S.ButtonBase,{disableRipple:!0,component:ut.Link,to:n||s,sx:t,children:e?r:o})}function iA(e){const t=S.useTheme(),{horizontal:n}=Nn(),{open:r}=Si(),{icon:o,main:s}=tA(),a=Sr(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 f.jsx(rA,{theme:t,open:r,sx:a,children:f.jsx(oA,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function sA(e,t){return{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"}}function aA(e){return{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}}const gY=pe(S.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Tn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...sA(e,n),"& .MuiDrawer-paper":sA(e,n)},...!t&&{...aA(e),"& .MuiDrawer-paper":aA(e)}}});var Ae={},hg={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",s="",a="?",c="function",u="undefined",d="object",h="string",g="major",m="model",v="name",b="type",x="vendor",w="version",I="architecture",F="console",E="mobile",k="tablet",P="smarttv",L="wearable",D="embedded",Y=500,Z="Amazon",ee="Apple",G="ASUS",le="BlackBerry",ae="Browser",q="Chrome",J="Edge",z="Firefox",Q="Google",N="Huawei",ne="LG",W="Microsoft",K="Motorola",de="Opera",he="Samsung",fe="Sharp",ge="Sony",ve="Xiaomi",Te="Zebra",Ce="Facebook",be="Chromium OS",we="Mac OS",Ie=" Browser",ue=function(Le,Re){var Oe={};for(var xe in Le)Re[xe]&&Re[xe].length%2===0?Oe[xe]=Re[xe].concat(Le[xe]):Oe[xe]=Le[xe];return Oe},qe=function(Le){for(var Re={},Oe=0;Oe<Le.length;Oe++)Re[Le[Oe].toUpperCase()]=Le[Oe];return Re},me=function(Le,Re){return typeof Le===h?Qe(Re).indexOf(Qe(Le))!==-1:!1},Qe=function(Le){return Le.toLowerCase()},an=function(Le){return typeof Le===h?Le.replace(/[^\d\.]/g,s).split(".")[0]:r},Et=function(Le,Re){if(typeof Le===h)return Le=Le.replace(/^\s\s*/,s),typeof Re===u?Le:Le.substring(0,Y)},yt=function(Le,Re){for(var Oe=0,xe,ht,Ut,Be,Pe,qt;Oe<Re.length&&!Pe;){var pr=Re[Oe],Ir=Re[Oe+1];for(xe=ht=0;xe<pr.length&&!Pe&&pr[xe];)if(Pe=pr[xe++].exec(Le),Pe)for(Ut=0;Ut<Ir.length;Ut++)qt=Pe[++ht],Be=Ir[Ut],typeof Be===d&&Be.length>0?Be.length===2?typeof Be[1]==c?this[Be[0]]=Be[1].call(this,qt):this[Be[0]]=Be[1]:Be.length===3?typeof Be[1]===c&&!(Be[1].exec&&Be[1].test)?this[Be[0]]=qt?Be[1].call(this,qt,Be[2]):r:this[Be[0]]=qt?qt.replace(Be[1],Be[2]):r:Be.length===4&&(this[Be[0]]=qt?Be[3].call(this,qt.replace(Be[1],Be[2])):r):this[Be]=qt||r;Oe+=2}},Un=function(Le,Re){for(var Oe in Re)if(typeof Re[Oe]===d&&Re[Oe].length>0){for(var xe=0;xe<Re[Oe].length;xe++)if(me(Re[Oe][xe],Le))return Oe===a?r:Oe}else if(me(Re[Oe],Le))return Oe===a?r:Oe;return Re.hasOwnProperty("*")?Re["*"]:Le},It={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},bt={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"},Xt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,w],[/opios[\/ ]+([\w\.]+)/i],[w,[v,de+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,de+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,de]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[v,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[v,"UC"+ae]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[v,"Smart Lenovo "+ae]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+ae],w],[/\bfocus\/([\w\.]+)/i],[w,[v,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,de+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,de+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+ae]],[/fxios\/([-\w\.]+)/i],[w,[v,z]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360"+Ie]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Ie],w],[/samsungbrowser\/([\w\.]+)/i],[w,[v,he+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[v,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Ce],w],[/(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,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[v,q+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,q+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+ae]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[w,Un,It]],[/(webkit|khtml)\/([\w\.]+)/i],[v,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],w],[/(wolvic)\/([\w\.]+)/i],[v,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[v,z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\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|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[v,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[I,"amd64"]],[/(ia32(?=;))/i],[[I,Qe]],[/((?:i[346]|x)86)[;\)]/i],[[I,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/windows (ce|mobile); ppc;/i],[[I,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[I,/ower/,s,Qe]],[/(sun4\w)[;\)]/i],[[I,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[I,Qe]]],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],[m,[x,he],[b,k]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[x,he],[b,E]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[x,ee],[b,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[x,ee],[b,k]],[/(macintosh);/i],[m,[x,ee]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[x,fe],[b,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[x,N],[b,k]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[x,N],[b,E]],[/\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|pro)?)(?: bui|\))/i],[[m,/_/g," "],[x,ve],[b,E]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[x,ve],[b,k]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[x,"OPPO"],[b,E]],[/\b(opd2\d{3}a?) bui/i],[m,[x,"OPPO"],[b,k]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[x,"Vivo"],[b,E]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[x,"Realme"],[b,E]],[/\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],[m,[x,K],[b,E]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[x,K],[b,k]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[x,ne],[b,k]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[x,ne],[b,E]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[x,"Lenovo"],[b,k]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[x,"Nokia"],[b,E]],[/(pixel c)\b/i],[m,[x,Q],[b,k]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[x,Q],[b,E]],[/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],[m,[x,ge],[b,E]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[x,ge],[b,k]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[x,"OnePlus"],[b,E]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[x,Z],[b,k]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[x,Z],[b,E]],[/(playbook);[-\w\),; ]+(rim)/i],[m,x,[b,k]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[x,le],[b,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[x,G],[b,k]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[x,G],[b,E]],[/(nexus 9)/i],[m,[x,"HTC"],[b,k]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[x,[m,/_/g," "],[b,E]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[x,"TCL"],[b,k]],[/(itel) ((\w+))/i],[[x,Qe],m,[b,Un,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[x,"Acer"],[b,k]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[x,"Meizu"],[b,E]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[x,"Ulefone"],[b,E]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[x,"Nothing"],[b,E]],[/(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],[x,m,[b,E]],[/(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],[x,m,[b,k]],[/(surface duo)/i],[m,[x,W],[b,k]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[x,"Fairphone"],[b,E]],[/(u304aa)/i],[m,[x,"AT&T"],[b,E]],[/\bsie-(\w*)/i],[m,[x,"Siemens"],[b,E]],[/\b(rct\w+) b/i],[m,[x,"RCA"],[b,k]],[/\b(venue[\d ]{2,7}) b/i],[m,[x,"Dell"],[b,k]],[/\b(q(?:mv|ta)\w+) b/i],[m,[x,"Verizon"],[b,k]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[x,"Barnes & Noble"],[b,k]],[/\b(tm\d{3}\w+) b/i],[m,[x,"NuVision"],[b,k]],[/\b(k88) b/i],[m,[x,"ZTE"],[b,k]],[/\b(nx\d{3}j) b/i],[m,[x,"ZTE"],[b,E]],[/\b(gen\d{3}) b.+49h/i],[m,[x,"Swiss"],[b,E]],[/\b(zur\d{3}) b/i],[m,[x,"Swiss"],[b,k]],[/\b((zeki)?tb.*\b) b/i],[m,[x,"Zeki"],[b,k]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[x,"Dragon Touch"],m,[b,k]],[/\b(ns-?\w{0,9}) b/i],[m,[x,"Insignia"],[b,k]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[x,"NextBook"],[b,k]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[x,"Voice"],m,[b,E]],[/\b(lvtel\-)?(v1[12]) b/i],[[x,"LvTel"],m,[b,E]],[/\b(ph-1) /i],[m,[x,"Essential"],[b,E]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[x,"Envizen"],[b,k]],[/\b(trio[-\w\. ]+) b/i],[m,[x,"MachSpeed"],[b,k]],[/\btu_(1491) b/i],[m,[x,"Rotor"],[b,k]],[/(shield[\w ]+) b/i],[m,[x,"Nvidia"],[b,k]],[/(sprint) (\w+)/i],[x,m,[b,E]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[x,W],[b,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[x,Te],[b,k]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[x,Te],[b,E]],[/smart-tv.+(samsung)/i],[x,[b,P]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[x,he],[b,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[x,ne],[b,P]],[/(apple) ?tv/i],[x,[m,ee+" TV"],[b,P]],[/crkey/i],[[m,q+"cast"],[x,Q],[b,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[x,Z],[b,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[x,fe],[b,P]],[/(bravia[\w ]+)( bui|\))/i],[m,[x,ge],[b,P]],[/(mitv-\w{5}) bui/i],[m,[x,ve],[b,P]],[/Hbbtv.*(technisat) (.*);/i],[x,m,[b,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[x,Et],[m,Et],[b,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[x,m,[b,F]],[/droid.+; (shield) bui/i],[m,[x,"Nvidia"],[b,F]],[/(playstation [345portablevi]+)/i],[m,[x,ge],[b,F]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[x,W],[b,F]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[x,he],[b,L]],[/((pebble))app/i],[x,m,[b,L]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[x,ee],[b,L]],[/droid.+; (glass) \d/i],[m,[x,Q],[b,L]],[/droid.+; (wt63?0{2,3})\)/i],[m,[x,Te],[b,L]],[/(quest( \d| pro)?)/i],[m,[x,Ce],[b,L]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[x,[b,D]],[/(aeobc)\b/i],[m,[x,Z],[b,D]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[b,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[b,k]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,k]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,E]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[x,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,J+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[v,"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],[v,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[w,Un,bt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Un,bt],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,we],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,w],[/\(bb(10);/i],[w,[v,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[v,z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[v,q+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,be],w],[/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],[v,w],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,w]]},xt=function(Le,Re){if(typeof Le===d&&(Re=Le,Le=r),!(this instanceof xt))return new xt(Le,Re).getResult();var Oe=typeof n!==u&&n.navigator?n.navigator:r,xe=Le||(Oe&&Oe.userAgent?Oe.userAgent:s),ht=Oe&&Oe.userAgentData?Oe.userAgentData:r,Ut=Re?ue(Xt,Re):Xt,Be=Oe&&Oe.userAgent==xe;return this.getBrowser=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.browser),Pe[g]=an(Pe[w]),Be&&Oe&&Oe.brave&&typeof Oe.brave.isBrave==c&&(Pe[v]="Brave"),Pe},this.getCPU=function(){var Pe={};return Pe[I]=r,yt.call(Pe,xe,Ut.cpu),Pe},this.getDevice=function(){var Pe={};return Pe[x]=r,Pe[m]=r,Pe[b]=r,yt.call(Pe,xe,Ut.device),Be&&!Pe[b]&&ht&&ht.mobile&&(Pe[b]=E),Be&&Pe[m]=="Macintosh"&&Oe&&typeof Oe.standalone!==u&&Oe.maxTouchPoints&&Oe.maxTouchPoints>2&&(Pe[m]="iPad",Pe[b]=k),Pe},this.getEngine=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.engine),Pe},this.getOS=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.os),Be&&!Pe[v]&&ht&&ht.platform&&ht.platform!="Unknown"&&(Pe[v]=ht.platform.replace(/chrome os/i,be).replace(/macos/i,we)),Pe},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 xe},this.setUA=function(Pe){return xe=typeof Pe===h&&Pe.length>Y?Et(Pe,Y):Pe,this},this.setUA(xe),this};xt.VERSION=o,xt.BROWSER=qe([v,w,g]),xt.CPU=qe([I]),xt.DEVICE=qe([m,x,b,F,E,P,k,L,D]),xt.ENGINE=xt.OS=qe([v,w]),e.exports&&(t=e.exports=xt),t.UAParser=xt;var zt=typeof n!==u&&(n.jQuery||n.Zepto);if(zt&&!zt.ua){var Ot=new xt;zt.ua=Ot.getResult(),zt.ua.get=function(){return Ot.getUA()},zt.ua.set=function(Le){Ot.setUA(Le);var Re=Ot.getResult();for(var Oe in Re)zt.ua[Oe]=Re[Oe]}}})(typeof window=="object"?window:yn)})(hg,hg.exports);var mY=hg.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function vY(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var rn=T,pt=vY(rn),lA=mY,_o=new lA,on=_o.getBrowser(),yY=_o.getCPU(),Vn=_o.getDevice(),gg=_o.getEngine(),Bo=_o.getOS(),el=_o.getUA(),cA=function(t){return _o.setUA(t)},tl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new lA(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)}}},uA=Object.freeze({ClientUAInstance:_o,browser:on,cpu:yY,device:Vn,engine:gg,os:Bo,ua:el,setUa:cA,parseUserAgent:tl});function dA(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 bY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dA(Object(n),!0).forEach(function(r){SY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nl(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nl=function(t){return typeof t}:nl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}function xY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CY(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 wY(e,t,n){return t&&CY(e.prototype,t),e}function SY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mg(){return mg=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},mg.apply(this,arguments)}function AY(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&&yg(e,t)}function vg(e){return vg=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vg(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yg(e,t)}function TY(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 fr(e,t){if(e==null)return{};var n=TY(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 Bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EY(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 Bu(e)}function IY(e,t){return OY(e)||PY(e,t)||jY(e,t)||MY()}function OY(e){if(Array.isArray(e))return e}function PY(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 jY(e,t){if(e){if(typeof e=="string")return fA(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 fA(e,t)}}function fA(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 MY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
216
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sn={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},En={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"},js={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},kY={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},FY=function(t){switch(t){case sn.Mobile:return{isMobile:!0};case sn.Tablet:return{isTablet:!0};case sn.SmartTv:return{isSmartTV:!0};case sn.Console:return{isConsole:!0};case sn.Wearable:return{isWearable:!0};case sn.Browser:return{isBrowser:!0};case sn.Embedded:return{isEmbedded:!0};default:return kY}},LY=function(t){return cA(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},bg=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},xg=function(t){var n=bg();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},DY=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:De(n.major),browserFullVersion:De(n.version),browserName:De(n.name),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}},pA=function(t,n,r,o){return bY({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},RY=function(t,n,r,o){return{isSmartTV:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},_Y=function(t,n,r,o){return{isConsole:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},BY=function(t,n,r,o){return{isWearable:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},NY=function(t,n,r,o,s){return{isEmbedded:t,vendor:De(n.vendor),model:De(n.model),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}};function VY(e){var t=e?tl(e):uA,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=FY(n.type),u=c.isBrowser,d=c.isMobile,h=c.isTablet,g=c.isSmartTV,m=c.isConsole,v=c.isWearable,b=c.isEmbedded;if(u)return DY(u,r,o,s,a);if(g)return RY(g,o,s,a);if(m)return _Y(m,o,s,a);if(d||h)return pA(c,n,s,a);if(v)return BY(v,o,s,a);if(b)return NY(b,n,o,s,a)}var hA=function(t){var n=t.type;return n===sn.Mobile},gA=function(t){var n=t.type;return n===sn.Tablet},mA=function(t){var n=t.type;return n===sn.Mobile||n===sn.Tablet},vA=function(t){var n=t.type;return n===sn.SmartTv},Nu=function(t){var n=t.type;return n===sn.Browser},yA=function(t){var n=t.type;return n===sn.Wearable},bA=function(t){var n=t.type;return n===sn.Console},xA=function(t){var n=t.type;return n===sn.Embedded},CA=function(t){var n=t.vendor;return De(n)},wA=function(t){var n=t.model;return De(n)},SA=function(t){var n=t.type;return De(n,"browser")},AA=function(t){var n=t.name;return n===js.Android},TA=function(t){var n=t.name;return n===js.Windows},EA=function(t){var n=t.name;return n===js.MAC_OS},IA=function(t){var n=t.name;return n===js.WindowsPhone},OA=function(t){var n=t.name;return n===js.IOS},PA=function(t){var n=t.version;return De(n)},jA=function(t){var n=t.name;return De(n)},MA=function(t){var n=t.name;return n===En.Chrome},kA=function(t){var n=t.name;return n===En.Firefox},FA=function(t){var n=t.name;return n===En.Chromium},Vu=function(t){var n=t.name;return n===En.Edge},LA=function(t){var n=t.name;return n===En.Yandex},DA=function(t){var n=t.name;return n===En.Safari||n===En.MobileSafari},RA=function(t){var n=t.name;return n===En.MobileSafari},_A=function(t){var n=t.name;return n===En.Opera},BA=function(t){var n=t.name;return n===En.InternetExplorer||n===En.Ie},NA=function(t){var n=t.name;return n===En.MIUI},VA=function(t){var n=t.name;return n===En.SamsungBrowser},WA=function(t){var n=t.version;return De(n)},zA=function(t){var n=t.major;return De(n)},UA=function(t){var n=t.name;return De(n)},HA=function(t){var n=t.name;return De(n)},GA=function(t){var n=t.version;return De(n)},YA=function(){var t=bg(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Ms=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},KA=function(){var t=bg();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},zr=function(){return xg("iPad")},XA=function(){return xg("iPhone")},ZA=function(){return xg("iPod")},QA=function(t){return De(t)};function JA(e){var t=e||uA,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:vA(n),isConsole:bA(n),isWearable:yA(n),isEmbedded:xA(n),isMobileSafari:RA(r)||zr(),isChromium:FA(r),isMobile:mA(n)||zr(),isMobileOnly:hA(n),isTablet:gA(n)||zr(),isBrowser:Nu(n),isDesktop:Nu(n),isAndroid:AA(o),isWinPhone:IA(o),isIOS:OA(o)||zr(),isChrome:MA(r),isFirefox:kA(r),isSafari:DA(r),isOpera:_A(r),isIE:BA(r),osVersion:PA(o),osName:jA(o),fullBrowserVersion:WA(r),browserVersion:zA(r),browserName:UA(r),mobileVendor:CA(n),mobileModel:wA(n),engineName:HA(s),engineVersion:GA(s),getUA:QA(a),isEdge:Vu(r)||Ms(a),isYandex:LA(r),deviceType:SA(n),isIOS13:KA(),isIPad13:zr(),isIPhone13:XA(),isIPod13:ZA(),isElectron:YA(),isEdgeChromium:Ms(a),isLegacyEdge:Vu(r)&&!Ms(a),isWindows:TA(o),isMacOs:EA(o),isMIUI:NA(r),isSamsungBrowser:VA(r)}}var qA=vA(Vn),$A=bA(Vn),eT=yA(Vn),WY=xA(Vn),zY=RA(on)||zr(),UY=FA(on),Wu=mA(Vn)||zr(),tT=hA(Vn),nT=gA(Vn)||zr(),rT=Nu(Vn),HY=Nu(Vn),oT=AA(Bo),iT=IA(Bo),sT=OA(Bo)||zr(),GY=MA(on),YY=kA(on),KY=DA(on),XY=_A(on),aT=BA(on),ZY=PA(Bo),QY=jA(Bo),JY=WA(on),qY=zA(on),$Y=UA(on),eK=CA(Vn),tK=wA(Vn),nK=HA(gg),rK=GA(gg),oK=QA(el),iK=Vu(on)||Ms(el),sK=LA(on),aK=SA(Vn),lK=KA(),cK=zr(),uK=XA(),dK=ZA(),fK=YA(),pK=Ms(el),hK=Vu(on)&&!Ms(el),gK=TA(Bo),mK=EA(Bo),vK=NA(on),yK=VA(on),bK=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=tl(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return JA({device:r,browser:o,os:s,engine:a,ua:c})},xK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return oT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},CK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return rT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},wK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return aT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},SK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return sT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},AK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return Wu?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},TK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return nT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},EK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return iT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},IK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=fr(t,["renderWithFragment","children","viewClassName","style"]);return tT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},OK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return qA?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},PK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return $A?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},jK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return eT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},MK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=fr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",s,r):null};function kK(e){return function(t){AY(n,t);function n(r){var o;return xY(this,n),o=EY(this,vg(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Bu(o)),o.onOrientationChange=o.onOrientationChange.bind(Bu(o)),o.onPageLoad=o.onPageLoad.bind(Bu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return wY(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":nl(window))!==void 0&&Wu&&(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 pt.createElement(e,mg({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(pt.Component)}function FK(){var e=rn.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=IY(e,2),n=t[0],r=t[1],o=rn.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 rn.useEffect(function(){return(typeof window>"u"?"undefined":nl(window))!==void 0&&Wu&&(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 lT(e){var t=e||window.navigator.userAgent;return tl(t)}function LK(e){var t=e||window.navigator.userAgent,n=lT(t),r=JA(n);return[r,n]}Ae.AndroidView=xK,Ae.BrowserTypes=En;var DK=Ae.BrowserView=CK;Ae.ConsoleView=PK,Ae.CustomView=MK,Ae.IEView=wK,Ae.IOSView=SK,Ae.MobileOnlyView=IK;var RK=Ae.MobileView=AK;Ae.OsTypes=js,Ae.SmartTVView=OK,Ae.TabletView=TK,Ae.WearableView=jK,Ae.WinPhoneView=EK,Ae.browserName=$Y,Ae.browserVersion=qY,Ae.deviceDetect=VY,Ae.deviceType=aK,Ae.engineName=nK,Ae.engineVersion=rK,Ae.fullBrowserVersion=JY,Ae.getSelectorsByUserAgent=bK,Ae.getUA=oK,Ae.isAndroid=oT,Ae.isBrowser=rT,Ae.isChrome=GY,Ae.isChromium=UY,Ae.isConsole=$A,Ae.isDesktop=HY,Ae.isEdge=iK,Ae.isEdgeChromium=pK,Ae.isElectron=fK,Ae.isEmbedded=WY,Ae.isFirefox=YY,Ae.isIE=aT,Ae.isIOS=sT,Ae.isIOS13=lK,Ae.isIPad13=cK,Ae.isIPhone13=uK,Ae.isIPod13=dK,Ae.isLegacyEdge=hK,Ae.isMIUI=vK,Ae.isMacOs=mK,Ae.isMobile=Wu,Ae.isMobileOnly=tT,Ae.isMobileSafari=zY,Ae.isOpera=XY,Ae.isSafari=KY,Ae.isSamsungBrowser=yK,Ae.isSmartTV=qA,Ae.isTablet=nT,Ae.isWearable=eT,Ae.isWinPhone=iT,Ae.isWindows=gK,Ae.isYandex=sK,Ae.mobileModel=tK,Ae.mobileVendor=eK,Ae.osName=QY,Ae.osVersion=ZY,Ae.parseUserAgent=tl,Ae.setUserAgent=LY,Ae.useDeviceData=lT,Ae.useDeviceSelectors=LK,Ae.useMobileOrientation=FK,Ae.withOrientationChange=kK;var _K=typeof global=="object"&&global&&global.Object===Object&&global,BK=typeof self=="object"&&self&&self.Object===Object&&self,cT=_K||BK||Function("return this")(),zu=cT.Symbol,uT=Object.prototype,NK=uT.hasOwnProperty,VK=uT.toString,rl=zu?zu.toStringTag:void 0;function WK(e){var t=NK.call(e,rl),n=e[rl];try{e[rl]=void 0;var r=!0}catch{}var o=VK.call(e);return r&&(t?e[rl]=n:delete e[rl]),o}var zK=Object.prototype,UK=zK.toString;function HK(e){return UK.call(e)}var GK="[object Null]",YK="[object Undefined]",dT=zu?zu.toStringTag:void 0;function KK(e){return e==null?e===void 0?YK:GK:dT&&dT in Object(e)?WK(e):HK(e)}function XK(e){return e!=null&&typeof e=="object"}var ZK="[object Symbol]";function QK(e){return typeof e=="symbol"||XK(e)&&KK(e)==ZK}var JK=/\s/;function qK(e){for(var t=e.length;t--&&JK.test(e.charAt(t)););return t}var $K=/^\s+/;function eX(e){return e&&e.slice(0,qK(e)+1).replace($K,"")}function Uu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var fT=NaN,tX=/^[-+]0x[0-9a-f]+$/i,nX=/^0b[01]+$/i,rX=/^0o[0-7]+$/i,oX=parseInt;function pT(e){if(typeof e=="number")return e;if(QK(e))return fT;if(Uu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Uu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=eX(e);var n=nX.test(e);return n||rX.test(e)?oX(e.slice(2),n?2:8):tX.test(e)?fT:+e}var Cg=function(){return cT.Date.now()},iX="Expected a function",sX=Math.max,aX=Math.min;function Hu(e,t,n){var r,o,s,a,c,u,d=0,h=!1,g=!1,m=!0;if(typeof e!="function")throw new TypeError(iX);t=pT(t)||0,Uu(n)&&(h=!!n.leading,g="maxWait"in n,s=g?sX(pT(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(L){var D=r,Y=o;return r=o=void 0,d=L,a=e.apply(Y,D),a}function b(L){return d=L,c=setTimeout(I,t),h?v(L):a}function x(L){var D=L-u,Y=L-d,Z=t-D;return g?aX(Z,s-Y):Z}function w(L){var D=L-u,Y=L-d;return u===void 0||D>=t||D<0||g&&Y>=s}function I(){var L=Cg();if(w(L))return F(L);c=setTimeout(I,x(L))}function F(L){return c=void 0,m&&r?v(L):(r=o=void 0,a)}function E(){c!==void 0&&clearTimeout(c),d=0,r=u=o=c=void 0}function k(){return c===void 0?a:F(Cg())}function P(){var L=Cg(),D=w(L);if(r=arguments,o=this,u=L,D){if(c===void 0)return b(u);if(g)return clearTimeout(c),c=setTimeout(I,t),v(u)}return c===void 0&&(c=setTimeout(I,t)),a}return P.cancel=E,P.flush=k,P}var lX="Expected a function";function cX(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(lX);return Uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Hu(e,t,{leading:r,maxWait:t,trailing:o})}var ks=function(){return ks=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},ks.apply(this,arguments)};function hT(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function gT(e){return!e||!e.ownerDocument?document:e.ownerDocument}var mT=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 vT(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function yT(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function bT(e){return".".concat(e.split(" ").join("."))}var wg=!!(typeof window<"u"&&window.document&&window.document.createElement),uX=Object.freeze({__proto__:null,addClasses:vT,canUseDOM:wg,classNamesToQuery:bT,getElementDocument:gT,getElementWindow:hT,getOptions:mT,removeClasses:yT}),Fs=null,xT=null;wg&&window.addEventListener("resize",function(){xT!==window.devicePixelRatio&&(xT=window.devicePixelRatio,Fs=null)});function CT(){if(Fs===null){if(typeof document>"u")return Fs=0,Fs;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),Fs=n}return Fs}var No=hT,Sg=gT,dX=mT,Vo=vT,Wo=yT,In=bT,Gu=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=No(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,Vo(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(){Wo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Vo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){Wo(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,d,h,g,m,v,b,x;if(!(!r.draggedAxis||!r.contentWrapperEl)){var w,I=r.axis[r.draggedAxis].track,F=(a=(s=I.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,E=r.axis[r.draggedAxis].scrollbar,k=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((h=(d=r.elStyles)===null||d===void 0?void 0:d[r.axis[r.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?w=o.pageY:w=o.pageX;var L=w-((m=(g=I.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-r.axis[r.draggedAxis].dragOffset;L=r.draggedAxis==="x"&&r.isRtl?((b=(v=I.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&b!==void 0?b:0)-E.size-L:L;var D=L/(F-E.size),Y=D*(k-P);r.draggedAxis==="x"&&r.isRtl&&(Y=!((x=e.getRtlHelpers())===null||x===void 0)&&x.isScrollingToNegative?-Y:Y),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=Y}},this.onEndDrag=function(o){r.isDragging=!1;var s=Sg(r.el),a=No(r.el);o.preventDefault(),o.stopPropagation(),Wo(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=ks(ks({},e.defaultOptions),n),this.classNames=ks(ks({},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=cX(this._onMouseMove,64),this.onWindowResize=Hu(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Hu(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Hu(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:CT()}catch{return CT()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Sg(t),o=No(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){wg&&(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(In(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(In(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(In(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(In(this.classNames.offset)),this.maskEl=this.el.querySelector(In(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,In(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(In(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(In(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(In(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(In(this.classNames.scrollbar)))||null,this.options.autoHide||(Vo(this.axis.x.scrollbar.el,this.classNames.visible),Vo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=No(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=No(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,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||d,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&d>n,this.axis.y.isOverflowing=u>h,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 g=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>h-g,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),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];d=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-d:d,t==="x"&&this.isRtl&&(d=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?d:-d);var h=d/(a-u),g=~~((c-s.size)*h);g=t==="x"&&this.isRtl?-g+(c-s.size):g,s.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"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&&(Vo(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&&(Wo(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),Vo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Vo(n.scrollbar.el,this.classNames.hover):Wo(n.scrollbar.el,this.classNames.hover)):(Wo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Wo(this.axis[t].track.el,this.classNames.hover),Wo(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=Sg(this.el),s=No(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,Vo(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 d=No(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(s=(o=h.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,m=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],b=n==="y"?this.mouseY-g:this.mouseX-g,x=b<0?-1:1,w=x===-1?v-m:v+m,I=40,F=function(){r.contentWrapperEl&&(x===-1?v>w&&(v-=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(F)):v<w&&(v+=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(F)))};F()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=No(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",tabIndex:0,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=dX,e.helpers=uX,e}(),Wn=function(){return Wn=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},Wn.apply(this,arguments)};function fX(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 wT=B.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=fX(e,["children","scrollableNodeProps"]),a=B.useRef(),c=B.useRef(),u=B.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Gu.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Wn(Wn({},Gu.defaultOptions.classNames),d.classNames),m=Wn(Wn({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Gu.defaultOptions.ariaLabel});return B.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Gu(a.current,Wn(Wn(Wn({},d),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),B.createElement("div",Wn({"data-simplebar":"init",ref:a},h),B.createElement("div",{className:g.wrapper},B.createElement("div",{className:g.heightAutoObserverWrapperEl},B.createElement("div",{className:g.heightAutoObserverEl})),B.createElement("div",{className:g.mask},B.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Wn(Wn({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):B.createElement("div",Wn({},m),B.createElement("div",{className:g.contentEl},n)))),B.createElement("div",{className:g.placeholder})),B.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},B.createElement("div",{className:g.scrollbar})),B.createElement("div",{className:"".concat(g.track," simplebar-vertical")},B.createElement("div",{className:g.scrollbar})))});wT.displayName="SimpleBar";const pX=pe(DK)({flexGrow:1,height:"100%",overflow:"hidden"}),hX=pe(wT)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:tt(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 ST({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(pX,{children:f.jsx(hX,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(RK,{children:f.jsx(S.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function AT(e){const t=S.useTheme(),n=Sr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Nn(),{open:o,handleDrawerToggle:s,width:a}=Si(),c=r?S.Drawer:gY,u=document.body,d=T.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,t.palette.divider]);return f.jsx(S.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:f.jsxs(c,{...d,open:o,children:[f.jsx(iA,{}),f.jsx(ST,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Ag(e){const{name:t,version:n,copy:r="© Applica Software Guru for"}=e;return f.jsx(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-end",flexGrow:1,height:"auto",sx:{pt:1},children:f.jsxs(S.Typography,{variant:"caption",children:[f.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}const TT=pe(S.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Tn();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})}}}),ET=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary"},{defaults:!0});return f.jsx(S.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),gX=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary"},{defaults:!0});return f.jsx(Nc,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Ls=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return f.jsx(S.ToggleButton,{ref:n,...t,color:"secondary",sx:r})});function IT({onClick:e=void 0}){const{open:t,anchorEl:n,handleClose:r,handleToggle:o}=Ja(),[s,a]=re.useLocaleState(),c=re.useLocales();if(c.length===0)return null;function u(d){if(e){e(d,r);return}a(d),r()}return f.jsxs(f.Fragment,{children:[f.jsx(ET,{value:"locale",onClick:o,sx:{minWidth:"auto"},children:f.jsxs(S.Stack,{direction:"row",spacing:.5,children:[f.jsx(S.Typography,{variant:"body1",children:s.toUpperCase()}),t?f.jsx(Ke.CaretUpOutlined,{}):f.jsx(Ke.CaretDownOutlined,{})]})}),f.jsx(S.Menu,{id:"menu-appbar",anchorEl:n,keepMounted:!0,open:t,onClose:r,children:c.map((d,h)=>f.jsx(S.MenuItem,{onClick:()=>u(d.locale),children:d.name},h))})]})}const mX={ml:{xs:0,lg:-2}};function OT(){const{open:e,handleDrawerToggle:t}=Si();return f.jsx(Ls,{value:"drawer","aria-label":"open drawer",sx:mX,onChange:t,selected:e,children:e?f.jsx(Ke.MenuFoldOutlined,{}):f.jsx(Ke.MenuUnfoldOutlined,{})})}function PT(e){const t=T.useRef(),n=S.useTheme(),{downLg:r,horizontal:o}=Nn(),{open:s,width:a}=Si(),c=r?S.AppBar:TT,d={position:"fixed",color:"inherit",elevation:0,sx:Sr(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}})};return r||$.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(S.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(OT,{}),e.children]})})}function vX(e){const t=S.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=_u(),c=re.useNotify(),u=re.useRedirect(),[d]=re.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Ar().toISOString()}},{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")}}),h=T.useCallback(()=>d(),[d]),[g]=re.useLocaleState(),m=T.useMemo(()=>Ar(n.created).locale(g).fromNow(),[n,g]);return f.jsx(S.ListItem,{disablePadding:!0,divider:s,children:f.jsxs(S.ListItemButton,{selected:o,onClick:h,children:[f.jsx(S.ListItemAvatar,{children:f.jsx(S.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(Ke.MessageOutlined,{})})}),f.jsx(S.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),f.jsx(S.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),f.jsx(S.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:m,primaryTypographyProps:{variant:"caption"}})]})})}const yX={width:36,height:36,fontSize:"1rem"},bX={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function jT(){const{enable:e}=_u();return e?f.jsx(xX,{}):null}function xX(){const e=re.useTranslate(),t=S.useTheme(),n=re.useRefresh(),r=re.useNotify(),{downMd:o}=Nn(),{resource:s}=_u(),[a,c]=T.useState([]),{data:u,isLoading:d}=re.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),h=a.filter(F=>F.readed===null).length,{open:g,anchorEl:m,handleClose:v,handleToggle:b}=Ja();T.useEffect(()=>{!d&&u&&c(u??[])},[u,d]);const x=a.filter(F=>!F.readed).map(F=>F.id),[w]=re.useUpdateMany(s,{ids:x,data:{readed:Ar().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),I=T.useCallback(()=>{w()},[w]);return f.jsxs(f.Fragment,{children:[f.jsx(Ls,{value:"notifications",selected:g,onChange:b,children:f.jsx(S.Badge,{badgeContent:h,color:"primary",children:f.jsx(Ke.BellOutlined,{})})}),f.jsx(S.Popper,{placement:o?"bottom":"bottom-end",open:g,anchorEl:m,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:F})=>f.jsx(hi,{type:"grow",position:o?"top":"top-right",in:g,...F,children:f.jsx(S.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(S.ClickAwayListener,{onClickAway:v,children:f.jsxs(sr,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:f.jsx(f.Fragment,{children:h>0&&f.jsx(S.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:I,children:f.jsx(Nc,{color:"success",size:"small",children:f.jsx(Ke.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[f.jsx(S.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":yX,"& .MuiListItemSecondaryAction-root":{...bX,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((E,k)=>f.jsx(vX,{selected:h>0,notification:E,onClick:v,divider:k<a.length-1},E.id))}),f.jsx(S.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:ut.Link,onClick:v,children:f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),f.jsx(S.Divider,{})]})})})})})]})}function CX(){const[e,t]=T.useState(!1),n=T.useCallback(()=>t(!1),[t]),r=T.useCallback(()=>t(!0),[t]),o=re.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsxs(S.ListItemButton,{onClick:r,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Fn.Key,{})}),f.jsx(S.ListItemText,{primary:o("ra.auth.change_password")})]}),f.jsx(S.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(rg,{onSuccess:n})})]})}function wX(){const e=re.useLogout(),t=re.useTranslate();return f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{onClick:e,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Fn.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:t("ra.auth.logout")})]})})}function SX(){const e=re.useTranslate(),t=re.useAuthProvider(),n=T.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t]),[r,o]=T.useState(!1);return T.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?f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{onClick:n,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Fn.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function MT(){var m;const e=S.useTheme(),t=re.useDataProvider(),{identity:n}=re.useGetIdentity(),r=n!==void 0&&n.image&&n.image!==null&&n.image!=="",[o,s]=T.useState(null),{open:a,anchorEl:c,handleToggle:u,handleClose:d}=Ja(),h=re.useLogout(),g=T.useCallback(()=>{h()},[h]);return T.useEffect(()=>{r&&t.getFile("/profile/me/image").then(v=>s(v))},[t,r]),f.jsxs(f.Fragment,{children:[f.jsx(Ls,{sx:{p:.25,width:"auto"},onClick:u,value:"profile",selected:a,children:f.jsxs(S.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(Lc,{alt:(m=n==null?void 0:n.name)==null?void 0:m.toUpperCase(),src:o,size:"xs"}),f.jsx(S.Typography,{variant:"subtitle1",children:n==null?void 0:n.name})]})}),f.jsx(v1,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var b;return f.jsx(hi,{type:"grow",position:"top-right",in:a,...v,children:f.jsx(S.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(S.ClickAwayListener,{onClickAway:d,children:f.jsxs(sr,{elevation:0,border:!1,content:!1,children:[f.jsx(S.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(S.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(S.Grid,{item:!0,children:f.jsxs(S.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(Lc,{alt:"profile user",src:o,sx:{width:32,height:32}}),f.jsxs(S.Stack,{children:[f.jsx(S.Typography,{variant:"h6",children:n==null?void 0:n.name}),f.jsx(S.Typography,{variant:"body2",color:"textSecondary",children:(b=n==null?void 0:n.roles)==null?void 0:b.map(x=>x.name.replace("ROLE_","")).join(",")})]})]})}),f.jsx(S.Grid,{item:!0,children:f.jsx(S.Tooltip,{title:"Logout",children:f.jsx(Nc,{size:"large",sx:{color:"text.primary"},onClick:g,children:f.jsx(Ke.LogoutOutlined,{})})})})]})}),f.jsx(S.Grid,{container:!0,children:f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(CX,{}),f.jsx(wX,{}),f.jsx(SX,{})]})})})]})})})})}})]})}function kT(e){const t=Kt(),{downMd:n}=Nn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ja();return n?f.jsxs(f.Fragment,{children:[f.jsx(Ls,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:f.jsx(Ke.MoreOutlined,{})}),f.jsx(S.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})=>f.jsx(hi,{type:"fade",in:r,...c,children:f.jsx(S.Paper,{sx:{boxShadow:t.customShadows.z1},children:f.jsx(S.ClickAwayListener,{onClickAway:a,children:f.jsx(S.AppBar,{color:"inherit",children:f.jsx(S.Toolbar,{children:e.children})})})})})})]}):f.jsx(f.Fragment,{children:e.children})}function FT(e){return f.jsx(S.Box,{...e,flex:1})}function LT(e){const t=S.useTheme(),n=S.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Tn();return t.shadows[4]=t.customShadows.z1,f.jsx(S.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:f.jsx(S.Container,{maxWidth:r?"xl":!1,children:f.jsx(S.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function DT(e){const{horizontal:t}=Nn();return t?f.jsx(LT,{children:e.children}):f.jsx(AT,{children:e.children})}function ol({item:e,level:t}){const n=Kt(),{horizontal:r,downLg:o}=Nn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=Za();let d="_self";e.target&&(d="_blank");const h=(e==null?void 0:e.external)!==!1?{component:T.forwardRef((I,F)=>f.jsx(ut.Link,{...I,to:e.url,target:d,ref:F}))}:{component:"a",href:e.url,target:d},g=e.icon,m=e.icon?f.jsx(g,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,v=a.findIndex(I=>I===e.id)>-1,{pathname:b}=ut.useLocation();T.useEffect(()=>{b.endsWith(e.url)&&c([e.id])},[b]);const x=n.palette.mode==="dark"?"grey.400":"text.primary",w=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:r?f.jsxs(S.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:w,"&:hover":{color:w,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m?f.jsx(S.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}):null,!m&&f.jsx(S.ListItemIcon,{sx:{color:v?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(Dp,{size:4,color:v?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip?f.jsx(S.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(S.Avatar,{children:e.chip.avatar}):null}):null]}):f.jsxs(S.ListItemButton,{...h,disabled:e.disabled,selected:v,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:w,"&:hover":{color:w,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[m?f.jsx(S.ListItemIcon,{sx:{minWidth:28,color:v?w:x,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&v&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}):null,s||!s&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",sx:{color:v?w:x},children:e.title})}):null,(s||!s&&t!==1)&&e.chip?f.jsx(S.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(S.Avatar,{children:e.chip.avatar}):null}):null]})})}const RT=pe(S.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}`}}));function il({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a}){var N;const c=Kt(),{activeItem:u}=Za(),{horizontal:d}=Nn(),{drawerOpen:h}=Za(),g=ut.useNavigate(),[m,v]=T.useState(!1),[b,x]=T.useState(null),[w,I]=T.useState(null);function F(ne){I(null),s(t),h?(v(!m),x(b?null:e.id),r(b?"":e.id),e.url&&g(`${e.url}`)):I(ne==null?void 0:ne.currentTarget)}function E(){h||e.url&&g(`${e.url}`)}function k(ne){I(ne==null?void 0:ne.currentTarget)}function P(){v(!1),x(null),I(null)}T.useMemo(()=>{b===o?t===1&&v(!0):t===a&&(v(!1),x(null))},[o,t,b,a]);const{pathname:L}=ut.useLocation(),D=!!w;function Y(ne,W){ne.forEach(K=>{K.url===L&&(v(!0),x(W))})}T.useEffect(()=>{v(!1),x(null),D&&I(null),e.children&&e.children.forEach(ne=>{var W;(W=ne.children)!=null&&W.length&&Y(ne.children,e.id),ne.url===L&&(x(e.id),v(!0)),L.includes(ne.url)&&(x(e.id),v(!0))})},[L,e.children]),T.useEffect(()=>{e.url===L&&b!==e.id&&(u([e.id]),x(e.id),I(null),v(!0))},[L,e,b,u]);const Z=(N=e.children)==null?void 0:N.map(ne=>{switch(ne.type){case"collapse":return f.jsx(il,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:ne,level:t+1,parentId:n},ne.id);case"item":return f.jsx(ol,{item:ne,level:t+1},ne.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},ne.id)}}),ee=b===e.id,G=t===1?f.jsx(Ke.BorderOutlined,{style:{fontSize:"1rem"}}):!1,le=e.icon,ae=e.icon?f.jsx(le,{style:{fontSize:h?"1rem":"1.25rem"}}):G,q=c.palette.mode==="dark"?"grey.400":"text.primary",J=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,z=D?`collapse-pop-${e.id}`:void 0,Q={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:d?f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{id:`boundary-${z}`,disableRipple:!0,selected:ee,onMouseEnter:k,onMouseLeave:P,onClick:k,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(S.Box,{onClick:E,sx:Q,children:[ae?f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:ae}):null,!ae&&t!==1&&f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(Dp,{size:4,color:ee?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),D?f.jsx(Ke.RightOutlined,{}):f.jsx(Ke.DownOutlined,{})]}),w?f.jsx(RT,{id:z,open:D,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:ne})=>f.jsx(hi,{in:D,...ne,children:f.jsx(S.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:f.jsx(S.ClickAwayListener,{onClickAway:P,children:f.jsx(S.Box,{children:Z})})})})}):null]})}):f.jsxs(f.Fragment,{children:[f.jsxs(S.ListItemButton,{disableRipple:!0,selected:b===e.id,...!h&&{onMouseEnter:F,onMouseLeave:P},onClick:F,sx:{pl:h?`${t*28}px`:1.5,py:!h&&t===1?1.25:1,...h&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:J,"&:hover":{color:J,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[ae?f.jsx(S.ListItemIcon,{onClick:E,sx:{minWidth:28,color:b===e.id?"primary.main":q,...!h&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!h&&b===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:ae}):null,h||!h&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:b===e.id?"primary":q,children:e.title}),secondary:e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?D||m?f.jsx(Ke.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):f.jsx(Ke.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}}):null,!h&&f.jsx(RT,{open:D,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:ne})=>f.jsx(hi,{in:D,...ne,children:f.jsx(S.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:f.jsx(S.ClickAwayListener,{onClickAway:P,children:f.jsx(S.Box,{children:Z})})})})})]}),h?f.jsx(S.Collapse,{in:m,timeout:"auto",unmountOnExit:!0,children:f.jsx(S.List,{sx:{p:0},children:Z})}):null]})})}const AX=pe(S.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}`}}));function _T({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var z,Q;const u=Kt(),d=_.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Nn(),v=Za(),{drawerOpen:b,selectedID:x,activeID:w}=v,[I,F]=T.useState(null),[E,k]=T.useState(e),P=!!I;T.useEffect(()=>{if(t)if(e.id===r){const N={...e},ne=n.map(W=>W.elements);N.children=ne.flat(1),k(N)}else k(e)},[e,t,m]);function L(N,ne){N.forEach(W=>{var K;(K=W.children)!=null&&K.length&&L(W.children,E.id),W.url===h&&w(ne)})}function D(N){(N.children?N.children:[]).forEach(W=>{var K;(K=W.children)!=null&&K.length&&L(W.children,E.id),W.url===h&&w(E.id)})}T.useEffect(()=>{D(E),P&&F(null)},[h,E]);function Y(N){P||F(N==null?void 0:N.currentTarget)}function Z(){F(null)}const ee=E==null?void 0:E.icon,G=E!=null&&E.icon?f.jsx(ee,{style:{fontSize:20,stroke:"1.5",color:x===E.id?u.palette.primary.main:u.palette.secondary.dark}}):null,le=(z=e.children)==null?void 0:z.map(N=>{switch(N.type){case"collapse":return f.jsx(il,{menu:N,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:E.id},N.id);case"item":return f.jsx(ol,{item:N,level:1},N.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},N.id)}}),ae=n.map((N,ne)=>{var W;return f.jsxs(T.Fragment,{children:[N.title?f.jsx(S.Typography,{variant:"caption",sx:{pl:2},children:N.title}):null,(W=N==null?void 0:N.elements)==null?void 0:W.map(K=>{switch(K.type){case"collapse":return f.jsx(il,{menu:K,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},K.id);case"item":return f.jsx(ol,{item:K,level:1},K.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},K.id)}})]},ne)}),q=(Q=E.children)==null?void 0:Q.map(N=>{switch(N.type){case"collapse":return f.jsx(il,{menu:N,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},N.id);case"item":return f.jsx(ol,{item:N,level:1},N.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},N.id)}}),J=P?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:g?f.jsx(S.List,{children:f.jsxs(S.ListItemButton,{selected:x===E.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:Y,onClick:Y,onMouseLeave:Z,"aria-describedby":J,children:[G?f.jsx(S.ListItemIcon,{sx:{minWidth:28},children:E.id===r?f.jsx(Ke.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):G}):null,f.jsx(S.ListItemText,{sx:{mr:1},primary:f.jsx(S.Typography,{variant:"body1",color:x===E.id?u.palette.primary.main:u.palette.secondary.dark,children:E.id===r?d("ra.actions.more"):E.title})}),P?f.jsx(Ke.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(Ke.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),I?f.jsx(AX,{id:J,open:P,anchorEl:I,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:N})=>f.jsx(hi,{in:P,...N,children:f.jsx(S.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(S.ClickAwayListener,{onClickAway:Z,children:f.jsx(S.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:E.id!==r?q:ae})})})})}):null]})}):f.jsx(S.List,{subheader:e.title&&b?f.jsxs(S.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(S.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null]}):null,sx:{mt:b&&e.title?1.5:0,py:0,zIndex:0},children:le})})}function BT(e){const{horizontal:t}=Nn(),{open:n}=Si(),r=Sr(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return f.jsx(S.Box,{sx:r,children:e.children})}function NT(e){const{horizontal:t}=Nn(),{menu:n,isLoading:r}=_h(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=Tn(),d=t?u:void 0;let h=r?0:(n??[]).length-1,g=[],m;return!r&&d&&d<(n??[]).length&&(m=(n??[])[d-1].id,h=d-1,g=(n??[]).slice(d-1,(n??[]).length).map(v=>({title:v.title,elements:v.children,icon:v.icon}))),f.jsx(BT,{...e,children:!r&&$.map((n??[]).slice(0,h+1),v=>{const{type:b}=v;switch(b){case"group":return f.jsx(_T,{item:v,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:d,remItems:g,lastItemId:m},v.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},v.id)}})})}function VT(){const{mode:e,setMode:t}=Tn();return f.jsx(Ls,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?f.jsx(Ke.SunOutlined,{}):f.jsx(Ke.MoonOutlined,{})})}const WT=T.forwardRef((e,t)=>{const n=Sr(e,{display:"flex",width:"100%"});return f.jsx(S.Box,{ref:t,...e,sx:n,children:e.children})});function Tg({source:e="paper"}){const{mode:t}=Tn(),n=S.useTheme();return T.useEffect(()=>{var o;const r=$.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const zT=eA(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=Ew();return f.jsxs(WT,{children:[f.jsxs(PT,{children:[f.jsx(FT,{}),a?f.jsx(IT,{}):null,o?f.jsx(VT,{}):null,f.jsx(Tg,{}),f.jsx(HC,{}),s?f.jsx(jT,{}):null,f.jsx(kT,{children:f.jsx(MT,{})})]}),f.jsx(DT,{children:f.jsx(NT,{})}),f.jsxs(nA,{error:t.error,children:[!c&&f.jsx(Qx,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(ut.Outlet,{}),f.jsx(Ag,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),TX=pe("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function UT(){return f.jsx(TX,{children:f.jsx(S.LinearProgress,{color:"primary"})})}function EX(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(UT,{}),children:f.jsx(e,{...t})})}function Eg({title:e}){return f.jsxs(S.Stack,{direction:"row",children:[f.jsx(S.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(S.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]})}const IX=pe(_.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function HT(e){return f.jsx(IX,{...e})}var sl=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(sl||{});const GT=so().required(),YT=so().oneOf(Object.values(sl));function OX(e){var I;const t=Ui.useQueryClient(),[n,r]=T.useState(!1),[o,s]=T.useState(()=>()=>Promise.resolve()),a=re.useGetIdentity(),c=(I=a==null?void 0:a.data)==null?void 0:I.email,u=re.useDataProvider(),d=T.useCallback(()=>c?u.get("onboarding").then(F=>{var E;return(E=F==null?void 0:F.data)==null?void 0:E.value}):Promise.reject(),[u,c]),{data:h,isLoading:g,isError:m}=Ui.useQuery({queryKey:["GET","onboarding",c],queryFn:d,staleTime:24*60*60*1e3,retry:c!==void 0}),[v,b]=T.useState(()=>()=>Promise.resolve()),w=Ui.useMutation({mutationFn:v}).mutateAsync;return T.useEffect(()=>{function F(){const E=$.chain(h??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",E).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}b(()=>F)},[u,h,e,t,c]),T.useEffect(()=>{r($.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function PX(e){const[t,n]=Jh("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o($.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>$.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function jX(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function KT(e,t){Zh({mode:YT,topic:GT}).validateSync({mode:e,topic:t});const n=OX(t),r=PX(t),o=jX();switch(e){case sl.USER:return n.loading?o:n.error?r:$.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case sl.BROWSER:return r;default:return o}}var Ds=(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))(Ds||{});function MX(e,t){var o;const n=$.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return $.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=$.chain(n.tips).clone().reject(h=>h.id===a).value(),u=$.find(n.tips,{id:a}),d=$.chain(u??{}).clone().extend(s).value();return c.push(d),$.extend(n,{tips:$.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=$.isString(s)?s:s.id,c=$.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return $.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=$.isString(s)?s:s.id,c=$.chain(n.tips).reject(m=>m.id===a).value(),u=$.find(n.tips,{id:a});if($.isNil(u))return n;const d=$.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=$.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&$.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),$.extend(n,{tips:$.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return $.extend(n,{onComplete:s})}case"RESTART":{const s=$.chain(n.tips).clone().map(a=>$.omit(a,"dismissed")).value();return $.extend(n,{tips:s,currentStep:0})}default:return n}}const Ig=T.createContext(void 0);function kX(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=KT(t,n),[s,a]=T.useReducer(MX,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),T.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),f.jsx(Ig.Provider,{value:c,children:e.children})}function XT(){const e=T.useContext(Ig);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function FX(){return XT().state}function ZT(){return XT().dispatch}function QT(e){Zh({id:so().required(),step:zw().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=FX(),c=$.find(s,{id:t}),{dismissed:u}=c??{},d=ZT(),h=T.useCallback(()=>{d({type:Ds.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{($.isNil(c)||n!==(c==null?void 0:c.step))&&d({type:Ds.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c,d]),T.useEffect(()=>()=>{d({type:Ds.UNREGISTER_TIP,payload:t})},[t,d]),{tip:$.chain(c??e).clone().extend({open:o&&!$.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function LX(){const e=ZT();return T.useCallback(()=>{e({type:Ds.RESTART})},[e])}function DX(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=QT({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=$.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(Qc,{...u,arrow:!0,open:c,title:f.jsxs(S.Stack,{gap:1,children:[f.jsx(S.Typography,{children:r}),f.jsx(S.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const RX=S.styled(DX)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${S.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${S.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${S.tooltipClasses.arrow}`]:{color:r.main}}});function JT({children:e}){const t=ut.useLocation(),{pathname:n}=t;return T.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const _X=pe("div")({width:"100%",overflowX:"auto",display:"block"});function BX({shadow:e,children:t,...n}){return f.jsx(sr,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function qT({title:e}){return f.jsx(S.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const NX="RaButton";function VX(e){if(e==null)return;if(typeof e=="string")return{to:e};const{redirect:t,replace:n,state:r,...o}=e;return{to:o,redirect:t,replace:n,state:r}}const WX=pe(S.Button,{name:NX,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function Yu(e){const{disableIconOnly:t=!1,label:n,children:r,className:o,color:s,size:a,disabled:c,alignIcon:u,to:d,...h}=e,g=_.useTranslate(),m=VX(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(WX,{className:o,color:s,size:a,"aria-label":v,disabled:c,startIcon:u==="left"&&r?r:void 0,endIcon:u==="right"&&r?r:void 0,...m,...h,children:v})}return f.jsx(_.Button,{...e})}function Og(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)]}function zX(e,t){return e&&e.data?{data:Og(e.data,t),total:e.total+1}:e}function UX(e,t){return e&&e.length>0?Og(e,t):e}function HX(e,t){return e&&e.data?{...e,data:Og(e.data,t),total:e.total+1}:e}function GX(e){const{disableFloatingButton:t,label:n="ra.action.create",startIcon:r=f.jsx(Ke.PlusCircleOutlined,{}),...o}=e,s=T.useCallback(a=>{var c;a.preventDefault(),(c=e==null?void 0:e.onClick)==null||c.call(e)},[e]);return t?f.jsx(Yu,{...o,onClick:s,label:n,children:r}):f.jsx(YV,{...e,onClick:s,label:n,children:r})}function YX(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=Qn.useFormContext(),o=re.useTranslate(),s=T.useCallback(a=>{a.preventDefault(),a.stopPropagation(),r(c=>t(c,n))()},[r,t,n]);return f.jsx(S.Button,{onClick:s,color:"primary",variant:"contained",size:"medium",children:o("ra.action.save")})}function KX(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,onSubmit:s,mutationOptions:a,scroll:c="body",...u}=e,d=Ui.useQueryClient(),h=re.useResourceContext(),g=re.useTranslate(),m=T.Children.only(t),[v,b]=T.useState(!1),x=re.useNotify(),w=T.useCallback(()=>b(!0),[]),I=T.useCallback(()=>b(!1),[]),F=T.useCallback((E,k,P)=>{var Y,Z;const D=Date.now();d.setQueryData([h,"getOne",{id:E.id}],E),d.setQueriesData([h,"getList"],ee=>HX(ee,E),{updatedAt:D}),d.setQueriesData([h,"getMany"],ee=>UX(ee,E),{updatedAt:D}),d.setQueriesData([h,"getManyReference"],ee=>zX(ee,E),{updatedAt:D}),I(),x("ra.notification.created",{messageArgs:{smart_count:1}}),(Z=(Y=e==null?void 0:e.mutationOptions)==null?void 0:Y.onSuccess)==null||Z.call(Y,E,k,P)},[I,x,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(GX,{...u,onClick:w}),f.jsx(S.Dialog,{open:v,scroll:c,onClose:I,maxWidth:n,fullWidth:r,fullScreen:o,children:f.jsx(S.DialogContent,{sx:{m:0,p:0},children:f.jsx(re.CreateBase,{...e,mutationOptions:{...a,onSuccess:F},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(wi,{children:[f.jsx(S.Button,{variant:"text",size:"medium",onClick:I,children:g("ra.action.cancel")}),s?f.jsx(YX,{onSubmit:s,closeDialog:I}):f.jsx(Mh,{type:"button"})]})}):null})})})]})}function XX(e){const t=T.useCallback(n=>{var r;n.preventDefault(),n.stopPropagation(),(r=e==null?void 0:e.onClick)==null||r.call(e)},[e]);return f.jsx(JC,{...e,onClick:t})}function ZX(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=Qn.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(Yu,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function QX(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,mutationOptions:s,onSubmit:a,scroll:c="body",...u}=e,d=re.useNotify(),[h,g]=T.useState(!1),m=T.Children.only(t),v=T.useCallback(()=>g(!0),[]),b=T.useCallback(()=>g(!1),[]),x=T.useCallback((I,F,E)=>{var k,P;b(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(k=e==null?void 0:e.mutationOptions)==null?void 0:k.onSuccess)==null||P.call(k,I,F,E)},[b,d,e.mutationOptions,e.mutationMode]),w=re.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(XX,{...u,onClick:v}),f.jsx(S.Dialog,{open:h,scroll:c,onClose:b,fullWidth:r,maxWidth:n,fullScreen:o,keepMounted:!1,children:f.jsx(S.DialogContent,{sx:{m:0,p:0},children:f.jsx(re.EditBase,{...e,id:w.id,mutationMode:"pessimistic",mutationOptions:{...s,onSuccess:x},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(wi,{children:[f.jsx(Yu,{disableIconOnly:!0,variant:"text",size:"medium",onClick:b,label:"ra.action.cancel"}),a?f.jsx(ZX,{onSubmit:a,closeDialog:b}):f.jsx(Mh,{type:"button"})]})}):null})})})]})}function JX({label:e="ra.auth.sign_in",...t}){const n=_.useRecordContext(),[r,o]=T.useState(!1),s=_.useAuthProvider(),a=T.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 f.jsx(_.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:f.jsx(Fn.VpnKey,{})})}function qX({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:d,buttonProps:h,...g}){const{getCurrentDialog:m}=ng(),v=re.useResourceContext(g),b=m(),x=re.useRecordContext(),w=r||x,I=dt.get(w,e||"");return f.jsxs(S.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:F=>({pt:1,pb:1,borderBottom:`1px solid ${F.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[f.jsxs(S.Stack,{direction:"row",alignItems:"start",children:[c?T.isValidElement(c)?T.cloneElement(c,{style:Ku}):T.createElement(c,{style:Ku}):null,f.jsx(re.FieldTitle,{label:t,source:e,resource:b||v})]}),f.jsxs(S.Stack,{direction:"row",alignItems:"center",children:[a?T.isValidElement(a)?T.cloneElement(a,{record:w,resource:v,value:I}):T.createElement(a,{source:e,record:w,resource:v,value:I}):f.jsx(S.Typography,{variant:n,children:I}),u?T.isValidElement(u)?T.cloneElement(u,{style:Ku}):T.createElement(u,{style:Ku}):null,d?f.jsx(S.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const Ku={width:"1.5rem",alignSelf:"center"};function $T(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=re.useListContext(e),d=re.useTranslate(),h=T.useCallback(()=>{u()},[u]);return f.jsx($X,{className:r,children:f.jsxs(S.Toolbar,{"data-test":"bulk-actions-toolbar",className:lt(Er.toolbar,{[Er.collapsed]:c.length===0}),...re.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Er.title,children:[f.jsx(S.IconButton,{className:Er.icon,"aria-label":d("ra.action.unselect"),title:d("ra.action.unselect"),onClick:h,size:"small",children:f.jsx(Fn.Close,{fontSize:"small"})}),f.jsx(S.Typography,{color:"inherit",variant:"subtitle1",children:d(t,{_:t,smart_count:c.length})})]}),f.jsx(_.TopToolbar,{className:Er.topToolbar,children:T.Children.map(n,g=>T.isValidElement(g)?T.cloneElement(g,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const Ai="RaBulkActionsToolbar",Er={toolbar:`${Ai}-toolbar`,topToolbar:`${Ai}-topToolbar`,buttons:`${Ai}-buttons`,collapsed:`${Ai}-collapsed`,title:`${Ai}-title`,icon:`${Ai}-icon`},$X=pe("div",{name:Ai,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Er.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"?Ip(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},[`& .${Er.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Er.buttons}`]:{},[`& .${Er.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Er.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Er.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Pg={p:0,m:0},eE={p:2,m:0,borderRadius:0,width:"100%"};function eZ(e){const{children:t}=e,[n,r]=B.useState(null);function o(b){r(b.currentTarget)}function s(){r(null)}const a=S.useMediaQuery(b=>b.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:d=[],onUnselectItems:h}=_.useListContext(e),g=!!n&&d!==void 0&&d.length>0,m=g?"simple-popover":void 0,v=B.useCallback(()=>{h(),r(null)},[h,r]);return f.jsx(S.Fade,{in:d!==void 0&&d.length>0,children:f.jsxs(S.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(S.Fab,{color:"primary","aria-label":"manage",onClick:o,children:d==null?void 0:d.length}),f.jsx(S.Popover,{id:m,open:g,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(S.List,{sx:Pg,children:[f.jsx(S.ListItem,{sx:Pg,children:f.jsx(_.Button,{onClick:v,sx:eE,label:"ra.action.unselect",startIcon:f.jsx(Lh,{}),children:f.jsx(Lh,{})})}),B.Children.map(t,b=>{var x;return f.jsx(S.ListItem,{sx:Pg,children:B.isValidElement(b)?B.cloneElement(b,{filterValues:c,resource:u,selectedIds:d,sx:eE,...(x=b.props)!=null&&x.popover?{closePopover:s}:{}}):null})})]})})]})})}const tE=T.createContext({});tE.displayName="DatagridContext";function tZ({children:e,value:t}){return f.jsx(tE.Provider,{value:t,children:e})}const nE=f.jsx(_.BulkDeleteButton,{}),rE=B.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?_.PureDatagridBody:_.DatagridBody,header:o=_.DatagridHeader,children:s,className:a,empty:c=oZ,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=nE,hover:g,isRowSelectable:m,isRowExpandable:v,resource:b,rowClick:x,rowSx:w,rowStyle:I,size:F="small",sx:E,expandSingle:k=!1,...P}=e,{sort:L,data:D,isLoading:Y,onSelect:Z,onToggleItem:ee,selectedIds:G,setSort:le,total:ae}=re.useListContext(e),q=!!h,J=T.useMemo(()=>({isRowExpandable:v,expandSingle:k}),[v,k]),z=T.useRef(null);T.useEffect(()=>{(!G||G.length===0)&&(z.current=null)},[JSON.stringify(G)]);const Q=T.useCallback((N,ne)=>{const W=D.map(de=>de.id),K=W.indexOf(z.current);if(z.current=ne.target.checked?N:null,ne.shiftKey&&K!==-1){const de=W.indexOf(N),he=W.slice(Math.min(K,de),Math.max(K,de)+1),fe=ne.target.checked?tU(G,he):mU(G,he);Z(m?fe.filter(ge=>m(D.find(ve=>ve.id===ge))):fe)}else ee(N)},[D,m,Z,ee,G]);return Y===!0?f.jsx(_.DatagridLoading,{className:a,expand:u,hasBulkActions:q,nbChildren:B.Children.count(s),size:F}):D==null||D.length===0||ae===0?c||null:f.jsx(tZ,{value:J,children:f.jsxs(_.DatagridRoot,{sx:E,className:lt(_.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:G,total:ae}):h!==!1?f.jsx($T,{children:T.isValidElement(h)?h:nE}):null,f.jsx("div",{className:_.DatagridClasses.tableWrapper,children:f.jsxs(S.Table,{ref:t,className:_.DatagridClasses.table,size:F,...rZ(P),children:[oE(o,{children:s,sort:L,data:D,hasExpand:!!u,hasBulkActions:q,isRowSelectable:m,onSelect:Z,resource:b,selectedIds:G,setSort:le},s),oE(r,{expand:u,rowClick:x,data:D,hasBulkActions:q,hover:g,onToggleItem:Q,resource:b,rowSx:w,rowStyle:I,selectedIds:G,isRowSelectable:m},s)]})})]})})});function oE(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const nZ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function rZ(e){return Object.keys(re.sanitizeListRestProps(e)).filter(t=>!nZ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}rE.displayName="Datagrid";const oZ=f.jsx(_.ListNoResults,{}),iZ=pe(rE,{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 sZ(e){return f.jsx(iZ,{...e})}const aZ=pe("div")(({theme:e})=>({padding:e.spacing(2)}));function lZ({actions:e,className:t,...n}){const{hasCreate:r}=re.useResourceDefinition(n),o=re.useResourceContext(n),s=re.useTranslate(),a=re.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),d=s("ra.page.invite");return f.jsxs(cZ,{className:t,children:[f.jsxs("div",{className:Ti.message,children:[f.jsx(Fn.Inbox,{className:Ti.icon}),f.jsx(S.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r?f.jsx(S.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:d})}):null]}),f.jsx(aZ,{className:Ti.toolbar,children:e})]})}const Xu="ApplicaEmpty",Ti={message:`${Xu}-message`,icon:`${Xu}-icon`,toolbar:`${Xu}-toolbar`},cZ=pe("span",{name:Xu,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${Ti.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${Ti.icon}`]:{width:"9em",height:"9em"},[`& .${Ti.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),uZ=f.jsx(_.ListActions,{}),dZ=f.jsx(_.Pagination,{}),fZ=f.jsx(_.Empty,{}),pZ=S.Card;function hZ(e){const{actions:t=uZ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=dZ,children:u,className:d,component:h=pZ,title:g,empty:m=fZ,...v}=e,{defaultTitle:b,data:x,error:w,isLoading:I,filterValues:F,resource:E}=re.useListContext(e);if(!u||!x&&I&&s)return null;function k(){return f.jsxs("div",{className:zo.main,children:[r||t?f.jsx(_.ListToolbar,{className:zo.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:zo.content,children:o&&u&&B.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(Dh,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:zo.noResults,hasCreate:a})}const L=!I&&(x==null?void 0:x.length)===0&&!Object.keys(F).length&&m!==!1;return f.jsxs(gZ,{className:lt("list-page",d),...v,children:[f.jsx(_.Title,{title:g,defaultTitle:b,preferenceKey:`${E}.list.title`}),L?P():k(),n]})}const al="RaList",zo={main:`${al}-main`,content:`${al}-content`,actions:`${al}-actions`,noResults:`${al}-noResults`},gZ=pe("div",{name:al,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${zo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${zo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${zo.actions}`]:{},[`& .${zo.noResults}`]:{}}));function mZ({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=vZ,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:d,storeKey:h,...g}){return f.jsx(re.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:d,storeKey:h,children:f.jsx(hZ,{...g})})}const vZ={},yZ=Ma(mZ,{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,"& .MuiInputLabel-root":{paddingTop: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 bZ(e){return f.jsx(sr,{content:!1,children:f.jsx(yZ,{...e})})}function xZ(){const e=_.useRefresh(),t=_.useNotify(),n=_.useResourceContext(),r=_.useUnselectAll(n),{selectedIds:o,data:s}=_.useListContext(),a=_.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)),[u,{isLoading:d}]=_.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Ar().toISOString()},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"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(_.Button,{label:"ra.notification.mark_as_readed",disabled:d||(a==null?void 0:a.readed)!==null,onClick:h,children:f.jsx(Fn.Email,{})})}function CZ(){const e=_.useRefresh(),t=_.useNotify(),n=_.useResourceContext(),r=_.useUnselectAll(n),{selectedIds:o,data:s}=_.useListContext(),a=_.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)).concat([a]),[u,{isLoading:d}]=_.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"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(_.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:d||a&&!(a!=null&&a.readed),onClick:h,children:f.jsx(Fn.Drafts,{})})}function wZ(e){const t=_.useRecordContext(e),n=_.useResourceContext(e),r=_.useRedirect(),o=_.useNotify(),s=_.useTranslate(),[a]=_.useLocaleState(),c=T.useMemo(()=>t!=null&&t.readed?Ar(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]=_.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Ar().toISOString()}},{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"})}}),d=T.useCallback(()=>u(),[u]);return f.jsxs("div",{onClick:d,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(S.Typography,{variant:"subtitle1",children:f.jsxs(S.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(S.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?f.jsx(S.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})}):null]})}function SZ({...e}){const t=S.useTheme(),{mode:n,colorize:r,density:o}=T.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?S.darken:S.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function s(a){return{backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(_.Datagrid,{...e,rowSx:s,children:[f.jsx(wZ,{source:"notification",sortable:!1}),f.jsx(hS,{source:"created"}),f.jsxs(Fo,{children:[f.jsx(xZ,{}),f.jsx(CZ,{})]})]})}const AZ=pe(_.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function TZ({children:e}){const t=Kt();return f.jsx(sr,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,border:!1,boxShadow:!0,shadow:t.customShadows.z1,children:f.jsx(S.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})}function Zu({version:e,name:t,copy:n,children:r,logo:o,background:s=Jc,footer:a=!0}){return f.jsxs(S.Box,{children:[f.jsx(Tg,{source:"default"}),T.isValidElement(s)?s:T.createElement(s),f.jsxs(S.Grid,{container:!0,direction:"column",justifyContent:"flex-end",children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{ml:3},children:o||f.jsx(Eg,{title:t})}),f.jsxs(S.Grid,{item:!0,xs:12,children:[f.jsx(S.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:f.jsx(S.Grid,{item:!0,children:f.jsx(TZ,{children:r})})}),a?f.jsx(S.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(Ag,{name:t,copy:n,version:e})}):null]})]})]})}function EZ({name:e,copy:t,logo:n,version:r,background:o}){const s=re.useTranslate(),a=re.useAuthProvider(),c=re.useNotify(),u=ut.useNavigate(),{token:d}=ut.useParams();return T.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(d).then(()=>{c("ra.auth.activate_success",{type:"info"}),$.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),$.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(Zu,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:s("ra.auth.activate")}),f.jsx(S.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})}function iE(){const e=T.useCallback(()=>location.reload(),[]);return f.jsx(S.Container,{children:f.jsxs(S.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[f.jsx("img",{alt:"Error",src:j1,style:{width:"100%",maxWidth:450}}),f.jsx(S.Typography,{variant:"h2",children:"Ops! An error occurred..."}),f.jsx(S.Typography,{children:"We're fixing the problem. Please try again later."}),f.jsx(S.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}function sE({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=f.jsx(Jc,{})}){const[u,d]=re.useSafeSetState(!1),h=re.useLogin(),g=re.useTranslate(),m=re.useNotify(),v=re.useCheckAuth(),b=ut.useNavigate();T.useEffect(()=>{v({},!1).then(()=>{b("/")}).catch(()=>{})},[v,b]);function x(w){d(!0),h(w,a).then(()=>{d(!1)}).catch(I=>{d(!1),m(typeof I=="string"?I:typeof I>"u"||!I.message?"ra.auth.sign_in_error":I.message,{type:"error",messageArgs:{_:typeof I=="string"?I:I&&I.message?I.message:void 0}})})}return f.jsx(Zu,{name:t,version:e,copy:n,logo:r,background:c,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:"Login"}),s?f.jsx(S.Typography,{component:ut.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")}):null]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(re.Form,{onSubmit:x,children:[f.jsxs(S.Grid,{container:!0,children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Tr,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:re.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Tr,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:re.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),o?f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(S.Link,{variant:"h6",component:ut.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}):null,f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?f.jsx(S.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})}function IZ({name:e,copy:t,logo:n,version:r,background:o}){const[s,a]=T.useState(!1),c=re.useTranslate(),u=re.useRedirect(),d=re.useNotify(),h=re.useAuthProvider();function g({email:m}){a(!0),h.recover(m).then(v=>{const b=`ra.auth.recover_${v.responseCode}`,x=v.responseCode==="ok"?"info":"error";d(b,{type:x}),u("/login")}).catch(v=>{d((v==null?void 0:v.message)||(v==null?void 0:v.toString()),{type:"error"})}).finally(()=>a(!1))}return f.jsx(Zu,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),f.jsx(S.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(_.Form,{onSubmit:g,children:[f.jsx(S.Grid,{container:!0,children:f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"email",validate:[re.required(),re.email()]})})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(S.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(S.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})}function OZ({name:e,copy:t,version:n,logo:r,background:o}){const[s,a]=T.useState(!1),c=re.useTranslate(),u=re.useRedirect(),d=re.useNotify(),h=re.useAuthProvider();function g(m){a(!0),h.register(m).then(v=>{const b=`ra.auth.register_${v.responseCode}`,x=v.responseCode==="ok"?"info":"error";d(b,{type:x}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(Zu,{name:e,copy:t,logo:r,background:o,version:n,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:c("ra.auth.register.title")}),f.jsx(S.Typography,{component:ut.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(_.Form,{onSubmit:g,children:[f.jsxs(S.Grid,{container:!0,children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"name",label:c("ra.register.name"),validate:re.required()})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"email",type:"email",validate:[re.required(),re.email()]})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"password",type:"password",validate:re.required()})})]}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(S.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})}function PZ(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 jZ(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function MZ(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(Ke.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=Qt(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:tt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function kZ(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 FZ(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function LZ(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 Ii({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function DZ(e){const t=Ii({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":Ii({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":Ii({color:"secondary",theme:e}),"&.MuiBadge-colorError":Ii({color:"error",theme:e}),"&.MuiBadge-colorInfo":Ii({color:"info",theme:e}),"&.MuiBadge-colorSuccess":Ii({color:"success",theme:e}),"&.MuiBadge-colorWarning":Ii({color:"warning",theme:e})}}}}}function Je({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,d=hs(n,u),h={"&::after":{boxShadow:`0 0 5px 5px ${tt(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...h};case"shadow":return{color:c,backgroundColor:s,boxShadow:d,"&:hover":{boxShadow:"none",backgroundColor:a},...h};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...h};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...h};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...h}}}function RZ(e){const t=Je({variant:"dashed",color:"primary",theme:e}),n=Je({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":Je({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Je({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Je({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Je({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Je({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Je({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":Je({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Je({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Je({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Je({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Je({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Je({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:Je({variant:"contained",color:"primary",theme:e}),containedSecondary:Je({variant:"contained",color:"secondary",theme:e}),containedError:Je({variant:"contained",color:"error",theme:e}),containedSuccess:Je({variant:"contained",color:"success",theme:e}),containedInfo:Je({variant:"contained",color:"info",theme:e}),containedWarning:Je({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Je({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Je({variant:"outlined",color:"secondary",theme:e}),outlinedError:Je({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Je({variant:"outlined",color:"success",theme:e}),outlinedInfo:Je({variant:"outlined",color:"info",theme:e}),outlinedWarning:Je({variant:"outlined",color:"warning",theme:e}),textPrimary:Je({variant:"text",color:"primary",theme:e}),textSecondary:Je({variant:"text",color:"secondary",theme:e}),textError:Je({variant:"text",color:"error",theme:e}),textSuccess:Je({variant:"text",color:"success",theme:e}),textInfo:Je({variant:"text",color:"info",theme:e}),textWarning:Je({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function _Z(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function BZ(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function NZ(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function VZ(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function Rs({color:e,theme:t}){const n=Qt(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 WZ(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 jg(e){const t=WZ(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function zZ(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(Ke.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(Ke.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...jg("small")},"&.size-medium":{...jg("medium")},"&.size-large":{...jg("large")}},colorPrimary:Rs({color:"primary",theme:e}),colorSecondary:Rs({color:"secondary",theme:e}),colorSuccess:Rs({color:"success",theme:e}),colorWarning:Rs({color:"warning",theme:e}),colorInfo:Rs({color:"info",theme:e}),colorError:Rs({color:"error",theme:e})}}}}function _s({color:e,theme:t}){const n=Qt(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function zn({color:e,theme:t}){const n=Qt(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function UZ(e){const t=zn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":_s({color:"primary",theme:e}),"&.MuiChip-colorSecondary":_s({color:"secondary",theme:e}),"&.MuiChip-colorError":_s({color:"error",theme:e}),"&.MuiChip-colorInfo":_s({color:"info",theme:e}),"&.MuiChip-colorSuccess":_s({color:"success",theme:e}),"&.MuiChip-colorWarning":_s({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":zn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":zn({color:"secondary",theme:e}),"&.MuiChip-lightError":zn({color:"error",theme:e}),"&.MuiChip-lightInfo":zn({color:"info",theme:e}),"&.MuiChip-lightSuccess":zn({color:"success",theme:e}),"&.MuiChip-lightWarning":zn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":zn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":zn({color:"secondary",theme:e}),"&.MuiChip-combinedError":zn({color:"error",theme:e}),"&.MuiChip-combinedInfo":zn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":zn({color:"success",theme:e}),"&.MuiChip-combinedWarning":zn({color:"warning",theme:e})}}}}}function HZ(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:tt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function GZ(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function YZ(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function Bs({color:e,theme:t}){const n=Qt(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=hs(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 ${tt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${tt(r,.9)}`}}}function KZ(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":Bs({color:"primary",theme:e}),"&.MuiFab-secondary":Bs({color:"secondary",theme:e}),"&.Mui-error":Bs({color:"error",theme:e}),"&.MuiFab-success":Bs({color:"success",theme:e}),"&.MuiFab-info":Bs({color:"info",theme:e}),"&.MuiFab-warning":Bs({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 XZ(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 ZZ(e){return{MuiInputBase:{styleOverrides:{}}}}function QZ(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1.3em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function JZ(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function qZ(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function $Z(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function eQ(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function tQ(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function nQ(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function Oi({variant:e,theme:t}){const n=Qt(t,e),{light:r}=n,o=hs(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function rQ(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:{...Oi({variant:"primary",theme:e}),"&.Mui-error":{...Oi({variant:"error",theme:e})}},inputSizeSmall:{padding:"9px 8px 9px 12px"},inputMultiline:{padding:0},colorSecondary:Oi({variant:"secondary",theme:e}),colorError:Oi({variant:"error",theme:e}),colorWarning:Oi({variant:"warning",theme:e}),colorInfo:Oi({variant:"info",theme:e}),colorSuccess:Oi({variant:"success",theme:e})}}}}function oQ(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function St({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d={"&: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},...d};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...d};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...d}}}function iQ(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":St({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":St({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":St({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":St({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":St({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":St({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":St({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":St({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":St({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":St({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":St({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":St({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":St({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":St({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":St({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":St({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":St({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":St({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":St({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":St({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":St({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":St({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":St({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":St({variant:"outlined",color:"warning",theme:e})}}}}}}function sQ(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function Ns({color:e,theme:t}){const n=Qt(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 aQ(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 Mg(e){const t=aQ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function lQ(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(S.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":{...Mg("small")},"&.size-medium":{...Mg("medium")},"&.size-large":{...Mg("large")}},colorPrimary:Ns({color:"primary",theme:e}),colorSecondary:Ns({color:"secondary",theme:e}),colorSuccess:Ns({color:"success",theme:e}),colorWarning:Ns({color:"warning",theme:e}),colorInfo:Ns({color:"info",theme:e}),colorError:Ns({color:"error",theme:e})}}}}function Vs({color:e,theme:t}){const n=Qt(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function cQ(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":Vs({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":Vs({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":Vs({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":Vs({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":Vs({color:"info",theme:e}),"&.MuiSlider-thumbColorError":Vs({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 uQ(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 kg(e,t){const n=uQ(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 dQ(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},...kg(e,"medium")},sizeLarge:{...kg(e,"large")},sizeSmall:{...kg(e,"small")}}}}}function fQ(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 pQ(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 hQ(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 gQ(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function mQ(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function vQ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function yQ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function bQ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function xQ(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 CQ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function wQ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function SQ(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function AQ(e){return dt.merge(PZ(e),jZ(e),MZ(e),kZ(e),FZ(),LZ(e),DZ(e),RZ(e),_Z(),BZ(),NZ(),VZ(),zZ(e),UZ(e),HZ(e),GZ(e),YZ(),KZ(e),XZ(e),ZZ(),QZ(e),JZ(),qZ(),$Z(e),eQ(e),tQ(),nQ(),rQ(e),oQ(),iQ(e),sQ(e),lQ(e),cQ(e),dQ(e),fQ(e),pQ(e),hQ(e),gQ(e),mQ(e),vQ(),yQ(),bQ(),xQ(e),CQ(e),wQ(),SQ())}function TQ(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}}function EQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function IQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function OQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function PQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function jQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function MQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function kQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function FQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function LQ(e,t,n){switch(t){case"theme1":return EQ(e,n);case"theme2":return IQ(e,n);case"theme3":return OQ(e,n);case"theme4":return PQ(e,n);case"theme5":return jQ(e,n);case"theme6":return MQ(e,n);case"theme7":return kQ(e,n);case"theme8":return FQ(e,n);default:return TQ(e)}}var Fg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Fg.primary=Fg[5];var Lg=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Lg.primary=Lg[5];var Dg=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Dg.primary=Dg[5];var Rg=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Rg.primary=Rg[5];var _g=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];_g.primary=_g[5];var Bg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Bg.primary=Bg[5];var Ng=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Ng.primary=Ng[5];var Vg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Vg.primary=Vg[5];var Wg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Wg.primary=Wg[5];var zg=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];zg.primary=zg[5];var Ug=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Ug.primary=Ug[5];var Hg=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Hg.primary=Hg[5];var Gg=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Gg.primary=Gg[5];var DQ={red:Fg,volcano:Lg,orange:Dg,gold:Rg,yellow:_g,lime:Bg,green:Ng,cyan:Vg,blue:Wg,geekblue:zg,purple:Ug,magenta:Hg,grey:Gg},Yg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Yg.primary=Yg[5];var Kg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Kg.primary=Kg[5];var Xg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Xg.primary=Xg[5];var Zg=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];Zg.primary=Zg[5];var Qg=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];Qg.primary=Qg[5];var Jg=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Jg.primary=Jg[5];var qg=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];qg.primary=qg[5];var $g=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];$g.primary=$g[5];var em=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];em.primary=em[5];var tm=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];tm.primary=tm[5];var nm=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];nm.primary=nm[5];var rm=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];rm.primary=rm[5];var om=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];om.primary=om[5];var RQ={red:Yg,volcano:Kg,orange:Xg,gold:Zg,yellow:Qg,lime:Jg,green:qg,cyan:$g,blue:em,geekblue:tm,purple:nm,magenta:rm,grey:om};function _Q(e,t){const n=e==="dark"?RQ:DQ;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=LQ(n,t,e);return up({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?tt(a.grey[900],.87):a.grey[700],secondary:e==="dark"?tt(a.grey[900],.45):a.grey[500],disabled:e==="dark"?tt(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?tt(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})}function BQ(e){return{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%)",z0:"none",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 ${tt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${tt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${tt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${tt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${tt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${tt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${tt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${tt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${tt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${tt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${tt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${tt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${tt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${tt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${tt(e.palette.grey[500],.2)}`}}function NQ(e){return{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 im({themeOverrides:e,children:t}){const n=Tn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>_Q(o,s),[o,s]),u=T.useMemo(()=>NQ(a),[a]),d=T.useMemo(()=>BQ(c),[c]),h=T.useMemo(()=>$.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:d,typography:u,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,d,e]),g=up(h),m=$.cloneDeep(g.components??{});return g.components=$.merge(AQ(g),m),f.jsx(S.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(Bx,{theme:g,children:[f.jsx(S.CssBaseline,{enableColorScheme:!0}),t]})})}function VQ({children:e,theme:t,...n}){return f.jsx(_.CoreAdminContext,{...n,children:f.jsx(im,{themeOverrides:t,children:f.jsx(JT,{children:e})})})}function aE(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:d,loading:h,loginPage:g,authCallbackPage:m,menu:v,notification:b,queryClient:x,requireAuth:w,store:I=_.localStorageStore(),ready:F,theme:E,title:k="React Admin"}=e;return f.jsx(VQ,{authProvider:t,dataProvider:s,i18nProvider:u,store:I,history:c,queryClient:x,theme:E,children:f.jsx(_.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:k,loading:h,loginPage:g,authCallbackPage:m,notification:b,requireAuth:w,ready:F,children:r})})}class lE{constructor({catch:t,display:n,log:r,error:o}){Ml(this,"catch");Ml(this,"display");Ml(this,"log");Ml(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}}class WQ{constructor(t){yo(this,ll);yo(this,cl);yo(this,Ws,new Set);const{apiUrl:n}=t??{};if(!$.isString(n)||$.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");$o(this,cl,n),$o(this,ll,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}`;kn(this,Ws).has(a)||(kn(this,Ws).add(a),fetch(`${kn(this,cl)}/ui/error-log`,{method:"PUT",headers:kn(this,ll),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(u=>{console.warn("Unable to send error to server",u),kn(this,Ws).delete(a)}))}}ll=new WeakMap,cl=new WeakMap,Ws=new WeakMap;function zQ({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new lE({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=B.useMemo(()=>o.errorHandler?o.errorHandler:new WQ({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=B.useCallback(function(u,...d){var g;if(!u)return!1;const h=r(u instanceof ErrorEvent?u:(g=u==null?void 0:u.toString())==null?void 0:g.replace(/%s/g,()=>d.shift()));return h.isCatched()||(h.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),h.displayError()&&a.apply(console,arguments)),!1},[r,s,a]);return B.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c,a]),!0}class UQ{constructor(t){yo(this,ul);yo(this,dl);yo(this,ji,[]);const{apiUrl:n}=t??{};if(!$.isString(n)||$.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");$o(this,dl,n),$o(this,ul,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!$.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!$.isString(n)||$.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!$.isString(r)||$.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!$.some(kn(this,ji),o=>$.isEqual(o,{code:n,lang:r}))){kn(this,ji).push({code:n,lang:r}),fetch(`${kn(this,dl)}/i18n/message`,{method:"put",headers:kn(this,ul),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),$o(this,ji,$.reject(kn(this,ji),s=>$.isEqual(s,{code:n,lang:r})))});return}}}ul=new WeakMap,dl=new WeakMap,ji=new WeakMap;function cE(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 UQ({apiUrl:t});function u(){return fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(g=>g.json()).catch(()=>Promise.resolve(s))}function d(){return fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(g=>g.json()).then(g=>g.reduce((m,v)=>({...m,[v.lang]:{...m[v.lang]||{},[v.code]:v.text}}),{}))}function h(g,m,v){return r||console.error(`Warning: Missing translation for key: "${g}"`),o&&($.isString(g)?g.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${g}`):c.handleMessage({code:g,lang:v}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),g}return Promise.all([u(),d()]).then(g=>{const[m,v]=g;function b(x){return $.get(v,x,{})}return E0(b,n,m,{allowMissing:r||o,onMissingKey:h})})}function HQ(e){const{defaultLocale:t,path:n}=e,r=[{locale:t,name:t}],o=new Headers({Accept:"application/json","Content-Type":"application/json"});function s(){return fetch(`${n}/languages.json`,{headers:o,method:"get"}).then(c=>c.json()).catch(()=>Promise.resolve(r))}function a(){return fetch(`${n}/messages.json`,{headers:o,method:"get"}).then(c=>c.json()).then(c=>c.reduce((u,d)=>({...u,[d.lang]:{...u[d.lang]||{},[d.code]:d.text}}),{}))}return Promise.all([s(),a()]).then(c=>{const[u,d]=c;function h(g){return $.get(d,g,{})}return E0(h,t,u,{allowMissing:!0})})}function GQ({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})}){const[r,o]=T.useState({loading:!0,languages:null});return T.useEffect(()=>{const 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 uE(e){const[t,n]=T.useState(),r=tS(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}cE(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const YQ=new Ui.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function KQ({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(sE,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(Jc,{})}),menu:u,name:d,copy:h,version:g="0.0.0",dataProvider:m,authProvider:v,i18nProvider:b,errorHandler:x,error:w,enableNotification:I=!1,enableRegistration:F=!1,enablePasswordRecover:E=!1,enableThemeToggler:k=!1,enableLocaleSwitcher:P=!1,queryClient:L=YQ,background:D,notificationAPI:Y="entities/notification",...Z}){zQ({apiUrl:n,errorHandler:x,catcherFn:ae=>{const q=ae==null?void 0:ae.toString(),z=["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(N=>q==null?void 0:q.includes(N));return new lE({catch:z,display:!z,log:!z&&o===!0,error:q})}});const ee=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:D,enableRegistration:F,enablePasswordRecover:E}):c,[c,d,g,h,D,s,F,E]),G=T.useMemo(()=>ae=>{const q=d?f.jsx(Eg,{title:d}):s,J=d?f.jsx(qT,{title:d}):a;return f.jsx(zT,{...ae,name:d,copy:h,version:g,logoMain:q,logoIcon:J,notification:Y,enableThemeToggler:k,enableNotification:I,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,Y,I,k,P]),le=uE({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:b});return le===void 0?f.jsx(f.Fragment,{}):le.error?f.jsx(eg,{initialConfig:t,children:f.jsx(im,{themeOverrides:e,children:f.jsx(iE,{})})}):f.jsx(EH,{children:f.jsx(Tw,{menu:u,children:f.jsx(eg,{initialConfig:t,children:f.jsx(aE,{theme:e,layout:G,notification:HT,queryClient:L,dataProvider:m,authProvider:v,i18nProvider:le,loginPage:ee,...Z})})})})}Object.defineProperty(M,"ArrayField",{enumerable:!0,get:()=>_.ArrayField}),Object.defineProperty(M,"ArrayInputContext",{enumerable:!0,get:()=>_.ArrayInputContext}),Object.defineProperty(M,"BooleanField",{enumerable:!0,get:()=>_.BooleanField}),Object.defineProperty(M,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>_.BulkDeleteWithConfirmButton}),Object.defineProperty(M,"ChipField",{enumerable:!0,get:()=>_.ChipField}),Object.defineProperty(M,"Confirm",{enumerable:!0,get:()=>_.Confirm}),Object.defineProperty(M,"CreateButton",{enumerable:!0,get:()=>_.CreateButton}),Object.defineProperty(M,"CreateContextProvider",{enumerable:!0,get:()=>_.CreateContextProvider}),Object.defineProperty(M,"CustomRoutes",{enumerable:!0,get:()=>_.CustomRoutes}),Object.defineProperty(M,"DeleteWithConfirmButton",{enumerable:!0,get:()=>_.DeleteWithConfirmButton}),Object.defineProperty(M,"DeleteWithUndoButton",{enumerable:!0,get:()=>_.DeleteWithUndoButton}),Object.defineProperty(M,"EditButton",{enumerable:!0,get:()=>_.EditButton}),Object.defineProperty(M,"EditContextProvider",{enumerable:!0,get:()=>_.EditContextProvider}),Object.defineProperty(M,"FieldTitle",{enumerable:!0,get:()=>_.FieldTitle}),Object.defineProperty(M,"FilterButton",{enumerable:!0,get:()=>_.FilterButton}),Object.defineProperty(M,"Form",{enumerable:!0,get:()=>_.Form}),Object.defineProperty(M,"FormDataConsumer",{enumerable:!0,get:()=>_.FormDataConsumer}),Object.defineProperty(M,"HttpError",{enumerable:!0,get:()=>_.HttpError}),Object.defineProperty(M,"I18nContextProvider",{enumerable:!0,get:()=>_.I18nContextProvider}),Object.defineProperty(M,"ListBase",{enumerable:!0,get:()=>_.ListBase}),Object.defineProperty(M,"ListToolbar",{enumerable:!0,get:()=>_.ListToolbar}),Object.defineProperty(M,"LoadingIndicator",{enumerable:!0,get:()=>_.LoadingIndicator}),Object.defineProperty(M,"Pagination",{enumerable:!0,get:()=>_.Pagination}),Object.defineProperty(M,"RaSimpleFormIterator",{enumerable:!0,get:()=>_.SimpleFormIterator}),Object.defineProperty(M,"RecordContextProvider",{enumerable:!0,get:()=>_.RecordContextProvider}),Object.defineProperty(M,"ReferenceArrayField",{enumerable:!0,get:()=>_.ReferenceArrayField}),Object.defineProperty(M,"ReferenceField",{enumerable:!0,get:()=>_.ReferenceField}),Object.defineProperty(M,"Resource",{enumerable:!0,get:()=>_.Resource}),Object.defineProperty(M,"ResourceContextProvider",{enumerable:!0,get:()=>_.ResourceContextProvider}),Object.defineProperty(M,"SaveButton",{enumerable:!0,get:()=>_.SaveButton}),Object.defineProperty(M,"SimpleFormIteratorContext",{enumerable:!0,get:()=>_.SimpleFormIteratorContext}),Object.defineProperty(M,"SimpleShowLayout",{enumerable:!0,get:()=>_.SimpleShowLayout}),Object.defineProperty(M,"SingleFieldList",{enumerable:!0,get:()=>_.SingleFieldList}),Object.defineProperty(M,"TabbedFormTabs",{enumerable:!0,get:()=>_.TabbedFormTabs}),Object.defineProperty(M,"TopToolbar",{enumerable:!0,get:()=>_.TopToolbar}),Object.defineProperty(M,"UrlField",{enumerable:!0,get:()=>_.UrlField}),Object.defineProperty(M,"ValidationError",{enumerable:!0,get:()=>_.ValidationError}),Object.defineProperty(M,"choices",{enumerable:!0,get:()=>_.choices}),Object.defineProperty(M,"email",{enumerable:!0,get:()=>_.email}),Object.defineProperty(M,"maxLength",{enumerable:!0,get:()=>_.maxLength}),Object.defineProperty(M,"maxValue",{enumerable:!0,get:()=>_.maxValue}),Object.defineProperty(M,"minLength",{enumerable:!0,get:()=>_.minLength}),Object.defineProperty(M,"minValue",{enumerable:!0,get:()=>_.minValue}),Object.defineProperty(M,"number",{enumerable:!0,get:()=>_.number}),Object.defineProperty(M,"regex",{enumerable:!0,get:()=>_.regex}),Object.defineProperty(M,"required",{enumerable:!0,get:()=>_.required}),Object.defineProperty(M,"useArrayInput",{enumerable:!0,get:()=>_.useArrayInput}),Object.defineProperty(M,"useAuthProvider",{enumerable:!0,get:()=>_.useAuthProvider}),Object.defineProperty(M,"useChoices",{enumerable:!0,get:()=>_.useChoices}),Object.defineProperty(M,"useChoicesContext",{enumerable:!0,get:()=>_.useChoicesContext}),Object.defineProperty(M,"useCreate",{enumerable:!0,get:()=>_.useCreate}),Object.defineProperty(M,"useCreateContext",{enumerable:!0,get:()=>_.useCreateContext}),Object.defineProperty(M,"useCreateController",{enumerable:!0,get:()=>_.useCreateController}),Object.defineProperty(M,"useCreateSuggestionContext",{enumerable:!0,get:()=>_.useCreateSuggestionContext}),Object.defineProperty(M,"useDataProvider",{enumerable:!0,get:()=>_.useDataProvider}),Object.defineProperty(M,"useEditContext",{enumerable:!0,get:()=>_.useEditContext}),Object.defineProperty(M,"useEditController",{enumerable:!0,get:()=>_.useEditController}),Object.defineProperty(M,"useGetIdentity",{enumerable:!0,get:()=>_.useGetIdentity}),Object.defineProperty(M,"useGetList",{enumerable:!0,get:()=>_.useGetList}),Object.defineProperty(M,"useGetMany",{enumerable:!0,get:()=>_.useGetMany}),Object.defineProperty(M,"useGetManyReference",{enumerable:!0,get:()=>_.useGetManyReference}),Object.defineProperty(M,"useGetOne",{enumerable:!0,get:()=>_.useGetOne}),Object.defineProperty(M,"useInput",{enumerable:!0,get:()=>_.useInput}),Object.defineProperty(M,"useListContext",{enumerable:!0,get:()=>_.useListContext}),Object.defineProperty(M,"useListController",{enumerable:!0,get:()=>_.useListController}),Object.defineProperty(M,"useLocaleState",{enumerable:!0,get:()=>_.useLocaleState}),Object.defineProperty(M,"useLocales",{enumerable:!0,get:()=>_.useLocales}),Object.defineProperty(M,"useNotify",{enumerable:!0,get:()=>_.useNotify}),Object.defineProperty(M,"usePermissions",{enumerable:!0,get:()=>_.usePermissions}),Object.defineProperty(M,"useRecordContext",{enumerable:!0,get:()=>_.useRecordContext}),Object.defineProperty(M,"useRefresh",{enumerable:!0,get:()=>_.useRefresh}),Object.defineProperty(M,"useRemoveFromStore",{enumerable:!0,get:()=>_.useRemoveFromStore}),Object.defineProperty(M,"useResetStore",{enumerable:!0,get:()=>_.useResetStore}),Object.defineProperty(M,"useResourceContext",{enumerable:!0,get:()=>_.useResourceContext}),Object.defineProperty(M,"useResourceDefinition",{enumerable:!0,get:()=>_.useResourceDefinition}),Object.defineProperty(M,"useResourceDefinitions",{enumerable:!0,get:()=>_.useResourceDefinitions}),Object.defineProperty(M,"useShowContext",{enumerable:!0,get:()=>_.useShowContext}),Object.defineProperty(M,"useShowController",{enumerable:!0,get:()=>_.useShowController}),Object.defineProperty(M,"useSimpleFormIterator",{enumerable:!0,get:()=>_.useSimpleFormIterator}),Object.defineProperty(M,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>_.useSimpleFormIteratorItem}),Object.defineProperty(M,"useStore",{enumerable:!0,get:()=>_.useStore}),Object.defineProperty(M,"useStoreContext",{enumerable:!0,get:()=>_.useStoreContext}),Object.defineProperty(M,"useTranslate",{enumerable:!0,get:()=>_.useTranslate}),Object.defineProperty(M,"useTranslateLabel",{enumerable:!0,get:()=>_.useTranslateLabel}),Object.defineProperty(M,"useUnselect",{enumerable:!0,get:()=>_.useUnselect}),Object.defineProperty(M,"useUnselectAll",{enumerable:!0,get:()=>_.useUnselectAll}),Object.defineProperty(M,"useUpdate",{enumerable:!0,get:()=>_.useUpdate}),Object.defineProperty(M,"useUpdateMany",{enumerable:!0,get:()=>_.useUpdateMany}),Object.defineProperty(M,"withLifecycleCallbacks",{enumerable:!0,get:()=>_.withLifecycleCallbacks}),M.ActionsField=PH,M.ActionsMenu=Fo,M.ActivatePage=EZ,M.AddTableRow=ug,M.Admin=aE,M.AnimateButton=Hj,M.AppBarStyled=TT,M.ApplicaAdmin=KQ,M.ArrayInput=OH,M.AttachmentField=uS,M.AttachmentInput=eG,M.AuthBackground=Jc,M.AutocompleteArrayInput=nG,M.AutocompleteInput=oG,M.Avatar=Lc,M.BooleanInput=sG,M.Breadcrumbs=Qx,M.BulkActionsToolbar=$T,M.BulkFloatingActionsToolbar=eZ,M.Button=Yu,M.CardForm=rS,M.ChangePasswordForm=rg,M.CircularWithLabel=Y2,M.CircularWithPath=K2,M.CoverField=fS,M.Create=RG,M.CreateInDialogButton=KX,M.Datagrid=sZ,M.DateAgoField=hS,M.DateField=BH,M.DateInput=cG,M.DateTimeInput=dG,M.Dot=Dp,M.Drawer=AT,M.DrawerHeader=iA,M.DrawerHeaderStyled=rA,M.DrawerToggle=OT,M.Edit=NG,M.EditInDialogButton=QX,M.EmailField=VH,M.Empty=lZ,M.EmptyClasses=Ti,M.Error=Dh,M.Field=ZS,M.FileField=gS,M.FileInput=pG,M.Footer=Ag,M.FormHeader=zG,M.FunctionField=zH,M.GenericErrorPage=iE,M.Header=PT,M.HeaderButton=ET,M.HeaderIconButton=gX,M.HeaderNotification=jT,M.HeaderProfile=MT,M.HeaderSpacer=FT,M.HeaderToggleButton=Ls,M.HorizontalBar=LT,M.IconButton=Nc,M.ImageField=dS,M.ImageInput=hG,M.ImpersonateUserButton=JX,M.LabeledArrayInput=lS,M.LabeledInput=fn,M.Layout=zT,M.LayoutContent=nA,M.LayoutProvider=$S,M.LayoutWrapper=WT,M.LinearWithIcon=X2,M.LinearWithLabel=Z2,M.List=bZ,M.ListItem=qX,M.Loadable=EX,M.Loader=UT,M.LoadingButton=z2,M.LocalStorage=Zw,M.LocaleButton=IT,M.LocalizedTextField=HH,M.LocalizedTextInput=vG,M.LoginPage=sE,M.Logo=oA,M.LongForm=Ft,M.MainCard=sr,M.MainIcon=Eg,M.MenuConfigProvider=Tw,M.MenuPopover=P1,M.NavCollapse=il,M.NavGroup=_T,M.NavItem=ol,M.NavList=BT,M.NavMenu=DT,M.Navigation=NT,M.Notification=HT,M.NotificationList=SZ,M.NumberInput=bG,M.OnboardingActionType=Ds,M.OnboardingContext=Ig,M.OnboardingModes=sl,M.OnboardingProvider=kX,M.OnboardingTip=RX,M.PopupTransition=G2,M.ReadonlyField=XH,M.RecordInput=xG,M.RecoverPage=IZ,M.ReferenceArrayInput=CG,M.ReferenceInput=wG,M.ReferenceManyField=vS,M.ReferenceManyInput=SG,M.RegisterPage=OZ,M.ResponsiveSection=kT,M.ScrollTop=JT,M.ScrollX=_X,M.SearchInput=TG,M.SelectArrayInput=IG,M.SelectInput=PG,M.ShadowBox=BX,M.Show=oY,M.SimpleBar=ST,M.SimpleForm=oS,M.SimpleFormIterator=sY,M.SimpleList=AZ,M.SizeField=JH,M.SmallIcon=qT,M.SmartTextInput=jG,M.StyledArrow=I1,M.TabbedForm=cg,M.TableFormIterator=Ru,M.TableFormIteratorContext=fg,M.TableFormIteratorItem=JS,M.TableFormIteratorItemContext=dg,M.TextField=mS,M.TextInput=Tr,M.ThemeColor=Tg,M.ThemeContext=$h,M.ThemeCustomizationProvider=im,M.ThemeProvider=eg,M.ThemeToggler=VT,M.TimeInput=LG,M.Toolbar=wi,M.Tooltip=Qc,M.Transitions=hi,M.createI18nProvider=cE,M.createJsonI18nProvider=HQ,M.getLocalizedValue=Qh,M.getPosition=O1,M.getThemeColor=Qt,M.getThemeShadow=hs,M.localizedValueHasAllLocales=ku,M.localizedValueHasAtLeastOneLocale=Qw,M.onboardingModesSchema=YT,M.onboardingTopicSchema=GT,M.parseTime=$w,M.useBreadcrumbs=Ew,M.useGetLocalizedValue=yH,M.useI18nLanguages=GQ,M.useI18nProvider=uE,M.useLayoutContext=pg,M.useLayoutDispatch=pY,M.useLayoutDrawerState=Si,M.useLayoutLogoState=tA,M.useLayoutMediaState=Nn,M.useLayoutNotificationsState=_u,M.useLayoutState=Ps,M.useLayoutThemeState=hY,M.useLocalStorage=Jh,M.useLocalizedValue=vH,M.useMemoizedObject=tS,M.useMenu=_h,M.useMenuConfig=Za,M.useMenuContext=Au,M.useOnboardingDataProvider=KT,M.useOnboardingTip=QT,M.usePopoverState=Ja,M.useRefDimensions=bH,M.useResourceDefaultValues=_G,M.useResourceTitle=qh,M.useRestartOnboarding=LX,M.useSx=Sr,M.useTableFormIterator=QS,M.useTableFormIteratorItem=XS,M.useThemeConfig=Tn,M.useThemeContext=tg,M.uuid=EU,M.withLayoutProvider=eA,Object.defineProperty(M,Symbol.toStringTag,{value:"Module"})});
|
|
215
|
+
`+(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 d=[];for(let h of Object.values(this.internalTests))h&&d.push(h);this.runTests({path:s,value:u,originalValue:a,options:n,tests:d},r,h=>{if(h.length)return o(h,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:d}=t,h=C=>{o||(o=!0,n(C,a))},g=C=>{o||(o=!0,r(C,a))},m=s.length,v=[];if(!m)return g([]);let b={value:a,originalValue:c,path:u,options:d,schema:this};for(let C=0;C<s.length;C++){const w=s[C];w(b,h,function(L){L&&(Array.isArray(L)?v.push(...L):v.push(L)),--m<=0&&g(v)})}}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 d=r[c];const h=Object.assign({},a,{strict:!0,parent:r,value:d,originalValue:s[c],key:void 0,[u?"index":"key"]:c,path:u||c.includes(".")?`${o||""}[${u?c:`"${c}"`}]`:(o?`${o}.`:"")+t});return(g,m,v)=>this.resolve(h)._validate(d,h,m,v)}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,d)=>{Sn.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new Sn(u,d,void 0,void 0,s)):a(d)}))}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 Sn.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new Sn(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Sn.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Sn.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):Os(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=Is({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=Is({message:n,name:"optionality",test(o){return o===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Vr.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Vr.notNull){return this.nullability(!1,t)}required(t=Vr.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=Vr.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),o=Is(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=Fw(t).map(s=>new Ci(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Iu(o,n):Iu.fromOptions(o,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=Is({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=Vr.oneOf){let r=this.clone();return t.forEach(o=>{r._whitelist.add(o),r._blacklist.delete(o)}),r.internalTests.whiteList=Is({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=Vr.notOneOf){let r=this.clone();return t.forEach(o=>{r._blacklist.add(o),r._whitelist.delete(o)}),r.internalTests.blacklist=Is({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,d,h)=>h.findIndex(g=>g.name===u.name)===d)}}}dr.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])dr.prototype[`${e}At`]=function(t,n,r={}){const{parent:o,parentPath:s,schema:a}=qU(this,t,n,r.context);return a[e](o&&o[s],Object.assign({},r,{parent:o,path:t}))};for(const e of["equals","is"])dr.prototype[e]=dr.prototype.oneOf;for(const e of["not","nope"])dr.prototype[e]=dr.prototype.notOneOf;const $U=()=>!0;function Nw(e){return new Vw(e)}class Vw extends dr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:$U},t))}}Nw.prototype=Vw.prototype;const eH=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function tH(e){const t=Xh(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 Xh(e){var t,n;const r=eH.exec(e);return r?{year:io(r[1]),month:io(r[2],1)-1,day:io(r[3],1),hour:io(r[4]),minute:io(r[5]),second:io(r[6]),millisecond:r[7]?io(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:io(r[10]),minuteOffset:io(r[11])}:null}function io(e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?((([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,oH=/^(?:[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,iH="^\\d{4}-\\d{2}-\\d{2}",sH="\\d{2}:\\d{2}:\\d{2}",aH="(([+-]\\d{2}(:?\\d{2})?)|Z)",lH=new RegExp(`${iH}T${sH}(\\.\\d+)?${aH}$`),cH=e=>oo(e)||e===e.trim(),uH={}.toString();function so(){return new Ww}class Ww extends dr{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===uH?t:o})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Vr.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=An.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=An.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=An.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||An.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=An.email){return this.matches(nH,{name:"email",message:t,excludeEmptyString:!0})}url(t=An.url){return this.matches(rH,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=An.uuid){return this.matches(oH,{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(lH,{name:"datetime",message:n||An.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||An.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=Xh(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||An.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=Xh(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=An.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:cH})}lowercase(t=An.lowercase){return this.transform(n=>oo(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toLowerCase()})}uppercase(t=An.uppercase){return this.transform(n=>oo(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>oo(n)||n===n.toUpperCase()})}}so.prototype=Ww.prototype;let dH=e=>e!=+e;function zw(){return new Uw}class Uw extends dr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!dH(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=_o.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=_o.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=_o.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=_o.moreThan){return this.test({message:n,name:"min",exclusive:!0,params:{more:t},skipAbsent:!0,test(r){return r>this.resolve(t)}})}positive(t=_o.positive){return this.moreThan(0,t)}negative(t=_o.negative){return this.lessThan(0,t)}integer(t=_o.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>oo(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=>oo(o)?o:Math[t](o))}}zw.prototype=Uw.prototype;let fH=new Date(""),pH=e=>Object.prototype.toString.call(e)==="[object Date]";class ju extends dr{constructor(){super({type:"date",check(t){return pH(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=tH(t),isNaN(t)?ju.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Ci.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=Gh.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=Gh.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)}})}}ju.INVALID_DATE=fH,ju.prototype;function hH(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=xi.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),Ci.isRef(c)&&c.isSibling?s(c.path,a):Kh(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return UU.array(Array.from(r),n).reverse()}function Hw(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 Gw(e){return(t,n)=>Hw(e,t)-Hw(e,n)}const gH=(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 Mu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Mu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Mu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Mu)}):"optional"in e?e.optional():e}const mH=(e,t)=>{const n=[...xi.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=xi.getter(xi.join(n),!0)(e);return!!(o&&r in o)};let Yw=e=>Object.prototype.toString.call(e)==="[object Object]";function vH(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const yH=Gw([]);function Zh(e){return new Kw(e)}class Kw extends dr{constructor(t){super({type:"object",check(n){return Yw(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=yH,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(g=>!this._nodes.includes(g))),u={},d=Object.assign({},n,{parent:u,__validating:n.__validating||!1}),h=!1;for(const g of c){let m=s[g],v=g in o;if(m){let b,C=o[g];d.path=(n.path?`${n.path}.`:"")+g,m=m.resolve({value:C,context:n.context,parent:u});let w=m instanceof dr?m.spec:void 0,I=w==null?void 0:w.strict;if(w!=null&&w.strip){h=h||g in o;continue}b=!n.__validating||!I?m.cast(o[g],d):o[g],b!==void 0&&(u[g]=b)}else v&&!a&&(u[g]=o[g]);(v!==g in u||u[g]!==o[g])&&(h=!0)}return h?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,d)=>{if(!c||!Yw(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||Ci.isRef(m)||h.push(m.asNestedTest({options:n,key:g,parent:d,parentPath:n.path,originalParent:a}))}this.runTests({tests:h,value:d,originalValue:a,options:n},r,g=>{o(g.sort(this._sortErrors).concat(u),d)})})}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=hH(t,n),r._sortErrors=Gw(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 Mu(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=xi.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return mH(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(gH)}noUnknown(t=!0,n=Yh.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=vH(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Yh.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(Uh.camelCase)}snakeCase(){return this.transformKeys(Uh.snakeCase)}constantCase(){return this.transformKeys(t=>Uh.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}}Zh.prototype=Kw.prototype;const Xw=Nw().test("function","Invalid function",e=>$.isFunction(e));class Zw{constructor(){yo(this,Pi);yo(this,Uo,[])}get(t){if(so().required().validateSync(t),kl(this,Pi,Ll).call(this)){const n=localStorage.getItem(t);return $.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return so().required().validateSync(t),kl(this,Pi,Ll).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){so().required().validateSync(t),Xw.validateSync(n),kl(this,Pi,Ll).call(this)&&(kn(this,Uo).push({key:t,callback:n}),window.addEventListener("storage",r=>{r.storageArea===localStorage&&r.key===t&&n(this.get(t))}))}unwatch(t,n){so().required().validateSync(t),Xw.optional().default($.identity).validateSync(n),kl(this,Pi,Ll).call(this)&&(n!==void 0?$o(this,Uo,$.reject(kn(this,Uo),r=>r.key===t&&r.callback===n)):$o(this,Uo,$.reject(kn(this,Uo),r=>r.key===t)))}}Uo=new WeakMap,Pi=new WeakSet,Ll=function(){return typeof window<"u"};function ku(e={},t=[],n={}){const{isEmpty:r=$.isEmpty}=n;return!$.some(t,o=>r((e??{})[o.locale]))}function Qw(e={},t=[],n={}){const{isEmpty:r=$.isEmpty}=n;return $.some(t,o=>!r((e??{})[o.locale]))}function Qh(e,t,n){if(!$.isPlainObject(e)||t===void 0)return;const r=$.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=$.isArray(r.fallbackLocales)&&!$.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=$.chain(a).map(c=>e[String(c)]).reject($.isUndefined).first().value(),s===void 0&&(s=$.chain(e).values().first().value())}return s}var Jw={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",a="second",c="minute",u="hour",d="day",h="week",g="month",m="quarter",v="year",b="date",C="Invalid Date",w=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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,L={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(q){var J=["th","st","nd","rd"],z=q%100;return"["+q+(J[(z-20)%10]||J[z]||J[0])+"]"}},E=function(q,J,z){var Q=String(q);return!Q||Q.length>=J?q:""+Array(J+1-Q.length).join(z)+q},j={s:E,z:function(q){var J=-q.utcOffset(),z=Math.abs(J),Q=Math.floor(z/60),N=z%60;return(J<=0?"+":"-")+E(Q,2,"0")+":"+E(N,2,"0")},m:function q(J,z){if(J.date()<z.date())return-q(z,J);var Q=12*(z.year()-J.year())+(z.month()-J.month()),N=J.clone().add(Q,g),re=z-N<0,W=J.clone().add(Q+(re?-1:1),g);return+(-(Q+(z-N)/(re?N-W:W-N))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:g,y:v,w:h,d,D:b,h:u,m:c,s:a,ms:s,Q:m}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},P="en",D={};D[P]=L;var F="$isDayjsObject",U=function(q){return q instanceof le||!(!q||!q[F])},K=function q(J,z,Q){var N;if(!J)return P;if(typeof J=="string"){var re=J.toLowerCase();D[re]&&(N=re),z&&(D[re]=z,N=re);var W=J.split("-");if(!N&&W.length>1)return q(W[0])}else{var X=J.name;D[X]=J,N=X}return!Q&&N&&(P=N),N||!Q&&P},ee=function(q,J){if(U(q))return q.clone();var z=typeof J=="object"?J:{};return z.date=q,z.args=arguments,new le(z)},G=j;G.l=K,G.i=U,G.w=function(q,J){return ee(q,{locale:J.$L,utc:J.$u,x:J.$x,$offset:J.$offset})};var le=function(){function q(z){this.$L=K(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[F]=!0}var J=q.prototype;return J.parse=function(z){this.$d=function(Q){var N=Q.date,re=Q.utc;if(N===null)return new Date(NaN);if(G.u(N))return new Date;if(N instanceof Date)return new Date(N);if(typeof N=="string"&&!/Z$/i.test(N)){var W=N.match(w);if(W){var X=W[2]-1||0,de=(W[7]||"0").substring(0,3);return re?new Date(Date.UTC(W[1],X,W[3]||1,W[4]||0,W[5]||0,W[6]||0,de)):new Date(W[1],X,W[3]||1,W[4]||0,W[5]||0,W[6]||0,de)}}return new Date(N)}(z),this.init()},J.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},J.$utils=function(){return G},J.isValid=function(){return this.$d.toString()!==C},J.isSame=function(z,Q){var N=ee(z);return this.startOf(Q)<=N&&N<=this.endOf(Q)},J.isAfter=function(z,Q){return ee(z)<this.startOf(Q)},J.isBefore=function(z,Q){return this.endOf(Q)<ee(z)},J.$g=function(z,Q,N){return G.u(z)?this[Q]:this.set(N,z)},J.unix=function(){return Math.floor(this.valueOf()/1e3)},J.valueOf=function(){return this.$d.getTime()},J.startOf=function(z,Q){var N=this,re=!!G.u(Q)||Q,W=G.p(z),X=function(be,we){var Ie=G.w(N.$u?Date.UTC(N.$y,we,be):new Date(N.$y,we,be),N);return re?Ie:Ie.endOf(d)},de=function(be,we){return G.w(N.toDate()[be].apply(N.toDate("s"),(re?[0,0,0,0]:[23,59,59,999]).slice(we)),N)},he=this.$W,fe=this.$M,ge=this.$D,ve="set"+(this.$u?"UTC":"");switch(W){case v:return re?X(1,0):X(31,11);case g:return re?X(1,fe):X(0,fe+1);case h:var Te=this.$locale().weekStart||0,Ce=(he<Te?he+7:he)-Te;return X(re?ge-Ce:ge+(6-Ce),fe);case d:case b:return de(ve+"Hours",0);case u:return de(ve+"Minutes",1);case c:return de(ve+"Seconds",2);case a:return de(ve+"Milliseconds",3);default:return this.clone()}},J.endOf=function(z){return this.startOf(z,!1)},J.$set=function(z,Q){var N,re=G.p(z),W="set"+(this.$u?"UTC":""),X=(N={},N[d]=W+"Date",N[b]=W+"Date",N[g]=W+"Month",N[v]=W+"FullYear",N[u]=W+"Hours",N[c]=W+"Minutes",N[a]=W+"Seconds",N[s]=W+"Milliseconds",N)[re],de=re===d?this.$D+(Q-this.$W):Q;if(re===g||re===v){var he=this.clone().set(b,1);he.$d[X](de),he.init(),this.$d=he.set(b,Math.min(this.$D,he.daysInMonth())).$d}else X&&this.$d[X](de);return this.init(),this},J.set=function(z,Q){return this.clone().$set(z,Q)},J.get=function(z){return this[G.p(z)]()},J.add=function(z,Q){var N,re=this;z=Number(z);var W=G.p(Q),X=function(fe){var ge=ee(re);return G.w(ge.date(ge.date()+Math.round(fe*z)),re)};if(W===g)return this.set(g,this.$M+z);if(W===v)return this.set(v,this.$y+z);if(W===d)return X(1);if(W===h)return X(7);var de=(N={},N[c]=r,N[u]=o,N[a]=n,N)[W]||1,he=this.$d.getTime()+z*de;return G.w(he,this)},J.subtract=function(z,Q){return this.add(-1*z,Q)},J.format=function(z){var Q=this,N=this.$locale();if(!this.isValid())return N.invalidDate||C;var re=z||"YYYY-MM-DDTHH:mm:ssZ",W=G.z(this),X=this.$H,de=this.$m,he=this.$M,fe=N.weekdays,ge=N.months,ve=N.meridiem,Te=function(we,Ie,ue,qe){return we&&(we[Ie]||we(Q,re))||ue[Ie].slice(0,qe)},Ce=function(we){return G.s(X%12||12,we,"0")},be=ve||function(we,Ie,ue){var qe=we<12?"AM":"PM";return ue?qe.toLowerCase():qe};return re.replace(I,function(we,Ie){return Ie||function(ue){switch(ue){case"YY":return String(Q.$y).slice(-2);case"YYYY":return G.s(Q.$y,4,"0");case"M":return he+1;case"MM":return G.s(he+1,2,"0");case"MMM":return Te(N.monthsShort,he,ge,3);case"MMMM":return Te(ge,he);case"D":return Q.$D;case"DD":return G.s(Q.$D,2,"0");case"d":return String(Q.$W);case"dd":return Te(N.weekdaysMin,Q.$W,fe,2);case"ddd":return Te(N.weekdaysShort,Q.$W,fe,3);case"dddd":return fe[Q.$W];case"H":return String(X);case"HH":return G.s(X,2,"0");case"h":return Ce(1);case"hh":return Ce(2);case"a":return be(X,de,!0);case"A":return be(X,de,!1);case"m":return String(de);case"mm":return G.s(de,2,"0");case"s":return String(Q.$s);case"ss":return G.s(Q.$s,2,"0");case"SSS":return G.s(Q.$ms,3,"0");case"Z":return W}return null}(we)||W.replace(":","")})},J.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},J.diff=function(z,Q,N){var re,W=this,X=G.p(Q),de=ee(z),he=(de.utcOffset()-this.utcOffset())*r,fe=this-de,ge=function(){return G.m(W,de)};switch(X){case v:re=ge()/12;break;case g:re=ge();break;case m:re=ge()/3;break;case h:re=(fe-he)/6048e5;break;case d:re=(fe-he)/864e5;break;case u:re=fe/o;break;case c:re=fe/r;break;case a:re=fe/n;break;default:re=fe}return N?re:G.a(re)},J.daysInMonth=function(){return this.endOf(g).$D},J.$locale=function(){return D[this.$L]},J.locale=function(z,Q){if(!z)return this.$L;var N=this.clone(),re=K(z,Q,!0);return re&&(N.$L=re),N},J.clone=function(){return G.w(this.$d,this)},J.toDate=function(){return new Date(this.valueOf())},J.toJSON=function(){return this.isValid()?this.toISOString():null},J.toISOString=function(){return this.$d.toISOString()},J.toString=function(){return this.$d.toUTCString()},q}(),ae=le.prototype;return ee.prototype=ae,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",b]].forEach(function(q){ae[q[1]]=function(J){return this.$g(J,q[0],q[1])}}),ee.extend=function(q,J){return q.$i||(q(J,le,ee),q.$i=!0),ee},ee.locale=K,ee.isDayjs=U,ee.unix=function(q){return ee(1e3*q)},ee.en=D[P],ee.Ls=D,ee.p={},ee})})(Jw);var qw=Jw.exports;const Ar=Qr(qw);function $w(e){const t=e.split(":");t.length===1&&t.push("00");const n=parseInt(t[0]),r=parseInt(t[1]);return Ar().hour(n).minute(r)}const Qa=new Zw;function bH(e,t,n){return function(r){const o=$.isFunction(r)?r(t):r;return Qa.set(e,o),n(o),o}}function Jh(e,t){var u;so().required().validateSync(e);const[n,r]=T.useState(Qa.get(e)??t),o=T.useRef(t),s=$.isEqual(o.current,t)?o.current:t,a=T.useRef(),c=a.current;return T.useEffect(()=>{r(Qa.get(e)??s)},[e,s,r]),T.useEffect(()=>{function d(h){r(h)}return Qa.watch(e,d),()=>{Qa.unwatch(e,d)}},[e,r]),(e!==(c==null?void 0:c.key)||!$.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:bH(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??$.noop]}function eS(e){const[t]=ne.useLocaleState();return e!==void 0?String(e):t}function xH(e,t){const n=eS(t==null?void 0:t.locale);return Qh(e,n,t)}function CH(e){const t=eS(e==null?void 0:e.locale);return T.useCallback(r=>Qh(r,t,e),[t,e])}function tS(e){if(!$.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{$.isEqual(e,t)||n(e)},[e,t]),t}function Ja(){const[e,t]=T.useState(null),n=!!e,r=T.useCallback(a=>t((a==null?void 0:a.currentTarget)??null),[t]),o=T.useCallback(()=>t(null),[t]),s=T.useCallback(a=>{n?o():r(a)},[n,r,o]);return{anchorEl:e,open:n,handleClick:r,handleClose:o,handleToggle:s}}function wH(e,t){const[n,r]=T.useState({width:1,height:1}),o=e.current;return T.useEffect(()=>{function s(){var d;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 h=((d=e.current)==null?void 0:d.getBoundingClientRect())??{width:0,height:0};c=h.width,u=h.height;break}}r({width:c,height:u})}const a=new ResizeObserver(s);return $.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function qh(e){const t=R.useRecordContext(),n=R.useTranslate(),r=R.useResourceContext(),o=t!=null&&t.id?"edit":"create";return T.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 Wr(){throw new Error("Method must be implemented")}const nS={fontFamily:"'Inter', sans-serif",menuOrientation:"vertical",miniDrawer:!1,container:!1,mode:"light",presetColor:"theme4",themeDirection:"ltr",appDefaultPath:"/",drawerWidth:260,horizontalMaxItems:6,spacing:2,setFontFamily:Wr,setMenuOrientation:Wr,setMiniDrawer:Wr,setContainer:Wr,setMode:Wr,setPresetColor:Wr,setThemeDirection:Wr,setAppDefaultPath:Wr,setDrawerWidth:Wr,setHorizontalMaxItems:Wr,isVerticalLayout:e=>!1,isHorizontalLayout:e=>!1};function SH(e){return e==="vertical"}function AH(e){return e==="horizontal"}const $h=T.createContext(nS);function eg({initialConfig:e,children:t}){const[n,r]=Jh("theme-config",{...nS,...e});function o(b){r(C=>({...C,fontFamily:b}))}function s(b){r(C=>({...C,menuOrientation:b}))}function a(b){r(C=>({...C,miniDrawer:b}))}function c(b){r(C=>({...C,container:b}))}function u(b){r(C=>({...C,mode:b}))}function d(b){r(C=>({...C,presetColor:b}))}function h(b){r(C=>({...C,themeDirection:b}))}function g(b){r(C=>({...C,appDefaultPath:b}))}function m(b){r(C=>({...C,drawerWidth:b}))}function v(b){r(C=>({...C,horizontalMaxItems:b}))}return f.jsx($h.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:SH,isHorizontalLayout:AH},children:t})}function tg(){return T.useContext($h)}function Tn(){return tg()}const TH=Ma(R.Toolbar,{slot:"Root"})(({theme:e})=>({...e.mixins.toolbar,backgroundColor:e.palette.background.paper,justifyContent:"flex-end",position:"initial !important","& .RaToolbar-defaultToolbar":{justifyContent:"right",paddingBottom:e.spacing(2),"& > *":{marginLeft:e.spacing(1)}},"& .MuiButtonBase-root":{marginLeft:e.spacing(1)}}));function wi(e){return f.jsx(TH,{...e})}function rS({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=Tn();return f.jsx(IH,{defaultValues:n,spacing:t||o,children:f.jsx(S.Grid,{container:!0,...r,spacing:t||o,children:e})})}function EH({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:d=12,...h}){const g=R.useTranslate(),m=R.useResourceContext(),{cardTitle:v,cardSubheader:b}=T.useMemo(()=>{const C=n||`resources.${m}.title`;return{cardTitle:g(C,{_:C}),cardSubheader:r!==null?g(r,{_:r}):null}},[m,r,n,g]);return f.jsx(S.Grid,{item:!0,...h,lg:a,md:c,sm:u,xs:d,children:f.jsx(sr,{content:t,title:v,subheader:b,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(wi,{children:f.jsx(R.SaveButton,{})}):s]})})})}const IH=pe(R.Form,{slot:"root"})(({theme:e,spacing:t})=>({backgroundColor:"transparent","& .RaToolbar-desktopToolbar":{marginTop:e.spacing(t*1.25),padding:0,minHeight:"unset"},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !important`,paddingRight:"0 !important",paddingLeft:"0 !important",paddingBottom:"0 !important"}}));rS.Section=EH;const OH=Ma(R.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function oS({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(wi,{children:f.jsx(R.SaveButton,{type:"button"})}),secondary:s=f.jsx(Lo,{children:f.jsx(R.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=qh(e),d=R.useRecordContext(),h=ip();return f.jsx(sr,{content:n,title:u,subheader:r,secondary:d!=null&&d.id?s:null,sx:{...a,"& .MuiToolbar-root":{paddingLeft:h.spacing(2.5),paddingRight:h.spacing(2.5),paddingBottom:h.spacing(2.5),paddingTop:t?h.spacing(2.5):0,borderTop:t?`1px solid ${h.palette.divider}`:void 0}},border:!t,divider:!0,children:f.jsx(OH,{toolbar:o,...c})})}const iS={openDialogs:[],getCurrentDialog:()=>null,openDialog:(e,t)=>{throw new Error(`openDialog not yet ready for: ${e}, ${t}`)},closeDialog:(e,t)=>{throw new Error(`closeDialog not yet ready for: ${e}, ${t}`)}},sS=T.createContext(iS);function PH(e){const[t,n]=T.useState(iS);function r(a,c){n(u=>({...u,openDialogs:[...u.openDialogs,a]})),c&&c()}function o(a,c){n(u=>({...u,openDialogs:u.openDialogs.filter(d=>d!==a)})),c&&c()}function s(){return t.openDialogs.length>0?t.openDialogs[t.openDialogs.length-1]:null}return f.jsx(sS.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function aS(){const e=T.useContext(sS);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function ng(){return aS()}function lS({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,fullWidth:c,...u}){const d=Nt.useTheme(),{getCurrentDialog:h}=ng(),{source:g,resource:m,isRequired:v}=u,{getFieldState:b,formState:C}=Qn.useFormContext(),{error:w}=b(g,C),I=h();return f.jsxs(S.Stack,{spacing:1,sx:{"& .MuiFormHelperText-root":{color:w?d.palette.error.main:d.palette.text.secondary,"& span":{display:"none"}},width:c?"100%":"auto",...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(S.InputLabel,{error:!!w,sx:{borderBottom:a?`1px solid ${d.palette.divider}`:"none",pb:a?1:0,mt:a?1:0,pt:1},children:f.jsx(R.FieldTitle,{label:e,source:g,resource:I||m,isRequired:v})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...u,label:n==="legend"?e:!1}):t,n==="label"&&r?f.jsx(S.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:!!w,children:r}):null]})}const jH=pe(R.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 MH({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(lS,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(jH,{source:n,label:!1,...s})})}function kH({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(Lo,{children:[e?f.jsx(R.EditButton,{}):null,t?f.jsx(R.DeleteWithConfirmButton,{}):null,n?f.jsx(R.CloneButton,{}):null]})}const cS=pe("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),LH=pe("ul")({display:"inline-block"});function FH(e){var h;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=ne.useRecordContext(e),c=ut.get(a,r),u=ne.useTranslate();if(!c)return n?f.jsx(S.Typography,{component:"span",variant:"body2",className:t,...s,children:n?u(n,{_:n}):null}):f.jsx(cS,{className:t,...s});if(Array.isArray(c))return f.jsx(LH,{className:t,...s,children:c.map((g,m)=>{var b;const v=o instanceof String?(b=ut.get(g,o))==null?void 0:b.toString():o;return f.jsx("li",{children:v},m)})});const d=o instanceof String?(h=ut.get(a,o))==null?void 0:h.toString():o;return f.jsx(cS,{className:t,...s,children:d})}function uS({entityId:e,property:t,disabled:n,showUser:r=!1,userResource:o="entities/user",resource:s,...a}){const[c,u]=T.useState(null),d=R.useRecordContext(a),h=R.useDataProvider(),g=R.useResourceContext(),m=R.useNotify(),v=T.useCallback(async w=>{w.preventDefault(),w.stopPropagation(),m("ra.notification.download",{type:"info"});const I=ut.get(d,a==null?void 0:a.source),L=(s||g).replace("entities/",""),E=e||(d==null?void 0:d.id),j=await h.getFile(`/attachments/${L}/${E}/${t||(a==null?void 0:a.source)}/${(I==null?void 0:I.id)||(d==null?void 0:d.id)}`),P=document.createElement("a");P.href=j,P.download=ut.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source)),P.click()},[h,d,e,g,s,t,a==null?void 0:a.source,a==null?void 0:a.title,m]),b=T.useMemo(()=>({...d,[a==null?void 0:a.source]:(d==null?void 0:d.src)||ut.get(d,a==null?void 0:a.source),[a==null?void 0:a.title]:(d==null?void 0:d.title)||ut.get(d,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),[d,a==null?void 0:a.source,a==null?void 0:a.title]),C=R.useTranslate();return T.useEffect(()=>{!d||!(d!=null&&d.userId)||r===!1||h.getOne(o,{id:d==null?void 0:d.userId}).then(({data:w})=>u(w)).catch(()=>u(null))},[d,h,o,r]),f.jsx(FH,{...a,disabled:n,record:b,onClick:v,title:f.jsxs(S.Box,{sx:{cursor:"pointer"},children:[f.jsx(S.Typography,{variant:"subtitle1",children:ut.get(b,(a==null?void 0:a.title)||(a==null?void 0:a.source))}),f.jsxs(S.Typography,{variant:"caption",color:"secondary",children:[ut.get(b,"sizeDescription"),r&&c?" | ":null,r&&c?C("ra.attachment.info",{user:c==null?void 0:c.name,created:Ar(b==null?void 0:b.createdAt).format("DD/MM/YYYY HH:mm")}):null]})]})})}const DH=pe(R.ImageField,{slot:"root"})(()=>({}));function dS(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(DH,{...e,source:t})}function fS({width:e=150,height:t=150,circle:n=!1,justify:r="flex-start",record:o,sx:s,...a}){const c=T.useMemo(()=>({width:typeof e=="number"?`${e}px !important`:`${e} !important`,height:typeof t=="number"?`${t}px !important`:`${t} !important`,borderRadius:n?"50%":1.5,...s}),[e,t,n,s]),u=R.useRecordContext(),d=o||u;return f.jsx(dS,{sx:h=>({margin:0,display:"flex",justifyContent:r,"& img":{margin:"0px !important",border:`1px solid ${h.palette.divider}`,objectFit:"cover !important",...c,minWidth:c.width,minHeight:c.height}}),...a,record:d})}var _H={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,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])+"]"}}})})(_H);var RH={exports:{}};(function(e,t){(function(n,r){e.exports=r(qw)})(yn,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})})(RH);var pS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(yn,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(d,h,g,m){return s.fromToBase(d,h,g,m)}o.en.relativeTime=a,s.fromToBase=function(d,h,g,m,v){for(var b,C,w,I=g.$locale().relativeTime||a,L=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"}],E=L.length,j=0;j<E;j+=1){var P=L[j];P.d&&(b=m?o(d).diff(g,P.d,!0):g.diff(d,P.d,!0));var D=(n.rounding||Math.round)(Math.abs(b));if(w=b>0,D<=P.r||!P.r){D<=1&&j>0&&(P=L[j-1]);var F=I[P.l];v&&(D=v(""+D)),C=typeof F=="string"?F.replace("%d",D):F(D,h,P.l,w);break}}if(h)return C;var U=w?I.future:I.past;return typeof U=="function"?U(C):U.replace("%s",C)},s.to=function(d,h){return c(d,h,this,!0)},s.from=function(d,h){return c(d,h,this)};var u=function(d){return d.$u?o.utc():o()};s.toNow=function(d){return this.to(u(this),d)},s.fromNow=function(d){return this.from(u(this),d)}}})})(pS);var BH=pS.exports;const NH=Qr(BH);Ar.extend(NH);function hS(e){const t=R.useRecordContext(e),[n]=R.useLocaleState(),r=T.useMemo(()=>Ar(ut.get(t,e==null?void 0:e.source)).locale(n).fromNow(),[t,e==null?void 0:e.source,n]);return f.jsxs(f.Fragment,{children:[f.jsx(R.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(S.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const VH=pe(R.DateField,{slot:"Root"})(()=>({}));function WH({variant:e="body1",...t}){return f.jsx(VH,{...t,variant:e})}const zH=pe(R.EmailField,{slot:"Root"})(()=>({}));function UH({variant:e="body1",...t}){return f.jsx(zH,{...t,variant:e})}const HH=pe(R.FileField,{slot:"root"})(()=>({}));function gS({...e}){const t=R.useRecordContext(e),n=T.useCallback(r=>{r.preventDefault(),r.stopPropagation();const o=ut.get(t,`_${e==null?void 0:e.source}`,ut.get(t,e==null?void 0:e.source)),s=ut.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 f.jsx(HH,{...e,record:t,onClick:n})}function GH({variant:e="body1",...t}){return f.jsx(R.FunctionField,{...t,variant:e})}const YH=pe(R.TextField,{slot:"Root"})(()=>({}));function mS({variant:e="body1",...t}){return f.jsx(YH,{...t,variant:e})}function KH(e){const t=S.useTheme(),n=ne.useLocales(),{source:r=""}=e,s=ne.useRecordContext(e)[r],a=!ku(s,n),c=Sr(e,{flex:1}),[u]=ne.useLocaleState(),d=T.useMemo(()=>a?f.jsx(Ke.FlagFilled,{style:{color:t.palette.warning.main}}):f.jsx(Ke.FlagOutlined,{}),[a,t.palette.warning.main]),h=T.useMemo(()=>f.jsx(S.Stack,{children:$.map(n,(g,m)=>f.jsx(S.Typography,{children:`${g.locale.toUpperCase()}: ${(s??{})[g.locale]??""}`},m))}),[s,n]);return f.jsx(Qc,{title:h,arrow:!1,children:f.jsxs(S.Stack,{alignItems:"center",direction:"row",gap:1,children:[d,f.jsx(mS,{...e,source:`${r}.${u}`,sx:c})]})})}const XH=pe("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"}}));function ZH({source:e,defaultValue:t=" ",...n}){const r=R.useRecordContext(n),o=ut.get(r,e,t);return f.jsx(S.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function QH({title:e,children:t}){return t==null?null:typeof e=="string"||e===!0?f.jsx(S.Tooltip,{title:e,placement:"top",children:t}):t}function JH({label:e,source:t,defaultValue:n=" ",children:r=f.jsx(ZH,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=aS(),u=R.useRecordContext(s),d=R.useResourceContext(s),h=c(),g=T.useMemo(()=>o===!1?!1:typeof o=="function"?o(u):typeof o=="string"?ut.get(u,o,o):o,[u,o]),m=Sr(s,{width:s!=null&&s.fullWidth?"100%":"auto"});return f.jsx(QH,{title:g,children:f.jsxs(f.Fragment,{children:[f.jsx(S.InputLabel,{sx:{pt:1},children:f.jsx(R.FieldTitle,{label:e,source:t,resource:h||d})}),f.jsx(XH,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function qH({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const $H=Ma(qH,{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:"contents"}}},"& .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 vS(e){return f.jsx($H,{...e,children:f.jsx(R.ReferenceManyField,{pagination:f.jsx(R.Pagination,{}),...e})})}function eG({source:e,...t}){const n=R.useRecordContext(t),r=ut.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 f.jsx(S.Typography,{component:"span",variant:"body1",...t,children:c})}function fn({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Kt(),{getCurrentDialog:d}=ng(),{source:h,resource:g,isRequired:m}=c,{fieldState:{invalid:v}}=R.useInput(c),b=d();return f.jsxs(S.Stack,{spacing:1,sx:{width:c!=null&&c.fullWidth?"100%":"auto","& .MuiFormHelperText-root":{pb:0,color:v?u.palette.error.main:u.palette.text.secondary,"& span":{display:"none"}},...o},children:[n==="label"&&e!==!1&&s!==!1&&f.jsx(S.InputLabel,{error:v===!0,sx:{borderBottom:a?`1px solid ${u.palette.divider}`:"none",pt:.5,pb:a?1:0,mt:a?1:0},children:f.jsx(R.FieldTitle,{label:e,source:h,resource:b||g,isRequired:m})}),T.isValidElement(t)?T.cloneElement(t,{...t.props,...c,label:n==="legend"?e:!1}):t,r?f.jsx(S.FormHelperText,{sx:{pl:1.8,pb:2,marginTop:"0 !important"},error:v===!0,children:r}):null]})}function tG(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const nG=pe(R.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}},...tG(e)}));function rG({children:e=f.jsx(uS,{title:"name",source:"path"}),multiple:t=!1,disabled:n=!1,type:r="attachment",...o}){const s=R.useRecordContext(o),a=o==null?void 0:o.source,c=s==null?void 0:s.id;return R.useInput({source:`__${r}__${o==null?void 0:o.source}`,defaultValue:o==null?void 0:o.source}),f.jsx(fn,{...o,disabled:n,children:f.jsx(nG,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const oG=pe(R.AutocompleteArrayInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"},"& .MuiOutlinedInput-root.MuiInputBase-sizeSmall:has(.MuiChip-root)":{paddingBottom:"4px"},"& .MuiAutocomplete-tag":{margin:"0px 4px 4px 0px"}}));function iG({size:e="small",...t}){return f.jsx(fn,{...t,children:f.jsx(oG,{size:e})})}const sG=pe(R.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function aG({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(fn,{...r,children:f.jsx(sG,{size:e})})}const lG=pe(R.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function cG({...e}){const t=Nt.useTheme();return f.jsx(fn,{...e,children:f.jsx(lG,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const uG=4,dG=pe(R.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function fG(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Ar(s).year().toString().length>uG?o.target.value=t:n(s)},[t]);return f.jsx(fn,{...e,children:f.jsx(dG,{...e,onInput:r})})}const pG=pe(R.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function hG(e){return f.jsx(fn,{...e,children:f.jsx(pG,{})})}const gG=pe(R.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 mG({children:e=f.jsx(gS,{source:"",title:""}),title:t,...n}){const r=Qn.useWatch({name:n.source}),o=R.useRecordContext(n),{source:s}=n,a=T.useMemo(()=>{if(r&&(r!=null&&r.title))return r==null?void 0:r.title;const c=ut.get(o,s);if(c){const u=c.split("__");return u.length>0?u[u.length-1]:c}return c},[o,s,r]);return f.jsx(fn,{...n,children:f.jsx(gG,{children:T.cloneElement(e,{...e.props,title:t||s,source:s,record:{...o,[s]:(r==null?void 0:r.title)||ut.get(o,s),[`_${s}`]:(r==null?void 0:r.src)||ut.get(o,`_${s}`),[t||s]:a}})})})}function vG({children:e=f.jsx(fS,{}),title:t,multiple:n=!1,...r}){const o=Qn.useWatch({name:r.source}),s=R.useRecordContext(r),{source:a}=r;return R.useInput({source:`__image__${r==null?void 0:r.source}`,defaultValue:r==null?void 0:r.source}),f.jsx(fn,{...r,multiple:n,children:f.jsx(R.ImageInput,{accept:"image/*",children:T.cloneElement(e,{...e.props,title:t,source:a,record:{...s,[a]:(o==null?void 0:o.title)||ut.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||ut.get(s,`_${a}`)}})})})}function Tr(e){return f.jsx(fn,{...e,children:f.jsx(R.TextInput,{})})}const yG={vertical:"bottom",horizontal:"right"},bG={vertical:"top",horizontal:"right"};function xG({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=ne.useLocales(),c=T.useCallback((D="ra.validation.required",F="ra.validation.required_locale")=>U=>{if(e&&!t&&!Qw(U,a))return D;if(t&&(!$.has(U,t)||$.isEmpty($.get(U,t))))return{message:F,args:{locale:t}};if(!e&&r&&!ku(U,a))return D},[e,t,a,r]),u=T.useMemo(()=>ne.composeValidators(n,c()),[n,c]),{fieldState:d}=ne.useInput({...o,validate:u}),{error:h}=d,g=Qn.useWatch({name:s}),m=!ku(g,a),[v]=ne.useLocaleState(),[b,C]=T.useState(v),[w,I]=T.useState(null),L=!!w,E=T.useCallback(D=>I(L?null:D.currentTarget),[L,I]),j=T.useCallback(()=>I(null),[I]),P=T.useMemo(()=>$.map(a,(D,F)=>f.jsx(S.MenuItem,{onClick:()=>{C(D.locale),j()},children:f.jsx(S.ListItemText,{primary:`${D.locale.toUpperCase()}: ${(g??{})[D.locale]??""}`})},F)),[a,C,j,g]);return f.jsx(fn,{...o,validate:u,helperText:h!=null&&h.message?f.jsx(ne.ValidationError,{error:h==null?void 0:h.message}):o==null?void 0:o.helperText,children:f.jsx(f.Fragment,{children:f.jsxs(S.Box,{flex:1,children:[$.map(a,(D,F)=>f.jsx(Tr,{...o,source:`${s}.${D.locale}`,sx:{width:"100%",display:D.locale===b?"inline-flex":"none"},label:!1,helperText:!1,required:!1,InputProps:{endAdornment:f.jsx(S.Chip,{label:f.jsx(S.Typography,{variant:"button",children:b}),size:"small",onClick:E,color:m?"warning":void 0})}},F)),f.jsx(S.Menu,{anchorEl:w,open:L,anchorOrigin:yG,transformOrigin:bG,onClose:j,children:P})]})})})}const CG=pe(R.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function wG(e){return f.jsx(fn,{...e,children:f.jsx(CG,{})})}function SG({source:e,minWidth:t=300,children:n}){const r=R.useResourceContext(),o=R.useRecordContext(),[s,a]=T.useState(ut.get(o,e,"")),[c,u]=T.useState(!1),d=T.useCallback(b=>a(b.target.value),[]),h=R.useDataProvider(),g=T.useCallback(b=>{b.key==="Enter"&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,o,e]),m=T.useCallback(()=>{ut.get(o,e)!==s&&(u(!0),h.update(r,{id:o.id,data:{...o,[e]:s,_changed:e},previousData:o}).then(()=>u(!1)))},[s,h,r,e,o]),v=T.useCallback(b=>{u(!0),h.update(r,{id:o.id,data:{...o,[e]:b,_changed:e},previousData:o}).then(()=>u(!1))},[h,r,e,o]);return T.useEffect(()=>a(ut.get(o,e)),[o,e]),n?T.cloneElement(n,{...n.props,source:e,value:s,onChange:v}):f.jsx(S.TextField,{value:s,disabled:c,onChange:d,onKeyPress:g,onBlur:m,style:{minWidth:t,width:"100%"},multiline:!0,InputProps:{"arial-label":"naked"},size:"small"})}function AG({children:e,...t}){const n=T.Children.only(e);return f.jsx(R.ReferenceArrayInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function TG({children:e,...t}){const n=T.Children.only(e);return f.jsx(R.ReferenceInput,{...t,children:T.cloneElement(n,{...t,source:n.props.source||t.source})})}function EG({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(R.ResourceContextProvider,{value:e,children:f.jsx(vS,{perPage:5,pagination:f.jsx(R.Pagination,{}),...s,reference:e,target:t,children:f.jsxs(f.Fragment,{children:[f.jsx(R.ListToolbar,{filters:r,actions:o}),n]})})})}const IG=pe(R.SearchInput,{slot:"root"})(()=>({}));function OG(e){return f.jsx(IG,{...e})}const PG=pe(R.SelectArrayInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiFormLabel-root.MuiInputLabel-root":{marginTop:"-3px"},"& .MuiInputLabel-root.MuiInputLabel-shrink":{marginTop:0},"& .MuiOutlinedInput-input:has(.MuiChip-root)":{paddingTop:"4px",paddingBottom:"6px",paddingLeft:"6px"}}));function jG({optionText:e="name",optionValue:t="id",...n}){return f.jsx(fn,{...n,children:f.jsx(PG,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const MG=pe(R.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function kG(e){return f.jsx(fn,{...e,children:f.jsx(MG,{})})}function LG({multiline:e=!1,...t}){var u,d;const n=R.useTranslate(),r=R.maxLength(t==null?void 0:t.maxLength,"app.input.max_length_error"),o=(d=(u=Qn.useController({name:t==null?void 0:t.source}))==null?void 0:u.field)==null?void 0:d.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),f.jsx(Tr,{...t,validate:a,helperText:s,multiline:e,inputProps:{maxLength:t==null?void 0:t.maxLength}})}function FG(e){if(!e)return"";const t=$w(e);return t?t.format("HH:mm"):""}function DG(e){return e}const _G=pe(R.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function RG({parse:e=DG,format:t=FG,...n}){return f.jsx(fn,{...n,children:f.jsx(_G,{parse:e,format:t,...n})})}function rg({onSuccess:e,firstAccess:t}){const{spacing:n}=Tn(),[r,o]=T.useState(!1),s=ne.useAuthProvider(),a=ne.useTranslate(),c=ne.useNotify(),u=T.useCallback(d=>{const{oldPassword:h,newPassword:g}=d;o(!0),s==null||s.changePassword(h,g).then(()=>{c("ra.auth.password_changed"),e()}).catch(m=>{c((m==null?void 0:m.message)||(m==null?void 0:m.toString()),{type:"error"})}).finally(()=>o(!1))},[s,e,c]);return f.jsx(ne.ResourceContextProvider,{value:"user/change-password",children:f.jsx(ne.EditContextProvider,{value:{record:{},resource:"user/change-password",save:u},children:f.jsx(oS,{onSubmit:u,toolbar:f.jsx(wi,{children:f.jsx(R.SaveButton,{disabled:r})}),children:f.jsxs(S.Grid,{container:!0,spacing:n,children:[t===!0&&f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Alert,{severity:"warning",children:[f.jsx(S.AlertTitle,{children:a("ra.auth.first_access.change_password")}),a("ra.auth.first_access.change_password_helper")]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsx(Tr,{source:"oldPassword",type:"password",validate:ne.required()})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsx(Tr,{source:"newPassword",type:"password",validate:ne.required()})})]})})})})}const yS=T.createContext({});function BG(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=R.useResourceContext(),o=R.useDataProvider(),{search:s}=ei.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!$.isFunction(o.get))return Promise.resolve({});const m={};return new URLSearchParams(s??"").forEach((v,b)=>{m[b]=v}),o.get(a,m).then(v=>v.data).then(v=>{const{responseCode:b,value:C}=v;return b==="ok"?C:Promise.reject(v)})},[t,s,o,a]),u=T.useMemo(()=>$.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ui.useQuery(u),g=$.omit(e,["useDefaults"]);return h?f.jsx(S.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(S.CircularProgress,{})}):f.jsx(yS.Provider,{value:d??{},children:f.jsx(R.Create,{...g,children:e.children})})}const NG=pe(BG,{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":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !important`,paddingTop:"0 !important"},"& .RaCreate-main:has(.LongFormView)>.MuiPaper-root:first-of-type":{overflow:"visible"},"& .RaCreate-main:has(.tabbed-form) .MuiTableContainer-root":{width:"inherit"}}));function VG(){return T.useContext(yS)}const WG=pe(R.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":{paddingLeft:`${e.spacing(2.5)} !important`,paddingRight:`${e.spacing(2.5)} !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 zG(e){return f.jsx(WG,{...e})}const UG=pe(S.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),HG=pe(S.Divider)(({theme:e})=>({marginLeft:`-${e.spacing(2.5)}`,marginRight:`-${e.spacing(2.5)}`,marginBottom:e.spacing(2),width:`calc(100% + ${e.spacing(5)})`}));function GG({title:e,divider:t=!0,variant:n="h5"}){const r=R.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(UG,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(HG,{}):null]})}function og(e){return e.id??e.label}function bS(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function YG(e){return $.map(e,"id")}function Lu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function xS(e,t){const n=e!==void 0?Lu(e):0;return $.chain(t).filter(o=>e!==void 0?bS(e,o.id):!0).filter(o=>Lu(o.id)===n+1).value()}function KG(e,t){var s;const n=$.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return $.extend(n,{formRootPath:o});case"setSyncWithLocation":return $.extend(n,{syncWithLocation:o});case"setErrorCount":return $.extend(n,{errorCount:o});case"setActiveItem":return $.includes(YG(e.items),o)?$.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return $.extend(n,{items:$.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=$.isString(o)?o:o.id,c=$.chain(n.items).clone().reject(u=>u.id===a).value();return $.extend(n,{items:c}),n.activeItem===a&&$.extend(n,{activeItem:((s=$.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const XG={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},CS=T.createContext(void 0);function wS(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ei.useLocation(),[s,a]=T.useReducer(KG,$.cloneDeep(XG)),{formRootPath:c,items:u}=s,d=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{const h=["entities/:resource/create/*",":resource/create/*","entities/:resource/:id/show/*",":resource/:id/show/*","entities/:resource/:id/*",":resource/:id/*"];r!==void 0&&h.push(r);const g=$.chain(h).map(v=>ei.matchPath(v,o)).reject(v=>v===null).first().value(),m=g==null?void 0:g.pathnameBase;m!==void 0&&m!==c&&a({type:"setFormRootPath",payload:m})},[o,c,r]),T.useEffect(()=>{a({type:"setSyncWithLocation",payload:!!t})},[t,a]),T.useEffect(()=>{a({type:"setErrorCount",payload:!!n})},[n,a]),T.useEffect(()=>{var h;if(t&&c!==void 0){let g=o.replace(c,"").replace(new RegExp(/^\/?/),"");$.isEmpty(g)&&(g=((h=$.chain(u).filter(m=>xS(m.id,u).length===0).orderBy([m=>Lu(m.id),m=>m.index]).first().value())==null?void 0:h.id)??void 0),a({type:"setActiveItem",payload:g})}},[a,c,o,u,t]),f.jsx(CS.Provider,{value:d,children:e.children})}function SS(){const e=T.useContext(CS);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function qa(){return SS().state}function ig(){return SS().dispatch}function AS(){return qa().formRootPath}function TS(){return qa().activeItem}function ES(){return qa().items}function IS(){return qa().syncWithLocation}function OS(){return qa().errorCount}function PS(){const e=ig();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function jS(){const e=ig();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function MS(){const e=ig();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const ZG=pe(S.Grid,{name:"LongFormView",slot:"Root"})(({theme:e})=>({"& .MuiToolbar-root.RaToolbar-desktopToolbar":{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")]:{width:"auto !important",marginRight:0}},"& .RaToolbar-mobileToolbar":{paddingTop:`${e.spacing(2.5)} !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 kS(e){const{spacing:t}=Tn(),{spacing:n=t}=e,r=$.omit(e,["spacing"]);return f.jsx(R.Form,{...r,className:"LongFormView",children:f.jsx(ZG,{container:!0,spacing:n*2,children:e.children})})}function LS(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=$.omit(e,["disposition"]);return f.jsx(S.Grid,{...n,item:!0,...t,children:e.children})}function FS(e){const t=TS();return t===void 0?!1:e===t||bS(e,t)}function DS(e){const t=ES();return T.useMemo(()=>xS(e,t),[t,e])}function QG(){const e=AS(),{search:t}=ei.useLocation(),n=ei.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function _S(){const e=DS();return f.jsx(S.Card,{variant:"outlined",children:f.jsx(S.List,{sx:{"& .MuiListItemButton-root.Mui-selected":{borderColor:"palette.primary.main",borderRightStyle:"solid",borderRightWidth:2},"& .MuiListItemAvatar-root":{minWidth:24}},children:$.map(e,(t,n)=>f.jsx(sg,{...t},n))})})}function sg(e){const t=ne.useTranslate()??$.identity,n=RS(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=Tn(),[v,b]=T.useState(r),C=T.useCallback(L=>{b(!v),a(L)},[a,v]),w=s!==void 0,I=$.omit(e,["label","icon","selected","badge"]);return T.useEffect(()=>{r&&!v&&b(r)},[r,v,b]),f.jsxs(f.Fragment,{children:[f.jsx(S.ListItem,{...I,disablePadding:!0,children:f.jsxs(S.ListItemButton,{selected:r?!d:null,onClick:C,sx:{pl:m*h},children:[w?f.jsx(S.ListItemIcon,{children:s}):null,f.jsx(S.ListItemText,{inset:!w,primary:g===0?t(o):f.jsx(S.Badge,{variant:"dot",color:"error",sx:{"& > .MuiBadge-badge":{transform:"scale(1) translate(125%, 0)"}},children:t(o)})}),c?f.jsx(S.ListItemAvatar,{children:f.jsx(Fc,{type:"filled",size:"xs",color:c.color??"default",children:c.content})}):null,d?v?f.jsx(Ln.ExpandLess,{}):f.jsx(Ln.ExpandMore,{}):null]})}),d?f.jsx(S.Collapse,{in:v,timeout:"auto",children:f.jsx(S.List,{children:$.map(u,(L,E)=>f.jsx(sg,{...L},E))})}):null]})}function RS(e){const{id:t}=e,n=FS(t),r=Lu(t),o=QG(),s=IS(),a=PS(),c=DS(t),u=!$.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),$.isFunction(e.onClick)&&e.onClick(g)},[a,o,e,s,u]);return T.useMemo(()=>({...e,selected:n,onClick:d,items:c,isGroup:u,level:r}),[e,n,d,c,u,r])}var JG=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},BS=e=>e.firstChild?e.firstChild.offsetParent===e:!0,qG=(e,t)=>{let n=e,r=0;BS(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},$G=e=>{let t=e.parentElement;for(;t&&getComputedStyle(t,null).getPropertyValue("display")==="contents";)t=t.parentElement;return t||window},$a=null;typeof CSS<"u"&&CSS.supports&&(CSS.supports("position","sticky")?$a="sticky":CSS.supports("position","-webkit-sticky")&&($a="-webkit-sticky"));var Fu=!1;try{const e=Object.defineProperty({},"passive",{get(){Fu={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var ag=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,Fu),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}},eY=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}},tY=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=JG(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const F=g();F!==E&&j(F),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=F=>{const{offsetTop:U,height:K}=v,{naturalTop:ee}=w,{height:G}=I;return F+U+K>=ee+G+L+o},g=()=>{const{height:F}=v,{height:U}=I;return U+s+o<=F?3:h(d)?1:2},m=a!==window&&BS(a),v=ag({el:a,onChange:u,unsubs:t,measure:({height:F,top:U})=>({height:F,offsetTop:m?U:0})}),b=$G(e),C=b===window?{top:0,bottom:0}:eY(b),w=ag({el:b,onChange:u,unsubs:t,measure:({height:F})=>({height:F-C.top-C.bottom,naturalTop:b===window?0:qG(b,a)+C.top+v.offsetTop})}),I=ag({el:e,onChange:u,unsubs:t,measure:({height:F})=>({height:F})});let L=0,E=g();const j=F=>{const U=E;if(E=F,U===2&&(L=-1),F===3){e.style.position=$a,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:K,offsetTop:ee}=v,{height:G,naturalTop:le}=w,{height:ae}=I;if(F===2)if(e.style.position="relative",L=U===0?Math.max(0,ee+d-le+s):Math.max(0,ee+d+K-(le+ae+o)),r){const q=Math.max(0,G-ae-L);e.style.bottom=`${q}px`}else e.style.top=`${L}px`;else e.style.position=$a,F===1?r?e.style.bottom=`${o}px`:e.style.top=`${K-ae-o}px`:r?e.style.bottom=`${K-ae-o}px`:e.style.top=`${s}px`};j(E);const P=F=>{if(F===d)return;const U=F-d;if(d=F,E===3)return;const{offsetTop:K,height:ee}=v,{naturalTop:G,height:le}=w,{height:ae}=I;if(U>0)if(E===0){if(F+K+s>G){const q=Math.max(0,K+d-G+s);F+K+ee<=G+ae+q+o?j(2):j(1)}}else E===2&&h(F)&&j(1);else if(E===1){if(K+F+ee<G+le+o){const q=Math.max(0,K+d+ee-(G+ae+o));K+F+s>=G+q?j(2):j(0)}}else E===2&&K+F+s<G+L&&j(0)},D=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",D,Fu),a.addEventListener("mousewheel",D,Fu),t.push(()=>a.removeEventListener("scroll",D),()=>a.removeEventListener("mousewheel",D))},nY=({offsetTop:e=0,offsetBottom:t=0,bottom:n=!1}={})=>{const[r,o]=T.useState(null);return T.useEffect(()=>{if(!r||!$a)return;const s=[];return tY(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},rY=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=nY({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},oY=rY,NS=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(NS||{});function VS(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=$.omit(e,["sticky","disposition","spacing"]),s=t?oY:S.Box,a=T.useMemo(()=>t?{offsetTop:74,offsetBottom:r*2}:{},[t,r]);return f.jsx(S.Grid,{...o,item:!0,...n,children:f.jsx(s,{...a,children:f.jsx(S.Stack,{spacing:r,children:e.children})})})}function WS(e){return f.jsx(f.Fragment,{children:e.children})}function zS(e){const{children:t}=e;return T.useMemo(()=>{const r={top:[],bottom:[]};return T.Children.forEach(t,o=>{if(T.isValidElement(o)&&(o==null?void 0:o.type)===WS){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function US(e=[],t){const n=$.isArray(e)?e:[e],r=$.filter(n,o=>T.isValidElement(o));$.each(r,o=>{var s;t(o),US(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}function HS(e){const{errors:t}=Qn.useFormState(),n=OS(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=og(e),d=jS(),h=MS(),g=FS(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):US(c,b=>{var C;((C=b==null?void 0:b.props)==null?void 0:C.source)!==void 0&&m.push(b.props.source)}));const v=$.chain(m).uniq().map(b=>$.get(t,b)).reject(b=>b===void 0).value().length;return T.useEffect(()=>{d({id:u,index:a,label:r,icon:o,badge:s,errors:v})},[d,h,r,o,u,s,a,v]),T.useEffect(()=>()=>{h(u)},[u,h]),f.jsx(S.Box,{display:g?"unset":"none",children:e.children})}function GS(e){const t=lg(e),n=og(e);return f.jsx(HS,{...e,id:n,children:T.Children.map(t,r=>{const o=og(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function YS(e){return f.jsx(HS,{...e})}function lg(e){const{children:t}=e;return T.useMemo(()=>$.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===YS||(r==null?void 0:r.type)===GS)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function iY(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=$.pick(e,["syncWithLocation","errorCount"]),s=$.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=zS(e),u=lg(e);return f.jsx(wS,{...o,children:f.jsxs(kS,{...s,spacing:r,children:[f.jsxs(VS,{disposition:t,spacing:r,children:[a,f.jsx(_S,{}),c]}),f.jsx(LS,{disposition:n,children:u})]})})}const Lt=iY;Lt.BaseForm=kS,Lt.Content=LS,Lt.Provider=wS,Lt.useItems=ES,Lt.useSyncWithLocation=IS,Lt.useErrorCount=OS,Lt.useFormRootPath=AS,Lt.useActiveItem=TS,Lt.useSetActiveItem=PS,Lt.useAddItem=jS,Lt.useRemoveItem=MS,Lt.Sidebar=VS,Lt.SidebarSection=WS,Lt.SidebarSectionPosition=NS,Lt.useSidebarChildren=zS,Lt.NavMenu=_S,Lt.NavMenuItem=sg,Lt.useNavMenuItem=RS,Lt.Tab=YS,Lt.Group=GS,Lt.useBaseItemChildren=lg;const sY=pe(R.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 aY(e){return f.jsx(sY,{...e})}const lY=pe(R.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 cY(e){return f.jsx(lY,{...e})}const uY=Ma(R.TabbedForm,{slot:"Root"})(({theme:e})=>({"& .MuiGrid-root.MuiGrid-container":{paddingBottom:0},[e.breakpoints.down("sm")]:{paddingBottom:0,"& .MuiTableContainer-root":{paddingBottom:e.spacing(1)}}}));function dY({children:e}){return f.jsx(f.Fragment,{children:e})}function cg(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=f.jsx(Lo,{children:f.jsx(R.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=f.jsx(wi,{children:f.jsx(R.SaveButton,{type:"button"})}),...d}=e,h=qh(t),g=S.useTheme();return f.jsx(sr,{title:h,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":{paddingTop:n?g.spacing(2.5):0},"& .MuiToolbar-root":{padding:g.spacing(2.5),borderTop:n?`1px solid ${g.palette.divider}`:void 0}},border:!n,divider:!0,children:f.jsx(uY,{toolbar:u,component:c?dY:void 0,...d})})}function fY({children:e,...t}){return f.jsx(R.TabbedForm.Tab,{...t,children:f.jsx(S.Box,{sx:{width:"100%",p:2.5},children:e})})}cg.Tab=R.TabbedForm.Tab,cg.TabStack=fY;function ug(e){const{label:t,disableAdd:n,onClick:r,inset:o}=e,s=S.useTheme(),a=s.palette.mode==="dark"?s.palette.grey.A400:s.palette.grey.A800,c=s.palette.mode==="light"?"#000000":"#FFFFFF";return f.jsxs(S.Stack,{justifyContent:"space-between",alignItems:"center",flexDirection:"row",sx:o?{p:2.5}:{pt:2},children:[t!==!1&&f.jsx(S.Typography,{children:t}),!n&&(T.isValidElement(e==null?void 0:e.customButton)?T.cloneElement(e==null?void 0:e.customButton,{onClick:r}):f.jsx(S.IconButton,{color:"secondary",sx:{border:`1px solid ${a}`},onClick:r,children:f.jsx(Ke.PlusCircleOutlined,{style:{color:c}})}))]})}function KS(e){const{label:t,disableAdd:n,inset:r,source:o,template:s}=e,[a,c]=T.useState(!1),{append:u}=R.useArrayInput(),d=T.useCallback(()=>{c(g=>!g)},[c]),h=T.useCallback(g=>(c(!1),u(g),Promise.resolve()),[c,u]);return f.jsxs(f.Fragment,{children:[T.cloneElement(f.jsx(ug,{}),{label:t,source:o,disableAdd:n,template:s,onClick:d,inset:r}),f.jsx(S.Dialog,{open:a,onClose:d,maxWidth:"xs",children:f.jsx(ne.CreateContextProvider,{value:{save:h},children:e.children})})]})}const dg=T.createContext(void 0);function XS(){return T.useContext(dg)}function Du(e){const{children:t}=e,{item:n,index:r}=XS(),[o,s]=T.useState(!1),{update:a}=R.useArrayInput(),c=R.useTranslate(),u=T.useCallback(d=>(s(!1),a(r,d),Promise.resolve()),[r,a]);return f.jsxs(f.Fragment,{children:[f.jsx(S.Button,{color:"primary",onClick:()=>s(!0),sx:{justifyContent:"flex-start"},children:c("ra.action.edit")}),f.jsx(S.Dialog,{open:o,onClose:()=>s(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(R.EditContextProvider,{value:{record:n,save:u},children:t})})]})}function ZS({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=Qn.useFormContext(),o=R.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}const fg=T.createContext(void 0);function QS(){return T.useContext(fg)}const JS=B.forwardRef((e,t)=>{const{children:n,disabled:r,disableRemove:o=!1,index:s,member:a,resource:c,record:u}=e,d=R.useTranslate(),[h,g]=B.useState(!1),{total:m,remove:v}=QS(),b=B.useCallback(()=>{g(!1),v(s)},[s,v]),C=T.useMemo(()=>({index:s,total:m,item:u,remove:()=>v(s)}),[s,m,v,u]),w=T.useMemo(()=>T.Children.map(n,I=>T.isValidElement(I)&&(I==null?void 0:I.type)===Du&&B.isValidElement(I)?I:null),[n]);return f.jsxs(dg.Provider,{value:C,children:[T.Children.map(n,(I,L)=>{if(I.type===Du||!T.isValidElement(I))return null;const{source:E,...j}=I.props;return f.jsx(S.TableCell,{children:T.cloneElement(I,{source:E?`${a}.${E}`:a,index:E?void 0:L,resource:c,disabled:r,...j,label:""})})}),!o&&f.jsx(S.TableCell,{children:f.jsx(S.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsxs(Lo,{horizontal:!0,children:[f.jsx(S.Button,{onClick:()=>g(!0),color:"error",sx:{justifyContent:"flex-start"},children:d("ra.action.delete")}),w]})})}),o&&w?f.jsx(S.TableCell,{children:f.jsx(S.Stack,{direction:"row",spacing:1,justifyContent:"center",alignItems:"center",children:f.jsx(Lo,{horizontal:!0,children:w})})}):null,n.length>0&&f.jsx(R.Confirm,{isOpen:h,title:d("ra.action.remove_item"),content:d("ra.message.remove_item"),onConfirm:b,onClose:()=>g(!1)})]})});function pY(e){var J,z;const{children:t,resource:n,source:r,label:o,disableAdd:s=!1,disableRemove:a=!1,enableClearAll:c=!1,className:u,empty:d,template:h={},addButton:g=f.jsx(ug,{}),inset:m}=e,[v,b]=T.useState(!1),{fields:C,remove:w,replace:I,append:L}=R.useArrayInput(e),{resetField:E}=Qn.useFormContext(),j=Kt(),P=ne.useTranslate(),D=T.useRef(h||{}),F=ne.useTranslateLabel(),U=T.useCallback(Q=>{w(Q)},[w]);if(C.length>0){const{...Q}=C[0];D.current=Q;for(const N in D.current)D.current[N]=null}const K=T.useCallback((Q=void 0)=>{let N=Q;Q==null&&(N=D.current,T.Children.count(t)===1&&B.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,W=>B.isValidElement(W)&&W.type!==ne.FormDataConsumer).some(Boolean)?N="":(N=N||{},T.Children.forEach(t,W=>{B.isValidElement(W)&&W.type!==ne.FormDataConsumer&&W.props.source&&(N[W.props.source]=W.props.defaultValue??null)})));const re={...N,...h};L(re),E(`${r}.${C.length}`,{defaultValue:N})},[L,t,E,r,C.length,h]);function ee(Q){return N=>{K(),Q&&Q(N)}}const G=T.useCallback(()=>{I([]),b(!1)},[I]),le=T.useMemo(()=>({total:C.length,remove:U,source:r}),[C.length,U,r]),ae=j.palette.mode==="dark"?j.palette.grey.A400:j.palette.grey.A800,q=C.length>0&&c;return C?f.jsx(fg.Provider,{value:le,children:f.jsxs("div",{className:u,children:[B.cloneElement(g,{label:o,source:r,disableAdd:s,template:h,onClick:(g==null?void 0:g.type)!==KS?ee((z=(J=e==null?void 0:e.addButton)==null?void 0:J.props)==null?void 0:z.onClick):void 0,inset:m}),f.jsx(S.TableContainer,{component:S.Paper,sx:m===!0?{borderRadius:0}:{mt:2,border:`1px solid ${ae}`},children:f.jsxs(S.Table,{size:"small",children:[f.jsx(S.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${ae}`},children:f.jsxs(S.TableRow,{children:[T.Children.map(t,(Q,N)=>{if(Q.type===Du||!B.isValidElement(Q))return null;const re=f.jsx(S.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:F({...Q.props,resource:n})});return f.jsx(S.TableCell,{children:Q.props.title?f.jsx(Qc,{title:Q.props.title,arrow:!0,children:re}):re},N)}),!a&&q?f.jsx(S.TableCell,{sx:{display:"flex",justifyContent:"center",alignItems:"center"},children:f.jsx(Lo,{horizontal:!0,children:f.jsx(S.Typography,{color:"error",onClick:()=>b(!0),children:P("ra.action.delete")})})},"actions"):f.jsx(S.TableCell,{},"empty_actions")]})}),f.jsxs(S.TableBody,{children:[C.length===0&&f.jsx(S.TableRow,{sx:{"&:last-child td, &:last-child th":{border:0}},children:f.jsx(S.TableCell,{colSpan:4+(a?0:1),align:"center",children:d||f.jsx(S.Typography,{variant:"body1",color:"text.secondary",children:"-"})})}),C.length>0&&C.map((Q,N)=>f.jsx(S.TableRow,{sx:{borderBottom:`1px solid ${ae}}`},children:f.jsx(JS,{disableRemove:a,index:N,member:`${r}.${N}`,onRemoveField:U,record:C&&C[N]||{},resource:n,source:r,children:t})},Q.id))]})]})}),C.length>0&&f.jsx(R.Confirm,{isOpen:v,title:P("ra.action.clear_array_input"),content:P("ra.message.clear_array_input"),onConfirm:G,onClose:()=>b(!1)})]})}):null}const _u=pe(pY,{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}}}));_u.CreateButton=KS,_u.EditButton=Du,_u.Field=ZS;function hY(e,t){const n=$.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=$.chain(n.media).clone().extend(o).value();return $.extend(n,{media:s})}case"updateDrawer":{const s=$.chain(n.drawer).clone().extend(o).value();return $.extend(n,{drawer:s})}case"updateLogo":{const s=$.chain(n.logo).clone().extend(o).value();return $.extend(n,{logo:s})}case"updateNotifications":{const s=$.chain(n.notifications).clone().extend(o).value();return $.extend(n,{notifications:s})}case"updateTheme":{const s=$.chain(n.theme).clone().extend(o).value();return $.extend(n,{theme:s})}default:return n}}const gY={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"}},qS=T.createContext(void 0);function $S(e){var K;const t=ne.useAuthProvider(),n=ne.useGetIdentity(),r=S.useTheme(),o=S.useMediaQuery(r.breakpoints.down("md")),s=S.useMediaQuery(r.breakpoints.down("lg")),a=S.useMediaQuery(r.breakpoints.down("xl")),{miniDrawer:c,isHorizontalLayout:u,themeDirection:d,drawerWidth:h}=tg(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Au(),b=T.useCallback(()=>{v(!m)},[m,v]),[C,w]=T.useState(!1),[I,L]=T.useReducer(hY,$.chain(gY).clone().merge({drawer:{open:!c||m}}).value()),E=T.useCallback(()=>w(!1),[]),j=T.useMemo(()=>({state:I,dispatch:L}),[I,L]),{logoIcon:P,logoMain:D,enableNotification:F,notification:U}=e;return T.useEffect(()=>{L({type:"updateMedia",payload:{downMd:o,downLg:s,downXl:a,horizontal:g}})},[o,s,a,g]),T.useEffect(()=>{L({type:"updateDrawer",payload:{open:m,width:h,handleDrawerToggle:b}})},[m,h,b]),T.useEffect(()=>{c||v(!a)},[a,c]),T.useEffect(()=>{L({type:"updateLogo",payload:{main:D,icon:P}})},[P,D]),T.useEffect(()=>{L({type:"updateNotifications",payload:{enable:F,resource:U??"entities/notification"}})},[F,U]),T.useEffect(()=>{L({type:"updateTheme",payload:{iconColorOpen:r.palette.mode==="dark"?"grey.200":"grey.300",iconColor:r.palette.mode==="dark"?"background.default":"grey.100"}})},[r.palette.mode]),T.useEffect(()=>{if(!t.isImpersonating){console.warn("authProvider does not contain a method called isImpersonating",t);return}t==null||t.isImpersonating().then(ee=>{var G;w(!ee&&((G=n==null?void 0:n.data)==null?void 0:G.needToChangePassword)===!0)})},[(K=n==null?void 0:n.data)==null?void 0:K.needToChangePassword,t]),f.jsxs(qS.Provider,{value:j,children:[f.jsx(S.Dialog,{open:C,maxWidth:"xs",fullWidth:!0,children:f.jsx(rg,{onSuccess:E,firstAccess:!0})}),e.children]})}function eA(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx($S,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function pg(){const e=T.useContext(qS);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function mY(){return pg().dispatch}function Ps(){return pg().state}function Nn(){return Ps().media}function Si(){return Ps().drawer}function tA(){return Ps().logo}function Ru(){return Ps().notifications}function vY(){return Ps().theme}function nA(e){const{width:t}=Si(),{horizontal:n}=Nn(),{container:r}=Tn(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Kt();return f.jsx(gW,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(Dh,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx(ZC,{}),children:f.jsxs(S.Box,{component:"main",sx:{width:`calc(100% - ${t}px)`,flexGrow:1,p:{xs:0,sm:2,lg:1},pt:{lg:2}},children:[f.jsx(S.Toolbar,{sx:{mt:n?8:"inherit"}})," ",f.jsx(S.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 rA=pe(S.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)}));function oA({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=Tn();return f.jsx(S.ButtonBase,{disableRipple:!0,component:dt.Link,to:n||s,sx:t,children:e?r:o})}function iA(e){const t=S.useTheme(),{horizontal:n}=Nn(),{open:r}=Si(),{icon:o,main:s}=tA(),a=Sr(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 f.jsx(rA,{theme:t,open:r,sx:a,children:f.jsx(oA,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function sA(e,t){return{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"}}function aA(e){return{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}}const yY=pe(S.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Tn();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...sA(e,n),"& .MuiDrawer-paper":sA(e,n)},...!t&&{...aA(e),"& .MuiDrawer-paper":aA(e)}}});var Ae={},hg={exports:{}};(function(e,t){(function(n,r){var o="1.0.39",s="",a="?",c="function",u="undefined",d="object",h="string",g="major",m="model",v="name",b="type",C="vendor",w="version",I="architecture",L="console",E="mobile",j="tablet",P="smarttv",D="wearable",F="embedded",U=500,K="Amazon",ee="Apple",G="ASUS",le="BlackBerry",ae="Browser",q="Chrome",J="Edge",z="Firefox",Q="Google",N="Huawei",re="LG",W="Microsoft",X="Motorola",de="Opera",he="Samsung",fe="Sharp",ge="Sony",ve="Xiaomi",Te="Zebra",Ce="Facebook",be="Chromium OS",we="Mac OS",Ie=" Browser",ue=function(Fe,_e){var Oe={};for(var xe in Fe)_e[xe]&&_e[xe].length%2===0?Oe[xe]=_e[xe].concat(Fe[xe]):Oe[xe]=Fe[xe];return Oe},qe=function(Fe){for(var _e={},Oe=0;Oe<Fe.length;Oe++)_e[Fe[Oe].toUpperCase()]=Fe[Oe];return _e},me=function(Fe,_e){return typeof Fe===h?Qe(_e).indexOf(Qe(Fe))!==-1:!1},Qe=function(Fe){return Fe.toLowerCase()},an=function(Fe){return typeof Fe===h?Fe.replace(/[^\d\.]/g,s).split(".")[0]:r},Et=function(Fe,_e){if(typeof Fe===h)return Fe=Fe.replace(/^\s\s*/,s),typeof _e===u?Fe:Fe.substring(0,U)},yt=function(Fe,_e){for(var Oe=0,xe,ht,Ut,Be,Pe,qt;Oe<_e.length&&!Pe;){var pr=_e[Oe],Ir=_e[Oe+1];for(xe=ht=0;xe<pr.length&&!Pe&&pr[xe];)if(Pe=pr[xe++].exec(Fe),Pe)for(Ut=0;Ut<Ir.length;Ut++)qt=Pe[++ht],Be=Ir[Ut],typeof Be===d&&Be.length>0?Be.length===2?typeof Be[1]==c?this[Be[0]]=Be[1].call(this,qt):this[Be[0]]=Be[1]:Be.length===3?typeof Be[1]===c&&!(Be[1].exec&&Be[1].test)?this[Be[0]]=qt?Be[1].call(this,qt,Be[2]):r:this[Be[0]]=qt?qt.replace(Be[1],Be[2]):r:Be.length===4&&(this[Be[0]]=qt?Be[3].call(this,qt.replace(Be[1],Be[2])):r):this[Be]=qt||r;Oe+=2}},Un=function(Fe,_e){for(var Oe in _e)if(typeof _e[Oe]===d&&_e[Oe].length>0){for(var xe=0;xe<_e[Oe].length;xe++)if(me(_e[Oe][xe],Fe))return Oe===a?r:Oe}else if(me(_e[Oe],Fe))return Oe===a?r:Oe;return _e.hasOwnProperty("*")?_e["*"]:Fe},It={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},bt={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"},Xt={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,w],[/opios[\/ ]+([\w\.]+)/i],[w,[v,de+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,de+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,de]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[w,[v,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[v,w],[/quark(?:pc)?\/([-\w\.]+)/i],[w,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[w,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[v,"UC"+ae]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[w,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[w,[v,"Smart Lenovo "+ae]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+ae],w],[/\bfocus\/([\w\.]+)/i],[w,[v,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,de+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,de+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+ae]],[/fxios\/([-\w\.]+)/i],[w,[v,z]],[/\bqihu|(qi?ho?o?|360)browser/i],[[v,"360"+Ie]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],w],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+Ie],w],[/samsungbrowser\/([\w\.]+)/i],[w,[v,he+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[v,/_/g," "],w],[/metasr[\/ ]?([\d\.]+)/i],[w,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[v,w],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Ce],w],[/(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,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[v,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[v,q+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,q+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+ae]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[w,Un,It]],[/(webkit|khtml)\/([\w\.]+)/i],[v,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],w],[/(wolvic)\/([\w\.]+)/i],[v,w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[v,z+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\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|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[v,[w,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[I,"amd64"]],[/(ia32(?=;))/i],[[I,Qe]],[/((?:i[346]|x)86)[;\)]/i],[[I,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/windows (ce|mobile); ppc;/i],[[I,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[I,/ower/,s,Qe]],[/(sun4\w)[;\)]/i],[[I,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[I,Qe]]],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],[m,[C,he],[b,j]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[C,he],[b,E]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[C,ee],[b,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[C,ee],[b,j]],[/(macintosh);/i],[m,[C,ee]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[C,fe],[b,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[C,N],[b,j]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[C,N],[b,E]],[/\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|pro)?)(?: bui|\))/i],[[m,/_/g," "],[C,ve],[b,E]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[C,ve],[b,j]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[C,"OPPO"],[b,E]],[/\b(opd2\d{3}a?) bui/i],[m,[C,"OPPO"],[b,j]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[C,"Vivo"],[b,E]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[C,"Realme"],[b,E]],[/\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],[m,[C,X],[b,E]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[C,X],[b,j]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[C,re],[b,j]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[C,re],[b,E]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[C,"Lenovo"],[b,j]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[C,"Nokia"],[b,E]],[/(pixel c)\b/i],[m,[C,Q],[b,j]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[C,Q],[b,E]],[/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],[m,[C,ge],[b,E]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[C,ge],[b,j]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[C,"OnePlus"],[b,E]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[C,K],[b,j]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[C,K],[b,E]],[/(playbook);[-\w\),; ]+(rim)/i],[m,C,[b,j]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[C,le],[b,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[C,G],[b,j]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[C,G],[b,E]],[/(nexus 9)/i],[m,[C,"HTC"],[b,j]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[C,[m,/_/g," "],[b,E]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[m,[C,"TCL"],[b,j]],[/(itel) ((\w+))/i],[[C,Qe],m,[b,Un,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[C,"Acer"],[b,j]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[C,"Meizu"],[b,E]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[C,"Ulefone"],[b,E]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[C,"Nothing"],[b,E]],[/(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],[C,m,[b,E]],[/(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],[C,m,[b,j]],[/(surface duo)/i],[m,[C,W],[b,j]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[C,"Fairphone"],[b,E]],[/(u304aa)/i],[m,[C,"AT&T"],[b,E]],[/\bsie-(\w*)/i],[m,[C,"Siemens"],[b,E]],[/\b(rct\w+) b/i],[m,[C,"RCA"],[b,j]],[/\b(venue[\d ]{2,7}) b/i],[m,[C,"Dell"],[b,j]],[/\b(q(?:mv|ta)\w+) b/i],[m,[C,"Verizon"],[b,j]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[C,"Barnes & Noble"],[b,j]],[/\b(tm\d{3}\w+) b/i],[m,[C,"NuVision"],[b,j]],[/\b(k88) b/i],[m,[C,"ZTE"],[b,j]],[/\b(nx\d{3}j) b/i],[m,[C,"ZTE"],[b,E]],[/\b(gen\d{3}) b.+49h/i],[m,[C,"Swiss"],[b,E]],[/\b(zur\d{3}) b/i],[m,[C,"Swiss"],[b,j]],[/\b((zeki)?tb.*\b) b/i],[m,[C,"Zeki"],[b,j]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],m,[b,j]],[/\b(ns-?\w{0,9}) b/i],[m,[C,"Insignia"],[b,j]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[C,"NextBook"],[b,j]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[C,"Voice"],m,[b,E]],[/\b(lvtel\-)?(v1[12]) b/i],[[C,"LvTel"],m,[b,E]],[/\b(ph-1) /i],[m,[C,"Essential"],[b,E]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[C,"Envizen"],[b,j]],[/\b(trio[-\w\. ]+) b/i],[m,[C,"MachSpeed"],[b,j]],[/\btu_(1491) b/i],[m,[C,"Rotor"],[b,j]],[/(shield[\w ]+) b/i],[m,[C,"Nvidia"],[b,j]],[/(sprint) (\w+)/i],[C,m,[b,E]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[C,W],[b,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[C,Te],[b,j]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[C,Te],[b,E]],[/smart-tv.+(samsung)/i],[C,[b,P]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[C,he],[b,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[C,re],[b,P]],[/(apple) ?tv/i],[C,[m,ee+" TV"],[b,P]],[/crkey/i],[[m,q+"cast"],[C,Q],[b,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[C,K],[b,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[C,fe],[b,P]],[/(bravia[\w ]+)( bui|\))/i],[m,[C,ge],[b,P]],[/(mitv-\w{5}) bui/i],[m,[C,ve],[b,P]],[/Hbbtv.*(technisat) (.*);/i],[C,m,[b,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[C,Et],[m,Et],[b,P]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[b,P]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[C,m,[b,L]],[/droid.+; (shield) bui/i],[m,[C,"Nvidia"],[b,L]],[/(playstation [345portablevi]+)/i],[m,[C,ge],[b,L]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[C,W],[b,L]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[m,[C,he],[b,D]],[/((pebble))app/i],[C,m,[b,D]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[C,ee],[b,D]],[/droid.+; (glass) \d/i],[m,[C,Q],[b,D]],[/droid.+; (wt63?0{2,3})\)/i],[m,[C,Te],[b,D]],[/(quest( \d| pro)?)/i],[m,[C,Ce],[b,D]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[C,[b,F]],[/(aeobc)\b/i],[m,[C,K],[b,F]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[b,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[b,j]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,j]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,E]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[C,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,J+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[v,"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],[v,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,w],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[v,[w,Un,bt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Un,bt],[v,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,we],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,v],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[v,w],[/\(bb(10);/i],[w,[v,le]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[v,z+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[v,q+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,be],w],[/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],[v,w],[/(sunos) ?([\w\.\d]*)/i],[[v,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[v,w]]},xt=function(Fe,_e){if(typeof Fe===d&&(_e=Fe,Fe=r),!(this instanceof xt))return new xt(Fe,_e).getResult();var Oe=typeof n!==u&&n.navigator?n.navigator:r,xe=Fe||(Oe&&Oe.userAgent?Oe.userAgent:s),ht=Oe&&Oe.userAgentData?Oe.userAgentData:r,Ut=_e?ue(Xt,_e):Xt,Be=Oe&&Oe.userAgent==xe;return this.getBrowser=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.browser),Pe[g]=an(Pe[w]),Be&&Oe&&Oe.brave&&typeof Oe.brave.isBrave==c&&(Pe[v]="Brave"),Pe},this.getCPU=function(){var Pe={};return Pe[I]=r,yt.call(Pe,xe,Ut.cpu),Pe},this.getDevice=function(){var Pe={};return Pe[C]=r,Pe[m]=r,Pe[b]=r,yt.call(Pe,xe,Ut.device),Be&&!Pe[b]&&ht&&ht.mobile&&(Pe[b]=E),Be&&Pe[m]=="Macintosh"&&Oe&&typeof Oe.standalone!==u&&Oe.maxTouchPoints&&Oe.maxTouchPoints>2&&(Pe[m]="iPad",Pe[b]=j),Pe},this.getEngine=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.engine),Pe},this.getOS=function(){var Pe={};return Pe[v]=r,Pe[w]=r,yt.call(Pe,xe,Ut.os),Be&&!Pe[v]&&ht&&ht.platform&&ht.platform!="Unknown"&&(Pe[v]=ht.platform.replace(/chrome os/i,be).replace(/macos/i,we)),Pe},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 xe},this.setUA=function(Pe){return xe=typeof Pe===h&&Pe.length>U?Et(Pe,U):Pe,this},this.setUA(xe),this};xt.VERSION=o,xt.BROWSER=qe([v,w,g]),xt.CPU=qe([I]),xt.DEVICE=qe([m,C,b,L,E,P,j,D,F]),xt.ENGINE=xt.OS=qe([v,w]),e.exports&&(t=e.exports=xt),t.UAParser=xt;var zt=typeof n!==u&&(n.jQuery||n.Zepto);if(zt&&!zt.ua){var Ot=new xt;zt.ua=Ot.getResult(),zt.ua.get=function(){return Ot.getUA()},zt.ua.set=function(Fe){Ot.setUA(Fe);var _e=Ot.getResult();for(var Oe in _e)zt.ua[Oe]=_e[Oe]}}})(typeof window=="object"?window:yn)})(hg,hg.exports);var bY=hg.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function xY(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var rn=T,pt=xY(rn),lA=bY,Ro=new lA,on=Ro.getBrowser(),CY=Ro.getCPU(),Vn=Ro.getDevice(),gg=Ro.getEngine(),Bo=Ro.getOS(),el=Ro.getUA(),cA=function(t){return Ro.setUA(t)},tl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new lA(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)}}},uA=Object.freeze({ClientUAInstance:Ro,browser:on,cpu:CY,device:Vn,engine:gg,os:Bo,ua:el,setUa:cA,parseUserAgent:tl});function dA(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 wY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?dA(Object(n),!0).forEach(function(r){EY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function nl(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?nl=function(t){return typeof t}:nl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nl(e)}function SY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AY(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 TY(e,t,n){return t&&AY(e.prototype,t),e}function EY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function mg(){return mg=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},mg.apply(this,arguments)}function IY(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&&yg(e,t)}function vg(e){return vg=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vg(e)}function yg(e,t){return yg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},yg(e,t)}function OY(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 fr(e,t){if(e==null)return{};var n=OY(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 Bu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PY(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 Bu(e)}function jY(e,t){return MY(e)||kY(e,t)||LY(e,t)||FY()}function MY(e){if(Array.isArray(e))return e}function kY(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 LY(e,t){if(e){if(typeof e=="string")return fA(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 fA(e,t)}}function fA(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 FY(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
216
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sn={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},En={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"},js={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},DY={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},_Y=function(t){switch(t){case sn.Mobile:return{isMobile:!0};case sn.Tablet:return{isTablet:!0};case sn.SmartTv:return{isSmartTV:!0};case sn.Console:return{isConsole:!0};case sn.Wearable:return{isWearable:!0};case sn.Browser:return{isBrowser:!0};case sn.Embedded:return{isEmbedded:!0};default:return DY}},RY=function(t){return cA(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},bg=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},xg=function(t){var n=bg();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},BY=function(t,n,r,o,s){return{isBrowser:t,browserMajorVersion:De(n.major),browserFullVersion:De(n.version),browserName:De(n.name),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}},pA=function(t,n,r,o){return wY({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},NY=function(t,n,r,o){return{isSmartTV:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},VY=function(t,n,r,o){return{isConsole:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},WY=function(t,n,r,o){return{isWearable:t,engineName:De(n.name),engineVersion:De(n.version),osName:De(r.name),osVersion:De(r.version),userAgent:De(o)}},zY=function(t,n,r,o,s){return{isEmbedded:t,vendor:De(n.vendor),model:De(n.model),engineName:De(r.name),engineVersion:De(r.version),osName:De(o.name),osVersion:De(o.version),userAgent:De(s)}};function UY(e){var t=e?tl(e):uA,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=_Y(n.type),u=c.isBrowser,d=c.isMobile,h=c.isTablet,g=c.isSmartTV,m=c.isConsole,v=c.isWearable,b=c.isEmbedded;if(u)return BY(u,r,o,s,a);if(g)return NY(g,o,s,a);if(m)return VY(m,o,s,a);if(d||h)return pA(c,n,s,a);if(v)return WY(v,o,s,a);if(b)return zY(b,n,o,s,a)}var hA=function(t){var n=t.type;return n===sn.Mobile},gA=function(t){var n=t.type;return n===sn.Tablet},mA=function(t){var n=t.type;return n===sn.Mobile||n===sn.Tablet},vA=function(t){var n=t.type;return n===sn.SmartTv},Nu=function(t){var n=t.type;return n===sn.Browser},yA=function(t){var n=t.type;return n===sn.Wearable},bA=function(t){var n=t.type;return n===sn.Console},xA=function(t){var n=t.type;return n===sn.Embedded},CA=function(t){var n=t.vendor;return De(n)},wA=function(t){var n=t.model;return De(n)},SA=function(t){var n=t.type;return De(n,"browser")},AA=function(t){var n=t.name;return n===js.Android},TA=function(t){var n=t.name;return n===js.Windows},EA=function(t){var n=t.name;return n===js.MAC_OS},IA=function(t){var n=t.name;return n===js.WindowsPhone},OA=function(t){var n=t.name;return n===js.IOS},PA=function(t){var n=t.version;return De(n)},jA=function(t){var n=t.name;return De(n)},MA=function(t){var n=t.name;return n===En.Chrome},kA=function(t){var n=t.name;return n===En.Firefox},LA=function(t){var n=t.name;return n===En.Chromium},Vu=function(t){var n=t.name;return n===En.Edge},FA=function(t){var n=t.name;return n===En.Yandex},DA=function(t){var n=t.name;return n===En.Safari||n===En.MobileSafari},_A=function(t){var n=t.name;return n===En.MobileSafari},RA=function(t){var n=t.name;return n===En.Opera},BA=function(t){var n=t.name;return n===En.InternetExplorer||n===En.Ie},NA=function(t){var n=t.name;return n===En.MIUI},VA=function(t){var n=t.name;return n===En.SamsungBrowser},WA=function(t){var n=t.version;return De(n)},zA=function(t){var n=t.major;return De(n)},UA=function(t){var n=t.name;return De(n)},HA=function(t){var n=t.name;return De(n)},GA=function(t){var n=t.version;return De(n)},YA=function(){var t=bg(),n=t&&t.userAgent&&t.userAgent.toLowerCase();return typeof n=="string"?/electron/.test(n):!1},Ms=function(t){return typeof t=="string"&&t.indexOf("Edg/")!==-1},KA=function(){var t=bg();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},zr=function(){return xg("iPad")},XA=function(){return xg("iPhone")},ZA=function(){return xg("iPod")},QA=function(t){return De(t)};function JA(e){var t=e||uA,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:vA(n),isConsole:bA(n),isWearable:yA(n),isEmbedded:xA(n),isMobileSafari:_A(r)||zr(),isChromium:LA(r),isMobile:mA(n)||zr(),isMobileOnly:hA(n),isTablet:gA(n)||zr(),isBrowser:Nu(n),isDesktop:Nu(n),isAndroid:AA(o),isWinPhone:IA(o),isIOS:OA(o)||zr(),isChrome:MA(r),isFirefox:kA(r),isSafari:DA(r),isOpera:RA(r),isIE:BA(r),osVersion:PA(o),osName:jA(o),fullBrowserVersion:WA(r),browserVersion:zA(r),browserName:UA(r),mobileVendor:CA(n),mobileModel:wA(n),engineName:HA(s),engineVersion:GA(s),getUA:QA(a),isEdge:Vu(r)||Ms(a),isYandex:FA(r),deviceType:SA(n),isIOS13:KA(),isIPad13:zr(),isIPhone13:XA(),isIPod13:ZA(),isElectron:YA(),isEdgeChromium:Ms(a),isLegacyEdge:Vu(r)&&!Ms(a),isWindows:TA(o),isMacOs:EA(o),isMIUI:NA(r),isSamsungBrowser:VA(r)}}var qA=vA(Vn),$A=bA(Vn),eT=yA(Vn),HY=xA(Vn),GY=_A(on)||zr(),YY=LA(on),Wu=mA(Vn)||zr(),tT=hA(Vn),nT=gA(Vn)||zr(),rT=Nu(Vn),KY=Nu(Vn),oT=AA(Bo),iT=IA(Bo),sT=OA(Bo)||zr(),XY=MA(on),ZY=kA(on),QY=DA(on),JY=RA(on),aT=BA(on),qY=PA(Bo),$Y=jA(Bo),eK=WA(on),tK=zA(on),nK=UA(on),rK=CA(Vn),oK=wA(Vn),iK=HA(gg),sK=GA(gg),aK=QA(el),lK=Vu(on)||Ms(el),cK=FA(on),uK=SA(Vn),dK=KA(),fK=zr(),pK=XA(),hK=ZA(),gK=YA(),mK=Ms(el),vK=Vu(on)&&!Ms(el),yK=TA(Bo),bK=EA(Bo),xK=NA(on),CK=VA(on),wK=function(t){if(!t||typeof t!="string"){console.error("No valid user agent string was provided");return}var n=tl(t),r=n.device,o=n.browser,s=n.os,a=n.engine,c=n.ua;return JA({device:r,browser:o,os:s,engine:a,ua:c})},SK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return oT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},AK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return rT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},TK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return aT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},EK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return sT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},IK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return Wu?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},OK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return nT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},PK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return iT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},jK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=fr(t,["renderWithFragment","children","viewClassName","style"]);return tT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},MK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return qA?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},kK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return $A?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},LK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return eT?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",o,r):null},FK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=t.condition,s=fr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?pt.createElement(rn.Fragment,null,r):pt.createElement("div",s,r):null};function DK(e){return function(t){IY(n,t);function n(r){var o;return SY(this,n),o=PY(this,vg(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Bu(o)),o.onOrientationChange=o.onOrientationChange.bind(Bu(o)),o.onPageLoad=o.onPageLoad.bind(Bu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return TY(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":nl(window))!==void 0&&Wu&&(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 pt.createElement(e,mg({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(pt.Component)}function _K(){var e=rn.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=jY(e,2),n=t[0],r=t[1],o=rn.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 rn.useEffect(function(){return(typeof window>"u"?"undefined":nl(window))!==void 0&&Wu&&(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 lT(e){var t=e||window.navigator.userAgent;return tl(t)}function RK(e){var t=e||window.navigator.userAgent,n=lT(t),r=JA(n);return[r,n]}Ae.AndroidView=SK,Ae.BrowserTypes=En;var BK=Ae.BrowserView=AK;Ae.ConsoleView=kK,Ae.CustomView=FK,Ae.IEView=TK,Ae.IOSView=EK,Ae.MobileOnlyView=jK;var NK=Ae.MobileView=IK;Ae.OsTypes=js,Ae.SmartTVView=MK,Ae.TabletView=OK,Ae.WearableView=LK,Ae.WinPhoneView=PK,Ae.browserName=nK,Ae.browserVersion=tK,Ae.deviceDetect=UY,Ae.deviceType=uK,Ae.engineName=iK,Ae.engineVersion=sK,Ae.fullBrowserVersion=eK,Ae.getSelectorsByUserAgent=wK,Ae.getUA=aK,Ae.isAndroid=oT,Ae.isBrowser=rT,Ae.isChrome=XY,Ae.isChromium=YY,Ae.isConsole=$A,Ae.isDesktop=KY,Ae.isEdge=lK,Ae.isEdgeChromium=mK,Ae.isElectron=gK,Ae.isEmbedded=HY,Ae.isFirefox=ZY,Ae.isIE=aT,Ae.isIOS=sT,Ae.isIOS13=dK,Ae.isIPad13=fK,Ae.isIPhone13=pK,Ae.isIPod13=hK,Ae.isLegacyEdge=vK,Ae.isMIUI=xK,Ae.isMacOs=bK,Ae.isMobile=Wu,Ae.isMobileOnly=tT,Ae.isMobileSafari=GY,Ae.isOpera=JY,Ae.isSafari=QY,Ae.isSamsungBrowser=CK,Ae.isSmartTV=qA,Ae.isTablet=nT,Ae.isWearable=eT,Ae.isWinPhone=iT,Ae.isWindows=yK,Ae.isYandex=cK,Ae.mobileModel=oK,Ae.mobileVendor=rK,Ae.osName=$Y,Ae.osVersion=qY,Ae.parseUserAgent=tl,Ae.setUserAgent=RY,Ae.useDeviceData=lT,Ae.useDeviceSelectors=RK,Ae.useMobileOrientation=_K,Ae.withOrientationChange=DK;var VK=typeof global=="object"&&global&&global.Object===Object&&global,WK=typeof self=="object"&&self&&self.Object===Object&&self,cT=VK||WK||Function("return this")(),zu=cT.Symbol,uT=Object.prototype,zK=uT.hasOwnProperty,UK=uT.toString,rl=zu?zu.toStringTag:void 0;function HK(e){var t=zK.call(e,rl),n=e[rl];try{e[rl]=void 0;var r=!0}catch{}var o=UK.call(e);return r&&(t?e[rl]=n:delete e[rl]),o}var GK=Object.prototype,YK=GK.toString;function KK(e){return YK.call(e)}var XK="[object Null]",ZK="[object Undefined]",dT=zu?zu.toStringTag:void 0;function QK(e){return e==null?e===void 0?ZK:XK:dT&&dT in Object(e)?HK(e):KK(e)}function JK(e){return e!=null&&typeof e=="object"}var qK="[object Symbol]";function $K(e){return typeof e=="symbol"||JK(e)&&QK(e)==qK}var eX=/\s/;function tX(e){for(var t=e.length;t--&&eX.test(e.charAt(t)););return t}var nX=/^\s+/;function rX(e){return e&&e.slice(0,tX(e)+1).replace(nX,"")}function Uu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var fT=NaN,oX=/^[-+]0x[0-9a-f]+$/i,iX=/^0b[01]+$/i,sX=/^0o[0-7]+$/i,aX=parseInt;function pT(e){if(typeof e=="number")return e;if($K(e))return fT;if(Uu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Uu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=rX(e);var n=iX.test(e);return n||sX.test(e)?aX(e.slice(2),n?2:8):oX.test(e)?fT:+e}var Cg=function(){return cT.Date.now()},lX="Expected a function",cX=Math.max,uX=Math.min;function Hu(e,t,n){var r,o,s,a,c,u,d=0,h=!1,g=!1,m=!0;if(typeof e!="function")throw new TypeError(lX);t=pT(t)||0,Uu(n)&&(h=!!n.leading,g="maxWait"in n,s=g?cX(pT(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(D){var F=r,U=o;return r=o=void 0,d=D,a=e.apply(U,F),a}function b(D){return d=D,c=setTimeout(I,t),h?v(D):a}function C(D){var F=D-u,U=D-d,K=t-F;return g?uX(K,s-U):K}function w(D){var F=D-u,U=D-d;return u===void 0||F>=t||F<0||g&&U>=s}function I(){var D=Cg();if(w(D))return L(D);c=setTimeout(I,C(D))}function L(D){return c=void 0,m&&r?v(D):(r=o=void 0,a)}function E(){c!==void 0&&clearTimeout(c),d=0,r=u=o=c=void 0}function j(){return c===void 0?a:L(Cg())}function P(){var D=Cg(),F=w(D);if(r=arguments,o=this,u=D,F){if(c===void 0)return b(u);if(g)return clearTimeout(c),c=setTimeout(I,t),v(u)}return c===void 0&&(c=setTimeout(I,t)),a}return P.cancel=E,P.flush=j,P}var dX="Expected a function";function fX(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(dX);return Uu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Hu(e,t,{leading:r,maxWait:t,trailing:o})}var ks=function(){return ks=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},ks.apply(this,arguments)};function hT(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function gT(e){return!e||!e.ownerDocument?document:e.ownerDocument}var mT=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 vT(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function yT(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function bT(e){return".".concat(e.split(" ").join("."))}var wg=!!(typeof window<"u"&&window.document&&window.document.createElement),pX=Object.freeze({__proto__:null,addClasses:vT,canUseDOM:wg,classNamesToQuery:bT,getElementDocument:gT,getElementWindow:hT,getOptions:mT,removeClasses:yT}),Ls=null,xT=null;wg&&window.addEventListener("resize",function(){xT!==window.devicePixelRatio&&(xT=window.devicePixelRatio,Ls=null)});function CT(){if(Ls===null){if(typeof document>"u")return Ls=0,Ls;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),Ls=n}return Ls}var No=hT,Sg=gT,hX=mT,Vo=vT,Wo=yT,In=bT,Gu=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=No(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,Vo(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(){Wo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Vo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){Wo(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,d,h,g,m,v,b,C;if(!(!r.draggedAxis||!r.contentWrapperEl)){var w,I=r.axis[r.draggedAxis].track,L=(a=(s=I.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,E=r.axis[r.draggedAxis].scrollbar,j=(u=(c=r.contentWrapperEl)===null||c===void 0?void 0:c[r.axis[r.draggedAxis].scrollSizeAttr])!==null&&u!==void 0?u:0,P=parseInt((h=(d=r.elStyles)===null||d===void 0?void 0:d[r.axis[r.draggedAxis].sizeAttr])!==null&&h!==void 0?h:"0px",10);o.preventDefault(),o.stopPropagation(),r.draggedAxis==="y"?w=o.pageY:w=o.pageX;var D=w-((m=(g=I.rect)===null||g===void 0?void 0:g[r.axis[r.draggedAxis].offsetAttr])!==null&&m!==void 0?m:0)-r.axis[r.draggedAxis].dragOffset;D=r.draggedAxis==="x"&&r.isRtl?((b=(v=I.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&b!==void 0?b:0)-E.size-D:D;var F=D/(L-E.size),U=F*(j-P);r.draggedAxis==="x"&&r.isRtl&&(U=!((C=e.getRtlHelpers())===null||C===void 0)&&C.isScrollingToNegative?-U:U),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=U}},this.onEndDrag=function(o){r.isDragging=!1;var s=Sg(r.el),a=No(r.el);o.preventDefault(),o.stopPropagation(),Wo(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=ks(ks({},e.defaultOptions),n),this.classNames=ks(ks({},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=fX(this._onMouseMove,64),this.onWindowResize=Hu(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Hu(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Hu(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:CT()}catch{return CT()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Sg(t),o=No(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){wg&&(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(In(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(In(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(In(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(In(this.classNames.offset)),this.maskEl=this.el.querySelector(In(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,In(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(In(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(In(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(In(this.classNames.track)).concat(In(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(In(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(In(this.classNames.scrollbar)))||null,this.options.autoHide||(Vo(this.axis.x.scrollbar.el,this.classNames.visible),Vo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=No(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=No(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,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=o?"".concat(n||d,"px"):"auto",this.placeholderEl.style.height="".concat(u,"px");var h=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n!==0&&d>n,this.axis.y.isOverflowing=u>h,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 g=this.axis.x.isOverflowing?this.scrollbarWidth:0,m=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-m,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>h-g,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),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];d=t==="x"&&this.isRtl&&(!((r=e.getRtlHelpers())===null||r===void 0)&&r.isScrollOriginAtZero)?-d:d,t==="x"&&this.isRtl&&(d=!((o=e.getRtlHelpers())===null||o===void 0)&&o.isScrollingToNegative?d:-d);var h=d/(a-u),g=~~((c-s.size)*h);g=t==="x"&&this.isRtl?-g+(c-s.size):g,s.el.style.transform=t==="x"?"translate3d(".concat(g,"px, 0, 0)"):"translate3d(0, ".concat(g,"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&&(Vo(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&&(Wo(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),Vo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Vo(n.scrollbar.el,this.classNames.hover):Wo(n.scrollbar.el,this.classNames.hover)):(Wo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),Wo(this.axis[t].track.el,this.classNames.hover),Wo(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=Sg(this.el),s=No(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,Vo(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 d=No(this.el);this.axis[n].scrollbar.rect=u.scrollbar.el.getBoundingClientRect();var h=this.axis[n].scrollbar,g=(s=(o=h.rect)===null||o===void 0?void 0:o[this.axis[n].offsetAttr])!==null&&s!==void 0?s:0,m=parseInt((c=(a=this.elStyles)===null||a===void 0?void 0:a[this.axis[n].sizeAttr])!==null&&c!==void 0?c:"0px",10),v=this.contentWrapperEl[this.axis[n].scrollOffsetAttr],b=n==="y"?this.mouseY-g:this.mouseX-g,C=b<0?-1:1,w=C===-1?v-m:v+m,I=40,L=function(){r.contentWrapperEl&&(C===-1?v>w&&(v-=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(L)):v<w&&(v+=I,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(L)))};L()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var t=No(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",tabIndex:0,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=hX,e.helpers=pX,e}(),Wn=function(){return Wn=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},Wn.apply(this,arguments)};function gX(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 wT=B.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=gX(e,["children","scrollableNodeProps"]),a=B.useRef(),c=B.useRef(),u=B.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Gu.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Wn(Wn({},Gu.defaultOptions.classNames),d.classNames),m=Wn(Wn({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Gu.defaultOptions.ariaLabel});return B.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Gu(a.current,Wn(Wn(Wn({},d),c.current&&{scrollableNode:c.current}),u.current&&{contentNode:u.current})),typeof t=="function"?t(v):t&&(t.current=v)),function(){v==null||v.unMount(),v=null,typeof t=="function"&&t(null)}},[]),B.createElement("div",Wn({"data-simplebar":"init",ref:a},h),B.createElement("div",{className:g.wrapper},B.createElement("div",{className:g.heightAutoObserverWrapperEl},B.createElement("div",{className:g.heightAutoObserverEl})),B.createElement("div",{className:g.mask},B.createElement("div",{className:g.offset},typeof n=="function"?n({scrollableNodeRef:c,scrollableNodeProps:Wn(Wn({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):B.createElement("div",Wn({},m),B.createElement("div",{className:g.contentEl},n)))),B.createElement("div",{className:g.placeholder})),B.createElement("div",{className:"".concat(g.track," simplebar-horizontal")},B.createElement("div",{className:g.scrollbar})),B.createElement("div",{className:"".concat(g.track," simplebar-vertical")},B.createElement("div",{className:g.scrollbar})))});wT.displayName="SimpleBar";const mX=pe(BK)({flexGrow:1,height:"100%",overflow:"hidden"}),vX=pe(wT)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:tt(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 ST({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(mX,{children:f.jsx(vX,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(NK,{children:f.jsx(S.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function AT(e){const t=S.useTheme(),n=Sr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Nn(),{open:o,handleDrawerToggle:s,width:a}=Si(),c=r?S.Drawer:yY,u=document.body,d=T.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,t.palette.divider]);return f.jsx(S.Box,{component:"nav",sx:n,"aria-label":"mailbox folders",children:f.jsxs(c,{...d,open:o,children:[f.jsx(iA,{}),f.jsx(ST,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Ag(e){const{name:t,version:n,copy:r="© Applica Software Guru for"}=e;return f.jsx(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"flex-end",flexGrow:1,height:"auto",sx:{pt:1},children:f.jsxs(S.Typography,{variant:"caption",children:[f.jsx("span",{dangerouslySetInnerHTML:{__html:r||""}})," ",t," - ",n]})})}const TT=pe(S.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=Tn();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})}}}),ET=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary"},{defaults:!0});return f.jsx(S.Button,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),yX=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary"},{defaults:!0});return f.jsx(Nc,{ref:n,...t,color:"secondary",variant:"text",sx:r})}),Fs=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary",borderStyle:"none",padding:1,fontSize:"1.5rem",width:36,height:36},{defaults:!0});return f.jsx(S.ToggleButton,{ref:n,...t,color:"secondary",sx:r})});function IT({onClick:e=void 0}){const{open:t,anchorEl:n,handleClose:r,handleToggle:o}=Ja(),[s,a]=ne.useLocaleState(),c=ne.useLocales();if(c.length===0)return null;function u(d){if(e){e(d,r);return}a(d),r()}return f.jsxs(f.Fragment,{children:[f.jsx(ET,{value:"locale",onClick:o,sx:{minWidth:"auto"},children:f.jsxs(S.Stack,{direction:"row",spacing:.5,children:[f.jsx(S.Typography,{variant:"body1",children:s.toUpperCase()}),t?f.jsx(Ke.CaretUpOutlined,{}):f.jsx(Ke.CaretDownOutlined,{})]})}),f.jsx(S.Menu,{id:"menu-appbar",anchorEl:n,keepMounted:!0,open:t,onClose:r,children:c.map((d,h)=>f.jsx(S.MenuItem,{onClick:()=>u(d.locale),children:d.name},h))})]})}const bX={ml:{xs:0,lg:-2}};function OT(){const{open:e,handleDrawerToggle:t}=Si();return f.jsx(Fs,{value:"drawer","aria-label":"open drawer",sx:bX,onChange:t,selected:e,children:e?f.jsx(Ke.MenuFoldOutlined,{}):f.jsx(Ke.MenuUnfoldOutlined,{})})}function PT(e){const t=T.useRef(),n=S.useTheme(),{downLg:r,horizontal:o}=Nn(),{open:s,width:a}=Si(),c=r?S.AppBar:TT,d={position:"fixed",color:"inherit",elevation:0,sx:Sr(e,{borderBottom:`1px solid ${n.palette.divider}`,zIndex:1200,width:o?"100%":s?`calc(100% - ${a}px)`:{xs:"100%",lg:"calc(100% - 60px)"}})};return r||$.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(S.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(OT,{}),e.children]})})}function xX(e){const t=S.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Ru(),c=ne.useNotify(),u=ne.useRedirect(),[d]=ne.useUpdate(a,{id:n==null?void 0:n.id,data:{...n,readed:Ar().toISOString()}},{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")}}),h=T.useCallback(()=>d(),[d]),[g]=ne.useLocaleState(),m=T.useMemo(()=>Ar(n.created).locale(g).fromNow(),[n,g]);return f.jsx(S.ListItem,{disablePadding:!0,divider:s,children:f.jsxs(S.ListItemButton,{selected:o,onClick:h,children:[f.jsx(S.ListItemAvatar,{children:f.jsx(S.Avatar,{sx:{color:"primary.main",bgcolor:"primary.lighter"},children:f.jsx(Ke.MessageOutlined,{})})}),f.jsx(S.ListItemText,{sx:{overflow:"hidden",wordBreak:"break-word",width:"90%"},primary:n.title,secondary:n.content}),f.jsx(S.Box,{flexGrow:1,flexShrink:1,minWidth:t.spacing(2)}),f.jsx(S.ListItemText,{sx:{overflow:"hidden",whiteSpace:"pre-wrap",wordBreak:"break-word"},primary:m,primaryTypographyProps:{variant:"caption"}})]})})}const CX={width:36,height:36,fontSize:"1rem"},wX={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function jT(){const{enable:e}=Ru();return e?f.jsx(SX,{}):null}function SX(){const e=ne.useTranslate(),t=S.useTheme(),n=ne.useRefresh(),r=ne.useNotify(),{downMd:o}=Nn(),{resource:s}=Ru(),[a,c]=T.useState([]),{data:u,isLoading:d}=ne.useGetList(s,{pagination:{page:1,perPage:25},sort:{field:"created",order:"DESC"},filter:{readed:!1}}),h=a.filter(L=>L.readed===null).length,{open:g,anchorEl:m,handleClose:v,handleToggle:b}=Ja();T.useEffect(()=>{!d&&u&&c(u??[])},[u,d]);const C=a.filter(L=>!L.readed).map(L=>L.id),[w]=ne.useUpdateMany(s,{ids:C,data:{readed:Ar().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),I=T.useCallback(()=>{w()},[w]);return f.jsxs(f.Fragment,{children:[f.jsx(Fs,{value:"notifications",selected:g,onChange:b,children:f.jsx(S.Badge,{badgeContent:h,color:"primary",children:f.jsx(Ke.BellOutlined,{})})}),f.jsx(S.Popper,{placement:o?"bottom":"bottom-end",open:g,anchorEl:m,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:L})=>f.jsx(hi,{type:"grow",position:o?"top":"top-right",in:g,...L,children:f.jsx(S.Paper,{sx:{marginTop:1,boxShadow:t.customShadows.z1,width:"100%",minWidth:285,maxWidth:420,[t.breakpoints.down("md")]:{maxWidth:285}},children:f.jsx(S.ClickAwayListener,{onClickAway:v,children:f.jsxs(sr,{title:e("ra.notification.title"),elevation:0,border:!1,content:!1,secondary:f.jsx(f.Fragment,{children:h>0&&f.jsx(S.Tooltip,{title:e("ra.notification.mark-as-read"),onClick:I,children:f.jsx(Nc,{color:"success",size:"small",children:f.jsx(Ke.CheckCircleOutlined,{style:{fontSize:"1.15rem"}})})})}),children:[f.jsx(S.List,{component:"nav",sx:{p:0,"& .MuiListItemButton-root":{py:.5,"&.Mui-selected":{bgcolor:"grey.50",color:"text.primary"},"& .MuiAvatar-root":CX,"& .MuiListItemSecondaryAction-root":{...wX,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((E,j)=>f.jsx(xX,{selected:h>0,notification:E,onClick:v,divider:j<a.length-1},E.id))}),f.jsx(S.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:dt.Link,onClick:v,children:f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:"primary",children:e("ra.notification.view_all")})})}),f.jsx(S.Divider,{})]})})})})})]})}function AX(){const[e,t]=T.useState(!1),n=T.useCallback(()=>t(!1),[t]),r=T.useCallback(()=>t(!0),[t]),o=ne.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsxs(S.ListItemButton,{onClick:r,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Ln.Key,{})}),f.jsx(S.ListItemText,{primary:o("ra.auth.change_password")})]}),f.jsx(S.Dialog,{open:e,onClose:()=>t(!1),maxWidth:"xs",fullWidth:!0,children:f.jsx(rg,{onSuccess:n})})]})}function TX(){const e=ne.useLogout(),t=ne.useTranslate();return f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{onClick:e,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:t("ra.auth.logout")})]})})}function EX(){const e=ne.useTranslate(),t=ne.useAuthProvider(),n=T.useCallback(()=>t.stopImpersonate().then(()=>document.location.href="/"),[t]),[r,o]=T.useState(!1);return T.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?f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{onClick:n,children:[f.jsx(S.ListItemIcon,{children:f.jsx(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function MT(){var m;const e=S.useTheme(),t=ne.useDataProvider(),{identity:n}=ne.useGetIdentity(),r=n!==void 0&&n.image&&n.image!==null&&n.image!=="",[o,s]=T.useState(null),{open:a,anchorEl:c,handleToggle:u,handleClose:d}=Ja(),h=ne.useLogout(),g=T.useCallback(()=>{h()},[h]);return T.useEffect(()=>{r&&t.getFile("/profile/me/image").then(v=>s(v))},[t,r]),f.jsxs(f.Fragment,{children:[f.jsx(Fs,{sx:{p:.25,width:"auto"},onClick:u,value:"profile",selected:a,children:f.jsxs(S.Stack,{direction:"row",spacing:2,alignItems:"center",sx:{p:.5},children:[f.jsx(Fc,{alt:(m=n==null?void 0:n.name)==null?void 0:m.toUpperCase(),src:o,size:"xs"}),f.jsx(S.Typography,{variant:"subtitle1",children:n==null?void 0:n.name})]})}),f.jsx(v1,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var b;return f.jsx(hi,{type:"grow",position:"top-right",in:a,...v,children:f.jsx(S.Paper,{sx:{boxShadow:e.customShadows.z1,width:290,minWidth:240,maxWidth:290,[e.breakpoints.down("md")]:{maxWidth:250},marginTop:1},children:f.jsx(S.ClickAwayListener,{onClickAway:d,children:f.jsxs(sr,{elevation:0,border:!1,content:!1,children:[f.jsx(S.CardContent,{sx:{px:2.5,pt:3},children:f.jsxs(S.Grid,{container:!0,justifyContent:"space-between",alignItems:"center",children:[f.jsx(S.Grid,{item:!0,children:f.jsxs(S.Stack,{direction:"row",spacing:1.25,alignItems:"center",children:[f.jsx(Fc,{alt:"profile user",src:o,sx:{width:32,height:32}}),f.jsxs(S.Stack,{children:[f.jsx(S.Typography,{variant:"h6",children:n==null?void 0:n.name}),f.jsx(S.Typography,{variant:"body2",color:"textSecondary",children:(b=n==null?void 0:n.roles)==null?void 0:b.map(C=>C.name.replace("ROLE_","")).join(",")})]})]})}),f.jsx(S.Grid,{item:!0,children:f.jsx(S.Tooltip,{title:"Logout",children:f.jsx(Nc,{size:"large",sx:{color:"text.primary"},onClick:g,children:f.jsx(Ke.LogoutOutlined,{})})})})]})}),f.jsx(S.Grid,{container:!0,children:f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.List,{component:"nav",sx:{p:0,"& .MuiListItemIcon-root":{minWidth:32}},children:[f.jsx(AX,{}),f.jsx(TX,{}),f.jsx(EX,{})]})})})]})})})})}})]})}function kT(e){const t=Kt(),{downMd:n}=Nn(),{open:r,anchorEl:o,handleToggle:s,handleClose:a}=Ja();return n?f.jsxs(f.Fragment,{children:[f.jsx(Fs,{value:"drawer","aria-label":"open more menu","aria-controls":r?"menu-list-grow":void 0,"aria-haspopup":"true",onClick:s,selected:r,children:f.jsx(Ke.MoreOutlined,{})}),f.jsx(S.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})=>f.jsx(hi,{type:"fade",in:r,...c,children:f.jsx(S.Paper,{sx:{boxShadow:t.customShadows.z1},children:f.jsx(S.ClickAwayListener,{onClickAway:a,children:f.jsx(S.AppBar,{color:"inherit",children:f.jsx(S.Toolbar,{children:e.children})})})})})})]}):f.jsx(f.Fragment,{children:e.children})}function LT(e){return f.jsx(S.Box,{...e,flex:1})}function FT(e){const t=S.useTheme(),n=S.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=Tn();return t.shadows[4]=t.customShadows.z1,f.jsx(S.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:f.jsx(S.Container,{maxWidth:r?"xl":!1,children:f.jsx(S.Box,{sx:{display:"flex",alignItems:"center"},children:e.children})})})}function DT(e){const{horizontal:t}=Nn();return t?f.jsx(FT,{children:e.children}):f.jsx(AT,{children:e.children})}function ol({item:e,level:t}){const n=Kt(),{horizontal:r,downLg:o}=Nn(),{drawerOpen:s,openItem:a,activeItem:c,openDrawer:u}=Za();let d="_self";e.target&&(d="_blank");const h=(e==null?void 0:e.external)!==!1?{component:T.forwardRef((I,L)=>f.jsx(dt.Link,{...I,to:e.url,target:d,ref:L}))}:{component:"a",href:e.url,target:d},g=e.icon,m=e.icon?f.jsx(g,{style:{fontSize:s?"1rem":"1.25rem"}}):!1,v=a.findIndex(I=>I===e.id)>-1,{pathname:b}=dt.useLocation();T.useEffect(()=>{b.endsWith(e.url)&&c([e.id])},[b]);const C=n.palette.mode==="dark"?"grey.400":"text.primary",w=n.palette.mode==="dark"&&s?"text.primary":"primary.main";return f.jsx(f.Fragment,{children:r?f.jsxs(S.ListItemButton,{...h,disabled:e.disabled,selected:v,sx:{zIndex:1201,...s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{bgcolor:"transparent",color:w,"&:hover":{color:w,bgcolor:"transparent"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[m?f.jsx(S.ListItemIcon,{sx:{minWidth:36,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:m}):null,!m&&f.jsx(S.ListItemIcon,{sx:{color:v?"primary.main":"secondary.main",...!s&&{borderRadius:1.5,alignItems:"center",justifyContent:"flex-start","&:hover":{bgcolor:"transparent"}},...!s&&v&&{bgcolor:"transparent","&:hover":{bgcolor:"transparent"}}},children:f.jsx(Dp,{size:4,color:v?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:"inherit",children:e.title})}),(s||!s&&t!==1)&&e.chip?f.jsx(S.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(S.Avatar,{children:e.chip.avatar}):null}):null]}):f.jsxs(S.ListItemButton,{...h,disabled:e.disabled,selected:v,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:w,"&:hover":{color:w,bgcolor:n.palette.mode==="dark"?"divider":"primary.lighter"}}},...!s&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},...o&&{onClick:()=>u(!1)},children:[m?f.jsx(S.ListItemIcon,{sx:{minWidth:28,color:v?w:C,...!s&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:n.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!s&&v&&{bgcolor:n.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:n.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:m}):null,s||!s&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",sx:{color:v?w:C},children:e.title})}):null,(s||!s&&t!==1)&&e.chip?f.jsx(S.Chip,{color:e.chip.color,variant:e.chip.variant,size:e.chip.size,label:e.chip.label,avatar:e.chip.avatar?f.jsx(S.Avatar,{children:e.chip.avatar}):null}):null]})})}const _T=pe(S.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}`}}));function il({menu:e,level:t,parentId:n,setSelectedItems:r,selectedItems:o,setSelectedLevel:s,selectedLevel:a}){var N;const c=Kt(),{activeItem:u}=Za(),{horizontal:d}=Nn(),{drawerOpen:h}=Za(),g=dt.useNavigate(),[m,v]=T.useState(!1),[b,C]=T.useState(null),[w,I]=T.useState(null);function L(re){I(null),s(t),h?(v(!m),C(b?null:e.id),r(b?"":e.id),e.url&&g(`${e.url}`)):I(re==null?void 0:re.currentTarget)}function E(){h||e.url&&g(`${e.url}`)}function j(re){I(re==null?void 0:re.currentTarget)}function P(){v(!1),C(null),I(null)}T.useMemo(()=>{b===o?t===1&&v(!0):t===a&&(v(!1),C(null))},[o,t,b,a]);const{pathname:D}=dt.useLocation(),F=!!w;function U(re,W){re.forEach(X=>{X.url===D&&(v(!0),C(W))})}T.useEffect(()=>{v(!1),C(null),F&&I(null),e.children&&e.children.forEach(re=>{var W;(W=re.children)!=null&&W.length&&U(re.children,e.id),re.url===D&&(C(e.id),v(!0)),D.includes(re.url)&&(C(e.id),v(!0))})},[D,e.children]),T.useEffect(()=>{e.url===D&&b!==e.id&&(u([e.id]),C(e.id),I(null),v(!0))},[D,e,b,u]);const K=(N=e.children)==null?void 0:N.map(re=>{switch(re.type){case"collapse":return f.jsx(il,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:re,level:t+1,parentId:n},re.id);case"item":return f.jsx(ol,{item:re,level:t+1},re.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},re.id)}}),ee=b===e.id,G=t===1?f.jsx(Ke.BorderOutlined,{style:{fontSize:"1rem"}}):!1,le=e.icon,ae=e.icon?f.jsx(le,{style:{fontSize:h?"1rem":"1.25rem"}}):G,q=c.palette.mode==="dark"?"grey.400":"text.primary",J=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,z=F?`collapse-pop-${e.id}`:void 0,Q={display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"};return f.jsx(f.Fragment,{children:d?f.jsx(f.Fragment,{children:f.jsxs(S.ListItemButton,{id:`boundary-${z}`,disableRipple:!0,selected:ee,onMouseEnter:j,onMouseLeave:P,onClick:j,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(S.Box,{onClick:E,sx:Q,children:[ae?f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:ae}):null,!ae&&t!==1&&f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(Dp,{size:4,color:ee?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),F?f.jsx(Ke.RightOutlined,{}):f.jsx(Ke.DownOutlined,{})]}),w?f.jsx(_T,{id:z,open:F,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:re})=>f.jsx(hi,{in:F,...re,children:f.jsx(S.Paper,{sx:{overflow:"hidden",mt:1.5,py:.5,boxShadow:c.shadows[8],backgroundImage:"none"},children:f.jsx(S.ClickAwayListener,{onClickAway:P,children:f.jsx(S.Box,{children:K})})})})}):null]})}):f.jsxs(f.Fragment,{children:[f.jsxs(S.ListItemButton,{disableRipple:!0,selected:b===e.id,...!h&&{onMouseEnter:L,onMouseLeave:P},onClick:L,sx:{pl:h?`${t*28}px`:1.5,py:!h&&t===1?1.25:1,...h&&{"&:hover":{bgcolor:c.palette.mode==="dark"?"divider":"primary.lighter"},"&.Mui-selected":{bgcolor:"transparent",color:J,"&:hover":{color:J,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[ae?f.jsx(S.ListItemIcon,{onClick:E,sx:{minWidth:28,color:b===e.id?"primary.main":q,...!h&&{borderRadius:1.5,width:36,height:36,alignItems:"center",justifyContent:"center","&:hover":{bgcolor:c.palette.mode==="dark"?"secondary.light":"secondary.lighter"}},...!h&&b===e.id&&{bgcolor:c.palette.mode==="dark"?"primary.900":"primary.lighter","&:hover":{bgcolor:c.palette.mode==="dark"?"primary.darker":"primary.lighter"}}},children:ae}):null,h||!h&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:b===e.id?"primary":q,children:e.title}),secondary:e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?F||m?f.jsx(Ke.UpOutlined,{style:{fontSize:"0.625rem",marginLeft:1,color:c.palette.primary.main}}):f.jsx(Ke.DownOutlined,{style:{fontSize:"0.625rem",marginLeft:1}}):null,!h&&f.jsx(_T,{open:F,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:re})=>f.jsx(hi,{in:F,...re,children:f.jsx(S.Paper,{sx:{overflow:"hidden",mt:1.5,boxShadow:c.customShadows.z1,backgroundImage:"none",border:`1px solid ${c.palette.divider}`},children:f.jsx(S.ClickAwayListener,{onClickAway:P,children:f.jsx(S.Box,{children:K})})})})})]}),h?f.jsx(S.Collapse,{in:m,timeout:"auto",unmountOnExit:!0,children:f.jsx(S.List,{sx:{p:0},children:K})}):null]})})}const IX=pe(S.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}`}}));function RT({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var z,Q;const u=Kt(),d=R.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Nn(),v=Za(),{drawerOpen:b,selectedID:C,activeID:w}=v,[I,L]=T.useState(null),[E,j]=T.useState(e),P=!!I;T.useEffect(()=>{if(t)if(e.id===r){const N={...e},re=n.map(W=>W.elements);N.children=re.flat(1),j(N)}else j(e)},[e,t,m]);function D(N,re){N.forEach(W=>{var X;(X=W.children)!=null&&X.length&&D(W.children,E.id),W.url===h&&w(re)})}function F(N){(N.children?N.children:[]).forEach(W=>{var X;(X=W.children)!=null&&X.length&&D(W.children,E.id),W.url===h&&w(E.id)})}T.useEffect(()=>{F(E),P&&L(null)},[h,E]);function U(N){P||L(N==null?void 0:N.currentTarget)}function K(){L(null)}const ee=E==null?void 0:E.icon,G=E!=null&&E.icon?f.jsx(ee,{style:{fontSize:20,stroke:"1.5",color:C===E.id?u.palette.primary.main:u.palette.secondary.dark}}):null,le=(z=e.children)==null?void 0:z.map(N=>{switch(N.type){case"collapse":return f.jsx(il,{menu:N,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:E.id},N.id);case"item":return f.jsx(ol,{item:N,level:1},N.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},N.id)}}),ae=n.map((N,re)=>{var W;return f.jsxs(T.Fragment,{children:[N.title?f.jsx(S.Typography,{variant:"caption",sx:{pl:2},children:N.title}):null,(W=N==null?void 0:N.elements)==null?void 0:W.map(X=>{switch(X.type){case"collapse":return f.jsx(il,{menu:X,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},X.id);case"item":return f.jsx(ol,{item:X,level:1},X.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},X.id)}})]},re)}),q=(Q=E.children)==null?void 0:Q.map(N=>{switch(N.type){case"collapse":return f.jsx(il,{menu:N,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},N.id);case"item":return f.jsx(ol,{item:N,level:1},N.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},N.id)}}),J=P?`group-pop-${e.id}`:void 0;return f.jsx(f.Fragment,{children:g?f.jsx(S.List,{children:f.jsxs(S.ListItemButton,{selected:C===E.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:U,onClick:U,onMouseLeave:K,"aria-describedby":J,children:[G?f.jsx(S.ListItemIcon,{sx:{minWidth:28},children:E.id===r?f.jsx(Ke.DownOutlined,{style:{fontSize:20,stroke:"1.5"}}):G}):null,f.jsx(S.ListItemText,{sx:{mr:1},primary:f.jsx(S.Typography,{variant:"body1",color:C===E.id?u.palette.primary.main:u.palette.secondary.dark,children:E.id===r?d("ra.actions.more"):E.title})}),P?f.jsx(Ke.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(Ke.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),I?f.jsx(IX,{id:J,open:P,anchorEl:I,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:N})=>f.jsx(hi,{in:P,...N,children:f.jsx(S.Paper,{sx:{mt:.5,py:1.25,boxShadow:u.shadows[8],backgroundImage:"none"},children:f.jsx(S.ClickAwayListener,{onClickAway:K,children:f.jsx(S.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:E.id!==r?q:ae})})})})}):null]})}):f.jsx(S.List,{subheader:e.title&&b?f.jsxs(S.Box,{sx:{pl:3,mb:1.5},children:[f.jsx(S.Typography,{variant:"subtitle2",color:u.palette.mode==="dark"?"textSecondary":"text.secondary",children:e.title}),e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null]}):null,sx:{mt:b&&e.title?1.5:0,py:0,zIndex:0},children:le})})}function BT(e){const{horizontal:t}=Nn(),{open:n}=Si(),r=Sr(e,{pt:n?t?0:2:0,"& > ul:first-of-type":{mt:0},display:t?{xs:"block",lg:"flex"}:"block"});return f.jsx(S.Box,{sx:r,children:e.children})}function NT(e){const{horizontal:t}=Nn(),{menu:n,isLoading:r}=Rh(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=Tn(),d=t?u:void 0;let h=r?0:(n??[]).length-1,g=[],m;return!r&&d&&d<(n??[]).length&&(m=(n??[])[d-1].id,h=d-1,g=(n??[]).slice(d-1,(n??[]).length).map(v=>({title:v.title,elements:v.children,icon:v.icon}))),f.jsx(BT,{...e,children:!r&&$.map((n??[]).slice(0,h+1),v=>{const{type:b}=v;switch(b){case"group":return f.jsx(RT,{item:v,setSelectedItems:s,setSelectedLevel:c,selectedLevel:a,selectedItems:o,lastItem:d,remItems:g,lastItemId:m},v.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Navigation Group"},v.id)}})})}function VT(){const{mode:e,setMode:t}=Tn();return f.jsx(Fs,{value:"theme-mode","aria-label":"toggle mode",onChange:()=>t(e==="dark"?"light":"dark"),selected:!1,children:e==="dark"?f.jsx(Ke.SunOutlined,{}):f.jsx(Ke.MoonOutlined,{})})}const WT=T.forwardRef((e,t)=>{const n=Sr(e,{display:"flex",width:"100%"});return f.jsx(S.Box,{ref:t,...e,sx:n,children:e.children})});function Tg({source:e="paper"}){const{mode:t}=Tn(),n=S.useTheme();return T.useEffect(()=>{var o;const r=$.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const zT=eA(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=Ew();return f.jsxs(WT,{children:[f.jsxs(PT,{children:[f.jsx(LT,{}),a?f.jsx(IT,{}):null,o?f.jsx(VT,{}):null,f.jsx(Tg,{}),f.jsx(HC,{}),s?f.jsx(jT,{}):null,f.jsx(kT,{children:f.jsx(MT,{})})]}),f.jsx(DT,{children:f.jsx(NT,{})}),f.jsxs(nA,{error:t.error,children:[!c&&f.jsx(Qx,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(dt.Outlet,{}),f.jsx(Ag,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),OX=pe("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function UT(){return f.jsx(OX,{children:f.jsx(S.LinearProgress,{color:"primary"})})}function PX(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(UT,{}),children:f.jsx(e,{...t})})}function Eg({title:e}){return f.jsxs(S.Stack,{direction:"row",children:[f.jsx(S.Typography,{variant:"h2",sx:{fontWeight:"regular",letterSpacing:-2.5},children:"a."})," ",f.jsx(S.Typography,{variant:"h2",sx:{fontWeight:"bold"},children:e})]})}const jX=pe(R.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function HT(e){return f.jsx(jX,{...e})}var sl=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(sl||{});const GT=so().required(),YT=so().oneOf(Object.values(sl));function MX(e){var I;const t=Ui.useQueryClient(),[n,r]=T.useState(!1),[o,s]=T.useState(()=>()=>Promise.resolve()),a=ne.useGetIdentity(),c=(I=a==null?void 0:a.data)==null?void 0:I.email,u=ne.useDataProvider(),d=T.useCallback(()=>c?u.get("onboarding").then(L=>{var E;return(E=L==null?void 0:L.data)==null?void 0:E.value}):Promise.reject(),[u,c]),{data:h,isLoading:g,isError:m}=Ui.useQuery({queryKey:["GET","onboarding",c],queryFn:d,staleTime:24*60*60*1e3,retry:c!==void 0}),[v,b]=T.useState(()=>()=>Promise.resolve()),w=Ui.useMutation({mutationFn:v}).mutateAsync;return T.useEffect(()=>{function L(){const E=$.chain(h??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",E).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}b(()=>L)},[u,h,e,t,c]),T.useEffect(()=>{r($.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function kX(e){const[t,n]=Jh("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o($.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>$.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function LX(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function KT(e,t){Zh({mode:YT,topic:GT}).validateSync({mode:e,topic:t});const n=MX(t),r=kX(t),o=LX();switch(e){case sl.USER:return n.loading?o:n.error?r:$.pick(n,["onboardingRequired","acknowledgeOnboarding"]);case sl.BROWSER:return r;default:return o}}var Ds=(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))(Ds||{});function FX(e,t){var o;const n=$.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return $.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=$.chain(n.tips).clone().reject(h=>h.id===a).value(),u=$.find(n.tips,{id:a}),d=$.chain(u??{}).clone().extend(s).value();return c.push(d),$.extend(n,{tips:$.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=$.isString(s)?s:s.id,c=$.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return $.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=$.isString(s)?s:s.id,c=$.chain(n.tips).reject(m=>m.id===a).value(),u=$.find(n.tips,{id:a});if($.isNil(u))return n;const d=$.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=$.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&$.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),$.extend(n,{tips:$.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return $.extend(n,{onComplete:s})}case"RESTART":{const s=$.chain(n.tips).clone().map(a=>$.omit(a,"dismissed")).value();return $.extend(n,{tips:s,currentStep:0})}default:return n}}const Ig=T.createContext(void 0);function DX(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=KT(t,n),[s,a]=T.useReducer(FX,{show:r,tips:[],currentStep:0,onComplete:()=>{}}),c=T.useMemo(()=>({state:s,dispatch:a}),[s,a]);return T.useEffect(()=>{a({type:"SET_SHOW",payload:r})},[r,a]),T.useEffect(()=>{function u(){o().then(()=>{a({type:"SET_SHOW",payload:!1})})}a({type:"SET_ON_COMPLETE",payload:u})},[o,a]),f.jsx(Ig.Provider,{value:c,children:e.children})}function XT(){const e=T.useContext(Ig);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function _X(){return XT().state}function ZT(){return XT().dispatch}function QT(e){Zh({id:so().required(),step:zw().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=_X(),c=$.find(s,{id:t}),{dismissed:u}=c??{},d=ZT(),h=T.useCallback(()=>{d({type:Ds.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{($.isNil(c)||n!==(c==null?void 0:c.step))&&d({type:Ds.REGISTER_TIP,payload:{id:t,step:n,completeOnboarding:r}})},[t,n,r,c,d]),T.useEffect(()=>()=>{d({type:Ds.UNREGISTER_TIP,payload:t})},[t,d]),{tip:$.chain(c??e).clone().extend({open:o&&!$.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function RX(){const e=ZT();return T.useCallback(()=>{e({type:Ds.RESTART})},[e])}function BX(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=QT({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=$.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(Qc,{...u,arrow:!0,open:c,title:f.jsxs(S.Stack,{gap:1,children:[f.jsx(S.Typography,{children:r}),f.jsx(S.Button,{onClick:a,variant:"text",color:"primary",size:"small",children:"Got it!"})]}),children:e.children})}const NX=S.styled(BX)(({theme:e})=>{const{palette:t,spacing:n}=e,{primary:r,background:o}=t;return{[`& .${S.tooltipClasses.tooltip}`]:{padding:`${n(1)} ${n(1.5)}`,backgroundColor:r.main,color:r.contrastText,[`& .${S.buttonClasses.root}`]:{backgroundColor:o.paper}},[`& .${S.tooltipClasses.arrow}`]:{color:r.main}}});function JT({children:e}){const t=dt.useLocation(),{pathname:n}=t;return T.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const VX=pe("div")({width:"100%",overflowX:"auto",display:"block"});function WX({shadow:e,children:t,...n}){return f.jsx(sr,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function qT({title:e}){return f.jsx(S.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const zX="RaButton";function UX(e){if(e==null)return;if(typeof e=="string")return{to:e};const{redirect:t,replace:n,state:r,...o}=e;return{to:o,redirect:t,replace:n,state:r}}const HX=pe(S.Button,{name:zX,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function Yu(e){const{disableIconOnly:t=!1,label:n,children:r,className:o,color:s,size:a,disabled:c,alignIcon:u,to:d,...h}=e,g=R.useTranslate(),m=UX(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(HX,{className:o,color:s,size:a,"aria-label":v,disabled:c,startIcon:u==="left"&&r?r:void 0,endIcon:u==="right"&&r?r:void 0,...m,...h,children:v})}return f.jsx(R.Button,{...e})}function Og(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)]}function GX(e,t){return e&&e.data?{data:Og(e.data,t),total:e.total+1}:e}function YX(e,t){return e&&e.length>0?Og(e,t):e}function KX(e,t){return e&&e.data?{...e,data:Og(e.data,t),total:e.total+1}:e}function XX(e){const{disableFloatingButton:t,label:n="ra.action.create",startIcon:r=f.jsx(Ke.PlusCircleOutlined,{}),...o}=e,s=T.useCallback(a=>{var c;a.preventDefault(),(c=e==null?void 0:e.onClick)==null||c.call(e)},[e]);return t?f.jsx(Yu,{...o,onClick:s,label:n,children:r}):f.jsx(ZV,{...e,onClick:s,label:n,children:r})}function ZX(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=Qn.useFormContext(),o=ne.useTranslate(),s=T.useCallback(a=>{a.preventDefault(),a.stopPropagation(),r(c=>t(c,n))()},[r,t,n]);return f.jsx(S.Button,{onClick:s,color:"primary",variant:"contained",size:"medium",children:o("ra.action.save")})}function QX(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,onSubmit:s,mutationOptions:a,scroll:c="body",...u}=e,d=Ui.useQueryClient(),h=ne.useResourceContext(),g=ne.useTranslate(),m=T.Children.only(t),[v,b]=T.useState(!1),C=ne.useNotify(),w=T.useCallback(()=>b(!0),[]),I=T.useCallback(()=>b(!1),[]),L=T.useCallback((E,j,P)=>{var U,K;const F=Date.now();d.setQueryData([h,"getOne",{id:E.id}],E),d.setQueriesData([h,"getList"],ee=>KX(ee,E),{updatedAt:F}),d.setQueriesData([h,"getMany"],ee=>YX(ee,E),{updatedAt:F}),d.setQueriesData([h,"getManyReference"],ee=>GX(ee,E),{updatedAt:F}),I(),C("ra.notification.created",{messageArgs:{smart_count:1}}),(K=(U=e==null?void 0:e.mutationOptions)==null?void 0:U.onSuccess)==null||K.call(U,E,j,P)},[I,C,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(XX,{...u,onClick:w}),f.jsx(S.Dialog,{open:v,scroll:c,onClose:I,maxWidth:n,fullWidth:r,fullScreen:o,children:f.jsx(S.DialogContent,{sx:{m:0,p:0},children:f.jsx(ne.CreateBase,{...e,mutationOptions:{...a,onSuccess:L},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(wi,{children:[f.jsx(S.Button,{variant:"text",size:"medium",onClick:I,children:g("ra.action.cancel")}),s?f.jsx(ZX,{onSubmit:s,closeDialog:I}):f.jsx(Mh,{type:"button"})]})}):null})})})]})}function JX(e){const t=T.useCallback(n=>{var r;n.preventDefault(),n.stopPropagation(),(r=e==null?void 0:e.onClick)==null||r.call(e)},[e]);return f.jsx(JC,{...e,onClick:t})}function qX(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=Qn.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(Yu,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function $X(e){const{children:t,maxWidth:n="md",fullWidth:r=!0,fullScreen:o,mutationOptions:s,onSubmit:a,scroll:c="body",...u}=e,d=ne.useNotify(),[h,g]=T.useState(!1),m=T.Children.only(t),v=T.useCallback(()=>g(!0),[]),b=T.useCallback(()=>g(!1),[]),C=T.useCallback((I,L,E)=>{var j,P;b(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(j=e==null?void 0:e.mutationOptions)==null?void 0:j.onSuccess)==null||P.call(j,I,L,E)},[b,d,e.mutationOptions,e.mutationMode]),w=ne.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(JX,{...u,onClick:v}),f.jsx(S.Dialog,{open:h,scroll:c,onClose:b,fullWidth:r,maxWidth:n,fullScreen:o,keepMounted:!1,children:f.jsx(S.DialogContent,{sx:{m:0,p:0},children:f.jsx(ne.EditBase,{...e,id:w.id,mutationMode:"pessimistic",mutationOptions:{...s,onSuccess:C},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(wi,{children:[f.jsx(Yu,{disableIconOnly:!0,variant:"text",size:"medium",onClick:b,label:"ra.action.cancel"}),a?f.jsx(qX,{onSubmit:a,closeDialog:b}):f.jsx(Mh,{type:"button"})]})}):null})})})]})}function eZ({label:e="ra.auth.sign_in",...t}){const n=R.useRecordContext(),[r,o]=T.useState(!1),s=R.useAuthProvider(),a=T.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 f.jsx(R.Button,{disabled:r||s.impersonate===void 0,color:"primary",variant:"text",label:e,onClick:a,...t,children:f.jsx(Ln.VpnKey,{})})}function tZ({source:e,label:t,variant:n="body1",record:r,spaceBottom:o,spaceTop:s,component:a,leftIcon:c,rightIcon:u,button:d,buttonProps:h,...g}){const{getCurrentDialog:m}=ng(),v=ne.useResourceContext(g),b=m(),C=ne.useRecordContext(),w=r||C,I=ut.get(w,e||"");return f.jsxs(S.Stack,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:L=>({pt:1,pb:1,borderBottom:`1px solid ${L.palette.divider}`,...o&&{mb:2},...s&&{mt:2}}),children:[f.jsxs(S.Stack,{direction:"row",alignItems:"start",children:[c?T.isValidElement(c)?T.cloneElement(c,{style:Ku}):T.createElement(c,{style:Ku}):null,f.jsx(ne.FieldTitle,{label:t,source:e,resource:b||v})]}),f.jsxs(S.Stack,{direction:"row",alignItems:"center",children:[a?T.isValidElement(a)?T.cloneElement(a,{record:w,resource:v,value:I}):T.createElement(a,{source:e,record:w,resource:v,value:I}):f.jsx(S.Typography,{variant:n,children:I}),u?T.isValidElement(u)?T.cloneElement(u,{style:Ku}):T.createElement(u,{style:Ku}):null,d?f.jsx(S.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const Ku={width:"1.5rem",alignSelf:"center"};function $T(e){const{label:t="ra.action.bulk_actions",children:n,className:r,...o}=e,{filterValues:s,resource:a,selectedIds:c=[],onUnselectItems:u}=ne.useListContext(e),d=ne.useTranslate(),h=T.useCallback(()=>{u()},[u]);return f.jsx(nZ,{className:r,children:f.jsxs(S.Toolbar,{"data-test":"bulk-actions-toolbar",className:lt(Er.toolbar,{[Er.collapsed]:c.length===0}),...ne.sanitizeListRestProps(o),children:[f.jsxs("div",{className:Er.title,children:[f.jsx(S.IconButton,{className:Er.icon,"aria-label":d("ra.action.unselect"),title:d("ra.action.unselect"),onClick:h,size:"small",children:f.jsx(Ln.Close,{fontSize:"small"})}),f.jsx(S.Typography,{color:"inherit",variant:"subtitle1",children:d(t,{_:t,smart_count:c.length})})]}),f.jsx(R.TopToolbar,{className:Er.topToolbar,children:T.Children.map(n,g=>T.isValidElement(g)?T.cloneElement(g,{filterValues:s,resource:a,selectedIds:c}):null)})]})})}const Ai="RaBulkActionsToolbar",Er={toolbar:`${Ai}-toolbar`,topToolbar:`${Ai}-topToolbar`,buttons:`${Ai}-buttons`,collapsed:`${Ai}-collapsed`,title:`${Ai}-title`,icon:`${Ai}-icon`},nZ=pe("div",{name:Ai,overridesResolver:(e,t)=>t.root})(({theme:e})=>({position:"relative",[`& .${Er.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"?Ip(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},[`& .${Er.topToolbar}`]:{paddingBottom:e.spacing(1),minHeight:"auto",[e.breakpoints.down("sm")]:{backgroundColor:"transparent"}},[`& .${Er.buttons}`]:{},[`& .${Er.collapsed}`]:{minHeight:0,height:0,transform:"translateY(0)",overflowY:"hidden"},[`& .${Er.title}`]:{display:"flex",flex:"0 0 auto"},[`& .${Er.icon}`]:{marginLeft:"-0.5em",marginRight:"0.5em"}})),Pg={p:0,m:0},eE={p:2,m:0,borderRadius:0,width:"100%"};function rZ(e){const{children:t}=e,[n,r]=B.useState(null);function o(b){r(b.currentTarget)}function s(){r(null)}const a=S.useMediaQuery(b=>b.breakpoints.down("md")),{filterValues:c,resource:u,selectedIds:d=[],onUnselectItems:h}=R.useListContext(e),g=!!n&&d!==void 0&&d.length>0,m=g?"simple-popover":void 0,v=B.useCallback(()=>{h(),r(null)},[h,r]);return f.jsx(S.Fade,{in:d!==void 0&&d.length>0,children:f.jsxs(S.Box,{sx:{position:"fixed",bottom:"16px",right:"16px"},children:[f.jsx(S.Fab,{color:"primary","aria-label":"manage",onClick:o,children:d==null?void 0:d.length}),f.jsx(S.Popover,{id:m,open:g,anchorEl:n,onClose:s,anchorOrigin:{vertical:"top",horizontal:a?"center":"right"},transformOrigin:{vertical:"bottom",horizontal:a?"center":"right"},disableScrollLock:!0,elevation:10,children:f.jsxs(S.List,{sx:Pg,children:[f.jsx(S.ListItem,{sx:Pg,children:f.jsx(R.Button,{onClick:v,sx:eE,label:"ra.action.unselect",startIcon:f.jsx(Fh,{}),children:f.jsx(Fh,{})})}),B.Children.map(t,b=>{var C;return f.jsx(S.ListItem,{sx:Pg,children:B.isValidElement(b)?B.cloneElement(b,{filterValues:c,resource:u,selectedIds:d,sx:eE,...(C=b.props)!=null&&C.popover?{closePopover:s}:{}}):null})})]})})]})})}const tE=T.createContext({});tE.displayName="DatagridContext";function oZ({children:e,value:t}){return f.jsx(tE.Provider,{value:t,children:e})}const nE=f.jsx(R.BulkDeleteButton,{}),rE=B.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?R.PureDatagridBody:R.DatagridBody,header:o=R.DatagridHeader,children:s,className:a,empty:c=aZ,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=nE,hover:g,isRowSelectable:m,isRowExpandable:v,resource:b,rowClick:C,rowSx:w,rowStyle:I,size:L="small",sx:E,expandSingle:j=!1,...P}=e,{sort:D,data:F,isLoading:U,onSelect:K,onToggleItem:ee,selectedIds:G,setSort:le,total:ae}=ne.useListContext(e),q=!!h,J=T.useMemo(()=>({isRowExpandable:v,expandSingle:j}),[v,j]),z=T.useRef(null);T.useEffect(()=>{(!G||G.length===0)&&(z.current=null)},[JSON.stringify(G)]);const Q=T.useCallback((N,re)=>{const W=F.map(de=>de.id),X=W.indexOf(z.current);if(z.current=re.target.checked?N:null,re.shiftKey&&X!==-1){const de=W.indexOf(N),he=W.slice(Math.min(X,de),Math.max(X,de)+1),fe=re.target.checked?oU(G,he):bU(G,he);K(m?fe.filter(ge=>m(F.find(ve=>ve.id===ge))):fe)}else ee(N)},[F,m,K,ee,G]);return U===!0?f.jsx(R.DatagridLoading,{className:a,expand:u,hasBulkActions:q,nbChildren:B.Children.count(s),size:L}):F==null||F.length===0||ae===0?c||null:f.jsx(oZ,{value:J,children:f.jsxs(R.DatagridRoot,{sx:E,className:lt(R.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:G,total:ae}):h!==!1?f.jsx($T,{children:T.isValidElement(h)?h:nE}):null,f.jsx("div",{className:R.DatagridClasses.tableWrapper,children:f.jsxs(S.Table,{ref:t,className:R.DatagridClasses.table,size:L,...sZ(P),children:[oE(o,{children:s,sort:D,data:F,hasExpand:!!u,hasBulkActions:q,isRowSelectable:m,onSelect:K,resource:b,selectedIds:G,setSort:le},s),oE(r,{expand:u,rowClick:C,data:F,hasBulkActions:q,hover:g,onToggleItem:Q,resource:b,rowSx:w,rowStyle:I,selectedIds:G,isRowSelectable:m},s)]})})]})})});function oE(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const iZ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function sZ(e){return Object.keys(ne.sanitizeListRestProps(e)).filter(t=>!iZ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}rE.displayName="Datagrid";const aZ=f.jsx(R.ListNoResults,{}),lZ=pe(rE,{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 cZ(e){return f.jsx(lZ,{...e})}const uZ=pe("div")(({theme:e})=>({padding:e.spacing(2)}));function dZ({actions:e,className:t,...n}){const{hasCreate:r}=ne.useResourceDefinition(n),o=ne.useResourceContext(n),s=ne.useTranslate(),a=ne.useGetResourceLabel(),c=s(`resources.${o}.forcedCaseName`,{smart_count:0,_:a(o,0)}),u=s("ra.page.empty",{name:c}),d=s("ra.page.invite");return f.jsxs(fZ,{className:t,children:[f.jsxs("div",{className:Ti.message,children:[f.jsx(Ln.Inbox,{className:Ti.icon}),f.jsx(S.Typography,{variant:"h4",paragraph:!0,children:s(`resources.${o}.empty`,{_:u})}),r?f.jsx(S.Typography,{variant:"body1",children:s(`resources.${o}.invite`,{_:d})}):null]}),f.jsx(uZ,{className:Ti.toolbar,children:e})]})}const Xu="ApplicaEmpty",Ti={message:`${Xu}-message`,icon:`${Xu}-icon`,toolbar:`${Xu}-toolbar`},fZ=pe("span",{name:Xu,overridesResolver:(e,t)=>t.root})(({theme:e})=>({flex:1,[`& .${Ti.message}`]:{textAlign:"center",opacity:e.palette.mode==="light"?.5:.8,margin:"0 1em",color:e.palette.mode==="light"?"inherit":e.palette.text.primary},[`& .${Ti.icon}`]:{width:"9em",height:"9em"},[`& .${Ti.toolbar}`]:{textAlign:"center",marginTop:"2em"}})),pZ=f.jsx(R.ListActions,{}),hZ=f.jsx(R.Pagination,{}),gZ=f.jsx(R.Empty,{}),mZ=S.Card;function vZ(e){const{actions:t=pZ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=hZ,children:u,className:d,component:h=mZ,title:g,empty:m=gZ,...v}=e,{defaultTitle:b,data:C,error:w,isLoading:I,filterValues:L,resource:E}=ne.useListContext(e);if(!u||!C&&I&&s)return null;function j(){return f.jsxs("div",{className:zo.main,children:[r||t?f.jsx(R.ListToolbar,{className:zo.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:zo.content,children:o&&u&&B.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(Dh,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:zo.noResults,hasCreate:a})}const D=!I&&(C==null?void 0:C.length)===0&&!Object.keys(L).length&&m!==!1;return f.jsxs(yZ,{className:lt("list-page",d),...v,children:[f.jsx(R.Title,{title:g,defaultTitle:b,preferenceKey:`${E}.list.title`}),D?P():j(),n]})}const al="RaList",zo={main:`${al}-main`,content:`${al}-content`,actions:`${al}-actions`,noResults:`${al}-noResults`},yZ=pe("div",{name:al,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${zo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${zo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${zo.actions}`]:{},[`& .${zo.noResults}`]:{}})),iE=T.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:s="small",className:a,...c}=e,u=ne.useTranslate(),d=Math.ceil(r/n)||1;if(d===1)return f.jsx(sE,{className:a});function h(g,m,v){return g==="page"?v?u("ra.navigation.current_page",{page:m,_:`page ${m}`}):u("ra.navigation.page",{page:m,_:`Go to page ${m}`}):u(`ra.navigation.${g}`,{_:`Go to ${g} page`})}return f.jsx(sE,{className:a,children:f.jsx(S.Pagination,{size:s,count:d,page:t+1,onChange:(g,m)=>o(g,m-1),...bZ(c),getItemAriaLabel:h})})});iE.propTypes={count:x.number.isRequired,onPageChange:x.func.isRequired,page:x.number.isRequired,rowsPerPage:x.number.isRequired,color:x.oneOf(["primary","secondary","standard"]),size:x.oneOf(["small","medium","large"])};const sE=pe("div",{name:"RaPaginationActions",overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function bZ({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const aE=T.memo(e=>{const{rowsPerPageOptions:t=xZ,actions:n,limit:r=null,...o}=e,{isLoading:s,hasNextPage:a,page:c,perPage:u,total:d,setPage:h,setPerPage:g}=ne.useListPaginationContext(e),m=ne.useTranslate(),v=S.useMediaQuery(F=>F.breakpoints.down("md")),[b,C]=T.useState(0),w=T.useMemo(()=>d!=null?Math.ceil(d/u):void 0,[u,d]),I=T.useCallback(ut.debounce(F=>{h(F+1)},500),[h]),L=T.useCallback((F,U)=>{var G,le;if(!F)return;if(F.preventDefault(),U<0||w!==void 0&&U>w-1)throw new Error(m("ra.navigation.page_out_of_boundaries",{page:U+1}));const K=(((G=F.target.dataset)==null?void 0:G.testid)||((le=F.target.classList)==null?void 0:le.value))??"",ee=K.includes("MuiPaginationItem-previousNext")||K.includes("NavigateBeforeIcon")||K.includes("NavigateNextIcon")||K.includes("KeyboardArrowLeftIcon")||K.includes("KeyboardArrowRightIcon");C(U),ee?I(U):h(U+1)},[I,h,m,w]),E=T.useCallback(F=>{g(Number(F.target.value))},[g]),j=T.useCallback(({from:F,to:U,count:K})=>K===-1&&a?m("ra.navigation.partial_page_range_info",{offsetBegin:F,offsetEnd:U,_:"%{from}-%{to} of more than %{to}"}):m("ra.navigation.page_range_info",{offsetBegin:F,offsetEnd:U,total:K===-1?U:K,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[m,a]),P=T.useCallback(F=>m(`ra.navigation.${F}`,{_:`Go to ${F} page`}),[m]);if(s)return f.jsx(S.Toolbar,{variant:"dense"});if(d===0||c<1||w!==void 0&&c>w)return r!=null&&process.env.NODE_ENV==="development"&&console.warn("The Pagination limit prop is deprecated. Empty state should be handled by the component displaying data (Datagrid, SimpleList)."),null;if(v)return f.jsx(S.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:L,rowsPerPageOptions:CZ,component:"span",labelDisplayedRows:j,...ne.sanitizeListRestProps(o)});const D=n||(!s&&d!=null?iE:void 0);return f.jsx(S.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:L,onRowsPerPageChange:E,ActionsComponent:D,nextIconButtonProps:{disabled:!a},component:"span",labelRowsPerPage:m("ra.navigation.page_rows_per_page"),labelDisplayedRows:j,getItemAriaLabel:P,rowsPerPageOptions:t,...ne.sanitizeListRestProps(o)})});aE.propTypes={actions:ne.ComponentPropType,limit:x.element,rowsPerPageOptions:x.arrayOf(x.oneOfType([x.number,x.shape({label:x.string.isRequired,value:x.number.isRequired})]))};const xZ=[5,10,25,50],CZ=[];function wZ({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=SZ,filterDefaultValues:s,perPage:a=10,queryOptions:c,resource:u,sort:d,storeKey:h,...g}){return f.jsx(ne.ListBase,{debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o,filterDefaultValues:s,perPage:a,queryOptions:c,resource:u,sort:d,storeKey:h,children:f.jsx(vZ,{...g})})}const SZ={},AZ=Ma(wZ,{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,"& .MuiInputLabel-root":{paddingTop: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 TZ(e){return f.jsx(sr,{content:!1,children:f.jsx(AZ,{...e,pagination:f.jsx(aE,{})})})}function EZ(){const e=R.useRefresh(),t=R.useNotify(),n=R.useResourceContext(),r=R.useUnselectAll(n),{selectedIds:o,data:s}=R.useListContext(),a=R.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)),[u,{isLoading:d}]=R.useUpdateMany(n,{ids:o.length>0?o:[a==null?void 0:a.id],data:{readed:Ar().toISOString()},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"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(R.Button,{label:"ra.notification.mark_as_readed",disabled:d||(a==null?void 0:a.readed)!==null,onClick:h,children:f.jsx(Ln.Email,{})})}function IZ(){const e=R.useRefresh(),t=R.useNotify(),n=R.useResourceContext(),r=R.useUnselectAll(n),{selectedIds:o,data:s}=R.useListContext(),a=R.useRecordContext(),c=o.map(g=>s.find(m=>m.id===g)).concat([a]),[u,{isLoading:d}]=R.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"})}),h=T.useCallback(()=>{u()},[u]);return f.jsx(R.Button,{color:"secondary",label:"ra.notification.mark_as_unreaded",disabled:d||a&&!(a!=null&&a.readed),onClick:h,children:f.jsx(Ln.Drafts,{})})}function OZ(e){const t=R.useRecordContext(e),n=R.useResourceContext(e),r=R.useRedirect(),o=R.useNotify(),s=R.useTranslate(),[a]=R.useLocaleState(),c=T.useMemo(()=>t!=null&&t.readed?Ar(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]=R.useUpdate(n,{id:t==null?void 0:t.id,data:{...t,readed:Ar().toISOString()}},{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"})}}),d=T.useCallback(()=>u(),[u]);return f.jsxs("div",{onClick:d,style:{cursor:"pointer"},role:"button",tabIndex:0,children:[f.jsx(S.Typography,{variant:"subtitle1",children:f.jsxs(S.Box,{fontWeight:"bold",children:[" ",t==null?void 0:t.title]})}),f.jsx(S.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?f.jsx(S.Typography,{variant:"caption",display:"block",sx:{mt:1},color:"textSecondary",children:s("ra.notification.readed",{readed:c})}):null]})}function PZ({...e}){const t=S.useTheme(),{mode:n,colorize:r,density:o}=T.useMemo(()=>({mode:t.palette.mode,colorize:t.palette.mode==="dark"?S.darken:S.lighten,density:t.palette.mode==="dark"?.5:.9}),[t.palette.mode]);function s(a){return{backgroundColor:a!=null&&a.readed?r(t.palette.secondary[n],o):r(t.palette.primary[n],o)}}return f.jsxs(R.Datagrid,{...e,rowSx:s,children:[f.jsx(OZ,{source:"notification",sortable:!1}),f.jsx(hS,{source:"created"}),f.jsxs(Lo,{children:[f.jsx(EZ,{}),f.jsx(IZ,{})]})]})}const jZ=pe(R.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function MZ({children:e}){const t=Kt();return f.jsx(sr,{sx:{maxWidth:{xs:400,lg:475},margin:{xs:2.5,md:3},"& > *":{flexGrow:1,flexBasis:"50%"}},content:!1,border:!1,boxShadow:!0,shadow:t.customShadows.z1,children:f.jsx(S.Box,{sx:{p:{xs:2,sm:3,md:4,xl:5}},children:e})})}function Zu({version:e,name:t,copy:n,children:r,logo:o,background:s=Jc,footer:a=!0}){return f.jsxs(S.Box,{children:[f.jsx(Tg,{source:"default"}),T.isValidElement(s)?s:T.createElement(s),f.jsxs(S.Grid,{container:!0,direction:"column",justifyContent:"flex-end",children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{ml:3},children:o||f.jsx(Eg,{title:t})}),f.jsxs(S.Grid,{item:!0,xs:12,children:[f.jsx(S.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:f.jsx(S.Grid,{item:!0,children:f.jsx(MZ,{children:r})})}),a?f.jsx(S.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(Ag,{name:t,copy:n,version:e})}):null]})]})]})}function kZ({name:e,copy:t,logo:n,version:r,background:o}){const s=ne.useTranslate(),a=ne.useAuthProvider(),c=ne.useNotify(),u=dt.useNavigate(),{token:d}=dt.useParams();return T.useEffect(()=>{if(typeof a.activate!="function")throw new Error("The authProvider used for the ActivatePage must define an activate() method");a.activate(d).then(()=>{c("ra.auth.activate_success",{type:"info"}),$.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),$.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(Zu,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:s("ra.auth.activate")}),f.jsx(S.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:s("ra.auth.back_to_login")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:s("ra.auth.activate_pending")})]})})}function lE(){const e=T.useCallback(()=>location.reload(),[]);return f.jsx(S.Container,{children:f.jsxs(S.Stack,{alignItems:"center",px:2,py:{xs:4,sm:8},spacing:2,textAlign:"center",children:[f.jsx("img",{alt:"Error",src:j1,style:{width:"100%",maxWidth:450}}),f.jsx(S.Typography,{variant:"h2",children:"Ops! An error occurred..."}),f.jsx(S.Typography,{children:"We're fixing the problem. Please try again later."}),f.jsx(S.Button,{onClick:e,variant:"contained",children:"Reload"})]})})}function cE({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=f.jsx(Jc,{})}){const[u,d]=ne.useSafeSetState(!1),h=ne.useLogin(),g=ne.useTranslate(),m=ne.useNotify(),v=ne.useCheckAuth(),b=dt.useNavigate();T.useEffect(()=>{v({},!1).then(()=>{b("/")}).catch(()=>{})},[v,b]);function C(w){d(!0),h(w,a).then(()=>{d(!1)}).catch(I=>{d(!1),m(typeof I=="string"?I:typeof I>"u"||!I.message?"ra.auth.sign_in_error":I.message,{type:"error",messageArgs:{_:typeof I=="string"?I:I&&I.message?I.message:void 0}})})}return f.jsx(Zu,{name:t,version:e,copy:n,logo:r,background:c,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:"Login"}),s?f.jsx(S.Typography,{component:dt.Link,to:"/register",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:g("ra.auth.register")}):null]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(ne.Form,{onSubmit:C,children:[f.jsxs(S.Grid,{container:!0,children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Tr,{autoFocus:!0,source:"username",label:g("ra.auth.username"),autoComplete:"username",validate:ne.required(),placeholder:"user@company.name",fullWidth:!0})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:2},children:f.jsx(Tr,{source:"password",label:g("ra.auth.password"),type:"password",autoComplete:"current-password",validate:ne.required(),placeholder:g("ra.auth.password_placeholder"),fullWidth:!0})})]}),o?f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Stack,{direction:"row",justifyContent:"flex-end",alignItems:"flex-end",spacing:2,children:f.jsx(S.Link,{variant:"h6",component:dt.Link,to:"/recover",color:"text.primary",children:g("ra.auth.forgot_password")})})}):null,f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:u,fullWidth:!0,children:u?f.jsx(S.CircularProgress,{size:19,thickness:3}):g("ra.auth.sign_in")})})]})})]})})}function LZ({name:e,copy:t,logo:n,version:r,background:o}){const[s,a]=T.useState(!1),c=ne.useTranslate(),u=ne.useRedirect(),d=ne.useNotify(),h=ne.useAuthProvider();function g({email:m}){a(!0),h.recover(m).then(v=>{const b=`ra.auth.recover_${v.responseCode}`,C=v.responseCode==="ok"?"info":"error";d(b,{type:C}),u("/login")}).catch(v=>{d((v==null?void 0:v.message)||(v==null?void 0:v.toString()),{type:"error"})}).finally(()=>a(!1))}return f.jsx(Zu,{name:e,copy:t,logo:n,version:r,background:o,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:c("ra.auth.recover.title")}),f.jsx(S.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.back_to_login")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:g,children:[f.jsx(S.Grid,{container:!0,children:f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"email",validate:[ne.required(),ne.email()]})})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1,mb:1},children:f.jsx(S.Typography,{variant:"caption",children:c("ra.auth.recover.inbox_help")})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(S.CircularProgress,{size:19,thickness:3}):c("ra.auth.recover")})})]})})]})})}function FZ({name:e,copy:t,version:n,logo:r,background:o}){const[s,a]=T.useState(!1),c=ne.useTranslate(),u=ne.useRedirect(),d=ne.useNotify(),h=ne.useAuthProvider();function g(m){a(!0),h.register(m).then(v=>{const b=`ra.auth.register_${v.responseCode}`,C=v.responseCode==="ok"?"info":"error";d(b,{type:C}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(Zu,{name:e,copy:t,logo:r,background:o,version:n,children:f.jsxs(S.Grid,{container:!0,spacing:3,children:[f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(S.Stack,{direction:"row",justifyContent:"space-between",alignItems:"baseline",sx:{mb:{xs:-.5,sm:.5}},children:[f.jsx(S.Typography,{variant:"h3",children:c("ra.auth.register.title")}),f.jsx(S.Typography,{component:dt.Link,to:"/login",variant:"body1",sx:{textDecoration:"none"},color:"primary",children:c("ra.auth.already_have_account")})]})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsxs(R.Form,{onSubmit:g,children:[f.jsxs(S.Grid,{container:!0,children:[f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"name",label:c("ra.register.name"),validate:ne.required()})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"email",type:"email",validate:[ne.required(),ne.email()]})}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mb:1},children:f.jsx(Tr,{source:"password",type:"password",validate:ne.required()})})]}),f.jsx(S.Grid,{item:!0,xs:12,sx:{mt:1},children:f.jsx(S.Button,{variant:"contained",type:"submit",color:"primary",disabled:s,fullWidth:!0,children:s?f.jsx(S.CircularProgress,{size:19,thickness:3}):c("ra.auth.create_account")})})]})})]})})}function DZ(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 _Z(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function RZ(e){const{palette:t,spacing:n}=e;return{MuiAccordionSummary:{defaultProps:{expandIcon:f.jsx(Ke.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=Qt(t,e),{lighter:r,light:o,main:s}=n;return{borderColor:tt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function BZ(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 NZ(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function VZ(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 Ii({color:e,theme:t}){const n=Qt(t,e),{lighter:r,main:o}=n;return{color:o,backgroundColor:r}}function WZ(e){const t=Ii({color:"primary",theme:e});return{MuiBadge:{styleOverrides:{standard:{minWidth:e.spacing(2),height:e.spacing(2),padding:e.spacing(.5)},light:{...t,"&.MuiBadge-colorPrimary":Ii({color:"primary",theme:e}),"&.MuiBadge-colorSecondary":Ii({color:"secondary",theme:e}),"&.MuiBadge-colorError":Ii({color:"error",theme:e}),"&.MuiBadge-colorInfo":Ii({color:"info",theme:e}),"&.MuiBadge-colorSuccess":Ii({color:"success",theme:e}),"&.MuiBadge-colorWarning":Ii({color:"warning",theme:e})}}}}}function Je({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,main:s,dark:a,contrastText:c}=r,u=`${t}Button`,d=hs(n,u),h={"&::after":{boxShadow:`0 0 5px 5px ${tt(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${tt(s,.9)}`},"&:focus-visible":{outline:`2px solid ${a}`,outlineOffset:2}};switch(e){case"contained":return{"&:hover":{backgroundColor:a},...h};case"shadow":return{color:c,backgroundColor:s,boxShadow:d,"&:hover":{boxShadow:"none",backgroundColor:a},...h};case"outlined":return{borderColor:s,"&:hover":{color:a,backgroundColor:"transparent",borderColor:a},...h};case"dashed":return{color:s,borderColor:s,backgroundColor:o,"&:hover":{color:a,borderColor:a},...h};case"text":default:return{"&:hover":{color:a,backgroundColor:o},...h}}}function zZ(e){const t=Je({variant:"dashed",color:"primary",theme:e}),n=Je({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":Je({variant:"dashed",color:"primary",theme:e}),"&.MuiButton-dashedSecondary":Je({variant:"dashed",color:"secondary",theme:e}),"&.MuiButton-dashedError":Je({variant:"dashed",color:"error",theme:e}),"&.MuiButton-dashedSuccess":Je({variant:"dashed",color:"success",theme:e}),"&.MuiButton-dashedInfo":Je({variant:"dashed",color:"info",theme:e}),"&.MuiButton-dashedWarning":Je({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":Je({variant:"shadow",color:"primary",theme:e}),"&.MuiButton-shadowSecondary":Je({variant:"shadow",color:"secondary",theme:e}),"&.MuiButton-shadowError":Je({variant:"shadow",color:"error",theme:e}),"&.MuiButton-shadowSuccess":Je({variant:"shadow",color:"success",theme:e}),"&.MuiButton-shadowInfo":Je({variant:"shadow",color:"info",theme:e}),"&.MuiButton-shadowWarning":Je({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:Je({variant:"contained",color:"primary",theme:e}),containedSecondary:Je({variant:"contained",color:"secondary",theme:e}),containedError:Je({variant:"contained",color:"error",theme:e}),containedSuccess:Je({variant:"contained",color:"success",theme:e}),containedInfo:Je({variant:"contained",color:"info",theme:e}),containedWarning:Je({variant:"contained",color:"warning",theme:e}),outlinedPrimary:Je({variant:"outlined",color:"primary",theme:e}),outlinedSecondary:Je({variant:"outlined",color:"secondary",theme:e}),outlinedError:Je({variant:"outlined",color:"error",theme:e}),outlinedSuccess:Je({variant:"outlined",color:"success",theme:e}),outlinedInfo:Je({variant:"outlined",color:"info",theme:e}),outlinedWarning:Je({variant:"outlined",color:"warning",theme:e}),textPrimary:Je({variant:"text",color:"primary",theme:e}),textSecondary:Je({variant:"text",color:"secondary",theme:e}),textError:Je({variant:"text",color:"error",theme:e}),textSuccess:Je({variant:"text",color:"success",theme:e}),textInfo:Je({variant:"text",color:"info",theme:e}),textWarning:Je({variant:"text",color:"warning",theme:e}),sizeExtraSmall:{minWidth:56,fontSize:"0.625rem",padding:"2px 8px"}}}}}function UZ(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function HZ(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function GZ(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function YZ(){return{MuiCardContent:{styleOverrides:{root:{padding:20,"&:last-child":{paddingBottom:20}}}}}}function _s({color:e,theme:t}){const n=Qt(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 KZ(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 jg(e){const t=KZ(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function XZ(e){const{palette:t}=e;return{MuiCheckbox:{defaultProps:{className:"size-small",icon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25}}),checkedIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(Ke.CheckSquareFilled,{className:"filled",style:{position:"absolute"}})}),indeterminateIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:.25,position:"relative"},children:f.jsx(Ke.MinusSquareFilled,{className:"filled",style:{position:"absolute"}})})},styleOverrides:{root:{borderRadius:0,color:t.secondary[300],"&.size-small":{...jg("small")},"&.size-medium":{...jg("medium")},"&.size-large":{...jg("large")}},colorPrimary:_s({color:"primary",theme:e}),colorSecondary:_s({color:"secondary",theme:e}),colorSuccess:_s({color:"success",theme:e}),colorWarning:_s({color:"warning",theme:e}),colorInfo:_s({color:"info",theme:e}),colorError:_s({color:"error",theme:e})}}}}function Rs({color:e,theme:t}){const n=Qt(t,e),{dark:r}=n;return{"&.Mui-focusVisible":{outline:`2px solid ${r}`,outlineOffset:2}}}function zn({color:e,theme:t}){const n=Qt(t,e),{light:r,lighter:o,main:s}=n;return{color:s,backgroundColor:o,borderColor:r,"& .MuiChip-deleteIcon":{color:s,"&:hover":{color:r}}}}function ZZ(e){const t=zn({color:"secondary",theme:e});return{MuiChip:{styleOverrides:{root:{borderRadius:4,"&:active":{boxShadow:"none"},"&.MuiChip-colorPrimary":Rs({color:"primary",theme:e}),"&.MuiChip-colorSecondary":Rs({color:"secondary",theme:e}),"&.MuiChip-colorError":Rs({color:"error",theme:e}),"&.MuiChip-colorInfo":Rs({color:"info",theme:e}),"&.MuiChip-colorSuccess":Rs({color:"success",theme:e}),"&.MuiChip-colorWarning":Rs({color:"warning",theme:e})},sizeLarge:{fontSize:"1rem",height:40},light:{...t,"&.MuiChip-lightPrimary":zn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":zn({color:"secondary",theme:e}),"&.MuiChip-lightError":zn({color:"error",theme:e}),"&.MuiChip-lightInfo":zn({color:"info",theme:e}),"&.MuiChip-lightSuccess":zn({color:"success",theme:e}),"&.MuiChip-lightWarning":zn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":zn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":zn({color:"secondary",theme:e}),"&.MuiChip-combinedError":zn({color:"error",theme:e}),"&.MuiChip-combinedInfo":zn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":zn({color:"success",theme:e}),"&.MuiChip-combinedWarning":zn({color:"warning",theme:e})}}}}}function QZ(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:tt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function JZ(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function qZ(){return{MuiDialogTitle:{styleOverrides:{root:{fontSize:"1rem",fontWeight:500}}}}}function Bs({color:e,theme:t}){const n=Qt(t,e),{main:r,dark:o,contrastText:s}=n,a=`${e}Button`,c=hs(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 ${tt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${tt(r,.9)}`}}}function $Z(e){return{MuiFab:{styleOverrides:{root:{fontWeight:400,"&.Mui-disabled":{backgroundColor:e.palette.grey[200]},"&.MuiFab-primary":Bs({color:"primary",theme:e}),"&.MuiFab-secondary":Bs({color:"secondary",theme:e}),"&.Mui-error":Bs({color:"error",theme:e}),"&.MuiFab-success":Bs({color:"success",theme:e}),"&.MuiFab-info":Bs({color:"info",theme:e}),"&.MuiFab-warning":Bs({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 eQ(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 tQ(e){return{MuiInputBase:{styleOverrides:{}}}}function nQ(e){return{MuiInputLabel:{styleOverrides:{root:{color:e.palette.grey[600]},outlined:{lineHeight:"0.8em","&.MuiInputLabel-sizeSmall":{lineHeight:"1.3em"},"&.MuiInputLabel-shrink":{background:e.palette.background.paper,padding:"0 8px",marginLeft:-6,lineHeight:"1.4375em"}}}}}}function rQ(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function oQ(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function iQ(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function sQ(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function aQ(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function lQ(){return{MuiLoadingButton:{styleOverrides:{root:{padding:"6px 16px","&.MuiLoadingButton-loading":{opacity:.6,textShadow:"none"}}}}}}function Oi({variant:e,theme:t}){const n=Qt(t,e),{light:r}=n,o=hs(t,`${e}`);return{"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:r},"&.Mui-focused":{boxShadow:o,"& .MuiOutlinedInput-notchedOutline":{border:`1px solid ${r}`}}}}function cQ(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:{...Oi({variant:"primary",theme:e}),"&.Mui-error":{...Oi({variant:"error",theme:e})}},inputSizeSmall:{padding:"9px 8px 9px 12px"},inputMultiline:{padding:0},colorSecondary:Oi({variant:"secondary",theme:e}),colorError:Oi({variant:"error",theme:e}),colorWarning:Oi({variant:"warning",theme:e}),colorInfo:Oi({variant:"info",theme:e}),colorSuccess:Oi({variant:"success",theme:e})}}}}function uQ(){return{MuiPagination:{defaultProps:{shape:"rounded"}}}}function St({variant:e,color:t,theme:n}){const r=Qt(n,t),{lighter:o,light:s,dark:a,main:c,contrastText:u}=r,d={"&: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},...d};case"outlined":return{borderColor:c,"&:hover":{backgroundColor:o,borderColor:s},...d};case"text":default:return{color:c,"&:hover":{backgroundColor:c,color:o},...d}}}function dQ(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":St({variant:"text",color:"primary",theme:e}),"&.MuiPaginationItem-textSecondary":St({variant:"text",color:"secondary",theme:e}),"&.MuiPaginationItem-textError":St({variant:"text",color:"error",theme:e}),"&.MuiPaginationItem-textSuccess":St({variant:"text",color:"success",theme:e}),"&.MuiPaginationItem-textInfo":St({variant:"text",color:"info",theme:e}),"&.MuiPaginationItem-textWarning":St({variant:"text",color:"warning",theme:e})}},contained:{"&.Mui-selected":{"&.MuiPaginationItem-containedPrimary":St({variant:"contained",color:"primary",theme:e}),"&.MuiPaginationItem-containedSecondary":St({variant:"contained",color:"secondary",theme:e}),"&.MuiPaginationItem-containedError":St({variant:"contained",color:"error",theme:e}),"&.MuiPaginationItem-containedSuccess":St({variant:"contained",color:"success",theme:e}),"&.MuiPaginationItem-containedInfo":St({variant:"contained",color:"info",theme:e}),"&.MuiPaginationItem-containedWarning":St({variant:"contained",color:"warning",theme:e})}},combined:{border:"1px solid",borderColor:e.palette.divider,"&.MuiPaginationItem-ellipsis":{border:"none"},"&.Mui-selected":{"&.MuiPaginationItem-combinedPrimary":St({variant:"combined",color:"primary",theme:e}),"&.MuiPaginationItem-combinedSecondary":St({variant:"combined",color:"secondary",theme:e}),"&.MuiPaginationItem-combinedError":St({variant:"combined",color:"error",theme:e}),"&.MuiPaginationItem-combinedSuccess":St({variant:"combined",color:"success",theme:e}),"&.MuiPaginationItem-combinedInfo":St({variant:"combined",color:"info",theme:e}),"&.MuiPaginationItem-combinedWarning":St({variant:"combined",color:"warning",theme:e})}},outlined:{borderColor:e.palette.divider,"&.Mui-selected":{backgroundColor:"transparent","&.MuiPaginationItem-outlinedPrimary":St({variant:"outlined",color:"primary",theme:e}),"&.MuiPaginationItem-outlinedSecondary":St({variant:"outlined",color:"secondary",theme:e}),"&.MuiPaginationItem-outlinedError":St({variant:"outlined",color:"error",theme:e}),"&.MuiPaginationItem-outlinedSuccess":St({variant:"outlined",color:"success",theme:e}),"&.MuiPaginationItem-outlinedInfo":St({variant:"outlined",color:"info",theme:e}),"&.MuiPaginationItem-outlinedWarning":St({variant:"outlined",color:"warning",theme:e})}}}}}}function fQ(e){return{MuiPopover:{styleOverrides:{paper:{boxShadow:e.customShadows.z1}}}}}function Ns({color:e,theme:t}){const n=Qt(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 pQ(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 Mg(e){const t=pQ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function hQ(e){const{palette:t}=e;return{MuiRadio:{defaultProps:{className:"size-small",icon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%"}}),checkedIcon:f.jsx(S.Box,{className:"icon",sx:{width:16,height:16,border:"1px solid",borderColor:"inherit",borderRadius:"50%",position:"relative"},children:f.jsx(S.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":{...Mg("small")},"&.size-medium":{...Mg("medium")},"&.size-large":{...Mg("large")}},colorPrimary:Ns({color:"primary",theme:e}),colorSecondary:Ns({color:"secondary",theme:e}),colorSuccess:Ns({color:"success",theme:e}),colorWarning:Ns({color:"warning",theme:e}),colorInfo:Ns({color:"info",theme:e}),colorError:Ns({color:"error",theme:e})}}}}function Vs({color:e,theme:t}){const n=Qt(t,e),{main:r}=n;return{border:`2px solid ${r}`}}function gQ(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":Vs({color:"primary",theme:e}),"&.MuiSlider-thumbColorSecondary":Vs({color:"secondary",theme:e}),"&.MuiSlider-thumbColorSuccess":Vs({color:"success",theme:e}),"&.MuiSlider-thumbColorWarning":Vs({color:"warning",theme:e}),"&.MuiSlider-thumbColorInfo":Vs({color:"info",theme:e}),"&.MuiSlider-thumbColorError":Vs({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 mQ(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 kg(e,t){const n=mQ(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 vQ(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},...kg(e,"medium")},sizeLarge:{...kg(e,"large")},sizeSmall:{...kg(e,"small")}}}}}function yQ(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 bQ(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 xQ(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 CQ(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function wQ(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function SQ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function AQ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function TQ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function EQ(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 IQ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function OQ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function PQ(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function jQ(e){return ut.merge(DZ(e),_Z(e),RZ(e),BZ(e),NZ(),VZ(e),WZ(e),zZ(e),UZ(),HZ(),GZ(),YZ(),XZ(e),ZZ(e),QZ(e),JZ(e),qZ(),$Z(e),eQ(e),tQ(),nQ(e),rQ(),oQ(),iQ(e),sQ(e),aQ(),lQ(),cQ(e),uQ(),dQ(e),fQ(e),hQ(e),gQ(e),vQ(e),yQ(e),bQ(e),xQ(e),CQ(e),wQ(e),SQ(),AQ(),TQ(),EQ(e),IQ(e),OQ(),PQ())}function MQ(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}}function kQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function LQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function FQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function DQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function _Q(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function RQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function BQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function NQ(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"],d=["#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"],d=["#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:d[0],light:d[1],main:d[2],dark:d[3],darker:d[4],contrastText:o},grey:r}}function VQ(e,t,n){switch(t){case"theme1":return kQ(e,n);case"theme2":return LQ(e,n);case"theme3":return FQ(e,n);case"theme4":return DQ(e,n);case"theme5":return _Q(e,n);case"theme6":return RQ(e,n);case"theme7":return BQ(e,n);case"theme8":return NQ(e,n);default:return MQ(e)}}var Lg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Lg.primary=Lg[5];var Fg=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Fg.primary=Fg[5];var Dg=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Dg.primary=Dg[5];var _g=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];_g.primary=_g[5];var Rg=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Rg.primary=Rg[5];var Bg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Bg.primary=Bg[5];var Ng=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Ng.primary=Ng[5];var Vg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Vg.primary=Vg[5];var Wg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Wg.primary=Wg[5];var zg=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];zg.primary=zg[5];var Ug=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Ug.primary=Ug[5];var Hg=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Hg.primary=Hg[5];var Gg=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Gg.primary=Gg[5];var WQ={red:Lg,volcano:Fg,orange:Dg,gold:_g,yellow:Rg,lime:Bg,green:Ng,cyan:Vg,blue:Wg,geekblue:zg,purple:Ug,magenta:Hg,grey:Gg},Yg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Yg.primary=Yg[5];var Kg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Kg.primary=Kg[5];var Xg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];Xg.primary=Xg[5];var Zg=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];Zg.primary=Zg[5];var Qg=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];Qg.primary=Qg[5];var Jg=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];Jg.primary=Jg[5];var qg=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];qg.primary=qg[5];var $g=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];$g.primary=$g[5];var em=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];em.primary=em[5];var tm=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];tm.primary=tm[5];var nm=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];nm.primary=nm[5];var rm=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];rm.primary=rm[5];var om=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];om.primary=om[5];var zQ={red:Yg,volcano:Kg,orange:Xg,gold:Zg,yellow:Qg,lime:Jg,green:qg,cyan:$g,blue:em,geekblue:tm,purple:nm,magenta:rm,grey:om};function UQ(e,t){const n=e==="dark"?zQ:WQ;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=VQ(n,t,e);return up({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?tt(a.grey[900],.87):a.grey[700],secondary:e==="dark"?tt(a.grey[900],.45):a.grey[500],disabled:e==="dark"?tt(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?tt(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})}function HQ(e){return{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%)",z0:"none",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 ${tt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${tt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${tt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${tt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${tt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${tt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${tt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${tt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${tt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${tt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${tt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${tt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${tt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${tt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${tt(e.palette.grey[500],.2)}`}}function GQ(e){return{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 im({themeOverrides:e,children:t}){const n=Tn(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>UQ(o,s),[o,s]),u=T.useMemo(()=>GQ(a),[a]),d=T.useMemo(()=>HQ(c),[c]),h=T.useMemo(()=>$.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:d,typography:u,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,d,e]),g=up(h),m=$.cloneDeep(g.components??{});return g.components=$.merge(jQ(g),m),f.jsx(S.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(Bx,{theme:g,children:[f.jsx(S.CssBaseline,{enableColorScheme:!0}),t]})})}function YQ({children:e,theme:t,...n}){return f.jsx(R.CoreAdminContext,{...n,children:f.jsx(im,{themeOverrides:t,children:f.jsx(JT,{children:e})})})}function uE(e){const{authProvider:t,catchAll:n,children:r,dashboard:o,dataProvider:s,disableTelemetry:a,history:c,i18nProvider:u,layout:d,loading:h,loginPage:g,authCallbackPage:m,menu:v,notification:b,queryClient:C,requireAuth:w,store:I=R.localStorageStore(),ready:L,theme:E,title:j="React Admin"}=e;return f.jsx(YQ,{authProvider:t,dataProvider:s,i18nProvider:u,store:I,history:c,queryClient:C,theme:E,children:f.jsx(R.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:j,loading:h,loginPage:g,authCallbackPage:m,notification:b,requireAuth:w,ready:L,children:r})})}class dE{constructor({catch:t,display:n,log:r,error:o}){Ml(this,"catch");Ml(this,"display");Ml(this,"log");Ml(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}}class KQ{constructor(t){yo(this,ll);yo(this,cl);yo(this,Ws,new Set);const{apiUrl:n}=t??{};if(!$.isString(n)||$.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");$o(this,cl,n),$o(this,ll,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}`;kn(this,Ws).has(a)||(kn(this,Ws).add(a),fetch(`${kn(this,cl)}/ui/error-log`,{method:"PUT",headers:kn(this,ll),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(u=>{console.warn("Unable to send error to server",u),kn(this,Ws).delete(a)}))}}ll=new WeakMap,cl=new WeakMap,Ws=new WeakMap;function XQ({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new dE({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=B.useMemo(()=>o.errorHandler?o.errorHandler:new KQ({apiUrl:t}),[t,o.errorHandler]),a=console.error,c=B.useCallback(function(u,...d){var g;if(!u)return!1;const h=r(u instanceof ErrorEvent?u:(g=u==null?void 0:u.toString())==null?void 0:g.replace(/%s/g,()=>d.shift()));return h.isCatched()||(h.logError()&&(u instanceof ErrorEvent?s.handle(u):s.handle(new ErrorEvent("window.onerror",{error:u,message:u.toString()}))),h.displayError()&&a.apply(console,arguments)),!1},[r,s,a]);return B.useEffect(()=>(window.removeEventListener("error",c),window.addEventListener("error",c),console.error=c,()=>{window.removeEventListener("error",c),console.error=a}),[c,a]),!0}class ZQ{constructor(t){yo(this,ul);yo(this,dl);yo(this,ji,[]);const{apiUrl:n}=t??{};if(!$.isString(n)||$.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");$o(this,dl,n),$o(this,ul,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!$.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!$.isString(n)||$.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!$.isString(r)||$.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!$.some(kn(this,ji),o=>$.isEqual(o,{code:n,lang:r}))){kn(this,ji).push({code:n,lang:r}),fetch(`${kn(this,dl)}/i18n/message`,{method:"put",headers:kn(this,ul),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),$o(this,ji,$.reject(kn(this,ji),s=>$.isEqual(s,{code:n,lang:r})))});return}}}ul=new WeakMap,dl=new WeakMap,ji=new WeakMap;function fE(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 ZQ({apiUrl:t});function u(){return fetch(`${t}/i18n/languages`,{headers:a,method:"get"}).then(g=>g.json()).catch(()=>Promise.resolve(s))}function d(){return fetch(`${t}/i18n/messages`,{headers:a,method:"get"}).then(g=>g.json()).then(g=>g.reduce((m,v)=>({...m,[v.lang]:{...m[v.lang]||{},[v.code]:v.text}}),{}))}function h(g,m,v){return r||console.error(`Warning: Missing translation for key: "${g}"`),o&&($.isString(g)?g.match(new RegExp(/[\s[\]]/,"gm"))?console.error(`[createI18nProvider] onMissingKey: illegal character in key ${g}`):c.handleMessage({code:g,lang:v}):console.error("[createI18nProvider] onMissingKey: provided key is not a string")),g}return Promise.all([u(),d()]).then(g=>{const[m,v]=g;function b(C){return $.get(v,C,{})}return E0(b,n,m,{allowMissing:r||o,onMissingKey:h})})}function QQ(e){const{defaultLocale:t,path:n}=e,r=[{locale:t,name:t}],o=new Headers({Accept:"application/json","Content-Type":"application/json"});function s(){return fetch(`${n}/languages.json`,{headers:o,method:"get"}).then(c=>c.json()).catch(()=>Promise.resolve(r))}function a(){return fetch(`${n}/messages.json`,{headers:o,method:"get"}).then(c=>c.json()).then(c=>c.reduce((u,d)=>({...u,[d.lang]:{...u[d.lang]||{},[d.code]:d.text}}),{}))}return Promise.all([s(),a()]).then(c=>{const[u,d]=c;function h(g){return $.get(d,g,{})}return E0(h,t,u,{allowMissing:!0})})}function JQ({apiUrl:e,endpoint:t="/languages/load",mapper:n=({data:r})=>({data:r})}){const[r,o]=T.useState({loading:!0,languages:null});return T.useEffect(()=>{const 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 pE(e){const[t,n]=T.useState(),r=tS(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}fE(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const qQ=new Ui.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function $Q({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(cE,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(Jc,{})}),menu:u,name:d,copy:h,version:g="0.0.0",dataProvider:m,authProvider:v,i18nProvider:b,errorHandler:C,error:w,enableNotification:I=!1,enableRegistration:L=!1,enablePasswordRecover:E=!1,enableThemeToggler:j=!1,enableLocaleSwitcher:P=!1,queryClient:D=qQ,background:F,notificationAPI:U="entities/notification",...K}){XQ({apiUrl:n,errorHandler:C,catcherFn:ae=>{const q=ae==null?void 0:ae.toString(),z=["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(N=>q==null?void 0:q.includes(N));return new dE({catch:z,display:!z,log:!z&&o===!0,error:q})}});const ee=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:F,enableRegistration:L,enablePasswordRecover:E}):c,[c,d,g,h,F,s,L,E]),G=T.useMemo(()=>ae=>{const q=d?f.jsx(Eg,{title:d}):s,J=d?f.jsx(qT,{title:d}):a;return f.jsx(zT,{...ae,name:d,copy:h,version:g,logoMain:q,logoIcon:J,notification:U,enableThemeToggler:j,enableNotification:I,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,U,I,j,P]),le=pE({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:b});return le===void 0?f.jsx(f.Fragment,{}):le.error?f.jsx(eg,{initialConfig:t,children:f.jsx(im,{themeOverrides:e,children:f.jsx(lE,{})})}):f.jsx(PH,{children:f.jsx(Tw,{menu:u,children:f.jsx(eg,{initialConfig:t,children:f.jsx(uE,{theme:e,layout:G,notification:HT,queryClient:D,dataProvider:m,authProvider:v,i18nProvider:le,loginPage:ee,...K})})})})}Object.defineProperty(k,"ArrayField",{enumerable:!0,get:()=>R.ArrayField}),Object.defineProperty(k,"ArrayInputContext",{enumerable:!0,get:()=>R.ArrayInputContext}),Object.defineProperty(k,"BooleanField",{enumerable:!0,get:()=>R.BooleanField}),Object.defineProperty(k,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>R.BulkDeleteWithConfirmButton}),Object.defineProperty(k,"ChipField",{enumerable:!0,get:()=>R.ChipField}),Object.defineProperty(k,"Confirm",{enumerable:!0,get:()=>R.Confirm}),Object.defineProperty(k,"CreateButton",{enumerable:!0,get:()=>R.CreateButton}),Object.defineProperty(k,"CreateContextProvider",{enumerable:!0,get:()=>R.CreateContextProvider}),Object.defineProperty(k,"CustomRoutes",{enumerable:!0,get:()=>R.CustomRoutes}),Object.defineProperty(k,"DeleteWithConfirmButton",{enumerable:!0,get:()=>R.DeleteWithConfirmButton}),Object.defineProperty(k,"DeleteWithUndoButton",{enumerable:!0,get:()=>R.DeleteWithUndoButton}),Object.defineProperty(k,"EditButton",{enumerable:!0,get:()=>R.EditButton}),Object.defineProperty(k,"EditContextProvider",{enumerable:!0,get:()=>R.EditContextProvider}),Object.defineProperty(k,"FieldTitle",{enumerable:!0,get:()=>R.FieldTitle}),Object.defineProperty(k,"FilterButton",{enumerable:!0,get:()=>R.FilterButton}),Object.defineProperty(k,"Form",{enumerable:!0,get:()=>R.Form}),Object.defineProperty(k,"FormDataConsumer",{enumerable:!0,get:()=>R.FormDataConsumer}),Object.defineProperty(k,"HttpError",{enumerable:!0,get:()=>R.HttpError}),Object.defineProperty(k,"I18nContextProvider",{enumerable:!0,get:()=>R.I18nContextProvider}),Object.defineProperty(k,"ListBase",{enumerable:!0,get:()=>R.ListBase}),Object.defineProperty(k,"ListToolbar",{enumerable:!0,get:()=>R.ListToolbar}),Object.defineProperty(k,"LoadingIndicator",{enumerable:!0,get:()=>R.LoadingIndicator}),Object.defineProperty(k,"Pagination",{enumerable:!0,get:()=>R.Pagination}),Object.defineProperty(k,"RaSimpleFormIterator",{enumerable:!0,get:()=>R.SimpleFormIterator}),Object.defineProperty(k,"RecordContextProvider",{enumerable:!0,get:()=>R.RecordContextProvider}),Object.defineProperty(k,"ReferenceArrayField",{enumerable:!0,get:()=>R.ReferenceArrayField}),Object.defineProperty(k,"ReferenceField",{enumerable:!0,get:()=>R.ReferenceField}),Object.defineProperty(k,"Resource",{enumerable:!0,get:()=>R.Resource}),Object.defineProperty(k,"ResourceContextProvider",{enumerable:!0,get:()=>R.ResourceContextProvider}),Object.defineProperty(k,"SaveButton",{enumerable:!0,get:()=>R.SaveButton}),Object.defineProperty(k,"SimpleFormIteratorContext",{enumerable:!0,get:()=>R.SimpleFormIteratorContext}),Object.defineProperty(k,"SimpleShowLayout",{enumerable:!0,get:()=>R.SimpleShowLayout}),Object.defineProperty(k,"SingleFieldList",{enumerable:!0,get:()=>R.SingleFieldList}),Object.defineProperty(k,"TabbedFormTabs",{enumerable:!0,get:()=>R.TabbedFormTabs}),Object.defineProperty(k,"TopToolbar",{enumerable:!0,get:()=>R.TopToolbar}),Object.defineProperty(k,"UrlField",{enumerable:!0,get:()=>R.UrlField}),Object.defineProperty(k,"ValidationError",{enumerable:!0,get:()=>R.ValidationError}),Object.defineProperty(k,"choices",{enumerable:!0,get:()=>R.choices}),Object.defineProperty(k,"email",{enumerable:!0,get:()=>R.email}),Object.defineProperty(k,"maxLength",{enumerable:!0,get:()=>R.maxLength}),Object.defineProperty(k,"maxValue",{enumerable:!0,get:()=>R.maxValue}),Object.defineProperty(k,"minLength",{enumerable:!0,get:()=>R.minLength}),Object.defineProperty(k,"minValue",{enumerable:!0,get:()=>R.minValue}),Object.defineProperty(k,"number",{enumerable:!0,get:()=>R.number}),Object.defineProperty(k,"regex",{enumerable:!0,get:()=>R.regex}),Object.defineProperty(k,"required",{enumerable:!0,get:()=>R.required}),Object.defineProperty(k,"useArrayInput",{enumerable:!0,get:()=>R.useArrayInput}),Object.defineProperty(k,"useAuthProvider",{enumerable:!0,get:()=>R.useAuthProvider}),Object.defineProperty(k,"useChoices",{enumerable:!0,get:()=>R.useChoices}),Object.defineProperty(k,"useChoicesContext",{enumerable:!0,get:()=>R.useChoicesContext}),Object.defineProperty(k,"useCreate",{enumerable:!0,get:()=>R.useCreate}),Object.defineProperty(k,"useCreateContext",{enumerable:!0,get:()=>R.useCreateContext}),Object.defineProperty(k,"useCreateController",{enumerable:!0,get:()=>R.useCreateController}),Object.defineProperty(k,"useCreateSuggestionContext",{enumerable:!0,get:()=>R.useCreateSuggestionContext}),Object.defineProperty(k,"useDataProvider",{enumerable:!0,get:()=>R.useDataProvider}),Object.defineProperty(k,"useEditContext",{enumerable:!0,get:()=>R.useEditContext}),Object.defineProperty(k,"useEditController",{enumerable:!0,get:()=>R.useEditController}),Object.defineProperty(k,"useGetIdentity",{enumerable:!0,get:()=>R.useGetIdentity}),Object.defineProperty(k,"useGetList",{enumerable:!0,get:()=>R.useGetList}),Object.defineProperty(k,"useGetMany",{enumerable:!0,get:()=>R.useGetMany}),Object.defineProperty(k,"useGetManyReference",{enumerable:!0,get:()=>R.useGetManyReference}),Object.defineProperty(k,"useGetOne",{enumerable:!0,get:()=>R.useGetOne}),Object.defineProperty(k,"useInput",{enumerable:!0,get:()=>R.useInput}),Object.defineProperty(k,"useListContext",{enumerable:!0,get:()=>R.useListContext}),Object.defineProperty(k,"useListController",{enumerable:!0,get:()=>R.useListController}),Object.defineProperty(k,"useLocaleState",{enumerable:!0,get:()=>R.useLocaleState}),Object.defineProperty(k,"useLocales",{enumerable:!0,get:()=>R.useLocales}),Object.defineProperty(k,"useNotify",{enumerable:!0,get:()=>R.useNotify}),Object.defineProperty(k,"usePermissions",{enumerable:!0,get:()=>R.usePermissions}),Object.defineProperty(k,"useRecordContext",{enumerable:!0,get:()=>R.useRecordContext}),Object.defineProperty(k,"useRefresh",{enumerable:!0,get:()=>R.useRefresh}),Object.defineProperty(k,"useRemoveFromStore",{enumerable:!0,get:()=>R.useRemoveFromStore}),Object.defineProperty(k,"useResetStore",{enumerable:!0,get:()=>R.useResetStore}),Object.defineProperty(k,"useResourceContext",{enumerable:!0,get:()=>R.useResourceContext}),Object.defineProperty(k,"useResourceDefinition",{enumerable:!0,get:()=>R.useResourceDefinition}),Object.defineProperty(k,"useResourceDefinitions",{enumerable:!0,get:()=>R.useResourceDefinitions}),Object.defineProperty(k,"useShowContext",{enumerable:!0,get:()=>R.useShowContext}),Object.defineProperty(k,"useShowController",{enumerable:!0,get:()=>R.useShowController}),Object.defineProperty(k,"useSimpleFormIterator",{enumerable:!0,get:()=>R.useSimpleFormIterator}),Object.defineProperty(k,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>R.useSimpleFormIteratorItem}),Object.defineProperty(k,"useStore",{enumerable:!0,get:()=>R.useStore}),Object.defineProperty(k,"useStoreContext",{enumerable:!0,get:()=>R.useStoreContext}),Object.defineProperty(k,"useTranslate",{enumerable:!0,get:()=>R.useTranslate}),Object.defineProperty(k,"useTranslateLabel",{enumerable:!0,get:()=>R.useTranslateLabel}),Object.defineProperty(k,"useUnselect",{enumerable:!0,get:()=>R.useUnselect}),Object.defineProperty(k,"useUnselectAll",{enumerable:!0,get:()=>R.useUnselectAll}),Object.defineProperty(k,"useUpdate",{enumerable:!0,get:()=>R.useUpdate}),Object.defineProperty(k,"useUpdateMany",{enumerable:!0,get:()=>R.useUpdateMany}),Object.defineProperty(k,"withLifecycleCallbacks",{enumerable:!0,get:()=>R.withLifecycleCallbacks}),k.ActionsField=kH,k.ActionsMenu=Lo,k.ActivatePage=kZ,k.AddTableRow=ug,k.Admin=uE,k.AnimateButton=Kj,k.AppBarStyled=TT,k.ApplicaAdmin=$Q,k.ArrayInput=MH,k.AttachmentField=uS,k.AttachmentInput=rG,k.AuthBackground=Jc,k.AutocompleteArrayInput=iG,k.AutocompleteInput=aG,k.Avatar=Fc,k.BooleanInput=cG,k.Breadcrumbs=Qx,k.BulkActionsToolbar=$T,k.BulkFloatingActionsToolbar=rZ,k.Button=Yu,k.CardForm=rS,k.ChangePasswordForm=rg,k.CircularWithLabel=ZL,k.CircularWithPath=QL,k.CoverField=fS,k.Create=NG,k.CreateInDialogButton=QX,k.Datagrid=cZ,k.DateAgoField=hS,k.DateField=WH,k.DateInput=fG,k.DateTimeInput=hG,k.Dot=Dp,k.Drawer=AT,k.DrawerHeader=iA,k.DrawerHeaderStyled=rA,k.DrawerToggle=OT,k.Edit=zG,k.EditInDialogButton=$X,k.EmailField=UH,k.Empty=dZ,k.EmptyClasses=Ti,k.Error=Dh,k.Field=ZS,k.FileField=gS,k.FileInput=mG,k.Footer=Ag,k.FormHeader=GG,k.FunctionField=GH,k.GenericErrorPage=lE,k.Header=PT,k.HeaderButton=ET,k.HeaderIconButton=yX,k.HeaderNotification=jT,k.HeaderProfile=MT,k.HeaderSpacer=LT,k.HeaderToggleButton=Fs,k.HorizontalBar=FT,k.IconButton=Nc,k.ImageField=dS,k.ImageInput=vG,k.ImpersonateUserButton=eZ,k.LabeledArrayInput=lS,k.LabeledInput=fn,k.Layout=zT,k.LayoutContent=nA,k.LayoutProvider=$S,k.LayoutWrapper=WT,k.LinearWithIcon=JL,k.LinearWithLabel=qL,k.List=TZ,k.ListItem=tZ,k.Loadable=PX,k.Loader=UT,k.LoadingButton=GL,k.LocalStorage=Zw,k.LocaleButton=IT,k.LocalizedTextField=KH,k.LocalizedTextInput=xG,k.LoginPage=cE,k.Logo=oA,k.LongForm=Lt,k.MainCard=sr,k.MainIcon=Eg,k.MenuConfigProvider=Tw,k.MenuPopover=P1,k.NavCollapse=il,k.NavGroup=RT,k.NavItem=ol,k.NavList=BT,k.NavMenu=DT,k.Navigation=NT,k.Notification=HT,k.NotificationList=PZ,k.NumberInput=wG,k.OnboardingActionType=Ds,k.OnboardingContext=Ig,k.OnboardingModes=sl,k.OnboardingProvider=DX,k.OnboardingTip=NX,k.PopupTransition=XL,k.ReadonlyField=JH,k.RecordInput=SG,k.RecoverPage=LZ,k.ReferenceArrayInput=AG,k.ReferenceInput=TG,k.ReferenceManyField=vS,k.ReferenceManyInput=EG,k.RegisterPage=FZ,k.ResponsiveSection=kT,k.ScrollTop=JT,k.ScrollX=VX,k.SearchInput=OG,k.SelectArrayInput=jG,k.SelectInput=kG,k.ShadowBox=WX,k.Show=aY,k.SimpleBar=ST,k.SimpleForm=oS,k.SimpleFormIterator=cY,k.SimpleList=jZ,k.SizeField=eG,k.SmallIcon=qT,k.SmartTextInput=LG,k.StyledArrow=I1,k.TabbedForm=cg,k.TableFormIterator=_u,k.TableFormIteratorContext=fg,k.TableFormIteratorItem=JS,k.TableFormIteratorItemContext=dg,k.TextField=mS,k.TextInput=Tr,k.ThemeColor=Tg,k.ThemeContext=$h,k.ThemeCustomizationProvider=im,k.ThemeProvider=eg,k.ThemeToggler=VT,k.TimeInput=RG,k.Toolbar=wi,k.Tooltip=Qc,k.Transitions=hi,k.createI18nProvider=fE,k.createJsonI18nProvider=QQ,k.getLocalizedValue=Qh,k.getPosition=O1,k.getThemeColor=Qt,k.getThemeShadow=hs,k.localizedValueHasAllLocales=ku,k.localizedValueHasAtLeastOneLocale=Qw,k.onboardingModesSchema=YT,k.onboardingTopicSchema=GT,k.parseTime=$w,k.useBreadcrumbs=Ew,k.useGetLocalizedValue=CH,k.useI18nLanguages=JQ,k.useI18nProvider=pE,k.useLayoutContext=pg,k.useLayoutDispatch=mY,k.useLayoutDrawerState=Si,k.useLayoutLogoState=tA,k.useLayoutMediaState=Nn,k.useLayoutNotificationsState=Ru,k.useLayoutState=Ps,k.useLayoutThemeState=vY,k.useLocalStorage=Jh,k.useLocalizedValue=xH,k.useMemoizedObject=tS,k.useMenu=Rh,k.useMenuConfig=Za,k.useMenuContext=Au,k.useOnboardingDataProvider=KT,k.useOnboardingTip=QT,k.usePopoverState=Ja,k.useRefDimensions=wH,k.useResourceDefaultValues=VG,k.useResourceTitle=qh,k.useRestartOnboarding=RX,k.useSx=Sr,k.useTableFormIterator=QS,k.useTableFormIteratorItem=XS,k.useThemeConfig=Tn,k.useThemeContext=tg,k.uuid=PU,k.withLayoutProvider=eA,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
|
|
217
217
|
//# sourceMappingURL=react-admin.umd.js.map
|