@applica-software-guru/react-admin 1.5.293 → 1.5.295
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/ra-buttons/Button.d.ts +7 -1
- package/dist/components/ra-buttons/Button.d.ts.map +1 -1
- package/dist/components/ra-buttons/CreateButton.d.ts +45 -0
- package/dist/components/ra-buttons/CreateButton.d.ts.map +1 -0
- package/dist/components/ra-buttons/index.d.ts +1 -0
- package/dist/components/ra-buttons/index.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/{CreateButton.d.ts → TableCreateButton.d.ts} +3 -3
- package/dist/components/ra-forms/TableForm/TableCreateButton.d.ts.map +1 -0
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts +2 -2
- package/dist/components/ra-forms/TableForm/TableFormIterator.d.ts.map +1 -1
- package/dist/components/ra-forms/TableForm/index.d.ts +1 -1
- package/dist/components/ra-forms/TableForm/index.d.ts.map +1 -1
- package/dist/components/ra-lists/List.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/react-admin.cjs.js +52 -52
- package/dist/react-admin.cjs.js.gz +0 -0
- package/dist/react-admin.cjs.js.map +1 -1
- package/dist/react-admin.es.js +6191 -6096
- 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/ra-buttons/Button.tsx +9 -2
- package/src/components/ra-buttons/CreateButton.tsx +169 -0
- package/src/components/ra-buttons/index.ts +1 -0
- package/src/components/ra-forms/TableForm/{CreateButton.tsx → TableCreateButton.tsx} +2 -2
- package/src/components/ra-forms/TableForm/TableFormIterator.tsx +6 -5
- package/src/components/ra-forms/TableForm/index.ts +1 -1
- package/src/components/ra-lists/List.tsx +3 -0
- package/src/index.ts +0 -1
- package/dist/components/ra-forms/TableForm/CreateButton.d.ts.map +0 -1
package/dist/react-admin.umd.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
(function(j,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):(j=typeof globalThis<"u"?globalThis:j||self,f(j["react-admin"]={},j["react/jsx-runtime"],j["@emotion/styled"],j["@emotion/react"],j.React,j["@mui/material"],j["@ant-design/icons"],j["react-router-dom"],j["@mui/icons-material"],j["ra-core"],j["react-router"],j["react-admin"],j["react-hook-form"],j["react-query"],j.ReactDOM,j["ra-i18n-polyglot"]))})(this,function(j,f,Ht,Nt,T,S,Ke,dt,Ln,re,ti,_,vn,Ui,Hi,j0){"use strict";var Soe=Object.defineProperty;var zO=j=>{throw TypeError(j)};var Aoe=(j,f,Ht)=>f in j?Soe(j,f,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):j[f]=Ht;var Ml=(j,f,Ht)=>Aoe(j,typeof f!="symbol"?f+"":f,Ht),P0=(j,f,Ht)=>f.has(j)||zO("Cannot "+Ht);var Fn=(j,f,Ht)=>(P0(j,f,"read from private field"),Ht?Ht.call(j):f.get(j)),yo=(j,f,Ht)=>f.has(j)?zO("Cannot add the same private member more than once"):f instanceof WeakSet?f.add(j):f.set(j,Ht),ei=(j,f,Ht,Nt)=>(P0(j,f,"write to private field"),Nt?Nt.call(j,Ht):f.set(j,Ht),Ht),kl=(j,f,Ht)=>(P0(j,f,"access private method"),Ht);var Ho,Pi,Fl,ll,cl,Ws,ul,dl,ji;function M0(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=M0(T),k0=M0(Hi),F0=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Ll=T.createContext({}),Jd=T.createContext(null),Dl=typeof document<"u",UO=Dl?T.useLayoutEffect:T.useEffect,L0=T.createContext({strict:!1}),qd=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),D0="data-"+qd("framerAppearId");function HO(e,t,n,r){const{visualElement:o}=T.useContext(Ll),s=T.useContext(L0),a=T.useContext(Jd),c=T.useContext(F0).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[D0]&&!window.HandoffComplete));return UO(()=>{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 GO(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 $d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ef=["initial",...$d];function Rl(e){return _l(e.animate)||ef.some(t=>na(e[t]))}function _0(e){return!!(Rl(e)||e.variants)}function YO(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 KO(e){const{initial:t,animate:n}=YO(e,T.useContext(Ll));return T.useMemo(()=>({initial:t,animate:n}),[R0(t),R0(n)])}function R0(e){return Array.isArray(e)?e.join(" "):e}const B0={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 B0)ra[e]={isEnabled:t=>B0[e].some(n=>!!t[n])};function XO(e){for(const t in e)ra[t]={...ra[t],...e[t]}}const N0=T.createContext({}),V0=T.createContext({}),ZO=Symbol.for("motionComponentSymbol");function QO({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&XO(e);function s(c,u){let d;const h={...T.useContext(F0),...c,layoutId:JO(c)},{isStatic:g}=h,m=KO(c),v=r(c,g);if(!g&&Dl){m.visualElement=HO(o,v,h,t);const b=T.useContext(V0),C=T.useContext(L0).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,C,e,b))}return B.createElement(Ll.Provider,{value:m},d&&m.visualElement?B.createElement(d,{visualElement:m.visualElement,...h}):null,n(o,c,GO(v,m.visualElement,u),v,g,m.visualElement))}const a=T.forwardRef(s);return a[ZO]=o,a}function JO({layoutId:e}){const t=T.useContext(N0).id;return t&&e!==void 0?t+"-"+e:e}function qO(e){function t(r,o={}){return QO(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 $O=["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 tf(e){return typeof e!="string"||e.includes("-")?!1:!!($O.indexOf(e)>-1||/[A-Z]/.test(e))}const Bl={};function eP(e){Object.assign(Bl,e)}const oa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ni=new Set(oa);function W0(e,{layout:t,layoutId:n}){return ni.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Bl[e]||e==="opacity")}const yn=e=>!!(e&&e.getVelocity),tP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},nP=oa.length;function rP(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<nP;a++){const c=oa[a];if(e[c]!==void 0){const u=tP[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 z0=e=>t=>typeof t=="string"&&t.startsWith(e),U0=z0("--"),nf=z0("var(--"),oP=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,iP=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bo=(e,t,n)=>Math.min(Math.max(n,e),t),ri={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ri,transform:e=>bo(0,1,e)},Nl={...ri,default:1},sa=e=>Math.round(e*1e5)/1e5,Vl=/(-)?([\d]*\.?[\d])+/g,H0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,sP=/^(#[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"),aP=la("vh"),lP=la("vw"),G0={...kr,parse:e=>kr.parse(e)/100,transform:e=>kr.transform(e*100)},Y0={...ri,transform:Math.round},K0={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:G0,originY:G0,originZ:Fe,zIndex:Y0,fillOpacity:ia,strokeOpacity:ia,numOctaves:Y0};function rf(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(U0(g)){s[g]=m;continue}const v=K0[g],b=iP(m,v);if(ni.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=rP(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 of=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function X0(e,t,n){for(const r in t)!yn(t[r])&&!W0(r,n)&&(e[r]=t[r])}function cP({transformTemplate:e},t,n){return T.useMemo(()=>{const r=of();return rf(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function uP(e,t,n){const r=e.style||{},o={};return X0(o,r,e),Object.assign(o,cP(e,t,n)),e.transformValues?e.transformValues(o):o}function dP(e,t,n){const r={},o=uP(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 fP=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")||fP.has(e)}let Z0=e=>!Wl(e);function pP(e){e&&(Z0=t=>t.startsWith("on")?!Wl(t):e(t))}try{pP(require("@emotion/is-prop-valid").default)}catch{}function hP(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Z0(o)||n===!0&&Wl(o)||!t&&!Wl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function Q0(e,t,n){return typeof e=="string"?e:Fe.transform(t+n*e)}function gP(e,t,n){const r=Q0(t,e.x,e.width),o=Q0(n,e.y,e.height);return`${r} ${o}`}const mP={offset:"stroke-dashoffset",array:"stroke-dasharray"},vP={offset:"strokeDashoffset",array:"strokeDasharray"};function yP(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?mP:vP;e[s.offset]=Fe.transform(-r);const a=Fe.transform(t),c=Fe.transform(n);e[s.array]=`${a} ${c}`}function sf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(rf(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=gP(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&&yP(v,a,c,u,!1)}const J0=()=>({...of(),attrs:{}}),af=e=>typeof e=="string"&&e.toLowerCase()==="svg";function bP(e,t,n,r){const o=T.useMemo(()=>{const s=J0();return sf(s,t,{enableHardwareAcceleration:!1},af(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};X0(s,e.style,e),o.style={...s,...o.style}}return o}function xP(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(tf(n)?bP:dP)(r,s,a,n),h={...hP(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>yn(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function q0(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 $0=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 ev(e,t,n,r){q0(e,t,void 0,r);for(const o in t.attrs)e.setAttribute($0.has(o)?o:qd(o),t.attrs[o])}function lf(e,t){const{style:n}=e,r={};for(const o in n)(yn(n[o])||t.style&&yn(t.style[o])||W0(o,e))&&(r[o]=n[o]);return r}function tv(e,t){const n=lf(e,t);for(const r in e)if(yn(e[r])||yn(t[r])){const o=oa.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function cf(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 CP(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const zl=e=>Array.isArray(e),wP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),SP=e=>zl(e)?e[e.length-1]||0:e;function Ul(e){const t=yn(e)?e.get():e;return wP(t)?t.toValue():t}function AP({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:TP(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const nv=e=>(t,n)=>{const r=T.useContext(Ll),o=T.useContext(Jd),s=()=>AP(e,t,r,o);return n?s():CP(s)};function TP(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=_0(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=cf(e,v);if(!b)return;const{transitionEnd:C,transition:w,...I}=b;for(const F in I){let E=I[F];if(Array.isArray(E)){const M=h?E.length-1:0;E=E[M]}E!==null&&(o[F]=E)}for(const F in C)o[F]=C[F]}),o}const jt=e=>e;class rv{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 EP(e){let t=new rv,n=new rv,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"],IP=40;function OP(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Hl.reduce((g,m)=>(g[m]=EP(()=>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,IP),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:uf}=OP(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0),PP={useVisualState:nv({scrapeMotionValuesFromProps:tv,createRenderState:J0,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(()=>{sf(n,r,{enableHardwareAcceleration:!1},af(t.tagName),e.transformTemplate),ev(t,n)})}})},jP={useVisualState:nv({scrapeMotionValuesFromProps:lf,createRenderState:of})};function MP(e,{forwardMotionProps:t=!1},n,r){return{...tf(e)?PP:jP,preloadedFeatures:n,useRender:xP(t),createVisualElement:r,Component:e}}function Kr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const ov=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 kP=e=>t=>ov(t)&&e(t,Gl(t));function Xr(e,t,n,r){return Kr(e,t,kP(n),r)}const FP=(e,t)=>n=>t(e(n)),Co=(...e)=>e.reduce(FP);function iv(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const sv=iv("dragHorizontal"),av=iv("dragVertical");function lv(e){let t=!1;if(e==="y")t=av();else if(e==="x")t=sv();else{const n=sv(),r=av();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function cv(){const e=lv(!0);return e?(e(),!1):!0}class wo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function uv(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||cv())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 LP extends wo{mount(){this.unmount=Co(uv(this.node,!0),uv(this.node,!1))}unmount(){}}class DP 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 dv=(e,t)=>t?e===t?!0:dv(e,t.parentElement):!1;function df(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Gl(n))}class _P 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&&!dv(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()||df("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),df("down",(c,u)=>{this.startPress(c,u)})},n=Kr(this.node.current,"keydown",t),r=()=>{this.isPressing&&df("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),!cv()}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 ff=new WeakMap,pf=new WeakMap,RP=e=>{const t=ff.get(e.target);t&&t(e)},BP=e=>{e.forEach(RP)};function NP({root:e,...t}){const n=e||document;pf.has(n)||pf.set(n,{});const r=pf.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(BP,{root:e,...t})),r[o]}function VP(e,t,n){const r=NP(t);return ff.set(e,n),r.observe(e),()=>{ff.delete(e),r.unobserve(e)}}const WP={some:0,all:1};class zP 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:WP[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 VP(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(UP(t,n))&&this.startObserver()}unmount(){}}function UP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const HP={inView:{Feature:zP},tap:{Feature:_P},focus:{Feature:DP},hover:{Feature:LP}};function fv(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 GP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.get()),t}function YP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Yl(e,t,n){const r=e.getProps();return cf(r,t,n!==void 0?n:r.custom,GP(e),YP(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,KP={current:!1},pv=e=>Array.isArray(e)&&typeof e[0]=="number";function hv(e){return!!(!e||typeof e=="string"&&gv[e]||pv(e)||Array.isArray(e)&&e.every(hv))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,gv={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 mv(e){if(e)return pv(e)?ua(e):Array.isArray(e)?e.map(mv):gv[e]}function XP(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=mv(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 ZP(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const vv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,QP=1e-7,JP=12;function qP(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=vv(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>QP&&++c<JP);return a}function da(e,t,n,r){if(e===t&&n===r)return jt;const o=s=>qP(s,0,1,e,n);return s=>s===0||s===1?s:vv(o(s),t,r)}const $P=da(.42,0,1,1),e3=da(0,0,.58,1),yv=da(.42,0,.58,1),t3=e=>Array.isArray(e)&&typeof e[0]!="number",bv=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,xv=e=>t=>1-e(1-t),hf=e=>1-Math.sin(Math.acos(e)),Cv=xv(hf),n3=bv(hf),wv=da(.33,1.53,.69,.99),gf=xv(wv),r3=bv(gf),Sv={linear:jt,easeIn:$P,easeInOut:yv,easeOut:e3,circIn:hf,circInOut:n3,circOut:Cv,backIn:gf,backInOut:r3,backOut:wv,anticipate:e=>(e*=2)<1?.5*gf(e):.5*(2-Math.pow(2,-10*(e-1)))},Av=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(Sv[e]!==void 0,`Invalid easing type '${e}'`),Sv[e];return e},mf=(e,t)=>n=>!!(aa(n)&&sP.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Tv=(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}},o3=e=>bo(0,255,e),vf={...ri,transform:e=>Math.round(o3(e))},oi={test:mf("rgb","red"),parse:Tv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+vf.transform(e)+", "+vf.transform(t)+", "+vf.transform(n)+", "+sa(ia.transform(r))+")"};function i3(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 yf={test:mf("#"),parse:i3,transform:oi.transform},Yi={test:mf("hsl","hue"),parse:Tv("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))+")"},fn={test:e=>oi.test(e)||yf.test(e)||Yi.test(e),parse:e=>oi.test(e)?oi.parse(e):Yi.test(e)?Yi.parse(e):yf.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?oi.transform(e):Yi.transform(e)},Tt=(e,t,n)=>-n*e+n*t+e;function bf(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 s3({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=bf(u,c,e+1/3),s=bf(u,c,e),a=bf(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const xf=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},a3=[yf,oi,Yi],l3=e=>a3.find(t=>t.test(e));function Ev(e){const t=l3(e);wr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Yi&&(n=s3(n)),n}const Iv=(e,t)=>{const n=Ev(e),r=Ev(t),o={...n};return s=>(o.red=xf(n.red,r.red,s),o.green=xf(n.green,r.green,s),o.blue=xf(n.blue,r.blue,s),o.alpha=Tt(n.alpha,r.alpha,s),oi.transform(o))};function c3(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(H0))===null||n===void 0?void 0:n.length)||0)>0}const Ov={regex:oP,countKey:"Vars",token:"${v}",parse:jt},Pv={regex:H0,countKey:"Colors",token:"${c}",parse:fn.parse},jv={regex:Vl,countKey:"Numbers",token:"${n}",parse:ri.parse};function Cf(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(--")&&Cf(n,Ov),Cf(n,Pv),Cf(n,jv),n}function Mv(e){return Kl(e).values}function kv(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(Ov.token,a[u]):u<r+n?c=c.replace(Pv.token,fn.transform(a[u])):c=c.replace(jv.token,sa(a[u]));return c}}const u3=e=>typeof e=="number"?0:e;function d3(e){const t=Mv(e);return kv(e)(t.map(u3))}const Ao={test:c3,parse:Mv,createTransformer:kv,getAnimatableNone:d3},Fv=(e,t)=>n=>`${n>0?t:e}`;function Lv(e,t){return typeof e=="number"?n=>Tt(e,t,n):fn.test(e)?Iv(e,t):e.startsWith("var(")?Fv(e,t):_v(e,t)}const Dv=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>Lv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},f3=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Lv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},_v=(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(Dv(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.`),Fv(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Rv=(e,t)=>n=>Tt(e,t,n);function p3(e){return typeof e=="number"?Rv:typeof e=="string"?fn.test(e)?Iv:_v:Array.isArray(e)?Dv:typeof e=="object"?f3:Rv}function h3(e,t,n){const r=[],o=n||p3(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 Bv(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=h3(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 g3(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 m3(e){const t=[0];return g3(t,e.length-1),t}function v3(e,t){return e.map(n=>n*t)}function y3(e,t){return e.map(()=>t||yv).splice(0,e.length-1)}function Xl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=t3(r)?r.map(Av):Av(r),s={done:!1,value:t[0]},a=v3(n&&n.length===t.length?n:m3(t),e),c=Bv(a,t,{ease:Array.isArray(o)?o:y3(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function Nv(e,t){return t?e*(1e3/t):0}const b3=5;function Vv(e,t,n){const r=Math.max(t-b3,0);return Nv(n-e(r),t-r)}const wf=.001,x3=.01,Wv=10,C3=.05,w3=1;function S3({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;ca(e<=So(Wv),"Spring duration must be 10 seconds or less");let a=1-t;a=bo(C3,w3,a),e=bo(x3,Wv,Zr(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=Sf(d,a),b=Math.exp(-g);return wf-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=Sf(Math.pow(d,2),a);return(-o(d)+wf>0?-1:1)*((m-v)*b)/C}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-wf+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=T3(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 A3=12;function T3(e,t,n){let r=n;for(let o=1;o<A3;o++)r=r-e(r)/t(r);return r}function Sf(e,t){return e*Math.sqrt(1-t*t)}const E3=["duration","bounce"],I3=["stiffness","damping","mass"];function zv(e,t){return t.some(n=>e[n]!==void 0)}function O3(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!zv(e,I3)&&zv(e,E3)){const n=S3(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Uv({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}=O3({...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 F;if(b<1){const E=Sf(w,b);F=M=>{const P=Math.exp(-b*w*M);return s-P*((v+b*w*C)/E*Math.sin(E*M)+C*Math.cos(E*M))}}else if(b===1)F=E=>s-Math.exp(-w*E)*(C+(v+w*C)*E);else{const E=w*Math.sqrt(b*b-1);F=M=>{const P=Math.exp(-b*w*M),D=Math.min(E*M,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 M=F(E);if(m)a.done=E>=h;else{let P=v;E!==0&&(b<1?P=Vv(F,E,M):P=0);const D=Math.abs(P)<=n,L=Math.abs(s-M)<=t;a.done=D&&L}return a.value=a.done?s:M,a}}}function Hv({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=H=>c!==void 0&&H<c||u!==void 0&&H>u,b=H=>c===void 0?u:u===void 0||Math.abs(c-H)<Math.abs(u-H)?c:u;let C=n*t;const w=g+C,I=a===void 0?w:a(w);I!==w&&(C=I-g);const F=H=>-C*Math.exp(-H/r),E=H=>I+F(H),M=H=>{const K=F(H),$=E(H);m.done=Math.abs(K)<=d,m.value=m.done?I:$};let P,D;const L=H=>{v(m.value)&&(P=H,D=Uv({keyframes:[m.value,b(m.value)],velocity:Vv(E,H,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return L(0),{calculatedDuration:null,next:H=>{let K=!1;return!D&&P===void 0&&(K=!0,M(H),L(H)),P!==void 0&&H>P?D.next(H-P):(!K&&M(H),m)}}}const P3=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>Yr(t),now:()=>tn.isProcessing?tn.timestamp:performance.now()}},Gv=2e4;function Yv(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Gv;)t+=n,r=e.next(t);return t>=Gv?1/0:t}const j3={decay:Hv,inertia:Hv,tween:Xl,keyframes:Xl,spring:Uv};function Zl({autoplay:e=!0,delay:t=0,driver:n=P3,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 F;const E=j3[o]||Xl;let M;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}`),M=Bv([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 L="idle",H=null,K=null,$=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=Yv(P));const{calculatedDuration:G}=P;let ae=1/0,le=1/0;G!==null&&(ae=G+a,le=ae*(s+1)-a);let J=0;const Q=X=>{if(K===null)return;v>0&&(K=Math.min(K,X)),v<0&&(K=Math.min(X-le/v,K)),H!==null?J=H:J=Math.round(X-K)*v;const ue=J-t*(v>=0?1:-1),he=v>=0?ue<0:ue>le;J=Math.max(ue,0),L==="finished"&&H===null&&(J=le);let pe=J,ge=P;if(s){const be=Math.min(J,le)/ae;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/ae)):c==="mirror"&&(ge=D)),pe=bo(0,1,Ie)*ae}const ve=he?{done:!1,value:r[0]}:ge.next(pe);M&&(ve.value=M(ve.value));let{done:Te}=ve;!he&&G!==null&&(Te=v>=0?J>=le:J<=0);const Ce=H===null&&(L==="finished"||L==="running"&&Te);return g&&g(ve.value),Ce&&W(),ve},z=()=>{F&&F.stop(),F=void 0},ne=()=>{L="idle",z(),C(),I(),K=$=null},W=()=>{L="finished",h&&h(),z(),C()},te=()=>{if(b)return;F||(F=n(Q));const X=F.now();u&&u(),H!==null?K=X-H:(!K||L==="finished")&&(K=X),L==="finished"&&I(),$=K,H=null,L="running",F.start()};e&&te();const V={then(X,ue){return w.then(X,ue)},get time(){return Zr(J)},set time(X){X=So(X),J=X,H!==null||!F||v===0?H=X:K=F.now()-X/v},get duration(){const X=P.calculatedDuration===null?Yv(P):P.calculatedDuration;return Zr(X)},get speed(){return v},set speed(X){X===v||!F||(v=X,V.time=Zr(J))},get state(){return L},play:te,pause:()=>{L="paused",H=J},stop:()=>{b=!0,L!=="idle"&&(L="idle",d&&d(),ne())},cancel:()=>{$!==null&&Q($),ne()},complete:()=>{L="finished"},sample:X=>(K=0,Q(X))};return V}function M3(e){let t;return()=>(t===void 0&&(t=e()),t)}const k3=M3(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),F3=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Ql=10,L3=2e4,D3=(e,t)=>t.type==="spring"||e==="backgroundColor"||!hv(t.ease);function _3(e,t,{onUpdate:n,onComplete:r,...o}){if(!(k3()&&F3.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(D3(t,o)){const E=Zl({...o,repeat:0,delay:0});let M={done:!1,value:g[0]};const P=[];let D=0;for(;!M.done&&D<L3;)M=E.sample(D),P.push(M.value),D+=Ql;b=void 0,g=P,m=D-Ql,v="linear"}const C=XP(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(ZP(g,o)),r&&r(),I())},{then(E,M){return u.then(E,M)},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 M=Zl({...o,autoplay:!1});e.setWithVelocity(M.sample(E-Ql).value,M.sample(E).value,Ql)}I()},complete:()=>{d||C.finish()},cancel:I}}function R3({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 B3={type:"spring",stiffness:500,damping:25,restSpeed:10},N3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),V3={type:"keyframes",duration:.8},W3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},z3=(e,{keyframes:t})=>t.length>2?V3:ni.has(e)?e.startsWith("scale")?N3(t[1]):B3:W3,Af=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ao.test(t)||t==="0")&&!t.startsWith("url(")),U3=new Set(["brightness","contrast","saturate","opacity"]);function H3(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=U3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const G3=/([a-z-]*)\(.*?\)/g,Tf={...Ao,getAnimatableNone:e=>{const t=e.match(G3);return t?t.map(H3).join(" "):e}},Y3={...K0,color:fn,backgroundColor:fn,outlineColor:fn,fill:fn,stroke:fn,borderColor:fn,borderTopColor:fn,borderRightColor:fn,borderBottomColor:fn,borderLeftColor:fn,filter:Tf,WebkitFilter:Tf},Ef=e=>Y3[e];function Kv(e,t){let n=Ef(e);return n!==Tf&&(n=Ao),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Xv=e=>/^0[^.\s]+$/.test(e);function K3(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||Xv(e)}function X3(e,t,n,r){const o=Af(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]),K3(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]=Kv(t,c)}return s}function Z3({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 If(e,t){return e[t]||e.default||e}const Q3={skipAnimations:!1},Of=(e,t,n,r={})=>o=>{const s=If(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-So(a);const u=X3(t,e,n,s),d=u[0],h=u[u.length-1],g=Af(e,d),m=Af(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(Z3(s)||(v={...v,...z3(e,v)}),v.duration&&(v.duration=So(v.duration)),v.repeatDelay&&(v.repeatDelay=So(v.repeatDelay)),!g||!m||KP.current||s.type===!1||Q3.skipAnimations)return R3(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=_3(t,e,v);if(b)return b}return Zl(v)};function Jl(e){return!!(yn(e)&&e.add)}const Zv=e=>/^\-?\d*\.?\d+$/.test(e);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function jf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Mf{constructor(){this.subscriptions=[]}add(t){return Pf(this.subscriptions,t),()=>jf(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 Qv=new Set;function kf(e,t,n){e||Qv.has(t)||(console.warn(t),Qv.add(t))}const J3=e=>!isNaN(parseFloat(e));class q3{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=J3(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&kf(!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 Mf);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?Nv(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 q3(e,t)}const Jv=e=>t=>t.test(e),qv=[ri,Fe,kr,xo,lP,aP,{test:e=>e==="auto",parse:e=>e}],pa=e=>qv.find(Jv(e)),$3=[...qv,fn,Ao],ej=e=>$3.find(Jv(e));function tj(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function nj(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=SP(s[a]);tj(e,a,c)}}function rj(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"&&(Zv(h)||Xv(h))?h=parseFloat(h):!ej(h)&&Ao.test(d)&&(h=Kv(u,d)),e.addValue(u,Ki(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function oj(e,t){return t?(t[e]||t.default||t).from:void 0}function ij(e,t,n){const r={};for(const o in e){const s=oj(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function sj({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function aj(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 $v(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&&sj(h,g))continue;const b={delay:n,elapsed:0,...If(s||{},g)};if(window.HandoffAppearAnimations){const I=e.getProps()[D0];if(I){const F=window.HandoffAppearAnimations(I,g,m,mt);F!==null&&(b.elapsed=F,b.isHandoff=!0)}}let C=!b.isHandoff&&!aj(m,v);if(b.type==="spring"&&(m.getVelocity()||b.velocity)&&(C=!1),m.animation&&(C=!1),C)continue;m.start(Of(g,m,v,e.shouldReduceMotion&&ni.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&&nj(e,a)}),d}function Ff(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($v(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return lj(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 lj(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(cj).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(Ff(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function cj(e,t){return e.sortNodePosition(t)}function uj(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>Ff(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=Ff(e,t,n);else{const o=typeof t=="function"?Yl(e,t,n.custom):t;r=Promise.all($v(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const dj=[...$d].reverse(),fj=$d.length;function pj(e){return t=>Promise.all(t.map(({animation:n,options:r})=>uj(e,n,r)))}function hj(e){let t=pj(e);const n=mj();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<fj;I++){const F=dj[I],E=n[F],M=h[F]!==void 0?h[F]:g[F],P=na(M),D=F===d?E.isActive:null;D===!1&&(C=I);let L=M===g[F]&&M!==h[F]&&P;if(L&&r&&e.manuallyAnimateOnMount&&(L=!1),E.protectedKeys={...b},!E.isActive&&D===null||!M&&!E.prevProp||_l(M)||typeof M=="boolean")continue;let K=gj(E.prevProp,M)||F===d&&E.isActive&&!L&&P||I>C&&P,$=!1;const G=Array.isArray(M)?M:[M];let ae=G.reduce(o,{});D===!1&&(ae={});const{prevResolvedValues:le={}}=E,J={...le,...ae},Q=z=>{K=!0,v.has(z)&&($=!0,v.delete(z)),E.needsAnimating[z]=!0};for(const z in J){const ne=ae[z],W=le[z];if(b.hasOwnProperty(z))continue;let te=!1;zl(ne)&&zl(W)?te=!fv(ne,W):te=ne!==W,te?ne!==void 0?Q(z):v.add(z):ne!==void 0&&v.has(z)?Q(z):E.protectedKeys[z]=!0}E.prevProp=M,E.prevResolvedValues=ae,E.isActive&&(b={...b,...ae}),r&&e.blockInitialAnimation&&(K=!1),K&&(!L||$)&&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 gj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!fv(t,e):!1}function ii(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mj(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}class vj extends wo{constructor(t){super(t),t.animationState||(t.animationState=hj(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 yj=0;class bj extends wo{constructor(){super(...arguments),this.id=yj++}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 xj={animation:{Feature:vj},exit:{Feature:bj}},ey=(e,t)=>Math.abs(e-t);function Cj(e,t){const n=ey(e.x,t.x),r=ey(e.y,t.y);return Math.sqrt(n**2+r**2)}class ty{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=Df(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Cj(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=Lf(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=Df(g.type==="pointercancel"?this.lastMoveEventInfo:Lf(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),b&&b(g,w)},!ov(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Gl(t),c=Lf(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=tn;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Df(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 Lf(e,t){return t?{point:t(e.point)}:e}function ny(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Df({point:e},t){return{point:e,delta:ny(e,ry(t)),offset:ny(e,wj(t)),velocity:Sj(t,.1)}}function wj(e){return e[0]}function ry(e){return e[e.length-1]}function Sj(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ry(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 Dn(e){return e.max-e.min}function _f(e,t=0,n=.01){return Math.abs(e-t)<=n}function oy(e,t,n,r=.5){e.origin=r,e.originPoint=Tt(t.min,t.max,e.origin),e.scale=Dn(n)/Dn(t),(_f(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Tt(n.min,n.max,e.origin)-e.originPoint,(_f(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){oy(e.x,t.x,n.x,r?r.originX:void 0),oy(e.y,t.y,n.y,r?r.originY:void 0)}function iy(e,t,n){e.min=n.min+t.min,e.max=e.min+Dn(t)}function Aj(e,t,n){iy(e.x,t.x,n.x),iy(e.y,t.y,n.y)}function sy(e,t,n){e.min=t.min-n.min,e.max=e.min+Dn(t)}function ga(e,t,n){sy(e.x,t.x,n.x),sy(e.y,t.y,n.y)}function Tj(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 ay(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 Ej(e,{top:t,left:n,bottom:r,right:o}){return{x:ay(e.x,n,o),y:ay(e.y,t,r)}}function ly(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 Ij(e,t){return{x:ly(e.x,t.x),y:ly(e.y,t.y)}}function Oj(e,t){let n=.5;const r=Dn(e),o=Dn(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 Pj(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 Rf=.35;function jj(e=Rf){return e===!1?e=0:e===!0&&(e=Rf),{x:cy(e,"left","right"),y:cy(e,"top","bottom")}}function cy(e,t,n){return{min:uy(e,t),max:uy(e,n)}}function uy(e,t){return typeof e=="number"?e:e[t]||0}const dy=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:dy(),y:dy()}),fy=()=>({min:0,max:0}),Vt=()=>({x:fy(),y:fy()});function qn(e){return[e("x"),e("y")]}function py({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Mj({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function kj(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 Bf(e){return e===void 0||e===1}function Nf({scale:e,scaleX:t,scaleY:n}){return!Bf(e)||!Bf(t)||!Bf(n)}function si(e){return Nf(e)||hy(e)||e.z||e.rotate||e.rotateX||e.rotateY}function hy(e){return gy(e.x)||gy(e.y)}function gy(e){return e&&e!=="0%"}function ql(e,t,n){const r=e-n,o=t*r;return n+o}function my(e,t,n,r,o){return o!==void 0&&(e=ql(e,o,r)),ql(e,n,r)+t}function Vf(e,t=0,n=1,r,o){e.min=my(e.min,t,n,r,o),e.max=my(e.max,t,n,r,o)}function vy(e,{x:t,y:n}){Vf(e.x,t.translate,t.scale,t.originPoint),Vf(e.y,n.translate,n.scale,n.originPoint)}function Fj(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,vy(e,a)),r&&si(s.latestValues)&&Zi(e,s.latestValues))}t.x=yy(t.x),t.y=yy(t.y)}function yy(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 by(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Tt(e.min,e.max,s);Vf(e,t[n],t[r],a,t.scale)}const Lj=["x","scaleX","originX"],Dj=["y","scaleY","originY"];function Zi(e,t){by(e.x,t,Lj),by(e.y,t,Dj)}function xy(e,t){return py(kj(e.getBoundingClientRect(),t))}function _j(e,t,n){const r=xy(e,n),{scroll:o}=t;return o&&(To(r.x,o.offset.x),To(r.y,o.offset.y)),r}const Cy=({current:e})=>e?e.ownerDocument.defaultView:null,Rj=new WeakMap;class Bj{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=lv(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),qn(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=Dn(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=Nj(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=()=>qn(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 ty(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Cy(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=Tj(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=Ej(o.layoutBox,n):this.constraints=!1,this.elastic=jj(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&qn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=Pj(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=_j(r,o.root,this.visualElement.getTransformPagePoint());let a=Ij(o.layout.layoutBox,s);if(n){const c=n(Mj(a));this.hasMutatedConstraints=!!c,c&&(a=py(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=qn(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(Of(t,r,0,n))}stopAnimation(){qn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){qn(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){qn(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};qn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=Oj({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(),qn(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;Rj.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&&(qn(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=Rf,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 Nj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Vj extends wo{constructor(t){super(t),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new Bj(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 wy=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class Wj extends wo{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(t){this.session=new ty(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Cy(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:wy(t),onStart:wy(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 zj(){const e=T.useContext(Jd);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 Sy(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=Sy(e,t.target.x),r=Sy(e,t.target.y);return`${n}% ${r}%`}},Uj={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 Hj extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;eP(Gj),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 Ay(e){const[t,n]=zj(),r=T.useContext(N0);return T.createElement(Hj,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(V0),isPresent:t,safeToRemove:n})}const Gj={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:Uj},Ty=["TopLeft","TopRight","BottomLeft","BottomRight"],Yj=Ty.length,Ey=e=>typeof e=="string"?parseFloat(e):e,Iy=e=>typeof e=="number"||Fe.test(e);function Kj(e,t,n,r,o,s){o?(e.opacity=Tt(0,n.opacity!==void 0?n.opacity:1,Xj(r)),e.opacityExit=Tt(t.opacity!==void 0?t.opacity:1,0,Zj(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<Yj;a++){const c=`border${Ty[a]}Radius`;let u=Oy(t,c),d=Oy(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||Iy(u)===Iy(d)?(e[c]=Math.max(Tt(Ey(u),Ey(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 Oy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Xj=Py(0,.5,Cv),Zj=Py(.5,.95,jt);function Py(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function jy(e,t){e.min=t.min,e.max=t.max}function $n(e,t){jy(e.x,t.x),jy(e.y,t.y)}function My(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 Qj(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=My(e.min,t,n,c,o),e.max=My(e.max,t,n,c,o)}function ky(e,t,[n,r,o],s,a){Qj(e,t[n],t[r],t[o],t.scale,s,a)}const Jj=["x","scaleX","originX"],qj=["y","scaleY","originY"];function Fy(e,t,n,r){ky(e.x,t,Jj,n?n.x:void 0,r?r.x:void 0),ky(e.y,t,qj,n?n.y:void 0,r?r.y:void 0)}function Ly(e){return e.translate===0&&e.scale===1}function Dy(e){return Ly(e.x)&&Ly(e.y)}function $j(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 _y(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 Ry(e){return Dn(e.x)/Dn(e.y)}class e4{constructor(){this.members=[]}add(t){Pf(this.members,t),t.scheduleRender()}remove(t){if(jf(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 By(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 t4=(e,t)=>e.depth-t.depth;class n4{constructor(){this.children=[],this.isDirty=!1}add(t){Pf(this.children,t),this.isDirty=!0}remove(t){jf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(t4),this.isDirty=!1,this.children.forEach(t)}}function r4(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 o4(e){window.MotionDebug&&window.MotionDebug.record(e)}function i4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function s4(e,t,n){const r=yn(e)?e:Ki(e);return r.start(Of("",r,t,n)),r.animation}const Ny=["","X","Y","Z"],a4={visibility:"hidden"},Vy=1e3;let l4=0;const ai={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Wy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=l4++,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,ai.totalNodes=ai.resolvedTargetDeltas=ai.recalculatedProjection=0,this.nodes.forEach(d4),this.nodes.forEach(m4),this.nodes.forEach(v4),this.nodes.forEach(f4),o4(ai)},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 n4)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Mf),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=i4(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=r4(m,250),ec.hasAnimatedSinceResize&&(ec.hasAnimatedSinceResize=!1,this.nodes.forEach(Uy))})}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()||w4,{onLayoutAnimationStart:w,onLayoutAnimationComplete:I}=h.getProps(),F=!this.targetLayout||!_y(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 M={...If(C,"layout"),onPlay:w,onComplete:I};(h.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M)}else m||Uy(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(y4),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(zy);return}this.isUpdating||this.nodes.forEach(h4),this.isUpdating=!1,this.nodes.forEach(g4),this.nodes.forEach(c4),this.nodes.forEach(u4),this.clearAllSnapshots();const c=performance.now();tn.delta=bo(0,1e3/60,c-tn.timestamp),tn.timestamp=c,tn.isProcessing=!0,uf.update.process(tn),uf.preRender.process(tn),uf.render.process(tn),tn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(p4),this.sharedNodes.forEach(b4)}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&&!Dy(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||si(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)),S4(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();$n(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){$n(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();$n(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}),si(h.latestValues)&&Zi(u,h.latestValues)}return si(this.latestValues)&&Zi(u,this.latestValues),u}removeTransform(a){const c=Vt();$n(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!si(d.latestValues))continue;Nf(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();$n(h,g),Fy(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return si(this.latestValues)&&Fy(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),$n(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(),Aj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$n(this.target,this.layout.layoutBox),vy(this.target,this.targetDelta)):$n(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),$n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ai.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Nf(this.parent.latestValues)||hy(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;$n(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;Fj(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=By(this.projectionDelta,this.treeScale),(this.projectionTransform!==C||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),ai.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,F=!!(C&&!I&&this.options.crossfade===!0&&!this.path.some(C4));this.animationProgress=0;let E;this.mixTargetDelta=M=>{const P=M/1e3;Hy(g.x,a.x,P),Hy(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),x4(this.relativeTarget,this.relativeTargetOrigin,m,P),E&&$j(this.relativeTarget,E)&&(this.isProjectionDirty=!1),E||(E=Vt()),$n(E,this.relativeTarget)),C&&(this.animationValues=h,Kj(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=s4(0,Vy,{...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(Vy),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&&Zy(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Dn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Dn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}$n(c,u),Zi(c,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new e4),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<Ny.length;h++){const g="rotate"+Ny[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 a4;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&&!si(this.latestValues)&&(C.transform=h?h({},""):"none",this.hasProjected=!1),C}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=By(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],F=d.transform==="none"?m[C]:w(m[C],g);if(I){const E=I.length;for(let M=0;M<E;M++)d[I[M]]=F}else d[C]=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(zy),this.root.sharedNodes.clear()}}}function c4(e){e.updateLayout()}function u4(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"?qn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Dn(m);m.min=r[g].min,m.max=m.min+v}):Zy(s,n.layoutBox,r)&&qn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Dn(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=!Dy(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),_y(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 d4(e){ai.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 f4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function p4(e){e.clearSnapshot()}function zy(e){e.clearMeasurements()}function h4(e){e.isLayoutDirty=!1}function g4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Uy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function m4(e){e.resolveTargetDelta()}function v4(e){e.calcProjection()}function y4(e){e.resetRotation()}function b4(e){e.removeLeadSnapshot()}function Hy(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 Gy(e,t,n,r){e.min=Tt(t.min,n.min,r),e.max=Tt(t.max,n.max,r)}function x4(e,t,n,r){Gy(e.x,t.x,n.x,r),Gy(e.y,t.y,n.y,r)}function C4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const w4={duration:.45,ease:[.4,0,.1,1]},Yy=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),Ky=Yy("applewebkit/")&&!Yy("chrome/")?Math.round:jt;function Xy(e){e.min=Ky(e.min),e.max=Ky(e.max)}function S4(e){Xy(e.x),Xy(e.y)}function Zy(e,t,n){return e==="position"||e==="preserve-aspect"&&!_f(Ry(t),Ry(n),.2)}const A4=Wy({attachResizeListener:(e,t)=>Kr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Wf={current:void 0},Qy=Wy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wf.current){const e=new A4({});e.mount(window),e.setOptions({layoutScroll:!0}),Wf.current=e}return Wf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),T4={pan:{Feature:Wj},drag:{Feature:Vj,ProjectionNode:Qy,MeasureLayout:Ay}},E4=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function I4(e){const t=E4.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const O4=4;function zf(e,t,n=1){wr(n<=O4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=I4(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return Zv(a)?parseFloat(a):a}else return nf(o)?zf(o,t,n+1):o}function P4(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(!nf(s))return;const a=zf(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!nf(s))continue;const a=zf(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const j4=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Jy=e=>j4.has(e),M4=e=>Object.keys(e).some(Jy),tc=e=>e===ri||e===Fe,qy=(e,t)=>parseFloat(e.split(", ")[t]),$y=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return qy(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?qy(s[1],e):0}},k4=new Set(["x","y","z"]),F4=oa.filter(e=>!k4.has(e));function L4(e){const t=[];return F4.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:$y(4,13),y:$y(5,14)};Qi.translateX=Qi.x,Qi.translateY=Qi.y;const D4=(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},_4=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(Jy);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===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=L4(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=D4(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 R4(e,t,n,r){return M4(t)?_4(e,t,n,r):{target:t,transitionEnd:r}}const B4=(e,t,n,r)=>{const o=P4(e,t,r);return t=o.target,r=o.transitionEnd,R4(e,t,n,r)},Uf={current:null},eb={current:!1};function N4(){if(eb.current=!0,!!Dl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Uf.current=e.matches;e.addListener(t),t()}else Uf.current=!1}function V4(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(yn(s))e.addValue(o,s),Jl(r)&&r.add(o),process.env.NODE_ENV==="development"&&kf(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(yn(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 tb=new WeakMap,nb=Object.keys(ra),W4=nb.length,rb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],z4=ef.length;class U4{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=_0(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&&yn(m)&&(m.set(c[g],!1),Jl(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,tb.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)),eb.current||N4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Uf.current,process.env.NODE_ENV!=="production"&&kf(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(){tb.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=ni.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<W4;u++){const d=nb[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<rb.length;r++){const o=rb[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=V4(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<z4;r++){const o=ef[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=cf(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&&!yn(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 Mf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class ob extends U4{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=ij(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){rj(this,r,a);const c=B4(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function H4(e){return window.getComputedStyle(e)}class G4 extends ob{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ni.has(n)){const r=Ef(n);return r&&r.default||0}else{const r=H4(t),o=(U0(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return xy(t,n)}build(t,n,r,o){rf(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return lf(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;yn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){q0(t,n,r,o)}}class Y4 extends ob{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ni.has(n)){const r=Ef(n);return r&&r.default||0}return n=$0.has(n)?n:qd(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return tv(t,n)}build(t,n,r,o){sf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){ev(t,n,r,o)}mount(t){this.isSVGTag=af(t.tagName),super.mount(t)}}const K4=(e,t)=>tf(e)?new Y4(t,{enableHardwareAcceleration:!1}):new G4(t,{enableHardwareAcceleration:!0}),X4={...xj,...HP,...T4,...{layout:{ProjectionNode:Qy,MeasureLayout:Ay}}},nc=qO((e,t)=>MP(e,t,X4,K4)),Z4=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function ib(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?Z4(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function Q4({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]=ib(s,a),[d,h]=ib(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 bn=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 Hf={exports:{}},rc={exports:{}},rt={};/** @license React v16.13.1
|
|
1
|
+
(function(j,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):(j=typeof globalThis<"u"?globalThis:j||self,f(j["react-admin"]={},j["react/jsx-runtime"],j["@emotion/styled"],j["@emotion/react"],j.React,j["@mui/material"],j["@ant-design/icons"],j["react-router-dom"],j["@mui/icons-material"],j["ra-core"],j["react-router"],j["react-admin"],j["react-hook-form"],j["react-query"],j.ReactDOM,j["ra-i18n-polyglot"]))})(this,function(j,f,Ht,Nt,T,S,Ke,ct,Ln,re,ti,R,vn,Ui,Hi,D0){"use strict";var Foe=Object.defineProperty;var YO=j=>{throw TypeError(j)};var Loe=(j,f,Ht)=>f in j?Foe(j,f,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):j[f]=Ht;var kl=(j,f,Ht)=>Loe(j,typeof f!="symbol"?f+"":f,Ht),L0=(j,f,Ht)=>f.has(j)||YO("Cannot "+Ht);var Fn=(j,f,Ht)=>(L0(j,f,"read from private field"),Ht?Ht.call(j):f.get(j)),yo=(j,f,Ht)=>f.has(j)?YO("Cannot add the same private member more than once"):f instanceof WeakSet?f.add(j):f.set(j,Ht),ei=(j,f,Ht,Nt)=>(L0(j,f,"write to private field"),Nt?Nt.call(j,Ht):f.set(j,Ht),Ht),Fl=(j,f,Ht)=>(L0(j,f,"access private method"),Ht);var Ho,Pi,Ll,cl,ul,Ws,dl,fl,ji;function _0(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=_0(T),R0=_0(Hi),B0=T.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Dl=T.createContext({}),ef=T.createContext(null),_l=typeof document<"u",KO=_l?T.useLayoutEffect:T.useEffect,N0=T.createContext({strict:!1}),tf=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),V0="data-"+tf("framerAppearId");function XO(e,t,n,r){const{visualElement:o}=T.useContext(Dl),s=T.useContext(N0),a=T.useContext(ef),c=T.useContext(B0).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[V0]&&!window.HandoffComplete));return KO(()=>{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 Rl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const nf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],rf=["initial",...nf];function Bl(e){return Rl(e.animate)||rf.some(t=>na(e[t]))}function W0(e){return!!(Bl(e)||e.variants)}function QO(e,t){if(Bl(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 JO(e){const{initial:t,animate:n}=QO(e,T.useContext(Dl));return T.useMemo(()=>({initial:t,animate:n}),[z0(t),z0(n)])}function z0(e){return Array.isArray(e)?e.join(" "):e}const U0={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 U0)ra[e]={isEnabled:t=>U0[e].some(n=>!!t[n])};function qO(e){for(const t in e)ra[t]={...ra[t],...e[t]}}const H0=T.createContext({}),G0=T.createContext({}),$O=Symbol.for("motionComponentSymbol");function eP({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){e&&qO(e);function s(c,u){let d;const h={...T.useContext(B0),...c,layoutId:tP(c)},{isStatic:g}=h,m=JO(c),v=r(c,g);if(!g&&_l){m.visualElement=XO(o,v,h,t);const b=T.useContext(G0),C=T.useContext(N0).strict;m.visualElement&&(d=m.visualElement.loadFeatures(h,C,e,b))}return B.createElement(Dl.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[$O]=o,a}function tP({layoutId:e}){const t=T.useContext(H0).id;return t&&e!==void 0?t+"-"+e:e}function nP(e){function t(r,o={}){return eP(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 rP=["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 of(e){return typeof e!="string"||e.includes("-")?!1:!!(rP.indexOf(e)>-1||/[A-Z]/.test(e))}const Nl={};function oP(e){Object.assign(Nl,e)}const oa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ni=new Set(oa);function Y0(e,{layout:t,layoutId:n}){return ni.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Nl[e]||e==="opacity")}const yn=e=>!!(e&&e.getVelocity),iP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sP=oa.length;function aP(e,{enableHardwareAcceleration:t=!0,allowTransformNone:n=!0},r,o){let s="";for(let a=0;a<sP;a++){const c=oa[a];if(e[c]!==void 0){const u=iP[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 K0=e=>t=>typeof t=="string"&&t.startsWith(e),X0=K0("--"),sf=K0("var(--"),lP=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,cP=(e,t)=>t&&typeof e=="number"?t.transform(e):e,bo=(e,t,n)=>Math.min(Math.max(n,e),t),ri={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ia={...ri,transform:e=>bo(0,1,e)},Vl={...ri,default:1},sa=e=>Math.round(e*1e5)/1e5,Wl=/(-)?([\d]*\.?[\d])+/g,Z0=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,uP=/^(#[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"),dP=la("vh"),fP=la("vw"),Q0={...kr,parse:e=>kr.parse(e)/100,transform:e=>kr.transform(e*100)},J0={...ri,transform:Math.round},q0={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:Vl,scaleX:Vl,scaleY:Vl,scaleZ:Vl,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:Q0,originY:Q0,originZ:Fe,zIndex:J0,fillOpacity:ia,strokeOpacity:ia,numOctaves:J0};function af(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(X0(g)){s[g]=m;continue}const v=q0[g],b=cP(m,v);if(ni.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=aP(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 lf=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $0(e,t,n){for(const r in t)!yn(t[r])&&!Y0(r,n)&&(e[r]=t[r])}function pP({transformTemplate:e},t,n){return T.useMemo(()=>{const r=lf();return af(r,t,{enableHardwareAcceleration:!n},e),Object.assign({},r.vars,r.style)},[t])}function hP(e,t,n){const r=e.style||{},o={};return $0(o,r,e),Object.assign(o,pP(e,t,n)),e.transformValues?e.transformValues(o):o}function gP(e,t,n){const r={},o=hP(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 mP=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 zl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||mP.has(e)}let ev=e=>!zl(e);function vP(e){e&&(ev=t=>t.startsWith("on")?!zl(t):e(t))}try{vP(require("@emotion/is-prop-valid").default)}catch{}function yP(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(ev(o)||n===!0&&zl(o)||!t&&!zl(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function tv(e,t,n){return typeof e=="string"?e:Fe.transform(t+n*e)}function bP(e,t,n){const r=tv(t,e.x,e.width),o=tv(n,e.y,e.height);return`${r} ${o}`}const xP={offset:"stroke-dashoffset",array:"stroke-dasharray"},CP={offset:"strokeDashoffset",array:"strokeDasharray"};function wP(e,t,n=1,r=0,o=!0){e.pathLength=1;const s=o?xP:CP;e[s.offset]=Fe.transform(-r);const a=Fe.transform(t),c=Fe.transform(n);e[s.array]=`${a} ${c}`}function cf(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:s,pathLength:a,pathSpacing:c=1,pathOffset:u=0,...d},h,g,m){if(af(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=bP(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&&wP(v,a,c,u,!1)}const nv=()=>({...lf(),attrs:{}}),uf=e=>typeof e=="string"&&e.toLowerCase()==="svg";function SP(e,t,n,r){const o=T.useMemo(()=>{const s=nv();return cf(s,t,{enableHardwareAcceleration:!1},uf(r),e.transformTemplate),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};$0(s,e.style,e),o.style={...s,...o.style}}return o}function AP(e=!1){return(n,r,o,{latestValues:s},a)=>{const u=(of(n)?SP:gP)(r,s,a,n),h={...yP(r,typeof n=="string",e),...u,ref:o},{children:g}=r,m=T.useMemo(()=>yn(g)?g.get():g,[g]);return T.createElement(n,{...h,children:m})}}function rv(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 ov=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 iv(e,t,n,r){rv(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(ov.has(o)?o:tf(o),t.attrs[o])}function df(e,t){const{style:n}=e,r={};for(const o in n)(yn(n[o])||t.style&&yn(t.style[o])||Y0(o,e))&&(r[o]=n[o]);return r}function sv(e,t){const n=df(e,t);for(const r in e)if(yn(e[r])||yn(t[r])){const o=oa.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;n[o]=e[r]}return n}function ff(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 TP(e){const t=T.useRef(null);return t.current===null&&(t.current=e()),t.current}const Ul=e=>Array.isArray(e),EP=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),IP=e=>Ul(e)?e[e.length-1]||0:e;function Hl(e){const t=yn(e)?e.get():e;return EP(t)?t.toValue():t}function OP({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,s){const a={latestValues:PP(r,o,s,e),renderState:t()};return n&&(a.mount=c=>n(r,c,a)),a}const av=e=>(t,n)=>{const r=T.useContext(Dl),o=T.useContext(ef),s=()=>OP(e,t,r,o);return n?s():TP(s)};function PP(e,t,n,r){const o={},s=r(e,{});for(const m in s)o[m]=Hl(s[m]);let{initial:a,animate:c}=e;const u=Bl(e),d=W0(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=ff(e,v);if(!b)return;const{transitionEnd:C,transition:w,...E}=b;for(const F in E){let I=E[F];if(Array.isArray(I)){const M=h?I.length-1:0;I=I[M]}I!==null&&(o[F]=I)}for(const F in C)o[F]=C[F]}),o}const jt=e=>e;class lv{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 jP(e){let t=new lv,n=new lv,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 Gl=["prepare","read","update","preRender","render","postRender"],MP=40;function kP(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},s=Gl.reduce((g,m)=>(g[m]=jP(()=>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,MP),1),o.timestamp=g,o.isProcessing=!0,Gl.forEach(a),o.isProcessing=!1,n&&t&&(r=!1,e(c))},u=()=>{n=!0,r=!0,o.isProcessing||e(c)};return{schedule:Gl.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=>Gl.forEach(m=>s[m].cancel(g)),state:o,steps:s}}const{schedule:mt,cancel:Yr,state:tn,steps:pf}=kP(typeof requestAnimationFrame<"u"?requestAnimationFrame:jt,!0),FP={useVisualState:av({scrapeMotionValuesFromProps:sv,createRenderState:nv,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(()=>{cf(n,r,{enableHardwareAcceleration:!1},uf(t.tagName),e.transformTemplate),iv(t,n)})}})},LP={useVisualState:av({scrapeMotionValuesFromProps:df,createRenderState:lf})};function DP(e,{forwardMotionProps:t=!1},n,r){return{...of(e)?FP:LP,preloadedFeatures:n,useRender:AP(t),createVisualElement:r,Component:e}}function Kr(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const cv=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function Yl(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}const _P=e=>t=>cv(t)&&e(t,Yl(t));function Xr(e,t,n,r){return Kr(e,t,_P(n),r)}const RP=(e,t)=>n=>t(e(n)),Co=(...e)=>e.reduce(RP);function uv(e){let t=null;return()=>{const n=()=>{t=null};return t===null?(t=e,n):!1}}const dv=uv("dragHorizontal"),fv=uv("dragVertical");function pv(e){let t=!1;if(e==="y")t=fv();else if(e==="x")t=dv();else{const n=dv(),r=fv();n&&r?t=()=>{n(),r()}:(n&&n(),r&&r())}return t}function hv(){const e=pv(!0);return e?(e(),!1):!0}class wo{constructor(t){this.isMounted=!1,this.node=t}update(){}}function gv(e,t){const n="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End"),o=(s,a)=>{if(s.pointerType==="touch"||hv())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 BP extends wo{mount(){this.unmount=Co(gv(this.node,!0),gv(this.node,!1))}unmount(){}}class NP 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 mv=(e,t)=>t?e===t?!0:mv(e,t.parentElement):!1;function hf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,Yl(n))}class VP 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&&!mv(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()||hf("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),hf("down",(c,u)=>{this.startPress(c,u)})},n=Kr(this.node.current,"keydown",t),r=()=>{this.isPressing&&hf("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),!hv()}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 gf=new WeakMap,mf=new WeakMap,WP=e=>{const t=gf.get(e.target);t&&t(e)},zP=e=>{e.forEach(WP)};function UP({root:e,...t}){const n=e||document;mf.has(n)||mf.set(n,{});const r=mf.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(zP,{root:e,...t})),r[o]}function HP(e,t,n){const r=UP(t);return gf.set(e,n),r.observe(e),()=>{gf.delete(e),r.unobserve(e)}}const GP={some:0,all:1};class YP 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:GP[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 HP(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(KP(t,n))&&this.startObserver()}unmount(){}}function KP({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const XP={inView:{Feature:YP},tap:{Feature:VP},focus:{Feature:NP},hover:{Feature:BP}};function vv(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 QP(e){const t={};return e.values.forEach((n,r)=>t[r]=n.getVelocity()),t}function Kl(e,t,n){const r=e.getProps();return ff(r,t,n!==void 0?n:r.custom,ZP(e),QP(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,JP={current:!1},yv=e=>Array.isArray(e)&&typeof e[0]=="number";function bv(e){return!!(!e||typeof e=="string"&&xv[e]||yv(e)||Array.isArray(e)&&e.every(bv))}const ua=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,xv={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 Cv(e){if(e)return yv(e)?ua(e):Array.isArray(e)?e.map(Cv):xv[e]}function qP(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=Cv(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 $P(e,{repeat:t,repeatType:n="loop"}){const r=t&&n!=="loop"&&t%2===1?0:e.length-1;return e[r]}const wv=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,e3=1e-7,t3=12;function n3(e,t,n,r,o){let s,a,c=0;do a=t+(n-t)/2,s=wv(a,r,o)-e,s>0?n=a:t=a;while(Math.abs(s)>e3&&++c<t3);return a}function da(e,t,n,r){if(e===t&&n===r)return jt;const o=s=>n3(s,0,1,e,n);return s=>s===0||s===1?s:wv(o(s),t,r)}const r3=da(.42,0,1,1),o3=da(0,0,.58,1),Sv=da(.42,0,.58,1),i3=e=>Array.isArray(e)&&typeof e[0]!="number",Av=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Tv=e=>t=>1-e(1-t),vf=e=>1-Math.sin(Math.acos(e)),Ev=Tv(vf),s3=Av(vf),Iv=da(.33,1.53,.69,.99),yf=Tv(Iv),a3=Av(yf),Ov={linear:jt,easeIn:r3,easeInOut:Sv,easeOut:o3,circIn:vf,circInOut:s3,circOut:Ev,backIn:yf,backInOut:a3,backOut:Iv,anticipate:e=>(e*=2)<1?.5*yf(e):.5*(2-Math.pow(2,-10*(e-1)))},Pv=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(Ov[e]!==void 0,`Invalid easing type '${e}'`),Ov[e];return e},bf=(e,t)=>n=>!!(aa(n)&&uP.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),jv=(e,t,n)=>r=>{if(!aa(r))return r;const[o,s,a,c]=r.match(Wl);return{[e]:parseFloat(o),[t]:parseFloat(s),[n]:parseFloat(a),alpha:c!==void 0?parseFloat(c):1}},l3=e=>bo(0,255,e),xf={...ri,transform:e=>Math.round(l3(e))},oi={test:bf("rgb","red"),parse:jv("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+xf.transform(e)+", "+xf.transform(t)+", "+xf.transform(n)+", "+sa(ia.transform(r))+")"};function c3(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 Cf={test:bf("#"),parse:c3,transform:oi.transform},Yi={test:bf("hsl","hue"),parse:jv("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))+")"},fn={test:e=>oi.test(e)||Cf.test(e)||Yi.test(e),parse:e=>oi.test(e)?oi.parse(e):Yi.test(e)?Yi.parse(e):Cf.parse(e),transform:e=>aa(e)?e:e.hasOwnProperty("red")?oi.transform(e):Yi.transform(e)},Tt=(e,t,n)=>-n*e+n*t+e;function wf(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 u3({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=wf(u,c,e+1/3),s=wf(u,c,e),a=wf(u,c,e-1/3)}return{red:Math.round(o*255),green:Math.round(s*255),blue:Math.round(a*255),alpha:r}}const Sf=(e,t,n)=>{const r=e*e;return Math.sqrt(Math.max(0,n*(t*t-r)+r))},d3=[Cf,oi,Yi],f3=e=>d3.find(t=>t.test(e));function Mv(e){const t=f3(e);wr(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let n=t.parse(e);return t===Yi&&(n=u3(n)),n}const kv=(e,t)=>{const n=Mv(e),r=Mv(t),o={...n};return s=>(o.red=Sf(n.red,r.red,s),o.green=Sf(n.green,r.green,s),o.blue=Sf(n.blue,r.blue,s),o.alpha=Tt(n.alpha,r.alpha,s),oi.transform(o))};function p3(e){var t,n;return isNaN(e)&&aa(e)&&(((t=e.match(Wl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(Z0))===null||n===void 0?void 0:n.length)||0)>0}const Fv={regex:lP,countKey:"Vars",token:"${v}",parse:jt},Lv={regex:Z0,countKey:"Colors",token:"${c}",parse:fn.parse},Dv={regex:Wl,countKey:"Numbers",token:"${n}",parse:ri.parse};function Af(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 Xl(e){const t=e.toString(),n={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&Af(n,Fv),Af(n,Lv),Af(n,Dv),n}function _v(e){return Xl(e).values}function Rv(e){const{values:t,numColors:n,numVars:r,tokenised:o}=Xl(e),s=t.length;return a=>{let c=o;for(let u=0;u<s;u++)u<r?c=c.replace(Fv.token,a[u]):u<r+n?c=c.replace(Lv.token,fn.transform(a[u])):c=c.replace(Dv.token,sa(a[u]));return c}}const h3=e=>typeof e=="number"?0:e;function g3(e){const t=_v(e);return Rv(e)(t.map(h3))}const Ao={test:p3,parse:_v,createTransformer:Rv,getAnimatableNone:g3},Bv=(e,t)=>n=>`${n>0?t:e}`;function Nv(e,t){return typeof e=="number"?n=>Tt(e,t,n):fn.test(e)?kv(e,t):e.startsWith("var(")?Bv(e,t):Wv(e,t)}const Vv=(e,t)=>{const n=[...e],r=n.length,o=e.map((s,a)=>Nv(s,t[a]));return s=>{for(let a=0;a<r;a++)n[a]=o[a](s);return n}},m3=(e,t)=>{const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Nv(e[o],t[o]));return o=>{for(const s in r)n[s]=r[s](o);return n}},Wv=(e,t)=>{const n=Ao.createTransformer(t),r=Xl(e),o=Xl(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Co(Vv(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.`),Bv(e,t))},fa=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},zv=(e,t)=>n=>Tt(e,t,n);function v3(e){return typeof e=="number"?zv:typeof e=="string"?fn.test(e)?kv:Wv:Array.isArray(e)?Vv:typeof e=="object"?m3:zv}function y3(e,t,n){const r=[],o=n||v3(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 Uv(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=y3(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 b3(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 x3(e){const t=[0];return b3(t,e.length-1),t}function C3(e,t){return e.map(n=>n*t)}function w3(e,t){return e.map(()=>t||Sv).splice(0,e.length-1)}function Zl({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=i3(r)?r.map(Pv):Pv(r),s={done:!1,value:t[0]},a=C3(n&&n.length===t.length?n:x3(t),e),c=Uv(a,t,{ease:Array.isArray(o)?o:w3(t,o)});return{calculatedDuration:e,next:u=>(s.value=c(u),s.done=u>=e,s)}}function Hv(e,t){return t?e*(1e3/t):0}const S3=5;function Gv(e,t,n){const r=Math.max(t-S3,0);return Hv(n-e(r),t-r)}const Tf=.001,A3=.01,Yv=10,T3=.05,E3=1;function I3({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,s;ca(e<=So(Yv),"Spring duration must be 10 seconds or less");let a=1-t;a=bo(T3,E3,a),e=bo(A3,Yv,Zr(e)),a<1?(o=d=>{const h=d*a,g=h*e,m=h-n,v=Ef(d,a),b=Math.exp(-g);return Tf-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=Ef(Math.pow(d,2),a);return(-o(d)+Tf>0?-1:1)*((m-v)*b)/C}):(o=d=>{const h=Math.exp(-d*e),g=(d-n)*e+1;return-Tf+h*g},s=d=>{const h=Math.exp(-d*e),g=(n-d)*(e*e);return h*g});const c=5/e,u=P3(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 O3=12;function P3(e,t,n){let r=n;for(let o=1;o<O3;o++)r=r-e(r)/t(r);return r}function Ef(e,t){return e*Math.sqrt(1-t*t)}const j3=["duration","bounce"],M3=["stiffness","damping","mass"];function Kv(e,t){return t.some(n=>e[n]!==void 0)}function k3(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Kv(e,M3)&&Kv(e,j3)){const n=I3(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}function Xv({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}=k3({...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)),E=Math.abs(C)<5;n||(n=E?.01:2),t||(t=E?.005:.5);let F;if(b<1){const I=Ef(w,b);F=M=>{const P=Math.exp(-b*w*M);return s-P*((v+b*w*C)/I*Math.sin(I*M)+C*Math.cos(I*M))}}else if(b===1)F=I=>s-Math.exp(-w*I)*(C+(v+w*C)*I);else{const I=w*Math.sqrt(b*b-1);F=M=>{const P=Math.exp(-b*w*M),D=Math.min(I*M,300);return s-P*((v+b*w*C)*Math.sinh(D)+I*C*Math.cosh(D))/I}}return{calculatedDuration:m&&h||null,next:I=>{const M=F(I);if(m)a.done=I>=h;else{let P=v;I!==0&&(b<1?P=Gv(F,I,M):P=0);const D=Math.abs(P)<=n,L=Math.abs(s-M)<=t;a.done=D&&L}return a.value=a.done?s:M,a}}}function Zv({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=H=>c!==void 0&&H<c||u!==void 0&&H>u,b=H=>c===void 0?u:u===void 0||Math.abs(c-H)<Math.abs(u-H)?c:u;let C=n*t;const w=g+C,E=a===void 0?w:a(w);E!==w&&(C=E-g);const F=H=>-C*Math.exp(-H/r),I=H=>E+F(H),M=H=>{const K=F(H),$=I(H);m.done=Math.abs(K)<=d,m.value=m.done?E:$};let P,D;const L=H=>{v(m.value)&&(P=H,D=Xv({keyframes:[m.value,b(m.value)],velocity:Gv(I,H,m.value),damping:o,stiffness:s,restDelta:d,restSpeed:h}))};return L(0),{calculatedDuration:null,next:H=>{let K=!1;return!D&&P===void 0&&(K=!0,M(H),L(H)),P!==void 0&&H>P?D.next(H-P):(!K&&M(H),m)}}}const F3=e=>{const t=({timestamp:n})=>e(n);return{start:()=>mt.update(t,!0),stop:()=>Yr(t),now:()=>tn.isProcessing?tn.timestamp:performance.now()}},Qv=2e4;function Jv(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Qv;)t+=n,r=e.next(t);return t>=Qv?1/0:t}const L3={decay:Zv,inertia:Zv,tween:Zl,keyframes:Zl,spring:Xv};function Ql({autoplay:e=!0,delay:t=0,driver:n=F3,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 E=()=>{w=new Promise(X=>{C=X})};E();let F;const I=L3[o]||Zl;let M;I!==Zl&&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}`),M=Uv([0,100],r,{clamp:!1}),r=[0,100]);const P=I({...m,keyframes:r});let D;c==="mirror"&&(D=I({...m,keyframes:[...r].reverse(),velocity:-(m.velocity||0)}));let L="idle",H=null,K=null,$=null;P.calculatedDuration===null&&s&&(P.calculatedDuration=Jv(P));const{calculatedDuration:G}=P;let ae=1/0,le=1/0;G!==null&&(ae=G+a,le=ae*(s+1)-a);let J=0;const Q=X=>{if(K===null)return;v>0&&(K=Math.min(K,X)),v<0&&(K=Math.min(X-le/v,K)),H!==null?J=H:J=Math.round(X-K)*v;const ue=J-t*(v>=0?1:-1),he=v>=0?ue<0:ue>le;J=Math.max(ue,0),L==="finished"&&H===null&&(J=le);let pe=J,ge=P;if(s){const be=Math.min(J,le)/ae;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/ae)):c==="mirror"&&(ge=D)),pe=bo(0,1,Ie)*ae}const ve=he?{done:!1,value:r[0]}:ge.next(pe);M&&(ve.value=M(ve.value));let{done:Te}=ve;!he&&G!==null&&(Te=v>=0?J>=le:J<=0);const Ce=H===null&&(L==="finished"||L==="running"&&Te);return g&&g(ve.value),Ce&&W(),ve},z=()=>{F&&F.stop(),F=void 0},ne=()=>{L="idle",z(),C(),E(),K=$=null},W=()=>{L="finished",h&&h(),z(),C()},te=()=>{if(b)return;F||(F=n(Q));const X=F.now();u&&u(),H!==null?K=X-H:(!K||L==="finished")&&(K=X),L==="finished"&&E(),$=K,H=null,L="running",F.start()};e&&te();const V={then(X,ue){return w.then(X,ue)},get time(){return Zr(J)},set time(X){X=So(X),J=X,H!==null||!F||v===0?H=X:K=F.now()-X/v},get duration(){const X=P.calculatedDuration===null?Jv(P):P.calculatedDuration;return Zr(X)},get speed(){return v},set speed(X){X===v||!F||(v=X,V.time=Zr(J))},get state(){return L},play:te,pause:()=>{L="paused",H=J},stop:()=>{b=!0,L!=="idle"&&(L="idle",d&&d(),ne())},cancel:()=>{$!==null&&Q($),ne()},complete:()=>{L="finished"},sample:X=>(K=0,Q(X))};return V}function D3(e){let t;return()=>(t===void 0&&(t=e()),t)}const _3=D3(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),R3=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Jl=10,B3=2e4,N3=(e,t)=>t.type==="spring"||e==="backgroundColor"||!bv(t.ease);function V3(e,t,{onUpdate:n,onComplete:r,...o}){if(!(_3()&&R3.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(I=>{c=I})};h();let{keyframes:g,duration:m=300,ease:v,times:b}=o;if(N3(t,o)){const I=Ql({...o,repeat:0,delay:0});let M={done:!1,value:g[0]};const P=[];let D=0;for(;!M.done&&D<B3;)M=I.sample(D),P.push(M.value),D+=Jl;b=void 0,g=P,m=D-Jl,v="linear"}const C=qP(e.owner.current,t,g,{...o,duration:m,ease:v,times:b}),w=()=>{d=!1,C.cancel()},E=()=>{d=!0,mt.update(w),c(),h()};return C.onfinish=()=>{d||(e.set($P(g,o)),r&&r(),E())},{then(I,M){return u.then(I,M)},attachTimeline(I){return C.timeline=I,C.onfinish=null,jt},get time(){return Zr(C.currentTime||0)},set time(I){C.currentTime=So(I)},get speed(){return C.playbackRate},set speed(I){C.playbackRate=I},get duration(){return Zr(m)},play:()=>{a||(C.play(),Yr(w))},pause:()=>C.pause(),stop:()=>{if(a=!0,C.playState==="idle")return;const{currentTime:I}=C;if(I){const M=Ql({...o,autoplay:!1});e.setWithVelocity(M.sample(I-Jl).value,M.sample(I).value,Jl)}E()},complete:()=>{d||C.finish()},cancel:E}}function W3({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?Ql({keyframes:[0,1],duration:0,delay:t,onComplete:o}):o()}const z3={type:"spring",stiffness:500,damping:25,restSpeed:10},U3=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),H3={type:"keyframes",duration:.8},G3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Y3=(e,{keyframes:t})=>t.length>2?H3:ni.has(e)?e.startsWith("scale")?U3(t[1]):z3:G3,If=(e,t)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Ao.test(t)||t==="0")&&!t.startsWith("url(")),K3=new Set(["brightness","contrast","saturate","opacity"]);function X3(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Wl)||[];if(!r)return e;const o=n.replace(r,"");let s=K3.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}const Z3=/([a-z-]*)\(.*?\)/g,Of={...Ao,getAnimatableNone:e=>{const t=e.match(Z3);return t?t.map(X3).join(" "):e}},Q3={...q0,color:fn,backgroundColor:fn,outlineColor:fn,fill:fn,stroke:fn,borderColor:fn,borderTopColor:fn,borderRightColor:fn,borderBottomColor:fn,borderLeftColor:fn,filter:Of,WebkitFilter:Of},Pf=e=>Q3[e];function qv(e,t){let n=Pf(e);return n!==Of&&(n=Ao),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const $v=e=>/^0[^.\s]+$/.test(e);function J3(e){if(typeof e=="number")return e===0;if(e!==null)return e==="none"||e==="0"||$v(e)}function q3(e,t,n,r){const o=If(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]),J3(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]=qv(t,c)}return s}function $3({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 jf(e,t){return e[t]||e.default||e}const ej={skipAnimations:!1},Mf=(e,t,n,r={})=>o=>{const s=jf(r,e)||{},a=s.delay||r.delay||0;let{elapsed:c=0}=r;c=c-So(a);const u=q3(t,e,n,s),d=u[0],h=u[u.length-1],g=If(e,d),m=If(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($3(s)||(v={...v,...Y3(e,v)}),v.duration&&(v.duration=So(v.duration)),v.repeatDelay&&(v.repeatDelay=So(v.repeatDelay)),!g||!m||JP.current||s.type===!1||ej.skipAnimations)return W3(v);if(!r.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){const b=V3(t,e,v);if(b)return b}return Ql(v)};function ql(e){return!!(yn(e)&&e.add)}const ey=e=>/^\-?\d*\.?\d+$/.test(e);function kf(e,t){e.indexOf(t)===-1&&e.push(t)}function Ff(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Lf{constructor(){this.subscriptions=[]}add(t){return kf(this.subscriptions,t),()=>Ff(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 ty=new Set;function Df(e,t,n){e||ty.has(t)||(console.warn(t),ty.add(t))}const tj=e=>!isNaN(parseFloat(e));class nj{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=tj(this.current),this.owner=n.owner}onChange(t){return process.env.NODE_ENV!=="production"&&Df(!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 Lf);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?Hv(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 nj(e,t)}const ny=e=>t=>t.test(e),ry=[ri,Fe,kr,xo,fP,dP,{test:e=>e==="auto",parse:e=>e}],pa=e=>ry.find(ny(e)),rj=[...ry,fn,Ao],oj=e=>rj.find(ny(e));function ij(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ki(n))}function sj(e,t){const n=Kl(e,t);let{transitionEnd:r={},transition:o={},...s}=n?e.makeTargetAnimatable(n,!1):{};s={...s,...r};for(const a in s){const c=IP(s[a]);ij(e,a,c)}}function aj(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"&&(ey(h)||$v(h))?h=parseFloat(h):!oj(h)&&Ao.test(d)&&(h=qv(u,d)),e.addValue(u,Ki(h,{owner:e})),n[u]===void 0&&(n[u]=h),h!==null&&e.setBaseTarget(u,h))}}function lj(e,t){return t?(t[e]||t.default||t).from:void 0}function cj(e,t,n){const r={};for(const o in e){const s=lj(o,t);if(s!==void 0)r[o]=s;else{const a=n.getValue(o);a&&(r[o]=a.get())}}return r}function uj({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function dj(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 oy(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&&uj(h,g))continue;const b={delay:n,elapsed:0,...jf(s||{},g)};if(window.HandoffAppearAnimations){const E=e.getProps()[V0];if(E){const F=window.HandoffAppearAnimations(E,g,m,mt);F!==null&&(b.elapsed=F,b.isHandoff=!0)}}let C=!b.isHandoff&&!dj(m,v);if(b.type==="spring"&&(m.getVelocity()||b.velocity)&&(C=!1),m.animation&&(C=!1),C)continue;m.start(Mf(g,m,v,e.shouldReduceMotion&&ni.has(g)?{type:!1}:b));const w=m.animation;ql(u)&&(u.add(g),w.then(()=>u.remove(g))),d.push(w)}return a&&Promise.all(d).then(()=>{a&&sj(e,a)}),d}function _f(e,t,n={}){const r=Kl(e,t,n.custom);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(oy(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:h,staggerDirection:g}=o;return fj(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 fj(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(pj).forEach((d,h)=>{d.notify("AnimationStart",t),a.push(_f(d,t,{...s,delay:n+u(h)}).then(()=>d.notify("AnimationComplete",t)))}),Promise.all(a)}function pj(e,t){return e.sortNodePosition(t)}function hj(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(s=>_f(e,s,n));r=Promise.all(o)}else if(typeof t=="string")r=_f(e,t,n);else{const o=typeof t=="function"?Kl(e,t,n.custom):t;r=Promise.all(oy(e,o,n))}return r.then(()=>e.notify("AnimationComplete",t))}const gj=[...nf].reverse(),mj=nf.length;function vj(e){return t=>Promise.all(t.map(({animation:n,options:r})=>hj(e,n,r)))}function yj(e){let t=vj(e);const n=xj();let r=!0;const o=(u,d)=>{const h=Kl(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 E=0;E<mj;E++){const F=gj[E],I=n[F],M=h[F]!==void 0?h[F]:g[F],P=na(M),D=F===d?I.isActive:null;D===!1&&(C=E);let L=M===g[F]&&M!==h[F]&&P;if(L&&r&&e.manuallyAnimateOnMount&&(L=!1),I.protectedKeys={...b},!I.isActive&&D===null||!M&&!I.prevProp||Rl(M)||typeof M=="boolean")continue;let K=bj(I.prevProp,M)||F===d&&I.isActive&&!L&&P||E>C&&P,$=!1;const G=Array.isArray(M)?M:[M];let ae=G.reduce(o,{});D===!1&&(ae={});const{prevResolvedValues:le={}}=I,J={...le,...ae},Q=z=>{K=!0,v.has(z)&&($=!0,v.delete(z)),I.needsAnimating[z]=!0};for(const z in J){const ne=ae[z],W=le[z];if(b.hasOwnProperty(z))continue;let te=!1;Ul(ne)&&Ul(W)?te=!vv(ne,W):te=ne!==W,te?ne!==void 0?Q(z):v.add(z):ne!==void 0&&v.has(z)?Q(z):I.protectedKeys[z]=!0}I.prevProp=M,I.prevResolvedValues=ae,I.isActive&&(b={...b,...ae}),r&&e.blockInitialAnimation&&(K=!1),K&&(!L||$)&&m.push(...G.map(z=>({animation:z,options:{type:F,...u}})))}if(v.size){const E={};v.forEach(F=>{const I=e.getBaseTarget(F);I!==void 0&&(E[F]=I)}),m.push({animation:E})}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 bj(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!vv(t,e):!1}function ii(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function xj(){return{animate:ii(!0),whileInView:ii(),whileHover:ii(),whileTap:ii(),whileDrag:ii(),whileFocus:ii(),exit:ii()}}class Cj extends wo{constructor(t){super(t),t.animationState||(t.animationState=yj(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 wj=0;class Sj extends wo{constructor(){super(...arguments),this.id=wj++}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 Aj={animation:{Feature:Cj},exit:{Feature:Sj}},iy=(e,t)=>Math.abs(e-t);function Tj(e,t){const n=iy(e.x,t.x),r=iy(e.y,t.y);return Math.sqrt(n**2+r**2)}class sy{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=Bf(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Tj(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:E}=this.handlers;m||(w&&w(this.lastMoveEvent,g),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,g)},this.handlePointerMove=(g,m)=>{this.lastMoveEvent=g,this.lastMoveEventInfo=Rf(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=Bf(g.type==="pointercancel"?this.lastMoveEventInfo:Rf(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(g,w),b&&b(g,w)},!cv(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const a=Yl(t),c=Rf(a,this.transformPagePoint),{point:u}=c,{timestamp:d}=tn;this.history=[{...u,timestamp:d}];const{onSessionStart:h}=n;h&&h(t,Bf(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 Rf(e,t){return t?{point:t(e.point)}:e}function ay(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Bf({point:e},t){return{point:e,delta:ay(e,ly(t)),offset:ay(e,Ej(t)),velocity:Ij(t,.1)}}function Ej(e){return e[0]}function ly(e){return e[e.length-1]}function Ij(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=ly(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 Dn(e){return e.max-e.min}function Nf(e,t=0,n=.01){return Math.abs(e-t)<=n}function cy(e,t,n,r=.5){e.origin=r,e.originPoint=Tt(t.min,t.max,e.origin),e.scale=Dn(n)/Dn(t),(Nf(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=Tt(n.min,n.max,e.origin)-e.originPoint,(Nf(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ha(e,t,n,r){cy(e.x,t.x,n.x,r?r.originX:void 0),cy(e.y,t.y,n.y,r?r.originY:void 0)}function uy(e,t,n){e.min=n.min+t.min,e.max=e.min+Dn(t)}function Oj(e,t,n){uy(e.x,t.x,n.x),uy(e.y,t.y,n.y)}function dy(e,t,n){e.min=t.min-n.min,e.max=e.min+Dn(t)}function ga(e,t,n){dy(e.x,t.x,n.x),dy(e.y,t.y,n.y)}function Pj(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 fy(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 jj(e,{top:t,left:n,bottom:r,right:o}){return{x:fy(e.x,n,o),y:fy(e.y,t,r)}}function py(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 Mj(e,t){return{x:py(e.x,t.x),y:py(e.y,t.y)}}function kj(e,t){let n=.5;const r=Dn(e),o=Dn(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 Fj(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 Vf=.35;function Lj(e=Vf){return e===!1?e=0:e===!0&&(e=Vf),{x:hy(e,"left","right"),y:hy(e,"top","bottom")}}function hy(e,t,n){return{min:gy(e,t),max:gy(e,n)}}function gy(e,t){return typeof e=="number"?e:e[t]||0}const my=()=>({translate:0,scale:1,origin:0,originPoint:0}),Xi=()=>({x:my(),y:my()}),vy=()=>({min:0,max:0}),Vt=()=>({x:vy(),y:vy()});function qn(e){return[e("x"),e("y")]}function yy({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Dj({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _j(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 Wf(e){return e===void 0||e===1}function zf({scale:e,scaleX:t,scaleY:n}){return!Wf(e)||!Wf(t)||!Wf(n)}function si(e){return zf(e)||by(e)||e.z||e.rotate||e.rotateX||e.rotateY}function by(e){return xy(e.x)||xy(e.y)}function xy(e){return e&&e!=="0%"}function $l(e,t,n){const r=e-n,o=t*r;return n+o}function Cy(e,t,n,r,o){return o!==void 0&&(e=$l(e,o,r)),$l(e,n,r)+t}function Uf(e,t=0,n=1,r,o){e.min=Cy(e.min,t,n,r,o),e.max=Cy(e.max,t,n,r,o)}function wy(e,{x:t,y:n}){Uf(e.x,t.translate,t.scale,t.originPoint),Uf(e.y,n.translate,n.scale,n.originPoint)}function Rj(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,wy(e,a)),r&&si(s.latestValues)&&Zi(e,s.latestValues))}t.x=Sy(t.x),t.y=Sy(t.y)}function Sy(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 Ay(e,t,[n,r,o]){const s=t[o]!==void 0?t[o]:.5,a=Tt(e.min,e.max,s);Uf(e,t[n],t[r],a,t.scale)}const Bj=["x","scaleX","originX"],Nj=["y","scaleY","originY"];function Zi(e,t){Ay(e.x,t,Bj),Ay(e.y,t,Nj)}function Ty(e,t){return yy(_j(e.getBoundingClientRect(),t))}function Vj(e,t,n){const r=Ty(e,n),{scroll:o}=t;return o&&(To(r.x,o.offset.x),To(r.y,o.offset.y)),r}const Ey=({current:e})=>e?e.ownerDocument.defaultView:null,Wj=new WeakMap;class zj{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(Yl(h,"page").point)},s=(h,g)=>{const{drag:m,dragPropagation:v,onDragStart:b}=this.getProps();if(m&&!v&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=pv(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),qn(w=>{let E=this.getAxisMotionValue(w).get()||0;if(kr.test(E)){const{projection:F}=this.visualElement;if(F&&F.layout){const I=F.layout.layoutBox[w];I&&(E=Dn(I)*(parseFloat(E)/100))}}this.originPoint[w]=E}),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=Uj(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=()=>qn(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 sy(t,{onSessionStart:o,onStart:s,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,contextWindow:Ey(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||!ec(t,o,this.currentDirection))return;const s=this.getAxisMotionValue(t);let a=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(a=Pj(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=jj(o.layoutBox,n):this.constraints=!1,this.elastic=Lj(r),s!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&qn(a=>{this.getAxisMotionValue(a)&&(this.constraints[a]=Fj(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=Vj(r,o.root,this.visualElement.getTransformPagePoint());let a=Mj(o.layout.layoutBox,s);if(n){const c=n(Dj(a));this.hasMutatedConstraints=!!c,c&&(a=yy(c))}return a}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:c}=this.getProps(),u=this.constraints||{},d=qn(h=>{if(!ec(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(Mf(t,r,0,n))}stopAnimation(){qn(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){qn(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){qn(n=>{const{drag:r}=this.getProps();if(!ec(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};qn(a=>{const c=this.getAxisMotionValue(a);if(c){const u=c.get();o[a]=kj({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(),qn(a=>{if(!ec(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;Wj.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&&(qn(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=Vf,dragMomentum:c=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:s,dragElastic:a,dragMomentum:c}}}function ec(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Uj(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Hj extends wo{constructor(t){super(t),this.removeGroupControls=jt,this.removeListeners=jt,this.controls=new zj(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 Iy=e=>(t,n)=>{e&&mt.update(()=>e(t,n))};class Gj extends wo{constructor(){super(...arguments),this.removePointerDownListener=jt}onPointerDown(t){this.session=new sy(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ey(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Iy(t),onStart:Iy(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 Yj(){const e=T.useContext(ef);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 tc={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Oy(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=Oy(e,t.target.x),r=Oy(e,t.target.y);return`${n}% ${r}%`}},Kj={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 Xj extends T.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:s}=t;oP(Zj),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()})),tc.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 Py(e){const[t,n]=Yj(),r=T.useContext(H0);return T.createElement(Xj,{...e,layoutGroup:r,switchLayoutGroup:T.useContext(G0),isPresent:t,safeToRemove:n})}const Zj={borderRadius:{...ma,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ma,borderTopRightRadius:ma,borderBottomLeftRadius:ma,borderBottomRightRadius:ma,boxShadow:Kj},jy=["TopLeft","TopRight","BottomLeft","BottomRight"],Qj=jy.length,My=e=>typeof e=="string"?parseFloat(e):e,ky=e=>typeof e=="number"||Fe.test(e);function Jj(e,t,n,r,o,s){o?(e.opacity=Tt(0,n.opacity!==void 0?n.opacity:1,qj(r)),e.opacityExit=Tt(t.opacity!==void 0?t.opacity:1,0,$j(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<Qj;a++){const c=`border${jy[a]}Radius`;let u=Fy(t,c),d=Fy(n,c);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||ky(u)===ky(d)?(e[c]=Math.max(Tt(My(u),My(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 Fy(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const qj=Ly(0,.5,Ev),$j=Ly(.5,.95,jt);function Ly(e,t,n){return r=>r<e?0:r>t?1:n(fa(e,t,r))}function Dy(e,t){e.min=t.min,e.max=t.max}function $n(e,t){Dy(e.x,t.x),Dy(e.y,t.y)}function _y(e,t,n,r,o){return e-=t,e=$l(e,1/n,r),o!==void 0&&(e=$l(e,1/o,r)),e}function e4(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=_y(e.min,t,n,c,o),e.max=_y(e.max,t,n,c,o)}function Ry(e,t,[n,r,o],s,a){e4(e,t[n],t[r],t[o],t.scale,s,a)}const t4=["x","scaleX","originX"],n4=["y","scaleY","originY"];function By(e,t,n,r){Ry(e.x,t,t4,n?n.x:void 0,r?r.x:void 0),Ry(e.y,t,n4,n?n.y:void 0,r?r.y:void 0)}function Ny(e){return e.translate===0&&e.scale===1}function Vy(e){return Ny(e.x)&&Ny(e.y)}function r4(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 Wy(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 zy(e){return Dn(e.x)/Dn(e.y)}class o4{constructor(){this.members=[]}add(t){kf(this.members,t),t.scheduleRender()}remove(t){if(Ff(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 Uy(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 i4=(e,t)=>e.depth-t.depth;class s4{constructor(){this.children=[],this.isDirty=!1}add(t){kf(this.children,t),this.isDirty=!0}remove(t){Ff(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(i4),this.isDirty=!1,this.children.forEach(t)}}function a4(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 l4(e){window.MotionDebug&&window.MotionDebug.record(e)}function c4(e){return e instanceof SVGElement&&e.tagName!=="svg"}function u4(e,t,n){const r=yn(e)?e:Ki(e);return r.start(Mf("",r,t,n)),r.animation}const Hy=["","X","Y","Z"],d4={visibility:"hidden"},Gy=1e3;let f4=0;const ai={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Yy({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(a={},c=t==null?void 0:t()){this.id=f4++,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,ai.totalNodes=ai.resolvedTargetDeltas=ai.recalculatedProjection=0,this.nodes.forEach(g4),this.nodes.forEach(x4),this.nodes.forEach(C4),this.nodes.forEach(m4),l4(ai)},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 s4)}addEventListener(a,c){return this.eventHandlers.has(a)||this.eventHandlers.set(a,new Lf),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=c4(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=a4(m,250),tc.hasAnimatedSinceResize&&(tc.hasAnimatedSinceResize=!1,this.nodes.forEach(Xy))})}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()||E4,{onLayoutAnimationStart:w,onLayoutAnimationComplete:E}=h.getProps(),F=!this.targetLayout||!Wy(this.targetLayout,b)||v,I=!m&&v;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||I||m&&(F||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(g,I);const M={...jf(C,"layout"),onPlay:w,onComplete:E};(h.shouldReduceMotion||this.options.layoutRoot)&&(M.delay=0,M.type=!1),this.startAnimation(M)}else m||Xy(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(w4),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(Ky);return}this.isUpdating||this.nodes.forEach(y4),this.isUpdating=!1,this.nodes.forEach(b4),this.nodes.forEach(p4),this.nodes.forEach(h4),this.clearAllSnapshots();const c=performance.now();tn.delta=bo(0,1e3/60,c-tn.timestamp),tn.timestamp=c,tn.isProcessing=!0,pf.update.process(tn),pf.preRender.process(tn),pf.render.process(tn),tn.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(v4),this.sharedNodes.forEach(S4)}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&&!Vy(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,h=d!==this.prevTransformTemplateValue;a&&(c||si(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)),I4(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();$n(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){$n(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();$n(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}),si(h.latestValues)&&Zi(u,h.latestValues)}return si(this.latestValues)&&Zi(u,this.latestValues),u}removeTransform(a){const c=Vt();$n(c,a);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!d.instance||!si(d.latestValues))continue;zf(d.latestValues)&&d.updateSnapshot();const h=Vt(),g=d.measurePageBox();$n(h,g),By(c,d.latestValues,d.snapshot?d.snapshot.layoutBox:void 0,h)}return si(this.latestValues)&&By(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),$n(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(),Oj(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):$n(this.target,this.layout.layoutBox),wy(this.target,this.targetDelta)):$n(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),$n(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ai.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||zf(this.parent.latestValues)||by(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;$n(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,v=this.treeScale.y;Rj(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=Uy(this.projectionDelta,this.treeScale),(this.projectionTransform!==C||this.treeScale.x!==m||this.treeScale.y!==v)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",b)),ai.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(),E=!w||w.members.length<=1,F=!!(C&&!E&&this.options.crossfade===!0&&!this.path.some(T4));this.animationProgress=0;let I;this.mixTargetDelta=M=>{const P=M/1e3;Zy(g.x,a.x,P),Zy(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),A4(this.relativeTarget,this.relativeTargetOrigin,m,P),I&&r4(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=Vt()),$n(I,this.relativeTarget)),C&&(this.animationValues=h,Jj(h,d,this.latestValues,P,F,E)),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(()=>{tc.hasAnimatedSinceResize=!0,this.currentAnimation=u4(0,Gy,{...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(Gy),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&&eb(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||Vt();const g=Dn(this.layout.layoutBox.x);u.x.min=a.target.x.min,u.x.max=u.x.min+g;const m=Dn(this.layout.layoutBox.y);u.y.min=a.target.y.min,u.y.max=u.y.min+m}$n(c,u),Zi(c,h),ha(this.projectionDeltaWithTransform,this.layoutCorrected,c,h)}}registerSharedNode(a,c){this.sharedNodes.has(a)||this.sharedNodes.set(a,new o4),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<Hy.length;h++){const g="rotate"+Hy[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 d4;const d={visibility:""},h=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,d.opacity="",d.pointerEvents=Hl(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=Hl(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!si(this.latestValues)&&(C.transform=h?h({},""):"none",this.hasProjected=!1),C}const m=g.animationValues||g.latestValues;this.applyTransformsToTarget(),d.transform=Uy(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 Nl){if(m[C]===void 0)continue;const{correct:w,applyTo:E}=Nl[C],F=d.transform==="none"?m[C]:w(m[C],g);if(E){const I=E.length;for(let M=0;M<I;M++)d[E[M]]=F}else d[C]=F}return this.options.layoutId&&(d.pointerEvents=g===this?Hl(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(Ky),this.root.sharedNodes.clear()}}}function p4(e){e.updateLayout()}function h4(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"?qn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Dn(m);m.min=r[g].min,m.max=m.min+v}):eb(s,n.layoutBox,r)&&qn(g=>{const m=a?n.measuredBox[g]:n.layoutBox[g],v=Dn(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=!Vy(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),Wy(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 g4(e){ai.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 m4(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function v4(e){e.clearSnapshot()}function Ky(e){e.clearMeasurements()}function y4(e){e.isLayoutDirty=!1}function b4(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Xy(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function x4(e){e.resolveTargetDelta()}function C4(e){e.calcProjection()}function w4(e){e.resetRotation()}function S4(e){e.removeLeadSnapshot()}function Zy(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 Qy(e,t,n,r){e.min=Tt(t.min,n.min,r),e.max=Tt(t.max,n.max,r)}function A4(e,t,n,r){Qy(e.x,t.x,n.x,r),Qy(e.y,t.y,n.y,r)}function T4(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const E4={duration:.45,ease:[.4,0,.1,1]},Jy=e=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(e),qy=Jy("applewebkit/")&&!Jy("chrome/")?Math.round:jt;function $y(e){e.min=qy(e.min),e.max=qy(e.max)}function I4(e){$y(e.x),$y(e.y)}function eb(e,t,n){return e==="position"||e==="preserve-aspect"&&!Nf(zy(t),zy(n),.2)}const O4=Yy({attachResizeListener:(e,t)=>Kr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Hf={current:void 0},tb=Yy({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Hf.current){const e=new O4({});e.mount(window),e.setOptions({layoutScroll:!0}),Hf.current=e}return Hf.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),P4={pan:{Feature:Gj},drag:{Feature:Hj,ProjectionNode:tb,MeasureLayout:Py}},j4=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function M4(e){const t=j4.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]}const k4=4;function Gf(e,t,n=1){wr(n<=k4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=M4(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const a=s.trim();return ey(a)?parseFloat(a):a}else return sf(o)?Gf(o,t,n+1):o}function F4(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(!sf(s))return;const a=Gf(s,r);a&&o.set(a)});for(const o in t){const s=t[o];if(!sf(s))continue;const a=Gf(s,r);a&&(t[o]=a,n||(n={}),n[o]===void 0&&(n[o]=s))}return{target:t,transitionEnd:n}}const L4=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),nb=e=>L4.has(e),D4=e=>Object.keys(e).some(nb),nc=e=>e===ri||e===Fe,rb=(e,t)=>parseFloat(e.split(", ")[t]),ob=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/);if(o)return rb(o[1],t);{const s=r.match(/^matrix\((.+)\)$/);return s?rb(s[1],e):0}},_4=new Set(["x","y","z"]),R4=oa.filter(e=>!_4.has(e));function B4(e){const t=[];return R4.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:ob(4,13),y:ob(5,14)};Qi.translateX=Qi.x,Qi.translateY=Qi.y;const N4=(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},V4=(e,t,n={},r={})=>{t={...t},r={...r};const o=Object.keys(t).filter(nb);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(Ul(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||nc(g)&&nc(v),"Keyframes must be of the same dimension as the current value"))}else v=pa(m);if(g!==v)if(nc(g)&&nc(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=B4(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=N4(t,e,c);return s.length&&s.forEach(([h,g])=>{e.getValue(h).set(g)}),e.render(),_l&&u!==null&&window.scrollTo({top:u}),{target:d,transitionEnd:r}}else return{target:t,transitionEnd:r}};function W4(e,t,n,r){return D4(t)?V4(e,t,n,r):{target:t,transitionEnd:r}}const z4=(e,t,n,r)=>{const o=F4(e,t,r);return t=o.target,r=o.transitionEnd,W4(e,t,n,r)},Yf={current:null},ib={current:!1};function U4(){if(ib.current=!0,!!_l)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Yf.current=e.matches;e.addListener(t),t()}else Yf.current=!1}function H4(e,t,n){const{willChange:r}=t;for(const o in t){const s=t[o],a=n[o];if(yn(s))e.addValue(o,s),ql(r)&&r.add(o),process.env.NODE_ENV==="development"&&Df(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(yn(a))e.addValue(o,Ki(s,{owner:e})),ql(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 sb=new WeakMap,ab=Object.keys(ra),G4=ab.length,lb=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Y4=rf.length;class K4{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=Bl(n),this.isVariantNode=W0(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&&yn(m)&&(m.set(c[g],!1),ql(d)&&d.add(g))}}scrapeMotionValuesFromProps(t,n){return{}}mount(t){this.current=t,sb.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)),ib.current||U4(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Yf.current,process.env.NODE_ENV!=="production"&&Df(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(){sb.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=ni.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<G4;u++){const d=ab[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<lb.length;r++){const o=lb[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=H4(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<Y4;r++){const o=rf[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=ff(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&&!yn(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 Lf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class cb extends K4{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=cj(r,t||{},this);if(o&&(n&&(n=o(n)),r&&(r=o(r)),a&&(a=o(a))),s){aj(this,r,a);const c=z4(this,r,a,n);n=c.transitionEnd,r=c.target}return{transition:t,transitionEnd:n,...r}}}function X4(e){return window.getComputedStyle(e)}class Z4 extends cb{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,n){if(ni.has(n)){const r=Pf(n);return r&&r.default||0}else{const r=X4(t),o=(X0(n)?r.getPropertyValue(n):r[n])||0;return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Ty(t,n)}build(t,n,r,o){af(t,n,r,o.transformTemplate)}scrapeMotionValuesFromProps(t,n){return df(t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;yn(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}renderInstance(t,n,r,o){rv(t,n,r,o)}}class Q4 extends cb{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(ni.has(n)){const r=Pf(n);return r&&r.default||0}return n=ov.has(n)?n:tf(n),t.getAttribute(n)}measureInstanceViewportBox(){return Vt()}scrapeMotionValuesFromProps(t,n){return sv(t,n)}build(t,n,r,o){cf(t,n,r,this.isSVGTag,o.transformTemplate)}renderInstance(t,n,r,o){iv(t,n,r,o)}mount(t){this.isSVGTag=uf(t.tagName),super.mount(t)}}const J4=(e,t)=>of(e)?new Q4(t,{enableHardwareAcceleration:!1}):new Z4(t,{enableHardwareAcceleration:!0}),q4={...Aj,...XP,...P4,...{layout:{ProjectionNode:tb,MeasureLayout:Py}}},rc=nP((e,t)=>DP(e,t,q4,J4)),$4=(e,t,n)=>{const r=t-e;return((n-e)%r+r)%r+e};function ub(...e){const t=T.useRef(0),[n,r]=T.useState(e[t.current]),o=T.useCallback(s=>{t.current=typeof s!="number"?$4(0,e.length,t.current+1):s,r(e[t.current])},[e.length,...e]);return[n,o]}function e5({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]=ub(s,a),[d,h]=ub(s,a);switch(t){case"rotate":return f.jsx(rc.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(rc.div,{animate:{y:d!==void 0?d:""},onHoverEnd:()=>h(),onHoverStart:()=>h(),children:e}):f.jsx(rc.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(rc.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 bn=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 Kf={exports:{}},oc={exports:{}},ot={};/** @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
|
|
8
|
+
*/var db;function t5(){if(db)return ot;db=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,E=e?Symbol.for("react.responder"):60118,F=e?Symbol.for("react.scope"):60119;function I(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 M(P){return I(P)===d}return ot.AsyncMode=u,ot.ConcurrentMode=d,ot.ContextConsumer=c,ot.ContextProvider=a,ot.Element=t,ot.ForwardRef=h,ot.Fragment=r,ot.Lazy=b,ot.Memo=v,ot.Portal=n,ot.Profiler=s,ot.StrictMode=o,ot.Suspense=g,ot.isAsyncMode=function(P){return M(P)||I(P)===u},ot.isConcurrentMode=M,ot.isContextConsumer=function(P){return I(P)===c},ot.isContextProvider=function(P){return I(P)===a},ot.isElement=function(P){return typeof P=="object"&&P!==null&&P.$$typeof===t},ot.isForwardRef=function(P){return I(P)===h},ot.isFragment=function(P){return I(P)===r},ot.isLazy=function(P){return I(P)===b},ot.isMemo=function(P){return I(P)===v},ot.isPortal=function(P){return I(P)===n},ot.isProfiler=function(P){return I(P)===s},ot.isStrictMode=function(P){return I(P)===o},ot.isSuspense=function(P){return I(P)===g},ot.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===E||P.$$typeof===F||P.$$typeof===C)},ot.typeOf=I,ot}var it={};/** @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
|
|
15
|
+
*/var fb;function n5(){return fb||(fb=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,E=e?Symbol.for("react.responder"):60118,F=e?Symbol.for("react.scope"):60119;function I(fe){return typeof fe=="string"||typeof fe=="function"||fe===r||fe===d||fe===s||fe===o||fe===g||fe===m||typeof fe=="object"&&fe!==null&&(fe.$$typeof===b||fe.$$typeof===v||fe.$$typeof===a||fe.$$typeof===c||fe.$$typeof===h||fe.$$typeof===w||fe.$$typeof===E||fe.$$typeof===F||fe.$$typeof===C)}function M(fe){if(typeof fe=="object"&&fe!==null){var qe=fe.$$typeof;switch(qe){case t:var me=fe.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,L=c,H=a,K=t,$=h,G=r,ae=b,le=v,J=n,Q=s,z=o,ne=g,W=!1;function te(fe){return W||(W=!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.")),V(fe)||M(fe)===u}function V(fe){return M(fe)===d}function X(fe){return M(fe)===c}function ue(fe){return M(fe)===a}function he(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===t}function pe(fe){return M(fe)===h}function ge(fe){return M(fe)===r}function ve(fe){return M(fe)===b}function Te(fe){return M(fe)===v}function Ce(fe){return M(fe)===n}function be(fe){return M(fe)===s}function we(fe){return M(fe)===o}function Ie(fe){return M(fe)===g}it.AsyncMode=P,it.ConcurrentMode=D,it.ContextConsumer=L,it.ContextProvider=H,it.Element=K,it.ForwardRef=$,it.Fragment=G,it.Lazy=ae,it.Memo=le,it.Portal=J,it.Profiler=Q,it.StrictMode=z,it.Suspense=ne,it.isAsyncMode=te,it.isConcurrentMode=V,it.isContextConsumer=X,it.isContextProvider=ue,it.isElement=he,it.isForwardRef=pe,it.isFragment=ge,it.isLazy=ve,it.isMemo=Te,it.isPortal=Ce,it.isProfiler=be,it.isStrictMode=we,it.isSuspense=Ie,it.isValidElementType=I,it.typeOf=M}()),it}var pb;function hb(){return pb||(pb=1,process.env.NODE_ENV==="production"?oc.exports=t5():oc.exports=n5()),oc.exports}/*
|
|
16
16
|
object-assign
|
|
17
17
|
(c) Sindre Sorhus
|
|
18
18
|
@license MIT
|
|
19
|
-
*/var
|
|
20
|
-
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var
|
|
19
|
+
*/var Xf,gb;function r5(){if(gb)return Xf;gb=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 Xf=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},Xf}var Zf,mb;function Qf(){if(mb)return Zf;mb=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Zf=e,Zf}var Jf,vb;function yb(){return vb||(vb=1,Jf=Function.call.bind(Object.prototype.hasOwnProperty)),Jf}var qf,bb;function o5(){if(bb)return qf;bb=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Qf(),n={},r=yb();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={})},qf=o,qf}var $f,xb;function i5(){if(xb)return $f;xb=1;var e=hb(),t=r5(),n=Qf(),r=yb(),o=o5(),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 $f=function(c,u){var d=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function g(V){var X=V&&(d&&V[d]||V[h]);if(typeof X=="function")return X}var m="<<anonymous>>",v={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:F(),arrayOf:I,element:M(),elementType:P(),instanceOf:D,node:$(),objectOf:H,oneOf:L,oneOfType:K,shape:ae,exact:le};function b(V,X){return V===X?V!==0||1/V===1/X:V!==V&&X!==X}function C(V,X){this.message=V,this.data=X&&typeof X=="object"?X:{},this.stack=""}C.prototype=Error.prototype;function w(V){if(process.env.NODE_ENV!=="production")var X={},ue=0;function he(ge,ve,Te,Ce,be,we,Ie){if(Ce=Ce||m,we=we||Te,Ie!==n){if(u){var fe=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 fe.name="Invariant Violation",fe}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var qe=Ce+":"+Te;!X[qe]&&ue<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,ue++)}}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:V(ve,Te,Ce,be,we)}var pe=he.bind(null,!1);return pe.isRequired=he.bind(null,!0),pe}function E(V){function X(ue,he,pe,ge,ve,Te){var Ce=ue[he],be=z(Ce);if(be!==V){var we=ne(Ce);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+we+"` supplied to `"+pe+"`, expected ")+("`"+V+"`."),{expectedType:V})}return null}return w(X)}function F(){return w(a)}function I(V){function X(ue,he,pe,ge,ve){if(typeof V!="function")return new C("Property `"+ve+"` of component `"+pe+"` has invalid PropType notation inside arrayOf.");var Te=ue[he];if(!Array.isArray(Te)){var Ce=z(Te);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+pe+"`, expected an array."))}for(var be=0;be<Te.length;be++){var we=V(Te,be,pe,ge,ve+"["+be+"]",n);if(we instanceof Error)return we}return null}return w(X)}function M(){function V(X,ue,he,pe,ge){var ve=X[ue];if(!c(ve)){var Te=z(ve);return new C("Invalid "+pe+" `"+ge+"` of type "+("`"+Te+"` supplied to `"+he+"`, expected a single ReactElement."))}return null}return w(V)}function P(){function V(X,ue,he,pe,ge){var ve=X[ue];if(!e.isValidElementType(ve)){var Te=z(ve);return new C("Invalid "+pe+" `"+ge+"` of type "+("`"+Te+"` supplied to `"+he+"`, expected a single ReactElement type."))}return null}return w(V)}function D(V){function X(ue,he,pe,ge,ve){if(!(ue[he]instanceof V)){var Te=V.name||m,Ce=te(ue[he]);return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+pe+"`, expected ")+("instance of `"+Te+"`."))}return null}return w(X)}function L(V){if(!Array.isArray(V))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(ue,he,pe,ge,ve){for(var Te=ue[he],Ce=0;Ce<V.length;Ce++)if(b(Te,V[Ce]))return null;var be=JSON.stringify(V,function(Ie,fe){var qe=ne(fe);return qe==="symbol"?String(fe):fe});return new C("Invalid "+ge+" `"+ve+"` of value `"+String(Te)+"` "+("supplied to `"+pe+"`, expected one of "+be+"."))}return w(X)}function H(V){function X(ue,he,pe,ge,ve){if(typeof V!="function")return new C("Property `"+ve+"` of component `"+pe+"` has invalid PropType notation inside objectOf.");var Te=ue[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type "+("`"+Ce+"` supplied to `"+pe+"`, expected an object."));for(var be in Te)if(r(Te,be)){var we=V(Te,be,pe,ge,ve+"."+be,n);if(we instanceof Error)return we}return null}return w(X)}function K(V){if(!Array.isArray(V))return process.env.NODE_ENV!=="production"&&s("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var X=0;X<V.length;X++){var ue=V[X];if(typeof ue!="function")return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+W(ue)+" at index "+X+"."),a}function he(pe,ge,ve,Te,Ce){for(var be=[],we=0;we<V.length;we++){var Ie=V[we],fe=Ie(pe,ge,ve,Te,Ce,n);if(fe==null)return null;fe.data&&r(fe.data,"expectedType")&&be.push(fe.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 $(){function V(X,ue,he,pe,ge){return J(X[ue])?null:new C("Invalid "+pe+" `"+ge+"` supplied to "+("`"+he+"`, expected a ReactNode."))}return w(V)}function G(V,X,ue,he,pe){return new C((V||"React class")+": "+X+" type `"+ue+"."+he+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+pe+"`.")}function ae(V){function X(ue,he,pe,ge,ve){var Te=ue[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type `"+Ce+"` "+("supplied to `"+pe+"`, expected `object`."));for(var be in V){var we=V[be];if(typeof we!="function")return G(pe,ge,ve,be,ne(we));var Ie=we(Te,be,pe,ge,ve+"."+be,n);if(Ie)return Ie}return null}return w(X)}function le(V){function X(ue,he,pe,ge,ve){var Te=ue[he],Ce=z(Te);if(Ce!=="object")return new C("Invalid "+ge+" `"+ve+"` of type `"+Ce+"` "+("supplied to `"+pe+"`, expected `object`."));var be=t({},ue[he],V);for(var we in be){var Ie=V[we];if(r(V,we)&&typeof Ie!="function")return G(pe,ge,ve,we,ne(Ie));if(!Ie)return new C("Invalid "+ge+" `"+ve+"` key `"+we+"` supplied to `"+pe+"`.\nBad object: "+JSON.stringify(ue[he],null," ")+`
|
|
20
|
+
Valid keys: `+JSON.stringify(Object.keys(V),null," "));var fe=Ie(Te,we,pe,ge,ve+"."+we,n);if(fe)return fe}return null}return w(X)}function J(V){switch(typeof V){case"number":case"string":case"undefined":return!0;case"boolean":return!V;case"object":if(Array.isArray(V))return V.every(J);if(V===null||c(V))return!0;var X=g(V);if(X){var ue=X.call(V),he;if(X!==V.entries){for(;!(he=ue.next()).done;)if(!J(he.value))return!1}else for(;!(he=ue.next()).done;){var pe=he.value;if(pe&&!J(pe[1]))return!1}}else return!1;return!0;default:return!1}}function Q(V,X){return V==="symbol"?!0:X?X["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&X instanceof Symbol:!1}function z(V){var X=typeof V;return Array.isArray(V)?"array":V instanceof RegExp?"object":Q(X,V)?"symbol":X}function ne(V){if(typeof V>"u"||V===null)return""+V;var X=z(V);if(X==="object"){if(V instanceof Date)return"date";if(V instanceof RegExp)return"regexp"}return X}function W(V){var X=ne(V);switch(X){case"array":case"object":return"an "+X;case"boolean":case"date":case"regexp":return"a "+X;default:return X}}function te(V){return!V.constructor||!V.constructor.name?m:V.constructor.name}return v.checkPropTypes=o,v.resetWarningCache=o.resetWarningCache,v.PropTypes=v,v},$f}var ep,Cb;function s5(){if(Cb)return ep;Cb=1;var e=Qf();function t(){}function n(){}return n.resetWarningCache=t,ep=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},ep}if(process.env.NODE_ENV!=="production"){var a5=hb(),l5=!0;Kf.exports=i5()(a5.isElement,l5)}else Kf.exports=s5()();var c5=Kf.exports;const x=Qr(c5);function wb(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=wb(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function $e(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=wb(e))&&(r&&(r+=" "),r+=t);return r}function er(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 tp(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]=tp(o[a],s[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function u5(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:tp(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 Sb(e){if(!qr(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Sb(e[n])}),t}function Fr(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]=Fr(e[o],t[o],n):n.clone?r[o]=qr(t[o])?Sb(t[o]):t[o]:r[o]=t[o]}),r}const d5=Object.freeze(Object.defineProperty({__proto__:null,default:Fr,isPlainObject:qr},Symbol.toStringTag,{value:"Module"})),f5=["values","unit","step"],p5=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 Ab(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ge(e,f5),s=p5(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 h5={borderRadius:4},Eo=process.env.NODE_ENV!=="production"?x.oneOfType([x.number,x.string,x.object,x.array]):{};function va(e,t){return t?Fr(e,t,{clone:!1}):e}const np={xs:0,sm:600,md:900,lg:1200,xl:1536},Tb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${np[e]}px)`};function $r(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const s=r.breakpoints||Tb;return t.reduce((a,c,u)=>(a[s.up(s.keys[u])]=n(t[u]),a),{})}if(typeof t=="object"){const s=r.breakpoints||Tb;return Object.keys(t).reduce((a,c)=>{if(Object.keys(s.values||np).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 g5(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const s=e.up(o);return r[s]={},r},{}))||{}}function m5(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function li(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 v5=Object.freeze(Object.defineProperty({__proto__:null,default:li},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.":li(7));return e.charAt(0).toUpperCase()+e.slice(1)}const y5=Object.freeze(Object.defineProperty({__proto__:null,default:He},Symbol.toStringTag,{value:"Module"}));function ic(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 sc(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=ic(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=ic(u,r)||{};return $r(a,c,g=>{let m=sc(d,o,g);return g===m&&typeof g=="string"&&(m=sc(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 b5(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const x5={m:"margin",p:"padding"},C5={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Eb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},w5=b5(e=>{if(e.length>2)if(Eb[e])e=Eb[e];else return[e];const[t,n]=e.split(""),r=x5[t],o=C5[n]||"";return Array.isArray(o)?o.map(s=>r+s):[r+o]}),ac=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],lc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],S5=[...ac,...lc];function ya(e,t,n,r){var o;const s=(o=ic(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 wb(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 x5(e,t){return n=>e.reduce((r,o)=>(r[o]=ba(t,n),r),{})}function C5(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=y5(n),s=x5(o,r),a=e[n];return $r(e,a,s)}function Sb(e,t){const n=wb(e.theme);return Object.keys(e).map(r=>C5(e,t,r,n)).reduce(va,{})}function Mt(e){return Sb(e,sc)}Mt.propTypes=process.env.NODE_ENV!=="production"?sc.reduce((e,t)=>(e[t]=Eo,e),{}):{},Mt.filterProps=sc;function kt(e){return Sb(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"&&b5.reduce((e,t)=>(e[t]=Eo,e),{});function w5(e=8){if(e.mui)return e;const t=wb({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 tr(e){return typeof e!="number"?e:`${e}px solid`}function nr(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const S5=nr("border",tr),A5=nr("borderTop",tr),T5=nr("borderRight",tr),E5=nr("borderBottom",tr),I5=nr("borderLeft",tr),O5=nr("borderColor"),P5=nr("borderTopColor"),j5=nr("borderRightColor"),M5=nr("borderBottomColor"),k5=nr("borderLeftColor"),F5=nr("outline",tr),L5=nr("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(S5,A5,T5,E5,I5,O5,P5,j5,M5,k5,cc,F5,L5);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 D5=Dt({prop:"gridColumn"}),_5=Dt({prop:"gridRow"}),R5=Dt({prop:"gridAutoFlow"}),B5=Dt({prop:"gridAutoColumns"}),N5=Dt({prop:"gridAutoRows"}),V5=Dt({prop:"gridTemplateColumns"}),W5=Dt({prop:"gridTemplateRows"}),z5=Dt({prop:"gridTemplateAreas"}),U5=Dt({prop:"gridArea"});lc(uc,dc,fc,D5,_5,R5,B5,N5,V5,W5,z5,U5);function Ji(e,t){return t==="grey"?t:e}const H5=Dt({prop:"color",themeKey:"palette",transform:Ji}),G5=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ji}),Y5=Dt({prop:"backgroundColor",themeKey:"palette",transform:Ji});lc(H5,G5,Y5);function _n(e){return e<=1&&e!==0?`${e*100}%`:e}const K5=Dt({prop:"width",transform:_n}),ep=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])||$f[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:_n(n)}};return $r(e,e.maxWidth,t)}return null};ep.filterProps=["maxWidth"];const X5=Dt({prop:"minWidth",transform:_n}),Z5=Dt({prop:"height",transform:_n}),Q5=Dt({prop:"maxHeight",transform:_n}),J5=Dt({prop:"minHeight",transform:_n});Dt({prop:"size",cssProperty:"width",transform:_n}),Dt({prop:"size",cssProperty:"height",transform:_n});const q5=Dt({prop:"boxSizing"});lc(K5,ep,X5,Z5,Q5,J5,q5);const xa={border:{themeKey:"borders",transform:tr},borderTop:{themeKey:"borders",transform:tr},borderRight:{themeKey:"borders",transform:tr},borderBottom:{themeKey:"borders",transform:tr},borderLeft:{themeKey:"borders",transform:tr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:tr},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:_n},maxWidth:{style:ep},minWidth:{transform:_n},height:{transform:_n},maxHeight:{transform:_n},minHeight:{transform:_n},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function $5(...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 eM(e,t){return typeof e=="function"?e(t):e}function Ab(){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=d5(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const b=eM(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}));$5(C,b)?m[v]=t({sx:b,theme:s}):m=va(m,C)}else m=va(m,e(v,b,s,a))}),f5(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const Ca=Ab();Ca.filterProps=["sx"];function Tb(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 tM=["breakpoints","palette","spacing","shape"];function pc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=Ge(e,tM),c=bb(n),u=w5(o);let d=Fr({breakpoints:c,direction:"ltr",components:{},palette:Z({mode:"light"},r),spacing:u,shape:Z({},u5,s)},a);return d.applyStyles=Tb,d=t.reduce((h,g)=>Fr(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 nM=Object.freeze(Object.defineProperty({__proto__:null,default:pc,private_createBreakpoints:bb,unstable_applyStyles:Tb},Symbol.toStringTag,{value:"Module"}));var rM=!1;function oM(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 iM(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 sM=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?!rM: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(iM(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=oM(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-",Eb="comm",tp="rule",np="decl",aM="@import",Ib="@keyframes",lM="@layer",cM=Math.abs,gc=String.fromCharCode,uM=Object.assign;function dM(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 Ob(e){return e.trim()}function fM(e,t){return(e=t.exec(e))?e[0]:e}function et(e,t,n){return e.replace(t,n)}function rp(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 op(e){return e.length}function mc(e,t){return t.push(e),e}function pM(e,t){return e.map(t).join("")}var vc=1,qi=1,Pb=0,xn=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 uM(yc("",null,null,"",null,null,0),e,{length:-e.length},t)}function hM(){return Wt}function gM(){return Wt=xn>0?Jt($i,--xn):0,qi--,Wt===10&&(qi=1,vc--),Wt}function Rn(){return Wt=xn<Pb?Jt($i,xn++):0,qi++,Wt===10&&(qi=1,vc++),Wt}function Dr(){return Jt($i,xn)}function bc(){return xn}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 jb(e){return vc=qi=1,Pb=Lr($i=e),xn=0,[]}function Mb(e){return $i="",e}function xc(e){return Ob(Aa(xn-1,ip(e===91?e+2:e===40?e+1:e)))}function mM(e){for(;(Wt=Dr())&&Wt<33;)Rn();return Ta(e)>2||Ta(Wt)>3?"":" "}function vM(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 ip(e){for(;Rn();)switch(Wt){case e:return xn;case 34:case 39:e!==34&&e!==39&&ip(Wt);break;case 40:e===41&&ip(e);break;case 92:Rn();break}return xn}function yM(e,t){for(;Rn()&&e+Wt!==57;)if(e+Wt===84&&Dr()===47)break;return"/*"+Aa(t,xn-1)+"*"+gc(e===47?e:Rn())}function bM(e){for(;!Ta(Dr());)Rn();return Aa(e,xn)}function xM(e){return Mb(Cc("",null,null,null,[""],e=jb(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,F=0,E="",M=o,P=s,D=r,L=E;w;)switch(b=F,F=Rn()){case 40:if(b!=108&&Jt(L,g-1)==58){rp(L+=et(xc(F),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:L+=xc(F);break;case 9:case 10:case 13:case 32:L+=mM(b);break;case 92:L+=vM(bc()-1,7);continue;case 47:switch(Dr()){case 42:case 47:mc(CM(yM(Rn(),bc()),t,n),u);break;default:L+="/"}break;case 123*C:c[d++]=Lr(L)*I;case 125*C:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+h:I==-1&&(L=et(L,/\f/g,"")),v>0&&Lr(L)-g&&mc(v>32?Fb(L+";",r,n,g-1):Fb(et(L," ","")+";",r,n,g-2),u);break;case 59:L+=";";default:if(mc(D=kb(L,t,n,d,h,o,c,E,M=[],P=[],g),s),F===123)if(h===0)Cc(L,t,D,D,M,s,g,c,P);else switch(m===99&&Jt(L,3)===110?100:m){case 100:case 108:case 109:case 115:Cc(e,D,D,r&&mc(kb(e,D,D,0,0,o,c,E,o,M=[],g),P),o,P,g,c,r?M:P);break;default:Cc(L,D,D,D,[""],P,0,c,P)}}d=h=v=0,C=I=1,E=L="",g=a;break;case 58:g=1+Lr(L),v=b;default:if(C<1){if(F==123)--C;else if(F==125&&C++==0&&gM()==125)continue}switch(L+=gc(F),F*C){case 38:I=h>0?1:(L+="\f",-1);break;case 44:c[d++]=(Lr(L)-1)*I,I=1;break;case 64:Dr()===45&&(L+=xc(Rn())),m=Dr(),h=g=Lr(E=L+=bM(bc())),F++;break;case 45:b===45&&Lr(L)==2&&(C=0)}}return s}function kb(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=op(m),b=0,C=0,w=0;b<r;++b)for(var I=0,F=wa(e,g+1,g=cM(C=a[b])),E=e;I<v;++I)(E=Ob(C>0?m[I]+" "+F:et(F,/&\f/g,m[I])))&&(u[w++]=E);return yc(e,t,n,o===0?tp:c,u,d,h)}function CM(e,t,n){return yc(e,t,n,Eb,gc(hM()),wa(e,2,-2),0)}function Fb(e,t,n,r){return yc(e,t,n,np,wa(e,0,r),wa(e,r+1,-1),r)}function es(e,t){for(var n="",r=op(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function wM(e,t,n,r){switch(e.type){case lM:if(e.children.length)break;case aM:case np:return e.return=e.return||e.value;case Eb:return"";case Ib:return e.return=e.value+"{"+es(e.children,r)+"}";case tp:e.value=e.props.join(",")}return Lr(n=es(e.children,r))?e.return=e.value+"{"+n+"}":""}function SM(e){var t=op(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 AM(e){return function(t){t.root||(t=t.return)&&e(t)}}var TM=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,xn)},EM=function(t,n){var r=-1,o=44;do switch(Ta(o)){case 0:o===38&&Dr()===12&&(n[r]=1),t[r]+=TM(xn-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},IM=function(t,n){return Mb(EM(jb(t),n))},Lb=new WeakMap,OM=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&&!Lb.get(r))&&!o){Lb.set(t,!0);for(var s=[],a=IM(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]}}},PM=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Db(e,t){switch(dM(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~rp(e,"stretch")?Db(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-(~rp(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 jM=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case np:t.return=Db(t.value,t.length);break;case Ib:return es([Sa(t,{value:et(t.value,"@","@"+$e)})],o);case tp:if(t.length)return pM(t.props,function(s){switch(fM(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""})}},MM=[jM],kM=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||MM,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=[OM,PM];{var h,g=[wM,AM(function(C){h.insert(C)})],m=SM(d.concat(o,g)),v=function(w){return es(xM(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 sM({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 sp;typeof document=="object"&&(sp=kM({key:"css",prepend:!0}));function _b(e){const{injectFirst:t,children:n}=e;return t&&sp?f.jsx(Nt.CacheProvider,{value:sp,children:n}):n}process.env.NODE_ENV!=="production"&&(_b.propTypes={children:x.node,injectFirst:x.bool});function FM(e){return e==null||Object.keys(e).length===0}function Rb(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(FM(o)?n:o):t;return f.jsx(Nt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(Rb.propTypes={defaultTheme:x.object,styles:x.oneOfType([x.array,x.string,x.object,x.func])});/**
|
|
23
|
+
`)),()=>{})}function Ib(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 A5(e,t){return n=>e.reduce((r,o)=>(r[o]=ba(t,n),r),{})}function T5(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=w5(n),s=A5(o,r),a=e[n];return $r(e,a,s)}function Ob(e,t){const n=Ib(e.theme);return Object.keys(e).map(r=>T5(e,t,r,n)).reduce(va,{})}function Mt(e){return Ob(e,ac)}Mt.propTypes=process.env.NODE_ENV!=="production"?ac.reduce((e,t)=>(e[t]=Eo,e),{}):{},Mt.filterProps=ac;function kt(e){return Ob(e,lc)}kt.propTypes=process.env.NODE_ENV!=="production"?lc.reduce((e,t)=>(e[t]=Eo,e),{}):{},kt.filterProps=lc,process.env.NODE_ENV!=="production"&&S5.reduce((e,t)=>(e[t]=Eo,e),{});function E5(e=8){if(e.mui)return e;const t=Ib({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 cc(...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 tr(e){return typeof e!="number"?e:`${e}px solid`}function nr(e,t){return Dt({prop:e,themeKey:"borders",transform:t})}const I5=nr("border",tr),O5=nr("borderTop",tr),P5=nr("borderRight",tr),j5=nr("borderBottom",tr),M5=nr("borderLeft",tr),k5=nr("borderColor"),F5=nr("borderTopColor"),L5=nr("borderRightColor"),D5=nr("borderBottomColor"),_5=nr("borderLeftColor"),R5=nr("outline",tr),B5=nr("outlineColor"),uc=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};uc.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:Eo}:{},uc.filterProps=["borderRadius"],cc(I5,O5,P5,j5,M5,k5,F5,L5,D5,_5,uc,R5,B5);const dc=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};dc.propTypes=process.env.NODE_ENV!=="production"?{gap:Eo}:{},dc.filterProps=["gap"];const fc=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};fc.propTypes=process.env.NODE_ENV!=="production"?{columnGap:Eo}:{},fc.filterProps=["columnGap"];const pc=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};pc.propTypes=process.env.NODE_ENV!=="production"?{rowGap:Eo}:{},pc.filterProps=["rowGap"];const N5=Dt({prop:"gridColumn"}),V5=Dt({prop:"gridRow"}),W5=Dt({prop:"gridAutoFlow"}),z5=Dt({prop:"gridAutoColumns"}),U5=Dt({prop:"gridAutoRows"}),H5=Dt({prop:"gridTemplateColumns"}),G5=Dt({prop:"gridTemplateRows"}),Y5=Dt({prop:"gridTemplateAreas"}),K5=Dt({prop:"gridArea"});cc(dc,fc,pc,N5,V5,W5,z5,U5,H5,G5,Y5,K5);function Ji(e,t){return t==="grey"?t:e}const X5=Dt({prop:"color",themeKey:"palette",transform:Ji}),Z5=Dt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ji}),Q5=Dt({prop:"backgroundColor",themeKey:"palette",transform:Ji});cc(X5,Z5,Q5);function _n(e){return e<=1&&e!==0?`${e*100}%`:e}const J5=Dt({prop:"width",transform:_n}),rp=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])||np[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:_n(n)}};return $r(e,e.maxWidth,t)}return null};rp.filterProps=["maxWidth"];const q5=Dt({prop:"minWidth",transform:_n}),$5=Dt({prop:"height",transform:_n}),eM=Dt({prop:"maxHeight",transform:_n}),tM=Dt({prop:"minHeight",transform:_n});Dt({prop:"size",cssProperty:"width",transform:_n}),Dt({prop:"size",cssProperty:"height",transform:_n});const nM=Dt({prop:"boxSizing"});cc(J5,rp,q5,$5,eM,tM,nM);const xa={border:{themeKey:"borders",transform:tr},borderTop:{themeKey:"borders",transform:tr},borderRight:{themeKey:"borders",transform:tr},borderBottom:{themeKey:"borders",transform:tr},borderLeft:{themeKey:"borders",transform:tr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:tr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:uc},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:dc},rowGap:{style:pc},columnGap:{style:fc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:_n},maxWidth:{style:rp},minWidth:{transform:_n},height:{transform:_n},maxHeight:{transform:_n},minHeight:{transform:_n},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function rM(...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 oM(e,t){return typeof e=="function"?e(t):e}function Pb(){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=ic(o,d)||{};return g?g(a):$r(a,r,b=>{let C=sc(m,h,b);return b===C&&typeof b=="string"&&(C=sc(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=g5(s.breakpoints),g=Object.keys(h);let m=h;return Object.keys(d).forEach(v=>{const b=oM(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}));rM(C,b)?m[v]=t({sx:b,theme:s}):m=va(m,C)}else m=va(m,e(v,b,s,a))}),m5(g,m)}return Array.isArray(o)?o.map(c):c(o)}return t}const Ca=Pb();Ca.filterProps=["sx"];function jb(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 iM=["breakpoints","palette","spacing","shape"];function hc(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:s={}}=e,a=Ge(e,iM),c=Ab(n),u=E5(o);let d=Fr({breakpoints:c,direction:"ltr",components:{},palette:Z({mode:"light"},r),spacing:u,shape:Z({},h5,s)},a);return d.applyStyles=jb,d=t.reduce((h,g)=>Fr(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 sM=Object.freeze(Object.defineProperty({__proto__:null,default:hc,private_createBreakpoints:Ab,unstable_applyStyles:jb},Symbol.toStringTag,{value:"Module"}));var aM=!1;function lM(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 cM(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 uM=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?!aM: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(cM(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var s=lM(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-",gc="-moz-",et="-webkit-",Mb="comm",op="rule",ip="decl",dM="@import",kb="@keyframes",fM="@layer",pM=Math.abs,mc=String.fromCharCode,hM=Object.assign;function gM(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 Fb(e){return e.trim()}function mM(e,t){return(e=t.exec(e))?e[0]:e}function tt(e,t,n){return e.replace(t,n)}function sp(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 ap(e){return e.length}function vc(e,t){return t.push(e),e}function vM(e,t){return e.map(t).join("")}var yc=1,qi=1,Lb=0,xn=0,Wt=0,$i="";function bc(e,t,n,r,o,s,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:yc,column:qi,length:a,return:""}}function Sa(e,t){return hM(bc("",null,null,"",null,null,0),e,{length:-e.length},t)}function yM(){return Wt}function bM(){return Wt=xn>0?Jt($i,--xn):0,qi--,Wt===10&&(qi=1,yc--),Wt}function Rn(){return Wt=xn<Lb?Jt($i,xn++):0,qi++,Wt===10&&(qi=1,yc++),Wt}function Dr(){return Jt($i,xn)}function xc(){return xn}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 Db(e){return yc=qi=1,Lb=Lr($i=e),xn=0,[]}function _b(e){return $i="",e}function Cc(e){return Fb(Aa(xn-1,lp(e===91?e+2:e===40?e+1:e)))}function xM(e){for(;(Wt=Dr())&&Wt<33;)Rn();return Ta(e)>2||Ta(Wt)>3?"":" "}function CM(e,t){for(;--t&&Rn()&&!(Wt<48||Wt>102||Wt>57&&Wt<65||Wt>70&&Wt<97););return Aa(e,xc()+(t<6&&Dr()==32&&Rn()==32))}function lp(e){for(;Rn();)switch(Wt){case e:return xn;case 34:case 39:e!==34&&e!==39&&lp(Wt);break;case 40:e===41&&lp(e);break;case 92:Rn();break}return xn}function wM(e,t){for(;Rn()&&e+Wt!==57;)if(e+Wt===84&&Dr()===47)break;return"/*"+Aa(t,xn-1)+"*"+mc(e===47?e:Rn())}function SM(e){for(;!Ta(Dr());)Rn();return Aa(e,xn)}function AM(e){return _b(wc("",null,null,null,[""],e=Db(e),0,[0],e))}function wc(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,E=1,F=0,I="",M=o,P=s,D=r,L=I;w;)switch(b=F,F=Rn()){case 40:if(b!=108&&Jt(L,g-1)==58){sp(L+=tt(Cc(F),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:L+=Cc(F);break;case 9:case 10:case 13:case 32:L+=xM(b);break;case 92:L+=CM(xc()-1,7);continue;case 47:switch(Dr()){case 42:case 47:vc(TM(wM(Rn(),xc()),t,n),u);break;default:L+="/"}break;case 123*C:c[d++]=Lr(L)*E;case 125*C:case 59:case 0:switch(F){case 0:case 125:w=0;case 59+h:E==-1&&(L=tt(L,/\f/g,"")),v>0&&Lr(L)-g&&vc(v>32?Bb(L+";",r,n,g-1):Bb(tt(L," ","")+";",r,n,g-2),u);break;case 59:L+=";";default:if(vc(D=Rb(L,t,n,d,h,o,c,I,M=[],P=[],g),s),F===123)if(h===0)wc(L,t,D,D,M,s,g,c,P);else switch(m===99&&Jt(L,3)===110?100:m){case 100:case 108:case 109:case 115:wc(e,D,D,r&&vc(Rb(e,D,D,0,0,o,c,I,o,M=[],g),P),o,P,g,c,r?M:P);break;default:wc(L,D,D,D,[""],P,0,c,P)}}d=h=v=0,C=E=1,I=L="",g=a;break;case 58:g=1+Lr(L),v=b;default:if(C<1){if(F==123)--C;else if(F==125&&C++==0&&bM()==125)continue}switch(L+=mc(F),F*C){case 38:E=h>0?1:(L+="\f",-1);break;case 44:c[d++]=(Lr(L)-1)*E,E=1;break;case 64:Dr()===45&&(L+=Cc(Rn())),m=Dr(),h=g=Lr(I=L+=SM(xc())),F++;break;case 45:b===45&&Lr(L)==2&&(C=0)}}return s}function Rb(e,t,n,r,o,s,a,c,u,d,h){for(var g=o-1,m=o===0?s:[""],v=ap(m),b=0,C=0,w=0;b<r;++b)for(var E=0,F=wa(e,g+1,g=pM(C=a[b])),I=e;E<v;++E)(I=Fb(C>0?m[E]+" "+F:tt(F,/&\f/g,m[E])))&&(u[w++]=I);return bc(e,t,n,o===0?op:c,u,d,h)}function TM(e,t,n){return bc(e,t,n,Mb,mc(yM()),wa(e,2,-2),0)}function Bb(e,t,n,r){return bc(e,t,n,ip,wa(e,0,r),wa(e,r+1,-1),r)}function es(e,t){for(var n="",r=ap(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function EM(e,t,n,r){switch(e.type){case fM:if(e.children.length)break;case dM:case ip:return e.return=e.return||e.value;case Mb:return"";case kb:return e.return=e.value+"{"+es(e.children,r)+"}";case op:e.value=e.props.join(",")}return Lr(n=es(e.children,r))?e.return=e.value+"{"+n+"}":""}function IM(e){var t=ap(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 OM(e){return function(t){t.root||(t=t.return)&&e(t)}}var PM=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,xn)},jM=function(t,n){var r=-1,o=44;do switch(Ta(o)){case 0:o===38&&Dr()===12&&(n[r]=1),t[r]+=PM(xn-1,n,r);break;case 2:t[r]+=Cc(o);break;case 4:if(o===44){t[++r]=Dr()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=mc(o)}while(o=Rn());return t},MM=function(t,n){return _b(jM(Db(t),n))},Nb=new WeakMap,kM=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&&!Nb.get(r))&&!o){Nb.set(t,!0);for(var s=[],a=MM(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]}}},FM=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function Vb(e,t){switch(gM(e,t)){case 5103:return et+"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 et+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return et+e+gc+e+nn+e+e;case 6828:case 4268:return et+e+nn+e+e;case 6165:return et+e+nn+"flex-"+e+e;case 5187:return et+e+tt(e,/(\w+).+(:[^]+)/,et+"box-$1$2"+nn+"flex-$1$2")+e;case 5443:return et+e+nn+"flex-item-"+tt(e,/flex-|-self/,"")+e;case 4675:return et+e+nn+"flex-line-pack"+tt(e,/align-content|flex-|-self/,"")+e;case 5548:return et+e+nn+tt(e,"shrink","negative")+e;case 5292:return et+e+nn+tt(e,"basis","preferred-size")+e;case 6060:return et+"box-"+tt(e,"-grow","")+et+e+nn+tt(e,"grow","positive")+e;case 4554:return et+tt(e,/([^-])(transform)/g,"$1"+et+"$2")+e;case 6187:return tt(tt(tt(e,/(zoom-|grab)/,et+"$1"),/(image-set)/,et+"$1"),e,"")+e;case 5495:case 3959:return tt(e,/(image-set\([^]*)/,et+"$1$`$1");case 4968:return tt(tt(e,/(.+:)(flex-)?(.*)/,et+"box-pack:$3"+nn+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+et+e+e;case 4095:case 3583:case 4068:case 2532:return tt(e,/(.+)-inline(.+)/,et+"$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 tt(e,/(.+:)(.+)-([^]+)/,"$1"+et+"$2-$3$1"+gc+(Jt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~sp(e,"stretch")?Vb(tt(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-(~sp(e,"!important")&&10))){case 107:return tt(e,":",":"+et)+e;case 101:return tt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+et+(Jt(e,14)===45?"inline-":"")+"box$3$1"+et+"$2$3$1"+nn+"$2box$3")+e}break;case 5936:switch(Jt(e,t+11)){case 114:return et+e+nn+tt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return et+e+nn+tt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return et+e+nn+tt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return et+e+nn+e+e}return e}var LM=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ip:t.return=Vb(t.value,t.length);break;case kb:return es([Sa(t,{value:tt(t.value,"@","@"+et)})],o);case op:if(t.length)return vM(t.props,function(s){switch(mM(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return es([Sa(t,{props:[tt(s,/:(read-\w+)/,":"+gc+"$1")]})],o);case"::placeholder":return es([Sa(t,{props:[tt(s,/:(plac\w+)/,":"+et+"input-$1")]}),Sa(t,{props:[tt(s,/:(plac\w+)/,":"+gc+"$1")]}),Sa(t,{props:[tt(s,/:(plac\w+)/,nn+"input-$1")]})],o)}return""})}},DM=[LM],_M=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||DM,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(" "),E=1;E<w.length;E++)s[w[E]]=!0;c.push(C)});var u,d=[kM,FM];{var h,g=[EM,OM(function(C){h.insert(C)})],m=IM(d.concat(o,g)),v=function(w){return es(AM(w),m)};u=function(w,E,F,I){h=F,v(w?w+"{"+E.styles+"}":E.styles),I&&(b.inserted[E.name]=!0)}}var b={key:n,sheet:new uM({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 cp;typeof document=="object"&&(cp=_M({key:"css",prepend:!0}));function Wb(e){const{injectFirst:t,children:n}=e;return t&&cp?f.jsx(Nt.CacheProvider,{value:cp,children:n}):n}process.env.NODE_ENV!=="production"&&(Wb.propTypes={children:x.node,injectFirst:x.bool});function RM(e){return e==null||Object.keys(e).length===0}function zb(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(RM(o)?n:o):t;return f.jsx(Nt.Global,{styles:r})}process.env.NODE_ENV!=="production"&&(zb.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
|
|
31
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,
|
|
32
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,
|
|
33
|
-
`))}return w}const m=({color:C,name:w,mainShade:
|
|
34
|
-
The color object needs to have a \`main\` property or a \`${
|
|
29
|
+
*/function Ub(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 Hb=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},BM=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:zb,StyledEngineProvider:Wb,ThemeContext:Nt.ThemeContext,css:Nt.css,default:Ub,internal_processStyles:Hb,keyframes:Nt.keyframes},Symbol.toStringTag,{value:"Module"}));function NM(e){return Object.keys(e).length===0}function Gb(e=null){const t=B.useContext(Nt.ThemeContext);return!t||NM(t)?e:t}const VM=hc();function up(e=VM){return Gb(e)}function WM({props:e,name:t,defaultTheme:n,themeId:r}){let o=up(n);return r&&(o=o[r]||o),u5({theme:o,name:t,props:e})}const zM=["sx"],UM=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 Yb(e){const{sx:t}=e,n=Ge(e,zM),{systemProps:r,otherProps:o}=UM(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 HM=Object.freeze(Object.defineProperty({__proto__:null,default:Ca,extendSxProp:Yb,unstable_createStyleFunctionSx:Pb,unstable_defaultSxConfig:xa},Symbol.toStringTag,{value:"Module"})),Kb=e=>e,Xb=(()=>{let e=Kb;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Kb}}})(),Zb={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 Bn(e,t,n="Mui"){const r=Zb[t];return r?`${n}-${r}`:`${Xb.generate(e)}-${t}`}function GM(e,t){return Z({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var _t={},Qb={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})(Qb);var Io=Qb.exports;const YM=Jr(v5);function Jb(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const KM=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:Jb},Symbol.toStringTag,{value:"Module"})));var qb=Io;Object.defineProperty(_t,"__esModule",{value:!0});var Oo=_t.alpha=ix;_t.blend=i6,_t.colorChannel=void 0;var XM=_t.darken=fp;_t.decomposeColor=rr;var $b=_t.emphasize=sx,ex=_t.getContrastRatio=e6;_t.getLuminance=Sc,_t.hexToRgb=nx,_t.hslToRgb=ox;var ZM=_t.lighten=pp;_t.private_safeAlpha=t6,_t.private_safeColorChannel=void 0,_t.private_safeDarken=n6,_t.private_safeEmphasize=o6,_t.private_safeLighten=r6,_t.recomposeColor=ts,_t.rgbToHex=$M;var tx=qb(YM),QM=qb(KM);function dp(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,QM.default)(e,t,n)}function nx(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 JM(e){const t=e.toString(16);return t.length===1?`0${t}`:t}function rr(e){if(e.type)return e;if(e.charAt(0)==="#")return rr(nx(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
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,tx.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,tx.default)(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}const rx=e=>{const t=rr(e);return t.values.slice(0,3).map((n,r)=>t.type.indexOf("hsl")!==-1&&r!==0?`${n}%`:n).join(" ")};_t.colorChannel=rx;const qM=(e,t)=>{try{return rx(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};_t.private_safeColorChannel=qM;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 $M(e){if(e.indexOf("#")===0)return e;const{values:t}=rr(e);return`#${t.map((n,r)=>JM(r===3?Math.round(255*n):n)).join("")}`}function ox(e){e=rr(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 Sc(e){e=rr(e);let t=e.type==="hsl"||e.type==="hsla"?rr(ox(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 e6(e,t){const n=Sc(e),r=Sc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ix(e,t){return e=rr(e),t=dp(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ts(e)}function t6(e,t,n){try{return ix(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function fp(e,t){if(e=rr(e),t=dp(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 n6(e,t,n){try{return fp(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function pp(e,t){if(e=rr(e),t=dp(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 r6(e,t,n){try{return pp(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function sx(e,t=.15){return Sc(e)>.5?fp(e,t):pp(e,t)}function o6(e,t,n){try{return sx(e,t)}catch{return n&&process.env.NODE_ENV!=="production"&&console.warn(n),e}}function i6(e,t,n,r=1){const o=(u,d)=>Math.round((u**(1/r)*(1-n)+d**(1/r)*n)**r),s=rr(e),a=rr(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"},s6={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"},a6=["mode","contrastThreshold","tonalOffset"],ax={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}},hp={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 lx(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=XM(e.main,s)))}function l6(e="light"){return e==="dark"?{main:os[200],light:os[50],dark:os[400]}:{main:os[700],light:os[400],dark:os[800]}}function c6(e="light"){return e==="dark"?{main:ns[200],light:ns[50],dark:ns[400]}:{main:ns[500],light:ns[300],dark:ns[700]}}function u6(e="light"){return e==="dark"?{main:rs[500],light:rs[300],dark:rs[700]}:{main:rs[700],light:rs[400],dark:rs[800]}}function d6(e="light"){return e==="dark"?{main:is[400],light:is[300],dark:is[700]}:{main:is[700],light:is[500],dark:is[900]}}function f6(e="light"){return e==="dark"?{main:ss[400],light:ss[300],dark:ss[700]}:{main:ss[800],light:ss[500],dark:ss[900]}}function p6(e="light"){return e==="dark"?{main:Ia[400],light:Ia[300],dark:Ia[700]}:{main:"#ed6c02",light:Ia[500],dark:Ia[900]}}function h6(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ge(e,a6),s=e.primary||l6(t),a=e.secondary||c6(t),c=e.error||u6(t),u=e.info||d6(t),d=e.success||f6(t),h=e.warning||p6(t);function g(C){const w=ex(C,hp.text.primary)>=n?hp.text.primary:ax.text.primary;if(process.env.NODE_ENV!=="production"){const E=ex(C,w);E<3&&console.error([`MUI: The contrast ratio of ${E}: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:E=500,lightShade:F=300,darkShade:I=700})=>{if(C=Z({},C),!C.main&&C[E]&&(C.main=C[E]),!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 \`${E}\` property.`:li(11,w?` (${w})`:"",E));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
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?
|
|
@@ -44,9 +44,9 @@ const theme1 = createTheme({ palette: {
|
|
|
44
44
|
|
|
45
45
|
const theme2 = createTheme({ palette: {
|
|
46
46
|
primary: { main: green[500] },
|
|
47
|
-
} });`:li(12,w?` (${w})`:"",JSON.stringify(C.main)));return
|
|
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:
|
|
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
|
|
47
|
+
} });`:li(12,w?` (${w})`:"",JSON.stringify(C.main)));return lx(C,"light",F,r),lx(C,"dark",I,r),C.contrastText||(C.contrastText=g(C.main)),C},v={dark:hp,light:ax};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Fr(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:s6,contrastThreshold:n,getContrastText:g,augmentColor:m,tonalOffset:r},v[t]),o)}const g6=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function m6(e){return Math.round(e*1e5)/1e5}const cx={textTransform:"uppercase"},ux='"Roboto", "Helvetica", "Arial", sans-serif';function v6(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ux,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,g6);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||(E=>`${E/d*v}rem`),C=(E,F,I,M,P)=>Z({fontFamily:r,fontWeight:E,fontSize:b(F),lineHeight:I},r===ux?{letterSpacing:`${m6(M/F)}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,cx),caption:C(a,12,1.66,.4),overline:C(a,12,2.66,1,cx),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Fr(Z({htmlFontSize:d,pxToRem:b,fontFamily:r,fontSize:o,fontWeightLight:s,fontWeightRegular:a,fontWeightMedium:c,fontWeightBold:u},w),m,{clone:!1})}const y6=.2,b6=.14,x6=.12;function wt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${y6})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${b6})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${x6})`].join(",")}const C6=["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)],w6=["duration","easing","delay"],S6={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)"},A6={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function dx(e){return`${Math.round(e)}ms`}function T6(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function E6(e){const t=Z({},S6,e.easing),n=Z({},A6,e.duration);return Z({getAutoHeightDuration:T6,create:(o=["all"],s={})=>{const{duration:a=n.standard,easing:c=t.easeInOut,delay:u=0}=s,d=Ge(s,w6);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:dx(a)} ${c} ${typeof u=="string"?u:dx(u)}`).join(",")}},e,{easing:t,duration:n})}const I6={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},O6=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function gp(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:s={}}=e,a=Ge(e,O6);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.":li(18));const c=h6(r),u=hc(e);let d=Fr(u,{mixins:GM(u.breakpoints,n),palette:c,shadows:C6.slice(),typography:v6(c,s),transitions:E6(o),zIndex:Z({},I6)});if(d=Fr(d,a),d=t.reduce((h,g)=>Fr(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=Bn("",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 mp=gp(),Oa="$$material";function or({props:e,name:t}){return WM({props:e,name:t,defaultTheme:mp,themeId:Oa})}var Pa={},vp={exports:{}},fx;function P6(){return fx||(fx=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}(vp)),vp.exports}var yp={exports:{}},px;function j6(){return px||(px=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}(yp)),yp.exports}const hx=Jr(BM),M6=Jr(d5),k6=Jr(y5);var bp={exports:{}},st={};/**
|
|
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
|
|
57
|
+
*/var gx;function F6(){if(gx)return st;gx=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 E=w.$$typeof;switch(E){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 E}}case t:return E}}}return st.ContextConsumer=a,st.ContextProvider=s,st.Element=e,st.ForwardRef=u,st.Fragment=n,st.Lazy=m,st.Memo=g,st.Portal=t,st.Profiler=o,st.StrictMode=r,st.Suspense=d,st.SuspenseList=h,st.isAsyncMode=function(){return!1},st.isConcurrentMode=function(){return!1},st.isContextConsumer=function(w){return C(w)===a},st.isContextProvider=function(w){return C(w)===s},st.isElement=function(w){return typeof w=="object"&&w!==null&&w.$$typeof===e},st.isForwardRef=function(w){return C(w)===u},st.isFragment=function(w){return C(w)===n},st.isLazy=function(w){return C(w)===m},st.isMemo=function(w){return C(w)===g},st.isPortal=function(w){return C(w)===t},st.isProfiler=function(w){return C(w)===o},st.isStrictMode=function(w){return C(w)===r},st.isSuspense=function(w){return C(w)===d},st.isSuspenseList=function(w){return C(w)===h},st.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)},st.typeOf=C,st}var at={};/**
|
|
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 dx;function j6(){return dx||(dx=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,F=!1,E;E=Symbol.for("react.module.reference");function M(me){return!!(typeof me=="string"||typeof me=="function"||me===n||me===o||F||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 ln=me.type;switch(ln){case n:case o:case r:case d:case h:return ln;default:var Et=ln&&ln.$$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,L=s,H=e,K=u,$=n,G=m,ae=g,le=t,J=o,Q=r,z=d,ne=h,W=!1,te=!1;function V(me){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function X(me){return te||(te=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(me){return P(me)===a}function he(me){return P(me)===s}function pe(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 de(me){return P(me)===d}function qe(me){return P(me)===h}st.ContextConsumer=D,st.ContextProvider=L,st.Element=H,st.ForwardRef=K,st.Fragment=$,st.Lazy=G,st.Memo=ae,st.Portal=le,st.Profiler=J,st.StrictMode=Q,st.Suspense=z,st.SuspenseList=ne,st.isAsyncMode=V,st.isConcurrentMode=X,st.isContextConsumer=ue,st.isContextProvider=he,st.isElement=pe,st.isForwardRef=ge,st.isFragment=ve,st.isLazy=Te,st.isMemo=Ce,st.isPortal=be,st.isProfiler=we,st.isStrictMode=Ie,st.isSuspense=de,st.isSuspenseList=qe,st.isValidElementType=M,st.typeOf=P}()),st}process.env.NODE_ENV==="production"?mp.exports=P6():mp.exports=j6();var vp=mp.exports;const M6=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function fx(e){const t=`${e}`.match(M6);return t&&t[1]||""}function px(e,t=""){return e.displayName||e.name||fx(e)||t}function hx(e,t,n){const r=px(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function gx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return px(e,"Component");if(typeof e=="object")switch(e.$$typeof){case vp.ForwardRef:return hx(e,e.render,"ForwardRef");case vp.Memo:return hx(e,e.type,"memo");default:return}}}const k6=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:gx,getFunctionName:fx},Symbol.toStringTag,{value:"Module"}))),F6=Jr(nM),L6=Jr(VM);var as=Io;Object.defineProperty(Pa,"__esModule",{value:!0});var D6=Pa.default=Z6;Pa.shouldForwardProp=Sc,Pa.systemDefaultTheme=void 0;var ir=as(T6()),yp=as(E6()),mx=H6(cx),_6=I6,R6=as(O6),B6=as(k6),N6=as(F6),V6=as(L6);const W6=["ownerState"],z6=["variants"],U6=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function vx(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(vx=function(r){return r?n:t})(e)}function H6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=vx(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 G6(e){return Object.keys(e).length===0}function Y6(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Sc(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const K6=Pa.systemDefaultTheme=(0,N6.default)(),yx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Ac({defaultTheme:e,theme:t,themeId:n}){return G6(t)?e:t[n]||t}function X6(e){return e?(t,n)=>n[e]:null}function Tc(e,t){let{ownerState:n}=t,r=(0,yp.default)(t,W6);const o=typeof e=="function"?e((0,ir.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Tc(s,(0,ir.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,yp.default)(o,z6);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,ir.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,ir.default)({ownerState:n},r,n)):u.style))}),c}return o}function Z6(e={}){const{themeId:t,defaultTheme:n=K6,rootShouldForwardProp:r=Sc,slotShouldForwardProp:o=Sc}=e,s=a=>(0,V6.default)((0,ir.default)({},a,{theme:Ac((0,ir.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,mx.internal_processStyles)(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=X6(yx(d))}=c,v=(0,yp.default)(c,U6),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${yx(d||"Root")}`);let I=Sc;d==="Root"||d==="root"?I=r:d?I=o:Y6(a)&&(I=void 0);const F=(0,mx.default)(a,(0,ir.default)({shouldForwardProp:I,label:w},v)),E=P=>typeof P=="function"&&P.__emotion_real!==P||(0,_6.isPlainObject)(P)?D=>Tc(P,(0,ir.default)({},D,{theme:Ac({theme:D.theme,defaultTheme:n,themeId:t})})):P,M=(P,...D)=>{let L=E(P);const H=D?D.map(E):[];u&&m&&H.push(G=>{const ae=Ac((0,ir.default)({},G,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const le=ae.components[u].styleOverrides,J={};return Object.entries(le).forEach(([Q,z])=>{J[Q]=Tc(z,(0,ir.default)({},G,{theme:ae}))}),m(G,J)}),u&&!b&&H.push(G=>{var ae;const le=Ac((0,ir.default)({},G,{defaultTheme:n,themeId:t})),J=le==null||(ae=le.components)==null||(ae=ae[u])==null?void 0:ae.variants;return Tc({variants:J},(0,ir.default)({},G,{theme:le}))}),C||H.push(s);const K=H.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");L=[...P,...G],L.raw=[...P.raw,...G]}const $=F(L,...H);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${(0,R6.default)(d||"")}`),G===void 0&&(G=`Styled(${(0,B6.default)(a)})`),$.displayName=G}return a.muiName&&($.muiName=a.muiName),$};return F.withConfig&&(M.withConfig=F.withConfig),M}}function Q6(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const bx=e=>Q6(e)&&e!=="classes",fe=D6({themeId:Oa,defaultTheme:pp,rootShouldForwardProp:bx});function J6(e){return or}function sr(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Bn(e,o,n)}),r}function q6(e){return Bn("MuiSvgIcon",e)}sr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const $6=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ek=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${He(t)}`,`fontSize${He(n)}`]};return er(o,q6,r)},tk=fe("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=or({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,$6),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=ek(C);return f.jsxs(tk,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 bp(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 nk=bp(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 rk(e){return Bn("MuiAvatar",e)}sr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function ls(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Cn(...e){return B.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ls(n,t)})},e)}function ok(e){return typeof e=="string"}function cs(e,t,n){return e===void 0||ok(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const ik={disableDefaultClasses:!1},xx=B.createContext(ik);process.env.NODE_ENV!=="production"&&(xx.displayName="ClassNameConfiguratorContext");function sk(e){const{disableDefaultClasses:t}=B.useContext(xx);return n=>t?"":e(n)}function ak(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 Cx(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 lk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function wx(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"&&!lk(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 xp=Po(x.element,wx);xp.isRequired=Po(x.element.isRequired,wx);function ck(e){const{prototype:t={}}=e;return!!t.isReactComponent}function uk(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"&&!ck(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 dk=Po(x.elementType,uk),fk="exact-prop: ";function Ic(e){return process.env.NODE_ENV==="production"?e:Z({},e,{[fk]: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 pk(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function hk(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 gk(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 mk(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 vk(e){return us(e).defaultView||window}function yk(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 Sx=0;function bk(e){const[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t==null&&(Sx+=1,n(`mui-${Sx}`))},[t]),r}const Ax=B.useId;function Cp(e){if(Ax!==void 0){const t=Ax();return e??t}return bk(e)}function xk(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 Tx({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 mx;function L6(){return mx||(mx=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,E=!1,F=!1,I;I=Symbol.for("react.module.reference");function M(me){return!!(typeof me=="string"||typeof me=="function"||me===n||me===o||F||me===r||me===d||me===h||E||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===I||me.getModuleId!==void 0))}function P(me){if(typeof me=="object"&&me!==null){var Qe=me.$$typeof;switch(Qe){case e:var ln=me.type;switch(ln){case n:case o:case r:case d:case h:return ln;default:var Et=ln&&ln.$$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,L=s,H=e,K=u,$=n,G=m,ae=g,le=t,J=o,Q=r,z=d,ne=h,W=!1,te=!1;function V(me){return W||(W=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function X(me){return te||(te=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ue(me){return P(me)===a}function he(me){return P(me)===s}function pe(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 fe(me){return P(me)===d}function qe(me){return P(me)===h}at.ContextConsumer=D,at.ContextProvider=L,at.Element=H,at.ForwardRef=K,at.Fragment=$,at.Lazy=G,at.Memo=ae,at.Portal=le,at.Profiler=J,at.StrictMode=Q,at.Suspense=z,at.SuspenseList=ne,at.isAsyncMode=V,at.isConcurrentMode=X,at.isContextConsumer=ue,at.isContextProvider=he,at.isElement=pe,at.isForwardRef=ge,at.isFragment=ve,at.isLazy=Te,at.isMemo=Ce,at.isPortal=be,at.isProfiler=we,at.isStrictMode=Ie,at.isSuspense=fe,at.isSuspenseList=qe,at.isValidElementType=M,at.typeOf=P}()),at}process.env.NODE_ENV==="production"?bp.exports=F6():bp.exports=L6();var xp=bp.exports;const D6=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function vx(e){const t=`${e}`.match(D6);return t&&t[1]||""}function yx(e,t=""){return e.displayName||e.name||vx(e)||t}function bx(e,t,n){const r=yx(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function xx(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return yx(e,"Component");if(typeof e=="object")switch(e.$$typeof){case xp.ForwardRef:return bx(e,e.render,"ForwardRef");case xp.Memo:return bx(e,e.type,"memo");default:return}}}const _6=Jr(Object.freeze(Object.defineProperty({__proto__:null,default:xx,getFunctionName:vx},Symbol.toStringTag,{value:"Module"}))),R6=Jr(sM),B6=Jr(HM);var as=Io;Object.defineProperty(Pa,"__esModule",{value:!0});var N6=Pa.default=$6;Pa.shouldForwardProp=Ac,Pa.systemDefaultTheme=void 0;var ir=as(P6()),Cp=as(j6()),Cx=X6(hx),V6=M6,W6=as(k6),z6=as(_6),U6=as(R6),H6=as(B6);const G6=["ownerState"],Y6=["variants"],K6=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function wx(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(wx=function(r){return r?n:t})(e)}function X6(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=wx(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 Q6(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ac(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const J6=Pa.systemDefaultTheme=(0,U6.default)(),Sx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Tc({defaultTheme:e,theme:t,themeId:n}){return Z6(t)?e:t[n]||t}function q6(e){return e?(t,n)=>n[e]:null}function Ec(e,t){let{ownerState:n}=t,r=(0,Cp.default)(t,G6);const o=typeof e=="function"?e((0,ir.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>Ec(s,(0,ir.default)({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=(0,Cp.default)(o,Y6);return s.forEach(u=>{let d=!0;typeof u.props=="function"?d=u.props((0,ir.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,ir.default)({ownerState:n},r,n)):u.style))}),c}return o}function $6(e={}){const{themeId:t,defaultTheme:n=J6,rootShouldForwardProp:r=Ac,slotShouldForwardProp:o=Ac}=e,s=a=>(0,H6.default)((0,ir.default)({},a,{theme:Tc((0,ir.default)({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{(0,Cx.internal_processStyles)(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=q6(Sx(d))}=c,v=(0,Cp.default)(c,K6),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Sx(d||"Root")}`);let E=Ac;d==="Root"||d==="root"?E=r:d?E=o:Q6(a)&&(E=void 0);const F=(0,Cx.default)(a,(0,ir.default)({shouldForwardProp:E,label:w},v)),I=P=>typeof P=="function"&&P.__emotion_real!==P||(0,V6.isPlainObject)(P)?D=>Ec(P,(0,ir.default)({},D,{theme:Tc({theme:D.theme,defaultTheme:n,themeId:t})})):P,M=(P,...D)=>{let L=I(P);const H=D?D.map(I):[];u&&m&&H.push(G=>{const ae=Tc((0,ir.default)({},G,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const le=ae.components[u].styleOverrides,J={};return Object.entries(le).forEach(([Q,z])=>{J[Q]=Ec(z,(0,ir.default)({},G,{theme:ae}))}),m(G,J)}),u&&!b&&H.push(G=>{var ae;const le=Tc((0,ir.default)({},G,{defaultTheme:n,themeId:t})),J=le==null||(ae=le.components)==null||(ae=ae[u])==null?void 0:ae.variants;return Ec({variants:J},(0,ir.default)({},G,{theme:le}))}),C||H.push(s);const K=H.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");L=[...P,...G],L.raw=[...P.raw,...G]}const $=F(L,...H);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${(0,W6.default)(d||"")}`),G===void 0&&(G=`Styled(${(0,z6.default)(a)})`),$.displayName=G}return a.muiName&&($.muiName=a.muiName),$};return F.withConfig&&(M.withConfig=F.withConfig),M}}function ek(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Ax=e=>ek(e)&&e!=="classes",de=N6({themeId:Oa,defaultTheme:mp,rootShouldForwardProp:Ax});function tk(e){return or}function sr(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Bn(e,o,n)}),r}function nk(e){return Bn("MuiSvgIcon",e)}sr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const rk=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],ok=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${He(t)}`,`fontSize${He(n)}`]};return er(o,nk,r)},ik=de("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]}}),Ic=B.forwardRef(function(t,n){const r=or({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,rk),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 E=ok(C);return f.jsxs(ik,Z({as:c,className:$e(E.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"&&(Ic.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}),Ic.muiName="SvgIcon";function wp(e,t){function n(r,o){return f.jsx(Ic,Z({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=Ic.muiName,B.memo(B.forwardRef(n))}const sk=wp(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 ak(e){return Bn("MuiAvatar",e)}sr("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);function ls(e,t){typeof e=="function"?e(t):e&&(e.current=t)}function Cn(...e){return B.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ls(n,t)})},e)}function lk(e){return typeof e=="string"}function cs(e,t,n){return e===void 0||lk(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const ck={disableDefaultClasses:!1},Tx=B.createContext(ck);process.env.NODE_ENV!=="production"&&(Tx.displayName="ClassNameConfiguratorContext");function uk(e){const{disableDefaultClasses:t}=B.useContext(Tx);return n=>t?"":e(n)}function dk(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 Ex(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 fk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Ix(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"&&!fk(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 Sp=Po(x.element,Ix);Sp.isRequired=Po(x.element.isRequired,Ix);function pk(e){const{prototype:t={}}=e;return!!t.isReactComponent}function hk(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"&&!pk(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 gk=Po(x.elementType,hk),mk="exact-prop: ";function Oc(e){return process.env.NODE_ENV==="production"?e:Z({},e,{[mk]: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 Pc=x.oneOfType([x.func,x.object]);function vk(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function yk(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 bk(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 xk(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 Ck(e){return us(e).defaultView||window}function wk(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 Ox=0;function Sk(e){const[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t==null&&(Ox+=1,n(`mui-${Ox}`))},[t]),r}const Px=B.useId;function Ap(e){if(Px!==void 0){const t=Px();return e??t}return Sk(e)}function Ak(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 jx({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 ci(e){const t=B.useRef(e);return _r(()=>{t.current=e}),B.useRef((...n)=>(0,t.current)(...n)).current}const Ex={};function Ck(e,t){const n=B.useRef(Ex);return n.current===Ex&&(n.current=e(t)),n}const wk=[];function Sk(e){B.useEffect(e,wk)}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=Ck(ja.create).current;return Sk(e.disposeEffect),e}let Pc=!0,wp=!1;const Ak=new ja,Tk={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 Ek(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Tk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Ik(e){e.metaKey||e.altKey||e.ctrlKey||(Pc=!0)}function Sp(){Pc=!1}function Ok(){this.visibilityState==="hidden"&&wp&&(Pc=!0)}function Pk(e){e.addEventListener("keydown",Ik,!0),e.addEventListener("mousedown",Sp,!0),e.addEventListener("pointerdown",Sp,!0),e.addEventListener("touchstart",Sp,!0),e.addEventListener("visibilitychange",Ok,!0)}function jk(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Pc||Ek(t)}function Ap(){const e=B.useCallback(o=>{o!=null&&Pk(o.ownerDocument)},[]),t=B.useRef(!1);function n(){return t.current?(wp=!0,Ak.start(100,()=>{wp=!1}),t.current=!1,!0):!1}function r(o){return jk(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Mk(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 kk(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Fk=Number.isInteger||kk;function Ix(e,t,n,r){const o=e[t];if(o==null||!Fk(o)){const s=Mk(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Ox(e,t,...n){return e[t]===void 0?null:Ix(e,t,...n)}function Tp(){return null}Ox.isRequired=Ix,Tp.isRequired=Tp;const Ep=process.env.NODE_ENV==="production"?Tp:Ox;function Px(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 jx(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=ak(Z({},o,r)),c=Px(r),u=Px(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 Lk=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Mx(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,Lk),c=s?{}:Cx(r,o),{props:u,internalRef:d}=jx(Z({},a,{externalSlotProps:c})),h=Cn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return cs(n,Z({},u,{ref:h}),o)}const Dk=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],_k=["component","slots","slotProps"],Rk=["component"];function Bk(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=Ge(t,Dk),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;Ge(s,_k);const m=h[e]||r,v=Cx(g[e],o),b=jx(Z({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:C},internalRef:w}=b,I=Ge(b.props,Rk),F=Cn(w,v==null?void 0:v.ref,t.ref),E=a?a(I):{},M=Z({},o,E),P=C,D=cs(m,Z({},e==="root",!h[e]&&c,I,P&&{as:P},{ref:F}),M);return Object.keys(E).forEach(L=>{delete D[L]}),[m,D]}const Nk=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],Vk=J6(),Wk=e=>{const{classes:t,variant:n,colorDefault:r}=e;return er({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},rk,t)},zk=fe("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]})))}]})),Uk=fe("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Hk=fe(nk,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});function Gk({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 kx=B.forwardRef(function(t,n){const r=Vk({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,Nk);let w=null;const I=Gk(Z({},h,{src:m,srcSet:v})),F=m||v,E=F&&I!=="error",M=Z({},r,{colorDefault:!E,component:c,variant:b}),P=Wk(M),[D,L]=Bk("img",{className:P.img,elementType:Uk,externalForwardedProps:{slots:u,slotProps:{img:Z({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:M});return E?w=f.jsx(D,Z({},L)):s||s===0?w=s:F&&o?w=o[0]:w=f.jsx(Hk,{ownerState:M,className:P.fallback}),f.jsx(zk,Z({as:c,ownerState:M,className:lt(P.root,a),ref:n},C,{children:w}))});process.env.NODE_ENV!=="production"&&(kx.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 Yk=["ownerState"],Kk=["variants"],Xk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Zk(e){return Object.keys(e).length===0}function Qk(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Ip(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Jk=pc(),Fx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function jc({defaultTheme:e,theme:t,themeId:n}){return Zk(t)?e:t[n]||t}function qk(e){return e?(t,n)=>n[e]:null}function Mc(e,t){let{ownerState:n}=t,r=Ge(t,Yk);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,Kk);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 $k(e={}){const{themeId:t,defaultTheme:n=Jk,rootShouldForwardProp:r=Ip,slotShouldForwardProp:o=Ip}=e,s=a=>Ca(Z({},a,{theme:jc(Z({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{Nb(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=qk(Fx(d))}=c,v=Ge(c,Xk),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Fx(d||"Root")}`);let I=Ip;d==="Root"||d==="root"?I=r:d?I=o:Qk(a)&&(I=void 0);const F=Bb(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,M=(P,...D)=>{let L=E(P);const H=D?D.map(E):[];u&&m&&H.push(G=>{const ae=jc(Z({},G,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const le=ae.components[u].styleOverrides,J={};return Object.entries(le).forEach(([Q,z])=>{J[Q]=Mc(z,Z({},G,{theme:ae}))}),m(G,J)}),u&&!b&&H.push(G=>{var ae;const le=jc(Z({},G,{defaultTheme:n,themeId:t})),J=le==null||(ae=le.components)==null||(ae=ae[u])==null?void 0:ae.variants;return Mc({variants:J},Z({},G,{theme:le}))}),C||H.push(s);const K=H.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");L=[...P,...G],L.raw=[...P.raw,...G]}const $=F(L,...H);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${He(d||"")}`),G===void 0&&(G=`Styled(${gx(a)})`),$.displayName=G}return a.muiName&&($.muiName=a.muiName),$};return F.withConfig&&(M.withConfig=F.withConfig),M}}const Ma=$k();function Lx(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}].`),Yb(e,t,n)}function e8(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 Op(e){if(e.type)return e;if(e.charAt(0)==="#")return Op(e8(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 ci(e){const t=B.useRef(e);return _r(()=>{t.current=e}),B.useRef((...n)=>(0,t.current)(...n)).current}const Mx={};function Tk(e,t){const n=B.useRef(Mx);return n.current===Mx&&(n.current=e(t)),n}const Ek=[];function Ik(e){B.useEffect(e,Ek)}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=Tk(ja.create).current;return Ik(e.disposeEffect),e}let jc=!0,Tp=!1;const Ok=new ja,Pk={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 jk(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Pk[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Mk(e){e.metaKey||e.altKey||e.ctrlKey||(jc=!0)}function Ep(){jc=!1}function kk(){this.visibilityState==="hidden"&&Tp&&(jc=!0)}function Fk(e){e.addEventListener("keydown",Mk,!0),e.addEventListener("mousedown",Ep,!0),e.addEventListener("pointerdown",Ep,!0),e.addEventListener("touchstart",Ep,!0),e.addEventListener("visibilitychange",kk,!0)}function Lk(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return jc||jk(t)}function Ip(){const e=B.useCallback(o=>{o!=null&&Fk(o.ownerDocument)},[]),t=B.useRef(!1);function n(){return t.current?(Tp=!0,Ok.start(100,()=>{Tp=!1}),t.current=!1,!0):!1}function r(o){return Lk(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Dk(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 _k(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Rk=Number.isInteger||_k;function kx(e,t,n,r){const o=e[t];if(o==null||!Rk(o)){const s=Dk(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${s}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Fx(e,t,...n){return e[t]===void 0?null:kx(e,t,...n)}function Op(){return null}Fx.isRequired=kx,Op.isRequired=Op;const Pp=process.env.NODE_ENV==="production"?Op:Fx;function Lx(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 Dx(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=$e(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=dk(Z({},o,r)),c=Lx(r),u=Lx(o),d=t(a),h=$e(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 Bk=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function _x(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,Bk),c=s?{}:Ex(r,o),{props:u,internalRef:d}=Dx(Z({},a,{externalSlotProps:c})),h=Cn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return cs(n,Z({},u,{ref:h}),o)}const Nk=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],Vk=["component","slots","slotProps"],Wk=["component"];function zk(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:s,getSlotOwnerState:a,internalForwardedProps:c}=t,u=Ge(t,Nk),{component:d,slots:h={[e]:void 0},slotProps:g={[e]:void 0}}=s;Ge(s,Vk);const m=h[e]||r,v=Ex(g[e],o),b=Dx(Z({className:n},u,{externalForwardedProps:void 0,externalSlotProps:v})),{props:{component:C},internalRef:w}=b,E=Ge(b.props,Wk),F=Cn(w,v==null?void 0:v.ref,t.ref),I=a?a(E):{},M=Z({},o,I),P=C,D=cs(m,Z({},e==="root",!h[e]&&c,E,P&&{as:P},{ref:F}),M);return Object.keys(I).forEach(L=>{delete D[L]}),[m,D]}const Uk=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],Hk=tk(),Gk=e=>{const{classes:t,variant:n,colorDefault:r}=e;return er({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},ak,t)},Yk=de("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]})))}]})),Kk=de("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Xk=de(sk,{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 Rx=B.forwardRef(function(t,n){const r=Hk({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,Uk);let w=null;const E=Zk(Z({},h,{src:m,srcSet:v})),F=m||v,I=F&&E!=="error",M=Z({},r,{colorDefault:!I,component:c,variant:b}),P=Gk(M),[D,L]=zk("img",{className:P.img,elementType:Kk,externalForwardedProps:{slots:u,slotProps:{img:Z({},h,d.img)}},additionalProps:{alt:o,src:m,srcSet:v,sizes:g},ownerState:M});return I?w=f.jsx(D,Z({},L)):s||s===0?w=s:F&&o?w=o[0]:w=f.jsx(Xk,{ownerState:M,className:P.fallback}),f.jsx(Yk,Z({as:c,ownerState:M,className:$e(P.root,a),ref:n},C,{children:w}))});process.env.NODE_ENV!=="production"&&(Rx.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 Qk=["ownerState"],Jk=["variants"],qk=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function $k(e){return Object.keys(e).length===0}function e8(e){return typeof e=="string"&&e.charCodeAt(0)>96}function jp(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const t8=hc(),Bx=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function Mc({defaultTheme:e,theme:t,themeId:n}){return $k(t)?e:t[n]||t}function n8(e){return e?(t,n)=>n[e]:null}function kc(e,t){let{ownerState:n}=t,r=Ge(t,Qk);const o=typeof e=="function"?e(Z({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(s=>kc(s,Z({ownerState:n},r)));if(o&&typeof o=="object"&&Array.isArray(o.variants)){const{variants:s=[]}=o;let c=Ge(o,Jk);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 r8(e={}){const{themeId:t,defaultTheme:n=t8,rootShouldForwardProp:r=jp,slotShouldForwardProp:o=jp}=e,s=a=>Ca(Z({},a,{theme:Mc(Z({},a,{defaultTheme:n,themeId:t}))}));return s.__mui_systemSx=!0,(a,c={})=>{Hb(a,P=>P.filter(D=>!(D!=null&&D.__mui_systemSx)));const{name:u,slot:d,skipVariantsResolver:h,skipSx:g,overridesResolver:m=n8(Bx(d))}=c,v=Ge(c,qk),b=h!==void 0?h:d&&d!=="Root"&&d!=="root"||!1,C=g||!1;let w;process.env.NODE_ENV!=="production"&&u&&(w=`${u}-${Bx(d||"Root")}`);let E=jp;d==="Root"||d==="root"?E=r:d?E=o:e8(a)&&(E=void 0);const F=Ub(a,Z({shouldForwardProp:E,label:w},v)),I=P=>typeof P=="function"&&P.__emotion_real!==P||qr(P)?D=>kc(P,Z({},D,{theme:Mc({theme:D.theme,defaultTheme:n,themeId:t})})):P,M=(P,...D)=>{let L=I(P);const H=D?D.map(I):[];u&&m&&H.push(G=>{const ae=Mc(Z({},G,{defaultTheme:n,themeId:t}));if(!ae.components||!ae.components[u]||!ae.components[u].styleOverrides)return null;const le=ae.components[u].styleOverrides,J={};return Object.entries(le).forEach(([Q,z])=>{J[Q]=kc(z,Z({},G,{theme:ae}))}),m(G,J)}),u&&!b&&H.push(G=>{var ae;const le=Mc(Z({},G,{defaultTheme:n,themeId:t})),J=le==null||(ae=le.components)==null||(ae=ae[u])==null?void 0:ae.variants;return kc({variants:J},Z({},G,{theme:le}))}),C||H.push(s);const K=H.length-D.length;if(Array.isArray(P)&&K>0){const G=new Array(K).fill("");L=[...P,...G],L.raw=[...P.raw,...G]}const $=F(L,...H);if(process.env.NODE_ENV!=="production"){let G;u&&(G=`${u}${He(d||"")}`),G===void 0&&(G=`Styled(${xx(a)})`),$.displayName=G}return a.muiName&&($.muiName=a.muiName),$};return F.withConfig&&(M.withConfig=F.withConfig),M}}const Ma=r8();function Nx(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}].`),Jb(e,t,n)}function o8(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 Mp(e){if(e.type)return e;if(e.charAt(0)==="#")return Mp(o8(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().`:li(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.`:li(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}function
|
|
70
|
-
`))),n}return Z({},e,t)}function
|
|
71
|
-
`));const o=B.useMemo(()=>{const s=r===null?n:
|
|
72
|
-
`));const a=Wx(r,o,n),c=Wx(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(Bx,{value:u,children:f.jsx(Nx,{value:a==null?void 0:a.components,children:t})})})})}process.env.NODE_ENV!=="production"&&(Fc.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"&&(Fc.propTypes=Ic(Fc.propTypes));function Kt(){const e=ap(pp);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e[Oa]||e}const s8=["theme"];function zx(e){let{theme:t}=e,n=Ge(e,s8);const r=t[Oa];return f.jsx(Fc,Z({},n,{themeId:r?Oa:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(zx.propTypes={children:x.node,theme:x.oneOfType([x.object,x.func]).isRequired});function a8({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 l8(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 c8=fe(kx,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...l8(r),...a8({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(c8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Ux={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},Nn=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:Pp(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:Ux,title:m,action:d,subheader:r}):null,a&&m?f.jsx(S.CardHeader,{sx:Ux,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 u8(e){return Bn("MuiTypography",e)}sr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const d8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],f8=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 er(c,u8,a)},p8=fe("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})),Hx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},h8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},g8=e=>h8[e]||e,Gx=B.forwardRef(function(t,n){const r=or({props:t,name:"MuiTypography"}),o=g8(r.color),s=Wb(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=Hx}=s,b=Ge(s,d8),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]||Hx[m])||"span",I=f8(C);return f.jsx(p8,Z({as:w,ref:n,ownerState:C,className:lt(I.root,c)},b))});process.env.NODE_ENV!=="production"&&(Gx.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 m8=bp(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 Mp(e,t){return Mp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Mp(e,t)}function kp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mp(e,t)}const Yx={disabled:!1};var v8=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 y8=function(t){return t.scrollTop},ka="unmounted",ui="exited",di="entering",fs="entered",Fp="exiting",eo=function(e){kp(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=ui,s.appearStatus=di):u=fs:r.unmountOnExit||r.mountOnEnter?u=ka:u=ui,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ka?{status:ui}: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!==di&&a!==fs&&(s=di):(a===di||a===fs)&&(s=Fp)}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===di){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Hi.findDOMNode(this);a&&y8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ui&&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||Yx.disabled){this.safeSetState({status:fs},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:di},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||Yx.disabled){this.safeSetState({status:ui},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Fp},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ui},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=v8;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=ui,eo.ENTERING=di,eo.ENTERED=fs,eo.EXITING=Fp;function b8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lp(e,t){var n=function(s){return t&&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 x8(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 fi(e,t,n){return n[t]!=null?n[t]:e.props[t]}function C8(e,t){return Lp(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:fi(n,"appear",e),enter:fi(n,"enter",e),exit:fi(n,"exit",e)})})}function w8(e,t,n){var r=Lp(e.children),o=x8(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:fi(a,"exit",e),enter:fi(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:fi(a,"exit",e),enter:fi(a,"enter",e)}))}}),o}var S8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},A8={component:"div",childFactory:function(t){return t}},Dp=function(e){kp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(b8(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?C8(o,c):w8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=Lp(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(s),this.mounted&&this.setState(function(c){var u=Z({},c.children);return delete u[o.key],{children:u}}))},n.render=function(){var o=this.props,s=o.component,a=o.childFactory,c=Ge(o,["component","childFactory"]),u=this.state.contextValue,d=S8(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);Dp.propTypes=process.env.NODE_ENV!=="production"?{component:x.any,children:x.node,appear:x.bool,enter:x.bool,exit:x.bool,childFactory:x.func}:{},Dp.defaultProps=A8;function Kx(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"&&(Kx.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=sr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),T8=["center","classes","className"];let _c=e=>e,Xx,Zx,Qx,Jx;const _p=550,E8=80,I8=Nt.keyframes(Xx||(Xx=_c`
|
|
69
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:li(10,o))}else r=r.split(",");return r=r.map(s=>parseFloat(s)),{type:n,values:r,colorSpace:o}}function Vx(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 nt(e,t){return e=Mp(e),t=Nx(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Vx(e)}function kp(e,t){if(e=Mp(e),t=Nx(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 Vx(e)}const Fp=B.createContext(null);process.env.NODE_ENV!=="production"&&(Fp.displayName="ThemeContext");function Wx(){const e=B.useContext(Fp);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e}const i8=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function s8(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 Fc(e){const{children:t,theme:n}=e,r=Wx();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:s8(r,n);return s!=null&&(s[i8]=r!==null),s},[n,r]);return f.jsx(Fp.Provider,{value:o,children:t})}process.env.NODE_ENV!=="production"&&(Fc.propTypes={children:x.node,theme:x.oneOfType([x.object,x.func]).isRequired}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Fc.propTypes=Oc(Fc.propTypes));const a8=["value"],zx=B.createContext();function Ux(e){let{value:t}=e,n=Ge(e,a8);return f.jsx(zx.Provider,Z({value:t??!0},n))}process.env.NODE_ENV!=="production"&&(Ux.propTypes={children:x.node,value:x.bool});const l8=()=>{const e=B.useContext(zx);return e??!1},c8=B.createContext(void 0);function Hx({value:e,children:t}){return f.jsx(c8.Provider,{value:e,children:t})}process.env.NODE_ENV!=="production"&&(Hx.propTypes={children:x.node,value:x.object});const Gx={};function Yx(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=Gb(Gx),s=Wx()||Gx;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=Yx(r,o,n),c=Yx(r,s,n,!0),u=a.direction==="rtl";return f.jsx(Fc,{theme:c,children:f.jsx(Nt.ThemeContext.Provider,{value:a,children:f.jsx(Ux,{value:u,children:f.jsx(Hx,{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=Oc(Lc.propTypes));function Kt(){const e=up(mp);return process.env.NODE_ENV!=="production"&&B.useDebugValue(e),e[Oa]||e}const u8=["theme"];function Kx(e){let{theme:t}=e,n=Ge(e,u8);const r=t[Oa];return f.jsx(Lc,Z({},n,{themeId:r?Oa:void 0,theme:r||t}))}process.env.NODE_ENV!=="production"&&(Kx.propTypes={children:x.node,theme:x.oneOfType([x.object,x.func]).isRequired});function d8({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 f8(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 p8=de(Rx,{shouldForwardProp:e=>e!=="color"&&e!=="type"&&e!=="size"})(({theme:e,color:t,type:n,size:r})=>({...f8(r),...d8({theme:e,color:t,type:n}),...r==="badge"&&{borderColor:e.palette.background.default}}));function Dc({variant:e="circular",children:t,color:n="primary",type:r,size:o="md",...s}){const a=Kt();return f.jsx(p8,{variant:e,theme:a,color:n,type:r,size:o,...s,children:t})}const Xx={p:2.5,"& .MuiCardHeader-action":{m:"0px auto",alignSelf:"center"}},Nn=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 E=Kt();return t=E.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:E.palette.mode==="dark"?E.palette.divider:E.palette.grey.A800,boxShadow:t&&(!e||E.palette.mode==="dark")?h||E.customShadows.z0:"inherit",":hover":{boxShadow:t?h||E.customShadows.z0:"inherit"},backgroundColor:b==="default"?E.palette.background.paper:kp(b==="primary"?E.palette.primary[100]:E.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:Xx,title:m,action:d,subheader:r}):null,a&&m?f.jsx(S.CardHeader,{sx:Xx,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 h8(e){return Bn("MuiTypography",e)}sr("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const g8=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],m8=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 er(c,h8,a)},v8=de("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})),Zx={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y8={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},b8=e=>y8[e]||e,Qx=B.forwardRef(function(t,n){const r=or({props:t,name:"MuiTypography"}),o=b8(r.color),s=Yb(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=Zx}=s,b=Ge(s,g8),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]||Zx[m])||"span",E=m8(C);return f.jsx(v8,Z({as:w,ref:n,ownerState:C,className:$e(E.root,c)},b))});process.env.NODE_ENV!=="production"&&(Qx.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 x8=wp(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 Lp(e,t){return Lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Lp(e,t)}function Dp(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lp(e,t)}const Jx={disabled:!1};var C8=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 _c=T.createContext(null);var w8=function(t){return t.scrollTop},ka="unmounted",ui="exited",di="entering",fs="entered",_p="exiting",eo=function(e){Dp(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=ui,s.appearStatus=di):u=fs:r.unmountOnExit||r.mountOnEnter?u=ka:u=ui,s.state={status:u},s.nextCallback=null,s}t.getDerivedStateFromProps=function(o,s){var a=o.in;return a&&s.status===ka?{status:ui}: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!==di&&a!==fs&&(s=di):(a===di||a===fs)&&(s=_p)}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===di){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:Hi.findDOMNode(this);a&&w8(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ui&&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||Jx.disabled){this.safeSetState({status:fs},function(){s.props.onEntered(d)});return}this.props.onEnter(d,h),this.safeSetState({status:di},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||Jx.disabled){this.safeSetState({status:ui},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:_p},function(){o.props.onExiting(c),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:ui},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(_c.Provider,{value:null},typeof a=="function"?a(o,c):T.cloneElement(T.Children.only(a),c))},t}(T.Component);eo.contextType=_c,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=C8;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=ui,eo.ENTERING=di,eo.ENTERED=fs,eo.EXITING=_p;function S8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rp(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 A8(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 fi(e,t,n){return n[t]!=null?n[t]:e.props[t]}function T8(e,t){return Rp(e.children,function(n){return T.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:fi(n,"appear",e),enter:fi(n,"enter",e),exit:fi(n,"exit",e)})})}function E8(e,t,n){var r=Rp(e.children),o=A8(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:fi(a,"exit",e),enter:fi(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:fi(a,"exit",e),enter:fi(a,"enter",e)}))}}),o}var I8=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},O8={component:"div",childFactory:function(t){return t}},Bp=function(e){Dp(t,e);function t(r,o){var s;s=e.call(this,r,o)||this;var a=s.handleExited.bind(S8(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?T8(o,c):E8(o,a,c),firstRender:!1}},n.handleExited=function(o,s){var a=Rp(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=I8(this.state.children).map(a);return delete c.appear,delete c.enter,delete c.exit,s===null?T.createElement(_c.Provider,{value:u},d):T.createElement(_c.Provider,{value:u},T.createElement(s,c,d))},t}(T.Component);Bp.propTypes=process.env.NODE_ENV!=="production"?{component:x.any,children:x.node,appear:x.bool,enter:x.bool,exit:x.bool,childFactory:x.func}:{},Bp.defaultProps=O8;function qx(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=$e(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:a,height:a,top:-(a/2)+s,left:-(a/2)+o},b=$e(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"&&(qx.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=sr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),P8=["center","classes","className"];let Rc=e=>e,$x,e1,t1,n1;const Np=550,j8=80,M8=Nt.keyframes($x||($x=Rc`
|
|
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
|
+
`)),k8=Nt.keyframes(e1||(e1=Rc`
|
|
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
|
+
`)),F8=Nt.keyframes(t1||(t1=Rc`
|
|
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
|
+
`)),L8=de("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),D8=de(qx,{name:"MuiTouchRipple",slot:"Ripple"})(n1||(n1=Rc`
|
|
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 _e=Z({},r,{centerRipple:s,component:u,disabled:d,disableRipple:h,disableTouchRipple:g,focusRipple:m,tabIndex:ae,focusVisible:pe}),Oe=
|
|
147
|
-
`)),L):[...L.slice(0,g),f.jsx(
|
|
148
|
-
`)),B.isValidElement(L))).map((L,H)=>f.jsx("li",{className:F.li,children:L},`child-${H}`));return f.jsx(
|
|
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
|
|
150
|
-
`)),Ub.configure(e)}},unstable_useEnhancedEffect:_r,unstable_useId:Cp,unsupportedProp:xk,useControlled:Tx,useEventCallback:ci,useForkRef:Cn,useIsFocusVisible:Ap},Symbol.toStringTag,{value:"Module"}));function r9(e){return typeof e=="string"}function o9(e,t,n){return e===void 0||r9(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const i9={disableDefaultClasses:!1},s9=B.createContext(i9);function a9(e){const{disableDefaultClasses:t}=B.useContext(s9);return n=>t?"":e(n)}function l9(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 c9(e,t,n){return typeof e=="function"?e(t,n):e}function t1(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 u9(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=l9(Z({},o,r)),c=t1(r),u=t1(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 d9=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function f9(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,d9),c=s?{}:c9(r,o),{props:u,internalRef:d}=u9(Z({},a,{externalSlotProps:c})),h=Cn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return o9(n,Z({},u,{ref:h}),o)}var wn="top",lr="bottom",cr="right",Sn="left",Np="auto",Fa=[wn,lr,cr,Sn],gs="start",La="end",p9="clippingParents",n1="viewport",Da="popper",h9="reference",r1=Fa.reduce(function(e,t){return e.concat([t+"-"+gs,t+"-"+La])},[]),o1=[].concat(Fa,[Np]).reduce(function(e,t){return e.concat([t,t+"-"+gs,t+"-"+La])},[]),g9="beforeRead",m9="read",v9="afterRead",y9="beforeMain",b9="main",x9="afterMain",C9="beforeWrite",w9="write",S9="afterWrite",A9=[g9,m9,v9,y9,b9,x9,C9,w9,S9];function Rr(e){return e?(e.nodeName||"").toLowerCase():null}function Vn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pi(e){var t=Vn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Vn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Vp(e){if(typeof ShadowRoot>"u")return!1;var t=Vn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function T9(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 E9(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 I9={name:"applyStyles",enabled:!0,phase:"write",fn:T9,effect:E9,requires:["computeStyles"]};function Br(e){return e.split("-")[0]}var hi=Math.max,Vc=Math.min,ms=Math.round;function Wp(){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 i1(){return!/^((?!chrome|android).)*safari/i.test(Wp())}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=pi(e)?Vn(e):window,c=a.visualViewport,u=!i1()&&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 zp(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 s1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Vp(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 Vn(e).getComputedStyle(e)}function O9(e){return["table","td","th"].indexOf(Rr(e))>=0}function Mo(e){return((pi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Wc(e){return Rr(e)==="html"?e:e.assignedSlot||e.parentNode||(Vp(e)?e.host:null)||Mo(e)}function a1(e){return!ur(e)||to(e).position==="fixed"?null:e.offsetParent}function P9(e){var t=/firefox/i.test(Wp()),n=/Trident/i.test(Wp());if(n&&ur(e)){var r=to(e);if(r.position==="fixed")return null}var o=Wc(e);for(Vp(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=Vn(e),n=a1(e);n&&O9(n)&&to(n).position==="static";)n=a1(n);return n&&(Rr(n)==="html"||Rr(n)==="body"&&to(n).position==="static")?t:n||P9(e)||t}function Up(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ra(e,t,n){return hi(e,Vc(t,n))}function j9(e,t,n){var r=Ra(e,t,n);return r>n?n:r}function l1(){return{top:0,right:0,bottom:0,left:0}}function c1(e){return Object.assign({},l1(),e)}function u1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var M9=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,c1(typeof t!="number"?t:u1(t,Fa))};function k9(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=Up(c),d=[Sn,cr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=M9(o.padding,n),m=zp(s),v=u==="y"?wn:Sn,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),F=I?u==="y"?I.clientHeight||0:I.clientWidth||0:0,E=C/2-w/2,M=g[v],P=F-m[h]-g[b],D=F/2-m[h]/2+E,L=Ra(M,D,P),H=u;n.modifiersData[r]=(t={},t[H]=L,t.centerOffset=L-D,t)}}function F9(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)||s1(t.elements.popper,o)&&(t.elements.arrow=o))}const L9={name:"arrow",enabled:!0,phase:"main",fn:k9,effect:F9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ys(e){return e.split("-")[1]}var D9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function _9(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 d1(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"),F=a.hasOwnProperty("y"),E=Sn,M=wn,P=window;if(d){var D=_a(n),L="clientHeight",H="clientWidth";if(D===Vn(n)&&(D=Mo(n),to(D).position!=="static"&&c==="absolute"&&(L="scrollHeight",H="scrollWidth")),D=D,o===wn||(o===Sn||o===cr)&&s===La){M=lr;var K=g&&D===P&&P.visualViewport?P.visualViewport.height:D[L];C-=K-r.height,C*=u?1:-1}if(o===Sn||(o===wn||o===lr)&&s===La){E=cr;var $=g&&D===P&&P.visualViewport?P.visualViewport.width:D[H];v-=$-r.width,v*=u?1:-1}}var G=Object.assign({position:c},d&&D9),ae=h===!0?_9({x:v,y:C},Vn(n)):{x:v,y:C};if(v=ae.x,C=ae.y,u){var le;return Object.assign({},G,(le={},le[M]=F?"0":"",le[E]=I?"0":"",le.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+C+"px)":"translate3d("+v+"px, "+C+"px, 0)",le))}return Object.assign({},G,(t={},t[M]=F?C+"px":"",t[E]=I?v+"px":"",t.transform="",t))}function R9(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,d1(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,d1(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 B9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:R9,data:{}};var zc={passive:!0};function N9(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=Vn(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 V9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:N9,data:{}};var W9={left:"right",right:"left",bottom:"top",top:"bottom"};function Uc(e){return e.replace(/left|right|bottom|top/g,function(t){return W9[t]})}var z9={start:"end",end:"start"};function f1(e){return e.replace(/start|end/g,function(t){return z9[t]})}function Hp(e){var t=Vn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Gp(e){return vs(Mo(e)).left+Hp(e).scrollLeft}function U9(e,t){var n=Vn(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=i1();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Gp(e),y:u}}function H9(e){var t,n=Mo(e),r=Hp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=hi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=hi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Gp(e),u=-r.scrollTop;return to(o||n).direction==="rtl"&&(c+=hi(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Yp(e){var t=to(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function p1(e){return["html","body","#document"].indexOf(Rr(e))>=0?e.ownerDocument.body:ur(e)&&Yp(e)?e:p1(Wc(e))}function Ba(e,t){var n;t===void 0&&(t=[]);var r=p1(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Vn(r),a=o?[s].concat(s.visualViewport||[],Yp(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Ba(Wc(a)))}function Kp(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function G9(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 h1(e,t,n){return t===n1?Kp(U9(e,n)):pi(t)?G9(t,n):Kp(H9(Mo(e)))}function Y9(e){var t=Ba(Wc(e)),n=["absolute","fixed"].indexOf(to(e).position)>=0,r=n&&ur(e)?_a(e):e;return pi(r)?t.filter(function(o){return pi(o)&&s1(o,r)&&Rr(o)!=="body"}):[]}function K9(e,t,n,r){var o=t==="clippingParents"?Y9(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=h1(e,d,r);return u.top=hi(h.top,u.top),u.right=Vc(h.right,u.right),u.bottom=Vc(h.bottom,u.bottom),u.left=hi(h.left,u.left),u},h1(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 g1(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 wn: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 Sn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Up(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?p9:c,d=n.rootBoundary,h=d===void 0?n1: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=c1(typeof w!="number"?w:u1(w,Fa)),F=m===Da?h9:Da,E=e.rects.popper,M=e.elements[b?F:m],P=K9(pi(M)?M:M.contextElement||Mo(e.elements.popper),u,h,a),D=vs(e.elements.reference),L=g1({reference:D,element:E,strategy:"absolute",placement:o}),H=Kp(Object.assign({},E,L)),K=m===Da?H:D,$={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 ae=G[o];Object.keys($).forEach(function(le){var J=[cr,lr].indexOf(le)>=0?1:-1,Q=[wn,lr].indexOf(le)>=0?"y":"x";$[le]+=ae[Q]*J})}return $}function X9(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?o1:u,h=ys(r),g=h?c?r1:r1.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,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 Z9(e){if(Br(e)===Np)return[];var t=Uc(e);return[f1(e),t,f1(t)]}function Q9(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),F=I===w,E=u||(F||!b?[Uc(w)]:Z9(w)),M=[w].concat(E).reduce(function(pe,ge){return pe.concat(Br(ge)===Np?X9(t,{placement:ge,boundary:h,rootBoundary:g,padding:d,flipVariations:b,allowedAutoPlacements:C}):ge)},[]),P=t.rects.reference,D=t.rects.popper,L=new Map,H=!0,K=M[0],$=0;$<M.length;$++){var G=M[$],ae=Br(G),le=ys(G)===gs,J=[wn,lr].indexOf(ae)>=0,Q=J?"width":"height",z=Na(t,{placement:G,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),ne=J?le?cr:Sn:le?lr:wn;P[Q]>D[Q]&&(ne=Uc(ne));var W=Uc(ne),te=[];if(s&&te.push(z[ae]<=0),c&&te.push(z[ne]<=0,z[W]<=0),te.every(function(pe){return pe})){K=G,H=!1;break}L.set(G,te)}if(H)for(var V=b?3:1,X=function(ge){var ve=M.find(function(Te){var Ce=L.get(Te);if(Ce)return Ce.slice(0,ge).every(function(be){return be})});if(ve)return K=ve,"break"},ue=V;ue>0;ue--){var he=X(ue);if(he==="break")break}t.placement!==K&&(t.modifiersData[r]._skip=!0,t.placement=K,t.reset=!0)}}const J9={name:"flip",enabled:!0,phase:"main",fn:Q9,requiresIfExists:["offset"],data:{_skip:!1}};function m1(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 v1(e){return[wn,cr,lr,Sn].some(function(t){return e[t]>=0})}function q9(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=m1(a,r),d=m1(c,o,s),h=v1(u),g=v1(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 $9={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:q9};function eF(e,t,n){var r=Br(e),o=[Sn,wn].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,[Sn,cr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function tF(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=o1.reduce(function(h,g){return h[g]=eF(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 nF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tF};function rF(e){var t=e.state,n=e.name;t.modifiersData[n]=g1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const oF={name:"popperOffsets",enabled:!0,phase:"read",fn:rF,data:{}};function iF(e){return e==="x"?"y":"x"}function sF(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),F=ys(t.placement),E=!F,M=Up(I),P=iF(M),D=t.modifiersData.popperOffsets,L=t.rects.reference,H=t.rects.popper,K=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,$=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ae={x:0,y:0};if(D){if(s){var le,J=M==="y"?wn:Sn,Q=M==="y"?lr:cr,z=M==="y"?"height":"width",ne=D[M],W=ne+w[J],te=ne-w[Q],V=v?-H[z]/2:0,X=F===gs?L[z]:H[z],ue=F===gs?-H[z]:-L[z],he=t.elements.arrow,pe=v&&he?zp(he):{width:0,height:0},ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:l1(),ve=ge[J],Te=ge[Q],Ce=Ra(0,L[z],pe[z]),be=E?L[z]/2-V-Ce-ve-$.mainAxis:X-Ce-ve-$.mainAxis,we=E?-L[z]/2+V+Ce+Te+$.mainAxis:ue+Ce+Te+$.mainAxis,Ie=t.elements.arrow&&_a(t.elements.arrow),de=Ie?M==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,qe=(le=G==null?void 0:G[M])!=null?le:0,me=ne+be-qe-de,Qe=ne+we-qe,ln=Ra(v?Vc(W,me):W,ne,v?hi(te,Qe):te);D[M]=ln,ae[M]=ln-ne}if(c){var Et,yt=M==="x"?wn:Sn,Gn=M==="x"?lr:cr,It=D[P],bt=P==="y"?"height":"width",Xt=It+w[yt],xt=It-w[Gn],zt=[wn,Sn].indexOf(I)!==-1,Ot=(Et=G==null?void 0:G[P])!=null?Et:0,Le=zt?Xt:It-L[bt]-H[bt]-Ot+$.altAxis,_e=zt?It+L[bt]+H[bt]-Ot-$.altAxis:xt,Oe=v&&zt?j9(Le,It,_e):Ra(v?Le:Xt,It,v?_e:xt);D[P]=Oe,ae[P]=Oe-It}t.modifiersData[r]=ae}}const aF={name:"preventOverflow",enabled:!0,phase:"main",fn:sF,requiresIfExists:["offset"]};function lF(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function cF(e){return e===Vn(e)||!ur(e)?Hp(e):lF(e)}function uF(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 dF(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&uF(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"||Yp(s))&&(c=cF(t)),ur(t)?(u=vs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Gp(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function fF(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 pF(e){var t=fF(e);return A9.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function hF(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function gF(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 y1={placement:"bottom",modifiers:[],strategy:"absolute"};function b1(){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 mF(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?y1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},y1,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;C(),h.options=Object.assign({},s,h.options,F),h.scrollParents={reference:pi(c)?Ba(c):c.contextElement?Ba(c.contextElement):[],popper:Ba(u)};var E=pF(gF([].concat(r,h.options.modifiers)));return h.orderedModifiers=E.filter(function(M){return M.enabled}),b(),v.update()},forceUpdate:function(){if(!m){var I=h.elements,F=I.reference,E=I.popper;if(b1(F,E)){h.rects={reference:dF(F,_a(E),h.options.strategy==="fixed"),popper:zp(E)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function($){return h.modifiersData[$.name]=Object.assign({},$.data)});for(var M=0;M<h.orderedModifiers.length;M++){if(h.reset===!0){h.reset=!1,M=-1;continue}var P=h.orderedModifiers[M],D=P.fn,L=P.options,H=L===void 0?{}:L,K=P.name;typeof D=="function"&&(h=D({state:h,options:H,name:K,instance:v})||h)}}}},update:hF(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){C(),m=!0}};if(!b1(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,M=w.effect;if(typeof M=="function"){var P=M({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 vF=[V9,oF,B9,I9,nF,J9,aF,L9,$9],x1=mF({defaultModifiers:vF});function yF(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=Cn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(yF(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&&k0.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 bF(e){return Bn("MuiPopper",e)}sr("MuiPopper",["root"]);const xF=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],CF=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function wF(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 SF(e){return!Yc(e)}const AF=()=>er({root:["root"]},a9(bF)),TF={},EF=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,xF),I=B.useRef(null),F=Cn(I,n),E=B.useRef(null),M=Cn(E,m),P=B.useRef(M);_r(()=>{P.current=M},[M]),B.useImperativeHandle(m,()=>E.current,[]);const D=wF(h,a),[L,H]=B.useState(D),[K,$]=B.useState(Gc(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&$(Gc(o))},[o]),_r(()=>{if(!K||!d)return;const Q=W=>{H(W.placement)};if(process.env.NODE_ENV!=="production"&&K&&Yc(K)&&K.nodeType===1){const W=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&W.top===0&&W.left===0&&W.right===0&&W.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:W})=>{Q(W)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const ne=
|
|
152
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||
|
|
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:
|
|
145
|
+
`),ar.rippleVisible,M8,Np,({theme:e})=>e.transitions.easing.easeInOut,ar.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,ar.child,ar.childLeaving,k8,Np,({theme:e})=>e.transitions.easing.easeInOut,ar.childPulsate,F8,({theme:e})=>e.transitions.easing.easeInOut),r1=B.forwardRef(function(t,n){const r=or({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:s={},className:a}=r,c=Ge(r,P8),[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(M=>{const{pulsate:P,rippleX:D,rippleY:L,rippleSize:H,cb:K}=M;d($=>[...$,f.jsx(D8,{classes:{ripple:$e(s.ripple,ar.ripple),rippleVisible:$e(s.rippleVisible,ar.rippleVisible),ripplePulsate:$e(s.ripplePulsate,ar.ripplePulsate),child:$e(s.child,ar.child),childLeaving:$e(s.childLeaving,ar.childLeaving),childPulsate:$e(s.childPulsate,ar.childPulsate)},timeout:Np,pulsate:P,rippleX:D,rippleY:L,rippleSize:H},h.current)]),h.current+=1,g.current=K},[s]),E=B.useCallback((M={},P={},D=()=>{})=>{const{pulsate:L=!1,center:H=o||P.pulsate,fakeElement:K=!1}=P;if((M==null?void 0:M.type)==="mousedown"&&m.current){m.current=!1;return}(M==null?void 0:M.type)==="touchstart"&&(m.current=!0);const $=K?null:C.current,G=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let ae,le,J;if(H||M===void 0||M.clientX===0&&M.clientY===0||!M.clientX&&!M.touches)ae=Math.round(G.width/2),le=Math.round(G.height/2);else{const{clientX:Q,clientY:z}=M.touches&&M.touches.length>0?M.touches[0]:M;ae=Math.round(Q-G.left),le=Math.round(z-G.top)}if(H)J=Math.sqrt((2*G.width**2+G.height**2)/3),J%2===0&&(J+=1);else{const Q=Math.max(Math.abs(($?$.clientWidth:0)-ae),ae)*2+2,z=Math.max(Math.abs(($?$.clientHeight:0)-le),le)*2+2;J=Math.sqrt(Q**2+z**2)}M!=null&&M.touches?b.current===null&&(b.current=()=>{w({pulsate:L,rippleX:ae,rippleY:le,rippleSize:J,cb:D})},v.start(j8,()=>{b.current&&(b.current(),b.current=null)})):w({pulsate:L,rippleX:ae,rippleY:le,rippleSize:J,cb:D})},[o,w,v]),F=B.useCallback(()=>{E({},{pulsate:!0})},[E]),I=B.useCallback((M,P)=>{if(v.clear(),(M==null?void 0:M.type)==="touchend"&&b.current){b.current(),b.current=null,v.start(0,()=>{I(M,P)});return}b.current=null,d(D=>D.length>0?D.slice(1):D),g.current=P},[v]);return B.useImperativeHandle(n,()=>({pulsate:F,start:E,stop:I}),[F,E,I]),f.jsx(L8,Z({className:$e(ar.root,s.root,a),ref:C},c,{children:f.jsx(Bp,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(r1.propTypes={center:x.bool,classes:x.object,className:x.string});function _8(e){return Bn("MuiButtonBase",e)}const R8=sr("MuiButtonBase",["root","disabled","focusVisible"]),B8=["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"],N8=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=er({root:["root",t&&"disabled",n&&"focusVisible"]},_8,o);return n&&r&&(a.root+=` ${r}`),a},V8=de("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"},[`&.${R8.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Bc=B.forwardRef(function(t,n){const r=or({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:E,onFocus:F,onFocusVisible:I,onKeyDown:M,onKeyUp:P,onMouseDown:D,onMouseLeave:L,onMouseUp:H,onTouchEnd:K,onTouchMove:$,onTouchStart:G,tabIndex:ae=0,TouchRippleProps:le,touchRippleRef:J,type:Q}=r,z=Ge(r,B8),ne=B.useRef(null),W=B.useRef(null),te=Cn(W,J),{isFocusVisibleRef:V,onFocus:X,onBlur:ue,ref:he}=Ip(),[pe,ge]=B.useState(!1);d&&pe&&ge(!1),B.useImperativeHandle(o,()=>({focusVisible:()=>{ge(!0),ne.current.focus()}}),[]);const[ve,Te]=B.useState(!1);B.useEffect(()=>{Te(!0)},[]);const Ce=ve&&!h&&!d;B.useEffect(()=>{pe&&m&&!h&&ve&&W.current.pulsate()},[h,m,pe,ve]);function be(xe,ht,Ut=g){return ci(Be=>(ht&&ht(Be),!Ut&&W.current&&W.current[xe](Be),!0))}const we=be("start",D),Ie=be("stop",w),fe=be("stop",E),qe=be("stop",H),me=be("stop",xe=>{pe&&xe.preventDefault(),L&&L(xe)}),Qe=be("start",G),ln=be("stop",K),Et=be("stop",$),yt=be("stop",xe=>{ue(xe),V.current===!1&&ge(!1),b&&b(xe)},!1),Gn=ci(xe=>{ne.current||(ne.current=xe.currentTarget),X(xe),V.current===!0&&(ge(!0),I&&I(xe)),F&&F(xe)}),It=()=>{const xe=ne.current;return u&&u!=="button"&&!(xe.tagName==="A"&&xe.href)},bt=B.useRef(!1),Xt=ci(xe=>{m&&!bt.current&&pe&&W.current&&xe.key===" "&&(bt.current=!0,W.current.stop(xe,()=>{W.current.start(xe)})),xe.target===xe.currentTarget&&It()&&xe.key===" "&&xe.preventDefault(),M&&M(xe),xe.target===xe.currentTarget&&It()&&xe.key==="Enter"&&!d&&(xe.preventDefault(),C&&C(xe))}),xt=ci(xe=>{m&&xe.key===" "&&W.current&&pe&&!xe.defaultPrevented&&(bt.current=!1,W.current.stop(xe,()=>{W.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=Q===void 0?"button":Q,Ot.disabled=d):(!z.href&&!z.to&&(Ot.role="button"),d&&(Ot["aria-disabled"]=d));const Le=Cn(n,he,ne);process.env.NODE_ENV!=="production"&&B.useEffect(()=>{Ce&&!W.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:ae,focusVisible:pe}),Oe=N8(_e);return f.jsxs(V8,Z({as:zt,className:$e(Oe.root,c),ownerState:_e,onBlur:yt,onClick:C,onContextMenu:Ie,onFocus:Gn,onKeyDown:Xt,onKeyUp:xt,onMouseDown:we,onMouseLeave:me,onMouseUp:qe,onDragLeave:fe,onTouchEnd:ln,onTouchMove:Et,onTouchStart:Qe,ref:Le,tabIndex:d?-1:ae,type:Q},Ot,z,{children:[a,Ce?f.jsx(r1,Z({ref:te,center:s},le)):null]}))});process.env.NODE_ENV!=="production"&&(Bc.propTypes={action:Pc,centerRipple:x.bool,children:x.node,classes:x.object,className:x.string,component:gk,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 W8=["slots","slotProps"],z8=de(Bc)(({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:$b(e.palette.grey[200],.12)}:{backgroundColor:$b(e.palette.grey[600],.12)})})),U8=de(x8)({width:24,height:16});function o1(e){const{slots:t={},slotProps:n={}}=e,r=Ge(e,W8),o=e;return f.jsx("li",{children:f.jsx(z8,Z({focusRipple:!0},r,{ownerState:o,children:f.jsx(U8,Z({as:t.CollapsedIcon,ownerState:o},n.collapsedIcon))}))})}process.env.NODE_ENV!=="production"&&(o1.propTypes={slotProps:x.shape({collapsedIcon:x.oneOfType([x.func,x.object])}),slots:x.shape({CollapsedIcon:x.elementType}),sx:x.object});function H8(e){return Bn("MuiBreadcrumbs",e)}const G8=sr("MuiBreadcrumbs",["root","ol","li","separator"]),Y8=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],K8=e=>{const{classes:t}=e;return er({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},H8,t)},X8=de(Qx,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{[`& .${G8.li}`]:t.li},t.root]})({}),Z8=de("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),Q8=de("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function J8(e,t,n,r){return e.reduce((o,s,a)=>(a<e.length-1?o=o.concat(s,f.jsx(Q8,{"aria-hidden":!0,className:t,ownerState:r,children:n},`separator-${a}`)):o.push(s),o),[])}const Nc=B.forwardRef(function(t,n){const r=or({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,Y8),[C,w]=B.useState(!1),E=Z({},r,{component:a,expanded:C,expandText:d,itemsAfterCollapse:h,itemsBeforeCollapse:g,maxItems:m,separator:v}),F=K8(E),I=_x({elementType:c.CollapsedIcon,externalSlotProps:u.collapsedIcon,ownerState:E}),M=B.useRef(null),P=L=>{const H=()=>{w(!0);const K=M.current.querySelector("a[href],button,[tabindex]");K&&K.focus()};return g+h>=L.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
|
+
`)),L):[...L.slice(0,g),f.jsx(o1,{"aria-label":d,slots:{CollapsedIcon:c.CollapsedIcon},slotProps:{collapsedIcon:I},onClick:H},"ellipsis"),...L.slice(L.length-h,L.length)]},D=B.Children.toArray(o).filter(L=>(process.env.NODE_ENV!=="production"&&xp.isFragment(L)&&console.error(["MUI: The Breadcrumbs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
148
|
+
`)),B.isValidElement(L))).map((L,H)=>f.jsx("li",{className:F.li,children:L},`child-${H}`));return f.jsx(X8,Z({ref:n,component:a,color:"text.secondary",className:$e(F.root,s),ownerState:E},b,{children:f.jsx(Z8,{className:F.ol,ref:M,ownerState:E,children:J8(C||m&&D.length<=m?D:P(D),F.separator,v,E)})}))});process.env.NODE_ENV!=="production"&&(Nc.propTypes={children:x.node,classes:x.object,className:x.string,component:x.elementType,expandText:x.string,itemsAfterCollapse:Pp,itemsBeforeCollapse:Pp,maxItems:Pp,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 q8({id:e,title:t,icon:n,url:r,last:o}){const s=n||Ke.ApartmentOutlined;return f.jsxs(S.Typography,{component:ct.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 i1({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=ct.useLocation(),[E,F]=T.useState(),[I,M]=T.useState(),P=w.pathname,D={marginRight:C.spacing(.75),marginTop:`-${C.spacing(.25)}`,width:"1rem",height:"1rem",color:C.palette.secondary.main};function L(ne){ne.children&&ne.children.filter(W=>(W.type&&W.type==="collapse"?(L(W),W.url===P&&(F(W),M(W))):W.type&&W.type==="item"&&P.includes(W.url)&&(F(ne),M(W)),!1))}T.useEffect(()=>{var ne;(ne=a==null?void 0:a.items)==null||ne.map(W=>(W.type&&W.type==="group"&&L(W),!1))});const H=u,K=u?f.jsx(H,{style:{fontSize:"0.75rem",marginTop:2}}):"/",$={mb:2,bgcolor:t===!1?"transparent":"inherit",...g,[C.breakpoints.down("sm")]:{mb:1}};let G,ae,le=f.jsx(S.Typography,{}),J="",Q,z;return v==="breadcrumbs"?f.jsxs(Nn,{border:t,sx:$,...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:I.title})}):null,f.jsx(S.Grid,{item:!0,children:f.jsxs(Nc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,sx:{[C.breakpoints.down("sm")]:{mt:1}},children:[e!==!1&&f.jsxs(S.Typography,{component:ct.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(q8)]})}),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==="collapse"&&E.breadcrumbs===!0&&(Q=E.icon?E.icon:Ke.ApartmentOutlined,G=f.jsxs(S.Typography,{component:ct.Link,to:(I==null?void 0:I.url)||document.location.pathname,variant:"h6",sx:{textDecoration:"none"},color:"textSecondary",children:[o?f.jsx(Q,{style:D}):null,E.title]}),le=f.jsxs(Nn,{border:t,sx:$,...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(Nc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,children:[e!==!1&&f.jsxs(S.Typography,{component:ct.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:E.title})}):null]}),t===!1&&n!==!1&&f.jsx(S.Divider,{sx:{mt:2}})]})),I&&I.type==="item"&&(J=I.title,z=I.icon?I.icon:Ke.ApartmentOutlined,ae=f.jsxs(S.Typography,{variant:"subtitle1",color:"textPrimary",component:ct.Link,to:I.url,sx:{textDecoration:"none"},children:[o?f.jsx(z,{style:D}):null,J]}),I.breadcrumbs!==!1&&(le=f.jsxs(Nn,{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:I.title})}):null,f.jsx(S.Grid,{item:!0,children:f.jsxs(Nc,{"aria-label":"breadcrumb",maxItems:s||8,separator:K,children:[e!==!1&&f.jsxs(S.Typography,{component:ct.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,ae]})}),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}})]}))),le)}function Vp({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 $8(e){return Bn("MuiIconButton",e)}const e9=sr("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),t9=["edge","children","className","color","disabled","disableFocusRipple","size"],n9=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 er(a,$8,t)},r9=de(Bc,{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)},{[`&.${e9.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),Wp=B.forwardRef(function(t,n){const r=or({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,t9),m=Z({},r,{edge:o,color:c,disabled:u,disableFocusRipple:d,size:h}),v=n9(m);return f.jsx(r9,Z({className:$e(v.root,a),centerRipple:!0,focusRipple:!d,disabled:u,ref:n},g,{ownerState:m,children:s}))});process.env.NODE_ENV!=="production"&&(Wp.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 o9({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 ${nt(c,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${nt(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 i9=de(Wp,{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]}},...o9({variant:t,theme:e,color:r})})),Vc=T.forwardRef(({variant:e="text",shape:t="square",children:n,color:r="primary",...o},s)=>{const a=Kt();return f.jsx(i9,{ref:s,disableRipple:!0,variant:e,shape:t,theme:a,color:r,...o,children:n})}),s9=Object.freeze(Object.defineProperty({__proto__:null,capitalize:He,createChainedFunction:vk,createSvgIcon:wp,debounce:yk,deprecatedPropType:bk,isMuiElement:xk,ownerDocument:us,ownerWindow:Ck,requirePropFactory:wk,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
|
+
`)),Xb.configure(e)}},unstable_useEnhancedEffect:_r,unstable_useId:Ap,unsupportedProp:Ak,useControlled:jx,useEventCallback:ci,useForkRef:Cn,useIsFocusVisible:Ip},Symbol.toStringTag,{value:"Module"}));function a9(e){return typeof e=="string"}function l9(e,t,n){return e===void 0||a9(e)?t:Z({},t,{ownerState:Z({},t.ownerState,n)})}const c9={disableDefaultClasses:!1},u9=B.createContext(c9);function d9(e){const{disableDefaultClasses:t}=B.useContext(u9);return n=>t?"":e(n)}function f9(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 p9(e,t,n){return typeof e=="function"?e(t,n):e}function s1(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 h9(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:s}=e;if(!t){const v=$e(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=f9(Z({},o,r)),c=s1(r),u=s1(o),d=t(a),h=$e(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 g9=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function m9(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:s=!1}=e,a=Ge(e,g9),c=s?{}:p9(r,o),{props:u,internalRef:d}=h9(Z({},a,{externalSlotProps:c})),h=Cn(d,c==null?void 0:c.ref,(t=e.additionalProps)==null?void 0:t.ref);return l9(n,Z({},u,{ref:h}),o)}var wn="top",lr="bottom",cr="right",Sn="left",zp="auto",Fa=[wn,lr,cr,Sn],gs="start",La="end",v9="clippingParents",a1="viewport",Da="popper",y9="reference",l1=Fa.reduce(function(e,t){return e.concat([t+"-"+gs,t+"-"+La])},[]),c1=[].concat(Fa,[zp]).reduce(function(e,t){return e.concat([t,t+"-"+gs,t+"-"+La])},[]),b9="beforeRead",x9="read",C9="afterRead",w9="beforeMain",S9="main",A9="afterMain",T9="beforeWrite",E9="write",I9="afterWrite",O9=[b9,x9,C9,w9,S9,A9,T9,E9,I9];function Rr(e){return e?(e.nodeName||"").toLowerCase():null}function Vn(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pi(e){var t=Vn(e).Element;return e instanceof t||e instanceof Element}function ur(e){var t=Vn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Up(e){if(typeof ShadowRoot>"u")return!1;var t=Vn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function P9(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 j9(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 M9={name:"applyStyles",enabled:!0,phase:"write",fn:P9,effect:j9,requires:["computeStyles"]};function Br(e){return e.split("-")[0]}var hi=Math.max,Wc=Math.min,ms=Math.round;function Hp(){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 u1(){return!/^((?!chrome|android).)*safari/i.test(Hp())}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=pi(e)?Vn(e):window,c=a.visualViewport,u=!u1()&&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 Gp(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 d1(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Up(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 Vn(e).getComputedStyle(e)}function k9(e){return["table","td","th"].indexOf(Rr(e))>=0}function Mo(e){return((pi(e)?e.ownerDocument:e.document)||window.document).documentElement}function zc(e){return Rr(e)==="html"?e:e.assignedSlot||e.parentNode||(Up(e)?e.host:null)||Mo(e)}function f1(e){return!ur(e)||to(e).position==="fixed"?null:e.offsetParent}function F9(e){var t=/firefox/i.test(Hp()),n=/Trident/i.test(Hp());if(n&&ur(e)){var r=to(e);if(r.position==="fixed")return null}var o=zc(e);for(Up(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=Vn(e),n=f1(e);n&&k9(n)&&to(n).position==="static";)n=f1(n);return n&&(Rr(n)==="html"||Rr(n)==="body"&&to(n).position==="static")?t:n||F9(e)||t}function Yp(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ra(e,t,n){return hi(e,Wc(t,n))}function L9(e,t,n){var r=Ra(e,t,n);return r>n?n:r}function p1(){return{top:0,right:0,bottom:0,left:0}}function h1(e){return Object.assign({},p1(),e)}function g1(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var D9=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,h1(typeof t!="number"?t:g1(t,Fa))};function _9(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=Yp(c),d=[Sn,cr].indexOf(c)>=0,h=d?"height":"width";if(!(!s||!a)){var g=D9(o.padding,n),m=Gp(s),v=u==="y"?wn:Sn,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],E=_a(s),F=E?u==="y"?E.clientHeight||0:E.clientWidth||0:0,I=C/2-w/2,M=g[v],P=F-m[h]-g[b],D=F/2-m[h]/2+I,L=Ra(M,D,P),H=u;n.modifiersData[r]=(t={},t[H]=L,t.centerOffset=L-D,t)}}function R9(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)||d1(t.elements.popper,o)&&(t.elements.arrow=o))}const B9={name:"arrow",enabled:!0,phase:"main",fn:_9,effect:R9,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ys(e){return e.split("-")[1]}var N9={top:"auto",right:"auto",bottom:"auto",left:"auto"};function V9(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 m1(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 E=a.hasOwnProperty("x"),F=a.hasOwnProperty("y"),I=Sn,M=wn,P=window;if(d){var D=_a(n),L="clientHeight",H="clientWidth";if(D===Vn(n)&&(D=Mo(n),to(D).position!=="static"&&c==="absolute"&&(L="scrollHeight",H="scrollWidth")),D=D,o===wn||(o===Sn||o===cr)&&s===La){M=lr;var K=g&&D===P&&P.visualViewport?P.visualViewport.height:D[L];C-=K-r.height,C*=u?1:-1}if(o===Sn||(o===wn||o===lr)&&s===La){I=cr;var $=g&&D===P&&P.visualViewport?P.visualViewport.width:D[H];v-=$-r.width,v*=u?1:-1}}var G=Object.assign({position:c},d&&N9),ae=h===!0?V9({x:v,y:C},Vn(n)):{x:v,y:C};if(v=ae.x,C=ae.y,u){var le;return Object.assign({},G,(le={},le[M]=F?"0":"",le[I]=E?"0":"",le.transform=(P.devicePixelRatio||1)<=1?"translate("+v+"px, "+C+"px)":"translate3d("+v+"px, "+C+"px, 0)",le))}return Object.assign({},G,(t={},t[M]=F?C+"px":"",t[I]=E?v+"px":"",t.transform="",t))}function W9(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,m1(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,m1(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 z9={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:W9,data:{}};var Uc={passive:!0};function U9(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=Vn(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&d.forEach(function(h){h.addEventListener("scroll",n.update,Uc)}),c&&u.addEventListener("resize",n.update,Uc),function(){s&&d.forEach(function(h){h.removeEventListener("scroll",n.update,Uc)}),c&&u.removeEventListener("resize",n.update,Uc)}}const H9={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:U9,data:{}};var G9={left:"right",right:"left",bottom:"top",top:"bottom"};function Hc(e){return e.replace(/left|right|bottom|top/g,function(t){return G9[t]})}var Y9={start:"end",end:"start"};function v1(e){return e.replace(/start|end/g,function(t){return Y9[t]})}function Kp(e){var t=Vn(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Xp(e){return vs(Mo(e)).left+Kp(e).scrollLeft}function K9(e,t){var n=Vn(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=u1();(d||!d&&t==="fixed")&&(c=o.offsetLeft,u=o.offsetTop)}return{width:s,height:a,x:c+Xp(e),y:u}}function X9(e){var t,n=Mo(e),r=Kp(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=hi(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=hi(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Xp(e),u=-r.scrollTop;return to(o||n).direction==="rtl"&&(c+=hi(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:a,x:c,y:u}}function Zp(e){var t=to(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function y1(e){return["html","body","#document"].indexOf(Rr(e))>=0?e.ownerDocument.body:ur(e)&&Zp(e)?e:y1(zc(e))}function Ba(e,t){var n;t===void 0&&(t=[]);var r=y1(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Vn(r),a=o?[s].concat(s.visualViewport||[],Zp(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Ba(zc(a)))}function Qp(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 b1(e,t,n){return t===a1?Qp(K9(e,n)):pi(t)?Z9(t,n):Qp(X9(Mo(e)))}function Q9(e){var t=Ba(zc(e)),n=["absolute","fixed"].indexOf(to(e).position)>=0,r=n&&ur(e)?_a(e):e;return pi(r)?t.filter(function(o){return pi(o)&&d1(o,r)&&Rr(o)!=="body"}):[]}function J9(e,t,n,r){var o=t==="clippingParents"?Q9(e):[].concat(t),s=[].concat(o,[n]),a=s[0],c=s.reduce(function(u,d){var h=b1(e,d,r);return u.top=hi(h.top,u.top),u.right=Wc(h.right,u.right),u.bottom=Wc(h.bottom,u.bottom),u.left=hi(h.left,u.left),u},b1(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 x1(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 wn: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 Sn:u={x:t.x-n.width,y:c};break;default:u={x:t.x,y:t.y}}var d=o?Yp(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?v9:c,d=n.rootBoundary,h=d===void 0?a1: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,E=h1(typeof w!="number"?w:g1(w,Fa)),F=m===Da?y9:Da,I=e.rects.popper,M=e.elements[b?F:m],P=J9(pi(M)?M:M.contextElement||Mo(e.elements.popper),u,h,a),D=vs(e.elements.reference),L=x1({reference:D,element:I,strategy:"absolute",placement:o}),H=Qp(Object.assign({},I,L)),K=m===Da?H:D,$={top:P.top-K.top+E.top,bottom:K.bottom-P.bottom+E.bottom,left:P.left-K.left+E.left,right:K.right-P.right+E.right},G=e.modifiersData.offset;if(m===Da&&G){var ae=G[o];Object.keys($).forEach(function(le){var J=[cr,lr].indexOf(le)>=0?1:-1,Q=[wn,lr].indexOf(le)>=0?"y":"x";$[le]+=ae[Q]*J})}return $}function q9(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?c1:u,h=ys(r),g=h?c?l1:l1.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,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 $9(e){if(Br(e)===zp)return[];var t=Hc(e);return[v1(e),t,v1(t)]}function eF(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,E=Br(w),F=E===w,I=u||(F||!b?[Hc(w)]:$9(w)),M=[w].concat(I).reduce(function(pe,ge){return pe.concat(Br(ge)===zp?q9(t,{placement:ge,boundary:h,rootBoundary:g,padding:d,flipVariations:b,allowedAutoPlacements:C}):ge)},[]),P=t.rects.reference,D=t.rects.popper,L=new Map,H=!0,K=M[0],$=0;$<M.length;$++){var G=M[$],ae=Br(G),le=ys(G)===gs,J=[wn,lr].indexOf(ae)>=0,Q=J?"width":"height",z=Na(t,{placement:G,boundary:h,rootBoundary:g,altBoundary:m,padding:d}),ne=J?le?cr:Sn:le?lr:wn;P[Q]>D[Q]&&(ne=Hc(ne));var W=Hc(ne),te=[];if(s&&te.push(z[ae]<=0),c&&te.push(z[ne]<=0,z[W]<=0),te.every(function(pe){return pe})){K=G,H=!1;break}L.set(G,te)}if(H)for(var V=b?3:1,X=function(ge){var ve=M.find(function(Te){var Ce=L.get(Te);if(Ce)return Ce.slice(0,ge).every(function(be){return be})});if(ve)return K=ve,"break"},ue=V;ue>0;ue--){var he=X(ue);if(he==="break")break}t.placement!==K&&(t.modifiersData[r]._skip=!0,t.placement=K,t.reset=!0)}}const tF={name:"flip",enabled:!0,phase:"main",fn:eF,requiresIfExists:["offset"],data:{_skip:!1}};function C1(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 w1(e){return[wn,cr,lr,Sn].some(function(t){return e[t]>=0})}function nF(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=C1(a,r),d=C1(c,o,s),h=w1(u),g=w1(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 rF={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:nF};function oF(e,t,n){var r=Br(e),o=[Sn,wn].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,[Sn,cr].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}function iF(e){var t=e.state,n=e.options,r=e.name,o=n.offset,s=o===void 0?[0,0]:o,a=c1.reduce(function(h,g){return h[g]=oF(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 sF={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:iF};function aF(e){var t=e.state,n=e.name;t.modifiersData[n]=x1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const lF={name:"popperOffsets",enabled:!0,phase:"read",fn:aF,data:{}};function cF(e){return e==="x"?"y":"x"}function uF(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}),E=Br(t.placement),F=ys(t.placement),I=!F,M=Yp(E),P=cF(M),D=t.modifiersData.popperOffsets,L=t.rects.reference,H=t.rects.popper,K=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,$=typeof K=="number"?{mainAxis:K,altAxis:K}:Object.assign({mainAxis:0,altAxis:0},K),G=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ae={x:0,y:0};if(D){if(s){var le,J=M==="y"?wn:Sn,Q=M==="y"?lr:cr,z=M==="y"?"height":"width",ne=D[M],W=ne+w[J],te=ne-w[Q],V=v?-H[z]/2:0,X=F===gs?L[z]:H[z],ue=F===gs?-H[z]:-L[z],he=t.elements.arrow,pe=v&&he?Gp(he):{width:0,height:0},ge=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:p1(),ve=ge[J],Te=ge[Q],Ce=Ra(0,L[z],pe[z]),be=I?L[z]/2-V-Ce-ve-$.mainAxis:X-Ce-ve-$.mainAxis,we=I?-L[z]/2+V+Ce+Te+$.mainAxis:ue+Ce+Te+$.mainAxis,Ie=t.elements.arrow&&_a(t.elements.arrow),fe=Ie?M==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,qe=(le=G==null?void 0:G[M])!=null?le:0,me=ne+be-qe-fe,Qe=ne+we-qe,ln=Ra(v?Wc(W,me):W,ne,v?hi(te,Qe):te);D[M]=ln,ae[M]=ln-ne}if(c){var Et,yt=M==="x"?wn:Sn,Gn=M==="x"?lr:cr,It=D[P],bt=P==="y"?"height":"width",Xt=It+w[yt],xt=It-w[Gn],zt=[wn,Sn].indexOf(E)!==-1,Ot=(Et=G==null?void 0:G[P])!=null?Et:0,Le=zt?Xt:It-L[bt]-H[bt]-Ot+$.altAxis,_e=zt?It+L[bt]+H[bt]-Ot-$.altAxis:xt,Oe=v&&zt?L9(Le,It,_e):Ra(v?Le:Xt,It,v?_e:xt);D[P]=Oe,ae[P]=Oe-It}t.modifiersData[r]=ae}}const dF={name:"preventOverflow",enabled:!0,phase:"main",fn:uF,requiresIfExists:["offset"]};function fF(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function pF(e){return e===Vn(e)||!ur(e)?Kp(e):fF(e)}function hF(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 gF(e,t,n){n===void 0&&(n=!1);var r=ur(t),o=ur(t)&&hF(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"||Zp(s))&&(c=pF(t)),ur(t)?(u=vs(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=Xp(s))),{x:a.left+c.scrollLeft-u.x,y:a.top+c.scrollTop-u.y,width:a.width,height:a.height}}function mF(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 vF(e){var t=mF(e);return O9.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function yF(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function bF(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 S1={placement:"bottom",modifiers:[],strategy:"absolute"};function A1(){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 xF(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,s=o===void 0?S1:o;return function(c,u,d){d===void 0&&(d=s);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},S1,s),modifiersData:{},elements:{reference:c,popper:u},attributes:{},styles:{}},g=[],m=!1,v={state:h,setOptions:function(E){var F=typeof E=="function"?E(h.options):E;C(),h.options=Object.assign({},s,h.options,F),h.scrollParents={reference:pi(c)?Ba(c):c.contextElement?Ba(c.contextElement):[],popper:Ba(u)};var I=vF(bF([].concat(r,h.options.modifiers)));return h.orderedModifiers=I.filter(function(M){return M.enabled}),b(),v.update()},forceUpdate:function(){if(!m){var E=h.elements,F=E.reference,I=E.popper;if(A1(F,I)){h.rects={reference:gF(F,_a(I),h.options.strategy==="fixed"),popper:Gp(I)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach(function($){return h.modifiersData[$.name]=Object.assign({},$.data)});for(var M=0;M<h.orderedModifiers.length;M++){if(h.reset===!0){h.reset=!1,M=-1;continue}var P=h.orderedModifiers[M],D=P.fn,L=P.options,H=L===void 0?{}:L,K=P.name;typeof D=="function"&&(h=D({state:h,options:H,name:K,instance:v})||h)}}}},update:yF(function(){return new Promise(function(w){v.forceUpdate(),w(h)})}),destroy:function(){C(),m=!0}};if(!A1(c,u))return v;v.setOptions(d).then(function(w){!m&&d.onFirstUpdate&&d.onFirstUpdate(w)});function b(){h.orderedModifiers.forEach(function(w){var E=w.name,F=w.options,I=F===void 0?{}:F,M=w.effect;if(typeof M=="function"){var P=M({state:h,name:E,instance:v,options:I}),D=function(){};g.push(P||D)}})}function C(){g.forEach(function(w){return w()}),g=[]}return v}}var CF=[H9,lF,z9,M9,sF,tF,dF,B9,rF],T1=xF({defaultModifiers:CF});function wF(e){return typeof e=="function"?e():e}const Gc=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=Cn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(wF(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&&R0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(Gc.propTypes={children:x.node,container:x.oneOfType([jo,x.func]),disablePortal:x.bool}),process.env.NODE_ENV!=="production"&&(Gc.propTypes=Oc(Gc.propTypes));function SF(e){return Bn("MuiPopper",e)}sr("MuiPopper",["root"]);const AF=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],TF=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function EF(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 Yc(e){return typeof e=="function"?e():e}function Kc(e){return e.nodeType!==void 0}function IF(e){return!Kc(e)}const OF=()=>er({root:["root"]},d9(SF)),PF={},jF=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,AF),E=B.useRef(null),F=Cn(E,n),I=B.useRef(null),M=Cn(I,m),P=B.useRef(M);_r(()=>{P.current=M},[M]),B.useImperativeHandle(m,()=>I.current,[]);const D=EF(h,a),[L,H]=B.useState(D),[K,$]=B.useState(Yc(o));B.useEffect(()=>{I.current&&I.current.forceUpdate()}),B.useEffect(()=>{o&&$(Yc(o))},[o]),_r(()=>{if(!K||!d)return;const Q=W=>{H(W.placement)};if(process.env.NODE_ENV!=="production"&&K&&Kc(K)&&K.nodeType===1){const W=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&W.top===0&&W.left===0&&W.right===0&&W.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:W})=>{Q(W)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const ne=T1(K,E.current,Z({placement:D},g,{modifiers:z}));return P.current(ne),()=>{ne.destroy(),P.current(null)}},[K,c,u,d,g,D]);const G={placement:L};C!==null&&(G.TransitionProps=C);const ae=OF(),le=(r=b.root)!=null?r:"div",J=m9({elementType:le,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:F},ownerState:t,className:ae.root});return f.jsx(le,Z({},J,{children:typeof s=="function"?s(G):s}))}),E1=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=PF,popperRef:v,style:b,transition:C=!1,slotProps:w={},slots:E={}}=t,F=Ge(t,TF),[I,M]=B.useState(!0),P=()=>{M(!1)},D=()=>{M(!0)};if(!u&&!h&&(!C||I))return null;let L;if(s)L=s;else if(r){const $=Yc(r);L=$&&Kc($)?us($).body:us(null).body}const H=!h&&u&&(!C||I)?"none":void 0,K=C?{in:h,onEnter:P,onExited:D}:void 0;return f.jsx(Gc,{disablePortal:c,container:L,children:f.jsx(jF,Z({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:C?!I:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:E},F,{style:Z({position:"fixed",top:0,left:0,display:H},b),TransitionProps:K,children:o}))})});process.env.NODE_ENV!=="production"&&(E1.propTypes={anchorEl:Po(x.oneOfType([jo,x.object,x.func]),e=>{if(e.open){const t=Yc(e.anchorEl);if(t&&Kc(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"||IF(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:Pc,slotProps:x.shape({root:x.oneOfType([x.func,x.object])}),slots:x.shape({root:x.elementType}),transition:x.bool});function MF(e){return Bn("MuiButton",e)}const Xc=sr("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"]),I1=B.createContext({});process.env.NODE_ENV!=="production"&&(I1.displayName="ButtonGroupContext");const O1=B.createContext(void 0);process.env.NODE_ENV!=="production"&&(O1.displayName="ButtonGroupButtonContext");const kF=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],FF=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=er(c,MF,a);return Z({},a,u)},P1=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}}),LF=de(Bc,{shouldForwardProp:e=>Ax(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]}),[`&.${Xc.focusVisible}`]:Z({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Xc.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"},[`&.${Xc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Xc.disabled}`]:{boxShadow:"none"}}),DF=de("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},P1(e))),_F=de("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},P1(e))),j1=B.forwardRef(function(t,n){const r=B.useContext(I1),o=B.useContext(O1),s=tp(r,t),a=or({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:E="medium",startIcon:F,type:I,variant:M="text"}=a,P=Ge(a,kF),D=Z({},a,{color:u,component:d,disabled:g,disableElevation:m,disableFocusRipple:v,fullWidth:w,size:E,type:I,variant:M}),L=FF(D),H=F&&f.jsx(DF,{className:L.startIcon,ownerState:D,children:F}),K=b&&f.jsx(_F,{className:L.endIcon,ownerState:D,children:b}),$=o||"";return f.jsxs(LF,Z({ownerState:D,className:$e(r.className,L.root,h,$),component:d,disabled:g,focusRipple:!v,focusVisibleClassName:$e(L.focusVisible,C),ref:n,type:I},P,{classes:L,children:[H,c,K]}))});process.env.NODE_ENV!=="production"&&(j1.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 RF(e){return Bn("MuiCircularProgress",e)}sr("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const BF=["className","color","disableShrink","size","style","thickness","value","variant"];let Zc=e=>e,M1,k1,F1,L1;const ko=44,NF=Nt.keyframes(M1||(M1=Zc`
|
|
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
|
+
`)),VF=Nt.keyframes(k1||(k1=Zc`
|
|
162
162
|
0% {
|
|
163
163
|
stroke-dasharray: 1px, 200px;
|
|
164
164
|
stroke-dashoffset: 0;
|
|
@@ -173,45 +173,45 @@ 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
|
+
`)),WF=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 er(s,RF,t)},zF=de("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(F1||(F1=Zc`
|
|
177
177
|
animation: ${0} 1.4s linear infinite;
|
|
178
|
-
`),
|
|
178
|
+
`),NF)),UF=de("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),HF=de("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(L1||(L1=Zc`
|
|
179
179
|
animation: ${0} 1.4s ease-in-out infinite;
|
|
180
|
-
`),_F)),Zc=B.forwardRef(function(t,n){const r=or({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,LF),v=Z({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),b=RF(v),C={},w={},I={};if(g==="determinate"){const F=2*Math.PI*((ko-d)/2);C.strokeDasharray=F.toFixed(3),I["aria-valuenow"]=Math.round(h),C.strokeDashoffset=`${((100-h)/100*F).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(BF,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(NF,{className:b.svg,ownerState:v,viewBox:`${ko/2} ${ko/2} ${ko} ${ko}`,children:f.jsx(VF,{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 WF(e){return Bn("MuiLoadingButton",e)}const no=sr("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),zF=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],UF=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=er(o,WF,r);return Z({},r,s)},HF=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",GF=fe(T1,{shouldForwardProp:e=>HF(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}})),YF=fe("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})),j1=B.forwardRef(function(t,n){const r=or({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,zF),m=Cp(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=UF(b),w=c?f.jsx(YF,{className:C.loadingIndicator,ownerState:b,children:v}):null;return f.jsxs(GF,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"&&(j1.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 Xp({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 KF=fe(j1,{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"&&{...Xp({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"&&{...Xp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Xp({variant:t,theme:e,color:r,loadingPosition:s})}}})),XF=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Kt();return f.jsx(KF,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function ZF({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 QF=fe(({className:e,...t})=>f.jsx(S.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&ZF({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(QF,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const gi=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})})]})}),JF=T.forwardRef(function(t,n){return f.jsx(S.Zoom,{ref:n,timeout:200,...t})});function qF({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 $F({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 eL({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 tL({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 M1=fe("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 k1(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 F1({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=k1(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(M1,{arrow:n}),t]})}const nL={width:"100%",justifyContent:"flex-start"},rL=S.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),oL=S.styled(F1,{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(rL,{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(oL,{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:{...nL}})},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 L1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqG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b249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjVkNGE4NzAxLWYzOTItNGVhOS04YzdlLWEwNzQ4ODE5ODIyYSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMy0xMS0zMFQxMjo0MTozMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5A30f8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5wseCykesp/dTgAAIABJREFUeNrsvXt0XGeZ5vt8e9e9dClJtuzYupQTEkjiJDIQOw0By4EQzJCOTNMkDsyJciAzNDAdmZk1Z4awxvJMN92nV9OyaWCaQ1h2GogcBtqGhHZMQmxjQsehg0VQCISOVZKvki2rdKl71f7OH7uqVKXaVSqpLqqSnt9aWrbqsmvr27v2s9/v/d7nBQghBbN2r1y9tk/ezJEghBBCKluwzWv65Ns5EoQQQkhlC7ZpdZ9s5UgQQgghlS3YFo4CIYQQUuG4+qSJo0AIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEkGWJ4BCQ5YarTzrtQKsmMDbaI65yRAghFGtCKkekbTYFJiHhv9gjNI4IIYQQUkGs7ZO88SSEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEkKVj7V7p4CgQQgghhBBCCCGEEEIIIYtmdZ9UOAqEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBB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Lvk/Afd07jclJisAAAAASUVORK5CYII=";var Zp={};const iL=Jr(n9);var D1;function bs(){return D1||(D1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=iL}(Zp)),Zp}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)},_1=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},Qp=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=_1(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=re.useTranslate(),b=a?v(a,{_:a}):void 0,C=lL(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(aL,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)};Qp.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 sL="RaButton",aL=fe(S.Button,{name:sL,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),lL=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=_1(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},Jp={},cL=Io;Object.defineProperty(Jp,"__esModule",{value:!0});var R1=Jp.default=void 0,uL=cL(bs()),dL=f;R1=Jp.default=(0,uL.default)((0,dL.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function B1(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=B1(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=B1(e))&&(r&&(r+=" "),r+=t);return r}function fL(){this.__data__=[],this.size=0}var pL=fL;function hL(e,t){return e===t||e!==e&&t!==t}var za=hL,gL=za;function mL(e,t){for(var n=e.length;n--;)if(gL(e[n][0],t))return n;return-1}var qc=mL,vL=qc,yL=Array.prototype,bL=yL.splice;function xL(e){var t=this.__data__,n=vL(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():bL.call(t,n,1),--this.size,!0}var CL=xL,wL=qc;function SL(e){var t=this.__data__,n=wL(t,e);return n<0?void 0:t[n][1]}var AL=SL,TL=qc;function EL(e){return TL(this.__data__,e)>-1}var IL=EL,OL=qc;function PL(e,t){var n=this.__data__,r=OL(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var jL=PL,ML=pL,kL=CL,FL=AL,LL=IL,DL=jL;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=ML,xs.prototype.delete=kL,xs.prototype.get=FL,xs.prototype.has=LL,xs.prototype.set=DL;var $c=xs,_L=$c;function RL(){this.__data__=new _L,this.size=0}var BL=RL;function NL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var VL=NL;function WL(e){return this.__data__.get(e)}var zL=WL;function UL(e){return this.__data__.has(e)}var HL=UL,GL=typeof bn=="object"&&bn&&bn.Object===Object&&bn,N1=GL,YL=N1,KL=typeof self=="object"&&self&&self.Object===Object&&self,XL=YL||KL||Function("return this")(),Nr=XL,ZL=Nr,QL=ZL.Symbol,eu=QL,V1=eu,W1=Object.prototype,JL=W1.hasOwnProperty,qL=W1.toString,Ua=V1?V1.toStringTag:void 0;function $L(e){var t=JL.call(e,Ua),n=e[Ua];try{e[Ua]=void 0;var r=!0}catch{}var o=qL.call(e);return r&&(t?e[Ua]=n:delete e[Ua]),o}var e2=$L,t2=Object.prototype,n2=t2.toString;function r2(e){return n2.call(e)}var o2=r2,z1=eu,i2=e2,s2=o2,a2="[object Null]",l2="[object Undefined]",U1=z1?z1.toStringTag:void 0;function c2(e){return e==null?e===void 0?l2:a2:U1&&U1 in Object(e)?i2(e):s2(e)}var Ha=c2;function u2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var mi=u2,d2=Ha,f2=mi,p2="[object AsyncFunction]",h2="[object Function]",g2="[object GeneratorFunction]",m2="[object Proxy]";function v2(e){if(!f2(e))return!1;var t=d2(e);return t==h2||t==g2||t==p2||t==m2}var qp=v2,y2=Nr,b2=y2["__core-js_shared__"],x2=b2,$p=x2,H1=function(){var e=/[^.]+$/.exec($p&&$p.keys&&$p.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function C2(e){return!!H1&&H1 in e}var w2=C2,S2=Function.prototype,A2=S2.toString;function T2(e){if(e!=null){try{return A2.call(e)}catch{}try{return e+""}catch{}}return""}var G1=T2,E2=qp,I2=w2,O2=mi,P2=G1,j2=/[\\^$.*+?()[\]{}|]/g,M2=/^\[object .+?Constructor\]$/,k2=Function.prototype,F2=Object.prototype,L2=k2.toString,D2=F2.hasOwnProperty,_2=RegExp("^"+L2.call(D2).replace(j2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R2(e){if(!O2(e)||I2(e))return!1;var t=E2(e)?_2:M2;return t.test(P2(e))}var B2=R2;function N2(e,t){return e==null?void 0:e[t]}var V2=N2,W2=B2,z2=V2;function U2(e,t){var n=z2(e,t);return W2(n)?n:void 0}var vi=U2,H2=vi,G2=Nr,Y2=H2(G2,"Map"),eh=Y2,K2=vi,X2=K2(Object,"create"),tu=X2,Y1=tu;function Z2(){this.__data__=Y1?Y1(null):{},this.size=0}var Q2=Z2;function J2(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var q2=J2,$2=tu,eD="__lodash_hash_undefined__",tD=Object.prototype,nD=tD.hasOwnProperty;function rD(e){var t=this.__data__;if($2){var n=t[e];return n===eD?void 0:n}return nD.call(t,e)?t[e]:void 0}var oD=rD,iD=tu,sD=Object.prototype,aD=sD.hasOwnProperty;function lD(e){var t=this.__data__;return iD?t[e]!==void 0:aD.call(t,e)}var cD=lD,uD=tu,dD="__lodash_hash_undefined__";function fD(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=uD&&t===void 0?dD:t,this}var pD=fD,hD=Q2,gD=q2,mD=oD,vD=cD,yD=pD;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=hD,Cs.prototype.delete=gD,Cs.prototype.get=mD,Cs.prototype.has=vD,Cs.prototype.set=yD;var bD=Cs,K1=bD,xD=$c,CD=eh;function wD(){this.size=0,this.__data__={hash:new K1,map:new(CD||xD),string:new K1}}var SD=wD;function AD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var TD=AD,ED=TD;function ID(e,t){var n=e.__data__;return ED(t)?n[typeof t=="string"?"string":"hash"]:n.map}var nu=ID,OD=nu;function PD(e){var t=OD(this,e).delete(e);return this.size-=t?1:0,t}var jD=PD,MD=nu;function kD(e){return MD(this,e).get(e)}var FD=kD,LD=nu;function DD(e){return LD(this,e).has(e)}var _D=DD,RD=nu;function BD(e,t){var n=RD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var ND=BD,VD=SD,WD=jD,zD=FD,UD=_D,HD=ND;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=VD,ws.prototype.delete=WD,ws.prototype.get=zD,ws.prototype.has=UD,ws.prototype.set=HD;var X1=ws,GD=$c,YD=eh,KD=X1,XD=200;function ZD(e,t){var n=this.__data__;if(n instanceof GD){var r=n.__data__;if(!YD||r.length<XD-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new KD(r)}return n.set(e,t),this.size=n.size,this}var QD=ZD,JD=$c,qD=BL,$D=VL,e_=zL,t_=HL,n_=QD;function Ss(e){var t=this.__data__=new JD(e);this.size=t.size}Ss.prototype.clear=qD,Ss.prototype.delete=$D,Ss.prototype.get=e_,Ss.prototype.has=t_,Ss.prototype.set=n_;var Z1=Ss,r_="__lodash_hash_undefined__";function o_(e){return this.__data__.set(e,r_),this}var i_=o_;function s_(e){return this.__data__.has(e)}var a_=s_,l_=X1,c_=i_,u_=a_;function ru(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new l_;++t<n;)this.add(e[t])}ru.prototype.add=ru.prototype.push=c_,ru.prototype.has=u_;var th=ru;function d_(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 f_=d_;function p_(e,t){return e.has(t)}var nh=p_,h_=th,g_=f_,m_=nh,v_=1,y_=2;function b_(e,t,n,r,o,s){var a=n&v_,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&y_?new h_: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(!g_(t,function(I,F){if(!m_(v,F)&&(b===I||o(b,I,n,r,s)))return v.push(F)})){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 Q1=b_,x_=Nr,C_=x_.Uint8Array,J1=C_;function w_(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var S_=w_;function A_(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var rh=A_,q1=eu,$1=J1,T_=za,E_=Q1,I_=S_,O_=rh,P_=1,j_=2,M_="[object Boolean]",k_="[object Date]",F_="[object Error]",L_="[object Map]",D_="[object Number]",__="[object RegExp]",R_="[object Set]",B_="[object String]",N_="[object Symbol]",V_="[object ArrayBuffer]",W_="[object DataView]",eC=q1?q1.prototype:void 0,oh=eC?eC.valueOf:void 0;function z_(e,t,n,r,o,s,a){switch(n){case W_:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case V_:return!(e.byteLength!=t.byteLength||!s(new $1(e),new $1(t)));case M_:case k_:case D_:return T_(+e,+t);case F_:return e.name==t.name&&e.message==t.message;case __:case B_:return e==t+"";case L_:var c=I_;case R_:var u=r&P_;if(c||(c=O_),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=j_,a.set(e,t);var h=E_(c(e),c(t),r,o,s,a);return a.delete(e),h;case N_:if(oh)return oh.call(e)==oh.call(t)}return!1}var U_=z_;function H_(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var tC=H_,G_=Array.isArray,Ga=G_,Y_=tC,K_=Ga;function X_(e,t,n){var r=t(e);return K_(e)?r:Y_(r,n(e))}var Z_=X_;function Q_(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 J_=Q_;function q_(){return[]}var $_=q_,eR=J_,tR=$_,nR=Object.prototype,rR=nR.propertyIsEnumerable,nC=Object.getOwnPropertySymbols,oR=nC?function(e){return e==null?[]:(e=Object(e),eR(nC(e),function(t){return rR.call(e,t)}))}:tR,iR=oR;function sR(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var aR=sR;function lR(e){return e!=null&&typeof e=="object"}var As=lR,cR=Ha,uR=As,dR="[object Arguments]";function fR(e){return uR(e)&&cR(e)==dR}var pR=fR,rC=pR,hR=As,oC=Object.prototype,gR=oC.hasOwnProperty,mR=oC.propertyIsEnumerable,vR=rC(function(){return arguments}())?rC:function(e){return hR(e)&&gR.call(e,"callee")&&!mR.call(e,"callee")},ih=vR,ou={exports:{}};function yR(){return!1}var bR=yR;ou.exports,function(e,t){var n=Nr,r=bR,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 sh=ou.exports,xR=9007199254740991,CR=/^(?:0|[1-9]\d*)$/;function wR(e,t){var n=typeof e;return t=t??xR,!!t&&(n=="number"||n!="symbol"&&CR.test(e))&&e>-1&&e%1==0&&e<t}var iC=wR,SR=9007199254740991;function AR(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=SR}var sC=AR,TR=Ha,ER=sC,IR=As,OR="[object Arguments]",PR="[object Array]",jR="[object Boolean]",MR="[object Date]",kR="[object Error]",FR="[object Function]",LR="[object Map]",DR="[object Number]",_R="[object Object]",RR="[object RegExp]",BR="[object Set]",NR="[object String]",VR="[object WeakMap]",WR="[object ArrayBuffer]",zR="[object DataView]",UR="[object Float32Array]",HR="[object Float64Array]",GR="[object Int8Array]",YR="[object Int16Array]",KR="[object Int32Array]",XR="[object Uint8Array]",ZR="[object Uint8ClampedArray]",QR="[object Uint16Array]",JR="[object Uint32Array]",vt={};vt[UR]=vt[HR]=vt[GR]=vt[YR]=vt[KR]=vt[XR]=vt[ZR]=vt[QR]=vt[JR]=!0,vt[OR]=vt[PR]=vt[WR]=vt[jR]=vt[zR]=vt[MR]=vt[kR]=vt[FR]=vt[LR]=vt[DR]=vt[_R]=vt[RR]=vt[BR]=vt[NR]=vt[VR]=!1;function qR(e){return IR(e)&&ER(e.length)&&!!vt[TR(e)]}var $R=qR;function eB(e){return function(t){return e(t)}}var aC=eB,iu={exports:{}};iu.exports,function(e,t){var n=N1,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 tB=iu.exports,nB=$R,rB=aC,lC=tB,cC=lC&&lC.isTypedArray,oB=cC?rB(cC):nB,ah=oB,iB=aR,sB=ih,aB=Ga,lB=sh,cB=iC,uB=ah,dB=Object.prototype,fB=dB.hasOwnProperty;function pB(e,t){var n=aB(e),r=!n&&sB(e),o=!n&&!r&&lB(e),s=!n&&!r&&!o&&uB(e),a=n||r||o||s,c=a?iB(e.length,String):[],u=c.length;for(var d in e)(t||fB.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||cB(d,u)))&&c.push(d);return c}var uC=pB,hB=Object.prototype;function gB(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||hB;return e===n}var lh=gB;function mB(e,t){return function(n){return e(t(n))}}var dC=mB,vB=dC,yB=vB(Object.keys,Object),bB=yB,xB=lh,CB=bB,wB=Object.prototype,SB=wB.hasOwnProperty;function AB(e){if(!xB(e))return CB(e);var t=[];for(var n in Object(e))SB.call(e,n)&&n!="constructor"&&t.push(n);return t}var TB=AB,EB=qp,IB=sC;function OB(e){return e!=null&&IB(e.length)&&!EB(e)}var su=OB,PB=uC,jB=TB,MB=su;function kB(e){return MB(e)?PB(e):jB(e)}var FB=kB,LB=Z_,DB=iR,_B=FB;function RB(e){return LB(e,_B,DB)}var BB=RB,fC=BB,NB=1,VB=Object.prototype,WB=VB.hasOwnProperty;function zB(e,t,n,r,o,s){var a=n&NB,c=fC(e),u=c.length,d=fC(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:WB.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],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)){C=!1;break}w||(w=m=="constructor")}if(C&&!w){var M=e.constructor,P=t.constructor;M!=P&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof P=="function"&&P instanceof P)&&(C=!1)}return s.delete(e),s.delete(t),C}var UB=zB,HB=vi,GB=Nr,YB=HB(GB,"DataView"),KB=YB,XB=vi,ZB=Nr,QB=XB(ZB,"Promise"),JB=QB,qB=vi,$B=Nr,e7=qB($B,"Set"),pC=e7,t7=vi,n7=Nr,r7=t7(n7,"WeakMap"),o7=r7,ch=KB,uh=eh,dh=JB,fh=pC,ph=o7,hC=Ha,Ts=G1,gC="[object Map]",i7="[object Object]",mC="[object Promise]",vC="[object Set]",yC="[object WeakMap]",bC="[object DataView]",s7=Ts(ch),a7=Ts(uh),l7=Ts(dh),c7=Ts(fh),u7=Ts(ph),yi=hC;(ch&&yi(new ch(new ArrayBuffer(1)))!=bC||uh&&yi(new uh)!=gC||dh&&yi(dh.resolve())!=mC||fh&&yi(new fh)!=vC||ph&&yi(new ph)!=yC)&&(yi=function(e){var t=hC(e),n=t==i7?e.constructor:void 0,r=n?Ts(n):"";if(r)switch(r){case s7:return bC;case a7:return gC;case l7:return mC;case c7:return vC;case u7:return yC}return t});var d7=yi,hh=Z1,f7=Q1,p7=U_,h7=UB,xC=d7,CC=Ga,wC=sh,g7=ah,m7=1,SC="[object Arguments]",AC="[object Array]",au="[object Object]",v7=Object.prototype,TC=v7.hasOwnProperty;function y7(e,t,n,r,o,s){var a=CC(e),c=CC(t),u=a?AC:xC(e),d=c?AC:xC(t);u=u==SC?au:u,d=d==SC?au:d;var h=u==au,g=d==au,m=u==d;if(m&&wC(e)){if(!wC(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new hh),a||g7(e)?f7(e,t,n,r,o,s):p7(e,t,u,n,r,o,s);if(!(n&m7)){var v=h&&TC.call(e,"__wrapped__"),b=g&&TC.call(t,"__wrapped__");if(v||b){var C=v?e.value():e,w=b?t.value():t;return s||(s=new hh),o(C,w,n,r,s)}}return m?(s||(s=new hh),h7(e,t,n,r,o,s)):!1}var b7=y7,x7=b7,EC=As;function IC(e,t,n,r,o){return e===t?!0:e==null||t==null||!EC(e)&&!EC(t)?e!==e&&t!==t:x7(e,t,n,r,IC,o)}var C7=IC,w7=C7;function S7(e,t){return w7(e,t)}var A7=S7;const OC=Qr(A7);var T7=vi,E7=function(){try{var e=T7(Object,"defineProperty");return e({},"",{}),e}catch{}}(),PC=E7,jC=PC;function I7(e,t,n){t=="__proto__"&&jC?jC(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var gh=I7,O7=gh,P7=za;function j7(e,t,n){(n!==void 0&&!P7(e[t],n)||n===void 0&&!(t in e))&&O7(e,t,n)}var MC=j7;function M7(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 k7=M7,F7=k7,L7=F7(),D7=L7,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 _7=lu.exports,kC=J1;function R7(e){var t=new e.constructor(e.byteLength);return new kC(t).set(new kC(e)),t}var B7=R7,N7=B7;function V7(e,t){var n=t?N7(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var W7=V7;function z7(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var U7=z7,H7=mi,FC=Object.create,G7=function(){function e(){}return function(t){if(!H7(t))return{};if(FC)return FC(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Y7=G7,K7=dC,X7=K7(Object.getPrototypeOf,Object),LC=X7,Z7=Y7,Q7=LC,J7=lh;function q7(e){return typeof e.constructor=="function"&&!J7(e)?Z7(Q7(e)):{}}var $7=q7,eN=su,tN=As;function nN(e){return tN(e)&&eN(e)}var mh=nN,rN=Ha,oN=LC,iN=As,sN="[object Object]",aN=Function.prototype,lN=Object.prototype,DC=aN.toString,cN=lN.hasOwnProperty,uN=DC.call(Object);function dN(e){if(!iN(e)||rN(e)!=sN)return!1;var t=oN(e);if(t===null)return!0;var n=cN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&DC.call(n)==uN}var fN=dN;function pN(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var _C=pN,hN=gh,gN=za,mN=Object.prototype,vN=mN.hasOwnProperty;function yN(e,t,n){var r=e[t];(!(vN.call(e,t)&&gN(r,n))||n===void 0&&!(t in e))&&hN(e,t,n)}var bN=yN,xN=bN,CN=gh;function wN(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?CN(n,c,u):xN(n,c,u)}return n}var SN=wN;function AN(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var TN=AN,EN=mi,IN=lh,ON=TN,PN=Object.prototype,jN=PN.hasOwnProperty;function MN(e){if(!EN(e))return ON(e);var t=IN(e),n=[];for(var r in e)r=="constructor"&&(t||!jN.call(e,r))||n.push(r);return n}var kN=MN,FN=uC,LN=kN,DN=su;function _N(e){return DN(e)?FN(e,!0):LN(e)}var RC=_N,RN=SN,BN=RC;function NN(e){return RN(e,BN(e))}var VN=NN,BC=MC,WN=_7,zN=W7,UN=U7,HN=$7,NC=ih,VC=Ga,GN=mh,YN=sh,KN=qp,XN=mi,ZN=fN,QN=ah,WC=_C,JN=VN;function qN(e,t,n,r,o,s,a){var c=WC(e,n),u=WC(t,n),d=a.get(u);if(d){BC(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=VC(u),v=!m&&YN(u),b=!m&&!v&&QN(u);h=u,m||v||b?VC(c)?h=c:GN(c)?h=UN(c):v?(g=!1,h=WN(u,!0)):b?(g=!1,h=zN(u,!0)):h=[]:ZN(u)||NC(u)?(h=c,NC(c)?h=JN(c):(!XN(c)||KN(c))&&(h=HN(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),BC(e,n,h)}var $N=qN,eV=Z1,tV=MC,nV=D7,rV=$N,oV=mi,iV=RC,sV=_C;function zC(e,t,n,r,o){e!==t&&nV(t,function(s,a){if(o||(o=new eV),oV(s))rV(e,t,a,n,zC,r,o);else{var c=r?r(sV(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),tV(e,a,c)}},iV)}var aV=zC;function lV(e){return e}var UC=lV;function cV(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 uV=cV,dV=uV,HC=Math.max;function fV(e,t,n){return t=HC(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=HC(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),dV(e,this,c)}}var pV=fV;function hV(e){return function(){return e}}var gV=hV,mV=gV,GC=PC,vV=UC,yV=GC?function(e,t){return GC(e,"toString",{configurable:!0,enumerable:!1,value:mV(t),writable:!0})}:vV,bV=yV,xV=800,CV=16,wV=Date.now;function SV(e){var t=0,n=0;return function(){var r=wV(),o=CV-(r-n);if(n=r,o>0){if(++t>=xV)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var AV=SV,TV=bV,EV=AV,IV=EV(TV),OV=IV,PV=UC,jV=pV,MV=OV;function kV(e,t){return MV(jV(e,t,PV),e+"")}var vh=kV,FV=za,LV=su,DV=iC,_V=mi;function RV(e,t,n){if(!_V(n))return!1;var r=typeof t;return(r=="number"?LV(n)&&DV(t,n.length):r=="string"&&t in n)?FV(n[t],e):!1}var BV=RV,NV=vh,VV=BV;function WV(e){return NV(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&&VV(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 zV=WV,UV=aV,HV=zV,GV=HV(function(e,t,n){UV(e,t,n)}),YV=GV;const KV=Qr(YV);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)},YC=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.className,n=e.icon,r=n===void 0?ZV: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=YC(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=re.useResourceContext(e),b=re.useCreatePath(),C=re.useTranslate(),w=S.useMediaQuery(function(E){return E.breakpoints.down("md")}),I=KV({},XV.get(String(c)),g),F=$V(d);return w?B.createElement(QV,cu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,color:"primary",className:Wa(yh.floating,t),"aria-label":s&&C(s)},m,F),r):B.createElement(JV,cu({component:dt.Link,to:b({resource:v,type:"create"}),state:I,className:Wa(yh.root,t),label:s,variant:u},m,F),r)},XV=new Map([["true",{_scrollToTop:!0}],["false",{}]]),ZV=B.createElement(R1,null);KC.propTypes={resource:x.string,className:x.string,icon:x.element,label:x.string};var uu="RaCreateButton",yh={root:"".concat(uu,"-root"),floating:"".concat(uu,"-floating")},QV=fe(S.Fab,{name:uu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(yh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),JV=fe(Qp,{name:uu,overridesResolver:function(e,t){return t.root}})({});const qV=B.memo(KC,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&OC(e.to,t.to)&&OC(e.state,t.state)});var $V=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=YC(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},bh=function(){return bh=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},bh.apply(this,arguments)},eW=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,xh,XC=function(e){var t=e.className,n=e.onClick,r=e.sx,o=eW(e,["className","onClick","sx"]),s=re.useLoading(),a=Kt();return B.createElement(tW,{className:t,sx:r},B.createElement(fw,{className:"".concat(Es.loadedIcon," ").concat(s&&Es.loadedLoading),onClick:n}),s&&B.createElement(Zc,bh({className:Wa("app-loader",Es.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};XC.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")},tW=fe("div",{name:fu,overridesResolver:function(e,t){return t.root}})((du={position:"relative"},du["& .".concat(Es.loadedIcon)]=(xh={},xh["&.".concat(Es.loadedLoading)]={opacity:0},xh),du["& .".concat(Es.loader)]={position:"absolute",top:"30%",left:"30%"},du));const nW=e=>e.scrollTop;function ZC(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 rW(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=Cn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(rW(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&&k0.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 Ch={},oW=Io;Object.defineProperty(Ch,"__esModule",{value:!0});var QC=Ch.default=void 0,iW=oW(bs()),sW=f;QC=Ch.default=(0,iW.default)((0,sW.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 aW=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,C=g.setPreferenceKey,w=c===b,I=T.useRef(w),F=T.useRef(null),E=T.useState(!1),M=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)},L=function(){P(!0)},H=function(){P(!1)};return B.createElement(re.PreferenceKeyContextProvider,{value:c},B.createElement(lW,{className:Wa(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:F,onMouseEnter:m?L:void 0,onMouseLeave:m?H:void 0},t),B.createElement(S.Popover,{open:m&&(M||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:H,PaperProps:{elevation:1,onMouseEnter:L,onMouseLeave:H,title:h(s),onClick:D},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},B.createElement(QC,{fontSize:"12px"})))},hu="RaConfigurable",ro={root:"".concat(hu,"-root"),editMode:"".concat(hu,"-editMode"),editorActive:"".concat(hu,"-editorActive")},lW=fe("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}),bi=function(){return bi=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},bi.apply(this,arguments)},cW=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},uW=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=cW(e,["title","defaultTitle","className"]),s=re.usePreference()[0],a=re.useTranslate(),c=re.useRecordContext();return s?B.createElement("span",bi({className:r},o),a(s,bi(bi({},c),{_:s}))):B.createElement("span",{className:r},t?typeof t=="string"?B.createElement("span",bi({},o),a(t,{_:t})):t:B.createElement("span",bi({},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)},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},fW=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)))},pW=function(e){var t=e.preferenceKey,n=dW(e,["preferenceKey"]),r=dt.useLocation().pathname;return B.createElement(aW,{editor:B.createElement(fW,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},B.createElement(uW,gu({},n)))},wh=function(){return wh=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},wh.apply(this,arguments)},hW=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.defaultTitle,n=e.title,r=e.preferenceKey,o=hW(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(pW,wh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},gW=x.oneOfType([x.string,x.element]);JC.propTypes={defaultTitle:x.string,className:x.string,record:x.any,title:gW};var mW=function(e){var t=ti.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},vW=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])})},qC={error:null},yW=function(e){kp(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=qC,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(qC)},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&&vW(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 bW(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 xW=bW,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)},CW=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},$C=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=CW(e,["className","loadingPrimary","loadingSecondary"]),c=re.useTimeout(1e3),u=re.useTranslate();return c?B.createElement(wW,Sh({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};$C.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")},wW=fe("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}),Ah={},SW=Io;Object.defineProperty(Ah,"__esModule",{value:!0});var ew=Ah.default=void 0,AW=SW(bs()),TW=f;ew=Ah.default=(0,AW.default)((0,TW.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 Th=function(){return Th=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},Th.apply(this,arguments)},EW=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},tw=function(e){var t=e.icon,n=t===void 0?OW: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=EW(e,["icon","label","scrollToTop","className"]),d=re.useResourceContext(e),h=re.useRecordContext(e),g=re.useCreatePath();return h?B.createElement(MW,Th({component:dt.Link,to:g({type:"edit",resource:d,id:h.id}),state:IW[String(a)],label:o,onClick:PW,className:Wa(jW.root,c)},u),n):null},IW={true:{_scrollToTop:!0},false:{}},OW=B.createElement(ew,null),PW=function(e){return e.stopPropagation()};tw.propTypes={icon:x.element,label:x.string,record:x.any,scrollToTop:x.bool};var nw="RaEditButton",jW={root:"".concat(nw,"-root")},MW=fe(Qp,{name:nw,overridesResolver:function(e,t){return t.root}})({}),Eh={},kW=Io;Object.defineProperty(Eh,"__esModule",{value:!0});var rw=Eh.default=void 0,FW=kW(bs()),LW=f;rw=Eh.default=(0,FW.default)((0,LW.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 DW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ih(e){return`scale(${e}, ${e**2})`}const _W={entering:{opacity:1,transform:Ih(1)},entered:{opacity:1,transform:"none"}},Oh=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,DW),F=ds(),E=B.useRef(),M=Kt(),P=B.useRef(null),D=Cn(P,s.ref,n),L=Q=>z=>{if(Q){const ne=P.current;z===void 0?Q(ne):Q(ne,z)}},H=L(h),K=L((Q,z)=>{nW(Q);const{duration:ne,delay:W,easing:te}=ZC({style:b,timeout:C,easing:a},{mode:"enter"});let V;C==="auto"?(V=M.transitions.getAutoHeightDuration(Q.clientHeight),E.current=V):V=ne,Q.style.transition=[M.transitions.create("opacity",{duration:V,delay:W}),M.transitions.create("transform",{duration:Oh?V:V*.666,delay:W,easing:te})].join(","),u&&u(Q,z)}),$=L(d),G=L(v),ae=L(Q=>{const{duration:z,delay:ne,easing:W}=ZC({style:b,timeout:C,easing:a},{mode:"exit"});let te;C==="auto"?(te=M.transitions.getAutoHeightDuration(Q.clientHeight),E.current=te):te=z,Q.style.transition=[M.transitions.create("opacity",{duration:te,delay:ne}),M.transitions.create("transform",{duration:Oh?te:te*.666,delay:Oh?ne:ne||te*.333,easing:W})].join(","),Q.style.opacity=0,Q.style.transform=Ih(.75),g&&g(Q)}),le=L(m),J=Q=>{C==="auto"&&F.start(E.current||0,Q),r&&r(P.current,Q)};return f.jsx(w,Z({appear:o,in:c,nodeRef:P,onEnter:K,onEntered:$,onEntering:H,onExit:ae,onExited:le,onExiting:G,addEndListener:J,timeout:C==="auto"?null:C},I,{children:(Q,z)=>B.cloneElement(s,Z({style:Z({opacity:0,transform:Ih(.75),visibility:Q==="exited"&&!c?"hidden":void 0},_W[Q],b,s.props.style),ref:D},z))}))});process.env.NODE_ENV!=="production"&&(yu.propTypes={addEndListener:x.func,appear:x.bool,children:xp.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 ow="base";function RW(e){return`${ow}--${e}`}function BW(e,t){return`${ow}-${e}-${t}`}function iw(e,t){const n=Hb[t];return n?RW(n):BW(e,t)}function NW(e,t){const n={};return t.forEach(r=>{n[r]=iw(e,r)}),n}const sw="Popper";function VW(e){return iw(sw,e)}NW(sw,["root"]);const WW=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],zW=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function UW(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 HW(e){return!xu(e)}const GW=()=>er({root:["root"]},sk(VW)),YW={},KW=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,WW),I=B.useRef(null),F=Cn(I,n),E=B.useRef(null),M=Cn(E,m),P=B.useRef(M);_r(()=>{P.current=M},[M]),B.useImperativeHandle(m,()=>E.current,[]);const D=UW(h,a),[L,H]=B.useState(D),[K,$]=B.useState(bu(o));B.useEffect(()=>{E.current&&E.current.forceUpdate()}),B.useEffect(()=>{o&&$(bu(o))},[o]),_r(()=>{if(!K||!d)return;const Q=W=>{H(W.placement)};if(process.env.NODE_ENV!=="production"&&K&&xu(K)&&K.nodeType===1){const W=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&W.top===0&&W.left===0&&W.right===0&&W.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:W})=>{Q(W)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const ne=
|
|
182
|
-
`))}else if(!t||typeof t.getBoundingClientRect!="function"||
|
|
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:
|
|
184
|
-
`))},[Ie,yt,Ve])}const Ut=
|
|
185
|
-
`))},[yt]));const ki={};Q||(cn.onTouchStart=
|
|
186
|
-
`));const gm=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]),Fi=Z({},D,{isRtl:Et,arrow:L,disableInteractive:xt,placement:ve,PopperComponentProp:Te,touch:Xt.current}),gl=oz(Fi),od=(r=(o=we.popper)!=null?o:K.Popper)!=null?r:iz,id=(s=(a=(c=we.transition)!=null?c:K.Transition)!=null?a:de)!=null?s:yu,sd=(u=(d=we.tooltip)!=null?d:K.Tooltip)!=null?u:sz,ad=(h=(g=we.arrow)!=null?g:K.Arrow)!=null?h:az,ld=cs(od,Z({},Ce,(m=be.popper)!=null?m:$.popper,{className:lt(gl.popper,Ce==null?void 0:Ce.className,(v=(b=be.popper)!=null?b:$.popper)==null?void 0:v.className)}),Fi),mm=cs(id,Z({},qe,(C=be.transition)!=null?C:$.transition),Fi),vm=cs(sd,Z({},(w=be.tooltip)!=null?w:$.tooltip,{className:lt(gl.tooltip,(I=(F=be.tooltip)!=null?F:$.tooltip)==null?void 0:I.className)}),Fi),ym=cs(ad,Z({},(E=be.arrow)!=null?E:$.arrow,{className:lt(gl.arrow,(M=(P=be.arrow)!=null?P:$.arrow)==null?void 0:M.className)}),Fi);return f.jsxs(B.Fragment,{children:[B.cloneElement(Qe,cn),f.jsx(od,Z({as:Te??jh,placement:ve,anchorEl:te?{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,ld,{popperOptions:gm,children:({TransitionProps:Ve})=>f.jsx(id,Z({timeout:ln.transitions.duration.shorter},Ve,mm,{children:f.jsxs(sd,Z({},vm,{children:[Ie,L?f.jsx(ad,Z({},ym,{ref:bt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(dw.propTypes={arrow:x.bool,children:xp.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 Mh=function(){return Mh=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},Mh.apply(this,arguments)},lz=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},fw=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?cz:r,s=e.onClick,a=e.className,c=lz(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(dw,{title:n&&d(n,{_:"Refresh"})},B.createElement(Bp,Mh({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},cz=B.createElement(rw,null);fw.propTypes={className:x.string,label:x.string,icon:x.element};var kh={},uz=Io;Object.defineProperty(kh,"__esModule",{value:!0});var pw=kh.default=void 0,dz=uz(bs()),fz=f;pw=kh.default=(0,dz.default)((0,fz.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)},hw=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())})},gw=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}}},pz=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},Fh=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?gz: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=pz(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),F=re.useTranslate(),E=vn.useFormContext(),M=re.useSaveContext(),P=vn.useFormState(),D=P.dirtyFields,L=P.isValidating,H=P.isSubmitting,K=Object.keys(D).length>0,$=yz(w===!1||w===void 0?void 0:!w,d||!K||L||H);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(J){return hw(void 0,void 0,void 0,function(){var Q;return gw(this,function(z){switch(z.label){case 0:return M!=null&&M.save?[4,M.save(J,Ka(Ka({},u),{transform:m}))]:[3,2];case 1:Q=z.sent(),z.label=2;case 2:return Q!=null&&re.setSubmissionErrors(Q,E.setError),[2]}})})},[E.setError,M,u,m]),ae=T.useCallback(function(J){return hw(void 0,void 0,void 0,function(){return gw(this,function(Q){switch(Q.label){case 0:return c&&c(J),J.defaultPrevented?[2]:g!=="button"?[3,2]:(J.stopPropagation(),[4,E.handleSubmit(G)(J)]);case 1:Q.sent(),Q.label=2;case 2:return[2]}})})},[c,g,E,G]),le=a&&F(a,{_:a});return B.createElement(vz,Ka({variant:b,type:g,color:n,"aria-label":le,disabled:$,onClick:ae},I),H?B.createElement(S.CircularProgress,{sx:hz,size:14,thickness:3,color:"inherit"}):o,le)},hz={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},gz=B.createElement(pw,null);Fh.propTypes={className:x.string,invalid:x.bool,label:x.string,variant:x.oneOf(["text","outlined","contained"]),icon:x.element,alwaysEnable:x.bool};var mz="RaSaveButton",vz=fe(S.Button,{name:mz,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}),yz=function(e,t){return typeof e>"u"?t:e},mw=eu,bz=ih,xz=Ga,vw=mw?mw.isConcatSpreadable:void 0;function Cz(e){return xz(e)||bz(e)||!!(vw&&e&&e[vw])}var wz=Cz,Sz=tC,Az=wz;function yw(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=Az),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?yw(c,t-1,n,r,o):Sz(o,c):r||(o[o.length]=c)}return o}var bw=yw;function Tz(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 Ez=Tz;function Iz(e){return e!==e}var Oz=Iz;function Pz(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var jz=Pz,Mz=Ez,kz=Oz,Fz=jz;function Lz(e,t,n){return t===t?Fz(e,t,n):Mz(e,kz,n)}var Dz=Lz,_z=Dz;function Rz(e,t){var n=e==null?0:e.length;return!!n&&_z(e,t,0)>-1}var xw=Rz;function Bz(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 Cw=Bz;function Nz(){}var Vz=Nz,Lh=pC,Wz=Vz,zz=rh,Uz=1/0,Hz=Lh&&1/zz(new Lh([,-0]))[1]==Uz?function(e){return new Lh(e)}:Wz,Gz=Hz,Yz=th,Kz=xw,Xz=Cw,Zz=nh,Qz=Gz,Jz=rh,qz=200;function $z(e,t,n){var r=-1,o=Kz,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=Xz;else if(s>=qz){var d=t?null:Qz(e);if(d)return Jz(d);a=!1,o=Zz,u=new Yz}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 eU=$z,tU=bw,nU=vh,rU=eU,oU=mh,iU=nU(function(e){return rU(tU(e,1,oU,!0))}),sU=iU;const aU=Qr(sU);var lU=th,cU=xw,uU=Cw,dU=xW,fU=aC,pU=nh,hU=200;function gU(e,t,n,r){var o=-1,s=cU,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=dU(t,fU(n))),r?(s=uU,a=!1):t.length>=hU&&(s=pU,a=!1,t=new lU(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 mU=gU,vU=mU,yU=bw,bU=vh,ww=mh,xU=bU(function(e,t){return ww(e)?vU(e,yU(t,1,ww,!0)):[]}),CU=xU;const wU=Qr(CU);var Dh={},SU=Io;Object.defineProperty(Dh,"__esModule",{value:!0});var _h=Dh.default=void 0,AU=SU(bs()),TU=f;_h=Dh.default=(0,AU.default)((0,TU.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 EU(){window.history.go(-1)}function Rh(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";mW(o);const d=T.useCallback(()=>{EU()},[]);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(JC,{title:s}):null,f.jsx("img",{src:L1,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:{}};/**
|
|
180
|
+
`),VF)),Qc=B.forwardRef(function(t,n){const r=or({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,BF),v=Z({},r,{color:s,disableShrink:a,size:c,thickness:d,value:h,variant:g}),b=WF(v),C={},w={},E={};if(g==="determinate"){const F=2*Math.PI*((ko-d)/2);C.strokeDasharray=F.toFixed(3),E["aria-valuenow"]=Math.round(h),C.strokeDashoffset=`${((100-h)/100*F).toFixed(3)}px`,w.transform="rotate(-90deg)"}return f.jsx(zF,Z({className:$e(b.root,o),style:Z({width:c,height:c},w,u),ownerState:v,ref:n,role:"progressbar"},E,m,{children:f.jsx(UF,{className:b.svg,ownerState:v,viewBox:`${ko/2} ${ko/2} ${ko} ${ko}`,children:f.jsx(HF,{className:b.circle,style:C,ownerState:v,cx:ko,cy:ko,r:(ko-d)/2,fill:"none",strokeWidth:d})})}))});process.env.NODE_ENV!=="production"&&(Qc.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 GF(e){return Bn("MuiLoadingButton",e)}const no=sr("MuiLoadingButton",["root","loading","loadingIndicator","loadingIndicatorCenter","loadingIndicatorStart","loadingIndicatorEnd","endIconLoadingEnd","startIconLoadingStart"]),YF=["children","disabled","id","loading","loadingIndicator","loadingPosition","variant"],KF=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=er(o,GF,r);return Z({},r,s)},XF=e=>e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"&&e!=="classes",ZF=de(j1,{shouldForwardProp:e=>XF(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}})),QF=de("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})),D1=B.forwardRef(function(t,n){const r=or({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,YF),m=Ap(a),v=u??f.jsx(Qc,{"aria-labelledby":m,color:"inherit",size:16}),b=Z({},r,{disabled:s,loading:c,loadingIndicator:v,loadingPosition:d,variant:h}),C=KF(b),w=c?f.jsx(QF,{className:C.loadingIndicator,ownerState:b,children:v}):null;return f.jsxs(ZF,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"&&(D1.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 Jp({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 ${nt(a,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${nt(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 JF=de(D1,{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"&&{...Jp({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"&&{...Jp({variant:t,theme:e,color:r,loadingPosition:s})},"&.Mui-disabled":{...t!=="text"&&{...Jp({variant:t,theme:e,color:r,loadingPosition:s})}}})),qF=T.forwardRef(({variant:e="text",shape:t,children:n,color:r="primary",loadingPosition:o,loading:s,...a},c)=>{const u=Kt();return f.jsx(JF,{ref:c,variant:e,shape:t,theme:u,loadingPosition:o,loading:s,color:r,...a,children:n})});function $F({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 eL=de(({className:e,...t})=>f.jsx(S.Tooltip,{...t,classes:{popper:e}}),{shouldForwardProp:e=>e!=="color"&&e!=="labelColor"})(({theme:e,color:t,labelColor:n})=>({...t&&$F({color:t,theme:e,labelColor:n})}));function Jc({children:e,arrow:t,labelColor:n="",...r}){const o=Kt();return f.jsx(S.Box,{display:"flex",children:f.jsx(eL,{arrow:t,...r,theme:o,labelColor:n,children:e})})}const gi=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})})]})}),tL=T.forwardRef(function(t,n){return f.jsx(S.Zoom,{ref:n,timeout:200,...t})});function nL({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 rL({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 oL({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 iL({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 _1=de("span")(({arrow:e="top-right",theme:t})=>{const o=t.palette.mode==="dark"?"none":`solid 1px ${nt(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 R1(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 B1({open:e,children:t,arrow:n="top-right",disabledArrow:r,sx:o,...s}){const{style:a,anchorOrigin:c,transformOrigin:u}=R1(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(_1,{arrow:n}),t]})}const sL={width:"100%",justifyContent:"flex-start"},aL=S.styled("div",{shouldForwardProp:e=>e!=="color"&&e!=="variant"&&e!=="sx",slot:"root",overridesResolver:(e,t)=>[t.root]})(()=>({textAlign:"right"})),lL=S.styled(B1,{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(aL,{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(lL,{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:{...sL}})},d))})]})}function qc(){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 N1="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAesAAAHKCAYAAAAjA2MyAAAAxXpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjabVBbDsMgDPvnFDsCiVMex6Erk3aDHX+BhKmtZok4xGBCQv+8X+ExwCRBtlxSTSkqpErlpkmJhjYjRZlxou+e0bUens1TVoYyTCjJmFbdLyymcW87GZWnC/tVqGLM5WbkD2F0xJocblTdCGwCuUGzb8VUSz5/Ye/ximIrjIA8vX8m971knd6xaRHMHYSoEUjWAMZCQFOBNALjIGmxQVbFO9GB/JvTQvgCAHJZ0+cZkqUAAAGFaUNDUElDQyBwcm9maWxlAAB4nH2RPUjDUBSFT1NFqRUHO4iIZKjiYBcVcSxVLIKF0lZo1cHkpX/QpCFJcXEUXAsO/ixWHVycdXVwFQTBHxBXFydFFynxvqTQIsYHl/dx3juH++4DhEaFqWZXFFA1y0jFY2I2tyr2vKIPo1QTCEjM1BPpxQw819c9fHy/i/As73t/rn4lbzLAJxJHmW5YxBvEs5uWznmfOMRKkkJ8TjxpUIPEj1yXXX7jXHRY4JkhI5OaJw4Ri8UOljuYlQyVeIY4rKga5QtZlxXOW5zVSo21+uQvDOa1lTTXqUYQxxISSEKEjBrKqMBChHaNFBMpOo95+Icdf5JcMrnKYORYQBUqJMcP/ge/Z2sWpqfcpGAM6H6x7Y8xoGcXaNZt+/vYtpsngP8ZuNLa/moDmPskvd7WwkfAwDZwcd3W5D3gcgcYetIlQ3IkP5VQKADvZ/RNOWDwFgisuXNrneP0AcjQrJZvgINDY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ZGM6Rm9ybWF0PSJpbWFnZS9wbmciCiAgIEdJTVA6QVBJPSIyLjAiCiAgIEdJTVA6UGxhdGZvcm09IldpbmRvd3MiCiAgIEdJTVA6VGltZVN0YW1wPSIxNzAxMzQ0NDkwNjkzMDg2IgogICBHSU1QOlZlcnNpb249IjIuMTAuMzYiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIgogICB4bXA6TWV0YWRhdGFEYXRlPSIyMDIzOjExOjMwVDEyOjQxOjMwKzAxOjAwIgogICB4bXA6TW9kaWZ5RGF0ZT0iMjAyMzoxMTozMFQxMjo0MTozMCswMTowMCI+CiAgIDx4bXBNTTpIaXN0b3J5PgogICAgPHJkZjpTZXE+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjVkNGE4NzAxLWYzOTItNGVhOS04YzdlLWEwNzQ4ODE5ODIyYSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdnQ6d2hlbj0iMjAyMy0xMS0zMFQxMjo0MTozMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz5A30f8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5wseCykesp/dTgAAIABJREFUeNrsvXt0XGeZ5vt8e9e9dClJtuzYupQTEkjiJDIQOw0By4EQzJCOTNMkDsyJciAzNDAdmZk1Z4awxvJMN92nV9OyaWCaQ1h2GogcBtqGhHZMQmxjQsehg0VQCISOVZKvki2rdKl71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wBWYOv8u7NfGwQLWIAblhpbSJnQNZQcYH32gS+QVxYg8ZlxJKyqDkDsoYql3fEJu8eom+o86h52IqciZoBWUOtC7wnE3EjcKh1MVtRc5RjAWQNCBygMoxkhBxFzICsAZwFbl1gs0SOxMHPaHnEFi0PiwtggKwBkDhUPFK2PoaJlgFZA5RX4hGbwK2vEXnjCTmWJeVhSVEiZUDWANUv856MtO0iDyHzmpZxLEvIMYQMyBqgvmVuF7gl9ojt84c5JV+JSZqwyTeW9TlKuhqQNQDkI/RQlsSdvlbm88oGj9gt+dqlG3P4c5SIGABZA1SL4EM2eUeyPuf6WlnPWpT6ZmDE5fvRLOHGHP7O/n27dIV4AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACgLvk/Afd07jclJisAAAAASUVORK5CYII=";var qp={};const cL=Jr(s9);var V1;function bs(){return V1||(V1=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=cL}(qp)),qp}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)},W1=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},$p=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=W1(e,["alignIcon","children","className","disabled","label","color","size","to"]),v=re.useTranslate(),b=a?v(a,{_:a}):void 0,C=fL(g),w=S.useMediaQuery(function(E){return E.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(dL,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)};$p.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 uL="RaButton",dL=de(S.Button,{name:uL,overridesResolver:function(e,t){return t.root}})({"&.MuiButton-sizeSmall":{lineHeight:1.5}}),fL=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=W1(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},eh={},pL=Io;Object.defineProperty(eh,"__esModule",{value:!0});var th=eh.default=void 0,hL=pL(bs()),gL=f;th=eh.default=(0,hL.default)((0,gL.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add");function z1(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=z1(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=z1(e))&&(r&&(r+=" "),r+=t);return r}function mL(){this.__data__=[],this.size=0}var vL=mL;function yL(e,t){return e===t||e!==e&&t!==t}var za=yL,bL=za;function xL(e,t){for(var n=e.length;n--;)if(bL(e[n][0],t))return n;return-1}var $c=xL,CL=$c,wL=Array.prototype,SL=wL.splice;function AL(e){var t=this.__data__,n=CL(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():SL.call(t,n,1),--this.size,!0}var TL=AL,EL=$c;function IL(e){var t=this.__data__,n=EL(t,e);return n<0?void 0:t[n][1]}var OL=IL,PL=$c;function jL(e){return PL(this.__data__,e)>-1}var ML=jL,kL=$c;function FL(e,t){var n=this.__data__,r=kL(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var LL=FL,DL=vL,_L=TL,RL=OL,BL=ML,NL=LL;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=DL,xs.prototype.delete=_L,xs.prototype.get=RL,xs.prototype.has=BL,xs.prototype.set=NL;var eu=xs,VL=eu;function WL(){this.__data__=new VL,this.size=0}var zL=WL;function UL(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var HL=UL;function GL(e){return this.__data__.get(e)}var YL=GL;function KL(e){return this.__data__.has(e)}var XL=KL,ZL=typeof bn=="object"&&bn&&bn.Object===Object&&bn,U1=ZL,QL=U1,JL=typeof self=="object"&&self&&self.Object===Object&&self,qL=QL||JL||Function("return this")(),Nr=qL,$L=Nr,e2=$L.Symbol,tu=e2,H1=tu,G1=Object.prototype,t2=G1.hasOwnProperty,n2=G1.toString,Ua=H1?H1.toStringTag:void 0;function r2(e){var t=t2.call(e,Ua),n=e[Ua];try{e[Ua]=void 0;var r=!0}catch{}var o=n2.call(e);return r&&(t?e[Ua]=n:delete e[Ua]),o}var o2=r2,i2=Object.prototype,s2=i2.toString;function a2(e){return s2.call(e)}var l2=a2,Y1=tu,c2=o2,u2=l2,d2="[object Null]",f2="[object Undefined]",K1=Y1?Y1.toStringTag:void 0;function p2(e){return e==null?e===void 0?f2:d2:K1&&K1 in Object(e)?c2(e):u2(e)}var Ha=p2;function h2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var mi=h2,g2=Ha,m2=mi,v2="[object AsyncFunction]",y2="[object Function]",b2="[object GeneratorFunction]",x2="[object Proxy]";function C2(e){if(!m2(e))return!1;var t=g2(e);return t==y2||t==b2||t==v2||t==x2}var nh=C2,w2=Nr,S2=w2["__core-js_shared__"],A2=S2,rh=A2,X1=function(){var e=/[^.]+$/.exec(rh&&rh.keys&&rh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function T2(e){return!!X1&&X1 in e}var E2=T2,I2=Function.prototype,O2=I2.toString;function P2(e){if(e!=null){try{return O2.call(e)}catch{}try{return e+""}catch{}}return""}var Z1=P2,j2=nh,M2=E2,k2=mi,F2=Z1,L2=/[\\^$.*+?()[\]{}|]/g,D2=/^\[object .+?Constructor\]$/,_2=Function.prototype,R2=Object.prototype,B2=_2.toString,N2=R2.hasOwnProperty,V2=RegExp("^"+B2.call(N2).replace(L2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function W2(e){if(!k2(e)||M2(e))return!1;var t=j2(e)?V2:D2;return t.test(F2(e))}var z2=W2;function U2(e,t){return e==null?void 0:e[t]}var H2=U2,G2=z2,Y2=H2;function K2(e,t){var n=Y2(e,t);return G2(n)?n:void 0}var vi=K2,X2=vi,Z2=Nr,Q2=X2(Z2,"Map"),oh=Q2,J2=vi,q2=J2(Object,"create"),nu=q2,Q1=nu;function $2(){this.__data__=Q1?Q1(null):{},this.size=0}var eD=$2;function tD(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var nD=tD,rD=nu,oD="__lodash_hash_undefined__",iD=Object.prototype,sD=iD.hasOwnProperty;function aD(e){var t=this.__data__;if(rD){var n=t[e];return n===oD?void 0:n}return sD.call(t,e)?t[e]:void 0}var lD=aD,cD=nu,uD=Object.prototype,dD=uD.hasOwnProperty;function fD(e){var t=this.__data__;return cD?t[e]!==void 0:dD.call(t,e)}var pD=fD,hD=nu,gD="__lodash_hash_undefined__";function mD(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=hD&&t===void 0?gD:t,this}var vD=mD,yD=eD,bD=nD,xD=lD,CD=pD,wD=vD;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=yD,Cs.prototype.delete=bD,Cs.prototype.get=xD,Cs.prototype.has=CD,Cs.prototype.set=wD;var SD=Cs,J1=SD,AD=eu,TD=oh;function ED(){this.size=0,this.__data__={hash:new J1,map:new(TD||AD),string:new J1}}var ID=ED;function OD(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var PD=OD,jD=PD;function MD(e,t){var n=e.__data__;return jD(t)?n[typeof t=="string"?"string":"hash"]:n.map}var ru=MD,kD=ru;function FD(e){var t=kD(this,e).delete(e);return this.size-=t?1:0,t}var LD=FD,DD=ru;function _D(e){return DD(this,e).get(e)}var RD=_D,BD=ru;function ND(e){return BD(this,e).has(e)}var VD=ND,WD=ru;function zD(e,t){var n=WD(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var UD=zD,HD=ID,GD=LD,YD=RD,KD=VD,XD=UD;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=HD,ws.prototype.delete=GD,ws.prototype.get=YD,ws.prototype.has=KD,ws.prototype.set=XD;var q1=ws,ZD=eu,QD=oh,JD=q1,qD=200;function $D(e,t){var n=this.__data__;if(n instanceof ZD){var r=n.__data__;if(!QD||r.length<qD-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new JD(r)}return n.set(e,t),this.size=n.size,this}var e_=$D,t_=eu,n_=zL,r_=HL,o_=YL,i_=XL,s_=e_;function Ss(e){var t=this.__data__=new t_(e);this.size=t.size}Ss.prototype.clear=n_,Ss.prototype.delete=r_,Ss.prototype.get=o_,Ss.prototype.has=i_,Ss.prototype.set=s_;var $1=Ss,a_="__lodash_hash_undefined__";function l_(e){return this.__data__.set(e,a_),this}var c_=l_;function u_(e){return this.__data__.has(e)}var d_=u_,f_=q1,p_=c_,h_=d_;function ou(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new f_;++t<n;)this.add(e[t])}ou.prototype.add=ou.prototype.push=p_,ou.prototype.has=h_;var ih=ou;function g_(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 m_=g_;function v_(e,t){return e.has(t)}var sh=v_,y_=ih,b_=m_,x_=sh,C_=1,w_=2;function S_(e,t,n,r,o,s){var a=n&C_,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&w_?new y_: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(!b_(t,function(E,F){if(!x_(v,F)&&(b===E||o(b,E,n,r,s)))return v.push(F)})){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 eC=S_,A_=Nr,T_=A_.Uint8Array,tC=T_;function E_(e){var t=-1,n=Array(e.size);return e.forEach(function(r,o){n[++t]=[o,r]}),n}var I_=E_;function O_(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var ah=O_,nC=tu,rC=tC,P_=za,j_=eC,M_=I_,k_=ah,F_=1,L_=2,D_="[object Boolean]",__="[object Date]",R_="[object Error]",B_="[object Map]",N_="[object Number]",V_="[object RegExp]",W_="[object Set]",z_="[object String]",U_="[object Symbol]",H_="[object ArrayBuffer]",G_="[object DataView]",oC=nC?nC.prototype:void 0,lh=oC?oC.valueOf:void 0;function Y_(e,t,n,r,o,s,a){switch(n){case G_:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case H_:return!(e.byteLength!=t.byteLength||!s(new rC(e),new rC(t)));case D_:case __:case N_:return P_(+e,+t);case R_:return e.name==t.name&&e.message==t.message;case V_:case z_:return e==t+"";case B_:var c=M_;case W_:var u=r&F_;if(c||(c=k_),e.size!=t.size&&!u)return!1;var d=a.get(e);if(d)return d==t;r|=L_,a.set(e,t);var h=j_(c(e),c(t),r,o,s,a);return a.delete(e),h;case U_:if(lh)return lh.call(e)==lh.call(t)}return!1}var K_=Y_;function X_(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var iC=X_,Z_=Array.isArray,Ga=Z_,Q_=iC,J_=Ga;function q_(e,t,n){var r=t(e);return J_(e)?r:Q_(r,n(e))}var $_=q_;function eR(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 tR=eR;function nR(){return[]}var rR=nR,oR=tR,iR=rR,sR=Object.prototype,aR=sR.propertyIsEnumerable,sC=Object.getOwnPropertySymbols,lR=sC?function(e){return e==null?[]:(e=Object(e),oR(sC(e),function(t){return aR.call(e,t)}))}:iR,cR=lR;function uR(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var dR=uR;function fR(e){return e!=null&&typeof e=="object"}var As=fR,pR=Ha,hR=As,gR="[object Arguments]";function mR(e){return hR(e)&&pR(e)==gR}var vR=mR,aC=vR,yR=As,lC=Object.prototype,bR=lC.hasOwnProperty,xR=lC.propertyIsEnumerable,CR=aC(function(){return arguments}())?aC:function(e){return yR(e)&&bR.call(e,"callee")&&!xR.call(e,"callee")},ch=CR,iu={exports:{}};function wR(){return!1}var SR=wR;iu.exports,function(e,t){var n=Nr,r=SR,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}(iu,iu.exports);var uh=iu.exports,AR=9007199254740991,TR=/^(?:0|[1-9]\d*)$/;function ER(e,t){var n=typeof e;return t=t??AR,!!t&&(n=="number"||n!="symbol"&&TR.test(e))&&e>-1&&e%1==0&&e<t}var cC=ER,IR=9007199254740991;function OR(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=IR}var uC=OR,PR=Ha,jR=uC,MR=As,kR="[object Arguments]",FR="[object Array]",LR="[object Boolean]",DR="[object Date]",_R="[object Error]",RR="[object Function]",BR="[object Map]",NR="[object Number]",VR="[object Object]",WR="[object RegExp]",zR="[object Set]",UR="[object String]",HR="[object WeakMap]",GR="[object ArrayBuffer]",YR="[object DataView]",KR="[object Float32Array]",XR="[object Float64Array]",ZR="[object Int8Array]",QR="[object Int16Array]",JR="[object Int32Array]",qR="[object Uint8Array]",$R="[object Uint8ClampedArray]",eB="[object Uint16Array]",tB="[object Uint32Array]",vt={};vt[KR]=vt[XR]=vt[ZR]=vt[QR]=vt[JR]=vt[qR]=vt[$R]=vt[eB]=vt[tB]=!0,vt[kR]=vt[FR]=vt[GR]=vt[LR]=vt[YR]=vt[DR]=vt[_R]=vt[RR]=vt[BR]=vt[NR]=vt[VR]=vt[WR]=vt[zR]=vt[UR]=vt[HR]=!1;function nB(e){return MR(e)&&jR(e.length)&&!!vt[PR(e)]}var rB=nB;function oB(e){return function(t){return e(t)}}var dC=oB,su={exports:{}};su.exports,function(e,t){var n=U1,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}(su,su.exports);var iB=su.exports,sB=rB,aB=dC,fC=iB,pC=fC&&fC.isTypedArray,lB=pC?aB(pC):sB,dh=lB,cB=dR,uB=ch,dB=Ga,fB=uh,pB=cC,hB=dh,gB=Object.prototype,mB=gB.hasOwnProperty;function vB(e,t){var n=dB(e),r=!n&&uB(e),o=!n&&!r&&fB(e),s=!n&&!r&&!o&&hB(e),a=n||r||o||s,c=a?cB(e.length,String):[],u=c.length;for(var d in e)(t||mB.call(e,d))&&!(a&&(d=="length"||o&&(d=="offset"||d=="parent")||s&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||pB(d,u)))&&c.push(d);return c}var hC=vB,yB=Object.prototype;function bB(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||yB;return e===n}var fh=bB;function xB(e,t){return function(n){return e(t(n))}}var gC=xB,CB=gC,wB=CB(Object.keys,Object),SB=wB,AB=fh,TB=SB,EB=Object.prototype,IB=EB.hasOwnProperty;function OB(e){if(!AB(e))return TB(e);var t=[];for(var n in Object(e))IB.call(e,n)&&n!="constructor"&&t.push(n);return t}var PB=OB,jB=nh,MB=uC;function kB(e){return e!=null&&MB(e.length)&&!jB(e)}var au=kB,FB=hC,LB=PB,DB=au;function _B(e){return DB(e)?FB(e):LB(e)}var RB=_B,BB=$_,NB=cR,VB=RB;function WB(e){return BB(e,VB,NB)}var zB=WB,mC=zB,UB=1,HB=Object.prototype,GB=HB.hasOwnProperty;function YB(e,t,n,r,o,s){var a=n&UB,c=mC(e),u=c.length,d=mC(t),h=d.length;if(u!=h&&!a)return!1;for(var g=u;g--;){var m=c[g];if(!(a?m in t:GB.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 E=e[m],F=t[m];if(r)var I=a?r(F,E,m,t,e,s):r(E,F,m,e,t,s);if(!(I===void 0?E===F||o(E,F,n,r,s):I)){C=!1;break}w||(w=m=="constructor")}if(C&&!w){var M=e.constructor,P=t.constructor;M!=P&&"constructor"in e&&"constructor"in t&&!(typeof M=="function"&&M instanceof M&&typeof P=="function"&&P instanceof P)&&(C=!1)}return s.delete(e),s.delete(t),C}var KB=YB,XB=vi,ZB=Nr,QB=XB(ZB,"DataView"),JB=QB,qB=vi,$B=Nr,e7=qB($B,"Promise"),t7=e7,n7=vi,r7=Nr,o7=n7(r7,"Set"),vC=o7,i7=vi,s7=Nr,a7=i7(s7,"WeakMap"),l7=a7,ph=JB,hh=oh,gh=t7,mh=vC,vh=l7,yC=Ha,Ts=Z1,bC="[object Map]",c7="[object Object]",xC="[object Promise]",CC="[object Set]",wC="[object WeakMap]",SC="[object DataView]",u7=Ts(ph),d7=Ts(hh),f7=Ts(gh),p7=Ts(mh),h7=Ts(vh),yi=yC;(ph&&yi(new ph(new ArrayBuffer(1)))!=SC||hh&&yi(new hh)!=bC||gh&&yi(gh.resolve())!=xC||mh&&yi(new mh)!=CC||vh&&yi(new vh)!=wC)&&(yi=function(e){var t=yC(e),n=t==c7?e.constructor:void 0,r=n?Ts(n):"";if(r)switch(r){case u7:return SC;case d7:return bC;case f7:return xC;case p7:return CC;case h7:return wC}return t});var g7=yi,yh=$1,m7=eC,v7=K_,y7=KB,AC=g7,TC=Ga,EC=uh,b7=dh,x7=1,IC="[object Arguments]",OC="[object Array]",lu="[object Object]",C7=Object.prototype,PC=C7.hasOwnProperty;function w7(e,t,n,r,o,s){var a=TC(e),c=TC(t),u=a?OC:AC(e),d=c?OC:AC(t);u=u==IC?lu:u,d=d==IC?lu:d;var h=u==lu,g=d==lu,m=u==d;if(m&&EC(e)){if(!EC(t))return!1;a=!0,h=!1}if(m&&!h)return s||(s=new yh),a||b7(e)?m7(e,t,n,r,o,s):v7(e,t,u,n,r,o,s);if(!(n&x7)){var v=h&&PC.call(e,"__wrapped__"),b=g&&PC.call(t,"__wrapped__");if(v||b){var C=v?e.value():e,w=b?t.value():t;return s||(s=new yh),o(C,w,n,r,s)}}return m?(s||(s=new yh),y7(e,t,n,r,o,s)):!1}var S7=w7,A7=S7,jC=As;function MC(e,t,n,r,o){return e===t?!0:e==null||t==null||!jC(e)&&!jC(t)?e!==e&&t!==t:A7(e,t,n,r,MC,o)}var T7=MC,E7=T7;function I7(e,t){return E7(e,t)}var O7=I7;const cu=Qr(O7);var P7=vi,j7=function(){try{var e=P7(Object,"defineProperty");return e({},"",{}),e}catch{}}(),kC=j7,FC=kC;function M7(e,t,n){t=="__proto__"&&FC?FC(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var bh=M7,k7=bh,F7=za;function L7(e,t,n){(n!==void 0&&!F7(e[t],n)||n===void 0&&!(t in e))&&k7(e,t,n)}var LC=L7;function D7(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 _7=D7,R7=_7,B7=R7(),N7=B7,uu={exports:{}};uu.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}(uu,uu.exports);var V7=uu.exports,DC=tC;function W7(e){var t=new e.constructor(e.byteLength);return new DC(t).set(new DC(e)),t}var z7=W7,U7=z7;function H7(e,t){var n=t?U7(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var G7=H7;function Y7(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var K7=Y7,X7=mi,_C=Object.create,Z7=function(){function e(){}return function(t){if(!X7(t))return{};if(_C)return _C(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Q7=Z7,J7=gC,q7=J7(Object.getPrototypeOf,Object),RC=q7,$7=Q7,eN=RC,tN=fh;function nN(e){return typeof e.constructor=="function"&&!tN(e)?$7(eN(e)):{}}var rN=nN,oN=au,iN=As;function sN(e){return iN(e)&&oN(e)}var xh=sN,aN=Ha,lN=RC,cN=As,uN="[object Object]",dN=Function.prototype,fN=Object.prototype,BC=dN.toString,pN=fN.hasOwnProperty,hN=BC.call(Object);function gN(e){if(!cN(e)||aN(e)!=uN)return!1;var t=lN(e);if(t===null)return!0;var n=pN.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&BC.call(n)==hN}var mN=gN;function vN(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var NC=vN,yN=bh,bN=za,xN=Object.prototype,CN=xN.hasOwnProperty;function wN(e,t,n){var r=e[t];(!(CN.call(e,t)&&bN(r,n))||n===void 0&&!(t in e))&&yN(e,t,n)}var SN=wN,AN=SN,TN=bh;function EN(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?TN(n,c,u):AN(n,c,u)}return n}var IN=EN;function ON(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var PN=ON,jN=mi,MN=fh,kN=PN,FN=Object.prototype,LN=FN.hasOwnProperty;function DN(e){if(!jN(e))return kN(e);var t=MN(e),n=[];for(var r in e)r=="constructor"&&(t||!LN.call(e,r))||n.push(r);return n}var _N=DN,RN=hC,BN=_N,NN=au;function VN(e){return NN(e)?RN(e,!0):BN(e)}var VC=VN,WN=IN,zN=VC;function UN(e){return WN(e,zN(e))}var HN=UN,WC=LC,GN=V7,YN=G7,KN=K7,XN=rN,zC=ch,UC=Ga,ZN=xh,QN=uh,JN=nh,qN=mi,$N=mN,eV=dh,HC=NC,tV=HN;function nV(e,t,n,r,o,s,a){var c=HC(e,n),u=HC(t,n),d=a.get(u);if(d){WC(e,n,d);return}var h=s?s(c,u,n+"",e,t,a):void 0,g=h===void 0;if(g){var m=UC(u),v=!m&&QN(u),b=!m&&!v&&eV(u);h=u,m||v||b?UC(c)?h=c:ZN(c)?h=KN(c):v?(g=!1,h=GN(u,!0)):b?(g=!1,h=YN(u,!0)):h=[]:$N(u)||zC(u)?(h=c,zC(c)?h=tV(c):(!qN(c)||JN(c))&&(h=XN(u))):g=!1}g&&(a.set(u,h),o(h,u,r,s,a),a.delete(u)),WC(e,n,h)}var rV=nV,oV=$1,iV=LC,sV=N7,aV=rV,lV=mi,cV=VC,uV=NC;function GC(e,t,n,r,o){e!==t&&sV(t,function(s,a){if(o||(o=new oV),lV(s))aV(e,t,a,n,GC,r,o);else{var c=r?r(uV(e,a),s,a+"",e,t,o):void 0;c===void 0&&(c=s),iV(e,a,c)}},cV)}var dV=GC;function fV(e){return e}var YC=fV;function pV(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 hV=pV,gV=hV,KC=Math.max;function mV(e,t,n){return t=KC(t===void 0?e.length-1:t,0),function(){for(var r=arguments,o=-1,s=KC(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),gV(e,this,c)}}var vV=mV;function yV(e){return function(){return e}}var bV=yV,xV=bV,XC=kC,CV=YC,wV=XC?function(e,t){return XC(e,"toString",{configurable:!0,enumerable:!1,value:xV(t),writable:!0})}:CV,SV=wV,AV=800,TV=16,EV=Date.now;function IV(e){var t=0,n=0;return function(){var r=EV(),o=TV-(r-n);if(n=r,o>0){if(++t>=AV)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var OV=IV,PV=SV,jV=OV,MV=jV(PV),kV=MV,FV=YC,LV=vV,DV=kV;function _V(e,t){return DV(LV(e,t,FV),e+"")}var Ch=_V,RV=za,BV=au,NV=cC,VV=mi;function WV(e,t,n){if(!VV(n))return!1;var r=typeof t;return(r=="number"?BV(n)&&NV(t,n.length):r=="string"&&t in n)?RV(n[t],e):!1}var zV=WV,UV=Ch,HV=zV;function GV(e){return UV(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&&HV(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 YV=GV,KV=dV,XV=YV,ZV=XV(function(e,t,n){KV(e,t,n)}),QV=ZV;const ZC=Qr(QV);var du=function(){return du=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},du.apply(this,arguments)},QC=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.className,n=e.icon,r=n===void 0?qV: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=QC(e,["className","icon","label","resource","scrollToTop","variant","to","state"]),v=re.useResourceContext(e),b=re.useCreatePath(),C=re.useTranslate(),w=S.useMediaQuery(function(I){return I.breakpoints.down("md")}),E=ZC({},JV.get(String(c)),g),F=nW(d);return w?B.createElement($V,du({component:ct.Link,to:b({resource:v,type:"create"}),state:E,color:"primary",className:Wa(wh.floating,t),"aria-label":s&&C(s)},m,F),r):B.createElement(eW,du({component:ct.Link,to:b({resource:v,type:"create"}),state:E,className:Wa(wh.root,t),label:s,variant:u},m,F),r)},JV=new Map([["true",{_scrollToTop:!0}],["false",{}]]),qV=B.createElement(th,null);JC.propTypes={resource:x.string,className:x.string,icon:x.element,label:x.string};var fu="RaCreateButton",wh={root:"".concat(fu,"-root"),floating:"".concat(fu,"-floating")},$V=de(S.Fab,{name:fu,overridesResolver:function(e,t){return t.root}})(function(e){var t,n=e.theme;return t={},t["&.".concat(wh.floating)]={color:n.palette.getContrastText(n.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3},t}),eW=de($p,{name:fu,overridesResolver:function(e,t){return t.root}})({});const tW=B.memo(JC,function(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&cu(e.to,t.to)&&cu(e.state,t.state)});var nW=function(e){if(e!=null){if(typeof e=="string")return{to:e};var t=e.redirect,n=e.replace,r=e.state,o=QC(e,["redirect","replace","state"]);return{to:o,redirect:t,replace:n,state:r}}},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)},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},pu,Ah,qC=function(e){var t=e.className,n=e.onClick,r=e.sx,o=rW(e,["className","onClick","sx"]),s=re.useLoading(),a=Kt();return B.createElement(oW,{className:t,sx:r},B.createElement(mw,{className:"".concat(Es.loadedIcon," ").concat(s&&Es.loadedLoading),onClick:n}),s&&B.createElement(Qc,Sh({className:Wa("app-loader",Es.loader),color:"inherit",size:a.spacing(2),thickness:6},o)))};qC.propTypes={classes:x.object,className:x.string,width:x.string};var hu="RaLoadingIndicator",Es={loader:"".concat(hu,"-loader"),loadedLoading:"".concat(hu,"-loadedLoading"),loadedIcon:"".concat(hu,"-loadedIcon")},oW=de("div",{name:hu,overridesResolver:function(e,t){return t.root}})((pu={position:"relative"},pu["& .".concat(Es.loadedIcon)]=(Ah={},Ah["&.".concat(Es.loadedLoading)]={opacity:0},Ah),pu["& .".concat(Es.loader)]={position:"absolute",top:"30%",left:"30%"},pu));const iW=e=>e.scrollTop;function $C(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 sW(e){return typeof e=="function"?e():e}const gu=B.forwardRef(function(t,n){const{children:r,container:o,disablePortal:s=!1}=t,[a,c]=B.useState(null),u=Cn(B.isValidElement(r)?r.ref:null,n);if(_r(()=>{s||c(sW(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&&R0.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(gu.propTypes={children:x.node,container:x.oneOfType([jo,x.func]),disablePortal:x.bool}),process.env.NODE_ENV!=="production"&&(gu.propTypes=Oc(gu.propTypes));var Th={},aW=Io;Object.defineProperty(Th,"__esModule",{value:!0});var ew=Th.default=void 0,lW=aW(bs()),cW=f;ew=Th.default=(0,lW.default)((0,cW.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 uW=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,C=g.setPreferenceKey,w=c===b,E=T.useRef(w),F=T.useRef(null),I=T.useState(!1),M=I[0],P=I[1];if(T.useEffect(function(){E.current=w},[w]),T.useEffect(function(){return function(){E.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)},L=function(){P(!0)},H=function(){P(!1)};return B.createElement(re.PreferenceKeyContextProvider,{value:c},B.createElement(dW,{className:Wa(ro.root,m&&ro.editMode,w&&ro.editorActive),sx:a,ref:F,onMouseEnter:m?L:void 0,onMouseLeave:m?H:void 0},t),B.createElement(S.Popover,{open:m&&(M||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:H,PaperProps:{elevation:1,onMouseEnter:L,onMouseLeave:H,title:h(s),onClick:D},disableAutoFocus:!0,disableRestoreFocus:!0,disableEnforceFocus:!0,disableScrollLock:!0,marginThreshold:8},B.createElement(ew,{fontSize:"12px"})))},mu="RaConfigurable",ro={root:"".concat(mu,"-root"),editMode:"".concat(mu,"-editMode"),editorActive:"".concat(mu,"-editorActive")},dW=de("span",{name:mu,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}),bi=function(){return bi=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},bi.apply(this,arguments)},fW=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},pW=function(e){var t=e.title,n=e.defaultTitle,r=e.className,o=fW(e,["title","defaultTitle","className"]),s=re.usePreference()[0],a=re.useTranslate(),c=re.useRecordContext();return s?B.createElement("span",bi({className:r},o),a(s,bi(bi({},c),{_:s}))):B.createElement("span",{className:r},t?typeof t=="string"?B.createElement("span",bi({},o),a(t,{_:t})):t:B.createElement("span",bi({},o),n))},vu=function(){return vu=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},vu.apply(this,arguments)},hW=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},gW=function(){var e=re.usePreferenceInput();return B.createElement("form",null,B.createElement(S.TextField,vu({label:"title",variant:"filled",size:"small",fullWidth:!0,sx:{mb:1}},e)))},mW=function(e){var t=e.preferenceKey,n=hW(e,["preferenceKey"]),r=ct.useLocation().pathname;return B.createElement(uW,{editor:B.createElement(gW,null),preferenceKey:t||"".concat(r,".title"),sx:{"&.RaConfigurable-editMode":{margin:"2px"}}},B.createElement(pW,vu({},n)))},Eh=function(){return Eh=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},Eh.apply(this,arguments)},vW=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},tw=function(e){var t=e.defaultTitle,n=e.title,r=e.preferenceKey,o=vW(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(mW,Eh({title:n,defaultTitle:t,preferenceKey:r},o)),a)):null},yW=x.oneOfType([x.string,x.element]);tw.propTypes={defaultTitle:x.string,className:x.string,record:x.any,title:yW};var bW=function(e){var t=ti.useLocation().pathname,n=T.useRef(t);T.useEffect(function(){t!==n.current&&e()},[t,e])},xW=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])})},nw={error:null},CW=function(e){Dp(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=nw,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(nw)},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&&xW(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 wW(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 SW=wW,Ih=function(){return Ih=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},Ih.apply(this,arguments)},AW=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},rw=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=AW(e,["className","loadingPrimary","loadingSecondary"]),c=re.useTimeout(1e3),u=re.useTranslate();return c?B.createElement(TW,Ih({className:t},a),B.createElement("div",{className:bu.message},B.createElement(Qc,{className:bu.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};rw.propTypes={className:x.string,loadingPrimary:x.string,loadingSecondary:x.string};var yu="RaLoading",bu={root:"".concat(yu,"-root"),icon:"".concat(yu,"-icon"),message:"".concat(yu,"-message")},TW=de("div",{name:yu,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(bu.message)]={textAlign:"center",fontFamily:"Roboto, sans-serif",color:n.palette.text.disabled,paddingTop:"1em",paddingBottom:"1em"},t["& .".concat(bu.icon)]={width:"9em",height:"9em"},t}),Oh={},EW=Io;Object.defineProperty(Oh,"__esModule",{value:!0});var ow=Oh.default=void 0,IW=EW(bs()),OW=f;ow=Oh.default=(0,IW.default)((0,OW.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 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)},PW=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},iw=function(e){var t=e.icon,n=t===void 0?MW: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=PW(e,["icon","label","scrollToTop","className"]),d=re.useResourceContext(e),h=re.useRecordContext(e),g=re.useCreatePath();return h?B.createElement(LW,Ph({component:ct.Link,to:g({type:"edit",resource:d,id:h.id}),state:jW[String(a)],label:o,onClick:kW,className:Wa(FW.root,c)},u),n):null},jW={true:{_scrollToTop:!0},false:{}},MW=B.createElement(ow,null),kW=function(e){return e.stopPropagation()};iw.propTypes={icon:x.element,label:x.string,record:x.any,scrollToTop:x.bool};var sw="RaEditButton",FW={root:"".concat(sw,"-root")},LW=de($p,{name:sw,overridesResolver:function(e,t){return t.root}})({}),jh={},DW=Io;Object.defineProperty(jh,"__esModule",{value:!0});var aw=jh.default=void 0,_W=DW(bs()),RW=f;aw=jh.default=(0,_W.default)((0,RW.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 BW=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Mh(e){return`scale(${e}, ${e**2})`}const NW={entering:{opacity:1,transform:Mh(1)},entered:{opacity:1,transform:"none"}},kh=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),xu=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,E=Ge(t,BW),F=ds(),I=B.useRef(),M=Kt(),P=B.useRef(null),D=Cn(P,s.ref,n),L=Q=>z=>{if(Q){const ne=P.current;z===void 0?Q(ne):Q(ne,z)}},H=L(h),K=L((Q,z)=>{iW(Q);const{duration:ne,delay:W,easing:te}=$C({style:b,timeout:C,easing:a},{mode:"enter"});let V;C==="auto"?(V=M.transitions.getAutoHeightDuration(Q.clientHeight),I.current=V):V=ne,Q.style.transition=[M.transitions.create("opacity",{duration:V,delay:W}),M.transitions.create("transform",{duration:kh?V:V*.666,delay:W,easing:te})].join(","),u&&u(Q,z)}),$=L(d),G=L(v),ae=L(Q=>{const{duration:z,delay:ne,easing:W}=$C({style:b,timeout:C,easing:a},{mode:"exit"});let te;C==="auto"?(te=M.transitions.getAutoHeightDuration(Q.clientHeight),I.current=te):te=z,Q.style.transition=[M.transitions.create("opacity",{duration:te,delay:ne}),M.transitions.create("transform",{duration:kh?te:te*.666,delay:kh?ne:ne||te*.333,easing:W})].join(","),Q.style.opacity=0,Q.style.transform=Mh(.75),g&&g(Q)}),le=L(m),J=Q=>{C==="auto"&&F.start(I.current||0,Q),r&&r(P.current,Q)};return f.jsx(w,Z({appear:o,in:c,nodeRef:P,onEnter:K,onEntered:$,onEntering:H,onExit:ae,onExited:le,onExiting:G,addEndListener:J,timeout:C==="auto"?null:C},E,{children:(Q,z)=>B.cloneElement(s,Z({style:Z({opacity:0,transform:Mh(.75),visibility:Q==="exited"&&!c?"hidden":void 0},NW[Q],b,s.props.style),ref:D},z))}))});process.env.NODE_ENV!=="production"&&(xu.propTypes={addEndListener:x.func,appear:x.bool,children:Sp.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})])}),xu.muiSupportAuto=!0;const lw="base";function VW(e){return`${lw}--${e}`}function WW(e,t){return`${lw}-${e}-${t}`}function cw(e,t){const n=Zb[t];return n?VW(n):WW(e,t)}function zW(e,t){const n={};return t.forEach(r=>{n[r]=cw(e,r)}),n}const uw="Popper";function UW(e){return cw(uw,e)}zW(uw,["root"]);const HW=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],GW=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function YW(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 Cu(e){return typeof e=="function"?e():e}function wu(e){return e.nodeType!==void 0}function KW(e){return!wu(e)}const XW=()=>er({root:["root"]},uk(UW)),ZW={},QW=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,HW),E=B.useRef(null),F=Cn(E,n),I=B.useRef(null),M=Cn(I,m),P=B.useRef(M);_r(()=>{P.current=M},[M]),B.useImperativeHandle(m,()=>I.current,[]);const D=YW(h,a),[L,H]=B.useState(D),[K,$]=B.useState(Cu(o));B.useEffect(()=>{I.current&&I.current.forceUpdate()}),B.useEffect(()=>{o&&$(Cu(o))},[o]),_r(()=>{if(!K||!d)return;const Q=W=>{H(W.placement)};if(process.env.NODE_ENV!=="production"&&K&&wu(K)&&K.nodeType===1){const W=K.getBoundingClientRect();process.env.NODE_ENV!=="test"&&W.top===0&&W.left===0&&W.right===0&&W.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:W})=>{Q(W)}}];u!=null&&(z=z.concat(u)),g&&g.modifiers!=null&&(z=z.concat(g.modifiers));const ne=T1(K,E.current,Z({placement:D},g,{modifiers:z}));return P.current(ne),()=>{ne.destroy(),P.current(null)}},[K,c,u,d,g,D]);const G={placement:L};C!==null&&(G.TransitionProps=C);const ae=XW(),le=(r=b.root)!=null?r:"div",J=_x({elementType:le,externalSlotProps:v.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:F},ownerState:t,className:ae.root});return f.jsx(le,Z({},J,{children:typeof s=="function"?s(G):s}))}),dw=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=ZW,popperRef:v,style:b,transition:C=!1,slotProps:w={},slots:E={}}=t,F=Ge(t,GW),[I,M]=B.useState(!0),P=()=>{M(!1)},D=()=>{M(!0)};if(!u&&!h&&(!C||I))return null;let L;if(s)L=s;else if(r){const $=Cu(r);L=$&&wu($)?us($).body:us(null).body}const H=!h&&u&&(!C||I)?"none":void 0,K=C?{in:h,onEnter:P,onExited:D}:void 0;return f.jsx(gu,{disablePortal:c,container:L,children:f.jsx(QW,Z({anchorEl:r,direction:a,disablePortal:c,modifiers:d,ref:n,open:C?!I:h,placement:g,popperOptions:m,popperRef:v,slotProps:w,slots:E},F,{style:Z({position:"fixed",top:0,left:0,display:H},b),TransitionProps:K,children:o}))})});process.env.NODE_ENV!=="production"&&(dw.propTypes={anchorEl:Po(x.oneOfType([jo,x.object,x.func]),e=>{if(e.open){const t=Cu(e.anchorEl);if(t&&wu(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"||KW(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:Pc,slotProps:x.shape({root:x.oneOfType([x.func,x.object])}),slots:x.shape({root:x.elementType}),transition:x.bool});var Fh={};Object.defineProperty(Fh,"__esModule",{value:!0});var fw=Fh.default=void 0,JW=$W(T),qW=hx;function pw(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,n=new WeakMap;return(pw=function(r){return r?n:t})(e)}function $W(e,t){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var n=pw(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 ez(e){return Object.keys(e).length===0}function tz(e=null){const t=JW.useContext(qW.ThemeContext);return!t||ez(t)?e:t}fw=Fh.default=tz;const nz=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],rz=de(dw,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lh=B.forwardRef(function(t,n){var r;const o=fw(),s=or({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:E,transition:F,slots:I,slotProps:M}=s,P=Ge(s,nz),D=(r=I==null?void 0:I.root)!=null?r:u==null?void 0:u.Root,L=Z({anchorEl:a,container:h,disablePortal:g,keepMounted:m,modifiers:v,open:b,placement:C,popperOptions:w,popperRef:E,transition:F},P);return f.jsx(rz,Z({as:c,direction:o==null?void 0:o.direction,slots:{root:D},slotProps:M??d},L,{ref:n}))});process.env.NODE_ENV!=="production"&&(Lh.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:Pc,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 oz(e){return Bn("MuiTooltip",e)}const Lo=sr("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),iz=["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 sz(e){return Math.round(e*1e5)/1e5}const az=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 er(a,oz,t)},lz=de(Lh,{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"] .${Lo.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${Lo.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${Lo.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"] .${Lo.arrow}`]:Z({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),cz=de("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:`${sz(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${Lo.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"})),[`.${Lo.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"})),[`.${Lo.popper}[data-popper-placement*="top"] &`]:Z({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${Lo.popper}[data-popper-placement*="bottom"] &`]:Z({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),uz=de("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 Su=!1;const hw=new ja;let Ya={x:0,y:0};function Au(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const gw=B.forwardRef(function(t,n){var r,o,s,a,c,u,d,h,g,m,v,b,C,w,E,F,I,M,P;const D=or({props:t,name:"MuiTooltip"}),{arrow:L=!1,children:H,components:K={},componentsProps:$={},describeChild:G=!1,disableFocusListener:ae=!1,disableHoverListener:le=!1,disableInteractive:J=!1,disableTouchListener:Q=!1,enterDelay:z=100,enterNextDelay:ne=0,enterTouchDelay:W=700,followCursor:te=!1,id:V,leaveDelay:X=0,leaveTouchDelay:ue=1500,onClose:he,onOpen:pe,open:ge,placement:ve="bottom",PopperComponent:Te,PopperProps:Ce={},slotProps:be={},slots:we={},title:Ie,TransitionComponent:fe=xu,TransitionProps:qe}=D,me=Ge(D,iz),Qe=B.isValidElement(H)?H:f.jsx("span",{children:H}),ln=Kt(),Et=l8(),[yt,Gn]=B.useState(),[It,bt]=B.useState(null),Xt=B.useRef(!1),xt=J||te,zt=ds(),Ot=ds(),Le=ds(),_e=ds(),[Oe,xe]=jx({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=Ap(V),Be=B.useRef(),Pe=ci(()=>{Be.current!==void 0&&(document.body.style.WebkitUserSelect=Be.current,Be.current=void 0),_e.clear()});B.useEffect(()=>Pe,[Pe]);const qt=Ve=>{hw.clear(),Su=!0,xe(!0),pe&&!ht&&pe(Ve)},pr=ci(Ve=>{hw.start(800+X,()=>{Su=!1}),xe(!1),he&&ht&&he(Ve),zt.start(ln.transitions.duration.shortest,()=>{Xt.current=!1})}),Ir=Ve=>{Xt.current&&Ve.type!=="touchstart"||(yt&&yt.removeAttribute("title"),Ot.clear(),Le.clear(),z||Su&&ne?Ot.start(Su?ne:z,()=>{qt(Ve)}):qt(Ve))},Mi=Ve=>{Ot.clear(),Le.start(X,()=>{pr(Ve)})},{isFocusVisibleRef:td,onBlur:gm,onFocus:mm,ref:nd}=Ip(),[,pl]=B.useState(!1),rd=Ve=>{gm(Ve),td.current===!1&&(pl(!1),Mi(Ve))},od=Ve=>{yt||Gn(Ve.currentTarget),mm(Ve),td.current===!0&&(pl(!0),Ir(Ve))},id=Ve=>{Xt.current=!0;const pn=Qe.props;pn.onTouchStart&&pn.onTouchStart(Ve)},vm=Ve=>{id(Ve),Le.clear(),zt.clear(),Pe(),Be.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",_e.start(W,()=>{document.body.style.WebkitUserSelect=Be.current,Ir(Ve)})},sd=Ve=>{Qe.props.onTouchEnd&&Qe.props.onTouchEnd(Ve),Pe(),Le.start(ue,()=>{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 ym=Cn(Qe.ref,nd,Gn,n);!Ie&&Ie!==0&&(ht=!1);const hl=B.useRef(),bm=Ve=>{const pn=Qe.props;pn.onMouseMove&&pn.onMouseMove(Ve),Ya={x:Ve.clientX,y:Ve.clientY},hl.current&&hl.current.update()},ao={},gl=typeof Ie=="string";G?(ao.title=!ht&&gl&&!le?Ie:null,ao["aria-describedby"]=ht?Ut:null):(ao["aria-label"]=gl?Ie:null,ao["aria-labelledby"]=ht&&!gl?Ut:null);const cn=Z({},ao,me,Qe.props,{className:$e(me.className,Qe.props.className),onTouchStart:id,ref:ym},te?{onMouseMove:bm}:{});process.env.NODE_ENV!=="production"&&(cn["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
|
+
`))},[yt]));const ki={};Q||(cn.onTouchStart=vm,cn.onTouchEnd=sd),le||(cn.onMouseOver=Au(Ir,cn.onMouseOver),cn.onMouseLeave=Au(Mi,cn.onMouseLeave),xt||(ki.onMouseOver=Ir,ki.onMouseLeave=Mi)),ae||(cn.onFocus=Au(od,cn.onFocus),cn.onBlur=Au(rd,cn.onBlur),xt||(ki.onFocus=od,ki.onBlur=rd)),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 xm=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]),Fi=Z({},D,{isRtl:Et,arrow:L,disableInteractive:xt,placement:ve,PopperComponentProp:Te,touch:Xt.current}),ml=az(Fi),ad=(r=(o=we.popper)!=null?o:K.Popper)!=null?r:lz,ld=(s=(a=(c=we.transition)!=null?c:K.Transition)!=null?a:fe)!=null?s:xu,cd=(u=(d=we.tooltip)!=null?d:K.Tooltip)!=null?u:cz,ud=(h=(g=we.arrow)!=null?g:K.Arrow)!=null?h:uz,dd=cs(ad,Z({},Ce,(m=be.popper)!=null?m:$.popper,{className:$e(ml.popper,Ce==null?void 0:Ce.className,(v=(b=be.popper)!=null?b:$.popper)==null?void 0:v.className)}),Fi),Cm=cs(ld,Z({},qe,(C=be.transition)!=null?C:$.transition),Fi),wm=cs(cd,Z({},(w=be.tooltip)!=null?w:$.tooltip,{className:$e(ml.tooltip,(E=(F=be.tooltip)!=null?F:$.tooltip)==null?void 0:E.className)}),Fi),Sm=cs(ud,Z({},(I=be.arrow)!=null?I:$.arrow,{className:$e(ml.arrow,(M=(P=be.arrow)!=null?P:$.arrow)==null?void 0:M.className)}),Fi);return f.jsxs(B.Fragment,{children:[B.cloneElement(Qe,cn),f.jsx(ad,Z({as:Te??Lh,placement:ve,anchorEl:te?{getBoundingClientRect:()=>({top:Ya.y,left:Ya.x,right:Ya.x,bottom:Ya.y,width:0,height:0})}:yt,popperRef:hl,open:yt?ht:!1,id:Ut,transition:!0},ki,dd,{popperOptions:xm,children:({TransitionProps:Ve})=>f.jsx(ld,Z({timeout:ln.transitions.duration.shorter},Ve,Cm,{children:f.jsxs(cd,Z({},wm,{children:[Ie,L?f.jsx(ud,Z({},Sm,{ref:bt})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(gw.propTypes={arrow:x.bool,children:Sp.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 Dh=function(){return Dh=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},Dh.apply(this,arguments)},dz=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},mw=function(e){var t=e.label,n=t===void 0?"ra.action.refresh":t,r=e.icon,o=r===void 0?fz:r,s=e.onClick,a=e.className,c=dz(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(gw,{title:n&&d(n,{_:"Refresh"})},B.createElement(Wp,Dh({"aria-label":n&&d(n,{_:"Refresh"}),className:a,color:"inherit",onClick:h},c),o))},fz=B.createElement(aw,null);mw.propTypes={className:x.string,label:x.string,icon:x.element};var _h={},pz=Io;Object.defineProperty(_h,"__esModule",{value:!0});var vw=_h.default=void 0,hz=pz(bs()),gz=f;vw=_h.default=(0,hz.default)((0,gz.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)},yw=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())})},bw=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}}},mz=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},Rh=function(e){var t=e.color,n=t===void 0?"primary":t,r=e.icon,o=r===void 0?yz: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,E=mz(e,["color","icon","invalid","label","onClick","mutationOptions","disabled","type","transform","variant","alwaysEnable"]),F=re.useTranslate(),I=vn.useFormContext(),M=re.useSaveContext(),P=vn.useFormState(),D=P.dirtyFields,L=P.isValidating,H=P.isSubmitting,K=Object.keys(D).length>0,$=Cz(w===!1||w===void 0?void 0:!w,d||!K||L||H);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(J){return yw(void 0,void 0,void 0,function(){var Q;return bw(this,function(z){switch(z.label){case 0:return M!=null&&M.save?[4,M.save(J,Ka(Ka({},u),{transform:m}))]:[3,2];case 1:Q=z.sent(),z.label=2;case 2:return Q!=null&&re.setSubmissionErrors(Q,I.setError),[2]}})})},[I.setError,M,u,m]),ae=T.useCallback(function(J){return yw(void 0,void 0,void 0,function(){return bw(this,function(Q){switch(Q.label){case 0:return c&&c(J),J.defaultPrevented?[2]:g!=="button"?[3,2]:(J.stopPropagation(),[4,I.handleSubmit(G)(J)]);case 1:Q.sent(),Q.label=2;case 2:return[2]}})})},[c,g,I,G]),le=a&&F(a,{_:a});return B.createElement(xz,Ka({variant:b,type:g,color:n,"aria-label":le,disabled:$,onClick:ae},E),H?B.createElement(S.CircularProgress,{sx:vz,size:14,thickness:3,color:"inherit"}):o,le)},vz={"&.MuiCircularProgress-root":{marginRight:"10px",marginLeft:"2px"}},yz=B.createElement(vw,null);Rh.propTypes={className:x.string,invalid:x.bool,label:x.string,variant:x.oneOf(["text","outlined","contained"]),icon:x.element,alwaysEnable:x.bool};var bz="RaSaveButton",xz=de(S.Button,{name:bz,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}),Cz=function(e,t){return typeof e>"u"?t:e},xw=tu,wz=ch,Sz=Ga,Cw=xw?xw.isConcatSpreadable:void 0;function Az(e){return Sz(e)||wz(e)||!!(Cw&&e&&e[Cw])}var Tz=Az,Ez=iC,Iz=Tz;function ww(e,t,n,r,o){var s=-1,a=e.length;for(n||(n=Iz),o||(o=[]);++s<a;){var c=e[s];t>0&&n(c)?t>1?ww(c,t-1,n,r,o):Ez(o,c):r||(o[o.length]=c)}return o}var Sw=ww;function Oz(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 Pz=Oz;function jz(e){return e!==e}var Mz=jz;function kz(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}var Fz=kz,Lz=Pz,Dz=Mz,_z=Fz;function Rz(e,t,n){return t===t?_z(e,t,n):Lz(e,Dz,n)}var Bz=Rz,Nz=Bz;function Vz(e,t){var n=e==null?0:e.length;return!!n&&Nz(e,t,0)>-1}var Aw=Vz;function Wz(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 Tw=Wz;function zz(){}var Uz=zz,Bh=vC,Hz=Uz,Gz=ah,Yz=1/0,Kz=Bh&&1/Gz(new Bh([,-0]))[1]==Yz?function(e){return new Bh(e)}:Hz,Xz=Kz,Zz=ih,Qz=Aw,Jz=Tw,qz=sh,$z=Xz,eU=ah,tU=200;function nU(e,t,n){var r=-1,o=Qz,s=e.length,a=!0,c=[],u=c;if(n)a=!1,o=Jz;else if(s>=tU){var d=t?null:$z(e);if(d)return eU(d);a=!1,o=qz,u=new Zz}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 rU=nU,oU=Sw,iU=Ch,sU=rU,aU=xh,lU=iU(function(e){return sU(oU(e,1,aU,!0))}),cU=lU;const uU=Qr(cU);var dU=ih,fU=Aw,pU=Tw,hU=SW,gU=dC,mU=sh,vU=200;function yU(e,t,n,r){var o=-1,s=fU,a=!0,c=e.length,u=[],d=t.length;if(!c)return u;n&&(t=hU(t,gU(n))),r?(s=pU,a=!1):t.length>=vU&&(s=mU,a=!1,t=new dU(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 bU=yU,xU=bU,CU=Sw,wU=Ch,Ew=xh,SU=wU(function(e,t){return Ew(e)?xU(e,CU(t,1,Ew,!0)):[]}),AU=SU;const TU=Qr(AU);var Nh={},EU=Io;Object.defineProperty(Nh,"__esModule",{value:!0});var Vh=Nh.default=void 0,IU=EU(bs()),OU=f;Vh=Nh.default=(0,IU.default)((0,OU.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 PU(){window.history.go(-1)}function Wh(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";bW(o);const d=T.useCallback(()=>{PU()},[]);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(tw,{title:s}):null,f.jsx("img",{src:N1,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 Tu={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,C=2,w=1,I=2,F=4,E=8,M=16,P=32,D=64,L=128,H=256,K=512,$=30,G="...",ae=800,le=16,J=1,Q=2,z=3,ne=1/0,W=9007199254740991,te=17976931348623157e292,V=NaN,X=4294967295,ue=X-1,he=X>>>1,pe=[["ary",L],["bind",w],["bindKey",I],["curry",E],["curryRight",M],["flip",K],["partial",P],["partialRight",D],["rearg",H]],ge="[object Arguments]",ve="[object Array]",Te="[object AsyncFunction]",Ce="[object Boolean]",be="[object Date]",we="[object DOMException]",Ie="[object Error]",de="[object Function]",qe="[object GeneratorFunction]",me="[object Map]",Qe="[object Number]",ln="[object Null]",Et="[object Object]",yt="[object Promise]",Gn="[object Proxy]",It="[object RegExp]",bt="[object Set]",Xt="[object String]",xt="[object Symbol]",zt="[object Undefined]",Ot="[object WeakMap]",Le="[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,um=/\b(__p \+=) '' \+/g,dm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$u=/&(?:amp|lt|gt|quot|#39);/g,fl=/[&<>"']/g,ed=RegExp($u.source),td=RegExp(fl.source),nd=/<%-([\s\S]+?)%>/g,fm=/<%([\s\S]+?)%>/g,rd=/<%=([\s\S]+?)%>/g,pm=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pl=/^\w*$/,hm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ao=/[\\^$.*+?()[\]{}|]/g,hl=RegExp(ao.source),cn=/^\s+/,ki=/\s/,gm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fi=/\{\n\/\* \[wrapped with (.+)\] \*/,gl=/,? & /,od=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,id=/[()=,{}\[\]\/\s]/,sd=/\\(\\)?/g,ad=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ld=/\w*$/,mm=/^[-+]0x[0-9a-f]+$/i,vm=/^0b[01]+$/i,ym=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,pn=/^(?:0|[1-9]\d*)$/,hJ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cd=/($^)/,gJ=/['\n\r\u2028\u2029\\]/g,ud="\\ud800-\\udfff",mJ="\\u0300-\\u036f",vJ="\\ufe20-\\ufe2f",yJ="\\u20d0-\\u20ff",vE=mJ+vJ+yJ,yE="\\u2700-\\u27bf",bE="a-z\\xdf-\\xf6\\xf8-\\xff",bJ="\\xac\\xb1\\xd7\\xf7",xJ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",CJ="\\u2000-\\u206f",wJ=" \\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",xE="A-Z\\xc0-\\xd6\\xd8-\\xde",CE="\\ufe0e\\ufe0f",wE=bJ+xJ+CJ+wJ,bm="['’]",SJ="["+ud+"]",SE="["+wE+"]",dd="["+vE+"]",AE="\\d+",AJ="["+yE+"]",TE="["+bE+"]",EE="[^"+ud+wE+AE+yE+bE+xE+"]",xm="\\ud83c[\\udffb-\\udfff]",TJ="(?:"+dd+"|"+xm+")",IE="[^"+ud+"]",Cm="(?:\\ud83c[\\udde6-\\uddff]){2}",wm="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+xE+"]",OE="\\u200d",PE="(?:"+TE+"|"+EE+")",EJ="(?:"+zs+"|"+EE+")",jE="(?:"+bm+"(?:d|ll|m|re|s|t|ve))?",ME="(?:"+bm+"(?:D|LL|M|RE|S|T|VE))?",kE=TJ+"?",FE="["+CE+"]?",IJ="(?:"+OE+"(?:"+[IE,Cm,wm].join("|")+")"+FE+kE+")*",OJ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",PJ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",LE=FE+kE+IJ,jJ="(?:"+[AJ,Cm,wm].join("|")+")"+LE,MJ="(?:"+[IE+dd+"?",dd,Cm,wm,SJ].join("|")+")",kJ=RegExp(bm,"g"),FJ=RegExp(dd,"g"),Sm=RegExp(xm+"(?="+xm+")|"+MJ+LE,"g"),LJ=RegExp([zs+"?"+TE+"+"+jE+"(?="+[SE,zs,"$"].join("|")+")",EJ+"+"+ME+"(?="+[SE,zs+PE,"$"].join("|")+")",zs+"?"+PE+"+"+jE,zs+"+"+ME,PJ,OJ,AE,jJ].join("|"),"g"),DJ=RegExp("["+OE+ud+vE+CE+"]"),_J=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,RJ=["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"],BJ=-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[de]=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[de]=gt[Ot]=!1;var NJ={À:"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",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"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\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},UJ=parseFloat,HJ=parseInt,DE=typeof bn=="object"&&bn&&bn.Object===Object&&bn,GJ=typeof self=="object"&&self&&self.Object===Object&&self,$t=DE||GJ||Function("return this")(),Am=t&&!t.nodeType&&t,Li=Am&&!0&&e&&!e.nodeType&&e,_E=Li&&Li.exports===Am,Tm=_E&&DE.process,hr=function(){try{var U=Li&&Li.require&&Li.require("util").types;return U||Tm&&Tm.binding&&Tm.binding("util")}catch{}}(),RE=hr&&hr.isArrayBuffer,BE=hr&&hr.isDate,NE=hr&&hr.isMap,VE=hr&&hr.isRegExp,WE=hr&&hr.isSet,zE=hr&&hr.isTypedArray;function Yn(U,oe,ee){switch(ee.length){case 0:return U.call(oe);case 1:return U.call(oe,ee[0]);case 2:return U.call(oe,ee[0],ee[1]);case 3:return U.call(oe,ee[0],ee[1],ee[2])}return U.apply(oe,ee)}function YJ(U,oe,ee,Se){for(var Re=-1,nt=U==null?0:U.length;++Re<nt;){var Gt=U[Re];oe(Se,Gt,ee(Gt),U)}return Se}function gr(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se&&oe(U[ee],ee,U)!==!1;);return U}function KJ(U,oe){for(var ee=U==null?0:U.length;ee--&&oe(U[ee],ee,U)!==!1;);return U}function UE(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se;)if(!oe(U[ee],ee,U))return!1;return!0}function Go(U,oe){for(var ee=-1,Se=U==null?0:U.length,Re=0,nt=[];++ee<Se;){var Gt=U[ee];oe(Gt,ee,U)&&(nt[Re++]=Gt)}return nt}function fd(U,oe){var ee=U==null?0:U.length;return!!ee&&Us(U,oe,0)>-1}function Em(U,oe,ee){for(var Se=-1,Re=U==null?0:U.length;++Se<Re;)if(ee(oe,U[Se]))return!0;return!1}function At(U,oe){for(var ee=-1,Se=U==null?0:U.length,Re=Array(Se);++ee<Se;)Re[ee]=oe(U[ee],ee,U);return Re}function Yo(U,oe){for(var ee=-1,Se=oe.length,Re=U.length;++ee<Se;)U[Re+ee]=oe[ee];return U}function Im(U,oe,ee,Se){var Re=-1,nt=U==null?0:U.length;for(Se&&nt&&(ee=U[++Re]);++Re<nt;)ee=oe(ee,U[Re],Re,U);return ee}function XJ(U,oe,ee,Se){var Re=U==null?0:U.length;for(Se&&Re&&(ee=U[--Re]);Re--;)ee=oe(ee,U[Re],Re,U);return ee}function Om(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se;)if(oe(U[ee],ee,U))return!0;return!1}var ZJ=Pm("length");function QJ(U){return U.split("")}function JJ(U){return U.match(od)||[]}function HE(U,oe,ee){var Se;return ee(U,function(Re,nt,Gt){if(oe(Re,nt,Gt))return Se=nt,!1}),Se}function pd(U,oe,ee,Se){for(var Re=U.length,nt=ee+(Se?1:-1);Se?nt--:++nt<Re;)if(oe(U[nt],nt,U))return nt;return-1}function Us(U,oe,ee){return oe===oe?cq(U,oe,ee):pd(U,GE,ee)}function qJ(U,oe,ee,Se){for(var Re=ee-1,nt=U.length;++Re<nt;)if(Se(U[Re],oe))return Re;return-1}function GE(U){return U!==U}function YE(U,oe){var ee=U==null?0:U.length;return ee?Mm(U,oe)/ee:V}function Pm(U){return function(oe){return oe==null?n:oe[U]}}function jm(U){return function(oe){return U==null?n:U[oe]}}function KE(U,oe,ee,Se,Re){return Re(U,function(nt,Gt,ft){ee=Se?(Se=!1,nt):oe(ee,nt,Gt,ft)}),ee}function $J(U,oe){var ee=U.length;for(U.sort(oe);ee--;)U[ee]=U[ee].value;return U}function Mm(U,oe){for(var ee,Se=-1,Re=U.length;++Se<Re;){var nt=oe(U[Se]);nt!==n&&(ee=ee===n?nt:ee+nt)}return ee}function km(U,oe){for(var ee=-1,Se=Array(U);++ee<U;)Se[ee]=oe(ee);return Se}function eq(U,oe){return At(oe,function(ee){return[ee,U[ee]]})}function XE(U){return U&&U.slice(0,qE(U)+1).replace(cn,"")}function Kn(U){return function(oe){return U(oe)}}function Fm(U,oe){return At(oe,function(ee){return U[ee]})}function ml(U,oe){return U.has(oe)}function ZE(U,oe){for(var ee=-1,Se=U.length;++ee<Se&&Us(oe,U[ee],0)>-1;);return ee}function QE(U,oe){for(var ee=U.length;ee--&&Us(oe,U[ee],0)>-1;);return ee}function tq(U,oe){for(var ee=U.length,Se=0;ee--;)U[ee]===oe&&++Se;return Se}var nq=jm(NJ),rq=jm(VJ);function oq(U){return"\\"+zJ[U]}function iq(U,oe){return U==null?n:U[oe]}function Hs(U){return DJ.test(U)}function sq(U){return _J.test(U)}function aq(U){for(var oe,ee=[];!(oe=U.next()).done;)ee.push(oe.value);return ee}function Lm(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se,Re){ee[++oe]=[Re,Se]}),ee}function JE(U,oe){return function(ee){return U(oe(ee))}}function Ko(U,oe){for(var ee=-1,Se=U.length,Re=0,nt=[];++ee<Se;){var Gt=U[ee];(Gt===oe||Gt===h)&&(U[ee]=h,nt[Re++]=ee)}return nt}function hd(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se){ee[++oe]=Se}),ee}function lq(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se){ee[++oe]=[Se,Se]}),ee}function cq(U,oe,ee){for(var Se=ee-1,Re=U.length;++Se<Re;)if(U[Se]===oe)return Se;return-1}function uq(U,oe,ee){for(var Se=ee+1;Se--;)if(U[Se]===oe)return Se;return Se}function Gs(U){return Hs(U)?fq(U):ZJ(U)}function Or(U){return Hs(U)?pq(U):QJ(U)}function qE(U){for(var oe=U.length;oe--&&ki.test(U.charAt(oe)););return oe}var dq=jm(WJ);function fq(U){for(var oe=Sm.lastIndex=0;Sm.test(U);)++oe;return oe}function pq(U){return U.match(Sm)||[]}function hq(U){return U.match(LJ)||[]}var gq=function U(oe){oe=oe==null?$t:Ys.defaults($t.Object(),oe,Ys.pick($t,RJ));var ee=oe.Array,Se=oe.Date,Re=oe.Error,nt=oe.Function,Gt=oe.Math,ft=oe.Object,Dm=oe.RegExp,mq=oe.String,mr=oe.TypeError,gd=ee.prototype,vq=nt.prototype,Ks=ft.prototype,md=oe["__core-js_shared__"],vd=vq.toString,ct=Ks.hasOwnProperty,yq=0,$E=function(){var i=/[^.]+$/.exec(md&&md.keys&&md.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),yd=Ks.toString,bq=vd.call(ft),xq=$t._,Cq=Dm("^"+vd.call(ct).replace(ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bd=_E?oe.Buffer:n,Xo=oe.Symbol,xd=oe.Uint8Array,eI=bd?bd.allocUnsafe:n,Cd=JE(ft.getPrototypeOf,ft),tI=ft.create,nI=Ks.propertyIsEnumerable,wd=gd.splice,rI=Xo?Xo.isConcatSpreadable:n,vl=Xo?Xo.iterator:n,Di=Xo?Xo.toStringTag:n,Sd=function(){try{var i=Vi(ft,"defineProperty");return i({},"",{}),i}catch{}}(),wq=oe.clearTimeout!==$t.clearTimeout&&oe.clearTimeout,Sq=Se&&Se.now!==$t.Date.now&&Se.now,Aq=oe.setTimeout!==$t.setTimeout&&oe.setTimeout,Ad=Gt.ceil,Td=Gt.floor,_m=ft.getOwnPropertySymbols,Tq=bd?bd.isBuffer:n,oI=oe.isFinite,Eq=gd.join,Iq=JE(ft.keys,ft),Yt=Gt.max,un=Gt.min,Oq=Se.now,Pq=oe.parseInt,iI=Gt.random,jq=gd.reverse,Rm=Vi(oe,"DataView"),yl=Vi(oe,"Map"),Bm=Vi(oe,"Promise"),Xs=Vi(oe,"Set"),bl=Vi(oe,"WeakMap"),xl=Vi(ft,"create"),Ed=bl&&new bl,Zs={},Mq=Wi(Rm),kq=Wi(yl),Fq=Wi(Bm),Lq=Wi(Xs),Dq=Wi(bl),Id=Xo?Xo.prototype:n,Cl=Id?Id.valueOf:n,sI=Id?Id.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 aO(i)}return new vr(i)}var Qs=function(){function i(){}return function(l){if(!Pt(l))return{};if(tI)return tI(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function Od(){}function vr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:nd,evaluate:fm,interpolate:rd,variable:"",imports:{_:O}},O.prototype=Od.prototype,O.prototype.constructor=O,vr.prototype=Qs(Od.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 _q(){var i=new Xe(this.__wrapped__);return i.__actions__=Pn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Pn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Pn(this.__views__),i}function Rq(){if(this.__filtered__){var i=new Xe(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function Bq(){var i=this.__wrapped__.value(),l=this.__dir__,p=Ne(i),y=l<0,A=p?i.length:0,k=Q$(0,A,this.__views__),R=k.start,N=k.end,Y=N-R,ie=y?N:R-1,se=this.__iteratees__,ce=se.length,ye=0,Ee=un(Y,this.__takeCount__);if(!p||!y&&A==Y&&Ee==Y)return jI(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,Qn=Ye.type,mn=Ze(ke);if(Qn==Q)ke=mn;else if(!mn){if(Qn==J)continue e;break e}}Me[ye++]=ke}return Me}Xe.prototype=Qs(Od.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 Nq(){this.__data__=xl?xl(null):{},this.size=0}function Vq(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function Wq(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 zq(i){var l=this.__data__;return xl?l[i]!==n:ct.call(l,i)}function Uq(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=Nq,_i.prototype.delete=Vq,_i.prototype.get=Wq,_i.prototype.has=zq,_i.prototype.set=Uq;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 Hq(){this.__data__=[],this.size=0}function Gq(i){var l=this.__data__,p=Pd(l,i);if(p<0)return!1;var y=l.length-1;return p==y?l.pop():wd.call(l,p,1),--this.size,!0}function Yq(i){var l=this.__data__,p=Pd(l,i);return p<0?n:l[p][1]}function Kq(i){return Pd(this.__data__,i)>-1}function Xq(i,l){var p=this.__data__,y=Pd(p,i);return y<0?(++this.size,p.push([i,l])):p[y][1]=l,this}lo.prototype.clear=Hq,lo.prototype.delete=Gq,lo.prototype.get=Yq,lo.prototype.has=Kq,lo.prototype.set=Xq;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 Zq(){this.size=0,this.__data__={hash:new _i,map:new(yl||lo),string:new _i}}function Qq(i){var l=Wd(this,i).delete(i);return this.size-=l?1:0,l}function Jq(i){return Wd(this,i).get(i)}function qq(i){return Wd(this,i).has(i)}function $q(i,l){var p=Wd(this,i),y=p.size;return p.set(i,l),this.size+=p.size==y?0:1,this}co.prototype.clear=Zq,co.prototype.delete=Qq,co.prototype.get=Jq,co.prototype.has=qq,co.prototype.set=$q;function Ri(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new co;++l<p;)this.add(i[l])}function e$(i){return this.__data__.set(i,u),this}function t$(i){return this.__data__.has(i)}Ri.prototype.add=Ri.prototype.push=e$,Ri.prototype.has=t$;function Pr(i){var l=this.__data__=new lo(i);this.size=l.size}function n$(){this.__data__=new lo,this.size=0}function r$(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function o$(i){return this.__data__.get(i)}function i$(i){return this.__data__.has(i)}function s$(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=n$,Pr.prototype.delete=r$,Pr.prototype.get=o$,Pr.prototype.has=i$,Pr.prototype.set=s$;function aI(i,l){var p=Ne(i),y=!p&&zi(i),A=!p&&!y&&$o(i),k=!p&&!y&&!A&&ea(i),R=p||y||A||k,N=R?km(i.length,mq):[],Y=N.length;for(var ie in i)(l||ct.call(i,ie))&&!(R&&(ie=="length"||A&&(ie=="offset"||ie=="parent")||k&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||ho(ie,Y)))&&N.push(ie);return N}function lI(i){var l=i.length;return l?i[Zm(0,l-1)]:n}function a$(i,l){return zd(Pn(i),Bi(l,0,i.length))}function l$(i){return zd(Pn(i))}function Nm(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 Pd(i,l){for(var p=i.length;p--;)if(jr(i[p][0],l))return p;return-1}function c$(i,l,p,y){return Zo(i,function(A,k,R){l(y,A,p(A),R)}),y}function cI(i,l){return i&&Hr(l,Zt(l),i)}function u$(i,l){return i&&Hr(l,Mn(l),i)}function uo(i,l,p){l=="__proto__"&&Sd?Sd(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function Vm(i,l){for(var p=-1,y=l.length,A=ee(y),k=i==null;++p<y;)A[p]=k?n:x0(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,k){var R,N=l&g,Y=l&m,ie=l&v;if(p&&(R=A?p(i,y,A,k):p(i)),R!==n)return R;if(!Pt(i))return i;var se=Ne(i);if(se){if(R=q$(i),!N)return Pn(i,R)}else{var ce=dn(i),ye=ce==de||ce==qe;if($o(i))return FI(i,N);if(ce==Et||ce==ge||ye&&!A){if(R=Y||ye?{}:qI(i),!N)return Y?W$(i,u$(R,i)):V$(i,cI(R,i))}else{if(!gt[ce])return A?i:{};R=$$(i,ce,N)}}k||(k=new Pr);var Ee=k.get(i);if(Ee)return Ee;k.set(i,R),IO(i)?i.forEach(function(ke){R.add(yr(ke,l,p,ke,i,k))}):TO(i)&&i.forEach(function(ke,Ye){R.set(Ye,yr(ke,l,p,Ye,i,k))});var Me=ie?Y?s0:i0:Y?Mn: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,k))}),R}function d$(i){var l=Zt(i);return function(p){return uI(p,i,l)}}function uI(i,l,p){var y=p.length;if(i==null)return!y;for(i=ft(i);y--;){var A=p[y],k=l[A],R=i[A];if(R===n&&!(A in i)||!k(R))return!1}return!0}function dI(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,k=fd,R=!0,N=i.length,Y=[],ie=l.length;if(!N)return Y;p&&(l=At(l,Kn(p))),y?(k=Em,R=!1):l.length>=o&&(k=ml,R=!1,l=new Ri(l));e:for(;++A<N;){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;Y.push(se)}else k(l,ce,y)||Y.push(se)}return Y}var Zo=BI(Ur),fI=BI(zm,!0);function f$(i,l){var p=!0;return Zo(i,function(y,A,k){return p=!!l(y,A,k),p}),p}function jd(i,l,p){for(var y=-1,A=i.length;++y<A;){var k=i[y],R=l(k);if(R!=null&&(N===n?R===R&&!Zn(R):p(R,N)))var N=R,Y=k}return Y}function p$(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:PO(y);p<y;)i[p++]=l;return i}function pI(i,l){var p=[];return Zo(i,function(y,A,k){l(y,A,k)&&p.push(y)}),p}function en(i,l,p,y,A){var k=-1,R=i.length;for(p||(p=tee),A||(A=[]);++k<R;){var N=i[k];l>0&&p(N)?l>1?en(N,l-1,p,y,A):Yo(A,N):y||(A[A.length]=N)}return A}var Wm=NI(),hI=NI(!0);function Ur(i,l){return i&&Wm(i,l,Zt)}function zm(i,l){return i&&hI(i,l,Zt)}function Md(i,l){return Go(l,function(p){return go(i[p])})}function Ni(i,l){l=Jo(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 gI(i,l,p){var y=l(i);return Ne(i)?y:Yo(y,p(i))}function hn(i){return i==null?i===n?zt:ln:Di&&Di in ft(i)?Z$(i):lee(i)}function Um(i,l){return i>l}function h$(i,l){return i!=null&&ct.call(i,l)}function g$(i,l){return i!=null&&l in ft(i)}function m$(i,l,p){return i>=un(l,p)&&i<Yt(l,p)}function Hm(i,l,p){for(var y=p?Em:fd,A=i[0].length,k=i.length,R=k,N=ee(k),Y=1/0,ie=[];R--;){var se=i[R];R&&l&&(se=At(se,Kn(l))),Y=un(se.length,Y),N[R]=!p&&(l||A>=120&&se.length>=120)?new Ri(R&&se):n}se=i[0];var ce=-1,ye=N[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(R=k;--R;){var ze=N[R];if(!(ze?ml(ze,Me):y(i[R],Me,p)))continue e}ye&&ye.push(Me),ie.push(Ee)}}return ie}function v$(i,l,p,y){return Ur(i,function(A,k,R){l(y,p(A),k,R)}),y}function Al(i,l,p){l=Jo(l,i),i=nO(i,l);var y=i==null?i:i[Gr(xr(l))];return y==null?n:Yn(y,i,p)}function mI(i){return Lt(i)&&hn(i)==ge}function y$(i){return Lt(i)&&hn(i)==_e}function b$(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:x$(i,l,p,y,Tl,A)}function x$(i,l,p,y,A,k){var R=Ne(i),N=Ne(l),Y=R?ve:dn(i),ie=N?ve:dn(l);Y=Y==ge?Et:Y,ie=ie==ge?Et:ie;var se=Y==Et,ce=ie==Et,ye=Y==ie;if(ye&&$o(i)){if(!$o(l))return!1;R=!0,se=!1}if(ye&&!se)return k||(k=new Pr),R||ea(i)?ZI(i,l,p,y,A,k):K$(i,l,Y,p,y,A,k);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 k||(k=new Pr),A(ze,ke,p,y,k)}}return ye?(k||(k=new Pr),X$(i,l,p,y,A,k)):!1}function C$(i){return Lt(i)&&dn(i)==me}function Gm(i,l,p,y){var A=p.length,k=A,R=!y;if(i==null)return!k;for(i=ft(i);A--;){var N=p[A];if(R&&N[2]?N[1]!==i[N[0]]:!(N[0]in i))return!1}for(;++A<k;){N=p[A];var Y=N[0],ie=i[Y],se=N[1];if(R&&N[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 vI(i){if(!Pt(i)||ree(i))return!1;var l=go(i)?Cq:ym;return l.test(Wi(i))}function w$(i){return Lt(i)&&hn(i)==It}function S$(i){return Lt(i)&&dn(i)==bt}function A$(i){return Lt(i)&&Xd(i.length)&&!!Ct[hn(i)]}function yI(i){return typeof i=="function"?i:i==null?kn:typeof i=="object"?Ne(i)?CI(i[0],i[1]):xI(i):VO(i)}function Ym(i){if(!Ol(i))return Iq(i);var l=[];for(var p in ft(i))ct.call(i,p)&&p!="constructor"&&l.push(p);return l}function T$(i){if(!Pt(i))return aee(i);var l=Ol(i),p=[];for(var y in i)y=="constructor"&&(l||!ct.call(i,y))||p.push(y);return p}function Km(i,l){return i<l}function bI(i,l){var p=-1,y=jn(i)?ee(i.length):[];return Zo(i,function(A,k,R){y[++p]=l(A,k,R)}),y}function xI(i){var l=l0(i);return l.length==1&&l[0][2]?eO(l[0][0],l[0][1]):function(p){return p===i||Gm(p,i,l)}}function CI(i,l){return u0(i)&&$I(l)?eO(Gr(i),l):function(p){var y=x0(p,i);return y===n&&y===l?C0(p,i):Tl(l,y,b|C)}}function kd(i,l,p,y,A){i!==l&&Wm(l,function(k,R){if(A||(A=new Pr),Pt(k))E$(i,l,R,p,kd,y,A);else{var N=y?y(f0(i,R),k,R+"",i,l,A):n;N===n&&(N=k),Nm(i,R,N)}},Mn)}function E$(i,l,p,y,A,k,R){var N=f0(i,p),Y=f0(l,p),ie=R.get(Y);if(ie){Nm(i,p,ie);return}var se=k?k(N,Y,p+"",i,l,R):n,ce=se===n;if(ce){var ye=Ne(Y),Ee=!ye&&$o(Y),Me=!ye&&!Ee&&ea(Y);se=Y,ye||Ee||Me?Ne(N)?se=N:Rt(N)?se=Pn(N):Ee?(ce=!1,se=FI(Y,!0)):Me?(ce=!1,se=LI(Y,!0)):se=[]:jl(Y)||zi(Y)?(se=N,zi(N)?se=jO(N):(!Pt(N)||go(N))&&(se=qI(Y))):ce=!1}ce&&(R.set(Y,se),A(se,Y,y,k,R),R.delete(Y)),Nm(i,p,se)}function wI(i,l){var p=i.length;if(p)return l+=l<0?p:0,ho(l,p)?i[l]:n}function SI(i,l,p){l.length?l=At(l,function(k){return Ne(k)?function(R){return Ni(R,k.length===1?k[0]:k)}:k}):l=[kn];var y=-1;l=At(l,Kn(je()));var A=bI(i,function(k,R,N){var Y=At(l,function(ie){return ie(k)});return{criteria:Y,index:++y,value:k}});return $J(A,function(k,R){return N$(k,R,p)})}function I$(i,l){return AI(i,l,function(p,y){return C0(i,y)})}function AI(i,l,p){for(var y=-1,A=l.length,k={};++y<A;){var R=l[y],N=Ni(i,R);p(N,R)&&El(k,Jo(R,i),N)}return k}function O$(i){return function(l){return Ni(l,i)}}function Xm(i,l,p,y){var A=y?qJ:Us,k=-1,R=l.length,N=i;for(i===l&&(l=Pn(l)),p&&(N=At(i,Kn(p)));++k<R;)for(var Y=0,ie=l[k],se=p?p(ie):ie;(Y=A(N,se,Y,y))>-1;)N!==i&&wd.call(N,Y,1),wd.call(i,Y,1);return i}function TI(i,l){for(var p=i?l.length:0,y=p-1;p--;){var A=l[p];if(p==y||A!==k){var k=A;ho(A)?wd.call(i,A,1):qm(i,A)}}return i}function Zm(i,l){return i+Td(iI()*(l-i+1))}function P$(i,l,p,y){for(var A=-1,k=Yt(Ad((l-i)/(p||1)),0),R=ee(k);k--;)R[y?k:++A]=i,i+=p;return R}function Qm(i,l){var p="";if(!i||l<1||l>W)return p;do l%2&&(p+=i),l=Td(l/2),l&&(i+=i);while(l);return p}function Ue(i,l){return p0(tO(i,l,kn),i+"")}function j$(i){return lI(ta(i))}function M$(i,l){var p=ta(i);return zd(p,Bi(l,0,p.length))}function El(i,l,p,y){if(!Pt(i))return i;l=Jo(l,i);for(var A=-1,k=l.length,R=k-1,N=i;N!=null&&++A<k;){var Y=Gr(l[A]),ie=p;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return i;if(A!=R){var se=N[Y];ie=y?y(se,Y,N):n,ie===n&&(ie=Pt(se)?se:ho(l[A+1])?[]:{})}wl(N,Y,ie),N=N[Y]}return i}var EI=Ed?function(i,l){return Ed.set(i,l),i}:kn,k$=Sd?function(i,l){return Sd(i,"toString",{configurable:!0,enumerable:!1,value:S0(l),writable:!0})}:kn;function F$(i){return zd(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 k=ee(A);++y<A;)k[y]=i[y+l];return k}function L$(i,l){var p;return Zo(i,function(y,A,k){return p=l(y,A,k),!p}),!!p}function Fd(i,l,p){var y=0,A=i==null?y:i.length;if(typeof l=="number"&&l===l&&A<=he){for(;y<A;){var k=y+A>>>1,R=i[k];R!==null&&!Zn(R)&&(p?R<=l:R<l)?y=k+1:A=k}return A}return Jm(i,l,kn,p)}function Jm(i,l,p,y){var A=0,k=i==null?0:i.length;if(k===0)return 0;l=p(l);for(var R=l!==l,N=l===null,Y=Zn(l),ie=l===n;A<k;){var se=Td((A+k)/2),ce=p(i[se]),ye=ce!==n,Ee=ce===null,Me=ce===ce,ze=Zn(ce);if(R)var ke=y||Me;else ie?ke=Me&&(y||ye):N?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:k=se}return un(k,ue)}function II(i,l){for(var p=-1,y=i.length,A=0,k=[];++p<y;){var R=i[p],N=l?l(R):R;if(!p||!jr(N,Y)){var Y=N;k[A++]=R===0?0:R}}return k}function OI(i){return typeof i=="number"?i:Zn(i)?V:+i}function Xn(i){if(typeof i=="string")return i;if(Ne(i))return At(i,Xn)+"";if(Zn(i))return sI?sI.call(i):"";var l=i+"";return l=="0"&&1/i==-ne?"-0":l}function Qo(i,l,p){var y=-1,A=fd,k=i.length,R=!0,N=[],Y=N;if(p)R=!1,A=Em;else if(k>=o){var ie=l?null:G$(i);if(ie)return hd(ie);R=!1,A=ml,Y=new Ri}else Y=l?[]:N;e:for(;++y<k;){var se=i[y],ce=l?l(se):se;if(se=p||se!==0?se:0,R&&ce===ce){for(var ye=Y.length;ye--;)if(Y[ye]===ce)continue e;l&&Y.push(ce),N.push(se)}else A(Y,ce,p)||(Y!==N&&Y.push(ce),N.push(se))}return N}function qm(i,l){return l=Jo(l,i),i=nO(i,l),i==null||delete i[Gr(xr(l))]}function PI(i,l,p,y){return El(i,l,p(Ni(i,l)),y)}function Ld(i,l,p,y){for(var A=i.length,k=y?A:-1;(y?k--:++k<A)&&l(i[k],k,i););return p?br(i,y?0:k,y?k+1:A):br(i,y?k+1:0,y?A:k)}function jI(i,l){var p=i;return p instanceof Xe&&(p=p.value()),Im(l,function(y,A){return A.func.apply(A.thisArg,Yo([y],A.args))},p)}function $m(i,l,p){var y=i.length;if(y<2)return y?Qo(i[0]):[];for(var A=-1,k=ee(y);++A<y;)for(var R=i[A],N=-1;++N<y;)N!=A&&(k[A]=Sl(k[A]||R,i[N],l,p));return Qo(en(k,1),l,p)}function MI(i,l,p){for(var y=-1,A=i.length,k=l.length,R={};++y<A;){var N=y<k?l[y]:n;p(R,i[y],N)}return R}function e0(i){return Rt(i)?i:[]}function t0(i){return typeof i=="function"?i:kn}function Jo(i,l){return Ne(i)?i:u0(i,l)?[i]:sO(at(i))}var D$=Ue;function qo(i,l,p){var y=i.length;return p=p===n?y:p,!l&&p>=y?i:br(i,l,p)}var kI=wq||function(i){return $t.clearTimeout(i)};function FI(i,l){if(l)return i.slice();var p=i.length,y=eI?eI(p):new i.constructor(p);return i.copy(y),y}function n0(i){var l=new i.constructor(i.byteLength);return new xd(l).set(new xd(i)),l}function _$(i,l){var p=l?n0(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function R$(i){var l=new i.constructor(i.source,ld.exec(i));return l.lastIndex=i.lastIndex,l}function B$(i){return Cl?ft(Cl.call(i)):{}}function LI(i,l){var p=l?n0(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function DI(i,l){if(i!==l){var p=i!==n,y=i===null,A=i===i,k=Zn(i),R=l!==n,N=l===null,Y=l===l,ie=Zn(l);if(!N&&!ie&&!k&&i>l||k&&R&&Y&&!N&&!ie||y&&R&&Y||!p&&Y||!A)return 1;if(!y&&!k&&!ie&&i<l||ie&&p&&A&&!y&&!k||N&&p&&A||!R&&A||!Y)return-1}return 0}function N$(i,l,p){for(var y=-1,A=i.criteria,k=l.criteria,R=A.length,N=p.length;++y<R;){var Y=DI(A[y],k[y]);if(Y){if(y>=N)return Y;var ie=p[y];return Y*(ie=="desc"?-1:1)}}return i.index-l.index}function _I(i,l,p,y){for(var A=-1,k=i.length,R=p.length,N=-1,Y=l.length,ie=Yt(k-R,0),se=ee(Y+ie),ce=!y;++N<Y;)se[N]=l[N];for(;++A<R;)(ce||A<k)&&(se[p[A]]=i[A]);for(;ie--;)se[N++]=i[A++];return se}function RI(i,l,p,y){for(var A=-1,k=i.length,R=-1,N=p.length,Y=-1,ie=l.length,se=Yt(k-N,0),ce=ee(se+ie),ye=!y;++A<se;)ce[A]=i[A];for(var Ee=A;++Y<ie;)ce[Ee+Y]=l[Y];for(;++R<N;)(ye||A<k)&&(ce[Ee+p[R]]=i[A++]);return ce}function Pn(i,l){var p=-1,y=i.length;for(l||(l=ee(y));++p<y;)l[p]=i[p];return l}function Hr(i,l,p,y){var A=!p;p||(p={});for(var k=-1,R=l.length;++k<R;){var N=l[k],Y=y?y(p[N],i[N],N,p,i):n;Y===n&&(Y=i[N]),A?uo(p,N,Y):wl(p,N,Y)}return p}function V$(i,l){return Hr(i,c0(i),l)}function W$(i,l){return Hr(i,QI(i),l)}function Dd(i,l){return function(p,y){var A=Ne(p)?YJ:c$,k=l?l():{};return A(p,i,je(y,2),k)}}function Js(i){return Ue(function(l,p){var y=-1,A=p.length,k=A>1?p[A-1]:n,R=A>2?p[2]:n;for(k=i.length>3&&typeof k=="function"?(A--,k):n,R&&gn(p[0],p[1],R)&&(k=A<3?n:k,A=1),l=ft(l);++y<A;){var N=p[y];N&&i(l,N,y,k)}return l})}function BI(i,l){return function(p,y){if(p==null)return p;if(!jn(p))return i(p,y);for(var A=p.length,k=l?A:-1,R=ft(p);(l?k--:++k<A)&&y(R[k],k,R)!==!1;);return p}}function NI(i){return function(l,p,y){for(var A=-1,k=ft(l),R=y(l),N=R.length;N--;){var Y=R[i?N:++A];if(p(k[Y],Y,k)===!1)break}return l}}function z$(i,l,p){var y=l&w,A=Il(i);function k(){var R=this&&this!==$t&&this instanceof k?A:i;return R.apply(y?p:this,arguments)}return k}function VI(i){return function(l){l=at(l);var p=Hs(l)?Or(l):n,y=p?p[0]:l.charAt(0),A=p?qo(p,1).join(""):l.slice(1);return y[i]()+A}}function qs(i){return function(l){return Im(BO(RO(l).replace(kJ,"")),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 U$(i,l,p){var y=Il(i);function A(){for(var k=arguments.length,R=ee(k),N=k,Y=$s(A);N--;)R[N]=arguments[N];var ie=k<3&&R[0]!==Y&&R[k-1]!==Y?[]:Ko(R,Y);if(k-=ie.length,k<p)return GI(i,l,_d,A.placeholder,n,R,ie,n,n,p-k);var se=this&&this!==$t&&this instanceof A?y:i;return Yn(se,this,R)}return A}function WI(i){return function(l,p,y){var A=ft(l);if(!jn(l)){var k=je(p,3);l=Zt(l),p=function(N){return k(A[N],N,A)}}var R=i(l,p,y);return R>-1?A[k?l[R]:R]:n}}function zI(i){return po(function(l){var p=l.length,y=p,A=vr.prototype.thru;for(i&&l.reverse();y--;){var k=l[y];if(typeof k!="function")throw new mr(a);if(A&&!R&&Vd(k)=="wrapper")var R=new vr([],!0)}for(y=R?y:p;++y<p;){k=l[y];var N=Vd(k),Y=N=="wrapper"?a0(k):n;Y&&d0(Y[0])&&Y[1]==(L|E|P|H)&&!Y[4].length&&Y[9]==1?R=R[Vd(Y[0])].apply(R,Y[3]):R=k.length==1&&d0(k)?R[N]():R.thru(k)}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 _d(i,l,p,y,A,k,R,N,Y,ie){var se=l&L,ce=l&w,ye=l&I,Ee=l&(E|M),Me=l&K,ze=ye?n:Il(i);function ke(){for(var Ye=arguments.length,Ze=ee(Ye),Qn=Ye;Qn--;)Ze[Qn]=arguments[Qn];if(Ee)var mn=$s(ke),Jn=tq(Ze,mn);if(y&&(Ze=_I(Ze,y,A,Ee)),k&&(Ze=RI(Ze,k,R,Ee)),Ye-=Jn,Ee&&Ye<ie){var Bt=Ko(Ze,mn);return GI(i,l,_d,ke.placeholder,p,Ze,Bt,N,Y,ie-Ye)}var Mr=ce?p:this,vo=ye?Mr[i]:i;return Ye=Ze.length,N?Ze=cee(Ze,N):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 UI(i,l){return function(p,y){return v$(p,i,l(y),{})}}function Rd(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=Xn(p),y=Xn(y)):(p=OI(p),y=OI(y)),A=i(p,y)}return A}}function r0(i){return po(function(l){return l=At(l,Kn(je())),Ue(function(p){var y=this;return i(l,function(A){return Yn(A,y,p)})})})}function Bd(i,l){l=l===n?" ":Xn(l);var p=l.length;if(p<2)return p?Qm(l,i):l;var y=Qm(l,Ad(i/Gs(l)));return Hs(l)?qo(Or(y),0,i).join(""):y.slice(0,i)}function H$(i,l,p,y){var A=l&w,k=Il(i);function R(){for(var N=-1,Y=arguments.length,ie=-1,se=y.length,ce=ee(se+Y),ye=this&&this!==$t&&this instanceof R?k:i;++ie<se;)ce[ie]=y[ie];for(;Y--;)ce[ie++]=arguments[++N];return Yn(ye,A?p:this,ce)}return R}function HI(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),P$(l,p,y,i)}}function Nd(i){return function(l,p){return typeof l=="string"&&typeof p=="string"||(l=Cr(l),p=Cr(p)),i(l,p)}}function GI(i,l,p,y,A,k,R,N,Y,ie){var se=l&E,ce=se?R:n,ye=se?n:R,Ee=se?k:n,Me=se?n:k;l|=se?P:D,l&=~(se?D:P),l&F||(l&=~(w|I));var ze=[i,l,A,Ee,ce,Me,ye,N,Y,ie],ke=p.apply(n,ze);return d0(i)&&rO(ke,ze),ke.placeholder=y,oO(ke,i,l)}function o0(i){var l=Gt[i];return function(p,y){if(p=Cr(p),y=y==null?0:un(We(y),292),y&&oI(p)){var A=(at(p)+"e").split("e"),k=l(A[0]+"e"+(+A[1]+y));return A=(at(k)+"e").split("e"),+(A[0]+"e"+(+A[1]-y))}return l(p)}}var G$=Xs&&1/hd(new Xs([,-0]))[1]==ne?function(i){return new Xs(i)}:E0;function YI(i){return function(l){var p=dn(l);return p==me?Lm(l):p==bt?lq(l):eq(l,i(l))}}function fo(i,l,p,y,A,k,R,N){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),R=R===n?R:Yt(We(R),0),N=N===n?N:We(N),ie-=A?A.length:0,l&D){var se=y,ce=A;y=A=n}var ye=Y?n:a0(i),Ee=[i,l,p,y,A,se,ce,k,R,N];if(ye&&see(Ee,ye),i=Ee[0],l=Ee[1],p=Ee[2],y=Ee[3],A=Ee[4],N=Ee[9]=Ee[9]===n?Y?0:i.length:Yt(Ee[9]-ie,0),!N&&l&(E|M)&&(l&=~(E|M)),!l||l==w)var Me=z$(i,l,p);else l==E||l==M?Me=U$(i,l,N):(l==P||l==(w|P))&&!A.length?Me=H$(i,l,p,y):Me=_d.apply(n,Ee);var ze=ye?EI:rO;return oO(ze(Me,Ee),i,l)}function KI(i,l,p,y){return i===n||jr(i,Ks[p])&&!ct.call(y,p)?l:i}function XI(i,l,p,y,A,k){return Pt(i)&&Pt(l)&&(k.set(l,i),kd(i,l,n,XI,k),k.delete(l)),i}function Y$(i){return jl(i)?n:i}function ZI(i,l,p,y,A,k){var R=p&b,N=i.length,Y=l.length;if(N!=Y&&!(R&&Y>N))return!1;var ie=k.get(i),se=k.get(l);if(ie&&se)return ie==l&&se==i;var ce=-1,ye=!0,Ee=p&C?new Ri:n;for(k.set(i,l),k.set(l,i);++ce<N;){var Me=i[ce],ze=l[ce];if(y)var ke=R?y(ze,Me,ce,l,i,k):y(Me,ze,ce,i,l,k);if(ke!==n){if(ke)continue;ye=!1;break}if(Ee){if(!Om(l,function(Ye,Ze){if(!ml(Ee,Ze)&&(Me===Ye||A(Me,Ye,p,y,k)))return Ee.push(Ze)})){ye=!1;break}}else if(!(Me===ze||A(Me,ze,p,y,k))){ye=!1;break}}return k.delete(i),k.delete(l),ye}function K$(i,l,p,y,A,k,R){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||!k(new xd(i),new xd(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 N=Lm;case bt:var Y=y&b;if(N||(N=hd),i.size!=l.size&&!Y)return!1;var ie=R.get(i);if(ie)return ie==l;y|=C,R.set(i,l);var se=ZI(N(i),N(l),y,A,k,R);return R.delete(i),se;case xt:if(Cl)return Cl.call(i)==Cl.call(l)}return!1}function X$(i,l,p,y,A,k){var R=p&b,N=i0(i),Y=N.length,ie=i0(l),se=ie.length;if(Y!=se&&!R)return!1;for(var ce=Y;ce--;){var ye=N[ce];if(!(R?ye in l:ct.call(l,ye)))return!1}var Ee=k.get(i),Me=k.get(l);if(Ee&&Me)return Ee==l&&Me==i;var ze=!0;k.set(i,l),k.set(l,i);for(var ke=R;++ce<Y;){ye=N[ce];var Ye=i[ye],Ze=l[ye];if(y)var Qn=R?y(Ze,Ye,ye,l,i,k):y(Ye,Ze,ye,i,l,k);if(!(Qn===n?Ye===Ze||A(Ye,Ze,p,y,k):Qn)){ze=!1;break}ke||(ke=ye=="constructor")}if(ze&&!ke){var mn=i.constructor,Jn=l.constructor;mn!=Jn&&"constructor"in i&&"constructor"in l&&!(typeof mn=="function"&&mn instanceof mn&&typeof Jn=="function"&&Jn instanceof Jn)&&(ze=!1)}return k.delete(i),k.delete(l),ze}function po(i){return p0(tO(i,n,uO),i+"")}function i0(i){return gI(i,Zt,c0)}function s0(i){return gI(i,Mn,QI)}var a0=Ed?function(i){return Ed.get(i)}:E0;function Vd(i){for(var l=i.name+"",p=Zs[l],y=ct.call(Zs,l)?p.length:0;y--;){var A=p[y],k=A.func;if(k==null||k==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||A0;return i=i===A0?yI:i,arguments.length?i(arguments[0],arguments[1]):i}function Wd(i,l){var p=i.__data__;return nee(l)?p[typeof l=="string"?"string":"hash"]:p.map}function l0(i){for(var l=Zt(i),p=l.length;p--;){var y=l[p],A=i[y];l[p]=[y,A,$I(A)]}return l}function Vi(i,l){var p=iq(i,l);return vI(p)?p:n}function Z$(i){var l=ct.call(i,Di),p=i[Di];try{i[Di]=n;var y=!0}catch{}var A=yd.call(i);return y&&(l?i[Di]=p:delete i[Di]),A}var c0=_m?function(i){return i==null?[]:(i=ft(i),Go(_m(i),function(l){return nI.call(i,l)}))}:I0,QI=_m?function(i){for(var l=[];i;)Yo(l,c0(i)),i=Cd(i);return l}:I0,dn=hn;(Rm&&dn(new Rm(new ArrayBuffer(1)))!=Oe||yl&&dn(new yl)!=me||Bm&&dn(Bm.resolve())!=yt||Xs&&dn(new Xs)!=bt||bl&&dn(new bl)!=Ot)&&(dn=function(i){var l=hn(i),p=l==Et?i.constructor:n,y=p?Wi(p):"";if(y)switch(y){case Mq:return Oe;case kq:return me;case Fq:return yt;case Lq:return bt;case Dq:return Ot}return l});function Q$(i,l,p){for(var y=-1,A=p.length;++y<A;){var k=p[y],R=k.size;switch(k.type){case"drop":i+=R;break;case"dropRight":l-=R;break;case"take":l=un(l,i+R);break;case"takeRight":i=Yt(i,l-R);break}}return{start:i,end:l}}function J$(i){var l=i.match(Fi);return l?l[1].split(gl):[]}function JI(i,l,p){l=Jo(l,i);for(var y=-1,A=l.length,k=!1;++y<A;){var R=Gr(l[y]);if(!(k=i!=null&&p(i,R)))break;i=i[R]}return k||++y!=A?k:(A=i==null?0:i.length,!!A&&Xd(A)&&ho(R,A)&&(Ne(i)||zi(i)))}function q$(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 qI(i){return typeof i.constructor=="function"&&!Ol(i)?Qs(Cd(i)):{}}function $$(i,l,p){var y=i.constructor;switch(l){case _e:return n0(i);case Ce:case be:return new y(+i);case Oe:return _$(i,p);case xe:case ht:case Ut:case Be:case Pe:case qt:case pr:case Ir:case Mi:return LI(i,p);case me:return new y;case Qe:case Xt:return new y(i);case It:return R$(i);case bt:return new y;case xt:return B$(i)}}function eee(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(gm,`{
|
|
193
|
+
*/Tu.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,E=2,F=4,I=8,M=16,P=32,D=64,L=128,H=256,K=512,$=30,G="...",ae=800,le=16,J=1,Q=2,z=3,ne=1/0,W=9007199254740991,te=17976931348623157e292,V=NaN,X=4294967295,ue=X-1,he=X>>>1,pe=[["ary",L],["bind",w],["bindKey",E],["curry",I],["curryRight",M],["flip",K],["partial",P],["partialRight",D],["rearg",H]],ge="[object Arguments]",ve="[object Array]",Te="[object AsyncFunction]",Ce="[object Boolean]",be="[object Date]",we="[object DOMException]",Ie="[object Error]",fe="[object Function]",qe="[object GeneratorFunction]",me="[object Map]",Qe="[object Number]",ln="[object Null]",Et="[object Object]",yt="[object Promise]",Gn="[object Proxy]",It="[object RegExp]",bt="[object Set]",Xt="[object String]",xt="[object Symbol]",zt="[object Undefined]",Ot="[object WeakMap]",Le="[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]",td=/\b__p \+= '';/g,gm=/\b(__p \+=) '' \+/g,mm=/(__e\(.*?\)|\b__t\)) \+\n'';/g,nd=/&(?:amp|lt|gt|quot|#39);/g,pl=/[&<>"']/g,rd=RegExp(nd.source),od=RegExp(pl.source),id=/<%-([\s\S]+?)%>/g,vm=/<%([\s\S]+?)%>/g,sd=/<%=([\s\S]+?)%>/g,ym=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hl=/^\w*$/,bm=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ao=/[\\^$.*+?()[\]{}|]/g,gl=RegExp(ao.source),cn=/^\s+/,ki=/\s/,xm=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Fi=/\{\n\/\* \[wrapped with (.+)\] \*/,ml=/,? & /,ad=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ld=/[()=,{}\[\]\/\s]/,cd=/\\(\\)?/g,ud=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dd=/\w*$/,Cm=/^[-+]0x[0-9a-f]+$/i,wm=/^0b[01]+$/i,Sm=/^\[object .+?Constructor\]$/,Ve=/^0o[0-7]+$/i,pn=/^(?:0|[1-9]\d*)$/,AJ=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,fd=/($^)/,TJ=/['\n\r\u2028\u2029\\]/g,pd="\\ud800-\\udfff",EJ="\\u0300-\\u036f",IJ="\\ufe20-\\ufe2f",OJ="\\u20d0-\\u20ff",CE=EJ+IJ+OJ,wE="\\u2700-\\u27bf",SE="a-z\\xdf-\\xf6\\xf8-\\xff",PJ="\\xac\\xb1\\xd7\\xf7",jJ="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",MJ="\\u2000-\\u206f",kJ=" \\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",AE="A-Z\\xc0-\\xd6\\xd8-\\xde",TE="\\ufe0e\\ufe0f",EE=PJ+jJ+MJ+kJ,Am="['’]",FJ="["+pd+"]",IE="["+EE+"]",hd="["+CE+"]",OE="\\d+",LJ="["+wE+"]",PE="["+SE+"]",jE="[^"+pd+EE+OE+wE+SE+AE+"]",Tm="\\ud83c[\\udffb-\\udfff]",DJ="(?:"+hd+"|"+Tm+")",ME="[^"+pd+"]",Em="(?:\\ud83c[\\udde6-\\uddff]){2}",Im="[\\ud800-\\udbff][\\udc00-\\udfff]",zs="["+AE+"]",kE="\\u200d",FE="(?:"+PE+"|"+jE+")",_J="(?:"+zs+"|"+jE+")",LE="(?:"+Am+"(?:d|ll|m|re|s|t|ve))?",DE="(?:"+Am+"(?:D|LL|M|RE|S|T|VE))?",_E=DJ+"?",RE="["+TE+"]?",RJ="(?:"+kE+"(?:"+[ME,Em,Im].join("|")+")"+RE+_E+")*",BJ="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",NJ="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",BE=RE+_E+RJ,VJ="(?:"+[LJ,Em,Im].join("|")+")"+BE,WJ="(?:"+[ME+hd+"?",hd,Em,Im,FJ].join("|")+")",zJ=RegExp(Am,"g"),UJ=RegExp(hd,"g"),Om=RegExp(Tm+"(?="+Tm+")|"+WJ+BE,"g"),HJ=RegExp([zs+"?"+PE+"+"+LE+"(?="+[IE,zs,"$"].join("|")+")",_J+"+"+DE+"(?="+[IE,zs+FE,"$"].join("|")+")",zs+"?"+FE+"+"+LE,zs+"+"+DE,NJ,BJ,OE,VJ].join("|"),"g"),GJ=RegExp("["+kE+pd+CE+TE+"]"),YJ=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,KJ=["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"],XJ=-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[fe]=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[fe]=gt[Ot]=!1;var ZJ={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"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",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},QJ={"&":"&","<":"<",">":">",'"':""","'":"'"},JJ={"&":"&","<":"<",">":">",""":'"',"'":"'"},qJ={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$J=parseFloat,eq=parseInt,NE=typeof bn=="object"&&bn&&bn.Object===Object&&bn,tq=typeof self=="object"&&self&&self.Object===Object&&self,$t=NE||tq||Function("return this")(),Pm=t&&!t.nodeType&&t,Li=Pm&&!0&&e&&!e.nodeType&&e,VE=Li&&Li.exports===Pm,jm=VE&&NE.process,hr=function(){try{var U=Li&&Li.require&&Li.require("util").types;return U||jm&&jm.binding&&jm.binding("util")}catch{}}(),WE=hr&&hr.isArrayBuffer,zE=hr&&hr.isDate,UE=hr&&hr.isMap,HE=hr&&hr.isRegExp,GE=hr&&hr.isSet,YE=hr&&hr.isTypedArray;function Yn(U,oe,ee){switch(ee.length){case 0:return U.call(oe);case 1:return U.call(oe,ee[0]);case 2:return U.call(oe,ee[0],ee[1]);case 3:return U.call(oe,ee[0],ee[1],ee[2])}return U.apply(oe,ee)}function nq(U,oe,ee,Se){for(var Re=-1,rt=U==null?0:U.length;++Re<rt;){var Gt=U[Re];oe(Se,Gt,ee(Gt),U)}return Se}function gr(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se&&oe(U[ee],ee,U)!==!1;);return U}function rq(U,oe){for(var ee=U==null?0:U.length;ee--&&oe(U[ee],ee,U)!==!1;);return U}function KE(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se;)if(!oe(U[ee],ee,U))return!1;return!0}function Go(U,oe){for(var ee=-1,Se=U==null?0:U.length,Re=0,rt=[];++ee<Se;){var Gt=U[ee];oe(Gt,ee,U)&&(rt[Re++]=Gt)}return rt}function gd(U,oe){var ee=U==null?0:U.length;return!!ee&&Us(U,oe,0)>-1}function Mm(U,oe,ee){for(var Se=-1,Re=U==null?0:U.length;++Se<Re;)if(ee(oe,U[Se]))return!0;return!1}function At(U,oe){for(var ee=-1,Se=U==null?0:U.length,Re=Array(Se);++ee<Se;)Re[ee]=oe(U[ee],ee,U);return Re}function Yo(U,oe){for(var ee=-1,Se=oe.length,Re=U.length;++ee<Se;)U[Re+ee]=oe[ee];return U}function km(U,oe,ee,Se){var Re=-1,rt=U==null?0:U.length;for(Se&&rt&&(ee=U[++Re]);++Re<rt;)ee=oe(ee,U[Re],Re,U);return ee}function oq(U,oe,ee,Se){var Re=U==null?0:U.length;for(Se&&Re&&(ee=U[--Re]);Re--;)ee=oe(ee,U[Re],Re,U);return ee}function Fm(U,oe){for(var ee=-1,Se=U==null?0:U.length;++ee<Se;)if(oe(U[ee],ee,U))return!0;return!1}var iq=Lm("length");function sq(U){return U.split("")}function aq(U){return U.match(ad)||[]}function XE(U,oe,ee){var Se;return ee(U,function(Re,rt,Gt){if(oe(Re,rt,Gt))return Se=rt,!1}),Se}function md(U,oe,ee,Se){for(var Re=U.length,rt=ee+(Se?1:-1);Se?rt--:++rt<Re;)if(oe(U[rt],rt,U))return rt;return-1}function Us(U,oe,ee){return oe===oe?bq(U,oe,ee):md(U,ZE,ee)}function lq(U,oe,ee,Se){for(var Re=ee-1,rt=U.length;++Re<rt;)if(Se(U[Re],oe))return Re;return-1}function ZE(U){return U!==U}function QE(U,oe){var ee=U==null?0:U.length;return ee?_m(U,oe)/ee:V}function Lm(U){return function(oe){return oe==null?n:oe[U]}}function Dm(U){return function(oe){return U==null?n:U[oe]}}function JE(U,oe,ee,Se,Re){return Re(U,function(rt,Gt,ft){ee=Se?(Se=!1,rt):oe(ee,rt,Gt,ft)}),ee}function cq(U,oe){var ee=U.length;for(U.sort(oe);ee--;)U[ee]=U[ee].value;return U}function _m(U,oe){for(var ee,Se=-1,Re=U.length;++Se<Re;){var rt=oe(U[Se]);rt!==n&&(ee=ee===n?rt:ee+rt)}return ee}function Rm(U,oe){for(var ee=-1,Se=Array(U);++ee<U;)Se[ee]=oe(ee);return Se}function uq(U,oe){return At(oe,function(ee){return[ee,U[ee]]})}function qE(U){return U&&U.slice(0,nI(U)+1).replace(cn,"")}function Kn(U){return function(oe){return U(oe)}}function Bm(U,oe){return At(oe,function(ee){return U[ee]})}function vl(U,oe){return U.has(oe)}function $E(U,oe){for(var ee=-1,Se=U.length;++ee<Se&&Us(oe,U[ee],0)>-1;);return ee}function eI(U,oe){for(var ee=U.length;ee--&&Us(oe,U[ee],0)>-1;);return ee}function dq(U,oe){for(var ee=U.length,Se=0;ee--;)U[ee]===oe&&++Se;return Se}var fq=Dm(ZJ),pq=Dm(QJ);function hq(U){return"\\"+qJ[U]}function gq(U,oe){return U==null?n:U[oe]}function Hs(U){return GJ.test(U)}function mq(U){return YJ.test(U)}function vq(U){for(var oe,ee=[];!(oe=U.next()).done;)ee.push(oe.value);return ee}function Nm(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se,Re){ee[++oe]=[Re,Se]}),ee}function tI(U,oe){return function(ee){return U(oe(ee))}}function Ko(U,oe){for(var ee=-1,Se=U.length,Re=0,rt=[];++ee<Se;){var Gt=U[ee];(Gt===oe||Gt===h)&&(U[ee]=h,rt[Re++]=ee)}return rt}function vd(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se){ee[++oe]=Se}),ee}function yq(U){var oe=-1,ee=Array(U.size);return U.forEach(function(Se){ee[++oe]=[Se,Se]}),ee}function bq(U,oe,ee){for(var Se=ee-1,Re=U.length;++Se<Re;)if(U[Se]===oe)return Se;return-1}function xq(U,oe,ee){for(var Se=ee+1;Se--;)if(U[Se]===oe)return Se;return Se}function Gs(U){return Hs(U)?wq(U):iq(U)}function Or(U){return Hs(U)?Sq(U):sq(U)}function nI(U){for(var oe=U.length;oe--&&ki.test(U.charAt(oe)););return oe}var Cq=Dm(JJ);function wq(U){for(var oe=Om.lastIndex=0;Om.test(U);)++oe;return oe}function Sq(U){return U.match(Om)||[]}function Aq(U){return U.match(HJ)||[]}var Tq=function U(oe){oe=oe==null?$t:Ys.defaults($t.Object(),oe,Ys.pick($t,KJ));var ee=oe.Array,Se=oe.Date,Re=oe.Error,rt=oe.Function,Gt=oe.Math,ft=oe.Object,Vm=oe.RegExp,Eq=oe.String,mr=oe.TypeError,yd=ee.prototype,Iq=rt.prototype,Ks=ft.prototype,bd=oe["__core-js_shared__"],xd=Iq.toString,ut=Ks.hasOwnProperty,Oq=0,rI=function(){var i=/[^.]+$/.exec(bd&&bd.keys&&bd.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}(),Cd=Ks.toString,Pq=xd.call(ft),jq=$t._,Mq=Vm("^"+xd.call(ut).replace(ao,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wd=VE?oe.Buffer:n,Xo=oe.Symbol,Sd=oe.Uint8Array,oI=wd?wd.allocUnsafe:n,Ad=tI(ft.getPrototypeOf,ft),iI=ft.create,sI=Ks.propertyIsEnumerable,Td=yd.splice,aI=Xo?Xo.isConcatSpreadable:n,yl=Xo?Xo.iterator:n,Di=Xo?Xo.toStringTag:n,Ed=function(){try{var i=Vi(ft,"defineProperty");return i({},"",{}),i}catch{}}(),kq=oe.clearTimeout!==$t.clearTimeout&&oe.clearTimeout,Fq=Se&&Se.now!==$t.Date.now&&Se.now,Lq=oe.setTimeout!==$t.setTimeout&&oe.setTimeout,Id=Gt.ceil,Od=Gt.floor,Wm=ft.getOwnPropertySymbols,Dq=wd?wd.isBuffer:n,lI=oe.isFinite,_q=yd.join,Rq=tI(ft.keys,ft),Yt=Gt.max,un=Gt.min,Bq=Se.now,Nq=oe.parseInt,cI=Gt.random,Vq=yd.reverse,zm=Vi(oe,"DataView"),bl=Vi(oe,"Map"),Um=Vi(oe,"Promise"),Xs=Vi(oe,"Set"),xl=Vi(oe,"WeakMap"),Cl=Vi(ft,"create"),Pd=xl&&new xl,Zs={},Wq=Wi(zm),zq=Wi(bl),Uq=Wi(Um),Hq=Wi(Xs),Gq=Wi(xl),jd=Xo?Xo.prototype:n,wl=jd?jd.valueOf:n,uI=jd?jd.toString:n;function O(i){if(Lt(i)&&!Ne(i)&&!(i instanceof Xe)){if(i instanceof vr)return i;if(ut.call(i,"__wrapped__"))return dO(i)}return new vr(i)}var Qs=function(){function i(){}return function(l){if(!Pt(l))return{};if(iI)return iI(l);i.prototype=l;var p=new i;return i.prototype=n,p}}();function Md(){}function vr(i,l){this.__wrapped__=i,this.__actions__=[],this.__chain__=!!l,this.__index__=0,this.__values__=n}O.templateSettings={escape:id,evaluate:vm,interpolate:sd,variable:"",imports:{_:O}},O.prototype=Md.prototype,O.prototype.constructor=O,vr.prototype=Qs(Md.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 Yq(){var i=new Xe(this.__wrapped__);return i.__actions__=Pn(this.__actions__),i.__dir__=this.__dir__,i.__filtered__=this.__filtered__,i.__iteratees__=Pn(this.__iteratees__),i.__takeCount__=this.__takeCount__,i.__views__=Pn(this.__views__),i}function Kq(){if(this.__filtered__){var i=new Xe(this);i.__dir__=-1,i.__filtered__=!0}else i=this.clone(),i.__dir__*=-1;return i}function Xq(){var i=this.__wrapped__.value(),l=this.__dir__,p=Ne(i),y=l<0,A=p?i.length:0,k=see(0,A,this.__views__),_=k.start,N=k.end,Y=N-_,ie=y?N:_-1,se=this.__iteratees__,ce=se.length,ye=0,Ee=un(Y,this.__takeCount__);if(!p||!y&&A==Y&&Ee==Y)return LI(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,Qn=Ye.type,mn=Ze(ke);if(Qn==Q)ke=mn;else if(!mn){if(Qn==J)continue e;break e}}Me[ye++]=ke}return Me}Xe.prototype=Qs(Md.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 Zq(){this.__data__=Cl?Cl(null):{},this.size=0}function Qq(i){var l=this.has(i)&&delete this.__data__[i];return this.size-=l?1:0,l}function Jq(i){var l=this.__data__;if(Cl){var p=l[i];return p===u?n:p}return ut.call(l,i)?l[i]:n}function qq(i){var l=this.__data__;return Cl?l[i]!==n:ut.call(l,i)}function $q(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=Cl&&l===n?u:l,this}_i.prototype.clear=Zq,_i.prototype.delete=Qq,_i.prototype.get=Jq,_i.prototype.has=qq,_i.prototype.set=$q;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 e$(){this.__data__=[],this.size=0}function t$(i){var l=this.__data__,p=kd(l,i);if(p<0)return!1;var y=l.length-1;return p==y?l.pop():Td.call(l,p,1),--this.size,!0}function n$(i){var l=this.__data__,p=kd(l,i);return p<0?n:l[p][1]}function r$(i){return kd(this.__data__,i)>-1}function o$(i,l){var p=this.__data__,y=kd(p,i);return y<0?(++this.size,p.push([i,l])):p[y][1]=l,this}lo.prototype.clear=e$,lo.prototype.delete=t$,lo.prototype.get=n$,lo.prototype.has=r$,lo.prototype.set=o$;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 i$(){this.size=0,this.__data__={hash:new _i,map:new(bl||lo),string:new _i}}function s$(i){var l=Hd(this,i).delete(i);return this.size-=l?1:0,l}function a$(i){return Hd(this,i).get(i)}function l$(i){return Hd(this,i).has(i)}function c$(i,l){var p=Hd(this,i),y=p.size;return p.set(i,l),this.size+=p.size==y?0:1,this}co.prototype.clear=i$,co.prototype.delete=s$,co.prototype.get=a$,co.prototype.has=l$,co.prototype.set=c$;function Ri(i){var l=-1,p=i==null?0:i.length;for(this.__data__=new co;++l<p;)this.add(i[l])}function u$(i){return this.__data__.set(i,u),this}function d$(i){return this.__data__.has(i)}Ri.prototype.add=Ri.prototype.push=u$,Ri.prototype.has=d$;function Pr(i){var l=this.__data__=new lo(i);this.size=l.size}function f$(){this.__data__=new lo,this.size=0}function p$(i){var l=this.__data__,p=l.delete(i);return this.size=l.size,p}function h$(i){return this.__data__.get(i)}function g$(i){return this.__data__.has(i)}function m$(i,l){var p=this.__data__;if(p instanceof lo){var y=p.__data__;if(!bl||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=f$,Pr.prototype.delete=p$,Pr.prototype.get=h$,Pr.prototype.has=g$,Pr.prototype.set=m$;function dI(i,l){var p=Ne(i),y=!p&&zi(i),A=!p&&!y&&$o(i),k=!p&&!y&&!A&&ea(i),_=p||y||A||k,N=_?Rm(i.length,Eq):[],Y=N.length;for(var ie in i)(l||ut.call(i,ie))&&!(_&&(ie=="length"||A&&(ie=="offset"||ie=="parent")||k&&(ie=="buffer"||ie=="byteLength"||ie=="byteOffset")||ho(ie,Y)))&&N.push(ie);return N}function fI(i){var l=i.length;return l?i[e0(0,l-1)]:n}function v$(i,l){return Gd(Pn(i),Bi(l,0,i.length))}function y$(i){return Gd(Pn(i))}function Hm(i,l,p){(p!==n&&!jr(i[l],p)||p===n&&!(l in i))&&uo(i,l,p)}function Sl(i,l,p){var y=i[l];(!(ut.call(i,l)&&jr(y,p))||p===n&&!(l in i))&&uo(i,l,p)}function kd(i,l){for(var p=i.length;p--;)if(jr(i[p][0],l))return p;return-1}function b$(i,l,p,y){return Zo(i,function(A,k,_){l(y,A,p(A),_)}),y}function pI(i,l){return i&&Hr(l,Zt(l),i)}function x$(i,l){return i&&Hr(l,Mn(l),i)}function uo(i,l,p){l=="__proto__"&&Ed?Ed(i,l,{configurable:!0,enumerable:!0,value:p,writable:!0}):i[l]=p}function Gm(i,l){for(var p=-1,y=l.length,A=ee(y),k=i==null;++p<y;)A[p]=k?n:T0(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,k){var _,N=l&g,Y=l&m,ie=l&v;if(p&&(_=A?p(i,y,A,k):p(i)),_!==n)return _;if(!Pt(i))return i;var se=Ne(i);if(se){if(_=lee(i),!N)return Pn(i,_)}else{var ce=dn(i),ye=ce==fe||ce==qe;if($o(i))return RI(i,N);if(ce==Et||ce==ge||ye&&!A){if(_=Y||ye?{}:nO(i),!N)return Y?J$(i,x$(_,i)):Q$(i,pI(_,i))}else{if(!gt[ce])return A?i:{};_=cee(i,ce,N)}}k||(k=new Pr);var Ee=k.get(i);if(Ee)return Ee;k.set(i,_),MO(i)?i.forEach(function(ke){_.add(yr(ke,l,p,ke,i,k))}):PO(i)&&i.forEach(function(ke,Ye){_.set(Ye,yr(ke,l,p,Ye,i,k))});var Me=ie?Y?d0:u0:Y?Mn:Zt,ze=se?n:Me(i);return gr(ze||i,function(ke,Ye){ze&&(Ye=ke,ke=i[Ye]),Sl(_,Ye,yr(ke,l,p,Ye,i,k))}),_}function C$(i){var l=Zt(i);return function(p){return hI(p,i,l)}}function hI(i,l,p){var y=p.length;if(i==null)return!y;for(i=ft(i);y--;){var A=p[y],k=l[A],_=i[A];if(_===n&&!(A in i)||!k(_))return!1}return!0}function gI(i,l,p){if(typeof i!="function")throw new mr(a);return jl(function(){i.apply(n,p)},l)}function Al(i,l,p,y){var A=-1,k=gd,_=!0,N=i.length,Y=[],ie=l.length;if(!N)return Y;p&&(l=At(l,Kn(p))),y?(k=Mm,_=!1):l.length>=o&&(k=vl,_=!1,l=new Ri(l));e:for(;++A<N;){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 k(l,ce,y)||Y.push(se)}return Y}var Zo=zI(Ur),mI=zI(Km,!0);function w$(i,l){var p=!0;return Zo(i,function(y,A,k){return p=!!l(y,A,k),p}),p}function Fd(i,l,p){for(var y=-1,A=i.length;++y<A;){var k=i[y],_=l(k);if(_!=null&&(N===n?_===_&&!Zn(_):p(_,N)))var N=_,Y=k}return Y}function S$(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:FO(y);p<y;)i[p++]=l;return i}function vI(i,l){var p=[];return Zo(i,function(y,A,k){l(y,A,k)&&p.push(y)}),p}function en(i,l,p,y,A){var k=-1,_=i.length;for(p||(p=dee),A||(A=[]);++k<_;){var N=i[k];l>0&&p(N)?l>1?en(N,l-1,p,y,A):Yo(A,N):y||(A[A.length]=N)}return A}var Ym=UI(),yI=UI(!0);function Ur(i,l){return i&&Ym(i,l,Zt)}function Km(i,l){return i&&yI(i,l,Zt)}function Ld(i,l){return Go(l,function(p){return go(i[p])})}function Ni(i,l){l=Jo(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 bI(i,l,p){var y=l(i);return Ne(i)?y:Yo(y,p(i))}function hn(i){return i==null?i===n?zt:ln:Di&&Di in ft(i)?iee(i):yee(i)}function Xm(i,l){return i>l}function A$(i,l){return i!=null&&ut.call(i,l)}function T$(i,l){return i!=null&&l in ft(i)}function E$(i,l,p){return i>=un(l,p)&&i<Yt(l,p)}function Zm(i,l,p){for(var y=p?Mm:gd,A=i[0].length,k=i.length,_=k,N=ee(k),Y=1/0,ie=[];_--;){var se=i[_];_&&l&&(se=At(se,Kn(l))),Y=un(se.length,Y),N[_]=!p&&(l||A>=120&&se.length>=120)?new Ri(_&&se):n}se=i[0];var ce=-1,ye=N[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?vl(ye,Me):y(ie,Me,p))){for(_=k;--_;){var ze=N[_];if(!(ze?vl(ze,Me):y(i[_],Me,p)))continue e}ye&&ye.push(Me),ie.push(Ee)}}return ie}function I$(i,l,p,y){return Ur(i,function(A,k,_){l(y,p(A),k,_)}),y}function Tl(i,l,p){l=Jo(l,i),i=sO(i,l);var y=i==null?i:i[Gr(xr(l))];return y==null?n:Yn(y,i,p)}function xI(i){return Lt(i)&&hn(i)==ge}function O$(i){return Lt(i)&&hn(i)==_e}function P$(i){return Lt(i)&&hn(i)==be}function El(i,l,p,y,A){return i===l?!0:i==null||l==null||!Lt(i)&&!Lt(l)?i!==i&&l!==l:j$(i,l,p,y,El,A)}function j$(i,l,p,y,A,k){var _=Ne(i),N=Ne(l),Y=_?ve:dn(i),ie=N?ve:dn(l);Y=Y==ge?Et:Y,ie=ie==ge?Et:ie;var se=Y==Et,ce=ie==Et,ye=Y==ie;if(ye&&$o(i)){if(!$o(l))return!1;_=!0,se=!1}if(ye&&!se)return k||(k=new Pr),_||ea(i)?$I(i,l,p,y,A,k):ree(i,l,Y,p,y,A,k);if(!(p&b)){var Ee=se&&ut.call(i,"__wrapped__"),Me=ce&&ut.call(l,"__wrapped__");if(Ee||Me){var ze=Ee?i.value():i,ke=Me?l.value():l;return k||(k=new Pr),A(ze,ke,p,y,k)}}return ye?(k||(k=new Pr),oee(i,l,p,y,A,k)):!1}function M$(i){return Lt(i)&&dn(i)==me}function Qm(i,l,p,y){var A=p.length,k=A,_=!y;if(i==null)return!k;for(i=ft(i);A--;){var N=p[A];if(_&&N[2]?N[1]!==i[N[0]]:!(N[0]in i))return!1}for(;++A<k;){N=p[A];var Y=N[0],ie=i[Y],se=N[1];if(_&&N[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?El(se,ie,b|C,y,ce):ye))return!1}}return!0}function CI(i){if(!Pt(i)||pee(i))return!1;var l=go(i)?Mq:Sm;return l.test(Wi(i))}function k$(i){return Lt(i)&&hn(i)==It}function F$(i){return Lt(i)&&dn(i)==bt}function L$(i){return Lt(i)&&Jd(i.length)&&!!Ct[hn(i)]}function wI(i){return typeof i=="function"?i:i==null?kn:typeof i=="object"?Ne(i)?TI(i[0],i[1]):AI(i):HO(i)}function Jm(i){if(!Pl(i))return Rq(i);var l=[];for(var p in ft(i))ut.call(i,p)&&p!="constructor"&&l.push(p);return l}function D$(i){if(!Pt(i))return vee(i);var l=Pl(i),p=[];for(var y in i)y=="constructor"&&(l||!ut.call(i,y))||p.push(y);return p}function qm(i,l){return i<l}function SI(i,l){var p=-1,y=jn(i)?ee(i.length):[];return Zo(i,function(A,k,_){y[++p]=l(A,k,_)}),y}function AI(i){var l=p0(i);return l.length==1&&l[0][2]?oO(l[0][0],l[0][1]):function(p){return p===i||Qm(p,i,l)}}function TI(i,l){return g0(i)&&rO(l)?oO(Gr(i),l):function(p){var y=T0(p,i);return y===n&&y===l?E0(p,i):El(l,y,b|C)}}function Dd(i,l,p,y,A){i!==l&&Ym(l,function(k,_){if(A||(A=new Pr),Pt(k))_$(i,l,_,p,Dd,y,A);else{var N=y?y(v0(i,_),k,_+"",i,l,A):n;N===n&&(N=k),Hm(i,_,N)}},Mn)}function _$(i,l,p,y,A,k,_){var N=v0(i,p),Y=v0(l,p),ie=_.get(Y);if(ie){Hm(i,p,ie);return}var se=k?k(N,Y,p+"",i,l,_):n,ce=se===n;if(ce){var ye=Ne(Y),Ee=!ye&&$o(Y),Me=!ye&&!Ee&&ea(Y);se=Y,ye||Ee||Me?Ne(N)?se=N:Rt(N)?se=Pn(N):Ee?(ce=!1,se=RI(Y,!0)):Me?(ce=!1,se=BI(Y,!0)):se=[]:Ml(Y)||zi(Y)?(se=N,zi(N)?se=LO(N):(!Pt(N)||go(N))&&(se=nO(Y))):ce=!1}ce&&(_.set(Y,se),A(se,Y,y,k,_),_.delete(Y)),Hm(i,p,se)}function EI(i,l){var p=i.length;if(p)return l+=l<0?p:0,ho(l,p)?i[l]:n}function II(i,l,p){l.length?l=At(l,function(k){return Ne(k)?function(_){return Ni(_,k.length===1?k[0]:k)}:k}):l=[kn];var y=-1;l=At(l,Kn(je()));var A=SI(i,function(k,_,N){var Y=At(l,function(ie){return ie(k)});return{criteria:Y,index:++y,value:k}});return cq(A,function(k,_){return Z$(k,_,p)})}function R$(i,l){return OI(i,l,function(p,y){return E0(i,y)})}function OI(i,l,p){for(var y=-1,A=l.length,k={};++y<A;){var _=l[y],N=Ni(i,_);p(N,_)&&Il(k,Jo(_,i),N)}return k}function B$(i){return function(l){return Ni(l,i)}}function $m(i,l,p,y){var A=y?lq:Us,k=-1,_=l.length,N=i;for(i===l&&(l=Pn(l)),p&&(N=At(i,Kn(p)));++k<_;)for(var Y=0,ie=l[k],se=p?p(ie):ie;(Y=A(N,se,Y,y))>-1;)N!==i&&Td.call(N,Y,1),Td.call(i,Y,1);return i}function PI(i,l){for(var p=i?l.length:0,y=p-1;p--;){var A=l[p];if(p==y||A!==k){var k=A;ho(A)?Td.call(i,A,1):r0(i,A)}}return i}function e0(i,l){return i+Od(cI()*(l-i+1))}function N$(i,l,p,y){for(var A=-1,k=Yt(Id((l-i)/(p||1)),0),_=ee(k);k--;)_[y?k:++A]=i,i+=p;return _}function t0(i,l){var p="";if(!i||l<1||l>W)return p;do l%2&&(p+=i),l=Od(l/2),l&&(i+=i);while(l);return p}function Ue(i,l){return y0(iO(i,l,kn),i+"")}function V$(i){return fI(ta(i))}function W$(i,l){var p=ta(i);return Gd(p,Bi(l,0,p.length))}function Il(i,l,p,y){if(!Pt(i))return i;l=Jo(l,i);for(var A=-1,k=l.length,_=k-1,N=i;N!=null&&++A<k;){var Y=Gr(l[A]),ie=p;if(Y==="__proto__"||Y==="constructor"||Y==="prototype")return i;if(A!=_){var se=N[Y];ie=y?y(se,Y,N):n,ie===n&&(ie=Pt(se)?se:ho(l[A+1])?[]:{})}Sl(N,Y,ie),N=N[Y]}return i}var jI=Pd?function(i,l){return Pd.set(i,l),i}:kn,z$=Ed?function(i,l){return Ed(i,"toString",{configurable:!0,enumerable:!1,value:O0(l),writable:!0})}:kn;function U$(i){return Gd(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 k=ee(A);++y<A;)k[y]=i[y+l];return k}function H$(i,l){var p;return Zo(i,function(y,A,k){return p=l(y,A,k),!p}),!!p}function _d(i,l,p){var y=0,A=i==null?y:i.length;if(typeof l=="number"&&l===l&&A<=he){for(;y<A;){var k=y+A>>>1,_=i[k];_!==null&&!Zn(_)&&(p?_<=l:_<l)?y=k+1:A=k}return A}return n0(i,l,kn,p)}function n0(i,l,p,y){var A=0,k=i==null?0:i.length;if(k===0)return 0;l=p(l);for(var _=l!==l,N=l===null,Y=Zn(l),ie=l===n;A<k;){var se=Od((A+k)/2),ce=p(i[se]),ye=ce!==n,Ee=ce===null,Me=ce===ce,ze=Zn(ce);if(_)var ke=y||Me;else ie?ke=Me&&(y||ye):N?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:k=se}return un(k,ue)}function MI(i,l){for(var p=-1,y=i.length,A=0,k=[];++p<y;){var _=i[p],N=l?l(_):_;if(!p||!jr(N,Y)){var Y=N;k[A++]=_===0?0:_}}return k}function kI(i){return typeof i=="number"?i:Zn(i)?V:+i}function Xn(i){if(typeof i=="string")return i;if(Ne(i))return At(i,Xn)+"";if(Zn(i))return uI?uI.call(i):"";var l=i+"";return l=="0"&&1/i==-ne?"-0":l}function Qo(i,l,p){var y=-1,A=gd,k=i.length,_=!0,N=[],Y=N;if(p)_=!1,A=Mm;else if(k>=o){var ie=l?null:tee(i);if(ie)return vd(ie);_=!1,A=vl,Y=new Ri}else Y=l?[]:N;e:for(;++y<k;){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),N.push(se)}else A(Y,ce,p)||(Y!==N&&Y.push(ce),N.push(se))}return N}function r0(i,l){return l=Jo(l,i),i=sO(i,l),i==null||delete i[Gr(xr(l))]}function FI(i,l,p,y){return Il(i,l,p(Ni(i,l)),y)}function Rd(i,l,p,y){for(var A=i.length,k=y?A:-1;(y?k--:++k<A)&&l(i[k],k,i););return p?br(i,y?0:k,y?k+1:A):br(i,y?k+1:0,y?A:k)}function LI(i,l){var p=i;return p instanceof Xe&&(p=p.value()),km(l,function(y,A){return A.func.apply(A.thisArg,Yo([y],A.args))},p)}function o0(i,l,p){var y=i.length;if(y<2)return y?Qo(i[0]):[];for(var A=-1,k=ee(y);++A<y;)for(var _=i[A],N=-1;++N<y;)N!=A&&(k[A]=Al(k[A]||_,i[N],l,p));return Qo(en(k,1),l,p)}function DI(i,l,p){for(var y=-1,A=i.length,k=l.length,_={};++y<A;){var N=y<k?l[y]:n;p(_,i[y],N)}return _}function i0(i){return Rt(i)?i:[]}function s0(i){return typeof i=="function"?i:kn}function Jo(i,l){return Ne(i)?i:g0(i,l)?[i]:uO(lt(i))}var G$=Ue;function qo(i,l,p){var y=i.length;return p=p===n?y:p,!l&&p>=y?i:br(i,l,p)}var _I=kq||function(i){return $t.clearTimeout(i)};function RI(i,l){if(l)return i.slice();var p=i.length,y=oI?oI(p):new i.constructor(p);return i.copy(y),y}function a0(i){var l=new i.constructor(i.byteLength);return new Sd(l).set(new Sd(i)),l}function Y$(i,l){var p=l?a0(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.byteLength)}function K$(i){var l=new i.constructor(i.source,dd.exec(i));return l.lastIndex=i.lastIndex,l}function X$(i){return wl?ft(wl.call(i)):{}}function BI(i,l){var p=l?a0(i.buffer):i.buffer;return new i.constructor(p,i.byteOffset,i.length)}function NI(i,l){if(i!==l){var p=i!==n,y=i===null,A=i===i,k=Zn(i),_=l!==n,N=l===null,Y=l===l,ie=Zn(l);if(!N&&!ie&&!k&&i>l||k&&_&&Y&&!N&&!ie||y&&_&&Y||!p&&Y||!A)return 1;if(!y&&!k&&!ie&&i<l||ie&&p&&A&&!y&&!k||N&&p&&A||!_&&A||!Y)return-1}return 0}function Z$(i,l,p){for(var y=-1,A=i.criteria,k=l.criteria,_=A.length,N=p.length;++y<_;){var Y=NI(A[y],k[y]);if(Y){if(y>=N)return Y;var ie=p[y];return Y*(ie=="desc"?-1:1)}}return i.index-l.index}function VI(i,l,p,y){for(var A=-1,k=i.length,_=p.length,N=-1,Y=l.length,ie=Yt(k-_,0),se=ee(Y+ie),ce=!y;++N<Y;)se[N]=l[N];for(;++A<_;)(ce||A<k)&&(se[p[A]]=i[A]);for(;ie--;)se[N++]=i[A++];return se}function WI(i,l,p,y){for(var A=-1,k=i.length,_=-1,N=p.length,Y=-1,ie=l.length,se=Yt(k-N,0),ce=ee(se+ie),ye=!y;++A<se;)ce[A]=i[A];for(var Ee=A;++Y<ie;)ce[Ee+Y]=l[Y];for(;++_<N;)(ye||A<k)&&(ce[Ee+p[_]]=i[A++]);return ce}function Pn(i,l){var p=-1,y=i.length;for(l||(l=ee(y));++p<y;)l[p]=i[p];return l}function Hr(i,l,p,y){var A=!p;p||(p={});for(var k=-1,_=l.length;++k<_;){var N=l[k],Y=y?y(p[N],i[N],N,p,i):n;Y===n&&(Y=i[N]),A?uo(p,N,Y):Sl(p,N,Y)}return p}function Q$(i,l){return Hr(i,h0(i),l)}function J$(i,l){return Hr(i,eO(i),l)}function Bd(i,l){return function(p,y){var A=Ne(p)?nq:b$,k=l?l():{};return A(p,i,je(y,2),k)}}function Js(i){return Ue(function(l,p){var y=-1,A=p.length,k=A>1?p[A-1]:n,_=A>2?p[2]:n;for(k=i.length>3&&typeof k=="function"?(A--,k):n,_&&gn(p[0],p[1],_)&&(k=A<3?n:k,A=1),l=ft(l);++y<A;){var N=p[y];N&&i(l,N,y,k)}return l})}function zI(i,l){return function(p,y){if(p==null)return p;if(!jn(p))return i(p,y);for(var A=p.length,k=l?A:-1,_=ft(p);(l?k--:++k<A)&&y(_[k],k,_)!==!1;);return p}}function UI(i){return function(l,p,y){for(var A=-1,k=ft(l),_=y(l),N=_.length;N--;){var Y=_[i?N:++A];if(p(k[Y],Y,k)===!1)break}return l}}function q$(i,l,p){var y=l&w,A=Ol(i);function k(){var _=this&&this!==$t&&this instanceof k?A:i;return _.apply(y?p:this,arguments)}return k}function HI(i){return function(l){l=lt(l);var p=Hs(l)?Or(l):n,y=p?p[0]:l.charAt(0),A=p?qo(p,1).join(""):l.slice(1);return y[i]()+A}}function qs(i){return function(l){return km(zO(WO(l).replace(zJ,"")),i,"")}}function Ol(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 $$(i,l,p){var y=Ol(i);function A(){for(var k=arguments.length,_=ee(k),N=k,Y=$s(A);N--;)_[N]=arguments[N];var ie=k<3&&_[0]!==Y&&_[k-1]!==Y?[]:Ko(_,Y);if(k-=ie.length,k<p)return ZI(i,l,Nd,A.placeholder,n,_,ie,n,n,p-k);var se=this&&this!==$t&&this instanceof A?y:i;return Yn(se,this,_)}return A}function GI(i){return function(l,p,y){var A=ft(l);if(!jn(l)){var k=je(p,3);l=Zt(l),p=function(N){return k(A[N],N,A)}}var _=i(l,p,y);return _>-1?A[k?l[_]:_]:n}}function YI(i){return po(function(l){var p=l.length,y=p,A=vr.prototype.thru;for(i&&l.reverse();y--;){var k=l[y];if(typeof k!="function")throw new mr(a);if(A&&!_&&Ud(k)=="wrapper")var _=new vr([],!0)}for(y=_?y:p;++y<p;){k=l[y];var N=Ud(k),Y=N=="wrapper"?f0(k):n;Y&&m0(Y[0])&&Y[1]==(L|I|P|H)&&!Y[4].length&&Y[9]==1?_=_[Ud(Y[0])].apply(_,Y[3]):_=k.length==1&&m0(k)?_[N]():_.thru(k)}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 Nd(i,l,p,y,A,k,_,N,Y,ie){var se=l&L,ce=l&w,ye=l&E,Ee=l&(I|M),Me=l&K,ze=ye?n:Ol(i);function ke(){for(var Ye=arguments.length,Ze=ee(Ye),Qn=Ye;Qn--;)Ze[Qn]=arguments[Qn];if(Ee)var mn=$s(ke),Jn=dq(Ze,mn);if(y&&(Ze=VI(Ze,y,A,Ee)),k&&(Ze=WI(Ze,k,_,Ee)),Ye-=Jn,Ee&&Ye<ie){var Bt=Ko(Ze,mn);return ZI(i,l,Nd,ke.placeholder,p,Ze,Bt,N,Y,ie-Ye)}var Mr=ce?p:this,vo=ye?Mr[i]:i;return Ye=Ze.length,N?Ze=bee(Ze,N):Me&&Ye>1&&Ze.reverse(),se&&Y<Ye&&(Ze.length=Y),this&&this!==$t&&this instanceof ke&&(vo=ze||Ol(vo)),vo.apply(Mr,Ze)}return ke}function KI(i,l){return function(p,y){return I$(p,i,l(y),{})}}function Vd(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=Xn(p),y=Xn(y)):(p=kI(p),y=kI(y)),A=i(p,y)}return A}}function l0(i){return po(function(l){return l=At(l,Kn(je())),Ue(function(p){var y=this;return i(l,function(A){return Yn(A,y,p)})})})}function Wd(i,l){l=l===n?" ":Xn(l);var p=l.length;if(p<2)return p?t0(l,i):l;var y=t0(l,Id(i/Gs(l)));return Hs(l)?qo(Or(y),0,i).join(""):y.slice(0,i)}function eee(i,l,p,y){var A=l&w,k=Ol(i);function _(){for(var N=-1,Y=arguments.length,ie=-1,se=y.length,ce=ee(se+Y),ye=this&&this!==$t&&this instanceof _?k:i;++ie<se;)ce[ie]=y[ie];for(;Y--;)ce[ie++]=arguments[++N];return Yn(ye,A?p:this,ce)}return _}function XI(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),N$(l,p,y,i)}}function zd(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,k,_,N,Y,ie){var se=l&I,ce=se?_:n,ye=se?n:_,Ee=se?k:n,Me=se?n:k;l|=se?P:D,l&=~(se?D:P),l&F||(l&=~(w|E));var ze=[i,l,A,Ee,ce,Me,ye,N,Y,ie],ke=p.apply(n,ze);return m0(i)&&aO(ke,ze),ke.placeholder=y,lO(ke,i,l)}function c0(i){var l=Gt[i];return function(p,y){if(p=Cr(p),y=y==null?0:un(We(y),292),y&&lI(p)){var A=(lt(p)+"e").split("e"),k=l(A[0]+"e"+(+A[1]+y));return A=(lt(k)+"e").split("e"),+(A[0]+"e"+(+A[1]-y))}return l(p)}}var tee=Xs&&1/vd(new Xs([,-0]))[1]==ne?function(i){return new Xs(i)}:M0;function QI(i){return function(l){var p=dn(l);return p==me?Nm(l):p==bt?yq(l):uq(l,i(l))}}function fo(i,l,p,y,A,k,_,N){var Y=l&E;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),N=N===n?N:We(N),ie-=A?A.length:0,l&D){var se=y,ce=A;y=A=n}var ye=Y?n:f0(i),Ee=[i,l,p,y,A,se,ce,k,_,N];if(ye&&mee(Ee,ye),i=Ee[0],l=Ee[1],p=Ee[2],y=Ee[3],A=Ee[4],N=Ee[9]=Ee[9]===n?Y?0:i.length:Yt(Ee[9]-ie,0),!N&&l&(I|M)&&(l&=~(I|M)),!l||l==w)var Me=q$(i,l,p);else l==I||l==M?Me=$$(i,l,N):(l==P||l==(w|P))&&!A.length?Me=eee(i,l,p,y):Me=Nd.apply(n,Ee);var ze=ye?jI:aO;return lO(ze(Me,Ee),i,l)}function JI(i,l,p,y){return i===n||jr(i,Ks[p])&&!ut.call(y,p)?l:i}function qI(i,l,p,y,A,k){return Pt(i)&&Pt(l)&&(k.set(l,i),Dd(i,l,n,qI,k),k.delete(l)),i}function nee(i){return Ml(i)?n:i}function $I(i,l,p,y,A,k){var _=p&b,N=i.length,Y=l.length;if(N!=Y&&!(_&&Y>N))return!1;var ie=k.get(i),se=k.get(l);if(ie&&se)return ie==l&&se==i;var ce=-1,ye=!0,Ee=p&C?new Ri:n;for(k.set(i,l),k.set(l,i);++ce<N;){var Me=i[ce],ze=l[ce];if(y)var ke=_?y(ze,Me,ce,l,i,k):y(Me,ze,ce,i,l,k);if(ke!==n){if(ke)continue;ye=!1;break}if(Ee){if(!Fm(l,function(Ye,Ze){if(!vl(Ee,Ze)&&(Me===Ye||A(Me,Ye,p,y,k)))return Ee.push(Ze)})){ye=!1;break}}else if(!(Me===ze||A(Me,ze,p,y,k))){ye=!1;break}}return k.delete(i),k.delete(l),ye}function ree(i,l,p,y,A,k,_){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||!k(new Sd(i),new Sd(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 N=Nm;case bt:var Y=y&b;if(N||(N=vd),i.size!=l.size&&!Y)return!1;var ie=_.get(i);if(ie)return ie==l;y|=C,_.set(i,l);var se=$I(N(i),N(l),y,A,k,_);return _.delete(i),se;case xt:if(wl)return wl.call(i)==wl.call(l)}return!1}function oee(i,l,p,y,A,k){var _=p&b,N=u0(i),Y=N.length,ie=u0(l),se=ie.length;if(Y!=se&&!_)return!1;for(var ce=Y;ce--;){var ye=N[ce];if(!(_?ye in l:ut.call(l,ye)))return!1}var Ee=k.get(i),Me=k.get(l);if(Ee&&Me)return Ee==l&&Me==i;var ze=!0;k.set(i,l),k.set(l,i);for(var ke=_;++ce<Y;){ye=N[ce];var Ye=i[ye],Ze=l[ye];if(y)var Qn=_?y(Ze,Ye,ye,l,i,k):y(Ye,Ze,ye,i,l,k);if(!(Qn===n?Ye===Ze||A(Ye,Ze,p,y,k):Qn)){ze=!1;break}ke||(ke=ye=="constructor")}if(ze&&!ke){var mn=i.constructor,Jn=l.constructor;mn!=Jn&&"constructor"in i&&"constructor"in l&&!(typeof mn=="function"&&mn instanceof mn&&typeof Jn=="function"&&Jn instanceof Jn)&&(ze=!1)}return k.delete(i),k.delete(l),ze}function po(i){return y0(iO(i,n,hO),i+"")}function u0(i){return bI(i,Zt,h0)}function d0(i){return bI(i,Mn,eO)}var f0=Pd?function(i){return Pd.get(i)}:M0;function Ud(i){for(var l=i.name+"",p=Zs[l],y=ut.call(Zs,l)?p.length:0;y--;){var A=p[y],k=A.func;if(k==null||k==i)return A.name}return l}function $s(i){var l=ut.call(O,"placeholder")?O:i;return l.placeholder}function je(){var i=O.iteratee||P0;return i=i===P0?wI:i,arguments.length?i(arguments[0],arguments[1]):i}function Hd(i,l){var p=i.__data__;return fee(l)?p[typeof l=="string"?"string":"hash"]:p.map}function p0(i){for(var l=Zt(i),p=l.length;p--;){var y=l[p],A=i[y];l[p]=[y,A,rO(A)]}return l}function Vi(i,l){var p=gq(i,l);return CI(p)?p:n}function iee(i){var l=ut.call(i,Di),p=i[Di];try{i[Di]=n;var y=!0}catch{}var A=Cd.call(i);return y&&(l?i[Di]=p:delete i[Di]),A}var h0=Wm?function(i){return i==null?[]:(i=ft(i),Go(Wm(i),function(l){return sI.call(i,l)}))}:k0,eO=Wm?function(i){for(var l=[];i;)Yo(l,h0(i)),i=Ad(i);return l}:k0,dn=hn;(zm&&dn(new zm(new ArrayBuffer(1)))!=Oe||bl&&dn(new bl)!=me||Um&&dn(Um.resolve())!=yt||Xs&&dn(new Xs)!=bt||xl&&dn(new xl)!=Ot)&&(dn=function(i){var l=hn(i),p=l==Et?i.constructor:n,y=p?Wi(p):"";if(y)switch(y){case Wq:return Oe;case zq:return me;case Uq:return yt;case Hq:return bt;case Gq:return Ot}return l});function see(i,l,p){for(var y=-1,A=p.length;++y<A;){var k=p[y],_=k.size;switch(k.type){case"drop":i+=_;break;case"dropRight":l-=_;break;case"take":l=un(l,i+_);break;case"takeRight":i=Yt(i,l-_);break}}return{start:i,end:l}}function aee(i){var l=i.match(Fi);return l?l[1].split(ml):[]}function tO(i,l,p){l=Jo(l,i);for(var y=-1,A=l.length,k=!1;++y<A;){var _=Gr(l[y]);if(!(k=i!=null&&p(i,_)))break;i=i[_]}return k||++y!=A?k:(A=i==null?0:i.length,!!A&&Jd(A)&&ho(_,A)&&(Ne(i)||zi(i)))}function lee(i){var l=i.length,p=new i.constructor(l);return l&&typeof i[0]=="string"&&ut.call(i,"index")&&(p.index=i.index,p.input=i.input),p}function nO(i){return typeof i.constructor=="function"&&!Pl(i)?Qs(Ad(i)):{}}function cee(i,l,p){var y=i.constructor;switch(l){case _e:return a0(i);case Ce:case be:return new y(+i);case Oe:return Y$(i,p);case xe:case ht:case Ut:case Be:case Pe:case qt:case pr:case Ir:case Mi:return BI(i,p);case me:return new y;case Qe:case Xt:return new y(i);case It:return K$(i);case bt:return new y;case xt:return X$(i)}}function uee(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(xm,`{
|
|
194
194
|
/* [wrapped with `+l+`] */
|
|
195
|
-
`)}function tee(i){return Ne(i)||zi(i)||!!(rI&&i&&i[rI])}function ho(i,l){var p=typeof i;return l=l??W,!!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"?jn(p)&&ho(l,p.length):y=="string"&&l in p)?jr(p[l],i):!1}function u0(i,l){if(Ne(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Zn(i)?!0:pl.test(i)||!pm.test(i)||l!=null&&i in ft(l)}function nee(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function d0(i){var l=Vd(i),p=O[l];if(typeof p!="function"||!(l in Xe.prototype))return!1;if(i===p)return!0;var y=a0(p);return!!y&&i===y[0]}function ree(i){return!!$E&&$E in i}var oee=md?go:O0;function Ol(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Ks;return i===p}function $I(i){return i===i&&!Pt(i)}function eO(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ft(p))}}function iee(i){var l=Yd(i,function(y){return p.size===d&&p.clear(),y}),p=l.cache;return l}function see(i,l){var p=i[1],y=l[1],A=p|y,k=A<(w|I|L),R=y==L&&p==E||y==L&&p==H&&i[7].length<=l[8]||y==(L|H)&&l[7].length<=l[8]&&p==E;if(!(k||R))return i;y&w&&(i[2]=l[2],A|=p&w?0:F);var N=l[3];if(N){var Y=i[3];i[3]=Y?_I(Y,N,l[4]):N,i[4]=Y?Ko(i[3],h):l[4]}return N=l[5],N&&(Y=i[5],i[5]=Y?RI(Y,N,l[6]):N,i[6]=Y?Ko(i[5],h):l[6]),N=l[7],N&&(i[7]=N),y&L&&(i[8]=i[8]==null?l[8]:un(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=A,i}function aee(i){var l=[];if(i!=null)for(var p in ft(i))l.push(p);return l}function lee(i){return yd.call(i)}function tO(i,l,p){return l=Yt(l===n?i.length-1:l,0),function(){for(var y=arguments,A=-1,k=Yt(y.length-l,0),R=ee(k);++A<k;)R[A]=y[l+A];A=-1;for(var N=ee(l+1);++A<l;)N[A]=y[A];return N[l]=p(R),Yn(i,this,N)}}function nO(i,l){return l.length<2?i:Ni(i,br(l,0,-1))}function cee(i,l){for(var p=i.length,y=un(l.length,p),A=Pn(i);y--;){var k=l[y];i[y]=ho(k,p)?A[k]:n}return i}function f0(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var rO=iO(EI),Pl=Aq||function(i,l){return $t.setTimeout(i,l)},p0=iO(k$);function oO(i,l,p){var y=l+"";return p0(i,eee(y,uee(J$(y),p)))}function iO(i){var l=0,p=0;return function(){var y=Oq(),A=le-(y-p);if(p=y,A>0){if(++l>=ae)return arguments[0]}else l=0;return i.apply(n,arguments)}}function zd(i,l){var p=-1,y=i.length,A=y-1;for(l=l===n?y:l;++p<l;){var k=Zm(p,A),R=i[k];i[k]=i[p],i[p]=R}return i.length=l,i}var sO=iee(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(hm,function(p,y,A,k){l.push(A?k.replace(sd,"$1"):y||p)}),l});function Gr(i){if(typeof i=="string"||Zn(i))return i;var l=i+"";return l=="0"&&1/i==-ne?"-0":l}function Wi(i){if(i!=null){try{return vd.call(i)}catch{}try{return i+""}catch{}}return""}function uee(i,l){return gr(pe,function(p){var y="_."+p[0];l&p[1]&&!fd(i,y)&&i.push(y)}),i.sort()}function aO(i){if(i instanceof Xe)return i.clone();var l=new vr(i.__wrapped__,i.__chain__);return l.__actions__=Pn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function dee(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,k=0,R=ee(Ad(y/l));A<y;)R[k++]=br(i,A,A+=l);return R}function fee(i){for(var l=-1,p=i==null?0:i.length,y=0,A=[];++l<p;){var k=i[l];k&&(A[y++]=k)}return A}function pee(){var i=arguments.length;if(!i)return[];for(var l=ee(i-1),p=arguments[0],y=i;y--;)l[y-1]=arguments[y];return Yo(Ne(p)?Pn(p):[p],en(l,1))}var hee=Ue(function(i,l){return Rt(i)?Sl(i,en(l,1,Rt,!0)):[]}),gee=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)):[]}),mee=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 vee(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 yee(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 bee(i,l){return i&&i.length?Ld(i,je(l,3),!0,!0):[]}function xee(i,l){return i&&i.length?Ld(i,je(l,3),!0):[]}function Cee(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),p$(i,l,p,y)):[]}function lO(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)),pd(i,je(l,3),A)}function cO(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):un(A,y-1)),pd(i,je(l,3),A,!0)}function uO(i){var l=i==null?0:i.length;return l?en(i,1):[]}function wee(i){var l=i==null?0:i.length;return l?en(i,ne):[]}function See(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:We(l),en(i,l)):[]}function Aee(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 dO(i){return i&&i.length?i[0]:n}function Tee(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 Eee(i){var l=i==null?0:i.length;return l?br(i,0,-1):[]}var Iee=Ue(function(i){var l=At(i,e0);return l.length&&l[0]===i[0]?Hm(l):[]}),Oee=Ue(function(i){var l=xr(i),p=At(i,e0);return l===xr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?Hm(p,je(l,2)):[]}),Pee=Ue(function(i){var l=xr(i),p=At(i,e0);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?Hm(p,n,l):[]});function jee(i,l){return i==null?"":Eq.call(i,l)}function xr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function Mee(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):un(A,y-1)),l===l?uq(i,l,A):pd(i,GE,A,!0)}function kee(i,l){return i&&i.length?wI(i,We(l)):n}var Fee=Ue(fO);function fO(i,l){return i&&i.length&&l&&l.length?Xm(i,l):i}function Lee(i,l,p){return i&&i.length&&l&&l.length?Xm(i,l,je(p,2)):i}function Dee(i,l,p){return i&&i.length&&l&&l.length?Xm(i,l,n,p):i}var _ee=po(function(i,l){var p=i==null?0:i.length,y=Vm(i,l);return TI(i,At(l,function(A){return ho(A,p)?+A:A}).sort(DI)),y});function Ree(i,l){var p=[];if(!(i&&i.length))return p;var y=-1,A=[],k=i.length;for(l=je(l,3);++y<k;){var R=i[y];l(R,y,i)&&(p.push(R),A.push(y))}return TI(i,A),p}function h0(i){return i==null?i:jq.call(i)}function Bee(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 Nee(i,l){return Fd(i,l)}function Vee(i,l,p){return Jm(i,l,je(p,2))}function Wee(i,l){var p=i==null?0:i.length;if(p){var y=Fd(i,l);if(y<p&&jr(i[y],l))return y}return-1}function zee(i,l){return Fd(i,l,!0)}function Uee(i,l,p){return Jm(i,l,je(p,2),!0)}function Hee(i,l){var p=i==null?0:i.length;if(p){var y=Fd(i,l,!0)-1;if(jr(i[y],l))return y}return-1}function Gee(i){return i&&i.length?II(i):[]}function Yee(i,l){return i&&i.length?II(i,je(l,2)):[]}function Kee(i){var l=i==null?0:i.length;return l?br(i,1,l):[]}function Xee(i,l,p){return i&&i.length?(l=p||l===n?1:We(l),br(i,0,l<0?0:l)):[]}function Zee(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 Qee(i,l){return i&&i.length?Ld(i,je(l,3),!1,!0):[]}function Jee(i,l){return i&&i.length?Ld(i,je(l,3)):[]}var qee=Ue(function(i){return Qo(en(i,1,Rt,!0))}),$ee=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),Qo(en(i,1,Rt,!0),je(l,2))}),ete=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Qo(en(i,1,Rt,!0),n,l)});function tte(i){return i&&i.length?Qo(i):[]}function nte(i,l){return i&&i.length?Qo(i,je(l,2)):[]}function rte(i,l){return l=typeof l=="function"?l:n,i&&i.length?Qo(i,n,l):[]}function g0(i){if(!(i&&i.length))return[];var l=0;return i=Go(i,function(p){if(Rt(p))return l=Yt(p.length,l),!0}),km(l,function(p){return At(i,Pm(p))})}function pO(i,l){if(!(i&&i.length))return[];var p=g0(i);return l==null?p:At(p,function(y){return Yn(l,n,y)})}var ote=Ue(function(i,l){return Rt(i)?Sl(i,l):[]}),ite=Ue(function(i){return $m(Go(i,Rt))}),ste=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),$m(Go(i,Rt),je(l,2))}),ate=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,$m(Go(i,Rt),n,l)}),lte=Ue(g0);function cte(i,l){return MI(i||[],l||[],wl)}function ute(i,l){return MI(i||[],l||[],El)}var dte=Ue(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,pO(i,p)});function hO(i){var l=O(i);return l.__chain__=!0,l}function fte(i,l){return l(i),i}function Ud(i,l){return l(i)}var pte=po(function(i){var l=i.length,p=l?i[0]:0,y=this.__wrapped__,A=function(k){return Vm(k,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:Ud,args:[A],thisArg:n}),new vr(y,this.__chain__).thru(function(k){return l&&!k.length&&k.push(n),k}))});function hte(){return hO(this)}function gte(){return new vr(this.value(),this.__chain__)}function mte(){this.__values__===n&&(this.__values__=OO(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function vte(){return this}function yte(i){for(var l,p=this;p instanceof Od;){var y=aO(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 bte(){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:Ud,args:[h0],thisArg:n}),new vr(l,this.__chain__)}return this.thru(h0)}function xte(){return jI(this.__wrapped__,this.__actions__)}var Cte=Dd(function(i,l,p){ct.call(i,p)?++i[p]:uo(i,p,1)});function wte(i,l,p){var y=Ne(i)?UE:f$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}function Ste(i,l){var p=Ne(i)?Go:pI;return p(i,je(l,3))}var Ate=WI(lO),Tte=WI(cO);function Ete(i,l){return en(Hd(i,l),1)}function Ite(i,l){return en(Hd(i,l),ne)}function Ote(i,l,p){return p=p===n?1:We(p),en(Hd(i,l),p)}function gO(i,l){var p=Ne(i)?gr:Zo;return p(i,je(l,3))}function mO(i,l){var p=Ne(i)?KJ:fI;return p(i,je(l,3))}var Pte=Dd(function(i,l,p){ct.call(i,p)?i[p].push(l):uo(i,p,[l])});function jte(i,l,p,y){i=jn(i)?i:ta(i),p=p&&!y?We(p):0;var A=i.length;return p<0&&(p=Yt(A+p,0)),Zd(i)?p<=A&&i.indexOf(l,p)>-1:!!A&&Us(i,l,p)>-1}var Mte=Ue(function(i,l,p){var y=-1,A=typeof l=="function",k=jn(i)?ee(i.length):[];return Zo(i,function(R){k[++y]=A?Yn(l,R,p):Al(R,l,p)}),k}),kte=Dd(function(i,l,p){uo(i,p,l)});function Hd(i,l){var p=Ne(i)?At:bI;return p(i,je(l,3))}function Fte(i,l,p,y){return i==null?[]:(Ne(l)||(l=l==null?[]:[l]),p=y?n:p,Ne(p)||(p=p==null?[]:[p]),SI(i,l,p))}var Lte=Dd(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function Dte(i,l,p){var y=Ne(i)?Im:KE,A=arguments.length<3;return y(i,je(l,4),p,A,Zo)}function _te(i,l,p){var y=Ne(i)?XJ:KE,A=arguments.length<3;return y(i,je(l,4),p,A,fI)}function Rte(i,l){var p=Ne(i)?Go:pI;return p(i,Kd(je(l,3)))}function Bte(i){var l=Ne(i)?lI:j$;return l(i)}function Nte(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=We(l);var y=Ne(i)?a$:M$;return y(i,l)}function Vte(i){var l=Ne(i)?l$:F$;return l(i)}function Wte(i){if(i==null)return 0;if(jn(i))return Zd(i)?Gs(i):i.length;var l=dn(i);return l==me||l==bt?i.size:Ym(i).length}function zte(i,l,p){var y=Ne(i)?Om:L$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}var Ute=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]]),SI(i,en(l,1),[])}),Gd=Sq||function(){return $t.Date.now()};function Hte(i,l){if(typeof l!="function")throw new mr(a);return i=We(i),function(){if(--i<1)return l.apply(this,arguments)}}function vO(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,fo(i,L,n,n,n,n,l)}function yO(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 m0=Ue(function(i,l,p){var y=w;if(p.length){var A=Ko(p,$s(m0));y|=P}return fo(i,y,l,p,A)}),bO=Ue(function(i,l,p){var y=w|I;if(p.length){var A=Ko(p,$s(bO));y|=P}return fo(l,y,i,p,A)});function xO(i,l,p){l=p?n:l;var y=fo(i,E,n,n,n,n,n,l);return y.placeholder=xO.placeholder,y}function CO(i,l,p){l=p?n:l;var y=fo(i,M,n,n,n,n,n,l);return y.placeholder=CO.placeholder,y}function wO(i,l,p){var y,A,k,R,N,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,k=ce?Yt(Cr(p.maxWait)||0,l):k,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,N=Pl(Ye,l),se?Ee(Bt):R}function ze(Bt){var Mr=Bt-Y,vo=Bt-ie,WO=l-Mr;return ce?un(WO,k-vo):WO}function ke(Bt){var Mr=Bt-Y,vo=Bt-ie;return Y===n||Mr>=l||Mr<0||ce&&vo>=k}function Ye(){var Bt=Gd();if(ke(Bt))return Ze(Bt);N=Pl(Ye,ze(Bt))}function Ze(Bt){return N=n,ye&&y?Ee(Bt):(y=A=n,R)}function Qn(){N!==n&&kI(N),ie=0,y=Y=A=N=n}function mn(){return N===n?R:Ze(Gd())}function Jn(){var Bt=Gd(),Mr=ke(Bt);if(y=arguments,A=this,Y=Bt,Mr){if(N===n)return Me(Y);if(ce)return kI(N),N=Pl(Ye,l),Ee(Y)}return N===n&&(N=Pl(Ye,l)),R}return Jn.cancel=Qn,Jn.flush=mn,Jn}var Gte=Ue(function(i,l){return dI(i,1,l)}),Yte=Ue(function(i,l,p){return dI(i,Cr(l)||0,p)});function Kte(i){return fo(i,K)}function Yd(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],k=p.cache;if(k.has(A))return k.get(A);var R=i.apply(this,y);return p.cache=k.set(A,R)||k,R};return p.cache=new(Yd.Cache||co),p}Yd.Cache=co;function Kd(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 Xte(i){return yO(2,i)}var Zte=D$(function(i,l){l=l.length==1&&Ne(l[0])?At(l[0],Kn(je())):At(en(l,1),Kn(je()));var p=l.length;return Ue(function(y){for(var A=-1,k=un(y.length,p);++A<k;)y[A]=l[A].call(this,y[A]);return Yn(i,this,y)})}),v0=Ue(function(i,l){var p=Ko(l,$s(v0));return fo(i,P,n,l,p)}),SO=Ue(function(i,l){var p=Ko(l,$s(SO));return fo(i,D,n,l,p)}),Qte=po(function(i,l){return fo(i,H,n,n,n,l)});function Jte(i,l){if(typeof i!="function")throw new mr(a);return l=l===n?l:We(l),Ue(i,l)}function qte(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=qo(p,0,l);return y&&Yo(A,y),Yn(i,this,A)})}function $te(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),wO(i,l,{leading:y,maxWait:l,trailing:A})}function ene(i){return vO(i,1)}function tne(i,l){return v0(t0(l),i)}function nne(){if(!arguments.length)return[];var i=arguments[0];return Ne(i)?i:[i]}function rne(i){return yr(i,v)}function one(i,l){return l=typeof l=="function"?l:n,yr(i,v,l)}function ine(i){return yr(i,g|v)}function sne(i,l){return l=typeof l=="function"?l:n,yr(i,g|v,l)}function ane(i,l){return l==null||uI(i,l,Zt(l))}function jr(i,l){return i===l||i!==i&&l!==l}var lne=Nd(Um),cne=Nd(function(i,l){return i>=l}),zi=mI(function(){return arguments}())?mI:function(i){return Lt(i)&&ct.call(i,"callee")&&!nI.call(i,"callee")},Ne=ee.isArray,une=RE?Kn(RE):y$;function jn(i){return i!=null&&Xd(i.length)&&!go(i)}function Rt(i){return Lt(i)&&jn(i)}function dne(i){return i===!0||i===!1||Lt(i)&&hn(i)==Ce}var $o=Tq||O0,fne=BE?Kn(BE):b$;function pne(i){return Lt(i)&&i.nodeType===1&&!jl(i)}function hne(i){if(i==null)return!0;if(jn(i)&&(Ne(i)||typeof i=="string"||typeof i.splice=="function"||$o(i)||ea(i)||zi(i)))return!i.length;var l=dn(i);if(l==me||l==bt)return!i.size;if(Ol(i))return!Ym(i).length;for(var p in i)if(ct.call(i,p))return!1;return!0}function gne(i,l){return Tl(i,l)}function mne(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 y0(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 vne(i){return typeof i=="number"&&oI(i)}function go(i){if(!Pt(i))return!1;var l=hn(i);return l==de||l==qe||l==Te||l==Gn}function AO(i){return typeof i=="number"&&i==We(i)}function Xd(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=W}function Pt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Lt(i){return i!=null&&typeof i=="object"}var TO=NE?Kn(NE):C$;function yne(i,l){return i===l||Gm(i,l,l0(l))}function bne(i,l,p){return p=typeof p=="function"?p:n,Gm(i,l,l0(l),p)}function xne(i){return EO(i)&&i!=+i}function Cne(i){if(oee(i))throw new Re(s);return vI(i)}function wne(i){return i===null}function Sne(i){return i==null}function EO(i){return typeof i=="number"||Lt(i)&&hn(i)==Qe}function jl(i){if(!Lt(i)||hn(i)!=Et)return!1;var l=Cd(i);if(l===null)return!0;var p=ct.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&vd.call(p)==bq}var b0=VE?Kn(VE):w$;function Ane(i){return AO(i)&&i>=-W&&i<=W}var IO=WE?Kn(WE):S$;function Zd(i){return typeof i=="string"||!Ne(i)&&Lt(i)&&hn(i)==Xt}function Zn(i){return typeof i=="symbol"||Lt(i)&&hn(i)==xt}var ea=zE?Kn(zE):A$;function Tne(i){return i===n}function Ene(i){return Lt(i)&&dn(i)==Ot}function Ine(i){return Lt(i)&&hn(i)==Le}var One=Nd(Km),Pne=Nd(function(i,l){return i<=l});function OO(i){if(!i)return[];if(jn(i))return Zd(i)?Or(i):Pn(i);if(vl&&i[vl])return aq(i[vl]());var l=dn(i),p=l==me?Lm:l==bt?hd:ta;return p(i)}function mo(i){if(!i)return i===0?i:0;if(i=Cr(i),i===ne||i===-ne){var l=i<0?-1:1;return l*te}return i===i?i:0}function We(i){var l=mo(i),p=l%1;return l===l?p?l-p:l:0}function PO(i){return i?Bi(We(i),0,X):0}function Cr(i){if(typeof i=="number")return i;if(Zn(i))return V;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=XE(i);var p=vm.test(i);return p||Ve.test(i)?HJ(i.slice(2),p?2:8):mm.test(i)?V:+i}function jO(i){return Hr(i,Mn(i))}function jne(i){return i?Bi(We(i),-W,W):i===0?i:0}function at(i){return i==null?"":Xn(i)}var Mne=Js(function(i,l){if(Ol(l)||jn(l)){Hr(l,Zt(l),i);return}for(var p in l)ct.call(l,p)&&wl(i,p,l[p])}),MO=Js(function(i,l){Hr(l,Mn(l),i)}),Qd=Js(function(i,l,p,y){Hr(l,Mn(l),i,y)}),kne=Js(function(i,l,p,y){Hr(l,Zt(l),i,y)}),Fne=po(Vm);function Lne(i,l){var p=Qs(i);return l==null?p:cI(p,l)}var Dne=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 k=l[p],R=Mn(k),N=-1,Y=R.length;++N<Y;){var ie=R[N],se=i[ie];(se===n||jr(se,Ks[ie])&&!ct.call(i,ie))&&(i[ie]=k[ie])}return i}),_ne=Ue(function(i){return i.push(n,XI),Yn(kO,n,i)});function Rne(i,l){return HE(i,je(l,3),Ur)}function Bne(i,l){return HE(i,je(l,3),zm)}function Nne(i,l){return i==null?i:Wm(i,je(l,3),Mn)}function Vne(i,l){return i==null?i:hI(i,je(l,3),Mn)}function Wne(i,l){return i&&Ur(i,je(l,3))}function zne(i,l){return i&&zm(i,je(l,3))}function Une(i){return i==null?[]:Md(i,Zt(i))}function Hne(i){return i==null?[]:Md(i,Mn(i))}function x0(i,l,p){var y=i==null?n:Ni(i,l);return y===n?p:y}function Gne(i,l){return i!=null&&JI(i,l,h$)}function C0(i,l){return i!=null&&JI(i,l,g$)}var Yne=UI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=yd.call(l)),i[l]=p},S0(kn)),Kne=UI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=yd.call(l)),ct.call(i,l)?i[l].push(p):i[l]=[p]},je),Xne=Ue(Al);function Zt(i){return jn(i)?aI(i):Ym(i)}function Mn(i){return jn(i)?aI(i,!0):T$(i)}function Zne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,k){uo(p,l(y,A,k),y)}),p}function Qne(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,k){uo(p,A,l(y,A,k))}),p}var Jne=Js(function(i,l,p){kd(i,l,p)}),kO=Js(function(i,l,p,y){kd(i,l,p,y)}),qne=po(function(i,l){var p={};if(i==null)return p;var y=!1;l=At(l,function(k){return k=Jo(k,i),y||(y=k.length>1),k}),Hr(i,s0(i),p),y&&(p=yr(p,g|m|v,Y$));for(var A=l.length;A--;)qm(p,l[A]);return p});function $ne(i,l){return FO(i,Kd(je(l)))}var ere=po(function(i,l){return i==null?{}:I$(i,l)});function FO(i,l){if(i==null)return{};var p=At(s0(i),function(y){return[y]});return l=je(l),AI(i,p,function(y,A){return l(y,A[0])})}function tre(i,l,p){l=Jo(l,i);var y=-1,A=l.length;for(A||(A=1,i=n);++y<A;){var k=i==null?n:i[Gr(l[y])];k===n&&(y=A,k=p),i=go(k)?k.call(i):k}return i}function nre(i,l,p){return i==null?i:El(i,l,p)}function rre(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:El(i,l,p,y)}var LO=YI(Zt),DO=YI(Mn);function ore(i,l,p){var y=Ne(i),A=y||$o(i)||ea(i);if(l=je(l,4),p==null){var k=i&&i.constructor;A?p=y?new k:[]:Pt(i)?p=go(k)?Qs(Cd(i)):{}:p={}}return(A?gr:Ur)(i,function(R,N,Y){return l(p,R,N,Y)}),p}function ire(i,l){return i==null?!0:qm(i,l)}function sre(i,l,p){return i==null?i:PI(i,l,t0(p))}function are(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:PI(i,l,t0(p),y)}function ta(i){return i==null?[]:Fm(i,Zt(i))}function lre(i){return i==null?[]:Fm(i,Mn(i))}function cre(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 ure(i,l,p){return l=mo(l),p===n?(p=l,l=0):p=mo(p),i=Cr(i),m$(i,l,p)}function dre(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=iI();return un(i+A*(l-i+UJ("1e-"+((A+"").length-1))),l)}return Zm(i,l)}var fre=qs(function(i,l,p){return l=l.toLowerCase(),i+(p?_O(l):l)});function _O(i){return w0(at(i).toLowerCase())}function RO(i){return i=at(i),i&&i.replace(hJ,nq).replace(FJ,"")}function pre(i,l,p){i=at(i),l=Xn(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 hre(i){return i=at(i),i&&td.test(i)?i.replace(fl,rq):i}function gre(i){return i=at(i),i&&hl.test(i)?i.replace(ao,"\\$&"):i}var mre=qs(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),vre=qs(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),yre=VI("toLowerCase");function bre(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 Bd(Td(A),p)+i+Bd(Ad(A),p)}function xre(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?i+Bd(l-y,p):i}function Cre(i,l,p){i=at(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?Bd(l-y,p)+i:i}function wre(i,l,p){return p||l==null?l=0:l&&(l=+l),Pq(at(i).replace(cn,""),l||0)}function Sre(i,l,p){return(p?gn(i,l,p):l===n)?l=1:l=We(l),Qm(at(i),l)}function Are(){var i=arguments,l=at(i[0]);return i.length<3?l:l.replace(i[1],i[2])}var Tre=qs(function(i,l,p){return i+(p?"_":"")+l.toLowerCase()});function Ere(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&&!b0(l))&&(l=Xn(l),!l&&Hs(i))?qo(Or(i),0,p):i.split(l,p)):[]}var Ire=qs(function(i,l,p){return i+(p?" ":"")+w0(l)});function Ore(i,l,p){return i=at(i),p=p==null?0:Bi(We(p),0,i.length),l=Xn(l),i.slice(p,p+l.length)==l}function Pre(i,l,p){var y=O.templateSettings;p&&gn(i,l,p)&&(l=n),i=at(i),l=Qd({},l,y,KI);var A=Qd({},l.imports,y.imports,KI),k=Zt(A),R=Fm(A,k),N,Y,ie=0,se=l.interpolate||cd,ce="__p += '",ye=Dm((l.escape||cd).source+"|"+se.source+"|"+(se===rd?ad:cd).source+"|"+(l.evaluate||cd).source+"|$","g"),Ee="//# sourceURL="+(ct.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++BJ+"]")+`
|
|
196
|
-
`;i.replace(ye,function(ke,Ye,Ze,Qn,mn,Jn){return Ze||(Ze=Qn),ce+=i.slice(ie,Jn).replace(
|
|
195
|
+
`)}function dee(i){return Ne(i)||zi(i)||!!(aI&&i&&i[aI])}function ho(i,l){var p=typeof i;return l=l??W,!!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"?jn(p)&&ho(l,p.length):y=="string"&&l in p)?jr(p[l],i):!1}function g0(i,l){if(Ne(i))return!1;var p=typeof i;return p=="number"||p=="symbol"||p=="boolean"||i==null||Zn(i)?!0:hl.test(i)||!ym.test(i)||l!=null&&i in ft(l)}function fee(i){var l=typeof i;return l=="string"||l=="number"||l=="symbol"||l=="boolean"?i!=="__proto__":i===null}function m0(i){var l=Ud(i),p=O[l];if(typeof p!="function"||!(l in Xe.prototype))return!1;if(i===p)return!0;var y=f0(p);return!!y&&i===y[0]}function pee(i){return!!rI&&rI in i}var hee=bd?go:F0;function Pl(i){var l=i&&i.constructor,p=typeof l=="function"&&l.prototype||Ks;return i===p}function rO(i){return i===i&&!Pt(i)}function oO(i,l){return function(p){return p==null?!1:p[i]===l&&(l!==n||i in ft(p))}}function gee(i){var l=Zd(i,function(y){return p.size===d&&p.clear(),y}),p=l.cache;return l}function mee(i,l){var p=i[1],y=l[1],A=p|y,k=A<(w|E|L),_=y==L&&p==I||y==L&&p==H&&i[7].length<=l[8]||y==(L|H)&&l[7].length<=l[8]&&p==I;if(!(k||_))return i;y&w&&(i[2]=l[2],A|=p&w?0:F);var N=l[3];if(N){var Y=i[3];i[3]=Y?VI(Y,N,l[4]):N,i[4]=Y?Ko(i[3],h):l[4]}return N=l[5],N&&(Y=i[5],i[5]=Y?WI(Y,N,l[6]):N,i[6]=Y?Ko(i[5],h):l[6]),N=l[7],N&&(i[7]=N),y&L&&(i[8]=i[8]==null?l[8]:un(i[8],l[8])),i[9]==null&&(i[9]=l[9]),i[0]=l[0],i[1]=A,i}function vee(i){var l=[];if(i!=null)for(var p in ft(i))l.push(p);return l}function yee(i){return Cd.call(i)}function iO(i,l,p){return l=Yt(l===n?i.length-1:l,0),function(){for(var y=arguments,A=-1,k=Yt(y.length-l,0),_=ee(k);++A<k;)_[A]=y[l+A];A=-1;for(var N=ee(l+1);++A<l;)N[A]=y[A];return N[l]=p(_),Yn(i,this,N)}}function sO(i,l){return l.length<2?i:Ni(i,br(l,0,-1))}function bee(i,l){for(var p=i.length,y=un(l.length,p),A=Pn(i);y--;){var k=l[y];i[y]=ho(k,p)?A[k]:n}return i}function v0(i,l){if(!(l==="constructor"&&typeof i[l]=="function")&&l!="__proto__")return i[l]}var aO=cO(jI),jl=Lq||function(i,l){return $t.setTimeout(i,l)},y0=cO(z$);function lO(i,l,p){var y=l+"";return y0(i,uee(y,xee(aee(y),p)))}function cO(i){var l=0,p=0;return function(){var y=Bq(),A=le-(y-p);if(p=y,A>0){if(++l>=ae)return arguments[0]}else l=0;return i.apply(n,arguments)}}function Gd(i,l){var p=-1,y=i.length,A=y-1;for(l=l===n?y:l;++p<l;){var k=e0(p,A),_=i[k];i[k]=i[p],i[p]=_}return i.length=l,i}var uO=gee(function(i){var l=[];return i.charCodeAt(0)===46&&l.push(""),i.replace(bm,function(p,y,A,k){l.push(A?k.replace(cd,"$1"):y||p)}),l});function Gr(i){if(typeof i=="string"||Zn(i))return i;var l=i+"";return l=="0"&&1/i==-ne?"-0":l}function Wi(i){if(i!=null){try{return xd.call(i)}catch{}try{return i+""}catch{}}return""}function xee(i,l){return gr(pe,function(p){var y="_."+p[0];l&p[1]&&!gd(i,y)&&i.push(y)}),i.sort()}function dO(i){if(i instanceof Xe)return i.clone();var l=new vr(i.__wrapped__,i.__chain__);return l.__actions__=Pn(i.__actions__),l.__index__=i.__index__,l.__values__=i.__values__,l}function Cee(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,k=0,_=ee(Id(y/l));A<y;)_[k++]=br(i,A,A+=l);return _}function wee(i){for(var l=-1,p=i==null?0:i.length,y=0,A=[];++l<p;){var k=i[l];k&&(A[y++]=k)}return A}function See(){var i=arguments.length;if(!i)return[];for(var l=ee(i-1),p=arguments[0],y=i;y--;)l[y-1]=arguments[y];return Yo(Ne(p)?Pn(p):[p],en(l,1))}var Aee=Ue(function(i,l){return Rt(i)?Al(i,en(l,1,Rt,!0)):[]}),Tee=Ue(function(i,l){var p=xr(l);return Rt(p)&&(p=n),Rt(i)?Al(i,en(l,1,Rt,!0),je(p,2)):[]}),Eee=Ue(function(i,l){var p=xr(l);return Rt(p)&&(p=n),Rt(i)?Al(i,en(l,1,Rt,!0),n,p):[]});function Iee(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 Pee(i,l){return i&&i.length?Rd(i,je(l,3),!0,!0):[]}function jee(i,l){return i&&i.length?Rd(i,je(l,3),!0):[]}function Mee(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),S$(i,l,p,y)):[]}function fO(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)),md(i,je(l,3),A)}function pO(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):un(A,y-1)),md(i,je(l,3),A,!0)}function hO(i){var l=i==null?0:i.length;return l?en(i,1):[]}function kee(i){var l=i==null?0:i.length;return l?en(i,ne):[]}function Fee(i,l){var p=i==null?0:i.length;return p?(l=l===n?1:We(l),en(i,l)):[]}function Lee(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 gO(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 _ee(i){var l=i==null?0:i.length;return l?br(i,0,-1):[]}var Ree=Ue(function(i){var l=At(i,i0);return l.length&&l[0]===i[0]?Zm(l):[]}),Bee=Ue(function(i){var l=xr(i),p=At(i,i0);return l===xr(p)?l=n:p.pop(),p.length&&p[0]===i[0]?Zm(p,je(l,2)):[]}),Nee=Ue(function(i){var l=xr(i),p=At(i,i0);return l=typeof l=="function"?l:n,l&&p.pop(),p.length&&p[0]===i[0]?Zm(p,n,l):[]});function Vee(i,l){return i==null?"":_q.call(i,l)}function xr(i){var l=i==null?0:i.length;return l?i[l-1]:n}function Wee(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):un(A,y-1)),l===l?xq(i,l,A):md(i,ZE,A,!0)}function zee(i,l){return i&&i.length?EI(i,We(l)):n}var Uee=Ue(mO);function mO(i,l){return i&&i.length&&l&&l.length?$m(i,l):i}function Hee(i,l,p){return i&&i.length&&l&&l.length?$m(i,l,je(p,2)):i}function Gee(i,l,p){return i&&i.length&&l&&l.length?$m(i,l,n,p):i}var Yee=po(function(i,l){var p=i==null?0:i.length,y=Gm(i,l);return PI(i,At(l,function(A){return ho(A,p)?+A:A}).sort(NI)),y});function Kee(i,l){var p=[];if(!(i&&i.length))return p;var y=-1,A=[],k=i.length;for(l=je(l,3);++y<k;){var _=i[y];l(_,y,i)&&(p.push(_),A.push(y))}return PI(i,A),p}function b0(i){return i==null?i:Vq.call(i)}function Xee(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 Zee(i,l){return _d(i,l)}function Qee(i,l,p){return n0(i,l,je(p,2))}function Jee(i,l){var p=i==null?0:i.length;if(p){var y=_d(i,l);if(y<p&&jr(i[y],l))return y}return-1}function qee(i,l){return _d(i,l,!0)}function $ee(i,l,p){return n0(i,l,je(p,2),!0)}function ete(i,l){var p=i==null?0:i.length;if(p){var y=_d(i,l,!0)-1;if(jr(i[y],l))return y}return-1}function tte(i){return i&&i.length?MI(i):[]}function nte(i,l){return i&&i.length?MI(i,je(l,2)):[]}function rte(i){var l=i==null?0:i.length;return l?br(i,1,l):[]}function ote(i,l,p){return i&&i.length?(l=p||l===n?1:We(l),br(i,0,l<0?0:l)):[]}function ite(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 ste(i,l){return i&&i.length?Rd(i,je(l,3),!1,!0):[]}function ate(i,l){return i&&i.length?Rd(i,je(l,3)):[]}var lte=Ue(function(i){return Qo(en(i,1,Rt,!0))}),cte=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),Qo(en(i,1,Rt,!0),je(l,2))}),ute=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,Qo(en(i,1,Rt,!0),n,l)});function dte(i){return i&&i.length?Qo(i):[]}function fte(i,l){return i&&i.length?Qo(i,je(l,2)):[]}function pte(i,l){return l=typeof l=="function"?l:n,i&&i.length?Qo(i,n,l):[]}function x0(i){if(!(i&&i.length))return[];var l=0;return i=Go(i,function(p){if(Rt(p))return l=Yt(p.length,l),!0}),Rm(l,function(p){return At(i,Lm(p))})}function vO(i,l){if(!(i&&i.length))return[];var p=x0(i);return l==null?p:At(p,function(y){return Yn(l,n,y)})}var hte=Ue(function(i,l){return Rt(i)?Al(i,l):[]}),gte=Ue(function(i){return o0(Go(i,Rt))}),mte=Ue(function(i){var l=xr(i);return Rt(l)&&(l=n),o0(Go(i,Rt),je(l,2))}),vte=Ue(function(i){var l=xr(i);return l=typeof l=="function"?l:n,o0(Go(i,Rt),n,l)}),yte=Ue(x0);function bte(i,l){return DI(i||[],l||[],Sl)}function xte(i,l){return DI(i||[],l||[],Il)}var Cte=Ue(function(i){var l=i.length,p=l>1?i[l-1]:n;return p=typeof p=="function"?(i.pop(),p):n,vO(i,p)});function yO(i){var l=O(i);return l.__chain__=!0,l}function wte(i,l){return l(i),i}function Yd(i,l){return l(i)}var Ste=po(function(i){var l=i.length,p=l?i[0]:0,y=this.__wrapped__,A=function(k){return Gm(k,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:Yd,args:[A],thisArg:n}),new vr(y,this.__chain__).thru(function(k){return l&&!k.length&&k.push(n),k}))});function Ate(){return yO(this)}function Tte(){return new vr(this.value(),this.__chain__)}function Ete(){this.__values__===n&&(this.__values__=kO(this.value()));var i=this.__index__>=this.__values__.length,l=i?n:this.__values__[this.__index__++];return{done:i,value:l}}function Ite(){return this}function Ote(i){for(var l,p=this;p instanceof Md;){var y=dO(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 Pte(){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:Yd,args:[b0],thisArg:n}),new vr(l,this.__chain__)}return this.thru(b0)}function jte(){return LI(this.__wrapped__,this.__actions__)}var Mte=Bd(function(i,l,p){ut.call(i,p)?++i[p]:uo(i,p,1)});function kte(i,l,p){var y=Ne(i)?KE:w$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}function Fte(i,l){var p=Ne(i)?Go:vI;return p(i,je(l,3))}var Lte=GI(fO),Dte=GI(pO);function _te(i,l){return en(Kd(i,l),1)}function Rte(i,l){return en(Kd(i,l),ne)}function Bte(i,l,p){return p=p===n?1:We(p),en(Kd(i,l),p)}function bO(i,l){var p=Ne(i)?gr:Zo;return p(i,je(l,3))}function xO(i,l){var p=Ne(i)?rq:mI;return p(i,je(l,3))}var Nte=Bd(function(i,l,p){ut.call(i,p)?i[p].push(l):uo(i,p,[l])});function Vte(i,l,p,y){i=jn(i)?i:ta(i),p=p&&!y?We(p):0;var A=i.length;return p<0&&(p=Yt(A+p,0)),qd(i)?p<=A&&i.indexOf(l,p)>-1:!!A&&Us(i,l,p)>-1}var Wte=Ue(function(i,l,p){var y=-1,A=typeof l=="function",k=jn(i)?ee(i.length):[];return Zo(i,function(_){k[++y]=A?Yn(l,_,p):Tl(_,l,p)}),k}),zte=Bd(function(i,l,p){uo(i,p,l)});function Kd(i,l){var p=Ne(i)?At:SI;return p(i,je(l,3))}function Ute(i,l,p,y){return i==null?[]:(Ne(l)||(l=l==null?[]:[l]),p=y?n:p,Ne(p)||(p=p==null?[]:[p]),II(i,l,p))}var Hte=Bd(function(i,l,p){i[p?0:1].push(l)},function(){return[[],[]]});function Gte(i,l,p){var y=Ne(i)?km:JE,A=arguments.length<3;return y(i,je(l,4),p,A,Zo)}function Yte(i,l,p){var y=Ne(i)?oq:JE,A=arguments.length<3;return y(i,je(l,4),p,A,mI)}function Kte(i,l){var p=Ne(i)?Go:vI;return p(i,Qd(je(l,3)))}function Xte(i){var l=Ne(i)?fI:V$;return l(i)}function Zte(i,l,p){(p?gn(i,l,p):l===n)?l=1:l=We(l);var y=Ne(i)?v$:W$;return y(i,l)}function Qte(i){var l=Ne(i)?y$:U$;return l(i)}function Jte(i){if(i==null)return 0;if(jn(i))return qd(i)?Gs(i):i.length;var l=dn(i);return l==me||l==bt?i.size:Jm(i).length}function qte(i,l,p){var y=Ne(i)?Fm:H$;return p&&gn(i,l,p)&&(l=n),y(i,je(l,3))}var $te=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]]),II(i,en(l,1),[])}),Xd=Fq||function(){return $t.Date.now()};function ene(i,l){if(typeof l!="function")throw new mr(a);return i=We(i),function(){if(--i<1)return l.apply(this,arguments)}}function CO(i,l,p){return l=p?n:l,l=i&&l==null?i.length:l,fo(i,L,n,n,n,n,l)}function wO(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 C0=Ue(function(i,l,p){var y=w;if(p.length){var A=Ko(p,$s(C0));y|=P}return fo(i,y,l,p,A)}),SO=Ue(function(i,l,p){var y=w|E;if(p.length){var A=Ko(p,$s(SO));y|=P}return fo(l,y,i,p,A)});function AO(i,l,p){l=p?n:l;var y=fo(i,I,n,n,n,n,n,l);return y.placeholder=AO.placeholder,y}function TO(i,l,p){l=p?n:l;var y=fo(i,M,n,n,n,n,n,l);return y.placeholder=TO.placeholder,y}function EO(i,l,p){var y,A,k,_,N,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,k=ce?Yt(Cr(p.maxWait)||0,l):k,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,N=jl(Ye,l),se?Ee(Bt):_}function ze(Bt){var Mr=Bt-Y,vo=Bt-ie,GO=l-Mr;return ce?un(GO,k-vo):GO}function ke(Bt){var Mr=Bt-Y,vo=Bt-ie;return Y===n||Mr>=l||Mr<0||ce&&vo>=k}function Ye(){var Bt=Xd();if(ke(Bt))return Ze(Bt);N=jl(Ye,ze(Bt))}function Ze(Bt){return N=n,ye&&y?Ee(Bt):(y=A=n,_)}function Qn(){N!==n&&_I(N),ie=0,y=Y=A=N=n}function mn(){return N===n?_:Ze(Xd())}function Jn(){var Bt=Xd(),Mr=ke(Bt);if(y=arguments,A=this,Y=Bt,Mr){if(N===n)return Me(Y);if(ce)return _I(N),N=jl(Ye,l),Ee(Y)}return N===n&&(N=jl(Ye,l)),_}return Jn.cancel=Qn,Jn.flush=mn,Jn}var tne=Ue(function(i,l){return gI(i,1,l)}),nne=Ue(function(i,l,p){return gI(i,Cr(l)||0,p)});function rne(i){return fo(i,K)}function Zd(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],k=p.cache;if(k.has(A))return k.get(A);var _=i.apply(this,y);return p.cache=k.set(A,_)||k,_};return p.cache=new(Zd.Cache||co),p}Zd.Cache=co;function Qd(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 one(i){return wO(2,i)}var ine=G$(function(i,l){l=l.length==1&&Ne(l[0])?At(l[0],Kn(je())):At(en(l,1),Kn(je()));var p=l.length;return Ue(function(y){for(var A=-1,k=un(y.length,p);++A<k;)y[A]=l[A].call(this,y[A]);return Yn(i,this,y)})}),w0=Ue(function(i,l){var p=Ko(l,$s(w0));return fo(i,P,n,l,p)}),IO=Ue(function(i,l){var p=Ko(l,$s(IO));return fo(i,D,n,l,p)}),sne=po(function(i,l){return fo(i,H,n,n,n,l)});function ane(i,l){if(typeof i!="function")throw new mr(a);return l=l===n?l:We(l),Ue(i,l)}function lne(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=qo(p,0,l);return y&&Yo(A,y),Yn(i,this,A)})}function cne(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),EO(i,l,{leading:y,maxWait:l,trailing:A})}function une(i){return CO(i,1)}function dne(i,l){return w0(s0(l),i)}function fne(){if(!arguments.length)return[];var i=arguments[0];return Ne(i)?i:[i]}function pne(i){return yr(i,v)}function hne(i,l){return l=typeof l=="function"?l:n,yr(i,v,l)}function gne(i){return yr(i,g|v)}function mne(i,l){return l=typeof l=="function"?l:n,yr(i,g|v,l)}function vne(i,l){return l==null||hI(i,l,Zt(l))}function jr(i,l){return i===l||i!==i&&l!==l}var yne=zd(Xm),bne=zd(function(i,l){return i>=l}),zi=xI(function(){return arguments}())?xI:function(i){return Lt(i)&&ut.call(i,"callee")&&!sI.call(i,"callee")},Ne=ee.isArray,xne=WE?Kn(WE):O$;function jn(i){return i!=null&&Jd(i.length)&&!go(i)}function Rt(i){return Lt(i)&&jn(i)}function Cne(i){return i===!0||i===!1||Lt(i)&&hn(i)==Ce}var $o=Dq||F0,wne=zE?Kn(zE):P$;function Sne(i){return Lt(i)&&i.nodeType===1&&!Ml(i)}function Ane(i){if(i==null)return!0;if(jn(i)&&(Ne(i)||typeof i=="string"||typeof i.splice=="function"||$o(i)||ea(i)||zi(i)))return!i.length;var l=dn(i);if(l==me||l==bt)return!i.size;if(Pl(i))return!Jm(i).length;for(var p in i)if(ut.call(i,p))return!1;return!0}function Tne(i,l){return El(i,l)}function Ene(i,l,p){p=typeof p=="function"?p:n;var y=p?p(i,l):n;return y===n?El(i,l,n,p):!!y}function S0(i){if(!Lt(i))return!1;var l=hn(i);return l==Ie||l==we||typeof i.message=="string"&&typeof i.name=="string"&&!Ml(i)}function Ine(i){return typeof i=="number"&&lI(i)}function go(i){if(!Pt(i))return!1;var l=hn(i);return l==fe||l==qe||l==Te||l==Gn}function OO(i){return typeof i=="number"&&i==We(i)}function Jd(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=W}function Pt(i){var l=typeof i;return i!=null&&(l=="object"||l=="function")}function Lt(i){return i!=null&&typeof i=="object"}var PO=UE?Kn(UE):M$;function One(i,l){return i===l||Qm(i,l,p0(l))}function Pne(i,l,p){return p=typeof p=="function"?p:n,Qm(i,l,p0(l),p)}function jne(i){return jO(i)&&i!=+i}function Mne(i){if(hee(i))throw new Re(s);return CI(i)}function kne(i){return i===null}function Fne(i){return i==null}function jO(i){return typeof i=="number"||Lt(i)&&hn(i)==Qe}function Ml(i){if(!Lt(i)||hn(i)!=Et)return!1;var l=Ad(i);if(l===null)return!0;var p=ut.call(l,"constructor")&&l.constructor;return typeof p=="function"&&p instanceof p&&xd.call(p)==Pq}var A0=HE?Kn(HE):k$;function Lne(i){return OO(i)&&i>=-W&&i<=W}var MO=GE?Kn(GE):F$;function qd(i){return typeof i=="string"||!Ne(i)&&Lt(i)&&hn(i)==Xt}function Zn(i){return typeof i=="symbol"||Lt(i)&&hn(i)==xt}var ea=YE?Kn(YE):L$;function Dne(i){return i===n}function _ne(i){return Lt(i)&&dn(i)==Ot}function Rne(i){return Lt(i)&&hn(i)==Le}var Bne=zd(qm),Nne=zd(function(i,l){return i<=l});function kO(i){if(!i)return[];if(jn(i))return qd(i)?Or(i):Pn(i);if(yl&&i[yl])return vq(i[yl]());var l=dn(i),p=l==me?Nm:l==bt?vd:ta;return p(i)}function mo(i){if(!i)return i===0?i:0;if(i=Cr(i),i===ne||i===-ne){var l=i<0?-1:1;return l*te}return i===i?i:0}function We(i){var l=mo(i),p=l%1;return l===l?p?l-p:l:0}function FO(i){return i?Bi(We(i),0,X):0}function Cr(i){if(typeof i=="number")return i;if(Zn(i))return V;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=qE(i);var p=wm.test(i);return p||Ve.test(i)?eq(i.slice(2),p?2:8):Cm.test(i)?V:+i}function LO(i){return Hr(i,Mn(i))}function Vne(i){return i?Bi(We(i),-W,W):i===0?i:0}function lt(i){return i==null?"":Xn(i)}var Wne=Js(function(i,l){if(Pl(l)||jn(l)){Hr(l,Zt(l),i);return}for(var p in l)ut.call(l,p)&&Sl(i,p,l[p])}),DO=Js(function(i,l){Hr(l,Mn(l),i)}),$d=Js(function(i,l,p,y){Hr(l,Mn(l),i,y)}),zne=Js(function(i,l,p,y){Hr(l,Zt(l),i,y)}),Une=po(Gm);function Hne(i,l){var p=Qs(i);return l==null?p:pI(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 k=l[p],_=Mn(k),N=-1,Y=_.length;++N<Y;){var ie=_[N],se=i[ie];(se===n||jr(se,Ks[ie])&&!ut.call(i,ie))&&(i[ie]=k[ie])}return i}),Yne=Ue(function(i){return i.push(n,qI),Yn(_O,n,i)});function Kne(i,l){return XE(i,je(l,3),Ur)}function Xne(i,l){return XE(i,je(l,3),Km)}function Zne(i,l){return i==null?i:Ym(i,je(l,3),Mn)}function Qne(i,l){return i==null?i:yI(i,je(l,3),Mn)}function Jne(i,l){return i&&Ur(i,je(l,3))}function qne(i,l){return i&&Km(i,je(l,3))}function $ne(i){return i==null?[]:Ld(i,Zt(i))}function ere(i){return i==null?[]:Ld(i,Mn(i))}function T0(i,l,p){var y=i==null?n:Ni(i,l);return y===n?p:y}function tre(i,l){return i!=null&&tO(i,l,A$)}function E0(i,l){return i!=null&&tO(i,l,T$)}var nre=KI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Cd.call(l)),i[l]=p},O0(kn)),rre=KI(function(i,l,p){l!=null&&typeof l.toString!="function"&&(l=Cd.call(l)),ut.call(i,l)?i[l].push(p):i[l]=[p]},je),ore=Ue(Tl);function Zt(i){return jn(i)?dI(i):Jm(i)}function Mn(i){return jn(i)?dI(i,!0):D$(i)}function ire(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,k){uo(p,l(y,A,k),y)}),p}function sre(i,l){var p={};return l=je(l,3),Ur(i,function(y,A,k){uo(p,A,l(y,A,k))}),p}var are=Js(function(i,l,p){Dd(i,l,p)}),_O=Js(function(i,l,p,y){Dd(i,l,p,y)}),lre=po(function(i,l){var p={};if(i==null)return p;var y=!1;l=At(l,function(k){return k=Jo(k,i),y||(y=k.length>1),k}),Hr(i,d0(i),p),y&&(p=yr(p,g|m|v,nee));for(var A=l.length;A--;)r0(p,l[A]);return p});function cre(i,l){return RO(i,Qd(je(l)))}var ure=po(function(i,l){return i==null?{}:R$(i,l)});function RO(i,l){if(i==null)return{};var p=At(d0(i),function(y){return[y]});return l=je(l),OI(i,p,function(y,A){return l(y,A[0])})}function dre(i,l,p){l=Jo(l,i);var y=-1,A=l.length;for(A||(A=1,i=n);++y<A;){var k=i==null?n:i[Gr(l[y])];k===n&&(y=A,k=p),i=go(k)?k.call(i):k}return i}function fre(i,l,p){return i==null?i:Il(i,l,p)}function pre(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:Il(i,l,p,y)}var BO=QI(Zt),NO=QI(Mn);function hre(i,l,p){var y=Ne(i),A=y||$o(i)||ea(i);if(l=je(l,4),p==null){var k=i&&i.constructor;A?p=y?new k:[]:Pt(i)?p=go(k)?Qs(Ad(i)):{}:p={}}return(A?gr:Ur)(i,function(_,N,Y){return l(p,_,N,Y)}),p}function gre(i,l){return i==null?!0:r0(i,l)}function mre(i,l,p){return i==null?i:FI(i,l,s0(p))}function vre(i,l,p,y){return y=typeof y=="function"?y:n,i==null?i:FI(i,l,s0(p),y)}function ta(i){return i==null?[]:Bm(i,Zt(i))}function yre(i){return i==null?[]:Bm(i,Mn(i))}function bre(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 xre(i,l,p){return l=mo(l),p===n?(p=l,l=0):p=mo(p),i=Cr(i),E$(i,l,p)}function Cre(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=cI();return un(i+A*(l-i+$J("1e-"+((A+"").length-1))),l)}return e0(i,l)}var wre=qs(function(i,l,p){return l=l.toLowerCase(),i+(p?VO(l):l)});function VO(i){return I0(lt(i).toLowerCase())}function WO(i){return i=lt(i),i&&i.replace(AJ,fq).replace(UJ,"")}function Sre(i,l,p){i=lt(i),l=Xn(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 Are(i){return i=lt(i),i&&od.test(i)?i.replace(pl,pq):i}function Tre(i){return i=lt(i),i&&gl.test(i)?i.replace(ao,"\\$&"):i}var Ere=qs(function(i,l,p){return i+(p?"-":"")+l.toLowerCase()}),Ire=qs(function(i,l,p){return i+(p?" ":"")+l.toLowerCase()}),Ore=HI("toLowerCase");function Pre(i,l,p){i=lt(i),l=We(l);var y=l?Gs(i):0;if(!l||y>=l)return i;var A=(l-y)/2;return Wd(Od(A),p)+i+Wd(Id(A),p)}function jre(i,l,p){i=lt(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?i+Wd(l-y,p):i}function Mre(i,l,p){i=lt(i),l=We(l);var y=l?Gs(i):0;return l&&y<l?Wd(l-y,p)+i:i}function kre(i,l,p){return p||l==null?l=0:l&&(l=+l),Nq(lt(i).replace(cn,""),l||0)}function Fre(i,l,p){return(p?gn(i,l,p):l===n)?l=1:l=We(l),t0(lt(i),l)}function Lre(){var i=arguments,l=lt(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 _re(i,l,p){return p&&typeof p!="number"&&gn(i,l,p)&&(l=p=n),p=p===n?X:p>>>0,p?(i=lt(i),i&&(typeof l=="string"||l!=null&&!A0(l))&&(l=Xn(l),!l&&Hs(i))?qo(Or(i),0,p):i.split(l,p)):[]}var Rre=qs(function(i,l,p){return i+(p?" ":"")+I0(l)});function Bre(i,l,p){return i=lt(i),p=p==null?0:Bi(We(p),0,i.length),l=Xn(l),i.slice(p,p+l.length)==l}function Nre(i,l,p){var y=O.templateSettings;p&&gn(i,l,p)&&(l=n),i=lt(i),l=$d({},l,y,JI);var A=$d({},l.imports,y.imports,JI),k=Zt(A),_=Bm(A,k),N,Y,ie=0,se=l.interpolate||fd,ce="__p += '",ye=Vm((l.escape||fd).source+"|"+se.source+"|"+(se===sd?ud:fd).source+"|"+(l.evaluate||fd).source+"|$","g"),Ee="//# sourceURL="+(ut.call(l,"sourceURL")?(l.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++XJ+"]")+`
|
|
196
|
+
`;i.replace(ye,function(ke,Ye,Ze,Qn,mn,Jn){return Ze||(Ze=Qn),ce+=i.slice(ie,Jn).replace(TJ,hq),Ye&&(N=!0,ce+=`' +
|
|
197
197
|
__e(`+Ye+`) +
|
|
198
198
|
'`),mn&&(Y=!0,ce+=`';
|
|
199
199
|
`+mn+`;
|
|
200
200
|
__p += '`),Ze&&(ce+=`' +
|
|
201
201
|
((__t = (`+Ze+`)) == null ? '' : __t) +
|
|
202
202
|
'`),ie=Jn+ke.length,ke}),ce+=`';
|
|
203
|
-
`;var Me=
|
|
203
|
+
`;var Me=ut.call(l,"variable")&&l.variable;if(!Me)ce=`with (obj) {
|
|
204
204
|
`+ce+`
|
|
205
205
|
}
|
|
206
|
-
`;else if(
|
|
206
|
+
`;else if(ld.test(Me))throw new Re(c);ce=(Y?ce.replace(td,""):ce).replace(gm,"$1").replace(mm,"$1;"),ce="function("+(Me||"obj")+`) {
|
|
207
207
|
`+(Me?"":`obj || (obj = {});
|
|
208
208
|
`)+"var __t, __p = ''"+(N?", __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=NO(function(){return nt(k,Ee+"return "+ce).apply(n,R)});if(ze.source=ce,y0(ze))throw ze;return ze}function jre(i){return at(i).toLowerCase()}function Mre(i){return at(i).toUpperCase()}function kre(i,l,p){if(i=at(i),i&&(p||l===n))return XE(i);if(!i||!(l=Xn(l)))return i;var y=Or(i),A=Or(l),k=ZE(y,A),R=QE(y,A)+1;return qo(y,k,R).join("")}function Fre(i,l,p){if(i=at(i),i&&(p||l===n))return i.slice(0,qE(i)+1);if(!i||!(l=Xn(l)))return i;var y=Or(i),A=QE(y,Or(l))+1;return qo(y,0,A).join("")}function Lre(i,l,p){if(i=at(i),i&&(p||l===n))return i.replace(cn,"");if(!i||!(l=Xn(l)))return i;var y=Or(i),A=ZE(y,Or(l));return qo(y,A).join("")}function Dre(i,l){var p=$,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?Xn(l.omission):y}i=at(i);var k=i.length;if(Hs(i)){var R=Or(i);k=R.length}if(p>=k)return i;var N=p-Gs(y);if(N<1)return y;var Y=R?qo(R,0,N).join(""):i.slice(0,N);if(A===n)return Y+y;if(R&&(N+=Y.length-N),b0(A)){if(i.slice(N).search(A)){var ie,se=Y;for(A.global||(A=Dm(A.source,at(ld.exec(A))+"g")),A.lastIndex=0;ie=A.exec(se);)var ce=ie.index;Y=Y.slice(0,ce===n?N:ce)}}else if(i.indexOf(Xn(A),N)!=N){var ye=Y.lastIndexOf(A);ye>-1&&(Y=Y.slice(0,ye))}return Y+y}function _re(i){return i=at(i),i&&ed.test(i)?i.replace($u,dq):i}var Rre=qs(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),w0=VI("toUpperCase");function BO(i,l,p){return i=at(i),l=p?n:l,l===n?sq(i)?hq(i):JJ(i):i.match(l)||[]}var NO=Ue(function(i,l){try{return Yn(i,n,l)}catch(p){return y0(p)?p:new Re(p)}}),Bre=po(function(i,l){return gr(l,function(p){p=Gr(p),uo(i,p,m0(i[p],i))}),i});function Nre(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 k=i[A];if(Yn(k[0],this,y))return Yn(k[1],this,y)}})}function Vre(i){return d$(yr(i,g))}function S0(i){return function(){return i}}function Wre(i,l){return i==null||i!==i?l:i}var zre=zI(),Ure=zI(!0);function kn(i){return i}function A0(i){return yI(typeof i=="function"?i:yr(i,g))}function Hre(i){return xI(yr(i,g))}function Gre(i,l){return CI(i,yr(l,g))}var Yre=Ue(function(i,l){return function(p){return Al(p,i,l)}}),Kre=Ue(function(i,l){return function(p){return Al(i,p,l)}});function T0(i,l,p){var y=Zt(l),A=Md(l,y);p==null&&!(Pt(l)&&(A.length||!y.length))&&(p=l,l=i,i=this,A=Md(l,Zt(l)));var k=!(Pt(p)&&"chain"in p)||!!p.chain,R=go(i);return gr(A,function(N){var Y=l[N];i[N]=Y,R&&(i.prototype[N]=function(){var ie=this.__chain__;if(k||ie){var se=i(this.__wrapped__),ce=se.__actions__=Pn(this.__actions__);return ce.push({func:Y,args:arguments,thisArg:i}),se.__chain__=ie,se}return Y.apply(i,Yo([this.value()],arguments))})}),i}function Xre(){return $t._===this&&($t._=xq),this}function E0(){}function Zre(i){return i=We(i),Ue(function(l){return wI(l,i)})}var Qre=r0(At),Jre=r0(UE),qre=r0(Om);function VO(i){return u0(i)?Pm(Gr(i)):O$(i)}function $re(i){return function(l){return i==null?n:Ni(i,l)}}var eoe=HI(),toe=HI(!0);function I0(){return[]}function O0(){return!1}function noe(){return{}}function roe(){return""}function ooe(){return!0}function ioe(i,l){if(i=We(i),i<1||i>W)return[];var p=X,y=un(i,X);l=je(l),i-=X;for(var A=km(y,l);++p<i;)l(p);return A}function soe(i){return Ne(i)?At(i,Gr):Zn(i)?[i]:Pn(sO(at(i)))}function aoe(i){var l=++yq;return at(i)+l}var loe=Rd(function(i,l){return i+l},0),coe=o0("ceil"),uoe=Rd(function(i,l){return i/l},1),doe=o0("floor");function foe(i){return i&&i.length?jd(i,kn,Um):n}function poe(i,l){return i&&i.length?jd(i,je(l,2),Um):n}function hoe(i){return YE(i,kn)}function goe(i,l){return YE(i,je(l,2))}function moe(i){return i&&i.length?jd(i,kn,Km):n}function voe(i,l){return i&&i.length?jd(i,je(l,2),Km):n}var yoe=Rd(function(i,l){return i*l},1),boe=o0("round"),xoe=Rd(function(i,l){return i-l},0);function Coe(i){return i&&i.length?Mm(i,kn):0}function woe(i,l){return i&&i.length?Mm(i,je(l,2)):0}return O.after=Hte,O.ary=vO,O.assign=Mne,O.assignIn=MO,O.assignInWith=Qd,O.assignWith=kne,O.at=Fne,O.before=yO,O.bind=m0,O.bindAll=Bre,O.bindKey=bO,O.castArray=nne,O.chain=hO,O.chunk=dee,O.compact=fee,O.concat=pee,O.cond=Nre,O.conforms=Vre,O.constant=S0,O.countBy=Cte,O.create=Lne,O.curry=xO,O.curryRight=CO,O.debounce=wO,O.defaults=Dne,O.defaultsDeep=_ne,O.defer=Gte,O.delay=Yte,O.difference=hee,O.differenceBy=gee,O.differenceWith=mee,O.drop=vee,O.dropRight=yee,O.dropRightWhile=bee,O.dropWhile=xee,O.fill=Cee,O.filter=Ste,O.flatMap=Ete,O.flatMapDeep=Ite,O.flatMapDepth=Ote,O.flatten=uO,O.flattenDeep=wee,O.flattenDepth=See,O.flip=Kte,O.flow=zre,O.flowRight=Ure,O.fromPairs=Aee,O.functions=Une,O.functionsIn=Hne,O.groupBy=Pte,O.initial=Eee,O.intersection=Iee,O.intersectionBy=Oee,O.intersectionWith=Pee,O.invert=Yne,O.invertBy=Kne,O.invokeMap=Mte,O.iteratee=A0,O.keyBy=kte,O.keys=Zt,O.keysIn=Mn,O.map=Hd,O.mapKeys=Zne,O.mapValues=Qne,O.matches=Hre,O.matchesProperty=Gre,O.memoize=Yd,O.merge=Jne,O.mergeWith=kO,O.method=Yre,O.methodOf=Kre,O.mixin=T0,O.negate=Kd,O.nthArg=Zre,O.omit=qne,O.omitBy=$ne,O.once=Xte,O.orderBy=Fte,O.over=Qre,O.overArgs=Zte,O.overEvery=Jre,O.overSome=qre,O.partial=v0,O.partialRight=SO,O.partition=Lte,O.pick=ere,O.pickBy=FO,O.property=VO,O.propertyOf=$re,O.pull=Fee,O.pullAll=fO,O.pullAllBy=Lee,O.pullAllWith=Dee,O.pullAt=_ee,O.range=eoe,O.rangeRight=toe,O.rearg=Qte,O.reject=Rte,O.remove=Ree,O.rest=Jte,O.reverse=h0,O.sampleSize=Nte,O.set=nre,O.setWith=rre,O.shuffle=Vte,O.slice=Bee,O.sortBy=Ute,O.sortedUniq=Gee,O.sortedUniqBy=Yee,O.split=Ere,O.spread=qte,O.tail=Kee,O.take=Xee,O.takeRight=Zee,O.takeRightWhile=Qee,O.takeWhile=Jee,O.tap=fte,O.throttle=$te,O.thru=Ud,O.toArray=OO,O.toPairs=LO,O.toPairsIn=DO,O.toPath=soe,O.toPlainObject=jO,O.transform=ore,O.unary=ene,O.union=qee,O.unionBy=$ee,O.unionWith=ete,O.uniq=tte,O.uniqBy=nte,O.uniqWith=rte,O.unset=ire,O.unzip=g0,O.unzipWith=pO,O.update=sre,O.updateWith=are,O.values=ta,O.valuesIn=lre,O.without=ote,O.words=BO,O.wrap=tne,O.xor=ite,O.xorBy=ste,O.xorWith=ate,O.zip=lte,O.zipObject=cte,O.zipObjectDeep=ute,O.zipWith=dte,O.entries=LO,O.entriesIn=DO,O.extend=MO,O.extendWith=Qd,T0(O,O),O.add=loe,O.attempt=NO,O.camelCase=fre,O.capitalize=_O,O.ceil=coe,O.clamp=cre,O.clone=rne,O.cloneDeep=ine,O.cloneDeepWith=sne,O.cloneWith=one,O.conformsTo=ane,O.deburr=RO,O.defaultTo=Wre,O.divide=uoe,O.endsWith=pre,O.eq=jr,O.escape=hre,O.escapeRegExp=gre,O.every=wte,O.find=Ate,O.findIndex=lO,O.findKey=Rne,O.findLast=Tte,O.findLastIndex=cO,O.findLastKey=Bne,O.floor=doe,O.forEach=gO,O.forEachRight=mO,O.forIn=Nne,O.forInRight=Vne,O.forOwn=Wne,O.forOwnRight=zne,O.get=x0,O.gt=lne,O.gte=cne,O.has=Gne,O.hasIn=C0,O.head=dO,O.identity=kn,O.includes=jte,O.indexOf=Tee,O.inRange=ure,O.invoke=Xne,O.isArguments=zi,O.isArray=Ne,O.isArrayBuffer=une,O.isArrayLike=jn,O.isArrayLikeObject=Rt,O.isBoolean=dne,O.isBuffer=$o,O.isDate=fne,O.isElement=pne,O.isEmpty=hne,O.isEqual=gne,O.isEqualWith=mne,O.isError=y0,O.isFinite=vne,O.isFunction=go,O.isInteger=AO,O.isLength=Xd,O.isMap=TO,O.isMatch=yne,O.isMatchWith=bne,O.isNaN=xne,O.isNative=Cne,O.isNil=Sne,O.isNull=wne,O.isNumber=EO,O.isObject=Pt,O.isObjectLike=Lt,O.isPlainObject=jl,O.isRegExp=b0,O.isSafeInteger=Ane,O.isSet=IO,O.isString=Zd,O.isSymbol=Zn,O.isTypedArray=ea,O.isUndefined=Tne,O.isWeakMap=Ene,O.isWeakSet=Ine,O.join=jee,O.kebabCase=mre,O.last=xr,O.lastIndexOf=Mee,O.lowerCase=vre,O.lowerFirst=yre,O.lt=One,O.lte=Pne,O.max=foe,O.maxBy=poe,O.mean=hoe,O.meanBy=goe,O.min=moe,O.minBy=voe,O.stubArray=I0,O.stubFalse=O0,O.stubObject=noe,O.stubString=roe,O.stubTrue=ooe,O.multiply=yoe,O.nth=kee,O.noConflict=Xre,O.noop=E0,O.now=Gd,O.pad=bre,O.padEnd=xre,O.padStart=Cre,O.parseInt=wre,O.random=dre,O.reduce=Dte,O.reduceRight=_te,O.repeat=Sre,O.replace=Are,O.result=tre,O.round=boe,O.runInContext=U,O.sample=Bte,O.size=Wte,O.snakeCase=Tre,O.some=zte,O.sortedIndex=Nee,O.sortedIndexBy=Vee,O.sortedIndexOf=Wee,O.sortedLastIndex=zee,O.sortedLastIndexBy=Uee,O.sortedLastIndexOf=Hee,O.startCase=Ire,O.startsWith=Ore,O.subtract=xoe,O.sum=Coe,O.sumBy=woe,O.template=Pre,O.times=ioe,O.toFinite=mo,O.toInteger=We,O.toLength=PO,O.toLower=jre,O.toNumber=Cr,O.toSafeInteger=jne,O.toString=at,O.toUpper=Mre,O.trim=kre,O.trimEnd=Fre,O.trimStart=Lre,O.truncate=Dre,O.unescape=_re,O.uniqueId=aoe,O.upperCase=Rre,O.upperFirst=w0,O.each=gO,O.eachRight=mO,O.first=dO,T0(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__=un(p,y.__takeCount__):y.__views__.push({size:un(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==J||p==z;Xe.prototype[i]=function(A){var k=this.clone();return k.__iteratees__.push({iteratee:je(A,3),type:p}),k.__filtered__=k.__filtered__||y,k}}),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(kn)},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(Kd(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],k=y||/^find/.test(l);A&&(O.prototype[l]=function(){var R=this.__wrapped__,N=y?[1]:arguments,Y=R instanceof Xe,ie=N[0],se=Y||Ne(R),ce=function(Ye){var Ze=A.apply(O,Yo([Ye],N));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=k&&!ye,ze=Y&&!Ee;if(!k&&se){R=ze?R:new Xe(this);var ke=i.apply(R,N);return ke.__actions__.push({func:Ud,args:[ce],thisArg:n}),new vr(ke,ye)}return Me&&ze?i.apply(this,N):(ke=this.thru(ce),Me?y?ke.value()[0]:ke.value():ke)})}),gr(["pop","push","shift","sort","splice","unshift"],function(i){var l=gd[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 k=this.value();return l.apply(Ne(k)?k:[],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[_d(n,I).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=_q,Xe.prototype.reverse=Rq,Xe.prototype.value=Bq,O.prototype.at=pte,O.prototype.chain=hte,O.prototype.commit=gte,O.prototype.next=mte,O.prototype.plant=yte,O.prototype.reverse=bte,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=xte,O.prototype.first=O.prototype.head,vl&&(O.prototype[vl]=vte),O},Ys=gq();Li?((Li.exports=Ys)._=Ys,Am._=Ys):$t._=Ys}).call(bn)}(Su,Su.exports);var ut=Su.exports;const q=Qr(ut),IU=["e-","entities/"];function OU(e){let t=e;return IU.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function PU(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 jU(e,t){const n=OU(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function Bh(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=Bh(o.children,t),n))return n}return n}function Sw(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&PU(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=Sw(s.children,t),r))return r}return r}function Aw(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=Aw(o.children,t),n))return n}return n}function Tw(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(Tw)),e.children&&e.children.length>0):!1}function Ew(e){return e.children&&e.children.forEach(t=>{t.parent=e,Ew(t)}),e}function MU(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=q.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&&Aw(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,M,P;const m=Sw(h,g),v=(F=m==null?void 0:m.children)==null?void 0:F.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)||((M=g.options)==null?void 0:M.roles)||[],w=!C||C.length===0||C.some(D=>o.includes(D));if(!jU(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(Tw).map(Ew)}function Xa(){throw new Error("Not implemented")}const Iw={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Xa,openDrawer:Xa,activeID:Xa,hasError:Xa,setMenu:Xa},Ow=T.createContext(Iw);function Pw({menu:e,children:t}){const[n,r]=T.useState({...Iw,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(Ow.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Au(){return T.useContext(Ow)}function Nh(){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 MU(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return Bh(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:Bh}}function jw(){const e=re.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=Nh(),{pathname:o}=ti.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=q.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=q.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>q.isFunction(a)?a:void 0).value();n!=null&&n.defaults?q.defaultsDeep(r,t):q.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{q.isEqual(o,r)||s(r)},[o,r]),o}function kU(){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 xi(e){this._maxSize=e,this.clear()}xi.prototype.clear=function(){this._size=0,this._values=Object.create(null)},xi.prototype.get=function(e){return this._values[e]},xi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var FU=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Mw=/^\d+$/,LU=/^\d/,DU=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,_U=/^\s*(['"]?)(.*?)(\1)\s*$/,Vh=512,kw=new xi(Vh),Fw=new xi(Vh),Lw=new xi(Vh),Ci={Cache:xi,split:zh,normalizePath:Wh,setter:function(e){var t=Wh(e);return Fw.get(e)||Fw.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=Wh(e);return Lw.get(e)||Lw.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+(Uh(n)||Mw.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){RU(Array.isArray(e)?e:zh(e),t,n)}};function Wh(e){return kw.get(e)||kw.set(e,zh(e).map(function(t){return t.replace(_U,"$2")}))}function zh(e){return e.match(FU)||[""]}function RU(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(VU(o)&&(o='"'+o+'"'),c=Uh(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Uh(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function BU(e){return e.match(LU)&&!e.match(Mw)}function NU(e){return DU.test(e)}function VU(e){return!Uh(e)&&(BU(e)||NU(e))}const WU=/[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(WU)||[],Eu=e=>e[0].toUpperCase()+e.slice(1),Hh=(e,t)=>Tu(e).join(t).toLowerCase(),Dw=e=>Tu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,"");var Gh={words:Tu,upperFirst:Eu,camelCase:Dw,pascalCase:e=>Eu(Dw(e)),snakeCase:e=>Hh(e,"_"),kebabCase:e=>Hh(e,"-"),sentenceCase:e=>Eu(Hh(e," ")),titleCase:e=>Tu(e).map(Eu).join(" ")},Yh={exports:{}};Yh.exports=function(e){return _w(zU(e),e)},Yh.exports.array=_w;function _w(e,t){var n=e.length,r=new Array(n),o={},s=n,a=UU(t),c=HU(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 zU(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 UU(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 HU(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var GU=Yh.exports;const YU=Qr(GU),KU=Object.prototype.toString,XU=Error.prototype.toString,ZU=RegExp.prototype.toString,QU=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",JU=/^Symbol\((.*)\)(.*)$/;function qU(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Rw(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return qU(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return QU.call(e).replace(JU,"Symbol($1)");const r=KU.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+XU.call(e)+"]":r==="RegExp"?ZU.call(e):null}function Do(e,t){let n=Rw(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Rw(this[r],t);return s!==null?s:o},2)}function Bw(e){return e==null?[]:[].concat(e)}let Nw,Vw,Ww,$U=/\$\{\s*(\w+)\s*\}/g;Nw=Symbol.toStringTag;class zw{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[Nw]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],Bw(t).forEach(s=>{if(An.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]}}Vw=Symbol.hasInstance,Ww=Symbol.toStringTag;class An 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($U,(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 zw(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[Ww]="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,An)}static[Vw](t){return zw[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}},Tn={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"},Kh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},eH={isValue:"${path} field must be ${value}"},Xh={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:Vr,string:Tn,number:_o,date:Kh,object:Xh,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:eH,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 An.formatError(Vr.notType,e)}}});const Zh=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(!Zh(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const Ou={context:"$",value:"."};class wi{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&&Ci.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}}wi.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 F(G){return wi.isRef(G)?G.getValue(n,b,C):G}function E(G={}){const ae=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 J of Object.keys(ae))ae[J]=F(ae[J]);const le=new An(An.formatError(G.message||m,ae),n,ae.path,G.type||d,ae.disableStackTrace);return le.params=ae,le}const M=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 D=G=>{An.isError(G)?M(G):G?u(null):M(E())},L=G=>{An.isError(G)?M(G):c(G)};if(v&&oo(n))return D(!0);let K;try{var $;if(K=h.call(P,n,P),typeof(($=K)==null?void 0:$.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(K).then(D,L)}}catch(G){L(G);return}D(K)}return t.OPTIONS=e,t}function tH(e,t,n,r=n){let o,s,a;return t?(Ci.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(wi.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(Zh(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=UO(function(){return rt(k,Ee+"return "+ce).apply(n,_)});if(ze.source=ce,S0(ze))throw ze;return ze}function Vre(i){return lt(i).toLowerCase()}function Wre(i){return lt(i).toUpperCase()}function zre(i,l,p){if(i=lt(i),i&&(p||l===n))return qE(i);if(!i||!(l=Xn(l)))return i;var y=Or(i),A=Or(l),k=$E(y,A),_=eI(y,A)+1;return qo(y,k,_).join("")}function Ure(i,l,p){if(i=lt(i),i&&(p||l===n))return i.slice(0,nI(i)+1);if(!i||!(l=Xn(l)))return i;var y=Or(i),A=eI(y,Or(l))+1;return qo(y,0,A).join("")}function Hre(i,l,p){if(i=lt(i),i&&(p||l===n))return i.replace(cn,"");if(!i||!(l=Xn(l)))return i;var y=Or(i),A=$E(y,Or(l));return qo(y,A).join("")}function Gre(i,l){var p=$,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?Xn(l.omission):y}i=lt(i);var k=i.length;if(Hs(i)){var _=Or(i);k=_.length}if(p>=k)return i;var N=p-Gs(y);if(N<1)return y;var Y=_?qo(_,0,N).join(""):i.slice(0,N);if(A===n)return Y+y;if(_&&(N+=Y.length-N),A0(A)){if(i.slice(N).search(A)){var ie,se=Y;for(A.global||(A=Vm(A.source,lt(dd.exec(A))+"g")),A.lastIndex=0;ie=A.exec(se);)var ce=ie.index;Y=Y.slice(0,ce===n?N:ce)}}else if(i.indexOf(Xn(A),N)!=N){var ye=Y.lastIndexOf(A);ye>-1&&(Y=Y.slice(0,ye))}return Y+y}function Yre(i){return i=lt(i),i&&rd.test(i)?i.replace(nd,Cq):i}var Kre=qs(function(i,l,p){return i+(p?" ":"")+l.toUpperCase()}),I0=HI("toUpperCase");function zO(i,l,p){return i=lt(i),l=p?n:l,l===n?mq(i)?Aq(i):aq(i):i.match(l)||[]}var UO=Ue(function(i,l){try{return Yn(i,n,l)}catch(p){return S0(p)?p:new Re(p)}}),Xre=po(function(i,l){return gr(l,function(p){p=Gr(p),uo(i,p,C0(i[p],i))}),i});function Zre(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 k=i[A];if(Yn(k[0],this,y))return Yn(k[1],this,y)}})}function Qre(i){return C$(yr(i,g))}function O0(i){return function(){return i}}function Jre(i,l){return i==null||i!==i?l:i}var qre=YI(),$re=YI(!0);function kn(i){return i}function P0(i){return wI(typeof i=="function"?i:yr(i,g))}function eoe(i){return AI(yr(i,g))}function toe(i,l){return TI(i,yr(l,g))}var noe=Ue(function(i,l){return function(p){return Tl(p,i,l)}}),roe=Ue(function(i,l){return function(p){return Tl(i,p,l)}});function j0(i,l,p){var y=Zt(l),A=Ld(l,y);p==null&&!(Pt(l)&&(A.length||!y.length))&&(p=l,l=i,i=this,A=Ld(l,Zt(l)));var k=!(Pt(p)&&"chain"in p)||!!p.chain,_=go(i);return gr(A,function(N){var Y=l[N];i[N]=Y,_&&(i.prototype[N]=function(){var ie=this.__chain__;if(k||ie){var se=i(this.__wrapped__),ce=se.__actions__=Pn(this.__actions__);return ce.push({func:Y,args:arguments,thisArg:i}),se.__chain__=ie,se}return Y.apply(i,Yo([this.value()],arguments))})}),i}function ooe(){return $t._===this&&($t._=jq),this}function M0(){}function ioe(i){return i=We(i),Ue(function(l){return EI(l,i)})}var soe=l0(At),aoe=l0(KE),loe=l0(Fm);function HO(i){return g0(i)?Lm(Gr(i)):B$(i)}function coe(i){return function(l){return i==null?n:Ni(i,l)}}var uoe=XI(),doe=XI(!0);function k0(){return[]}function F0(){return!1}function foe(){return{}}function poe(){return""}function hoe(){return!0}function goe(i,l){if(i=We(i),i<1||i>W)return[];var p=X,y=un(i,X);l=je(l),i-=X;for(var A=Rm(y,l);++p<i;)l(p);return A}function moe(i){return Ne(i)?At(i,Gr):Zn(i)?[i]:Pn(uO(lt(i)))}function voe(i){var l=++Oq;return lt(i)+l}var yoe=Vd(function(i,l){return i+l},0),boe=c0("ceil"),xoe=Vd(function(i,l){return i/l},1),Coe=c0("floor");function woe(i){return i&&i.length?Fd(i,kn,Xm):n}function Soe(i,l){return i&&i.length?Fd(i,je(l,2),Xm):n}function Aoe(i){return QE(i,kn)}function Toe(i,l){return QE(i,je(l,2))}function Eoe(i){return i&&i.length?Fd(i,kn,qm):n}function Ioe(i,l){return i&&i.length?Fd(i,je(l,2),qm):n}var Ooe=Vd(function(i,l){return i*l},1),Poe=c0("round"),joe=Vd(function(i,l){return i-l},0);function Moe(i){return i&&i.length?_m(i,kn):0}function koe(i,l){return i&&i.length?_m(i,je(l,2)):0}return O.after=ene,O.ary=CO,O.assign=Wne,O.assignIn=DO,O.assignInWith=$d,O.assignWith=zne,O.at=Une,O.before=wO,O.bind=C0,O.bindAll=Xre,O.bindKey=SO,O.castArray=fne,O.chain=yO,O.chunk=Cee,O.compact=wee,O.concat=See,O.cond=Zre,O.conforms=Qre,O.constant=O0,O.countBy=Mte,O.create=Hne,O.curry=AO,O.curryRight=TO,O.debounce=EO,O.defaults=Gne,O.defaultsDeep=Yne,O.defer=tne,O.delay=nne,O.difference=Aee,O.differenceBy=Tee,O.differenceWith=Eee,O.drop=Iee,O.dropRight=Oee,O.dropRightWhile=Pee,O.dropWhile=jee,O.fill=Mee,O.filter=Fte,O.flatMap=_te,O.flatMapDeep=Rte,O.flatMapDepth=Bte,O.flatten=hO,O.flattenDeep=kee,O.flattenDepth=Fee,O.flip=rne,O.flow=qre,O.flowRight=$re,O.fromPairs=Lee,O.functions=$ne,O.functionsIn=ere,O.groupBy=Nte,O.initial=_ee,O.intersection=Ree,O.intersectionBy=Bee,O.intersectionWith=Nee,O.invert=nre,O.invertBy=rre,O.invokeMap=Wte,O.iteratee=P0,O.keyBy=zte,O.keys=Zt,O.keysIn=Mn,O.map=Kd,O.mapKeys=ire,O.mapValues=sre,O.matches=eoe,O.matchesProperty=toe,O.memoize=Zd,O.merge=are,O.mergeWith=_O,O.method=noe,O.methodOf=roe,O.mixin=j0,O.negate=Qd,O.nthArg=ioe,O.omit=lre,O.omitBy=cre,O.once=one,O.orderBy=Ute,O.over=soe,O.overArgs=ine,O.overEvery=aoe,O.overSome=loe,O.partial=w0,O.partialRight=IO,O.partition=Hte,O.pick=ure,O.pickBy=RO,O.property=HO,O.propertyOf=coe,O.pull=Uee,O.pullAll=mO,O.pullAllBy=Hee,O.pullAllWith=Gee,O.pullAt=Yee,O.range=uoe,O.rangeRight=doe,O.rearg=sne,O.reject=Kte,O.remove=Kee,O.rest=ane,O.reverse=b0,O.sampleSize=Zte,O.set=fre,O.setWith=pre,O.shuffle=Qte,O.slice=Xee,O.sortBy=$te,O.sortedUniq=tte,O.sortedUniqBy=nte,O.split=_re,O.spread=lne,O.tail=rte,O.take=ote,O.takeRight=ite,O.takeRightWhile=ste,O.takeWhile=ate,O.tap=wte,O.throttle=cne,O.thru=Yd,O.toArray=kO,O.toPairs=BO,O.toPairsIn=NO,O.toPath=moe,O.toPlainObject=LO,O.transform=hre,O.unary=une,O.union=lte,O.unionBy=cte,O.unionWith=ute,O.uniq=dte,O.uniqBy=fte,O.uniqWith=pte,O.unset=gre,O.unzip=x0,O.unzipWith=vO,O.update=mre,O.updateWith=vre,O.values=ta,O.valuesIn=yre,O.without=hte,O.words=zO,O.wrap=dne,O.xor=gte,O.xorBy=mte,O.xorWith=vte,O.zip=yte,O.zipObject=bte,O.zipObjectDeep=xte,O.zipWith=Cte,O.entries=BO,O.entriesIn=NO,O.extend=DO,O.extendWith=$d,j0(O,O),O.add=yoe,O.attempt=UO,O.camelCase=wre,O.capitalize=VO,O.ceil=boe,O.clamp=bre,O.clone=pne,O.cloneDeep=gne,O.cloneDeepWith=mne,O.cloneWith=hne,O.conformsTo=vne,O.deburr=WO,O.defaultTo=Jre,O.divide=xoe,O.endsWith=Sre,O.eq=jr,O.escape=Are,O.escapeRegExp=Tre,O.every=kte,O.find=Lte,O.findIndex=fO,O.findKey=Kne,O.findLast=Dte,O.findLastIndex=pO,O.findLastKey=Xne,O.floor=Coe,O.forEach=bO,O.forEachRight=xO,O.forIn=Zne,O.forInRight=Qne,O.forOwn=Jne,O.forOwnRight=qne,O.get=T0,O.gt=yne,O.gte=bne,O.has=tre,O.hasIn=E0,O.head=gO,O.identity=kn,O.includes=Vte,O.indexOf=Dee,O.inRange=xre,O.invoke=ore,O.isArguments=zi,O.isArray=Ne,O.isArrayBuffer=xne,O.isArrayLike=jn,O.isArrayLikeObject=Rt,O.isBoolean=Cne,O.isBuffer=$o,O.isDate=wne,O.isElement=Sne,O.isEmpty=Ane,O.isEqual=Tne,O.isEqualWith=Ene,O.isError=S0,O.isFinite=Ine,O.isFunction=go,O.isInteger=OO,O.isLength=Jd,O.isMap=PO,O.isMatch=One,O.isMatchWith=Pne,O.isNaN=jne,O.isNative=Mne,O.isNil=Fne,O.isNull=kne,O.isNumber=jO,O.isObject=Pt,O.isObjectLike=Lt,O.isPlainObject=Ml,O.isRegExp=A0,O.isSafeInteger=Lne,O.isSet=MO,O.isString=qd,O.isSymbol=Zn,O.isTypedArray=ea,O.isUndefined=Dne,O.isWeakMap=_ne,O.isWeakSet=Rne,O.join=Vee,O.kebabCase=Ere,O.last=xr,O.lastIndexOf=Wee,O.lowerCase=Ire,O.lowerFirst=Ore,O.lt=Bne,O.lte=Nne,O.max=woe,O.maxBy=Soe,O.mean=Aoe,O.meanBy=Toe,O.min=Eoe,O.minBy=Ioe,O.stubArray=k0,O.stubFalse=F0,O.stubObject=foe,O.stubString=poe,O.stubTrue=hoe,O.multiply=Ooe,O.nth=zee,O.noConflict=ooe,O.noop=M0,O.now=Xd,O.pad=Pre,O.padEnd=jre,O.padStart=Mre,O.parseInt=kre,O.random=Cre,O.reduce=Gte,O.reduceRight=Yte,O.repeat=Fre,O.replace=Lre,O.result=dre,O.round=Poe,O.runInContext=U,O.sample=Xte,O.size=Jte,O.snakeCase=Dre,O.some=qte,O.sortedIndex=Zee,O.sortedIndexBy=Qee,O.sortedIndexOf=Jee,O.sortedLastIndex=qee,O.sortedLastIndexBy=$ee,O.sortedLastIndexOf=ete,O.startCase=Rre,O.startsWith=Bre,O.subtract=joe,O.sum=Moe,O.sumBy=koe,O.template=Nre,O.times=goe,O.toFinite=mo,O.toInteger=We,O.toLength=FO,O.toLower=Vre,O.toNumber=Cr,O.toSafeInteger=Vne,O.toString=lt,O.toUpper=Wre,O.trim=zre,O.trimEnd=Ure,O.trimStart=Hre,O.truncate=Gre,O.unescape=Yre,O.uniqueId=voe,O.upperCase=Kre,O.upperFirst=I0,O.each=bO,O.eachRight=xO,O.first=gO,j0(O,function(){var i={};return Ur(O,function(l,p){ut.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__=un(p,y.__takeCount__):y.__views__.push({size:un(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==J||p==z;Xe.prototype[i]=function(A){var k=this.clone();return k.__iteratees__.push({iteratee:je(A,3),type:p}),k.__filtered__=k.__filtered__||y,k}}),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(kn)},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 Tl(p,i,l)})}),Xe.prototype.reject=function(i){return this.filter(Qd(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],k=y||/^find/.test(l);A&&(O.prototype[l]=function(){var _=this.__wrapped__,N=y?[1]:arguments,Y=_ instanceof Xe,ie=N[0],se=Y||Ne(_),ce=function(Ye){var Ze=A.apply(O,Yo([Ye],N));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=k&&!ye,ze=Y&&!Ee;if(!k&&se){_=ze?_:new Xe(this);var ke=i.apply(_,N);return ke.__actions__.push({func:Yd,args:[ce],thisArg:n}),new vr(ke,ye)}return Me&&ze?i.apply(this,N):(ke=this.thru(ce),Me?y?ke.value()[0]:ke.value():ke)})}),gr(["pop","push","shift","sort","splice","unshift"],function(i){var l=yd[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 k=this.value();return l.apply(Ne(k)?k:[],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+"";ut.call(Zs,y)||(Zs[y]=[]),Zs[y].push({name:l,func:p})}}),Zs[Nd(n,E).name]=[{name:"wrapper",func:n}],Xe.prototype.clone=Yq,Xe.prototype.reverse=Kq,Xe.prototype.value=Xq,O.prototype.at=Ste,O.prototype.chain=Ate,O.prototype.commit=Tte,O.prototype.next=Ete,O.prototype.plant=Ote,O.prototype.reverse=Pte,O.prototype.toJSON=O.prototype.valueOf=O.prototype.value=jte,O.prototype.first=O.prototype.head,yl&&(O.prototype[yl]=Ite),O},Ys=Tq();Li?((Li.exports=Ys)._=Ys,Pm._=Ys):$t._=Ys}).call(bn)}(Tu,Tu.exports);var dt=Tu.exports;const q=Qr(dt),jU=["e-","entities/"];function MU(e){let t=e;return jU.forEach(n=>{t=t!=null&&t.startsWith(n)?t==null?void 0:t.substring(n.length):t}),t}function kU(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 FU(e,t){const n=MU(e.name);return(t==null?void 0:t.includes(`${n}:list`))||(t==null?void 0:t.includes(`${n}:find`))}function zh(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=zh(o.children,t),n))return n}return n}function Iw(e,t,n){let r=e.find(o=>["group","collapse"].indexOf(o.type)!==-1&&kU(o,t));if(!r)for(let o=0;o<e.length;o++){const s=e[o];if(s.children&&(r=Iw(s.children,t),r))return r}return r}function Ow(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=Ow(o.children,t),n))return n}return n}function Pw(e){return e?e.type==="item"?!0:(e.children&&(e.children=e.children.filter(Pw)),e.children&&e.children.length>0):!1}function jw(e){return e.children&&e.children.forEach(t=>{t.parent=e,jw(t)}),e}function LU(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=q.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&&Ow(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,I,M,P;const m=Iw(h,g),v=(F=m==null?void 0:m.children)==null?void 0:F.find(D=>D.id===g.name),b=(I=m==null?void 0:m.children)==null?void 0:I.some(D=>D.id===g.name),C=(v==null?void 0:v.roles)||((M=g.options)==null?void 0:M.roles)||[],w=!C||C.length===0||C.some(D=>o.includes(D));if(!FU(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(Pw).map(jw)}function Xa(){throw new Error("Not implemented")}const Mw={openItem:[],openComponent:"buttons",selectedID:null,drawerOpen:!1,error:null,menu:[],activeItem:Xa,openDrawer:Xa,activeID:Xa,hasError:Xa,setMenu:Xa},kw=T.createContext(Mw);function Fw({menu:e,children:t}){const[n,r]=T.useState({...Mw,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(kw.Provider,{value:{...n,setMenu:o,activeItem:s,openDrawer:c,activeID:a,hasError:u},children:t})}function Eu(){return T.useContext(kw)}function Uh(){const e=re.useResourceDefinitions(),{isLoading:t,data:n}=re.useGetIdentity(),r=!!n&&!!n.id,{permissions:o}=re.usePermissions(r),{menu:s}=Eu(),a=re.useTranslate(),c=T.useMemo(()=>{if(t||!n)return null;const h=((n==null?void 0:n.roles)||[]).map(m=>m.id);return LU(s,e,o,a,h)},[t,n,e,o,a,s]),u=T.useMemo(()=>t,[t]);function d(h){if(c)return zh(c,h)}return{menu:c,isLoading:u,getItem:d,findInMenu:u?()=>{}:zh}}function Lw(){const e=re.useTranslate(),{isLoading:t,menu:n,findInMenu:r}=Uh(),{pathname:o}=ti.useLocation();return T.useMemo(()=>{var m;const s=o.split("/").filter(v=>v),a=q.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 Eu()}function Sr(e,t,n){const r=q.chain((e==null?void 0:e.sx)??{}).cloneDeepWith(a=>q.isFunction(a)?a:void 0).value();n!=null&&n.defaults?q.defaultsDeep(r,t):q.merge(r,t);const[o,s]=T.useState(r);return T.useEffect(()=>{q.isEqual(o,r)||s(r)},[o,r]),o}function DU(){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 xi(e){this._maxSize=e,this.clear()}xi.prototype.clear=function(){this._size=0,this._values=Object.create(null)},xi.prototype.get=function(e){return this._values[e]},xi.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var _U=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Dw=/^\d+$/,RU=/^\d/,BU=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,NU=/^\s*(['"]?)(.*?)(\1)\s*$/,Hh=512,_w=new xi(Hh),Rw=new xi(Hh),Bw=new xi(Hh),Ci={Cache:xi,split:Yh,normalizePath:Gh,setter:function(e){var t=Gh(e);return Rw.get(e)||Rw.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=Gh(e);return Bw.get(e)||Bw.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+(Kh(n)||Dw.test(n)?"["+n+"]":(t?".":"")+n)},"")},forEach:function(e,t,n){VU(Array.isArray(e)?e:Yh(e),t,n)}};function Gh(e){return _w.get(e)||_w.set(e,Yh(e).map(function(t){return t.replace(NU,"$2")}))}function Yh(e){return e.match(_U)||[""]}function VU(e,t,n){var r=e.length,o,s,a,c;for(s=0;s<r;s++)o=e[s],o&&(UU(o)&&(o='"'+o+'"'),c=Kh(o),a=!c&&/^\d+$/.test(o),t.call(n,o,c,a,s,e))}function Kh(e){return typeof e=="string"&&e&&["'",'"'].indexOf(e.charAt(0))!==-1}function WU(e){return e.match(RU)&&!e.match(Dw)}function zU(e){return BU.test(e)}function UU(e){return!Kh(e)&&(WU(e)||zU(e))}const HU=/[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,Iu=e=>e.match(HU)||[],Ou=e=>e[0].toUpperCase()+e.slice(1),Xh=(e,t)=>Iu(e).join(t).toLowerCase(),Nw=e=>Iu(e).reduce((t,n)=>`${t}${t?n[0].toUpperCase()+n.slice(1).toLowerCase():n.toLowerCase()}`,"");var Zh={words:Iu,upperFirst:Ou,camelCase:Nw,pascalCase:e=>Ou(Nw(e)),snakeCase:e=>Xh(e,"_"),kebabCase:e=>Xh(e,"-"),sentenceCase:e=>Ou(Xh(e," ")),titleCase:e=>Iu(e).map(Ou).join(" ")},Qh={exports:{}};Qh.exports=function(e){return Vw(GU(e),e)},Qh.exports.array=Vw;function Vw(e,t){var n=e.length,r=new Array(n),o={},s=n,a=YU(t),c=KU(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 GU(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 YU(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 KU(e){for(var t=new Map,n=0,r=e.length;n<r;n++)t.set(e[n],n);return t}var XU=Qh.exports;const ZU=Qr(XU),QU=Object.prototype.toString,JU=Error.prototype.toString,qU=RegExp.prototype.toString,$U=typeof Symbol<"u"?Symbol.prototype.toString:()=>"",eH=/^Symbol\((.*)\)(.*)$/;function tH(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function Ww(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return tH(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return $U.call(e).replace(eH,"Symbol($1)");const r=QU.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+JU.call(e)+"]":r==="RegExp"?qU.call(e):null}function Do(e,t){let n=Ww(e,t);return n!==null?n:JSON.stringify(e,function(r,o){let s=Ww(this[r],t);return s!==null?s:o},2)}function zw(e){return e==null?[]:[].concat(e)}let Uw,Hw,Gw,nH=/\$\{\s*(\w+)\s*\}/g;Uw=Symbol.toStringTag;class Yw{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[Uw]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=o,this.errors=[],this.inner=[],zw(t).forEach(s=>{if(An.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]}}Hw=Symbol.hasInstance,Gw=Symbol.toStringTag;class An 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(nH,(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 Yw(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[Gw]="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,An)}static[Hw](t){return Yw[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}},Tn={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"},Jh={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},rH={isValue:"${path} field must be ${value}"},qh={noUnknown:"${path} field has unspecified keys: ${unknown}"};Object.assign(Object.create(null),{mixed:Vr,string:Tn,number:_o,date:Jh,object:qh,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:rH,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 An.formatError(Vr.notType,e)}}});const $h=e=>e&&e.__isYupSchema__;class Pu{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 Pu(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(!$h(o))throw new TypeError("conditions must return a schema object");return o.resolve(n)}}const ju={context:"$",value:"."};class wi{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]===ju.context,this.isValue=this.key[0]===ju.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?ju.context:this.isValue?ju.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Ci.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}}wi.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:E=a.spec.disableStackTrace}=o;function F(G){return wi.isRef(G)?G.getValue(n,b,C):G}function I(G={}){const ae=Object.assign({value:n,originalValue:s,label:a.spec.label,path:G.path||r,spec:a.spec,disableStackTrace:G.disableStackTrace||E},g,G.params);for(const J of Object.keys(ae))ae[J]=F(ae[J]);const le=new An(An.formatError(G.message||m,ae),n,ae.path,G.type||d,ae.disableStackTrace);return le.params=ae,le}const M=w?c:u;let P={path:r,parent:b,type:d,from:o.from,createError:I,resolve:F,options:o,originalValue:s,schema:a};const D=G=>{An.isError(G)?M(G):G?u(null):M(I())},L=G=>{An.isError(G)?M(G):c(G)};if(v&&oo(n))return D(!0);let K;try{var $;if(K=h.call(P,n,P),typeof(($=K)==null?void 0:$.then)=="function"){if(o.sync)throw new Error(`Validation test of type: "${P.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(K).then(D,L)}}catch(G){L(G);return}D(K)}return t.OPTIONS=e,t}function oH(e,t,n,r=n){let o,s,a;return t?(Ci.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 Mu extends Set{describe(){const t=[];for(const n of this.values())t.push(wi.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 Mu(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($h(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 Mu,this._blacklist=new Mu,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=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(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)=>{An.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new An(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 An.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new An(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(An.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(An.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=Bw(t).map(s=>new wi(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}=tH(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 nH=()=>!0;function Uw(e){return new Hw(e)}class Hw extends dr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:nH},t))}}Uw.prototype=Hw.prototype;const rH=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function oH(e){const t=Qh(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 Qh(e){var t,n;const r=rH.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 iH=/^[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])?)*$/,sH=/^((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,aH=/^(?:[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,lH="^\\d{4}-\\d{2}-\\d{2}",cH="\\d{2}:\\d{2}:\\d{2}",uH="(([+-]\\d{2}(:?\\d{2})?)|Z)",dH=new RegExp(`${lH}T${cH}(\\.\\d+)?${uH}$`),fH=e=>oo(e)||e===e.trim(),pH={}.toString();function so(){return new Gw}class Gw 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===pH?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=Tn.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=Tn.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=Tn.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||Tn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=Tn.email){return this.matches(iH,{name:"email",message:t,excludeEmptyString:!0})}url(t=Tn.url){return this.matches(sH,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Tn.uuid){return this.matches(aH,{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(dH,{name:"datetime",message:n||Tn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Tn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=Qh(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||Tn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=Qh(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Tn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:fH})}lowercase(t=Tn.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=Tn.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=Gw.prototype;let hH=e=>e!=+e;function Yw(){return new Kw}class Kw extends dr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!hH(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))}}Yw.prototype=Kw.prototype;let gH=new Date(""),mH=e=>Object.prototype.toString.call(e)==="[object Date]";class ju extends dr{constructor(){super({type:"date",check(t){return mH(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=oH(t),isNaN(t)?ju.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(wi.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=Kh.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=Kh.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=gH,ju.prototype;function vH(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=Ci.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),wi.isRef(c)&&c.isSibling?s(c.path,a):Zh(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return YU.array(Array.from(r),n).reverse()}function Xw(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 Zw(e){return(t,n)=>Xw(e,t)-Xw(e,n)}const yH=(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 bH=(e,t)=>{const n=[...Ci.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Ci.getter(Ci.join(n),!0)(e);return!!(o&&r in o)};let Qw=e=>Object.prototype.toString.call(e)==="[object Object]";function xH(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const CH=Zw([]);function Jh(e){return new Jw(e)}class Jw extends dr{constructor(t){super({type:"object",check(n){return Qw(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=CH,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||!Qw(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||wi.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=vH(t,n),r._sortErrors=Zw(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=Ci.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return bH(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(yH)}noUnknown(t=!0,n=Xh.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=xH(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=Xh.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(Gh.camelCase)}snakeCase(){return this.transformKeys(Gh.snakeCase)}constantCase(){return this.transformKeys(t=>Gh.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}}Jh.prototype=Jw.prototype;const qw=Uw().test("function","Invalid function",e=>q.isFunction(e));class $w{constructor(){yo(this,Pi);yo(this,Ho,[])}get(t){if(so().required().validateSync(t),kl(this,Pi,Fl).call(this)){const n=localStorage.getItem(t);return q.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),qw.validateSync(n),kl(this,Pi,Fl).call(this)&&(Fn(this,Ho).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),qw.optional().default(q.identity).validateSync(n),kl(this,Pi,Fl).call(this)&&(n!==void 0?ei(this,Ho,q.reject(Fn(this,Ho),r=>r.key===t&&r.callback===n)):ei(this,Ho,q.reject(Fn(this,Ho),r=>r.key===t)))}}Ho=new WeakMap,Pi=new WeakSet,Fl=function(){return typeof window<"u"};function ku(e={},t=[],n={}){const{isEmpty:r=q.isEmpty}=n;return!q.some(t,o=>r((e??{})[o.locale]))}function eS(e={},t=[],n={}){const{isEmpty:r=q.isEmpty}=n;return q.some(t,o=>!r((e??{})[o.locale]))}function qh(e,t,n){if(!q.isPlainObject(e)||t===void 0)return;const r=q.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=q.isArray(r.fallbackLocales)&&!q.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=q.chain(a).map(c=>e[String(c)]).reject(q.isUndefined).first().value(),s===void 0&&(s=q.chain(e).values().first().value())}return s}function Fu(e=[],t){const n=q.isArray(e)?e:[e],r=q.filter(n,o=>T.isValidElement(o));q.each(r,o=>{var s;t(o),Fu(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}var tS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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,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(J){var Q=["th","st","nd","rd"],z=J%100;return"["+J+(Q[(z-20)%10]||Q[z]||Q[0])+"]"}},E=function(J,Q,z){var ne=String(J);return!ne||ne.length>=Q?J:""+Array(Q+1-ne.length).join(z)+J},M={s:E,z:function(J){var Q=-J.utcOffset(),z=Math.abs(Q),ne=Math.floor(z/60),W=z%60;return(Q<=0?"+":"-")+E(ne,2,"0")+":"+E(W,2,"0")},m:function J(Q,z){if(Q.date()<z.date())return-J(z,Q);var ne=12*(z.year()-Q.year())+(z.month()-Q.month()),W=Q.clone().add(ne,g),te=z-W<0,V=Q.clone().add(ne+(te?-1:1),g);return+(-(ne+(z-W)/(te?W-V:V-W))||0)},a:function(J){return J<0?Math.ceil(J)||0:Math.floor(J)},p:function(J){return{M:g,y:v,w:h,d,D:b,h:u,m:c,s:a,ms:s,Q:m}[J]||String(J||"").toLowerCase().replace(/s$/,"")},u:function(J){return J===void 0}},P="en",D={};D[P]=F;var L="$isDayjsObject",H=function(J){return J instanceof ae||!(!J||!J[L])},K=function J(Q,z,ne){var W;if(!Q)return P;if(typeof Q=="string"){var te=Q.toLowerCase();D[te]&&(W=te),z&&(D[te]=z,W=te);var V=Q.split("-");if(!W&&V.length>1)return J(V[0])}else{var X=Q.name;D[X]=Q,W=X}return!ne&&W&&(P=W),W||!ne&&P},$=function(J,Q){if(H(J))return J.clone();var z=typeof Q=="object"?Q:{};return z.date=J,z.args=arguments,new ae(z)},G=M;G.l=K,G.i=H,G.w=function(J,Q){return $(J,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var ae=function(){function J(z){this.$L=K(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[L]=!0}var Q=J.prototype;return Q.parse=function(z){this.$d=function(ne){var W=ne.date,te=ne.utc;if(W===null)return new Date(NaN);if(G.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var V=W.match(w);if(V){var X=V[2]-1||0,ue=(V[7]||"0").substring(0,3);return te?new Date(Date.UTC(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)):new Date(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)}}return new Date(W)}(z),this.init()},Q.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()},Q.$utils=function(){return G},Q.isValid=function(){return this.$d.toString()!==C},Q.isSame=function(z,ne){var W=$(z);return this.startOf(ne)<=W&&W<=this.endOf(ne)},Q.isAfter=function(z,ne){return $(z)<this.startOf(ne)},Q.isBefore=function(z,ne){return this.endOf(ne)<$(z)},Q.$g=function(z,ne,W){return G.u(z)?this[ne]:this.set(W,z)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(z,ne){var W=this,te=!!G.u(ne)||ne,V=G.p(z),X=function(be,we){var Ie=G.w(W.$u?Date.UTC(W.$y,we,be):new Date(W.$y,we,be),W);return te?Ie:Ie.endOf(d)},ue=function(be,we){return G.w(W.toDate()[be].apply(W.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(we)),W)},he=this.$W,pe=this.$M,ge=this.$D,ve="set"+(this.$u?"UTC":"");switch(V){case v:return te?X(1,0):X(31,11);case g:return te?X(1,pe):X(0,pe+1);case h:var Te=this.$locale().weekStart||0,Ce=(he<Te?he+7:he)-Te;return X(te?ge-Ce:ge+(6-Ce),pe);case d:case b:return ue(ve+"Hours",0);case u:return ue(ve+"Minutes",1);case c:return ue(ve+"Seconds",2);case a:return ue(ve+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(z){return this.startOf(z,!1)},Q.$set=function(z,ne){var W,te=G.p(z),V="set"+(this.$u?"UTC":""),X=(W={},W[d]=V+"Date",W[b]=V+"Date",W[g]=V+"Month",W[v]=V+"FullYear",W[u]=V+"Hours",W[c]=V+"Minutes",W[a]=V+"Seconds",W[s]=V+"Milliseconds",W)[te],ue=te===d?this.$D+(ne-this.$W):ne;if(te===g||te===v){var he=this.clone().set(b,1);he.$d[X](ue),he.init(),this.$d=he.set(b,Math.min(this.$D,he.daysInMonth())).$d}else X&&this.$d[X](ue);return this.init(),this},Q.set=function(z,ne){return this.clone().$set(z,ne)},Q.get=function(z){return this[G.p(z)]()},Q.add=function(z,ne){var W,te=this;z=Number(z);var V=G.p(ne),X=function(pe){var ge=$(te);return G.w(ge.date(ge.date()+Math.round(pe*z)),te)};if(V===g)return this.set(g,this.$M+z);if(V===v)return this.set(v,this.$y+z);if(V===d)return X(1);if(V===h)return X(7);var ue=(W={},W[c]=r,W[u]=o,W[a]=n,W)[V]||1,he=this.$d.getTime()+z*ue;return G.w(he,this)},Q.subtract=function(z,ne){return this.add(-1*z,ne)},Q.format=function(z){var ne=this,W=this.$locale();if(!this.isValid())return W.invalidDate||C;var te=z||"YYYY-MM-DDTHH:mm:ssZ",V=G.z(this),X=this.$H,ue=this.$m,he=this.$M,pe=W.weekdays,ge=W.months,ve=W.meridiem,Te=function(we,Ie,de,qe){return we&&(we[Ie]||we(ne,te))||de[Ie].slice(0,qe)},Ce=function(we){return G.s(X%12||12,we,"0")},be=ve||function(we,Ie,de){var qe=we<12?"AM":"PM";return de?qe.toLowerCase():qe};return te.replace(I,function(we,Ie){return Ie||function(de){switch(de){case"YY":return String(ne.$y).slice(-2);case"YYYY":return G.s(ne.$y,4,"0");case"M":return he+1;case"MM":return G.s(he+1,2,"0");case"MMM":return Te(W.monthsShort,he,ge,3);case"MMMM":return Te(ge,he);case"D":return ne.$D;case"DD":return G.s(ne.$D,2,"0");case"d":return String(ne.$W);case"dd":return Te(W.weekdaysMin,ne.$W,pe,2);case"ddd":return Te(W.weekdaysShort,ne.$W,pe,3);case"dddd":return pe[ne.$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,ue,!0);case"A":return be(X,ue,!1);case"m":return String(ue);case"mm":return G.s(ue,2,"0");case"s":return String(ne.$s);case"ss":return G.s(ne.$s,2,"0");case"SSS":return G.s(ne.$ms,3,"0");case"Z":return V}return null}(we)||V.replace(":","")})},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(z,ne,W){var te,V=this,X=G.p(ne),ue=$(z),he=(ue.utcOffset()-this.utcOffset())*r,pe=this-ue,ge=function(){return G.m(V,ue)};switch(X){case v:te=ge()/12;break;case g:te=ge();break;case m:te=ge()/3;break;case h:te=(pe-he)/6048e5;break;case d:te=(pe-he)/864e5;break;case u:te=pe/o;break;case c:te=pe/r;break;case a:te=pe/n;break;default:te=pe}return W?te:G.a(te)},Q.daysInMonth=function(){return this.endOf(g).$D},Q.$locale=function(){return D[this.$L]},Q.locale=function(z,ne){if(!z)return this.$L;var W=this.clone(),te=K(z,ne,!0);return te&&(W.$L=te),W},Q.clone=function(){return G.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},J}(),le=ae.prototype;return $.prototype=le,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",b]].forEach(function(J){le[J[1]]=function(Q){return this.$g(Q,J[0],J[1])}}),$.extend=function(J,Q){return J.$i||(J(Q,ae,$),J.$i=!0),$},$.locale=K,$.isDayjs=H,$.unix=function(J){return $(1e3*J)},$.en=D[P],$.Ls=D,$.p={},$})})(tS);var nS=tS.exports;const Ar=Qr(nS);function rS(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 $w;function wH(e,t,n){return function(r){const o=q.isFunction(r)?r(t):r;return Qa.set(e,o),n(o),o}}function $h(e,t){var u;so().required().validateSync(e);const[n,r]=T.useState(Qa.get(e)??t),o=T.useRef(t),s=q.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)||!q.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:wH(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??q.noop]}function oS(e){const[t]=re.useLocaleState();return e!==void 0?String(e):t}function SH(e,t){const n=oS(t==null?void 0:t.locale);return qh(e,n,t)}function AH(e){const t=oS(e==null?void 0:e.locale);return T.useCallback(r=>qh(r,t,e),[t,e])}function iS(e){if(!q.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{q.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 TH(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 q.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function eg(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 sS={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 EH(e){return e==="vertical"}function IH(e){return e==="horizontal"}const tg=T.createContext(sS);function ng({initialConfig:e,children:t}){const[n,r]=$h("theme-config",{...sS,...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(tg.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:EH,isHorizontalLayout:IH},children:t})}function rg(){return T.useContext(tg)}function En(){return rg()}const OH=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 Ro(e){return f.jsx(OH,{...e})}function aS({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=En();return f.jsx(jH,{defaultValues:n,spacing:t||o,children:f.jsx(S.Grid,{container:!0,...r,spacing:t||o,children:e})})}function PH({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 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(Nn,{content:t,title:v,subheader:b,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(Ro,{children:f.jsx(_.SaveButton,{})}):s]})})})}const jH=fe(_.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"}}));aS.Section=PH;const MH=Ma(_.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function lS({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(Ro,{children:f.jsx(_.SaveButton,{type:"button"})}),secondary:s=f.jsx(Fo,{children:f.jsx(_.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=eg(e),d=_.useRecordContext(),h=ap();return f.jsx(Nn,{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(MH,{toolbar:o,...c})})}const cS={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}`)}},uS=T.createContext(cS);function kH(e){const[t,n]=T.useState(cS);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(uS.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function dS(){const e=T.useContext(uS);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function og(){return dS()}function fS({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}=og(),{source:g,resource:m,isRequired:v}=u,{getFieldState:b,formState:C}=vn.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(_.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 FH=fe(_.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 LH({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(fS,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(FH,{source:n,label:!1,...s})})}function DH({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 pS=fe("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),_H=fe("ul")({display:"inline-block"});function RH(e){var h;const{className:t,emptyText:n,source:r,title:o,...s}=e,a=re.useRecordContext(e),c=ut.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(pS,{className:t,...s});if(Array.isArray(c))return f.jsx(_H,{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(pS,{className:t,...s,children:d})}function hS({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=ut.get(d,a==null?void 0:a.source),F=(s||g).replace("entities/",""),E=e||(d==null?void 0:d.id),M=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=M,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=_.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(RH,{...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 BH=fe(_.ImageField,{slot:"root"})(()=>({}));function gS(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(BH,{...e,source:t})}function mS({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(gS,{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 NH={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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])+"]"}}})})(NH);var VH={exports:{}};(function(e,t){(function(n,r){e.exports=r(nS)})(bn,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})})(VH);var vS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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,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,M=0;M<E;M+=1){var P=F[M];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&&M>0&&(P=F[M-1]);var L=I[P.l];v&&(D=v(""+D)),C=typeof L=="string"?L.replace("%d",D):L(D,h,P.l,w);break}}if(h)return C;var H=w?I.future:I.past;return typeof H=="function"?H(C):H.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)}}})})(vS);var WH=vS.exports;const zH=Qr(WH);Ar.extend(zH);function yS(e){const t=_.useRecordContext(e),[n]=_.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(_.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(S.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const UH=fe(_.DateField,{slot:"Root"})(()=>({}));function HH({variant:e="body1",...t}){return f.jsx(UH,{...t,variant:e})}const GH=fe(_.EmailField,{slot:"Root"})(()=>({}));function YH({variant:e="body1",...t}){return f.jsx(GH,{...t,variant:e})}const KH=fe(_.FileField,{slot:"root"})(()=>({}));function bS({...e}){const t=_.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(KH,{...e,record:t,onClick:n})}function XH({variant:e="body1",...t}){return f.jsx(_.FunctionField,{...t,variant:e})}const ZH=fe(_.TextField,{slot:"Root"})(()=>({}));function xS({variant:e="body1",...t}){return f.jsx(ZH,{...t,variant:e})}function QH(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:q.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(xS,{...e,source:`${r}.${u}`,sx:c})]})})}const JH=fe("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 qH({source:e,defaultValue:t=" ",...n}){const r=_.useRecordContext(n),o=ut.get(r,e,t);return f.jsx(S.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function $H({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 eG({label:e,source:t,defaultValue:n=" ",children:r=f.jsx(qH,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=dS(),u=_.useRecordContext(s),d=_.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($H,{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(JH,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function tG({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const nG=Ma(tG,{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 CS(e){return f.jsx(nG,{...e,children:f.jsx(_.ReferenceManyField,{pagination:f.jsx(_.Pagination,{}),...e})})}function rG({source:e,...t}){const n=_.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 rn({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Kt(),{getCurrentDialog:d}=og(),{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 oG(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const iG=fe(_.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}},...oG(e)}));function sG({children:e=f.jsx(hS,{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(rn,{...o,disabled:n,children:f.jsx(iG,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const aG=fe(_.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 lG({size:e="small",...t}){return f.jsx(rn,{...t,children:f.jsx(aG,{size:e})})}const cG=fe(_.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function uG({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(rn,{...r,children:f.jsx(cG,{size:e})})}const dG=fe(_.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function fG({...e}){const t=Nt.useTheme();return f.jsx(rn,{...e,children:f.jsx(dG,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const pG=4,hG=fe(_.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function gG(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Ar(s).year().toString().length>pG?o.target.value=t:n(s)},[t]);return f.jsx(rn,{...e,children:f.jsx(hG,{...e,onInput:r})})}const mG=fe(_.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function vG(e){return f.jsx(rn,{...e,children:f.jsx(mG,{})})}const yG=fe(_.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 bG({children:e=f.jsx(bS,{source:"",title:""}),title:t,...n}){const r=vn.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=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(rn,{...n,children:f.jsx(yG,{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 xG({children:e=f.jsx(mS,{}),title:t,multiple:n=!1,...r}){const o=vn.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(rn,{...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)||ut.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||ut.get(s,`_${a}`)}})})})}function Tr(e){return f.jsx(rn,{...e,children:f.jsx(_.TextInput,{})})}const CG={vertical:"bottom",horizontal:"right"},wG={vertical:"top",horizontal:"right"};function SG({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=re.useLocales(),c=T.useCallback((D="ra.validation.required",L="ra.validation.required_locale")=>H=>{if(e&&!t&&!eS(H,a))return D;if(t&&(!q.has(H,t)||q.isEmpty(q.get(H,t))))return{message:L,args:{locale:t}};if(!e&&r&&!ku(H,a))return D},[e,t,a,r]),u=T.useMemo(()=>re.composeValidators(n,c()),[n,c]),{fieldState:d}=re.useInput({...o,validate:u}),{error:h}=d,g=vn.useWatch({name:s}),m=!ku(g,a),[v]=re.useLocaleState(),[b,C]=T.useState(v),[w,I]=T.useState(null),F=!!w,E=T.useCallback(D=>I(F?null:D.currentTarget),[F,I]),M=T.useCallback(()=>I(null),[I]),P=T.useMemo(()=>q.map(a,(D,L)=>f.jsx(S.MenuItem,{onClick:()=>{C(D.locale),M()},children:f.jsx(S.ListItemText,{primary:`${D.locale.toUpperCase()}: ${(g??{})[D.locale]??""}`})},L)),[a,C,M,g]);return f.jsx(rn,{...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:[q.map(a,(D,L)=>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})}},L)),f.jsx(S.Menu,{anchorEl:w,open:F,anchorOrigin:CG,transformOrigin:wG,onClose:M,children:P})]})})})}const AG=fe(_.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function TG(e){return f.jsx(rn,{...e,children:f.jsx(AG,{})})}const EG=fe(_.RadioButtonGroupInput,{slot:"root"})(()=>({marginTop:"0 !important","& .MuiFormControlLabel-root":{marginLeft:-8}}));function IG(e){return f.jsx(rn,{...e,children:f.jsx(EG,{})})}function OG({source:e,minWidth:t=300,children:n}){const r=_.useResourceContext(),o=_.useRecordContext(),[s,a]=T.useState(ut.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(()=>{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 PG({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 jG({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 MG({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(_.ResourceContextProvider,{value:e,children:f.jsx(CS,{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 kG=fe(_.SearchInput,{slot:"root"})(()=>({}));function FG(e){return f.jsx(kG,{...e})}const LG=fe(_.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 DG({optionText:e="name",optionValue:t="id",...n}){return f.jsx(rn,{...n,children:f.jsx(LG,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const _G=fe(_.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function RG(e){return f.jsx(rn,{...e,children:f.jsx(_G,{})})}function BG({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=vn.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 NG(e){if(!e)return"";const t=rS(e);return t?t.format("HH:mm"):""}function VG(e){return e}const WG=fe(_.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function zG({parse:e=VG,format:t=NG,...n}){return f.jsx(rn,{...n,children:f.jsx(WG,{parse:e,format:t,...n})})}function ig({onSuccess:e,firstAccess:t}){const{spacing:n}=En(),[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(lS,{onSubmit:u,toolbar:f.jsx(Ro,{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 wS=T.createContext({});function UG(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=_.useResourceContext(),o=_.useDataProvider(),{search:s}=ti.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!q.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(()=>q.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ui.useQuery(u),g=q.omit(e,["useDefaults"]);return h?f.jsx(S.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(S.CircularProgress,{})}):f.jsx(wS.Provider,{value:d??{},children:f.jsx(_.Create,{...g,children:e.children})})}const HG=fe(UG,{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 GG(){return T.useContext(wS)}const YG=fe(_.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 KG(e){return f.jsx(YG,{...e})}const XG=fe(S.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),ZG=fe(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 QG({title:e,divider:t=!0,variant:n="h5"}){const r=_.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(XG,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(ZG,{}):null]})}function sg(e){return e.id??e.label}function SS(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function JG(e){return q.map(e,"id")}function Lu(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function AS(e,t){const n=e!==void 0?Lu(e):0;return q.chain(t).filter(o=>e!==void 0?SS(e,o.id):!0).filter(o=>Lu(o.id)===n+1).value()}function qG(e,t){var s;const n=q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return q.extend(n,{formRootPath:o});case"setSyncWithLocation":return q.extend(n,{syncWithLocation:o});case"setErrorCount":return q.extend(n,{errorCount:o});case"setActiveItem":return q.includes(JG(e.items),o)?q.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return q.extend(n,{items:q.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=q.isString(o)?o:o.id,c=q.chain(n.items).clone().reject(u=>u.id===a).value();return q.extend(n,{items:c}),n.activeItem===a&&q.extend(n,{activeItem:((s=q.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const $G={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},TS=T.createContext(void 0);function ES(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ti.useLocation(),[s,a]=T.useReducer(qG,q.cloneDeep($G)),{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=q.chain(h).map(v=>ti.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(/^\/?/),"");q.isEmpty(g)&&(g=((h=q.chain(u).filter(m=>AS(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(TS.Provider,{value:d,children:e.children})}function IS(){const e=T.useContext(TS);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function qa(){return IS().state}function ag(){return IS().dispatch}function OS(){return qa().formRootPath}function PS(){return qa().activeItem}function jS(){return qa().items}function MS(){return qa().syncWithLocation}function kS(){return qa().errorCount}function FS(){const e=ag();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function LS(){const e=ag();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function DS(){const e=ag();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const eY=fe(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 _S(e){const{spacing:t}=En(),{spacing:n=t}=e,r=q.omit(e,["spacing"]);return f.jsx(_.Form,{...r,className:"LongFormView",children:f.jsx(eY,{container:!0,spacing:n*2,children:e.children})})}function RS(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=q.omit(e,["disposition"]);return f.jsx(S.Grid,{...n,item:!0,...t,children:e.children})}function BS(e){const t=PS();return t===void 0?!1:e===t||SS(e,t)}function NS(e){const t=jS();return T.useMemo(()=>AS(e,t),[t,e])}function tY(){const e=OS(),{search:t}=ti.useLocation(),n=ti.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function VS(){const e=NS();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:q.map(e,(t,n)=>f.jsx(lg,{...t},n))})})}function lg(e){const t=re.useTranslate()??q.identity,n=WS(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=En(),[v,b]=T.useState(r),C=T.useCallback(F=>{b(!v),a(F)},[a,v]),w=s!==void 0,I=q.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(Lc,{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:q.map(u,(F,E)=>f.jsx(lg,{...F},E))})}):null]})}function WS(e){const{id:t}=e,n=BS(t),r=Lu(t),o=tY(),s=MS(),a=FS(),c=NS(t),u=!q.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),q.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 nY=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},zS=e=>e.firstChild?e.firstChild.offsetParent===e:!0,rY=(e,t)=>{let n=e,r=0;zS(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},oY=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 Du=!1;try{const e=Object.defineProperty({},"passive",{get(){Du={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var cg=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,Du),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}},iY=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}},sY=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=nY(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const L=g();L!==E&&M(L),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=L=>{const{offsetTop:H,height:K}=v,{naturalTop:$}=w,{height:G}=I;return L+H+K>=$+G+F+o},g=()=>{const{height:L}=v,{height:H}=I;return H+s+o<=L?3:h(d)?1:2},m=a!==window&&zS(a),v=cg({el:a,onChange:u,unsubs:t,measure:({height:L,top:H})=>({height:L,offsetTop:m?H:0})}),b=oY(e),C=b===window?{top:0,bottom:0}:iY(b),w=cg({el:b,onChange:u,unsubs:t,measure:({height:L})=>({height:L-C.top-C.bottom,naturalTop:b===window?0:rY(b,a)+C.top+v.offsetTop})}),I=cg({el:e,onChange:u,unsubs:t,measure:({height:L})=>({height:L})});let F=0,E=g();const M=L=>{const H=E;if(E=L,H===2&&(F=-1),L===3){e.style.position=$a,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:K,offsetTop:$}=v,{height:G,naturalTop:ae}=w,{height:le}=I;if(L===2)if(e.style.position="relative",F=H===0?Math.max(0,$+d-ae+s):Math.max(0,$+d+K-(ae+le+o)),r){const J=Math.max(0,G-le-F);e.style.bottom=`${J}px`}else e.style.top=`${F}px`;else e.style.position=$a,L===1?r?e.style.bottom=`${o}px`:e.style.top=`${K-le-o}px`:r?e.style.bottom=`${K-le-o}px`:e.style.top=`${s}px`};M(E);const P=L=>{if(L===d)return;const H=L-d;if(d=L,E===3)return;const{offsetTop:K,height:$}=v,{naturalTop:G,height:ae}=w,{height:le}=I;if(H>0)if(E===0){if(L+K+s>G){const J=Math.max(0,K+d-G+s);L+K+$<=G+le+J+o?M(2):M(1)}}else E===2&&h(L)&&M(1);else if(E===1){if(K+L+$<G+ae+o){const J=Math.max(0,K+d+$-(G+le+o));K+L+s>=G+J?M(2):M(0)}}else E===2&&K+L+s<G+F&&M(0)},D=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",D,Du),a.addEventListener("mousewheel",D,Du),t.push(()=>a.removeEventListener("scroll",D),()=>a.removeEventListener("mousewheel",D))},aY=({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 sY(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},lY=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=aY({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},cY=lY,US=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(US||{});function HS(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=q.omit(e,["sticky","disposition","spacing"]),s=t?cY: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 GS(e){return f.jsx(f.Fragment,{children:e.children})}function YS(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)===GS){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function KS(e){const{errors:t}=vn.useFormState(),n=kS(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=sg(e),d=LS(),h=DS(),g=BS(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):Fu(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=q.chain(m).uniq().map(b=>q.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 XS(e){const t=ug(e),n=sg(e);return f.jsx(KS,{...e,id:n,children:T.Children.map(t,r=>{const o=sg(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function ZS(e){return f.jsx(KS,{...e})}function ug(e){const{children:t}=e;return T.useMemo(()=>q.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===ZS||(r==null?void 0:r.type)===XS)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function uY(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=q.pick(e,["syncWithLocation","errorCount"]),s=q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=YS(e),u=ug(e);return f.jsx(ES,{...o,children:f.jsxs(_S,{...s,spacing:r,children:[f.jsxs(HS,{disposition:t,spacing:r,children:[a,f.jsx(VS,{}),c]}),f.jsx(RS,{disposition:n,children:u})]})})}const Ft=uY;Ft.BaseForm=_S,Ft.Content=RS,Ft.Provider=ES,Ft.useItems=jS,Ft.useSyncWithLocation=MS,Ft.useErrorCount=kS,Ft.useFormRootPath=OS,Ft.useActiveItem=PS,Ft.useSetActiveItem=FS,Ft.useAddItem=LS,Ft.useRemoveItem=DS,Ft.Sidebar=HS,Ft.SidebarSection=GS,Ft.SidebarSectionPosition=US,Ft.useSidebarChildren=YS,Ft.NavMenu=VS,Ft.NavMenuItem=lg,Ft.useNavMenuItem=WS,Ft.Tab=ZS,Ft.Group=XS,Ft.useBaseItemChildren=ug;const dY=fe(_.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 fY(e){return f.jsx(dY,{...e})}const pY=fe(_.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 hY(e){return f.jsx(pY,{...e})}const gY=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 mY({children:e}){return f.jsx(f.Fragment,{children:e})}function dg(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(Ro,{children:f.jsx(_.SaveButton,{type:"button"})}),...d}=e,h=eg(t),g=S.useTheme();return f.jsx(Nn,{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(gY,{toolbar:u,component:c?mY:void 0,...d})})}function vY({children:e,...t}){return f.jsx(_.TabbedForm.Tab,{...t,children:f.jsx(S.Box,{sx:{width:"100%",p:2.5},children:e})})}dg.Tab=_.TabbedForm.Tab,dg.TabStack=vY;function fg(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 QS(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(fg,{}),{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 pg=T.createContext(void 0);function JS(){return T.useContext(pg)}function _u(e){const{children:t}=e,{item:n,index:r}=JS(),[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 qS({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=vn.useFormContext(),o=_.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}const hg=T.createContext(void 0);function $S(){return T.useContext(hg)}const eA=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}=$S(),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)===_u&&B.isValidElement(I)?I:null),[n]);return f.jsxs(pg.Provider,{value:C,children:[T.Children.map(n,(I,F)=>{if(I.type===_u||!T.isValidElement(I))return null;const{source:E,...M}=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,...M,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 yY(e){var ne,W;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(fg,{}),inset:m,sx:v}=e,[b,C]=T.useState(!1),{fields:w,remove:I,replace:F,append:E}=_.useArrayInput(e),{resetField:M}=vn.useFormContext(),P=Kt(),D=re.useTranslate(),L=T.useRef(h||{}),H=re.useTranslateLabel(),K=T.useCallback(te=>{I(te)},[I]);if(w.length>0){const{...te}=w[0];L.current=te;for(const V in L.current)L.current[V]=null}const $=T.useCallback((te=void 0)=>{let V=te;te==null&&(V=L.current,T.Children.count(t)===1&&B.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,ue=>B.isValidElement(ue)&&ue.type!==re.FormDataConsumer).some(Boolean)?V="":(V=V||{},T.Children.forEach(t,ue=>{B.isValidElement(ue)&&ue.type!==re.FormDataConsumer&&ue.props.source&&(V[ue.props.source]=ue.props.defaultValue??null)})));const X={...V,...h};E(X),M(`${r}.${w.length}`,{defaultValue:V})},[E,t,M,r,w.length,h]);function G(te){return V=>{$(),te&&te(V)}}const ae=T.useCallback(()=>{F([]),C(!1)},[F]),le=T.useMemo(()=>({total:w.length,remove:K,source:r}),[w.length,K,r]),J=P.palette.mode==="dark"?P.palette.grey.A400:P.palette.grey.A800,Q=w.length>0&&c,z=m===!0?{borderRadius:0}:{mt:2,border:`1px solid ${J}`,boxShadow:P.customShadows.z0};return w?f.jsx(hg.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)!==QS?G((W=(ne=e==null?void 0:e.addButton)==null?void 0:ne.props)==null?void 0:W.onClick):void 0,inset:m}),f.jsx(S.TableContainer,{component:S.Paper,sx:{...z,boxShadow:P.customShadows.z0,...v},children:f.jsxs(S.Table,{size:"small",children:[f.jsx(S.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${J}`},children:f.jsxs(S.TableRow,{children:[T.Children.map(t,(te,V)=>{if(te.type===_u||!B.isValidElement(te))return null;const X=f.jsx(S.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:H({...te.props,resource:n})});return f.jsx(S.TableCell,{children:te.props.title?f.jsx(Qc,{title:te.props.title,arrow:!0,children:X}):X},V)}),!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:()=>C(!0),children:D("ra.action.delete")})})},"actions"):f.jsx(S.TableCell,{},"empty_actions")]})}),f.jsxs(S.TableBody,{children:[w.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:"-"})})}),w.length>0&&w.map((te,V)=>f.jsx(S.TableRow,{sx:{borderBottom:0},children:f.jsx(eA,{disableRemove:a,index:V,member:`${r}.${V}`,onRemoveField:K,record:w&&w[V]||{},resource:n,source:r,children:t})},te.id))]})]})}),w.length>0&&f.jsx(_.Confirm,{isOpen:b,title:D("ra.action.clear_array_input"),content:D("ra.message.clear_array_input"),onConfirm:ae,onClose:()=>C(!1)})]})}):null}const Ru=fe(yY,{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=QS,Ru.EditButton=_u,Ru.Field=qS;const tA=T.createContext(void 0);function Bu(){const e=T.useContext(tA);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function bY({value:e,children:t}){return f.jsx(tA.Provider,{value:e,children:t})}function xY({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:s}=Bu(),a=re.useTranslate(),{handleSubmit:c}=vn.useFormContext(),u=T.useCallback(()=>{o()},[o]);return f.jsxs(Ro,{...t,children:[f.jsx(S.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?T.cloneElement(e):null}),f.jsx(S.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(S.Button,{variant:"text",color:"primary",onClick:s,children:a("ra.action.back")}),n()?f.jsx(S.Button,{variant:"contained",color:"primary",onClick:c(u),children:a("ra.action.next")}):f.jsx(_.SaveButton,{})]})}const CY=S.styled(S.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),wY=S.styled(S.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function SY({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(wY,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function AY({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=Bu(),{errors:s}=vn.useFormState();function a(c){c<=r&&t(c)}return f.jsx(CY,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((c,u)=>{const d=n[u].some(m=>q.get(s,m)),{label:h,icon:g}=c.props;return f.jsx(S.Step,{children:f.jsx(S.StepLabel,{StepIconComponent:SY,error:d,icon:g,onClick:()=>a(u),style:{cursor:u<=r?"pointer":"default"},children:e?null:h})},u)})})}function TY({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:s,modal:a,sx:c,setCurrentStep:u}){const{currentStep:d,steps:h}=Bu(),g=_.useTranslate(),m=S.useTheme(),v=s||a,b=T.useMemo(()=>r?T.Children.toArray(r.props.children).find(w=>{var I;return T.isValidElement(w)&&w.type===S.Button&&((I=w.props)==null?void 0:I.children)===g("ra.action.cancel")}):null,[r,g]),C=h.map(w=>{const I=[],{sources:F}=w.props;return F!==void 0?I.push(...F):Fu(w,E=>{var M;((M=E==null?void 0:E.props)==null?void 0:M.source)!==void 0&&I.push(E.props.source)}),I});return f.jsxs(S.Grid,{container:!0,spacing:2,sx:c,children:[f.jsx(S.Grid,{item:!0,xl:a?12:2,lg:a?12:3,md:a?12:3,sm:a?12:4,xs:12,children:o||f.jsx(AY,{isHorizontal:v,setCurrentStep:u,stepFields:C})}),a?f.jsx(S.Divider,{sx:{width:"100%"}}):null,f.jsx(S.Grid,{item:!0,xl:a?12:10,lg:a?12:9,md:a?12:9,sm:a?12:8,xs:12,sx:{paddingTop:a?"0 !important":null},children:f.jsxs(Nn,{title:e||h[d].props.label,subheader:t,secondary:n,border:!a,divider:!0,children:[f.jsx(S.Box,{children:h[d]}),f.jsx(S.Box,{sx:{"& .MuiToolbar-root":{paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:m.spacing(2)}},children:r&&!b?r:f.jsx(xY,{cancelButton:b})})]})})]})}const EY=S.styled(_.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`}}));function nA({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:s=null,sx:a,modal:c=!1,...u}){const[d,h]=T.useState(0),g=T.Children.toArray(e),m=S.useMediaQuery(F=>F.breakpoints.down("sm"));function v(){return d<g.length-1}function b(){return d>0}function C(){h(F=>Math.min(F+1,g.length-1))}function w(){h(F=>Math.max(F-1,0))}const I={currentStep:d,steps:g,hasNextStep:v,hasPreviousStep:b,goToNextStep:C,goToPreviousStep:w};return f.jsx(bY,{value:I,children:f.jsx(EY,{...u,modal:c,children:f.jsx(TY,{title:r,subheader:o,secondary:s,modal:c,sx:a,toolbar:t,progress:n,isSmall:m,setCurrentStep:h})})})}function IY({children:e}){return f.jsx(f.Fragment,{children:e})}nA.Step=IY;function OY(e,t){const n=q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=q.chain(n.media).clone().extend(o).value();return q.extend(n,{media:s})}case"updateDrawer":{const s=q.chain(n.drawer).clone().extend(o).value();return q.extend(n,{drawer:s})}case"updateLogo":{const s=q.chain(n.logo).clone().extend(o).value();return q.extend(n,{logo:s})}case"updateNotifications":{const s=q.chain(n.notifications).clone().extend(o).value();return q.extend(n,{notifications:s})}case"updateTheme":{const s=q.chain(n.theme).clone().extend(o).value();return q.extend(n,{theme:s})}default:return n}}const PY={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"}},rA=T.createContext(void 0);function oA(e){var K;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}=rg(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Au(),b=T.useCallback(()=>{v(!m)},[m,v]),[C,w]=T.useState(!1),[I,F]=T.useReducer(OY,q.chain(PY).clone().merge({drawer:{open:!c||m}}).value()),E=T.useCallback(()=>w(!1),[]),M=T.useMemo(()=>({state:I,dispatch:F}),[I,F]),{logoIcon:P,logoMain:D,enableNotification:L,notification:H}=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:D,icon:P}})},[P,D]),T.useEffect(()=>{F({type:"updateNotifications",payload:{enable:L,resource:H??"entities/notification"}})},[L,H]),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($=>{var G;w(!$&&((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(rA.Provider,{value:M,children:[f.jsx(S.Dialog,{open:C,maxWidth:"xs",fullWidth:!0,children:f.jsx(ig,{onSuccess:E,firstAccess:!0})}),e.children]})}function iA(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx(oA,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function gg(){const e=T.useContext(rA);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function jY(){return gg().dispatch}function Ps(){return gg().state}function Wn(){return Ps().media}function Si(){return Ps().drawer}function sA(){return Ps().logo}function Nu(){return Ps().notifications}function MY(){return Ps().theme}function aA(e){const{width:t}=Si(),{horizontal:n}=Wn(),{container:r}=En(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Kt();return f.jsx(yW,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(Rh,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx($C,{}),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 lA=fe(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 cA({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=En();return f.jsx(S.ButtonBase,{disableRipple:!0,component:dt.Link,to:n||s,sx:t,children:e?r:o})}function uA(e){const t=S.useTheme(),{horizontal:n}=Wn(),{open:r}=Si(),{icon:o,main:s}=sA(),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(lA,{theme:t,open:r,sx:a,children:f.jsx(cA,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function dA(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 fA(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 kY=fe(S.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=En();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...dA(e,n),"& .MuiDrawer-paper":dA(e,n)},...!t&&{...fA(e),"& .MuiDrawer-paper":fA(e)}}});var Ae={},mg={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",F="console",E="mobile",M="tablet",P="smarttv",D="wearable",L="embedded",H=500,K="Amazon",$="Apple",G="ASUS",ae="BlackBerry",le="Browser",J="Chrome",Q="Edge",z="Firefox",ne="Google",W="Huawei",te="LG",V="Microsoft",X="Motorola",ue="Opera",he="Samsung",pe="Sharp",ge="Sony",ve="Xiaomi",Te="Zebra",Ce="Facebook",be="Chromium OS",we="Mac OS",Ie=" Browser",de=function(Le,_e){var Oe={};for(var xe in Le)_e[xe]&&_e[xe].length%2===0?Oe[xe]=_e[xe].concat(Le[xe]):Oe[xe]=Le[xe];return Oe},qe=function(Le){for(var _e={},Oe=0;Oe<Le.length;Oe++)_e[Le[Oe].toUpperCase()]=Le[Oe];return _e},me=function(Le,_e){return typeof Le===h?Qe(_e).indexOf(Qe(Le))!==-1:!1},Qe=function(Le){return Le.toLowerCase()},ln=function(Le){return typeof Le===h?Le.replace(/[^\d\.]/g,s).split(".")[0]:r},Et=function(Le,_e){if(typeof Le===h)return Le=Le.replace(/^\s\s*/,s),typeof _e===u?Le:Le.substring(0,H)},yt=function(Le,_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(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}},Gn=function(Le,_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],Le))return Oe===a?r:Oe}else if(me(_e[Oe],Le))return Oe===a?r:Oe;return _e.hasOwnProperty("*")?_e["*"]: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,ue+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,ue+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,ue]],[/\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"+le]],[/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 "+le]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+le],w],[/\bfocus\/([\w\.]+)/i],[w,[v,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,ue+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,ue+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+le]],[/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,J+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,J+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+le]],[/(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,Gn,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,M]],[/\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,$],[b,E]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[C,$],[b,M]],[/(macintosh);/i],[m,[C,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[C,pe],[b,E]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[C,W],[b,M]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[C,W],[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,M]],[/; (\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,M]],[/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,M]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[C,te],[b,M]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[C,te],[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,M]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[C,"Nokia"],[b,E]],[/(pixel c)\b/i],[m,[C,ne],[b,M]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[C,ne],[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,M]],[/ (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,M]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[C,K],[b,E]],[/(playbook);[-\w\),; ]+(rim)/i],[m,C,[b,M]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[C,ae],[b,E]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[C,G],[b,M]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[C,G],[b,E]],[/(nexus 9)/i],[m,[C,"HTC"],[b,M]],[/(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,M]],[/(itel) ((\w+))/i],[[C,Qe],m,[b,Gn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[C,"Acer"],[b,M]],[/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,M]],[/(surface duo)/i],[m,[C,V],[b,M]],[/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,M]],[/\b(venue[\d ]{2,7}) b/i],[m,[C,"Dell"],[b,M]],[/\b(q(?:mv|ta)\w+) b/i],[m,[C,"Verizon"],[b,M]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[C,"Barnes & Noble"],[b,M]],[/\b(tm\d{3}\w+) b/i],[m,[C,"NuVision"],[b,M]],[/\b(k88) b/i],[m,[C,"ZTE"],[b,M]],[/\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,M]],[/\b((zeki)?tb.*\b) b/i],[m,[C,"Zeki"],[b,M]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],m,[b,M]],[/\b(ns-?\w{0,9}) b/i],[m,[C,"Insignia"],[b,M]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[C,"NextBook"],[b,M]],[/\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,M]],[/\b(trio[-\w\. ]+) b/i],[m,[C,"MachSpeed"],[b,M]],[/\btu_(1491) b/i],[m,[C,"Rotor"],[b,M]],[/(shield[\w ]+) b/i],[m,[C,"Nvidia"],[b,M]],[/(sprint) (\w+)/i],[C,m,[b,E]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[C,V],[b,E]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[C,Te],[b,M]],[/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,te],[b,P]],[/(apple) ?tv/i],[C,[m,$+" TV"],[b,P]],[/crkey/i],[[m,J+"cast"],[C,ne],[b,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[C,K],[b,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[C,pe],[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,F]],[/droid.+; (shield) bui/i],[m,[C,"Nvidia"],[b,F]],[/(playstation [345portablevi]+)/i],[m,[C,ge],[b,F]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[C,V],[b,F]],[/\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,$],[b,D]],[/droid.+; (glass) \d/i],[m,[C,ne],[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,L]],[/(aeobc)\b/i],[m,[C,K],[b,L]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[b,E]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[b,M]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,M]],[/(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,Q+"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,Gn,bt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Gn,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,ae]],[/(?: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,J+"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,_e){if(typeof Le===d&&(_e=Le,Le=r),!(this instanceof xt))return new xt(Le,_e).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=_e?de(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]=ln(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]=M),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>H?Et(Pe,H):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,F,E,P,M,D,L]),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 _e=Ot.getResult();for(var Oe in _e)zt.ua[Oe]=_e[Oe]}}})(typeof window=="object"?window:bn)})(mg,mg.exports);var FY=mg.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function LY(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var on=T,pt=LY(on),pA=FY,Bo=new pA,sn=Bo.getBrowser(),DY=Bo.getCPU(),zn=Bo.getDevice(),vg=Bo.getEngine(),No=Bo.getOS(),el=Bo.getUA(),hA=function(t){return Bo.setUA(t)},tl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new pA(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)}}},gA=Object.freeze({ClientUAInstance:Bo,browser:sn,cpu:DY,device:zn,engine:vg,os:No,ua:el,setUa:hA,parseUserAgent:tl});function mA(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 _Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mA(Object(n),!0).forEach(function(r){VY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mA(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 RY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BY(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 NY(e,t,n){return t&&BY(e.prototype,t),e}function VY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yg(){return yg=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},yg.apply(this,arguments)}function WY(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&&xg(e,t)}function bg(e){return bg=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bg(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},xg(e,t)}function zY(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=zY(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 Vu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(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 Vu(e)}function HY(e,t){return GY(e)||YY(e,t)||KY(e,t)||XY()}function GY(e){if(Array.isArray(e))return e}function YY(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 KY(e,t){if(e){if(typeof e=="string")return vA(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 vA(e,t)}}function vA(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 XY(){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 an={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},In={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"},ZY={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},QY=function(t){switch(t){case an.Mobile:return{isMobile:!0};case an.Tablet:return{isTablet:!0};case an.SmartTv:return{isSmartTV:!0};case an.Console:return{isConsole:!0};case an.Wearable:return{isWearable:!0};case an.Browser:return{isBrowser:!0};case an.Embedded:return{isEmbedded:!0};default:return ZY}},JY=function(t){return hA(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Cg=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},wg=function(t){var n=Cg();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},qY=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)}},yA=function(t,n,r,o){return _Y({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},$Y=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)}},eK=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)}},tK=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)}},nK=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 rK(e){var t=e?tl(e):gA,n=t.device,r=t.browser,o=t.engine,s=t.os,a=t.ua,c=QY(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 qY(u,r,o,s,a);if(g)return $Y(g,o,s,a);if(m)return eK(m,o,s,a);if(d||h)return yA(c,n,s,a);if(v)return tK(v,o,s,a);if(b)return nK(b,n,o,s,a)}var bA=function(t){var n=t.type;return n===an.Mobile},xA=function(t){var n=t.type;return n===an.Tablet},CA=function(t){var n=t.type;return n===an.Mobile||n===an.Tablet},wA=function(t){var n=t.type;return n===an.SmartTv},Wu=function(t){var n=t.type;return n===an.Browser},SA=function(t){var n=t.type;return n===an.Wearable},AA=function(t){var n=t.type;return n===an.Console},TA=function(t){var n=t.type;return n===an.Embedded},EA=function(t){var n=t.vendor;return De(n)},IA=function(t){var n=t.model;return De(n)},OA=function(t){var n=t.type;return De(n,"browser")},PA=function(t){var n=t.name;return n===js.Android},jA=function(t){var n=t.name;return n===js.Windows},MA=function(t){var n=t.name;return n===js.MAC_OS},kA=function(t){var n=t.name;return n===js.WindowsPhone},FA=function(t){var n=t.name;return n===js.IOS},LA=function(t){var n=t.version;return De(n)},DA=function(t){var n=t.name;return De(n)},_A=function(t){var n=t.name;return n===In.Chrome},RA=function(t){var n=t.name;return n===In.Firefox},BA=function(t){var n=t.name;return n===In.Chromium},zu=function(t){var n=t.name;return n===In.Edge},NA=function(t){var n=t.name;return n===In.Yandex},VA=function(t){var n=t.name;return n===In.Safari||n===In.MobileSafari},WA=function(t){var n=t.name;return n===In.MobileSafari},zA=function(t){var n=t.name;return n===In.Opera},UA=function(t){var n=t.name;return n===In.InternetExplorer||n===In.Ie},HA=function(t){var n=t.name;return n===In.MIUI},GA=function(t){var n=t.name;return n===In.SamsungBrowser},YA=function(t){var n=t.version;return De(n)},KA=function(t){var n=t.major;return De(n)},XA=function(t){var n=t.name;return De(n)},ZA=function(t){var n=t.name;return De(n)},QA=function(t){var n=t.version;return De(n)},JA=function(){var t=Cg(),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},qA=function(){var t=Cg();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},zr=function(){return wg("iPad")},$A=function(){return wg("iPhone")},eT=function(){return wg("iPod")},tT=function(t){return De(t)};function nT(e){var t=e||gA,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:wA(n),isConsole:AA(n),isWearable:SA(n),isEmbedded:TA(n),isMobileSafari:WA(r)||zr(),isChromium:BA(r),isMobile:CA(n)||zr(),isMobileOnly:bA(n),isTablet:xA(n)||zr(),isBrowser:Wu(n),isDesktop:Wu(n),isAndroid:PA(o),isWinPhone:kA(o),isIOS:FA(o)||zr(),isChrome:_A(r),isFirefox:RA(r),isSafari:VA(r),isOpera:zA(r),isIE:UA(r),osVersion:LA(o),osName:DA(o),fullBrowserVersion:YA(r),browserVersion:KA(r),browserName:XA(r),mobileVendor:EA(n),mobileModel:IA(n),engineName:ZA(s),engineVersion:QA(s),getUA:tT(a),isEdge:zu(r)||Ms(a),isYandex:NA(r),deviceType:OA(n),isIOS13:qA(),isIPad13:zr(),isIPhone13:$A(),isIPod13:eT(),isElectron:JA(),isEdgeChromium:Ms(a),isLegacyEdge:zu(r)&&!Ms(a),isWindows:jA(o),isMacOs:MA(o),isMIUI:HA(r),isSamsungBrowser:GA(r)}}var rT=wA(zn),oT=AA(zn),iT=SA(zn),oK=TA(zn),iK=WA(sn)||zr(),sK=BA(sn),Uu=CA(zn)||zr(),sT=bA(zn),aT=xA(zn)||zr(),lT=Wu(zn),aK=Wu(zn),cT=PA(No),uT=kA(No),dT=FA(No)||zr(),lK=_A(sn),cK=RA(sn),uK=VA(sn),dK=zA(sn),fT=UA(sn),fK=LA(No),pK=DA(No),hK=YA(sn),gK=KA(sn),mK=XA(sn),vK=EA(zn),yK=IA(zn),bK=ZA(vg),xK=QA(vg),CK=tT(el),wK=zu(sn)||Ms(el),SK=NA(sn),AK=OA(zn),TK=qA(),EK=zr(),IK=$A(),OK=eT(),PK=JA(),jK=Ms(el),MK=zu(sn)&&!Ms(el),kK=jA(No),FK=MA(No),LK=HA(sn),DK=GA(sn),_K=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 nT({device:r,browser:o,os:s,engine:a,ua:c})},RK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return cT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},BK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return lT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},NK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return fT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},VK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return dT?n?pt.createElement(on.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 Uu?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},zK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return aT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},UK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return uT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},HK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=fr(t,["renderWithFragment","children","viewClassName","style"]);return sT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},GK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return rT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},YK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return oT?n?pt.createElement(on.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 iT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},XK=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(on.Fragment,null,r):pt.createElement("div",s,r):null};function ZK(e){return function(t){WY(n,t);function n(r){var o;return RY(this,n),o=UY(this,bg(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(Vu(o)),o.onOrientationChange=o.onOrientationChange.bind(Vu(o)),o.onPageLoad=o.onPageLoad.bind(Vu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return NY(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&&Uu&&(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,yg({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(pt.Component)}function QK(){var e=on.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=HY(e,2),n=t[0],r=t[1],o=on.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 on.useEffect(function(){return(typeof window>"u"?"undefined":nl(window))!==void 0&&Uu&&(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 pT(e){var t=e||window.navigator.userAgent;return tl(t)}function JK(e){var t=e||window.navigator.userAgent,n=pT(t),r=nT(n);return[r,n]}Ae.AndroidView=RK,Ae.BrowserTypes=In;var qK=Ae.BrowserView=BK;Ae.ConsoleView=YK,Ae.CustomView=XK,Ae.IEView=NK,Ae.IOSView=VK,Ae.MobileOnlyView=HK;var $K=Ae.MobileView=WK;Ae.OsTypes=js,Ae.SmartTVView=GK,Ae.TabletView=zK,Ae.WearableView=KK,Ae.WinPhoneView=UK,Ae.browserName=mK,Ae.browserVersion=gK,Ae.deviceDetect=rK,Ae.deviceType=AK,Ae.engineName=bK,Ae.engineVersion=xK,Ae.fullBrowserVersion=hK,Ae.getSelectorsByUserAgent=_K,Ae.getUA=CK,Ae.isAndroid=cT,Ae.isBrowser=lT,Ae.isChrome=lK,Ae.isChromium=sK,Ae.isConsole=oT,Ae.isDesktop=aK,Ae.isEdge=wK,Ae.isEdgeChromium=jK,Ae.isElectron=PK,Ae.isEmbedded=oK,Ae.isFirefox=cK,Ae.isIE=fT,Ae.isIOS=dT,Ae.isIOS13=TK,Ae.isIPad13=EK,Ae.isIPhone13=IK,Ae.isIPod13=OK,Ae.isLegacyEdge=MK,Ae.isMIUI=LK,Ae.isMacOs=FK,Ae.isMobile=Uu,Ae.isMobileOnly=sT,Ae.isMobileSafari=iK,Ae.isOpera=dK,Ae.isSafari=uK,Ae.isSamsungBrowser=DK,Ae.isSmartTV=rT,Ae.isTablet=aT,Ae.isWearable=iT,Ae.isWinPhone=uT,Ae.isWindows=kK,Ae.isYandex=SK,Ae.mobileModel=yK,Ae.mobileVendor=vK,Ae.osName=pK,Ae.osVersion=fK,Ae.parseUserAgent=tl,Ae.setUserAgent=JY,Ae.useDeviceData=pT,Ae.useDeviceSelectors=JK,Ae.useMobileOrientation=QK,Ae.withOrientationChange=ZK;var eX=typeof global=="object"&&global&&global.Object===Object&&global,tX=typeof self=="object"&&self&&self.Object===Object&&self,hT=eX||tX||Function("return this")(),Hu=hT.Symbol,gT=Object.prototype,nX=gT.hasOwnProperty,rX=gT.toString,rl=Hu?Hu.toStringTag:void 0;function oX(e){var t=nX.call(e,rl),n=e[rl];try{e[rl]=void 0;var r=!0}catch{}var o=rX.call(e);return r&&(t?e[rl]=n:delete e[rl]),o}var iX=Object.prototype,sX=iX.toString;function aX(e){return sX.call(e)}var lX="[object Null]",cX="[object Undefined]",mT=Hu?Hu.toStringTag:void 0;function uX(e){return e==null?e===void 0?cX:lX:mT&&mT in Object(e)?oX(e):aX(e)}function dX(e){return e!=null&&typeof e=="object"}var fX="[object Symbol]";function pX(e){return typeof e=="symbol"||dX(e)&&uX(e)==fX}var hX=/\s/;function gX(e){for(var t=e.length;t--&&hX.test(e.charAt(t)););return t}var mX=/^\s+/;function vX(e){return e&&e.slice(0,gX(e)+1).replace(mX,"")}function Gu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var vT=NaN,yX=/^[-+]0x[0-9a-f]+$/i,bX=/^0b[01]+$/i,xX=/^0o[0-7]+$/i,CX=parseInt;function yT(e){if(typeof e=="number")return e;if(pX(e))return vT;if(Gu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Gu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=vX(e);var n=bX.test(e);return n||xX.test(e)?CX(e.slice(2),n?2:8):yX.test(e)?vT:+e}var Sg=function(){return hT.Date.now()},wX="Expected a function",SX=Math.max,AX=Math.min;function Yu(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(wX);t=yT(t)||0,Gu(n)&&(h=!!n.leading,g="maxWait"in n,s=g?SX(yT(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(D){var L=r,H=o;return r=o=void 0,d=D,a=e.apply(H,L),a}function b(D){return d=D,c=setTimeout(I,t),h?v(D):a}function C(D){var L=D-u,H=D-d,K=t-L;return g?AX(K,s-H):K}function w(D){var L=D-u,H=D-d;return u===void 0||L>=t||L<0||g&&H>=s}function I(){var D=Sg();if(w(D))return F(D);c=setTimeout(I,C(D))}function F(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 M(){return c===void 0?a:F(Sg())}function P(){var D=Sg(),L=w(D);if(r=arguments,o=this,u=D,L){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=M,P}var TX="Expected a function";function EX(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(TX);return Gu(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Yu(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 bT(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function xT(e){return!e||!e.ownerDocument?document:e.ownerDocument}var CT=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 wT(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function ST(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function AT(e){return".".concat(e.split(" ").join("."))}var Ag=!!(typeof window<"u"&&window.document&&window.document.createElement),IX=Object.freeze({__proto__:null,addClasses:wT,canUseDOM:Ag,classNamesToQuery:AT,getElementDocument:xT,getElementWindow:bT,getOptions:CT,removeClasses:ST}),Fs=null,TT=null;Ag&&window.addEventListener("resize",function(){TT!==window.devicePixelRatio&&(TT=window.devicePixelRatio,Fs=null)});function ET(){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 Vo=bT,Tg=xT,OX=CT,Wo=wT,zo=ST,On=AT,Ku=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=Vo(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,Wo(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(){zo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Wo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){zo(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,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,M=(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 L=D/(F-E.size),H=L*(M-P);r.draggedAxis==="x"&&r.isRtl&&(H=!((C=e.getRtlHelpers())===null||C===void 0)&&C.isScrollingToNegative?-H:H),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=H}},this.onEndDrag=function(o){r.isDragging=!1;var s=Tg(r.el),a=Vo(r.el);o.preventDefault(),o.stopPropagation(),zo(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=EX(this._onMouseMove,64),this.onWindowResize=Yu(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Yu(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Yu(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:ET()}catch{return ET()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=Tg(t),o=Vo(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Ag&&(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(On(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(On(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(On(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(On(this.classNames.offset)),this.maskEl=this.el.querySelector(On(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,On(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(On(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(On(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(On(this.classNames.track)).concat(On(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(On(this.classNames.track)).concat(On(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(On(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(On(this.classNames.scrollbar)))||null,this.options.autoHide||(Wo(this.axis.x.scrollbar.el,this.classNames.visible),Wo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Vo(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=Vo(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&&(Wo(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&&(zo(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),Wo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Wo(n.scrollbar.el,this.classNames.hover):zo(n.scrollbar.el,this.classNames.hover)):(zo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),zo(this.axis[t].track.el,this.classNames.hover),zo(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=Tg(this.el),s=Vo(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,Wo(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=Vo(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,F=function(){r.contentWrapperEl&&(C===-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=Vo(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=OX,e.helpers=IX,e}(),Un=function(){return Un=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},Un.apply(this,arguments)};function PX(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 IT=B.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=PX(e,["children","scrollableNodeProps"]),a=B.useRef(),c=B.useRef(),u=B.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Ku.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Un(Un({},Ku.defaultOptions.classNames),d.classNames),m=Un(Un({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Ku.defaultOptions.ariaLabel});return B.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Ku(a.current,Un(Un(Un({},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",Un({"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:Un(Un({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):B.createElement("div",Un({},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})))});IT.displayName="SimpleBar";const jX=fe(qK)({flexGrow:1,height:"100%",overflow:"hidden"}),MX=fe(IT)(({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 OT({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(jX,{children:f.jsx(MX,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx($K,{children:f.jsx(S.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function PT(e){const t=S.useTheme(),n=Sr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Wn(),{open:o,handleDrawerToggle:s,width:a}=Si(),c=r?S.Drawer:kY,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(uA,{}),f.jsx(OT,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Eg(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 jT=fe(S.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=En();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})}}}),MT=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})}),kX=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 kT({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(MT,{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 FX={ml:{xs:0,lg:-2}};function FT(){const{open:e,handleDrawerToggle:t}=Si();return f.jsx(Ls,{value:"drawer","aria-label":"open drawer",sx:FX,onChange:t,selected:e,children:e?f.jsx(Ke.MenuFoldOutlined,{}):f.jsx(Ke.MenuUnfoldOutlined,{})})}function LT(e){const t=T.useRef(),n=S.useTheme(),{downLg:r,horizontal:o}=Wn(),{open:s,width:a}=Si(),c=r?S.AppBar:jT,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||q.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(S.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(FT,{}),e.children]})})}function LX(e){const t=S.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Nu(),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 DX={width:36,height:36,fontSize:"1rem"},_X={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function DT(){const{enable:e}=Nu();return e?f.jsx(RX,{}):null}function RX(){const e=re.useTranslate(),t=S.useTheme(),n=re.useRefresh(),r=re.useNotify(),{downMd:o}=Wn(),{resource:s}=Nu(),[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 C=a.filter(F=>!F.readed).map(F=>F.id),[w]=re.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(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(gi,{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(Nn,{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":DX,"& .MuiListItemSecondaryAction-root":{..._X,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((E,M)=>f.jsx(LX,{selected:h>0,notification:E,onClick:v,divider:M<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 BX(){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(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(ig,{onSuccess:n})})]})}function NX(){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(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:t("ra.auth.logout")})]})})}function VX(){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(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function _T(){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(C1,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var b;return f.jsx(gi,{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(Nn,{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(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(BX,{}),f.jsx(NX,{}),f.jsx(VX,{})]})})})]})})})})}})]})}function RT(e){const t=Kt(),{downMd:n}=Wn(),{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(gi,{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 BT(e){return f.jsx(S.Box,{...e,flex:1})}function NT(e){const t=S.useTheme(),n=S.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=En();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 VT(e){const{horizontal:t}=Wn();return t?f.jsx(NT,{children:e.children}):f.jsx(PT,{children:e.children})}function ol({item:e,level:t}){const n=Kt(),{horizontal:r,downLg:o}=Wn(),{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(dt.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}=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(Rp,{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 WT=fe(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 W;const c=Kt(),{activeItem:u}=Za(),{horizontal:d}=Wn(),{drawerOpen:h}=Za(),g=dt.useNavigate(),[m,v]=T.useState(!1),[b,C]=T.useState(null),[w,I]=T.useState(null);function F(te){I(null),s(t),h?(v(!m),C(b?null:e.id),r(b?"":e.id),e.url&&g(`${e.url}`)):I(te==null?void 0:te.currentTarget)}function E(){h||e.url&&g(`${e.url}`)}function M(te){I(te==null?void 0:te.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(),L=!!w;function H(te,V){te.forEach(X=>{X.url===D&&(v(!0),C(V))})}T.useEffect(()=>{v(!1),C(null),L&&I(null),e.children&&e.children.forEach(te=>{var V;(V=te.children)!=null&&V.length&&H(te.children,e.id),te.url===D&&(C(e.id),v(!0)),D.includes(te.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=(W=e.children)==null?void 0:W.map(te=>{switch(te.type){case"collapse":return f.jsx(il,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:te,level:t+1,parentId:n},te.id);case"item":return f.jsx(ol,{item:te,level:t+1},te.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},te.id)}}),$=b===e.id,G=t===1?f.jsx(Ke.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ae=e.icon,le=e.icon?f.jsx(ae,{style:{fontSize:h?"1rem":"1.25rem"}}):G,J=c.palette.mode==="dark"?"grey.400":"text.primary",Q=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,z=L?`collapse-pop-${e.id}`:void 0,ne={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:$,onMouseEnter:M,onMouseLeave:P,onClick:M,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(S.Box,{onClick:E,sx:ne,children:[le?f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:le}):null,!le&&t!==1&&f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(Rp,{size:4,color:$?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),L?f.jsx(Ke.RightOutlined,{}):f.jsx(Ke.DownOutlined,{})]}),w?f.jsx(WT,{id:z,open:L,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:te})=>f.jsx(gi,{in:L,...te,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: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:Q,"&:hover":{color:Q,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[le?f.jsx(S.ListItemIcon,{onClick:E,sx:{minWidth:28,color:b===e.id?"primary.main":J,...!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:le}):null,h||!h&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:b===e.id?"primary":J,children:e.title}),secondary:e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?L||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(WT,{open:L,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:te})=>f.jsx(gi,{in:L,...te,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 WX=fe(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 zT({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var z,ne;const u=Kt(),d=_.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Wn(),v=Za(),{drawerOpen:b,selectedID:C,activeID:w}=v,[I,F]=T.useState(null),[E,M]=T.useState(e),P=!!I;T.useEffect(()=>{if(t)if(e.id===r){const W={...e},te=n.map(V=>V.elements);W.children=te.flat(1),M(W)}else M(e)},[e,t,m]);function D(W,te){W.forEach(V=>{var X;(X=V.children)!=null&&X.length&&D(V.children,E.id),V.url===h&&w(te)})}function L(W){(W.children?W.children:[]).forEach(V=>{var X;(X=V.children)!=null&&X.length&&D(V.children,E.id),V.url===h&&w(E.id)})}T.useEffect(()=>{L(E),P&&F(null)},[h,E]);function H(W){P||F(W==null?void 0:W.currentTarget)}function K(){F(null)}const $=E==null?void 0:E.icon,G=E!=null&&E.icon?f.jsx($,{style:{fontSize:20,stroke:"1.5",color:C===E.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ae=(z=e.children)==null?void 0:z.map(W=>{switch(W.type){case"collapse":return f.jsx(il,{menu:W,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:E.id},W.id);case"item":return f.jsx(ol,{item:W,level:1},W.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),le=n.map((W,te)=>{var V;return f.jsxs(T.Fragment,{children:[W.title?f.jsx(S.Typography,{variant:"caption",sx:{pl:2},children:W.title}):null,(V=W==null?void 0:W.elements)==null?void 0:V.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)}})]},te)}),J=(ne=E.children)==null?void 0:ne.map(W=>{switch(W.type){case"collapse":return f.jsx(il,{menu:W,level:1,parentId:E.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},W.id);case"item":return f.jsx(ol,{item:W,level:1},W.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),Q=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:H,onClick:H,onMouseLeave:K,"aria-describedby":Q,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(WX,{id:Q,open:P,anchorEl:I,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:W})=>f.jsx(gi,{in:P,...W,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?J:le})})})})}):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:ae})})}function UT(e){const{horizontal:t}=Wn(),{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 HT(e){const{horizontal:t}=Wn(),{menu:n,isLoading:r}=Nh(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=En(),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(UT,{...e,children:!r&&q.map((n??[]).slice(0,h+1),v=>{const{type:b}=v;switch(b){case"group":return f.jsx(zT,{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 GT(){const{mode:e,setMode:t}=En();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 YT=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 Ig({source:e="paper"}){const{mode:t}=En(),n=S.useTheme();return T.useEffect(()=>{var o;const r=q.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const KT=iA(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=jw();return f.jsxs(YT,{children:[f.jsxs(LT,{children:[f.jsx(BT,{}),a?f.jsx(kT,{}):null,o?f.jsx(GT,{}):null,f.jsx(Ig,{}),f.jsx(XC,{}),s?f.jsx(DT,{}):null,f.jsx(RT,{children:f.jsx(_T,{})})]}),f.jsx(VT,{children:f.jsx(HT,{})}),f.jsxs(aA,{error:t.error,children:[!c&&f.jsx(e1,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(dt.Outlet,{}),f.jsx(Eg,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),zX=fe("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function XT(){return f.jsx(zX,{children:f.jsx(S.LinearProgress,{color:"primary"})})}function UX(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(XT,{}),children:f.jsx(e,{...t})})}function Og({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 HX=fe(_.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function ZT(e){return f.jsx(HX,{...e})}var sl=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(sl||{});const QT=so().required(),JT=so().oneOf(Object.values(sl));function GX(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=q.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(q.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function YX(e){const[t,n]=$h("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o(q.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>q.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function KX(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function qT(e,t){Jh({mode:JT,topic:QT}).validateSync({mode:e,topic:t});const n=GX(t),r=YX(t),o=KX();switch(e){case sl.USER:return n.loading?o:n.error?r:q.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 XX(e,t){var o;const n=q.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return q.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=q.chain(n.tips).clone().reject(h=>h.id===a).value(),u=q.find(n.tips,{id:a}),d=q.chain(u??{}).clone().extend(s).value();return c.push(d),q.extend(n,{tips:q.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=q.isString(s)?s:s.id,c=q.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return q.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=q.isString(s)?s:s.id,c=q.chain(n.tips).reject(m=>m.id===a).value(),u=q.find(n.tips,{id:a});if(q.isNil(u))return n;const d=q.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=q.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&q.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),q.extend(n,{tips:q.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return q.extend(n,{onComplete:s})}case"RESTART":{const s=q.chain(n.tips).clone().map(a=>q.omit(a,"dismissed")).value();return q.extend(n,{tips:s,currentStep:0})}default:return n}}const Pg=T.createContext(void 0);function ZX(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=qT(t,n),[s,a]=T.useReducer(XX,{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(Pg.Provider,{value:c,children:e.children})}function $T(){const e=T.useContext(Pg);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function QX(){return $T().state}function eE(){return $T().dispatch}function tE(e){Jh({id:so().required(),step:Yw().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=QX(),c=q.find(s,{id:t}),{dismissed:u}=c??{},d=eE(),h=T.useCallback(()=>{d({type:Ds.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{(q.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:q.chain(c??e).clone().extend({open:o&&!q.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function JX(){const e=eE();return T.useCallback(()=>{e({type:Ds.RESTART})},[e])}function qX(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=tE({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=q.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 $X=S.styled(qX)(({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}}}),jg=T.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:s="small",className:a,...c}=e,u=re.useTranslate(),d=Math.ceil(r/n)||1;if(d===1)return f.jsx(nE,{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(nE,{className:a,children:f.jsx(S.Pagination,{size:s,count:d,page:t+1,onChange:(g,m)=>o(g,m-1),...eZ(c),getItemAriaLabel:h})})});jg.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 nE=fe("div",{name:"RaPaginationActions",overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function eZ({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const Mg=T.memo(e=>{const{rowsPerPageOptions:t=tZ,actions:n,limit:r=null,...o}=e,{isLoading:s,hasNextPage:a,page:c,perPage:u,total:d,setPage:h,setPerPage:g}=re.useListPaginationContext(e),m=re.useTranslate(),v=S.useMediaQuery(L=>L.breakpoints.down("md")),[b,C]=T.useState(c-1),w=T.useMemo(()=>d!=null?Math.ceil(d/u):void 0,[u,d]),I=T.useCallback(ut.debounce(L=>{h(L+1)},500),[h]),F=T.useCallback((L,H)=>{var G,ae;if(!L)return;if(L.preventDefault(),H<0||w!==void 0&&H>w-1)throw new Error(m("ra.navigation.page_out_of_boundaries",{page:H+1}));const K=(((G=L.target.dataset)==null?void 0:G.testid)||((ae=L.target.classList)==null?void 0:ae.value))??"",$=K.includes("MuiPaginationItem-previousNext")||K.includes("NavigateBeforeIcon")||K.includes("NavigateNextIcon")||K.includes("KeyboardArrowLeftIcon")||K.includes("KeyboardArrowRightIcon");C(H),$?I(H):h(H+1)},[I,h,m,w]),E=T.useCallback(L=>{g(Number(L.target.value))},[g]),M=T.useCallback(({from:L,to:H,count:K})=>K===-1&&a?m("ra.navigation.partial_page_range_info",{offsetBegin:L,offsetEnd:H,_:"%{from}-%{to} of more than %{to}"}):m("ra.navigation.page_range_info",{offsetBegin:L,offsetEnd:H,total:K===-1?H:K,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[m,a]),P=T.useCallback(L=>m(`ra.navigation.${L}`,{_:`Go to ${L} 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:F,rowsPerPageOptions:nZ,component:"span",labelDisplayedRows:M,...re.sanitizeListRestProps(o)});const D=n||(!s&&d!=null?jg:void 0);return f.jsx(S.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:F,onRowsPerPageChange:E,ActionsComponent:D,nextIconButtonProps:{disabled:!a},component:"span",labelRowsPerPage:m("ra.navigation.page_rows_per_page"),labelDisplayedRows:M,getItemAriaLabel:P,rowsPerPageOptions:t,...re.sanitizeListRestProps(o)})});Mg.propTypes={actions:re.ComponentPropType,limit:x.element,rowsPerPageOptions:x.arrayOf(x.oneOfType([x.number,x.shape({label:x.string.isRequired,value:x.number.isRequired})]))};const tZ=[5,10,25,50],nZ=[];function rE({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 rZ=fe("div")({width:"100%",overflowX:"auto",display:"block"});function oZ({shadow:e,children:t,...n}){return f.jsx(Nn,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function oE({title:e}){return f.jsx(S.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const iZ="RaButton";function sZ(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 aZ=fe(S.Button,{name:iZ,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function Xu(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=sZ(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(aZ,{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 kg(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 lZ(e,t){return e&&e.data?{data:kg(e.data,t),total:e.total+1}:e}function cZ(e,t){return e&&e.length>0?kg(e,t):e}function uZ(e,t){return e&&e.data?{...e,data:kg(e.data,t),total:e.total+1}:e}function dZ(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(Xu,{...o,onClick:s,label:n,children:r}):f.jsx(qV,{...e,onClick:s,label:n,children:r})}function fZ(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=vn.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 pZ(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),C=re.useNotify(),w=T.useCallback(()=>b(!0),[]),I=T.useCallback(()=>b(!1),[]),F=T.useCallback((E,M,P)=>{var H,K;const L=Date.now();d.setQueryData([h,"getOne",{id:E.id}],E),d.setQueriesData([h,"getList"],$=>uZ($,E),{updatedAt:L}),d.setQueriesData([h,"getMany"],$=>cZ($,E),{updatedAt:L}),d.setQueriesData([h,"getManyReference"],$=>lZ($,E),{updatedAt:L}),I(),C("ra.notification.created",{messageArgs:{smart_count:1}}),(K=(H=e==null?void 0:e.mutationOptions)==null?void 0:H.onSuccess)==null||K.call(H,E,M,P)},[I,C,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(dZ,{...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(Ro,{children:[f.jsx(S.Button,{variant:"text",size:"medium",onClick:I,children:g("ra.action.cancel")}),s?f.jsx(fZ,{onSubmit:s,closeDialog:I}):f.jsx(Fh,{type:"button"})]})}):null})})})]})}function hZ(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(tw,{...e,onClick:t})}function gZ(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=vn.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(Xu,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function mZ(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),[]),C=T.useCallback((I,F,E)=>{var M,P;b(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(M=e==null?void 0:e.mutationOptions)==null?void 0:M.onSuccess)==null||P.call(M,I,F,E)},[b,d,e.mutationOptions,e.mutationMode]),w=re.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(hZ,{...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:C},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Ro,{children:[f.jsx(Xu,{disableIconOnly:!0,variant:"text",size:"medium",onClick:b,label:"ra.action.cancel"}),a?f.jsx(gZ,{onSubmit:a,closeDialog:b}):f.jsx(Fh,{type:"button"})]})}):null})})})]})}function vZ({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(Ln.VpnKey,{})})}function yZ({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}=og(),v=re.useResourceContext(g),b=m(),C=re.useRecordContext(),w=r||C,I=ut.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:Zu}):T.createElement(c,{style:Zu}):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:Zu}):T.createElement(u,{style:Zu}):null,d?f.jsx(S.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const Zu={width:"1.5rem",alignSelf:"center"};function iE(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(bZ,{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(Ln.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`},bZ=fe("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"?Pp(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"}})),Fg={p:0,m:0},sE={p:2,m:0,borderRadius:0,width:"100%"};function xZ(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:Fg,children:[f.jsx(S.ListItem,{sx:Fg,children:f.jsx(_.Button,{onClick:v,sx:sE,label:"ra.action.unselect",startIcon:f.jsx(_h,{}),children:f.jsx(_h,{})})}),B.Children.map(t,b=>{var C;return f.jsx(S.ListItem,{sx:Fg,children:B.isValidElement(b)?B.cloneElement(b,{filterValues:c,resource:u,selectedIds:d,sx:sE,...(C=b.props)!=null&&C.popover?{closePopover:s}:{}}):null})})]})})]})})}const aE=T.createContext({});aE.displayName="DatagridContext";function CZ({children:e,value:t}){return f.jsx(aE.Provider,{value:t,children:e})}const lE=f.jsx(_.BulkDeleteButton,{}),cE=B.forwardRef((e,t)=>{const{optimized:n=!1,body:r=n?_.PureDatagridBody:_.DatagridBody,header:o=_.DatagridHeader,children:s,className:a,empty:c=AZ,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=lE,hover:g,isRowSelectable:m,isRowExpandable:v,resource:b,rowClick:C,rowSx:w,rowStyle:I,size:F="small",sx:E,expandSingle:M=!1,...P}=e,{sort:D,data:L,isLoading:H,onSelect:K,onToggleItem:$,selectedIds:G,setSort:ae,total:le}=re.useListContext(e),J=!!h,Q=T.useMemo(()=>({isRowExpandable:v,expandSingle:M}),[v,M]),z=T.useRef(null);T.useEffect(()=>{(!G||G.length===0)&&(z.current=null)},[JSON.stringify(G)]);const ne=T.useCallback((W,te)=>{const V=L.map(ue=>ue.id),X=V.indexOf(z.current);if(z.current=te.target.checked?W:null,te.shiftKey&&X!==-1){const ue=V.indexOf(W),he=V.slice(Math.min(X,ue),Math.max(X,ue)+1),pe=te.target.checked?aU(G,he):wU(G,he);K(m?pe.filter(ge=>m(L.find(ve=>ve.id===ge))):pe)}else $(W)},[L,m,K,$,G]);return H===!0?f.jsx(_.DatagridLoading,{className:a,expand:u,hasBulkActions:J,nbChildren:B.Children.count(s),size:F}):L==null||L.length===0||le===0?c||null:f.jsx(CZ,{value:Q,children:f.jsxs(_.DatagridRoot,{sx:E,className:lt(_.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:G,total:le}):h!==!1?f.jsx(iE,{children:T.isValidElement(h)?h:lE}):null,f.jsx("div",{className:_.DatagridClasses.tableWrapper,children:f.jsxs(S.Table,{ref:t,className:_.DatagridClasses.table,size:F,...SZ(P),children:[uE(o,{children:s,sort:D,data:L,hasExpand:!!u,hasBulkActions:J,isRowSelectable:m,onSelect:K,resource:b,selectedIds:G,setSort:ae},s),uE(r,{expand:u,rowClick:C,data:L,hasBulkActions:J,hover:g,onToggleItem:ne,resource:b,rowSx:w,rowStyle:I,selectedIds:G,isRowSelectable:m},s)]})})]})})});function uE(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const wZ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function SZ(e){return Object.keys(re.sanitizeListRestProps(e)).filter(t=>!wZ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}cE.displayName="Datagrid";const AZ=f.jsx(_.ListNoResults,{}),TZ=fe(cE,{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 EZ(e){return f.jsx(TZ,{...e})}const IZ=fe("div")(({theme:e})=>({padding:e.spacing(2)}));function OZ({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(PZ,{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(IZ,{className:Ti.toolbar,children:e})]})}const Qu="ApplicaEmpty",Ti={message:`${Qu}-message`,icon:`${Qu}-icon`,toolbar:`${Qu}-toolbar`},PZ=fe("span",{name:Qu,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"}})),jZ=f.jsx(_.ListActions,{}),MZ=f.jsx(_.Pagination,{}),kZ=f.jsx(_.Empty,{}),FZ=S.Card;function LZ(e){const{actions:t=jZ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=MZ,children:u,className:d,component:h=FZ,title:g,empty:m=kZ,...v}=e,{defaultTitle:b,data:C,error:w,isLoading:I,filterValues:F,resource:E}=re.useListContext(e);if(!u||!C&&I&&s)return null;function M(){return f.jsxs("div",{className:Uo.main,children:[r||t?f.jsx(_.ListToolbar,{className:Uo.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:Uo.content,children:o&&u&&B.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(Rh,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:Uo.noResults,hasCreate:a})}const D=!I&&(C==null?void 0:C.length)===0&&!Object.keys(F).length&&m!==!1;return f.jsxs(DZ,{className:lt("list-page",d),...v,children:[f.jsx(_.Title,{title:g,defaultTitle:b,preferenceKey:`${E}.list.title`}),D?P():M(),n]})}const al="RaList",Uo={main:`${al}-main`,content:`${al}-content`,actions:`${al}-actions`,noResults:`${al}-noResults`},DZ=fe("div",{name:al,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${Uo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${Uo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${Uo.actions}`]:{},[`& .${Uo.noResults}`]:{}}));function _Z({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=RZ,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(LZ,{...g})})}const RZ={},BZ=Ma(_Z,{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 NZ(e){return f.jsx(Nn,{content:!1,children:f.jsx(BZ,{...e,pagination:f.jsx(Mg,{})})})}function VZ(){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(Ln.Email,{})})}function WZ(){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(Ln.Drafts,{})})}function zZ(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 UZ({...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(zZ,{source:"notification",sortable:!1}),f.jsx(yS,{source:"created"}),f.jsxs(Fo,{children:[f.jsx(VZ,{}),f.jsx(WZ,{})]})]})}const HZ=fe(_.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function GZ({children:e}){const t=Kt();return f.jsx(Nn,{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 Ju({version:e,name:t,copy:n,children:r,logo:o,background:s=Jc,footer:a=!0}){return f.jsxs(S.Box,{children:[f.jsx(Ig,{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(Og,{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(GZ,{children:r})})}),a?f.jsx(S.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(Eg,{name:t,copy:n,version:e})}):null]})]})]})}function YZ({name:e,copy:t,logo:n,version:r,background:o}){const s=re.useTranslate(),a=re.useAuthProvider(),c=re.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"}),q.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),q.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(Ju,{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 dE(){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:L1,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 fE({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=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(Ju,{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(re.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: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: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 KZ({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}`,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(Ju,{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(_.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 XZ({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}`,C=v.responseCode==="ok"?"info":"error";d(b,{type:C}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(Ju,{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(_.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 ZZ(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 QZ(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function JZ(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 qZ(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 $Z(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function eQ(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 tQ(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 nQ(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 rQ(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function oQ(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function iQ(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function sQ(){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 aQ(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 Lg(e){const t=aQ(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function lQ(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":{...Lg("small")},"&.size-medium":{...Lg("medium")},"&.size-large":{...Lg("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 Hn({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 cQ(e){const t=Hn({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":Hn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Hn({color:"secondary",theme:e}),"&.MuiChip-lightError":Hn({color:"error",theme:e}),"&.MuiChip-lightInfo":Hn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Hn({color:"success",theme:e}),"&.MuiChip-lightWarning":Hn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Hn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Hn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Hn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Hn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Hn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Hn({color:"warning",theme:e})}}}}}function uQ(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 dQ(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function fQ(){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 pQ(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 hQ(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 gQ(e){return{MuiInputBase:{styleOverrides:{}}}}function mQ(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 vQ(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function yQ(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function bQ(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function xQ(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function CQ(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function wQ(){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 SQ(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 AQ(){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 TQ(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 EQ(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 IQ(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 Dg(e){const t=IQ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function OQ(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":{...Dg("small")},"&.size-medium":{...Dg("medium")},"&.size-large":{...Dg("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 PQ(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 jQ(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 _g(e,t){const n=jQ(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 MQ(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},..._g(e,"medium")},sizeLarge:{..._g(e,"large")},sizeSmall:{..._g(e,"small")}}}}}function kQ(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 FQ(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 LQ(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 DQ(e){return{MuiTableFooter:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`2px solid ${e.palette.divider}`,borderBottom:`1px solid ${e.palette.divider}`}}}}}function _Q(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function RQ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function BQ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function NQ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function VQ(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 WQ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function zQ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function UQ(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function HQ(e){return ut.merge(ZZ(e),QZ(e),JZ(e),qZ(e),$Z(),eQ(e),tQ(e),nQ(e),rQ(),oQ(),iQ(),sQ(),lQ(e),cQ(e),uQ(e),dQ(e),fQ(),pQ(e),hQ(e),gQ(),mQ(e),vQ(),yQ(),bQ(e),xQ(e),CQ(),wQ(),SQ(e),AQ(),TQ(e),EQ(e),OQ(e),PQ(e),MQ(e),kQ(e),FQ(e),LQ(e),DQ(e),_Q(e),RQ(),BQ(),NQ(),VQ(e),WQ(e),zQ(),UQ())}function GQ(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 YQ(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 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=["#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 XQ(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 ZQ(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 QQ(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 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=["#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 qQ(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 $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=["#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 eJ(e,t,n){switch(t){case"theme1":return YQ(e,n);case"theme2":return KQ(e,n);case"theme3":return XQ(e,n);case"theme4":return ZQ(e,n);case"theme5":return QQ(e,n);case"theme6":return JQ(e,n);case"theme7":return qQ(e,n);case"theme8":return $Q(e,n);default:return GQ(e)}}var Rg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];Rg.primary=Rg[5];var Bg=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Bg.primary=Bg[5];var Ng=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Ng.primary=Ng[5];var Vg=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Vg.primary=Vg[5];var Wg=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Wg.primary=Wg[5];var zg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];zg.primary=zg[5];var Ug=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Ug.primary=Ug[5];var Hg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Hg.primary=Hg[5];var Gg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Gg.primary=Gg[5];var Yg=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Yg.primary=Yg[5];var Kg=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];Kg.primary=Kg[5];var Xg=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];Xg.primary=Xg[5];var Zg=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];Zg.primary=Zg[5];var tJ={red:Rg,volcano:Bg,orange:Ng,gold:Vg,yellow:Wg,lime:zg,green:Ug,cyan:Hg,blue:Gg,geekblue:Yg,purple:Kg,magenta:Xg,grey:Zg},Qg=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];Qg.primary=Qg[5];var Jg=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];Jg.primary=Jg[5];var qg=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];qg.primary=qg[5];var $g=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];$g.primary=$g[5];var em=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];em.primary=em[5];var tm=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];tm.primary=tm[5];var nm=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];nm.primary=nm[5];var rm=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];rm.primary=rm[5];var om=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];om.primary=om[5];var im=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];im.primary=im[5];var sm=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];sm.primary=sm[5];var am=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];am.primary=am[5];var lm=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];lm.primary=lm[5];var nJ={red:Qg,volcano:Jg,orange:qg,gold:$g,yellow:em,lime:tm,green:nm,cyan:rm,blue:om,geekblue:im,purple:sm,magenta:am,grey:lm};function rJ(e,t){const n=e==="dark"?nJ:tJ;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=eJ(n,t,e);return fp({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 oJ(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 iJ(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 cm({themeOverrides:e,children:t}){const n=En(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>rJ(o,s),[o,s]),u=T.useMemo(()=>iJ(a),[a]),d=T.useMemo(()=>oJ(c),[c]),h=T.useMemo(()=>q.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=fp(h),m=q.cloneDeep(g.components??{});return g.components=q.merge(HQ(g),m),f.jsx(S.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(zx,{theme:g,children:[f.jsx(S.CssBaseline,{enableColorScheme:!0}),t]})})}function sJ({children:e,theme:t,...n}){return f.jsx(_.CoreAdminContext,{...n,children:f.jsx(cm,{themeOverrides:t,children:f.jsx(rE,{children:e})})})}function pE(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=_.localStorageStore(),ready:F,theme:E,title:M="React Admin"}=e;return f.jsx(sJ,{authProvider:t,dataProvider:s,i18nProvider:u,store:I,history:c,queryClient:C,theme:E,children:f.jsx(_.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:M,loading:h,loginPage:g,authCallbackPage:m,notification:b,requireAuth:w,ready:F,children:r})})}class hE{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 aJ{constructor(t){yo(this,ll);yo(this,cl);yo(this,Ws,new Set);const{apiUrl:n}=t??{};if(!q.isString(n)||q.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");ei(this,cl,n),ei(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}`;Fn(this,Ws).has(a)||(Fn(this,Ws).add(a),fetch(`${Fn(this,cl)}/ui/error-log`,{method:"PUT",headers:Fn(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),Fn(this,Ws).delete(a)}))}}ll=new WeakMap,cl=new WeakMap,Ws=new WeakMap;function lJ({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new hE({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=B.useMemo(()=>o.errorHandler?o.errorHandler:new aJ({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 cJ{constructor(t){yo(this,ul);yo(this,dl);yo(this,ji,[]);const{apiUrl:n}=t??{};if(!q.isString(n)||q.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");ei(this,dl,n),ei(this,ul,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!q.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!q.isString(n)||q.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!q.isString(r)||q.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!q.some(Fn(this,ji),o=>q.isEqual(o,{code:n,lang:r}))){Fn(this,ji).push({code:n,lang:r}),fetch(`${Fn(this,dl)}/i18n/message`,{method:"put",headers:Fn(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),ei(this,ji,q.reject(Fn(this,ji),s=>q.isEqual(s,{code:n,lang:r})))});return}}}ul=new WeakMap,dl=new WeakMap,ji=new WeakMap;function gE(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 cJ({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&&(q.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 q.get(v,C,{})}return j0(b,n,m,{allowMissing:r||o,onMissingKey:h})})}function uJ(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 q.get(d,g,{})}return j0(h,t,u,{allowMissing:!0})})}function dJ({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 mE(e){const[t,n]=T.useState(),r=iS(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}gE(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const fJ=new Ui.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function pJ({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(fE,{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:F=!1,enablePasswordRecover:E=!1,enableThemeToggler:M=!1,enableLocaleSwitcher:P=!1,queryClient:D=fJ,background:L,notificationAPI:H="entities/notification",...K}){lJ({apiUrl:n,errorHandler:C,catcherFn:le=>{const J=le==null?void 0:le.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(W=>J==null?void 0:J.includes(W));return new hE({catch:z,display:!z,log:!z&&o===!0,error:J})}});const $=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:L,enableRegistration:F,enablePasswordRecover:E}):c,[c,d,g,h,L,s,F,E]),G=T.useMemo(()=>le=>{const J=d?f.jsx(Og,{title:d}):s,Q=d?f.jsx(oE,{title:d}):a;return f.jsx(KT,{...le,name:d,copy:h,version:g,logoMain:J,logoIcon:Q,notification:H,enableThemeToggler:M,enableNotification:I,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,H,I,M,P]),ae=mE({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:b});return ae===void 0?f.jsx(f.Fragment,{}):ae.error?f.jsx(ng,{initialConfig:t,children:f.jsx(cm,{themeOverrides:e,children:f.jsx(dE,{})})}):f.jsx(kH,{children:f.jsx(Pw,{menu:u,children:f.jsx(ng,{initialConfig:t,children:f.jsx(pE,{theme:e,layout:G,notification:ZT,queryClient:D,dataProvider:m,authProvider:v,i18nProvider:ae,loginPage:$,...K})})})})}Object.defineProperty(j,"ArrayField",{enumerable:!0,get:()=>_.ArrayField}),Object.defineProperty(j,"ArrayInputContext",{enumerable:!0,get:()=>_.ArrayInputContext}),Object.defineProperty(j,"BooleanField",{enumerable:!0,get:()=>_.BooleanField}),Object.defineProperty(j,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>_.BulkDeleteWithConfirmButton}),Object.defineProperty(j,"ChipField",{enumerable:!0,get:()=>_.ChipField}),Object.defineProperty(j,"Confirm",{enumerable:!0,get:()=>_.Confirm}),Object.defineProperty(j,"CreateButton",{enumerable:!0,get:()=>_.CreateButton}),Object.defineProperty(j,"CreateContextProvider",{enumerable:!0,get:()=>_.CreateContextProvider}),Object.defineProperty(j,"CustomRoutes",{enumerable:!0,get:()=>_.CustomRoutes}),Object.defineProperty(j,"DeleteWithConfirmButton",{enumerable:!0,get:()=>_.DeleteWithConfirmButton}),Object.defineProperty(j,"DeleteWithUndoButton",{enumerable:!0,get:()=>_.DeleteWithUndoButton}),Object.defineProperty(j,"EditButton",{enumerable:!0,get:()=>_.EditButton}),Object.defineProperty(j,"EditContextProvider",{enumerable:!0,get:()=>_.EditContextProvider}),Object.defineProperty(j,"FieldTitle",{enumerable:!0,get:()=>_.FieldTitle}),Object.defineProperty(j,"FilterButton",{enumerable:!0,get:()=>_.FilterButton}),Object.defineProperty(j,"Form",{enumerable:!0,get:()=>_.Form}),Object.defineProperty(j,"FormDataConsumer",{enumerable:!0,get:()=>_.FormDataConsumer}),Object.defineProperty(j,"HttpError",{enumerable:!0,get:()=>_.HttpError}),Object.defineProperty(j,"I18nContextProvider",{enumerable:!0,get:()=>_.I18nContextProvider}),Object.defineProperty(j,"ListBase",{enumerable:!0,get:()=>_.ListBase}),Object.defineProperty(j,"ListToolbar",{enumerable:!0,get:()=>_.ListToolbar}),Object.defineProperty(j,"LoadingIndicator",{enumerable:!0,get:()=>_.LoadingIndicator}),Object.defineProperty(j,"RaSimpleFormIterator",{enumerable:!0,get:()=>_.SimpleFormIterator}),Object.defineProperty(j,"RecordContextProvider",{enumerable:!0,get:()=>_.RecordContextProvider}),Object.defineProperty(j,"ReferenceArrayField",{enumerable:!0,get:()=>_.ReferenceArrayField}),Object.defineProperty(j,"ReferenceField",{enumerable:!0,get:()=>_.ReferenceField}),Object.defineProperty(j,"Resource",{enumerable:!0,get:()=>_.Resource}),Object.defineProperty(j,"ResourceContextProvider",{enumerable:!0,get:()=>_.ResourceContextProvider}),Object.defineProperty(j,"SaveButton",{enumerable:!0,get:()=>_.SaveButton}),Object.defineProperty(j,"SimpleFormIteratorContext",{enumerable:!0,get:()=>_.SimpleFormIteratorContext}),Object.defineProperty(j,"SimpleShowLayout",{enumerable:!0,get:()=>_.SimpleShowLayout}),Object.defineProperty(j,"SingleFieldList",{enumerable:!0,get:()=>_.SingleFieldList}),Object.defineProperty(j,"TabbedFormTabs",{enumerable:!0,get:()=>_.TabbedFormTabs}),Object.defineProperty(j,"TopToolbar",{enumerable:!0,get:()=>_.TopToolbar}),Object.defineProperty(j,"UrlField",{enumerable:!0,get:()=>_.UrlField}),Object.defineProperty(j,"ValidationError",{enumerable:!0,get:()=>_.ValidationError}),Object.defineProperty(j,"choices",{enumerable:!0,get:()=>_.choices}),Object.defineProperty(j,"email",{enumerable:!0,get:()=>_.email}),Object.defineProperty(j,"maxLength",{enumerable:!0,get:()=>_.maxLength}),Object.defineProperty(j,"maxValue",{enumerable:!0,get:()=>_.maxValue}),Object.defineProperty(j,"minLength",{enumerable:!0,get:()=>_.minLength}),Object.defineProperty(j,"minValue",{enumerable:!0,get:()=>_.minValue}),Object.defineProperty(j,"number",{enumerable:!0,get:()=>_.number}),Object.defineProperty(j,"regex",{enumerable:!0,get:()=>_.regex}),Object.defineProperty(j,"required",{enumerable:!0,get:()=>_.required}),Object.defineProperty(j,"useArrayInput",{enumerable:!0,get:()=>_.useArrayInput}),Object.defineProperty(j,"useAuthProvider",{enumerable:!0,get:()=>_.useAuthProvider}),Object.defineProperty(j,"useChoices",{enumerable:!0,get:()=>_.useChoices}),Object.defineProperty(j,"useChoicesContext",{enumerable:!0,get:()=>_.useChoicesContext}),Object.defineProperty(j,"useCreate",{enumerable:!0,get:()=>_.useCreate}),Object.defineProperty(j,"useCreateContext",{enumerable:!0,get:()=>_.useCreateContext}),Object.defineProperty(j,"useCreateController",{enumerable:!0,get:()=>_.useCreateController}),Object.defineProperty(j,"useCreateSuggestionContext",{enumerable:!0,get:()=>_.useCreateSuggestionContext}),Object.defineProperty(j,"useDataProvider",{enumerable:!0,get:()=>_.useDataProvider}),Object.defineProperty(j,"useEditContext",{enumerable:!0,get:()=>_.useEditContext}),Object.defineProperty(j,"useEditController",{enumerable:!0,get:()=>_.useEditController}),Object.defineProperty(j,"useGetIdentity",{enumerable:!0,get:()=>_.useGetIdentity}),Object.defineProperty(j,"useGetList",{enumerable:!0,get:()=>_.useGetList}),Object.defineProperty(j,"useGetMany",{enumerable:!0,get:()=>_.useGetMany}),Object.defineProperty(j,"useGetManyReference",{enumerable:!0,get:()=>_.useGetManyReference}),Object.defineProperty(j,"useGetOne",{enumerable:!0,get:()=>_.useGetOne}),Object.defineProperty(j,"useInput",{enumerable:!0,get:()=>_.useInput}),Object.defineProperty(j,"useListContext",{enumerable:!0,get:()=>_.useListContext}),Object.defineProperty(j,"useListController",{enumerable:!0,get:()=>_.useListController}),Object.defineProperty(j,"useLocaleState",{enumerable:!0,get:()=>_.useLocaleState}),Object.defineProperty(j,"useLocales",{enumerable:!0,get:()=>_.useLocales}),Object.defineProperty(j,"useNotify",{enumerable:!0,get:()=>_.useNotify}),Object.defineProperty(j,"usePermissions",{enumerable:!0,get:()=>_.usePermissions}),Object.defineProperty(j,"useRecordContext",{enumerable:!0,get:()=>_.useRecordContext}),Object.defineProperty(j,"useRefresh",{enumerable:!0,get:()=>_.useRefresh}),Object.defineProperty(j,"useRemoveFromStore",{enumerable:!0,get:()=>_.useRemoveFromStore}),Object.defineProperty(j,"useResetStore",{enumerable:!0,get:()=>_.useResetStore}),Object.defineProperty(j,"useResourceContext",{enumerable:!0,get:()=>_.useResourceContext}),Object.defineProperty(j,"useResourceDefinition",{enumerable:!0,get:()=>_.useResourceDefinition}),Object.defineProperty(j,"useResourceDefinitions",{enumerable:!0,get:()=>_.useResourceDefinitions}),Object.defineProperty(j,"useShowContext",{enumerable:!0,get:()=>_.useShowContext}),Object.defineProperty(j,"useShowController",{enumerable:!0,get:()=>_.useShowController}),Object.defineProperty(j,"useSimpleFormIterator",{enumerable:!0,get:()=>_.useSimpleFormIterator}),Object.defineProperty(j,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>_.useSimpleFormIteratorItem}),Object.defineProperty(j,"useStore",{enumerable:!0,get:()=>_.useStore}),Object.defineProperty(j,"useStoreContext",{enumerable:!0,get:()=>_.useStoreContext}),Object.defineProperty(j,"useTranslate",{enumerable:!0,get:()=>_.useTranslate}),Object.defineProperty(j,"useTranslateLabel",{enumerable:!0,get:()=>_.useTranslateLabel}),Object.defineProperty(j,"useUnselect",{enumerable:!0,get:()=>_.useUnselect}),Object.defineProperty(j,"useUnselectAll",{enumerable:!0,get:()=>_.useUnselectAll}),Object.defineProperty(j,"useUpdate",{enumerable:!0,get:()=>_.useUpdate}),Object.defineProperty(j,"useUpdateMany",{enumerable:!0,get:()=>_.useUpdateMany}),Object.defineProperty(j,"withLifecycleCallbacks",{enumerable:!0,get:()=>_.withLifecycleCallbacks}),j.ActionsField=DH,j.ActionsMenu=Fo,j.ActivatePage=YZ,j.AddTableRow=fg,j.Admin=pE,j.AnimateButton=Q4,j.AppBarStyled=jT,j.ApplicaAdmin=pJ,j.ArrayInput=LH,j.AttachmentField=hS,j.AttachmentInput=sG,j.AuthBackground=Jc,j.AutocompleteArrayInput=lG,j.AutocompleteInput=uG,j.Avatar=Lc,j.BooleanInput=fG,j.Breadcrumbs=e1,j.BulkActionsToolbar=iE,j.BulkFloatingActionsToolbar=xZ,j.Button=Xu,j.CardForm=aS,j.ChangePasswordForm=ig,j.CircularWithLabel=qF,j.CircularWithPath=$F,j.CoverField=mS,j.Create=HG,j.CreateInDialogButton=pZ,j.Datagrid=EZ,j.DateAgoField=yS,j.DateField=HH,j.DateInput=gG,j.DateTimeInput=vG,j.Dot=Rp,j.Drawer=PT,j.DrawerHeader=uA,j.DrawerHeaderStyled=lA,j.DrawerToggle=FT,j.Edit=KG,j.EditInDialogButton=mZ,j.EmailField=YH,j.Empty=OZ,j.EmptyClasses=Ti,j.Error=Rh,j.Field=qS,j.FileField=bS,j.FileInput=bG,j.Footer=Eg,j.FormHeader=QG,j.FunctionField=XH,j.GenericErrorPage=dE,j.Header=LT,j.HeaderButton=MT,j.HeaderIconButton=kX,j.HeaderNotification=DT,j.HeaderProfile=_T,j.HeaderSpacer=BT,j.HeaderToggleButton=Ls,j.HorizontalBar=NT,j.IconButton=Nc,j.ImageField=gS,j.ImageInput=xG,j.ImpersonateUserButton=vZ,j.LabeledArrayInput=fS,j.LabeledInput=rn,j.Layout=KT,j.LayoutContent=aA,j.LayoutProvider=oA,j.LayoutWrapper=YT,j.LinearWithIcon=eL,j.LinearWithLabel=tL,j.List=NZ,j.ListItem=yZ,j.Loadable=UX,j.Loader=XT,j.LoadingButton=XF,j.LocalStorage=$w,j.LocaleButton=kT,j.LocalizedTextField=QH,j.LocalizedTextInput=SG,j.LoginPage=fE,j.Logo=cA,j.LongForm=Ft,j.MainCard=Nn,j.MainIcon=Og,j.MenuConfigProvider=Pw,j.MenuPopover=F1,j.NavCollapse=il,j.NavGroup=zT,j.NavItem=ol,j.NavList=UT,j.NavMenu=VT,j.Navigation=HT,j.Notification=ZT,j.NotificationList=UZ,j.NumberInput=TG,j.OnboardingActionType=Ds,j.OnboardingContext=Pg,j.OnboardingModes=sl,j.OnboardingProvider=ZX,j.OnboardingTip=$X,j.Pagination=Mg,j.PaginationActions=jg,j.PopupTransition=JF,j.RadioButtonGroupInput=IG,j.ReadonlyField=eG,j.RecordInput=OG,j.RecoverPage=KZ,j.ReferenceArrayInput=PG,j.ReferenceInput=jG,j.ReferenceManyField=CS,j.ReferenceManyInput=MG,j.RegisterPage=XZ,j.ResponsiveSection=RT,j.ScrollTop=rE,j.ScrollX=rZ,j.SearchInput=FG,j.SelectArrayInput=DG,j.SelectInput=RG,j.ShadowBox=oZ,j.Show=fY,j.SimpleBar=OT,j.SimpleForm=lS,j.SimpleFormIterator=hY,j.SimpleList=HZ,j.SizeField=rG,j.SmallIcon=oE,j.SmartTextInput=BG,j.StyledArrow=M1,j.TabbedForm=dg,j.TableFormIterator=Ru,j.TableFormIteratorContext=hg,j.TableFormIteratorItem=eA,j.TableFormIteratorItemContext=pg,j.TextField=xS,j.TextInput=Tr,j.ThemeColor=Ig,j.ThemeContext=tg,j.ThemeCustomizationProvider=cm,j.ThemeProvider=ng,j.ThemeToggler=GT,j.TimeInput=zG,j.Toolbar=Ro,j.Tooltip=Qc,j.Transitions=gi,j.WizardForm=nA,j.createI18nProvider=gE,j.createJsonI18nProvider=uJ,j.getLocalizedValue=qh,j.getPosition=k1,j.getThemeColor=Qt,j.getThemeShadow=hs,j.localizedValueHasAllLocales=ku,j.localizedValueHasAtLeastOneLocale=eS,j.onboardingModesSchema=JT,j.onboardingTopicSchema=QT,j.parseTime=rS,j.useBreadcrumbs=jw,j.useGetLocalizedValue=AH,j.useI18nLanguages=dJ,j.useI18nProvider=mE,j.useLayoutContext=gg,j.useLayoutDispatch=jY,j.useLayoutDrawerState=Si,j.useLayoutLogoState=sA,j.useLayoutMediaState=Wn,j.useLayoutNotificationsState=Nu,j.useLayoutState=Ps,j.useLayoutThemeState=MY,j.useLocalStorage=$h,j.useLocalizedValue=SH,j.useMemoizedObject=iS,j.useMenu=Nh,j.useMenuConfig=Za,j.useMenuContext=Au,j.useOnboardingDataProvider=qT,j.useOnboardingTip=tE,j.usePopoverState=Ja,j.useRefDimensions=TH,j.useResourceDefaultValues=GG,j.useResourceTitle=eg,j.useRestartOnboarding=JX,j.useSx=Sr,j.useTableFormIterator=$S,j.useTableFormIteratorItem=JS,j.useThemeConfig=En,j.useThemeContext=rg,j.useWizardFormContext=Bu,j.uuid=kU,j.walkChildren=Fu,j.withLayoutProvider=iA,Object.defineProperty(j,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(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)=>{An.isError(u)&&(u.value=d),c(u)},(u,d)=>{u.length?c(new An(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 An.isError(c)&&(c.value=u),c},(c,u)=>{if(c.length)throw new An(c,t,void 0,void 0,a);s=u}),s}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(An.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(An.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=zw(t).map(s=>new wi(s));return o.forEach(s=>{s.isSibling&&r.deps.push(s.key)}),r.conditions.push(typeof n=="function"?new Pu(o,n):Pu.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}=oH(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 iH=()=>!0;function Kw(e){return new Xw(e)}class Xw extends dr{constructor(t){super(typeof t=="function"?{type:"mixed",check:t}:Object.assign({type:"mixed",check:iH},t))}}Kw.prototype=Xw.prototype;const sH=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function aH(e){const t=eg(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 eg(e){var t,n;const r=sH.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 lH=/^[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])?)*$/,cH=/^((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,uH=/^(?:[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,dH="^\\d{4}-\\d{2}-\\d{2}",fH="\\d{2}:\\d{2}:\\d{2}",pH="(([+-]\\d{2}(:?\\d{2})?)|Z)",hH=new RegExp(`${dH}T${fH}(\\.\\d+)?${pH}$`),gH=e=>oo(e)||e===e.trim(),mH={}.toString();function so(){return new Zw}class Zw 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===mH?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=Tn.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=Tn.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=Tn.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||Tn.matches,params:{regex:t},skipAbsent:!0,test:a=>a===""&&r||a.search(t)!==-1})}email(t=Tn.email){return this.matches(lH,{name:"email",message:t,excludeEmptyString:!0})}url(t=Tn.url){return this.matches(cH,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=Tn.uuid){return this.matches(uH,{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(hH,{name:"datetime",message:n||Tn.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||Tn.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:s=>{if(!s||r)return!0;const a=eg(s);return a?!!a.z:!1}}).test({name:"datetime_precision",message:n||Tn.datetime_precision,params:{precision:o},skipAbsent:!0,test:s=>{if(!s||o==null)return!0;const a=eg(s);return a?a.precision===o:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=Tn.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:gH})}lowercase(t=Tn.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=Tn.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=Zw.prototype;let vH=e=>e!=+e;function Qw(){return new Jw}class Jw extends dr{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!vH(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))}}Qw.prototype=Jw.prototype;let yH=new Date(""),bH=e=>Object.prototype.toString.call(e)==="[object Date]";class ku extends dr{constructor(){super({type:"date",check(t){return bH(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=aH(t),isNaN(t)?ku.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(wi.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=Jh.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=Jh.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)}})}}ku.INVALID_DATE=yH,ku.prototype;function xH(e,t=[]){let n=[],r=new Set,o=new Set(t.map(([a,c])=>`${a}-${c}`));function s(a,c){let u=Ci.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),wi.isRef(c)&&c.isSibling?s(c.path,a):$h(c)&&"deps"in c&&c.deps.forEach(u=>s(u,a))}return ZU.array(Array.from(r),n).reverse()}function qw(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 $w(e){return(t,n)=>qw(e,t)-qw(e,n)}const CH=(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 Fu(e){if("fields"in e){const t={};for(const[n,r]of Object.entries(e.fields))t[n]=Fu(r);return e.setFields(t)}if(e.type==="array"){const t=e.optional();return t.innerType&&(t.innerType=Fu(t.innerType)),t}return e.type==="tuple"?e.optional().clone({types:e.spec.types.map(Fu)}):"optional"in e?e.optional():e}const wH=(e,t)=>{const n=[...Ci.normalizePath(t)];if(n.length===1)return n[0]in e;let r=n.pop(),o=Ci.getter(Ci.join(n),!0)(e);return!!(o&&r in o)};let eS=e=>Object.prototype.toString.call(e)==="[object Object]";function SH(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(r=>n.indexOf(r)===-1)}const AH=$w([]);function tg(e){return new tS(e)}class tS extends dr{constructor(t){super({type:"object",check(n){return eS(n)||typeof n=="function"}}),this.fields=Object.create(null),this._sortErrors=AH,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,E=w==null?void 0:w.strict;if(w!=null&&w.strip){h=h||g in o;continue}b=!n.__validating||!E?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||!eS(d)){o(u,d);return}a=a||d;let h=[];for(let g of this._nodes){let m=this.fields[g];!m||wi.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=xH(t,n),r._sortErrors=$w(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 Fu(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=Ci.getter(t,!0);return this.transform(s=>{if(!s)return s;let a=s;return wH(s,t)&&(a=Object.assign({},s),r||delete a[t],a[n]=o(s)),a})}json(){return this.transform(CH)}noUnknown(t=!0,n=qh.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=SH(this.schema,o);return!t||s.length===0||this.createError({params:{unknown:s.join(", ")}})}});return r.spec.noUnknown=t,r}unknown(t=!0,n=qh.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(Zh.camelCase)}snakeCase(){return this.transformKeys(Zh.snakeCase)}constantCase(){return this.transformKeys(t=>Zh.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}}tg.prototype=tS.prototype;const nS=Kw().test("function","Invalid function",e=>q.isFunction(e));class rS{constructor(){yo(this,Pi);yo(this,Ho,[])}get(t){if(so().required().validateSync(t),Fl(this,Pi,Ll).call(this)){const n=localStorage.getItem(t);return q.isNil(n)?null:JSON.parse(n)}else return null}set(t,n){return so().required().validateSync(t),Fl(this,Pi,Ll).call(this)?(localStorage.setItem(t,JSON.stringify(n)),n):null}watch(t,n){so().required().validateSync(t),nS.validateSync(n),Fl(this,Pi,Ll).call(this)&&(Fn(this,Ho).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),nS.optional().default(q.identity).validateSync(n),Fl(this,Pi,Ll).call(this)&&(n!==void 0?ei(this,Ho,q.reject(Fn(this,Ho),r=>r.key===t&&r.callback===n)):ei(this,Ho,q.reject(Fn(this,Ho),r=>r.key===t)))}}Ho=new WeakMap,Pi=new WeakSet,Ll=function(){return typeof window<"u"};function Lu(e={},t=[],n={}){const{isEmpty:r=q.isEmpty}=n;return!q.some(t,o=>r((e??{})[o.locale]))}function oS(e={},t=[],n={}){const{isEmpty:r=q.isEmpty}=n;return q.some(t,o=>!r((e??{})[o.locale]))}function ng(e,t,n){if(!q.isPlainObject(e)||t===void 0)return;const r=q.isPlainObject(n)?n:{},o=!!((r==null?void 0:r.fallback)??!0);let s=e[String(t)];if(s===void 0&&o){const a=q.isArray(r.fallbackLocales)&&!q.isEmpty(r.fallbackLocales)?r.fallbackLocales:["en"];s=q.chain(a).map(c=>e[String(c)]).reject(q.isUndefined).first().value(),s===void 0&&(s=q.chain(e).values().first().value())}return s}function Du(e=[],t){const n=q.isArray(e)?e:[e],r=q.filter(n,o=>T.isValidElement(o));q.each(r,o=>{var s;t(o),Du(((s=o==null?void 0:o.props)==null?void 0:s.children)??[],t)})}var iS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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+)?$/,E=/\[([^\]]+)]|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(J){var Q=["th","st","nd","rd"],z=J%100;return"["+J+(Q[(z-20)%10]||Q[z]||Q[0])+"]"}},I=function(J,Q,z){var ne=String(J);return!ne||ne.length>=Q?J:""+Array(Q+1-ne.length).join(z)+J},M={s:I,z:function(J){var Q=-J.utcOffset(),z=Math.abs(Q),ne=Math.floor(z/60),W=z%60;return(Q<=0?"+":"-")+I(ne,2,"0")+":"+I(W,2,"0")},m:function J(Q,z){if(Q.date()<z.date())return-J(z,Q);var ne=12*(z.year()-Q.year())+(z.month()-Q.month()),W=Q.clone().add(ne,g),te=z-W<0,V=Q.clone().add(ne+(te?-1:1),g);return+(-(ne+(z-W)/(te?W-V:V-W))||0)},a:function(J){return J<0?Math.ceil(J)||0:Math.floor(J)},p:function(J){return{M:g,y:v,w:h,d,D:b,h:u,m:c,s:a,ms:s,Q:m}[J]||String(J||"").toLowerCase().replace(/s$/,"")},u:function(J){return J===void 0}},P="en",D={};D[P]=F;var L="$isDayjsObject",H=function(J){return J instanceof ae||!(!J||!J[L])},K=function J(Q,z,ne){var W;if(!Q)return P;if(typeof Q=="string"){var te=Q.toLowerCase();D[te]&&(W=te),z&&(D[te]=z,W=te);var V=Q.split("-");if(!W&&V.length>1)return J(V[0])}else{var X=Q.name;D[X]=Q,W=X}return!ne&&W&&(P=W),W||!ne&&P},$=function(J,Q){if(H(J))return J.clone();var z=typeof Q=="object"?Q:{};return z.date=J,z.args=arguments,new ae(z)},G=M;G.l=K,G.i=H,G.w=function(J,Q){return $(J,{locale:Q.$L,utc:Q.$u,x:Q.$x,$offset:Q.$offset})};var ae=function(){function J(z){this.$L=K(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[L]=!0}var Q=J.prototype;return Q.parse=function(z){this.$d=function(ne){var W=ne.date,te=ne.utc;if(W===null)return new Date(NaN);if(G.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var V=W.match(w);if(V){var X=V[2]-1||0,ue=(V[7]||"0").substring(0,3);return te?new Date(Date.UTC(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)):new Date(V[1],X,V[3]||1,V[4]||0,V[5]||0,V[6]||0,ue)}}return new Date(W)}(z),this.init()},Q.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()},Q.$utils=function(){return G},Q.isValid=function(){return this.$d.toString()!==C},Q.isSame=function(z,ne){var W=$(z);return this.startOf(ne)<=W&&W<=this.endOf(ne)},Q.isAfter=function(z,ne){return $(z)<this.startOf(ne)},Q.isBefore=function(z,ne){return this.endOf(ne)<$(z)},Q.$g=function(z,ne,W){return G.u(z)?this[ne]:this.set(W,z)},Q.unix=function(){return Math.floor(this.valueOf()/1e3)},Q.valueOf=function(){return this.$d.getTime()},Q.startOf=function(z,ne){var W=this,te=!!G.u(ne)||ne,V=G.p(z),X=function(be,we){var Ie=G.w(W.$u?Date.UTC(W.$y,we,be):new Date(W.$y,we,be),W);return te?Ie:Ie.endOf(d)},ue=function(be,we){return G.w(W.toDate()[be].apply(W.toDate("s"),(te?[0,0,0,0]:[23,59,59,999]).slice(we)),W)},he=this.$W,pe=this.$M,ge=this.$D,ve="set"+(this.$u?"UTC":"");switch(V){case v:return te?X(1,0):X(31,11);case g:return te?X(1,pe):X(0,pe+1);case h:var Te=this.$locale().weekStart||0,Ce=(he<Te?he+7:he)-Te;return X(te?ge-Ce:ge+(6-Ce),pe);case d:case b:return ue(ve+"Hours",0);case u:return ue(ve+"Minutes",1);case c:return ue(ve+"Seconds",2);case a:return ue(ve+"Milliseconds",3);default:return this.clone()}},Q.endOf=function(z){return this.startOf(z,!1)},Q.$set=function(z,ne){var W,te=G.p(z),V="set"+(this.$u?"UTC":""),X=(W={},W[d]=V+"Date",W[b]=V+"Date",W[g]=V+"Month",W[v]=V+"FullYear",W[u]=V+"Hours",W[c]=V+"Minutes",W[a]=V+"Seconds",W[s]=V+"Milliseconds",W)[te],ue=te===d?this.$D+(ne-this.$W):ne;if(te===g||te===v){var he=this.clone().set(b,1);he.$d[X](ue),he.init(),this.$d=he.set(b,Math.min(this.$D,he.daysInMonth())).$d}else X&&this.$d[X](ue);return this.init(),this},Q.set=function(z,ne){return this.clone().$set(z,ne)},Q.get=function(z){return this[G.p(z)]()},Q.add=function(z,ne){var W,te=this;z=Number(z);var V=G.p(ne),X=function(pe){var ge=$(te);return G.w(ge.date(ge.date()+Math.round(pe*z)),te)};if(V===g)return this.set(g,this.$M+z);if(V===v)return this.set(v,this.$y+z);if(V===d)return X(1);if(V===h)return X(7);var ue=(W={},W[c]=r,W[u]=o,W[a]=n,W)[V]||1,he=this.$d.getTime()+z*ue;return G.w(he,this)},Q.subtract=function(z,ne){return this.add(-1*z,ne)},Q.format=function(z){var ne=this,W=this.$locale();if(!this.isValid())return W.invalidDate||C;var te=z||"YYYY-MM-DDTHH:mm:ssZ",V=G.z(this),X=this.$H,ue=this.$m,he=this.$M,pe=W.weekdays,ge=W.months,ve=W.meridiem,Te=function(we,Ie,fe,qe){return we&&(we[Ie]||we(ne,te))||fe[Ie].slice(0,qe)},Ce=function(we){return G.s(X%12||12,we,"0")},be=ve||function(we,Ie,fe){var qe=we<12?"AM":"PM";return fe?qe.toLowerCase():qe};return te.replace(E,function(we,Ie){return Ie||function(fe){switch(fe){case"YY":return String(ne.$y).slice(-2);case"YYYY":return G.s(ne.$y,4,"0");case"M":return he+1;case"MM":return G.s(he+1,2,"0");case"MMM":return Te(W.monthsShort,he,ge,3);case"MMMM":return Te(ge,he);case"D":return ne.$D;case"DD":return G.s(ne.$D,2,"0");case"d":return String(ne.$W);case"dd":return Te(W.weekdaysMin,ne.$W,pe,2);case"ddd":return Te(W.weekdaysShort,ne.$W,pe,3);case"dddd":return pe[ne.$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,ue,!0);case"A":return be(X,ue,!1);case"m":return String(ue);case"mm":return G.s(ue,2,"0");case"s":return String(ne.$s);case"ss":return G.s(ne.$s,2,"0");case"SSS":return G.s(ne.$ms,3,"0");case"Z":return V}return null}(we)||V.replace(":","")})},Q.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Q.diff=function(z,ne,W){var te,V=this,X=G.p(ne),ue=$(z),he=(ue.utcOffset()-this.utcOffset())*r,pe=this-ue,ge=function(){return G.m(V,ue)};switch(X){case v:te=ge()/12;break;case g:te=ge();break;case m:te=ge()/3;break;case h:te=(pe-he)/6048e5;break;case d:te=(pe-he)/864e5;break;case u:te=pe/o;break;case c:te=pe/r;break;case a:te=pe/n;break;default:te=pe}return W?te:G.a(te)},Q.daysInMonth=function(){return this.endOf(g).$D},Q.$locale=function(){return D[this.$L]},Q.locale=function(z,ne){if(!z)return this.$L;var W=this.clone(),te=K(z,ne,!0);return te&&(W.$L=te),W},Q.clone=function(){return G.w(this.$d,this)},Q.toDate=function(){return new Date(this.valueOf())},Q.toJSON=function(){return this.isValid()?this.toISOString():null},Q.toISOString=function(){return this.$d.toISOString()},Q.toString=function(){return this.$d.toUTCString()},J}(),le=ae.prototype;return $.prototype=le,[["$ms",s],["$s",a],["$m",c],["$H",u],["$W",d],["$M",g],["$y",v],["$D",b]].forEach(function(J){le[J[1]]=function(Q){return this.$g(Q,J[0],J[1])}}),$.extend=function(J,Q){return J.$i||(J(Q,ae,$),J.$i=!0),$},$.locale=K,$.isDayjs=H,$.unix=function(J){return $(1e3*J)},$.en=D[P],$.Ls=D,$.p={},$})})(iS);var sS=iS.exports;const Ar=Qr(sS);function aS(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 rS;function TH(e,t,n){return function(r){const o=q.isFunction(r)?r(t):r;return Qa.set(e,o),n(o),o}}function rg(e,t){var u;so().required().validateSync(e);const[n,r]=T.useState(Qa.get(e)??t),o=T.useRef(t),s=q.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)||!q.isEqual(n,c==null?void 0:c.value))&&(a.current={key:e,value:n,setter:TH(e,n,r)}),[n,((u=a.current)==null?void 0:u.setter)??q.noop]}function lS(e){const[t]=re.useLocaleState();return e!==void 0?String(e):t}function EH(e,t){const n=lS(t==null?void 0:t.locale);return ng(e,n,t)}function IH(e){const t=lS(e==null?void 0:e.locale);return T.useCallback(r=>ng(r,t,e),[t,e])}function cS(e){if(!q.isPlainObject(e))throw new Error("[useMemoizedObject]: param must be a plain JS object");const[t,n]=T.useState(e);return T.useEffect(()=>{q.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 OH(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 q.isEmpty(e==null?void 0:e.current)||(a.observe(e==null?void 0:e.current),s()),()=>{a.disconnect()}},[o,t,e]),n}function og(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 uS={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 PH(e){return e==="vertical"}function jH(e){return e==="horizontal"}const ig=T.createContext(uS);function sg({initialConfig:e,children:t}){const[n,r]=rg("theme-config",{...uS,...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(ig.Provider,{value:{...n,setFontFamily:o,setMenuOrientation:s,setMiniDrawer:a,setContainer:c,setMode:u,setPresetColor:d,setThemeDirection:h,setAppDefaultPath:g,setDrawerWidth:m,setHorizontalMaxItems:v,isVerticalLayout:PH,isHorizontalLayout:jH},children:t})}function ag(){return T.useContext(ig)}function En(){return ag()}const MH=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 Ro(e){return f.jsx(MH,{...e})}function dS({children:e,spacing:t,defaultValues:n,...r}){const{spacing:o}=En();return f.jsx(FH,{defaultValues:n,spacing:t||o,children:f.jsx(S.Grid,{container:!0,...r,spacing:t||o,children:e})})}function kH({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(Nn,{content:t,title:v,subheader:b,secondary:o,divider:!0,children:f.jsxs(f.Fragment,{children:[e,s===!0?f.jsx(Ro,{children:f.jsx(R.SaveButton,{})}):s]})})})}const FH=de(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"}}));dS.Section=kH;const LH=Ma(R.SimpleForm,{slot:"Root"})(({theme:e})=>({[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}}));function fS({title:e,modal:t=!1,content:n=!1,subheader:r=null,toolbar:o=f.jsx(Ro,{children:f.jsx(R.SaveButton,{type:"button"})}),secondary:s=f.jsx(Fo,{children:f.jsx(R.DeleteWithConfirmButton,{})}),sx:a,...c}){const u=og(e),d=R.useRecordContext(),h=up();return f.jsx(Nn,{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(LH,{toolbar:o,...c})})}const pS={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}`)}},hS=T.createContext(pS);function DH(e){const[t,n]=T.useState(pS);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(hS.Provider,{value:{...t,openDialog:r,closeDialog:o,getCurrentDialog:s},children:e.children})}function gS(){const e=T.useContext(hS);if(e===void 0)throw new Error("useAppState must be used within an AppStateProvider");return e}function lg(){return gS()}function mS({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}=lg(),{source:g,resource:m,isRequired:v}=u,{getFieldState:b,formState:C}=vn.useFormContext(),{error:w}=b(g,C),E=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:E||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 _H=de(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 RH({label:e,addLabel:t,source:n,helperText:r,divider:o=!0,...s}){return f.jsx(mS,{label:e,addLabel:t,source:n,helperText:r,divider:o,fullWidth:s==null?void 0:s.fullWidth,children:f.jsx(_H,{source:n,label:!1,...s})})}function BH({canEdit:e=!0,canDelete:t=!0,canClone:n=!1}){return!e&&!t&&!n?null:f.jsxs(Fo,{children:[e?f.jsx(R.EditButton,{}):null,t?f.jsx(R.DeleteWithConfirmButton,{}):null,n?f.jsx(R.CloneButton,{}):null]})}const vS=de("div",{overridesResolver:(e,t)=>t.root})({display:"inline-block"}),NH=de("ul")({display:"inline-block"});function VH(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(vS,{className:t,...s});if(Array.isArray(c))return f.jsx(NH,{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(vS,{className:t,...s,children:d})}function yS({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 E=dt.get(d,a==null?void 0:a.source),F=(s||g).replace("entities/",""),I=e||(d==null?void 0:d.id),M=await h.getFile(`/attachments/${F}/${I}/${t||(a==null?void 0:a.source)}/${(E==null?void 0:E.id)||(d==null?void 0:d.id)}`),P=document.createElement("a");P.href=M,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]),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(VH,{...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?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 WH=de(R.ImageField,{slot:"root"})(()=>({}));function bS(e){const t=`_${e==null?void 0:e.source}`;return f.jsx(WH,{...e,source:t})}function xS({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(bS,{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 zH={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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])+"]"}}})})(zH);var UH={exports:{}};(function(e,t){(function(n,r){e.exports=r(sS)})(bn,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})})(UH);var CS={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(bn,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,E=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"}],I=F.length,M=0;M<I;M+=1){var P=F[M];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&&M>0&&(P=F[M-1]);var L=E[P.l];v&&(D=v(""+D)),C=typeof L=="string"?L.replace("%d",D):L(D,h,P.l,w);break}}if(h)return C;var H=w?E.future:E.past;return typeof H=="function"?H(C):H.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)}}})})(CS);var HH=CS.exports;const GH=Qr(HH);Ar.extend(GH);function wS(e){const t=R.useRecordContext(e),[n]=R.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(R.DateField,{record:t,source:e.source,showTime:!0}),f.jsx("br",{}),f.jsx(S.Typography,{variant:"caption",color:"textSecondary",children:r})]})}const YH=de(R.DateField,{slot:"Root"})(()=>({}));function KH({variant:e="body1",...t}){return f.jsx(YH,{...t,variant:e})}const XH=de(R.EmailField,{slot:"Root"})(()=>({}));function ZH({variant:e="body1",...t}){return f.jsx(XH,{...t,variant:e})}const QH=de(R.FileField,{slot:"root"})(()=>({}));function SS({...e}){const t=R.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(QH,{...e,record:t,onClick:n})}function JH({variant:e="body1",...t}){return f.jsx(R.FunctionField,{...t,variant:e})}const qH=de(R.TextField,{slot:"Root"})(()=>({}));function AS({variant:e="body1",...t}){return f.jsx(qH,{...t,variant:e})}function $H(e){const t=S.useTheme(),n=re.useLocales(),{source:r=""}=e,s=re.useRecordContext(e)[r],a=!Lu(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:q.map(n,(g,m)=>f.jsx(S.Typography,{children:`${g.locale.toUpperCase()}: ${(s??{})[g.locale]??""}`},m))}),[s,n]);return f.jsx(Jc,{title:h,arrow:!1,children:f.jsxs(S.Stack,{alignItems:"center",direction:"row",gap:1,children:[d,f.jsx(AS,{...e,source:`${r}.${u}`,sx:c})]})})}const eG=de("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 tG({source:e,defaultValue:t=" ",...n}){const r=R.useRecordContext(n),o=dt.get(r,e,t);return f.jsx(S.Typography,{...n,dangerouslySetInnerHTML:{__html:o&&o!==null?o:t}})}function nG({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 rG({label:e,source:t,defaultValue:n=" ",children:r=f.jsx(tG,{source:"",defaultValue:void 0,record:void 0}),tooltip:o,...s}){const a=T.Children.only(r),{getCurrentDialog:c}=gS(),u=R.useRecordContext(s),d=R.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(nG,{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(eG,{...s,children:T.isValidElement(a)?T.cloneElement(a,{...a.props,source:t,record:u,defaultValue:n,resource:h||d,sx:m}):null})]})})}function oG({children:e=null,className:t=""}){return f.jsx("div",{className:t,children:e})}const iG=Ma(oG,{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 TS(e){return f.jsx(iG,{...e,children:f.jsx(R.ReferenceManyField,{pagination:f.jsx(R.Pagination,{}),...e})})}function sG({source:e,...t}){const n=R.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 rn({label:e,children:t,display:n="label",helperText:r,sx:o,addLabel:s,divider:a=!1,...c}){const u=Kt(),{getCurrentDialog:d}=lg(),{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 aG(e){return e?{"& .RaFileInput-removeButton > .RaFileInputPreview-removeButton":{display:"none",visiblity:"hidden"},"& .RaFileInput-dropZone":{display:"none",visiblity:"hidden"}}:{}}const lG=de(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}},...aG(e)}));function cG({children:e=f.jsx(yS,{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(rn,{...o,disabled:n,children:f.jsx(lG,{type:r,multiple:t,disabled:n,children:T.cloneElement(e,{entityId:c,property:a,...e.props})})})}const uG=de(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 dG({size:e="small",...t}){return f.jsx(rn,{...t,children:f.jsx(uG,{size:e})})}const fG=de(R.AutocompleteInput,{name:"StyledAutocompleteInput",root:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"},"& .MuiAutocomplete-inputRoot":{padding:"0px 9px"}}));function pG({size:e="small",...t}){const{perPage:n,...r}=t;return f.jsx(rn,{...r,children:f.jsx(fG,{size:e})})}const hG=de(R.BooleanInput,{slot:"Root"})(()=>({marginTop:"0 !important"}));function gG({...e}){const t=Nt.useTheme();return f.jsx(rn,{...e,children:f.jsx(hG,{sx:{"& .MuiFormControlLabel-root":{marginLeft:"0 !important",marginRight:"0 !important"},"& .MuiSwitch-root":{margin:"0 !important",marginTop:e.display==="legend"?0:`${t.spacing(1)} !important`}}})})}const mG=4,vG=de(R.DateInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function yG(e){const[t,n]=T.useState(""),r=T.useCallback(o=>{const s=o.target.value;Ar(s).year().toString().length>mG?o.target.value=t:n(s)},[t]);return f.jsx(rn,{...e,children:f.jsx(vG,{...e,onInput:r})})}const bG=de(R.DateTimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function xG(e){return f.jsx(rn,{...e,children:f.jsx(bG,{})})}const CG=de(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 wG({children:e=f.jsx(SS,{source:"",title:""}),title:t,...n}){const r=vn.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=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(rn,{...n,children:f.jsx(CG,{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 SG({children:e=f.jsx(xS,{}),title:t,multiple:n=!1,...r}){const o=vn.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(rn,{...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)||dt.get(s,a),[`_${a}`]:(o==null?void 0:o.src)||dt.get(s,`_${a}`)}})})})}function Tr(e){return f.jsx(rn,{...e,children:f.jsx(R.TextInput,{})})}const AG={vertical:"bottom",horizontal:"right"},TG={vertical:"top",horizontal:"right"};function EG({requiredAtLeastOneLocale:e,requiredLocale:t,validate:n,required:r,...o}){const{source:s}=o,a=re.useLocales(),c=T.useCallback((D="ra.validation.required",L="ra.validation.required_locale")=>H=>{if(e&&!t&&!oS(H,a))return D;if(t&&(!q.has(H,t)||q.isEmpty(q.get(H,t))))return{message:L,args:{locale:t}};if(!e&&r&&!Lu(H,a))return D},[e,t,a,r]),u=T.useMemo(()=>re.composeValidators(n,c()),[n,c]),{fieldState:d}=re.useInput({...o,validate:u}),{error:h}=d,g=vn.useWatch({name:s}),m=!Lu(g,a),[v]=re.useLocaleState(),[b,C]=T.useState(v),[w,E]=T.useState(null),F=!!w,I=T.useCallback(D=>E(F?null:D.currentTarget),[F,E]),M=T.useCallback(()=>E(null),[E]),P=T.useMemo(()=>q.map(a,(D,L)=>f.jsx(S.MenuItem,{onClick:()=>{C(D.locale),M()},children:f.jsx(S.ListItemText,{primary:`${D.locale.toUpperCase()}: ${(g??{})[D.locale]??""}`})},L)),[a,C,M,g]);return f.jsx(rn,{...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:[q.map(a,(D,L)=>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:I,color:m?"warning":void 0})}},L)),f.jsx(S.Menu,{anchorEl:w,open:F,anchorOrigin:AG,transformOrigin:TG,onClose:M,children:P})]})})})}const IG=de(R.NumberInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function OG(e){return f.jsx(rn,{...e,children:f.jsx(IG,{})})}const PG=de(R.RadioButtonGroupInput,{slot:"root"})(()=>({marginTop:"0 !important","& .MuiFormControlLabel-root":{marginLeft:-8}}));function jG(e){return f.jsx(rn,{...e,children:f.jsx(PG,{})})}function MG({source:e,minWidth:t=300,children:n}){const r=R.useResourceContext(),o=R.useRecordContext(),[s,a]=T.useState(dt.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(()=>{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 kG({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 FG({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 LG({reference:e,target:t,children:n,filters:r,actions:o,...s}){return f.jsx(R.ResourceContextProvider,{value:e,children:f.jsx(TS,{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 DG=de(R.SearchInput,{slot:"root"})(()=>({}));function _G(e){return f.jsx(DG,{...e})}const RG=de(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 BG({optionText:e="name",optionValue:t="id",...n}){return f.jsx(rn,{...n,children:f.jsx(RG,{optionText:e,optionValue:t,options:{autoWidth:!1}})})}const NG=de(R.SelectInput,{slot:"Root"})(({label:e})=>({"& legend":{width:e===!1||e===null?0:"auto"}}));function VG(e){return f.jsx(rn,{...e,children:f.jsx(NG,{})})}function WG({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=vn.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 zG(e){if(!e)return"";const t=aS(e);return t?t.format("HH:mm"):""}function UG(e){return e}const HG=de(R.TimeInput,{slot:"root"})(({label:e})=>({"& legend":{width:e===!1?0:"auto"}}));function GG({parse:e=UG,format:t=zG,...n}){return f.jsx(rn,{...n,children:f.jsx(HG,{parse:e,format:t,...n})})}function cg({onSuccess:e,firstAccess:t}){const{spacing:n}=En(),[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(fS,{onSubmit:u,toolbar:f.jsx(Ro,{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:re.required()})}),f.jsx(S.Grid,{item:!0,xs:12,children:f.jsx(Tr,{source:"newPassword",type:"password",validate:re.required()})})]})})})})}const ES=T.createContext({});function YG(e){const{useDefaults:t=!1,queryOptions:n={}}=e,r=R.useResourceContext(),o=R.useDataProvider(),{search:s}=ti.useLocation(),a=`${r}/new`,c=T.useCallback(()=>{if(!t||!q.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(()=>q.chain(n).extend({queryKey:[r,s],queryFn:c}).value(),[r,s,c,n]),{data:d,isLoading:h}=Ui.useQuery(u),g=q.omit(e,["useDefaults"]);return h?f.jsx(S.Stack,{alignItems:"center",justifyContent:"center",flex:1,p:2,children:f.jsx(S.CircularProgress,{})}):f.jsx(ES.Provider,{value:d??{},children:f.jsx(R.Create,{...g,children:e.children})})}const KG=de(YG,{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 XG(){return T.useContext(ES)}const ZG=de(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 QG(e){return f.jsx(ZG,{...e})}const JG=de(S.CardHeader)(({theme:e})=>({marginTop:e.spacing(2.5),marginLeft:0,marginRight:0,paddingLeft:0,paddingRight:0})),qG=de(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 $G({title:e,divider:t=!0,variant:n="h5"}){const r=R.useTranslate();return f.jsxs(f.Fragment,{children:[f.jsx(JG,{title:r(e,{_:e}),titleTypographyProps:{variant:n}}),t?f.jsx(qG,{}):null]})}function ug(e){return e.id??e.label}function IS(e,t){const n=`^${e}.`.replaceAll(".","\\."),r=new RegExp(n,"g");return t.match(r)!==null}function eY(e){return q.map(e,"id")}function _u(e){const t=e.match(new RegExp("[^.]+","g"));return t===null?0:t.length}function OS(e,t){const n=e!==void 0?_u(e):0;return q.chain(t).filter(o=>e!==void 0?IS(e,o.id):!0).filter(o=>_u(o.id)===n+1).value()}function tY(e,t){var s;const n=q.clone(e),{type:r,payload:o}=t;switch(r){case"setFormRootPath":return q.extend(n,{formRootPath:o});case"setSyncWithLocation":return q.extend(n,{syncWithLocation:o});case"setErrorCount":return q.extend(n,{errorCount:o});case"setActiveItem":return q.includes(eY(e.items),o)?q.extend(n,{activeItem:o}):n;case"addItem":{const{id:a}=o;return q.extend(n,{items:q.chain(n.items).clone().reject(c=>c.id===a).concat([o]).orderBy(c=>c.index).value()})}case"removeItem":{const a=q.isString(o)?o:o.id,c=q.chain(n.items).clone().reject(u=>u.id===a).value();return q.extend(n,{items:c}),n.activeItem===a&&q.extend(n,{activeItem:((s=q.first(c))==null?void 0:s.id)??void 0}),n}default:return n}}const nY={syncWithLocation:!0,errorCount:!0,items:[],activeItem:void 0},PS=T.createContext(void 0);function jS(e){const t=!!(e.syncWithLocation??!0),n=!!(e.errorCount??!0),{rootMatchString:r}=e,{pathname:o}=ti.useLocation(),[s,a]=T.useReducer(tY,q.cloneDeep(nY)),{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=q.chain(h).map(v=>ti.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(/^\/?/),"");q.isEmpty(g)&&(g=((h=q.chain(u).filter(m=>OS(m.id,u).length===0).orderBy([m=>_u(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(PS.Provider,{value:d,children:e.children})}function MS(){const e=T.useContext(PS);if(e===void 0)throw new Error("[LongForm] useFormContext: context undefined. Please provide a valid Context using LongForm.Provider");return e}function qa(){return MS().state}function dg(){return MS().dispatch}function kS(){return qa().formRootPath}function FS(){return qa().activeItem}function LS(){return qa().items}function DS(){return qa().syncWithLocation}function _S(){return qa().errorCount}function RS(){const e=dg();return T.useCallback(n=>{e({type:"setActiveItem",payload:n})},[e])}function BS(){const e=dg();return T.useCallback(n=>{e({type:"addItem",payload:n})},[e])}function NS(){const e=dg();return T.useCallback(n=>{e({type:"removeItem",payload:n})},[e])}const rY=de(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 VS(e){const{spacing:t}=En(),{spacing:n=t}=e,r=q.omit(e,["spacing"]);return f.jsx(R.Form,{...r,className:"LongFormView",children:f.jsx(rY,{container:!0,spacing:n*2,children:e.children})})}function WS(e){const{disposition:t={xl:9,lg:9,md:8,sm:8,xs:12}}=e,n=q.omit(e,["disposition"]);return f.jsx(S.Grid,{...n,item:!0,...t,children:e.children})}function zS(e){const t=FS();return t===void 0?!1:e===t||IS(e,t)}function US(e){const t=LS();return T.useMemo(()=>OS(e,t),[t,e])}function oY(){const e=kS(),{search:t}=ti.useLocation(),n=ti.useNavigate();return T.useCallback(o=>{n(`${e}/${o}${t}`)},[e,n,t])}function HS(){const e=US();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:q.map(e,(t,n)=>f.jsx(fg,{...t},n))})})}function fg(e){const t=re.useTranslate()??q.identity,n=GS(e),{selected:r,label:o,icon:s,onClick:a,badge:c,items:u,isGroup:d,level:h,errors:g=0}=n,{spacing:m}=En(),[v,b]=T.useState(r),C=T.useCallback(F=>{b(!v),a(F)},[a,v]),w=s!==void 0,E=q.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,{...E,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(Dc,{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:q.map(u,(F,I)=>f.jsx(fg,{...F},I))})}):null]})}function GS(e){const{id:t}=e,n=zS(t),r=_u(t),o=oY(),s=DS(),a=RS(),c=US(t),u=!q.isEmpty(c),d=T.useCallback(g=>{u||(s?o(e.id):a(e.id)),q.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 iY=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},YS=e=>e.firstChild?e.firstChild.offsetParent===e:!0,sY=(e,t)=>{let n=e,r=0;YS(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},aY=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 Ru=!1;try{const e=Object.defineProperty({},"passive",{get(){Ru={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch{}var pg=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,Ru),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}},lY=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}},cY=(e,t,n)=>{const{bottom:r,offsetBottom:o,offsetTop:s}=n,a=iY(e);let c=!1;const u=()=>{c||requestAnimationFrame(()=>{const L=g();L!==I&&M(L),c=!1}),c=!0};let d=a===window?window.scrollY:a.scrollTop;const h=L=>{const{offsetTop:H,height:K}=v,{naturalTop:$}=w,{height:G}=E;return L+H+K>=$+G+F+o},g=()=>{const{height:L}=v,{height:H}=E;return H+s+o<=L?3:h(d)?1:2},m=a!==window&&YS(a),v=pg({el:a,onChange:u,unsubs:t,measure:({height:L,top:H})=>({height:L,offsetTop:m?H:0})}),b=aY(e),C=b===window?{top:0,bottom:0}:lY(b),w=pg({el:b,onChange:u,unsubs:t,measure:({height:L})=>({height:L-C.top-C.bottom,naturalTop:b===window?0:sY(b,a)+C.top+v.offsetTop})}),E=pg({el:e,onChange:u,unsubs:t,measure:({height:L})=>({height:L})});let F=0,I=g();const M=L=>{const H=I;if(I=L,H===2&&(F=-1),L===3){e.style.position=$a,r?e.style.bottom=`${o}px`:e.style.top=`${s}px`;return}const{height:K,offsetTop:$}=v,{height:G,naturalTop:ae}=w,{height:le}=E;if(L===2)if(e.style.position="relative",F=H===0?Math.max(0,$+d-ae+s):Math.max(0,$+d+K-(ae+le+o)),r){const J=Math.max(0,G-le-F);e.style.bottom=`${J}px`}else e.style.top=`${F}px`;else e.style.position=$a,L===1?r?e.style.bottom=`${o}px`:e.style.top=`${K-le-o}px`:r?e.style.bottom=`${K-le-o}px`:e.style.top=`${s}px`};M(I);const P=L=>{if(L===d)return;const H=L-d;if(d=L,I===3)return;const{offsetTop:K,height:$}=v,{naturalTop:G,height:ae}=w,{height:le}=E;if(H>0)if(I===0){if(L+K+s>G){const J=Math.max(0,K+d-G+s);L+K+$<=G+le+J+o?M(2):M(1)}}else I===2&&h(L)&&M(1);else if(I===1){if(K+L+$<G+ae+o){const J=Math.max(0,K+d+$-(G+le+o));K+L+s>=G+J?M(2):M(0)}}else I===2&&K+L+s<G+F&&M(0)},D=a===window?()=>P(window.scrollY):()=>P(a.scrollTop);a.addEventListener("scroll",D,Ru),a.addEventListener("mousewheel",D,Ru),t.push(()=>a.removeEventListener("scroll",D),()=>a.removeEventListener("mousewheel",D))},uY=({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 cY(r,s,{offsetBottom:t,offsetTop:e,bottom:n}),()=>{s.forEach(a=>a())}},[r,t,e,n]),o},dY=e=>{const{offsetTop:t,offsetBottom:n,bottom:r,children:o,className:s,style:a}=e,c=uY({offsetTop:t,offsetBottom:n,bottom:r});return f.jsx("div",{className:s,style:a,ref:c,children:o})},fY=dY,KS=(e=>(e.TOP="top",e.BOTTOM="bottom",e))(KS||{});function XS(e){const{sticky:t=!0,disposition:n={xl:3,lg:3,md:4,sm:4,xs:12},spacing:r=2}=e,o=q.omit(e,["sticky","disposition","spacing"]),s=t?fY: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 ZS(e){return f.jsx(f.Fragment,{children:e.children})}function QS(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)===ZS){const{position:s}=o.props;switch(s){case"top":r.top.push(o);break;case"bottom":r.bottom.push(o);break}}}),r},[t])}function JS(e){const{errors:t}=vn.useFormState(),n=_S(),{label:r,icon:o,badge:s,index:a=0,children:c}=e,u=ug(e),d=BS(),h=NS(),g=zS(u),m=[];n&&(e.sources!==void 0?m.push(...e.sources):Du(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=q.chain(m).uniq().map(b=>q.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 qS(e){const t=hg(e),n=ug(e);return f.jsx(JS,{...e,id:n,children:T.Children.map(t,r=>{const o=ug(r.props);return T.cloneElement(r,{id:`${n}.${o}`})})})}function $S(e){return f.jsx(JS,{...e})}function hg(e){const{children:t}=e;return T.useMemo(()=>q.chain(T.Children.toArray(t)).filter(r=>T.isValidElement(r)&&((r==null?void 0:r.type)===$S||(r==null?void 0:r.type)===qS)).map((r,o)=>T.cloneElement(r,{index:o})).value(),[t])}function pY(e){const{tabsDisposition:t,contentDisposition:n,spacing:r=2}=e,o=q.pick(e,["syncWithLocation","errorCount"]),s=q.omit(e,["tabsDisposition","contentDisposition","syncWithLocation"]),{top:a,bottom:c}=QS(e),u=hg(e);return f.jsx(jS,{...o,children:f.jsxs(VS,{...s,spacing:r,children:[f.jsxs(XS,{disposition:t,spacing:r,children:[a,f.jsx(HS,{}),c]}),f.jsx(WS,{disposition:n,children:u})]})})}const Ft=pY;Ft.BaseForm=VS,Ft.Content=WS,Ft.Provider=jS,Ft.useItems=LS,Ft.useSyncWithLocation=DS,Ft.useErrorCount=_S,Ft.useFormRootPath=kS,Ft.useActiveItem=FS,Ft.useSetActiveItem=RS,Ft.useAddItem=BS,Ft.useRemoveItem=NS,Ft.Sidebar=XS,Ft.SidebarSection=ZS,Ft.SidebarSectionPosition=KS,Ft.useSidebarChildren=QS,Ft.NavMenu=HS,Ft.NavMenuItem=fg,Ft.useNavMenuItem=GS,Ft.Tab=$S,Ft.Group=qS,Ft.useBaseItemChildren=hg;const hY=de(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 gY(e){return f.jsx(hY,{...e})}const mY=de(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 vY(e){return f.jsx(mY,{...e})}const yY=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 bY({children:e}){return f.jsx(f.Fragment,{children:e})}function gg(e){const{title:t,modal:n,content:r,subheader:o,secondary:s=f.jsx(Fo,{children:f.jsx(R.DeleteWithConfirmButton,{})}),sx:a,noPadding:c,toolbar:u=f.jsx(Ro,{children:f.jsx(R.SaveButton,{type:"button"})}),...d}=e,h=og(t),g=S.useTheme();return f.jsx(Nn,{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(yY,{toolbar:u,component:c?bY:void 0,...d})})}function xY({children:e,...t}){return f.jsx(R.TabbedForm.Tab,{...t,children:f.jsx(S.Box,{sx:{width:"100%",p:2.5},children:e})})}gg.Tab=R.TabbedForm.Tab,gg.TabStack=xY;function mg(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}})}))]})}const vg=T.createContext(void 0);function eA(){return T.useContext(vg)}function Bu(e){const{children:t}=e,{item:n,index:r}=eA(),[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 tA({source:e,children:t}){const n=T.Children.only(t),{getValues:r}=vn.useFormContext(),o=R.useRecordContext({record:r()});return T.isValidElement(n)?T.cloneElement(n,{source:e,record:o}):null}function yg(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(mg,{}),{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 bg=T.createContext(void 0);function nA(){return T.useContext(bg)}const rA=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}=nA(),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,E=>T.isValidElement(E)&&(E==null?void 0:E.type)===Bu&&B.isValidElement(E)?E:null),[n]);return f.jsxs(vg.Provider,{value:C,children:[T.Children.map(n,(E,F)=>{if(E.type===Bu||!T.isValidElement(E))return null;const{source:I,...M}=E.props;return f.jsx(S.TableCell,{children:T.cloneElement(E,{source:I?`${a}.${I}`:a,index:I?void 0:F,resource:c,disabled:r,...M,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(R.Confirm,{isOpen:h,title:d("ra.action.remove_item"),content:d("ra.message.remove_item"),onConfirm:b,onClose:()=>g(!1)})]})});function CY(e){var ne,W;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(mg,{}),inset:m,sx:v}=e,[b,C]=T.useState(!1),{fields:w,remove:E,replace:F,append:I}=R.useArrayInput(e),{resetField:M}=vn.useFormContext(),P=Kt(),D=re.useTranslate(),L=T.useRef(h||{}),H=re.useTranslateLabel(),K=T.useCallback(te=>{E(te)},[E]);if(w.length>0){const{...te}=w[0];L.current=te;for(const V in L.current)L.current[V]=null}const $=T.useCallback((te=void 0)=>{let V=te;te==null&&(V=L.current,T.Children.count(t)===1&&B.isValidElement(T.Children.only(t))&&!T.Children.only(t).props.source&&T.Children.map(t,ue=>B.isValidElement(ue)&&ue.type!==re.FormDataConsumer).some(Boolean)?V="":(V=V||{},T.Children.forEach(t,ue=>{B.isValidElement(ue)&&ue.type!==re.FormDataConsumer&&ue.props.source&&(V[ue.props.source]=ue.props.defaultValue??null)})));const X={...V,...h};I(X),M(`${r}.${w.length}`,{defaultValue:V})},[I,t,M,r,w.length,h]);function G(te){return V=>{$(),te&&te(V)}}const ae=T.useCallback(()=>{F([]),C(!1)},[F]),le=T.useMemo(()=>({total:w.length,remove:K,source:r}),[w.length,K,r]),J=P.palette.mode==="dark"?P.palette.grey.A400:P.palette.grey.A800,Q=w.length>0&&c,z=m===!0?{borderRadius:0,borderBottom:`1px solid ${P.palette.divider}`}:{mt:2,border:`1px solid ${J}`,boxShadow:P.customShadows.z0};return w?f.jsx(bg.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)!==yg?G((W=(ne=e==null?void 0:e.addButton)==null?void 0:ne.props)==null?void 0:W.onClick):void 0,inset:m}),f.jsx(S.TableContainer,{component:S.Paper,sx:{...z,boxShadow:P.customShadows.z0,...v},children:f.jsxs(S.Table,{size:"small",children:[f.jsx(S.TableHead,{sx:m===!0?{}:{borderTop:0,borderBottom:`1px solid ${J}`},children:f.jsxs(S.TableRow,{children:[T.Children.map(t,(te,V)=>{if(te.type===Bu||!B.isValidElement(te))return null;const X=f.jsx(S.Typography,{display:"flex",variant:"subtitle1",color:"text.primary",textTransform:"none",children:H({...te.props,resource:n})});return f.jsx(S.TableCell,{children:te.props.title?f.jsx(Jc,{title:te.props.title,arrow:!0,children:X}):X},V)}),!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:()=>C(!0),children:D("ra.action.delete")})})},"actions"):f.jsx(S.TableCell,{},"empty_actions")]})}),f.jsxs(S.TableBody,{children:[w.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:"-"})})}),w.length>0&&w.map((te,V)=>f.jsx(S.TableRow,{sx:{borderBottom:0},children:f.jsx(rA,{disableRemove:a,index:V,member:`${r}.${V}`,onRemoveField:K,record:w&&w[V]||{},resource:n,source:r,children:t})},te.id))]})]})}),w.length>0&&f.jsx(R.Confirm,{isOpen:b,title:D("ra.action.clear_array_input"),content:D("ra.message.clear_array_input"),onConfirm:ae,onClose:()=>C(!1)})]})}):null}const Nu=de(CY,{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}}}));Nu.CreateButton=yg,Nu.EditButton=Bu,Nu.Field=tA;const oA=T.createContext(void 0);function Vu(){const e=T.useContext(oA);if(!e)throw new Error("useWizardFormContext must be used within a WizardFormProvider");return e}function wY({value:e,children:t}){return f.jsx(oA.Provider,{value:e,children:t})}function SY({cancelButton:e,...t}){const{hasNextStep:n,hasPreviousStep:r,goToNextStep:o,goToPreviousStep:s}=Vu(),a=re.useTranslate(),{handleSubmit:c}=vn.useFormContext(),u=T.useCallback(()=>{o()},[o]);return f.jsxs(Ro,{...t,children:[f.jsx(S.Box,{sx:{"& .MuiButtonBase-root":{ml:0}},children:e?T.cloneElement(e):null}),f.jsx(S.Box,{sx:{flex:"1 1 auto"}}),r()&&f.jsx(S.Button,{variant:"text",color:"primary",onClick:s,children:a("ra.action.back")}),n()?f.jsx(S.Button,{variant:"contained",color:"primary",onClick:c(u),children:a("ra.action.next")}):f.jsx(R.SaveButton,{})]})}const AY=S.styled(S.Stepper,{shouldForwardProp:e=>e!=="isHorizontal"})(({theme:e,isHorizontal:t})=>({paddingBottom:e.spacing(2),display:"flex",justifyContent:t?"space-between":"flex-start",".MuiStep-root":{flex:t?1:"none",maxWidth:t?"none":"100%",display:"flex",justifyContent:t?"center":"flex-start"},".MuiStepConnector-line.MuiStepConnector-lineVertical":{minHeight:12},".MuiStepConnector-vertical":{marginLeft:14.5},".MuiStepConnector-horizontal":{marginLeft:-10}})),TY=S.styled(S.Box)(({theme:e,ownerState:t})=>({backgroundColor:t.error?e.palette.error.main:t.completed||t.active?e.palette.primary.main:e.palette.mode==="dark"?e.palette.grey[200]:e.palette.grey[400],zIndex:1,color:e.palette.common.white,width:30,height:30,display:"flex",borderRadius:"50%",justifyContent:"center",alignItems:"center"}));function EY({completed:e,active:t,error:n,icon:r,className:o}){return f.jsx(TY,{ownerState:{completed:e,active:t,error:n},className:o,children:n?"!":r})}function IY({isHorizontal:e,setCurrentStep:t,stepFields:n}){const{currentStep:r,steps:o}=Vu(),{errors:s}=vn.useFormState();function a(c){c<=r&&t(c)}return f.jsx(AY,{activeStep:r,orientation:e?"horizontal":"vertical",isHorizontal:e,sx:{p:3,mt:1},children:o.map((c,u)=>{const d=n[u].some(m=>q.get(s,m)),{label:h,icon:g}=c.props;return f.jsx(S.Step,{children:f.jsx(S.StepLabel,{StepIconComponent:EY,error:d,icon:g,onClick:()=>a(u),style:{cursor:u<=r?"pointer":"default"},children:e?null:h})},u)})})}function OY({title:e,subheader:t,secondary:n,toolbar:r,progress:o,isSmall:s,modal:a,sx:c,setCurrentStep:u}){const{currentStep:d,steps:h}=Vu(),g=R.useTranslate(),m=S.useTheme(),v=s||a,b=T.useMemo(()=>r?T.Children.toArray(r.props.children).find(w=>{var E;return T.isValidElement(w)&&w.type===S.Button&&((E=w.props)==null?void 0:E.children)===g("ra.action.cancel")}):null,[r,g]),C=h.map(w=>{const E=[],{sources:F}=w.props;return F!==void 0?E.push(...F):Du(w,I=>{var M;((M=I==null?void 0:I.props)==null?void 0:M.source)!==void 0&&E.push(I.props.source)}),E});return f.jsxs(S.Grid,{container:!0,spacing:2,sx:c,children:[f.jsx(S.Grid,{item:!0,xl:a?12:2,lg:a?12:3,md:a?12:3,sm:a?12:4,xs:12,children:o||f.jsx(IY,{isHorizontal:v,setCurrentStep:u,stepFields:C})}),a?f.jsx(S.Divider,{sx:{width:"100%"}}):null,f.jsx(S.Grid,{item:!0,xl:a?12:10,lg:a?12:9,md:a?12:9,sm:a?12:8,xs:12,sx:{paddingTop:a?"0 !important":null},children:f.jsxs(Nn,{title:e||h[d].props.label,subheader:t,secondary:n,border:!a,divider:!0,children:[f.jsx(S.Box,{children:h[d]}),f.jsx(S.Box,{sx:{"& .MuiToolbar-root":{paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:m.spacing(2)}},children:r&&!b?r:f.jsx(SY,{cancelButton:b})})]})})]})}const PY=S.styled(R.Form,{shouldForwardProp:e=>e!=="modal"})(({theme:e,modal:t})=>({[e.breakpoints.down("sm")]:t?{}:{paddingBottom:`${e.spacing(2.5)}`}}));function iA({children:e,toolbar:t,progress:n,title:r,subheader:o=null,secondary:s=null,sx:a,modal:c=!1,...u}){const[d,h]=T.useState(0),g=T.Children.toArray(e),m=S.useMediaQuery(F=>F.breakpoints.down("sm"));function v(){return d<g.length-1}function b(){return d>0}function C(){h(F=>Math.min(F+1,g.length-1))}function w(){h(F=>Math.max(F-1,0))}const E={currentStep:d,steps:g,hasNextStep:v,hasPreviousStep:b,goToNextStep:C,goToPreviousStep:w};return f.jsx(wY,{value:E,children:f.jsx(PY,{...u,modal:c,children:f.jsx(OY,{title:r,subheader:o,secondary:s,modal:c,sx:a,toolbar:t,progress:n,isSmall:m,setCurrentStep:h})})})}function jY({children:e}){return f.jsx(f.Fragment,{children:e})}iA.Step=jY;function MY(e,t){const n=q.clone(e),{type:r,payload:o}=t;switch(r){case"updateMedia":{const s=q.chain(n.media).clone().extend(o).value();return q.extend(n,{media:s})}case"updateDrawer":{const s=q.chain(n.drawer).clone().extend(o).value();return q.extend(n,{drawer:s})}case"updateLogo":{const s=q.chain(n.logo).clone().extend(o).value();return q.extend(n,{logo:s})}case"updateNotifications":{const s=q.chain(n.notifications).clone().extend(o).value();return q.extend(n,{notifications:s})}case"updateTheme":{const s=q.chain(n.theme).clone().extend(o).value();return q.extend(n,{theme:s})}default:return n}}const kY={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"}},sA=T.createContext(void 0);function aA(e){var K;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}=ag(),g=u(d)&&!s,{drawerOpen:m,openDrawer:v}=Eu(),b=T.useCallback(()=>{v(!m)},[m,v]),[C,w]=T.useState(!1),[E,F]=T.useReducer(MY,q.chain(kY).clone().merge({drawer:{open:!c||m}}).value()),I=T.useCallback(()=>w(!1),[]),M=T.useMemo(()=>({state:E,dispatch:F}),[E,F]),{logoIcon:P,logoMain:D,enableNotification:L,notification:H}=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:D,icon:P}})},[P,D]),T.useEffect(()=>{F({type:"updateNotifications",payload:{enable:L,resource:H??"entities/notification"}})},[L,H]),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($=>{var G;w(!$&&((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(sA.Provider,{value:M,children:[f.jsx(S.Dialog,{open:C,maxWidth:"xs",fullWidth:!0,children:f.jsx(cg,{onSuccess:I,firstAccess:!0})}),e.children]})}function lA(e){return T.forwardRef((t,n)=>{const{logoIcon:r,logoMain:o,enableNotification:s,notification:a}=t;return f.jsx(aA,{logoIcon:r,logoMain:o,enableNotification:s,notification:a,children:f.jsx(e,{ref:n,...t})})})}function xg(){const e=T.useContext(sA);if(e===void 0)throw new Error("[Layout] useLayoutContext: context undefined. Please provide a valid LayoutContext using LayoutProvider");return e}function FY(){return xg().dispatch}function Ps(){return xg().state}function Wn(){return Ps().media}function Si(){return Ps().drawer}function cA(){return Ps().logo}function Wu(){return Ps().notifications}function LY(){return Ps().theme}function uA(e){const{width:t}=Si(),{horizontal:n}=Wn(),{container:r}=En(),[o,s]=T.useState(null);function a(u,d){s(d)}const c=Kt();return f.jsx(CW,{onError:a,fallbackRender:({error:u,resetErrorBoundary:d})=>f.jsx(Wh,{error:u,errorComponent:e.error,errorInfo:o,resetErrorBoundary:d}),children:f.jsx(T.Suspense,{fallback:f.jsx(rw,{}),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 dA=de(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 fA({isIcon:e,sx:t,to:n,logoIcon:r,logoMain:o}){const{appDefaultPath:s}=En();return f.jsx(S.ButtonBase,{disableRipple:!0,component:ct.Link,to:n||s,sx:t,children:e?r:o})}function pA(e){const t=S.useTheme(),{horizontal:n}=Wn(),{open:r}=Si(),{icon:o,main:s}=cA(),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(dA,{theme:t,open:r,sx:a,children:f.jsx(fA,{to:"/",isIcon:!r,sx:{width:r?"auto":35,height:35},logoMain:s,logoIcon:o})})}function hA(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 gA(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 DY=de(S.Drawer,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=En();return{width:n,flexShrink:0,whiteSpace:"nowrap",boxSizing:"border-box",...t&&{...hA(e,n),"& .MuiDrawer-paper":hA(e,n)},...!t&&{...gA(e),"& .MuiDrawer-paper":gA(e)}}});var Ae={},Cg={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",E="architecture",F="console",I="mobile",M="tablet",P="smarttv",D="wearable",L="embedded",H=500,K="Amazon",$="Apple",G="ASUS",ae="BlackBerry",le="Browser",J="Chrome",Q="Edge",z="Firefox",ne="Google",W="Huawei",te="LG",V="Microsoft",X="Motorola",ue="Opera",he="Samsung",pe="Sharp",ge="Sony",ve="Xiaomi",Te="Zebra",Ce="Facebook",be="Chromium OS",we="Mac OS",Ie=" Browser",fe=function(Le,_e){var Oe={};for(var xe in Le)_e[xe]&&_e[xe].length%2===0?Oe[xe]=_e[xe].concat(Le[xe]):Oe[xe]=Le[xe];return Oe},qe=function(Le){for(var _e={},Oe=0;Oe<Le.length;Oe++)_e[Le[Oe].toUpperCase()]=Le[Oe];return _e},me=function(Le,_e){return typeof Le===h?Qe(_e).indexOf(Qe(Le))!==-1:!1},Qe=function(Le){return Le.toLowerCase()},ln=function(Le){return typeof Le===h?Le.replace(/[^\d\.]/g,s).split(".")[0]:r},Et=function(Le,_e){if(typeof Le===h)return Le=Le.replace(/^\s\s*/,s),typeof _e===u?Le:Le.substring(0,H)},yt=function(Le,_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(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}},Gn=function(Le,_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],Le))return Oe===a?r:Oe}else if(me(_e[Oe],Le))return Oe===a?r:Oe;return _e.hasOwnProperty("*")?_e["*"]: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,ue+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[w,[v,ue+" GX"]],[/\bopr\/([\w\.]+)/i],[w,[v,ue]],[/\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"+le]],[/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 "+le]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+le],w],[/\bfocus\/([\w\.]+)/i],[w,[v,z+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[v,ue+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[v,ue+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[v,"MIUI "+le]],[/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,J+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,J+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[v,"Android "+le]],[/(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,Gn,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],[[E,"amd64"]],[/(ia32(?=;))/i],[[E,Qe]],[/((?:i[346]|x)86)[;\)]/i],[[E,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[E,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[E,"armhf"]],[/windows (ce|mobile); ppc;/i],[[E,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[E,/ower/,s,Qe]],[/(sun4\w)[;\)]/i],[[E,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[E,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,M]],[/\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,I]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[C,$],[b,I]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[C,$],[b,M]],[/(macintosh);/i],[m,[C,$]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[C,pe],[b,I]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[m,[C,W],[b,M]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[C,W],[b,I]],[/\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,I]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[C,ve],[b,M]],[/; (\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,I]],[/\b(opd2\d{3}a?) bui/i],[m,[C,"OPPO"],[b,M]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[C,"Vivo"],[b,I]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[C,"Realme"],[b,I]],[/\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,I]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[C,X],[b,M]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[C,te],[b,M]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[C,te],[b,I]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[C,"Lenovo"],[b,M]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[C,"Nokia"],[b,I]],[/(pixel c)\b/i],[m,[C,ne],[b,M]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[C,ne],[b,I]],[/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,I]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[C,ge],[b,M]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[C,"OnePlus"],[b,I]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[C,K],[b,M]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[C,K],[b,I]],[/(playbook);[-\w\),; ]+(rim)/i],[m,C,[b,M]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[C,ae],[b,I]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[C,G],[b,M]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[C,G],[b,I]],[/(nexus 9)/i],[m,[C,"HTC"],[b,M]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[C,[m,/_/g," "],[b,I]],[/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,M]],[/(itel) ((\w+))/i],[[C,Qe],m,[b,Gn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[C,"Acer"],[b,M]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[C,"Meizu"],[b,I]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[C,"Ulefone"],[b,I]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[C,"Nothing"],[b,I]],[/(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,I]],[/(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,M]],[/(surface duo)/i],[m,[C,V],[b,M]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[C,"Fairphone"],[b,I]],[/(u304aa)/i],[m,[C,"AT&T"],[b,I]],[/\bsie-(\w*)/i],[m,[C,"Siemens"],[b,I]],[/\b(rct\w+) b/i],[m,[C,"RCA"],[b,M]],[/\b(venue[\d ]{2,7}) b/i],[m,[C,"Dell"],[b,M]],[/\b(q(?:mv|ta)\w+) b/i],[m,[C,"Verizon"],[b,M]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[C,"Barnes & Noble"],[b,M]],[/\b(tm\d{3}\w+) b/i],[m,[C,"NuVision"],[b,M]],[/\b(k88) b/i],[m,[C,"ZTE"],[b,M]],[/\b(nx\d{3}j) b/i],[m,[C,"ZTE"],[b,I]],[/\b(gen\d{3}) b.+49h/i],[m,[C,"Swiss"],[b,I]],[/\b(zur\d{3}) b/i],[m,[C,"Swiss"],[b,M]],[/\b((zeki)?tb.*\b) b/i],[m,[C,"Zeki"],[b,M]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[C,"Dragon Touch"],m,[b,M]],[/\b(ns-?\w{0,9}) b/i],[m,[C,"Insignia"],[b,M]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[C,"NextBook"],[b,M]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[C,"Voice"],m,[b,I]],[/\b(lvtel\-)?(v1[12]) b/i],[[C,"LvTel"],m,[b,I]],[/\b(ph-1) /i],[m,[C,"Essential"],[b,I]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[C,"Envizen"],[b,M]],[/\b(trio[-\w\. ]+) b/i],[m,[C,"MachSpeed"],[b,M]],[/\btu_(1491) b/i],[m,[C,"Rotor"],[b,M]],[/(shield[\w ]+) b/i],[m,[C,"Nvidia"],[b,M]],[/(sprint) (\w+)/i],[C,m,[b,I]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[C,V],[b,I]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[C,Te],[b,M]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[C,Te],[b,I]],[/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,te],[b,P]],[/(apple) ?tv/i],[C,[m,$+" TV"],[b,P]],[/crkey/i],[[m,J+"cast"],[C,ne],[b,P]],[/droid.+aft(\w+)( bui|\))/i],[m,[C,K],[b,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[C,pe],[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,F]],[/droid.+; (shield) bui/i],[m,[C,"Nvidia"],[b,F]],[/(playstation [345portablevi]+)/i],[m,[C,ge],[b,F]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[C,V],[b,F]],[/\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,$],[b,D]],[/droid.+; (glass) \d/i],[m,[C,ne],[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,L]],[/(aeobc)\b/i],[m,[C,K],[b,L]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[b,I]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[b,M]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[b,M]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[b,I]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[C,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[v,Q+"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,Gn,bt]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[w,Gn,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,ae]],[/(?: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,J+"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,_e){if(typeof Le===d&&(_e=Le,Le=r),!(this instanceof xt))return new xt(Le,_e).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=_e?fe(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]=ln(Pe[w]),Be&&Oe&&Oe.brave&&typeof Oe.brave.isBrave==c&&(Pe[v]="Brave"),Pe},this.getCPU=function(){var Pe={};return Pe[E]=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]=I),Be&&Pe[m]=="Macintosh"&&Oe&&typeof Oe.standalone!==u&&Oe.maxTouchPoints&&Oe.maxTouchPoints>2&&(Pe[m]="iPad",Pe[b]=M),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>H?Et(Pe,H):Pe,this},this.setUA(xe),this};xt.VERSION=o,xt.BROWSER=qe([v,w,g]),xt.CPU=qe([E]),xt.DEVICE=qe([m,C,b,F,I,P,M,D,L]),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 _e=Ot.getResult();for(var Oe in _e)zt.ua[Oe]=_e[Oe]}}})(typeof window=="object"?window:bn)})(Cg,Cg.exports);var _Y=Cg.exports;Object.defineProperty(Ae,"__esModule",{value:!0});function RY(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var on=T,pt=RY(on),mA=_Y,Bo=new mA,sn=Bo.getBrowser(),BY=Bo.getCPU(),zn=Bo.getDevice(),wg=Bo.getEngine(),No=Bo.getOS(),el=Bo.getUA(),vA=function(t){return Bo.setUA(t)},tl=function(t){if(!t){console.error("No userAgent string was provided");return}var n=new mA(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)}}},yA=Object.freeze({ClientUAInstance:Bo,browser:sn,cpu:BY,device:zn,engine:wg,os:No,ua:el,setUa:vA,parseUserAgent:tl});function bA(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 NY(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bA(Object(n),!0).forEach(function(r){UY(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bA(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 VY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WY(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 zY(e,t,n){return t&&WY(e.prototype,t),e}function UY(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sg(){return Sg=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},Sg.apply(this,arguments)}function HY(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&&Tg(e,t)}function Ag(e){return Ag=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ag(e)}function Tg(e,t){return Tg=Object.setPrototypeOf||function(r,o){return r.__proto__=o,r},Tg(e,t)}function GY(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=GY(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 zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YY(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 zu(e)}function KY(e,t){return XY(e)||ZY(e,t)||QY(e,t)||JY()}function XY(e){if(Array.isArray(e))return e}function ZY(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 QY(e,t){if(e){if(typeof e=="string")return xA(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 xA(e,t)}}function xA(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 JY(){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 an={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},In={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"},qY={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},$Y=function(t){switch(t){case an.Mobile:return{isMobile:!0};case an.Tablet:return{isTablet:!0};case an.SmartTv:return{isSmartTV:!0};case an.Console:return{isConsole:!0};case an.Wearable:return{isWearable:!0};case an.Browser:return{isBrowser:!0};case an.Embedded:return{isEmbedded:!0};default:return qY}},eK=function(t){return vA(t)},De=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},Eg=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},Ig=function(t){var n=Eg();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},tK=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)}},CA=function(t,n,r,o){return NY({},t,{vendor:De(n.vendor),model:De(n.model),os:De(r.name),osVersion:De(r.version),ua:De(o)})},nK=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)}},rK=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)}},oK=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)}},iK=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 sK(e){var t=e?tl(e):yA,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 tK(u,r,o,s,a);if(g)return nK(g,o,s,a);if(m)return rK(m,o,s,a);if(d||h)return CA(c,n,s,a);if(v)return oK(v,o,s,a);if(b)return iK(b,n,o,s,a)}var wA=function(t){var n=t.type;return n===an.Mobile},SA=function(t){var n=t.type;return n===an.Tablet},AA=function(t){var n=t.type;return n===an.Mobile||n===an.Tablet},TA=function(t){var n=t.type;return n===an.SmartTv},Uu=function(t){var n=t.type;return n===an.Browser},EA=function(t){var n=t.type;return n===an.Wearable},IA=function(t){var n=t.type;return n===an.Console},OA=function(t){var n=t.type;return n===an.Embedded},PA=function(t){var n=t.vendor;return De(n)},jA=function(t){var n=t.model;return De(n)},MA=function(t){var n=t.type;return De(n,"browser")},kA=function(t){var n=t.name;return n===js.Android},FA=function(t){var n=t.name;return n===js.Windows},LA=function(t){var n=t.name;return n===js.MAC_OS},DA=function(t){var n=t.name;return n===js.WindowsPhone},_A=function(t){var n=t.name;return n===js.IOS},RA=function(t){var n=t.version;return De(n)},BA=function(t){var n=t.name;return De(n)},NA=function(t){var n=t.name;return n===In.Chrome},VA=function(t){var n=t.name;return n===In.Firefox},WA=function(t){var n=t.name;return n===In.Chromium},Hu=function(t){var n=t.name;return n===In.Edge},zA=function(t){var n=t.name;return n===In.Yandex},UA=function(t){var n=t.name;return n===In.Safari||n===In.MobileSafari},HA=function(t){var n=t.name;return n===In.MobileSafari},GA=function(t){var n=t.name;return n===In.Opera},YA=function(t){var n=t.name;return n===In.InternetExplorer||n===In.Ie},KA=function(t){var n=t.name;return n===In.MIUI},XA=function(t){var n=t.name;return n===In.SamsungBrowser},ZA=function(t){var n=t.version;return De(n)},QA=function(t){var n=t.major;return De(n)},JA=function(t){var n=t.name;return De(n)},qA=function(t){var n=t.name;return De(n)},$A=function(t){var n=t.version;return De(n)},eT=function(){var t=Eg(),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},tT=function(){var t=Eg();return t&&(/iPad|iPhone|iPod/.test(t.platform)||t.platform==="MacIntel"&&t.maxTouchPoints>1)&&!window.MSStream},zr=function(){return Ig("iPad")},nT=function(){return Ig("iPhone")},rT=function(){return Ig("iPod")},oT=function(t){return De(t)};function iT(e){var t=e||yA,n=t.device,r=t.browser,o=t.os,s=t.engine,a=t.ua;return{isSmartTV:TA(n),isConsole:IA(n),isWearable:EA(n),isEmbedded:OA(n),isMobileSafari:HA(r)||zr(),isChromium:WA(r),isMobile:AA(n)||zr(),isMobileOnly:wA(n),isTablet:SA(n)||zr(),isBrowser:Uu(n),isDesktop:Uu(n),isAndroid:kA(o),isWinPhone:DA(o),isIOS:_A(o)||zr(),isChrome:NA(r),isFirefox:VA(r),isSafari:UA(r),isOpera:GA(r),isIE:YA(r),osVersion:RA(o),osName:BA(o),fullBrowserVersion:ZA(r),browserVersion:QA(r),browserName:JA(r),mobileVendor:PA(n),mobileModel:jA(n),engineName:qA(s),engineVersion:$A(s),getUA:oT(a),isEdge:Hu(r)||Ms(a),isYandex:zA(r),deviceType:MA(n),isIOS13:tT(),isIPad13:zr(),isIPhone13:nT(),isIPod13:rT(),isElectron:eT(),isEdgeChromium:Ms(a),isLegacyEdge:Hu(r)&&!Ms(a),isWindows:FA(o),isMacOs:LA(o),isMIUI:KA(r),isSamsungBrowser:XA(r)}}var sT=TA(zn),aT=IA(zn),lT=EA(zn),aK=OA(zn),lK=HA(sn)||zr(),cK=WA(sn),Gu=AA(zn)||zr(),cT=wA(zn),uT=SA(zn)||zr(),dT=Uu(zn),uK=Uu(zn),fT=kA(No),pT=DA(No),hT=_A(No)||zr(),dK=NA(sn),fK=VA(sn),pK=UA(sn),hK=GA(sn),gT=YA(sn),gK=RA(No),mK=BA(No),vK=ZA(sn),yK=QA(sn),bK=JA(sn),xK=PA(zn),CK=jA(zn),wK=qA(wg),SK=$A(wg),AK=oT(el),TK=Hu(sn)||Ms(el),EK=zA(sn),IK=MA(zn),OK=tT(),PK=zr(),jK=nT(),MK=rT(),kK=eT(),FK=Ms(el),LK=Hu(sn)&&!Ms(el),DK=FA(No),_K=LA(No),RK=KA(sn),BK=XA(sn),NK=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 iT({device:r,browser:o,os:s,engine:a,ua:c})},VK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return fT?n?pt.createElement(on.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 dT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},zK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return gT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},UK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return hT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},HK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return Gu?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},GK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return uT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},YK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return pT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},KK=function(t){var n=t.renderWithFragment,r=t.children;t.viewClassName,t.style;var o=fr(t,["renderWithFragment","children","viewClassName","style"]);return cT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},XK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return sT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},ZK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return aT?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",o,r):null},QK=function(t){var n=t.renderWithFragment,r=t.children,o=fr(t,["renderWithFragment","children"]);return lT?n?pt.createElement(on.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=t.condition,s=fr(t,["renderWithFragment","children","viewClassName","style","condition"]);return o?n?pt.createElement(on.Fragment,null,r):pt.createElement("div",s,r):null};function qK(e){return function(t){HY(n,t);function n(r){var o;return VY(this,n),o=YY(this,Ag(n).call(this,r)),o.isEventListenerAdded=!1,o.handleOrientationChange=o.handleOrientationChange.bind(zu(o)),o.onOrientationChange=o.onOrientationChange.bind(zu(o)),o.onPageLoad=o.onPageLoad.bind(zu(o)),o.state={isLandscape:!1,isPortrait:!1},o}return zY(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&&Gu&&(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,Sg({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),n}(pt.Component)}function $K(){var e=on.useState(function(){var s=window.innerWidth>window.innerHeight?90:0;return{isPortrait:s===0,isLandscape:s===90,orientation:s===0?"portrait":"landscape"}}),t=KY(e,2),n=t[0],r=t[1],o=on.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 on.useEffect(function(){return(typeof window>"u"?"undefined":nl(window))!==void 0&&Gu&&(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 mT(e){var t=e||window.navigator.userAgent;return tl(t)}function eX(e){var t=e||window.navigator.userAgent,n=mT(t),r=iT(n);return[r,n]}Ae.AndroidView=VK,Ae.BrowserTypes=In;var tX=Ae.BrowserView=WK;Ae.ConsoleView=ZK,Ae.CustomView=JK,Ae.IEView=zK,Ae.IOSView=UK,Ae.MobileOnlyView=KK;var nX=Ae.MobileView=HK;Ae.OsTypes=js,Ae.SmartTVView=XK,Ae.TabletView=GK,Ae.WearableView=QK,Ae.WinPhoneView=YK,Ae.browserName=bK,Ae.browserVersion=yK,Ae.deviceDetect=sK,Ae.deviceType=IK,Ae.engineName=wK,Ae.engineVersion=SK,Ae.fullBrowserVersion=vK,Ae.getSelectorsByUserAgent=NK,Ae.getUA=AK,Ae.isAndroid=fT,Ae.isBrowser=dT,Ae.isChrome=dK,Ae.isChromium=cK,Ae.isConsole=aT,Ae.isDesktop=uK,Ae.isEdge=TK,Ae.isEdgeChromium=FK,Ae.isElectron=kK,Ae.isEmbedded=aK,Ae.isFirefox=fK,Ae.isIE=gT,Ae.isIOS=hT,Ae.isIOS13=OK,Ae.isIPad13=PK,Ae.isIPhone13=jK,Ae.isIPod13=MK,Ae.isLegacyEdge=LK,Ae.isMIUI=RK,Ae.isMacOs=_K,Ae.isMobile=Gu,Ae.isMobileOnly=cT,Ae.isMobileSafari=lK,Ae.isOpera=hK,Ae.isSafari=pK,Ae.isSamsungBrowser=BK,Ae.isSmartTV=sT,Ae.isTablet=uT,Ae.isWearable=lT,Ae.isWinPhone=pT,Ae.isWindows=DK,Ae.isYandex=EK,Ae.mobileModel=CK,Ae.mobileVendor=xK,Ae.osName=mK,Ae.osVersion=gK,Ae.parseUserAgent=tl,Ae.setUserAgent=eK,Ae.useDeviceData=mT,Ae.useDeviceSelectors=eX,Ae.useMobileOrientation=$K,Ae.withOrientationChange=qK;var rX=typeof global=="object"&&global&&global.Object===Object&&global,oX=typeof self=="object"&&self&&self.Object===Object&&self,vT=rX||oX||Function("return this")(),Yu=vT.Symbol,yT=Object.prototype,iX=yT.hasOwnProperty,sX=yT.toString,rl=Yu?Yu.toStringTag:void 0;function aX(e){var t=iX.call(e,rl),n=e[rl];try{e[rl]=void 0;var r=!0}catch{}var o=sX.call(e);return r&&(t?e[rl]=n:delete e[rl]),o}var lX=Object.prototype,cX=lX.toString;function uX(e){return cX.call(e)}var dX="[object Null]",fX="[object Undefined]",bT=Yu?Yu.toStringTag:void 0;function pX(e){return e==null?e===void 0?fX:dX:bT&&bT in Object(e)?aX(e):uX(e)}function hX(e){return e!=null&&typeof e=="object"}var gX="[object Symbol]";function mX(e){return typeof e=="symbol"||hX(e)&&pX(e)==gX}var vX=/\s/;function yX(e){for(var t=e.length;t--&&vX.test(e.charAt(t)););return t}var bX=/^\s+/;function xX(e){return e&&e.slice(0,yX(e)+1).replace(bX,"")}function Ku(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var xT=NaN,CX=/^[-+]0x[0-9a-f]+$/i,wX=/^0b[01]+$/i,SX=/^0o[0-7]+$/i,AX=parseInt;function CT(e){if(typeof e=="number")return e;if(mX(e))return xT;if(Ku(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ku(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=xX(e);var n=wX.test(e);return n||SX.test(e)?AX(e.slice(2),n?2:8):CX.test(e)?xT:+e}var Og=function(){return vT.Date.now()},TX="Expected a function",EX=Math.max,IX=Math.min;function Xu(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(TX);t=CT(t)||0,Ku(n)&&(h=!!n.leading,g="maxWait"in n,s=g?EX(CT(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m);function v(D){var L=r,H=o;return r=o=void 0,d=D,a=e.apply(H,L),a}function b(D){return d=D,c=setTimeout(E,t),h?v(D):a}function C(D){var L=D-u,H=D-d,K=t-L;return g?IX(K,s-H):K}function w(D){var L=D-u,H=D-d;return u===void 0||L>=t||L<0||g&&H>=s}function E(){var D=Og();if(w(D))return F(D);c=setTimeout(E,C(D))}function F(D){return c=void 0,m&&r?v(D):(r=o=void 0,a)}function I(){c!==void 0&&clearTimeout(c),d=0,r=u=o=c=void 0}function M(){return c===void 0?a:F(Og())}function P(){var D=Og(),L=w(D);if(r=arguments,o=this,u=D,L){if(c===void 0)return b(u);if(g)return clearTimeout(c),c=setTimeout(E,t),v(u)}return c===void 0&&(c=setTimeout(E,t)),a}return P.cancel=I,P.flush=M,P}var OX="Expected a function";function PX(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(OX);return Ku(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Xu(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 wT(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function ST(e){return!e||!e.ownerDocument?document:e.ownerDocument}var AT=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 TT(e,t){var n;e&&(n=e.classList).add.apply(n,t.split(" "))}function ET(e,t){e&&t.split(" ").forEach(function(n){e.classList.remove(n)})}function IT(e){return".".concat(e.split(" ").join("."))}var Pg=!!(typeof window<"u"&&window.document&&window.document.createElement),jX=Object.freeze({__proto__:null,addClasses:TT,canUseDOM:Pg,classNamesToQuery:IT,getElementDocument:ST,getElementWindow:wT,getOptions:AT,removeClasses:ET}),Fs=null,OT=null;Pg&&window.addEventListener("resize",function(){OT!==window.devicePixelRatio&&(OT=window.devicePixelRatio,Fs=null)});function PT(){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 Vo=wT,jg=ST,MX=AT,Wo=TT,zo=ET,On=IT,Zu=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=Vo(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,Wo(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(){zo(r.el,r.classNames.scrolling),r.options.autoHide&&(r.hideScrollbar("x"),r.hideScrollbar("y")),r.isScrolling=!1},this.onMouseEnter=function(){r.isMouseEntering||(Wo(r.el,r.classNames.mouseEntered),r.showScrollbar("x"),r.showScrollbar("y"),r.isMouseEntering=!0),r.onMouseEntered()},this._onMouseEntered=function(){zo(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,E=r.axis[r.draggedAxis].track,F=(a=(s=E.rect)===null||s===void 0?void 0:s[r.axis[r.draggedAxis].sizeAttr])!==null&&a!==void 0?a:0,I=r.axis[r.draggedAxis].scrollbar,M=(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=E.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=E.rect)===null||v===void 0?void 0:v[r.axis[r.draggedAxis].sizeAttr])!==null&&b!==void 0?b:0)-I.size-D:D;var L=D/(F-I.size),H=L*(M-P);r.draggedAxis==="x"&&r.isRtl&&(H=!((C=e.getRtlHelpers())===null||C===void 0)&&C.isScrollingToNegative?-H:H),r.contentWrapperEl[r.axis[r.draggedAxis].scrollOffsetAttr]=H}},this.onEndDrag=function(o){r.isDragging=!1;var s=jg(r.el),a=Vo(r.el);o.preventDefault(),o.stopPropagation(),zo(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=PX(this._onMouseMove,64),this.onWindowResize=Xu(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=Xu(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=Xu(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:PT()}catch{return PT()}},e.getOffset=function(t){var n=t.getBoundingClientRect(),r=jg(t),o=Vo(t);return{top:n.top+(o.pageYOffset||r.documentElement.scrollTop),left:n.left+(o.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Pg&&(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(On(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(On(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(On(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(On(this.classNames.offset)),this.maskEl=this.el.querySelector(On(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,On(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(On(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(On(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(On(this.classNames.track)).concat(On(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(On(this.classNames.track)).concat(On(this.classNames.vertical))),this.axis.x.scrollbar.el=((t=this.axis.x.track.el)===null||t===void 0?void 0:t.querySelector(On(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=((n=this.axis.y.track.el)===null||n===void 0?void 0:n.querySelector(On(this.classNames.scrollbar)))||null,this.options.autoHide||(Wo(this.axis.x.scrollbar.el,this.classNames.visible),Wo(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var t=this,n,r=Vo(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=Vo(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&&(Wo(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&&(zo(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),Wo(n.track.el,this.classNames.hover),this.isWithinBounds(n.scrollbar.rect)?Wo(n.scrollbar.el,this.classNames.hover):zo(n.scrollbar.el,this.classNames.hover)):(zo(n.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(t)))},e.prototype.onMouseLeaveForAxis=function(t){t===void 0&&(t="y"),zo(this.axis[t].track.el,this.classNames.hover),zo(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=jg(this.el),s=Vo(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,Wo(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=Vo(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,E=40,F=function(){r.contentWrapperEl&&(C===-1?v>w&&(v-=E,r.contentWrapperEl[r.axis[n].scrollOffsetAttr]=v,d.requestAnimationFrame(F)):v<w&&(v+=E,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=Vo(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=MX,e.helpers=jX,e}(),Un=function(){return Un=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},Un.apply(this,arguments)};function kX(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 jT=B.forwardRef(function(e,t){var n=e.children,r=e.scrollableNodeProps,o=r===void 0?{}:r,s=kX(e,["children","scrollableNodeProps"]),a=B.useRef(),c=B.useRef(),u=B.useRef(),d={},h={};Object.keys(s).forEach(function(v){Object.prototype.hasOwnProperty.call(Zu.defaultOptions,v)?d[v]=s[v]:h[v]=s[v]});var g=Un(Un({},Zu.defaultOptions.classNames),d.classNames),m=Un(Un({},o),{className:"".concat(g.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:0,role:"region","aria-label":d.ariaLabel||Zu.defaultOptions.ariaLabel});return B.useEffect(function(){var v;return c.current=m.ref?m.ref.current:c.current,a.current&&(v=new Zu(a.current,Un(Un(Un({},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",Un({"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:Un(Un({},m),{ref:c}),contentNodeRef:u,contentNodeProps:{className:g.contentEl,ref:u}}):B.createElement("div",Un({},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})))});jT.displayName="SimpleBar";const FX=de(tX)({flexGrow:1,height:"100%",overflow:"hidden"}),LX=de(jT)(({theme:e})=>({maxHeight:"100%","& .simplebar-scrollbar":{"&:before":{backgroundColor:nt(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 MT({children:e,sx:t,...n}){return f.jsxs(f.Fragment,{children:[f.jsx(FX,{children:f.jsx(LX,{timeout:500,clickOnTrack:!1,sx:t,...n,children:e})}),f.jsx(nX,{children:f.jsx(S.Box,{sx:{overflowX:"auto",...t},...n,children:e})})]})}function kT(e){const t=S.useTheme(),n=Sr(e,{flexShrink:{md:0},zIndex:1200}),{downLg:r}=Wn(),{open:o,handleDrawerToggle:s,width:a}=Si(),c=r?S.Drawer:DY,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(pA,{}),f.jsx(MT,{sx:{"& .simplebar-content":{display:"flex",flexDirection:"column"}},children:e.children})]})})}function Mg(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 FT=de(S.AppBar,{shouldForwardProp:e=>e!=="open"})(({theme:e,open:t})=>{const{drawerWidth:n}=En();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})}}}),LT=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})}),DX=T.forwardRef(function(t,n){const r=Sr(t,{color:"text.primary"},{defaults:!0});return f.jsx(Vc,{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 DT({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(LT,{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 _X={ml:{xs:0,lg:-2}};function _T(){const{open:e,handleDrawerToggle:t}=Si();return f.jsx(Ls,{value:"drawer","aria-label":"open drawer",sx:_X,onChange:t,selected:e,children:e?f.jsx(Ke.MenuFoldOutlined,{}):f.jsx(Ke.MenuUnfoldOutlined,{})})}function RT(e){const t=T.useRef(),n=S.useTheme(),{downLg:r,horizontal:o}=Wn(),{open:s,width:a}=Si(),c=r?S.AppBar:FT,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||q.extend(d,{open:s}),f.jsx(c,{ref:t,...d,children:f.jsxs(S.Toolbar,{sx:{"& > *":{marginX:n.spacing(.325)}},children:[!o&&f.jsx(_T,{}),e.children]})})}function RX(e){const t=S.useTheme(),{notification:n,onClick:r,selected:o,divider:s}=e,{resource:a}=Wu(),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 BX={width:36,height:36,fontSize:"1rem"},NX={mt:"6px",ml:1,top:"auto",right:"auto",alignSelf:"flex-start",transform:"none"};function BT(){const{enable:e}=Wu();return e?f.jsx(VX,{}):null}function VX(){const e=re.useTranslate(),t=S.useTheme(),n=re.useRefresh(),r=re.useNotify(),{downMd:o}=Wn(),{resource:s}=Wu(),[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 C=a.filter(F=>!F.readed).map(F=>F.id),[w]=re.useUpdateMany(s,{ids:C,data:{readed:Ar().toISOString()}},{onSuccess:()=>{n(),r("resources.notifications.messages.readed.done")},onError:()=>r("ra.notification.readed_error")}),E=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(gi,{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(Nn,{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:E,children:f.jsx(Vc,{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":BX,"& .MuiListItemSecondaryAction-root":{...NX,position:"relative"}},maxHeight:"calc(100vh - 240px)",overflow:"auto"},children:a.map((I,M)=>f.jsx(RX,{selected:h>0,notification:I,onClick:v,divider:M<a.length-1},I.id))}),f.jsx(S.ListItemButton,{sx:{textAlign:"center",py:"12px !important"},to:`/${s}`,LinkComponent:ct.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 WX(){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(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(cg,{onSuccess:n})})]})}function zX(){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(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:t("ra.auth.logout")})]})})}function UX(){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(Ln.LogoutOutlined,{})}),f.jsx(S.ListItemText,{primary:e("ra.auth.stop_impersonate")})]})}):null}function NT(){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(Dc,{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(E1,{placement:"bottom-end",open:a,anchorEl:c,role:void 0,transition:!0,disablePortal:!0,children:({TransitionProps:v})=>{var b;return f.jsx(gi,{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(Nn,{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(Dc,{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(Vc,{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(WX,{}),f.jsx(zX,{}),f.jsx(UX,{})]})})})]})})})})}})]})}function VT(e){const t=Kt(),{downMd:n}=Wn(),{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(gi,{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 WT(e){return f.jsx(S.Box,{...e,flex:1})}function zT(e){const t=S.useTheme(),n=S.useScrollTrigger({disableHysteresis:!0,threshold:0}),{container:r}=En();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 UT(e){const{horizontal:t}=Wn();return t?f.jsx(zT,{children:e.children}):f.jsx(kT,{children:e.children})}function ol({item:e,level:t}){const n=Kt(),{horizontal:r,downLg:o}=Wn(),{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((E,F)=>f.jsx(ct.Link,{...E,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(E=>E===e.id)>-1,{pathname:b}=ct.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(Vp,{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 HT=de(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 W;const c=Kt(),{activeItem:u}=Za(),{horizontal:d}=Wn(),{drawerOpen:h}=Za(),g=ct.useNavigate(),[m,v]=T.useState(!1),[b,C]=T.useState(null),[w,E]=T.useState(null);function F(te){E(null),s(t),h?(v(!m),C(b?null:e.id),r(b?"":e.id),e.url&&g(`${e.url}`)):E(te==null?void 0:te.currentTarget)}function I(){h||e.url&&g(`${e.url}`)}function M(te){E(te==null?void 0:te.currentTarget)}function P(){v(!1),C(null),E(null)}T.useMemo(()=>{b===o?t===1&&v(!0):t===a&&(v(!1),C(null))},[o,t,b,a]);const{pathname:D}=ct.useLocation(),L=!!w;function H(te,V){te.forEach(X=>{X.url===D&&(v(!0),C(V))})}T.useEffect(()=>{v(!1),C(null),L&&E(null),e.children&&e.children.forEach(te=>{var V;(V=te.children)!=null&&V.length&&H(te.children,e.id),te.url===D&&(C(e.id),v(!0)),D.includes(te.url)&&(C(e.id),v(!0))})},[D,e.children]),T.useEffect(()=>{e.url===D&&b!==e.id&&(u([e.id]),C(e.id),E(null),v(!0))},[D,e,b,u]);const K=(W=e.children)==null?void 0:W.map(te=>{switch(te.type){case"collapse":return f.jsx(il,{setSelectedItems:r,setSelectedLevel:s,selectedLevel:a,selectedItems:o,menu:te,level:t+1,parentId:n},te.id);case"item":return f.jsx(ol,{item:te,level:t+1},te.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Fix - Collapse or Item"},te.id)}}),$=b===e.id,G=t===1?f.jsx(Ke.BorderOutlined,{style:{fontSize:"1rem"}}):!1,ae=e.icon,le=e.icon?f.jsx(ae,{style:{fontSize:h?"1rem":"1.25rem"}}):G,J=c.palette.mode==="dark"?"grey.400":"text.primary",Q=c.palette.mode==="dark"&&h?c.palette.text.primary:c.palette.primary.main,z=L?`collapse-pop-${e.id}`:void 0,ne={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:$,onMouseEnter:M,onMouseLeave:P,onClick:M,"aria-describedby":z,sx:{"&.Mui-selected":{bgcolor:"transparent"}},children:[f.jsxs(S.Box,{onClick:I,sx:ne,children:[le?f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,color:c.palette.secondary.dark},children:le}):null,!le&&t!==1&&f.jsx(S.ListItemIcon,{sx:{my:"auto",minWidth:e.icon?36:18,bgcolor:"transparent","&:hover":{bgcolor:"transparent"}},children:f.jsx(Vp,{size:4,color:$?"primary":"secondary"})}),f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"body1",color:"inherit",sx:{my:"auto"},children:e.title})}),L?f.jsx(Ke.RightOutlined,{}):f.jsx(Ke.DownOutlined,{})]}),w?f.jsx(HT,{id:z,open:L,anchorEl:w,placement:"right-start",style:{zIndex:2001},modifiers:[{name:"offset",options:{offset:[-10,0]}}],children:({TransitionProps:te})=>f.jsx(gi,{in:L,...te,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: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:Q,"&:hover":{color:Q,bgcolor:c.palette.mode==="dark"?"divider":"transparent"}}},...!h&&{"&:hover":{bgcolor:"transparent"},"&.Mui-selected":{"&:hover":{bgcolor:"transparent"},bgcolor:"transparent"}}},children:[le?f.jsx(S.ListItemIcon,{onClick:I,sx:{minWidth:28,color:b===e.id?"primary.main":J,...!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:le}):null,h||!h&&t!==1?f.jsx(S.ListItemText,{primary:f.jsx(S.Typography,{variant:"h6",color:b===e.id?"primary":J,children:e.title}),secondary:e.caption?f.jsx(S.Typography,{variant:"caption",color:"secondary",children:e.caption}):null}):null,h||!h&&t!==1?L||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(HT,{open:L,anchorEl:w,placement:"right-start",style:{zIndex:2001},popperOptions:{modifiers:[{name:"offset",options:{offset:[-12,1]}}]},children:({TransitionProps:te})=>f.jsx(gi,{in:L,...te,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 HX=de(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 GT({item:e,lastItem:t,remItems:n,lastItemId:r,setSelectedItems:o,selectedItems:s,setSelectedLevel:a,selectedLevel:c}){var z,ne;const u=Kt(),d=R.useTranslate(),{pathname:h}={pathname:""},{horizontal:g,downLg:m}=Wn(),v=Za(),{drawerOpen:b,selectedID:C,activeID:w}=v,[E,F]=T.useState(null),[I,M]=T.useState(e),P=!!E;T.useEffect(()=>{if(t)if(e.id===r){const W={...e},te=n.map(V=>V.elements);W.children=te.flat(1),M(W)}else M(e)},[e,t,m]);function D(W,te){W.forEach(V=>{var X;(X=V.children)!=null&&X.length&&D(V.children,I.id),V.url===h&&w(te)})}function L(W){(W.children?W.children:[]).forEach(V=>{var X;(X=V.children)!=null&&X.length&&D(V.children,I.id),V.url===h&&w(I.id)})}T.useEffect(()=>{L(I),P&&F(null)},[h,I]);function H(W){P||F(W==null?void 0:W.currentTarget)}function K(){F(null)}const $=I==null?void 0:I.icon,G=I!=null&&I.icon?f.jsx($,{style:{fontSize:20,stroke:"1.5",color:C===I.id?u.palette.primary.main:u.palette.secondary.dark}}):null,ae=(z=e.children)==null?void 0:z.map(W=>{switch(W.type){case"collapse":return f.jsx(il,{menu:W,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s,level:1,parentId:I.id},W.id);case"item":return f.jsx(ol,{item:W,level:1},W.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),le=n.map((W,te)=>{var V;return f.jsxs(T.Fragment,{children:[W.title?f.jsx(S.Typography,{variant:"caption",sx:{pl:2},children:W.title}):null,(V=W==null?void 0:W.elements)==null?void 0:V.map(X=>{switch(X.type){case"collapse":return f.jsx(il,{menu:X,level:1,parentId:I.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)}})]},te)}),J=(ne=I.children)==null?void 0:ne.map(W=>{switch(W.type){case"collapse":return f.jsx(il,{menu:W,level:1,parentId:I.id,setSelectedItems:o,setSelectedLevel:a,selectedLevel:c,selectedItems:s},W.id);case"item":return f.jsx(ol,{item:W,level:1},W.id);default:return f.jsx(S.Typography,{variant:"h6",color:"error",align:"center",children:"Menu Items Error"},W.id)}}),Q=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===I.id,sx:{p:1,my:.5,mr:1,display:"flex",alignItems:"center",backgroundColor:"inherit","&.Mui-selected":{bgcolor:"transparent"}},onMouseEnter:H,onClick:H,onMouseLeave:K,"aria-describedby":Q,children:[G?f.jsx(S.ListItemIcon,{sx:{minWidth:28},children:I.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===I.id?u.palette.primary.main:u.palette.secondary.dark,children:I.id===r?d("ra.actions.more"):I.title})}),P?f.jsx(Ke.DownOutlined,{style:{fontSize:16,stroke:"1.5"}}):f.jsx(Ke.RightOutlined,{style:{fontSize:16,stroke:"1.5"}}),E?f.jsx(HX,{id:Q,open:P,anchorEl:E,placement:"bottom-start",style:{zIndex:2001},children:({TransitionProps:W})=>f.jsx(gi,{in:P,...W,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:I.id!==r?J:le})})})})}):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:ae})})}function YT(e){const{horizontal:t}=Wn(),{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 KT(e){const{horizontal:t}=Wn(),{menu:n,isLoading:r}=Uh(),[o,s]=T.useState(""),[a,c]=T.useState(0),{horizontalMaxItems:u}=En(),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(YT,{...e,children:!r&&q.map((n??[]).slice(0,h+1),v=>{const{type:b}=v;switch(b){case"group":return f.jsx(GT,{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 XT(){const{mode:e,setMode:t}=En();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 ZT=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 kg({source:e="paper"}){const{mode:t}=En(),n=S.useTheme();return T.useEffect(()=>{var o;const r=q.get(n.palette.background,e);(o=document.querySelector('meta[name="theme-color"]'))==null||o.setAttribute("content",r)},[t,n,e]),null}const QT=lA(function(t){const{name:n,version:r,enableThemeToggler:o,enableNotification:s,enableLocaleSwitcher:a}=t,{isLoading:c,navigation:u,breadcrumbs:d}=Lw();return f.jsxs(ZT,{children:[f.jsxs(RT,{children:[f.jsx(WT,{}),a?f.jsx(DT,{}):null,o?f.jsx(XT,{}):null,f.jsx(kg,{}),f.jsx(qC,{}),s?f.jsx(BT,{}):null,f.jsx(VT,{children:f.jsx(NT,{})})]}),f.jsx(UT,{children:f.jsx(KT,{})}),f.jsxs(uA,{error:t.error,children:[!c&&f.jsx(i1,{titleBottom:!0,mode:"breadcrumbs",navigation:u,breadcrumbs:d,card:!1,divider:!1,icon:!0,icons:!0}),t.children,f.jsx(ct.Outlet,{}),f.jsx(Mg,{name:n,version:r,copy:t==null?void 0:t.copy})]})]})}),GX=de("div")(({theme:e})=>({position:"fixed",top:0,left:0,zIndex:2001,width:"100%","& > * + *":{marginTop:e.spacing(2)}}));function JT(){return f.jsx(GX,{children:f.jsx(S.LinearProgress,{color:"primary"})})}function YX(e){return t=>f.jsx(T.Suspense,{fallback:f.jsx(JT,{}),children:f.jsx(e,{...t})})}function Fg({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 KX=de(R.Notification,{})(({theme:e})=>({"& *":{fontSize:e.typography.body1.fontSize}}));function qT(e){return f.jsx(KX,{...e})}var sl=(e=>(e.NONE="none",e.BROWSER="browser",e.USER="user",e))(sl||{});const $T=so().required(),eE=so().oneOf(Object.values(sl));function XX(e){var E;const t=Ui.useQueryClient(),[n,r]=T.useState(!1),[o,s]=T.useState(()=>()=>Promise.resolve()),a=re.useGetIdentity(),c=(E=a==null?void 0:a.data)==null?void 0:E.email,u=re.useDataProvider(),d=T.useCallback(()=>c?u.get("onboarding").then(F=>{var I;return(I=F==null?void 0:F.data)==null?void 0:I.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 I=q.chain(h??{}).clone().extend({[e]:Date.now()}).value();return u.post("onboarding",I).then(()=>{t.invalidateQueries(["GET","onboarding",c])})}b(()=>F)},[u,h,e,t,c]),T.useEffect(()=>{r(q.isNil((h??{})[e]))},[h,e,r]),T.useEffect(()=>{s(()=>()=>w())},[w]),{loading:g,error:m,onboardingRequired:n,acknowledgeOnboarding:o}}function ZX(e){const[t,n]=rg("onboarding",{}),[r,o]=T.useState(!1),[s,a]=T.useState(()=>()=>Promise.resolve());return T.useEffect(()=>{o(q.isNil((t??{})[e]))},[t,e,o]),T.useEffect(()=>{a(()=>()=>(n(c=>q.extend(c,{[e]:Date.now()})),Promise.resolve()))},[e,n,a]),{onboardingRequired:r,acknowledgeOnboarding:s}}function QX(){return{onboardingRequired:!1,acknowledgeOnboarding:T.useRef(()=>Promise.resolve()).current}}function tE(e,t){tg({mode:eE,topic:$T}).validateSync({mode:e,topic:t});const n=XX(t),r=ZX(t),o=QX();switch(e){case sl.USER:return n.loading?o:n.error?r:q.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 JX(e,t){var o;const n=q.clone(e),{type:r}=t;switch(r){case"SET_SHOW":{const{payload:s}=t;return q.extend(n,{show:s})}case"REGISTER_TIP":{const{payload:s}=t,{id:a}=s,c=q.chain(n.tips).clone().reject(h=>h.id===a).value(),u=q.find(n.tips,{id:a}),d=q.chain(u??{}).clone().extend(s).value();return c.push(d),q.extend(n,{tips:q.sortBy(c,["step"])})}case"UNREGISTER_TIP":{const{payload:s}=t,a=q.isString(s)?s:s.id,c=q.chain(n.tips).reject(u=>u.id===a).sortBy(["step"]).value();return q.extend(n,{tips:c})}case"DISMISS_TIP":{const{payload:s}=t,a=q.isString(s)?s:s.id,c=q.chain(n.tips).reject(m=>m.id===a).value(),u=q.find(n.tips,{id:a});if(q.isNil(u))return n;const d=q.chain(u).clone().extend({dismissed:!0}).value();c.push(d);const h=((o=q.chain(c).reject(m=>m.dismissed??!1).minBy("step").value())==null?void 0:o.step)??0;return(d==null?void 0:d.completeOnboarding)&&q.chain(c).reject(m=>m.step<h).reject(m=>m.dismissed??!1).isEmpty().value()&&e.onComplete(),q.extend(n,{tips:q.sortBy(c,["step"]),currentStep:h})}case"SET_ON_COMPLETE":{const{payload:s}=t;return q.extend(n,{onComplete:s})}case"RESTART":{const s=q.chain(n.tips).clone().map(a=>q.omit(a,"dismissed")).value();return q.extend(n,{tips:s,currentStep:0})}default:return n}}const Lg=T.createContext(void 0);function qX(e){const{mode:t,topic:n="default"}=e,{onboardingRequired:r,acknowledgeOnboarding:o}=tE(t,n),[s,a]=T.useReducer(JX,{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(Lg.Provider,{value:c,children:e.children})}function nE(){const e=T.useContext(Lg);if(e===void 0)throw new Error("[Onboarding] useOnboardingContext: context undefined. Please provide a valid OnboardingContext using OnboardingProvider");return e}function $X(){return nE().state}function rE(){return nE().dispatch}function oE(e){tg({id:so().required(),step:Qw().required()}).validateSync(e);const{id:t,step:n,completeOnboarding:r}=e,{show:o,tips:s,currentStep:a}=$X(),c=q.find(s,{id:t}),{dismissed:u}=c??{},d=rE(),h=T.useCallback(()=>{d({type:Ds.DISMISS_TIP,payload:t})},[d,t]);return T.useEffect(()=>{(q.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:q.chain(c??e).clone().extend({open:o&&!q.isNil(c)&&a===n&&!u}).value(),dismiss:h}}function eZ(){const e=rE();return T.useCallback(()=>{e({type:Ds.RESTART})},[e])}function tZ(e){const{id:t,step:n=0,title:r,completeOnboarding:o}=e,{tip:s,dismiss:a}=oE({id:t,step:n,completeOnboarding:o}),{open:c}=s,u=q.omit(e,["id","step","title","completeOnboarding"]);return f.jsx(Jc,{...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 nZ=S.styled(tZ)(({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}}}),Dg=T.memo(e=>{const{page:t,rowsPerPage:n,count:r,onPageChange:o,size:s="small",className:a,...c}=e,u=re.useTranslate(),d=Math.ceil(r/n)||1;if(d===1)return f.jsx(iE,{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(iE,{className:a,children:f.jsx(S.Pagination,{size:s,count:d,page:t+1,onChange:(g,m)=>o(g,m-1),...rZ(c),getItemAriaLabel:h})})});Dg.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 iE=de("div",{name:"RaPaginationActions",overridesResolver:e=>e.root})(()=>({flexShrink:0,ml:4}));function rZ({nextIconButtonProps:e,backIconButtonProps:t,slotProps:n,...r}){return r}const _g=T.memo(e=>{const{rowsPerPageOptions:t=oZ,actions:n,limit:r=null,...o}=e,{isLoading:s,hasNextPage:a,page:c,perPage:u,total:d,setPage:h,setPerPage:g}=re.useListPaginationContext(e),m=re.useTranslate(),v=S.useMediaQuery(L=>L.breakpoints.down("md")),[b,C]=T.useState(c-1),w=T.useMemo(()=>d!=null?Math.ceil(d/u):void 0,[u,d]),E=T.useCallback(dt.debounce(L=>{h(L+1)},500),[h]),F=T.useCallback((L,H)=>{var G,ae;if(!L)return;if(L.preventDefault(),H<0||w!==void 0&&H>w-1)throw new Error(m("ra.navigation.page_out_of_boundaries",{page:H+1}));const K=(((G=L.target.dataset)==null?void 0:G.testid)||((ae=L.target.classList)==null?void 0:ae.value))??"",$=K.includes("MuiPaginationItem-previousNext")||K.includes("NavigateBeforeIcon")||K.includes("NavigateNextIcon")||K.includes("KeyboardArrowLeftIcon")||K.includes("KeyboardArrowRightIcon");C(H),$?E(H):h(H+1)},[E,h,m,w]),I=T.useCallback(L=>{g(Number(L.target.value))},[g]),M=T.useCallback(({from:L,to:H,count:K})=>K===-1&&a?m("ra.navigation.partial_page_range_info",{offsetBegin:L,offsetEnd:H,_:"%{from}-%{to} of more than %{to}"}):m("ra.navigation.page_range_info",{offsetBegin:L,offsetEnd:H,total:K===-1?H:K,_:"%{from}-%{to} of %{count === -1 ? to : count}"}),[m,a]),P=T.useCallback(L=>m(`ra.navigation.${L}`,{_:`Go to ${L} 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:F,rowsPerPageOptions:iZ,component:"span",labelDisplayedRows:M,...re.sanitizeListRestProps(o)});const D=n||(!s&&d!=null?Dg:void 0);return f.jsx(S.TablePagination,{count:d??-1,rowsPerPage:u,page:b,onPageChange:F,onRowsPerPageChange:I,ActionsComponent:D,nextIconButtonProps:{disabled:!a},component:"span",labelRowsPerPage:m("ra.navigation.page_rows_per_page"),labelDisplayedRows:M,getItemAriaLabel:P,rowsPerPageOptions:t,...re.sanitizeListRestProps(o)})});_g.propTypes={actions:re.ComponentPropType,limit:x.element,rowsPerPageOptions:x.arrayOf(x.oneOfType([x.number,x.shape({label:x.string.isRequired,value:x.number.isRequired})]))};const oZ=[5,10,25,50],iZ=[];function sE({children:e}){const t=ct.useLocation(),{pathname:n}=t;return T.useEffect(()=>{window.scrollTo({top:0,left:0,behavior:"smooth"})},[n]),f.jsx(f.Fragment,{children:e})}const sZ=de("div")({width:"100%",overflowX:"auto",display:"block"});function aZ({shadow:e,children:t,...n}){return f.jsx(Nn,{content:!1,border:!1,shadow:e,boxShadow:!0,...n,children:t})}function aE({title:e}){return f.jsx(S.Typography,{variant:"h2",sx:{style:"bold"},children:e==null?void 0:e.substring(0,1).toUpperCase()})}const lZ="RaButton";function cZ(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 uZ=de(S.Button,{name:lZ,overridesResolver:(e,t)=>t.root})({"&.MuiButton-sizeSmall":{lineHeight:1.5}});function al(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=cZ(d);if(t){const v=n?g(n,{_:n}):void 0;return f.jsx(uZ,{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 lE(e){const{className:t,icon:n=dZ,label:r="ra.action.create",resource:o,scrollToTop:s=!0,variant:a,to:c,state:u={},disableFloatingButton:d=!1,...h}=e,g=re.useResourceContext(e),m=re.useCreatePath(),v=re.useTranslate(),b=S.useMediaQuery(E=>E.breakpoints.down("md")),C=ZC({},fZ.get(String(s)),u),w=vZ(c);return!d&&b?f.jsx(pZ,{component:ct.Link,to:m({resource:g,type:"create"}),state:C,color:"primary",className:$e(Ju.floating,t),"aria-label":r?v(r):"ra.action.create",...h,...w,children:n}):f.jsx(hZ,{component:ct.Link,to:m({resource:g,type:"create"}),state:C,className:$e(Ju.root,t),label:r,variant:a,...h,...w,children:n})}const dZ=f.jsx(th,{}),fZ=new Map([["true",{_scrollToTop:!0}],["false",{}]]);lE.propTypes={resource:x.string,className:x.string,icon:x.element,label:x.string};const Qu="RaCreateButton",Ju={root:`${Qu}-root`,floating:`${Qu}-floating`},pZ=de(S.Fab,{name:Qu,overridesResolver:(e,t)=>t.root})(({theme:e})=>({[`&.${Ju.floating}`]:{color:e.palette.getContrastText(e.palette.primary.main),margin:0,top:"auto",right:20,bottom:60,left:"auto",position:"fixed",zIndex:1e3}})),hZ=de(al,{name:Qu,overridesResolver:(e,t)=>t.root})({});function gZ(e,t){return e.resource===t.resource&&e.label===t.label&&e.translate===t.translate&&e.disabled===t.disabled&&cu(e.to,t.to)&&cu(e.state,t.state)}const mZ=B.memo(lE,gZ);function vZ(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}}function Rg(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 yZ(e,t){return e&&e.data?{data:Rg(e.data,t),total:e.total+1}:e}function bZ(e,t){return e&&e.length>0?Rg(e,t):e}function xZ(e,t){return e&&e.data?{...e,data:Rg(e.data,t),total:e.total+1}:e}function CZ(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(al,{...o,onClick:s,label:n,children:r}):f.jsx(tW,{...e,onClick:s,label:n,children:r})}function wZ(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=vn.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 SZ(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),C=re.useNotify(),w=T.useCallback(()=>b(!0),[]),E=T.useCallback(()=>b(!1),[]),F=T.useCallback((I,M,P)=>{var H,K;const L=Date.now();d.setQueryData([h,"getOne",{id:I.id}],I),d.setQueriesData([h,"getList"],$=>xZ($,I),{updatedAt:L}),d.setQueriesData([h,"getMany"],$=>bZ($,I),{updatedAt:L}),d.setQueriesData([h,"getManyReference"],$=>yZ($,I),{updatedAt:L}),E(),C("ra.notification.created",{messageArgs:{smart_count:1}}),(K=(H=e==null?void 0:e.mutationOptions)==null?void 0:H.onSuccess)==null||K.call(H,I,M,P)},[E,C,e.mutationOptions,d,h]);return f.jsxs(f.Fragment,{children:[f.jsx(CZ,{...u,onClick:w}),f.jsx(S.Dialog,{open:v,scroll:c,onClose:E,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(Ro,{children:[f.jsx(S.Button,{variant:"text",size:"medium",onClick:E,children:g("ra.action.cancel")}),s?f.jsx(wZ,{onSubmit:s,closeDialog:E}):f.jsx(Rh,{type:"button"})]})}):null})})})]})}function AZ(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(iw,{...e,onClick:t})}function TZ(e){const{onSubmit:t,closeDialog:n}=e,{handleSubmit:r}=vn.useFormContext(),o=T.useCallback(s=>{s.preventDefault(),s.stopPropagation(),r(a=>t(a,n))()},[r,t,n]);return f.jsx(al,{disableIconOnly:!0,onClick:o,color:"primary",variant:"contained",size:"medium",label:"ra.action.save"})}function EZ(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),[]),C=T.useCallback((E,F,I)=>{var M,P;b(),d("ra.notification.updated",{messageArgs:{smart_count:1},undoable:(e==null?void 0:e.mutationMode)==="undoable"}),(P=(M=e==null?void 0:e.mutationOptions)==null?void 0:M.onSuccess)==null||P.call(M,E,F,I)},[b,d,e.mutationOptions,e.mutationMode]),w=re.useRecordContext();return f.jsxs(f.Fragment,{children:[f.jsx(AZ,{...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:C},children:T.isValidElement(m)?T.cloneElement(m,{...m.props,modal:!0,toolbar:f.jsxs(Ro,{children:[f.jsx(al,{disableIconOnly:!0,variant:"text",size:"medium",onClick:b,label:"ra.action.cancel"}),a?f.jsx(TZ,{onSubmit:a,closeDialog:b}):f.jsx(Rh,{type:"button"})]})}):null})})})]})}function IZ({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 OZ({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}=lg(),v=re.useResourceContext(g),b=m(),C=re.useRecordContext(),w=r||C,E=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:qu}):T.createElement(c,{style:qu}):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:E}):T.createElement(a,{source:e,record:w,resource:v,value:E}):f.jsx(S.Typography,{variant:n,children:E}),u?T.isValidElement(u)?T.cloneElement(u,{style:qu}):T.createElement(u,{style:qu}):null,d?f.jsx(S.Button,{size:"small",variant:"outlined",sx:{ml:1,p:0},...h,children:d}):null]})]})}const qu={width:"1.5rem",alignSelf:"center"};function cE(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(PZ,{className:r,children:f.jsxs(S.Toolbar,{"data-test":"bulk-actions-toolbar",className:$e(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(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`},PZ=de("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"?kp(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"}})),Bg={p:0,m:0},uE={p:2,m:0,borderRadius:0,width:"100%"};function jZ(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:Bg,children:[f.jsx(S.ListItem,{sx:Bg,children:f.jsx(R.Button,{onClick:v,sx:uE,label:"ra.action.unselect",startIcon:f.jsx(Vh,{}),children:f.jsx(Vh,{})})}),B.Children.map(t,b=>{var C;return f.jsx(S.ListItem,{sx:Bg,children:B.isValidElement(b)?B.cloneElement(b,{filterValues:c,resource:u,selectedIds:d,sx:uE,...(C=b.props)!=null&&C.popover?{closePopover:s}:{}}):null})})]})})]})})}const dE=T.createContext({});dE.displayName="DatagridContext";function MZ({children:e,value:t}){return f.jsx(dE.Provider,{value:t,children:e})}const fE=f.jsx(R.BulkDeleteButton,{}),pE=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=LZ,expand:u,bulkActionsToolbar:d=!1,bulkActionButtons:h=fE,hover:g,isRowSelectable:m,isRowExpandable:v,resource:b,rowClick:C,rowSx:w,rowStyle:E,size:F="small",sx:I,expandSingle:M=!1,...P}=e,{sort:D,data:L,isLoading:H,onSelect:K,onToggleItem:$,selectedIds:G,setSort:ae,total:le}=re.useListContext(e),J=!!h,Q=T.useMemo(()=>({isRowExpandable:v,expandSingle:M}),[v,M]),z=T.useRef(null);T.useEffect(()=>{(!G||G.length===0)&&(z.current=null)},[JSON.stringify(G)]);const ne=T.useCallback((W,te)=>{const V=L.map(ue=>ue.id),X=V.indexOf(z.current);if(z.current=te.target.checked?W:null,te.shiftKey&&X!==-1){const ue=V.indexOf(W),he=V.slice(Math.min(X,ue),Math.max(X,ue)+1),pe=te.target.checked?uU(G,he):TU(G,he);K(m?pe.filter(ge=>m(L.find(ve=>ve.id===ge))):pe)}else $(W)},[L,m,K,$,G]);return H===!0?f.jsx(R.DatagridLoading,{className:a,expand:u,hasBulkActions:J,nbChildren:B.Children.count(s),size:F}):L==null||L.length===0||le===0?c||null:f.jsx(MZ,{value:Q,children:f.jsxs(R.DatagridRoot,{sx:I,className:$e(R.DatagridClasses.root,a),children:[d!=null&&T.isValidElement(d)?T.cloneElement(d,{selectedIds:G,total:le}):h!==!1?f.jsx(cE,{children:T.isValidElement(h)?h:fE}):null,f.jsx("div",{className:R.DatagridClasses.tableWrapper,children:f.jsxs(S.Table,{ref:t,className:R.DatagridClasses.table,size:F,...FZ(P),children:[hE(o,{children:s,sort:D,data:L,hasExpand:!!u,hasBulkActions:J,isRowSelectable:m,onSelect:K,resource:b,selectedIds:G,setSort:ae},s),hE(r,{expand:u,rowClick:C,data:L,hasBulkActions:J,hover:g,onToggleItem:ne,resource:b,rowSx:w,rowStyle:E,selectedIds:G,isRowSelectable:m},s)]})})]})})});function hE(e,t,n){return T.isValidElement(e)?T.cloneElement(e,t,n):T.createElement(e,t,n)}const kZ=["isRequired","setFilter","setPagination","limitChoicesToValue","translateChoice","field","fieldState","formState"];function FZ(e){return Object.keys(re.sanitizeListRestProps(e)).filter(t=>!kZ.includes(t)).reduce((t,n)=>({...t,[n]:e[n]}),{})}pE.displayName="Datagrid";const LZ=f.jsx(R.ListNoResults,{}),DZ=de(pE,{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 _Z(e){return f.jsx(DZ,{...e})}const RZ=de("div")(({theme:e})=>({padding:e.spacing(2)}));function BZ({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(NZ,{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(RZ,{className:Ti.toolbar,children:e})]})}const $u="ApplicaEmpty",Ti={message:`${$u}-message`,icon:`${$u}-icon`,toolbar:`${$u}-toolbar`},NZ=de("span",{name:$u,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"}})),VZ=f.jsx(R.ListActions,{}),WZ=f.jsx(R.Pagination,{}),zZ=f.jsx(R.Empty,{}),UZ=S.Card;function HZ(e){const{actions:t=VZ,aside:n,filters:r,bulkActionButtons:o,emptyWhileLoading:s,hasCreate:a,pagination:c=WZ,children:u,className:d,component:h=UZ,title:g,empty:m=zZ,...v}=e,{defaultTitle:b,data:C,error:w,isLoading:E,filterValues:F,resource:I}=re.useListContext(e);if(!u||!C&&E&&s)return null;function M(){return f.jsxs("div",{className:Uo.main,children:[r||t?f.jsx(R.ListToolbar,{className:Uo.actions,filters:r,actions:t,hasCreate:a}):null,!w&&f.jsx(h,{className:Uo.content,children:o&&u&&B.isValidElement(u)?T.cloneElement(u,{bulkActionButtons:o}):u}),w?f.jsx(Wh,{error:w,resetErrorBoundary:null}):c!==!1&&c]})}function P(){return m!==!1&&T.cloneElement(m,{className:Uo.noResults,hasCreate:a})}const D=!E&&(C==null?void 0:C.length)===0&&!Object.keys(F).length&&m!==!1;return f.jsxs(GZ,{className:$e("list-page",d),...v,children:[f.jsx(R.Title,{title:g,defaultTitle:b,preferenceKey:`${I}.list.title`}),D?P():M(),n]})}const ll="RaList",Uo={main:`${ll}-main`,content:`${ll}-content`,actions:`${ll}-actions`,noResults:`${ll}-noResults`},GZ=de("div",{name:ll,overridesResolver:(e,t)=>t.root})(({theme:e})=>({display:"flex",[`& .${Uo.main}`]:{flex:"1 1 auto",display:"flex",flexDirection:"column"},[`& .${Uo.content}`]:{position:"relative",[e.breakpoints.down("sm")]:{boxShadow:"none"},overflow:"inherit"},[`& .${Uo.actions}`]:{},[`& .${Uo.noResults}`]:{}}));function YZ({debounce:e,disableAuthentication:t,disableSyncWithLocation:n,exporter:r,filter:o=KZ,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 KZ={},XZ=Ma(YZ,{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),[e.breakpoints.down("sm")]:{flexDirection:"row"},"& 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 ZZ(e){return f.jsx(Nn,{content:!1,children:f.jsx(XZ,{...e,pagination:f.jsx(_g,{})})})}function QZ(){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 JZ(){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 qZ(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 $Z({...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(qZ,{source:"notification",sortable:!1}),f.jsx(wS,{source:"created"}),f.jsxs(Fo,{children:[f.jsx(QZ,{}),f.jsx(JZ,{})]})]})}const eQ=de(R.SimpleList,{name:"ApplicaSimpleList",slot:"root"})(({theme:e})=>({padding:e.spacing(1),paddingTop:0,paddingBottom:0}));function tQ({children:e}){const t=Kt();return f.jsx(Nn,{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 ed({version:e,name:t,copy:n,children:r,logo:o,background:s=qc,footer:a=!0}){return f.jsxs(S.Box,{children:[f.jsx(kg,{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(Fg,{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(tQ,{children:r})})}),a?f.jsx(S.Grid,{item:!0,sx:{pb:1,position:"absolute",bottom:0,ml:2},children:f.jsx(Mg,{name:t,copy:n,version:e})}):null]})]})]})}function nQ({name:e,copy:t,logo:n,version:r,background:o}){const s=re.useTranslate(),a=re.useAuthProvider(),c=re.useNotify(),u=ct.useNavigate(),{token:d}=ct.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"}),q.delay(()=>u("/login"),1e3)}).catch(h=>{c(h,{type:"error"}),q.delay(()=>u("/login"),1e3)})},[d,a,c,u]),f.jsx(ed,{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:ct.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 gE(){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:N1,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 mE({version:e,name:t,copy:n,logo:r,enablePasswordRecover:o=!1,enableRegistration:s=!1,redirectTo:a,background:c=f.jsx(qc,{})}){const[u,d]=re.useSafeSetState(!1),h=re.useLogin(),g=re.useTranslate(),m=re.useNotify(),v=re.useCheckAuth(),b=ct.useNavigate();T.useEffect(()=>{v({},!1).then(()=>{b("/")}).catch(()=>{})},[v,b]);function C(w){d(!0),h(w,a).then(()=>{d(!1)}).catch(E=>{d(!1),m(typeof E=="string"?E:typeof E>"u"||!E.message?"ra.auth.sign_in_error":E.message,{type:"error",messageArgs:{_:typeof E=="string"?E:E&&E.message?E.message:void 0}})})}return f.jsx(ed,{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:ct.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: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: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:ct.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 rQ({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}`,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(ed,{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:ct.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:[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 oQ({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}`,C=v.responseCode==="ok"?"info":"error";d(b,{type:C}),u("/login")}).catch(v=>{d(v,{type:"error"})}).finally(()=>a(!1))}return f.jsx(ed,{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:ct.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: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 iQ(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 sQ(e){return{MuiAccordionDetails:{styleOverrides:{root:{padding:e.spacing(2),borderTop:`1px solid ${e.palette.secondary.light}`}}}}}function aQ(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:nt(o,.5),backgroundColor:r,"& .MuiAlert-icon":{color:s}}}function lQ(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 cQ(){return{MuiAlertTitle:{styleOverrides:{root:{marginBottom:4,marginTop:0,fontWeight:400}}}}}function uQ(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 dQ(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 ${nt(s,.9)}`},"&:active::after":{boxShadow:`0 0 0 0 ${nt(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 fQ(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 pQ(){return{MuiButtonBase:{defaultProps:{disableRipple:!0,size:"medium"}}}}function hQ(){return{MuiButtonGroup:{defaultProps:{disableRipple:!0}}}}function gQ(){return{MuiCard:{styleOverrides:{root:{boxShadow:"none"}}}}}function mQ(){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 vQ(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 Ng(e){const t=vQ(e);return{"& .icon":{width:t.size,height:t.size,"& .filled":{fontSize:`${t.fontSize}rem`,top:-t.position,left:-t.position}}}}function yQ(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":{...Ng("small")},"&.size-medium":{...Ng("medium")},"&.size-large":{...Ng("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 Hn({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 bQ(e){const t=Hn({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":Hn({color:"primary",theme:e}),"&.MuiChip-lightSecondary":Hn({color:"secondary",theme:e}),"&.MuiChip-lightError":Hn({color:"error",theme:e}),"&.MuiChip-lightInfo":Hn({color:"info",theme:e}),"&.MuiChip-lightSuccess":Hn({color:"success",theme:e}),"&.MuiChip-lightWarning":Hn({color:"warning",theme:e})},combined:{border:"1px solid",...t,"&.MuiChip-combinedPrimary":Hn({color:"primary",theme:e}),"&.MuiChip-combinedSecondary":Hn({color:"secondary",theme:e}),"&.MuiChip-combinedError":Hn({color:"error",theme:e}),"&.MuiChip-combinedInfo":Hn({color:"info",theme:e}),"&.MuiChip-combinedSuccess":Hn({color:"success",theme:e}),"&.MuiChip-combinedWarning":Hn({color:"warning",theme:e})}}}}}function xQ(e){return{MuiDialog:{styleOverrides:{root:{"& .MuiBackdrop-root":{backgroundColor:nt("#000",.7)},"& .MuiCardContent-root":{[e.breakpoints.down("sm")]:{paddingBottom:`${e.spacing(2.5)}`}},"& .MuiPaper-root:has(.tabbed-form)":{overflowY:"unset",width:"100%"}}}}}}function CQ(e){return{MuiDialogContentText:{styleOverrides:{root:{fontSize:"0.875rem",color:e.palette.text.primary}}}}}function wQ(){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 ${nt(r,.9)}`},"&:active::after":{borderRadius:"50px",boxShadow:`0 0 0 0 ${nt(r,.9)}`}}}function SQ(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 AQ(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 EQ(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 IQ(){return{MuiLinearProgress:{styleOverrides:{root:{height:6,borderRadius:100},bar:{borderRadius:100}}}}}function OQ(){return{MuiLink:{defaultProps:{underline:"hover"}}}}function PQ(e){return{MuiListItemButton:{styleOverrides:{root:{"&.Mui-selected":{color:e.palette.primary.main,"& .MuiListItemIcon-root":{color:e.palette.primary.main}}}}}}}function jQ(e){return{MuiListItemIcon:{styleOverrides:{root:{minWidth:24,color:e.palette.text.primary}}}}}function MQ(e){return{MuiListItemText:{styleOverrides:{root:{"&.MuiListItemText-inset":{paddingLeft:24}}}}}}function kQ(){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 FQ(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 LQ(){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 _Q(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 RQ(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 Vg(e){const t=RQ(e);return{"& .icon":{width:t.size,height:t.size,"& .dot":{width:t.dotSize,height:t.dotSize,top:t.position,left:t.position}}}}function BQ(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":{...Vg("small")},"&.size-medium":{...Vg("medium")},"&.size-large":{...Vg("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 NQ(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 VQ(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 Wg(e,t){const n=VQ(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 WQ(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},...Wg(e,"medium")},sizeLarge:{...Wg(e,"large")},sizeSmall:{...Wg(e,"small")}}}}}function zQ(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 UQ(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 YQ(e){return{MuiTableHead:{styleOverrides:{root:{backgroundColor:e.palette.grey[50],borderTop:`1px solid ${e.palette.divider}`,borderBottom:`2px solid ${e.palette.divider}`}}}}}function KQ(){return{MuiTablePagination:{styleOverrides:{selectLabel:{fontSize:"0.875rem"},displayedRows:{fontSize:"0.875rem"}}}}}function XQ(){return{MuiTableRow:{styleOverrides:{root:{"&:last-of-type":{"& .MuiTableCell-root":{borderBottom:"none"}},"& .MuiTableCell-root":{"&:last-of-type":{paddingRight:24},"&:first-of-type":{paddingLeft:24}}}}}}}function ZQ(){return{MuiTabs:{styleOverrides:{vertical:{overflow:"visible"}}}}}function QQ(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 JQ(e){return{MuiTooltip:{styleOverrides:{tooltip:{color:e.palette.background.paper}}}}}function qQ(){return{MuiTreeItem:{styleOverrides:{content:{padding:8},iconContainer:{"& svg":{fontSize:"0.625rem"}}}}}}function $Q(){return{MuiTypography:{styleOverrides:{gutterBottom:{marginBottom:12}}}}}function eJ(e){return dt.merge(iQ(e),sQ(e),aQ(e),lQ(e),cQ(),uQ(e),dQ(e),fQ(e),pQ(),hQ(),gQ(),mQ(),yQ(e),bQ(e),xQ(e),CQ(e),wQ(),SQ(e),AQ(e),TQ(),EQ(e),IQ(),OQ(),PQ(e),jQ(e),MQ(),kQ(),FQ(e),LQ(),DQ(e),_Q(e),BQ(e),NQ(e),WQ(e),zQ(e),UQ(e),HQ(e),GQ(e),YQ(e),KQ(),XQ(),ZQ(),QQ(e),JQ(e),qQ(),$Q())}function tJ(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 nJ(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 rJ(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 oJ(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 iJ(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 sJ(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 aJ(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 lJ(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 cJ(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 uJ(e,t,n){switch(t){case"theme1":return nJ(e,n);case"theme2":return rJ(e,n);case"theme3":return oJ(e,n);case"theme4":return iJ(e,n);case"theme5":return sJ(e,n);case"theme6":return aJ(e,n);case"theme7":return lJ(e,n);case"theme8":return cJ(e,n);default:return tJ(e)}}var zg=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];zg.primary=zg[5];var Ug=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];Ug.primary=Ug[5];var Hg=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];Hg.primary=Hg[5];var Gg=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];Gg.primary=Gg[5];var Yg=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];Yg.primary=Yg[5];var Kg=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];Kg.primary=Kg[5];var Xg=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];Xg.primary=Xg[5];var Zg=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];Zg.primary=Zg[5];var Qg=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Qg.primary=Qg[5];var Jg=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];Jg.primary=Jg[5];var qg=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];qg.primary=qg[5];var $g=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];$g.primary=$g[5];var em=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];em.primary=em[5];var dJ={red:zg,volcano:Ug,orange:Hg,gold:Gg,yellow:Yg,lime:Kg,green:Xg,cyan:Zg,blue:Qg,geekblue:Jg,purple:qg,magenta:$g,grey:em},tm=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];tm.primary=tm[5];var nm=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];nm.primary=nm[5];var rm=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];rm.primary=rm[5];var om=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];om.primary=om[5];var im=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];im.primary=im[5];var sm=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];sm.primary=sm[5];var am=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];am.primary=am[5];var lm=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];lm.primary=lm[5];var cm=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];cm.primary=cm[5];var um=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];um.primary=um[5];var dm=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];dm.primary=dm[5];var fm=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];fm.primary=fm[5];var pm=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];pm.primary=pm[5];var fJ={red:tm,volcano:nm,orange:rm,gold:om,yellow:im,lime:sm,green:am,cyan:lm,blue:cm,geekblue:um,purple:dm,magenta:fm,grey:pm};function pJ(e,t){const n=e==="dark"?fJ:dJ;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=uJ(n,t,e);return gp({palette:{mode:e,common:{black:"#000",white:"#fff"},...a,text:{primary:e==="dark"?nt(a.grey[900],.87):a.grey[700],secondary:e==="dark"?nt(a.grey[900],.45):a.grey[500],disabled:e==="dark"?nt(a.grey[900],.1):a.grey[400]},action:{disabled:a.grey[300]},divider:e==="dark"?nt(a.grey[900],.05):a.grey[200],background:{paper:e==="dark"?a.grey[100]:a.grey[0],default:a.grey.A50}}})}function hJ(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 ${nt(e.palette.grey[900],.08)}`,primary:`0 0 0 2px ${nt(e.palette.primary.main,.2)}`,secondary:`0 0 0 2px ${nt(e.palette.secondary.main,.2)}`,error:`0 0 0 2px ${nt(e.palette.error.main,.2)}`,warning:`0 0 0 2px ${nt(e.palette.warning.main,.2)}`,info:`0 0 0 2px ${nt(e.palette.info.main,.2)}`,success:`0 0 0 2px ${nt(e.palette.success.main,.2)}`,grey:`0 0 0 2px ${nt(e.palette.grey[500],.2)}`,primaryButton:`0 14px 12px ${nt(e.palette.primary.main,.2)}`,secondaryButton:`0 14px 12px ${nt(e.palette.secondary.main,.2)}`,errorButton:`0 14px 12px ${nt(e.palette.error.main,.2)}`,warningButton:`0 14px 12px ${nt(e.palette.warning.main,.2)}`,infoButton:`0 14px 12px ${nt(e.palette.info.main,.2)}`,successButton:`0 14px 12px ${nt(e.palette.success.main,.2)}`,greyButton:`0 14px 12px ${nt(e.palette.grey[500],.2)}`}}function gJ(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 hm({themeOverrides:e,children:t}){const n=En(),{themeDirection:r,mode:o,presetColor:s,fontFamily:a}=n,c=T.useMemo(()=>pJ(o,s),[o,s]),u=T.useMemo(()=>gJ(a),[a]),d=T.useMemo(()=>hJ(c),[c]),h=T.useMemo(()=>q.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=gp(h),m=q.cloneDeep(g.components??{});return g.components=q.merge(eJ(g),m),f.jsx(S.StyledEngineProvider,{injectFirst:!0,children:f.jsxs(Kx,{theme:g,children:[f.jsx(S.CssBaseline,{enableColorScheme:!0}),t]})})}function mJ({children:e,theme:t,...n}){return f.jsx(R.CoreAdminContext,{...n,children:f.jsx(hm,{themeOverrides:t,children:f.jsx(sE,{children:e})})})}function vE(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:E=R.localStorageStore(),ready:F,theme:I,title:M="React Admin"}=e;return f.jsx(mJ,{authProvider:t,dataProvider:s,i18nProvider:u,store:E,history:c,queryClient:C,theme:I,children:f.jsx(R.AdminUI,{layout:d,dashboard:o,disableTelemetry:a,menu:v,catchAll:n,title:M,loading:h,loginPage:g,authCallbackPage:m,notification:b,requireAuth:w,ready:F,children:r})})}class yE{constructor({catch:t,display:n,log:r,error:o}){kl(this,"catch");kl(this,"display");kl(this,"log");kl(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 vJ{constructor(t){yo(this,cl);yo(this,ul);yo(this,Ws,new Set);const{apiUrl:n}=t??{};if(!q.isString(n)||q.isEmpty(n))throw new Error("[ErrorMessageHandler] constructor: please provide a valid apiUrl");ei(this,ul,n),ei(this,cl,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}`;Fn(this,Ws).has(a)||(Fn(this,Ws).add(a),fetch(`${Fn(this,ul)}/ui/error-log`,{method:"PUT",headers:Fn(this,cl),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),Fn(this,Ws).delete(a)}))}}cl=new WeakMap,ul=new WeakMap,Ws=new WeakMap;function yJ({enabled:e=!0,apiUrl:t,loading:n,catcherFn:r=s=>new yE({catch:s!=null,display:!1,log:s!=null,error:s}),...o}){const s=B.useMemo(()=>o.errorHandler?o.errorHandler:new vJ({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 bJ{constructor(t){yo(this,dl);yo(this,fl);yo(this,ji,[]);const{apiUrl:n}=t??{};if(!q.isString(n)||q.isEmpty(n))throw new Error("[MissingMessageHandler] constructor: please provide a valid apiUrl");ei(this,fl,n),ei(this,dl,new Headers({Accept:"application/json","Content-Type":"application/json"}))}handleMessage(t){if(!q.isPlainObject(t))throw new Error("[MissingMessageHandler] handleMessage: please provide valid message data");const{code:n,lang:r}=t;if(!q.isString(n)||q.isEmpty(n))throw new Error("[MissingMessageHandler] handleMessage: please provide valid code");if(!q.isString(r)||q.isEmpty(r))throw new Error("[MissingMessageHandler] handleMessage: please provide valid lang");if(!q.some(Fn(this,ji),o=>q.isEqual(o,{code:n,lang:r}))){Fn(this,ji).push({code:n,lang:r}),fetch(`${Fn(this,fl)}/i18n/message`,{method:"put",headers:Fn(this,dl),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),ei(this,ji,q.reject(Fn(this,ji),s=>q.isEqual(s,{code:n,lang:r})))});return}}}dl=new WeakMap,fl=new WeakMap,ji=new WeakMap;function bE(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 bJ({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&&(q.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 q.get(v,C,{})}return D0(b,n,m,{allowMissing:r||o,onMissingKey:h})})}function xJ(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 q.get(d,g,{})}return D0(h,t,u,{allowMissing:!0})})}function CJ({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 xE(e){const[t,n]=T.useState(),r=cS(e);return T.useEffect(()=>{if(e.customProvider!==void 0){e.customProvider.then(n);return}bE(r).then(o=>{n(o)}).catch(()=>{n({error:!0})})},[r,e==null?void 0:e.customProvider]),t}const wJ=new Ui.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1}}});function SJ({theme:e,themeConfig:t,apiUrl:n,defaultLocale:r="en",development:o=!1,logoMain:s,logoIcon:a,loginPage:c=f.jsx(mE,{version:"0.0.0",name:"Applica",redirectTo:"/",background:f.jsx(qc,{})}),menu:u,name:d,copy:h,version:g="0.0.0",dataProvider:m,authProvider:v,i18nProvider:b,errorHandler:C,error:w,enableNotification:E=!1,enableRegistration:F=!1,enablePasswordRecover:I=!1,enableThemeToggler:M=!1,enableLocaleSwitcher:P=!1,queryClient:D=wJ,background:L,notificationAPI:H="entities/notification",...K}){yJ({apiUrl:n,errorHandler:C,catcherFn:le=>{const J=le==null?void 0:le.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(W=>J==null?void 0:J.includes(W));return new yE({catch:z,display:!z,log:!z&&o===!0,error:J})}});const $=T.useMemo(()=>T.isValidElement(c)?T.cloneElement(c,{name:d,copy:h,logo:s,version:g,background:L,enableRegistration:F,enablePasswordRecover:I}):c,[c,d,g,h,L,s,F,I]),G=T.useMemo(()=>le=>{const J=d?f.jsx(Fg,{title:d}):s,Q=d?f.jsx(aE,{title:d}):a;return f.jsx(QT,{...le,name:d,copy:h,version:g,logoMain:J,logoIcon:Q,notification:H,enableThemeToggler:M,enableNotification:E,enableLocaleSwitcher:P,error:w})},[s,a,d,h,g,w,H,E,M,P]),ae=xE({apiUrl:n,defaultLocale:r,allowMissing:o,createMissing:o,customProvider:b});return ae===void 0?f.jsx(f.Fragment,{}):ae.error?f.jsx(sg,{initialConfig:t,children:f.jsx(hm,{themeOverrides:e,children:f.jsx(gE,{})})}):f.jsx(DH,{children:f.jsx(Fw,{menu:u,children:f.jsx(sg,{initialConfig:t,children:f.jsx(vE,{theme:e,layout:G,notification:qT,queryClient:D,dataProvider:m,authProvider:v,i18nProvider:ae,loginPage:$,...K})})})})}Object.defineProperty(j,"ArrayField",{enumerable:!0,get:()=>R.ArrayField}),Object.defineProperty(j,"ArrayInputContext",{enumerable:!0,get:()=>R.ArrayInputContext}),Object.defineProperty(j,"BooleanField",{enumerable:!0,get:()=>R.BooleanField}),Object.defineProperty(j,"BulkDeleteWithConfirmButton",{enumerable:!0,get:()=>R.BulkDeleteWithConfirmButton}),Object.defineProperty(j,"ChipField",{enumerable:!0,get:()=>R.ChipField}),Object.defineProperty(j,"Confirm",{enumerable:!0,get:()=>R.Confirm}),Object.defineProperty(j,"CreateContextProvider",{enumerable:!0,get:()=>R.CreateContextProvider}),Object.defineProperty(j,"CustomRoutes",{enumerable:!0,get:()=>R.CustomRoutes}),Object.defineProperty(j,"DeleteWithConfirmButton",{enumerable:!0,get:()=>R.DeleteWithConfirmButton}),Object.defineProperty(j,"DeleteWithUndoButton",{enumerable:!0,get:()=>R.DeleteWithUndoButton}),Object.defineProperty(j,"EditButton",{enumerable:!0,get:()=>R.EditButton}),Object.defineProperty(j,"EditContextProvider",{enumerable:!0,get:()=>R.EditContextProvider}),Object.defineProperty(j,"FieldTitle",{enumerable:!0,get:()=>R.FieldTitle}),Object.defineProperty(j,"FilterButton",{enumerable:!0,get:()=>R.FilterButton}),Object.defineProperty(j,"Form",{enumerable:!0,get:()=>R.Form}),Object.defineProperty(j,"FormDataConsumer",{enumerable:!0,get:()=>R.FormDataConsumer}),Object.defineProperty(j,"HttpError",{enumerable:!0,get:()=>R.HttpError}),Object.defineProperty(j,"I18nContextProvider",{enumerable:!0,get:()=>R.I18nContextProvider}),Object.defineProperty(j,"ListBase",{enumerable:!0,get:()=>R.ListBase}),Object.defineProperty(j,"ListToolbar",{enumerable:!0,get:()=>R.ListToolbar}),Object.defineProperty(j,"LoadingIndicator",{enumerable:!0,get:()=>R.LoadingIndicator}),Object.defineProperty(j,"RaSimpleFormIterator",{enumerable:!0,get:()=>R.SimpleFormIterator}),Object.defineProperty(j,"RecordContextProvider",{enumerable:!0,get:()=>R.RecordContextProvider}),Object.defineProperty(j,"ReferenceArrayField",{enumerable:!0,get:()=>R.ReferenceArrayField}),Object.defineProperty(j,"ReferenceField",{enumerable:!0,get:()=>R.ReferenceField}),Object.defineProperty(j,"Resource",{enumerable:!0,get:()=>R.Resource}),Object.defineProperty(j,"ResourceContextProvider",{enumerable:!0,get:()=>R.ResourceContextProvider}),Object.defineProperty(j,"SaveButton",{enumerable:!0,get:()=>R.SaveButton}),Object.defineProperty(j,"SimpleFormIteratorContext",{enumerable:!0,get:()=>R.SimpleFormIteratorContext}),Object.defineProperty(j,"SimpleShowLayout",{enumerable:!0,get:()=>R.SimpleShowLayout}),Object.defineProperty(j,"SingleFieldList",{enumerable:!0,get:()=>R.SingleFieldList}),Object.defineProperty(j,"TabbedFormTabs",{enumerable:!0,get:()=>R.TabbedFormTabs}),Object.defineProperty(j,"TopToolbar",{enumerable:!0,get:()=>R.TopToolbar}),Object.defineProperty(j,"UrlField",{enumerable:!0,get:()=>R.UrlField}),Object.defineProperty(j,"ValidationError",{enumerable:!0,get:()=>R.ValidationError}),Object.defineProperty(j,"choices",{enumerable:!0,get:()=>R.choices}),Object.defineProperty(j,"email",{enumerable:!0,get:()=>R.email}),Object.defineProperty(j,"maxLength",{enumerable:!0,get:()=>R.maxLength}),Object.defineProperty(j,"maxValue",{enumerable:!0,get:()=>R.maxValue}),Object.defineProperty(j,"minLength",{enumerable:!0,get:()=>R.minLength}),Object.defineProperty(j,"minValue",{enumerable:!0,get:()=>R.minValue}),Object.defineProperty(j,"number",{enumerable:!0,get:()=>R.number}),Object.defineProperty(j,"regex",{enumerable:!0,get:()=>R.regex}),Object.defineProperty(j,"required",{enumerable:!0,get:()=>R.required}),Object.defineProperty(j,"useArrayInput",{enumerable:!0,get:()=>R.useArrayInput}),Object.defineProperty(j,"useAuthProvider",{enumerable:!0,get:()=>R.useAuthProvider}),Object.defineProperty(j,"useChoices",{enumerable:!0,get:()=>R.useChoices}),Object.defineProperty(j,"useChoicesContext",{enumerable:!0,get:()=>R.useChoicesContext}),Object.defineProperty(j,"useCreate",{enumerable:!0,get:()=>R.useCreate}),Object.defineProperty(j,"useCreateContext",{enumerable:!0,get:()=>R.useCreateContext}),Object.defineProperty(j,"useCreateController",{enumerable:!0,get:()=>R.useCreateController}),Object.defineProperty(j,"useCreateSuggestionContext",{enumerable:!0,get:()=>R.useCreateSuggestionContext}),Object.defineProperty(j,"useDataProvider",{enumerable:!0,get:()=>R.useDataProvider}),Object.defineProperty(j,"useEditContext",{enumerable:!0,get:()=>R.useEditContext}),Object.defineProperty(j,"useEditController",{enumerable:!0,get:()=>R.useEditController}),Object.defineProperty(j,"useGetIdentity",{enumerable:!0,get:()=>R.useGetIdentity}),Object.defineProperty(j,"useGetList",{enumerable:!0,get:()=>R.useGetList}),Object.defineProperty(j,"useGetMany",{enumerable:!0,get:()=>R.useGetMany}),Object.defineProperty(j,"useGetManyReference",{enumerable:!0,get:()=>R.useGetManyReference}),Object.defineProperty(j,"useGetOne",{enumerable:!0,get:()=>R.useGetOne}),Object.defineProperty(j,"useInput",{enumerable:!0,get:()=>R.useInput}),Object.defineProperty(j,"useListContext",{enumerable:!0,get:()=>R.useListContext}),Object.defineProperty(j,"useListController",{enumerable:!0,get:()=>R.useListController}),Object.defineProperty(j,"useLocaleState",{enumerable:!0,get:()=>R.useLocaleState}),Object.defineProperty(j,"useLocales",{enumerable:!0,get:()=>R.useLocales}),Object.defineProperty(j,"useNotify",{enumerable:!0,get:()=>R.useNotify}),Object.defineProperty(j,"usePermissions",{enumerable:!0,get:()=>R.usePermissions}),Object.defineProperty(j,"useRecordContext",{enumerable:!0,get:()=>R.useRecordContext}),Object.defineProperty(j,"useRefresh",{enumerable:!0,get:()=>R.useRefresh}),Object.defineProperty(j,"useRemoveFromStore",{enumerable:!0,get:()=>R.useRemoveFromStore}),Object.defineProperty(j,"useResetStore",{enumerable:!0,get:()=>R.useResetStore}),Object.defineProperty(j,"useResourceContext",{enumerable:!0,get:()=>R.useResourceContext}),Object.defineProperty(j,"useResourceDefinition",{enumerable:!0,get:()=>R.useResourceDefinition}),Object.defineProperty(j,"useResourceDefinitions",{enumerable:!0,get:()=>R.useResourceDefinitions}),Object.defineProperty(j,"useShowContext",{enumerable:!0,get:()=>R.useShowContext}),Object.defineProperty(j,"useShowController",{enumerable:!0,get:()=>R.useShowController}),Object.defineProperty(j,"useSimpleFormIterator",{enumerable:!0,get:()=>R.useSimpleFormIterator}),Object.defineProperty(j,"useSimpleFormIteratorItem",{enumerable:!0,get:()=>R.useSimpleFormIteratorItem}),Object.defineProperty(j,"useStore",{enumerable:!0,get:()=>R.useStore}),Object.defineProperty(j,"useStoreContext",{enumerable:!0,get:()=>R.useStoreContext}),Object.defineProperty(j,"useTranslate",{enumerable:!0,get:()=>R.useTranslate}),Object.defineProperty(j,"useTranslateLabel",{enumerable:!0,get:()=>R.useTranslateLabel}),Object.defineProperty(j,"useUnselect",{enumerable:!0,get:()=>R.useUnselect}),Object.defineProperty(j,"useUnselectAll",{enumerable:!0,get:()=>R.useUnselectAll}),Object.defineProperty(j,"useUpdate",{enumerable:!0,get:()=>R.useUpdate}),Object.defineProperty(j,"useUpdateMany",{enumerable:!0,get:()=>R.useUpdateMany}),Object.defineProperty(j,"withLifecycleCallbacks",{enumerable:!0,get:()=>R.withLifecycleCallbacks}),j.ActionsField=BH,j.ActionsMenu=Fo,j.ActivatePage=nQ,j.AddTableRow=mg,j.Admin=vE,j.AnimateButton=e5,j.AppBarStyled=FT,j.ApplicaAdmin=SJ,j.ArrayInput=RH,j.AttachmentField=yS,j.AttachmentInput=cG,j.AuthBackground=qc,j.AutocompleteArrayInput=dG,j.AutocompleteInput=pG,j.Avatar=Dc,j.BooleanInput=gG,j.Breadcrumbs=i1,j.BulkActionsToolbar=cE,j.BulkFloatingActionsToolbar=jZ,j.Button=al,j.CardForm=dS,j.ChangePasswordForm=cg,j.CircularWithLabel=nL,j.CircularWithPath=rL,j.CoverField=xS,j.Create=KG,j.CreateButton=mZ,j.CreateButtonClasses=Ju,j.CreateInDialogButton=SZ,j.Datagrid=_Z,j.DateAgoField=wS,j.DateField=KH,j.DateInput=yG,j.DateTimeInput=xG,j.Dot=Vp,j.Drawer=kT,j.DrawerHeader=pA,j.DrawerHeaderStyled=dA,j.DrawerToggle=_T,j.Edit=QG,j.EditInDialogButton=EZ,j.EmailField=ZH,j.Empty=BZ,j.EmptyClasses=Ti,j.Error=Wh,j.Field=tA,j.FileField=SS,j.FileInput=wG,j.Footer=Mg,j.FormHeader=$G,j.FunctionField=JH,j.GenericErrorPage=gE,j.Header=RT,j.HeaderButton=LT,j.HeaderIconButton=DX,j.HeaderNotification=BT,j.HeaderProfile=NT,j.HeaderSpacer=WT,j.HeaderToggleButton=Ls,j.HorizontalBar=zT,j.IconButton=Vc,j.ImageField=bS,j.ImageInput=SG,j.ImpersonateUserButton=IZ,j.LabeledArrayInput=mS,j.LabeledInput=rn,j.Layout=QT,j.LayoutContent=uA,j.LayoutProvider=aA,j.LayoutWrapper=ZT,j.LinearWithIcon=oL,j.LinearWithLabel=iL,j.List=ZZ,j.ListItem=OZ,j.Loadable=YX,j.Loader=JT,j.LoadingButton=qF,j.LocalStorage=rS,j.LocaleButton=DT,j.LocalizedTextField=$H,j.LocalizedTextInput=EG,j.LoginPage=mE,j.Logo=fA,j.LongForm=Ft,j.MainCard=Nn,j.MainIcon=Fg,j.MenuConfigProvider=Fw,j.MenuPopover=B1,j.NavCollapse=il,j.NavGroup=GT,j.NavItem=ol,j.NavList=YT,j.NavMenu=UT,j.Navigation=KT,j.Notification=qT,j.NotificationList=$Z,j.NumberInput=OG,j.OnboardingActionType=Ds,j.OnboardingContext=Lg,j.OnboardingModes=sl,j.OnboardingProvider=qX,j.OnboardingTip=nZ,j.Pagination=_g,j.PaginationActions=Dg,j.PopupTransition=tL,j.RadioButtonGroupInput=jG,j.ReadonlyField=rG,j.RecordInput=MG,j.RecoverPage=rQ,j.ReferenceArrayInput=kG,j.ReferenceInput=FG,j.ReferenceManyField=TS,j.ReferenceManyInput=LG,j.RegisterPage=oQ,j.ResponsiveSection=VT,j.ScrollTop=sE,j.ScrollX=sZ,j.SearchInput=_G,j.SelectArrayInput=BG,j.SelectInput=VG,j.ShadowBox=aZ,j.Show=gY,j.SimpleBar=MT,j.SimpleForm=fS,j.SimpleFormIterator=vY,j.SimpleList=eQ,j.SizeField=sG,j.SmallIcon=aE,j.SmartTextInput=WG,j.StyledArrow=_1,j.TabbedForm=gg,j.TableCreateButton=yg,j.TableFormIterator=Nu,j.TableFormIteratorContext=bg,j.TableFormIteratorItem=rA,j.TableFormIteratorItemContext=vg,j.TextField=AS,j.TextInput=Tr,j.ThemeColor=kg,j.ThemeContext=ig,j.ThemeCustomizationProvider=hm,j.ThemeProvider=sg,j.ThemeToggler=XT,j.TimeInput=GG,j.Toolbar=Ro,j.Tooltip=Jc,j.Transitions=gi,j.WizardForm=iA,j.createI18nProvider=bE,j.createJsonI18nProvider=xJ,j.getLocalizedValue=ng,j.getPosition=R1,j.getThemeColor=Qt,j.getThemeShadow=hs,j.localizedValueHasAllLocales=Lu,j.localizedValueHasAtLeastOneLocale=oS,j.onboardingModesSchema=eE,j.onboardingTopicSchema=$T,j.parseTime=aS,j.useBreadcrumbs=Lw,j.useGetLocalizedValue=IH,j.useI18nLanguages=CJ,j.useI18nProvider=xE,j.useLayoutContext=xg,j.useLayoutDispatch=FY,j.useLayoutDrawerState=Si,j.useLayoutLogoState=cA,j.useLayoutMediaState=Wn,j.useLayoutNotificationsState=Wu,j.useLayoutState=Ps,j.useLayoutThemeState=LY,j.useLocalStorage=rg,j.useLocalizedValue=EH,j.useMemoizedObject=cS,j.useMenu=Uh,j.useMenuConfig=Za,j.useMenuContext=Eu,j.useOnboardingDataProvider=tE,j.useOnboardingTip=oE,j.usePopoverState=Ja,j.useRefDimensions=OH,j.useResourceDefaultValues=XG,j.useResourceTitle=og,j.useRestartOnboarding=eZ,j.useSx=Sr,j.useTableFormIterator=nA,j.useTableFormIteratorItem=eA,j.useThemeConfig=En,j.useThemeContext=ag,j.useWizardFormContext=Vu,j.uuid=DU,j.walkChildren=Du,j.withLayoutProvider=lA,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
|
|
217
217
|
//# sourceMappingURL=react-admin.umd.js.map
|